:root{--blue:#0b4fb3;--blue2:#2563eb;--ink:#0f172a;--muted:#64748b;--border:#dbe3ef;--card:#fff;--bg:#eef4fb;--sidebar:#061b33;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}html,body,#root{width:100%;max-width:100%;overflow:visible}body{color:var(--ink);background:linear-gradient(135deg,#f8fbff 0%,#eef4fb 45%,#eaf2ff 100%);margin:0}a{color:inherit;text-decoration:none}button,input,textarea{font:inherit}.topbar{z-index:1000;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#ffffffd6;border-bottom:1px solid #dbe3efe6;justify-content:space-between;align-items:center;gap:16px;max-width:100%;min-height:78px;padding:12px 22px;display:flex;position:sticky;top:0;overflow:visible}.brand{cursor:pointer;align-items:center;gap:12px;min-width:0;display:flex}.brand img{object-fit:contain;background:#fff;border-radius:16px;width:52px;height:52px}.brand-title{letter-spacing:-.04em;font-size:24px;font-weight:900;line-height:1}.brand-title b{color:var(--blue)}.brand-subtitle{color:var(--muted);margin-top:4px;font-size:13px}.top-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.pill{border:1px solid var(--border);color:var(--ink);cursor:pointer;background:#fff;border-radius:999px;padding:9px 14px;font-weight:700}.pill.active{background:var(--blue);color:#fff;border-color:var(--blue)}.layout{width:100%;max-width:100%;min-height:calc(100vh - 78px);display:flex;overflow:visible}.sidebar{background:var(--sidebar);color:#fff;flex:0 0 260px;width:260px;padding:20px 14px}.sidebar-label{color:#7dd3fc;text-transform:uppercase;letter-spacing:.14em;padding:0 12px 12px;font-size:12px;font-weight:900}.nav{color:#fff;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:14px;width:100%;margin:4px 0;padding:12px 14px;display:block}.nav:hover{background:#ffffff14}.nav.active{background:var(--blue);font-weight:800}.quick-tip{color:#dbeafe;background:#2563eb26;border:1px solid #60a5fa59;border-radius:18px;gap:8px;margin-top:28px;padding:14px;font-size:13px;line-height:1.5;display:grid}.content{width:100%;min-width:0;max-width:1280px;margin:0 auto;padding:24px}.content.full{max-width:1280px}.page-head{justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:18px;display:flex}h1{letter-spacing:-.06em;margin:0;font-size:clamp(28px,4vw,48px);line-height:1.05}.page-head h1{font-size:clamp(26px,3vw,38px)}.page-head p,.hero p,.product-choice p,.tool-card p,.muted{color:var(--muted);line-height:1.55}.hero{color:#fff;background:linear-gradient(115deg,#0f172a,#0b2a66 55%,#0b63ce);border-radius:30px;grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr);align-items:center;gap:24px;padding:clamp(24px,5vw,48px);display:grid;overflow:hidden;box-shadow:0 20px 50px #0f172a33}.eyebrow{color:#dbeafe;background:#ffffff1a;border:1px solid #fff3;border-radius:999px;margin-bottom:14px;padding:7px 12px;font-size:13px;font-weight:800;display:inline-flex}.hero p{color:#eaf2ff;max-width:780px;font-size:18px}.hero-actions,.doc-actions{flex-wrap:wrap;gap:10px;margin-top:18px;display:flex}.card{background:var(--card);border:1px solid var(--border);border-radius:24px;padding:20px;box-shadow:0 10px 28px #0f172a0f}.card h3{margin:0 0 8px}.card h4{margin-bottom:6px}.search-card{color:#fff;box-shadow:none;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#ffffff1f;border-color:#ffffff38}.search-card label{color:#dbeafe;font-size:14px;font-weight:800}.fake-input{color:#94a3b8;background:#fff;border-radius:16px;margin-top:10px;padding:16px}.chips{flex-wrap:wrap;gap:8px;margin-top:14px;display:flex}.chips span{background:#ffffff26;border:1px solid #ffffff2e;border-radius:999px;padding:8px 10px;font-weight:800}.chips small{color:#dbeafe;margin-left:6px;font-weight:500}.btn{cursor:pointer;border:0;border-radius:16px;justify-content:center;align-items:center;min-height:44px;padding:12px 16px;font-weight:900;display:inline-flex}.btn.primary{background:var(--blue);color:#fff}.hero .btn.primary{color:#0b2a66;background:#fff}.btn.ghost{color:#fff;background:#ffffff1f;border:1px solid #ffffff47}.btn.secondary{color:#0b4fb3;background:#dbeafe}.btn.ghostDark{color:#0f172a;background:#f1f5f9}.btn.danger{color:#991b1b;background:#fee2e2}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:22px;display:grid}.product-choice{border:1px solid var(--border);text-align:left;cursor:pointer;background:#ffffffeb;border-radius:28px;justify-content:space-between;align-items:center;gap:12px;padding:24px;display:flex;box-shadow:0 10px 28px #0f172a0f}.product-choice:hover,.tool-card:hover{transform:translateY(-2px);box-shadow:0 16px 38px #0f172a1a}.product-choice h2{margin:0;font-size:30px}.product-choice span,.tool-card span{color:var(--blue);font-weight:900}.tool-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.tool-card{border:1px solid var(--border);text-align:left;cursor:pointer;background:#fff;border-radius:22px;padding:18px;transition:all .16s}.tool-card h3{margin:0}.filter{border:1px solid var(--border);background:#fff;border-radius:18px;outline:none;width:100%;margin-bottom:16px;padding:14px 16px}.filter:focus{border-color:var(--blue2);box-shadow:0 0 0 4px #2563eb1f}.results{gap:14px;display:grid}.split{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.tag{color:#0b4fb3;background:#dbeafe;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:900}.two-col{grid-template-columns:minmax(0,1fr) 320px;align-items:start;gap:18px;max-width:100%;display:grid;overflow:visible}.two-col>section,.two-col>aside{min-width:0}.table-wrap{border:1px solid var(--border);-webkit-overflow-scrolling:touch;background:#fff;border-radius:22px;max-width:100%;overflow:auto visible}table{border-collapse:collapse;width:100%;min-width:560px}th,td{border-bottom:1px solid var(--border);text-align:left;vertical-align:top;overflow-wrap:anywhere;padding:13px 16px}th{color:#334155;background:#f8fafc;font-size:13px}td:first-child{white-space:nowrap;font-weight:900}.empty{color:var(--muted);padding:20px}.note-card{background:#eff6ff;border-color:#bfdbfe;position:sticky;top:98px}.note-card b{color:#0b4fb3}.doc-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.issue-form{gap:10px;display:grid}.issue-form input,.issue-form textarea{border:1px solid var(--border);border-radius:14px;width:100%;padding:12px}.issue-form textarea{resize:vertical;min-height:96px}@media (width<=980px){.layout{display:block}.sidebar{align-items:center;gap:8px;width:auto;padding:12px;display:flex;overflow-x:auto}.sidebar-label,.quick-tip{display:none}.nav{white-space:nowrap;width:auto;margin:0}.hero,.two-col,.tool-grid,.doc-grid,.product-grid{grid-template-columns:1fr}.note-card{position:static}}@media (width<=680px){.topbar{flex-direction:column;align-items:flex-start;height:auto;padding:12px}.top-actions{justify-content:stretch;width:100%}.user-menu{width:100%;margin-left:0}.user-pill-button{justify-content:center;width:100%}.user-dropdown{width:100%;min-width:0}.pill{flex:1}.brand-title{font-size:20px}.brand-subtitle{display:none}.content{padding:14px}.hero{border-radius:22px;padding:20px}.hero p{font-size:15px}.card{border-radius:18px;padding:16px}h1{font-size:32px}}.submit-pill{color:#fff;background:#16a34a;border-color:#16a34a}.submit-pill:hover{background:#15803d;border-color:#15803d}.submit-card{max-width:920px}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}@media (width<=680px){.form-grid{grid-template-columns:1fr}.page-head{flex-direction:column}.page-head .btn{width:100%}}.cross-grid{grid-template-columns:minmax(0,1fr) 360px;align-items:start;gap:18px;display:grid}.cross-calc{overflow:hidden}.mini-link{color:var(--blue);cursor:pointer;background:#eff6ff;border:0;border-radius:999px;padding:8px 12px;font-weight:900}.mobile-entry-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:16px;display:grid}.metric-card{border:1px solid var(--border);background:#f8fafc;border-radius:20px;gap:8px;padding:14px;display:grid}.metric-card h4{color:var(--blue);margin:0 0 2px}.metric-card label{color:#475569;font-size:12px;font-weight:800}.metric-card input{border:1px solid var(--border);background:#fff;border-radius:14px;outline:none;width:100%;padding:12px}.metric-card input:focus{border-color:var(--blue2);box-shadow:0 0 0 4px #2563eb1f}.metric-result{border:1px solid var(--border);background:#fff;border-radius:16px;justify-content:space-between;align-items:center;gap:10px;margin-top:4px;padding:12px;display:flex}.metric-result span{color:var(--muted);font-size:12px;font-weight:800}.metric-result b{color:var(--ink);font-size:18px}.decision{border:1px solid var(--border);background:#f8fafc;border-radius:22px;margin-top:16px;padding:18px}.decision h3{margin:0 0 6px}.decision p{margin:0;line-height:1.5}.decision small{margin-top:8px;font-weight:900;display:block}.decision.good{background:#f0fdf4;border-color:#86efac}.decision.good h3{color:#166534}.decision.warn{background:#fffbeb;border-color:#fde68a}.decision.warn h3{color:#92400e}.decision.danger{background:#fef2f2;border-color:#fecaca}.decision.danger h3{color:#991b1b}.cross-side{gap:14px;display:grid;position:sticky;top:98px}.steps{padding-left:20px;line-height:1.6}@media (width<=980px){.cross-grid{grid-template-columns:1fr}.cross-side{position:static}}@media (width<=760px){.mobile-entry-list{grid-template-columns:1fr}.metric-card{border-radius:18px;padding:16px}.metric-card input{min-height:48px;font-size:16px}.metric-result{min-height:52px}.table-wrap{overflow:visible}table{table-layout:fixed;width:100%;min-width:0}th,td{padding:11px 10px;font-size:14px}td:first-child{white-space:normal;width:38%}th:first-child{width:38%}}@media (width<=420px){.top-actions{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.pill{min-width:0;padding-left:8px;padding-right:8px}}.login-shell{background:linear-gradient(135deg,#f8fbff 0%,#eaf2ff 45%,#dbeafe 100%);place-items:center;min-height:100vh;padding:24px;display:grid}.login-card{border:1px solid var(--border);background:#ffffffeb;border-radius:30px;width:min(460px,100%);padding:26px;box-shadow:0 24px 70px #0f172a29}.login-brand{align-items:center;gap:14px;margin-bottom:22px;display:flex}.login-brand img{object-fit:contain;background:#fff;border-radius:18px;width:62px;height:62px}.login-brand h1{letter-spacing:-.06em;margin:0;font-size:30px}.login-brand h1 span{color:var(--blue)}.login-brand p{color:var(--muted);margin:5px 0 0;font-weight:700}.login-form{gap:10px;display:grid}.login-form label{color:#334155;font-size:13px;font-weight:900}.login-form input{border:1px solid var(--border);background:#fff;border-radius:16px;outline:none;width:100%;min-height:50px;padding:12px 14px}.login-form input:focus{border-color:var(--blue2);box-shadow:0 0 0 4px #2563eb1f}.login-form .btn{width:100%;margin-top:8px}.login-error{color:#991b1b;background:#fef2f2;border:1px solid #fecaca;border-radius:14px;padding:10px 12px;font-weight:800}.login-hint{color:#0f172a;background:#eff6ff;border:1px solid #bfdbfe;border-radius:18px;gap:4px;margin-top:16px;padding:12px;font-size:13px;display:grid}.login-hint b{color:var(--blue)}.user-pill{color:#0b4fb3;background:#eff6ff;border:1px solid #bfdbfe;border-radius:999px;align-items:center;padding:9px 12px;font-weight:900;display:inline-flex}@media (width<=420px){.user-pill{grid-column:span 2;justify-content:center}.login-card{border-radius:24px;padding:20px}.login-brand h1{font-size:26px}}.user-menu{margin-left:auto;position:relative}.user-pill-button{cursor:pointer;border:1px solid #bfdbfe}.user-pill-button:hover{background:#dbeafe}.caret{margin-left:8px;font-size:12px;transition:transform .16s}.caret.open{transform:rotate(180deg)}.user-dropdown{z-index:10000;border:1px solid var(--border);background:#fff;border-radius:18px;gap:8px;min-width:230px;padding:12px;display:grid;position:absolute;top:calc(100% + 10px);right:0;box-shadow:0 18px 45px #0f172a24}.user-dropdown-label,.muted-label{color:var(--muted);text-transform:uppercase;letter-spacing:.04em;font-size:12px;font-weight:900}.user-dropdown-name{color:var(--ink);overflow-wrap:anywhere;font-weight:900}.dropdown-item{color:var(--blue);text-align:left;cursor:pointer;background:#eff6ff;border:0;border-radius:12px;padding:10px 12px;font-weight:900}.dropdown-item:hover{background:#dbeafe}.submit-head{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:16px;display:flex}.submit-user-chip,.review-user{color:#0b4fb3;background:#eff6ff;border:1px solid #bfdbfe;border-radius:18px;gap:4px;min-width:210px;padding:10px 12px;display:grid}.submit-user-chip strong,.review-user strong{color:var(--ink);overflow-wrap:anywhere}.review-top{margin-bottom:10px}@media (width<=840px){.submit-head{flex-direction:column}.submit-user-chip,.review-user{width:100%;min-width:0}}.expense-grid{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:16px;margin-bottom:16px;display:grid}.expense-card{max-width:100%}.expense-form{gap:10px;display:grid}.expense-form input,.expense-form textarea,.expense-form select{border:1px solid var(--border);background:#fff;border-radius:14px;width:100%;padding:12px}.expense-form textarea{resize:vertical;min-height:86px}.receipt-list{gap:10px;margin-top:14px;display:grid}.receipt-row{border:1px solid var(--border);background:#f8fafc;border-radius:16px;justify-content:space-between;align-items:center;gap:12px;padding:12px;display:flex}.receipt-row span{color:var(--muted);margin-top:3px;font-size:13px;display:block}.small-note{margin-top:14px;font-size:13px}@media (width<=900px){.expense-grid{grid-template-columns:1fr}}@media (width<=560px){.receipt-row{flex-direction:column;align-items:flex-start}.receipt-row .mini-link{width:100%}}.select-label{color:#334155;gap:6px;font-size:13px;font-weight:900;display:grid}.select-label span{padding-left:2px}.select-label select{color:var(--ink);font-weight:500}.expense-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;display:flex}.expense-actions.compact{justify-content:flex-end}@media (width<=680px){.expense-actions{justify-content:stretch;width:100%}.expense-actions .btn,.expense-actions .mini-link{text-align:center;flex:1;justify-content:center}}.receipt-row-button{cursor:pointer;text-align:left;width:100%}.receipt-row-button:hover{background:#eff6ff;border-color:#93c5fd}.mini-link.as-text{align-items:center;display:inline-flex}.selected-receipt-card{border-color:#bfdbfe}.receipt-detail-grid{gap:6px;margin:12px 0;display:grid}.receipt-detail-grid p{margin:0}.receipt-preview-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin-top:12px;display:grid}.receipt-preview-grid img{object-fit:contain;border:1px solid var(--border);background:#f8fafc;border-radius:14px;width:100%;max-height:360px}.danger-zone{border-top:1px solid var(--border);justify-content:space-between;align-items:center;gap:12px;margin-top:14px;padding-top:14px;display:flex}@media (width<=680px){.danger-zone{flex-direction:column;align-items:stretch}.danger-zone .btn{width:100%}}.password-rules{border:1px solid var(--border);color:#64748b;background:#f8fafc;border-radius:16px;gap:6px;padding:12px;font-size:13px;font-weight:800;display:grid}.password-rules span:before{content:"○ "}.password-rules span.pass{color:#166534}.password-rules span.pass:before{content:"✓ "}.admin-edit-form{gap:10px;margin:14px 0;display:grid}.admin-edit-form label{color:#334155;gap:6px;font-size:13px;font-weight:900;display:grid}.admin-edit-form input,.admin-edit-form textarea{border:1px solid var(--border);width:100%;color:var(--ink);background:#fff;border-radius:14px;padding:12px;font-weight:500}.admin-edit-form textarea{resize:vertical;min-height:92px}.admin-edit-form input:focus,.admin-edit-form textarea:focus{border-color:var(--blue2);outline:none;box-shadow:0 0 0 4px #2563eb1f}button:disabled,.btn:disabled{opacity:.65;cursor:not-allowed}.admin-tabs{flex-wrap:wrap;gap:10px;margin-bottom:16px;display:flex}.admin-tabs .pill{background:#fff}.admin-tabs .pill.active{background:var(--blue);color:#fff;border-color:var(--blue)}
