/* Layout de produção independente de CDN; utilitários Tailwind adicionais são opcionais. */
:root{--navy:#112b46;--navy-2:#0e233b;--primary:#155a82;--teal:#0ea98d;--text:#182c40;--muted:#758395;--line:#e4eaf0;--surface:#fff;--page:#f5f7fa;--radius:15px}
*{box-sizing:border-box}body{margin:0;background:var(--page);font:14px/1.5 Inter,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;color:var(--text)}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.hidden{display:none!important}
h1,h2,h3,p{margin-top:0}h1,h2,h3{letter-spacing:-.035em}.brand-dot{color:var(--teal)}.brand-logo{width:39px;height:39px;border-radius:11px;background:#163a58;display:inline-flex;align-items:center;justify-content:center;color:#fff;font-weight:800;font-size:24px;letter-spacing:-.1em}.brand-logo span{color:#47d9bc}.eyebrow{font-size:11px;letter-spacing:.16em;font-weight:750;color:#187c89}.eyebrow.on-dark{color:#65e1cd}
.auth-layout{min-height:100vh;display:grid;grid-template-columns:minmax(350px,46%) 1fr;background:#fff}.auth-brand{background:var(--navy);padding:48px clamp(35px,5vw,92px);color:#fff;display:flex;flex-direction:column;justify-content:space-between;min-height:100vh}.brand-title{display:flex;align-items:center;gap:14px;font-size:24px;font-weight:760;letter-spacing:-.06em}.auth-brand-content{max-width:460px}.auth-brand-content h1{font-size:clamp(40px,4.4vw,68px);line-height:1.05;letter-spacing:-.06em;margin:20px 0 23px}.auth-brand-content>p{color:#b3c3d2;font-size:16px;line-height:1.8;max-width:410px}.auth-benefits{border-top:1px solid #32506a;margin-top:55px;padding-top:28px;display:grid;gap:18px;color:#d7e4eb}.benefit-check{display:inline-flex;justify-content:center;align-items:center;background:#163f53;border:1px solid #317f76;color:#5fe0b6;width:25px;height:25px;margin-right:9px;border-radius:50%}.auth-footer{font-size:10px;letter-spacing:.15em;color:#819db1}.auth-form-side{padding:35px;display:grid;place-items:center}.auth-card{width:min(100%,440px)}.auth-card h2{font-size:34px;margin:9px 0 4px}.form-subtitle{color:var(--muted);font-size:15px;margin-bottom:33px}.auth-mobile-brand{display:none}.field-stack{display:grid;gap:21px}.field{display:flex;flex-direction:column;min-width:0}.field label{font-weight:680;color:#34495e;margin-bottom:9px;font-size:13px}.field input,.field select{width:100%;height:48px;border:1px solid #d6e0e8;background:#fff;border-radius:9px;padding:0 14px;outline:none;color:#243a51;transition:border-color .15s,box-shadow .15s}.field input:focus,.field select:focus{border-color:#21819c;box-shadow:0 0 0 3px #147e9c15}.field input::placeholder{color:#adb7c0}.field-help{display:block;color:#8896a5;font-size:11px;margin-top:7px}.password-wrap{position:relative}.password-wrap input{padding-right:92px}.show-password{position:absolute;right:6px;top:6px;height:36px;border:0;background:transparent;color:#2d708e;font-weight:700;padding:0 12px}.btn-primary{background:var(--primary);border:1px solid var(--primary);color:#fff;border-radius:10px;padding:13px 20px;display:inline-flex;align-items:center;justify-content:center;gap:34px;font-size:14px;font-weight:720;box-shadow:0 3px 8px #122b420c;transition:background .16s,transform .16s}.btn-primary:not(:disabled):hover{background:#104766;transform:translateY(-1px)}.btn-full{width:100%;margin-top:12px;height:51px}.security-info{font-size:11px;color:#8795a5;text-align:center;margin-top:26px}
.workspace{min-height:100vh;display:flex}.sidebar{width:247px;flex-shrink:0;background:var(--navy);color:#fff;display:flex;flex-direction:column;min-height:100vh;padding:28px 15px 24px}.sidebar-logo{color:#fff;text-decoration:none;display:flex;align-items:center;gap:12px;font-size:23px;font-weight:760;letter-spacing:-.06em;padding:0 11px}.sidebar-label{color:#67869d;font-size:10px;font-weight:750;letter-spacing:.15em;margin:55px 12px 15px}.nav-item{display:flex;gap:13px;align-items:center;text-decoration:none;color:#a5b8c8;padding:13px 14px;border-radius:9px;font-weight:580}.nav-item.active{background:#254967;color:#fff;box-shadow:inset 3px 0 0 #37cfb2}.nav-item svg{height:18px;width:18px}.sidebar-bottom{margin-top:auto}.sidebar-support{background:#1a3c58;border:1px solid #35516a;border-radius:12px;padding:18px 15px;margin:0 5px}.sidebar-support strong{font-size:12px}.sidebar-support p{font-size:12px;color:#9eb3c3;line-height:1.7;margin:9px 0 0}.sidebar-version{text-align:center;color:#6d8ba0;font-size:10px;letter-spacing:.11em;margin-top:24px}.sidebar-version span{color:#38cba9}.main-shell{width:calc(100% - 247px);min-width:0}.topbar{height:76px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 clamp(24px,3.5vw,56px)}.topbar-left,.topbar-actions{display:flex;align-items:center;gap:14px}.breadcrumb{font-size:13px;font-weight:650;color:#344b5e}.breadcrumb span{color:#c2cbd4;margin:0 9px}.online-dot{height:8px;width:8px;border-radius:50%;background:#21b68c;box-shadow:0 0 0 4px #21b68c16}.session-status{color:#567084;font-size:12px}.btn-quiet{background:#fff;border:1px solid #dce4ec;border-radius:8px;padding:8px 15px;color:#4b5f70;font-weight:700}.btn-quiet:hover{background:#f3f6f8}.sidebar-toggle{display:none}.content{max-width:1470px;margin:auto;padding:43px clamp(24px,3.5vw,56px) 20px}.heading-row{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:31px}.heading-row h1{font-size:32px;margin:7px 0 5px;line-height:1.2;color:#152e45}.heading-row p{color:#7d8996;font-size:14px;margin:0}.header-badge{display:flex;gap:9px;align-items:center;padding:10px 14px;color:#44728a;border:1px solid #dce9ee;border-radius:999px;background:#f7fcfe;font-size:12px;font-weight:690}.header-badge svg{width:16px;height:16px}.workflow{display:flex;align-items:center;gap:19px;color:#a5afb9;margin-bottom:25px;font-size:12px;font-weight:650}.step{display:flex;align-items:center;gap:9px;white-space:nowrap}.step span{border-radius:50%;height:26px;width:26px;border:1px solid #d5dfe7;display:inline-flex;justify-content:center;align-items:center;font-size:10px}.step.active{color:#1b6c83}.step.active span{border-color:#158f99;background:#e8f8f5;color:#1f8a83}.step-line{height:1px;min-width:22px;max-width:96px;flex:1;background:#dfe6ed}.content-grid{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(285px,1fr);gap:23px;align-items:start}.form-card,.summary-card,.info-card,.result-card{background:#fff;border:1px solid #e1e8ee;border-radius:var(--radius);box-shadow:0 5px 16px #1d385309}.form-card{padding:30px}.card-heading{display:flex;align-items:center;gap:14px;padding-bottom:24px;margin-bottom:27px;border-bottom:1px solid #eaf0f4}.heading-icon{width:43px;height:43px;border:1px solid #d8eced;background:#f1fbfb;border-radius:11px;display:flex;align-items:center;justify-content:center;color:#178da0}.heading-icon svg{width:22px;height:22px}.card-heading h2{font-size:19px;margin:0 0 2px}.card-heading p{font-size:12px;color:#8392a0;margin:0}.field-big{margin-bottom:18px}.field-label-row{display:flex;align-items:center;justify-content:space-between}.required-label{font-size:10px;font-weight:700;color:#278696;background:#e7f5f7;border-radius:4px;padding:4px 7px}.field-big input{height:41px;margin-bottom:10px}.field-big select{height:48px;cursor:pointer}.account-details{background:#f7f9fb;border:1px solid #e6edf2;padding:18px;border-radius:10px;margin:20px 0 26px}.account-details-title{font-weight:800;letter-spacing:.12em;font-size:10px;color:#8899a7;margin-bottom:17px}.account-details-grid{display:grid;grid-template-columns:1fr 1fr;column-gap:18px;row-gap:19px}.account-details-grid>div{min-width:0}.account-details-grid small,.summary-details span{display:block;color:#8191a0;font-size:11px;margin-bottom:3px}.account-details-grid strong{font-size:13px;font-weight:690;color:#293e51;display:block}.account-details-grid .small-detail{font-size:11px;line-height:1.45}.two-fields{display:grid;grid-template-columns:1fr 1fr;gap:18px}.currency-input{display:flex;align-items:center;border:1px solid #d6e0e8;border-radius:9px;height:48px;overflow:hidden}.currency-input:focus-within{border-color:#21819c;box-shadow:0 0 0 3px #147e9c15}.currency-input span{background:#f4f7f9;height:100%;padding:0 16px;display:flex;align-items:center;border-right:1px solid #d6e0e8;color:#537086;font-weight:700}.currency-input input{border:0;border-radius:0;box-shadow:none!important;height:100%;padding-left:13px;min-width:0}.form-actions{border-top:1px solid #e9eef2;margin-top:31px;padding-top:24px;display:flex;align-items:center;justify-content:space-between;gap:20px}.hint-icon{font-size:13px;color:#8493a0}.hint-icon>span{font-size:11px}.right-column{display:grid;gap:20px}.summary-card{padding:24px}.summary-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.summary-title h2{font-size:17px;margin:0}.summary-chip{color:#7493a3;background:#eff5f8;padding:5px 9px;border-radius:6px;font-size:10px;font-weight:730}.summary-details{display:grid;gap:18px}.summary-details>div{display:flex;justify-content:space-between;gap:18px}.summary-details strong{text-align:right;max-width:57%;font-size:12px;font-weight:700;color:#415b6d;word-break:break-word}.summary-total{border-top:1px dashed #d7e2e9;margin-top:27px;padding-top:23px;display:flex;flex-direction:column;gap:6px}.summary-total span{font-size:10px;color:#8497a6;font-weight:800;letter-spacing:.11em}.summary-total strong{font-size:32px;letter-spacing:-.045em;color:#0d6579;font-weight:820}.info-card{padding:22px}.info-card-title{display:flex;align-items:center;gap:10px;color:#175973}.info-card-title svg{width:22px;height:22px}.info-card-title h3{font-size:14px;margin:0}.info-card p{color:#738494;font-size:12px;line-height:1.75;margin:13px 0 20px}.pdf-validity{background:#e9f7f3;color:#297960;border-radius:7px;padding:12px;display:flex;align-items:center;gap:11px;font-size:11px}.pdf-clock{font-size:19px}.result-card{margin-top:23px;padding:24px;display:flex;align-items:flex-start;gap:17px;border-left:4px solid #1aa17e}.result-indicator{flex-shrink:0;color:#fff;background:#1aa17e;height:33px;width:33px;border-radius:50%;display:grid;place-items:center;font-weight:800}.result-main{min-width:0;flex:1}.result-eyebrow{font-size:10px;letter-spacing:.12em;color:#288b75;font-weight:800}.result-card h2{margin:4px 0 7px;font-size:19px}.result-card p{color:#7b8b96;font-size:12px}.result-links{display:flex;gap:10px;flex-wrap:wrap;margin:15px 0}.result-links a,.result-links button{padding:10px 14px;border-radius:7px;border:1px solid #a5ced6;background:#ecf9fa;color:#216b7e;text-decoration:none;font-weight:700;font-size:12px}.result-links a:hover{background:#dff4f7}.result-warning{padding:11px 15px;background:#fff6e3;color:#946314!important;border-radius:7px}.result-expiration{color:#7c8b9b;font-size:11px}.app-footer{text-align:center;color:#aab6c0;margin:31px 0;font-size:11px}.notice{position:fixed;z-index:100;top:18px;right:20px;max-width:470px;background:#fff;border:1px solid #d0e0e5;border-left:4px solid #cb8030;box-shadow:0 10px 34px #172e441f;border-radius:10px;padding:14px 17px;display:flex;gap:16px;align-items:flex-start;font-size:12px;color:#405464}.notice button{margin-left:auto;border:0;background:none;font-size:22px;color:#8494a0}.loading-overlay{z-index:90;position:fixed;inset:0;background:#10283aba;display:grid;place-items:center;padding:25px}.loading-box{background:white;padding:37px 45px;border-radius:16px;width:min(100%,390px);text-align:center;box-shadow:0 22px 65px #001a2e3b}.loading-box h2{font-size:18px;margin:14px 0 7px}.loading-box p{font-size:12px;color:#8392a1;margin:0}.spinner{border:3px solid #e5f1f4;border-top-color:#14889a;border-radius:50%;height:44px;width:44px;margin:auto;animation:spin .75s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
@media(max-width:1100px){.sidebar{width:213px}.main-shell{width:calc(100% - 213px)}.content-grid{grid-template-columns:minmax(0,1.55fr) minmax(260px,1fr)}.form-card{padding:23px}.summary-card{padding:20px}}
@media(max-width:950px){.sidebar{position:fixed;top:0;bottom:0;left:0;z-index:80;width:235px;transform:translateX(-100%);transition:transform .2s;box-shadow:10px 0 20px #10283a2b}.sidebar.is-open{transform:none}.main-shell{width:100%}.sidebar-toggle{display:inline-flex;border:0;background:transparent;color:#355f77;font-size:20px}.topbar{height:67px}.content{padding-top:32px}}
@media(max-width:760px){.auth-layout{display:block}.auth-brand{display:none}.auth-form-side{min-height:100vh;padding:34px 25px}.auth-mobile-brand{display:block;font-size:26px;font-weight:800;margin-bottom:55px;letter-spacing:-.05em}.content-grid{grid-template-columns:1fr}.heading-row{align-items:start}.header-badge{display:none}.workflow{font-size:10px;gap:10px}.step span{height:22px;width:22px}.topbar{padding:0 22px}.content{padding:25px 18px}.heading-row h1{font-size:27px}.form-card{padding:20px}.right-column{grid-template-columns:1fr 1fr}.summary-total strong{font-size:26px}}
@media(max-width:530px){.right-column{grid-template-columns:1fr}.two-fields,.account-details-grid{grid-template-columns:1fr}.account-details-grid{gap:14px}.form-actions{align-items:stretch;flex-direction:column}.form-actions .btn-primary{width:100%}.workflow{flex-wrap:wrap}.step-line{min-width:8px;flex:0 0 12px}.session-status{display:none}.heading-row p{font-size:12px}.breadcrumb{font-size:11px}.topbar-actions{gap:10px}}

.confirm-overlay{z-index:91;position:fixed;inset:0;background:#10283ab3;padding:24px;display:grid;place-items:center}.confirm-box{background:white;border-radius:15px;box-shadow:0 24px 70px #0f263a3d;width:min(100%,450px);padding:29px}.confirm-symbol{width:37px;height:37px;display:grid;place-items:center;background:#eaf5f7;color:#187588;font-size:22px;font-weight:800;border-radius:11px}.confirm-box h2{font-size:21px;margin:16px 0 6px}.confirm-box>p{color:#667e90;margin:0 0 14px}.confirm-box .confirm-warning{font-size:12px;background:#f8fafb;border:1px solid #e7edf1;padding:12px 13px;border-radius:8px}.confirm-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:21px}.step.complete{color:#179a7c}.step.complete span{background:#e6f7f0;color:#15947b;border-color:#a7e1cc}.result-links a.expired{pointer-events:none;opacity:.5}


/* Ajustes de interface: login compacto e formulário em uma coluna.
   Não há conteúdo promocional no login nem cartões laterais na operação. */
.auth-layout {
    display: flex;
    flex-direction: column;
    background: #f5f7fa;
    min-height: 100vh;
}
.auth-header {
    min-height: 80px;
    background: var(--navy);
    color: #fff;
    display: flex;
    align-items: center;
    padding: 12px clamp(24px, 5vw, 84px);
}
.auth-header .brand-title { font-size: 23px; }
.auth-form-side {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    padding: 40px 24px 70px;
    min-height: 0;
}
.auth-card {
    width: min(100%, 490px);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 17px;
    padding: 42px 44px 45px;
    box-shadow: 0 14px 34px rgba(22, 44, 63, .06);
}
.auth-card h1 {
    font-size: clamp(27px, 3.5vw, 34px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.045em;
    margin: 10px 0 7px;
    color: var(--navy);
}
.auth-card .form-subtitle { margin-bottom: 29px; }
.auth-card .field-stack { gap: 20px; }
.auth-card input[type="month"] {
    appearance: auto;
    -webkit-appearance: auto;
    color-scheme: light;
    font-variant-numeric: tabular-nums;
    cursor: default;
}
.auth-card .btn-full { margin-top: 14px; }
.content { max-width: 1080px; }
.content-grid { display: block; }
.form-card { width: 100%; }
.heading-row { margin-bottom: 28px; }
.workflow { max-width: 790px; }
.account-details-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px) {
    .auth-layout { display: flex; }
    .auth-header { min-height: 69px; padding: 10px 20px; }
    .auth-form-side { padding: 28px 18px 45px; min-height: 0; }
    .auth-card { padding: 30px 25px 34px; }
    .auth-card h1 { font-size: 28px; }
    .content { max-width: 1080px; }
}
@media (max-width: 530px) {
    .auth-card { padding: 29px 22px 31px; }
    .auth-card .field-stack { gap: 18px; }
    .account-details-grid { grid-template-columns: 1fr; }
}
