@font-face{font-family:DM Sans;font-style:normal;font-weight:100 1000;font-display:swap;src:url(../media/c3cb240f9c892514-s.3z_x6eowsw16y.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:DM Sans;font-style:normal;font-weight:100 1000;font-display:swap;src:url(../media/5c285b27cdda1fe8-s.p.2_mbdogr7ni8i.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:DM Sans Fallback;src:local(Arial);ascent-override:94.9%;descent-override:29.66%;line-gap-override:0.0%;size-adjust:104.53%}.dm_sans_1c871f37-module__30ab_W__className{font-family:DM Sans,DM Sans Fallback;font-style:normal}.dm_sans_1c871f37-module__30ab_W__variable{--font-dm-sans:"DM Sans", "DM Sans Fallback"}
:root{--background:#181a43;--page-foreground:#e7e8f4;--page-muted:#9d9fc7;--surface:#fff;--foreground:#171717;--muted:#6b7280;--border:#e2e4e9;--accent:#f6c517;--accent-hover:#dfae0f;--accent-foreground:#17140a;--accent-text:#8a6708;--danger:#b91c1c;--shadow-card:0 6px 20px #06081e47;--nav-bg:#fff;--nav-fg:#5b5f75;--nav-fg-active:#14161c;--nav-border:#e5e6ee}html{height:100%}html,body{max-width:100vw;overflow-x:hidden}body{min-height:100%;color:var(--page-foreground);background:var(--background);font-family:var(--font-dm-sans), -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:0}@media print{body{color:#000;background:#fff}}*{box-sizing:border-box}a{color:inherit}ul,ol{margin:0;padding:0;list-style:none}h1,h2,h3,p{margin:0}button{font:inherit;cursor:pointer}input,select,textarea{font:inherit}input[type=checkbox]{accent-color:var(--accent)}.login-page{background:var(--background);justify-content:center;align-items:center;min-height:100vh;padding:40px 24px;display:flex}.login-panel{background:var(--surface);width:100%;max-width:780px;color:var(--foreground);box-shadow:var(--shadow-card);border-radius:16px;grid-template-columns:300px 1fr;display:grid;overflow:hidden}.login-brand{border-right:1px solid var(--border);background:linear-gradient(#fbfbfe 0%,#f2f3fb 100%);flex-direction:column;gap:28px;padding:40px 32px 0;display:flex}.login-brand-logo{flex-shrink:0;align-self:flex-start;width:auto;height:30px;display:block}.login-brand-tagline{letter-spacing:.01em;color:var(--accent-text,#181a43);align-self:flex-start;margin-top:-14px;font-size:.82rem;font-weight:600}.login-brand-motif{flex:1;justify-content:center;align-items:flex-end;min-height:200px;display:flex}.login-brand-motif svg{width:100%;max-width:220px;height:auto;display:block}.motif-arch{fill:none;stroke-linecap:round}.motif-arch-navy{stroke:#181a4329;stroke-width:2px}.motif-arch-navy-2{stroke:#181a4347;stroke-width:2px}.motif-arch-gold{stroke:var(--accent);stroke-width:2.5px}.motif-leg{stroke:#181a4338;stroke-width:2px;stroke-linecap:round}.motif-key{fill:var(--accent)}.login-form-col{flex-direction:column;gap:8px;padding:44px 40px;display:flex}.login-heading{font-size:1.5rem}.login-subtitle{color:var(--muted);margin-bottom:16px;font-size:.9rem}@media (max-width:620px){.login-panel{grid-template-columns:1fr;max-width:400px}.login-brand{border-right:none;border-bottom:1px solid var(--border);gap:0;padding:28px 32px}.login-brand-motif{display:none}.login-form-col{padding:32px}}.email-input-group{align-items:center;gap:6px;display:flex}.email-input-group input{flex:1;min-width:0}.email-domain-suffix{color:var(--muted);white-space:nowrap;font-size:.9rem}.login-form{flex-direction:column;gap:14px;display:flex}.field{flex-direction:column;gap:6px;display:flex}.field label{color:var(--muted);font-size:.85rem}.field input,.field select,.field textarea{border:1px solid var(--border);resize:vertical;border-radius:6px;width:100%;padding:9px 10px;font-family:inherit}.field input[readonly]{background:var(--border);color:var(--muted);cursor:default}.checkbox-field{align-items:center;gap:8px;font-size:.88rem;display:flex}.checkbox-field label,.checkbox-field span{color:var(--foreground)}.field input[type=checkbox],.field input[type=radio],.stack-form input[type=checkbox],.stack-form input[type=radio]{border:none;border-radius:0;width:auto;padding:0}.slip-remove-list{flex-direction:column;gap:6px;display:flex}.login-form button,.btn{background:var(--accent);color:var(--accent-foreground);white-space:nowrap;border:none;border-radius:6px;padding:9px 14px;font-weight:600;text-decoration:none;display:inline-block}.login-form button:hover,.btn:hover{background:var(--accent-hover)}.login-form button:disabled{opacity:.6;cursor:default}.form-error{color:var(--danger);font-size:.85rem}.app-shell{height:100vh;display:flex;overflow:hidden}.app-nav{background:var(--nav-bg);width:232px;color:var(--nav-fg);border-right:1px solid var(--nav-border);flex-direction:column;flex-shrink:0;gap:4px;padding:22px 14px;display:flex;overflow-y:auto}.app-nav .brand{border-bottom:1px solid var(--nav-border);flex-direction:column;align-items:flex-start;gap:9px;margin-bottom:8px;padding:2px 10px 20px;display:flex}.app-nav .brand-logo{width:auto;height:26px}.app-nav .brand-tagline{letter-spacing:.02em;color:var(--nav-fg);font-size:.72rem;font-weight:500}.app-nav .assistant-launcher{background:var(--surface);cursor:pointer;border:1px solid #f6c51773;border-radius:9px;align-items:center;gap:7px;width:100%;margin:2px 0 6px;padding:7px 7px 7px 11px;display:flex}.app-nav .assistant-launcher:hover,.app-nav .assistant-launcher:focus-visible{background:#f6c51714;border-color:#f6c517e6}.app-nav .assistant-launcher-placeholder{white-space:nowrap;text-overflow:ellipsis;min-width:0;color:var(--nav-fg);flex:1;font-size:.8rem;overflow:hidden}.app-nav .assistant-launcher-btn{color:#1e2233;background:#f6c517e6;border-radius:6px;flex-shrink:0;padding:4px 10px;font-size:.76rem;font-weight:700}.app-nav nav{flex-direction:column;flex:1;display:flex}.app-nav nav ul{flex-direction:column;gap:1px;display:flex}.app-nav a{color:var(--nav-fg);white-space:nowrap;border-radius:6px;padding:8px 12px;font-size:.87rem;font-weight:500;text-decoration:none;display:block}.app-nav a:hover{color:var(--nav-fg-active);background:#f2f3f8}.app-nav a.active{color:var(--accent-text);background:#f6c51724;font-weight:600}.nav-attention-badge,.tab-attention-badge{color:#fff;background:#c2413d;border-radius:999px;justify-content:center;align-items:center;min-width:20px;height:20px;margin-left:8px;padding:0 6px;font-size:.7rem;font-weight:700;line-height:1;display:inline-flex}.app-nav .nav-group{margin-top:10px}.app-nav .nav-group-label{color:var(--nav-fg-active);padding:6px 12px;font-size:.87rem;font-weight:600}.app-nav .nav-group-label.depth-1{color:var(--nav-fg);padding:5px 12px;font-size:.78rem;font-weight:600}.app-nav .nav-children{border-left:1px solid var(--nav-border);flex-direction:column;gap:1px;margin:0 0 0 13px;padding-left:8px;display:flex}.app-nav .nav-settings-group{margin-top:auto;padding-top:10px}.app-nav .nav-section-label{text-transform:uppercase;letter-spacing:.06em;color:#9ca3af;padding:10px 12px 6px;font-size:.68rem;font-weight:600}.app-nav .user-box{border-top:1px solid var(--nav-border);margin-top:14px;padding:14px 10px 0}.app-nav .user-name{color:var(--nav-fg-active);font-size:.86rem;font-weight:600}.app-nav .user-role{color:var(--accent-text);text-transform:uppercase;letter-spacing:.03em;background:#f6c51729;border-radius:4px;margin:5px 0 12px;padding:1px 6px;font-size:.68rem;font-weight:600;display:inline-block}.app-nav .logout-form button{border:1px solid var(--nav-border);color:var(--nav-fg);background:0 0;border-radius:6px;width:100%;padding:7px 10px;font-size:.8rem}.app-nav .logout-form button:hover{color:var(--nav-fg-active);background:#f8f9fb;border-color:#c7cad6}.app-main{flex:1;padding:32px 40px;overflow-y:auto}.app-main h1{margin-bottom:6px;font-size:1.4rem}.page-subtitle{color:var(--page-muted);margin-bottom:20px;font-size:.9rem}.board-page{max-width:960px;margin:0 auto;padding:48px 32px}.board-account-bar{color:var(--page-muted);justify-content:flex-end;align-items:center;gap:12px;margin-bottom:12px;font-size:.8rem;display:flex}.board-header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:baseline;margin-bottom:24px;padding-bottom:16px;display:flex}.card{background:var(--surface);color:var(--foreground);box-shadow:var(--shadow-card);border-radius:10px;margin-bottom:18px;padding:20px}.card h2{margin-bottom:4px;font-size:1.05rem}.section-subtitle{color:var(--muted);margin-bottom:14px;font-size:.85rem}.inline-form{flex-wrap:wrap;align-items:flex-end;gap:12px;display:flex}.inline-form .field{flex-direction:column;gap:6px;display:flex}.inline-form .field label{color:var(--muted);font-size:.8rem}.inline-form input,.inline-form select,.inline-form textarea{border:1px solid var(--border);border-radius:6px;min-width:160px;padding:8px 10px}.inline-form .form-error{width:100%}.stack-form{flex-direction:column;gap:16px;max-width:480px;display:flex}.stack-form .field{flex-direction:column;gap:6px;display:flex}.stack-form label{color:var(--muted);font-size:.85rem}.stack-form input,.stack-form select,.stack-form textarea{border:1px solid var(--border);border-radius:6px;padding:9px 10px}.stack-form .row{gap:12px;display:flex}.stack-form .row .field{flex:1}.data-table{border-collapse:collapse;width:100%;font-size:.9rem}.data-table th{text-align:left;color:var(--muted);text-transform:uppercase;letter-spacing:.03em;border-bottom:1px solid var(--border);padding:8px 10px;font-size:.78rem;font-weight:500}.data-table td{border-bottom:1px solid var(--border);padding:10px}.data-table tr:last-child td{border-bottom:none}.data-table tbody tr:not(.category-divider-row):hover{background:#00000004}.data-table tbody tr.row-highlight{background:#fdf3d0}.data-table tbody tr:not(.row-highlight){transition:background 1.2s}.ref-link{color:var(--accent-text);font-weight:600;text-decoration:none}.ref-link:hover{text-decoration:underline}.section-header{justify-content:space-between;align-items:baseline;margin-bottom:16px;display:flex}.section-header .btn{align-self:center}.people-page,.people-detail-page{max-width:1280px}.people-intro{padding-block:15px}.people-intro p{color:var(--muted);font-size:.9rem}.people-sensitive{color:#854d0e;background:#fef3c7;font-weight:600}.people-period{color:var(--page-muted);text-align:right;margin-top:-8px;font-size:.78rem}.people-empty{color:var(--muted);text-align:center;padding:28px!important}.people-back{color:var(--page-muted);margin-bottom:14px;font-size:.88rem}.people-back a{text-decoration:none}.people-back a:hover{text-decoration:underline}.people-detail-layout{max-width:900px}.people-form .form-section{padding-inline:0}.people-save-message{color:#166534;margin-top:-4px}.people-reimbursement{position:sticky;top:18px}.people-total{border-bottom:1px solid var(--border);flex-direction:column;gap:4px;margin-bottom:8px;padding:14px 0 16px;display:flex}.people-total span{color:var(--muted);font-size:.8rem}.people-total strong{color:var(--foreground);font-variant-numeric:tabular-nums;font-size:1.35rem}.people-reimbursement .data-table td:not(:first-child),.people-reimbursement .data-table th:not(:first-child){text-align:right;font-variant-numeric:tabular-nums}@media (max-width:620px){.section-header:has(.people-sensitive){align-items:flex-start;gap:10px}.people-form .row{flex-direction:column}}.explorer-toolbar{justify-content:flex-end;margin-bottom:16px;display:flex}.badge{color:#374151;white-space:nowrap;background:#e5e7eb;border-radius:100px;padding:2px 9px;font-size:.75rem;font-weight:500;display:inline-block}.badge.status-paid,.badge.status-active,.badge.status-won{color:#166534;background:#dcfce7}.badge.status-overdue,.badge.status-lost{color:#991b1b;background:#fee2e2}.badge.status-sent,.badge.status-negotiation{color:#1e40af;background:#dbeafe}.badge.status-draft,.badge.status-lead,.badge.status-unpaid{color:#374151;background:#f3f4f6}.badge.status-signed{color:#166534;background:#dcfce7}.badge.status-revoked{color:#991b1b;background:#fee2e2}.badge.status-excluded{color:#92400e;background:#fef3c7;margin-top:4px}.status-select{field-sizing:content;color:#374151;appearance:none;cursor:pointer;background-color:#e5e7eb;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='%23374151' d='M3 4.5l3 3 3-3z'/%3E%3C/svg%3E");background-position:right 7px center;background-repeat:no-repeat;background-size:9px;border:none;border-radius:100px;padding:2px 22px 2px 9px;font-family:inherit;font-size:.75rem;font-weight:500;display:inline-block}.status-select.status-draft{color:#374151;background-color:#f3f4f6}.status-select.status-sent{color:#1e40af;background-color:#dbeafe}.status-select.status-signed,.status-select.status-paid{color:#166534;background-color:#dcfce7}.status-select.status-unpaid{color:#374151;background-color:#f3f4f6}.status-select.status-revoked{color:#991b1b;background-color:#fee2e2}.tax-none{color:var(--muted);font-size:.85rem}.tax-amount{font-variant-numeric:tabular-nums;white-space:nowrap;font-size:.88rem;font-weight:500}.tax-amount-vat{color:#1e40af}.tax-amount-wth{color:#5b21b6}.slip-list-menu{background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow-card);z-index:200;border-radius:8px;flex-direction:column;gap:2px;min-width:220px;padding:8px;display:flex}.slip-list-item{border-radius:4px;justify-content:space-between;align-items:center;gap:10px;padding:5px 6px;font-size:.82rem;display:flex}.slip-list-item:hover{background:#f5f6f8}.slip-list-name{text-overflow:ellipsis;white-space:nowrap;color:var(--foreground);flex:1;overflow:hidden}.slip-list-item a{color:var(--accent-text);white-space:nowrap;font-weight:600;text-decoration:none}.slip-list-item a:hover{text-decoration:underline}.kpi-grid{background:var(--surface);color:var(--foreground);box-shadow:var(--shadow-card);border-radius:10px;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));margin-bottom:18px;display:grid;overflow:hidden}.kpi-card{border-left:1px solid var(--border);min-width:0;padding:16px 22px}.kpi-card:first-child{border-left:none}.kpi-card .kpi-label{color:var(--muted);text-transform:uppercase;letter-spacing:.03em;margin-bottom:6px;font-size:.78rem}.kpi-card .kpi-value{font-size:1.5rem;font-weight:600}.kpi-card .kpi-note{color:var(--muted);margin-top:4px;font-size:.78rem}.charts-row{flex-wrap:wrap;align-items:stretch;gap:18px;display:flex}.chart-card-wide{flex-direction:column;flex:1.6 420px;min-width:0;display:flex}.chart-card-narrow{flex-direction:column;flex:280px;min-width:0;display:flex}.alert-banner{color:#92400e;background:#fef3c7;border:1px solid #fde68a;border-radius:8px;margin-bottom:20px;padding:12px 16px;font-size:.88rem}.empty-state{color:var(--muted);padding:20px 0;font-size:.9rem}.btn-secondary{background:var(--surface);color:var(--foreground);border:1px solid var(--border)}.btn-secondary:hover{background:#f3f4f6}.link-row{gap:12px;margin-top:4px;display:flex}.ledger-actions{align-items:flex-start;gap:8px;display:flex}.ledger-actions-slip{flex-shrink:0;width:160px}.ledger-actions-slip .btn{text-align:center;width:100%}.print-only{display:none}.doc-standalone{flex-direction:column;align-items:center;gap:16px;min-height:100vh;padding:24px 24px 48px;display:flex}.doc-standalone-bar{justify-content:flex-end;width:100%;max-width:620px;display:flex}@media print{.doc-standalone{padding:0}@page{size:A4;margin:20mm 18mm}.no-print{display:none!important}.print-only{display:block}.board-page{max-width:100%;padding:0}.card{break-inside:avoid;border:none;margin-bottom:28px;padding:0}.app-nav{display:none!important}.app-shell{height:auto;overflow:visible}.app-main{padding:0;overflow:visible}.a4-items-table th{-webkit-print-color-adjust:exact;print-color-adjust:exact}}.client-breakdown{flex-direction:column;gap:14px;display:flex}.client-breakdown-row{flex-direction:column;gap:4px;display:flex}.client-breakdown-label{flex-wrap:wrap;justify-content:space-between;gap:2px 12px;font-size:.88rem;display:flex}.client-breakdown-amount{color:var(--muted);font-variant-numeric:tabular-nums}.client-breakdown-track{background:#eef0f3;border-radius:4px;height:8px;overflow:hidden}.client-breakdown-bar{background:var(--accent);border-radius:4px;height:100%}.exec-headline{color:var(--page-foreground);border:1px solid #ffffff1f;border-left:4px solid var(--accent);background:#ffffff0f;border-radius:8px;margin-bottom:18px;padding:10px 16px;font-size:.95rem}.exec-headline-bad{border-left-color:var(--danger)}.kpi-value-good{color:#166534}.kpi-value-bad{color:#991b1b}.money-value{flex-wrap:wrap;align-items:baseline;gap:2px 6px;min-width:0;max-width:100%;display:inline-flex}.money-currency{color:var(--muted);letter-spacing:.03em;font-size:.58em;font-weight:500}.money-amount{font-variant-numeric:tabular-nums;white-space:nowrap}.money-value-long .money-amount{font-size:.82em}.money-value-xlong .money-amount{font-size:.68em}.chart-card-half{flex-direction:column;flex:380px;min-width:0;display:flex}.amount-cell{white-space:nowrap;font-variant-numeric:tabular-nums}.delta{white-space:nowrap;font-weight:600}.delta-good{color:#166534}.delta-bad{color:#b91c1c}.delta-none{color:var(--muted);font-weight:400}.alert-list{flex-direction:column;gap:12px;display:flex}.alert-item{border:1px solid var(--border);border-radius:8px;padding:12px 14px;font-size:.88rem}.alert-item.alert-red{background:#fef2f2;border-color:#fecaca}.alert-item.alert-amber{background:#fffbeb;border-color:#fde68a}.alert-head{align-items:center;gap:8px;margin-bottom:4px;display:flex}.alert-dot{border-radius:50%;flex-shrink:0;width:9px;height:9px}.alert-dot-red{background:#dc2626}.alert-dot-amber{background:#d97706}.alert-detail{color:#374151;margin-bottom:4px}.alert-action{color:#111827;font-weight:500}.all-clear{color:#166534;padding:8px 0;font-size:.9rem}.funnel{flex-direction:column;gap:4px;margin-bottom:12px;display:flex}.funnel-stage{position:relative}.funnel-bar{background:linear-gradient(90deg, var(--accent), #f8d75c);border-radius:6px;min-width:12px;height:34px}.funnel-stage-text{white-space:nowrap;justify-content:space-between;align-items:center;gap:12px;padding:0 12px;font-size:.85rem;display:flex;position:absolute;inset:0}.funnel-stage-label{text-overflow:ellipsis;min-width:0;overflow:hidden}.funnel-stage-value{color:var(--muted);font-variant-numeric:tabular-nums;flex-shrink:0}.funnel-conv{color:var(--accent-text);padding-left:12px;font-size:.78rem;font-weight:600}.funnel-overall{margin-bottom:4px;font-size:.88rem;font-weight:500}.insight-line{margin-bottom:12px;font-size:.88rem}.insight-warn{color:#92400e;font-weight:500}.fine-print{color:var(--muted);margin-top:8px;font-size:.75rem}.mini-stats{flex-direction:column;gap:10px;margin:0 0 14px;display:flex}.mini-stats>div{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:4px 12px;font-size:.88rem;display:flex}.mini-stats dt{color:var(--muted)}.mini-stats dd{font-variant-numeric:tabular-nums;text-align:right;margin:0;font-weight:600}.mini-stats-row{flex-flow:wrap;gap:8px 28px}.mini-stats-row>div{flex-direction:column;align-items:flex-start;gap:2px}.mini-stats-row dd{text-align:left;font-size:1.05rem}.stat-bad{color:#991b1b}.stat-flag{color:#92400e;font-weight:600}.aging{flex-direction:column;gap:8px;margin-bottom:16px;display:flex}.aging-row{grid-template-columns:90px 1fr minmax(96px,auto);align-items:center;gap:10px;font-size:.85rem;display:grid}.aging-label{color:var(--muted)}.aging-track{background:#eef0f3;border-radius:6px;height:12px;overflow:hidden}.aging-bar{background:var(--accent);border-radius:6px;height:100%}.aging-bar-overdue{background:#dc2626}.aging-amount{text-align:right;font-variant-numeric:tabular-nums;color:var(--muted)}.callout{border-radius:8px;margin-top:12px;padding:10px 14px;font-size:.85rem}.callout-bad{color:#991b1b;background:#fef2f2;border:1px solid #fecaca}.callout-good{color:#166534;background:#f0fdf4;border:1px solid #bbf7d0}.mini-heading{text-transform:uppercase;letter-spacing:.03em;color:var(--muted);margin:16px 0 10px;font-size:.82rem}.loan-list{flex-direction:column;gap:10px;font-size:.88rem;display:flex}.loan-list li{flex-direction:column;gap:2px;display:flex}.loan-list .loan-meta{color:var(--muted);font-size:.82rem}.rec-list{flex-direction:column;gap:10px;padding-left:22px;font-size:.9rem;list-style:decimal;display:flex}.rec-list li::marker{color:var(--accent-text);font-weight:700}.assistant-bar{background:var(--surface);color:var(--foreground);box-shadow:var(--shadow-card);border:1px solid #0000;border-radius:10px;align-items:center;gap:10px;margin-bottom:18px;padding:8px 8px 8px 16px;display:flex}.assistant-bar:focus-within{border-color:var(--accent)}.assistant-bar-icon{color:var(--accent-text);font-size:1.05rem}.assistant-bar input{color:var(--foreground);background:0 0;border:none;outline:none;flex:1;padding:8px 0;font-size:.95rem}.assistant-dialog{background:var(--surface);color:var(--foreground);border-radius:10px;flex-direction:column;width:100%;max-width:760px;height:min(640px,88vh);padding:20px 24px 14px;display:flex;box-shadow:0 20px 50px #00000040}.assistant-thread{flex-direction:column;flex:1;gap:12px;padding:4px 2px 12px;display:flex;overflow-y:auto}.assistant-empty{color:var(--muted);padding-top:8px;font-size:.9rem}.assistant-suggestions{flex-wrap:wrap;gap:8px;margin-top:12px;display:flex}.assistant-suggestions button{border:1px solid var(--border);background:var(--surface);color:var(--foreground);border-radius:100px;padding:7px 14px;font-size:.85rem}.assistant-suggestions button:hover{border-color:var(--accent);background:#fffbeb}.assistant-msg{max-width:92%;font-size:.9rem;line-height:1.5}.assistant-msg-user{white-space:pre-wrap;background:#f3f4f6;border-radius:12px 12px 2px;align-self:flex-end;padding:9px 14px}.assistant-msg-ai{align-self:flex-start;width:100%}.assistant-msg-ai p{margin:0 0 8px}.assistant-msg-ai p:last-child{margin-bottom:0}.assistant-msg-ai ul,.assistant-msg-ai ol{margin:0 0 8px;padding-left:20px;list-style:outside;display:block}.assistant-msg-ai ol{list-style:decimal}.assistant-msg-ai li{margin-bottom:3px}.assistant-msg-ai h1,.assistant-msg-ai h2,.assistant-msg-ai h3{margin:12px 0 6px;font-size:.95rem}.assistant-msg-ai code{background:#f3f4f6;border-radius:4px;padding:1px 5px;font-size:.85em}.assistant-msg-ai table{border-collapse:collapse;width:100%;margin:4px 0 10px;font-size:.85rem}.assistant-msg-ai th{text-align:left;color:var(--muted);text-transform:uppercase;letter-spacing:.03em;border-bottom:1px solid var(--border);padding:6px 10px;font-size:.75rem;font-weight:500}.assistant-msg-ai td{border-bottom:1px solid var(--border);font-variant-numeric:tabular-nums;padding:6px 10px}.assistant-typing{color:var(--muted)}.assistant-dots span{animation:1.2s infinite assistant-blink}.assistant-dots span:nth-child(2){animation-delay:.2s}.assistant-dots span:nth-child(3){animation-delay:.4s}@keyframes assistant-blink{0%,60%,to{opacity:.2}30%{opacity:1}}.assistant-error{color:#991b1b;background:#fef2f2;border:1px solid #fecaca;border-radius:8px;padding:10px 14px;font-size:.85rem}.assistant-error button{color:#991b1b;background:0 0;border:none;padding:0;font-weight:700;text-decoration:underline}.assistant-composer{border-top:1px solid var(--border);gap:10px;padding-top:12px;display:flex}.assistant-composer input{border:1px solid var(--border);border-radius:6px;flex:1;padding:9px 12px}.assistant-ephemeral-note{color:var(--muted);text-align:center;margin-top:8px;font-size:.72rem}.view-toggle{border:1px solid var(--border);border-radius:6px;display:inline-flex;overflow:hidden}.view-toggle button{background:var(--surface);color:var(--muted);cursor:pointer;border:none;padding:7px 14px;font-size:.85rem}.view-toggle button+button{border-left:1px solid var(--border)}.view-toggle button.active{background:var(--accent);color:var(--accent-foreground);font-weight:600}.month-group{background:var(--surface);color:var(--foreground);box-shadow:var(--shadow-card);border-radius:10px;margin-bottom:10px;overflow:hidden}.month-group-header{cursor:pointer;-webkit-user-select:none;user-select:none;background:#f8f9fb;justify-content:space-between;align-items:baseline;gap:12px;padding:12px 16px;list-style:none;display:flex}.month-group-header::-webkit-details-marker{display:none}.month-group-header:before{content:"▸";color:var(--muted);flex-shrink:0;margin-right:10px;font-size:.75rem}.month-group[open] .month-group-header:before{content:"▾"}.month-group[open] .month-group-header{border-bottom:1px solid var(--border)}.month-group-header:hover{background:#f1f3f6}.month-group-header h3{flex:1;font-size:.92rem}.month-group-header .month-group-meta{color:var(--muted);white-space:nowrap;font-size:.8rem}.month-group-total{color:var(--foreground);font-variant-numeric:tabular-nums;font-weight:600}.category-divider-row td{padding:0}.category-group-header{border-bottom:1px solid var(--border);background:#fbfbfd;justify-content:space-between;align-items:baseline;padding:9px 16px;font-size:.82rem;display:flex}.category-divider-row:not(:first-child) .category-group-header{border-top:1px solid var(--border)}.category-group-name{color:var(--foreground);font-weight:600}.category-group-header .category-group-total{color:var(--muted);font-weight:500}.ledger-table td{vertical-align:top}.ledger-table td:first-child{white-space:nowrap}.quotation-table td,.invoice-table td,.tax-invoice-table td{vertical-align:middle}.quotation-table .btn,.invoice-table .btn,.tax-invoice-table .btn{text-align:center;flex-shrink:0;min-width:0;padding:5px 10px;font-size:.82rem}.quotation-table .btn.row-menu-trigger,.invoice-table .btn.row-menu-trigger,.tax-invoice-table .btn.row-menu-trigger{width:28px;padding:5px 0;font-size:1rem;line-height:1}.row-actions-menu{background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow-card);z-index:200;border-radius:8px;flex-direction:column;gap:2px;min-width:140px;padding:6px;display:flex}.row-actions-menu-item{text-align:left;width:100%;color:var(--foreground);cursor:pointer;background:0 0;border:none;border-radius:4px;padding:7px 10px;font-family:inherit;font-size:.85rem;text-decoration:none;display:block}.row-actions-menu-item:hover{background:#f5f6f8}.row-actions-menu-item-danger{color:var(--danger)}.quotation-table-grouped,.invoice-table-grouped,.tax-invoice-table-grouped{table-layout:fixed}.quotation-table-grouped th:first-child,.quotation-table-grouped td:first-child,.invoice-table-grouped th:first-child,.invoice-table-grouped td:first-child,.tax-invoice-table-grouped th:first-child,.tax-invoice-table-grouped td:first-child{white-space:nowrap;width:150px}.quotation-table-grouped th:nth-child(3),.quotation-table-grouped td:nth-child(3),.invoice-table-grouped th:nth-child(3),.invoice-table-grouped td:nth-child(3),.tax-invoice-table-grouped th:nth-child(3),.tax-invoice-table-grouped td:nth-child(3){width:125px}.quotation-table-grouped th:nth-child(4),.quotation-table-grouped td:nth-child(4),.invoice-table-grouped th:nth-child(4),.invoice-table-grouped td:nth-child(4),.tax-invoice-table-grouped th:nth-child(4),.tax-invoice-table-grouped td:nth-child(4){white-space:nowrap;width:108px}.quotation-table-grouped th:nth-child(5),.quotation-table-grouped td:nth-child(5),.tax-invoice-table-grouped th:nth-child(5),.tax-invoice-table-grouped td:nth-child(5){width:96px}.invoice-table-grouped th:nth-child(5),.invoice-table-grouped td:nth-child(5){width:128px}.quotation-table-grouped th:nth-child(6),.quotation-table-grouped td:nth-child(6){width:290px}.invoice-table-grouped th:nth-child(6),.invoice-table-grouped td:nth-child(6){width:340px}.tax-invoice-table-grouped th:nth-child(6),.tax-invoice-table-grouped td:nth-child(6){width:150px}.ledger-refs{color:var(--muted);margin-top:2px;font-size:.76rem}.ledger-note{color:var(--muted);margin-top:2px;font-size:.76rem;font-style:italic}.ledger-amount{font-variant-numeric:tabular-nums;white-space:nowrap}.modal-overlay{z-index:100;background:#0f121973;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.modal-dialog{background:var(--surface);color:var(--foreground);border-radius:10px;width:100%;max-width:560px;max-height:90vh;padding:28px;overflow-y:auto;box-shadow:0 20px 50px #00000040}.modal-dialog-wide{max-width:760px}.modal-header{justify-content:space-between;align-items:center;margin-bottom:18px;display:flex}.modal-subtitle{color:var(--muted);margin-top:3px;font-size:.85rem}.modal-close{color:var(--muted);background:0 0;border:none;padding:4px;font-size:1.3rem;line-height:1}.modal-close:hover{color:var(--foreground)}.save-success-overlay{z-index:10000;background:#0f123061;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.save-success-dialog{border:1px solid var(--border);background:var(--surface,#fff);width:min(100%,380px);color:var(--foreground);text-align:center;border-radius:18px;padding:30px 28px 26px;box-shadow:0 20px 55px #0f123038}.save-success-icon{color:#1d8a4b;background:#e8f7ee;border-radius:50%;place-items:center;width:48px;height:48px;margin:0 auto 14px;font-size:1.65rem;font-weight:800;display:grid}.save-success-dialog h2{margin:0;font-size:1.2rem}.save-success-dialog p{color:var(--muted);margin:8px 0 22px;font-size:.88rem}.quotation-layout,.invoice-layout{align-items:flex-start;gap:24px;display:flex}.quotation-form-panel,.invoice-form-panel{flex:1.1;min-width:420px;max-width:560px}.quotation-form-panel .stack-form,.invoice-form-panel .stack-form{gap:12px;max-width:none}.quotation-form-panel input,.quotation-form-panel select,.quotation-form-panel textarea,.invoice-form-panel input,.invoice-form-panel select,.invoice-form-panel textarea{font-size:.9rem}.quotation-form-panel .field-narrow,.invoice-form-panel .field-narrow{max-width:220px}.form-section{border-top:1px solid var(--border);flex-direction:column;gap:10px;padding-top:14px;display:flex}.form-section:first-child{border-top:none;padding-top:0}.readonly-fields{border:none;flex-direction:column;gap:12px;min-width:0;margin:0;padding:0;display:flex}.readonly-fields .form-section:first-child{border-top:1px solid var(--border);padding-top:14px}.signature-preview{border:1px solid var(--border);background:#fff;border-radius:8px;justify-content:center;align-items:center;max-width:100%;margin-bottom:10px;padding:8px 12px;display:inline-flex}.signature-preview img{object-fit:contain;max-width:100%;max-height:72px}.signature-field{flex-direction:column;align-items:flex-start;gap:8px;display:flex}.signature-field-row{align-items:center;gap:12px;display:flex}.signature-field-placeholder{border:1px dashed var(--border);min-width:180px;min-height:72px;color:var(--accent-text);cursor:pointer;background:0 0;border-radius:8px;justify-content:center;align-items:center;padding:10px 16px;font-weight:600;display:inline-flex}.signature-field-placeholder:hover:not(:disabled){border-color:var(--accent-text);background:var(--surface-hover,#7f7f7f0f)}.signature-field-placeholder:disabled{cursor:default;opacity:.7}.table-scroll{overflow-x:auto}.cashflow-table th.col-num,.cashflow-table td.col-num{text-align:right;white-space:nowrap}.cashflow-table th.col-month,.cashflow-table td.col-month{white-space:nowrap}.cashflow-table td.col-balance{min-width:220px}.cashflow-table .row-projected td{color:var(--page-muted)}.btn-compact{padding:4px 10px;font-size:.8rem}.forecast-input{text-align:right;width:130px;max-width:100%;padding:4px 8px}.cib-balance{flex-direction:column;align-items:flex-end;gap:4px;display:flex}.cib-balance-form{align-items:center;gap:6px;display:flex}.cib-variance{color:var(--page-muted);font-size:.78rem}.receivables{flex-direction:column;gap:6px;display:flex;overflow-x:auto}.receivable-head,.receivable-row{grid-template-columns:minmax(150px,2fr) minmax(100px,1fr) minmax(150px,1.4fr) minmax(150px,2fr) 150px;align-items:center;gap:8px;min-width:640px;display:grid}.receivable-head{text-transform:uppercase;letter-spacing:.03em;color:var(--muted);padding:0 2px;font-size:.72rem;font-weight:600}.receivable-head .rcv-num{text-align:right}.receivable-row input{width:100%;min-width:0}.receivable-row input.rcv-num{text-align:right}.rcv-actions{justify-content:flex-end;gap:6px;display:flex}.receivable-add{border-top:1px dashed var(--border);margin-top:4px;padding-top:10px}.forecast-month-head{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:12px;display:flex}.forecast-month-totals{color:var(--page-muted);flex-wrap:wrap;gap:18px;font-size:.9rem;display:flex}.forecast-subhead{margin:14px 0 8px;font-size:.95rem}.forecast-controls{flex-wrap:wrap;gap:24px;margin-top:16px;display:flex}.form-section-title{text-transform:uppercase;letter-spacing:.05em;color:var(--accent-text);font-size:.72rem;font-weight:700}.quotation-preview-panel,.invoice-preview-panel{flex:1;justify-content:center;display:flex;position:sticky;top:20px}.quotation-items,.invoice-items{flex-direction:column;gap:16px;margin-bottom:8px;display:flex}.quotation-item,.invoice-item{border-bottom:1px solid var(--border);flex-direction:column;gap:8px;padding-bottom:16px;display:flex}.quotation-item:last-child,.invoice-item:last-child{border-bottom:none;padding-bottom:0}.quotation-item-meta-row,.invoice-item-meta-row{grid-template-columns:125px 84px 120px auto;gap:8px;display:grid}.quotation-item-field,.invoice-item-field{flex-direction:column;gap:6px;display:flex}.quotation-item-field label,.invoice-item-field label{color:var(--muted);font-size:.85rem}.quotation-item-field input,.invoice-item-field input{border:1px solid var(--border);border-radius:6px;width:100%;padding:9px 10px}.quotation-item-amount,.invoice-item-amount{font-variant-numeric:tabular-nums;white-space:nowrap;padding:9px 0;font-weight:600}.quotation-item-remove-field .btn,.invoice-item-remove-field .btn{width:100%}.a4-page{--a4-ink:#1d2230;--a4-muted:#6a7180;--a4-hairline:#e4e7ee;--a4-accent:#181a43;--a4-accent-text:#181a43;color:var(--a4-ink);width:100%;max-width:620px;min-height:var(--a4-min-height,auto);box-shadow:var(--shadow-card);font-variant-numeric:tabular-nums;-webkit-print-color-adjust:exact;print-color-adjust:exact;background:#fff;border-radius:4px;flex-direction:column;padding:42px 44px;font-size:10px;line-height:1.5;display:flex;position:relative}@media print{.a4-page{box-shadow:none;border-radius:0;width:100%;max-width:none;min-height:257mm;padding:0}.a4-page-multipage,.a4-page-multipage .a4-content,.a4-page-multipage .a4-body{display:block}.a4-page-multipage{min-height:0}.quotation-preview-panel,.invoice-preview-panel{position:static}}.a4-content{flex-direction:column;flex:1;display:flex}.a4-body{flex:1}.a4-header-grid{justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:22px;display:flex}.a4-company-header{flex-direction:column;flex:auto;align-items:flex-start;gap:8px;min-width:0;display:flex}.a4-company-logo{flex-shrink:0;width:auto;height:32px}.a4-company-info{min-width:0;color:var(--a4-muted);flex:1;font-size:.9em;line-height:1.5}.a4-company-name{color:var(--a4-ink);margin-bottom:2px;font-size:1.1em;font-weight:700}.a4-header-meta{text-align:right;flex:0 0 200px}.a4-doctitle{color:var(--a4-accent-text);margin:0 0 6px;font-size:1.8em;font-weight:700}.a4-meta-rule{background:var(--a4-hairline);height:2px;margin-bottom:8px}.a4-meta{flex-direction:column;gap:4px;margin:0;display:flex}.a4-meta-row{justify-content:space-between;gap:16px;font-size:.95em;display:flex}.a4-meta-row dt{color:var(--a4-accent-text);white-space:nowrap;font-weight:600}.a4-meta-row dd{color:var(--a4-ink);margin:0;font-weight:600}.a4-meta-project{border-top:1px solid var(--a4-hairline);align-items:baseline;margin-top:8px;padding-top:8px}.a4-meta-project dd{text-align:right;max-width:220px}.a4-label{text-transform:uppercase;letter-spacing:.08em;color:var(--a4-accent-text);margin-bottom:5px;font-size:.85em;font-weight:700}.a4-client-block{border-top:1px solid var(--a4-hairline);margin-bottom:20px;padding-top:16px}.a4-client-name{color:var(--a4-ink);font-size:1.1em;font-weight:700}.a4-client-address,.a4-client-tax{color:var(--a4-muted);margin-top:2px}.a4-items-table{border-collapse:collapse;width:100%;margin-bottom:18px}.a4-items-table th{text-align:left;text-transform:uppercase;letter-spacing:.05em;color:#fff;background:var(--a4-accent);padding:7px 10px;font-size:.85em;font-weight:700}.a4-items-table td{border-bottom:1px solid var(--a4-hairline);vertical-align:top;color:var(--a4-ink);padding:9px 10px}.a4-items-table tbody tr:last-child td{border-bottom:none}.a4-col-num{width:26px;color:var(--a4-muted)}.a4-col-description{white-space:pre-wrap}.a4-col-center,.a4-items-table th.a4-col-center{text-align:center;white-space:nowrap}.a4-totals-wrap{justify-content:flex-end;margin-bottom:2px;display:flex}.a4-totals{flex-direction:column;flex:0 0 260px;display:flex}.a4-amount-words{color:var(--a4-muted);text-align:right;margin:0 0 14px;font-size:.85em;font-style:italic}.a4-totals-row{white-space:nowrap;justify-content:space-between;gap:20px;padding:3px 0;display:flex}.a4-totals-row span:first-child{color:var(--a4-accent-text);font-weight:600}.a4-totals-row span:last-child{color:var(--a4-ink);font-weight:600}.a4-totals-divider{background:var(--a4-hairline);height:1px;margin:6px 0}.a4-totals-strong span:last-child{font-size:1.15em;font-weight:700}.a4-totals-final{border-top:1px solid var(--a4-ink);margin-top:3px;padding-top:6px}.a4-note{break-inside:avoid;break-after:avoid;page-break-inside:avoid;page-break-after:avoid;margin-bottom:8px}.a4-note-separated{margin-bottom:24px}.a4-note p{color:var(--a4-ink);white-space:pre-wrap}.a4-signatures{break-inside:avoid;break-before:avoid;page-break-inside:avoid;page-break-before:avoid;gap:32px;margin-top:24px;display:flex}.a4-signatures-single{justify-content:flex-end}.a4-signatures-single .a4-signature-block{flex:0 0 calc(50% - 16px)}.a4-signature-block{color:var(--a4-muted);flex-direction:column;flex:1;font-size:.9em;display:flex}.a4-signature-image,.a4-signature-image-placeholder{align-self:center;height:44px;margin-top:10px}.a4-signature-image{object-fit:contain;max-width:90%;margin-bottom:-6px}.a4-signature-party{color:var(--a4-ink);margin-bottom:12px;font-weight:700}.a4-signature-line{border-bottom:1px solid #b4b9c4;height:28px}.a4-signature-date-line{height:24px;margin-top:10px}.a4-signature-date-value{color:var(--a4-ink);justify-content:center;align-items:flex-end;padding-bottom:2px;font-weight:600;display:flex}.a4-signature-name{text-align:center;color:var(--a4-ink);margin-top:6px;font-weight:600}.a4-signature-role{text-align:center;margin-top:6px}.a4-page-break{color:var(--a4-muted);letter-spacing:.04em;text-transform:uppercase;pointer-events:none;align-items:center;gap:8px;padding:0 44px;font-size:.9em;display:flex;position:absolute;left:0;right:0}.a4-page-break:before,.a4-page-break:after{content:"";border-top:1px dashed #c7cbd6;flex:1}@media print{.a4-page-break{display:none}}.a4-page-number{text-align:center;color:var(--a4-muted);font-size:.85em;position:absolute;left:0;right:0}@media print{.a4-page-number{display:none}}.rm-root{color:var(--page-foreground)}.rm-page-header{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.rm-header-controls{align-items:center;gap:10px;display:flex}.rm-scenario-toggle{border:1px solid var(--border);background:var(--surface);color:var(--muted);cursor:pointer;white-space:nowrap;border-radius:100px;align-items:center;gap:8px;padding:7px 12px;font-size:.82rem;font-weight:600;display:inline-flex}.rm-scenario-toggle input{display:none}.rm-scenario-dot{background:#cbd0da;border-radius:50%;width:9px;height:9px}.rm-scenario-toggle.is-on{border-color:var(--accent);color:var(--accent-text);background:#f6c51729}.rm-scenario-toggle.is-on .rm-scenario-dot{background:var(--accent-text)}.rm-tabbar{border-bottom:1px solid #ffffff1f;gap:2px;margin:20px 0 18px;display:flex;overflow-x:auto}.rm-tab{color:var(--page-muted);white-space:nowrap;background:0 0;border:none;border-bottom:2px solid #0000;margin-bottom:-1px;padding:10px 16px;font-size:.9rem;font-weight:600;position:relative}.rm-tab:hover{color:var(--page-foreground)}.rm-tab.active{color:#fff;border-bottom-color:var(--accent)}.rm-avatar{color:#fff;letter-spacing:.01em;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;font-weight:700;line-height:1;display:inline-flex}.rm-drawer-overlay{z-index:100;background:#0f121973;justify-content:flex-end;display:flex;position:fixed;inset:0}.rm-drawer{background:var(--surface);color:var(--foreground);flex-direction:column;max-width:92vw;height:100%;animation:.16s ease-out rm-drawer-in;display:flex;box-shadow:-12px 0 40px #00000040}@keyframes rm-drawer-in{0%{opacity:.4;transform:translate(24px)}to{opacity:1;transform:translate(0)}}.rm-drawer-header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:flex-start;gap:12px;padding:20px 22px 16px;display:flex}.rm-drawer-header h2{font-size:1.1rem}.rm-drawer-subtitle{color:var(--muted);margin-top:3px;font-size:.85rem}.rm-drawer-body{flex:1;padding:18px 22px;overflow-y:auto}.rm-drawer-footer{border-top:1px solid var(--border);justify-content:flex-end;gap:10px;padding:14px 22px;display:flex}.rm-surface{background:var(--surface);color:var(--foreground);box-shadow:var(--shadow-card);border-radius:10px;margin-bottom:18px}.rm-toolbar{flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:16px;display:flex}.rm-toolbar-spacer{flex:1}.rm-search{border:1px solid var(--border);background:var(--surface);color:var(--foreground);border-radius:6px;min-width:200px;padding:8px 11px;font-size:.85rem}.rm-select{border:1px solid var(--border);background:var(--surface);color:var(--foreground);border-radius:6px;padding:8px 10px;font-size:.83rem}.rm-filter-label{text-transform:uppercase;letter-spacing:.04em;color:var(--page-muted);margin-right:-4px;font-size:.72rem;font-weight:600}.rm-segmented{border:1px solid var(--border);background:var(--surface);border-radius:6px;display:inline-flex;overflow:hidden}.rm-segmented button{background:var(--surface);color:var(--muted);border:none;padding:7px 12px;font-size:.82rem;font-weight:600}.rm-segmented button+button{border-left:1px solid var(--border)}.rm-segmented button.active{background:var(--accent);color:var(--accent-foreground)}.field>.rm-segmented{width:100%;display:flex}.field>.rm-segmented button{text-align:center;flex:1}.rm-chip{color:#3f4657;white-space:nowrap;background:#eef0f4;border-radius:100px;align-items:center;gap:5px;padding:2px 8px;font-size:.72rem;font-weight:600;display:inline-flex}.rm-chip-dot{border-radius:50%;flex-shrink:0;width:8px;height:8px}.rm-money{font-variant-numeric:tabular-nums;white-space:nowrap}.rm-cost{color:var(--accent-text)}.rm-pos{color:#166534}.rm-neg{color:var(--danger)}.rm-muted{color:var(--muted)}.rm-gantt-stats{flex-wrap:wrap;gap:10px;margin-bottom:14px;display:flex}.rm-stat-chip{background:var(--surface);color:var(--foreground);border:1px solid var(--border);border-left:3px solid var(--muted);box-shadow:var(--shadow-card);text-align:left;cursor:pointer;border-radius:8px;align-items:baseline;gap:8px;padding:9px 14px;display:flex}.rm-stat-chip:hover{border-color:var(--accent)}.rm-stat-chip.is-active{outline:2px solid var(--accent);outline-offset:-2px}.rm-stat-value{font-variant-numeric:tabular-nums;font-size:1.15rem;font-weight:700}.rm-stat-label{color:var(--muted);font-size:.78rem;font-weight:600}.rm-stat-chip.tone-available{border-left-color:#2563eb}.rm-stat-chip.tone-full{border-left-color:#16a34a}.rm-stat-chip.tone-over{border-left-color:var(--danger)}.rm-stat-chip.tone-gap{border-left-color:#d97706}.rm-toolbar-toggle{padding:6px 10px}.rm-gantt-wrap{background:var(--surface);color:var(--foreground);box-shadow:var(--shadow-card);border-radius:10px;min-height:340px;max-height:calc(100vh - 320px);position:relative;overflow:auto}.rm-gantt{min-width:100%;font-size:.8rem;position:relative}.rm-gantt-underlay{pointer-events:none;z-index:0;position:absolute;bottom:0;left:0;right:0}.rm-gantt-gridline{border-left:1px solid #eef0f3;position:absolute;top:0;bottom:0}.rm-gantt-gridline.is-weekend{background:#646c820d}.rm-gantt-today{background:var(--accent);opacity:.85;width:2px;position:absolute;top:0;bottom:0}.rm-gantt-header{z-index:5;background:var(--surface);border-bottom:1px solid var(--border);display:flex;position:sticky;top:0}.rm-gantt-corner{z-index:6;background:var(--surface);border-right:1px solid var(--border);color:var(--muted);flex-shrink:0;align-items:center;padding:0 12px;font-weight:600;display:flex;position:sticky;left:0}.rm-gantt-ticks{flex-shrink:0;position:relative}.rm-gantt-tick{border-left:1px solid var(--border);color:var(--muted);white-space:nowrap;flex-direction:column;justify-content:center;align-items:center;font-size:.72rem;font-weight:600;line-height:1.2;display:flex;position:absolute;top:0;bottom:0;overflow:hidden}.rm-gantt-tick small{opacity:.7;font-size:.66rem;font-weight:500}.rm-gantt-tick.is-now{color:var(--accent-text);background:#f6c51729}.rm-gantt-tick.is-weekend{color:#b6bcc9}.rm-gantt-group{z-index:1;border-bottom:1px solid var(--border);cursor:pointer;background:#f8f9fb;display:flex;position:relative}.rm-gantt-group-label{text-transform:uppercase;letter-spacing:.04em;color:#4b5162;background:#f8f9fb;flex-shrink:0;align-items:center;gap:8px;padding:7px 12px;font-size:.76rem;font-weight:700;display:flex;position:sticky;left:0}.rm-group-caret{color:var(--muted);font-size:.7rem}.rm-group-count{color:var(--muted);text-transform:none;letter-spacing:0;font-weight:600}.rm-gantt-row{border-bottom:1px solid var(--border);display:flex;position:relative}.rm-gantt-row:hover .rm-gantt-person{background:#fafbfc}.rm-gantt-person{z-index:2;background:var(--surface);border-right:1px solid var(--border);border-left:3px solid #0000;flex-shrink:0;align-items:center;gap:9px;padding:6px 10px 6px 9px;display:flex;position:sticky;left:0}.rm-gantt-person.status-over{border-left-color:var(--danger)}.rm-gantt-person.status-full{border-left-color:#16a34a}.rm-gantt-person.status-available{border-left-color:#2563eb}.rm-gantt-avatar-btn{cursor:pointer;background:0 0;border:none;border-radius:50%;padding:0;display:flex}.rm-gantt-avatar-btn:hover{box-shadow:0 0 0 2px var(--accent)}.rm-gantt-person-meta{flex:1;min-width:0}.rm-gantt-name{font:inherit;color:var(--foreground);text-align:left;white-space:nowrap;cursor:pointer;background:0 0;border:none;padding:0;font-weight:600}.rm-gantt-name:hover{color:var(--accent-text);text-decoration:underline}.rm-person-sub{color:var(--muted);white-space:nowrap;font-size:.72rem}.rm-gantt-person-util{text-align:right;flex-shrink:0;margin-left:auto}.rm-gantt-util-pct{font-variant-numeric:tabular-nums;justify-content:flex-end;align-items:center;gap:5px;font-size:.78rem;font-weight:700;display:flex}.rm-gantt-util-note{color:var(--muted);white-space:nowrap;font-size:.66rem;display:block}.rm-status-dot{border-radius:50%;flex-shrink:0;width:8px;height:8px}.rm-status-dot.is-over{background:var(--danger)}.rm-status-dot.is-full{background:#16a34a}.rm-status-dot.is-available{background:#2563eb}.rm-status-pill{border-radius:100px;align-items:center;padding:2px 9px;font-size:.72rem;font-weight:700;display:inline-flex}.rm-status-pill.is-over{color:#991b1b;background:#fee2e2}.rm-status-pill.is-full{color:#166534;background:#dcfce7}.rm-status-pill.is-available{color:#1e40af;background:#dbeafe}.rm-gantt-track{cursor:crosshair;flex-shrink:0;position:relative}.rm-gantt-bar{color:#fff;white-space:nowrap;cursor:grab;z-index:1;touch-action:none;border-radius:4px;align-items:center;padding:0 6px;font-size:.7rem;font-weight:600;line-height:1;display:flex;position:absolute;overflow:hidden;box-shadow:0 1px 2px #0000002e}.rm-gantt.is-dragging .rm-gantt-bar{cursor:grabbing}.rm-gantt-bar:hover{filter:brightness(1.08);z-index:3}.rm-gantt-bar.is-dragged{opacity:.85;z-index:4;box-shadow:0 4px 10px #0000004d}.rm-gantt-bar.is-dimmed{opacity:.22}.rm-gantt-bar.tentative{background-image:repeating-linear-gradient(45deg,#ffffff4d,#ffffff4d 3px,#0000 3px 7px)}.rm-gantt-bar.nonbillable{box-shadow:inset 0 0 0 1px #ffffffbf}.rm-gantt-bar.clip-l{border-top-left-radius:0;border-bottom-left-radius:0}.rm-gantt-bar.clip-r{border-top-right-radius:0;border-bottom-right-radius:0}.rm-gantt-bar-label{align-items:baseline;gap:5px;width:100%;display:flex;overflow:hidden}.rm-gantt-bar-client{text-overflow:ellipsis;overflow:hidden}.rm-gantt-bar-label b{opacity:.92;flex-shrink:0;font-size:.66rem}.rm-gantt-handle{cursor:ew-resize;touch-action:none;width:7px;position:absolute;top:0;bottom:0}.rm-gantt-handle.left{left:0}.rm-gantt-handle.right{right:0}.rm-gantt-bar:hover .rm-gantt-handle{background:#ffffff59}.rm-gantt-empty{color:var(--muted);text-align:center;padding:28px 16px}.rm-chip-xs{margin-left:5px;padding:1px 5px;font-size:.62rem}.rm-legend{color:var(--page-muted);flex-wrap:wrap;align-items:center;gap:12px 18px;margin-top:14px;font-size:.76rem;display:flex}.rm-legend-item{align-items:center;gap:6px;display:inline-flex}.rm-legend-swatch{border-radius:3px;width:12px;height:12px}.rm-meter{background:#eef0f3;border-radius:4px;height:8px;overflow:hidden}.rm-meter-fill{background:var(--accent);border-radius:4px;height:100%}.rm-meter-fill.ok{background:#16a34a}.rm-meter-fill.warn{background:#d97706}.rm-meter-fill.over{background:var(--danger)}.rm-retainer-grid{grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:18px;display:grid}.rm-retainer-card{background:var(--surface);color:var(--foreground);box-shadow:var(--shadow-card);border-top:3px solid var(--accent);border-radius:10px;padding:18px}.rm-retainer-head{justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:12px;display:flex}.rm-retainer-client{font-size:1.05rem;font-weight:700}.rm-retainer-sub{color:var(--muted);font-size:.8rem}.rm-metric-row{flex-wrap:wrap;gap:16px;margin:12px 0;display:flex}.rm-metric{min-width:90px}.rm-metric-label{text-transform:uppercase;letter-spacing:.03em;color:var(--muted);font-size:.7rem}.rm-metric-value{font-variant-numeric:tabular-nums;font-size:1.05rem;font-weight:700}.rm-warn-banner{color:#92400e;background:#fef3c7;border:1px solid #fde68a;border-radius:6px;margin:10px 0;padding:7px 10px;font-size:.8rem;font-weight:600}.rm-roster{flex-direction:column;gap:6px;margin-top:8px;display:flex}.rm-roster-row{align-items:center;gap:9px;font-size:.82rem;display:flex}.rm-roster-row .rm-roster-role{color:var(--muted);margin-left:auto}.rm-gap-list{flex-wrap:wrap;gap:6px;margin-top:6px;display:flex}.rm-history-log{flex-direction:column;gap:8px;display:flex}.rm-history-item{border-bottom:1px solid var(--border);align-items:baseline;gap:10px;padding-bottom:8px;font-size:.83rem;display:flex}.rm-history-date{color:var(--muted);font-variant-numeric:tabular-nums;white-space:nowrap;font-size:.76rem}.rm-history-in{color:#166534;font-weight:700}.rm-history-out{color:var(--danger);font-weight:700}.rm-candidate{border:1px solid var(--border);text-align:left;background:var(--surface);border-radius:8px;align-items:center;gap:10px;width:100%;margin-bottom:8px;padding:10px;display:flex}.rm-candidate:hover{border-color:var(--accent)}.rm-candidate-fit{text-align:right;color:var(--muted);white-space:nowrap;margin-left:auto;font-size:.76rem}.rm-candidate-warn{color:var(--danger);margin-top:3px;font-size:.76rem}.rm-kpi-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));display:grid}.rm-retainer-fields{border:1px solid var(--border);border-left:3px solid var(--accent);background:#f6c5170d;border-radius:8px;flex-direction:column;gap:12px;padding:12px 14px;display:flex}.rm-month-percents{border:1px solid var(--border);background:#0d94880a;border-left:3px solid #0d9488;border-radius:8px;flex-direction:column;gap:10px;padding:12px 14px;display:flex}.rm-month-rows{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px 12px;display:grid}.rm-month-row{align-items:center;gap:8px;display:flex}.rm-month-row label{color:var(--muted);white-space:nowrap;flex:1;font-size:.78rem}.rm-month-row input{text-align:right;font-variant-numeric:tabular-nums;width:68px}.rm-new-engagement{border:1px dashed var(--border);background:#2563eb0a;border-left:3px solid #2563eb;border-radius:8px;flex-direction:column;gap:12px;padding:12px 14px;display:flex}.rm-margin-preview{border-top:1px dashed var(--border);padding-top:10px}.rm-margin-rows{flex-direction:column;gap:4px;margin-top:6px;display:flex}.rm-margin-row{font-variant-numeric:tabular-nums;justify-content:space-between;align-items:baseline;gap:12px;font-size:.8rem;display:flex}.rm-margin-row.rm-margin-total{border-top:1px solid var(--border);margin-top:4px;padding-top:6px;font-weight:700}.rm-seat-economics{white-space:nowrap;align-items:baseline;gap:3px;font-size:.74rem;display:inline-flex}.rm-seat-margin{margin-left:5px;font-weight:700}.rm-emp-head{border-bottom:1px solid var(--border);align-items:center;gap:14px;margin-bottom:16px;padding-bottom:16px;display:flex}.modal-dialog-wide .form-section-title{margin-top:22px}.rm-emp-head-meta{min-width:0}.rm-emp-chips{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.rm-emp-email{margin-top:5px;font-size:.8rem}.rm-emp-kpis{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:4px}@media (max-width:640px){.rm-emp-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}.rm-workload-strip{align-items:flex-end;gap:4px;height:78px;margin-top:8px;display:flex}.rm-workload-col{flex-direction:column;flex:1;align-items:center;gap:4px;height:100%;display:flex}.rm-workload-track{background:#f1f3f6;border-radius:3px;flex:1;align-items:flex-end;width:100%;display:flex;position:relative;overflow:hidden}.rm-workload-track:before{content:"";border-top:1px dashed #c3c9d4;position:absolute;bottom:76.9%;left:0;right:0}.rm-workload-fill{border-radius:3px 3px 0 0;width:100%;min-height:2px}.rm-workload-fill.util-over{background:#dc2626}.rm-workload-fill.util-ok{background:#16a34a}.rm-workload-fill.util-under{background:#94a3b8}.rm-workload-fill.util-empty{background:0 0}.rm-workload-fill.util-off{background:repeating-linear-gradient(45deg,#cbd5e1,#cbd5e1 3px,#0000 3px 6px)}.rm-workload-label{color:var(--muted);font-variant-numeric:tabular-nums;font-size:.62rem}.rm-workload-notes{flex-wrap:wrap;gap:14px;margin-top:8px;font-size:.78rem;display:flex}.rm-note-over{color:var(--danger);font-weight:600}.rm-note-idle{color:#b45309;font-weight:600}.rm-assignment-list{flex-direction:column;gap:8px;margin-top:8px;display:flex}.rm-assignment{border:1px solid var(--border);border-radius:8px;align-items:flex-start;gap:10px;padding:10px 12px;display:flex}.rm-assignment-bar{border-radius:2px;flex-shrink:0;align-self:stretch;width:4px}.rm-assignment-main{flex:1;min-width:0}.rm-assignment-title{font-size:.88rem;font-weight:600}.rm-assignment-meta{color:var(--muted);margin-top:2px;font-size:.76rem}.rm-assignment-chips{flex-wrap:wrap;gap:5px;margin-top:6px;display:flex}.rm-assignment-pct{font-variant-numeric:tabular-nums;flex-shrink:0;font-size:.95rem;font-weight:700}.rm-chip-tentative{color:#1e40af;background:#dbeafe}.rm-chip-cost{color:var(--accent-text);background:#f6c51733}.rm-unit{font-size:.7rem}.audit-filters{grid-template-columns:repeat(auto-fit,minmax(170px,1fr));align-items:end;gap:10px 14px;margin-bottom:12px;display:grid}.audit-files-toggle{padding-bottom:9px}.audit-filter-actions{align-items:center;gap:10px;margin-bottom:18px;display:flex}.audit-table{font-size:.85rem}.audit-time{white-space:nowrap;color:var(--muted)}.audit-details{max-width:380px}.badge.audit-green{color:#166534;background:#dcfce7}.badge.audit-blue{color:#1e40af;background:#dbeafe}.badge.audit-red{color:#991b1b;background:#fee2e2}.badge.audit-amber{color:#92400e;background:#fef3c7}.badge.audit-grey{color:#374151;background:#f3f4f6}.badge.audit-purple{color:#5b21b6;background:#ede9fe}.audit-changes{margin-top:4px}.audit-changes summary{cursor:pointer;color:var(--accent-text);-webkit-user-select:none;user-select:none;font-size:.78rem}.audit-changes table{border-collapse:collapse;margin-top:6px;font-size:.78rem}.audit-changes td{vertical-align:top;word-break:break-word;border-bottom:none;padding:3px 8px 3px 0}.audit-change-field{color:var(--muted);white-space:nowrap}.audit-change-from{color:#991b1b;text-decoration:line-through}.audit-change-arrow{color:var(--muted)}.audit-pagination{justify-content:space-between;align-items:center;margin-top:14px;display:flex}:is(.app-main:has(a[href="/reimbursements/new"]),.app-main:has(input[name=itemsJson]),.app-main:has(a[href^="/api/reimbursements/certificates/"]),.app-main:has(input[name=L1])){font-size:.88rem}:is(.app-main:has(a[href="/reimbursements/new"]) h1,.app-main:has(input[name=itemsJson]) h1,.app-main:has(a[href^="/api/reimbursements/certificates/"]) h1,.app-main:has(input[name=L1]) h1){font-size:1.65rem}:is(.app-main:has(a[href="/reimbursements/new"]) h2,.app-main:has(input[name=itemsJson]) h2,.app-main:has(a[href^="/api/reimbursements/certificates/"]) h2,.app-main:has(input[name=L1]) h2){font-size:1.08rem}:is(.app-main:has(a[href="/reimbursements/new"]) :is(.page-subtitle,label,input,select,textarea,button,.btn,table),.app-main:has(input[name=itemsJson]) :is(.page-subtitle,label,input,select,textarea,button,.btn,table),.app-main:has(a[href^="/api/reimbursements/certificates/"]) :is(.page-subtitle,label,input,select,textarea,button,.btn,table),.app-main:has(input[name=L1]) :is(.page-subtitle,label,input,select,textarea,button,.btn,table)){font-size:.84rem}:is(.app-main:has(a[href="/reimbursements/new"]) :is(th,td),.app-main:has(input[name=itemsJson]) :is(th,td),.app-main:has(a[href^="/api/reimbursements/certificates/"]) :is(th,td),.app-main:has(input[name=L1]) :is(th,td)){font-size:.82rem}.reimbursement-history-page{font-size:.88rem}.reimbursement-history-page h1{font-size:1.65rem}.reimbursement-history-page :is(.page-subtitle,table){font-size:.84rem}.reimbursement-history-page :is(th,td){font-size:.82rem}.reimbursement-detail-page{font-size:.88rem}.reimbursement-list-page{min-height:100%}.reimbursement-list-page>.card{border:1px solid #f5d36b;min-height:0;box-shadow:0 10px 24px #0f172a1a}.reimbursement-list-heading{align-items:center;gap:16px;display:flex}.reimbursement-list-logo{width:72px;height:auto}.reimbursement-list-page .table-scroll table{table-layout:fixed;border-collapse:collapse;width:100%}.reimbursement-list-page .table-scroll th,.reimbursement-list-page .table-scroll td{vertical-align:top;overflow-wrap:anywhere;padding:12px 10px}.reimbursement-list-page .table-scroll thead{background:#fff8dc}.reimbursement-list-page .table-scroll tbody tr:nth-child(2n){background:#f8fbff}.reimbursement-list-page .table-scroll tbody tr:hover{background:#fff4c2}.reimbursement-list-page .table-scroll td a{color:#1d4ed8;font-weight:600}.reimbursement-creator-label{color:var(--muted);margin-top:3px;font-size:.76rem;line-height:1.2;display:block}.reimbursement-list-page .reimbursement-filters{align-items:center;gap:10px;margin-bottom:16px;display:flex}.reimbursement-list-page .reimbursement-filters input,.reimbursement-list-page .reimbursement-filters select{background:#fff;border:1px solid #cbd5e1;border-radius:8px;min-height:38px;padding:8px 10px}.reimbursement-list-page .reimbursement-filters input{flex:1;min-width:220px}.reimbursement-list-page .reimbursement-search{color:#a16207;background:#fff;border:1px solid #f5d36b;border-radius:10px;align-items:center;gap:8px;width:min(420px,100%);padding:0 12px;display:flex}.reimbursement-list-page .reimbursement-search span{font-size:1.25rem;line-height:1}.reimbursement-list-page .reimbursement-search input{border:0;outline:0;min-width:0;padding-left:0}.reimbursement-list-page .table-scroll th:nth-child(9),.reimbursement-list-page .table-scroll td:nth-child(9){width:5%}.reimbursement-list-page .table-scroll th:nth-child(10),.reimbursement-list-page .table-scroll td:nth-child(10){width:6%}.reimbursement-list-page .table-action-danger{color:#b91c1c;cursor:pointer;font:inherit;background:0 0;border:0;padding:0}.reimbursement-list-page{font-size:.86rem}.reimbursement-custom-fields{border-top:1px dashed var(--border);grid-column:1/-1;grid-template-columns:auto repeat(3,minmax(150px,1fr));align-items:end;gap:10px;margin-top:4px;padding:12px 0 2px;display:grid}.reimbursement-custom-fields>p{color:var(--muted);margin:0 8px 8px 0;font-size:.78rem;font-weight:700}.reimbursement-custom-fields label{color:var(--muted);gap:5px;font-size:.74rem;display:grid}.reimbursement-custom-fields input{width:100%;padding:8px}.reimbursement-custom-category-name{grid-column:1/-1;max-width:340px}.reimbursement-settings-page{max-width:1080px}.reimbursement-category-options-page{max-width:900px;color:var(--page-foreground)}.reimbursement-category-options-page .reimbursement-back-link{color:var(--page-muted)}.reimbursement-category-options-page .reimbursement-back-link:hover{color:var(--page-foreground)}.reimbursement-settings-header-actions{flex-wrap:wrap;justify-content:flex-end;gap:10px;display:flex}.category-options-panel{border:1px solid var(--border);background:var(--surface,#fff);color:var(--foreground);border-radius:14px;padding:22px}.category-options-heading{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.category-options-heading h2{margin:0;font-size:1rem}.category-options-heading p{color:var(--muted);margin:5px 0 0;font-size:.8rem}.category-options-heading>strong{color:var(--muted);white-space:nowrap;font-size:.8rem}.category-option-add-form{border-bottom:1px solid var(--border);grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:12px;margin-top:20px;padding-bottom:20px;display:grid}.category-option-add-form label{color:var(--foreground);gap:7px;font-size:.82rem;font-weight:700;display:grid}.category-option-add-form input{width:100%;padding:10px 11px}.category-option-list{display:grid}.category-option-row{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:18px;min-height:68px;padding:13px 0;display:flex}.category-option-row:last-child{border-bottom:0}.category-option-row.is-inactive{opacity:.7}.category-option-name{gap:4px;min-width:0;display:grid}.category-option-name strong{color:var(--foreground);font-size:.92rem}.category-option-name span{color:var(--muted);font-size:.76rem}.category-option-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:14px;display:flex}.category-option-actions form{margin:0}.category-option-edit{color:var(--accent-text);cursor:pointer;font:inherit;background:0 0;border:0;padding:0;font-size:.78rem;font-weight:700}.category-option-updated{color:var(--muted);white-space:nowrap;font-size:.76rem}.category-options-other-panel{margin-top:18px}.category-option-other-row{border-top:1px solid var(--border);margin-top:14px}.category-option-toggle{color:var(--muted);cursor:pointer;font:inherit;background:0 0;border:0;align-items:center;gap:8px;padding:0;font-size:.77rem;font-weight:700;display:inline-flex}.category-option-toggle>span:first-child{background:#c8cbd3;border-radius:999px;width:36px;height:20px;transition:background .15s;display:inline-block;position:relative}.category-option-toggle>span:first-child:after{content:"";background:#fff;border-radius:50%;width:14px;height:14px;transition:transform .15s;position:absolute;top:3px;left:3px}.category-option-toggle.is-on{color:var(--accent-text)}.category-option-toggle.is-on>span:first-child{background:var(--accent)}.category-option-toggle.is-on>span:first-child:after{transform:translate(16px)}.category-option-reactivate{color:var(--accent-text);cursor:pointer;font:inherit;background:0 0;border:0;padding:0;font-size:.78rem;font-weight:700}.category-options-inactive{color:var(--page-foreground);margin-top:24px}.category-options-inactive summary{cursor:pointer;color:var(--page-foreground);font-weight:700}.category-options-inactive>p{color:var(--page-muted);margin:8px 0 0;font-size:.8rem}.category-options-inactive .category-option-list{border:1px solid var(--border);background:var(--surface,#fff);border-radius:14px;margin-top:10px;padding:0 22px}.category-edit-modal{border:1px solid var(--border);background:var(--surface,#fff);width:min(100%,460px);color:var(--foreground);border-radius:16px;padding:24px;box-shadow:0 20px 55px #0f123038}.category-edit-modal-heading{justify-content:space-between;align-items:flex-start;gap:14px;display:flex}.category-edit-modal-heading h2{margin:0;font-size:1.1rem}.category-edit-modal-heading p{color:var(--muted);margin:7px 0 0;font-size:.82rem;line-height:1.45}.category-edit-close{color:var(--muted);cursor:pointer;background:0 0;border:0;padding:0;font-size:1.5rem;line-height:1}.category-edit-form{gap:18px;margin-top:22px;display:grid}.category-edit-form label{color:var(--foreground);gap:7px;font-size:.82rem;font-weight:700;display:grid}.category-edit-form input{width:100%;padding:10px 11px}.category-edit-actions{justify-content:flex-end;gap:10px;display:flex}.category-edit-actions button{font:inherit;font-weight:700}.reimbursement-settings-page,.reimbursement-type-page{color:var(--page-foreground)}.reimbursement-settings-page .reimbursement-back-link,.reimbursement-type-page .reimbursement-back-link{color:var(--page-muted)}.reimbursement-settings-page .reimbursement-back-link:hover,.reimbursement-type-page .reimbursement-back-link:hover{color:var(--page-foreground)}.reimbursement-back-link{color:var(--muted);margin-bottom:18px;text-decoration:none;display:inline-block}.reimbursement-back-link:hover{color:var(--text);text-underline-offset:3px;text-decoration:underline}.reimbursement-settings-header{margin-bottom:30px}.reimbursement-settings-header h1{max-width:18ch}.reimbursement-settings-tabs{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:34px;display:grid}.reimbursement-settings-tabs a{border:1px solid var(--border);color:var(--page-muted);border-radius:12px;gap:5px;padding:16px 18px;text-decoration:none;display:grid}.reimbursement-settings-tabs a strong{color:var(--page-foreground)}.reimbursement-settings-tabs a span{font-size:.82rem}.reimbursement-settings-tabs a.active{border-color:var(--accent);background:var(--surface-muted,#f8fafc);color:var(--muted)}.reimbursement-settings-tabs a.active strong{color:var(--foreground)}.reimbursement-settings-empty,.reimbursement-limits-section{border-top:1px solid var(--border);border-bottom:1px solid var(--border);padding:24px 0 28px}.reimbursement-settings-empty h2,.reimbursement-section-heading h2,.reimbursement-settings-editor h2{margin:0}.reimbursement-settings-empty p,.reimbursement-section-heading p,.reimbursement-settings-editor-heading p,.reimbursement-category-main p,.reimbursement-inactive-categories>p{color:var(--page-muted);margin:5px 0 0}.reimbursement-settings-empty form{margin:20px 0 0}.reimbursement-section-heading,.reimbursement-settings-editor-heading,.reimbursement-category-row,.reimbursement-category-actions{justify-content:space-between;align-items:center;gap:16px;display:flex}.reimbursement-section-heading>span{color:var(--muted);white-space:nowrap;font-size:.86rem}.reimbursement-limit-rows{border-top:1px solid var(--border);margin-top:20px}.reimbursement-limit-row{border-bottom:1px solid var(--border);grid-template-columns:minmax(160px,1.25fr) minmax(350px,3fr) auto;align-items:end;gap:20px;margin:0;padding:18px 0;display:grid}.reimbursement-limit-row-title{gap:4px;padding-bottom:10px;display:grid}.reimbursement-limit-row-title strong{font-size:.96rem}.reimbursement-limit-row-title span{color:var(--muted);font-size:.8rem}.reimbursement-limit-fields{grid-template-columns:repeat(5,minmax(54px,1fr));gap:8px;display:grid}.reimbursement-limit-fields label{color:var(--muted);gap:5px;font-size:.76rem;font-weight:700;display:grid}.reimbursement-limit-fields input{text-align:right;min-width:0;padding:8px}.reimbursement-limit-row .btn{white-space:nowrap;margin-bottom:1px}.reimbursement-section-empty{color:var(--muted);margin:20px 0 0}.reimbursement-settings-page .reimbursement-section-empty,.reimbursement-settings-page .employee-limits-people span,.reimbursement-settings-page .reimbursement-type-main p{color:var(--page-muted)}.reimbursement-settings-editor{border-top:1px solid var(--accent);color:var(--text);margin:30px 0;padding:28px 0 0}.reimbursement-setting-options{color:var(--muted);flex-wrap:wrap;gap:10px 20px;margin:18px 0;display:flex}.reimbursement-setting-options label{align-items:center;gap:7px;display:inline-flex}.category-editor-form{gap:28px;margin:28px 0 0;display:grid}.category-editor-fields{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;max-width:820px;display:grid}.category-editor-fields.category-editor-two-fields{grid-template-columns:repeat(2,minmax(0,1fr));max-width:700px}.category-editor-fields label{color:var(--text);gap:7px;font-size:.86rem;font-weight:700;display:grid}.category-editor-fields input,.category-editor-fields select{width:100%;padding:11px 12px}.category-option-field{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px;display:grid;position:relative}.category-option-field>label{color:var(--text);grid-column:1/-1;gap:7px;font-size:.86rem;font-weight:700;display:grid}.category-option-field>label select{width:100%}.category-add-more{color:var(--accent);cursor:pointer;font:inherit;background:0 0;border:0;justify-self:start;padding:0;font-size:.8rem;font-weight:700}.category-add-more-editor{grid-column:1/-1;gap:8px;display:flex}.category-add-more-editor input{flex:1;min-width:0}.category-add-more-editor .btn{padding:8px 12px}.category-add-more:disabled{color:var(--muted);cursor:not-allowed}.category-wizard{max-width:820px}.category-stepper{align-items:stretch;gap:10px;margin:26px 0 30px;display:flex}.category-stepper-item{min-width:0;color:var(--muted);flex:1;align-items:flex-start;gap:10px;display:flex}.category-stepper-item>span,.category-step-panel-heading>span{border:1px solid var(--border);width:30px;height:30px;color:var(--muted);border-radius:50%;flex:none;place-items:center;font-size:.8rem;font-weight:800;display:grid}.category-stepper-item>div{gap:2px;min-width:0;display:grid}.category-stepper-item strong{color:var(--text);font-size:.83rem}.category-stepper-item small{color:var(--muted);font-size:.72rem;line-height:1.35}.category-stepper-item.active>span{border-color:var(--accent);background:var(--accent);color:var(--accent-contrast,#171a3d)}.category-stepper-item.complete>span{border-color:var(--accent);color:var(--accent)}.category-stepper-item.locked{opacity:.58}.category-stepper-line{background:var(--border);flex:0 0 28px;height:1px;margin-top:15px}.category-stepper-item.complete+.category-stepper-line{background:var(--accent)}.category-editor-form{gap:14px}.category-step-panel{border:1px solid var(--border);background:var(--surface,#fff);border-radius:14px;max-width:700px;padding:20px 22px 22px}.category-step-panel.active{border-color:var(--accent);box-shadow:0 8px 24px #15193d14}.category-step-panel.locked{background:var(--surface-muted,#f8fafc)}.category-step-panel-heading{align-items:flex-start;gap:11px;margin-bottom:17px;display:flex}.category-step-panel-heading>span{border-color:var(--accent);width:28px;height:28px;color:var(--accent)}.category-step-panel-heading>div{gap:3px;min-width:0;display:grid}.category-step-panel-heading h3{color:var(--text);margin:0;font-size:1rem}.category-step-panel-heading p{color:var(--muted);margin:0;font-size:.8rem}.category-step-panel.complete .category-step-panel-heading>span{background:var(--accent);color:var(--accent-contrast,#171a3d)}.category-step-done{background:color-mix(in srgb, var(--accent) 14%, transparent);color:var(--accent);white-space:nowrap;border-radius:999px;margin-left:auto;padding:4px 8px;font-size:.72rem}.category-step-panel.locked .category-option-field,.category-step-panel.locked .category-editor-conditions{opacity:.62}.category-step-panel .category-option-field{max-width:520px}.category-step-panel .category-editor-conditions{max-width:620px}.category-step-panel .category-editor-conditions legend{margin-bottom:3px}.category-editor-conditions{border:0;gap:0;max-width:700px;margin:0;padding:0;display:grid}.category-editor-conditions legend{color:var(--text);margin-bottom:10px;padding:0;font-size:.9rem;font-weight:700}.category-editor-conditions label{border-top:1px solid var(--border);cursor:pointer;grid-template-columns:auto 1fr;align-items:start;gap:12px;padding:14px 0;display:grid}.category-editor-conditions input{margin-top:3px}.category-editor-conditions span{gap:3px;display:grid}.category-editor-conditions small{color:var(--muted);font-size:.8rem}.category-editor-actions{justify-content:flex-end;align-items:center;gap:18px;max-width:700px;padding-top:4px;display:flex}.category-editor-actions a{color:var(--muted);text-decoration:none}.category-editor-actions a:hover{color:var(--text);text-underline-offset:3px;text-decoration:underline}.category-editor-custom-fields{border:0;max-width:820px;margin:0;padding:0}.custom-fields-heading{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:10px;display:flex}.custom-fields-heading legend{color:var(--text);font-size:.9rem;font-weight:700}.custom-fields-heading p{color:var(--muted);margin:4px 0 0;font-size:.8rem}.custom-fields-empty{border-top:1px solid var(--border);color:var(--muted);margin:0;padding:14px 0;font-size:.82rem}.custom-field-row{border-top:1px solid var(--border);grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:12px;padding:11px 0;display:grid}.custom-field-row>input{width:100%;padding:9px 10px}.custom-field-row label{color:var(--muted);white-space:nowrap;align-items:center;gap:6px;font-size:.8rem;display:inline-flex}.custom-field-row button{color:var(--muted);cursor:pointer;font:inherit;background:0 0;border:0;font-size:.8rem}.custom-field-row button:hover{color:#c2413d}.reimbursement-settings-list{margin-top:38px}.reimbursement-category-rows{border-top:1px solid var(--border);margin-top:16px}.reimbursement-category-row{border-bottom:1px solid var(--border);min-height:80px;padding:14px 4px}.reimbursement-category-main{min-width:210px}.reimbursement-category-main strong{font-size:.96rem}.reimbursement-category-rules{flex-wrap:wrap;flex:1;gap:7px;display:flex}.reimbursement-category-rules span{background:var(--surface-muted,#f8fafc);color:var(--muted);border-radius:999px;padding:4px 8px;font-size:.76rem}.reimbursement-category-actions{flex:none}.reimbursement-category-actions a,.reimbursement-category-actions button{color:var(--accent);font:inherit;cursor:pointer;background:0 0;border:0;padding:6px;font-weight:700;text-decoration:none}.reimbursement-category-actions form{margin:0}.reimbursement-category-actions form button{color:var(--muted)}.reimbursement-category-actions .category-delete-action{color:#c2413d}.reimbursement-type-rows{border-top:1px solid var(--border);margin-top:18px}.reimbursement-type-row{border-bottom:1px solid var(--border);grid-template-columns:minmax(180px,.75fr) minmax(220px,1.45fr) auto;align-items:center;gap:22px;min-height:92px;padding:16px 4px;display:grid}.reimbursement-type-row.is-inactive{opacity:.68}.reimbursement-type-main{gap:5px;display:grid}.reimbursement-type-main strong{font-size:1rem}.reimbursement-type-main p{color:var(--muted);margin:0;font-size:.8rem}.reimbursement-type-categories{flex-wrap:wrap;gap:7px;display:flex}.reimbursement-type-categories span{background:var(--surface-muted,#f8fafc);color:var(--muted);border-radius:999px;padding:5px 9px;font-size:.77rem}.reimbursement-inactive-categories{color:var(--muted);margin-top:26px}.reimbursement-inactive-categories summary{cursor:pointer;color:var(--text);font-weight:700}.reimbursement-inactive-categories[open] summary{margin-bottom:12px}.employee-limits-setting{margin-top:4px}.employee-limits-workspace{border:1px solid var(--border);border-radius:14px;grid-template-columns:minmax(210px,.72fr) minmax(0,1.75fr);margin-top:20px;display:grid;overflow:hidden}.employee-limits-people{border-right:1px solid var(--border);max-height:500px;padding:18px;overflow-y:auto}.employee-limits-people>p{margin:0 0 10px;font-size:.82rem;font-weight:700}.employee-limits-people>div{gap:4px;display:grid}.employee-limits-people a{color:var(--text);border-radius:10px;gap:4px;padding:12px;text-decoration:none;display:grid}.employee-limits-people a:hover,.employee-limits-people a.active{background:var(--surface-muted,#f8fafc)}.employee-limits-people span{color:var(--muted);font-size:.78rem}.employee-limits-editor{padding:24px}.employee-limits-person p{color:var(--muted);margin:0 0 3px;font-size:.78rem}.employee-limits-person h3{margin:0}.employee-limits-person span{color:var(--muted);font-size:.82rem}.employee-limit-items{border-top:1px solid var(--border);margin-top:22px;display:grid}.employee-limit-items label{border-bottom:1px solid var(--border);grid-template-columns:auto minmax(130px,1fr) 130px auto;align-items:center;gap:12px;padding:14px 0;display:grid}.employee-limit-items label>span{gap:3px;display:grid}.employee-limit-items small,.employee-limit-items em{color:var(--muted);font-size:.78rem;font-style:normal}.employee-limit-items input[type=number]{text-align:right;min-width:0;padding:8px}.employee-limits-editor .form-actions{margin-top:22px}.reimbursement-type-page{max-width:900px}.type-editor-stepper{border-bottom:1px solid var(--border);grid-template-columns:repeat(3,1fr);gap:10px;margin:24px 0 30px;padding-bottom:20px;display:grid}.type-editor-stepper>div{color:var(--muted);align-items:center;gap:9px;display:flex}.type-editor-stepper span,.type-editor-section-heading>span{border:1px solid var(--border);width:30px;height:30px;color:var(--muted);border-radius:50%;flex:none;place-items:center;font-size:.78rem;font-weight:800;display:grid}.type-editor-stepper strong{font-size:.82rem}.type-editor-stepper>div.active{color:var(--text)}.type-editor-stepper>div.active span{border-color:var(--accent);background:var(--accent);color:var(--accent-contrast,#171a3d)}.type-editor-form{gap:18px;display:grid}.type-editor-section{border:1px solid var(--border);background:var(--surface,#fff);color:var(--foreground);border-radius:14px;padding:22px}.type-editor-section-heading{align-items:flex-start;gap:11px;margin-bottom:19px;display:flex}.type-editor-section-heading>div{gap:3px;min-width:0;display:grid}.type-editor-section-heading h2{margin:0;font-size:1rem}.type-editor-section-heading p{color:var(--muted);margin:0;font-size:.8rem}.type-editor-section-heading>strong{color:var(--muted);white-space:nowrap;margin-left:auto;font-size:.8rem}.type-name-field{max-width:520px;color:var(--text);gap:7px;font-size:.86rem;font-weight:700;display:grid}.type-name-field input{width:100%;padding:11px 12px}.type-category-list{gap:13px;display:grid}.type-category-row{border-top:1px solid var(--border);grid-template-columns:30px minmax(0,1fr);gap:11px;padding:16px 0;display:grid}.type-category-row-number{background:var(--surface-muted,#f8fafc);width:28px;height:28px;color:var(--muted);border-radius:50%;place-items:center;font-size:.78rem;font-weight:800;display:grid}.type-category-row-content{grid-template-columns:minmax(220px,1fr) minmax(180px,.8fr) auto;align-items:end;gap:12px;display:grid}.type-category-row-content>label{color:var(--text);gap:6px;font-size:.8rem;font-weight:700;display:grid}.type-category-row-content select,.type-category-row-content input{width:100%;padding:9px 10px}.type-category-other{grid-column:2}.type-category-remove{color:#c2413d;cursor:pointer;font:inherit;white-space:nowrap;background:0 0;border:0;padding:0 0 9px;font-size:.78rem;font-weight:700}.type-category-conditions{border:0;grid-column:1/-1;gap:0;margin:5px 0 0;padding:0;display:grid}.type-category-conditions:disabled{opacity:.55}.type-category-conditions legend{color:var(--text);margin-bottom:4px;padding:0;font-size:.8rem;font-weight:800}.type-category-conditions legend span{color:var(--muted);font-size:.74rem;font-weight:400}.type-category-conditions label{border-top:1px solid var(--border);cursor:pointer;grid-template-columns:auto 1fr;align-items:start;gap:10px;padding:10px 0;display:grid}.type-category-conditions label input{margin-top:3px}.type-category-conditions label span{gap:2px;display:grid}.type-category-conditions label small{color:var(--muted);font-size:.75rem}.type-editor-error{color:var(--danger,#b91c1c);margin:14px 0 0;font-size:.8rem;font-weight:700}.type-add-category{color:var(--accent);cursor:pointer;font:inherit;background:0 0;border:0;margin-top:14px;padding:0;font-size:.84rem;font-weight:800}.type-category-list{gap:14px}.type-category-card{border:1px solid var(--border);background:var(--surface,#fff);border-radius:14px;padding:20px}.type-category-card-header{justify-content:space-between;align-items:center;gap:14px;margin-bottom:16px;display:flex}.type-category-card-header h3{color:var(--foreground);margin:0;font-size:.98rem}.type-category-card .type-category-remove{padding:0}.type-category-card-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.type-category-card-fields>label{color:var(--foreground);gap:6px;font-size:.8rem;font-weight:700;display:grid}.type-category-card-fields select,.type-category-card-fields input{width:100%;padding:10px}.type-category-card .type-category-conditions{border-top:1px solid var(--border);margin-top:18px;padding-top:13px}.type-condition-list{gap:16px;display:grid}.type-condition-list fieldset{border:0;margin:0;padding:0}.type-condition-list legend{color:var(--text);margin-bottom:6px;padding:0;font-size:.9rem;font-weight:800}.type-condition-list label{border-top:1px solid var(--border);cursor:pointer;grid-template-columns:auto 1fr;align-items:start;gap:12px;padding:13px 0;display:grid}.type-condition-list label input{margin-top:3px}.type-condition-list label span{gap:3px;display:grid}.type-condition-list label small{color:var(--muted);font-size:.78rem}.type-condition-list.is-empty{color:var(--muted);font-size:.82rem}.type-editor-actions{justify-content:flex-end;align-items:center;gap:18px;padding-top:4px;display:flex}.type-editor-actions a{color:var(--page-muted);text-decoration:none}.type-editor-actions a:hover{color:var(--text);text-underline-offset:3px;text-decoration:underline}.delete-confirm-backdrop{z-index:50;background:#0f12307a;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.delete-confirm-modal{border:1px solid var(--border);background:var(--surface,#fff);width:min(100%,430px);color:var(--foreground);border-radius:16px;padding:26px;box-shadow:0 20px 55px #0f123038}.delete-confirm-modal h2{margin:0;font-size:1.1rem}.delete-confirm-modal p{color:var(--muted);margin:9px 0 0;font-size:.86rem;line-height:1.55}.delete-confirm-actions{justify-content:flex-end;gap:10px;margin-top:22px;display:flex}.delete-confirm-actions button{cursor:pointer;font:inherit;border-radius:8px;padding:9px 14px;font-weight:700}.delete-confirm-cancel{border:1px solid var(--border);color:var(--text);background:0 0}.delete-confirm-submit{color:#fff;background:#c2413d;border:1px solid #c2413d}.settings-examples-page{max-width:980px}.settings-examples-page .section-header{margin-bottom:34px}.settings-example{border-top:1px solid var(--border);margin-top:34px;padding-top:28px}.settings-example-heading{justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:18px;display:flex}.settings-example-heading h2{margin:0}.settings-example-heading p{color:var(--muted);margin:5px 0 0}.settings-example-heading>span{background:var(--surface-muted,#f8fafc);color:var(--muted);white-space:nowrap;border-radius:999px;padding:5px 9px;font-size:.78rem}.settings-example-switches{gap:8px;margin-bottom:12px;display:flex}.settings-example-switches button,.settings-example-list button{border:1px solid var(--border);color:var(--muted);cursor:default;font:inherit;background:0 0}.settings-example-switches button{border-radius:999px;padding:10px 14px;font-weight:700}.settings-example-switches button.active{border-color:var(--accent);background:var(--accent);color:#171717}.settings-example-workspace{background:var(--surface-muted,#f8fafc);border-radius:14px;grid-template-columns:minmax(145px,1fr) minmax(310px,2.6fr) auto;align-items:end;gap:20px;padding:20px;display:grid}.settings-example-workspace h3,.settings-example-inspector h3{margin:0}.settings-example-workspace p{color:var(--muted);margin:5px 0 0;font-size:.86rem}.settings-example-limit-fields{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;display:grid}.settings-example-limit-fields label{color:var(--muted);gap:5px;font-size:.76rem;font-weight:700;display:grid}.settings-example-limit-fields input{text-align:right;min-width:0;padding:8px}.settings-example-split{border:1px solid var(--border);border-radius:14px;grid-template-columns:minmax(220px,.8fr) minmax(380px,1.5fr);min-height:270px;display:grid;overflow:hidden}.settings-example-list{border-right:1px solid var(--border);align-content:start;display:grid}.settings-example-list button{text-align:left;border-width:0 0 1px;gap:5px;padding:16px;display:grid}.settings-example-list button.selected{background:var(--surface-muted,#f8fafc);color:var(--text)}.settings-example-list span{font-size:.8rem}.settings-example-inspector{gap:14px;padding:20px;display:grid}.settings-example-inspector>label{max-width:260px;color:var(--muted);gap:6px;font-size:.8rem;font-weight:700;display:grid}.settings-example-inspector input{padding:8px}.settings-example-check{color:var(--muted);font-size:.86rem}.settings-example-priority{gap:14px;display:grid}.settings-example-category-list{border:1px solid var(--border);border-radius:14px;padding:18px 20px}.settings-example-category-list>div{justify-content:space-between;align-items:center;gap:14px;display:flex}.settings-example-category-list p{border-top:1px solid var(--border);justify-content:space-between;gap:16px;margin:0;padding:13px 0;display:flex}.settings-example-category-list p:first-of-type{margin-top:15px}.settings-example-category-list p span{color:var(--muted);font-size:.84rem}.settings-manual-header{margin-bottom:26px}.settings-manual-steps{color:var(--muted);gap:26px;margin:0 0 28px;padding:0;list-style:none;display:flex}.settings-manual-steps li{align-items:center;gap:8px;font-size:.86rem;font-weight:700;display:inline-flex}.settings-manual-steps span{border:1px solid var(--border);border-radius:50%;place-items:center;width:24px;height:24px;font-size:.75rem;display:inline-grid}.settings-manual-steps .active{color:var(--text)}.settings-manual-steps .active span{border-color:var(--accent);background:var(--accent);color:#171717}.settings-manual-preview{border:1px solid var(--border);border-radius:14px;grid-template-columns:minmax(230px,.85fr) minmax(400px,1.55fr);display:grid;overflow:hidden}.settings-manual-people{border-right:1px solid var(--border);align-content:start;gap:10px;padding:20px;display:grid}.settings-manual-people>label{color:var(--text);font-size:.86rem;font-weight:700}.settings-manual-people>input{padding:10px}.settings-manual-people>p{color:var(--muted);margin:8px 0 2px;font-size:.78rem}.settings-manual-people button{color:var(--text);cursor:default;text-align:left;font:inherit;background:0 0;border:0;border-radius:10px;gap:4px;padding:12px;display:grid}.settings-manual-people button.selected{background:var(--surface-muted,#f8fafc)}.settings-manual-people button span{color:var(--muted);font-size:.8rem}.settings-manual-editor{padding:28px}.settings-manual-person{align-items:center;gap:12px;display:flex}.settings-manual-avatar{background:var(--accent);color:#171717;border-radius:50%;place-items:center;width:42px;height:42px;font-weight:800;display:grid}.settings-manual-person p{color:var(--muted);margin:0 0 2px;font-size:.78rem}.settings-manual-person h2{margin:0;font-size:1.15rem}.settings-manual-person span{color:var(--muted);font-size:.82rem}.settings-manual-amounts{gap:12px;margin:28px 0 0;display:grid}.settings-manual-amounts label{border-top:1px solid var(--border);grid-template-columns:1fr auto 132px auto;align-items:center;gap:12px;padding:15px 0;font-weight:700;display:grid}.settings-manual-amounts label>span,.settings-manual-amounts small{color:var(--muted);font-size:.78rem;font-weight:400}.settings-manual-amounts input{text-align:right;width:132px;padding:9px}.settings-manual-help{color:var(--muted);margin:16px 0 0;font-size:.84rem}.settings-manual-editor .form-actions{margin-top:24px}.settings-manual-note{color:var(--muted);margin-top:15px;font-size:.8rem}@media (max-width:820px){.reimbursement-limit-row{grid-template-columns:1fr auto}.reimbursement-limit-fields{grid-area:2/1/auto/-1}}@media (max-width:620px){.reimbursement-section-heading,.reimbursement-settings-editor-heading,.reimbursement-category-row{flex-direction:column;align-items:flex-start}.reimbursement-settings-header-actions{justify-content:flex-start;width:100%}.category-options-panel{padding:18px}.category-option-add-form{grid-template-columns:1fr;align-items:stretch}.category-option-add-form .btn{width:100%}.category-option-row{flex-direction:column;align-items:flex-start;gap:10px}.category-option-actions{justify-content:flex-start}.category-options-heading{flex-direction:column;gap:8px}.category-option-updated{white-space:normal}.category-options-inactive .category-option-list{padding:0 18px}.reimbursement-type-row{grid-template-columns:1fr;align-items:flex-start;gap:12px}.reimbursement-type-row .reimbursement-category-actions{width:100%}.type-editor-stepper{grid-template-columns:1fr;gap:10px;padding-bottom:16px}.type-editor-section{padding:18px}.type-category-row-content{grid-template-columns:1fr;align-items:stretch}.type-category-other{grid-column:auto}.type-category-remove{justify-self:start;padding:0}.type-category-card-fields{grid-template-columns:1fr}.category-stepper{gap:0;display:grid}.category-stepper-item{align-items:center}.category-stepper-line{width:1px;height:14px;margin:0 0 0 14px}.category-step-panel{padding:18px}.category-step-done{margin-left:auto}.reimbursement-limit-row{grid-template-columns:1fr;gap:12px}.reimbursement-limit-fields{grid-area:auto;grid-template-columns:repeat(2,minmax(0,1fr))}.reimbursement-limit-row .btn{width:100%}.reimbursement-category-actions{justify-content:flex-start;width:100%}.reimbursement-custom-fields{grid-template-columns:1fr;align-items:stretch}.reimbursement-custom-fields>p{margin:0}.reimbursement-settings-tabs,.category-editor-fields,.category-editor-fields.category-editor-two-fields{grid-template-columns:1fr}.custom-fields-heading{flex-direction:column;align-items:flex-start}.custom-field-row{grid-template-columns:minmax(0,1fr) auto}.custom-field-row button{grid-area:1/2}.employee-limits-workspace{grid-template-columns:1fr}.employee-limits-people{border-right:0;border-bottom:1px solid var(--border)}.employee-limit-items label{grid-template-columns:auto minmax(0,1fr)}.employee-limit-items input[type=number]{grid-column:2;width:100%}.employee-limit-items em{grid-column:2}.settings-example-heading,.settings-example-category-list>div{flex-direction:column;align-items:flex-start}.settings-example-workspace,.settings-example-split{grid-template-columns:1fr}.settings-example-workspace{align-items:stretch}.settings-example-limit-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-example-workspace .btn{width:100%}.settings-example-list{border-right:0;border-bottom:1px solid var(--border)}.settings-example-category-list p{flex-direction:column;align-items:flex-start;gap:4px}.settings-manual-steps{justify-content:space-between;gap:10px}.settings-manual-steps li{gap:5px;font-size:.72rem}.settings-manual-preview{grid-template-columns:1fr}.settings-manual-people{border-right:0;border-bottom:1px solid var(--border)}.settings-manual-amounts label{grid-template-columns:1fr auto;gap:7px}.settings-manual-amounts label>span{grid-column:1}.settings-manual-amounts input{grid-column:1;width:100%}.settings-manual-amounts small{grid-area:2/2}}.reimbursement-view-tabs{border-bottom:1px solid var(--border);gap:6px;margin:0 0 22px;display:flex}.reimbursement-view-tabs a{min-height:42px;color:var(--muted);border-bottom:2px solid #0000;align-items:center;padding:0 14px;font-weight:700;text-decoration:none;display:inline-flex}.reimbursement-view-tabs a:hover{color:var(--text)}.reimbursement-view-tabs a.active{border-bottom-color:var(--accent);color:var(--text)}.reimbursement-view-tabs .tab-attention-badge{vertical-align:middle;background:#c2413d}.reimbursement-success-message{color:#166534;background:#f0fdf4;border:1px solid #bbf7d0;border-radius:8px;margin:0 0 18px;padding:11px 14px;font-weight:700}.reimbursement-list-section{justify-content:space-between;align-items:center;gap:18px;margin-bottom:14px;display:flex}.reimbursement-list-section h2{margin:0}.reimbursement-list-page .table-scroll th,.reimbursement-list-page .table-scroll td{text-align:left;padding:10px 8px;font-size:.78rem}.reimbursement-list-page .table-scroll th:nth-child(3),.reimbursement-list-page .table-scroll td:nth-child(3){white-space:nowrap;overflow-wrap:normal;font-variant-numeric:tabular-nums;text-align:center!important}.reimbursement-list-page .table-scroll th:nth-child(6),.reimbursement-list-page .table-scroll td:nth-child(6){text-align:center!important}.reimbursement-list-page .request-actions-select{box-sizing:border-box;width:100%}.reimbursement-list-page .table-scroll th:nth-child(7),.reimbursement-list-page .table-scroll td:nth-child(7){width:12%}.reimbursement-list-page .table-scroll th:nth-child(8),.reimbursement-list-page .table-scroll td:nth-child(8){width:8%}.reimbursement-list-page .table-scroll table{width:100%;min-width:0}.reimbursement-list-page .table-scroll th:nth-child(6),.reimbursement-list-page .table-scroll td:nth-child(6),.reimbursement-list-page .table-scroll th:nth-child(7),.reimbursement-list-page .table-scroll td:nth-child(7){width:10%}.reimbursement-list-page .table-scroll{overflow-x:auto}.reimbursement-list-page .table-scroll table{min-width:760px}.reimbursement-list-page .table-scroll th,.reimbursement-list-page .table-scroll td{overflow-wrap:normal}.reimbursement-list-page .table-scroll th{white-space:nowrap}.reimbursement-list-page .table-scroll th:first-child,.reimbursement-list-page .table-scroll td:first-child{width:22%}.reimbursement-list-page .table-scroll th:nth-child(2),.reimbursement-list-page .table-scroll td:nth-child(2){width:20%}.reimbursement-list-page .table-scroll th:nth-child(3),.reimbursement-list-page .table-scroll td:nth-child(3){width:16%}.reimbursement-list-page .table-scroll th:nth-child(4),.reimbursement-list-page .table-scroll td:nth-child(4){width:20%}.reimbursement-list-page .table-scroll th:nth-child(5),.reimbursement-list-page .table-scroll td:nth-child(5){width:10%}.reimbursement-list-page .table-scroll th:nth-child(6),.reimbursement-list-page .table-scroll td:nth-child(6){width:12%}.request-actions-select{color:#854d0e;min-width:88px;font:inherit;cursor:pointer;background:#fff8dc;border:1px solid #f5d36b;border-radius:7px;padding:5px 7px}.request-delete-form{display:none}.reimbursement-list-page .table-scroll th,.reimbursement-list-page .table-scroll td{vertical-align:middle;width:16.6667%!important}.reimbursement-list-page .request-actions-select{width:min(112px,100%);margin:0 auto;display:block}@media (max-width:760px){.reimbursement-list-section{flex-direction:column;align-items:stretch;gap:10px}.reimbursement-view-tabs{margin-bottom:18px;overflow-x:auto}.reimbursement-view-tabs a{white-space:nowrap;flex:none;padding:0 10px}.reimbursement-list-page .reimbursement-filters{flex-direction:column;align-items:stretch}.reimbursement-list-page .reimbursement-filters input{width:100%}}.reimbursement-detail-page h1{font-size:1.65rem}.reimbursement-detail-page h2{font-size:1.08rem}.reimbursement-detail-page :is(.page-subtitle,label,input,select,textarea,button,.btn,table){font-size:.84rem}.reimbursement-detail-page :is(th,td){font-size:.8rem}.reimbursement-detail-page .table-scroll table{table-layout:fixed;border-collapse:collapse;width:100%;min-width:900px}.reimbursement-detail-page .table-scroll th,.reimbursement-detail-page .table-scroll td{text-align:left;vertical-align:top;overflow-wrap:anywhere;padding:8px 10px}.reimbursement-detail-page .table-scroll th{white-space:nowrap;color:var(--muted);font-weight:700}.reimbursement-detail-page .table-scroll th:first-child,.reimbursement-detail-page .table-scroll td:first-child{width:15%}.reimbursement-detail-page .table-scroll th:nth-child(2),.reimbursement-detail-page .table-scroll td:nth-child(2){width:12%}.reimbursement-detail-page .table-scroll th:nth-child(3),.reimbursement-detail-page .table-scroll td:nth-child(3){width:19%}.reimbursement-detail-page .table-scroll th:nth-child(4),.reimbursement-detail-page .table-scroll td:nth-child(4){width:14%}.reimbursement-detail-page .table-scroll th:nth-child(5),.reimbursement-detail-page .table-scroll td:nth-child(5){width:12%}.reimbursement-detail-page .table-scroll th:nth-child(6),.reimbursement-detail-page .table-scroll td:nth-child(6){width:10%}.reimbursement-detail-page .table-scroll th:nth-child(7),.reimbursement-detail-page .table-scroll td:nth-child(7){width:18%}.reimbursement-detail-page .table-scroll th:first-child,.reimbursement-detail-page .table-scroll td:first-child,.reimbursement-detail-page .table-scroll th:nth-child(2),.reimbursement-detail-page .table-scroll td:nth-child(2){white-space:nowrap;overflow-wrap:normal}.reimbursement-detail-page .table-scroll td:nth-child(7) a{white-space:normal;overflow-wrap:anywhere}.reimbursement-detail-page .reimbursement-expense-section .table-scroll{overflow-x:hidden}.reimbursement-detail-page .reimbursement-expense-section .table-scroll table{table-layout:fixed;width:100%;min-width:0}.reimbursement-detail-page .reimbursement-expense-section .table-scroll th,.reimbursement-detail-page .reimbursement-expense-section .table-scroll td{white-space:normal;overflow-wrap:anywhere;word-break:break-word;width:14.2857%!important}.reimbursement-detail-page .reimbursement-expense-section .table-scroll th{text-align:center!important}.reimbursement-detail-page .reimbursement-expense-section .table-scroll td{text-align:left!important}.reimbursement-detail-page .reimbursement-expense-section .table-scroll td:nth-child(5){text-align:center!important}.reimbursement-overview-section{background:#f8fbff}.request-overview-grid{grid-template-columns:1fr 1.5fr 1fr;gap:14px;display:grid}.request-overview-grid>div{background:#fff;border:1px solid #dbe5f2;border-radius:10px;min-width:0;padding:15px 16px}.request-overview-grid span,.request-overview-grid small{color:var(--muted);font-size:.76rem;display:block}.request-overview-grid strong{color:#172554;overflow-wrap:anywhere;margin-top:5px;font-size:1rem;display:block}.request-overview-grid p{color:var(--muted);overflow-wrap:anywhere;margin:5px 0 0}.receipt-evidence-preview{margin-top:20px}.receipt-evidence-preview>.section-header{margin-bottom:10px}.receipt-evidence-preview>.section-header h2{margin:0}.receipt-evidence-preview>.section-header>span{color:var(--muted);font-size:.8rem}.evidence-preview-card{background:#fff;border:1px solid #dbe5f2;border-radius:10px;grid-template-columns:180px minmax(0,1fr);align-items:start;gap:14px;margin-top:10px;padding:12px;display:grid}.evidence-preview-meta{gap:5px;min-width:0;display:grid}.evidence-preview-meta strong{overflow-wrap:anywhere}.evidence-preview-meta small{color:var(--muted);overflow-wrap:anywhere}.evidence-preview-meta a{color:#1d4ed8;font-size:.8rem;font-weight:600}.evidence-preview-card iframe{border:1px solid var(--border);background:#f8fafc;border-radius:6px;width:100%;height:260px}.evidence-preview-card img{object-fit:contain;border:1px solid var(--border);background:#f8fafc;border-radius:6px;width:100%;max-height:260px}.reimbursement-empty-evidence{color:var(--muted);background:#fff;border:1px dashed #cbd5e1;border-radius:8px;margin:0;padding:16px}.document-preview{gap:8px;display:grid}.document-preview-toggle{justify-self:start}.reimbursement-review-page{max-width:960px}.reimbursement-review-header{align-items:flex-start}.reimbursement-review-status{border-radius:999px;flex:none;padding:7px 11px;font-size:.85rem;font-weight:700}.reimbursement-review-status.pending{color:#854d0e;background:#fff3cd}.reimbursement-review-status.approved{color:#166534;background:#dcfce7}.reimbursement-review-status.rejected{color:#b91c1c;background:#fee2e2}.reimbursement-review-status.returned{color:#075985;background:#e0f2fe}.reimbursement-request-meta-card{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-top:18px;display:grid}.reimbursement-request-meta-card div{gap:5px;display:grid}.reimbursement-request-meta-card span,.reimbursement-request-meta-card small{color:var(--muted);font-size:.88rem}.reimbursement-request-meta-card strong{color:#172554;overflow-wrap:anywhere;font-size:1rem}.reimbursement-review-section,.reimbursement-review-content{margin-top:18px}.reimbursement-review-content .reimbursement-request-meta-card{margin-top:0}.reimbursement-review-content>.reimbursement-review-section{border-top:1px solid #e2e8f0;margin-top:26px;padding-top:26px}.reimbursement-review-section h2{color:#172554;margin:0}.review-document-list{border-top:1px solid #e2e8f0;margin-top:14px;display:grid}.review-expense-table-wrap{border:1px solid #d9e1ef;border-radius:8px;margin-top:14px;overflow-x:auto}.review-expense-table{border-collapse:collapse;table-layout:fixed;width:100%;min-width:680px;font-size:.88rem}.review-expense-table th{color:#fff;text-align:center;background:#172554;padding:10px 8px;font-size:.76rem;font-weight:700;line-height:1.25}.review-expense-table th:first-child,.review-expense-table th:nth-child(4){width:7%}.review-expense-table th:nth-child(2){width:32%}.review-expense-table th:nth-child(3){width:22%}.review-expense-table th:nth-child(5),.review-expense-table th:nth-child(6){width:16%}.review-expense-table td{vertical-align:middle;text-align:left;color:#24324d;overflow-wrap:anywhere;border-top:1px solid #d9e1ef;padding:12px 10px}.review-expense-table td+td,.review-expense-table th+th{border-left:1px solid #ffffff38}.review-expense-table td+td{border-left-color:#d9e1ef}.review-expense-table td strong,.review-expense-table td small{display:block}.review-expense-table td strong{color:#172554;font-weight:700}.review-expense-table td small{color:var(--muted);margin-top:3px;line-height:1.35}.review-expense-number,.review-expense-money{font-variant-numeric:tabular-nums;text-align:center!important}.review-expense-money{white-space:nowrap;font-weight:700;color:#172554!important}.review-document-row{border-bottom:1px solid #e2e8f0;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px 0;display:grid}.review-file-icon{background:#f8fafc;border-radius:8px;place-items:center;width:40px;height:40px;display:grid}.review-file-icon img{width:22px;height:22px}.review-document-info{gap:3px;min-width:0;display:grid}.review-document-info small{color:var(--muted)}.review-document-info a{overflow-wrap:anywhere;color:#1d4ed8;width:fit-content;max-width:100%;font-size:.88rem;font-weight:600}.review-document-flag,.review-document-ready{white-space:nowrap;border-radius:999px;padding:5px 8px;font-size:.78rem;font-weight:700}.review-document-flag{color:#b91c1c;background:#fee2e2}.review-document-ready{color:#166534;background:#dcfce7}.reimbursement-total-section{width:min(100%,430px);margin-left:auto}.reimbursement-total-section h2{font-size:1rem}.reimbursement-total-breakdown{gap:0;margin:10px 0 0;font-size:.9rem;display:grid}.reimbursement-total-breakdown>div{color:#475569;border-bottom:1px solid #e2e8f0;justify-content:space-between;gap:20px;padding:10px 0;display:flex}.reimbursement-total-breakdown dt,.reimbursement-total-breakdown dd{margin:0}.reimbursement-total-breakdown dd{font-variant-numeric:tabular-nums}.reimbursement-total-breakdown .reimbursement-total-requested{color:#172554;border-bottom:0;align-items:baseline;padding-top:18px;font-weight:700}.reimbursement-total-requested dd{font-size:1.3rem}.reimbursement-budget-unavailable{color:#854d0e;margin:12px 0 0}.reimbursement-decision-section{margin-bottom:28px}.reimbursement-decision-section .btn.danger{color:#fff;background:#dc2626}.reimbursement-decision-section .btn.danger:hover{background:#b91c1c}.reimbursement-approval-card{margin-top:14px}.approval-primary-actions,.approval-action-row{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.approval-reason-form{gap:12px;display:grid}.approval-reason-form label{color:#172554;gap:6px;font-weight:600;display:grid}.approval-reason-form label span{color:var(--muted);font-weight:400}.approval-reason-form textarea{resize:vertical;min-height:108px}.reimbursement-review-summary{grid-template-columns:1fr 1.5fr 1fr;gap:28px;margin-top:18px;display:grid}.reimbursement-review-summary div{gap:4px;min-width:0;display:grid}.reimbursement-review-summary span,.reimbursement-review-summary small{color:var(--muted);font-size:.88rem}.reimbursement-review-summary strong{color:#172554;overflow-wrap:anywhere;font-size:1.05rem}.reimbursement-review-document,.reimbursement-review-actions{margin-top:18px}.review-document-viewer{justify-items:start;gap:8px;padding:16px 0 0;display:grid}.review-document-viewer p{color:var(--muted);margin:0}.review-document-pages{background:#eef2f7;border-radius:10px;gap:20px;width:100%;margin-top:8px;padding:20px;display:grid}.review-document-pages:empty:before{color:var(--muted);content:"Loading document preview…"}.review-document-pages canvas{background:#fff;width:100%;height:auto;margin:0 auto;display:block;box-shadow:0 8px 20px #0f172a1f}.review-document-pages p{color:#9f1239;margin:0}.review-document-download{margin-top:4px}.reimbursement-review-actions .reimbursement-approval-card{background:0 0;border:0;padding:0}.reimbursement-review-waiting{color:var(--muted);margin:0}@media (max-width:760px){.reimbursement-review-summary,.reimbursement-request-meta-card{grid-template-columns:1fr;gap:16px}.reimbursement-review-header{gap:12px}.review-expense-table-wrap{margin-right:-4px}.reimbursement-total-section{width:100%}.review-document-row{grid-template-columns:42px minmax(0,1fr)}.review-document-row>:last-child{grid-column:2;justify-self:start}.review-document-pages{padding:10px}}.document-preview iframe{border:1px solid var(--border);background:#f8fafc;border-radius:8px;width:100%;height:360px}.document-preview a{color:#1d4ed8;font-weight:600}.document-version-list{gap:8px;margin-top:14px;display:grid}.document-version-list>div{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.document-version-list .btn{margin:0}.reimbursement-workflow-section>.section-header{margin-bottom:12px}.reimbursement-workflow-section>form{margin-top:10px}.reimbursement-process{gap:0;margin:16px 0 4px;padding:0;list-style:none;display:grid}.reimbursement-process-step{grid-template-columns:28px minmax(0,1fr);gap:12px;min-height:52px;display:grid;position:relative}.reimbursement-process-step:not(:last-child):before{content:"";background:#dbe5f2;width:2px;position:absolute;top:28px;bottom:0;left:13px}.reimbursement-process-marker{z-index:1;color:#64748b;background:#fff;border:2px solid #cbd5e1;border-radius:50%;place-items:center;width:28px;height:28px;font-size:.78rem;font-weight:700;display:grid}.reimbursement-process-step>div{align-content:start;gap:3px;padding-bottom:14px;display:grid}.reimbursement-process-step strong{color:#172554;font-size:.92rem}.reimbursement-process-step small{color:var(--muted);line-height:1.35}.reimbursement-process-step.completed .reimbursement-process-marker{color:#fff;background:#15803d;border-color:#15803d}.reimbursement-process-step.current .reimbursement-process-marker{border-color:var(--accent);color:#854d0e;background:#fff8d7;box-shadow:0 0 0 3px #f6c51729}.reimbursement-process-step.current strong{color:#854d0e}.reimbursement-timeline{gap:0;margin:6px 0 0;padding:0;list-style:none;display:grid;position:relative}.reimbursement-timeline:before{content:"";background:#dbe5f2;width:2px;position:absolute;top:10px;bottom:10px;left:7px}.reimbursement-timeline li{grid-template-columns:16px minmax(0,1fr);gap:12px;padding:9px 0;display:grid;position:relative}.timeline-dot{z-index:1;background:var(--accent);border:3px solid #fff;border-radius:50%;width:16px;height:16px;margin-top:2px;box-shadow:0 0 0 1px #d5a900}.reimbursement-timeline li strong,.reimbursement-timeline li small{display:block}.reimbursement-timeline li small{color:var(--muted);margin-top:3px}.reimbursement-timeline li p{color:#9f1239;overflow-wrap:anywhere;margin:4px 0 0}.reimbursement-empty-history{color:var(--muted)}@media (max-width:760px){.request-overview-grid,.evidence-preview-card{grid-template-columns:1fr}.evidence-preview-card iframe,.evidence-preview-card img{max-height:220px}.document-preview iframe{height:280px}}.reimbursement-detail-page>.card{border:1px solid #f5d36b;box-shadow:0 10px 24px #0f172a1a}.reimbursement-detail-page h2{color:#172554;border-left:4px solid #f6c517;padding-left:10px}.reimbursement-detail-heading{align-items:center;gap:16px;display:flex}.reimbursement-detail-logo{flex:none;width:72px;height:auto}.reimbursement-detail-page .table-scroll thead{background:#fff8dc}.reimbursement-detail-page .table-scroll tbody tr:nth-child(2n){background:#f8fbff}.reimbursement-detail-page .table-scroll tbody tr:hover{background:#fff4c2}.reimbursement-detail-page .table-scroll td:nth-child(7) .status-pill{color:#166534;background:#dcfce7;font-weight:700}.reimbursement-detail-page .table-scroll td a{color:#1d4ed8;font-weight:600}.reimbursement-detail-page .card:last-child>div{border-bottom-color:#dbeafe!important}.reimbursement-detail-page .reimbursement-approval-card-shell{margin-top:6px}.reimbursement-detail-page .reimbursement-approval-card{margin:0}.reimbursement-detail-page .reimbursement-approval-card .approval-action-row{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.reimbursement-detail-page .reimbursement-approval-card .approval-reject-form{flex-direction:column;gap:12px;margin-top:12px;display:flex}.reimbursement-detail-page .reimbursement-approval-card .approval-reject-label{pointer-events:none}.reimbursement-detail-page .reimbursement-approval-card .approval-reject-form label{color:#172554;flex-direction:column;gap:6px;font-weight:600;display:flex}.reimbursement-detail-page .reimbursement-approval-card .approval-reject-form label span{color:var(--muted);font-weight:400}.reimbursement-detail-page .reimbursement-approval-card textarea{resize:vertical;width:100%;min-height:78px}.reimbursement-detail-page .reimbursement-detail-shell{padding:0;overflow:hidden}.reimbursement-detail-shell>.reimbursement-detail-section{border-bottom:1px solid #e5e7eb;margin:0;padding:22px 24px}.reimbursement-detail-shell>.reimbursement-detail-section:last-child{border-bottom:0}.reimbursement-detail-shell>.reimbursement-expense-section{padding-top:24px}.reimbursement-detail-shell>.reimbursement-history-card{padding-bottom:24px}.reimbursement-detail-shell>.reimbursement-approval-card{margin:0;padding-bottom:22px}.reimbursement-monthly-report{margin-top:26px}.reimbursement-report-heading{justify-content:space-between;align-items:flex-end;gap:20px;display:flex}.reimbursement-report-heading h2{margin:0}.reimbursement-report-heading p,.reimbursement-report-period{color:var(--muted);margin:6px 0 0}.reimbursement-report-month-picker{align-items:flex-end;gap:10px;display:flex}.reimbursement-report-month-picker label{color:var(--muted);gap:5px;font-size:13px;display:grid}.reimbursement-report-month-picker input{min-height:38px}.reimbursement-report-actions{align-items:center;gap:8px;display:flex}.reimbursement-report-icon-button{border:1px solid var(--accent);width:38px;height:38px;color:var(--page-foreground);background:0 0;border-radius:7px;place-items:center;font-size:20px;line-height:1;display:inline-grid}.reimbursement-report-icon-button:hover{background:#f6c51724}.reimbursement-report-summary{background:#ffffff0a;border:1px solid #e7e8f46b;border-radius:12px;grid-template-columns:repeat(4,minmax(0,1fr));margin:16px 0;display:grid;overflow:hidden}.reimbursement-report-summary>div{border-right:1px solid #e7e8f447;padding:15px 17px}.reimbursement-report-summary>div:last-child{border-right:0}.reimbursement-report-summary span{color:var(--page-muted);font-size:13px;display:block}.reimbursement-report-summary strong{color:var(--page-foreground);font-variant-numeric:tabular-nums;margin-top:5px;font-size:18px;display:block}.reimbursement-report-table-card{margin-top:0}.reimbursement-report-start{color:var(--page-muted);text-align:center;border:1px dashed #e7e8f473;border-radius:12px;margin-top:18px;padding:24px}.reimbursement-report-start strong{color:var(--page-foreground)}.reimbursement-report-table-card .table-scroll table{min-width:820px}.reimbursement-report-table-card .table-scroll th:first-child,.reimbursement-report-table-card .table-scroll td:first-child{width:20%}.reimbursement-report-table-card .table-scroll th:nth-child(2),.reimbursement-report-table-card .table-scroll td:nth-child(2){width:17%}.reimbursement-report-table-card .table-scroll th:nth-child(n+3),.reimbursement-report-table-card .table-scroll td:nth-child(n+3){width:15.75%}.reimbursement-report-table-card .table-scroll th{text-align:center;vertical-align:middle}.reimbursement-report-table-card .table-scroll td{vertical-align:middle}.reimbursement-report-table-card .table-scroll td:nth-child(-n+2){text-align:left}.reimbursement-report-table-card .table-scroll td:nth-child(n+3){text-align:center}.reimbursement-report-empty{text-align:center;color:var(--muted);padding:32px}@media (max-width:760px){.reimbursement-report-heading{flex-direction:column;align-items:stretch}.reimbursement-report-month-picker{align-items:flex-end}.reimbursement-report-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.reimbursement-report-summary>div:nth-child(2){border-right:0}.reimbursement-report-summary>div:nth-child(-n+2){border-bottom:1px solid var(--border)}}@media print{.reimbursement-list-page-report{page:reimbursement-report-landscape}@page reimbursement-report-landscape{size:A4 landscape;margin:12mm}.app-nav,.reimbursement-list-page-report>.section-header,.reimbursement-list-page-report>.reimbursement-view-tabs,.reimbursement-report-month-picker{display:none!important}.app-shell,.app-main{background:#fff;min-height:0;padding:0;display:block}.reimbursement-monthly-report{color:#111827;margin:0}.reimbursement-report-heading{display:block}.reimbursement-report-heading h2{font-size:22px}.reimbursement-report-summary{break-inside:avoid}.reimbursement-report-table-card{box-shadow:none;border:0}.reimbursement-report-table-card table{min-width:0}}.reimbursement-detail-page .card:last-child>div:first-of-type{border-top:2px solid #93c5fd}.reimbursement-review-page .payment-form-row{grid-template-columns:repeat(4,minmax(0,1fr)) minmax(110px,1fr);align-items:end;gap:12px;font-size:.82rem;display:grid}.reimbursement-review-page .payment-form-row label{color:#334155;flex-direction:column;gap:5px;min-width:0;font-size:.78rem;font-weight:600;line-height:1.25;display:flex}.reimbursement-review-page .payment-form-row input,.reimbursement-review-page .payment-form-row select{box-sizing:border-box;width:100%;min-width:0;max-width:100%;min-height:40px;padding:8px 10px;font-size:.84rem}.reimbursement-review-page .payment-form-row input[type=file]{padding:7px 6px;overflow:hidden}.reimbursement-review-page .payment-form-row .payment-submit{min-height:40px;padding:9px 16px;font-size:.84rem}.reimbursement-review-page .payment-form-row .btn{white-space:nowrap}.reimbursement-review-page .payment-submit{color:#fff;background:#15803d}.reimbursement-review-page .payment-submit:hover{background:#166534}@media (max-width:820px){.reimbursement-review-page .payment-form-row{grid-template-columns:repeat(2,minmax(0,1fr))}.reimbursement-review-page .payment-form-row .btn{justify-self:start}}.app-main:has(input[name=itemsJson])>div{max-width:1040px;margin:0 auto}.app-main:has(input[name=itemsJson])>div>form.card{padding:28px}.app-main:has(input[name=itemsJson]) form.card>.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 20px;display:grid}.app-main:has(input[name=itemsJson]) form.card .card>.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 20px;display:grid}.app-main:has(input[name=itemsJson]) .reimbursement-request-meta{align-items:start;gap:12px 14px}.app-main:has(input[name=itemsJson]) .reimbursement-readonly-field{border:1px solid var(--border);background:var(--surface-muted,#f8fafc);min-height:0;color:var(--muted);border-radius:8px;flex-direction:column;justify-content:center;gap:2px;padding:8px 12px;display:flex}.app-main:has(input[name=itemsJson]) .reimbursement-readonly-field span{font-size:.72rem;font-weight:600}.app-main:has(input[name=itemsJson]) .reimbursement-readonly-field strong{color:var(--foreground);font-size:.95rem}.app-main:has(input[name=itemsJson]) form.card label{color:var(--muted);flex-direction:column;gap:7px;font-weight:600;line-height:1.3;display:flex}.app-main:has(input[name=itemsJson]) form.card>label{margin-top:18px}.app-main:has(input[name=itemsJson]) form.card :is(input:not([type=hidden]),select,textarea){border:1px solid var(--border);background:var(--surface);width:100%;min-width:0;color:var(--foreground);border-radius:8px;padding:10px 12px;font-family:inherit;font-weight:400;line-height:1.4;display:block}.app-main:has(input[name=itemsJson]) form.card :is(input,select,textarea):focus{border-color:var(--accent);outline:3px solid #f6c5172e}.app-main:has(input[name=itemsJson]) form.card .card{border:1px solid var(--border);border-left:4px solid var(--accent);box-shadow:none;border-radius:10px;margin:0 0 16px;padding:22px}.app-main:has(input[name=itemsJson]) form.card .card>.section-header{border-bottom:1px solid var(--border);margin-bottom:18px;padding-bottom:12px}.app-main:has(input[name=itemsJson]) .reimbursement-items-scroll{margin:0 -4px 18px;padding:0 4px 8px;overflow-x:auto}.app-main:has(input[name=itemsJson]) .reimbursement-line{border:1px solid var(--border);border-left:4px solid var(--accent);background:var(--surface-muted,#f8fafc);border-radius:9px;grid-template-columns:100px minmax(120px,1.35fr) minmax(140px,1.25fr) minmax(115px,1fr) 92px minmax(125px,1fr) minmax(125px,1fr) 38px;align-items:start;gap:8px;min-width:960px;padding:12px 8px;display:grid}.app-main:has(input[name=itemsJson]) .reimbursement-line+.reimbursement-line{margin-top:10px}.app-main:has(input[name=itemsJson]) .reimbursement-line-invalid{border-color:var(--danger,#dc2626);border-left-color:var(--danger,#dc2626);background:#fff5f5}.app-main:has(input[name=itemsJson]) .reimbursement-line-invalid input:not([type=file]){border-color:#dc26268c}.app-main:has(input[name=itemsJson]) .reimbursement-line-invalid select{border-color:#dc26268c}.app-main:has(input[name=itemsJson]) .reimbursement-line-heading{min-width:960px;color:var(--muted);background:0 0;border:0;padding:0 8px 7px 12px;font-size:.72rem;font-weight:700}.app-main:has(input[name=itemsJson]) .reimbursement-field{gap:5px;min-width:0;font-size:.76rem}:is(.app-main:has(input[name=itemsJson]) .reimbursement-field input,.app-main:has(input[name=itemsJson]) .reimbursement-field select){min-height:42px;padding:8px 9px;font-size:.86rem}.app-main:has(input[name=itemsJson]) .reimbursement-note-cell{gap:6px;min-width:0;display:grid}.app-main:has(input[name=itemsJson]) .reimbursement-amount input{text-align:right}.app-main:has(input[name=itemsJson]) .reimbursement-file-picker{border:1px solid var(--border);background:var(--surface-raised,#fff);min-height:42px;color:var(--foreground);cursor:pointer;border-radius:8px;align-items:center;padding:5px 7px;display:flex;overflow:hidden}.app-main:has(input[name=itemsJson]) .reimbursement-file-picker span{white-space:nowrap;border:1px solid #6b7280;border-radius:4px;padding:4px 8px;font-size:.72rem;line-height:1.2;display:inline-flex}.app-main:has(input[name=itemsJson]) .reimbursement-file-native-input{clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.app-main:has(input[name=itemsJson]) .reimbursement-file-selected{border:1px solid var(--border);background:var(--surface-raised,#fff);border-radius:8px;align-items:center;min-height:42px;display:flex;overflow:hidden}.app-main:has(input[name=itemsJson]) .reimbursement-file-selected>span{min-width:0;color:var(--foreground);text-overflow:ellipsis;white-space:nowrap;flex:1;padding:0 9px;font-size:.78rem;font-weight:500;line-height:1.25;overflow:hidden}.app-main:has(input[name=itemsJson]) .reimbursement-file-clear{border:0;border-left:1px solid var(--border);color:var(--muted);cursor:pointer;background:0 0;border-radius:0;flex:0 0 34px;align-self:stretch;padding:0;font-size:20px;line-height:1}.app-main:has(input[name=itemsJson]) .reimbursement-file-clear:hover{color:#be123c;background:#fff1f2}.app-main:has(input[name=itemsJson]) .reimbursement-file-clear:focus-visible{outline-offset:-3px;outline:3px solid #f6c51752}.app-main:has(input[name=itemsJson]) .reimbursement-file small{color:var(--muted);font-size:.72rem;font-weight:400}.app-main:has(input[name=itemsJson]) .reimbursement-not-required{color:var(--muted);font-size:.72rem;font-weight:400}.app-main:has(input[name=itemsJson]) .reimbursement-attendees{color:var(--muted);grid-template-columns:auto 72px;align-items:center;gap:6px;font-size:.72rem;display:grid}.app-main:has(input[name=itemsJson]) .reimbursement-remove{align-self:center;min-height:40px;padding:8px 6px;font-size:.76rem}.app-main:has(input[name=itemsJson]) .reimbursement-mobile-label{display:none}.app-main:has(input[name=itemsJson]) form.card .card>.form-grid>label:first-child{grid-column:1/-1}.app-main:has(input[name=itemsJson]) form.card input[type=file]{background:var(--surface-raised,#fff);padding:7px}.app-main:has(input[name=itemsJson]) form.card .form-actions{gap:10px;margin-top:22px;display:flex}@media (max-width:760px){.app-main:has(input[name=itemsJson]) form.card>.form-grid{grid-template-columns:1fr}.app-main:has(input[name=itemsJson]) form.card .card>.form-grid{grid-template-columns:1fr}.app-main:has(input[name=itemsJson]) form.card .card>.form-grid>label:first-child{grid-column:auto}.app-main:has(input[name=itemsJson]) .reimbursement-line{grid-template-columns:1fr;min-width:0}.app-main:has(input[name=itemsJson]) .reimbursement-line-heading{display:none}.app-main:has(input[name=itemsJson]) .reimbursement-items-scroll{overflow-x:visible}.app-main:has(input[name=itemsJson]) .reimbursement-mobile-label{color:var(--muted);font-size:.76rem;font-weight:700;display:block}}
