@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap');

:root{color-scheme:light;--pine:#092d5c;--pine-2:#0d9d93;--pine-3:#e2f4ef;--ink:#142b4a;--muted:#586d79;--faint:#748897;--line:#d8e2e9;--surface:#ffffff;--ground:#f5f8fa;--sidebar:#eef3f7;--amber:#a36516;--amber-bg:#fcf2df;--red:#b14836;--red-bg:#f8e9e5;--green:#188b6d;--green-bg:#e2f4ec;--blue:#3c6c81;--blue-bg:#e8f1f5;--radius:12px;--shadow:0 12px 30px rgba(23,37,50,.12);font-family:'DM Sans',Arial,sans-serif;color:var(--ink);background:var(--ground);font-synthesis:none;text-rendering:optimizeLegibility}
*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:var(--ground);font-size:14px}button,input,select{font:inherit}button{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #84aa94;outline-offset:2px}::selection{background:#c5ddcc;color:#183c31}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-thumb{background:#c8d0ca;border:3px solid var(--ground);border-radius:8px}::-webkit-scrollbar-track{background:var(--ground)}
.app-shell{display:flex;min-height:100vh}.sidebar{width:252px;flex:0 0 252px;background:var(--sidebar);border-right:1px solid #e3e7df;display:flex;flex-direction:column;padding:22px 14px 14px;min-height:100vh}.brand{display:flex;align-items:center;gap:11px;padding:0 10px 26px;color:inherit;text-decoration:none}.brand-logo{display:block;width:190px;height:auto;max-width:100%;object-fit:contain;object-position:left center}.brand-mark{width:34px;height:34px;display:grid;place-items:center;background:var(--pine);border-radius:10px;color:white}.brand-mark svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.brand strong{display:block;font-family:Manrope,sans-serif;font-weight:800;font-size:17px;letter-spacing:-.7px}.brand small{display:block;color:var(--muted);font-size:11px;letter-spacing:1.18px;font-weight:700;margin-top:1px}.workspace-switcher{height:57px;display:flex;align-items:center;padding:8px 9px;gap:10px;border:1px solid #e0e4dc;background:#f8f9f5;border-radius:10px;margin-bottom:25px}.workspace-avatar,.profile-avatar{width:32px;height:32px;border-radius:9px;display:grid;place-items:center;background:#d8e5dc;color:var(--pine);font-size:11px;font-weight:700;flex:none}.workspace-copy,.profile-copy{min-width:0;flex:1}.workspace-copy strong,.profile-copy strong{display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-size:12px;font-weight:700}.workspace-copy small,.profile-copy small{display:block;font-size:11px;color:var(--muted);margin-top:3px}.icon-button{width:32px;height:32px;border:0;background:transparent;display:grid;place-items:center;border-radius:8px;color:#75817a;cursor:pointer}.icon-button:hover{background:#e4e9e2;color:var(--pine)}.icon-button svg,.nav-item svg,.period-button svg,.help-icon svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}.nav-label{font-size:11px;letter-spacing:1.14px;font-weight:700;color:#88928c;padding:0 12px;margin-bottom:8px}.main-nav{display:grid;gap:3px}.nav-item{height:39px;border:0;background:transparent;display:flex;align-items:center;gap:12px;padding:0 12px;text-align:left;color:#59665f;border-radius:8px;font-size:12px;font-weight:500;cursor:pointer;width:100%}.nav-item svg{color:#75817a;width:16px;height:16px;flex:none}.nav-item:hover{background:#e7ebe5;color:var(--pine)}.nav-item.active{background:#e0eae2;color:#1a493c;font-weight:700}.nav-item.active svg{color:#1a493c}.nav-count{margin-left:auto;font-size:11px;color:#78847e;background:#e3e7e1;border-radius:12px;padding:4px 8px}.nav-dot{margin-left:auto;width:7px;height:7px;border-radius:50%;background:#cd8450}.nav-label-lower{margin-top:28px}.sidebar-bottom{margin-top:auto}.help-card{border:1px solid #e0e4dc;background:#f8f9f5;border-radius:10px;padding:13px 13px 12px;margin:18px 2px 13px}.help-icon{width:25px;height:25px;border-radius:8px;display:grid;place-items:center;background:#e5ece5;color:var(--pine);margin-bottom:9px}.help-icon svg{width:15px;height:15px}.help-card>strong{font-size:11px}.help-card p{font-size:11px;line-height:1.45;color:var(--muted);margin:5px 0 8px}.text-button{border:0;background:none;padding:0;color:var(--pine);font-size:11px;font-weight:700;cursor:pointer}.text-button span{padding-left:3px}.profile-row{border-top:1px solid #e0e4dc;padding:14px 4px 0;display:flex;align-items:center;gap:9px}.profile-avatar{border-radius:50%;background:#d7dfd8}.mobile-menu{display:none}
.main-area{flex:1;min-width:0}.topbar{height:68px;background:var(--surface);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 34px;position:sticky;top:0;z-index:10}.breadcrumbs{display:flex;align-items:center;gap:10px;font-size:11px;color:#839089}.breadcrumbs strong{font-weight:700;color:#33423b}.crumb-separator{color:#bcc3bd}.topbar-actions{display:flex;align-items:center;gap:12px}.role-switch-label{color:#929c96;font-size:11px;font-weight:700;letter-spacing:.9px}.role-switch{border:1px solid #dfe4dd;background:#fffefa;border-radius:7px;padding:7px 27px 7px 10px;color:#35443c;font-size:11px;font-weight:600;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5 7 5 5 5-5' fill='none' stroke='%23768079' stroke-width='1.7'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 7px center;background-size:14px}.period-button{display:flex;align-items:center;gap:8px;background:var(--surface);border:1px solid var(--line);border-radius:7px;padding:8px 10px;color:#4f5c55;font-size:11px;cursor:pointer}.period-button svg{width:14px;height:14px}.period-button .chevron{width:12px;height:12px;margin-left:3px}.notification-button{position:relative}.notification-button i{position:absolute;right:6px;top:5px;width:7px;height:7px;border-radius:50%;background:#c77745;border:1px solid white}.avatar-button{border:0;width:31px;height:31px;background:#dae5dc;color:var(--pine);font-size:11px;font-weight:700;border-radius:50%;cursor:pointer}.content{max-width:1540px;margin:0 auto;padding:30px 34px 60px}.page-header{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:23px;gap:16px}.page-header h1{font-family:Manrope,sans-serif;font-size:25px;letter-spacing:-.8px;line-height:1.2;margin:0;font-weight:750;color:#1f302a}.page-header p{margin:7px 0 0;color:#78847d;font-size:12px;line-height:1.5}.header-actions{display:flex;align-items:center;gap:9px}.button{border-radius:7px;border:1px solid #dce2dc;background:#fffefa;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:9px 13px;color:#445149;font-size:11px;font-weight:600;cursor:pointer;transition:background .16s ease,border-color .16s ease,transform .16s ease}.button:hover{background:#f5f7f2;border-color:#c5d0c7}.button:active{transform:translateY(1px)}.button svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.button-primary{background:var(--pine);border-color:var(--pine);color:#fff}.button-primary:hover{background:#23564a;border-color:#23564a}.button-small{padding:7px 10px;font-size:11px}.button-quiet{background:transparent;border-color:transparent}.button-danger{color:#a14b3a}.button[disabled]{opacity:.48;cursor:not-allowed;transform:none}.demo-banner{border:1px solid #e5d8b7;background:#fbf5e9;color:#71532a;border-radius:9px;padding:10px 13px;display:flex;align-items:center;gap:10px;margin-bottom:18px;font-size:11px;line-height:1.5}.demo-banner strong{color:#5c4524}.demo-banner .banner-tag{margin-left:auto;white-space:nowrap;font-size:11px;font-weight:700;color:#8b6729;background:#f2e6c9;padding:5px 8px;border-radius:5px}.banner-dot{width:7px;height:7px;background:#c48b37;border-radius:50%;flex:none}
.overview-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:16px}.metric-card{background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:15px 16px 14px;min-height:112px}.metric-top{display:flex;align-items:center;justify-content:space-between;color:#7d8982;font-size:11px}.metric-symbol{width:25px;height:25px;border-radius:7px;background:#edf2ed;color:#4d7260;display:grid;place-items:center}.metric-symbol svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.metric-value{font-family:Manrope,sans-serif;font-weight:700;font-size:24px;letter-spacing:-.9px;margin-top:12px;color:#26352e}.metric-foot{font-size:11px;color:#859088;margin-top:3px}.metric-foot .positive{color:#44825d;font-weight:700}.metric-foot .warning{color:#a56f24;font-weight:700}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(260px,.9fr);gap:15px}.panel{border:1px solid var(--line);border-radius:10px;background:var(--surface);min-width:0}.panel-header{padding:15px 17px 12px;display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.panel-header h2{font-size:13px;font-weight:700;margin:0;color:#2a3932}.panel-header p{color:#89938d;font-size:11px;margin:4px 0 0}.panel-actions{display:flex;align-items:center;gap:7px}.link-button{border:0;background:none;color:#426e58;font-weight:700;font-size:11px;cursor:pointer;padding:4px}.select-small{border:1px solid var(--line);background:#fffefa;border-radius:6px;padding:6px 23px 6px 8px;font-size:11px;color:#606d65}.table-wrap{overflow-x:auto}.data-table{width:100%;border-collapse:collapse;white-space:nowrap;text-align:left}.data-table thead th{background:#f7f8f4;color:#86918b;font-size:11px;font-weight:600;padding:9px 12px;border-top:1px solid #edf0eb;border-bottom:1px solid #edf0eb}.data-table th:first-child,.data-table td:first-child{padding-left:17px}.data-table tbody td{padding:11px 12px;border-bottom:1px solid #eff1ed;font-size:11px;color:#536159}.data-table tbody tr:last-child td{border-bottom:0}.company-cell{display:flex;align-items:center;gap:9px}.company-monogram{width:28px;height:28px;border-radius:8px;display:grid;place-items:center;background:#e7eeea;color:#416b56;font-size:11px;font-weight:700;flex:none}.company-name{font-size:11px;font-weight:700;color:#35433b}.company-rfc{display:block;color:#9aa39e;font-size:11px;margin-top:3px}.status-pill{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border-radius:20px;font-size:11px;font-weight:600}.status-pill:before{content:"";width:5px;height:5px;border-radius:50%;background:currentColor}.status-ok{color:#3b7654;background:#e9f3eb}.status-warn{color:#9a681f;background:#fcf2df}.status-error{color:#a44737;background:#f7e9e5}.status-info{color:#4b6f84;background:#e9f1f4}.status-neutral{color:#68756d;background:#eef0ed}.row-action{border:0;background:transparent;color:#7b8780;cursor:pointer;border-radius:6px;width:26px;height:26px}.row-action:hover{background:#eff2ed}.deadline-list{padding:0 15px 7px}.deadline-item{display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:10px;align-items:center;padding:11px 0;border-top:1px solid #eff1ed}.date-tile{text-align:center;border-radius:7px;background:#f2f4ef;padding:6px 8px;color:#78857d}.date-tile strong{display:block;font-family:Manrope,sans-serif;font-size:14px;color:#34443b;line-height:1.1}.date-tile small{font-size:11px;font-weight:700;letter-spacing:.7px}.deadline-copy strong{display:block;color:#3b4841;font-size:11px}.deadline-copy small{display:block;color:#8c9790;font-size:11px;margin-top:3px}.deadline-amount{font-size:11px;color:#69766f;font-weight:600}.panel-footer{border-top:1px solid #edf0eb;padding:10px 17px;display:flex;align-items:center;justify-content:space-between;color:#89948d;font-size:11px}.integration-strip{margin-top:15px;padding:14px 16px;display:flex;align-items:center;gap:14px}.integration-strip h3{font-size:11px;margin:0 0 3px}.integration-strip p{color:#849088;font-size:11px;margin:0}.integration-statuses{display:flex;align-items:center;gap:16px;margin-left:auto}.integration-status{display:flex;align-items:center;gap:6px;color:#68766d;font-size:11px}.integration-status i{width:6px;height:6px;border-radius:50%;background:#7a9a80}.integration-status.off i{background:#c5cbc5}.integration-status.pending i{background:#d1a34e}
.section-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(250px,.8fr);gap:16px}.section-toolbar{padding:12px 16px;border-bottom:1px solid #edf0eb;display:flex;align-items:center;gap:9px}.search-field{display:flex;align-items:center;gap:7px;border:1px solid var(--line);background:#fffefa;border-radius:7px;padding:7px 9px;color:#89948d;min-width:205px}.search-field svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.8}.search-field input{border:0;outline:0;background:transparent;width:100%;font-size:11px;color:var(--ink)}.search-field input::placeholder{color:#a1aaa4}.toolbar-spacer{flex:1}.simple-list{padding:0 16px}.simple-row{display:flex;align-items:center;gap:11px;padding:13px 0;border-bottom:1px solid #eff1ed}.simple-row:last-child{border-bottom:0}.simple-row-main{flex:1;min-width:0}.simple-row-main strong{display:block;font-size:11px;color:#3d4b43}.simple-row-main small{display:block;color:#89948d;font-size:11px;margin-top:3px}.obligation-columns{display:grid;grid-template-columns:1.3fr 1fr 1fr .9fr auto;gap:10px;align-items:center;padding:10px 16px;border-bottom:1px solid #eff1ed;font-size:11px}.obligation-columns.header{background:#f7f8f4;color:#86918b;font-size:11px}.report-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.report-card{padding:17px}.report-card h2{font-size:12px;margin:0 0 5px}.report-card p{font-size:11px;color:#89948d;margin:0}.report-card .button{margin-top:15px}.report-bars{display:flex;align-items:flex-end;gap:10px;height:115px;padding:18px 0 0}.report-bar{flex:1;position:relative;background:#dce9de;border-radius:4px 4px 0 0;min-height:12px}.report-bar:nth-child(2n){background:#aec9b5}.report-bar span{position:absolute;bottom:-17px;left:0;right:0;text-align:center;color:#8b9690;font-size:11px}.integration-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.integration-card{background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:16px}.integration-card-top{display:flex;align-items:flex-start;gap:11px}.integration-icon{width:34px;height:34px;display:grid;place-items:center;background:#e7eee8;color:#32604a;border-radius:9px;flex:none}.integration-icon svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}.integration-heading{flex:1;min-width:0}.integration-heading h2{font-size:12px;margin:2px 0 4px}.integration-category{font-size:11px;text-transform:uppercase;letter-spacing:.8px;color:#859088;font-weight:700}.integration-heading p{font-size:11px;color:#77847c;line-height:1.5;margin:0}.integration-mode{margin-left:auto;font-size:11px;font-weight:700;border-radius:16px;background:#eef0ed;color:#68766d;padding:5px 8px;white-space:nowrap}.integration-mode.demo{background:#f8efdc;color:#90651f}.integration-mode.ready{background:#e8f2ea;color:#3c7855}.integration-mode.pending{background:#f0eee8;color:#84724b}.integration-card-footer{border-top:1px solid #edf0eb;margin-top:14px;padding-top:12px;display:flex;align-items:center;justify-content:space-between;gap:8px}.integration-card-footer small{color:#86918b;font-size:11px;line-height:1.4}.integration-controls{display:flex;gap:6px;flex:none}.toggle-wrap{display:inline-flex;align-items:center;gap:7px;font-size:11px;color:#637168;cursor:pointer}.toggle-wrap input{position:absolute;opacity:0;width:1px;height:1px}.toggle-track{width:29px;height:17px;background:#c7cec8;border-radius:10px;position:relative;transition:background .18s}.toggle-track:after{content:"";position:absolute;width:11px;height:11px;left:3px;top:3px;background:white;border-radius:50%;transition:transform .18s}.toggle-wrap input:checked+.toggle-track{background:#5b886c}.toggle-wrap input:checked+.toggle-track:after{transform:translateX(12px)}.toggle-wrap input:focus-visible+.toggle-track{outline:3px solid #84aa94;outline-offset:2px}.integration-note{border-top:1px solid #edf0eb;margin-top:14px;padding-top:11px;color:#76837b;font-size:11px;line-height:1.5}.integration-note strong{color:#46564c}.integration-event{padding:11px 0;border-bottom:1px solid #eff1ed;display:flex;gap:9px;align-items:flex-start}.integration-event:last-child{border:0}.event-icon{width:22px;height:22px;border-radius:50%;background:#ecf2ed;color:#50755c;display:grid;place-items:center;font-size:11px;flex:none}.event-icon.demo{background:#fbf1df;color:#9b752e}.integration-event strong{display:block;color:#47544c;font-size:11px;font-weight:600}.integration-event small{display:block;color:#89948d;font-size:11px;line-height:1.4;margin-top:3px}.event-time{margin-left:auto;color:#9aa39d;font-size:11px;white-space:nowrap}.settings-grid{display:grid;grid-template-columns:230px minmax(0,1fr);gap:17px}.settings-nav{padding:7px}.settings-nav button{border:0;background:transparent;width:100%;text-align:left;padding:9px 10px;color:#6d7972;font-size:11px;border-radius:6px;cursor:pointer}.settings-nav button.active{background:#eaf0eb;color:#285642;font-weight:700}.settings-body{padding:19px}.settings-body h2{font-size:13px;margin:0 0 6px}.settings-body>p{font-size:11px;color:#87928b;margin:0 0 17px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.field{display:grid;gap:6px}.field label{font-size:11px;font-weight:600;color:#56635b}.field input,.field select{width:100%;border:1px solid #dfe4dd;background:#fffefa;border-radius:7px;padding:9px 10px;color:#334139;font-size:11px}.field input::placeholder{color:#a0aaa3}.field.full{grid-column:1/-1}.empty-state{padding:34px 20px;text-align:center;color:#78847d}.empty-state strong{display:block;color:#405047;font-size:12px}.empty-state p{max-width:390px;margin:7px auto 14px;font-size:11px;line-height:1.55}.empty-state-symbol{width:37px;height:37px;margin:0 auto 11px;display:grid;place-items:center;border-radius:12px;background:#edf2ed;color:#52745d}.empty-state-symbol svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.5}
.toast-region{position:fixed;right:22px;bottom:20px;z-index:60;display:grid;gap:8px}.toast{min-width:260px;max-width:390px;padding:12px 14px;background:#203a31;color:white;border-radius:9px;box-shadow:var(--shadow);font-size:11px;animation:toast-in .2s ease-out}.toast.error{background:#833d32}.toast.warning{background:#79541d}@keyframes toast-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}.app-dialog{border:1px solid var(--line);padding:23px;border-radius:14px;width:min(520px,calc(100vw - 28px));max-height:calc(100vh - 32px);overflow:auto;background:var(--surface);color:var(--ink);box-shadow:var(--shadow)}.app-dialog::backdrop{background:rgba(21,37,30,.35)}.app-dialog form{position:relative}.dialog-close{position:absolute;right:-11px;top:-11px}.app-dialog h2{font:700 18px Manrope,sans-serif;letter-spacing:-.4px;margin:0 38px 5px 0}.app-dialog .dialog-subtitle{margin:0 0 17px;color:#7e8982;font-size:11px;line-height:1.5}.dialog-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:17px}.modal-message{background:#f7f2e6;border-radius:8px;padding:11px;color:#745923;font-size:11px;line-height:1.5;margin:12px 0}.form-error{color:#ad493b;font-size:11px;min-height:14px}
@media(max-width:1120px){.sidebar{width:224px;flex-basis:224px}.topbar{padding:0 24px}.content{padding:25px 24px 50px}.overview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-grid{grid-template-columns:minmax(0,1.4fr) minmax(240px,.9fr)}}
@media(max-width:830px){.sidebar{position:fixed;z-index:30;inset:0 auto 0 0;transform:translateX(-100%);transition:transform .2s ease;box-shadow:none}.sidebar.open{transform:translateX(0);box-shadow:var(--shadow)}.mobile-menu{display:grid}.topbar{padding:0 18px;justify-content:flex-start;gap:10px}.topbar-actions{margin-left:auto;gap:6px}.breadcrumbs span:first-child,.crumb-separator{display:none}.period-button span{display:none}.period-button{padding:8px}.content{padding:23px 18px 40px}.dashboard-grid,.section-layout{grid-template-columns:1fr}.integration-grid{grid-template-columns:1fr}.integration-strip{align-items:flex-start;flex-wrap:wrap}.integration-statuses{margin-left:0;width:100%;padding-left:0;flex-wrap:wrap}.settings-grid{grid-template-columns:1fr}.settings-nav{display:flex;overflow-x:auto}.settings-nav button{white-space:nowrap;width:auto}}
@media(max-width:560px){.topbar{height:58px;padding:0 11px}.role-switch-label{display:none}.role-switch{padding:7px 22px 7px 8px;font-size:11px}.notification-button{display:none}.avatar-button{width:28px;height:28px}.content{padding:20px 12px 36px}.page-header{display:block;margin-bottom:17px}.page-header h1{font-size:22px}.page-header p{font-size:11px}.header-actions{margin-top:13px;flex-wrap:wrap}.overview-grid{gap:8px}.metric-card{padding:12px;min-height:103px}.metric-value{font-size:21px}.metric-top{font-size:11px}.metric-foot{font-size:11px}.dashboard-grid{gap:10px}.panel-header{padding:13px 12px 10px}.data-table th:first-child,.data-table td:first-child{padding-left:12px}.data-table thead th,.data-table tbody td{padding-right:9px;padding-left:9px}.company-name{font-size:11px}.data-table tbody td{font-size:11px}.deadline-list{padding:0 12px 5px}.integration-strip{padding:13px}.report-grid{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr}.field.full{grid-column:auto}.obligation-columns{grid-template-columns:1.2fr .9fr auto;gap:7px}.obligation-columns>*:nth-child(2),.obligation-columns>*:nth-child(4){display:none}.demo-banner{align-items:flex-start}.demo-banner .banner-tag{margin-left:auto}.topbar-actions{gap:4px}.period-button{display:none}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
/* Secondary labels stay readable on the pale shell and panel surfaces. */
:root{--muted:#4f5e55;--faint:#56645c;--amber:#815214}
.nav-label,.role-switch-label,.breadcrumbs,.workspace-copy small,.profile-copy small,.brand small,.metric-top,.metric-foot,.panel-header p,.data-table thead th,.company-rfc,.deadline-copy small,.deadline-amount,.panel-footer,.search-field,.search-field input::placeholder,.integration-heading p,.integration-category,.integration-card-footer small,.integration-note,.section-toolbar .company-rfc,.settings-nav button,.settings-body>p,.simple-row-main small,.empty-state,.empty-state p,.date-tile,.event-time{color:#536159}
.date-tile strong,.deadline-copy strong,.company-name,.panel-header h2,.integration-heading h2,.settings-body h2,.report-card h2,.simple-row-main strong{color:#2d3d35}
.nav-count{color:#536159}
.row-action svg{width:15px;height:15px;fill:currentColor;stroke:none}

/* Descriptive copy remains comfortable to read across dashboard sections. */
.page-header p,.help-card p,.demo-banner,.panel-header p,.report-card p,.integration-heading p,.integration-note,.settings-body>p,.empty-state p,.app-dialog .dialog-subtitle,.modal-message{font-size:14px}

/* Keep compact controls and colored labels comfortably inset. */
.role-switch,.button-small,.select-small,.search-field{padding-top:8px;padding-bottom:8px}
.status-pill,.nav-count,.banner-tag{padding:8px}
.date-tile{padding:8px}
.integration-strip p{font-size:14px}
.integration-mode{padding-top:8px;padding-bottom:8px}
.journal-line{border:1px solid #e0e5de;border-radius:8px;padding:12px;background:#fafbf8;margin-bottom:10px}
.journal-line .field{min-width:0}
.field textarea{width:100%;border:1px solid #dfe4dd;background:#fffefa;border-radius:7px;padding:9px 10px;color:#334139;font:inherit;resize:vertical}
.field textarea:focus-visible{outline:3px solid #84aa94;outline-offset:2px}
[data-admin-plan] input[type=number]{width:100%;min-width:90px;border:1px solid #dfe4dd;border-radius:6px;padding:8px;color:#334139;font:inherit}
.rule-review{display:grid;grid-template-columns:minmax(130px,1fr) auto auto;gap:6px;min-width:320px}
.rule-review input{min-width:0;border:1px solid #dfe4dd;border-radius:6px;padding:8px;font:inherit}
.data-table tfoot th{background:#f7f8f4;padding:11px 12px;border-top:1px solid var(--line);color:#33423b;text-align:left}
@media(max-width:830px){.rule-review{grid-template-columns:1fr 1fr;min-width:0}.rule-review input{grid-column:1/-1}}
@media(max-width:560px){
  .section-toolbar{flex-wrap:wrap;gap:8px}
  .section-toolbar .search-field{min-width:0;flex:1 1 100%;width:100%}
  .section-toolbar .select-small{max-width:100%}
  .section-toolbar .toolbar-spacer{display:none}
  .table-wrap{width:100%;max-width:100%;min-width:0;overflow-x:auto;overscroll-behavior-x:contain}
  .data-table{min-width:620px}
}
@media(max-width:560px){
  body{min-width:0}
  .panel-footer{flex-wrap:wrap;align-items:flex-start;gap:6px}
  .panel-footer>*{min-width:0;max-width:100%}
  .panel-footer span{white-space:normal}
}
