:root {
  --ink:#202522; --muted:#818884; --subtle:#a2a7a2; --line:#eae9e5;
  --paper:#f6f5f2; --white:#fff; --sidebar:#080808; --sidebar-muted:#9ba29f;
  --accent:#ff6633; --accent-dark:#e95424; --accent-ink:#a8461e; --accent-soft:#fff0e9;
  --green:#55886b; --green-soft:#edf5ef; --blue:#6587a0; --blue-soft:#edf3f7;
  --lilac:#8278a9; --lilac-soft:#f1eff7; --amber:#ac8449; --amber-soft:#f8f3e9;
  --red:#b6665d; --red-soft:#fbefed; --radius:12px;
  font-family:"DM Sans",Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
  color:var(--ink); background:var(--paper); font-synthesis:none; text-rendering:optimizeLegibility;
}
*{box-sizing:border-box}
*:focus-visible{outline:2px solid #c85a35;outline-offset:2px}
body{margin:0;min-width:320px;min-height:100vh;background:var(--paper);font-size:12px}
button,input,select{font:inherit}
button{color:inherit}
svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.symbols{position:absolute;width:0;height:0;overflow:hidden}
.app-shell{min-height:100vh}
.sidebar{width:248px;position:fixed;inset:0 auto 0 0;z-index:30;display:flex;flex-direction:column;padding:22px 14px 13px;background:var(--sidebar);color:#f2f4f1}
.brand{height:36px;display:flex;align-items:center;padding:0 9px;color:white;text-decoration:none}
.brand-logo{display:block;width:151px;height:auto}
.brand-symbol{display:none}
.workspace-context{height:53px;margin:23px 0 18px;padding:0 10px;border:1px solid #252525;border-radius:9px;display:flex;align-items:center;gap:9px;background:#111}
.workspace-mark{width:28px;height:28px;flex:none;display:grid;place-items:center;border-radius:7px;background:#2d160e;color:#ff936e}
.workspace-mark svg{width:14px;height:14px}
.workspace-context>span:nth-child(2){display:flex;min-width:0;flex:1;flex-direction:column;gap:3px}
.workspace-context b{font-size:14px;font-weight:600;white-space:nowrap}
.workspace-context small{font-size:12px;color:#a2aaa6}
.side-nav{display:flex;flex:1;flex-direction:column;gap:3px;overflow:auto;scrollbar-width:thin;scrollbar-color:#414846 transparent}
.nav-caption{margin:6px 10px 4px;color:#7f8985;font-size:12px;letter-spacing:.13em;font-weight:700}
.nav-caption.nav-spaced{margin-top:19px}
.nav-item{height:36px;min-height:36px;width:100%;display:flex;align-items:center;gap:11px;padding:0 10px;border:0;border-radius:8px;background:transparent;color:#b4bbb7;text-align:left;cursor:pointer;transition:background .15s,color .15s}
.nav-item svg{width:16px;height:16px;flex:none;color:#909995}
.nav-item span{font-size:14px;font-weight:500}
.nav-item:hover{background:#171717;color:#fff}
.nav-item.active{background:#202020;color:#fff;box-shadow:inset 2px 0 var(--accent)}
.nav-item.active svg{color:#ff9b76}
.nav-badge{margin-left:auto;min-width:20px;text-align:center;border-radius:10px;padding:2px 6px;background:#332018;color:#ffb197;font-style:normal;font-size:12px}
.nav-badge.quiet{background:#353d39;color:#aab1ad}
.sidebar-bottom{padding-top:13px}
.prototype-state{display:flex;align-items:center;gap:9px;padding:10px 11px;margin-bottom:8px;background:#111;border:1px solid #252525;border-radius:8px}
.prototype-state>i{width:7px;height:7px;border-radius:50%;background:#daa35c;box-shadow:0 0 0 3px #daa35c22}
.prototype-state span{display:flex;flex-direction:column;gap:3px}
.prototype-state b{font-size:13px;font-weight:600}
.prototype-state small{font-size:12px;color:#a3aca7}
.help-link{width:100%;height:34px;display:flex;align-items:center;gap:8px;padding:0 8px;border:0;background:transparent;color:#aeb5b1;text-align:left;font-size:12px;cursor:pointer}
.help-link>svg{margin-left:auto;width:13px;height:13px;color:#7e8883}
.help-dot{width:16px;height:16px;display:grid;place-items:center;border:1px solid #67716c;border-radius:50%;font-size:13px}
.side-footer{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #3a403e;padding:12px 8px 1px;margin-top:7px;color:#919a95;font-size:12px}
.side-footer button{border:0;background:none;color:#8e9792;padding:2px}
.side-footer svg{width:15px;height:15px}
.main-column{min-height:100vh;margin-left:248px}
.topbar{height:57px;position:sticky;top:0;z-index:15;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(20px,3vw,43px);border-bottom:1px solid #e9e8e4;background:#f8f7f5ed;backdrop-filter:blur(12px)}
.breadcrumb{display:flex;align-items:center;gap:8px;color:#9a9f9b;font-size:13px}
.breadcrumb svg{width:12px;height:12px;color:#c0c3bf}
.breadcrumb b{color:#515753;font-weight:600}
.topbar-actions{display:flex;align-items:center;gap:15px}
.global-search,.table-search{height:31px;display:flex;align-items:center;gap:7px;border:1px solid #e8e7e2;border-radius:7px;padding:0 8px;background:#fff;color:#999f9a}
.global-search{width:210px}
.global-search svg,.table-search svg{width:14px;height:14px;flex:none}
.global-search input,.table-search input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:#434945;font-size:13px}
.global-search input::placeholder,.table-search input::placeholder{color:#a4a9a4}
kbd{white-space:nowrap;padding:2px 4px;border:1px solid #ededea;border-radius:4px;background:#fafaf9;color:#a5aaa6;font:12px "DM Sans",sans-serif}
.top-divider{height:21px;width:1px;background:#e5e4df}
.today-label{white-space:nowrap;color:#828883;font-size:13px}
.icon-button,.round-link{width:30px;height:30px;display:grid;place-items:center;border:1px solid #e9e8e4;border-radius:8px;background:#fff;color:#737a75;cursor:pointer}
.icon-button svg{width:15px;height:15px}
.notification-button{position:relative}
.notification-button>i{position:absolute;top:6px;right:6px;width:5px;height:5px;border:1px solid white;border-radius:50%;background:var(--accent)}
.user-identity{display:flex;align-items:center;gap:8px;min-width:0;color:#626a65}
.user-identity[hidden]{display:none}
.user-avatar{width:29px;height:29px;flex:none;display:grid;place-items:center;border:1px solid #e8e7e2;border-radius:50%;background:#eeefeb;color:#59615c;font-size:10px;font-weight:700;letter-spacing:.02em}
.user-name{max-width:168px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:600}
#content{max-width:1650px;margin:0 auto;padding:30px clamp(20px,3vw,43px) 0}
.runtime-connection-alert{display:flex;align-items:center;gap:12px;margin-bottom:14px;padding:10px 12px;border:1px solid #edd3ce;border-radius:8px;background:#fff7f5;color:#875b53;font-size:12px;line-height:1.45}
.runtime-connection-alert[hidden]{display:none}
.runtime-connection-alert>span{min-width:0;flex:1}
.runtime-connection-alert b{color:#9a4e44}
.runtime-connection-alert button{flex:none}
.hub-refresh-notice{margin:0 0 14px;padding:10px 12px;border:1px solid #deddd4;border-radius:8px;background:#faf9f3;color:#68654e;font-size:12px;line-height:1.45}
.hub-refresh-notice[hidden]{display:none}
.view[hidden]{display:none!important}
.page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:19px}
.page-heading .eyebrow{margin:0 0 7px}
.page-heading h1{margin:0 0 7px;font:600 clamp(24px,2.1vw,30px)/1.13 Manrope,"DM Sans",sans-serif;letter-spacing:-.045em;color:#232825}
.intro{max-width:720px;margin:0;color:#858b87;font-size:14px;line-height:1.5}
.eyebrow{color:#a2a7a2;font-size:11px;font-weight:700;letter-spacing:.14em}
.heading-actions{display:flex;align-items:center;gap:8px}
.primary,.secondary,.period-chip,.select-chip{height:33px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 11px;border:1px solid transparent;border-radius:7px;font-size:13px;font-weight:600;white-space:nowrap}
.primary{background:var(--accent);color:#fff;cursor:pointer;box-shadow:0 2px 4px #ff663322}
.primary:hover{background:var(--accent-dark)}
.primary svg,.secondary svg{width:14px;height:14px}
.secondary{border-color:#e7e6e1;background:#fff;color:#666e69;cursor:pointer}
.secondary:disabled{opacity:.75;cursor:not-allowed}
.period-chip,.select-chip{border-color:#e9e8e3;background:#fff;color:#6e756f}
.period-chip i{width:6px;height:6px;border-radius:50%;background:#d39c55}
.select-chip{cursor:pointer}
.select-chip span{color:#a8ada8;font-size:13px;margin-left:3px}
.static-chip{cursor:default}
.demo-banner,.info-banner,.finance-disclaimer{min-height:39px;display:flex;align-items:center;gap:9px;margin-bottom:13px;padding:8px 12px;border:1px solid #eddfd5;border-radius:8px;background:#fffaf6;color:#846c5c;font-size:12px}
.demo-banner>div,.info-banner>span:nth-child(2),.finance-disclaimer>div{line-height:1.45}
.demo-banner b,.finance-disclaimer b{color:#735b4d;font-size:12px}
.demo-symbol{width:15px;height:15px;flex:none;display:grid;place-items:center;border:1px solid #d9ad97;border-radius:50%;color:#b06b4e;font:600 10px Georgia}
.demo-banner button{margin-left:auto;display:inline-flex;align-items:center;gap:5px;border:0;background:none;color:var(--accent-ink);font-size:12px;cursor:pointer;white-space:nowrap}
.demo-banner button svg{width:12px;height:12px}
.demo-banner>em,.info-banner>em,.finance-disclaimer>em{margin-left:auto;padding:3px 6px;border:1px solid #f0e8e1;border-radius:4px;background:#fff;color:#aa8c78;font-style:normal;font-size:10px;font-weight:700;letter-spacing:.09em;white-space:nowrap}
.info-banner{border-color:#e9e8e2;background:#faf9f6;color:#828883}
.info-banner .info-dot{width:6px;height:6px;border-radius:50%;background:#d19b56}
.info-banner>em{border-color:#eeece8;background:#fff;color:#9c9f9b}
.finance-disclaimer{border-color:#f0ded7;background:#fff8f6;color:#86655b}
.finance-disclaimer b{color:#844d40}
.finance-disclaimer .demo-symbol{border-color:#ddaaa0;color:#b16156}
.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;margin-bottom:13px}
.compact-metrics{margin-top:13px}
.metric-card{min-width:0;min-height:107px;padding:13px 14px 11px;border:1px solid var(--line);border-radius:10px;background:#fff;box-shadow:0 2px 5px #252c2405}
.metric-top{display:flex;align-items:center;justify-content:space-between;color:#747c76;font-size:12px;font-weight:500}
.metric-icon{width:27px;height:27px;display:grid;place-items:center;border-radius:8px;background:#f3f3f0;color:#737b75}
.metric-icon svg{width:14px;height:14px}
.metric-icon.orange,.activity-icon.peach,.org-symbol.orange{background:var(--accent-soft);color:var(--accent-ink)}
.metric-icon.lilac,.activity-icon.lilac,.org-symbol.lilac{background:var(--lilac-soft);color:var(--lilac)}
.metric-icon.green,.activity-icon.green,.org-symbol.green{background:var(--green-soft);color:var(--green)}
.metric-icon.blue,.activity-icon.blue,.org-symbol.blue{background:var(--blue-soft);color:var(--blue)}
.metric-icon.amber{background:var(--amber-soft);color:var(--amber)}
.metric-icon.red{background:var(--red-soft);color:var(--red)}
.metric-card>strong{display:block;margin:7px 0 4px;color:#292f2b;font:600 24px/1.05 Manrope,sans-serif;letter-spacing:-.05em}
.compact-metrics .metric-card>strong{font-size:22px}
.metric-bottom{display:flex;align-items:center;gap:6px;min-height:12px;color:#969c97;font-size:11px}
.metric-bottom em{margin-left:auto;padding:2px 4px;border-radius:3px;background:#f6f4f0;color:#9ca09c;font-style:normal;font-size:10px;letter-spacing:.07em}
.metric-note{display:flex;align-items:center;gap:5px;min-width:0}
.financial-period-form{display:flex;align-items:flex-end;gap:10px;margin:0 0 13px;padding:14px;border:1px solid var(--line);border-radius:10px;background:#fff}
.financial-period-form label{display:flex;flex-direction:column;gap:6px;min-width:150px;color:#747c76;font-size:12px;font-weight:500}
.financial-period-form input{min-height:38px;padding:8px 10px;border:1px solid var(--line);border-radius:7px;background:#fff;color:#343a36;font:inherit}
.financial-period-form button{min-height:38px}
.financial-period-form small{align-self:center;color:#858c86;font-size:11px}
.financial-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.financial-chart{margin:0 0 12px;padding:0;overflow:hidden}
.financial-chart-caption{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 15px 0}
.financial-chart-caption .eyebrow{margin:0 0 4px}
.financial-chart-caption h2{margin:0;color:#343a36;font:600 13px/1.3 Manrope,"DM Sans",sans-serif;letter-spacing:-.02em}
.financial-chart-caption>span{padding:4px 7px;border:1px solid var(--line);border-radius:5px;color:#7e857f;font-size:10px;font-weight:600}
.financial-chart-wrap{position:relative;height:235px;padding:6px 14px 13px}
.financial-chart-wrap canvas{display:block;width:100%!important;height:100%!important}
.financial-chart-wrap canvas[hidden],.financial-chart-fallback[hidden]{display:none!important}
.financial-chart-fallback{position:absolute;inset:8px 14px 14px;display:grid;place-items:center;margin:0;border:1px dashed #e4e2dc;border-radius:7px;color:#858c86;text-align:center;font-size:12px}
.financial-report-meta{margin:0 0 13px;color:#858c86;font-size:11px;line-height:1.5}
.finance-planning{margin:15px 0}
.finance-planning-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin:0 0 10px}
.finance-planning-heading .eyebrow{margin:0 0 4px}
.finance-planning-heading h2{margin:0;color:#343a36;font:600 15px/1.3 Manrope,"DM Sans",sans-serif;letter-spacing:-.02em}
.finance-planning-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
.finance-planning-card{min-width:0;min-height:164px;display:flex;flex-direction:column;padding:12px;border:1px solid var(--line);border-radius:9px;background:#fff}
.finance-planning-card-top{display:flex;align-items:center;justify-content:space-between;gap:6px}
.finance-planning-card-top .metric-icon{flex:none}
.finance-plan-state{max-width:calc(100% - 34px);padding:4px 6px;border-radius:5px;background:var(--amber-soft);color:#987544;font-size:10px;font-weight:600;white-space:nowrap}
.finance-planning-card h3{margin:12px 0 5px;color:#454c47;font:600 13px/1.3 Manrope,"DM Sans",sans-serif}
.finance-planning-card p{flex:1;margin:0;color:#818983;font-size:11px;line-height:1.5}
.finance-planning-card>small{display:block;padding-top:9px;margin-top:10px;border-top:1px solid #f0efec;color:#969d97;font-size:10px;line-height:1.45}
.finance-planning-note{margin:9px 1px 0;color:#858c86;font-size:11px;line-height:1.5}
.status-dot{display:inline-block;width:6px;height:6px;flex:none;border-radius:50%;background:#adb2ad}
.status-dot.green{background:#6a9a7d}.status-dot.amber{background:#c79b51}.status-dot.orange{background:var(--accent)}.status-dot.blue-dot{background:#79a1bd}
.trend{margin-left:auto;font-style:normal;color:var(--green);font-size:11px}
.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(300px,.92fr);gap:12px}
.dashboard-top{margin-bottom:12px}
.dashboard-bottom{grid-template-columns:minmax(0,1.55fr) minmax(300px,.92fr);margin-bottom:12px}
.dashboard-last{grid-template-columns:minmax(0,1.35fr) minmax(300px,1fr)}
.panel{min-width:0;border:1px solid var(--line);border-radius:10px;background:#fff;box-shadow:0 2px 6px #252c2405;overflow:hidden}
.panel-heading{min-height:62px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 15px 10px}
.panel-heading .eyebrow{margin:0 0 4px}
.panel-heading h2{margin:0;color:#343a36;font:600 12px/1.3 Manrope,"DM Sans",sans-serif;letter-spacing:-.02em}
.text-link,.inline-arrow{display:inline-flex;align-items:center;gap:5px;padding:4px 0;border:0;background:none;color:#888f8a;font-size:12px;cursor:pointer;white-space:nowrap}
.text-link:hover,.inline-arrow:hover{color:var(--accent)}
.text-link svg,.inline-arrow svg{width:12px;height:12px}
.round-link{width:26px;height:26px;border-radius:50%;background:#faf9f7;color:#868d87}
.round-link svg{width:12px;height:12px}
.panel-foot{min-height:33px;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 15px;border-top:1px solid #f0efec;color:#a0a5a1;font-size:11px}
.panel-foot>span:first-child{display:flex;align-items:center;gap:5px}
.attention-list{padding:0 15px}
.attention-row{min-height:57px;display:flex;align-items:center;gap:9px;border-top:1px solid #f0efec}
.attention-mark{width:26px;height:26px;flex:none;display:grid;place-items:center;border-radius:7px;background:var(--accent-soft);color:var(--accent-ink);font:700 12px Manrope}
.attention-mark.amber{background:var(--amber-soft);color:var(--amber)}
.attention-mark.blue{background:var(--blue-soft);color:var(--blue)}
.attention-copy{min-width:0;flex:1;display:flex;flex-direction:column;gap:4px}
.attention-copy b{overflow:hidden;color:#454b47;font-size:12px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}
.attention-copy small{overflow:hidden;color:#9da29e;font-size:11px;text-overflow:ellipsis;white-space:nowrap}
.attention-meta{display:flex;flex-direction:column;align-items:flex-end;gap:4px;color:#979d98;font-size:11px;white-space:nowrap}
.attention-meta em{color:var(--accent-ink);font-style:normal}
.overview-widgets{align-items:start;margin:12px 0}
.overview-widgets>.panel{min-height:100%}
.overview-source-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;padding:1px;background:#f0efec}
.overview-source-card{min-width:0;min-height:64px;display:flex;align-items:center;gap:9px;padding:9px;border:0;background:#fff;color:inherit;text-align:left;cursor:pointer;transition:background .15s}
.overview-source-card:hover{background:#faf9f7}
.overview-source-card:focus-visible{position:relative;z-index:1;outline:2px solid var(--accent);outline-offset:-2px}
.overview-source-mark{width:29px;height:29px;flex:none;display:grid;place-items:center;border-radius:8px;background:#f1f2ef;color:#6b756e;font-size:9px;font-weight:700}
.overview-source-mark.outlook{background:#edf3f9;color:#4b78a4}.overview-source-mark.sharepoint{background:#eaf1f7;color:#547fa0}.overview-source-mark.erpnext{background:#eaf4ee;color:#47775a}.overview-source-mark.datev{background:#f8edf1;color:#98485f}.overview-source-mark.openai{background:#f2edf8;color:#77639a}
.overview-source-copy{min-width:0;display:flex;flex-direction:column;gap:5px}
.overview-source-copy>b{overflow:hidden;color:#505851;font-size:11px;text-overflow:ellipsis;white-space:nowrap}
.overview-source-copy>small{display:flex;align-items:center;gap:4px;color:#9ba19c;font-size:9px;line-height:1.3}
.overview-source-copy>small i{width:5px;height:5px;flex:none;border-radius:50%;background:#c3a05e}
.overview-source-copy>small.connected{color:#56846a}.overview-source-copy>small.connected i{background:#4f9a69}
.overview-source-copy>small.configured{color:#987544}
.overview-source-copy>small.disconnected{color:#929993}
.overview-source-copy>.source-sync-note{display:block;color:#a0a59f;font-size:8px;line-height:1.35}
.finance-summary{display:flex;align-items:flex-end;justify-content:space-between;padding:0 16px 2px}
.finance-summary>div:first-child{display:flex;flex-direction:column;gap:3px}
.finance-summary strong{font:600 20px Manrope,sans-serif;letter-spacing:-.05em}
.finance-summary small{color:#9ba19c;font-size:11px}
.finance-delta{text-align:right}
.finance-delta b{display:block;color:var(--green);font-size:14px}
.finance-delta small{font-size:11px}
.chart-wrap{height:137px;position:relative;margin:7px 12px 0 12px}
.chart-fallback{position:absolute;inset:0;display:grid;place-items:center;color:#a6aba7;font-size:12px}
.chart-wrap.chart-ready .chart-fallback{display:none}
.finance-panel>.panel-foot{margin-top:1px}
.table-wrap{width:100%;overflow:auto}
table{width:100%;min-width:700px;border-collapse:collapse}
thead{background:#faf9f7}
th{padding:9px 11px;border-top:1px solid #f0efec;border-bottom:1px solid #eeede9;color:#a0a6a1;text-align:left;font-size:10px;font-weight:700;letter-spacing:.1em;white-space:nowrap}
td{padding:10px 11px;border-bottom:1px solid #f0efec;color:#767e78;font-size:11px;white-space:nowrap}
tbody tr:last-child td{border-bottom:0}
td b{color:#4c534e;font-size:12px;font-weight:600}
td small{display:block;margin-top:3px;color:#a2a7a3;font-size:10px}
.company-name{color:#404742}
.matter-stage,.table-tag,.billing-state,.check-pending{display:inline-flex;align-items:center;padding:3px 6px;border-radius:4px;font-size:10px;font-style:normal;font-weight:600}
.stage-orange{background:var(--accent-soft);color:var(--accent-ink)}.stage-blue{background:var(--blue-soft);color:#688ba4}.stage-lilac{background:var(--lilac-soft);color:#7c73a2}.stage-gray{background:#f0f1ef;color:#7e8580}.stage-amber{background:var(--amber-soft);color:#9d7844}
.row-arrow{width:22px;height:22px;display:grid;place-items:center;border:0;background:transparent;color:#b2b7b2;cursor:pointer}
.row-arrow svg{width:13px;height:13px}
.row-arrow:hover{color:var(--accent)}
.receivable-total{display:flex;align-items:center;justify-content:space-between;padding:0 15px 13px}
.receivable-total>div{display:flex;flex-direction:column;gap:5px}
.receivable-total small{color:#9da39e;font-size:11px}
.receivable-total strong{font:600 18px Manrope;letter-spacing:-.04em}
.pill-soft{padding:4px 7px;border-radius:5px;font-size:10px;font-style:normal;font-weight:600;white-space:nowrap}
.pill-soft.warning{background:var(--amber-soft);color:#9c7846}
.pill-soft.neutral{background:#f2f2ef;color:#858c86}
.aging-list{padding:0 15px 12px}
.aging-list>div{display:grid;grid-template-columns:78px minmax(35px,1fr) 44px;align-items:center;gap:8px;margin:11px 0;color:#969c97;font-size:11px}
.aging-list>div>i{height:5px;border-radius:5px;background:#f0efec;overflow:hidden}
.aging-list>div>i>b{display:block;height:100%;border-radius:5px;background:#74967f}
.aging-list>div>i>b.bar-amber{background:#c7a363}.aging-list>div>i>b.bar-red{background:#c2776f}
.aging-list strong{color:#666e68;text-align:right;font-size:11px;font-weight:600}
.stage-flow{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:8px 15px 14px}
.stage-flow>div>span{display:flex;justify-content:space-between;color:#7f8781;font-size:11px}
.stage-flow>div>span b{color:#4a514b;font-size:13px}
.stage-flow>div>i{height:5px;display:block;margin:8px 0 5px;border-radius:5px;background:#f0efec;overflow:hidden}
.stage-flow>div>i>b{height:100%;display:block;border-radius:5px;background:var(--accent)}
.stage-flow .stage-lilac{background:#988eb7}.stage-flow .stage-blue{background:#84a1b5}.stage-flow .stage-green{background:#73977e}
.stage-flow small{color:#a1a6a2;font-size:10px}
.activity-row{min-height:49px;display:flex;align-items:center;gap:9px;padding:0 14px;border-top:1px solid #f0efec}
.activity-icon{width:25px;height:25px;display:grid;place-items:center;border-radius:7px}
.activity-icon svg{width:13px;height:13px}
.activity-row>div{min-width:0;flex:1;display:flex;flex-direction:column;gap:3px}
.activity-row b{overflow:hidden;color:#545b55;font-size:11px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}
.activity-row small{overflow:hidden;color:#a0a5a0;font-size:10px;text-overflow:ellipsis;white-space:nowrap}
.activity-row time{color:#a0a6a1;font-size:10px}
.split-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:12px}
.table-panel{margin-top:12px}
.table-tools{display:flex;align-items:center;gap:7px}
.table-search{width:190px;height:29px}
.table-tools select{height:29px;max-width:150px;padding:0 9px;border:1px solid #e8e7e2;border-radius:7px;background:white;color:#777e78;font-size:12px}
.table-panel>.panel-foot{margin-top:0}
.lifecycle{display:flex;align-items:center;padding:10px 14px 16px}
.lifecycle>div{min-width:0;display:flex;flex:1;flex-direction:column;align-items:center;text-align:center}
.lifecycle>div>b{width:22px;height:22px;display:grid;place-items:center;margin-bottom:6px;border-radius:50%;background:var(--accent-soft);color:#b76141;font-size:11px}
.lifecycle>div>span{color:#565e58;font-size:11px;font-weight:600}
.lifecycle>div>small{max-width:100px;margin-top:4px;color:#9ca29d;font-size:10px;line-height:1.4}
.lifecycle>i{width:8%;height:1px;margin:0 4px 37px;background:#e7e5df}
.checklist-row{min-height:37px;display:flex;align-items:center;gap:7px;padding:0 14px;border-top:1px solid #f0efec;color:#68706a;font-size:11px}
.checklist-row>b{margin-left:auto;color:#a1774d;font-size:10px;font-weight:500}
.check-ring{width:13px;height:13px;border:1px solid #d4b38f;border-radius:50%}
.client-matter{color:#707871;font-size:11px}
.check-pending{background:var(--amber-soft);color:#9a7947}
.record-state{display:inline-flex;align-items:center;gap:5px;color:#989f99;font-size:10px}
.record-state i{width:5px;height:5px;border-radius:50%;background:#c7a15e}
.data-fields{padding:0 14px 12px}
.data-fields>div{display:flex;flex-direction:column;gap:3px;padding:9px 0;border-top:1px solid #f0efec}
.data-fields small{color:#a1a7a2;font-size:10px}
.data-fields b{color:#626a64;font-size:11px;font-weight:500}
.numbered-list{margin:0;padding:0 16px 12px;list-style:none;counter-reset:steps}
.numbered-list li{display:grid;grid-template-columns:1fr;gap:3px;padding:9px 0;border-top:1px solid #f0efec;counter-increment:steps}
.numbered-list li:before{content:counter(steps,decimal-leading-zero);float:left;color:#c47554;font-size:10px;font-weight:700}
.numbered-list li b{padding-left:25px;color:#535b55;font-size:11px}
.numbered-list li span{padding-left:25px;color:#a0a6a1;font-size:10px}
.task-table{padding:0 14px}
.task-row{min-height:55px;display:flex;align-items:center;gap:9px;border-top:1px solid #f0efec}
.task-check{width:14px;height:14px;flex:none;border:1px solid #d7d9d4;border-radius:4px}
.task-copy{display:flex;min-width:0;flex:1;flex-direction:column;gap:4px}
.task-copy b{overflow:hidden;color:#4b534d;font-size:12px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}
.task-copy small{overflow:hidden;color:#a0a6a0;font-size:10px;text-overflow:ellipsis;white-space:nowrap}
.task-copy small i{font-style:normal;color:#d0d1cc;margin:0 3px}
.priority-label{color:#939a94;font-size:10px}
.priority-high{color:#b26048}
.task-row time{min-width:47px;text-align:right;color:#919892;font-size:11px}
.task-state{min-width:70px;padding:4px 5px;border-radius:4px;text-align:center;font-size:10px;font-style:normal}
.task-state-button,.task-history-button{margin:2px 3px 2px 0;padding:5px 7px;border:1px solid #e8e7e2;border-radius:5px;background:#fff;color:#59645b;font-size:11px;cursor:pointer}
.task-state-button:hover,.task-history-button:hover{border-color:#c8d7cc;background:#f7faf7}
.task-history{margin-top:4px;color:#66716a;font-size:11px}
.task-history summary{cursor:pointer;white-space:nowrap}
.task-history-entry{display:grid;gap:2px;margin-top:5px;padding:6px;border-left:2px solid #d8e5dc;background:#fafbf9}
.task-history-entry small{color:#8a918c}
.task-review{background:var(--amber-soft);color:#a07d47}.task-progress{background:var(--blue-soft);color:#6588a2}.task-waiting{background:#f3f1eb;color:#91886f}.task-new{background:#f0f1ef;color:#7d847e}
.term-line{min-height:51px;display:flex;align-items:center;gap:9px;padding:0 14px;border-top:1px solid #f0efec}
.term-badge{width:23px;height:23px;display:grid;place-items:center;border-radius:6px;font-size:12px;font-weight:700}
.term-badge.legal{background:var(--lilac-soft);color:var(--lilac)}.term-badge.deal{background:var(--blue-soft);color:var(--blue)}.term-badge.admin{background:var(--green-soft);color:var(--green)}
.term-line>div{display:flex;min-width:0;flex:1;flex-direction:column;gap:4px}
.term-line b{color:#5c645e;font-size:11px}.term-line small{color:#a0a6a0;font-size:10px}
.term-line>.status-dot{margin-left:auto}
.audit-entry{min-height:48px;display:flex;align-items:center;gap:9px;padding:0 14px;border-top:1px solid #f0efec}
.audit-entry>span{width:7px;height:7px;flex:none;border:1px solid #d38d6c;border-radius:50%;background:#fff6f1}
.audit-entry>div{display:flex;min-width:0;flex:1;flex-direction:column;gap:4px}
.audit-entry b{color:#5b635d;font-size:11px}.audit-entry small{color:#a0a6a1;font-size:10px}
.audit-entry time{color:#9ca29d;font-size:10px}
.calendar-panel{margin-top:13px}
.calendar-controls{display:flex;align-items:center;gap:6px}
.calendar-controls .round-link{height:27px;width:27px;font-size:15px}
.week-strip{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));padding:10px 15px;border-top:1px solid #f0efec;border-bottom:1px solid #f0efec;background:#fbfaf8}
.week-strip>div{display:flex;flex-direction:column;align-items:center;gap:4px;padding:5px 0}
.week-strip small{color:#a4aaa5;font-size:10px;letter-spacing:.08em}
.week-strip b{width:24px;height:24px;display:grid;place-items:center;border-radius:50%;color:#737a74;font-size:12px;font-weight:500}
.week-strip .selected b{background:var(--accent);color:#fff}
.week-strip .selected small{color:#bd6c4e}
.calendar-agenda{padding:9px 16px 16px}
.agenda-date{display:flex;align-items:center;justify-content:space-between;padding:13px 0 8px;color:#777e78}
.agenda-date b{font-size:11px;letter-spacing:.09em}.agenda-date span{color:#a2a8a2;font-size:10px}
.calendar-event{min-height:58px;display:grid;grid-template-columns:44px 3px minmax(0,1fr) auto;align-items:center;gap:11px;border-top:1px solid #f1f0ed}
.calendar-event time{color:#929993;font-size:11px}
.event-bar{height:35px;border-radius:5px;background:#a8aaa5}
.orange-bar{background:#cf7958}.blue-bar{background:#7e9cb2}.lilac-bar{background:#9489b4}.gray-bar{background:#9da39f}
.calendar-event>div{display:flex;flex-direction:column;gap:4px}
.calendar-event b{color:#555d57;font-size:12px}.calendar-event small{color:#9fa59f;font-size:11px}
.event-type{padding:3px 5px;border-radius:4px;background:#f4f3f0;color:#979d98;font-size:10px;letter-spacing:.05em}
.next-date{padding-top:20px}
.horizontal-bars,.profit-bars{padding:2px 15px 14px}
.horizontal-bars>div,.profit-bars>div{display:grid;grid-template-columns:140px minmax(40px,1fr) 42px;align-items:center;gap:9px;margin:17px 0;color:#7d857e;font-size:11px}
.horizontal-bars>div>i,.profit-bars>div>i{height:7px;border-radius:6px;background:#f0efec;overflow:hidden}
.horizontal-bars>div>i>b,.profit-bars>div>i>b{height:100%;display:block;border-radius:6px;background:#c87654}
.horizontal-bars .bar-lilac,.profit-bars .bar-lilac{background:#958bb5}.horizontal-bars .bar-blue,.profit-bars .bar-blue{background:#86a2b7}.horizontal-bars .bar-gray{background:#a9aeaa}
.horizontal-bars strong,.profit-bars strong{color:#686f6a;text-align:right;font-size:11px}
.expense-summary{display:flex;align-items:center;justify-content:space-between;padding:0 14px 10px}
.expense-summary>div{display:flex;flex-direction:column;gap:4px}
.expense-summary b{color:#3f4741;font:600 17px Manrope;letter-spacing:-.04em}
.expense-summary small{color:#a0a6a1;font-size:10px}
.expense-row{min-height:46px;display:flex;align-items:center;gap:8px;padding:0 14px;border-top:1px solid #f0efec}
.expense-dot{width:8px;height:8px;border-radius:3px;background:#c87554}
.expense-dot.lilac{background:#9388b4}.expense-dot.blue{background:#84a2b7}
.expense-row>div{display:flex;min-width:0;flex:1;flex-direction:column;gap:3px}
.expense-row b{color:#626a64;font-size:11px}.expense-row small{color:#a2a7a3;font-size:10px}.expense-row strong{color:#656c67;font-size:11px}
.table-tag.billable{background:var(--green-soft);color:var(--green)}.table-tag.nonbillable{background:#f1f1ee;color:#888f89}
.management-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(270px,.82fr);gap:12px}
.pnl-table{min-width:690px}
.pnl-table th:not(:first-child),.pnl-table td:not(:first-child){text-align:right}
.pnl-table td{font-size:11px}
.pnl-table td:first-child{color:#6f7771}
.pnl-table .pnl-section td{padding:8px 11px;background:#fbfaf8;color:#9a8171;font-size:11px;font-weight:700;letter-spacing:.04em}
.pnl-table .pnl-total td{background:#fcfbf9;color:#414842;font-weight:700}
.positive{color:#5b9270!important}
.management-side{display:flex;flex-direction:column;gap:12px}
.status-label{padding:4px 6px;border-radius:4px;font-size:10px;font-weight:700;letter-spacing:.07em}
.demo-label{background:var(--amber-soft);color:#9d7d4d}
.scenario-legend{display:flex;gap:9px;padding:0 14px 10px;color:#949b95;font-size:10px}
.scenario-legend span{display:flex;align-items:center;gap:4px}
.scenario-legend i{width:6px;height:6px;border-radius:50%;background:#c77351}
.scenario-legend i.scenario-prudent{background:#8b91aa}.scenario-legend i.scenario-growth{background:#76a184}
.scenario-row{min-height:47px;display:grid;grid-template-columns:minmax(70px,1fr) auto 50px;align-items:center;gap:8px;padding:0 14px;border-top:1px solid #f0efec}
.scenario-row>div{display:flex;flex-direction:column;gap:3px}.scenario-row b{color:#626a64;font-size:11px}.scenario-row small{color:#a0a6a1;font-size:10px}
.scenario-row>strong{color:#3d453f;font:600 11px Manrope}
.scenario-change{color:#9c9f98;text-align:right;font-size:10px}.scenario-change.positive{font-weight:600}
.scenario-foot{padding:10px 14px;border-top:1px solid #f0efec;color:#9ca29d;font-size:10px;line-height:1.5}
.cash-numbers{display:flex;align-items:center;justify-content:space-between;padding:3px 14px 12px}
.cash-numbers>div{display:flex;flex-direction:column;gap:5px}
.cash-numbers small{color:#9fa59f;font-size:10px}
.cash-numbers b{color:#424a44;font:600 15px Manrope;letter-spacing:-.04em}
.cash-numbers>i{color:#b6bbb6;font-style:normal}
.cash-net{display:flex;justify-content:space-between;padding:9px 14px;border-top:1px solid #f0efec;color:#858c86;font-size:11px}
.cash-net b{color:var(--green);font-size:12px}
.assumption-row{display:flex;align-items:center;gap:7px;padding:10px 14px;border-top:1px solid #f0efec;color:#737b75;font-size:11px}
.assumption-row b{margin-left:auto;color:#4f5751;font-size:12px}
.assumption-row small{width:78px;color:#a2a7a2;text-align:right;font-size:10px}
.profit-bars{padding-bottom:3px}
.profit-bars>div{grid-template-columns:118px minmax(40px,1fr) 42px;margin:14px 0}
.profit-bars>div>span{display:flex;flex-direction:column;gap:3px}
.profit-bars small{color:#a0a6a1;font-size:10px}
.aging-table{padding:0 14px 12px}
.aging-head,.aging-table>div:not(.aging-head){display:grid;grid-template-columns:1fr 95px 80px;gap:6px;align-items:center;padding:10px 0;border-top:1px solid #f0efec;color:#8f9690;font-size:11px}
.aging-head{color:#a2a7a2;font-size:10px;letter-spacing:.07em}
.aging-table>div strong{color:#505851;font-size:11px}
.aging-table>div span:last-child{text-align:right;color:#999f99;font-size:10px}
.approval-step{min-height:49px;display:flex;align-items:center;gap:8px;padding:0 13px;border-top:1px solid #f0efec}
.approval-step>i{width:19px;height:19px;display:grid;place-items:center;border:1px solid #e1e3dd;border-radius:50%;color:#939a94;font-size:11px;font-style:normal}
.approval-step.complete>i{border-color:#a8c2af;background:var(--green-soft);color:var(--green)}
.approval-step.current>i{border-color:#dcb39f;background:var(--accent-soft);color:var(--accent)}
.approval-step>div{display:flex;min-width:0;flex:1;flex-direction:column;gap:3px}.approval-step b{color:#5e665f;font-size:11px}.approval-step small{color:#a1a6a1;font-size:10px}
.approval-step em{color:#9aa09a;font-size:10px;font-style:normal}
.conflict-open{display:inline-flex;align-items:center;gap:5px;color:#a97d45;font-size:10px}
.conflict-open i{width:5px;height:5px;border-radius:50%;background:#c69a55}
.approval-card{min-height:49px;display:flex;align-items:center;gap:8px;padding:0 13px;border-top:1px solid #f0efec}
.approval-icon{width:25px;height:25px;display:grid;place-items:center;border-radius:7px}
.approval-icon svg{width:13px;height:13px}.approval-icon.orange{background:var(--accent-soft);color:var(--accent)}.approval-icon.lilac{background:var(--lilac-soft);color:var(--lilac)}.approval-icon.blue{background:var(--blue-soft);color:var(--blue)}
.approval-card>div{display:flex;min-width:0;flex:1;flex-direction:column;gap:3px}.approval-card b{color:#5e665f;font-size:11px}.approval-card small{color:#a2a7a2;font-size:10px}
.approval-count{width:18px;height:18px;display:grid;place-items:center;border-radius:50%;background:#f3f2ef;color:#747c75;font-size:11px;font-style:normal}
.approval-rule{padding:10px 13px;border-top:1px solid #f0efec;color:#9da39d;font-size:10px;line-height:1.5}
.control-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;background:#f0efec;border-top:1px solid #f0efec}
.control-grid>div{min-height:83px;display:flex;flex-direction:column;gap:6px;padding:12px;background:white}
.control-grid b{color:#59615b;font-size:11px}.control-grid small{color:#9da39d;font-size:10px}.control-grid span{margin-top:auto;color:#b17658;font-size:10px}
.document-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:14px 0}
.document-summary>article{min-height:84px;display:flex;align-items:center;gap:10px;padding:12px;border:1px solid var(--line);border-radius:9px;background:white}
.document-summary>article>div{display:flex;min-width:0;flex:1;flex-direction:column;gap:4px}
.document-summary small{color:#9da39e;font-size:10px}.document-summary b{color:#4c544e;font-size:12px}.document-summary>article>div span{color:#a1a7a1;font-size:10px}
.document-summary article>i{align-self:flex-start;padding:3px 5px;border-radius:4px;background:#f4f3f0;color:#999e99;font-size:10px;font-style:normal;white-space:nowrap}
.folder-tree{padding:0 14px 12px}
.tree-root{min-height:40px;display:flex;align-items:center;gap:8px;border-bottom:1px solid #f0efec;color:#646c65}
.tree-root svg{width:15px;height:15px;color:#bb7659}.tree-root b{font-size:11px}.tree-root span{margin-left:auto;color:#a0a6a1;font-size:10px}
.tree-child{position:relative;min-height:58px;display:grid;grid-template-columns:24px minmax(0,1fr);grid-template-rows:auto auto auto;align-content:center;column-gap:8px;padding:7px 80px 7px 19px;border-bottom:1px solid #f3f2ef}
.tree-child>i{position:absolute;right:9px;top:50%;transform:translateY(-50%);color:#8c938e;font-size:10px;font-style:normal;white-space:nowrap}
.tree-child>span{grid-row:1 / span 3;align-self:center;color:#b5795c;font-size:10px}
.tree-child>b{color:#626a64;font-size:11px}
.tree-child>small{min-width:0;margin-top:3px;color:#a1a7a1;font-size:10px;line-height:1.35;overflow-wrap:anywhere}
.tree-child>.tree-source{color:#858e87;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:9px}
.sp-browser-toolbar{display:flex;flex-wrap:wrap;gap:8px;padding:0 14px 12px}
.sp-panel-actions{display:flex;align-items:center;gap:10px}
.sp-site-button{min-height:36px;padding:7px 12px;border:1px solid #e8e8e2;border-radius:7px;background:#fff;color:#656d66;font:inherit;font-size:12px;cursor:pointer}
.sp-site-button.active,.sp-site-button[aria-pressed="true"]{border-color:#315d49;background:#eef4f0;color:#254a39}
.sp-breadcrumb{display:flex;align-items:center;gap:12px;min-height:38px;padding:8px 14px;border-top:1px solid #f1f0ec;color:#777f78;font-size:12px}
.sp-back-button{padding:4px 8px;border:1px solid #ecebe6;border-radius:5px;background:#fff;color:#385a47;font:inherit;cursor:pointer}
.sp-directory-status{margin:0;padding:0 14px 10px;color:#858c86;font-size:11px;line-height:1.5}
.sp-folder-tree{padding-bottom:4px}
.sp-item{grid-template-columns:24px minmax(0,1fr) auto;grid-template-rows:auto auto;min-height:58px;padding-right:14px}
.sp-item>span{grid-row:1 / span 2}
.sp-item>small{grid-column:2;grid-row:2}
.sp-folder-button{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0;padding:0;border:0;background:transparent;color:#3f654f;text-align:left;font:inherit;font-size:12px;font-weight:700;overflow-wrap:anywhere;cursor:pointer}
.sp-folder-button span{flex:none;color:#9ba39c;font-size:19px;line-height:1}
.sp-file-name{min-width:0;color:#626a64;font-size:12px;overflow-wrap:anywhere}
.sp-item .text-link,.sp-no-link{grid-column:3;grid-row:1 / span 2;align-self:center;white-space:nowrap;font-size:10px}
.sp-no-link{color:#969b96}
.sp-loading{padding:18px 5px;color:#858c86;font-size:12px}
.search-preview{padding:2px 14px 13px}
.search-large{height:35px;display:flex;align-items:center;gap:7px;padding:0 9px;border:1px solid #eae9e5;border-radius:7px;color:#a1a7a1}
.search-large svg{width:14px;height:14px}
.search-large input{width:100%;border:0;outline:0;background:transparent;color:#6d756e;font-size:11px}
.search-preview p{color:#9fa59f;font-size:10px;line-height:1.55}
.permission-note{display:flex;align-items:flex-start;gap:8px;padding:10px 14px;border-top:1px solid #f0efec;background:#fbfaf8}
.permission-note svg{width:15px;height:15px;color:#82917e}
.permission-note>span{display:flex;flex-direction:column;gap:4px}.permission-note b{color:#69716a;font-size:10px}.permission-note small{color:#a2a8a2;font-size:10px;line-height:1.4}
.template-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:0 14px 14px;gap:8px}
.template-grid>div{min-height:65px;display:grid;grid-template-columns:23px 1fr;align-content:center;column-gap:7px;padding:8px;border:1px solid #f0efec;border-radius:7px}
.file-type{grid-row:span 2;width:22px;height:24px;display:grid;place-items:center;border-radius:5px;color:white;font-size:12px;font-weight:700}
.file-type.word{background:#6b83ab}.file-type.excel{background:#6e947d}.file-type.pdf{background:#bf7064}
.template-grid b{overflow:hidden;align-self:end;color:#646c66;font-size:11px;text-overflow:ellipsis;white-space:nowrap}
.template-grid small{overflow:hidden;margin-top:4px;color:#a0a6a0;font-size:10px;text-overflow:ellipsis;white-space:nowrap}
.status-pill{display:inline-flex;align-items:center;gap:5px;padding:7px 9px;border:1px solid #eceae5;border-radius:7px;background:#fff;color:#858c86;font-size:11px}
.connector-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:14px 0}
.connector-card{min-height:88px;display:grid;grid-template-columns:32px 1fr;align-content:center;gap:4px 9px;padding:12px;border:1px solid var(--line);border-radius:9px;background:#fff}
.connector-logo{grid-row:span 2;width:31px;height:31px;display:grid;place-items:center;border-radius:8px;font:700 13px Manrope}
.connector-logo.outlook{background:#edf3f9;color:#4b78a4}.connector-logo.sharepoint{background:#eaf1f7;color:#547fa0}.connector-logo.erpnext{background:#eaf4ee;color:#47775a}.connector-logo.datev{background:#f8edf1;color:#98485f}
.connector-card>div{display:flex;flex-direction:column;gap:4px}
.connector-card b{color:#505851;font-size:12px}.connector-card small{color:#a0a6a1;font-size:10px}
.connector-state{grid-column:2;display:flex;align-items:center;gap:4px;color:#a0a6a1;font-size:10px;font-style:normal}
.connector-state span{width:5px;height:5px;border-radius:50%;background:#c3a05e}
.connector-state.connected{color:#56846a}.connector-state.connected span{background:#4f9a69}
.workflow{display:flex;align-items:center;justify-content:space-between;padding:14px 13px}
.workflow>div{width:22%;display:flex;flex-direction:column;align-items:center;text-align:center}
.workflow-icon{width:31px;height:31px;display:grid;place-items:center;margin-bottom:6px;border-radius:9px;background:#f1f2ef;color:#758078}
.workflow-icon svg{width:15px;height:15px}
.workflow-icon.orange{background:var(--accent-soft);color:var(--accent)}
.workflow b{color:#616962;font-size:10px}.workflow small{max-width:85px;margin-top:4px;color:#a0a6a1;font-size:10px;line-height:1.35}
.workflow>i{width:6%;height:1px;margin-bottom:40px;background:#e5e5df}
.agent-row{min-height:51px;display:flex;align-items:center;gap:8px;padding:0 13px;border-top:1px solid #f0efec}
.agent-symbol{width:23px;height:23px;display:grid;place-items:center;border-radius:7px;background:var(--accent-soft);color:#b96545;font-size:11px;font-weight:700}
.agent-symbol.purple{background:var(--lilac-soft);color:var(--lilac)}.agent-symbol.green{background:var(--green-soft);color:var(--green)}.agent-symbol.blue{background:var(--blue-soft);color:var(--blue)}
.agent-row>div{display:flex;min-width:0;flex:1;flex-direction:column;gap:4px}.agent-row b{color:#5d655e;font-size:11px}.agent-row small{color:#a0a6a1;font-size:10px}
.agent-row>i{color:#a0a5a1;font-size:10px;font-style:normal}
.policy-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;padding:0 1px 1px;background:#f0efec}
.policy-grid>div{min-height:80px;display:flex;flex-direction:column;gap:6px;padding:13px;background:#fff}
.policy-grid b{color:#5f675f;font-size:11px}.policy-grid small{color:#a0a6a0;font-size:10px;line-height:1.55}
.organization-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:14px 0}
.company-profile-card{margin:14px 0}
.company-profile-card .panel-heading{align-items:center}
.company-data-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;margin:0;padding:1px;background:#f0efec}
.company-data-grid>div{min-width:0;display:flex;flex-direction:column;gap:5px;padding:12px;background:#fff}
.company-data-grid dt{color:#9aa09a;font-size:11px}
.company-data-grid dd{margin:0;color:#515a53;font-size:12px;font-weight:600;overflow-wrap:anywhere}
.company-data-grid a{color:inherit;text-decoration:none}
.company-data-grid a:hover{text-decoration:underline}
.company-source-note{margin:0;padding:10px 12px;border-top:1px solid #f0efec;color:#8e9690;font-size:10px;line-height:1.45}
.current-record-panel{margin:14px 0}
.current-record-panel .table-wrap{max-height:420px;overflow:auto}
.current-record-panel table{min-width:650px}
.current-record-panel td{vertical-align:middle}
.current-record-panel td:nth-child(3){max-width:280px;white-space:normal;line-height:1.45}
.org-card{min-height:165px;padding:13px;border:1px solid var(--line);border-radius:9px;background:#fff}
.org-symbol{width:28px;height:28px;display:grid;place-items:center;margin-bottom:14px;border-radius:8px}
.org-symbol svg{width:14px;height:14px}
.org-card .eyebrow{margin:0 0 5px;font-size:10px}
.org-card h2{margin:0 0 6px;color:#49514b;font:600 14px Manrope}
.org-card>p:not(.eyebrow){min-height:33px;margin:0;color:#979e98;font-size:11px;line-height:1.5}
.org-meta{display:flex;align-items:center;justify-content:space-between;padding-top:8px;margin-top:9px;border-top:1px solid #f0efec;color:#a1a7a1;font-size:10px}
.org-meta b{color:#7e867f;font-weight:500}
.capacity-row{min-height:51px;display:grid;grid-template-columns:130px 1fr 34px;align-items:center;gap:9px;padding:0 14px;border-top:1px solid #f0efec}
.capacity-row>div{display:flex;flex-direction:column;gap:4px}.capacity-row b{color:#626a64;font-size:11px}.capacity-row small{color:#a1a7a1;font-size:10px}
.capacity-meter{height:6px;border-radius:6px;background:#f0efec;overflow:hidden}
.capacity-meter i{height:100%;display:block;border-radius:6px;background:#c97756}
.capacity-meter .bar-lilac{background:#958ab6}.capacity-meter .bar-blue{background:#85a2b8}
.capacity-row>strong{color:#7b837d;text-align:right;font-size:11px}
.role-row{min-height:50px;display:flex;align-items:center;gap:8px;padding:0 13px;border-top:1px solid #f0efec}
.role-mark{width:24px;height:24px;display:grid;place-items:center;border-radius:50%;background:var(--accent-soft);color:#b46647;font-size:10px;font-weight:700}
.role-mark.purple{background:var(--lilac-soft);color:var(--lilac)}.role-mark.green{background:var(--green-soft);color:var(--green)}
.role-mark svg{width:12px;height:12px}
.role-row>div{display:flex;min-width:0;flex:1;flex-direction:column;gap:3px}.role-row b{color:#616961;font-size:11px}.role-row small{color:#a2a7a2;font-size:10px}
.role-count{color:#858c86;font-size:11px}
.app-footer{min-height:50px;display:flex;justify-content:space-between;align-items:center;margin-top:24px;border-top:1px solid #e6e5e0;color:#a1a6a1;font-size:11px}
.app-footer i{padding:0 3px;color:#cbcfc9;font-style:normal}
.modal{width:min(500px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;padding:0;border:1px solid #e8e7e2;border-radius:12px;background:#fff;box-shadow:0 24px 80px #151a1650}
.modal::backdrop{background:#1a201db0;backdrop-filter:blur(3px)}
.modal form{padding:20px}
.modal-heading{display:flex;align-items:flex-start;justify-content:space-between}
.modal-heading .eyebrow{margin:0 0 4px}.modal-heading h2{margin:0;color:#343b35;font:600 17px Manrope}
.modal-close{font-size:18px}.modal-copy{margin:10px 0 16px;color:#909791;font-size:12px}
.field-label{display:flex;flex-direction:column;gap:6px;margin-bottom:12px;color:#6f7771;font-size:12px;font-weight:600}
.field-label input,.field-label select{height:34px;padding:0 9px;border:1px solid #e6e5e0;border-radius:7px;outline:none;background:white;color:#5e665f;font-size:12px}
.field-label input:focus,.field-label select:focus{border-color:#ff9b76;box-shadow:0 0 0 3px #ff663322}
.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.modal-actions{display:flex;justify-content:flex-end;gap:8px;padding-top:11px;border-top:1px solid #f0efec}
.edit-conflict{align-items:flex-start;flex-wrap:wrap;line-height:1.5;color:#694d2c}
.edit-conflict span{flex:1 1 240px;min-width:0}
.edit-conflict button{min-height:40px;max-width:100%;white-space:normal}
.record-history-list{max-height:min(60vh,520px);overflow:auto;padding:0 20px}
.record-history-entry{padding:12px 0;border-bottom:1px solid #f0efec;color:#5c655e;font-size:12px}
.record-history-entry>div{display:flex;flex-direction:column;gap:4px}
.record-history-entry small{color:#9ba19b;font-size:11px}
.record-history-entry ul{display:grid;gap:5px;margin:10px 0 0;padding-left:18px;color:#747c76;line-height:1.45}
.record-history-dialog-actions{padding:12px 20px 20px}
#toast{position:fixed;right:19px;bottom:19px;z-index:100;max-width:min(360px,calc(100vw - 32px));padding:10px 13px;border-radius:7px;background:#29302c;color:#fff;font-size:12px;opacity:0;pointer-events:none;transform:translateY(6px);transition:opacity .18s,transform .18s}
#toast.visible{opacity:1;transform:translateY(0)}
.searchable.filtered{display:none!important}

@media(max-width:1200px){
  .sidebar{width:224px;padding-left:11px;padding-right:11px}
  .main-column{margin-left:224px}
  .dashboard-grid,.dashboard-bottom{grid-template-columns:minmax(0,1.4fr) minmax(270px,.9fr)}
  .dashboard-last{grid-template-columns:minmax(0,1.2fr) minmax(260px,1fr)}
  .metric-grid{gap:8px}
  .metric-card{padding-left:11px;padding-right:11px}
  .management-grid{grid-template-columns:minmax(0,1.35fr) minmax(250px,.85fr)}
  .finance-planning-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:960px){
  .sidebar{width:66px;padding:17px 7px 10px}
  .brand{justify-content:center;padding:0}
  .brand-logo{display:none}
  .brand-symbol{display:block;width:30px;height:auto}
  .workspace-context,.nav-caption,.nav-item span,.nav-badge,.sidebar-bottom{display:none}
  .side-nav{margin-top:26px;gap:6px}
  .nav-item{height:39px;min-height:39px;justify-content:center;padding:0}
  .nav-item svg{width:17px;height:17px}
  .main-column{margin-left:66px}
  .dashboard-grid,.dashboard-bottom,.dashboard-last,.management-grid{grid-template-columns:1fr}
  .finance-panel{min-height:275px}
  .management-side{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  .policy-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .organization-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .company-data-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:680px){
  .field-grid{grid-template-columns:1fr}
  .financial-period-form{align-items:stretch;flex-direction:column}
  .financial-period-form label{min-width:0}
  .financial-summary-grid{grid-template-columns:1fr}
  .financial-chart-caption{padding:11px 11px 0}
  .financial-chart-wrap{height:215px;padding:5px 7px 11px}
  .financial-chart-fallback{inset:8px}
  .finance-planning-heading{align-items:flex-start;flex-direction:column}
  .finance-planning-grid{grid-template-columns:1fr}
  .finance-planning-card{min-height:0}
  .app-shell{display:flex;flex-direction:column}
  .sidebar{width:100%;height:auto;position:sticky;inset:0 0 auto;display:block;padding:7px 9px 5px;border-bottom:1px solid #3a413e}
  .brand{display:flex;width:max-content;height:20px;justify-content:flex-start;margin:0 0 5px;padding:0 4px}
  .brand-logo{display:block;width:137px}
  .brand-symbol,.workspace-context,.sidebar-bottom{display:none}
  .side-nav{display:flex;flex-direction:row;gap:6px;margin:0;padding:0 0 2px;overflow-x:auto;scrollbar-width:none;scroll-snap-type:x proximity;scroll-padding-inline:9px}
  .side-nav::-webkit-scrollbar{display:none}
  .nav-caption{display:none}
  .nav-item{width:auto;min-width:max-content;height:44px;min-height:44px;justify-content:flex-start;gap:7px;padding:0 11px;scroll-snap-align:start}
  .nav-item span{display:inline;font-size:12px;white-space:nowrap}
  .nav-item svg{width:16px;height:16px}
  .main-column{width:100%;margin:0}
  .topbar{height:50px;padding:0 13px}
  .topbar-actions{gap:8px}
  .global-search{width:36px;padding:0 9px;border-color:transparent;background:transparent}
  .global-search input,.global-search kbd{display:none}
  .global-search:focus-within{position:absolute;right:105px;width:min(52vw,220px);border-color:#e8e7e2;background:white}
  .global-search:focus-within input{display:block}
  .today-label,.top-divider{display:none}
  .user-name{display:none}
  .runtime-connection-alert{align-items:flex-start;gap:8px;padding:9px;font-size:11px}
  .runtime-connection-alert button{padding:0 9px}
  #content{padding:20px 12px 0}
  .page-heading{align-items:flex-start;flex-direction:column;margin-bottom:14px}
  .page-heading h1{font-size:24px}
  .heading-actions{width:100%;justify-content:space-between}
  .page-heading>.secondary,.page-heading>.status-pill{align-self:flex-start}
  .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
  .metric-card{min-height:99px;padding:11px}
  .metric-card>strong{font-size:20px}
  .compact-metrics .metric-card>strong{font-size:19px}
  .metric-top{font-size:11px}
  .metric-icon{width:24px;height:24px}
  .metric-bottom{font-size:10px}
  .demo-banner,.info-banner,.finance-disclaimer{align-items:flex-start;padding:8px 9px;font-size:11px}
  .demo-symbol{margin-top:1px}
  .demo-banner>em,.info-banner>em,.finance-disclaimer>em{display:none}
  .demo-banner button{display:none}
  .panel-heading{min-height:57px;padding:11px 11px 9px}
  .panel-heading h2{font-size:11px}
  .panel-foot{padding:0 10px;font-size:10px}
  .attention-list{padding:0 11px}
  .attention-meta{font-size:10px}
  .stage-flow{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:16px;padding:8px 11px 13px}
  .dashboard-grid,.dashboard-bottom,.dashboard-last,.split-grid{grid-template-columns:1fr;gap:9px}
  .dashboard-top,.dashboard-bottom{margin-bottom:9px}
  .dashboard-grid .panel{min-width:0}
  .table-tools{width:100%;flex-wrap:wrap}
  .table-search{width:min(100%,190px)}
  .panel-heading:has(.table-tools){align-items:flex-start;flex-direction:column}
  .table-tools select{flex:1}
  .lifecycle{padding-left:5px;padding-right:5px}
  .lifecycle>div>small{font-size:9px}
  .calendar-event{grid-template-columns:37px 3px minmax(0,1fr);gap:8px}
  .calendar-event .event-type{display:none}
  .calendar-agenda{padding-left:11px;padding-right:11px}
  .week-strip{padding-left:5px;padding-right:5px}
  .week-strip b{width:22px;height:22px}
  .horizontal-bars>div,.profit-bars>div{grid-template-columns:103px minmax(25px,1fr) 37px;gap:6px}
  .management-side{grid-template-columns:1fr}
  .document-summary{grid-template-columns:1fr;gap:7px}
  .document-summary>article{min-height:72px}
  .template-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .connector-grid{grid-template-columns:1fr;gap:7px}
  .connector-card{min-height:72px}
  .workflow{padding:12px 6px}
  .workflow>i{width:4%;margin-bottom:37px}
  .workflow>div{width:24%}
  .workflow small{font-size:9px}
  .organization-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
  .company-profile-card .panel-heading{align-items:flex-start;gap:8px}
  .company-data-grid{grid-template-columns:1fr 1fr}
  .company-data-grid>div{padding:10px}
  .org-card{min-height:158px;padding:10px}
  .capacity-row{grid-template-columns:100px 1fr 31px;gap:7px;padding:0 10px}
  .role-row{padding:0 10px}
  .policy-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .app-footer{margin-top:17px;font-size:10px}
}
@media(max-width:390px){
  .breadcrumb{font-size:12px;gap:5px}
  .topbar{padding:0 9px}
  .user-avatar{width:26px;height:26px}
  .metric-card{padding:9px}
  .metric-top{font-size:10px}
  .metric-card>strong{font-size:18px}
  .compact-metrics .metric-card>strong{font-size:17px}
  .period-chip{font-size:12px;padding:0 7px}
  .heading-actions>.primary{font-size:12px;padding:0 8px}
  .stage-flow{gap:9px}
  .stage-flow>div>span{font-size:10px}
  .stage-flow small{font-size:9px}
  .lifecycle>i{width:5%;margin-left:1px;margin-right:1px}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}

.app-shell[hidden],.login-screen[hidden],.updates-empty[hidden]{display:none!important}
.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;min-height:0!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%);white-space:nowrap;border:0!important}
body:has(> .login-screen:not([hidden])){min-width:0}
.login-screen{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:24px;background:radial-gradient(circle at 50% 15%,#fff 0,#f6f5f2 62%)}
.login-card{width:100%;max-width:620px;min-width:0;padding:38px;border:1px solid #e9e7e1;border-radius:14px;background:#fff;box-shadow:0 18px 55px #20252212}
.login-logo{display:block;width:min(250px,80%);height:auto;margin:0 auto 30px}
.login-card .field-label{margin-bottom:14px;color:#626a64;font-size:14px}
.login-card .field-label input{height:48px;padding:0 12px;font-size:16px}
.login-identity{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:22px}
.login-card .login-identity .field-label{min-width:0;margin:0}
.login-identity input{width:100%;min-width:0}
.login-phrase{min-width:0;margin:0 0 18px;padding:0;border:0}
.login-words{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px 12px}
.login-card .login-word{min-width:0;margin:0;font-size:12px}
.login-word input{width:100%;min-width:0;letter-spacing:.08em}
.login-word input[aria-invalid="true"]{border-color:#ad5549}
.login-word input:focus-visible{outline:3px solid #8bb7a5;outline-offset:2px}
.login-submit{width:100%;height:48px;margin-top:4px;font-size:15px}
.login-submit:disabled{opacity:.58;cursor:not-allowed}
.login-status{min-height:17px;margin:15px 0 0;color:#78817a;text-align:center;font-size:13px;line-height:1.5}
.login-status.error{color:#ad5549}
.login-status a{color:inherit;font-weight:700;text-decoration:underline;text-underline-offset:2px}
.login-retry{display:flex;justify-content:center;width:100%;margin-top:10px;padding:9px 12px;border:1px solid #d7d9d4;border-radius:8px;background:#fff;color:#334139;font-family:inherit;font-size:13px;font-weight:600;line-height:1.3;cursor:pointer}
.login-retry:hover{background:#f5f6f3}
.login-retry:focus-visible{outline:3px solid #8bb7a5;outline-offset:2px}
.login-retry[hidden]{display:none}
.status-pill.neutral{white-space:nowrap}
.search-results-view[hidden]{display:none!important}
.search-results-summary{margin:0 0 12px;color:#7e867f;font-size:13px}
.search-results-list{display:grid;gap:8px}
.search-result{width:100%;min-height:68px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 16px;border:1px solid var(--line);border-radius:9px;background:#fff;text-align:left;cursor:pointer;transition:border-color .15s,box-shadow .15s}
.search-result:hover{border-color:#d8b6a6;box-shadow:0 3px 12px #2b332b0b}
.search-result-copy{min-width:0;display:flex;flex-direction:column;gap:5px}
.search-result-title{overflow:hidden;color:#343a36;font-size:14px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}
.search-result-detail{overflow:hidden;color:#7f8781;font-size:12px;line-height:1.45;text-overflow:ellipsis;white-space:nowrap}
.search-result-section{flex:none;padding:5px 8px;border-radius:5px;background:#f4f3f0;color:#707871;font-size:11px;font-weight:600}
.updates-empty{display:flex;min-height:120px;flex-direction:column;align-items:center;justify-content:center;gap:7px;padding:24px;color:#737b75;text-align:center;font-size:13px}
.updates-empty b{color:#505851;font-size:14px;font-weight:600}
.updates-empty span{max-width:500px;color:#969d97;line-height:1.5}
.updates-empty.error b{color:#ad5549}
#updates-table{min-width:860px}
#updates-table td{vertical-align:middle}
#updates-table td:nth-child(3){max-width:245px;white-space:normal;line-height:1.45}
.source-tag,.update-state{display:inline-flex;align-items:center;padding:4px 7px;border-radius:5px;font-size:11px;font-style:normal;font-weight:600;white-space:nowrap}
.source-tag{background:#f0f2ef;color:#657068}
.update-state.pending{background:var(--amber-soft);color:#987544}
.update-state.approved{background:var(--green-soft);color:#4e7a5f}
.update-state.rejected{background:#f1f1ef;color:#828883}
.update-actions{display:flex;align-items:center;gap:5px;flex-wrap:wrap}
.update-actions button{padding:5px 7px;border:1px solid #e8e7e2;border-radius:5px;background:#fff;color:#5e675f;font-size:11px;cursor:pointer}
.update-actions .update-approve{border-color:#dce9df;background:#f3f8f4;color:#4e7a5f}
.update-actions .update-reject{color:#a45f54}
.update-actions button:disabled{opacity:.55;cursor:wait}
.review-value-label{display:block;margin-top:10px;color:#586259;font-size:11px;font-weight:600}
.review-value{display:block;width:100%;min-width:190px;margin-top:4px;padding:9px;border:1px solid #bac8be;border-radius:5px;background:#fff;color:#263c30;font:inherit;font-size:13px}
.review-value:focus-visible,.update-actions button:focus-visible,.review-history summary:focus-visible{outline:3px solid #8bb7a5;outline-offset:2px}
.review-conflict{max-width:260px;margin:8px 0;color:#86632d;font-size:12px;line-height:1.5;white-space:normal}
.review-history{max-width:280px;margin-top:9px;color:#59655d;font-size:11px;white-space:normal}
.review-history summary{cursor:pointer;text-decoration:underline;text-underline-offset:2px}
.review-history ol{padding-left:17px;line-height:1.6}
.review-feedback{margin:0;padding:0 18px;color:#586259;font-size:13px;line-height:1.5}
.review-feedback:not(:empty){padding-top:12px;padding-bottom:12px;border-bottom:1px solid var(--line)}
.proposal-panel{margin-top:12px;border-color:#e7dbc8}
.proposal-panel>.panel-heading{flex-wrap:wrap;gap:12px}
.proposal-count{color:#765f3e;font-size:12px;font-weight:600}
.proposal-intro{margin:0;padding:0 18px 16px;color:#687169;font-size:13px;line-height:1.5}
.proposal-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:0 18px 18px}
.proposal-card{min-width:0;padding:16px;border:1px solid var(--line);border-radius:8px;background:#fff}
.proposal-card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;flex-wrap:wrap}
.proposal-card-heading h3{margin:0;color:var(--ink);font-size:16px;line-height:1.4;overflow-wrap:anywhere}
.proposal-state{display:inline-flex;padding:4px 7px;border-radius:5px;font-size:11px;font-weight:600;white-space:nowrap}
.proposal-pending{background:var(--amber-soft);color:#765b33}
.proposal-stale,.proposal-conflict{background:var(--red-soft);color:#995249}
.proposal-fields{display:grid;gap:14px;margin:16px 0 0}
.proposal-field dt{margin-bottom:7px;color:#677169;font-size:12px;font-weight:600}
.proposal-field dd{margin:0}
.proposal-options{display:grid;gap:9px;margin:0;padding:0;list-style:none}
.proposal-option{padding:10px;border:1px solid #ecebe7;border-radius:6px;background:#fafaf8}
.proposal-value{color:#303a33;font-size:14px;line-height:1.5;overflow-wrap:anywhere}
.proposal-option-meta{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin-top:7px;color:#717a73;font-size:11px;line-height:1.5}
.proposal-origin+.proposal-origin{margin-top:9px;padding-top:7px;border-top:1px solid var(--line)}
.proposal-review{display:inline-block;margin-top:9px;padding:3px 0;color:#965028;font-size:12px}
.proposal-context+.proposal-context{margin-top:16px;padding-top:14px;border-top:1px solid var(--line)}
.proposal-context-title{margin:14px 0 0;color:#59665d;font-size:12px;font-weight:600;line-height:1.5;overflow-wrap:anywhere}
.proposal-current-note{display:block;margin:8px 0 0;color:#765f3e;font-size:12px}
.proposal-section-title{margin:0;padding:0 18px 14px;font-size:14px;font-weight:600}
#updates-table tr:focus{outline:2px solid var(--accent);outline-offset:-2px;background:var(--accent-soft)}
@media(max-width:1000px){.proposal-card-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:680px){
  .proposal-panel>.panel-heading{padding:16px 13px}
  .proposal-intro{padding:0 13px 14px}
  .proposal-card-grid{padding:0 13px 13px;gap:12px}
  .proposal-card{padding:13px}
  .proposal-section-title{padding:0 13px 12px}
  .proposal-review{min-height:44px;display:flex;align-items:center}
}
@media(max-width:680px){
  .login-screen{padding:16px}
  .login-card{padding:25px 21px}
  .login-identity{grid-template-columns:minmax(0,1fr)}
  .login-words{grid-template-columns:repeat(2,minmax(0,1fr))}
  .search-result{align-items:flex-start;flex-direction:column;gap:8px;padding:12px}
  .search-result-title{white-space:normal}
  .search-result-detail{white-space:normal}
  .sp-panel-actions{flex-wrap:wrap;justify-content:flex-end;gap:7px}
  .sp-item{grid-template-columns:22px minmax(0,1fr);grid-template-rows:auto auto auto;padding-right:8px}
  .sp-item>span{grid-row:1 / span 3}
  .sp-item>small{grid-column:2;grid-row:2}
  .sp-item .text-link,.sp-no-link{grid-column:2;grid-row:3;justify-self:start;margin-top:4px}
  #updates-table{display:block;min-width:0;width:100%}
  #updates-table thead{display:none}
  #updates-table tbody{display:grid;gap:12px;padding:12px}
  #updates-table tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);border:1px solid var(--line);border-radius:8px;overflow:hidden}
  #updates-table td{display:block;min-width:0;padding:10px 12px;white-space:normal;overflow-wrap:anywhere}
  #updates-table td:nth-child(1),#updates-table td:nth-child(2),#updates-table td:nth-child(3),#updates-table td:nth-child(6){grid-column:1/-1;max-width:none}
  #updates-table td:nth-child(2)::before,#updates-table td:nth-child(4)::before,#updates-table td:nth-child(5)::before{display:block;margin-bottom:4px;color:#7d857f;font-size:10px;letter-spacing:.04em}
  #updates-table td:nth-child(2)::before{content:"CAMPO"}
  #updates-table td:nth-child(4)::before{content:"FONTE"}
  #updates-table td:nth-child(5)::before{content:"STATO"}
  .review-value{min-width:0;min-height:44px;font-size:16px}
  .update-actions button{min-height:44px;padding:8px 11px;font-size:12px}
  .review-conflict,.review-history{max-width:none}
  .updates-empty{min-height:100px;padding:18px 13px}
}
.operations-alert{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 18px;margin-bottom:18px;border:1px solid #e8c381;border-radius:8px;background:#fff6e4;color:#704d1b;font-size:13px;line-height:1.5}
.operations-alert[hidden]{display:none}
.operations-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 15px}
.operations-summary,.operations-updated,.operations-note{margin:12px 15px}
.operations-check{min-width:0;padding:16px;border:1px solid var(--line);border-radius:8px}
.operations-check>div{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px}
.operations-check h3{margin:0;font-size:14px;font-weight:600}
.operations-check p,.operations-summary{font-size:13px;line-height:1.6}
.operations-check small,.operations-updated,.operations-note{font-size:12px;line-height:1.6;color:#66706a;overflow-wrap:anywhere}
.operations-state{border-radius:4px;padding:4px 7px;font-size:11px;font-weight:600;background:#f0f1f0;color:#5b635e}
.operations-state.ok{background:#e4f1e9;color:#275c3b}
.operations-state.warning{background:#fff0d4;color:#7a5314}
.operations-state.error{background:#fbe7e5;color:#922f2a}
@media(max-width:680px){.operations-grid{grid-template-columns:minmax(0,1fr)}.operations-alert{flex-direction:column;align-items:flex-start}.operations-alert button{min-height:44px}.operations-check{padding:13px}}
.sp-sync-status{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:15px}
.sp-sync-status small,.sp-coverage-note,.sp-library-coverage p{color:#66706a;font-size:12px;line-height:1.6}
.sp-sync-error{margin:15px;color:#922f2a;font-size:13px;line-height:1.6}
.sp-coverage-counts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:15px}
.sp-coverage-counts>div{min-width:0;padding:14px;border:1px solid var(--line);border-radius:8px;background:#fafbf9}
.sp-coverage-counts dt{color:#66706a;font-size:12px;line-height:1.5}
.sp-coverage-counts dd{margin:8px 0 0;color:#343a36;font-size:25px;font-weight:600;overflow-wrap:anywhere}
.sp-coverage-note{margin:15px}
.sp-library-coverage-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:15px}
.sp-library-coverage{min-width:0;padding:15px;border:1px solid var(--line);border-radius:8px}
.sp-library-coverage>div{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px}
.sp-library-coverage h3{margin:0;color:#343a36;font-size:14px;overflow-wrap:anywhere}
.sp-library-coverage dl{display:grid;gap:8px;margin:15px 0 0}
.sp-library-coverage dl>div{display:flex;justify-content:space-between;gap:10px;color:#66706a;font-size:12px;line-height:1.5}
.sp-library-coverage dd{flex:none;margin:0;color:#343a36;font-weight:600}
.sp-source-warning{border-color:#e8c381;background:#fff6e4;color:#704d1b}
.sp-stale-source{color:#86632d!important;white-space:normal;line-height:1.5}
[data-source-stale="true"] .update-approve:disabled,[data-source-stale="true"] .update-rebase:disabled{cursor:not-allowed}
@media(max-width:680px){.sp-coverage-counts{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.sp-coverage-counts>div{padding:12px}.sp-library-coverage-grid{grid-template-columns:minmax(0,1fr)}#sharepoint-sync-panel .panel-heading{flex-wrap:wrap;gap:10px}.sp-coverage-counts dt{min-height:36px}}
.billing-disclosure{max-width:900px;margin:16px 0;color:#5f6862;line-height:1.65;font-size:13px}
.billing-tabs{display:flex;flex-wrap:wrap;gap:6px;margin:18px 0 14px}
.billing-tabs button,.billing-controls button,.billing-pagination button{min-height:40px;padding:9px 13px;border:1px solid #dcded9;border-radius:7px;background:#fff;font-weight:600;cursor:pointer}
.billing-tabs button[aria-pressed="true"]{background:var(--ink);border-color:var(--ink);color:#fff}
.billing-controls{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:0 0 18px;font-size:12px}
.billing-controls label{font-weight:600}
.billing-controls input{width:100px;min-height:40px;padding:8px 10px;border:1px solid #c8cec8;border-radius:7px;background:#fff}
#billing-period-feedback{color:#922f2a;line-height:1.5}
.billing-status{margin:16px 0;padding:14px 16px;background:#eef1ef;border-radius:8px;line-height:1.6;font-size:13px}
.billing-error{background:#fff0d4;color:#754e15}
.billing-provenance,.billing-totals{padding:18px 20px;margin-bottom:18px}
.billing-provenance-title{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}
.billing-provenance h2,.billing-totals h2{margin:0;font-size:16px;font-weight:600}
.billing-metadata{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:20px 0}
.billing-metadata dt{color:#6a736d;font-size:11px;margin-bottom:5px}
.billing-metadata dd{margin:0;font-size:13px;font-weight:500;overflow-wrap:anywhere}
.billing-provenance p,.billing-totals>p{margin:12px 0 0;line-height:1.65;font-size:12px;color:#647068}
.billing-totals-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:20px;margin-top:20px}
.billing-totals-grid>div{min-width:0}
.billing-totals-grid span{display:block;min-height:30px;font-size:12px;color:#626d65;line-height:1.5}
.billing-totals-grid strong{display:block;margin-top:6px;font-size:20px;font-weight:600;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.billing-note{margin:0;padding:15px 18px;color:#616d64;font-size:12px;line-height:1.65}
.billing-table .table-wrap{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}
.billing-table table{min-width:1100px}
.billing-table td{font-variant-numeric:tabular-nums}
.billing-table td:nth-child(3),.billing-table td:nth-child(4),.billing-table td:nth-child(10){max-width:230px;white-space:normal;overflow-wrap:anywhere;line-height:1.5}
.billing-pagination{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;border-top:1px solid var(--line);padding:14px 18px;color:#616d64;font-size:12px}
.billing-pagination>div{display:flex;gap:8px}
.billing-pagination button:disabled{opacity:.5;cursor:default}
@media(max-width:680px){.billing-tabs button,.billing-controls button,.billing-pagination button{min-height:44px}.billing-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.billing-tabs button{padding:9px 7px}.billing-controls{gap:8px}.billing-controls label{width:100%}.billing-controls input{font-size:16px}.billing-provenance,.billing-totals{padding:16px}.billing-metadata{grid-template-columns:minmax(0,1fr);gap:14px}.billing-totals-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.billing-totals-grid strong{font-size:17px}.billing-pagination{align-items:flex-start;flex-direction:column}}
