:root{--ink:#173f59;--muted:#526b7a;--bg:#f7fcff;--line:#d8eaf5;--accent:#bfe7ff;--white:#fff;--red:#a33737;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg);font-size:15px}*{box-sizing:border-box}body{margin:0}a{color:var(--ink);text-decoration:none}a:hover{text-decoration:underline}button,input,select{font:inherit}button,.button{border:0;border-radius:12px;background:var(--ink);color:white;padding:12px 19px;font-weight:650;cursor:pointer;display:inline-block;text-align:center}.secondary{background:#eaf6ff;color:var(--ink)}button:hover,.button:hover{filter:brightness(.95);text-decoration:none}.shell{display:grid;grid-template-columns:240px minmax(0,1fr);min-height:100vh}aside{padding:34px 24px;background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column}.brand{font-weight:750;font-size:24px;display:block;margin-bottom:36px;letter-spacing:-1px}.brandmark{display:inline-flex;justify-content:center;align-items:center;width:66px;height:66px;border-radius:22px;background:#dff2ff;font-size:46px;margin-bottom:12px}.brandmark.small{width:40px;height:40px;font-size:28px;border-radius:12px;margin-right:8px;vertical-align:middle}.brandcaption{display:block;font-size:9px;letter-spacing:1.7px;margin-top:8px;font-weight:600}nav{display:grid;gap:8px}nav a{padding:14px 16px;border-radius:10px;color:var(--muted);font-weight:600}nav a.active{color:var(--ink);background:#e0f3ff}.sidefooter{margin-top:auto;padding-top:50px}.sidefooter small{display:block;margin:10px 0;line-height:1.5}.avatar{display:inline-flex;width:36px;height:36px;align-items:center;justify-content:center;background:#e5f4ff;border-radius:50%;font-weight:700;margin-right:8px}.content{max-width:1300px;width:100%;padding:38px 44px}.eyebrow{font-size:10px;letter-spacing:1.8px;font-weight:750;color:var(--muted);margin:0 0 10px}h1{font-size:32px;letter-spacing:-1px;margin:0}h2{font-size:20px;letter-spacing:-.4px;margin:0 0 14px}h3{font-size:20px}p{line-height:1.6;margin:10px 0}header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}.monthpicker{display:flex;gap:8px;align-items:center}.monthpicker input{width:170px;margin:0}.statusline{display:flex;align-items:center;gap:14px;color:var(--muted);font-size:12px;margin-bottom:26px}#live-note{margin-left:auto}.badge{border-radius:20px;background:#e0f3ff;color:#245675;padding:6px 10px;font-size:11px;font-weight:700;display:inline-block}.badge.closed{background:#edf5fa;color:#355c74}.hero{background:var(--ink);border-radius:20px;padding:32px;display:flex;justify-content:space-between;gap:30px;color:#fff;margin-bottom:24px}.hero .eyebrow,.hero small{color:#365e76}.hero h2{font-size:44px;letter-spacing:-1.5px;margin:12px 0}.hero p{margin:7px 0}.heroside{min-width:220px;align-self:center;padding-left:30px;border-left:1px solid #a9d7f0}.heroside strong{font-size:28px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.card{border:1px solid var(--line);background:#fff;border-radius:16px;padding:24px;margin-bottom:20px}.stats .card p{color:var(--muted);font-size:12px;margin:0 0 10px}.stats h2{font-size:27px}.twocol{display:grid;grid-template-columns:1fr 1fr;gap:20px}.parentcard>.avatar{float:left}.parentcard h2{padding-top:6px}dl{margin:24px 0 0}dl>div{display:flex;justify-content:space-between;padding:10px 0}dt{color:var(--muted);font-size:13px}dd{margin:0;font-weight:650}.balance{border-top:1px solid var(--line);margin-top:10px}.balance dt,.balance dd{color:var(--ink);font-weight:700}.sectionhead{display:flex;justify-content:space-between;align-items:center;gap:16px}.sectionhead a{font-size:12px;font-weight:700}.sectionhead h2{margin:10px 0}.categoryline{display:flex;justify-content:space-between;padding:13px 0;border-bottom:1px solid #eaf4fa}.categoryline:last-child{border:0}.tag,small,.muted{color:var(--muted)}small{font-size:12px;line-height:1.5;display:inline-block}.tag{font-size:11px;font-weight:600}.intro{color:var(--muted);max-width:760px;margin:0 0 22px}.empty{text-align:center;padding:25px;color:var(--muted)}.empty h3{color:var(--ink)}label{display:block;font-size:12px;font-weight:650;margin:16px 0}input,select{display:block;width:100%;border:1px solid #bfd9eb;border-radius:10px;background:#ffffff;color:var(--ink);padding:12px;margin-top:7px;min-height:44px}input:focus,select:focus{outline:2px solid #4797cc;outline-offset:2px}label small{display:block;font-weight:400;margin-top:6px}.formrow{display:grid;grid-template-columns:1fr 1fr;gap:16px}details summary{cursor:pointer;font-weight:650;padding:8px 0;font-size:14px}details form{max-width:700px}.linkbutton{background:none;color:var(--ink);padding:8px 0;font-size:12px}.danger{color:var(--red)}.expense details{margin-top:12px;border-top:1px solid var(--line);padding-top:5px}.alert{background:#e3f4ff;border-radius:12px;padding:14px 18px;font-size:13px;margin:0 0 22px}.alert.error{background:#f7e5e1;color:#903a36}.tablewrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:12px;white-space:nowrap}th,td{text-align:left;padding:14px 12px;border-bottom:1px solid var(--line)}th{font-size:10px;text-transform:uppercase;letter-spacing:.8px;color:var(--muted)}.auditentry{padding:9px 0;border-bottom:1px solid var(--line)}.auditentry small{display:block;font-weight:400;margin-top:5px}pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px;max-width:100%;background:var(--bg);padding:12px;border-radius:8px}.search{display:flex;gap:12px;align-items:flex-end;margin-bottom:16px}.search label{flex:1;margin:0}.login{max-width:490px;margin:60px auto;padding:0 24px}.login h1{font-size:42px;line-height:1.1}.login .card{margin-top:28px}.login button{width:100%;margin:8px 0 20px}footer{font-size:10px;color:var(--muted);text-align:center;margin:30px 0 0}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:900px){.shell{grid-template-columns:190px minmax(0,1fr)}aside{padding:25px 15px}.content{padding:30px 24px}.hero{padding:24px}.stats{gap:10px}.stats .card{padding:18px}.stats h2{font-size:23px}}@media(max-width:650px){.shell{display:block}aside{padding:16px 18px;border-right:0;border-bottom:1px solid var(--line)}.brand{font-size:20px;margin:0 0 10px}.brandcaption{display:none}.brandmark.small{width:32px;height:32px;font-size:24px;margin-bottom:0}nav{display:flex;gap:6px;overflow-x:auto;padding:4px 0}nav a{font-size:12px;padding:9px 12px;white-space:nowrap}.sidefooter{display:none}.content{padding:24px 18px}header{align-items:flex-start;flex-direction:column;gap:16px}h1{font-size:28px}.monthpicker{width:100%}.monthpicker input{flex:1;width:auto}.statusline{gap:8px;flex-wrap:wrap;font-size:11px}#live-note{display:none}.hero{display:block;padding:25px}.hero h2{font-size:38px}.heroside{border-left:0;border-top:1px solid #a9d7f0;padding:16px 0 0;margin-top:18px}.heroside strong{font-size:23px}.stats{grid-template-columns:1fr}.stats .card{display:grid;grid-template-columns:1fr auto;margin-bottom:0;padding:18px}.stats .card small{grid-column:1/-1}.stats .card p{margin:0;align-self:center}.stats h2{font-size:22px;margin:0 0 5px}.stats{margin-bottom:20px}.twocol{grid-template-columns:1fr;gap:0}.card{padding:20px}.formrow{grid-template-columns:1fr;gap:0}.sectionhead{flex-wrap:wrap;gap:6px}.login{margin:35px auto}.login h1{font-size:38px}table th,table td{padding:12px 8px}.search{align-items:stretch;flex-direction:column}}

textarea{width:100%;font:inherit;padding:12px;border:1px solid #bfd9eb;border-radius:9px;background:#fff;color:#173f59;resize:vertical}select{max-width:100%}

/* White and light sky blue family theme */
.hero{background:#dff3ff;color:var(--ink);border:1px solid #bfe3f8}.hero .eyebrow,.hero small{color:#365e76}button,.button{background:#bee7ff;color:#173f59}.secondary{background:#edf8ff;color:#173f59}.linkbutton{background:none}.danger{color:var(--red)}.card{box-shadow:0 3px 14px rgba(49,112,150,.035)}input:focus,select:focus,textarea:focus{outline:2px solid #4797cc;outline-offset:2px}
