/* Shared shell for the team pages. Hand-authored since 2026-09-17: pandoc was
   emitting a duplicate H1 and could not produce the stage visuals. The markdown in
   ../GHL/manuales/ is now the PRINT/reference copy; these pages are the web copy. */
:root{--ink:#11181c;--mut:#5b6b73;--line:#e3e8ea;--bg:#f6f8f9;--card:#fff;
--tm:#1f5fa8;--adm:#0b5d3b;--gold:#b8860b;--red:#b3261e;--acc:var(--tm)}
*{box-sizing:border-box}
body{margin:0;font:17px/1.65 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
color:var(--ink);background:var(--bg);-webkit-font-smoothing:antialiased}
.topbar{background:var(--acc);color:#fff;padding:0;position:sticky;top:0;z-index:20}
.topbar .in{max-width:820px;margin:0 auto;padding:12px 24px;display:flex;align-items:center;gap:14px}
.topbar b{font-size:13px;letter-spacing:.09em;text-transform:uppercase;font-weight:700}
.topbar a{margin-left:auto;color:#fff;opacity:.85;text-decoration:none;font-weight:600;font-size:15px}
.topbar a:hover{opacity:1}
main{max-width:820px;margin:0 auto;padding:36px 24px 100px}
.hero{margin:0 0 34px}
.hero h1{font-size:33px;line-height:1.15;margin:0 0 7px;letter-spacing:-.024em}
.hero p{margin:0;color:var(--mut);font-size:18px}
h2{font-size:24px;margin:52px 0 6px;letter-spacing:-.014em}
h2 .num{color:var(--acc);font-variant-numeric:tabular-nums;margin-right:8px;opacity:.55}
.sec{color:var(--mut);margin:0 0 20px;font-size:16.5px;max-width:64ch}
h3{font-size:18.5px;margin:30px 0 9px}
p{margin:0 0 15px;max-width:68ch}
ul{margin:0 0 16px;padding-left:22px}li{margin:0 0 7px}
strong{font-weight:680}
code{background:#eaeef0;padding:2px 6px;border-radius:5px;font-size:14.5px}
.card{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:20px 22px;margin:0 0 16px}
/* horizontal stage rail */
.rail{display:grid;gap:0;background:var(--card);border:1px solid var(--line);border-radius:14px;overflow:hidden;margin:0 0 12px}
.rail.c4{grid-template-columns:repeat(4,1fr)}.rail.c3{grid-template-columns:repeat(3,1fr)}
.st{padding:16px 16px 18px;border-left:1px solid var(--line);border-top:4px solid #cfd6d9}
.st:first-child{border-left:0}
.st .k{font-size:11.5px;letter-spacing:.08em;text-transform:uppercase;font-weight:700;color:var(--mut);margin:0 0 6px}
.st h4{margin:0 0 6px;font-size:16.5px;letter-spacing:-.01em}
.st p{margin:0;font-size:14.5px;color:var(--mut);line-height:1.5;max-width:none}
.st.a{border-top-color:#94a3ab}.st.b{border-top-color:var(--tm)}
.st.win{border-top-color:var(--adm);background:#f4faf7}
.st.win h4{color:var(--adm)}
.st.lost{border-top-color:#c2cbcf;background:#fafbfb}
.badge{display:inline-block;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;
padding:3px 8px;border-radius:20px;background:var(--adm);color:#fff;margin-top:8px}
/* numbered checklist */
.chk{counter-reset:c;list-style:none;padding:0;margin:0 0 16px}
.chk li{counter-increment:c;display:flex;gap:13px;align-items:flex-start;background:var(--card);
border:1px solid var(--line);border-radius:11px;padding:13px 16px;margin:0 0 8px}
.chk li::before{content:counter(c);flex:0 0 26px;height:26px;border-radius:50%;background:var(--acc);
color:#fff;display:grid;place-items:center;font-size:14px;font-weight:700;margin-top:1px}
.chk b{display:block;font-size:16.5px}
.chk span{color:var(--mut);font-size:14.5px;display:block;line-height:1.5}
/* yes/no channel grid */
.ch{display:grid;grid-template-columns:1fr auto auto;gap:0;background:var(--card);
border:1px solid var(--line);border-radius:14px;overflow:hidden;margin:0 0 12px}
.ch>div{padding:13px 16px;border-bottom:1px solid var(--line);font-size:15.5px;display:flex;align-items:center}
.ch>div:nth-child(-n+3){background:#eef2f3;font-size:12px;letter-spacing:.06em;text-transform:uppercase;
color:var(--mut);font-weight:700}
.ch>div:nth-last-child(-n+3){border-bottom:0}
.ch .v{justify-content:center;width:112px;font-weight:700}
.yes{color:var(--adm)}.no{color:var(--red)}
/* callouts */
.note{border-radius:13px;padding:17px 20px;margin:0 0 18px;border:1px solid}
.note h4{margin:0 0 7px;font-size:17px}
.note p{margin:0 0 8px;font-size:15.5px}.note p:last-child{margin:0}
.note.key{background:#fdf6ec;border-color:#eddcbe}.note.key h4,.note.key p{color:#7a5200}
.note.stop{background:#fdeceb;border-color:#f5c6c2}.note.stop h4,.note.stop p{color:var(--red)}
.note.good{background:#f1f8f4;border-color:#c9e2d4}.note.good h4,.note.good p{color:#0a5233}
/* two-column split */
.split{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:0 0 16px}
.split .card{margin:0}
.split h4{margin:0 0 10px;font-size:16.5px}
.split ul{margin:0;padding-left:20px;font-size:15.5px}
.split li{margin:0 0 6px}
/* stat strip */
.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:0 0 16px}
.stat{background:var(--card);border:1px solid var(--line);border-radius:13px;padding:16px 18px}
.stat .big{font-size:27px;font-weight:700;letter-spacing:-.02em;line-height:1.1}
.stat .lbl{font-size:13.5px;color:var(--mut);margin-top:4px;line-height:1.4}
.pill{display:inline-block;background:#eef2f3;color:var(--mut);border-radius:20px;
padding:3px 11px;font-size:13px;font-weight:600;margin:0 5px 5px 0}
footer{margin-top:56px;padding-top:24px;border-top:1px solid var(--line);color:var(--mut);font-size:15.5px}
@media(max-width:780px){
.rail.c4,.rail.c3{grid-template-columns:1fr}.st{border-left:0;border-top-width:4px}
.split,.stats{grid-template-columns:1fr}
.hero h1{font-size:27px}
}
@media print{
.topbar{position:static}body{background:#fff;font-size:11pt}main{padding:0;max-width:100%}
h2{page-break-after:avoid}.rail,.card,.note,.chk li{page-break-inside:avoid}
}

/* ---------- UI walkthrough mockups ----------
   Annotated diagrams of the Blanquito screens. Deliberately drawn rather than
   screenshotted: no student PII on a shared screen, they stay readable when
   projected, they survive a GHL redesign of colours/spacing, and the callout
   numbers can be referenced from the prose. Swap in real captures later by
   dropping them in /shots/ — the .shot wrapper takes an <img> just as happily. */
.ui{background:#fff;border:1px solid #cfd6d9;border-radius:12px;overflow:hidden;
box-shadow:0 1px 3px rgba(17,24,28,.06);margin:0 0 10px;font-size:13px;line-height:1.4}
.ui .bar{background:#243239;color:#fff;padding:7px 12px;font-size:11.5px;font-weight:600;
display:flex;gap:8px;align-items:center}
.ui .bar .dots{display:flex;gap:4px}
.ui .bar .dots i{width:8px;height:8px;border-radius:50%;background:#55646c;display:block}
.ui .cols{display:flex;min-height:190px}
.ui .nav{flex:0 0 118px;background:#2c3b43;color:#c7d2d8;padding:10px 0}
.ui .nav div{padding:6px 12px;font-size:12px}
.ui .nav div.on{background:#0b5d3b;color:#fff;font-weight:600}
.ui .pane{flex:1;padding:12px;border-left:1px solid #e3e8ea;position:relative}
.ui .pane.r{flex:0 0 176px;background:#fafbfb}
.ui .lbl{font-size:10.5px;letter-spacing:.06em;text-transform:uppercase;color:#8a979e;
font-weight:700;margin:0 0 6px}
.ui .box{border:1px solid #e3e8ea;border-radius:7px;padding:8px 10px;margin:0 0 7px;background:#fff}
.ui .box.sel{border-color:#1f5fa8;box-shadow:0 0 0 2px rgba(31,95,168,.13)}
.ui .row{display:flex;justify-content:space-between;gap:8px;padding:4px 0;border-bottom:1px solid #f1f4f5}
.ui .row:last-child{border-bottom:0}
.ui .row span:first-child{color:#8a979e}
.ui .tag{display:inline-block;background:#eef2f3;border-radius:14px;padding:2px 9px;
font-size:11.5px;margin:0 4px 4px 0;color:#41525a}
.ui .tag.add{background:#0b5d3b;color:#fff;font-weight:700}
.ui .btn{display:inline-block;background:#0b5d3b;color:#fff;border-radius:6px;
padding:6px 12px;font-size:12px;font-weight:600}
.ui .btn.g{background:#eef2f3;color:#41525a}
.ui .kan{display:flex;gap:8px;padding:12px;overflow:hidden}
.ui .kcol{flex:1;min-width:0}
.ui .kh{font-size:11px;font-weight:700;padding:6px 8px;border-radius:6px 6px 0 0;
border-top:3px solid #cfd6d9;background:#f4f6f7}
.ui .kh.b{border-top-color:#1f5fa8}.ui .kh.w{border-top-color:#0b5d3b}
.ui .kh.x{border-top-color:#c2cbcf}
.ui .kc{background:#fff;border:1px solid #e3e8ea;border-radius:6px;padding:7px 8px;
margin-top:6px;font-size:11.5px}
.ui .rail3{display:flex;flex-direction:column;gap:7px;align-items:center;
flex:0 0 34px;background:#f4f6f7;border-left:1px solid #e3e8ea;padding:10px 0}
.ui .rail3 i{width:19px;height:19px;border-radius:5px;background:#dde4e7;display:block}
.ui .rail3 i.on{background:#0b5d3b}
/* numbered callout */
.cal{position:absolute;width:21px;height:21px;border-radius:50%;background:#b3261e;color:#fff;
font:700 12px/21px -apple-system,sans-serif;text-align:center;z-index:3;
box-shadow:0 0 0 2.5px #fff}
.steps{list-style:none;counter-reset:s;padding:0;margin:0 0 20px}
.steps li{counter-increment:s;display:flex;gap:12px;align-items:flex-start;margin:0 0 11px;font-size:16px}
.steps li::before{content:counter(s);flex:0 0 22px;height:22px;border-radius:50%;
background:#b3261e;color:#fff;display:grid;place-items:center;font-size:12.5px;font-weight:700;margin-top:3px}
.steps b{font-weight:680}
.shot{margin:0 0 10px}
.shot img{width:100%;border:1px solid #cfd6d9;border-radius:12px;display:block}
.cap{font-size:14px;color:var(--mut);margin:0 0 24px;max-width:66ch}
/* glossary */
.gl{background:var(--card);border:1px solid var(--line);border-radius:14px;overflow:hidden;margin:0 0 16px}
.gl dl{margin:0}
.gl dt{font-weight:680;padding:13px 18px 0;font-size:16.5px}
.gl dd{margin:0;padding:3px 18px 13px;color:var(--mut);font-size:15.5px;border-bottom:1px solid var(--line)}
.gl dd:last-child{border-bottom:0}
.gl dd code{font-size:14px}

/* ---------- branding ----------
   Automeca is the client and owns the page: their mark sits in the content, top
   left, where a reader looks first. Blanquito is the vendor and sits in the
   topbar and the footer — present, not competing. */
.topbar .in img{height:19px;width:auto;display:block;opacity:.95}
.brandrow{display:flex;align-items:center;gap:16px;margin:0 0 26px;padding-bottom:20px;
border-bottom:1px solid var(--line)}
.brandrow img.atc{height:42px;width:auto}
.brandrow .sep{width:1px;height:34px;background:var(--line)}
.brandrow .by{font-size:13px;color:var(--mut);line-height:1.35}
.brandrow .by b{display:block;color:var(--ink);font-size:14.5px;font-weight:680}
footer .fbrand{display:flex;align-items:center;gap:12px;margin-bottom:14px}
footer .fbrand img{height:26px;width:auto;opacity:.75}
@media print{.topbar .in img{filter:invert(1)}}

/* ---------- branding, corrected 2026-09-17 ----------
   automeca-logo.png is a LIGHT mark on transparency (dominant ink ~#f0f0f0), so it
   vanished on a white page. It needs a dark surface. The salud dashboard gets away
   with it because its header is dark. Sizes are capped with max-height AND width so
   a cache-stale stylesheet can never again render a 1920px source at full size. */
.topbar .in img.bq{height:18px!important;max-height:18px;width:auto;max-width:150px;display:block;opacity:.92}
.brandrow{display:flex;align-items:center;gap:15px;margin:0 0 26px;padding:0 0 20px;
border-bottom:1px solid var(--line)}
.atcchip{background:#16232b;border-radius:10px;padding:10px 15px;display:flex;align-items:center}
.atcchip img{height:26px!important;max-height:26px;width:auto;max-width:190px;display:block}
.brandrow .sep{width:1px;height:32px;background:var(--line)}
.brandrow .by{font-size:12.5px;color:var(--mut);line-height:1.3}
.brandrow .by b{display:block;color:var(--ink);font-size:14.5px;font-weight:680}
footer .fbrand{display:flex;align-items:center;gap:11px;margin-bottom:13px}
footer .fbrand img{height:22px!important;max-height:22px;width:auto;max-width:130px;opacity:.7}

/* Cap ANY image in the topbar regardless of how it is nested. The first attempt
   scoped this to `.topbar .in img` and the markup put the logo one level higher,
   so a 1920x432 source rendered at full size. Never depend on nesting for a
   size cap on a large asset. */
.topbar img{height:18px!important;max-height:18px!important;width:auto!important;
max-width:150px!important;display:block;opacity:.92}
