:root{--navy:#04316a;--blue:#109ed4;--bg:#f3f7fb;--surface:#fff;--ink:#182d48;--muted:#65748a;--line:#e2eaf2;--soft:#eaf5fb;--shadow:0 6px 28px #15314f06;color-scheme:light}*{box-sizing:border-box}body{margin:0;font:15px/1.6 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg)}a{color:var(--navy);text-underline-offset:4px}a:hover{color:var(--blue)}button,input,textarea,select{font:inherit}button,.button{border:0;display:inline-flex;align-items:center;justify-content:center;gap:12px;background:var(--navy);color:#fff;padding:12px 20px;border-radius:9px;font-weight:650;text-decoration:none;cursor:pointer;min-height:46px}button:hover,.button:hover{background:#07528d;color:#fff}button:disabled{opacity:.6;cursor:wait}.secondary{background:var(--soft);color:var(--navy)}.white{background:#fff;color:#04316a}.white:hover{background:#eaf5fb;color:#04316a}h1,h2,h3,h4,p{margin-top:0}h1{font-size:30px;line-height:1.25;letter-spacing:-1px;margin-bottom:8px}h2{font-size:20px;line-height:1.35;letter-spacing:-.5px}h3{font-size:16px;margin-bottom:7px}h4{margin-bottom:5px}small,.muted{color:var(--muted)}small{font-size:12px}strong{font-weight:650}.eyebrow{font-size:10px;font-weight:750;letter-spacing:1.8px;color:var(--muted);display:block;margin-bottom:10px}.sidebar{position:fixed;inset:0 auto 0 0;width:255px;padding:28px 19px 18px;background:var(--surface);border-right:1px solid var(--line);display:flex;flex-direction:column;overflow-y:auto;z-index:5}.brand{display:block;background:white;border-radius:10px;margin-bottom:28px;padding:6px 10px}.brand img{width:100%;height:65px;object-fit:contain}.sidebar>.eyebrow{padding-left:13px}.sidebar nav{display:flex;flex-direction:column;gap:3px}.sidebar nav a{text-decoration:none;font-size:13px;color:var(--muted);padding:9px 12px;border-radius:8px;display:flex;gap:12px;align-items:center}.sidebar nav a[aria-current=page]{background:var(--soft);color:var(--navy);font-weight:700;box-shadow:inset 3px 0 var(--blue)}.sidebar nav a:hover{background:var(--bg)}.nav-icon{font-size:17px;width:20px;text-align:center;color:var(--blue)}.sidebar-bottom{margin-top:auto;padding-top:25px;display:grid;gap:10px}.sidebar-bottom button{width:100%;font-size:12px;padding:9px;min-height:38px}.workspace{margin-left:255px}.topbar{height:90px;display:flex;align-items:center;justify-content:space-between;padding:0 40px;background:var(--surface);border-bottom:1px solid var(--line)}.crumb{color:var(--muted);font-size:13px}.crumb span{padding:0 12px;color:#afbbca}.identity{display:flex;align-items:center;gap:12px;font-size:12px;font-weight:650}.identity small{display:block;font-size:10px;font-weight:400}.avatar{width:38px;height:38px;display:grid;place-items:center;border-radius:50%;color:var(--navy);background:var(--soft);font-size:16px}.main{padding:32px 40px;max-width:1500px;margin:auto}.page-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:25px}.page-heading .eyebrow{color:var(--blue);margin-bottom:6px}.date{font-size:12px;color:var(--muted)}.welcome{border-radius:15px;background:linear-gradient(115deg,#04316a,#07578b);padding:34px 38px;color:white;display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;overflow:hidden;min-height:240px}.welcome .eyebrow{color:#87d5f3}.welcome h2{font-size:33px;margin-bottom:10px}.welcome p{color:#d8e9f6;max-width:500px}.welcome .button{font-size:12px}.welcome-house{font-size:160px;line-height:1;color:#72c9e9;transform:rotate(-6deg);margin-right:20px;opacity:.55}.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-bottom:24px}.stats article{background:var(--surface);padding:23px;border:1px solid var(--line);border-radius:13px;box-shadow:var(--shadow);min-width:0}.stats article>span{font-size:12px;color:var(--muted);display:block}.stats strong{display:block;font-size:25px;letter-spacing:-.5px;margin:9px 0}.stats a{font-size:11px;text-decoration:none;color:var(--blue);font-weight:650}.stats strong small{font-size:13px}.columns{display:grid;grid-template-columns:1fr 1fr;gap:22px;align-items:start}.card{background:var(--surface);border:1px solid var(--line);border-radius:13px;padding:26px;margin-bottom:24px;box-shadow:var(--shadow);min-width:0}.columns>.card{margin-bottom:0}.columns{margin-bottom:24px}.narrow{max-width:650px}.section-title{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:20px}.section-title h2{margin:0}.section-title a{font-size:12px;white-space:nowrap}.badge{display:inline-block;padding:4px 10px;border-radius:6px;font-size:10px;font-weight:650;background:var(--soft);color:var(--navy);white-space:nowrap}.good{color:#1b7357;background:#e9f7ef}.overdue{color:#ae3f2c;display:block}.quick-links{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:25px}.quick-links a{background:var(--bg);padding:18px 14px;border-radius:9px;font-size:12px;text-decoration:none}.notice{padding:18px 0;border-bottom:1px solid var(--line)}.notice:last-child{border-bottom:0}.notice p{font-size:13px;margin-bottom:12px;overflow-wrap:anywhere}.notice form{margin-top:16px}.notice .button{font-size:11px;min-height:36px;padding:7px 12px}.response{background:var(--bg);padding:14px;border-radius:8px;margin-top:12px;font-size:12px}.response p{margin:5px 0}.notice .section-title{margin-bottom:10px}label{display:block;font-size:12px;font-weight:650;margin-bottom:16px}input,textarea,select{display:block;width:100%;background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:7px;padding:11px 12px;margin-top:6px;min-width:0}textarea{resize:vertical}input[type=file]{font-size:12px}.check{display:flex;align-items:center;gap:10px}.check input{width:18px;height:18px;margin:0}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}form button{font-size:12px}input:focus,textarea:focus,select:focus{outline:2px solid var(--blue);outline-offset:2px}a:focus-visible,button:focus-visible{outline:3px solid var(--blue);outline-offset:3px}.search{margin-bottom:18px}.error,.success{padding:14px 18px;border-radius:8px;margin-bottom:20px;font-size:13px}.error{background:#fff0ef;color:#9d302b;border:1px solid #f0c9c6}.success{background:#e9f7ef;color:#1c6649;border:1px solid #c8e4d1}.empty{padding:22px;border:1px dashed var(--line);border-radius:9px;color:var(--muted);font-size:13px;background:var(--bg)}dl{display:grid;grid-template-columns:1fr 1.4fr;gap:12px;font-size:13px}dt{color:var(--muted)}dd{margin:0}hr{border:0;border-top:1px solid var(--line);margin:24px 0}.balance{display:block;font-size:28px;margin-bottom:20px}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:12px}th{font-size:10px;text-transform:uppercase;letter-spacing:.5px;color:var(--muted);background:var(--bg);padding:12px}td{padding:14px 12px;border-bottom:1px solid var(--line);vertical-align:top;min-width:90px}td .button{padding:5px 9px;min-height:30px;font-size:10px}.steps{padding-left:22px;color:var(--muted)}.steps li{padding:7px 0}.prose{max-width:900px;line-height:1.9;overflow-wrap:anywhere}footer{display:flex;justify-content:space-between;gap:15px;padding-top:25px;margin-top:30px;border-top:1px solid var(--line);font-size:11px;color:var(--muted)}footer div{display:flex;gap:18px}footer a{color:var(--muted);text-decoration:none}.menu-toggle{display:none}.auth{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;background:var(--surface)}.auth-card{width:100%;max-width:490px;align-self:center;justify-self:center;padding:45px}.logo{width:200px;height:100px;object-fit:contain;display:block;background:white;border-radius:8px;margin-bottom:35px}.auth-card h1{font-size:30px}.auth-card>p{font-size:13px;color:var(--muted)}.auth-card>form{margin:28px 0 20px}.auth-card>form button{width:100%;justify-content:space-between}.auth-card>a{font-size:12px}.auth-card .muted{margin-top:28px;font-size:11px}.auth-message{background:linear-gradient(140deg,#04316a,#076594);color:white;padding:70px 55px;display:flex;flex-direction:column;justify-content:center;position:relative;overflow:hidden}.auth-message>span{font-size:12px;letter-spacing:1px;color:#8dd9f2}.auth-message h2{font-size:44px;line-height:1.2;letter-spacing:-1.5px;margin:30px 0 20px}.auth-message p{color:#c7e2f3;max-width:380px}.house-art{display:flex;gap:15px;align-items:flex-end;height:150px;margin-top:50px;opacity:.2}.house-art div{width:70px;height:100px;background:#fff;border-radius:5px 5px 0 0;transform:skewY(-12deg)}.house-art div:nth-child(2){height:150px;width:100px}.house-art div:nth-child(3){height:125px;width:90px}[data-theme=dark]{--bg:#101d2d;--surface:#18283b;--ink:#e6edf5;--muted:#a9bbce;--line:#2d4056;--soft:#223f58;--navy:#87cbea;color-scheme:dark}[data-theme=dark] button,[data-theme=dark] .button{background:#117aaa;color:white}[data-theme=dark] .secondary{background:var(--soft);color:var(--ink)}[data-theme=dark] .good{background:#193e33;color:#a3e8c5}[data-theme=dark] .auth-message{color:white}[data-theme=dark] .error{background:#442d31;color:#ffcccb}[data-theme=dark] .success{background:#193e33;color:#bce4d1}@media(min-width:1550px){.main{padding-top:45px}}@media(max-width:1100px){.sidebar{width:225px}.workspace{margin-left:225px}.topbar{padding:0 25px}.main{padding:25px}.stats{gap:12px}.stats article{padding:18px}.stats strong{font-size:21px}.welcome{padding:28px}.welcome-house{font-size:120px}.columns{gap:16px}.card{padding:22px}.auth-message{padding:40px}.auth-message h2{font-size:35px}}@media(max-width:800px){.sidebar{transform:translateX(-100%);transition:transform .2s;width:255px;top:70px;box-shadow:15px 0 30px #0002}.menu-open .sidebar{transform:translateX(0)}.workspace{margin-left:0}.topbar{height:70px;padding:0 18px}.menu-toggle{display:inline-flex;min-height:38px;padding:8px 12px;font-size:12px}.crumb{display:none}.identity{max-width:65%}.identity div{max-width:190px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.main{padding:24px 18px}.page-heading h1{font-size:26px}.page-heading .eyebrow{font-size:9px}.date{font-size:10px}.welcome{padding:26px;min-height:210px}.welcome h2{font-size:28px}.welcome-house{display:none}.stats{grid-template-columns:1fr}.stats article{padding:18px 20px}.stats strong{font-size:25px;margin:5px 0}.columns{grid-template-columns:1fr}.card{padding:22px}.section-title{gap:8px}.auth{display:block;padding:30px 8px}.auth-card{margin:auto;padding:25px;max-width:470px}.auth-message{display:none}.auth-card .logo{margin-bottom:26px}.form-grid{grid-template-columns:1fr 1fr}footer{flex-wrap:wrap}.quick-links a{padding:16px 12px}dl{grid-template-columns:1fr;gap:2px}dd{margin-bottom:13px}.stats article>small{display:block}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}
