:root{color:#18212f;background:#f4f6f3;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,input{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.56}input{width:100%;min-height:42px;border:1px solid #c8d0cc;border-radius:6px;background:#fff;color:#18212f;padding:0 12px;outline:none}input:focus{border-color:#2f7561;box-shadow:0 0 0 3px #2f756124}label{display:grid;gap:7px;color:#4c5b56;font-size:.88rem;font-weight:650}table{width:100%;border-collapse:collapse;font-size:.92rem}th,td{border-bottom:1px solid #e1e5e1;padding:12px 14px;text-align:left;vertical-align:top}th{color:#5e6865;font-size:.78rem;font-weight:750;text-transform:uppercase}.app-shell{min-height:100vh;background:linear-gradient(180deg,#ffffffe6,#f4f6f300 240px),#f4f6f3}.app-header{position:sticky;top:0;z-index:10;display:grid;grid-template-columns:minmax(180px,1fr) auto auto;grid-template-areas:"brand tabs signout";gap:18px;align-items:center;min-height:76px;padding:14px clamp(16px,4vw,44px);border-bottom:1px solid #dfe4df;background:#fafbf9f0;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.brand-row{grid-area:brand;display:flex;align-items:center;gap:12px;min-width:0}.brand-mark{display:grid;place-items:center;width:52px;height:52px;border-radius:8px;background:#285f61;color:#fff;flex:0 0 auto}.brand-mark.small{width:42px;height:42px;background:#2f7561}.brand-row h1,.login-panel h1{margin:0;color:#17202d;font-size:1.18rem;line-height:1.2;letter-spacing:0}.brand-row p{margin:3px 0 0;color:#68736f;font-size:.88rem}.view-tabs{grid-area:tabs;display:inline-flex;gap:4px;min-height:40px;padding:4px;border:1px solid #d7ddd8;border-radius:8px;background:#eef2ee}.view-tabs button,.icon-button,.account-row,.primary-button,.secondary-button{border:0;border-radius:6px}.view-tabs button,.signout-link{display:inline-flex;align-items:center;justify-content:center;min-height:32px;color:#44514d;background:transparent;padding:0 12px;font-weight:700}.view-tabs button.active{color:#123f35;background:#fff;box-shadow:0 1px 2px #16202d14}.signout-link{grid-area:signout;justify-self:end;align-self:start;min-height:24px;padding:2px 0;border:0;color:#5e6865;font-size:.82rem;text-decoration:underline;text-underline-offset:3px}.signout-link:hover{color:#123f35}.app-main{width:min(1180px,calc(100% - 32px));margin:0 auto;padding:28px 0 44px}.summary-band{display:grid;grid-template-columns:minmax(0,1fr);gap:1px;overflow:hidden;border:1px solid #d7ddd8;border-radius:8px;background:#d7ddd8}.summary-band>div{min-width:0;background:#fff;padding:20px}.eyebrow{display:block;margin-bottom:6px;color:#6e7974;font-size:.76rem;font-weight:800;text-transform:uppercase}.summary-band strong{display:block;overflow-wrap:anywhere;color:#15202d;font-size:clamp(1.1rem,4vw,2rem);line-height:1.15}.entry-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:18px}.entry-panel,.history-section,.admin-sidebar,.admin-detail,.login-panel{border:1px solid #d7ddd8;border-radius:8px;background:#fff;box-shadow:0 10px 22px #18212f0d}.entry-panel{display:grid;gap:16px;align-content:start;padding:18px}.entry-panel.flat{box-shadow:none}.panel-title{display:flex;align-items:center;gap:10px;color:#255f61}.panel-title h2,.history-section h2,.detail-header h2{margin:0;color:#18212f;font-size:1rem;line-height:1.25;letter-spacing:0}.field-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.field-row.three{grid-template-columns:1.2fr 1fr 1fr}.check-row{display:grid;grid-template-columns:18px minmax(0,1fr);align-items:start;gap:10px;color:#25332f;font-weight:600}.check-row input{width:18px;min-height:18px;margin:2px 0 0;accent-color:#2f7561}.primary-button,.secondary-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:fit-content;min-width:142px;min-height:42px;padding:0 16px;color:#fff;font-weight:800}.primary-button{background:#2f7561}.secondary-button{background:#285f61}.history-section{margin-top:18px;overflow:hidden}.history-section.flush{margin-top:18px;box-shadow:none}.history-section h2{padding:16px 18px;border-bottom:1px solid #e1e5e1}.table-wrap{overflow-x:auto}.numeric,.amount,.balance-cell{text-align:right;white-space:nowrap}.amount{font-weight:800}.amount.positive{color:#267245}.amount.negative{color:#b24f32}.empty-state{padding:28px 18px;color:#68736f}.empty-state.compact{padding:16px}.notice{margin-top:18px;border-radius:8px;padding:12px 14px;font-weight:700}.notice.success{border:1px solid #a8d5bd;background:#e9f8ef;color:#1f683d}.notice.error{border:1px solid #edbaa8;background:#fff0ea;color:#9a3b20}.admin-layout{display:grid;grid-template-columns:minmax(260px,340px) minmax(0,1fr);gap:18px}.admin-sidebar,.admin-detail{align-self:start}.admin-sidebar{overflow:hidden}.search-row{display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:8px;padding:14px;border-bottom:1px solid #e1e5e1}.icon-button{display:grid;place-items:center;min-height:42px;color:#fff;background:#285f61}.account-list{display:grid}.account-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;width:100%;min-height:58px;border-bottom:1px solid #e1e5e1;background:#fff;color:#18212f;padding:10px 14px;text-align:left}.account-row.active{background:#edf5f1}.employee-option{display:grid;gap:3px;min-width:0}.employee-name,.employee-meta{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.employee-name{font-weight:750}.employee-meta{color:#68736f;font-size:.78rem;font-weight:600}.account-row>strong{white-space:nowrap}.admin-detail{padding:18px}.detail-header{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;margin-bottom:18px}.detail-header strong{color:#15202d;font-size:1.7rem}.detail-header p{margin:4px 0 0;color:#68736f;font-size:.85rem;font-weight:650}.login-shell,.loading-shell{display:grid;place-items:center;min-height:100vh;padding:20px;background:#eef2ee}.loading-shell{gap:12px;color:#2f7561;font-weight:800}.login-panel{display:grid;gap:18px;width:min(420px,100%);padding:24px}.stack{display:grid;gap:14px}@media(max-width:820px){.app-header{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"brand signout" "tabs tabs";align-items:stretch}.view-tabs{width:100%}.view-tabs button{flex:1}.summary-band,.entry-grid,.admin-layout,.field-row,.field-row.three{grid-template-columns:1fr}.app-main{width:min(100% - 24px,1180px);padding-top:18px}.primary-button,.secondary-button{width:100%}}
