:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;color:#203149;background:#f5f7fa;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}a{color:#cb601e;text-decoration:none}a:hover{text-decoration:underline}:focus-visible{outline:3px solid #f99d55;outline-offset:2px}.splash{height:100vh;display:grid;place-content:center;text-align:center;gap:8px;color:#122642}.splash p{color:#64748b}.orb{color:#f17b32;font-size:48px}.auth{display:grid;grid-template-columns:minmax(260px,1fr) minmax(340px,480px);min-height:100vh}.auth-brand{background:radial-gradient(circle at 90% 15%,#253e60,#0c1d34 58%);padding:70px min(8vw,110px);color:white;display:flex;flex-direction:column;justify-content:space-between}.brand{display:flex;gap:13px;align-items:center;font-size:25px;font-weight:800;letter-spacing:-.7px}.brand .mark{display:grid;place-items:center;width:43px;height:43px;border-radius:15px;background:#f47d35;color:#101b2b;font-size:24px}.brand small{font-weight:500;color:#fcad77}.auth-brand h1{font-size:clamp(34px,3.9vw,57px);line-height:1.13;letter-spacing:-1.7px;max-width:600px}.auth-brand h1 em{color:#f9995e;font-style:normal}.auth-brand p{line-height:1.7;color:#c9d6e5;max-width:480px}.legal{font-size:12px;color:#9db0c5}.auth-side{display:flex;align-items:center;justify-content:center;padding:26px;background:white}.auth-card{width:100%;max-width:370px}.eyebrow{font-size:11px;text-transform:uppercase;letter-spacing:2px;font-weight:800;color:#cf6a26}.auth-card h2{font-size:30px;margin:9px 0 8px}.muted{color:#708096}.subtle{font-size:12px;color:#73839a}.auth-card p{line-height:1.55}.field{display:grid;gap:6px;margin:16px 0;font-weight:650;font-size:13px}.field input,.field select,.field textarea,.field>input{width:100%;border:1px solid #d9e1eb;border-radius:11px;padding:13px;background:#fff;color:#17304b;outline:none}.field input:focus,.field textarea:focus,.field select:focus{border-color:#f28a46;box-shadow:0 0 0 3px #fff0e5}.field textarea{min-height:100px;resize:vertical}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid transparent;border-radius:10px;padding:10px 16px;background:#ed762c;color:#fff;font-weight:750;font-size:13px;line-height:1.3;transition:background .12s}.btn:hover{background:#d96520;text-decoration:none}.btn.secondary{background:#fff;border-color:#d7e0eb;color:#213652}.btn.secondary:hover{background:#f4f7fa}.btn.ghost{background:transparent;color:#ca651f;padding:8px}.btn.full{width:100%;padding:14px}.btn:disabled{opacity:.48;cursor:not-allowed}.btn.small{font-size:12px;padding:7px 10px}.tabs{display:flex;gap:7px;background:#f2f5f9;border-radius:12px;padding:5px;margin:23px 0}.tab{flex:1;border:0;background:transparent;color:#65758b;padding:10px 6px;border-radius:9px;font-size:12px;font-weight:750}.tab.active{background:white;color:#1e324a;box-shadow:0 1px 5px #15365c1e}.alert{border:1px solid #eac1a0;background:#fff8ed;border-radius:11px;padding:13px;color:#835021;font-size:13px;line-height:1.55;margin:14px 0}.alert.info{border-color:#bed7ec;background:#edf6ff;color:#356487}.alert.err{border-color:#ffcdcd;background:#fff0f0;color:#a33333}.alert.ok{border-color:#c5e4d6;background:#edf9f3;color:#18764d}.layout{display:flex;min-height:100vh}.sidebar{background:#0e2037;color:#e9f1fb;width:253px;flex-shrink:0;position:sticky;top:0;height:100vh;display:flex;flex-direction:column;padding:26px 13px}.sidebar .brand{font-size:21px;padding:3px 13px 25px}.sidebar .brand .mark{width:38px;height:38px;font-size:20px}.nav-label{font-size:10px;font-weight:800;letter-spacing:1.6px;color:#8397af;padding:16px 15px 9px}.nav{overflow:auto;padding-right:4px}.nav button{display:flex;width:100%;align-items:center;gap:12px;background:transparent;border:0;color:#aebfd3;font-weight:600;font-size:13px;text-align:left;padding:12px 13px;border-radius:10px;margin:2px 0}.nav button:hover{background:#19314f;color:white}.nav button.active{background:#263f5c;color:white;box-shadow:inset 3px 0 #f7873b}.nav .ni{font-size:18px;width:21px;text-align:center}.side-foot{margin-top:auto;padding:18px 12px 8px;font-size:11px;color:#a4b6cc;line-height:1.7;border-top:1px solid #253b54}.main{flex:1;min-width:0}.topbar{height:77px;background:white;border-bottom:1px solid #e8edf3;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:0 clamp(19px,3vw,48px)}.topbar .title{font-weight:800;font-size:14px;color:#20344d}.right{display:flex;align-items:center;gap:11px}.avatar{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#f5dcc8;color:#9b4d20;font-weight:800}.select-office{max-width:230px;padding:9px 13px;border:1px solid #e0e8f1;border-radius:9px;background:white;color:#27384f;font-size:13px}.content{max-width:1440px;margin:0 auto;padding:30px clamp(18px,3vw,48px) 60px}.head{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-bottom:26px}.head h1{font-size:29px;letter-spacing:-.65px;margin:6px 0}.head p{color:#708096;font-size:14px;margin:7px 0}.kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:23px}.kpi,.card{background:white;border:1px solid #e5ebf2;border-radius:15px;box-shadow:0 3px 14px #1c36520a}.kpi{padding:22px}.kpi .symbol{display:inline-grid;place-items:center;width:40px;height:40px;border-radius:11px;background:#edf4fc;color:#3b709e;font-size:21px}.kpi:nth-child(2) .symbol{background:#edf8f4;color:#31976d}.kpi:nth-child(3) .symbol{background:#fff4e9;color:#d78332}.kpi:nth-child(4) .symbol{background:#fdf0f0;color:#da6363}.kpi .num{display:block;font-size:29px;font-weight:850;margin:11px 0 4px;letter-spacing:-1.1px}.kpi .desc{color:#687b93;font-weight:650;font-size:12px}.grid2{display:grid;grid-template-columns:1.3fr 1fr;gap:18px}.card{padding:20px;margin-bottom:17px}.card h3{font-size:15px;margin:0 0 16px;color:#193450}.card .hint{font-size:12px;color:#7d8da0}.table-wrap{overflow-x:auto}.table{width:100%;border-collapse:collapse;white-space:nowrap}.table th{text-align:left;color:#8995a6;font-size:11px;letter-spacing:.55px;text-transform:uppercase;font-weight:750;background:#f8fafc}.table td,.table th{padding:14px 13px;border-bottom:1px solid #edf1f5;font-size:13px}.table tr:last-child td{border-bottom:0}.table td{color:#364a62}.table strong{color:#183450}.pill{display:inline-flex;align-items:center;border-radius:50px;padding:5px 9px;font-size:11px;font-weight:800;background:#edf3f9;color:#516782}.pill.done,.pill.confirmed,.pill.valid,.pill.settled{color:#16815c;background:#e6f7ee}.pill.doing,.pill.review,.pill.active{color:#a35b14;background:#fff3e2}.pill.waiting_client,.pill.pending{color:#7d66a9;background:#f1eafb}.pill.overdue,.pill.expired{color:#b94b4b;background:#fff0f0}.empty{padding:28px;border:1px dashed #c9d7e4;border-radius:12px;background:#fcfdff;text-align:center;color:#73859a;font-size:13px}.toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:15px}.toolbar select,.toolbar input{background:white;border:1px solid #dbe5ee;border-radius:9px;padding:9px 12px;color:#283c54;font-size:13px}.modal-backdrop{position:fixed;inset:0;background:#0c2039ad;z-index:30;display:flex;align-items:center;justify-content:center;padding:18px}.modal{max-width:560px;width:100%;background:#fff;border-radius:18px;box-shadow:0 26px 80px #0b172c44;padding:25px;max-height:90vh;overflow-y:auto}.modal .modal-top{display:flex;justify-content:space-between;align-items:center}.modal h2{margin:0;font-size:20px}.modal .field{margin:12px 0}.modal footer{display:flex;justify-content:flex-end;gap:9px;margin-top:24px}.x{background:#f4f6f9;border:0;border-radius:8px;width:31px;height:31px;font-size:20px;color:#60738a}.textless{font-size:12px;color:#8a99aa}.a-link{background:none;color:#bb5f22;border:0;font-size:12px;padding:7px;text-decoration:underline}.row-actions{display:flex;gap:8px;align-items:center}.row-actions select{padding:7px;border:1px solid #d9e3ed;border-radius:8px;max-width:146px;background:white;font-size:12px}.msg{border-radius:12px;background:#f5f8fc;padding:14px;margin:10px 0;max-width:85%}.msg.mine{background:#fff0e7;margin-left:auto}.msg small{display:block;color:#718198;margin-bottom:7px}.msg p{margin:0;line-height:1.6;white-space:pre-wrap}.notice{padding:13px 17px;border:1px solid #e7cdab;background:#fff7e8;border-radius:12px;color:#8b5d27;margin-bottom:20px;font-size:12px}.footnote{color:#8998a8;font-size:12px;margin-top:19px}#toast{position:fixed;bottom:22px;right:22px;background:#15334d;color:white;border-radius:12px;padding:13px 18px;box-shadow:0 14px 30px #0003;opacity:0;transform:translateY(8px);pointer-events:none;transition:.2s;z-index:70;max-width:420px;font-size:13px}#toast.visible{opacity:1;transform:translateY(0)}#toast.error{background:#b84539}.menu-toggle{display:none}.wide{width:100%}.small-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.stat-strip{display:flex;gap:10px;flex-wrap:wrap}.stat-strip span{border:1px solid #e4eaf1;background:#fff;border-radius:10px;padding:10px 13px;font-size:13px;font-weight:650}.link-btn{background:transparent;color:#c9682c;border:0;padding:0;font-size:13px;font-weight:700}.auth-notice{color:#71849a;font-size:12px;line-height:1.5;margin:20px 0 0}
@media(max-width:1080px){.kpis{grid-template-columns:repeat(2,1fr)}.grid2{grid-template-columns:1fr}.sidebar{width:220px}.sidebar .brand{font-size:18px}}
@media(max-width:720px){.auth{grid-template-columns:1fr}.auth-brand{min-height:185px;padding:25px}.auth-brand h1{font-size:26px;margin:18px 0 10px}.auth-brand p,.auth-brand .legal{display:none}.auth-side{padding:26px}.layout{display:block}.sidebar{position:fixed;z-index:20;transform:translateX(-110%);transition:.2s;box-shadow:8px 0 30px #0002;width:252px}.sidebar.open{transform:translateX(0)}.menu-toggle{display:inline-flex;border:0;background:#edf2f6;border-radius:9px;font-size:20px;padding:7px 10px}.topbar{height:67px;padding:0 16px}.topbar .title{font-size:12px}.select-office{max-width:160px}.topbar .right .avatar{display:none}.content{padding:22px 15px 55px}.head{align-items:start;flex-wrap:wrap}.head h1{font-size:24px}.kpis{grid-template-columns:repeat(2,1fr);gap:9px}.kpi{padding:15px}.kpi .num{font-size:25px}.card{padding:14px}.table td,.table th{padding:12px 9px}.modal{padding:18px}.small-grid{grid-template-columns:1fr}}
@media(max-width:400px){.kpis{grid-template-columns:1fr 1fr}.topbar .title{display:none}.select-office{max-width:190px}.head .btn{max-width:100%}}


/* Orbi clássico — restauração do layout original aprovado para o primeiro acesso. */
.auth.auth-classic{grid-template-columns:minmax(0,1.1fr) minmax(370px,.9fr);background:#fff}
.auth-classic .auth-brand{background:radial-gradient(circle at 95% 80%,#244462,#0e1c2d 67%);padding:36px 11% 30px;display:flex;flex-direction:column;justify-content:space-between;min-height:100vh}
.orbi-auth-logo{display:flex;align-items:center;gap:7px;white-space:nowrap}
.orbi-auth-logo svg{flex-shrink:0;transform:rotate(-8deg)}
.orbi-auth-logo-title{font-size:30px;line-height:1;letter-spacing:-1.2px;font-weight:850;color:#fff}
.orbi-auth-logo-title strong{color:#ff8426}
.orbi-auth-brand-sub{color:#d9e4f3!important;font-size:12px!important;line-height:1.65!important;font-weight:600;margin:10px 0 0 0;max-width:220px}
.auth-classic .auth-hero-copy{margin:auto 0;padding:24px 0}
.auth-hero-eyebrow{letter-spacing:.16em;color:#ff9a4a;font-size:11px;font-weight:850}
.auth-classic .auth-hero-copy h1{color:#fff;font-size:clamp(35px,3.7vw,57px);line-height:1.22;letter-spacing:-1.5px;margin:24px 0 20px;max-width:780px}
.auth-classic .auth-hero-copy h1 em{color:#ff9d42;font-style:normal}
.auth-classic .auth-hero-copy p{font-size:15px;line-height:1.85;color:#b4c9df;max-width:580px}
.auth-features{display:flex;align-items:center;gap:18px;flex-wrap:wrap;font-size:11px;margin-top:30px;color:#c3d5e8}
.auth-features span::first-letter{color:#ff963e}
.auth-classic .legal{color:#869fba;font-size:11px}
.auth-classic .auth-side{padding:30px;display:grid;place-items:center;background:#fff}
.auth-classic .auth-card{width:min(100%,390px);max-width:390px}
.auth-classic .auth-card h2{font-size:30px;letter-spacing:-1.1px;line-height:1.22;color:#172439;margin:12px 0 9px}
.auth-classic .auth-card .eyebrow{letter-spacing:1.45px;color:#ef792d}
.auth-classic .auth-card p.muted{font-size:13px;color:#8291a4;line-height:1.65;margin:0 0 26px}
.auth-classic .field{gap:8px;font-size:11px;font-weight:800;margin:17px 0}
.auth-classic .field input{border-color:#dce5f0;padding:14px;border-radius:10px}
.auth-classic .btn.full{width:100%;min-height:48px;margin-top:10px;border-radius:10px;background:#ff821e;font-size:13px}
.auth-classic .btn.full:hover{background:#e66e11}
.auth-classic .btn.full:focus-visible{outline:3px solid #ffc58e;outline-offset:2px}
.orbi-auth-help{background:#fff6eb;border:1px solid #ffdfba;border-radius:12px;margin-top:26px;padding:18px}
.orbi-auth-help strong{font-size:12px;color:#a9682d;display:block;margin-bottom:12px}
.orbi-auth-options{display:flex;gap:7px;flex-wrap:wrap}
.orbi-auth-options button{border:1px solid #f1e2cf;background:#fff;color:#825b2c;border-radius:8px;padding:9px 12px;font-size:11px;font-weight:750;cursor:pointer}
.orbi-auth-options button.active{color:#c86e1d;border-color:#ffab65;background:#fffaf5}
.orbi-auth-options button:hover{border-color:#e99550}
.auth-classic .auth-notice{color:#8b99a7;font-size:11px;line-height:1.6;margin:20px 0 0}
.auth-classic .auth-notice a{color:#e77723;font-weight:750}
@media(max-width:900px){
 .auth.auth-classic{grid-template-columns:minmax(0,1fr) minmax(330px,.95fr)}
 .auth-classic .auth-brand{padding:35px 8% 26px}
 .auth-classic .auth-hero-copy h1{font-size:clamp(30px,4.5vw,44px)}
 .auth-classic .auth-side{padding:26px}
}
@media(max-width:720px){
 .auth.auth-classic{grid-template-columns:1fr}
 .auth-classic .auth-brand{min-height:310px;padding:25px;justify-content:space-between}
 .orbi-auth-logo-title{font-size:24px}
 .orbi-auth-logo svg{width:36px;height:36px}
 .orbi-auth-brand-sub{font-size:10px!important}
 .auth-classic .auth-hero-copy{margin:20px 0 0;padding:0}
 .auth-classic .auth-hero-copy h1{font-size:30px;line-height:1.15;margin:13px 0 10px}
 .auth-classic .auth-hero-copy p{font-size:12px}
 .auth-classic .auth-features,.auth-classic .legal{display:none}
 .auth-classic .auth-side{padding:28px 20px 45px}
 .auth-classic .auth-card{width:100%;max-width:390px}
}
