
:root{font-family:Segoe UI,Arial,sans-serif;color:#263f3b;background:#f7f7f2;font-size:15px}*{box-sizing:border-box}body{margin:0;display:flex}aside{width:235px;position:fixed;height:100vh;background:#e9eee7;padding:34px 22px;display:flex;flex-direction:column;border-right:1px solid #dbe2d9}.brand{color:#244a42;text-decoration:none;font-size:26px;font-weight:650;letter-spacing:-1px}.brand span{display:block;font-size:12px;font-weight:400;letter-spacing:0;margin:10px 0 48px;color:#62776f}.nav-label,.eyebrow,.topline{font-size:11px;letter-spacing:1.7px;color:#6e8278}.nav-label{padding:0 12px;margin-bottom:14px}nav button{width:100%;text-align:left;border:0;background:transparent;padding:14px 12px;margin:3px 0;border-radius:8px;color:#52695e;font-size:14px}nav button.active{background:#d6e2d6;color:#244a42;font-weight:650}.aside-note{margin-top:auto;padding:16px 10px;font-family:Georgia,serif;font-size:19px;line-height:1.6}.aside-note small{font:12px/1.8 Segoe UI,sans-serif;color:#6e8278}main{margin-left:235px;padding:26px 42px;width:calc(100% - 235px);max-width:1600px}.topline{display:flex;justify-content:space-between;letter-spacing:1px}.preview{padding:12px 16px;background:#fff5dc;border:1px solid #e8dfc0;border-radius:8px;font-size:12px;line-height:1.6;margin-top:24px;color:#746339}header{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:32px 0}h1{font:38px/1.2 Georgia,serif;font-weight:400;letter-spacing:-1px;margin:9px 0 12px}p{color:#6c7c74;line-height:1.6}header p{margin:0}.actions{display:flex;gap:10px;flex-wrap:wrap}button{cursor:pointer;font-family:inherit;border-radius:7px;padding:10px 15px;border:1px solid #d7dfd4;background:white;color:#35574c}button:hover{filter:brightness(.96)}button:focus-visible,a:focus-visible{outline:3px solid #b68949;outline-offset:3px}.primary{background:#355d50;color:white;border-color:#355d50}.secondary{background:transparent}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:26px 0}.stat,.panel,.card{background:#fff;border:1px solid #e1e6dc;border-radius:12px;padding:24px}.stat small{color:#708077}.stat strong{display:block;font:32px Georgia,serif;margin:12px 0}.stat p{font-size:12px;margin:0}.layout{display:grid;grid-template-columns:1.8fr 1fr;gap:20px}.panel h2,.section-title{font:23px Georgia,serif;margin:0 0 8px}.panel-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:14px}.panel-head p{font-size:12px;margin:0}.row{display:flex;align-items:center;gap:15px;border-top:1px solid #edf0e8;padding:19px 0}.row:last-child{padding-bottom:3px}.date{background:#f0f3eb;width:48px;min-width:48px;border-radius:8px;text-align:center;padding:8px;font-size:10px;color:#748472}.date strong{font-size:20px;color:#3d594a;display:block}.row-info{flex:1;min-width:0}.row-info strong{font-weight:600}.row-info small{display:block;color:#7c887e;font-size:12px;margin-top:6px}.amount{text-align:right;font-weight:600}.amount small{display:block;font-weight:400;margin-top:6px}.badge{font-size:10px;background:#eef2e9;color:#617351;padding:4px 7px;border-radius:4px;display:inline-block;margin-top:6px}.badge.overdue{background:#f8e8df;color:#a46147}.badge.partially-paid{background:#fcf0d7;color:#92773d}.callout{background:#edf2e8;border-radius:8px;padding:18px;margin:20px 0}.callout strong{font:24px Georgia,serif;display:block;margin:8px 0}.callout p{font-size:13px;margin:5px 0}.empty{padding:30px 0;color:#7b877e;line-height:1.8}.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:18px}.card h2{font:23px Georgia,serif}.card .balance{font:34px Georgia,serif;margin:18px 0}.details{display:grid;grid-template-columns:1fr 1fr;gap:13px;font-size:13px;margin:18px 0}.details span{color:#76847a;display:block;font-size:11px;margin-bottom:4px}footer{font-size:11px;color:#889286;margin:35px 0 8px;display:flex;justify-content:space-between;gap:20px}dialog{border:1px solid #d8dfd1;border-radius:14px;width:min(540px,95vw);max-height:90vh;color:#29463b;padding:25px}dialog::backdrop{background:#1e382c70}.dialog-top{display:flex;justify-content:space-between;align-items:center}.dialog-top h2{font:26px Georgia,serif}.dialog-top button{border:0;font-size:24px}label{display:block;font-size:13px;margin:14px 0}input,select{display:block;width:100%;margin-top:7px;padding:11px;border:1px solid #ced8c9;border-radius:6px;font:inherit;color:#2d493e;background:white}input[type=checkbox]{display:inline;width:auto;margin-right:8px}#form-error{color:#a14e36}#notice{color:#546e52;font-size:13px}table{width:100%;border-collapse:collapse;font-size:13px}th,td{text-align:left;padding:14px 8px;border-bottom:1px solid #e8ede3}th{color:#748472;font-weight:500}.fine{font-size:12px}.table-wrap{overflow:auto}@media(max-width:1000px){main{padding:24px}.layout{grid-template-columns:1fr}header{align-items:flex-start;flex-direction:column}.row{flex-wrap:wrap}}@media(max-width:700px){body{display:block}aside{position:static;width:100%;height:auto;padding:20px}.brand span,.aside-note,.nav-label{display:none}nav{display:flex;overflow:auto;margin-top:16px}nav button{white-space:nowrap;width:auto;font-size:12px}.brand{font-size:23px}main{margin:0;width:100%;padding:20px}h1{font-size:32px}.stats{gap:8px}.stat{padding:15px}.stat strong{font-size:24px}.topline{font-size:9px}footer{flex-direction:column}.row{gap:10px}}

.preview.test-mode{background:#fbe5dc;border:2px solid #b97650;color:#703b26;font-weight:650}#workspace-control{max-width:420px;margin:0 0 18px}#workspace-control[hidden]{display:none}
nav>a{display:block;text-decoration:none;padding:14px 12px;margin:3px 0;border-radius:8px;color:#52695e;font-size:14px;white-space:nowrap}nav>a:hover{background:#d6e2d6}
