:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#14181a;--surface:#1b2024;--surface-2:#232a2f;--surface-high:#2c343a;--border:#2c343a;--outline:#3c474e;--ink:#fff5e8;--muted:#9aa6ad;--faint:#838d94;--agent:#28c1ff;--agent-soft:#94d8ff;--agent-deep:#0e84b3;--human:#ff9a29;--human-soft:#ffcb93;--human-deep:#b35e00;--success:#28c1ff;--warning:#ff9a29;--error:#ff6b6b;--error-bg:#ff6b6b29;--agent-pill:#28c1ff26;--human-pill:#ff9a292e;--sidebar-width:240px;--font-serif:"Domine", ui-serif, Georgia, serif;--font-agent:"Jost", ui-sans-serif, system-ui, sans-serif;--font-mono:"JetBrains Mono", ui-monospace, "SF Mono", monospace;--font-sans:"Raleway", ui-sans-serif, system-ui, sans-serif;--shadow-panel:0 16px 48px #00000080;--shadow-pop:0 8px 24px #00000080;--ease:cubic-bezier(.16, 1, .3, 1)}*{box-sizing:border-box}html,body{min-height:100vh;margin:0}body{background:var(--bg);color:var(--ink);font-family:var(--font-sans);-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;font-size:14px;line-height:1.45}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer}a{color:var(--agent);text-decoration:none}a:hover{text-decoration:underline}h1,h2,h3,h4{font-family:var(--font-serif);margin:0;font-weight:600}:focus-visible{outline:2px solid var(--agent);outline-offset:2px;border-radius:4px}.material-symbols-outlined{letter-spacing:normal;text-transform:none;white-space:nowrap;font-variation-settings:"wght" 500;-webkit-font-feature-settings:"liga";-webkit-font-smoothing:antialiased;-webkit-user-select:none;user-select:none;direction:ltr;font-family:Material Symbols Outlined;font-size:20px;font-style:normal;font-weight:400;line-height:1;display:inline-block}.muted{color:var(--muted)}.faint{color:var(--faint)}.mono{font-family:var(--font-mono)}.accent{color:var(--agent);font-weight:600}.error{color:var(--error);margin:0;font-size:.9rem}.stack{flex-direction:column;gap:16px;display:flex}.cluster{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.spacer{flex:1}.app-shell{grid-template-columns:var(--sidebar-width) 1fr;min-height:100vh;display:grid}.sidebar{z-index:20;background:var(--surface);border-right:1px solid var(--border);flex-direction:column;gap:18px;height:100vh;padding:22px 16px;display:flex;position:sticky;top:0;overflow:visible}.sidebar-brand{flex-direction:column;gap:8px;padding:0 6px 2px;display:flex}.brand-logo{width:auto;height:26px;display:block}.brand-sub{font-family:var(--font-mono);letter-spacing:.14em;color:var(--faint);text-transform:uppercase;margin:0;font-size:10px}.org-switcher{z-index:30;min-width:0;max-width:100%;position:relative}.org-switcher>.org-current{border:1px solid var(--border);background:var(--surface-2);width:100%;min-width:0;max-width:100%;color:var(--ink);text-align:left;border-radius:10px;align-items:center;gap:10px;padding:8px 10px;display:flex}button.org-current{cursor:pointer;transition:border-color .2s var(--ease)}button.org-current:hover{border-color:var(--outline)}button.org-current:focus-visible{outline:2px solid var(--agent);outline-offset:2px}.org-badge{background:var(--surface-high);width:26px;height:26px;color:var(--agent);font-family:var(--font-mono);border-radius:7px;flex:none;justify-content:center;align-items:center;font-size:12px;font-weight:700;display:inline-flex}.org-name{white-space:nowrap;text-overflow:ellipsis;flex:1;min-width:0;font-size:13px;font-weight:600;overflow:hidden}.org-role{font-family:var(--font-mono);letter-spacing:.06em;text-transform:uppercase;color:var(--faint);flex-shrink:0;font-size:10px}.org-switcher .material-symbols-outlined{color:var(--muted);flex:none;width:18px;font-size:18px;overflow:hidden}.org-menu{z-index:40;background:var(--surface);border:1px solid var(--outline);box-shadow:var(--shadow-panel);border-radius:12px;flex-direction:column;gap:2px;padding:6px;display:flex;position:absolute;top:calc(100% + 6px);left:0;right:0}.org-menu.up{top:auto;bottom:calc(100% + 6px)}.org-menu button{color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:8px;align-items:center;gap:10px;padding:8px 10px;font-size:13px;display:flex}.org-menu button:hover{background:var(--surface-high)}.org-menu button:focus-visible{outline:2px solid var(--agent);outline-offset:-2px;background:var(--surface-high)}.org-menu button.active{color:var(--agent)}.org-menu button .org-name{flex:1}.sidebar-nav{flex-direction:column;flex:1;gap:3px;min-height:0;display:flex;overflow-y:auto}.nav-eyebrow{font-family:var(--font-mono);letter-spacing:.1em;text-transform:uppercase;color:var(--faint);padding:6px 12px 2px;font-size:10px}.nav-link{min-width:0;min-height:42px;color:var(--muted);transition:background .2s var(--ease), color .2s var(--ease);border-radius:10px;align-items:center;gap:12px;padding:8px 12px;font-weight:500;text-decoration:none;display:flex}.nav-link-label{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.nav-link .material-symbols-outlined{width:20px;color:var(--faint);flex-shrink:0;font-size:20px;overflow:hidden}.nav-link:hover{background:var(--surface-2);color:var(--ink);text-decoration:none}.nav-link:hover .material-symbols-outlined{color:var(--muted)}.nav-link.active{background:var(--surface-high);color:var(--agent);font-weight:600}.nav-link.active .material-symbols-outlined{color:var(--agent)}.sidebar-footer{border-top:1px solid var(--border);flex-direction:column;gap:12px;min-width:0;max-width:100%;padding-top:14px;display:flex}.sidebar-footer>.btn{align-self:stretch;max-width:100%}.user-card{align-items:center;gap:10px;min-width:0;display:flex}.user-meta{flex:1;min-width:0}.user-name{white-space:nowrap;text-overflow:ellipsis;margin:0;font-size:13px;font-weight:600;overflow:hidden}.user-email{color:var(--muted);font-size:11px;font-family:var(--font-mono);white-space:nowrap;text-overflow:ellipsis;margin:0;overflow:hidden}.content{min-width:0}.workspace{max-width:1200px;padding:28px 32px 60px}.page-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:24px;display:flex}.page-eyebrow{font-family:var(--font-mono);letter-spacing:.1em;text-transform:uppercase;color:var(--faint);margin:0 0 6px;font-size:11px}.page-title{font-family:var(--font-serif);letter-spacing:-.01em;margin:0;font-size:32px;font-weight:600;line-height:40px}.page-lead{color:var(--muted);max-width:68ch;margin:8px 0 0;font-size:16px}.page-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.section-title{font-family:var(--font-serif);margin:0;font-size:20px;font-weight:600}.settings-scope-lead{max-width:68ch;margin:0 0 16px}.settings-scope-list{flex-direction:column;gap:12px;margin:0;padding:0;list-style:none;display:flex}.settings-scope-row{border:1px solid var(--border);background:#ffffff03;border-radius:10px;align-items:flex-start;gap:12px;padding:12px 14px;display:flex}.settings-scope-icon{color:var(--muted);margin-top:2px;display:flex}.settings-scope-copy{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.settings-scope-title{font-weight:600}.settings-scope-desc{color:var(--muted);font-size:14px}.company-info-form .form-row{grid-template-columns:1fr 1fr;gap:12px;display:grid}.company-address-fieldset{border:1px solid var(--border);border-radius:10px;margin:0;padding:12px 14px 14px}.company-address-fieldset legend{padding:0 4px;font-weight:600}.company-logo-preview img{object-fit:contain;border:1px solid var(--border);border-radius:6px;max-width:200px;max-height:64px}.company-info-onboarding{border-top:1px solid var(--border);margin-top:20px;padding-top:16px}.company-info-onboarding h3{margin:0 0 8px;font-size:16px}.success-text{color:var(--success);margin:0 0 8px}.eyebrow{font-family:var(--font-mono);letter-spacing:.08em;text-transform:uppercase;color:var(--faint);font-size:11px}.card{background:linear-gradient(180deg, #ffffff04, transparent), var(--surface);border:1px solid var(--border);border-radius:12px;padding:20px}.card.pad-sm{padding:14px 16px}.card-head{justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px;display:flex}.card-head .material-symbols-outlined{color:var(--muted)}.grid{gap:16px;display:grid}.stats-grid{grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}.stat-tile{background:var(--surface);border:1px solid var(--border);border-radius:10px;padding:16px 18px}.stat-tile .stat-label{font-family:var(--font-mono);letter-spacing:.05em;text-transform:uppercase;color:var(--muted);align-items:center;gap:8px;font-size:11px;display:flex}.stat-tile .stat-value{font-family:var(--font-serif);font-variant-numeric:tabular-nums;margin-top:12px;font-size:36px;font-weight:600;line-height:1}.stat-tile .stat-sub{color:var(--muted);margin-top:8px;font-size:12px}.btn{height:38px;font-family:var(--font-sans);letter-spacing:.01em;transition:transform .3s var(--ease), background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);white-space:nowrap;border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;gap:7px;padding:0 16px;font-size:13px;font-weight:600;text-decoration:none;display:inline-flex}.btn:hover{text-decoration:none}.btn .material-symbols-outlined{font-size:18px}.btn:disabled,.btn[aria-disabled=true]{opacity:.5;cursor:not-allowed;transform:none!important}.btn-primary{background:var(--agent);color:#14181a;box-shadow:0 0 0 1px #28c1ff4d,0 6px 24px -10px #28c1ff99}.btn-primary:hover:not(:disabled){background:var(--agent-soft);transform:translateY(-1px)}.btn-secondary{background:var(--surface);border-color:var(--outline);color:var(--ink)}.btn-secondary:hover:not(:disabled){border-color:var(--agent);color:var(--agent)}.btn-ghost{color:var(--muted);background:0 0;border-color:#0000;height:34px;padding:0 12px;font-size:12px}.btn-ghost:hover:not(:disabled){background:var(--surface-2);color:var(--ink)}.btn-danger{background:var(--error-bg);border-color:color-mix(in srgb, var(--error) 50%, transparent);color:var(--error)}.btn-danger:hover:not(:disabled){background:color-mix(in srgb, var(--error) 28%, transparent);color:var(--ink)}.btn-zone{background:color-mix(in srgb, var(--zone) 16%, transparent);border-color:color-mix(in srgb, var(--zone) 45%, transparent);color:var(--zone)}.btn-zone:hover:not(:disabled){background:color-mix(in srgb, var(--zone) 26%, transparent)}.btn-sm{height:32px;padding:0 12px;font-size:12px}.btn-block{width:100%}.zone-human{--zone:var(--human)}.zone-agent{--zone:var(--agent)}.zone-agent h1,.zone-agent h2,.zone-agent h3,.zone-agent h4,.zone-agent .agent-heading,.budget-card.zone-agent .budget-name{font-family:var(--font-agent);font-weight:600}.field{flex-direction:column;gap:6px;display:flex}.field>label,.field-label{font-family:var(--font-mono);letter-spacing:.04em;text-transform:uppercase;color:var(--muted);font-size:11px;font-weight:600}.field input,.field select,.field textarea,.input,.select{border:1px solid var(--border);background:var(--surface-2);height:38px;color:var(--ink);transition:border-color .2s var(--ease);border-radius:8px;padding:0 12px;font-family:inherit;font-size:14px}.field textarea{height:auto;min-height:84px;padding:10px 12px}.field input::placeholder,.input::placeholder{color:var(--faint)}.field input:focus,.field select:focus,.field textarea:focus,.input:focus,.select:focus{border-color:var(--agent);outline:none;box-shadow:0 0 0 3px #28c1ff2e}.field .field-hint{color:var(--muted);margin:0;font-size:12px}.field-error{color:var(--error);margin:4px 0 0;font-size:12px}.input.input-invalid,.select.input-invalid{border-color:var(--error)}.input.input-invalid:focus,.select.input-invalid:focus{border-color:var(--error);box-shadow:0 0 0 3px #ff6b6b2e}.form-grid{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:14px;display:grid}.pill{height:22px;font-family:var(--font-mono);letter-spacing:.02em;background:var(--surface-high);color:var(--muted);white-space:nowrap;border-radius:999px;align-items:center;gap:6px;padding:0 10px;font-size:11px;font-weight:600;display:inline-flex}.pill .dot{background:currentColor;border-radius:50%;width:6px;height:6px}.pill.good{background:var(--agent-pill);color:var(--agent)}.pill.warn{background:var(--human-pill);color:var(--human-soft)}.pill.bad{background:var(--error-bg);color:var(--error)}.pill.neutral{background:var(--surface-high);color:var(--muted)}.pill.agent{background:var(--agent-pill);color:var(--agent)}.pill.human{background:var(--human-pill);color:var(--human-soft)}.tier-badge{height:22px;font-family:var(--font-mono);letter-spacing:.03em;white-space:nowrap;border-radius:999px;align-items:center;padding:0 10px;font-size:11px;font-weight:700;display:inline-flex}.tier-badge.tier-read_only{background:var(--surface-high);color:var(--muted)}.tier-badge.tier-read_initiate{background:var(--human-pill);color:var(--human-soft)}.tier-badge.tier-full{background:var(--agent-pill);color:var(--agent)}.money{font-family:var(--font-mono);font-variant-numeric:tabular-nums;white-space:nowrap}.money.neg{color:var(--error)}td.money,.money.right{text-align:right}.principal-badge{align-items:center;gap:7px;max-width:100%;display:inline-flex}.principal-badge .pb-dot{border-radius:50%;flex:none;width:8px;height:8px}.principal-badge .pb-name{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.principal-badge.is-human .pb-dot{background:var(--human)}.principal-badge.is-human .pb-name{font-family:var(--font-serif);color:var(--human-soft)}.principal-badge.is-agent .pb-dot{background:var(--agent)}.principal-badge.is-agent .pb-name{font-family:var(--font-mono);color:var(--agent-soft);font-size:.92em}.principal-badge .pb-kind{font-family:var(--font-mono);letter-spacing:.06em;text-transform:uppercase;color:var(--faint);font-size:10px}.avatar{width:34px;height:34px;font-family:var(--font-mono);border-radius:50%;flex:none;justify-content:center;align-items:center;font-size:12px;font-weight:700;display:inline-flex}.avatar.is-human{background:var(--human-pill);color:var(--human-soft)}.avatar.is-agent{background:var(--agent-pill);color:var(--agent)}.table-card{background:var(--surface);border:1px solid var(--border);border-radius:12px;overflow:hidden}.table-head{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:16px;padding:14px 18px;display:flex}.table-scroll{overflow-x:auto}.data-table{border-collapse:collapse;width:100%}.data-table th,.data-table td{text-align:left;vertical-align:middle;border-bottom:1px solid var(--border);padding:11px 18px}.data-table th{background:var(--surface-2);color:var(--muted);font-family:var(--font-mono);text-transform:uppercase;letter-spacing:.04em;font-size:11px;font-weight:600;position:sticky;top:0}.data-table th.num,.data-table td.num{text-align:right;font-family:var(--font-mono);font-variant-numeric:tabular-nums;white-space:nowrap}.data-table tbody tr:last-child td{border-bottom:0}.data-table tbody tr:hover td{background:var(--surface-2)}.empty-state{border:1px dashed var(--outline);text-align:center;color:var(--muted);border-radius:12px;flex-direction:column;align-items:center;gap:8px;padding:32px;display:flex}.empty-state .material-symbols-outlined{color:var(--faint);font-size:32px}.empty-state .es-title{font-family:var(--font-serif);color:var(--ink);font-size:16px}.empty-state .es-body{max-width:46ch;font-size:13px}.empty-state-actions{flex-wrap:wrap;justify-content:center;gap:8px;margin-top:12px;display:flex}.empty-state-footnote{max-width:52ch;margin:4px 0 0;font-size:12px}.placeholder-card{background:var(--surface);border:1px dashed var(--outline);color:var(--muted);border-radius:12px;max-width:52rem;padding:20px 22px}.placeholder-card strong{color:var(--ink)}.placeholder-card p{margin:0 0 8px}.placeholder-card p:last-child{margin-bottom:0}.auth-page{background:radial-gradient(1100px 520px at 50% -10%, #28c1ff1a, transparent 60%), radial-gradient(900px 480px at 90% 110%, #ff9a2914, transparent 60%), var(--bg);place-items:center;min-height:100vh;padding:24px;display:grid}.auth-column{flex-direction:column;gap:20px;width:100%;max-width:26rem;display:flex}.auth-brand{text-align:center;flex-direction:column;align-items:center;gap:12px;display:flex}.auth-brand h1{margin:0}.auth-brand .brand-logo{height:34px}.auth-brand .auth-tagline{color:var(--muted);max-width:34ch;margin:0;font-size:14px}.auth-card{background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow-panel);border-radius:14px;flex-direction:column;gap:16px;padding:28px;display:flex}.auth-card h2{margin:0;font-size:22px}.auth-card .auth-subtitle{color:var(--muted);margin:-6px 0 0;font-size:14px}.auth-switch{text-align:center;font-size:13px}.auth-legal{text-align:center;margin:0;font-size:12px;line-height:1.5}.button-link{background:var(--surface-2);border:1px solid var(--outline);height:38px;color:var(--ink);font-family:var(--font-sans);border-radius:8px;justify-content:center;align-items:center;gap:7px;padding:0 16px;font-size:13px;font-weight:600;text-decoration:none;display:inline-flex}.button-link:hover{border-color:var(--agent);color:var(--agent);text-decoration:none}.duality-wordmark{font-family:var(--font-serif);background:linear-gradient(100deg, var(--human) 0%, var(--human-soft) 30%, var(--agent-soft) 70%, var(--agent) 100%);-webkit-text-fill-color:transparent;color:#0000;-webkit-background-clip:text;background-clip:text;font-weight:700}.claim-page{background:radial-gradient(1000px 480px at 50% -10%, #28c1ff17, transparent 60%), var(--bg);justify-content:center;align-items:center;min-height:100vh;padding:40px 20px;display:flex}.claim-card{background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow-panel);border-radius:16px;width:100%;max-width:600px;padding:32px}.claim-brand{flex-direction:column;gap:6px;margin-bottom:20px;display:flex}.claim-brand .brand-logo{height:26px}.claim-intro{color:var(--ink);margin:0 0 20px;line-height:1.55}.claim-note{background:var(--agent-pill);color:var(--agent);border-radius:10px;margin:0 0 16px;padding:10px 14px;font-size:13px}.claim-config{border:1px solid var(--border);border-radius:12px;margin-bottom:24px;overflow:hidden}.claim-config-row{border-bottom:1px solid var(--border);grid-template-columns:210px 1fr;gap:16px;padding:14px 16px;display:grid}.claim-config-row:last-child{border-bottom:none}.claim-config-label{color:var(--muted);font-family:var(--font-mono);letter-spacing:.04em;text-transform:uppercase;font-size:11px;font-weight:600}.claim-config-value{font-size:14px}.claim-list{flex-direction:column;gap:4px;margin:0;padding-left:18px;display:flex}.claim-action{flex-direction:column;gap:12px;display:flex}.claim-cta{background:var(--agent);color:#14181a;font-family:var(--font-sans);border-radius:8px;align-self:flex-start;align-items:center;gap:8px;padding:10px 18px;font-size:13px;font-weight:600;text-decoration:none;display:inline-flex;box-shadow:0 0 0 1px #28c1ff4d,0 6px 24px -10px #28c1ff99}.claim-cta:hover{background:var(--agent-soft);text-decoration:none}.claim-success h2{margin:0 0 12px;font-size:24px}.claim-success p{line-height:1.55}.claim-footer{text-align:center;color:var(--faint);margin:24px 0 0;font-size:12px}@media (width<=560px){.claim-config-row{grid-template-columns:1fr;gap:4px}}.legal-page{background:radial-gradient(1000px 480px at 50% -10%, #28c1ff17, transparent 60%), var(--bg);min-height:100vh;padding:40px 20px 56px}.legal-page-inner{max-width:42rem;margin:0 auto}.public-header{justify-content:center;margin-bottom:28px;display:flex}.public-header .brand-logo{height:30px}.legal-article{background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow-panel);border-radius:14px;flex-direction:column;gap:20px;padding:28px 32px;font-size:14px;line-height:1.55;display:flex}.legal-article-header h1{margin:0 0 6px;font-size:28px}.legal-meta{color:var(--muted);margin:0;font-size:13px}.legal-article h2{margin:0;font-size:18px}.legal-article section{flex-direction:column;gap:10px;display:flex}.legal-article ul{flex-direction:column;gap:8px;margin:0;padding-left:1.25rem;display:flex}.legal-article p{margin:0}.legal-page-nav{text-align:center;color:var(--muted);margin-top:24px;font-size:13px}.not-found-page{background:radial-gradient(900px 440px at 50% 0%, #28c1ff1f, transparent 55%), var(--bg);place-items:center;min-height:100vh;padding:32px 20px;display:grid}.not-found-card{text-align:center;flex-direction:column;align-items:center;gap:14px;max-width:26rem;display:flex}.not-found-symbol{width:72px;height:auto}.not-found-code{font-family:var(--font-agent);letter-spacing:.2em;color:var(--agent);text-transform:uppercase;margin:0;font-size:13px;font-weight:600}.not-found-card h1{font-size:26px}.not-found-card .btn{margin-top:8px}.graph-columns{grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:16px;margin-top:8px;display:grid}.graph-column{flex-direction:column;gap:10px;display:flex}.graph-column-head{align-items:center;gap:8px;display:flex}.graph-column-head .material-symbols-outlined{color:var(--muted);font-size:18px}.graph-column-head h3{font-family:var(--font-serif);margin:0;font-size:16px;font-weight:600}.graph-column-head .count{font-family:var(--font-mono);color:var(--faint);margin-left:auto;font-size:11px}.graph-column-hint{color:var(--faint);margin:-4px 0 2px;font-size:12px}.graph-node{background:var(--surface);border:1px solid var(--border);transition:border-color .2s var(--ease), transform .3s var(--ease);border-radius:10px;padding:14px}.graph-node:hover{border-color:var(--outline);transform:translateY(-1px)}.graph-node.placeholder{background:0 0;border-style:dashed}.graph-node-head{justify-content:space-between;align-items:center;gap:8px;display:flex}.graph-node-name{font-size:14px;font-weight:600}.graph-node-balance{font-family:var(--font-serif);font-variant-numeric:tabular-nums;margin:10px 0 6px;font-size:24px;font-weight:600}.graph-node-balance.neg{color:var(--error)}.graph-node-meta{color:var(--muted);margin:0;font-size:12px}.graph-empty{border:1px dashed var(--outline);color:var(--faint);text-align:center;border-radius:10px;padding:16px;font-size:12px}.graph-edges{margin-top:28px}.edge-list{flex-wrap:wrap;gap:8px;margin:12px 0 0;padding:0;list-style:none;display:flex}.edge-chip{background:var(--surface);border:1px solid var(--border);border-radius:999px;align-items:center;gap:8px;padding:5px 12px;font-size:12px;display:inline-flex}.edge-kind{font-family:var(--font-mono);text-transform:uppercase;letter-spacing:.05em;color:var(--agent);font-size:10px;font-weight:700}.edge-observed_flow .edge-kind{color:var(--human-soft)}.edge-chip .edge-meta{color:var(--muted);font-family:var(--font-mono)}.activation-widget{background:var(--surface);border:1px solid var(--border);border-radius:12px;margin:20px 0;padding:18px 20px}.activation-head{justify-content:space-between;align-items:center;gap:10px;margin-bottom:4px;display:flex}.activation-head h3{font-family:var(--font-serif);margin:0;font-size:18px}.activation-badge{height:24px;font-family:var(--font-mono);letter-spacing:.02em;border-radius:999px;align-items:center;gap:6px;padding:0 12px;font-size:11px;font-weight:600;display:inline-flex}.activation-badge.live{background:var(--agent-pill);color:var(--agent)}.activation-badge.pending{background:var(--human-pill);color:var(--human-soft)}.activation-steps{grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:8px 16px;margin:14px 0 0;padding:0;list-style:none;display:grid}.activation-steps .step{align-items:center;gap:8px;font-size:13px;display:flex}.activation-steps .step-mark{font-family:var(--font-mono);font-weight:700}.activation-steps .step.done .step-mark{color:var(--agent)}.activation-steps .step.pending{color:var(--muted)}.activation-steps .step.pending .step-mark{color:var(--faint)}.activation-steps .step-at{font-family:var(--font-mono);color:var(--faint);margin-left:auto;font-size:11px}.activation-blocking{background:var(--human-pill);color:var(--human-soft);border-radius:10px;margin:16px 0 0;padding:10px 14px;font-size:13px}.review-page:focus{outline:none}.review-createrule{color:var(--muted);cursor:pointer;align-items:center;gap:8px;font-size:13px;display:inline-flex}.review-createrule input{accent-color:var(--agent);width:16px;height:16px}.review-hint{flex-wrap:wrap;align-items:center;gap:6px;display:inline-flex}.kbd{border:1px solid var(--outline);background:var(--surface-2);min-width:20px;height:20px;font-family:var(--font-mono);color:var(--muted);border-radius:5px;justify-content:center;align-items:center;padding:0 5px;font-size:11px;display:inline-flex}.review-banner{background:var(--agent-pill);color:var(--agent);border-radius:10px;align-items:center;gap:8px;margin:16px 0 0;padding:10px 14px;font-size:13px;display:flex}.review-group{border:1px solid var(--border);background:var(--surface);border-radius:12px;margin-top:16px;overflow:hidden}.review-group-head{background:var(--surface-2);border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:12px;padding:12px 16px;display:flex}.review-group-head h3{font-family:var(--font-serif);align-items:baseline;gap:8px;margin:0;font-size:16px;display:flex}.review-group-actions{gap:8px;display:flex}.review-item{border-bottom:1px solid var(--border);cursor:pointer;transition:background .15s var(--ease);padding:14px 16px}.review-item:last-child{border-bottom:none}.review-item:hover{background:var(--surface-2)}.review-item.static{cursor:default}.review-item.static:hover{background:0 0}.review-exception-note{margin:0;padding:12px 16px 0}.review-item.focused{box-shadow:inset 3px 0 0 var(--agent);background:#28c1ff0f}.review-item-main{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.review-item-desc{font-weight:600}.review-item-amount{font-family:var(--font-mono);font-variant-numeric:tabular-nums}.review-item-proposal{flex-wrap:wrap;align-items:center;gap:10px;margin-top:8px;display:flex}.proposed-account{color:var(--ink);font-size:13px}.confidence{align-items:center;gap:7px;display:inline-flex}.confidence-meter{background:var(--surface-high);border-radius:999px;width:54px;height:5px;overflow:hidden}.confidence-meter>span{background:var(--agent);border-radius:999px;height:100%;display:block}.confidence-badge{font-family:var(--font-mono);color:var(--agent);font-size:11px}.review-item-explanation{color:var(--muted);margin:8px 0 0;font-size:12px}.review-item-actions,.review-item-picker{align-items:center;gap:8px;margin-top:12px;display:flex}.review-item-picker select{flex:1}.connection-card,.add-account-form{background:var(--surface);border:1px solid var(--border);border-radius:12px;flex-direction:column;gap:12px;padding:18px 20px;display:flex}.add-account-form h3,.connection-card h3{font-family:var(--font-serif);margin:0;font-size:16px}.add-account-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px;display:grid}.connection-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.connection-head strong{font-size:15px}.connection-title{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.connection-actions{border-top:1px solid var(--border);grid-template-columns:1fr auto;align-items:start;gap:16px;padding-top:14px;display:grid}.anchor-form{flex-wrap:wrap;align-items:flex-end;gap:10px;display:flex}.anchor-form .field input{width:9rem}.wallet-grid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px;display:grid}.wallet-card{background:linear-gradient(135deg, var(--surface-2), var(--surface));border:1px solid var(--outline);border-radius:14px;flex-direction:column;gap:14px;min-height:130px;padding:18px;display:flex;position:relative;overflow:hidden}.wallet-card:after{content:"";pointer-events:none;background:radial-gradient(circle,#28c1ff1f,#0000 70%);border-radius:50%;width:140px;height:140px;position:absolute;top:-40px;right:-40px}.wallet-card-head{justify-content:space-between;align-items:center;gap:8px;display:flex}.wallet-card-name{font-size:15px;font-weight:600}.wallet-card-meta{font-family:var(--font-mono);color:var(--muted);margin:0;font-size:12px}.card-rows{flex-direction:column;gap:10px;display:flex}.card-row{background:var(--surface);border:1px solid var(--border);border-radius:10px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;padding:14px 16px;display:flex}.card-row-main{align-items:center;gap:12px;min-width:0;display:flex}.card-chip{background:linear-gradient(135deg, var(--human-soft), var(--human));opacity:.85;border-radius:5px;flex:none;width:34px;height:24px}.card-number{font-family:var(--font-mono);letter-spacing:.06em;font-size:14px}.card-row-sub{color:var(--muted);margin:2px 0 0;font-size:12px}.card-row-actions{align-items:center;gap:10px;display:flex}.tabbar{border-bottom:1px solid var(--border);flex-wrap:wrap;gap:4px;margin:20px 0;display:flex}.tab{color:var(--muted);background:0 0;border:0;border-bottom:2px solid #0000;padding:10px 16px;font-size:14px;font-weight:500}.tab:hover{color:var(--ink)}.tab.active{color:var(--agent);border-bottom-color:var(--agent);font-weight:600}.report-controls{flex-wrap:wrap;align-items:flex-end;gap:16px;margin-bottom:20px;display:flex}.report-controls label{font-family:var(--font-mono);letter-spacing:.04em;text-transform:uppercase;color:var(--muted);flex-direction:column;gap:6px;font-size:11px;font-weight:600;display:flex}.report-controls input[type=date],.report-controls input[type=text]{border:1px solid var(--border);background:var(--surface-2);height:38px;color:var(--ink);font-family:var(--font-mono);border-radius:8px;padding:0 12px;font-size:13px}.report-controls input[type=date]:focus,.report-controls input[type=text]:focus{border-color:var(--agent);outline:none}.report-controls input[type=date]::-webkit-calendar-picker-indicator{filter:invert(.7);cursor:pointer}.report-controls .spacer{margin-left:auto}.report-currency{margin-bottom:28px}.report-table{border-collapse:collapse;background:var(--surface);border:1px solid var(--border);border-radius:12px;width:100%;margin-bottom:6px;overflow:hidden}.report-table th,.report-table td{text-align:left;border-bottom:1px solid var(--border);padding:9px 16px}.report-table thead th{font-family:var(--font-serif);color:var(--ink);background:var(--surface-2);text-transform:none;letter-spacing:0;font-size:15px;font-weight:600}.report-table thead th.report-amount{font-family:var(--font-mono);text-transform:uppercase;letter-spacing:.04em;color:var(--muted);font-size:11px;font-weight:600}.report-amount{text-align:right;font-family:var(--font-mono);font-variant-numeric:tabular-nums;white-space:nowrap}.report-amount.neg{color:var(--error)}.report-code{min-width:48px;color:var(--faint);font-family:var(--font-mono);margin-right:8px;font-size:12px;display:inline-block}.report-row.report-parent>td{font-weight:600}.report-row.report-synthetic>td{color:var(--muted);font-style:italic}.report-table tfoot .report-total td{border-top:2px solid var(--outline);background:var(--surface-2);border-bottom:none;font-weight:700}.report-netincome{background:var(--agent-pill);border:1px solid #28c1ff66;border-radius:12px;justify-content:space-between;align-items:center;margin-top:6px;padding:14px 16px;font-size:16px;font-weight:700;display:flex}.report-netincome .report-amount{color:var(--agent)}.report-identity{font-family:var(--font-mono);font-variant-numeric:tabular-nums;border-radius:12px;flex-wrap:wrap;align-items:center;gap:8px;margin-top:10px;padding:12px 16px;font-size:13px;display:flex}.report-identity.balanced{background:var(--agent-pill);color:var(--agent)}.report-identity.unbalanced{background:var(--error-bg);color:var(--error)}.dropzone{border:1.5px dashed var(--outline);background:var(--surface-2);transition:border-color .2s var(--ease), background .2s var(--ease);border-radius:10px;align-items:center;gap:12px;padding:16px;display:flex;position:relative}.dropzone:hover,.dropzone.dragover{border-color:var(--agent);background:#28c1ff0f}.dropzone .material-symbols-outlined{color:var(--muted);font-size:26px}.dropzone input[type=file]{opacity:0;cursor:pointer;position:absolute;inset:0}.dropzone-body{flex-direction:column;gap:2px;display:flex}.dropzone-title{font-size:13px;font-weight:600}.dropzone-hint{color:var(--muted);font-size:12px}.import-summary{background:var(--agent-pill);border-radius:10px;padding:12px 14px;font-size:13px}.import-summary p{margin:0}.import-summary strong{color:var(--agent)}.import-errors{color:var(--error);margin:8px 0 0;padding-left:18px;font-size:12px}.overlay{z-index:100;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#060a0c9e;justify-content:center;align-items:flex-start;padding:48px 20px;display:flex;position:fixed;inset:0;overflow-y:auto}.overlay-right{justify-content:flex-end;align-items:stretch;padding:0}.modal{background:var(--surface);border:1px solid var(--outline);width:100%;max-width:560px;box-shadow:var(--shadow-panel);border-radius:14px;flex-direction:column;max-height:calc(100vh - 96px);display:flex}.modal-wide{max-width:720px}.modal-head,.drawer-head{border-bottom:1px solid var(--border);justify-content:space-between;align-items:flex-start;gap:16px;padding:20px 22px 14px;display:flex}.modal-title,.drawer-title{font-family:var(--font-serif);margin:0;font-size:20px;font-weight:600}.modal-subtitle,.drawer-subtitle{color:var(--muted);max-width:52ch;margin:6px 0 0;font-size:13px}.modal-body{padding:20px 22px;overflow-y:auto}.modal-foot,.drawer-foot{border-top:1px solid var(--border);flex-wrap:wrap;align-items:center;gap:10px;padding:14px 22px;display:flex}.drawer{background:var(--surface);border-left:1px solid var(--outline);width:100%;max-width:560px;height:100vh;box-shadow:var(--shadow-panel);animation:drawer-in .3s var(--ease);flex-direction:column;display:flex}@keyframes drawer-in{0%{opacity:.4;transform:translate(24px)}}.drawer-body{flex:1;padding:20px 22px;overflow-y:auto}.drawer-foot{flex-wrap:nowrap}.drawer-foot .input{flex:1;min-width:0}.icon-btn{width:32px;height:32px;color:var(--muted);background:0 0;border:1px solid #0000;border-radius:8px;flex:none;justify-content:center;align-items:center;display:inline-flex}.icon-btn:hover:not(:disabled){background:var(--surface-high);color:var(--ink)}.icon-btn:disabled{opacity:.4;cursor:not-allowed}.link-button{color:var(--agent);font:inherit;text-align:left;background:0 0;border:0;padding:0}.link-button:hover{text-decoration:underline}.checkbox-row{color:var(--muted);align-items:center;gap:10px;font-size:13px;display:flex}.checkbox-row input{width:16px;height:16px;accent-color:var(--agent)}.meter-wrap{flex-direction:column;gap:6px;display:flex}.meter{background:var(--surface-high);border-radius:999px;height:8px;position:relative;overflow:hidden}.meter-spent,.meter-reserved{border-radius:999px;height:100%;position:absolute;top:0}.meter-spent{left:0}.meter-agent .meter-spent{background:var(--agent)}.meter-agent .meter-reserved{background:var(--agent-deep);opacity:.6}.meter-human .meter-spent{background:var(--human)}.meter-human .meter-reserved{background:var(--human-deep);opacity:.6}.meter.over .meter-spent{background:var(--error)}.meter-label{color:var(--muted);font-size:12px}.coa-groups{grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:22px;display:grid}.coa-group-head{align-items:baseline;gap:8px;margin-bottom:8px;display:flex}.coa-group-head .section-title{font-size:16px}.coa-count{font-family:var(--font-mono);color:var(--faint);font-size:11px}.coa-rows{flex-direction:column;display:flex}.coa-row{border-bottom:1px solid var(--border);grid-template-columns:auto 1fr auto auto;align-items:center;gap:10px;padding:8px 4px;display:grid}.coa-row:last-child{border-bottom:none}.coa-code{font-family:var(--font-mono);color:var(--faint);min-width:42px;font-size:12px}.coa-name{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.coa-kind{height:20px;font-size:10px}.coa-structural{font-family:var(--font-mono);color:var(--faint);text-transform:uppercase;font-size:10px}.coa-balance{font-family:var(--font-mono);font-variant-numeric:tabular-nums;text-align:right;grid-column:4}.ledger-filters{flex-wrap:wrap;gap:8px;display:flex}.ledger-filters .select,.ledger-filters .input{max-width:180px;height:34px;padding:0 10px;font-size:12px}.postings-editor{border:1px solid var(--border);border-radius:10px;flex-direction:column;gap:8px;padding:12px;display:flex}.postings-editor-head,.posting-row{grid-template-columns:1fr 96px 130px 32px;align-items:center;gap:8px;display:grid}.postings-editor-head{font-family:var(--font-mono);letter-spacing:.05em;text-transform:uppercase;color:var(--faint);padding:0 4px;font-size:10px}.postings-editor-head .num{text-align:right}.side-toggle{border:1px solid var(--border);border-radius:8px;display:inline-flex;overflow:hidden}.side-btn{background:var(--surface-2);height:36px;color:var(--muted);font-family:var(--font-mono);border:0;flex:1;font-size:12px;font-weight:600}.side-btn.active{background:var(--surface-high);color:var(--agent)}.input.num{text-align:right;font-family:var(--font-mono);font-variant-numeric:tabular-nums}.entry-balance{border-radius:8px;align-items:center;gap:8px;padding:6px 12px;font-size:13px;display:inline-flex}.entry-balance.ok{background:var(--agent-pill);color:var(--agent)}.entry-balance.off{background:var(--human-pill);color:var(--human-soft)}.entry-balance .material-symbols-outlined{font-size:18px}.entry-balance-state{font-family:var(--font-mono);text-transform:uppercase;letter-spacing:.04em;font-size:11px}.postings-table tfoot .postings-total td{border-top:2px solid var(--outline);background:var(--surface-2);font-weight:700}.posting-memo{color:var(--muted);font-size:12px}.entry-memo{color:var(--ink);margin:0}.entry-linkage{background:var(--human-pill);color:var(--human-soft);border-radius:10px;align-items:center;gap:8px;padding:10px 14px;font-size:13px;display:flex}.budget-grid{grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:16px;display:grid}.budget-card{text-align:left;background:var(--surface);border:1px solid var(--border);transition:border-color .2s var(--ease), transform .3s var(--ease);border-radius:12px;flex-direction:column;gap:12px;padding:18px;display:flex}.budget-card:hover{border-color:var(--outline);transform:translateY(-1px)}.budget-card.zone-agent{border-left:3px solid var(--agent)}.budget-card.zone-human{border-left:3px solid var(--human)}.budget-card-head{justify-content:space-between;align-items:center;gap:10px;display:flex}.budget-name{font-size:15px;font-weight:600}.budget-subject{min-height:22px}.budget-cap{font-family:var(--font-serif);font-variant-numeric:tabular-nums;align-items:baseline;gap:6px;font-size:26px;font-weight:600;display:flex}.budget-cap .money{font-family:var(--font-serif)}.budget-cap-lg{font-size:34px}.budget-cap-period{font-family:var(--font-mono);color:var(--muted);font-size:13px;font-weight:400}.budget-meta{color:var(--muted);flex-wrap:wrap;gap:12px;font-size:12px;display:flex}.budget-meta span{align-items:center;gap:5px;display:inline-flex}.budget-meta .material-symbols-outlined{font-size:15px}.subject-you{flex-direction:column;gap:6px;padding-top:4px;display:flex}.budget-period-grid{grid-template-columns:repeat(3,1fr);gap:12px;display:grid}.budget-period-grid .field-label{margin-bottom:4px;display:block}.check-panel{border:1px solid var(--border);border-radius:12px;flex-direction:column;gap:10px;padding:16px;display:flex}.check-panel .section-title{font-size:16px}.check-form{gap:8px;display:flex}.check-form .input{flex:1}.check-result{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.check-reason{color:var(--muted);font-size:12px}.rule-banner{background:var(--human-pill);color:var(--human-soft);border-radius:10px;align-items:center;gap:8px;padding:10px 14px;font-size:13px;display:flex}.rule-list{flex-direction:column;gap:10px;display:flex}.rule-row{background:var(--surface);border:1px solid var(--border);border-radius:12px;flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:16px;padding:16px 18px;display:flex}.rule-row-main{flex:1;min-width:0}.rule-row-title{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.rule-name{font-size:15px;font-weight:600}.rule-summary{color:var(--muted);margin:8px 0 0;font-size:12px}.rule-gated-note{color:var(--human-soft);align-items:center;gap:6px;margin:8px 0 0;font-size:12px;display:flex}.rule-gated-note .material-symbols-outlined,.rule-summary .material-symbols-outlined{font-size:15px}.rule-row-actions{flex-wrap:wrap;gap:8px;display:flex}.preset-row{background:var(--agent-pill);color:var(--agent);border-radius:10px;flex-wrap:wrap;align-items:center;gap:8px;padding:10px 14px;font-size:13px;display:flex}.preset-row .material-symbols-outlined{font-size:18px}.preset-row .link-button{color:var(--agent-soft);font-weight:600}.builder-section{border:1px solid var(--border);border-radius:12px;flex-direction:column;gap:12px;padding:16px;display:flex}.builder-section>.section-title{font-size:15px}.builder-section-head{justify-content:space-between;align-items:center;gap:10px;display:flex}.condition-row{grid-template-columns:1fr 110px 1fr 32px;align-items:center;gap:8px;display:grid}.action-block{border:1px solid var(--border);background:var(--surface-2);border-radius:10px;flex-direction:column;gap:10px;padding:12px;display:flex}.action-block-head{align-items:center;gap:8px;display:flex}.action-block-head .select{flex:1}.dryrun{background:var(--agent-pill);border:1px solid #28c1ff66;border-radius:12px;flex-direction:column;gap:12px;padding:16px;display:flex}.dryrun-head{color:var(--agent);align-items:center;gap:8px;font-weight:600;display:flex}.dryrun-totals{color:var(--ink);flex-wrap:wrap;gap:16px;font-size:13px;display:flex}.dryrun-totals strong{font-family:var(--font-mono);color:var(--agent)}.dryrun-events{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.dryrun-event{background:var(--surface);border-radius:8px;grid-template-columns:84px 1fr auto auto;align-items:center;gap:12px;padding:8px 10px;font-size:13px;display:grid}.dryrun-event.unmatched{opacity:.5}.dryrun-when{color:var(--muted);font-size:12px}.dryrun-would{font-family:var(--font-mono);color:var(--agent);font-size:12px}.mobile-topbar{display:none}@media (width<=860px){.app-shell{grid-template-columns:1fr}.mobile-topbar{border-bottom:1px solid var(--border);background:var(--surface);z-index:20;align-items:center;gap:12px;padding:12px 18px;display:flex;position:sticky;top:0}.mobile-brand-logo{width:auto;height:22px;display:block}.mobile-menu-btn{width:36px;height:36px}.sidebar-backdrop{z-index:80;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);cursor:pointer;background:#060a0c9e;border:0;padding:0;position:fixed;inset:0}.sidebar{z-index:90;width:min(var(--sidebar-width), 85vw);max-width:100%;height:100vh;transition:transform .3s var(--ease);box-shadow:var(--shadow-panel);flex-flow:column;align-items:stretch;position:fixed;top:0;bottom:0;left:0;overflow-x:clip;transform:translate(-100%)}.sidebar-brand .brand-logo{max-width:100%;height:auto;max-height:26px}.app-shell.nav-open .sidebar{transform:translate(0)}.sidebar-nav{flex-flow:column;flex:1}.nav-eyebrow{display:none}.sidebar-footer{border-top:1px solid var(--border);padding-top:14px}.workspace{padding:20px 18px 48px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.001ms!important;animation-duration:.001ms!important;animation-iteration-count:1!important}}
