/* AUREON v0.4 — official approved design system. Self-contained offline CSS. */
:root{color-scheme:light;--navy:#04192e;--navy2:#061f3c;--ink:#0d2041;--text:#19345b;--muted:#778ba8;--blue:#0879ef;--cyan:#06c6ed;--line:#e4edf7;--surface:#ffffff;--back:#f5f9ff;--shadow:0 7px 26px rgba(26,73,132,.045);--radius:15px;--sidebarw:228px;font-family:Inter,'Segoe UI',Arial,sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--back);color:var(--ink);font-size:13px;line-height:1.5}a{text-decoration:none;color:inherit}button,input,select,textarea{font:inherit}button{cursor:pointer}a,button,input,textarea,select{outline-offset:3px}h1,h2,h3,h4,p{margin-top:0}h1{font-weight:790;font-size:29px;letter-spacing:-.035em;line-height:1.2;margin-bottom:8px}h2{font-weight:760;letter-spacing:-.02em}h3{font-weight:750}small{font-size:11px}svg{flex-shrink:0}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #008bf1}
.shell{min-height:100vh;display:flex}.sidebar{width:var(--sidebarw);flex:0 0 var(--sidebarw);height:100vh;position:sticky;top:0;display:flex;flex-direction:column;padding:23px 13px 15px;background:linear-gradient(155deg,#03172a 0%,#051c36 56%,#031427 100%);color:#edf7ff;border-right:1px solid #10345b;box-shadow:5px 0 30px rgba(0,28,72,.06);z-index:40;transition:width .23s ease,flex-basis .23s ease}.brand-row{display:flex;align-items:center;justify-content:space-between;min-height:49px;gap:4px;margin-bottom:19px}.brand{display:flex;align-items:center;gap:7px;min-width:0;overflow:hidden;flex:1}.brand-mark{width:34px;height:37px;object-fit:contain;flex-shrink:0}.brand-label{display:flex;flex-direction:column;min-width:0}.brand-label strong{font-weight:650;letter-spacing:.32em;font-size:17px;color:#f4fcff;line-height:1.3}.brand-label small{font-weight:600;letter-spacing:.085em;font-size:6px;color:#79ccf9;white-space:nowrap}.sidebar-collapse{display:grid;place-items:center;width:29px;height:29px;border:1px solid #204368;border-radius:9px;background:transparent;color:#8cceff;flex:none}.sidebar-collapse:hover{background:#0a3357}.workspace{background:linear-gradient(180deg,#082e56,#05223f);border:1px solid #14517f;border-radius:13px;display:flex;gap:10px;align-items:center;padding:10px;margin:0 0 25px;min-height:60px}.workspace-mark{height:33px;width:33px;flex:none;display:grid;place-items:center;background:linear-gradient(135deg,#0997e9,#075dcc);border-radius:9px;font-size:12px;font-weight:800;color:white}.workspace-name{min-width:0;flex:1}.workspace-name strong,.workspace-name small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.workspace-name strong{font-weight:750;font-size:12px}.workspace-name small{color:#80baef;font-size:10px}.workspace>svg{color:#56bcf8}.nav-label{color:#5fa4de;text-transform:uppercase;letter-spacing:.16em;font-weight:780;font-size:9px;margin:1px 11px 10px;white-space:nowrap}.sidebar nav{display:grid;gap:5px}.nav-link{border:0;border-left:3px solid transparent;width:100%;height:42px;padding:0 10px;display:flex;gap:11px;align-items:center;color:#b1d0e9;background:transparent;border-radius:10px;text-align:left;font-size:12px;font-weight:600;white-space:nowrap;transition:background .15s,color .15s}.nav-link:hover{background:#0b3153;color:#fff}.nav-link.active{background:linear-gradient(90deg,#083a6d,#062951);border-left-color:var(--cyan);color:#20e1ff;box-shadow:0 7px 20px rgba(0,48,132,.22)}.nav-icon{width:25px;display:grid;place-items:center;color:#21d2f7;flex:none}.nav-text{overflow:hidden;text-overflow:ellipsis}.support-label{margin-top:24px}.side-bottom{margin-top:auto}.side-status{padding:12px 9px;display:flex;align-items:center;gap:9px;color:#91c2e4;border-top:1px solid #143857;font-size:10px}.status-dot{display:inline-block;width:7px;height:7px;background:#29d5ab;border-radius:50%;box-shadow:0 0 0 4px rgba(41,213,171,.08);flex:none}.logout{margin-top:6px}.sidebar .brand-mark{filter:drop-shadow(0 0 4px rgba(3,158,227,.1))}
.sidebar-collapsed .shell{--sidebarw:70px}.sidebar-collapsed .sidebar{padding:19px 9px}.sidebar-collapsed .brand-row{flex-direction:column;gap:9px;min-height:85px}.sidebar-collapsed .brand{justify-content:center}.sidebar-collapsed .brand-mark{height:37px;width:34px}.sidebar-collapsed .brand-label,.sidebar-collapsed .workspace-name,.sidebar-collapsed .workspace>svg,.sidebar-collapsed .nav-label,.sidebar-collapsed .nav-text{display:none}.sidebar-collapsed .sidebar-collapse{width:31px;height:28px}.sidebar-collapsed .workspace{padding:8px;justify-content:center;margin-bottom:18px}.sidebar-collapsed .nav-link{justify-content:center;padding:0;gap:0}.sidebar-collapsed .nav-icon{width:28px}.sidebar-collapsed .side-status{justify-content:center}
.main-wrap{min-width:0;flex:1;display:flex;flex-direction:column}.topbar{height:68px;background:#fbfdffeb;backdrop-filter:blur(10px);border-bottom:1px solid #e1ebf5;display:flex;align-items:center;gap:20px;justify-content:space-between;padding:0 clamp(24px,2.5vw,48px)}.global-search{display:flex;align-items:center;gap:10px;width:min(495px,52vw);background:#fff;border:1px solid #e1eaf5;border-radius:11px;height:40px;padding:0 13px;box-shadow:0 2px 8px rgba(27,72,118,.025);color:#377ce0}.global-search input{flex:1;min-width:0;border:0;background:transparent;color:#163359;font-size:12px;outline:none}.global-search input::placeholder{color:#89a1bd}.global-search button{border:0;background:transparent;color:#4774b1;padding:4px}.top-actions{display:flex;align-items:center;gap:24px}.env-label{font-size:9px;color:#008c80;letter-spacing:.13em;font-weight:800;display:flex;align-items:center;gap:10px;white-space:nowrap}.top-account{display:flex;align-items:center;gap:9px;color:#173250}.top-account>.icon-svg{color:#4e79a4}.avatar{display:grid;place-items:center;height:34px;width:34px;border-radius:10px;background:linear-gradient(135deg,#0ab8e8,#075ad5);color:#fff;font-size:15px;font-weight:850;box-shadow:0 4px 15px rgba(13,116,222,.15)}.username{display:flex;flex-direction:column;min-width:85px;line-height:1.45}.username strong{font-size:12px}.username small{font-size:10px;color:#7394ba}.content{width:100%;max-width:1760px;margin:0 auto;padding:27px clamp(20px,2.55vw,49px) 18px;flex:1}.page-head{display:flex;justify-content:space-between;align-items:end;gap:16px;margin-bottom:23px}.kicker{letter-spacing:.17em;font-size:10px;color:#0872dc;font-weight:800;margin-bottom:12px}.kicker span{margin:0 11px;color:#86a8cf}.page-head h1{font-size:32px}.lead{color:#728aab;margin:0;font-size:13px}.page-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.footnote{display:flex;justify-content:center;gap:12px;color:#9babc2;padding:18px 4px 0;font-size:10px}.footnote span{color:#c1d0e2}.hamburger{display:none}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;border-radius:10px;border:1px solid transparent;min-height:38px;padding:9px 15px;white-space:nowrap;color:#25446f;background:#fff;font-size:11px;font-weight:750;transition:transform .17s,filter .17s}.btn:hover{transform:translateY(-1px)}.btn.primary{background:linear-gradient(115deg,#09a9f4,#0866ee);border-color:#1094f0;color:white;box-shadow:0 6px 14px rgba(4,129,223,.13)}.btn.subtle{background:#fff;border-color:#dce8f6;color:#315481}.btn.textbtn{color:#0478e8;background:transparent;padding:2px;border:0;min-height:25px}.btn.light{color:#0654be;background:#ebf5ff}.btn.ghost-white{background:#fff;border-color:#d3e5f7;color:#0968c5}.button-link{border:0;cursor:pointer;background:transparent}.toast{background:#ecf9f6;color:#0e725b;border:1px solid #b2ecdf;padding:13px 15px;border-radius:12px;margin-bottom:19px;font-weight:600}
.panel{background:#fff;border:1px solid var(--line);box-shadow:var(--shadow);border-radius:15px;margin-bottom:17px;overflow:hidden}.panel-head{display:flex;justify-content:space-between;align-items:center;gap:16px;border-bottom:1px solid #edf2f9;padding:17px 20px}.panel-head h2{font-size:14px;margin:0;color:#142d53}.panel-body{padding:19px 20px}.panel-head-action{flex:none}.stats-grid,.mini-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:17px}.stat-card,.metric,.mini-stat{display:block;padding:18px;background:#fff;border:1px solid var(--line);border-radius:15px;box-shadow:var(--shadow);min-width:0}.stat-card:hover{border-color:#cbdff4}.stat-top{display:flex;justify-content:space-between;align-items:center;color:#637c9d;font-size:11px;font-weight:650;gap:8px}.stat-icon,.metric-icon{display:grid;place-items:center;border-radius:15px;width:40px;height:40px;background:#eff7ff;color:#087beb}.stat-number,.metric-value{font-size:27px;letter-spacing:-.055em;color:#081c3a;font-weight:820;margin:10px 0 4px;line-height:1.1}.stat-number.money{font-size:24px;letter-spacing:-.03em}.stat-foot{color:#7994b1;font-size:11px}.stat-accent{color:#00a978;font-size:14px;margin-right:3px}.metric-label{text-transform:none;color:#6982a1;font-weight:680;font-size:11px}.metric-value.gold{color:#b77713}.metric-value.red{color:#e25562}.metric-value.green{color:#059d80}
.two-cols,.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.two-cols>.panel,.detail-grid>.panel{min-width:0;margin-bottom:16px}.bar-row{margin:0 0 13px}.bar-line{display:flex;justify-content:space-between;gap:10px;color:#345274;font-size:11px;margin-bottom:6px}.bar-line b{font-weight:850;color:#153858}.bar-bg{height:7px;background:#eaf2fb;border-radius:20px;overflow:hidden}.bar-bg span{display:block;height:100%;border-radius:20px;background:linear-gradient(90deg,#087def,#11d3ed)}.deadline-row{display:flex;gap:12px;align-items:center;padding:9px 0;border-bottom:1px solid #edf2f8}.deadline-row:last-child{border-bottom:0}.date-tile{display:flex;align-items:center;justify-content:center;flex-direction:column;flex:none;height:45px;width:44px;border:1px solid #e0ecf9;border-radius:10px;background:#f1f8ff}.date-tile strong{font-weight:800;color:#075cba;font-size:16px}.date-tile small{color:#8a9fbc}.date-tile.overdue{background:#fff4f4;border-color:#ffd8da}.date-tile.overdue strong{color:#e23a50}.deadline-desc{min-width:0;flex:1}.deadline-desc strong,.deadline-desc small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.deadline-desc strong{font-size:11px;color:#152d4c}.deadline-desc small{color:#7891af;font-size:10px}.pill{display:inline-flex;align-items:center;gap:4px;padding:5px 9px;border-radius:999px;font-size:10px;font-weight:750;line-height:1.3;background:#f0f4f9;color:#536b89;white-space:nowrap}.pill.success{background:#e4f8ed;color:#0e8553}.pill.warning{background:#fff1d7;color:#a56b0c}.pill.info{background:#e6f1ff;color:#1866b8}.pill.danger{background:#ffe7eb;color:#cf3c50}.pill.quiet{background:#f0f3f7;color:#8493a9}.pill.neutral{background:#edf2f9;color:#49647f}.pill-danger{background:#ffe7eb;color:#da3645;padding:5px 9px;border-radius:7px;font-size:10px;font-weight:750}
.table-scroll{max-width:100%;overflow-x:auto}.data-table{width:100%;border-collapse:collapse;text-align:left;font-size:11px;white-space:nowrap}.data-table th{color:#8093ad;background:#f9fbfe;border-bottom:1px solid #e8eff7;padding:13px 12px;font-size:9px;letter-spacing:.055em;font-weight:820;text-transform:uppercase}.data-table td{border-bottom:1px solid #edf2f9;padding:13px 12px;color:#284566;vertical-align:middle}.data-table tbody tr:hover td{background:#fafdff}.data-table tbody tr:last-child td{border-bottom:0}.table-action,.strong-link{color:#096bcc;font-weight:750}.table-action:hover,.strong-link:hover{text-decoration:underline}.subcell{display:block;color:#8ba0ba;margin-top:4px;font-size:10px;max-width:260px;white-space:normal}.name-link{display:flex;align-items:center;gap:9px;color:#153351}.name-link strong,.name-link small{display:block}.name-link small{color:#9aacc2}.name-avatar{width:31px;height:31px;flex:none;display:grid;place-items:center;background:#deebff;color:#1b6cda;border-radius:50%;font-weight:800}.mono{font-variant-numeric:tabular-nums;font-family:ui-monospace,SFMono-Regular,Consolas,monospace}.muted{color:#889fb9}.value-in{color:#08a27e}.value-out,.due-red{color:#e4485a}
.field{display:flex;flex-direction:column;gap:7px;min-width:0}.field>span{font-size:11px;color:#496385;font-weight:740}.field input,.field select,.field textarea,.month-filter input,.search-input{background:#fff;border:1px solid #dfeaf5;border-radius:10px;padding:10px 12px;color:#16375b;min-height:40px;width:100%;outline:0}.field input:focus,.field select:focus,.field textarea:focus,.search-input:focus{border-color:#4d9ff1;box-shadow:0 0 0 3px rgba(26,123,241,.09)}.field textarea{resize:vertical;min-height:100px}.field small{color:#8ca3bf}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.field.wide{grid-column:1/-1}.form-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:20px}.edit-form{max-width:1000px}.status-form,.inline-form,.table-form{display:flex;align-items:end;gap:8px;flex-wrap:wrap}.status-form{margin-top:15px}.status-form .field{min-width:260px}.table-form select{min-width:100px;padding:6px;min-height:30px}.table-form .field>span{display:none}.tiny-button{border:0;border-radius:8px;background:#e7f4ff;color:#136acc;height:30px;width:32px}.details-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.details-grid div{border:1px solid #edf2f8;border-radius:10px;padding:13px}.details-grid span{font-size:10px;color:#8199b4;display:block;margin-bottom:6px}.details-grid strong{color:#1b3759;font-size:12px;word-break:break-word}.process-track,.process-stage-strip{display:flex;gap:9px;overflow-x:auto;padding-bottom:9px}.track-item,.stage-pill{min-width:117px;max-width:160px;flex:1;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;gap:8px;border:1px solid #e7eef8;border-radius:12px;padding:12px;background:#f9fbfe}.track-item small,.stage-pill small{color:#7b91ab}.track-item.done,.stage-pill.done{background:#f0fbf5;border-color:#bfe9d1}.track-item.current,.stage-pill.current{background:#eaf4ff;border-color:#9dccf8}.track-number,.stage-pill span{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#e6edf7;color:#396b9e;font-weight:800}.timeline-item{display:flex;gap:10px;position:relative;padding-bottom:17px}.timeline-item:before{content:'';position:absolute;left:8px;top:20px;bottom:-3px;width:1px;background:#dce9f7}.timeline-item:last-child:before{display:none}.tl-node{height:17px;width:17px;border:4px solid #bceafd;background:#008de1;flex:none;border-radius:50%;z-index:1;margin-top:12px}.tl-card{flex:1;border:1px solid #e8f0f9;padding:14px;border-radius:12px;background:#fcfdff;min-width:0}.tl-top{display:flex;justify-content:space-between;gap:12px;color:#8a9fb7;font-size:10px;margin-bottom:6px}.tl-category{background:#e6f3ff;color:#126abf;padding:4px 8px;border-radius:6px}.tl-card strong{color:#173758}.tl-card p{font-size:11px;color:#6e83a2;white-space:pre-line;margin:6px 0}.tl-card small{color:#92a5bc}.empty{text-align:center;padding:36px 15px;color:#547395}.empty-icon{font-size:22px}.empty h3{margin:8px 0 4px}.empty p{color:#8ba0bb;font-size:12px;margin:0}.tabs{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:17px;border-bottom:1px solid #e4edf7}.tab{padding:9px 15px;border-bottom:2px solid transparent;color:#7288a5;font-weight:650}.tab.active{border-color:var(--blue);color:var(--blue)}.toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.search-box{flex:1;display:flex;align-items:center;gap:9px;border:1px solid #e1eaf5;border-radius:10px;background:#fff;height:40px;padding:0 12px;min-width:230px;color:#0d8ce1}.search-box input{min-width:0;width:100%;border:0;background:transparent;outline:0}.page-summary{padding:10px 0;color:#6983a5}.page-summary span{margin:0 8px;color:#afc0d4}.section-actions{display:flex;gap:9px;margin-bottom:17px}.month-filter{display:flex;gap:10px;align-items:end;margin-bottom:16px}.month-filter label{font-size:11px;color:#577397}.month-filter input{display:block;margin-top:5px;width:175px}.finance-bars>div{margin:0 0 18px}.finance-bars span{color:#6f86a5}.finance-bars strong{float:right}.finance-track{height:10px;background:#e9f1fa;border-radius:10px;overflow:hidden;margin-top:9px}.finance-track i{height:100%;display:block;background:linear-gradient(90deg,#087ff4,#17cadc)}.finance-track.expense i{background:linear-gradient(90deg,#f99ba1,#f06a7d)}
/* Dashboard: minimal approved light surface */
.welcome-banner{border:1px solid #d8e9fb;border-radius:18px;min-height:155px;background:linear-gradient(120deg,rgba(238,247,255,.95) 0%,rgba(255,255,255,.8) 55%,rgba(200,230,255,.8) 100%);display:flex;align-items:center;justify-content:space-between;position:relative;overflow:hidden;padding:23px 29px;margin-bottom:17px}.welcome-banner:before,.welcome-banner:after{content:'';position:absolute;border:1px solid #93d7ff53;border-radius:50%;height:280px;width:560px;right:-130px;top:0;transform:rotate(-20deg);background:linear-gradient(145deg,transparent,#71c4ff0f)}.welcome-banner:after{height:160px;width:470px;right:-15px;top:64px;background:linear-gradient(135deg,#77ccff08,#61bafe35)}.welcome-copy{position:relative;z-index:1;max-width:600px}.welcome-label{font-size:10px;letter-spacing:.14em;color:#0b72ce;font-weight:800;margin-bottom:9px}.welcome-copy h2{font-size:25px;margin:0 0 6px;color:#122c53}.welcome-copy .wave{display:none}.welcome-copy p{color:#7188a8;font-size:12px;margin-bottom:15px}.welcome-buttons{display:flex;gap:9px}.welcome-art{position:relative;z-index:1;width:96px;height:96px;margin-right:35px;flex:none}.welcome-art .hero-mark{width:100%;height:100%;object-fit:contain}.welcome-art .orb{display:none}.two-cols>.panel{margin-bottom:17px}.feed-row{display:flex;align-items:center;gap:11px;padding:11px 0;border-bottom:1px solid #ecf2fa}.feed-row:last-child{border:0}.feed-dot{height:8px;width:8px;background:#0787e1;border-radius:50%;flex:none}.feed-row>span:nth-child(2){flex:1;min-width:0}.feed-row strong,.feed-row small{display:block}.feed-row strong{font-size:11px}.feed-row small{color:#8ca0ba;margin-top:3px}.arrow-right{color:#067fea}
/* Client list & details */
.client-metrics{margin-bottom:18px}.client-split{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(270px,.88fr);gap:16px;align-items:start}.client-split>.panel{margin-bottom:0}.client-split .panel-body{padding:0}.client-split .table-scroll{padding:0 8px 8px}.client-list-table td:first-child{white-space:normal}.client-list-table td{padding:15px 10px}.client-details-pane{position:sticky;top:85px}.client-details-pane .panel-body{padding:15px 17px}.client-profile-header{display:flex;gap:10px;align-items:center;padding:16px 17px;border-bottom:1px solid #edf2f9}.client-profile-header .name-avatar{width:43px;height:43px;font-size:13px}.client-profile-header strong,.client-profile-header small{display:block}.client-profile-header strong{font-size:13px}.client-profile-header small{color:#8299b3;margin-top:3px}.client-profile-header>.pill{margin-left:auto}.client-tabs{display:flex;gap:3px;border-bottom:1px solid #edf2fa;padding:0 12px;overflow:auto}.client-tabs a{font-size:11px;font-weight:700;padding:10px 9px;white-space:nowrap;color:#8094ae;border-bottom:2px solid transparent}.client-tabs a.active{color:var(--blue);border-bottom-color:var(--blue)}.client-data-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;padding:15px}.client-data-grid div{min-width:0}.client-data-grid span,.client-data-grid strong{display:block;word-break:break-word}.client-data-grid span{color:#8095b2;font-size:10px}.client-data-grid strong{color:#24466c;margin-top:4px;font-size:11px}.client-notes{border-top:1px solid #edf2f9;margin:0 15px;padding:14px 0;color:#59708e;font-size:11px;white-space:pre-line}.client-notes strong{display:block;color:#173351;margin-bottom:5px}.client-details-pane .empty{padding:23px 10px}
/* Processes: status cards and nature sidebar, use actual DB counts */
.process-page{display:grid;gap:15px}.process-status-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:9px}.process-status-tile{border:1px solid #dfeaf7;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-width:0;min-height:114px;border-radius:13px;padding:12px 7px;text-align:center;background:#fff;transition:border-color .14s,transform .14s}.process-status-tile:hover{transform:translateY(-2px);border-color:#b6d6f6}.process-status-tile.active{background:linear-gradient(155deg,#153d60,#0666ab);border-color:#145e9b;color:#fff;box-shadow:0 6px 18px rgba(4,81,156,.16)}.process-status-tile .tile-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:var(--tile-bg,#eff5ff);color:var(--tile-color,#176bc7)}.process-status-tile.active .tile-icon{background:#ffffff26;color:#fff}.process-status-tile .tile-name{font-size:10px;font-weight:740;line-height:1.3;min-height:25px}.process-status-tile strong{font-size:18px;line-height:1.1;color:#16314f}.process-status-tile.active strong{color:#fff}.process-status-tile:nth-child(2){--tile-bg:#fff5e9;--tile-color:#c88822}.process-status-tile:nth-child(3){--tile-bg:#f3eeff;--tile-color:#9361d3}.process-status-tile:nth-child(4){--tile-bg:#e9f7ff;--tile-color:#227fd1}.process-status-tile:nth-child(5){--tile-bg:#edf1ff;--tile-color:#7464ce}.process-status-tile:nth-child(6){--tile-bg:#fff1df;--tile-color:#cd8a36}.process-status-tile:nth-child(7){--tile-bg:#fef6dc;--tile-color:#b39026}.process-status-tile:nth-child(8){--tile-bg:#fff0ef;--tile-color:#dc6b64}.process-board{display:grid;grid-template-columns:185px minmax(0,1fr);gap:15px;align-items:start}.nature-panel{background:#fff;border:1px solid var(--line);box-shadow:var(--shadow);border-radius:15px;min-height:360px;overflow:hidden}.nature-panel h3{font-size:12px;padding:14px 14px 12px;border-bottom:1px solid #edf2fa;margin:0}.nature-item{display:flex;justify-content:space-between;gap:7px;padding:10px 12px;margin:2px 6px;color:#607895;border-radius:8px;font-size:11px}.nature-item:hover{background:#f4f9ff}.nature-item.active{color:#086ecc;background:#eaf5ff;border-left:3px solid #087def;padding-left:9px;font-weight:790}.nature-item b{color:#6b8bad}.nature-item.active b{color:#0679d8}.process-main{min-width:0}.process-filters{display:flex;gap:10px;align-items:center;margin-bottom:13px;flex-wrap:wrap}.process-filters .search-box{min-width:220px;flex:1}.process-filters .btn{min-height:40px}.process-tabs{display:flex;gap:6px;border-bottom:1px solid #e5edf5;margin-bottom:13px}.process-tabs a{padding:8px 12px;border-bottom:2px solid transparent;color:#7691b1;font-size:11px}.process-tabs a.active{color:#006ff0;border-bottom-color:#006ff0;font-weight:800}.process-list-wrap{background:#fff;border:1px solid var(--line);border-radius:15px;overflow:hidden;box-shadow:var(--shadow)}.process-table td{font-size:11px}.process-table .row-title{font-size:10px;color:#7892af}.last-move strong,.last-move small{display:block}.last-move small{color:#93a4ba;font-size:10px}.nature-tag,.status-label{display:inline-block;border-radius:7px;padding:5px 8px;background:#edf6ff;color:#1b73bd;font-size:10px;line-height:1.3;white-space:nowrap;font-weight:720}.status-label{background:#eaf4ff;color:#0a7fd2}.status-label.s0{background:#fff0dc;color:#a37521}.status-label.s1{background:#f3edff;color:#865fc3}.status-label.s2{background:#e5f5ff;color:#1277c5}.status-label.s3{background:#eaf0ff;color:#4d64cb}.status-label.s4{background:#e5f9f1;color:#058855}.status-label.s5{background:#fff4dd;color:#b2781c}.status-label.s6{background:#ffeceb;color:#be6260}.small-counter{display:inline-flex;align-items:center;gap:4px;font-size:10px;color:#637fa1;padding:4px 8px;border-radius:7px;background:#f3f8fd}.process-detail-hero{background:linear-gradient(113deg,#eaf5ff,#fff 61%,#e3f2ff);border:1px solid #d5e9fb;border-radius:16px;padding:20px 25px;margin-bottom:17px;display:flex;justify-content:space-between;gap:15px}.process-detail-hero h2{font-size:23px;color:#123052;margin:5px 0}.process-detail-hero p{color:#6b89a8;margin:0}.hero-tag{font-size:10px;color:#0278de;font-weight:800;letter-spacing:.13em}.detail-hero-badges{display:flex;align-items:center;gap:9px}.detail-grid-modern{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.detail-cell{border:1px solid #eaf1f8;border-radius:10px;padding:12px;min-width:0}.detail-cell span{display:block;color:#8499af;font-size:10px}.detail-cell strong{display:block;color:#284564;font-size:11px;margin-top:5px;overflow-wrap:anywhere}
/* Agenda: approved list cards + blue patterned right rail */
.agenda-head{display:grid;grid-template-columns:1fr 295px;gap:16px}.agenda-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:15px}.agenda-layout{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:17px;align-items:start}.agenda-main{min-width:0}.agenda-side{position:relative;border-radius:18px;padding:11px;background:linear-gradient(150deg,#e9f5ff 0%,#d4ebff 47%,#bbddff 100%);border:1px solid #c4e2ff;isolation:isolate;overflow:hidden;min-height:600px}.agenda-side:before,.agenda-side:after{content:'';position:absolute;pointer-events:none;z-index:-1;width:500px;height:500px;border-radius:50%;background:linear-gradient(145deg,#72bbff55,#2b8af033);right:-285px;top:-120px}.agenda-side:after{width:330px;height:330px;top:auto;bottom:-115px;right:-135px;background:linear-gradient(160deg,#83caff22,#0a76e52e)}.agenda-side .panel{background:#ffffffdd;backdrop-filter:blur(4px);border-color:#cfe5fa;box-shadow:0 10px 28px rgba(16,80,148,.08);margin-bottom:11px}.agenda-side .panel-head{padding:15px}.agenda-side .panel-body{padding:9px 14px}.agenda-side .panel-head h2{font-size:12px}.agenda-side .pill{font-size:10px}.agenda-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:13px}.agenda-toolbar .search-box{min-width:205px}.agenda-toolbar select{height:39px;padding:8px 10px;border:1px solid #dfebf7;border-radius:10px;background:#fff;color:#3e648e;font-size:11px;max-width:165px}.agenda-toolbar .btn{min-height:38px}.agenda-tabs{display:flex;gap:7px;align-items:center;margin-bottom:12px;border-bottom:1px solid #dde9f7;flex-wrap:wrap}.agenda-tabs a{padding:7px 10px;color:#6680a0;font-size:11px;font-weight:650;border-bottom:2px solid transparent}.agenda-tabs a.active{color:#0876e8;border-color:#0876e8}.task-list{display:grid;gap:9px}.task-card{display:grid;grid-template-columns:57px minmax(0,1fr) 155px 145px;align-items:center;gap:12px;background:#fff;border:1px solid #e5eff9;border-left:3px solid var(--stripe,#167fed);border-radius:11px;padding:14px;box-shadow:var(--shadow);min-width:0}.task-card.urgent{--stripe:#f95368}.task-card.completed{--stripe:#23bf76}.task-card.priority-normal{--stripe:#2c93ee}.task-card.priority-alta{--stripe:#f5a32d}.task-date{width:49px;min-height:65px;border-radius:10px;display:flex;align-items:center;justify-content:center;flex-direction:column;border:1px solid #e6eef8;background:#f9fcff}.task-date strong{font-weight:780;font-size:21px;line-height:1.1;color:var(--stripe,#156cdb)}.task-date span{font-size:10px;font-weight:750;color:#6383a6}.task-main{min-width:0}.task-main h3{font-size:12px;color:#152e53;margin:0 0 5px;font-weight:780}.task-main p{font-size:11px;color:#647e9e;line-height:1.5;margin:5px 0 0;white-space:pre-line}.task-meta{display:flex;gap:8px;flex-wrap:wrap;align-items:center;color:#4a76ad;font-size:10px}.task-meta a{color:#0c76d5}.task-meta svg{width:13px;height:13px}.task-dates{min-width:0;border-left:1px solid #ecf2f9;padding-left:12px;font-size:10px;color:#6382a8;display:flex;flex-direction:column;gap:9px}.task-dates strong{color:#d7374e}.task-priority{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:6px;margin-bottom:8px}.task-actions{display:flex;align-items:end;flex-direction:column;gap:9px}.task-actions .btn{min-height:31px;padding:7px 10px}.task-actions .deadline-control{display:flex;align-items:center;gap:5px}.deadline-control .field{width:88px}.deadline-control select{min-height:30px;padding:3px 4px;font-size:9px}.deadline-control .field>span{display:none}.deadline-control button{border:0;background:#eaf5ff;border-radius:6px;padding:7px;color:#0871d1;font-size:10px}.agenda-minirow{display:flex;align-items:center;gap:9px;padding:10px 0;border-bottom:1px solid #eaf2fa;font-size:10px}.agenda-minirow:last-child{border:0}.agenda-minirow>strong{font-size:11px;color:#1872c9}.agenda-minirow .mini-desc{flex:1;min-width:0}.agenda-minirow .mini-desc strong,.agenda-minirow .mini-desc small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.agenda-minirow .mini-desc strong{color:#173151}.agenda-minirow .mini-desc small{color:#8298b5}.agenda-minirow .mini-flag{height:29px;width:3px;border-radius:6px;background:#1f96fa}.agenda-minirow.danger .mini-flag{background:#f4536d}.agenda-minirow.danger>strong{color:#e3465c}.agenda-minirow .mini-date{border-radius:7px;padding:6px;background:#f0f7ff;color:#0a68c4;font-weight:800;flex:none}.agenda-minirow.danger .mini-date{background:#fff0f2;color:#d9475b}.cat-row{display:flex;align-items:center;gap:9px;padding:8px 0;font-size:11px;color:#547294}.cat-row:before{content:'';height:7px;width:7px;border-radius:50%;background:#1e9ef3}.cat-row:nth-child(2):before{background:#945cf4}.cat-row:nth-child(3):before{background:#f6a72e}.cat-row:nth-child(4):before{background:#23ba88}.cat-row b{margin-left:auto;color:#33608d}
/* Controladoria */
.control-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:17px;align-items:start}.control-tabs{margin-bottom:15px}.control-entry{display:flex;gap:11px;align-items:flex-start;padding:15px 0;border-bottom:1px solid #edf2fa}.control-entry:last-child{border-bottom:0}.control-entry-main{flex:1;min-width:0}.control-entry-main strong{display:block;font-size:12px}.control-entry-main p{font-size:11px;color:#7087a5;white-space:pre-line;margin:5px 0}.control-entry-meta{display:flex;gap:11px;flex-wrap:wrap;color:#7d95b3;font-size:10px}.control-entry-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.control-entry-actions .table-form{flex-wrap:nowrap}.control-entry-actions select{font-size:10px;width:110px}.control-layout .panel{min-width:0}.control-side-card{padding:18px;background:linear-gradient(130deg,#eef7ff,#fff);border-radius:15px;border:1px solid #dbeaf8;color:#2f587d}.control-side-card h3{font-size:12px;margin:0 0 8px}.control-side-card p{margin:0;font-size:11px;color:#6e8aaa}
/* Financeiro */
.finance-hero{display:flex;justify-content:space-between;gap:17px;align-items:center;padding:22px 24px;border-radius:16px;background:linear-gradient(120deg,#0b3564,#0875cf);color:white;margin-bottom:16px}.finance-hero small{color:#a9d8fb;font-size:11px}.finance-hero strong{display:block;font-size:30px;letter-spacing:-.04em;margin-top:5px}.finance-hero .btn{background:#ffffff17;color:#fff;border-color:#ffffff52}.finance-split{display:grid;grid-template-columns:1fr 1.35fr;gap:16px}.finance-split>.panel{min-width:0}.finance-metrics .metric{box-shadow:none}
/* Auth */
.auth-body{min-height:100vh;background:#f6faff}.auth-standalone{display:flex;align-items:center;justify-content:center;padding:24px}.auth-card-standalone{max-width:520px}.auth-card h1{font-size:26px;color:#112b52;margin:0 0 14px;text-align:center}.checkbox-field{display:flex;gap:10px;align-items:flex-start;font-size:12px;color:#4e6a87}.checkbox-field input{margin-top:3px}.mfa-form{display:grid;gap:15px}.mfa-qr-panel{display:grid;grid-template-columns:170px 1fr;gap:18px;align-items:center;margin:18px 0 20px}.mfa-qr{display:flex;align-items:center;justify-content:center;background:#fff;border:1px solid #dbe8f5;border-radius:16px;padding:12px;min-height:170px}.mfa-qr svg{width:146px;height:146px}.mfa-manual{display:grid;gap:8px}.mfa-manual span{font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#2f74ae}.mfa-manual code{display:block;word-break:break-all;background:#f3f8fd;border:1px solid #dce9f5;border-radius:10px;padding:10px;color:#12375c}.mfa-manual small{font-size:11px;color:#7990aa;line-height:1.5}.recovery-list{display:grid;gap:8px;padding-left:18px}.recovery-list code{background:#f3f8fd;border:1px solid #dce9f5;border-radius:8px;padding:4px 8px;display:inline-block}.auth-layout{min-height:100vh;display:grid;grid-template-columns:1.07fr .93fr}.auth-hero{background:linear-gradient(145deg,#041629 0%,#072c50 70%,#094878 100%);color:#fff;padding:clamp(30px,5vw,75px);display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.auth-hero:after{content:'';position:absolute;border-radius:50%;width:590px;height:590px;right:-380px;top:18%;border:1px solid #22bfff58;box-shadow:0 0 0 60px #1a8add0e,0 0 0 120px #1a8add06}.auth-logo{display:flex;align-items:center;gap:15px}.auth-logo .brand-mark{height:65px;width:68px}.auth-logo .brand-label strong{font-size:31px}.auth-logo .brand-label small{font-size:8px}.hero-copy{position:relative;z-index:1;max-width:590px}.auth-eyebrow{font-size:10px;font-weight:850;letter-spacing:.14em;color:#06a8e8}.auth-hero .auth-eyebrow{color:#6bdcff}.hero-copy h1{font-size:clamp(34px,4vw,58px);line-height:1.09;letter-spacing:-.045em;margin:20px 0}.hero-copy h1 em{font-style:normal;color:#46caff}.hero-copy p{font-size:15px;color:#a5d1ef;line-height:1.8;max-width:500px}.hero-foot{position:relative;z-index:1;color:#7ebee8;font-size:10px;letter-spacing:.14em}.auth-right{display:flex;flex-direction:column;justify-content:center;align-items:center;padding:35px}.auth-card{width:100%;max-width:430px;background:#fff;border:1px solid #e2ecf7;padding:40px;border-radius:20px;box-shadow:0 20px 60px rgba(35,88,160,.08)}.auth-minilogo{margin-bottom:27px;display:flex;align-items:center;gap:10px}.auth-minilogo .brand-label strong{color:#143c6b}.auth-minilogo .brand-label small{color:#398fc5}.auth-card h2{font-size:26px;color:#112b52;margin:8px 0}.auth-card>p{font-size:12px;color:#7f96b1;margin-bottom:24px}.auth-card form{display:grid;gap:15px}.auth-card .field input{min-height:47px}.auth-submit{width:100%;height:45px;justify-content:space-between}.password-wrap{position:relative;display:block}.password-wrap input{padding-right:79px}.password-wrap button{position:absolute;right:8px;top:8px;padding:6px;border:0;background:#ecf6ff;border-radius:7px;font-size:10px;color:#276cae}.demo-credentials{display:flex;gap:11px;align-items:flex-start;background:#f0f8ff;border:1px solid #dceeff;border-radius:12px;padding:12px;margin-top:21px}.demo-credentials .status-dot{margin-top:5px}.demo-credentials strong{font-size:11px}.demo-credentials p{font-size:10px;color:#7d92a9;margin:5px 0 0}.auth-bottom{font-size:10px;color:#92a4ba;text-align:center;margin-top:20px}.auth-error{background:#fff1f1;color:#b12844;border:1px solid #ffd3dc;border-radius:9px;padding:10px;margin:10px 0}
@media(max-width:1420px){.process-status-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.process-status-tile{min-height:90px}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.agenda-layout{grid-template-columns:minmax(0,1fr) 255px}.task-card{grid-template-columns:54px minmax(0,1fr) 145px}.task-actions{grid-column:2/-1;flex-direction:row;justify-content:flex-end}.client-split{grid-template-columns:minmax(0,1fr) 290px}}
@media(max-width:1150px){.agenda-layout,.client-split,.control-layout{grid-template-columns:1fr}.agenda-side{min-height:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.agenda-side .panel{margin:0}.client-details-pane{position:static}.detail-grid-modern{grid-template-columns:repeat(2,minmax(0,1fr))}.finance-split{grid-template-columns:1fr}.topbar{padding:0 22px}}
@media(max-width:910px){.sidebar{position:fixed;transform:translateX(-110%);transition:transform .25s;width:240px;flex-basis:240px}.sidebar.open{transform:translateX(0)}.sidebar-collapsed .shell{--sidebarw:240px}.sidebar-collapsed .sidebar{width:240px;padding:23px 13px 15px}.sidebar-collapsed .brand-row{flex-direction:row;min-height:49px}.sidebar-collapsed .brand-label,.sidebar-collapsed .workspace-name,.sidebar-collapsed .workspace>svg,.sidebar-collapsed .nav-label,.sidebar-collapsed .nav-text{display:initial}.sidebar-collapsed .nav-link{justify-content:flex-start;padding:0 10px;gap:11px}.sidebar-collapsed .workspace{justify-content:flex-start}.sidebar-collapsed .side-status{justify-content:flex-start}.mobile-backdrop.open{display:block;position:fixed;inset:0;background:#05182ca8;z-index:35}.hamburger{display:grid;place-items:center;background:#f2f8ff;border:1px solid #dfebfa;color:#1b78ce;border-radius:8px;height:37px;width:38px}.content{padding:23px 20px}.sidebar-collapse{display:none}.global-search{width:min(450px,48vw)}.two-cols{grid-template-columns:1fr}}
@media(max-width:670px){.auth-standalone{padding:18px}.auth-card-standalone{max-width:100%}.mfa-qr-panel{grid-template-columns:1fr;justify-items:center;text-align:center}.mfa-manual{text-align:center}.mfa-manual code{text-align:left}..topbar{height:60px;padding:0 15px;gap:8px}.global-search{flex:1;width:auto}.top-account .username,.top-account>.icon-svg,.env-label{display:none}.page-head{align-items:start;flex-direction:column;gap:12px}.page-head h1{font-size:27px}.stats-grid,.mini-metrics,.agenda-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.process-status-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.process-board{grid-template-columns:1fr}.nature-panel{min-height:auto}.nature-panel .nature-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:6px}.agenda-side{grid-template-columns:1fr}.task-card{grid-template-columns:49px 1fr;gap:10px}.task-dates{grid-column:2;border-left:0;padding-left:0;flex-direction:row;flex-wrap:wrap}.task-actions{grid-column:2}.form-grid,.details-grid,.detail-grid-modern{grid-template-columns:1fr}.field.wide{grid-column:auto}.process-detail-hero{flex-direction:column}.finance-hero{flex-direction:column;align-items:start}.welcome-art{display:none}.auth-layout{grid-template-columns:1fr}.auth-hero{min-height:260px;padding:25px}.auth-hero .auth-logo .brand-mark{height:35px;width:35px}.auth-logo .brand-label strong{font-size:18px}.auth-logo .brand-label small{font-size:6px}.hero-copy h1{font-size:30px}.hero-copy p{font-size:12px}.hero-foot{display:none}.auth-right{padding:20px}.auth-card{padding:25px}.client-data-grid{grid-template-columns:1fr 1fr}.footnote{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
/* Final polish: retain compact information density and coherent forms. */
.soft-note{font-size:12px;color:#6b83a0;line-height:1.75;white-space:pre-line}.page-head .page-actions .btn{min-width:115px}.control-layout .metric .stat-icon{margin-top:8px}.panel-head-action .btn.textbtn{font-size:11px}.process-detail-hero .detail-hero-badges{flex-wrap:wrap}.agenda-layout .task-main p{overflow-wrap:anywhere}.client-details-pane .client-tabs a{cursor:pointer}.process-list-wrap .data-table{min-width:860px}.task-card .deadline-control .field select{width:100%}.task-card .task-actions .btn{font-size:10px}.table-scroll::-webkit-scrollbar{height:7px}.table-scroll::-webkit-scrollbar-thumb{border-radius:10px;background:#cbdbed}

/* Aureon — Stage 1 · visual adjustments */
.sidebar{padding-top:19px}.sidebar .brand-row{justify-content:flex-start;margin-bottom:30px;min-height:30px;padding-left:6px}
.sidebar .brand{gap:6px}.sidebar .brand-mark{width:24px;height:27px}.sidebar .brand-label strong{font-size:13px;letter-spacing:.24em}.sidebar .brand-label small{font-size:5px;letter-spacing:.03em}
.sidebar-collapsed .brand-row{min-height:32px;flex-direction:row;justify-content:center;padding:0}.sidebar-collapsed .brand-mark{width:28px;height:30px}
.sidebar .support-label{margin-top:30px}.topbar{justify-content:flex-start;gap:13px}.top-collapse{width:35px;height:35px;color:#1d71be;border:1px solid #dce9f7;background:#f5f9fe;flex-shrink:0}
.top-collapse:hover{background:#e7f3ff}.top-actions{margin-left:auto}.avatar{overflow:hidden;position:relative}.avatar-picture{width:100%;height:100%;object-fit:cover;display:block}
.dashboard-metrics{grid-template-columns:repeat(2,minmax(0,1fr));max-width:840px}
.stat-inline,.tile-count{display:flex;gap:12px;align-items:center;min-width:0}.stat-inline .stat-number,.stat-inline .metric-value{margin:0;white-space:nowrap;font-size:27px;letter-spacing:-.03em}.stat-inline .stat-icon{flex-shrink:0}
.stat-label{font-size:12px;font-weight:740;color:#345474;margin-top:11px}.stat-compact .stat-foot{margin-top:4px}
.mini-stat{color:inherit;text-decoration:none}.mini-stat:hover{border-color:#badcf7}.client-metrics .mini-stat:nth-child(2){background:#f5faff;border-color:#d9e9ff}
.client-row-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:5px}.btn-mini{padding:5px 9px;min-height:26px;font-size:10px}.folder-ref{font-size:13px;color:#136abd;letter-spacing:.04em}
.client-tabs button{font-size:11px;font-family:inherit;font-weight:700;padding:10px 9px;white-space:nowrap;color:#8094ae;border:0;border-bottom:2px solid transparent;background:transparent;cursor:pointer}.client-tabs button[aria-selected=true]{color:var(--blue);border-bottom-color:var(--blue)}
.client-tab-panel[hidden]{display:none!important}.client-process-item{display:block;padding:12px 16px;border-bottom:1px solid #edf2fa}.client-process-item strong,.client-process-item small{display:block;font-size:11px}.client-process-item small{color:#7186a4;margin-top:3px}.client-panel-action{padding:12px 16px;border-top:1px solid #e7eef8}
.client-folder-hero{display:flex;align-items:center;gap:12px;background:linear-gradient(110deg,#eaf6ff,#fbfdff);border:1px solid #cfe7ff;border-radius:12px;padding:16px;margin-bottom:19px}.client-folder-hero span{font-size:10px;letter-spacing:.1em;color:#567998;font-weight:800}.client-folder-hero strong{font-size:28px;color:#0872d6;margin-left:5px}.client-folder-hero small{color:#7895b2;margin-left:auto}
.field-group-title{margin-top:8px;gap:4px;padding-top:11px;border-top:1px solid #eaf1f8}.field-group-title span{font-size:12px;font-weight:800;color:#17385a}.field-group-title small{font-size:11px}
.simulation-note{padding:15px 18px;margin-bottom:15px;background:#eaf6ff;color:#174a79;border:1px solid #d0e8fb;border-radius:12px}.simulation-note p{font-size:12px;margin:4px 0 0}
.profile-heading{display:flex;align-items:center;gap:18px;margin:0 0 25px}.profile-heading p{font-size:11px;color:#6c83a3;line-height:1.6}.profile-preview{width:88px;height:88px;flex:0 0 88px;border-radius:22px;background:linear-gradient(140deg,#0dc4ed,#0667de);display:grid;place-items:center;color:white;font-size:42px;font-weight:800;overflow:hidden}.profile-preview img{height:100%;width:100%;object-fit:cover}.profile-heading input[type=file]{font-size:11px;max-width:100%}.photo-remove{font-size:11px;display:block;margin-top:9px;color:#6d83a0}
.process-status-tile .tile-count{gap:8px;justify-content:center}.process-status-tile .tile-count strong{font-size:20px}.process-status-tile .tile-name{line-height:1.3}
@media(max-width:910px){.top-collapse{display:none}.sidebar .brand-row{margin-bottom:20px}.sidebar .brand-mark{width:24px;height:27px}.sidebar-collapsed .sidebar .brand-row{min-height:30px;justify-content:flex-start}.sidebar-collapsed .sidebar .brand-mark{width:24px;height:27px}}
@media(max-width:670px){.auth-standalone{padding:18px}.auth-card-standalone{max-width:100%}.mfa-qr-panel{grid-template-columns:1fr;justify-items:center;text-align:center}.mfa-manual{text-align:center}.mfa-manual code{text-align:left}..dashboard-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.stat-inline{gap:6px}.stat-inline .stat-number,.stat-inline .metric-value{font-size:23px}.client-folder-hero{flex-wrap:wrap}.client-folder-hero small{margin-left:0;width:100%}.profile-heading{align-items:flex-start}.client-row-actions{display:block}}

/* v0.4.2 — prevent initial and navigational sidebar reflow */
.sidebar{transition:none}
html.sidebar-ready .sidebar{transition:width .20s ease,flex-basis .20s ease}

/* Overview: tasks and operational focus rather than office-wide totals */
.overview-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}
.overview-metrics .mini-stat{padding:16px 18px}
.overview-metrics .stat-label{margin-top:6px}
.overview-metrics .stat-foot{margin-top:5px;font-size:10px;color:#7991aa}
.priority-list{display:grid;gap:0}
.priority-item{display:flex;align-items:center;gap:13px;padding:14px 0;border-bottom:1px solid #edf3fa;color:#18365a}
.priority-item:last-child{border-bottom:0}
.priority-item:hover .priority-copy strong{color:#0879ef}
.priority-mark{width:40px;height:40px;border-radius:11px;background:#eef6ff;color:#0c77dc;flex:0 0 40px;display:grid;place-items:center}
.priority-mark.is-overdue{background:#fff0f1;color:#d34258}
.priority-copy{min-width:0;flex:1}
.priority-copy strong,.priority-copy small{display:block}
.priority-copy strong{font-size:12px;line-height:1.45}
.priority-copy small{font-size:10px;color:#8094ac;margin-top:4px}
.priority-date{text-align:right;flex:none;color:#45698b;font-size:11px;font-weight:750}
.priority-date small{display:block;margin-top:4px;font-size:9px;font-weight:600;color:#8ba0ba}
.operational-actions{display:flex;gap:9px;flex-wrap:wrap;margin:-4px 0 18px}
.operational-actions .btn{background:white;border-color:#e1eaf6}
.overview-section-note{font-size:11px;color:#839ab3;margin:0 0 15px}
/* Executive dashboard visualizations (all values rendered from SQLite) */
.executive-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin-bottom:17px}
.executive-heading h1{font-size:29px;margin:0 0 5px}
.executive-heading p{margin:0;color:#7992ad;font-size:12px}
.executive-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:17px}
.executive-metrics .mini-stat{padding:18px}
.executive-metrics .stat-label{margin-top:5px}
.metric-context{font-size:10px;color:#90a2b7;margin-top:8px}
.chart-bars{display:grid;gap:12px}
.chart-row .chart-heading{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#375877;gap:14px;margin-bottom:5px}
.chart-row .chart-heading strong{font-variant-numeric:tabular-nums;color:#12365a}
.chart-rail{background:#eef4fa;border-radius:5px;height:9px;overflow:hidden}
.chart-rail .chart-fill{height:100%;display:block;border-radius:5px;background:linear-gradient(90deg,#0878e7,#17bfea);min-width:0}
.chart-row:nth-child(2n) .chart-fill{background:linear-gradient(90deg,#3279d5,#69aef1)}
.chart-row:nth-child(3n) .chart-fill{background:linear-gradient(90deg,#286aa9,#5dc5d1)}
.chart-legend-note{font-size:10px;color:#879db3;margin:15px 0 0}
.month-bars{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));align-items:end;gap:14px;min-height:215px;padding:10px 0 0}
.month-bar-item{display:flex;flex-direction:column;align-items:center;gap:8px;min-width:0}
.month-bar-count{font-weight:800;font-size:11px;color:#194363}
.month-bar-track{height:145px;width:min(100%,44px);display:flex;align-items:flex-end;border-radius:8px;background:#f3f7fc;overflow:hidden}
.month-bar-fill{width:100%;height:0;border-radius:8px 8px 0 0;background:linear-gradient(180deg,#24c9e8,#0878e7)}
.month-bar-label{text-align:center;font-size:10px;font-weight:740;color:#8196b2}
.finance-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.finance-summary>div{border:1px solid #e5eff8;border-radius:12px;padding:15px;background:#fbfdff}
.finance-summary span,.finance-summary strong{display:block}
.finance-summary span{font-size:10px;color:#748ba5}
.finance-summary strong{font-size:19px;color:#16395b;margin-top:6px;white-space:nowrap}
.dashboard-notice{font-size:10px;color:#8ea0b3;line-height:1.6;margin:4px 0 15px}
/* Client list: count and Ficha must never stack */
.client-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}
.client-list-table{table-layout:fixed;min-width:690px}
.client-list-table th:nth-child(1){width:29%}
.client-list-table th:nth-child(2){width:12%}
.client-list-table th:nth-child(3){width:19%}
.client-list-table th:nth-child(4){width:20%}
.client-list-table th:nth-child(5){width:20%}
.client-list-table td{overflow:hidden;text-overflow:ellipsis}
.client-list-table td:last-child{overflow:visible}
.client-process-cell{display:flex;align-items:center;justify-content:space-between;gap:8px;white-space:nowrap;min-width:0}
.client-process-count{font-size:12px;font-weight:800;min-width:18px;color:#153758}
.client-process-actions{display:flex;gap:7px;align-items:center;white-space:nowrap;flex:0 0 auto}
.client-process-actions .table-action{white-space:nowrap;font-size:10px}
.client-detail-title{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.client-detail-title .folder-number{font-size:11px;color:#67839f;border:1px solid #e0e9f3;padding:5px 10px;background:#f5f9ff;border-radius:8px;font-weight:650;letter-spacing:0}
@media(max-width:1420px){.overview-metrics,.executive-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:730px){.client-metrics,.overview-metrics,.executive-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.executive-heading{align-items:flex-start;flex-direction:column}.priority-date{max-width:82px}.finance-summary strong{font-size:15px}.client-process-cell{justify-content:flex-start}}
@media(max-width:430px){.overview-metrics,.executive-metrics{grid-template-columns:1fr}.month-bars{gap:6px}.month-bar-label{font-size:9px}}

.page-head h1 .folder-number{display:inline-block;vertical-align:middle;margin-left:12px;font-size:11px;color:#67839f;border:1px solid #e0e9f3;padding:5px 10px;background:#f5f9ff;border-radius:8px;font-weight:650;letter-spacing:0;white-space:nowrap}

/* Aureon v0.5.0 — Etapas 1 + 2 */
.nav-disabled{opacity:.40;cursor:not-allowed;pointer-events:none;user-select:none}
.nav-disabled .nav-text small{font-size:9px;display:block;color:#8ca2b8;font-weight:500}
.sidebar-collapsed .nav-disabled .nav-text{display:none}
.process-status-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.process-status-tile{min-height:104px}
.process-status-tile:nth-child(n){--tile-bg:#eff5ff;--tile-color:#176bc7}
.process-status-tile .tile-icon{background:var(--tile-bg);color:var(--tile-color)}
.process-status-tile.active .tile-icon{background:#ffffff26;color:white}
.status-label.phase-0,.status-label.phase-1,.status-label.phase-2,.status-label.phase-3,.status-label.phase-4,.status-label.phase-5,.status-label.phase-6,.status-label.phase-7,.status-label.phase-8{background:var(--phase-bg);color:var(--phase-color);display:inline-flex;align-items:center;gap:5px;white-space:normal;min-width:118px}
.process-stage-strip{overflow-x:auto;grid-template-columns:repeat(9,minmax(110px,1fr))}
.stage-pill>span{background:var(--phase-bg);color:var(--phase-color);display:grid;place-items:center}
.nature-hint{padding:0 14px 7px;font-size:10px;color:#89a0b7;margin:0}
.nature-group{margin:2px 6px;border-radius:10px;overflow:hidden}
.nature-group-row{display:flex;align-items:center;gap:2px}
.nature-choice{background:none;border:0;font-family:inherit;text-align:left;cursor:pointer;flex:1;margin:0;min-width:0}
.nature-expand{flex:0 0 25px;border:0;background:#f0f6fe;color:#6b8dae;border-radius:6px;padding:5px;cursor:pointer}
.nature-expand:hover,.nature-open .nature-expand{background:#deeeff;color:#0b6abd}
.nature-open .nature-expand svg{transform:rotate(180deg)}
.nature-subtypes{padding:4px 7px 9px 11px;background:#f8fbff;border-left:2px solid #c3e1ff;margin-left:8px}
.nature-subtypes[hidden]{display:none!important}
.nature-subtype{padding:7px 5px;font-size:11px;color:#537293}
.nature-subtypes-empty{font-size:10px;color:#8d9fb4;line-height:1.55;margin:5px 4px}
.document-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.document-group{background:#fafdff;border:1px solid #e0eaf5;border-radius:12px;padding:15px;min-width:0}
.document-group-head{display:flex;align-items:center;gap:9px;padding-bottom:13px;border-bottom:1px solid #eaf1f9;margin-bottom:12px}
.document-group-head h3{margin:0;flex:1;font-size:13px;color:#173653}
.document-symbol{height:30px;width:30px;border-radius:8px;display:grid;place-items:center;background:#edf5ff;color:#2480cd;flex:0 0 auto}
.document-count{border-radius:15px;background:#e5f2ff;color:#1474c8;padding:3px 8px;font-size:10px;font-weight:800}
.document-entry{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:9px 0;padding:9px;background:#fff;border:1px solid #e8eff8;border-radius:9px}
.document-entry .document-symbol{height:26px;width:26px}
.document-info{min-width:120px;flex:1;overflow-wrap:anywhere}
.document-info strong{display:block;font-size:11px;line-height:1.5}
.document-info small{display:block;color:#859bb5;font-size:10px;margin-top:2px}
.document-empty{font-size:11px;color:#9daec2;line-height:1.6;margin:6px 0}
.document-upload-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.document-upload{display:flex;flex-direction:column;gap:11px;padding:16px;background:linear-gradient(145deg,#f8fbff,#f0f7ff);border:1px dashed #b6d3ee;border-radius:12px;color:#284967;min-width:0}
.document-upload>span{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:750}
.document-upload input{font-size:11px;max-width:100%}
.document-upload small{color:#8aa0b9;font-size:10px}
.document-append-form{margin-top:20px;padding-top:19px;border-top:1px solid #e9f1f8}
.document-append-form .form-actions{justify-content:end}
.disabled-module{text-align:center;padding:55px 20px;color:#6885a3}
.disabled-module svg{color:#4a90db}
.disabled-module h3{font-size:18px;color:#193d5e;margin:16px 0 8px}
.disabled-module p{font-size:12px}
.cnj-mandatory>.field>span:after{content:' *';color:#df5662}
@media(max-width:1420px){.process-status-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.document-grid,.document-upload-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:670px){.auth-standalone{padding:18px}.auth-card-standalone{max-width:100%}.mfa-qr-panel{grid-template-columns:1fr;justify-items:center;text-align:center}.mfa-manual{text-align:center}.mfa-manual code{text-align:left}..process-status-grid,.document-grid,.document-upload-grid{grid-template-columns:1fr}}

/* Aureon 0.5.1: compact, deliberate document entry and case tramitação. */
.upload-collapsible[hidden],.upload-save-action[hidden]{display:none!important}
.document-category-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:12px 0}
.doc-overview-tile{display:flex;align-items:center;gap:9px;padding:14px 12px;background:#f9fcff;border:1px solid #e2edf8;border-radius:11px;color:#1c4268;min-width:0}
.doc-overview-tile svg{color:#1587d3;flex:none}.doc-overview-tile strong{font-size:11px;line-height:1.35}
.document-toggle{margin:8px 0;min-width:180px}.upload-collapsible{margin:14px 0 8px}
.focus-hero h2{font-size:22px;letter-spacing:-.02em}.focus-hero p{font-size:12px;color:#577d9c;margin-top:9px}
.timeline-workspace{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(280px,1fr);gap:18px;align-items:start}
.timeline-workspace .panel{min-width:0}.timeline-page-intro{padding:3px 0 16px;border-bottom:1px solid #e7eff8;margin-bottom:15px}
.timeline-page-intro strong{font-size:13px;color:#173454}.timeline-page-intro p{font-size:11px;color:#6c84a0;margin:5px 0}
.timeline-deadline-meta{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:12px 0 7px;font-size:11px;color:#52708c}
.timeline-deadline-meta span{display:inline-flex;align-items:center;gap:5px}.timeline-deadline-meta .pill{font-size:10px}
.event-files{display:flex;gap:7px;flex-wrap:wrap;margin:10px 0}.file-chip{display:inline-flex;align-items:center;gap:6px;font-size:11px;color:#22699d;padding:7px 10px;border-radius:7px;background:#edf6ff;border:1px solid #dcebf9;max-width:100%;overflow-wrap:anywhere}
.file-chip:hover{background:#e2f2ff}.document-event-group{padding:14px 0;border-bottom:1px solid #e5eff8}.document-event-group strong{display:block;font-size:12px;color:#183757}.document-event-group>small{display:block;color:#7f95ae;margin-top:5px}
.deadline-description{background:#f8fbff;padding:15px;border:1px solid #e6edf7;border-radius:9px;margin-top:18px}.deadline-description h3{font-size:12px}.deadline-description p{font-size:12px;white-space:pre-line;line-height:1.7;color:#355575}
.nature-subtype{display:block;padding:9px 12px;color:#50749d;font-size:11px;border-radius:6px}.nature-subtype:hover,.nature-subtype.active{background:#e8f4ff;color:#0472d0}
@media(max-width:1150px){.timeline-workspace{grid-template-columns:1fr}}
@media(max-width:670px){.auth-standalone{padding:18px}.auth-card-standalone{max-width:100%}.mfa-qr-panel{grid-template-columns:1fr;justify-items:center;text-align:center}.mfa-manual{text-align:center}.mfa-manual code{text-align:left}..document-category-overview{grid-template-columns:1fr}}

.timeline-filters{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin:13px 0 18px}
.timeline-filters .btn{min-height:32px;font-size:11px;padding:7px 11px}
.timeline-filters form{display:flex;gap:6px;align-items:center;flex:1;min-width:170px;margin-left:auto}
.timeline-filters input{min-height:32px;min-width:110px;width:100%;max-width:230px;border:1px solid #dce8f5;border-radius:7px;padding:8px 10px;font-size:11px}

/* v0.5.2 — Prazos em foco / autorização / rich comments */
.tl-card.deadline-open{background:#eaf5ff;border-color:#c9e5ff;box-shadow:inset 3px 0 #268dea}
.tl-card.deadline-penultimate{background:#fff8df;border-color:#f1d993;box-shadow:inset 3px 0 #dfa724}
.tl-card.deadline-last-day{background:#ffeaec;border-color:#f4bbc3;box-shadow:inset 3px 0 #df586a}
.tl-card.deadline-completed{background:#effaf4;border-color:#d4eddf;box-shadow:inset 3px 0 #4eaf80}.tl-card.deadline-cancelled{background:#f6f8fa;border-color:#e1e8ee;opacity:.85}
.deadline-tone-label{padding:7px 10px;border-radius:8px;font-weight:750;font-size:11px}
.deadline-tone-label.deadline-open{background:#eaf5ff;color:#145b9d}
.deadline-tone-label.deadline-penultimate{background:#fff6dd;color:#966316}
.deadline-tone-label.deadline-last-day{background:#ffebec;color:#a83a48}
.deadline-tone-label.deadline-completed{background:#edf4f6;color:#5e7783}
.orientation-history{display:flex;flex-direction:column;gap:12px;padding-bottom:15px}
.orientation-entry{background:#fafcff;border:1px solid #e6edf6;border-radius:12px;padding:13px 16px}
.orientation-by{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:7px;color:#1b6399;font-size:12px;font-weight:800}
.orientation-by small{font-size:10px;color:#99a9bc;font-weight:500}
.orientation-text{white-space:pre-wrap;color:#34516d;font-size:12px;line-height:1.7;overflow-wrap:anywhere}
.orientation-text p{margin:0 0 5px}
.orientation-text strong{font-weight:850}.orientation-text em{font-style:italic}.orientation-text u{text-decoration:underline}
.orientation-editor{margin-bottom:12px;background:#f8fbff;border:1px solid #dceaf9;border-radius:12px;padding:15px}
.orientation-editor[hidden]{display:none!important}
.editor-author{color:#2069a8;font-weight:750;font-size:12px;margin-bottom:11px}
.editor-toolbar{display:flex;align-items:center;gap:5px;background:#fff;border:1px solid #ddeaf8;border-bottom:none;border-radius:9px 9px 0 0;padding:7px}
.editor-toolbar button{background:#f5f9fd;color:#163c68;border:1px solid #e4edf7;border-radius:5px;min-width:33px;min-height:30px;cursor:pointer}
.editor-toolbar button:hover{background:#e8f3ff}
.rich-editor{min-height:125px;max-height:380px;overflow:auto;background:white;border:1px solid #dce8f5;border-radius:0 0 9px 9px;padding:15px;color:#193c60;font-size:13px;line-height:1.6;outline:none}
.rich-editor:focus{border-color:#2189dc;box-shadow:0 0 0 2px rgba(23,138,235,.08)}
.rich-editor:empty::before{content:attr(data-placeholder);color:#a5b3c2}
.editor-actions{display:flex;gap:9px;justify-content:flex-end;margin-top:12px}
.read-only-state{color:#6c83a0;background:#f6f8fd;border-radius:10px;padding:14px;font-size:12px}
.user-manage-form{display:flex;flex-wrap:wrap;align-items:center;gap:7px;min-width:330px}
.user-manage-form select,.user-manage-form input[type=password]{padding:7px;border:1px solid #dce6f1;border-radius:7px;max-width:175px;font-size:11px;background:#fff;color:#264969}
.switch-label{display:flex;gap:4px;align-items:center;white-space:nowrap;font-size:11px}
.audit-search{display:flex;gap:10px;margin-bottom:14px}
.audit-search input{width:min(600px,100%);padding:10px;border:1px solid #dce8f5;border-radius:10px}
.audit-table td{word-break:break-word}
@media(max-width:680px){.user-manage-form{min-width:260px}.audit-search{flex-wrap:wrap}}

.deadline-tone-label.deadline-cancelled{background:#edf1f5;color:#697786}


/* Aureon v0.5.3 — full-width client list, contextual drawers, deadline visibility. */
.client-list-table{min-width:820px;width:100%}
.client-list-table th:nth-child(1){width:33%}
.client-list-table th:nth-child(2){width:13%}
.client-list-table th:nth-child(3){width:20%}
.client-list-table th:nth-child(4){width:16%}
.client-list-table th:nth-child(5){width:18%}
.client-list-table [data-client-row]{cursor:pointer;transition:background .16s ease}
.client-list-table [data-client-row]:hover,.client-list-table [data-client-row]:focus-visible{background:#edf7ff;outline:none}
.client-list-table .client-row-selected{background:#f2f9ff}
.client-drawer-overlay[hidden],.client-preview-drawer[hidden],.aureon-modal-overlay[hidden]{display:none!important}
.client-drawer-overlay{position:fixed;inset:0;background:rgba(11,33,64,.27);z-index:150;backdrop-filter:blur(1px)}
.client-preview-drawer{position:fixed;right:15px;top:76px;bottom:16px;width:min(450px,calc(100vw - 30px));z-index:151;background:#fff;border:1px solid #d4e5f8;box-shadow:0 24px 70px rgba(9,40,83,.21);border-radius:17px;overflow-y:auto;animation:aureon-slide .2s ease-out}
@keyframes aureon-slide{from{opacity:0;transform:translateX(14px)}to{opacity:1;transform:translateX(0)}}
.client-drawer-top{padding:19px 19px 15px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e7eff8;color:#153755;font-size:13px}
.client-drawer-close{height:32px;width:32px;border:1px solid #e0eaf5;background:#f5faff;border-radius:9px;color:#42668e;font-size:22px;line-height:1;cursor:pointer}
.client-drawer-close:hover{background:#eaf4ff}
.client-preview-drawer .client-details-pane{position:static;max-width:none;box-shadow:none;border:0}
.client-preview-drawer .client-data-grid{padding:16px}
.client-preview-loading{color:#647e9e;font-size:12px;padding:24px}
.aureon-modal-overlay{position:fixed;inset:0;z-index:180;background:rgba(8,30,58,.49);display:flex;justify-content:center;align-items:center;padding:20px;backdrop-filter:blur(3px)}
.aureon-modal-card{background:#fff;border:1px solid #d6e8fb;border-radius:17px;box-shadow:0 28px 80px rgba(8,30,58,.3);max-height:calc(100vh - 44px);overflow-y:auto;width:min(740px,100%);padding:24px}
.aureon-modal-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;padding-bottom:17px;margin-bottom:19px;border-bottom:1px solid #e4eef8}
.aureon-modal-heading h2{margin:0;color:#163a5f;font-size:19px}.aureon-modal-heading p{margin:6px 0 0;color:#6d84a0;font-size:11px}
.aureon-modal-heading+.edit-form{margin:0}
.user-edit-dialog{width:min(650px,calc(100vw - 30px));max-height:calc(100vh - 38px);border-radius:18px;border:1px solid #d7e6f7;background:#fff;box-shadow:0 24px 80px rgba(8,30,58,.27);padding:25px;color:#254566}
.user-edit-dialog::backdrop{background:rgba(8,30,58,.45);backdrop-filter:blur(2px)}
.user-edit-heading h2{font-size:20px;color:#13385b;margin:0}.user-edit-heading p{font-size:12px;color:#6e85a2;margin:5px 0 17px}
.user-active-toggle{display:flex;align-items:center;gap:10px;font-size:12px;color:#29587e;margin:13px 0}
.user-active-toggle input{accent-color:#1188e8;width:17px;height:17px}
.task-meta-emphasis{display:flex;flex-direction:column;align-items:flex-start;gap:7px;margin:6px 0 8px}
.task-case-identifier{min-width:0;max-width:100%}
.task-case-label{display:flex;align-items:center;gap:5px;font-size:9px;color:#6f91b5;font-weight:760;letter-spacing:.075em}
.task-case-line{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:3px}
.task-case-number{font-size:14px!important;font-weight:850;color:#096cce!important;letter-spacing:.015em;overflow-wrap:anywhere}
.task-case-number:hover{text-decoration:underline}
.copy-case-btn{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;font-size:10px;font-weight:750;color:#176fac;border:1px solid #d2e7fb;border-radius:7px;background:#eef7ff;cursor:pointer}
.copy-case-btn:hover{background:#dceeff;color:#095cb2}
.task-client-identity{display:flex;align-items:center;gap:7px;font-size:12px;color:#365b7f;min-width:0}
.task-client-identity strong{font-size:12.5px;font-weight:800;color:#173a60;overflow-wrap:anywhere}
@media(max-width:670px){.auth-standalone{padding:18px}.auth-card-standalone{max-width:100%}.mfa-qr-panel{grid-template-columns:1fr;justify-items:center;text-align:center}.mfa-manual{text-align:center}.mfa-manual code{text-align:left}..aureon-modal-card{padding:17px}.client-preview-drawer{top:65px;bottom:10px;right:10px;width:calc(100vw - 20px)}.task-case-number{font-size:13px!important}}


/* AUREON 0.5.4 — ESCOPO ESTRITO: APENAS MENU LATERAL DE MÓDULOS.
   Base aprovada 0.5.4 (azul e branco) permanece integral e inalterada acima.
   Não aplica filtros de cor à logo: símbolo Aureon original permanece azul. */
.sidebar {
  background:linear-gradient(160deg,#1b1d20 0%,#26292e 53%,#17191d 100%);
  color:#ebedf1;
  border-right-color:#363a41;
  box-shadow:5px 0 30px rgba(18,19,21,.08);
}
.sidebar .brand-label strong { color:#f5f5f7; }
.sidebar .brand-label small { color:#b5b8c0; }
.sidebar .nav-label { color:#969ba5; }
.sidebar .nav-link { color:#c6c9d0; }
.sidebar .nav-icon { color:#c2c6ce; }
.sidebar .nav-link:hover { background:#33373e; color:#ffffff; }
.sidebar .nav-link:hover .nav-icon { color:#f1f2f5; }
.sidebar .nav-link.active {
  background:linear-gradient(90deg,#42474f 0%,#30343b 100%);
  border-left-color:#d0d3d9;
  color:#ffffff;
  box-shadow:0 7px 20px rgba(13,15,18,.18);
}
.sidebar .nav-link.active .nav-icon { color:#ffffff; }
.sidebar .nav-disabled .nav-text small { color:#a4a9b3; }
.sidebar .side-status { color:#b9bdc5; border-top-color:#3d4249; }
.sidebar .sidebar-collapse { border-color:#52565e; color:#d6d9df; }
.sidebar .sidebar-collapse:hover { background:#383d45; }
/* Compatibilidade com componentes de menu antigos, caso ainda existam em uma base migrada. */
.sidebar .workspace { background:linear-gradient(180deg,#32363d,#25282e); border-color:#42474e; }
.sidebar .workspace-mark { background:linear-gradient(135deg,#555b63,#343941); }
.sidebar .workspace-name small { color:#b1b5bd; }
.sidebar .workspace > svg { color:#bfc4cb; }

/* Cadastro pré-homologação: campos de credenciais e Auxílio-Acidente */
.gov-input-row{display:flex;align-items:stretch;gap:8px}
.gov-input-row input{flex:1;min-width:0}
.gov-eye{min-width:43px;border:1px solid #d9e5f3;border-radius:10px;background:#f7faff;color:#316bb5;cursor:pointer;display:grid;place-items:center}
.gov-eye[aria-pressed="true"]{background:#e8f2ff;color:#1169c5}
.gov-password-field small{display:block;font-size:11px;color:#68788c;margin-top:5px}
.aid-sickness-panel{background:#f5f9ff;border:1px solid #dceafb;border-radius:12px;padding:15px}
.aid-sickness-panel[hidden]{display:none!important}

/* DeltaJus 0.5.5 — branding only. Original palette, layout and modules preserved. */
.auth-minilogo .brand-mark,.welcome-art .hero-mark{filter:brightness(0) saturate(100%) invert(17%) sepia(26%) saturate(1674%) hue-rotate(174deg) brightness(88%) contrast(98%)}
.sidebar .brand-label strong{letter-spacing:.055em}
.auth-logo .brand-label strong{letter-spacing:.025em}
.auth-minilogo .brand-label strong{letter-spacing:.045em}

/* DeltaJus v0.5.6: login lockup, without changing the approved palette */
.auth-minilogo{justify-content:center;gap:12px;margin-bottom:25px}
.auth-minilogo .brand-mark{width:48px;height:48px;object-fit:contain}
.auth-minilogo .auth-brand-title{font-size:24px;line-height:1.1;letter-spacing:-.035em;font-weight:750;color:#143c6b}
/* Search is visually consistent with existing form controls */
.appointment-process-field input[type="search"]{width:100%;min-height:42px;padding:10px 12px;border:1px solid #d7e4f3;background:#fff;color:#1c3452;border-radius:10px;font:inherit}
.appointment-process-field input[type="search"]:focus{outline:2px solid #2c93ee;outline-offset:1px}
.appointment-process-field select{width:100%;min-height:43px}
.appointment-process-field small{font-size:10px;color:#6884a2}
.appointment-process-field>label{font-size:11px;color:#496385;font-weight:740}

/* DeltaJus 0.5.7 — compact counters; field mentions and notification inbox */
.nature-subtype{display:flex!important;align-items:center;justify-content:space-between;gap:7px;min-width:0;padding:8px 5px!important;line-height:1.35;white-space:normal}
.nature-subtype-title{flex:1 1 auto;min-width:0;overflow-wrap:anywhere;hyphens:auto}
.nature-subtype-count{flex:0 0 auto;min-width:25px;text-align:center;background:#e8f1fb;color:#47759f;border-radius:7px;padding:4px 5px;font-size:10px;line-height:1.2}
.nature-subtype.active .nature-subtype-count{background:#d0e8fc;color:#07558d}
.nature-subtypes{min-width:0;padding:5px 6px 7px 6px!important;margin-left:5px!important}
.nature-panel,.nature-group,.nature-list{min-width:0}
.nature-group-row{min-width:0}
.nature-choice span{min-width:0;overflow-wrap:anywhere}
.nature-panel .nature-item{min-width:0}
@media(max-width:670px){.auth-standalone{padding:18px}.auth-card-standalone{max-width:100%}.mfa-qr-panel{grid-template-columns:1fr;justify-items:center;text-align:center}.mfa-manual{text-align:center}.mfa-manual code{text-align:left}..nature-panel .nature-list{grid-template-columns:1fr!important}.nature-subtype{font-size:11px}}
.notification-wrapper{position:relative;flex:0 0 auto;z-index:30}
.notification-bell{position:relative;width:36px;height:36px;display:grid;place-items:center;border:1px solid #dce9f7;background:#fff;color:#214e77;border-radius:10px;cursor:pointer}
.notification-bell:hover,.notification-bell[aria-expanded="true"]{background:#edf6ff;border-color:#b5d7f5}
.notification-badge{position:absolute;top:-7px;right:-7px;min-width:18px;height:18px;border-radius:20px;padding:2px 4px;background:#d93f57;color:white;font-size:10px;font-weight:800;line-height:14px}
.notification-badge[hidden],.notification-popover[hidden]{display:none!important}
.notification-popover{position:absolute;right:0;top:43px;width:min(365px,calc(100vw - 26px));max-height:min(480px,75vh);overflow:auto;background:white;border:1px solid #d7e6f6;box-shadow:0 14px 40px rgba(16,44,80,.2);border-radius:13px;z-index:100}
.notification-heading{display:flex;align-items:center;justify-content:space-between;padding:14px 15px;border-bottom:1px solid #e7edf7;gap:10px}
.notification-heading strong{font-size:13px;color:#183e63}
.notification-heading small{font-size:10px;color:#6684a4}
.notification-row{padding:0;margin:0;border-bottom:1px solid #eef3fa}
.notification-row button{display:flex;flex-direction:column;align-items:stretch;text-align:left;width:100%;padding:11px 15px;background:#fff;border:0;gap:3px;cursor:pointer;color:#284767}
.notification-row.unread button{background:#eef7ff}
.notification-row button:hover{background:#e0f0ff}
.notification-row strong{font-size:11px}.notification-row span{font-size:11px;line-height:1.45;overflow-wrap:anywhere}.notification-row small{font-size:10px;color:#7894b1}
.notification-empty{padding:18px;margin:0;color:#7691a7;font-size:11px}
.mention-editor-container{position:relative!important}
.mention-popup{position:absolute;left:0;right:0;top:calc(100% - 2px);width:min(360px,100%);z-index:105;border:1px solid #bcd9f1;background:#fff;box-shadow:0 12px 30px rgba(0,39,85,.13);border-radius:10px;overflow:auto;max-height:236px}
.mention-popup[hidden]{display:none!important}
.mention-choice{display:flex;flex-direction:column;align-items:start;gap:2px;padding:9px 12px;border:0;background:#fff;color:#1a446b;width:100%;cursor:pointer;text-align:left}
.mention-choice:hover,.mention-choice.selected{background:#e9f5ff}
.mention-choice strong{font-size:11px}.mention-choice small{font-size:10px;color:#6184a4}
.mention-destination{scroll-margin-top:98px;min-width:0}
.mention-focused{outline:2px solid #3a94d9!important;outline-offset:4px;border-radius:9px;animation:mention-focus 3.5s ease-out 1}
@keyframes mention-focus{0%,45%{box-shadow:0 0 0 6px rgba(58,148,217,.18)}100%{box-shadow:none}}
@media(max-width:670px){.auth-standalone{padding:18px}.auth-card-standalone{max-width:100%}.mfa-qr-panel{grid-template-columns:1fr;justify-items:center;text-align:center}.mfa-manual{text-align:center}.mfa-manual code{text-align:left}..notification-popover{right:-68px}}

.topbar{position:relative;z-index:50;overflow:visible}

/* DeltaJus 0.5.8 — finalização para homologação */
.auth-minilogo{justify-content:center}
.auth-card>.auth-eyebrow{display:block;text-align:center}
.auth-card>h2,.auth-card>p{text-align:center}
.auth-bottom{display:flex;flex-direction:column;align-items:center;gap:10px;margin-top:17px}
.rpx-login-logo{width:48px;height:19px;object-fit:contain;opacity:.66}
.rpx-sidebar-logo{display:flex;align-items:center;justify-content:center;padding:9px 0 2px}
.rpx-sidebar-logo img{width:44px;height:18px;object-fit:contain;opacity:.8}
.side-bottom .logout{margin:0 0 6px}.side-bottom .side-status{margin-top:6px;border-top:1px dashed #2d4960;min-height:40px}
.sidebar-collapsed .rpx-sidebar-logo img{width:32px}
.client-new-tag{display:inline-flex;align-items:center;vertical-align:middle;margin-left:7px;border-radius:7px;padding:3px 7px;background:#e4f8eb;color:#17643b;border:1px solid #aee3c2;font-size:10px;font-weight:750;letter-spacing:.02em}
.client-import-source{font-size:10px;color:#829bb8;margin-left:7px}

/* HOTFIX_EXCLUSAO_AGENDA_4B6 */
.agenda-delete-form{display:inline-flex;margin:0 0 0 6px;vertical-align:middle}
.btn.btn-delete-agenda{color:#b42336;border:1px solid #ecc4cc;background:#fff8f9;min-height:31px;padding:7px 10px}.btn.btn-delete-agenda:hover{background:#ffeaed;color:#8c1525}

/* Fase 4C.1 — somente laboratório isolado, visual compatível DeltaJus */
.dj-track-chip-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px;margin:12px 0}
.dj-track-chip{background:#f1f6fc;border:1px solid #d6e4f4;border-radius:12px;padding:14px;display:flex;flex-direction:column;gap:6px;min-width:0}
.dj-track-chip span{font-size:11px;font-weight:700;text-transform:uppercase;color:#487298;letter-spacing:.02em}
.dj-track-chip strong{font-size:14px;color:#143c66}.dj-track-chip small{font-size:11px;color:#6f879f;overflow-wrap:anywhere}
.dj-track-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}
.dj-track-timeline{display:grid;gap:11px}
.dj-track-timeline article{border-left:3px solid #3e86b8;background:#f9fbfe;border-radius:6px 10px 10px 6px;padding:13px 15px;color:#233f60}
.dj-track-timeline article strong{font-size:12px}.dj-track-timeline article p{font-size:11px;white-space:pre-line;margin:7px 0}.dj-track-timeline article small{font-size:10px;color:#71869b}
.dj-track-tl-head{display:flex;justify-content:space-between;gap:15px;margin-bottom:7px;font-size:11px;color:#567e9d}
.dj-track-forms{border:1px solid #dce7f4;border-radius:12px;padding:15px;margin:13px 0;background:#fff}
.dj-track-forms h3{font-size:14px;color:#254e74}
.dj-track-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px;margin:14px 0}
.dj-track-form>.btn{align-self:end;justify-self:start}
.dj-track-form>.field{min-width:0}
.dj-large-upload{display:flex;flex-direction:column;align-items:flex-start;gap:12px;font-size:12px;color:#3c5775}
.dj-large-upload input[type=file]{max-width:100%;font-size:12px}
.dj-large-upload progress{width:100%;max-width:520px;min-height:13px;accent-color:#2477b6}
.dj-large-upload progress:not([value]){visibility:hidden}
@media(max-width:670px){.dj-track-form{grid-template-columns:1fr}.dj-track-tabs .btn{flex:1;text-align:center}}

/* Fase 4C.2 -- apenas no LAB isolado, nao substitui anexacao normal. */
.dj-upload-card{min-width:0;display:flex;flex-direction:column;gap:8px}
.dj-upload-card .document-upload{flex:1}
.dj-upload-in-card{min-width:0}
.dj-lab-up-inline{padding:11px;border:1px solid #d6e4f5;border-radius:9px;background:#f9fcff;display:flex;flex-direction:column;gap:7px}
.dj-lab-up-inline p{font-size:11px;line-height:1.4;margin:0;color:#667f9d}
.dj-lab-up-inline strong{font-size:11px;color:#2a4c70}
.dj-lab-up-inline input[type=file]{max-width:100%;font-size:11px}
.dj-lab-up-inline progress{width:100%;height:9px}
.dj-lab-up-inline small{font-size:10px;color:#657e9f}

/* v0.5.10 – dashboard refresh, sentence/admin states, elegant dialogs */
.btn.success{background:#eaf9ef;border-color:#c8ecd5;color:#167d4a}
.btn.danger{background:#fff1f1;border-color:#f3c8c8;color:#b53a3a}
.process-status-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
.process-status-tile.process-status-tile-all{align-items:flex-start;justify-content:space-between;padding:14px 16px}
.tile-all-left{display:flex;align-items:center;gap:12px;width:100%}
.tile-all-copy{display:flex;flex-direction:column;gap:2px}
.tile-all-copy small{font-size:10px;color:#7f96b2;text-transform:uppercase;letter-spacing:.08em}
.process-status-tile.process-status-tile-all .tile-name{font-size:12px;min-height:auto}
.process-client-inline{display:flex;flex-direction:column;gap:6px}
.inline-phase-tag{display:inline-flex;align-items:center;gap:5px;align-self:flex-start;padding:4px 8px;border-radius:999px;background:var(--phase-bg,#eef6ff);color:var(--phase-color,#176bc7);font-size:10px;font-weight:700}
.process-client-highlight{color:#0d67c9;font-weight:800;text-decoration:none}
.process-client-highlight:hover{text-decoration:underline}
.process-client-highlight.inline{display:inline}
.sentence-outcome-panel,.admin-result-panel{padding-top:2px}
.admin-journey .stage-pill{min-height:95px}
.admin-journey .stage-pill.decision-success{background:#ebfbf1;border-color:#bde7cb}
.admin-journey .stage-pill.decision-danger{background:#fff1f1;border-color:#f3c9c9}
.system-dialog-overlay{position:fixed;inset:0;z-index:250;display:flex;align-items:center;justify-content:center;background:rgba(8,24,45,.58);backdrop-filter:blur(6px);padding:20px}
.system-dialog-card{width:min(520px,100%);background:linear-gradient(180deg,#0b2138 0%,#102a46 100%);color:#fff;border-radius:24px;box-shadow:0 30px 90px rgba(3,16,32,.42);padding:24px 24px 20px;border:1px solid rgba(159,214,255,.18)}
.system-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}
.system-dialog-head small{display:block;color:#8ad3ff;font-size:11px;letter-spacing:.08em;text-transform:uppercase;margin-bottom:6px}
.system-dialog-head h3{margin:0;font-size:26px;line-height:1.15}
.system-dialog-close{border:0;background:rgba(255,255,255,.08);color:#fff;width:36px;height:36px;border-radius:12px;font-size:24px;line-height:1;cursor:pointer}
.system-dialog-body p{margin:0;color:#e4f0ff;font-size:15px;line-height:1.7}
.system-dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}
.system-dialog-actions .btn{min-width:122px}
.dashboard-shell{display:grid;gap:18px}
.dashboard-top-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.dashboard-top-card{display:flex;align-items:flex-start;gap:14px;background:#fff;border:1px solid #dce8f4;border-radius:18px;padding:18px;box-shadow:var(--shadow);color:#173a60;text-decoration:none}
.dashboard-top-card small{display:block;font-size:11px;color:#748baa;margin-bottom:6px}
.dashboard-top-card strong{display:block;font-size:32px;line-height:1;color:#123052}
.dashboard-top-card span{display:block;color:#7b90aa;font-size:11px;margin-top:6px}
.dashboard-top-icon{display:grid;place-items:center;flex:none;width:44px;height:44px;border-radius:14px;background:#eef5ff;color:#116ecc}
.dashboard-phases-panel{display:grid;grid-template-columns:140px repeat(5,minmax(0,1fr));gap:12px;background:#eef4fa;border:1px solid #dbe8f4;border-radius:22px;padding:14px}
.dashboard-phase-card{display:flex;align-items:center;gap:12px;padding:16px 14px;border-radius:18px;background:#fff;border:1px solid #d9e6f3;box-shadow:0 8px 24px rgba(13,60,112,.05);color:#173a60;text-decoration:none;min-height:96px}
.dashboard-phase-card-all{background:linear-gradient(180deg,#0e4f85,#0b63a7);color:#fff;border-color:#0f619e}
.dashboard-phase-card-all .phase-card-icon{background:rgba(255,255,255,.14);color:#fff}
.dashboard-phase-card-all .phase-card-content strong,.dashboard-phase-card-all .phase-card-content span{color:#fff}
.phase-card-icon{display:grid;place-items:center;flex:none;width:42px;height:42px;border-radius:14px;background:var(--tile-bg,#eef5ff);color:var(--tile-color,#176bc7)}
.phase-card-content{display:flex;flex-direction:column;gap:4px}
.phase-card-content strong{font-size:28px;line-height:1;color:#16314f}
.phase-card-content span{font-size:11px;color:#6d86a3;line-height:1.35}
.dashboard-bottom-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.dashboard-list-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 0;border-bottom:1px solid #eaf1f8;color:#16314f;text-decoration:none}
.dashboard-list-row:last-child{border-bottom:0}
.dashboard-list-row div{min-width:0}
.dashboard-list-row strong,.dashboard-list-row small{display:block}
.dashboard-list-row strong{font-size:12px;color:#16314f}
.dashboard-list-row small{font-size:11px;color:#8095ad;margin-top:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dashboard-list-row>span{flex:none;font-size:11px;color:#5e7796;text-align:right}
@media(max-width:1480px){.dashboard-phases-panel{grid-template-columns:140px repeat(3,minmax(0,1fr))}.process-status-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1080px){.dashboard-top-grid,.dashboard-bottom-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-phases-panel{grid-template-columns:repeat(2,minmax(0,1fr))}.process-status-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.dashboard-top-grid,.dashboard-bottom-grid,.dashboard-phases-panel{grid-template-columns:1fr}.process-status-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.system-dialog-card{padding:20px}.system-dialog-head h3{font-size:22px}}

.system-dialog-body p{white-space:pre-wrap;overflow-wrap:anywhere}

/* ============================================================
   DeltaJus v0.5.11 — Fidelity to approved dashboard reference
   Scoped to avoid changes in other screens.
   ============================================================ */
[data-sentence-panel][hidden],[data-admin-result-panel][hidden],.aureon-modal-overlay[hidden]{display:none!important}
.dj-case-client-subtitle{color:#6685b3;text-decoration:none;font-weight:550}
.dj-case-client-subtitle:hover{color:#087deb;text-decoration:underline}

/* The tall Todos tile follows the full height of its status-card grid. */
.process-status-grid{display:grid;grid-template-columns:170px minmax(0,1fr);gap:12px;align-items:stretch}
.process-status-options{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));grid-auto-rows:minmax(101px,1fr);gap:10px;align-items:stretch;min-width:0}
.process-status-grid>.process-status-tile-all{min-height:100%;height:100%;box-sizing:border-box;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:13px;padding:22px 12px;color:#fff;background:linear-gradient(160deg,#5286a9 0%,#2a5670 100%);border:2px solid #adc5d5;border-radius:20px;box-shadow:0 0 0 2px rgba(47,106,147,.1),0 14px 24px rgba(20,69,103,.12);text-align:center}
.process-status-grid>.process-status-tile-all.active{background:linear-gradient(160deg,#5286a9,#2a5670);border-color:#9ebfd2}
.process-status-grid>.process-status-tile-all .tile-icon{width:60px;height:60px;border-radius:50%;background:rgba(255,255,255,.24);color:#fff}
.process-status-grid>.process-status-tile-all .tile-icon svg{width:27px;height:27px}
.process-status-grid>.process-status-tile-all .tile-name{color:#fff;font-size:14px;line-height:1.3;font-weight:800;min-height:0}
.process-status-grid>.process-status-tile-all .tile-total{color:#fff;font-size:16px;line-height:1.2}
.process-status-options>.process-status-tile{min-height:100px;height:100%;border-radius:13px}
.process-status-options>.process-status-tile.active{background:#e8f3ff;color:#086bca;border-color:#95c4f0}
.process-status-options>.process-status-tile.active strong{color:#1263aa}
/* The FASE column alone owns the final sentence outcome tag. */
.process-table .status-label,.status-label.phase-9,.detail-hero-badges .status-label{background:var(--phase-bg,#eef6ff);color:var(--phase-color,#1673c8);display:inline-flex;align-items:center;gap:5px;white-space:normal}

/* Screenshot-aligned executive dashboard, without CDNs or mock data. */
.dj-exec-dashboard{display:grid;gap:18px;max-width:1440px;margin-inline:auto;font-family:Inter,Arial,system-ui,sans-serif;color:#0f172a}
.dj-exec-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.dj-exec-kpi{display:flex;flex-direction:column;min-width:0;background:#fff;border:1px solid #e3eaf4;border-radius:16px;box-shadow:0 2px 10px rgba(13,50,92,.035);padding:19px 19px 18px;color:#1e293b;text-decoration:none;transition:transform .15s,border-color .15s}
.dj-exec-kpi:hover{transform:translateY(-2px);border-color:#bed3ea}
.dj-exec-kpi-header{display:flex;align-items:center;gap:11px;margin-bottom:12px}
.dj-exec-kpi-icon{display:grid;place-items:center;width:37px;height:37px;border-radius:50%;flex:none;background:#eef5ff;color:#0284c7}
.dj-exec-kpi-header>strong{font-size:26px;font-weight:800;line-height:1;color:#0b1527}
.dj-exec-kpi h3{font-size:13px;line-height:1.3;margin:0 0 7px;font-weight:750;color:#1e293b}
.dj-exec-kpi p{margin:0;font-size:11px;color:#7c8ba1}
.dj-exec-kpi p:before{content:'';display:inline-block;width:6px;height:6px;border-radius:50%;background:#0ea5e9;vertical-align:middle;margin-right:6px}
.dj-exec-kpi:last-child p:before{display:none}
.dj-exec-kpi .dj-exec-overdue{color:#bb4c06}
.dj-exec-kpi .dj-exec-overdue:before{display:none}
.dj-exec-attention{margin-left:auto;align-self:flex-start;padding:4px 8px;background:#fffbeb;color:#b45309;border:1px solid #f9df90;border-radius:999px;font-size:10px}
.dj-exec-attention:before{content:'●';font-size:8px;margin-right:5px;color:#f59e0b}
.dj-exec-chart-grid{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:15px;align-items:stretch}
.dj-exec-panel{background:#fff;border:1px solid #e3eaf4;border-radius:16px;box-shadow:0 2px 10px rgba(13,50,92,.035);min-width:0;padding:21px 21px 17px}
.dj-exec-panel-head{display:flex;justify-content:space-between;align-items:start;gap:12px;margin-bottom:17px}
.dj-exec-panel-head h2{font-size:15px;color:#0b1527;font-weight:800;margin:0 0 4px;line-height:1.3}
.dj-exec-panel-head p{font-size:11px;color:#7c8ba1;margin:0;line-height:1.45}
.dj-exec-panel-head>a{flex:none;font-size:11px;color:#0284c7;font-weight:700;margin-top:4px;text-decoration:none}
.dj-exec-panel-head>a:hover{text-decoration:underline}
.dj-exec-phase-chart{display:grid;gap:8px;margin-top:22px}
.dj-exec-phase-row{display:grid;grid-template-columns:155px minmax(0,1fr) 24px;align-items:center;gap:9px;min-width:0;min-height:19px;text-decoration:none;color:#374151}
.dj-exec-phase-name{font-size:11px;color:#415169;text-align:right;line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dj-exec-phase-rail{height:17px;border-radius:6px;display:block;position:relative;min-width:0;background:linear-gradient(to right,transparent calc(33.333% - .5px),#edf2f8 calc(33.333% - .5px),#edf2f8 calc(33.333% + .5px),transparent calc(33.333% + .5px),transparent calc(66.666% - .5px),#edf2f8 calc(66.666% - .5px),#edf2f8 calc(66.666% + .5px),transparent calc(66.666% + .5px))}
.dj-exec-phase-bar{display:block;height:100%;border-radius:5px;transition:filter .18s}
.dj-exec-phase-row:hover .dj-exec-phase-bar{filter:brightness(.85)}
.dj-exec-phase-row strong{font-size:11px;color:#475569;font-weight:750}
.dj-exec-phase-scale{margin:0 24px 0 164px;display:flex;justify-content:space-between;color:#94a3b8;font-size:10px}
.dj-exec-donut-wrap{display:flex;justify-content:center;align-items:center;margin:8px 0 16px;min-height:220px}
.dj-exec-donut{width:206px;height:206px;border-radius:50%;padding:29px;box-sizing:border-box;display:grid;place-items:center}
.dj-exec-donut-inner{width:100%;height:100%;background:#fff;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center}
.dj-exec-donut-inner strong{font-size:27px;font-weight:850;color:#0f172a;line-height:1.1}
.dj-exec-donut-inner span{font-size:11px;color:#64748b}
.dj-exec-nature-legend{border-top:1px solid #edf1f6;padding-top:12px;display:grid;gap:2px}
.dj-exec-nature-legend-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 4px;color:#1e293b;text-decoration:none;border-radius:9px;font-size:12px}
.dj-exec-nature-legend-row:hover{background:#f8fafc}
.dj-exec-nature-name{display:inline-flex;align-items:center;gap:9px}
.dj-exec-dot{display:inline-block;width:10px;height:10px;border-radius:50%;flex:none}
.dj-exec-nature-count{color:#0f172a;font-weight:750;white-space:nowrap}
.dj-exec-nature-count small{background:#f1f5f9;color:#64748b;padding:4px 6px;border-radius:5px;margin-left:6px;font-size:10px;font-weight:500}
.dj-exec-growth-panel{padding-bottom:10px}
.dj-exec-evolution-svg{display:block;width:100%;height:auto;min-height:205px;margin-top:0;overflow:visible}
.dj-evolution-axis,.dj-evolution-month,.dj-evolution-number{fill:#7c8ba1;font:11px Inter,Arial,sans-serif}
.dj-evolution-month{font-weight:700;text-anchor:middle}
.dj-evolution-number{fill:#334155;font-weight:750}
.dj-exec-footnote{margin:0;color:#7c8ba1;font-size:11px}
.dj-exec-dashboard~.footnote{margin-top:12px}
@media (max-width:1220px){
 .process-status-options{grid-template-columns:repeat(3,minmax(0,1fr))}
 .dj-exec-phase-row{grid-template-columns:125px minmax(0,1fr) 20px}
 .dj-exec-phase-scale{margin-left:134px}
}
@media (max-width:920px){
 .dj-exec-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
 .dj-exec-chart-grid{grid-template-columns:1fr}
 .dj-exec-phase-row{grid-template-columns:160px minmax(0,1fr) 24px}
 .dj-exec-phase-scale{margin-left:169px}
}
@media (max-width:720px){
 .process-status-grid{grid-template-columns:110px minmax(0,1fr)}
 .process-status-options{grid-template-columns:repeat(2,minmax(0,1fr))}
 .process-status-grid>.process-status-tile-all{padding:14px 7px}
 .process-status-grid>.process-status-tile-all .tile-icon{width:48px;height:48px}
 .process-status-grid>.process-status-tile-all .tile-name{font-size:11px}
 .process-status-grid>.process-status-tile-all .tile-total{font-size:12px}
 .dj-exec-panel{padding:16px}
 .dj-exec-phase-row{grid-template-columns:116px minmax(0,1fr) 23px}
 .dj-exec-phase-scale{margin-left:125px}
 .dj-exec-phase-name{font-size:10px}
}
@media (max-width:480px){
 .dj-exec-kpis{grid-template-columns:1fr}
 .dj-exec-phase-row{grid-template-columns:95px minmax(0,1fr) 18px;gap:5px}
 .dj-exec-phase-scale{margin-left:100px;margin-right:18px}
 .dj-exec-panel-head h2{font-size:13px}
 .process-status-grid{grid-template-columns:92px minmax(0,1fr);gap:7px}
 .process-status-options{gap:6px}
 .process-status-options>.process-status-tile{padding:7px 3px;min-height:98px}
}


/* Agenda Profissional: busca com resultados na base e sem-vinculo explicito */
.deadline-process-picker{position:relative;display:flex;flex-direction:column;gap:8px}
.deadline-process-picker>label:first-child{font-size:12px;color:#284c70;font-weight:750}
.deadline-process-picker>input[type="search"]{min-height:46px;padding:12px 14px;border-radius:12px;border:1px solid #c9ddec;background:#fff;color:#1e3d59;font:inherit}
.deadline-process-picker>input[type="search"]:focus{outline:2px solid #67aff0;outline-offset:1px}
.deadline-process-picker>input:disabled{background:#f1f6fa;opacity:.72}
.deadline-process-results{max-height:290px;overflow:auto;border:1px solid #cbdfee;border-radius:13px;background:#fff;box-shadow:0 14px 32px rgba(28,65,98,.15);z-index:30}
.deadline-process-results[hidden],.deadline-process-picked[hidden]{display:none!important}
.deadline-process-result{display:flex;flex-direction:column;text-align:left;width:100%;gap:5px;border:0;border-bottom:1px solid #e9f1f8;background:#fff;padding:11px 13px;cursor:pointer;color:#234562}
.deadline-process-result:hover,.deadline-process-result:focus{background:#eaf5ff;outline:none}
.deadline-process-result strong{font-size:13px;overflow-wrap:anywhere}.deadline-process-result small{font-size:11px;color:#63819d;line-height:1.5}
.deadline-process-picked{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#edf8f4;border:1px solid #a9dac9;color:#155a48;border-radius:12px;padding:11px 12px;font-size:12px;font-weight:700}
.deadline-process-clear{border:0;background:rgba(21,90,72,.1);color:#155a48;border-radius:8px;font-size:19px;cursor:pointer;width:27px;height:27px}
.deadline-unlinked-option{display:flex!important;align-items:center;gap:12px;background:#f5f8fc;border:1px solid #dbe6f2;border-radius:12px;padding:13px 14px;cursor:pointer}
.deadline-unlinked-option:has(input:checked){border-color:#7dbde9;background:#eaf6ff}
.deadline-unlinked-option input{width:19px;height:19px;accent-color:#246ba4;flex-shrink:0}
.deadline-unlinked-option span{display:flex;flex-direction:column;gap:3px}.deadline-unlinked-option strong{font-size:12px;color:#214465}
.deadline-unlinked-option small,.deadline-process-hint{font-size:11px!important;color:#617f9c!important;line-height:1.5}
.agenda-rescheduled-date{color:#135f97!important}
.agenda-reschedule-dialog .agenda-reschedule-form{display:flex;flex-direction:column;gap:9px;margin-top:16px}
.agenda-reschedule-dialog .agenda-reschedule-form>label{color:#f2f8ff;font-weight:700;font-size:13px}
.agenda-reschedule-dialog input[type=date]{min-height:45px;width:100%;border:1px solid #a4d5f5;border-radius:11px;background:#fff;color:#153552;padding:10px 12px;font:inherit;color-scheme:light}
.agenda-reschedule-dialog small{font-size:12px;color:#b4d4ee;line-height:1.5}
.agenda-deadline-warning{display:flex;justify-content:space-between;gap:12px;border-radius:11px;padding:12px 14px;margin-top:14px;background:rgba(134,200,246,.1);border:1px solid rgba(134,200,246,.25)}
.agenda-deadline-warning span{font-size:12px;color:#b1d7f0}.agenda-deadline-warning strong{font-size:13px;color:#fff}
.agenda-deadline-warning.after-fatal{border-color:#e5bb72}

.agenda-after-fatal-notice{background:rgba(231,167,73,.13);border:1px solid #ce9d57;border-radius:10px;padding:11px 12px;color:#ffe4b4!important;font-size:12px!important}
.agenda-after-fatal-notice[hidden]{display:none!important}

/* Envio documental seguro: o fluxo tecnico nao vira um segundo card. */
.secure-upload-feedback{margin-top:11px;padding:11px 13px;border:1px solid #dce8f5;border-radius:9px;background:#f8fbff}
.secure-upload-feedback[hidden]{display:none!important}
.secure-upload-feedback progress{width:100%;height:8px;accent-color:#237ebc}
.secure-upload-feedback small{display:block;margin-top:8px;font-size:11px;line-height:1.5;color:#536f8b;overflow-wrap:anywhere}
.secure-upload-feedback [data-state="error"]{color:#ae293e}
.secure-upload-feedback [data-state="success"]{color:#197250}

/* D074-HV1 — etiqueta Novo antes do nome apenas na lista de clientes. */
.client-list-table .client-name-stack{display:block;min-width:0}
.client-list-table .client-name-line{display:flex;align-items:center;column-gap:7px;row-gap:4px;flex-wrap:wrap;min-width:0}
.client-list-table .client-name-line strong{display:inline;min-width:0;overflow-wrap:anywhere;white-space:normal}
.client-list-table .client-name-line .client-new-tag{margin-left:0;flex:none}

/* D080: os campos do representante ocupam duas colunas somente quando "Sim". */
.dj080-representative-fields[hidden]{display:none!important}
.dj080-representative-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;width:100%}
@media(max-width:670px){.dj080-representative-grid{grid-template-columns:1fr}}

/* D081: metadados da integracao nao sao anexos disponiveis para download */
.dj081-pending-document{background:rgba(25,106,179,.035);border-left:3px solid #9bbde4}
.dj081-pending-document .document-info small{color:#607a96}
.dj081-document-state{border:1px solid #cbdcf0;border-radius:999px;padding:4px 10px;font-size:11px;font-weight:700;color:#416b97;white-space:nowrap}

/* D083-HF2 — GOV conditional visibility and upload status. */
.dj083-gov-conditional[hidden]{display:none!important}
.dj083-upload-feedback .dj083-link{display:inline-block;margin-top:8px;font-weight:700}

/* D083-HF3-HF3: user-approved recovery of unfinished quarantine uploads. */
[data-dj083-pending-recovery]{display:block;margin-top:12px;padding:10px;border:1px solid #d5e1ee;border-radius:9px;background:#fff}
[data-dj083-pending-recovery]>strong{display:block;font-size:12px;line-height:1.45;margin-bottom:7px}
.dj083-pending-line{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin:7px 0;padding:6px 0;border-top:1px solid #edf1f5;font-size:12px;overflow-wrap:anywhere}
.dj083-pending-line>.btn{flex-shrink:0}
/* M417: local file review; no changes to the existing page layout. */
.dj417-file-list{display:grid;gap:6px;margin-top:8px;min-width:0}
.dj417-file-list[hidden]{display:none}
.dj417-file-row{display:flex;align-items:center;gap:8px;padding:9px;border:1px solid #d6dce5;border-radius:8px;background:#f8fafc;min-width:0}
.dj417-file-info{display:grid;gap:3px;flex:1;min-width:0;overflow-wrap:anywhere}
.dj417-file-info strong{font-size:.84rem;color:#24354a}.dj417-file-info small{font-size:.76rem}
.dj417-file-info .dj417-invalid{color:#a52222;font-weight:600}.dj417-file-info .dj417-note{color:#475569}
.dj417-remove{flex-shrink:0}.dj417-selection-feedback{font-size:.82rem;color:#475569;margin:8px 0;overflow-wrap:anywhere}
@media(max-width:480px){.dj417-file-row{align-items:flex-start;flex-wrap:wrap}.dj417-remove{margin-left:auto}}

.dj417-upload-group{min-width:0}.dj417-upload-group>.document-upload{height:auto}

/* M4.17 R3: compact accessible edit trigger; only editable record cards. */
.orientation-entry.m417-editable,.tl-card.m417-editable{position:relative;--m417-meta-width:48px}
.orientation-entry.m417-editable.m417-original{--m417-meta-width:112px}
.tl-card.m417-editable{--m417-meta-width:76px}
.m417-editable>.orientation-by,.m417-editable>.tl-top{align-items:center;min-height:30px;gap:44px}
.m417-editable>.orientation-by>span,.m417-editable>.tl-top>span:first-child{min-width:0;overflow-wrap:anywhere}
.m417-editable>.orientation-by>small,.m417-editable>.tl-top>span:last-child{flex:0 0 var(--m417-meta-width);text-align:right;overflow-wrap:anywhere}
.m417-inline-edit{margin:0}
.m417-inline-edit>summary.m417-pencil{position:absolute;top:13px;right:calc(16px + var(--m417-meta-width) + 5px);display:grid;place-items:center;box-sizing:border-box;width:30px;height:30px;padding:0;list-style:none;color:#416f9c;background:transparent;border:1px solid transparent;border-radius:8px;cursor:pointer;z-index:1;transition:background .15s,color .15s,border-color .15s}
.tl-card>.m417-inline-edit>summary.m417-pencil{top:14px;right:calc(14px + var(--m417-meta-width) + 5px)}
.m417-pencil::-webkit-details-marker{display:none}
.m417-pencil::marker{content:""}
.m417-inline-edit>summary.m417-pencil:hover,.m417-inline-edit[open]>summary.m417-pencil{background:#eaf3fc;border-color:#d6e7f7;color:#155b9c}
.m417-inline-edit>summary.m417-pencil:focus-visible{outline:2px solid #2785d5;outline-offset:2px}
.m417-inline-edit[open]>form{margin-top:12px}
@media(max-width:420px){.orientation-entry.m417-editable.m417-original{--m417-meta-width:84px}.m417-editable>.orientation-by,.m417-editable>.tl-top{gap:38px}}

/* M418: user security overview */
.m418-user-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;margin-bottom:16px}.m418-user-number{font-size:1.8rem;font-weight:650}.m418-reset{margin-top:16px;border-top:1px solid var(--line,#dbe3ed);padding-top:12px}.m418-reset>summary{cursor:pointer;font-weight:600}.m418-reset .edit-form{margin-top:12px}.user-edit-dialog{max-height:90vh;overflow:auto}

/* M419 R3: inline responsible editor */
.m419-transfer{margin-top:5px}.m419-transfer summary{display:inline-flex;cursor:pointer;align-items:center;color:var(--primary,#1e40af);padding:4px 6px;border:1px solid #dbe3ee;border-radius:6px;list-style:none}.m419-transfer summary::-webkit-details-marker{display:none}.m419-transfer-form{display:grid;gap:8px;margin-top:8px}.m419-transfer-form select{max-width:100%;min-width:0}.m419-appointment{margin-top:16px}.m419-appointment summary{cursor:pointer;font-weight:600}

/* M419 R3.1 — edição do responsável e procuração eletrônica */
.details-grid > .m419-responsible-card{position:relative;padding-right:56px}
.m419-responsible-card > .m419-transfer{margin-top:0}
.m419-responsible-card > .m419-transfer > summary{position:absolute;top:16px;right:16px;min-width:34px;min-height:30px;justify-content:center}
.m419-responsible-card > .m419-transfer[open]{margin-right:-40px;margin-top:12px}
.m419-poa-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}
.m419-poa-row [data-m419-poa-validity][hidden]{display:none!important}
@media(max-width:670px){.m419-poa-row{grid-template-columns:1fr}}
