:root {
  font-family:"Segoe UI",-apple-system,BlinkMacSystemFont,ui-sans-serif,sans-serif;
  color:#273c37;background:#f5f6f2;font-size:14px;font-synthesis:none;-webkit-font-smoothing:antialiased;
  --ink:#273c37;--muted:#69776c;--line:#e3e8df;--green:#3c6857;--green-dark:#2e5144;--green-soft:#edf3eb;--surface:#fffefa;--canvas:#f5f6f2;--radius:14px;
}
*{box-sizing:border-box}body{margin:0;min-width:320px}
button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent;outline-offset:3px}
button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}:focus-visible{outline:3px solid #91b59c}
a{color:var(--green);text-underline-offset:3px}
button,.btn{display:inline-flex;justify-content:center;align-items:center;gap:8px;min-height:40px;padding:10px 16px;border:1px solid #dbe3d7;border-radius:9px;background:var(--surface);color:var(--ink);font-size:12px;font-weight:600;line-height:1.35;text-decoration:none;white-space:nowrap;transition:background .16s,border-color .16s,box-shadow .16s}
button:hover,.btn:hover{background:#f2f5ee;border-color:#c8d5c5}
.btn.primary,button.primary{background:var(--green);border-color:var(--green);color:white;box-shadow:0 2px 3px #273c370a}
.btn.primary:hover,button.primary:hover{background:var(--green-dark);border-color:var(--green-dark)}
.btn.quiet,button.quiet{background:transparent;border-color:transparent;color:#65776b}
.btn.quiet:hover,button.quiet:hover{background:#edf2e9;color:var(--ink)}
.btn.danger,button.danger{color:#a8564b;background:#fffdfb;border-color:#ecd8d1}
.btn.danger:hover,button.danger:hover{background:#faf0ec}
.btn-icon{width:36px;min-height:36px;padding:8px;border-radius:8px}.btn svg,button svg{width:16px;height:16px;flex:0 0 auto}
.muted{color:var(--muted)}strong{font-weight:600}h1,h2,h3,p{margin-top:0}
h1{margin-bottom:9px;font-size:30px;font-weight:600;letter-spacing:-.9px;line-height:1.2}
h2{margin-bottom:18px;font-size:16px;font-weight:600;letter-spacing:-.2px}h3{font-size:14px;font-weight:600}p{line-height:1.7}

/* Workspace */
.shell{display:grid;grid-template-columns:246px minmax(0,1fr);min-height:100vh}
.sidebar{position:sticky;top:0;height:100vh;display:flex;flex-direction:column;padding:32px 20px 22px;background:#fcfdf8;border-right:1px solid var(--line)}
.brand{display:flex;align-items:center;gap:11px;padding:0 10px}
.brand-mark{display:grid;place-items:center;width:37px;height:37px;flex:0 0 auto;color:#fff;background:var(--green);border-radius:11px}
.brand-mark svg{width:21px;height:21px}
.brand-copy strong{display:block;font-size:19px;font-weight:650;letter-spacing:-.65px;line-height:1.2}
.brand-copy small,.brand small{display:block;margin-top:3px;color:#71816f;font-size:10px;letter-spacing:.7px;font-weight:500}
.workspace-card{margin:33px 0 27px;padding:16px 16px 15px;border:1px solid #e2e9da;border-radius:11px;background:#f4f7ef}
.org-label,.nav-label{font-size:9px;font-weight:600;letter-spacing:1.5px;text-transform:uppercase;color:#71836b}
.org-label{margin-bottom:7px}.org-name{font-size:12px;font-weight:600;line-height:1.55;overflow-wrap:anywhere}
.nav-label{margin:0 13px 12px}.nav{display:grid;gap:5px}
.nav button{position:relative;justify-content:flex-start;width:100%;min-height:43px;padding:11px 14px;border:0;border-radius:9px;background:transparent;color:#677a68;font-size:12px;font-weight:500;text-align:left}
.nav button:hover{color:var(--ink);background:#f1f5eb}.nav button.active{color:var(--green-dark);background:#eaf1e4;font-weight:600}
.nav .icon{display:inline-flex;align-items:center;justify-content:center;width:18px;height:20px;margin-right:3px;opacity:.85}.nav .icon svg{width:18px;height:18px}
.side-bottom{margin-top:auto;padding:23px 10px 0;border-top:1px solid var(--line);color:var(--muted);font-size:11px}
.profile{display:flex;align-items:center;gap:10px;min-width:0}
.avatar{display:grid;place-items:center;width:35px;height:35px;flex:0 0 auto;border-radius:50%;color:var(--green);background:#eaf0e3;font-size:12px;font-weight:600}
.profile-copy{min-width:0;flex:1}.profile-copy strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--ink);font-size:11px;margin-bottom:3px}
.profile-copy small{font-size:10px;color:#74836f}.side-bottom .quiet{margin-top:14px;padding-left:0;font-size:11px;min-height:30px}.profile .quiet{padding:7px;margin:0}
.workspace{min-width:0}
.topbar{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:83px;padding:17px 40px;border-bottom:1px solid var(--line);background:#fcfdf9}
.breadcrumbs{display:flex;align-items:center;gap:10px;color:#73826f;font-size:11px;white-space:nowrap}
.breadcrumbs svg{width:12px;height:12px;color:#b0bcb0}.breadcrumbs strong{color:#4c6254;font-weight:500}
.top-actions{display:flex;align-items:center;gap:18px;min-width:0}
.workspace-select{display:flex;align-items:center;gap:8px}.workspace-select .field-label{color:#74836f;font-size:10px}
.workspace-select select,#workspace{width:auto;max-width:245px;min-height:33px;padding:7px 27px 7px 9px;font-size:11px;border:1px solid var(--line);border-radius:7px;color:#577060;background-color:#fffefa}
.subscription-pill{display:inline-flex;align-items:center;gap:7px;padding:7px 10px;border:1px solid #e0e8d9;border-radius:7px;background:#f5f8ef;color:#68805e;font-size:10px;white-space:nowrap}
.subscription-pill svg{width:13px;height:13px}
.main{max-width:1500px;padding:39px 40px 52px;margin:0 auto}
.page-kicker{margin-bottom:8px;color:#6f8465;font-size:9px;font-weight:600;text-transform:uppercase;letter-spacing:1.55px}
.heading{display:flex;align-items:center;justify-content:space-between;gap:22px;margin-bottom:30px}
.heading p{margin:0;color:#6f7d68;font-size:13px;max-width:600px}.actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.overview-intro{margin-bottom:31px}
.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:27px}
.stat{min-width:0;padding:22px 23px 20px;border:1px solid var(--line);border-radius:12px;background:var(--surface);box-shadow:0 2px 5px #273c3703}
.stat-top,.stat .label{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:11px;color:#73816b}
.stat-icon{display:grid;place-items:center;width:29px;height:29px;flex:0 0 auto;border-radius:8px;background:#f0f4e9;color:#7b9470}.stat-icon svg{width:15px;height:15px}
.stat .value{margin:18px 0 12px;font-size:27px;font-weight:600;letter-spacing:-.7px;line-height:1.2;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.stat-foot,.stat small{display:flex;align-items:center;gap:5px;color:#76846b;font-size:10px;line-height:1.5}.stat-foot svg{width:12px;height:12px}
.overview-grid,.grid-two{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(270px,1fr);gap:22px;align-items:start}
.panel{min-width:0;padding:24px;margin-bottom:22px;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);box-shadow:0 2px 5px #273c3703}
.panel-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px}.panel-head h2{margin:0}
.panel-head .btn{min-height:32px;padding:7px 11px;font-size:10px}
.panel-description{margin:5px 0 0;color:var(--muted);font-size:12px;line-height:1.6}
.table-wrap{overflow:auto;scrollbar-width:thin;scrollbar-color:#d4ded0 transparent}
table{width:100%;border-collapse:collapse;text-align:left;font-size:12px}
th{padding:13px 11px;color:#748168;background:#f7f9f2;border-top:1px solid #edf0e7;border-bottom:1px solid #edf0e7;font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.65px;white-space:nowrap}
th:first-child{border-top-left-radius:7px;border-bottom-left-radius:7px}th:last-child{border-top-right-radius:7px;border-bottom-right-radius:7px}
td{padding:17px 11px;border-bottom:1px solid #edf0e8;color:#637364;vertical-align:middle;line-height:1.55}
tr:last-child td{border-bottom:0}tbody tr:hover td{background:#fafcf6}
td strong,.cell-title{display:block;color:#465d4e;font-size:12px;font-weight:600}
td small,.cell-subtitle{display:block;margin-top:4px;color:#7b876f;font-size:11px}
.numeric{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
.table-actions{text-align:right;white-space:nowrap}.table-actions .btn{min-height:30px;padding:6px 10px;font-size:10px}.table-actions .btn+.btn{margin-left:4px}
.link-button{min-height:29px;padding:5px 9px;font-size:10px;color:#617c60;background:transparent}
.badge{display:inline-flex;align-items:center;gap:5px;padding:4px 8px;border-radius:5px;font-size:9px;font-weight:500;line-height:1.5;white-space:nowrap;color:#738367;background:#eff3e9}
.badge.green{color:#688461;background:#edf4e8}.badge.amber{color:#a1854e;background:#f9f3df}.badge.red{color:#ab7567;background:#faeeea}.badge.gray{color:#899185;background:#f0f2eb}
.empty-state,.empty{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:45px 24px 46px;text-align:center;color:var(--muted)}
td.empty{display:table-cell}
.empty-icon{display:grid;place-items:center;width:53px;height:53px;margin-bottom:17px;color:#93a984;background:#f1f5e8;border:1px solid #e6ecd9;border-radius:15px}.empty-icon svg{width:23px;height:23px}
.empty-title,.empty strong{display:block;margin:0 0 7px;color:#60735c;font-size:14px;font-weight:600}
.empty-copy{margin:0;max-width:350px;color:#7b886e;font-size:12px;line-height:1.7}
.empty-actions{display:flex;justify-content:center;gap:9px;margin-top:19px}.empty-actions .btn{min-height:35px;padding:8px 12px;font-size:11px}
.info-note{display:flex;gap:13px;align-items:flex-start;padding:17px 19px;border:1px solid #e0e8d5;border-radius:10px;background:#f1f5e8;margin-bottom:22px}
.note-icon{display:inline-flex;flex:0 0 auto;margin-top:1px;color:#86a172}.note-icon svg{width:17px;height:17px}
.note-copy{color:#6e7f5e;font-size:11px;line-height:1.7}.note-copy strong{display:block;margin-bottom:3px;color:#617755;font-weight:600}.note-copy p{margin:0}
.notice{padding:15px 18px;margin-bottom:22px;border:1px solid #e7dfc1;border-radius:10px;color:#97804b;background:#faf6e9;font-size:12px;line-height:1.7}
.strip{display:flex;justify-content:space-between;gap:15px;padding:16px 0;border-bottom:1px solid var(--line);font-size:12px}.strip:last-child{border:0}
.strip small{display:block;margin-top:6px;color:var(--muted);font-size:10px}
.progress{height:5px;margin:10px 0 16px;background:#edf2e5;border-radius:5px;overflow:hidden}.progress span{display:block;height:100%;background:#a0b891}
.bar-label{display:flex;justify-content:space-between;gap:12px;font-size:11px;color:#839075}
.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;align-items:start}
.settings-card{min-width:0;padding:24px;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface)}.settings-card>p{font-size:12px;color:#748168}
.card-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:23px;padding-top:19px;border-top:1px solid var(--line)}
.detail-list{display:grid;gap:0}.detail-list>div{display:flex;justify-content:space-between;gap:24px;padding:13px 0;border-bottom:1px solid #edf0e6;font-size:11px}.detail-list>div:last-child{border:0}
.detail-key{color:#7c876c}.detail-value{color:#62735d;font-weight:500;text-align:right;overflow-wrap:anywhere}
.subscription-row{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:20px 0;border-bottom:1px solid var(--line)}.subscription-row:last-child{border:0}
.search{width:245px;max-width:100%;min-height:37px;padding:9px 12px;border:1px solid var(--line);border-radius:8px;color:var(--ink);background:var(--surface);font-size:11px}

/* Calm entry and account screens */
.auth{display:grid;place-items:center;min-height:100vh;padding:48px;background:#f5f6f1}
.auth-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);width:100%;max-width:1120px;min-height:650px;overflow:hidden;border:1px solid #e2e8da;border-radius:23px;box-shadow:0 15px 65px #39493206;background:var(--surface)}
.auth-story{position:relative;display:flex;flex-direction:column;padding:46px 48px 35px;background:#eff3e6}.auth-story .brand{padding:0;margin-bottom:68px}
.story-kicker,.auth-kicker{color:#708759;font-size:9px;font-weight:600;text-transform:uppercase;letter-spacing:1.8px}
.story-title{margin:12px 0 20px;color:#425a3e;font-size:40px;font-weight:500;letter-spacing:-1.4px;line-height:1.18;max-width:360px}
.story-copy{margin:0;max-width:325px;color:#728663;font-size:13px;line-height:1.85}
.story-art{position:relative;display:grid;place-items:center;min-height:180px;margin:25px -10px 15px;color:#94aa7d}
.story-art>svg{display:block;max-width:100%;width:330px;height:auto;max-height:230px}
.story-footer{margin-top:auto;padding-top:22px;color:#7e8d6c;font-size:10px;line-height:1.7}
.auth-card{align-self:center;width:100%;padding:52px 58px}
.auth>.auth-card{max-width:440px;padding:40px;border:1px solid var(--line);border-radius:17px;background:var(--surface);box-shadow:0 10px 45px #273c3706}
.auth-logo{display:none}.auth-card>.brand{padding:0;margin-bottom:30px}
.auth-card h1{margin-top:12px;margin-bottom:10px;font-size:28px;font-weight:500;letter-spacing:-.8px}
.auth-subtitle,.auth-card>p{color:#788569;font-size:13px;line-height:1.8;margin-bottom:0}
.auth-card form{display:grid;gap:20px;margin-top:32px}.auth-card form>.primary{width:100%;min-height:45px;margin-top:4px;border-radius:8px}
.auth-bottom{margin-top:22px;color:#7c896a;font-size:10px;line-height:1.75}.auth-bottom strong{font-weight:500;color:#7d9070}
.auth-footer{margin-top:28px;color:#849074;font-size:10px;text-align:center}.auth-card .error:empty{display:none}

/* Entry forms and contained, scrolling dialogs */
.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.field{display:flex;flex-direction:column;gap:8px;min-width:0;text-align:left}
.field label,.field-label{color:#62715b;font-size:12px;font-weight:500;line-height:1.45}
.field input,.field select,.field textarea{width:100%;min-height:42px;padding:11px 12px;border:1px solid #dfe6d6;border-radius:8px;color:#42583e;background:#fffefa;font-size:13px;line-height:1.45;transition:border-color .15s,box-shadow .15s}
.field input::placeholder,.field textarea::placeholder{color:#aeb7a3}.field input:hover,.field select:hover,.field textarea:hover{border-color:#cbd8bf}
.field input:focus,.field select:focus,.field textarea:focus{outline:none;border-color:#9cb48b;box-shadow:0 0 0 3px #eaf1e2}
.field textarea{min-height:94px;resize:vertical}.field small{color:#7a866a;font-size:10px;line-height:1.65}
.span-two{grid-column:1/-1}.form-section{grid-column:1/-1;margin-top:4px;padding-top:23px;border-top:1px solid #e9edde}.form-section:first-child{margin-top:0;padding-top:0;border-top:0}
.section-title{margin:0 0 6px;color:#576f4e;font-size:12px;font-weight:600}.section-copy{margin:0 0 15px;color:#7b876c;font-size:12px;line-height:1.7}
.check{display:flex;align-items:flex-start;gap:10px;padding:13px 14px;border:1px solid #e2e9d8;border-radius:9px;background:#f8faf3;color:#728064;font-size:11px;line-height:1.65;cursor:pointer}
.check input{width:15px;height:15px;margin:2px 0 0;flex:0 0 auto;accent-color:var(--green)}
.check strong{display:block;color:#617459;font-size:11px;font-weight:500}.check small{display:block;color:#7b8b66;font-size:10px;margin-top:2px;line-height:1.65}
.form-hint{margin:0;color:#7b8669;font-size:11px;line-height:1.8}
.error{color:#ad7365;font-size:11px;line-height:1.7}.error:empty{display:none}
dialog{width:calc(100% - 48px);max-width:790px;max-height:calc(100dvh - 64px);margin:auto;padding:0;border:1px solid #e0e6d6;border-radius:17px;background:var(--surface);color:var(--ink);box-shadow:0 24px 90px #233d3129}
dialog::backdrop{background:#243c3166;backdrop-filter:blur(4px)}
dialog>form{display:flex;flex-direction:column;max-height:calc(100dvh - 66px);min-height:0}
.dialog-head{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-shrink:0;padding:24px 28px 21px;border-bottom:1px solid #e8ecdf;background:var(--surface)}
.dialog-eyebrow{margin-bottom:6px;color:#7b8e68;font-size:8px;font-weight:600;letter-spacing:1.6px;text-transform:uppercase}
.dialog-title,.dialog-head h2{margin:0;color:#40583b;font-size:20px;font-weight:500;letter-spacing:-.4px}
.icon-close{width:32px;min-height:32px;padding:7px;border:0;border-radius:8px;background:#f3f6ec;color:#8c9d7e}.icon-close:hover{background:#eaf0df}.icon-close svg{width:16px;height:16px}
.dialog-body{min-height:0;overflow-y:auto;padding:25px 28px;scrollbar-width:thin;scrollbar-color:#d3ddc6 transparent}.dialog-body .error{margin-top:14px}
.dialog-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-shrink:0;margin:0;padding:17px 28px;border-top:1px solid #e8ecdf;background:#fafcf5}
.dialog-actions .action-spacer{flex:1;color:#808d6d;font-size:10px}.dialog-actions .btn{min-height:38px}.dialog-actions .danger{margin-right:auto}
.line-labels,.line-row{display:grid;grid-template-columns:minmax(0,3fr) minmax(65px,.7fr) minmax(85px,1fr) 32px;gap:9px}
.line-labels{margin:4px 0 9px;padding:0 2px;color:#7b8c65;font-size:9px}.line-row{margin:9px 0;align-items:center}
.line-row input{width:100%;min-width:0;min-height:39px;padding:10px 11px;border:1px solid #dfe6d4;border-radius:7px;background:#fffefa;color:#5e7450;font-size:11px}
.line-row input:focus{outline:none;border-color:#9cb48b;box-shadow:0 0 0 3px #eaf1e2}.line-row input::placeholder{color:#a7b398}
.line-row .btn{min-height:32px;padding:6px;border:0;color:#a2ad92;background:transparent}.line-row .btn:hover{color:#a77668;background:#faf0e8}
.line-tools{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:12px}
.line-tools .btn{min-height:32px;padding:7px 10px;color:#7b9663;border-style:dashed;font-size:10px}
.form-summary{margin-left:auto;padding:10px 0;text-align:right;color:#7b8d63;font-size:10px}
.form-summary strong{display:inline-block;margin-left:10px;color:#4c673d;font-size:16px;font-weight:600;font-variant-numeric:tabular-nums;letter-spacing:-.3px}
.locked{max-width:560px;text-align:center}.locked h1{font-size:26px}.lock-icon{margin-bottom:20px;color:#91a67a;font-size:38px}.lock-icon svg{width:40px;height:40px}
.loading{padding:50px;color:var(--muted);font-size:12px}
#toast,.toast{position:fixed;z-index:100;left:50%;bottom:25px;display:none;transform:translateX(-50%);max-width:calc(100vw - 32px);padding:13px 20px;border:1px solid #4e765a;border-radius:10px;background:#426844;color:#f6f9f0;box-shadow:0 8px 30px #293b2b14;font-size:12px;line-height:1.6;text-align:center}

/* Complementary composition for the workspace and invoice details. */
.org-label,.org-name,.workspace-caption,.page-kicker,.dialog-eyebrow{display:block}
.workspace-caption{margin-top:5px;color:#718167;font-size:10px;line-height:1.5}
.nav-label:not(:first-child){margin-top:18px}
.nav-dot{width:5px;height:5px;flex:0 0 auto;margin-left:auto;border-radius:50%;background:#75965d}
.amount{display:block;color:#4e6547;font-size:12px;font-weight:500}
.stat-dot{width:5px;height:5px;flex:0 0 auto;border-radius:50%;background:#82a365}
.stat-dot.amber{background:#b9a06a}
.stat .value{font-size:clamp(19px,1.8vw,27px);line-height:1.3}
.workspace-footer{display:flex;justify-content:space-between;gap:20px;padding:11px 2px 0;color:#78866c;font-size:9px;line-height:1.7}
.shortcut-list{display:grid;gap:3px;margin:-5px -8px 18px}
.shortcut-list .shortcut{display:flex;align-items:center;justify-content:flex-start;width:100%;padding:13px 8px;border:0;background:transparent;text-align:left;white-space:normal;gap:12px}
.shortcut-list .shortcut:hover{background:#f4f7ed}
.shortcut-icon{display:grid;place-items:center;width:33px;height:33px;flex:0 0 auto;border:1px solid #e6ecda;border-radius:9px;color:#79955f;background:#f3f7ea}
.shortcut-icon svg{width:16px;height:16px}
.shortcut strong{display:block;color:#526b44;font-size:11px;font-weight:500}
.shortcut small{display:block;margin-top:4px;color:#738266;font-size:10px;font-weight:400;line-height:1.6}
.shortcut-arrow{margin-left:auto;align-self:center;color:#8ca279}
.shortcut-arrow svg{width:14px;height:14px}
.quiet-reminder{padding:15px 16px;border:1px solid #e1e8d2;border-radius:9px;background:#f2f6e9;color:#6f825b;font-size:11px;line-height:1.75}
.quiet-reminder strong{display:block;margin-bottom:5px;color:#5b7149;font-size:11px;font-weight:600}
.quiet-reminder p{margin:0}
.quiet-reminder{display:grid;grid-template-columns:17px minmax(0,1fr);column-gap:9px;row-gap:4px;color:#687c53}
.quiet-reminder>span{grid-row:1/3;align-self:start;margin-top:1px;color:#79925e}
.quiet-reminder>span svg{width:16px;height:16px}
.quiet-reminder strong{grid-column:2;margin:0}.quiet-reminder p{grid-column:2}
.detail-list{grid-template-columns:minmax(110px,1fr) minmax(0,1.4fr);row-gap:18px;column-gap:20px;align-items:start;margin-top:3px}
.detail-list>.detail-key,.detail-list>.detail-value{font-size:11px;line-height:1.65}
.detail-list>.detail-key{color:#647656}
.detail-list>.detail-value{color:#50683f;text-align:right}
.detail-list>div{grid-column:1/-1}
.pre-line{white-space:pre-line;line-height:1.8}
.break-word{overflow-wrap:anywhere;word-break:break-word}
.integration-details{margin-top:20px}
.integration-details summary{color:#637953;font-size:11px;cursor:pointer;line-height:1.7}
.integration-details p{margin:13px 0 7px;font-size:10px}
.integration-details code{display:block;max-width:100%;padding:10px 12px;border:1px solid #e5ebdb;border-radius:7px;background:#f6f8ef;color:#677d51;font-family:ui-monospace,Consolas,monospace;font-size:10px;line-height:1.8;overflow-wrap:anywhere;word-break:break-word;white-space:normal}
.renewal-step{display:flex;align-items:flex-start;gap:14px;padding:17px 0;border-bottom:1px solid #e9edde}
.renewal-step:first-of-type{padding-top:4px}.renewal-step:last-child{padding-bottom:0;border-bottom:0}
.renewal-step>span{display:grid;place-items:center;width:29px;height:29px;flex:0 0 auto;border-radius:8px;background:#eef3e4;color:#6d8753;font-size:10px;font-weight:600}
.renewal-step strong{display:block;margin:1px 0 5px;color:#526b43;font-size:11px;font-weight:500}
.renewal-step p{margin:0;color:#758469;font-size:11px;line-height:1.75}
.auth-bottom{display:flex;align-items:center;gap:8px;font-size:10px;color:#75866b}
.auth-bottom svg{width:14px;height:14px;flex:0 0 auto;color:#7f966d}
.story-content{flex:1}
.story-footer{display:flex;justify-content:space-between;align-items:center;gap:18px;font-size:10px;color:#6f805a}
.story-footer span{font-size:9px;color:#7b8b69}
.auth-footer{display:flex;justify-content:center;gap:18px;font-size:10px;color:#748266}
.auth-footer span{color:#81906f}
.story-art{min-height:257px;margin:33px 2px 17px}
.art-paper{position:relative;width:224px;margin-right:49px;padding:23px 24px 19px;border:1px solid #dce5cc;border-radius:10px;background:#fffef8;box-shadow:0 9px 22px #67854e0c;transform:rotate(-5deg)}
.art-label{display:block;margin-bottom:20px;color:#719157;font-size:11px;font-weight:600;letter-spacing:1.8px}
.art-rule{height:5px;margin-bottom:8px;background:#dfe8d1;border-radius:4px}
.art-rule.long{width:97px}.art-rule.short{width:64px;background:#edf1e3}
.art-divider{height:1px;margin:19px 0 17px;background:#e9eedf}
.art-pair{display:flex;justify-content:space-between;margin-bottom:14px;gap:20px}
.art-pair span{width:77px;height:4px;border-radius:3px;background:#edf1e4}
.art-pair span:last-child{width:33px;background:#e1e9d1}
.art-total{display:flex;align-items:center;gap:7px;margin-top:18px;padding-top:13px;border-top:1px solid #e9eedf;color:#7d9365;font-size:9px}
.art-total svg{width:13px;height:13px;flex:0 0 auto}
.art-receipt{position:absolute;right:-3px;bottom:27px;display:flex;align-items:center;gap:10px;max-width:240px;padding:14px 16px;border:1px solid #d9e3c8;border-radius:10px;background:#f9fcf3;box-shadow:0 6px 16px #5777420d;transform:rotate(3deg)}
.art-receipt>svg{width:26px;height:26px;padding:5px;flex:0 0 auto;border-radius:7px;background:#eaf1dd;color:#739653}
.art-receipt>span{color:#5b7745;font-size:10px;font-weight:500;white-space:nowrap}
.art-receipt small{display:block;margin-top:3px;color:#7a8e66;font-size:8px;font-weight:400}
.dialog-title{font-size:inherit;letter-spacing:normal}.dialog-title h2{line-height:1.25}
.dialog-actions>.form-hint{max-width:43%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:10px;color:#748460}
.invoice-summary{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px 14px;padding:16px 18px;border:1px solid #e1e8d4;border-radius:9px;background:#f4f8ec;color:#708661;font-size:11px}
.invoice-summary strong{margin-left:auto;color:#4b693a;font-size:18px;font-weight:600;letter-spacing:-.3px;font-variant-numeric:tabular-nums}
.destructive-action{display:flex;justify-content:space-between;align-items:center;gap:14px;padding-top:20px;border-top:1px solid #e8edde}
.destructive-action p{margin:0;color:#7d866d;font-size:10px;line-height:1.7}
.destructive-action .danger{color:#9d5f4e;border-color:#ead7ce;background:#fffdf7;min-height:33px;font-size:10px}
.allocation-balance{display:block;margin-top:4px;color:#758967;font-size:10px;font-weight:400}
.line-row .btn-icon{width:32px;min-height:32px;padding:7px;border:0;background:transparent;color:#81936d}
.line-row .btn-icon:hover{color:#9d6c55;background:#faf1e6}
.side-bottom .btn-icon{border-color:transparent;background:transparent;color:#748969}
.info-note.warning{border-color:#e9dfbe;background:#faf5e6}
.info-note.warning .note-icon{color:#ac915b}.info-note.warning .note-copy{color:#8e7b4b}.info-note.warning .note-copy strong{color:#826a38}
.subscription-pill.expired{border-color:#e8dab7;background:#faf4e4;color:#8a7444}
.badge.gray{color:#607050;background:#f0f2eb}
.badge.green{color:#537340}.badge.amber{color:#81672d}.badge.red{color:#995745}
.cell-subtitle.overdue{color:#986f43}.required-dot{color:#83966e}
.locked .empty-icon{margin-left:auto;margin-right:auto}.locked-amount{margin:22px 0 4px;font-size:23px;color:#4a643f;font-weight:600;letter-spacing:-.5px}.locked .card-actions{justify-content:center}
.cell-subtitle,.stat-foot,.stat small,.empty-copy,.panel-description,.allocation-balance{color:#67785c}
.story-copy,.auth-subtitle,.auth-card>p,.auth-bottom{color:#657858}
.story-copy{color:#5c714f}.stat-top,.stat .label{color:#67795b}
.story-kicker,.auth-kicker{color:#63784e}
.field small,.check small,.section-copy,.form-hint,.workspace-caption,.shortcut small,.renewal-step p{color:#6b795e}
.detail-key,.workspace-footer,.auth-footer{color:#67785a}
.subscription-pill{color:#5d764f}

/* Responsive composition */
@media(max-width:1100px){
  .shell{grid-template-columns:216px minmax(0,1fr)}.sidebar{padding-left:15px;padding-right:15px}
  .topbar{padding:17px 27px}.main{padding:32px 27px 45px}.top-actions{gap:12px}
  .workspace-select .field-label{display:none}.workspace-select select{max-width:175px}
  .stats{gap:12px}.stat{padding:19px 17px}.stat .value{font-size:22px}.overview-grid,.grid-two{grid-template-columns:1fr;gap:0}
  .auth{padding:30px}.auth-layout{min-height:600px}.auth-story{padding:37px 34px 30px}.auth-story .brand{margin-bottom:57px}
  .story-title{font-size:35px}.auth-card{padding:43px 35px}
  .story-art{margin-left:0;margin-right:0}.art-paper{margin-right:39px}.art-receipt{right:-12px;max-width:217px;padding:13px 12px}
  .stat .value{font-size:clamp(19px,2.25vw,23px)}
}
@media(max-width:780px){
  .shell{display:block}.sidebar{position:static;height:auto;padding:18px 19px 12px;border-right:0;border-bottom:1px solid var(--line)}
  .sidebar .brand{padding-left:4px}.sidebar .brand-copy strong{font-size:18px}.workspace-card,.nav-label,.side-bottom{display:none}
  .nav{display:flex;gap:4px;overflow-x:auto;margin-top:18px;padding-bottom:3px;scrollbar-width:none}.nav::-webkit-scrollbar{display:none}
  .nav button{width:auto;min-height:37px;padding:9px 12px;font-size:11px;flex:0 0 auto}.nav .icon{width:15px;height:17px;margin:0}.nav .icon svg{width:15px;height:15px}
  .topbar{min-height:65px;padding:14px 23px}.top-actions{gap:8px}.subscription-pill{font-size:9px;padding:6px 8px}
  .workspace-select select{max-width:160px;font-size:10px}.main{padding:29px 23px 35px}
  .heading{align-items:flex-start;gap:16px;margin-bottom:24px}.heading p{max-width:350px;font-size:11px}h1{font-size:26px}
  .heading .btn{min-height:37px;padding:9px 12px;font-size:11px}.stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
  .stat{padding:20px}.stat .value{font-size:25px}.panel,.settings-card{padding:21px}.settings-grid{grid-template-columns:1fr}
  .auth{padding:24px}.auth-layout{display:block;max-width:440px;min-height:auto;border-radius:18px}.auth-story{display:none}
  .auth-logo{display:flex;margin-bottom:36px}.auth-card{padding:36px}.auth-card h1{font-size:26px}
  dialog{width:calc(100% - 30px);max-height:calc(100dvh - 40px)}dialog>form{max-height:calc(100dvh - 42px)}
  .dialog-head{padding:22px 24px 20px}.dialog-body{padding:23px 24px}.dialog-actions{padding:16px 24px}
  .workspace-footer{font-size:9px}.nav-dot{display:none}.nav-label:not(:first-child){margin-top:0}
}
@media(max-width:520px){
  .sidebar{padding:15px 13px 9px}.brand-mark{width:33px;height:33px;border-radius:9px}.sidebar .brand-copy small{font-size:9px}
  .nav{margin-top:15px}.nav button{padding:9px 10px}.nav .icon{display:none}
  .topbar{padding:12px 17px;min-height:58px;gap:10px}.breadcrumbs{font-size:10px;gap:6px}.breadcrumbs>span:first-child{display:none}
  .workspace-select select{max-width:132px;min-height:31px}.subscription-pill{padding:6px 7px;font-size:8px}.subscription-pill svg{display:none}
  .main{padding:26px 17px 30px}.heading{flex-wrap:wrap;gap:17px;margin-bottom:24px}.heading .actions{width:100%}.heading .actions .btn{min-height:37px}
  h1{font-size:25px}.page-kicker{font-size:8px}.stats{gap:10px;margin-bottom:22px}.stat{padding:17px 14px;border-radius:11px}
  .stat-top,.stat .label{font-size:10px}.stat-icon{width:24px;height:24px;border-radius:6px}.stat-icon svg{width:13px;height:13px}
  .stat .value{margin:17px 0 10px;font-size:21px}.stat-foot,.stat small{font-size:9px}
  .panel,.settings-card{padding:18px;border-radius:12px;margin-bottom:18px}.panel-head{gap:10px;margin-bottom:18px}
  .panel-head h2{font-size:14px}.panel-head .btn{padding:6px 7px;font-size:9px}.panel-description{font-size:10px}
  table{min-width:550px}.empty-state{padding:31px 10px 32px}.empty-copy{font-size:10px}
  .info-note{padding:14px;gap:10px}.note-copy{font-size:10px}.settings-grid{gap:0}
  .card-actions .btn{font-size:10px;padding:9px 11px}.subscription-row{align-items:flex-start;flex-direction:column;gap:13px}
  .auth{padding:18px}.auth-layout{border-radius:16px}.auth-card,.auth>.auth-card{padding:31px 26px}.auth-card h1{font-size:24px}
  .auth-card form{gap:19px;margin-top:29px}.auth-logo{margin-bottom:31px}.auth-subtitle{font-size:11px}.auth-footer{max-width:270px;line-height:1.6}
  .form-grid{grid-template-columns:1fr;gap:19px}.span-two,.form-section{grid-column:1}
  dialog{width:calc(100% - 20px);max-height:calc(100dvh - 24px);border-radius:13px}dialog>form{max-height:calc(100dvh - 26px)}
  .dialog-head{padding:19px 19px 17px}.dialog-title,.dialog-head h2{font-size:18px}.dialog-body{padding:20px 19px}
  .dialog-actions{padding:14px 19px;gap:7px}.dialog-actions .btn{padding:9px 12px;font-size:11px}.dialog-actions .action-spacer{font-size:9px}
  .line-labels,.line-row{grid-template-columns:minmax(0,1fr) 55px 76px 26px;gap:6px}.line-row input{padding:10px 7px;font-size:10px}
  .line-labels{font-size:8px}.line-tools{align-items:flex-start;gap:8px}.form-summary{padding:7px 0;font-size:9px}
  .form-summary strong{display:block;margin:4px 0 0;font-size:15px}.check{padding:12px}.detail-list>div{gap:15px;font-size:10px}.loading{padding:30px 20px}
  .dialog-actions>.form-hint{display:none}.dialog-title{font-size:inherit}.detail-list{column-gap:12px;row-gap:15px;grid-template-columns:minmax(100px,1fr) minmax(0,1.4fr)}
  .detail-list>.detail-key,.detail-list>.detail-value{font-size:10px}.auth-footer{gap:10px;flex-wrap:wrap}
  .destructive-action{align-items:flex-start}.destructive-action p{max-width:200px}
  .invoice-summary strong{font-size:16px}.invoice-summary>span:first-child{font-size:10px}
  .stat .value{font-size:clamp(17px,4.5vw,22px)}.stat-top>span:first-child{font-size:10px}.workspace-footer{font-size:8px}
  .line-row .btn-icon{width:26px;min-height:30px;padding:6px}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
.mobile-only{display:none}
@media(max-width:780px){.mobile-only{display:inline-flex;flex:0 0 auto}.top-actions{flex-shrink:1}}
@media(max-width:520px){.topbar .subscription-pill{display:none}.breadcrumbs .breadcrumb-slash{display:none}.top-actions{margin-left:auto}.workspace-select select{max-width:145px}}
