/* mavi — landing do Programa Clínicas Fundadoras
   Versão clara (2026-11-22): abertura em vídeo real de consultório, menu claro e seções claras
   com as telas do sistema. Referências do Vinicius: amigotech.com.br (vídeo de abertura) e
   prodoctor.net (sistema em notebook ao lado do texto). Marca: rubrica A3, marinho #2C4F78, IBM Plex. */

@font-face{font-family:"IBM Plex Sans";font-style:normal;font-weight:400 600;font-display:swap;src:url("../fonts/ibm-plex-sans-latin.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"IBM Plex Sans";font-style:normal;font-weight:400 600;font-display:swap;src:url("../fonts/ibm-plex-sans-latin-ext.woff2") format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"IBM Plex Mono";font-style:normal;font-weight:400;font-display:swap;src:url("../fonts/ibm-plex-mono-400-latin.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"IBM Plex Mono";font-style:normal;font-weight:400;font-display:swap;src:url("../fonts/ibm-plex-mono-400-latin-ext.woff2") format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"IBM Plex Mono";font-style:normal;font-weight:500;font-display:swap;src:url("../fonts/ibm-plex-mono-500-latin.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"IBM Plex Mono";font-style:normal;font-weight:500;font-display:swap;src:url("../fonts/ibm-plex-mono-500-latin-ext.woff2") format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}

:root{
  --ink:#0F2547; --navy:#2C4F78; --navy-2:#24426A; --paper:#F4F6FA; --white:#FFFFFF;
  --paid:#1F8A5B; --hl:#FFD36B; --ui:#577BDC;
  --text:#14243D; --text-2:#3C4D68; --text-3:#5A6A82;   /* sobre claro: 15.6 / 8.9 / 5.6 :1 */
  --line:#DCE3EC; --line-2:#E8EDF3;
  --s-text:#1B2A41; --s-muted:#5B6B82; --s-line:#E6EBF2; --s-line-2:#EEF1F6; --s-frame:#D8DFEA; --s-head:#F7F9FC;
  --s-blue:#3D5FBF; --s-blue-bg:#E5ECFA; --s-ok:#17704A; --s-warn:#A34A12; --s-warn-dot:#D9822B;
  --f-sans:"IBM Plex Sans","Helvetica Neue",Arial,sans-serif;
  --f-mono:"IBM Plex Mono",ui-monospace,Menlo,Consolas,monospace;
  --gutter:clamp(20px,4vw,48px);
  --ease-out:cubic-bezier(.16,1,.3,1);
  --header:72px;
}
*{box-sizing:border-box}
[hidden]{display:none!important}
html{scroll-behavior:smooth;scroll-padding-top:calc(var(--header) + 16px);-webkit-text-size-adjust:100%;scrollbar-color:#B9C5D6 var(--paper)}
body{margin:0;background:var(--paper);color:var(--text);font-family:var(--f-sans);font-size:17px;line-height:1.55;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
img,svg,video{display:block;max-width:100%}
::selection{background:var(--navy);color:#fff}
:focus-visible{outline:2px solid var(--navy);outline-offset:3px;border-radius:2px}
a{color:inherit;text-underline-offset:.2em;text-decoration-thickness:1px}
.mono{font-family:var(--f-mono);font-variant-numeric:tabular-nums}
.skip{position:absolute;left:12px;top:-60px;z-index:50;background:var(--ink);color:#fff;padding:10px 14px;border-radius:4px;font-weight:500;text-decoration:none}
.skip:focus{top:12px}
.wrap{position:relative;z-index:1;max-width:1240px;margin:0 auto;padding-left:max(var(--gutter),env(safe-area-inset-left,0px));padding-right:max(var(--gutter),env(safe-area-inset-right,0px))}

/* rubrica de fundo: só aparece nas seções claras (as faixas escuras a cobrem) */
.trace-bg{position:fixed;z-index:0;right:-8vw;top:24vh;width:70vw;max-width:1100px;pointer-events:none}
.trace-bg path{fill:none;stroke:var(--navy);stroke-opacity:.16;stroke-width:1.1;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:1;stroke-dashoffset:var(--trace-off,0)}

/* ---------- menu ---------- */
.top{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.96);backdrop-filter:saturate(1.4) blur(8px);border-bottom:1px solid var(--line)}
.top-in{max-width:1240px;margin:0 auto;padding:0 max(var(--gutter),env(safe-area-inset-left,0px));min-height:var(--header);display:flex;align-items:center;justify-content:space-between;gap:16px 32px}
.brand{display:flex;align-items:center;gap:10px;min-height:44px;text-decoration:none;color:var(--ink)}
.brand svg{width:42px;height:auto}
.brand svg path{fill:none;stroke:var(--navy);stroke-width:6.5;stroke-linecap:round;stroke-linejoin:round}
.brand span{font-size:25px;line-height:1;font-weight:500;letter-spacing:-.01em}
.nav{display:flex;align-items:center;gap:4px 28px;font-size:15px}
.nav-link{display:inline-flex;align-items:center;min-height:44px;color:var(--text-2);text-decoration:none;transition:color .2s}
.nav-link:hover{color:var(--ink)}
.btn-nav{display:inline-flex;align-items:center;min-height:44px;padding:0 18px;border-radius:6px;background:var(--navy);color:#fff;text-decoration:none;font-weight:500;transition:background .2s}
.btn-nav:hover{background:var(--navy-2)}
@media (max-width:820px){.nav-link{display:none}.btn-nav{padding:0 14px;font-size:14px}}

/* ---------- abertura em vídeo ---------- */
.hero{position:relative;z-index:2;min-height:clamp(560px,calc(100svh - var(--header)),860px);display:flex;align-items:flex-end;overflow:hidden;background:var(--ink);color:#fff}
.hero-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hero-scrim{position:absolute;inset:0;background:linear-gradient(90deg,rgba(15,37,71,.82) 0%,rgba(15,37,71,.55) 45%,rgba(15,37,71,.12) 80%),linear-gradient(0deg,rgba(15,37,71,.55),rgba(15,37,71,0) 45%)}
.hero-in{width:100%;padding-block:clamp(56px,9vh,104px)}
.hero-copy{max-width:640px;display:flex;flex-direction:column;gap:22px}
h1{margin:0;font-size:clamp(40px,5.4vw,72px);line-height:1.02;font-weight:500;letter-spacing:-.03em;text-wrap:balance;text-shadow:0 1px 24px rgba(15,37,71,.35)}
.lead{margin:0;max-width:30em;font-size:clamp(17px,1.45vw,20px);line-height:1.5;color:#E3EAF3;text-wrap:pretty}
.hero-actions{display:flex;flex-wrap:wrap;gap:12px 14px;padding-top:6px}
.btn-solid{display:inline-flex;align-items:center;gap:10px;min-height:54px;padding:0 24px;border-radius:6px;background:#fff;color:var(--ink);text-decoration:none;font-size:17px;font-weight:500;box-shadow:0 10px 24px -12px rgba(0,0,0,.5);transition:transform .2s var(--ease-out),box-shadow .2s}
.btn-solid:hover{transform:translateY(-1px);box-shadow:0 14px 28px -12px rgba(0,0,0,.55)}
.btn-line{display:inline-flex;align-items:center;min-height:54px;padding:0 22px;border-radius:6px;border:1px solid rgba(255,255,255,.6);color:#fff;text-decoration:none;font-size:16px;font-weight:500;transition:background .2s}
.btn-line:hover{background:rgba(255,255,255,.1)}
.hero-note{margin:0;max-width:34em;font-size:14px;line-height:1.5;color:#C9D5E4}
.video-toggle{position:absolute;z-index:3;right:max(var(--gutter),env(safe-area-inset-right,0px));bottom:24px;width:40px;height:40px;border-radius:50%;border:1px solid rgba(255,255,255,.5);background:rgba(15,37,71,.4);color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer}
.video-toggle .i-play{display:none}
.video-toggle[aria-pressed="true"] .i-play{display:block}
.video-toggle[aria-pressed="true"] .i-pause{display:none}

/* ---------- prova: sistema no notebook ---------- */
.prova{display:grid;grid-template-columns:minmax(0,1fr);gap:40px;padding-block:clamp(72px,9vw,120px) clamp(48px,6vw,80px)}
.prova-copy{display:flex;flex-direction:column;gap:16px;min-width:0;max-width:640px}
.device{min-width:0;max-width:1120px;width:100%;margin:0 auto}
.device-screen{border:10px solid #1C2738;border-bottom-width:14px;border-radius:14px 14px 4px 4px;background:#1C2738;overflow:hidden;box-shadow:0 40px 80px -40px rgba(15,37,71,.55)}
.device-screen .screen-flat{border:0;border-radius:0;box-shadow:none;font-size:13px}
.device-base{height:14px;margin:0 -4%;background:linear-gradient(#D5DCE6,#AEB9C8);border-radius:0 0 14px 14px}
@media (max-width:1000px){.device{overflow-x:auto;-webkit-overflow-scrolling:touch}.device-screen{min-width:980px}.device-base{min-width:980px;margin:0}}

/* ---------- extrato ---------- */
.ledger{padding-block:28px 40px;border-top:1px solid var(--line)}
.ledger-head{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px 32px;margin-bottom:20px;font-family:var(--f-mono);font-size:12px;line-height:16px;letter-spacing:.06em;text-transform:uppercase;color:var(--text-3)}
.ledger ol{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:20px 0}
.ledger li{display:flex;flex-direction:column;gap:6px;padding:2px 20px;border-left:1px solid var(--line)}
.ledger .when{font-family:var(--f-mono);font-size:13px;line-height:18px;color:var(--text-3)}
.ledger .what{font-size:16px;line-height:22px;font-weight:500;display:flex;align-items:center;gap:8px;color:var(--ink)}
.ledger .how{font-size:14px;line-height:20px;color:var(--text-2)}
.ledger .paid .how{font-family:var(--f-mono);font-size:20px;line-height:26px;font-weight:500;color:var(--paid)}
@media (max-width:960px){.ledger ol{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:520px){.ledger ol{grid-template-columns:1fr}}

/* ---------- seções ---------- */
.band{border-top:1px solid var(--line)}
.section{padding-block:clamp(72px,9vw,128px)}
.sec-head{display:flex;flex-direction:column;gap:18px;max-width:760px;margin-bottom:clamp(32px,4vw,56px)}
h2{margin:0;font-size:clamp(32px,3.6vw,48px);line-height:1.08;font-weight:500;letter-spacing:-.025em;text-wrap:balance;color:var(--ink)}
.body{margin:0;max-width:36em;font-size:clamp(17px,1.3vw,18px);line-height:1.6;color:var(--text-2);text-wrap:pretty}
.step{display:grid;grid-template-columns:minmax(0,480px) minmax(0,1fr);align-items:center;gap:40px 72px;padding-block:48px;border-top:1px solid var(--line)}
.step.flip{grid-template-columns:minmax(0,1fr) minmax(0,480px)}
.step.flip .step-copy{order:2}
.step-copy{display:flex;flex-direction:column;gap:16px;min-width:0}
.step-n{font-family:var(--f-mono);font-size:13px;line-height:18px;color:var(--text-3)}
h3{margin:0;font-size:clamp(24px,2.3vw,32px);line-height:1.15;font-weight:500;letter-spacing:-.02em;text-wrap:balance;color:var(--ink)}
.step-copy p{margin:0;font-size:17px;line-height:1.6;color:var(--text-2);text-wrap:pretty}
.step-shot{min-width:0;display:flex;justify-content:center}
.step-shot > *{width:100%}
@media (max-width:900px){.step,.step.flip{grid-template-columns:1fr}.step.flip .step-copy{order:0}}

/* faixa escura: segurança */
.dark{position:relative;z-index:2;background:var(--ink);color:#fff}
.dark h2{color:#fff}
.dark .body{color:#C9D5E4}
.split{display:grid;grid-template-columns:minmax(0,440px) minmax(0,1fr);gap:40px 72px;align-items:start}
.split-form{grid-template-columns:minmax(0,400px) minmax(0,1fr)}
.split-copy{display:flex;flex-direction:column;gap:18px;min-width:0}
@media (max-width:900px){.split,.split-form{grid-template-columns:1fr}}
.facts{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px}
.facts li{display:flex;flex-direction:column;gap:10px;padding-top:18px;border-top:1px solid rgba(244,246,250,.32)}
.facts .k{font-family:var(--f-mono);font-size:12px;line-height:16px;letter-spacing:.08em;text-transform:uppercase;color:#8FA3BF}
.facts .t{font-size:20px;line-height:26px;font-weight:500}
.facts .d{font-size:16px;line-height:1.55;color:#C9D5E4}
@media (max-width:760px){.facts{grid-template-columns:1fr}}

.sheet-cap{margin:0 0 14px;font-family:var(--f-mono);font-size:12px;line-height:16px;letter-spacing:.08em;text-transform:uppercase;color:var(--text-3)}
.sheet{margin:0;border-top:1px solid #B9C5D6}
.sheet div{display:grid;grid-template-columns:210px minmax(0,1fr);align-items:baseline;gap:4px 24px;padding:16px 0;border-bottom:1px solid var(--line)}
.sheet dt{font-family:var(--f-mono);font-size:12.5px;line-height:18px;letter-spacing:.06em;text-transform:uppercase;color:var(--text-3)}
.sheet dd{margin:0;font-size:17px;line-height:24px;color:var(--ink)}
.sheet dd.num{font-family:var(--f-mono);font-size:20px;line-height:26px;font-weight:500}
@media (max-width:560px){.sheet div{grid-template-columns:1fr}}
.todo{display:inline-block;padding:1px 8px;border:1px dashed #C08A12;border-radius:3px;background:#FFF6DA;font-family:var(--f-mono);font-size:14px;line-height:22px;color:#7A5300}
.btn-outline{display:inline-flex;align-items:center;min-height:52px;padding:0 24px;border:1px solid var(--navy);border-radius:6px;color:var(--navy);text-decoration:none;font-size:16px;font-weight:500;transition:background .2s,color .2s}
.btn-outline:hover{background:var(--navy);color:#fff}

/* ---------- candidatura ---------- */
.form-card{min-width:0;padding:clamp(24px,3vw,40px);background:#fff;color:var(--ink);border:1px solid var(--line);border-radius:10px;box-shadow:0 30px 60px -36px rgba(15,37,71,.35)}
.form{display:flex;flex-direction:column;gap:22px}
.fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 20px}
@media (max-width:620px){.fields{grid-template-columns:1fr}}
.field{display:flex;flex-direction:column;gap:6px;min-width:0}
.field label{font-size:14px;line-height:18px;font-weight:500}
.field input,.field select{width:100%;min-height:48px;padding:0 14px;border:1px solid #A9B6C8;border-radius:6px;background:#fff;color:var(--ink);font-family:inherit;font-size:16px;transition:border-color .15s,box-shadow .15s}
.field input.mono{font-family:var(--f-mono)}
.field input::placeholder{color:#5C6C83}
.field input:hover,.field select:hover{border-color:#7F90A8}
.field input:focus,.field select:focus{outline:none;border-color:var(--navy);box-shadow:0 0 0 3px rgba(44,79,120,.2)}
.field input[aria-invalid="true"]{border-color:#B3261E}
.field .err{font-size:13px;line-height:18px;color:#B3261E}
.check{display:flex;align-items:flex-start;gap:12px}
.check input{flex:none;width:20px;height:20px;margin:2px 0 0;accent-color:var(--navy)}
.check label{font-size:14px;line-height:1.5;color:var(--text-2)}
.check a{color:var(--navy)}
.submit-row{display:flex;flex-wrap:wrap;align-items:center;gap:12px 20px}
.btn-ink{min-height:56px;padding:0 28px;border:0;border-radius:6px;background:var(--navy);color:#fff;font-family:inherit;font-size:17px;font-weight:500;cursor:pointer;transition:background .2s,opacity .2s}
.btn-ink:hover{background:var(--navy-2)}
.btn-ink[disabled]{opacity:.6;cursor:progress}
.submit-row span{font-size:14px;line-height:1.45;color:var(--text-3)}
.form-status{font-size:14px;line-height:1.5;color:#B3261E;margin:0}
.done{display:flex;flex-direction:column;gap:14px;padding:16px 0}
.done strong{display:flex;align-items:center;gap:12px;font-size:24px;line-height:30px;font-weight:500}
.done p{margin:0;max-width:34em;font-size:17px;line-height:1.6;color:var(--text-2)}

/* ---------- rodapé ---------- */
.foot{position:relative;z-index:2;background:var(--ink);color:#fff;padding:40px 0 48px}
.foot-in{max-width:1240px;margin:0 auto;padding:0 max(var(--gutter),env(safe-area-inset-left,0px));display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:20px 40px}
.foot .brand{color:#fff}
.foot .brand svg path{stroke:#fff}
.foot .brand svg{width:38px}
.foot .brand span{font-size:22px}
.foot p{margin:0;display:flex;flex-wrap:wrap;align-items:center;gap:8px 24px;font-family:var(--f-mono);font-size:12.5px;line-height:18px;color:#AFC0D6}
.foot p a{display:inline-flex;align-items:center;min-height:44px;color:#DCE4EF}

/* =========================================================
   Telas ilustrativas do produto
   ========================================================= */
.screen{margin:0;width:100%;background:#fff;border:1px solid var(--s-frame);border-radius:10px;overflow:hidden;font-family:var(--f-sans);color:var(--s-text);text-align:left;font-size:14px;line-height:19px;box-shadow:0 30px 60px -30px rgba(0,0,0,.55)}
.screen .mono{font-family:var(--f-mono)}
.screen .muted{color:var(--s-muted)}
.s-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;padding:14px 20px;border-bottom:1px solid var(--s-line)}
.s-head .s-title{display:flex;flex-direction:column;gap:2px;min-width:0}
.s-head .s-title small{font-size:12px;line-height:16px;color:var(--s-muted)}
.s-head .s-title b{font-size:17px;line-height:22px;font-weight:600}
.s-chip{font-size:12px;line-height:16px;padding:6px 10px;border:1px solid var(--s-frame);border-radius:6px;color:#33445C;white-space:nowrap}
.s-cap{display:flex;justify-content:space-between;flex-wrap:wrap;gap:4px 12px;padding:10px 20px;background:var(--s-head);border-top:1px solid var(--s-line);font-family:var(--f-mono);font-size:12px;line-height:15px;color:var(--s-muted)}
.dot{display:inline-flex;align-items:center;gap:6px;font-size:12px;line-height:16px;font-weight:500;white-space:nowrap}
.dot::before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor}
.dot.ok{color:var(--s-ok)} .dot.ok::before{background:var(--paid)}
.dot.warn{color:var(--s-warn)} .dot.warn::before{background:var(--s-warn-dot)}
.dot.neu{color:#33445C} .dot.neu::before{background:var(--ui)}

/* lotes */
.totals{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border-bottom:1px solid var(--s-line)}
.totals div{display:flex;flex-direction:column;gap:4px;padding:14px 20px;min-width:0}
.totals div+div{border-left:1px solid var(--s-line)}
.totals small{font-size:12px;line-height:16px;color:var(--s-muted)}
.totals b{font-family:var(--f-mono);font-size:22px;line-height:28px;font-weight:500;white-space:nowrap}
.totals .pos{color:var(--s-ok)}
.thead{display:flex;justify-content:space-between;gap:12px;padding:10px 20px;border-bottom:1px solid var(--s-line);background:var(--s-head);font-size:12px;line-height:15px;color:var(--s-muted)}
.lot{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 20px;border-bottom:1px solid var(--s-line-2)}
.lot .l{display:flex;flex-direction:column;gap:3px;min-width:0}
.lot .l b{font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lot .l span{font-family:var(--f-mono);font-size:12px;line-height:16px;color:var(--s-muted);white-space:nowrap}
.lot .r{display:flex;flex-direction:column;align-items:flex-end;gap:3px;flex:none}
.lot .r b{font-family:var(--f-mono);font-weight:500;white-space:nowrap}

/* whatsapp */
.chat-head{display:flex;align-items:center;gap:12px;padding:12px 16px;border-bottom:1px solid var(--s-line)}
.avatar{flex:none;width:40px;height:40px;border-radius:50%;background:var(--s-blue-bg);color:var(--s-blue);display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:600}
.chat-head .who{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}
.chat-head .who b{font-size:15px;line-height:20px;font-weight:600}
.chat-head .who small{font-size:12px;line-height:16px;color:var(--s-muted)}
.chat-head .tagx{flex:none;font-size:12px;line-height:16px;padding:4px 8px;border-radius:4px;background:#F1F4F9;color:#33445C}
.thread{display:flex;flex-direction:column;gap:10px;padding:16px;background:var(--paper)}
.thread .day{align-self:center;font-family:var(--f-mono);font-size:12px;line-height:16px;color:var(--s-muted)}
.msg{max-width:82%;display:flex;flex-direction:column;gap:2px;padding:8px 12px 6px;font-size:14px;line-height:20px}
.msg time{align-self:flex-end;font-family:var(--f-mono);font-size:11px;line-height:14px;color:var(--s-muted)}
.msg.in{align-self:flex-start;background:#fff;border:1px solid #E1E6EF;border-radius:12px 12px 12px 4px}
.msg.out{align-self:flex-end;background:var(--s-blue-bg);border-radius:12px 12px 4px 12px}
.msg.out time{color:#4A5A72}
.attach{display:flex;align-items:center;gap:10px;font-family:var(--f-mono);font-size:12.5px;line-height:16px;color:#33445C}
.attach i{flex:none;width:56px;height:36px;padding:6px;border-radius:4px;background:#DCE4F2;display:flex;flex-direction:column;justify-content:flex-end;gap:4px}
.attach i::before,.attach i::after{content:"";display:block;height:3px;border-radius:2px;background:#9FB0CC;width:70%}
.attach i::after{width:45%}
.event{align-self:center;display:inline-flex;align-items:center;gap:8px;padding:6px 12px;border-radius:6px;background:#fff;border:1px dashed #9FB0CC;font-family:var(--f-mono);font-size:12px;line-height:16px;color:#33445C}
.composer{display:flex;align-items:center;gap:10px;padding:10px 12px;border-top:1px solid var(--s-line);background:#fff}
.composer span{flex:1;min-height:40px;display:flex;align-items:center;padding:0 14px;border:1px solid var(--s-frame);border-radius:20px;color:var(--s-muted)}
.composer i{flex:none;width:40px;height:40px;border-radius:50%;background:var(--s-blue);display:flex;align-items:center;justify-content:center}

/* guia */
.ok-pill{display:inline-flex;align-items:center;gap:6px;padding:5px 10px 5px 6px;border-radius:999px;background:#E6F3EC;color:var(--s-ok);font-size:12.5px;line-height:16px;font-weight:600;white-space:nowrap}
.g-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(140px,100%),1fr));gap:14px 20px;padding:16px 20px;border-bottom:1px solid var(--s-line)}
.g-fields div{display:flex;flex-direction:column;gap:3px;min-width:0}
.g-fields small{font-size:12px;line-height:15px;color:var(--s-muted)}
.g-fields span{font-family:var(--f-mono);font-size:13.5px;line-height:18px;overflow-wrap:anywhere}
.proc-h{display:flex;justify-content:space-between;gap:12px;padding:12px 20px 8px;font-size:12px;line-height:15px;color:var(--s-muted)}
.proc{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:10px 20px;border-top:1px solid var(--s-line-2)}
.proc div{display:flex;flex-direction:column;gap:3px;min-width:0}
.proc .code{font-family:var(--f-mono);font-size:13px;line-height:17px;font-weight:500;color:var(--s-blue)}
.proc .v{flex:none;font-family:var(--f-mono);font-size:13.5px}
.g-total{display:flex;justify-content:space-between;align-items:baseline;gap:16px;padding:12px 20px;border-top:1px solid var(--s-frame)}
.g-total b{font-weight:600}
.g-total span{font-family:var(--f-mono);font-size:16px;font-weight:500}
.g-checks{display:flex;flex-direction:column;gap:10px;padding:14px 20px;background:var(--s-head);border-top:1px solid var(--s-line)}
.g-checks ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(200px,100%),1fr));gap:8px 16px}
.g-checks li{display:flex;align-items:center;gap:8px;font-size:13px;line-height:18px}
.g-checks .note{font-family:var(--f-mono);font-size:12px;line-height:16px;color:#33445C}

/* sistema */
.sys-bar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px 16px;min-height:52px;padding:0 20px;border-bottom:1px solid var(--s-line)}
.sys-bar .l{display:flex;align-items:center;gap:14px;min-width:0}
.sys-bar .l b{font-size:18px;line-height:1;font-weight:500}
.sys-bar .l i{width:1px;height:20px;background:var(--s-frame)}
.sys-bar .l span{font-size:14px;color:#33445C;white-space:nowrap}
.sys-bar .r{display:flex;align-items:center;gap:12px}
.sys-bar .search{display:flex;align-items:center;width:260px;min-height:34px;padding:0 12px;border:1px solid var(--s-frame);border-radius:6px;font-size:13px;color:var(--s-muted);white-space:nowrap}
.sys-bar .me{flex:none;width:32px;height:32px;border-radius:50%;background:var(--ink);color:#fff;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:600}
.sys{display:flex;align-items:stretch}
.sys-side{flex:0 0 188px;display:flex;flex-direction:column;gap:2px;padding:16px 12px;background:#FAFBFD;border-right:1px solid var(--s-line)}
.sys-side span{display:flex;align-items:center;justify-content:space-between;padding:9px 12px;border-radius:6px;font-size:14px;line-height:18px;color:#33445C}
.sys-side .on{background:var(--s-blue-bg);font-weight:500;color:var(--s-text)}
.sys-side .badge{min-width:20px;padding:1px 6px;border-radius:10px;background:var(--s-blue);color:#fff;font-family:var(--f-mono);font-size:11px;line-height:16px;text-align:center}
.sys-side .grow{flex:1;min-height:24px;padding:0}
.sys-side .aud{font-size:13px;color:var(--s-muted);border-top:1px solid var(--s-line);border-radius:0}
.sys-main{flex:1;min-width:0;display:flex;flex-direction:column}
.sys-main .h{display:flex;align-items:flex-end;justify-content:space-between;flex-wrap:wrap;gap:8px 12px;padding:18px 24px 14px}
.sys-main .h div{display:flex;flex-direction:column;gap:2px}
.sys-main .h small{font-size:12px;line-height:16px;color:var(--s-muted)}
.sys-main .h b{font-size:20px;line-height:26px;font-weight:600}
.agenda-row{display:grid;grid-template-columns:56px minmax(0,1.5fr) minmax(0,1.2fr) minmax(0,.8fr) minmax(0,.9fr);gap:12px;align-items:center;padding:13px 24px;border-bottom:1px solid var(--s-line-2)}
.agenda-row.th{padding:9px 24px;background:var(--s-head);border-top:1px solid var(--s-line);border-bottom:1px solid var(--s-line);font-size:12px;line-height:15px;color:var(--s-muted)}
.agenda-row.cur{background:#F2F6FE}
.agenda-row .t{font-family:var(--f-mono);font-size:13px;font-weight:500}
.agenda-row .p{font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.agenda-row .c,.agenda-row .o{font-size:13px;color:#33445C;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sys-guide{margin:18px 24px 22px;border:1px solid #DCE3EE;border-radius:8px;overflow:hidden}
.sys-guide .gh{display:flex;align-items:center;flex-wrap:wrap;gap:6px 16px;padding:12px 16px;border-bottom:1px solid var(--s-line)}
.sys-guide .gh small{font-size:12px;color:var(--s-muted)}
.sys-guide .gh .mono{font-size:13px;font-weight:500}
.sys-guide .gh .okt{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;font-weight:600;color:var(--s-ok)}
.sys-guide .gp{display:flex;justify-content:space-between;gap:16px;padding:10px 16px;border-bottom:1px solid var(--s-line-2);font-size:13px}
.sys-guide .gp .code{flex:none;font-family:var(--f-mono);color:var(--s-blue);font-weight:500;margin-right:12px}
.sys-guide .gp .d{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sys-guide .gp .v{flex:none;font-family:var(--f-mono)}
.sys-guide .gf{display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:6px 16px;padding:11px 16px;background:var(--s-head);font-family:var(--f-mono)}
.sys-guide .gf small{font-size:12px;color:#33445C}
.sys-guide .gf b{font-size:15px;font-weight:500}
.sys-chat{flex:0 0 340px;display:flex;flex-direction:column;border-left:1px solid var(--s-line);min-width:0}
.sys-chat .thread{flex:1}


@media (max-width:520px){
  .totals{grid-template-columns:1fr}
  .totals div+div{border-left:0;border-top:1px solid var(--s-line)}
  .totals b{font-size:20px}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{transition:none!important;animation:none!important}
}
