:root{font-family:Tahoma,Arial,sans-serif;color:#182e34;background:#f3f6f6;font-size:14px}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer;border:1px solid #d9e3e4;border-radius:9px;background:white;padding:10px 16px;color:#29494f}button:hover{background:#edf5f3}button:disabled{opacity:.45;cursor:not-allowed}.primary{background:#087f72;color:white;border-color:#087f72}.primary:hover{background:#06685e}input,select{width:100%;padding:11px;border:1px solid #cbd8da;border-radius:8px;background:white;color:#213e44}input:focus,select:focus,button:focus-visible{outline:2px solid #5aaea1;outline-offset:2px}label{display:flex;flex-direction:column;gap:8px;margin-bottom:16px}h1{font-size:27px;margin:7px 0}h2{font-size:18px;margin:0 0 20px}p{line-height:1.9}.muted,small{color:#71868b;line-height:1.8}.brand{display:flex;align-items:center;gap:12px;font-size:27px;color:#087f72;font-weight:bold}.brand span{font-size:16px}.auth{max-width:430px;margin:9vh auto;background:white;padding:38px;border-radius:18px;box-shadow:0 12px 50px #123b4212}.auth h1{margin-top:34px}.auth .primary{width:100%;margin:6px 0 24px}[hidden]{display:none!important}#app{display:flex;min-height:100vh}aside{width:260px;flex-shrink:0;background:white;border-left:1px solid #dfe8e8;padding:30px 22px;display:flex;flex-direction:column}aside .brand{margin-bottom:36px}nav{display:grid;gap:8px;margin-top:18px}nav button{text-align:right;border:0;background:transparent;padding:14px}nav button.active{background:#e3f2ef;color:#007568;font-weight:bold}.aside-bottom{margin-top:auto;padding-top:45px;display:grid;gap:14px}main{flex:1;padding:30px 40px;min-width:0;max-width:1500px}header{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:32px}.eyebrow{color:#7a8e92;font-size:12px;margin:0}.header-tools{display:flex;gap:20px;align-items:center}.header-tools label{margin:0;min-width:160px}.badge{background:#e5f2ed;color:#087567;padding:7px 12px;border-radius:6px;font-size:12px;white-space:nowrap}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-bottom:25px}.stats article{background:white;border:1px solid #e0e8e8;padding:24px;border-radius:13px;display:flex;flex-direction:column;gap:18px}.stats span{color:#73878c}.stats strong{font-size:34px}.panel{background:white;border:1px solid #e0e8e8;border-radius:13px;padding:26px;margin-bottom:24px}.welcome{display:flex;justify-content:space-between;gap:35px;padding:36px;background:linear-gradient(120deg,#eff8f4,white)}.welcome h2{font-size:25px;margin-top:24px}.ledger-art{width:260px;transform:rotate(-4deg);padding:24px;background:white;border:1px solid #d8e8e2;border-radius:14px;box-shadow:0 15px 30px #124b3912;align-self:center}.ledger-art div{padding:15px;border-bottom:1px dashed #d8e7e3}.ledger-art b{float:left}.ledger-art .balanced{color:#07806e;border:0}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.inline-form{display:flex;gap:20px;align-items:end}.inline-form label{flex:1;margin:0}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:right;white-space:nowrap}th{font-size:12px;font-weight:normal;color:#71888c;background:#f6f9f9}td,th{padding:13px 11px;border-bottom:1px solid #e7eeee}td input{min-width:130px}td select{min-width:180px}.totals{display:flex;gap:30px;justify-content:flex-end;background:#f2f7f6;padding:20px;margin:20px 0;border-radius:9px}.totals b{margin-right:12px}#balance-state{color:#087f72}.panel-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.panel-title h2{margin:0}.empty{padding:28px;text-align:center;color:#789095}.company-card{padding:18px;border:1px solid #dfebea;border-radius:10px;margin-bottom:10px}#message{position:fixed;left:24px;bottom:24px;max-width:520px;z-index:9;background:#153e3b;color:white;border-radius:10px;padding:0;box-shadow:0 8px 30px #1233}#message.visible{padding:16px 22px}#message.error{background:#8d3434}@media(max-width:950px){aside{width:200px;padding:22px 14px}main{padding:24px}.grid{grid-template-columns:repeat(2,1fr)}.welcome{flex-direction:column}.ledger-art{align-self:stretch;width:auto}.header-tools{flex-direction:column;gap:8px}}@media(max-width:650px){#app{display:block}aside{width:100%;padding:18px}aside .brand{margin-bottom:14px}nav{display:flex;flex-wrap:wrap;margin:0}nav button{padding:9px;font-size:12px}.aside-bottom{padding-top:12px;display:flex;align-items:center;margin-top:0}.aside-bottom small{display:none}header{align-items:start}h1{font-size:21px}.stats{gap:8px}.stats article{padding:14px}.stats strong{font-size:25px}.grid{grid-template-columns:1fr}.inline-form{flex-direction:column;align-items:stretch}.totals{flex-direction:column;gap:14px}.auth{margin:30px 16px}.panel{padding:20px}main{padding:20px}}
:root{scrollbar-gutter:stable}aside{position:sticky;top:0;height:100vh;overflow-y:auto;align-self:flex-start}input,select{min-width:0}.grid>*{min-width:0}@media(max-width:650px){aside{position:static;height:auto;overflow:visible}}

@font-face{font-family:"B Titr";src:url(/B-Titr.ttf?v=0141) format("truetype");font-display:swap}

/* Jan Holding visual language: warm stone surfaces and muted gold. */
:root{font-family:"B Titr",Tahoma,sans-serif;color:#242521;background:#f4f2ee;font-size:14px;--gold:#a58223;--line:#e5dfd4;--muted:#777970}
body{background:radial-gradient(ellipse at 95% 0%,#ded0a447,transparent 48%),#f4f2ee}button,input,select{font-family:inherit}button{border-color:var(--line);color:#45463e;border-radius:8px}button:hover{background:#f4efe3}button:focus-visible,input:focus,select:focus,summary:focus-visible{outline:2px solid #b89947;outline-offset:3px}.primary{background:linear-gradient(110deg,#927017,#b28d2b);border-color:#ac892d;color:white;box-shadow:0 3px 9px #967a2015}.primary:hover{background:#927017}input,select{border-color:#ded9d0;background:#fcfbf8;color:#34352f;padding:10px 12px}.brand{color:#a58223;font-size:30px}.brand span{color:#262720;font-size:17px}.muted,small,.eyebrow{color:var(--muted)}aside{width:256px;padding:26px 20px;background:#fcfbf8;border-color:var(--line)}aside .brand{margin-bottom:24px}aside>label{font-size:12px}aside>p{margin:0 0 16px}nav{display:flex;flex-direction:column;gap:7px;margin-top:10px}nav button{width:100%;padding:10px 12px;text-align:right;font-size:13px;border-radius:8px}nav button.active{background:#f0e7cc;color:#806112;font-weight:normal;box-shadow:inset -3px 0 #a58223}.nav-home{margin-bottom:8px}.nav-group{border-bottom:1px solid #eee9df;padding-bottom:5px}.nav-group summary{cursor:pointer;list-style:none;display:flex;align-items:center;gap:10px;padding:12px 9px;color:#56574d;border-radius:8px;user-select:none}.nav-group summary::-webkit-details-marker{display:none}.nav-group summary:after{content:'⌄';margin-right:auto;color:#8e897b;transition:transform .18s}.nav-group[open] summary:after{transform:rotate(180deg)}.nav-group summary:hover{background:#f2eee5}.nav-icon{font-family:Tahoma,sans-serif;color:#a58223;font-size:18px;width:22px;text-align:center}.nav-children{display:grid;gap:3px;padding:3px 20px 7px 0;border-right:1px solid #dfd5bc;margin:0 18px 5px 0}.nav-children button{font-size:12px;padding:9px 12px}.aside-bottom{padding-top:28px;gap:10px}.aside-bottom #logout{font-size:12px;background:transparent}main{padding:30px 36px}.panel,.stats article{border-color:var(--line);border-radius:14px;box-shadow:0 3px 16px #51431e04}.stats article{gap:12px}.stats span{color:#777970}.stats strong{color:#39392f;font-size:32px}.badge{background:#f3ecd9;color:#96771e;border:1px solid #e5d7ae;border-radius:20px}.welcome{background:linear-gradient(120deg,#eee5cf77,#fff);padding:32px}.welcome h2{font-size:26px}.ledger-art{border-color:#e3d7b5;box-shadow:0 15px 30px #68561b0a}.ledger-art div{border-color:#e7dfca}.ledger-art .balanced,#balance-state{color:#92751f}th{background:#f6f3ed;color:#797568}td,th{border-color:#ede8de;padding:13px 12px}tbody tr:hover{background:#fcfaf5}.totals{background:#f5f0e4}.company-card{border-color:var(--line)}.empty{color:#878173}.auth{border:1px solid #e2ddd4;border-radius:22px;box-shadow:0 12px 45px #46391009;padding:38px;background:#ffffffef}.auth h1{color:#242521}#message{background:#454534}#message.error{background:#8d3434}
@media(max-width:950px){aside{width:224px;padding:22px 15px}main{padding:24px}.nav-children{padding-right:9px;margin-right:12px}}
@media(max-width:650px){aside{width:100%;height:auto;position:static;padding:18px 20px}aside>label{max-width:100%}nav{display:flex;flex-direction:column;gap:4px}.nav-group summary{padding:11px 9px}.nav-children{grid-template-columns:repeat(2,minmax(0,1fr))}.nav-children button{white-space:normal}.aside-bottom{padding-top:16px;display:flex;justify-content:space-between}.auth{padding:28px}.header-tools label{min-width:120px}main{padding:20px}header{gap:12px}.badge{font-size:10px}.stats strong{font-size:25px}}

.auth{max-width:1120px;margin:12vh auto;display:grid;grid-template-columns:1.3fr 1fr;gap:100px;background:transparent;border:0;box-shadow:none;padding:30px}.auth-story{align-self:center}.auth-story .brand{margin-bottom:35px}.auth-story h2{font-size:36px;line-height:1.7;margin:20px 0}.auth-story p{color:#66665d;line-height:2.2}.auth-story ul{padding-right:20px;line-height:2.8;color:#55564b}.auth-card{background:#ffffffed;border:1px solid #e2ddd4;border-radius:22px;padding:36px;align-self:center;box-shadow:0 12px 45px #46391009}.auth-card>.brand{display:none}.auth-card h1{margin:0 0 14px;font-size:25px}.auth-card>p{color:#777970;margin-bottom:26px}.auth-card small{font-size:11px}.auth .primary{margin-bottom:18px}@media(max-width:950px){.auth{gap:35px;margin:6vh auto}.auth-story h2{font-size:28px}}@media(max-width:650px){.auth{display:block;margin:25px 0;padding:20px}.auth-story{margin-bottom:25px}.auth-story h2{font-size:25px}.auth-story ul,.auth-story>p{display:none}.auth-story .brand{margin-bottom:20px}.auth-card{padding:28px}}

.branch-field small{font-size:11px;color:#92866a}.branch-field select{border-color:#c6b47d}#branches .inline-form{margin-bottom:24px}
