:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#243b36;background:#f5f5f0;font-synthesis:none;--green:#173f37;--muted:#6c7d76;--border:#e2e6df;--gold:#b9934f}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,select{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}[hidden]{display:none!important}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin:0}h1{font-size:38px;letter-spacing:-1.3px;font-weight:650}h2{font-size:21px;font-weight:600;letter-spacing:-.4px}.muted{color:var(--muted);font-size:14px;line-height:1.6}.eyebrow{font-size:10px;letter-spacing:1.8px;font-weight:750;color:#74877c;line-height:2}.workspace{display:grid;grid-template-columns:232px 1fr;min-height:100vh}.sidebar{background:#fff;border-right:1px solid var(--border);padding:34px 22px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.brand{display:flex;gap:11px;align-items:center;font-size:24px;font-weight:700;letter-spacing:-.7px;margin-bottom:38px}.brand-sub{display:block;font-size:9px;letter-spacing:2px;color:#839087;margin-top:1px}.brandmark{width:58px;height:58px;background:var(--green);color:white;border-radius:15px;display:grid;place-content:center;font-size:36px;font-family:Georgia,serif;position:relative}.brandmark span{position:absolute;color:#d4b16f;right:10px;bottom:5px}.brandmark.small{width:41px;height:44px;font-size:29px;border-radius:11px}.small span{right:6px;bottom:2px}.nav-label{margin:18px 12px 9px}nav{display:grid;gap:5px}.nav-button{display:flex;align-items:center;gap:10px;border:0;background:transparent;border-radius:9px;padding:11px 12px;text-align:left;font-size:13px;color:#617169;width:100%;min-height:42px}.nav-button:hover{background:#f4f6f2}.nav-button.active{background:#e9f0e9;color:#1b4b3a;font-weight:650}.nav-icon{font-size:17px;width:20px;text-align:center;color:#7a9081}.nav-count{margin-left:auto;font-size:11px;padding:2px 6px;border-radius:5px;background:#eef1ec;min-width:22px;text-align:center}.active .nav-count{background:#d5e3d6}.front-dot{width:8px;height:8px;border-radius:50%;background:#658877;flex:none}.front-dot.monteiro_metais{background:#ba985c}.front-dot.pessoal{background:#927cab}.front-dot.domingues{background:#6c91b2}.front-dot.whatsapp{background:#77a982}.sidebar-foot{margin-top:auto;padding:22px 8px 0;border-top:1px solid var(--border);font-size:10px;color:#76837b;line-height:1.8}.status-dot{display:inline-block;width:6px;height:6px;background:#648f6c;border-radius:50%;margin-right:5px}.text-button{display:block;background:none;border:0;padding:8px 0;color:#78867c;font-size:12px}main{max-width:1320px;width:100%;padding:38px 42px 24px;margin:0 auto}.topbar{display:flex;justify-content:space-between;gap:18px;align-items:center;margin-bottom:27px}.topbar h1{margin:5px 0 5px}.header-actions{display:flex;gap:10px;align-items:center}.primary,.secondary{border-radius:9px;padding:11px 17px;font-size:12px;font-weight:650;min-height:42px;border:1px solid transparent;white-space:nowrap}.primary{background:var(--green);color:#fff}.primary:hover{background:#26584b}.secondary{background:white;color:#52675b;border-color:var(--border)}.secondary:hover{background:#f1f4ee}.overview{display:grid;grid-template-columns:repeat(4,1fr);gap:13px;margin-bottom:18px}.metric{border:1px solid var(--border);background:white;border-radius:12px;padding:19px 20px}.metric-label{font-size:12px;color:#6f8176}.metric-value{font-size:32px;letter-spacing:-1px;font-weight:650;margin:7px 0 3px;display:block}.metric-note{font-size:10px;color:#8d998f}.metric:first-child{background:#edf2e9;border-color:#dfe7d9}.reconcile{border:1px solid var(--border);border-radius:10px;background:#fff;display:flex;gap:15px;align-items:center;padding:12px 17px;margin-bottom:29px;font-size:12px;flex-wrap:wrap}.reconcile strong{font-weight:600}.reconcile .counts{margin-left:auto;display:flex;gap:12px}.reconcile.problem{border-color:#d4b983;background:#fbf7ed}.warning{border:1px solid #e6d9b9;background:#fcf8ed;border-radius:9px;padding:12px 15px;margin-bottom:12px;font-size:12px;line-height:1.6;color:#786341}.warning strong{display:block;color:#6a542c}.list-toolbar{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:16px}.list-toolbar .muted{font-size:11px;margin-top:3px}.filters{display:flex;gap:8px}select{background:#fff;border:1px solid var(--border);border-radius:8px;color:#52675b;padding:9px 12px;font-size:12px;min-height:40px}.cards{display:grid;gap:14px}.card{background:#fff;border:1px solid var(--border);border-radius:12px;overflow:hidden;box-shadow:0 2px 3px #1b3e2403}.card.stale{border-left:3px solid #c5a36a}.card-top{display:flex;gap:8px;align-items:center;flex-wrap:wrap;padding:18px 21px 8px}.front-tag{font-size:10px;font-weight:650;display:flex;align-items:center;gap:6px}.type-tag,.state-tag,.age-tag{padding:3px 7px;background:#f0f2ee;border-radius:5px;font-size:9px;color:#7c897e}.type-tag{background:#edf2e9;color:#6c8067}.age-tag{margin-left:auto;background:#f7efde;color:#9c793c}.card-body{padding:4px 21px 16px}.card h3{font-size:17px;font-weight:600;line-height:1.4;letter-spacing:-.25px;margin-bottom:8px}.context{white-space:pre-line;font-size:12px;line-height:1.7;color:#758378;max-width:900px}.recommendation{display:flex;gap:8px;margin-top:13px;font-size:12px;line-height:1.6;color:#54735b;background:#f3f6ef;border-radius:7px;padding:10px 12px}.recommendation .spark{font-size:17px;color:#7c996e}.card-bottom{padding:12px 21px;background:#fdfefa;border-top:1px solid #eef0e9}.comment-input{width:100%;min-height:36px;resize:vertical;border:1px solid #e8ebe3;background:#fff;border-radius:7px;padding:9px 11px;font-size:11px;line-height:1.5;margin-bottom:10px;color:#3c5445}.actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.action{border:1px solid var(--border);border-radius:7px;background:#fff;padding:8px 12px;font-size:11px;font-weight:550;color:#718074;min-height:36px}.action.approve{background:#e9f1e5;color:#3b6945;border-color:#dfebd8}.action:hover{filter:brightness(.97)}.action.details{margin-left:auto;border:0;background:transparent;color:#8b968c}.due{font-size:10px;color:#8a7651;margin-top:7px}.batch{margin-top:13px;border:1px solid #e9ede5;border-radius:8px}.batch summary{padding:10px 12px;font-size:12px;cursor:pointer;color:#55705a}.batch-item{display:flex;gap:10px;padding:10px 12px;border-top:1px solid #eef1e8;font-size:12px;align-items:flex-start}.batch-item input{margin-top:4px;accent-color:var(--green);width:18px;height:18px;flex:none}.batch-item p{font-size:10px;color:#819080;margin-top:4px;white-space:pre-line}.empty{padding:55px 20px;text-align:center;border:1px dashed #d7dfd2;border-radius:12px}.empty-icon{font-size:32px;color:#a6b8a0;margin-bottom:12px}.empty h3{font-size:18px;font-weight:550;margin-bottom:8px}.day-close{border-top:1px solid var(--border);margin-top:30px;padding:19px 0 0;display:flex;justify-content:space-between;gap:15px;font-size:11px;color:#8a968b}.pagination{display:flex;justify-content:center;align-items:center;gap:16px;margin-top:15px;font-size:12px}.login-shell{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(ellipse at 20% 10%,#e5edde,transparent 60%)}.login-card{background:#fff;border:1px solid var(--border);border-radius:18px;padding:38px;width:420px;max-width:100%;box-shadow:0 20px 90px #344d2910}.login-card .brandmark{margin-bottom:28px}.login-card h1{font-size:29px;letter-spacing:-.8px;margin:8px 0}.login-card .muted{margin-bottom:25px}.login-card .primary{width:100%;margin-top:6px}label{display:grid;gap:8px;font-size:12px;color:#687e6c;margin-bottom:16px}input,textarea{border:1px solid #dce3d7;border-radius:8px;padding:12px;outline:none;color:#274b36;width:100%;background:#fff}input:focus,textarea:focus,select:focus{outline:2px solid #9eb28c;outline-offset:2px}.login-card [role=alert]{font-size:12px;color:#a65b42;margin-top:12px}dialog{border:1px solid var(--border);border-radius:15px;padding:28px;max-width:650px;width:calc(100% - 30px);max-height:90vh;overflow:auto;color:#304b3b;box-shadow:0 20px 100px #20382840}dialog::backdrop{background:#1c302a65;backdrop-filter:blur(3px)}dialog .muted{margin:12px 0 22px}.dialog-heading{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:14px}.icon-button{background:transparent;border:0;font-size:26px;color:#8b998a}.history{border-left:2px solid #e6ecdf;padding:0 0 0 17px;margin:18px 0}.history li{margin:0 0 17px;font-size:12px;list-style:none;white-space:pre-line;line-height:1.7}.history time{display:block;font-size:10px;color:#92a08b}.details-section{margin:23px 0}.details-section h3{font-size:13px;color:#526b50;margin-bottom:9px}.details-section p{font-size:13px;line-height:1.8;white-space:pre-line}.options{padding:0 0 0 18px;font-size:12px;color:#6a7e68;line-height:1.8}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#254a39;color:#fff;border-radius:9px;padding:13px 20px;font-size:12px;box-shadow:0 8px 30px #23402930;z-index:10;max-width:90vw}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(min-width:1450px){main{padding:45px 60px}}@media(max-width:1000px){.workspace{grid-template-columns:190px 1fr}.sidebar{padding:28px 12px}main{padding:29px 24px}.overview{gap:8px}.metric{padding:16px 12px}.topbar{align-items:flex-start}.header-actions{flex-direction:column;align-items:stretch}h1{font-size:32px}}
@media(max-width:700px){.workspace{display:block}.sidebar{position:static;width:100%;height:auto;padding:15px 17px 8px;border:0;border-bottom:1px solid var(--border)}.brand{font-size:20px;margin-bottom:12px}.brandmark.small{width:31px;height:33px;font-size:23px}.brand-sub{font-size:7px}.sidebar .nav-label,.sidebar-foot{display:none}nav{display:flex;overflow:auto;gap:4px;padding-bottom:5px}#fronts{padding-top:3px}.nav-button{width:auto;white-space:nowrap;font-size:11px;padding:8px 10px;min-height:36px}.nav-icon{display:none}.nav-count{font-size:9px}.nav-button .front-dot{width:6px;height:6px}main{padding:23px 15px}.topbar{gap:12px;margin-bottom:20px}.topbar h1{font-size:31px}.topbar .eyebrow{font-size:8px}.header-actions{gap:7px}.primary,.secondary{font-size:10px;padding:9px 12px;min-height:38px}.overview{grid-template-columns:repeat(2,1fr);gap:9px}.metric{padding:14px 15px}.metric-value{font-size:27px}.metric-label{font-size:11px}.reconcile{font-size:10px;padding:12px;gap:7px;margin-bottom:22px}.reconcile .counts{margin-left:0;width:100%;font-weight:600}.list-toolbar{align-items:flex-start;flex-direction:column;gap:10px}.filters{width:100%}.filters select{width:50%;font-size:11px}.card-top{padding:15px 15px 8px;gap:6px}.card-body{padding:4px 15px 14px}.card h3{font-size:16px}.context{font-size:12px}.card-bottom{padding:12px 15px}.action{font-size:10px;padding:9px 10px;min-height:41px}.action.details{margin-left:0}.age-tag{font-size:8px}.day-close{flex-direction:column;gap:8px}.login-card{padding:28px}dialog{padding:22px}.recommendation{font-size:11px}.sidebar .brand{display:inline-flex}.sidebar #logout{display:none}}

/* Three visible lines; all original instructions and metadata stay in details. */
.card-heading{display:flex;gap:18px;align-items:flex-start;justify-content:space-between;margin-bottom:11px}.card-heading h3{max-width:76%;margin:0;font-size:17px}.deadline-badge{flex:none;max-width:230px;text-align:right;font-size:11px;line-height:1.5;background:#f1f4ec;color:#5b7158;padding:7px 10px;border-radius:7px}.deadline-overdue{background:#fff0eb;color:#b63f35;border:1px solid #f1c7bf}.quick-lines{display:grid;gap:5px}.quick-lines p{font-size:12px;line-height:1.6;color:#758378;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.quick-lines .decision-question{font-weight:650;color:#35543f}.recommendation-chip{font-size:9px;color:#728269;margin-left:auto;max-width:70%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.old-overdue-group{border:1px solid #e6c8bc;border-radius:12px;background:#fcf8f3;overflow:hidden}.old-overdue-group>summary{cursor:pointer;display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding:17px 20px;color:#8c5741;font-size:14px}.old-overdue-group>summary .nav-count{margin-left:0}.old-overdue-group>summary .muted{font-size:11px}.old-overdue-cards{padding:0 13px 14px}.action.return{color:#7b674d}.card-top{padding-bottom:12px}.card-body{padding-bottom:17px}
@media(max-width:700px){.card-heading{display:block}.card-heading h3{max-width:100%;font-size:15px;margin-bottom:9px}.deadline-badge{display:inline-block;text-align:left;max-width:100%;font-size:10px}.quick-lines p{font-size:11px}.recommendation-chip{max-width:100%;margin-left:0;font-size:9px}.card-top{gap:6px}.actions{gap:6px}.action{min-height:42px;font-size:10px}.old-overdue-cards{padding:0 7px 8px}}

.mode-note{font-size:11px;color:#728472;margin:-12px 0 17px;line-height:1.5}
