
:root{--green:#075c42;--deep:#073d30;--paper:#f5f4ee;--gold:#b9a45e;--ink:#243c32;--muted:#7a8277;--line:#e6e8de;--sage:#edf1e6;--red:#a24e3b}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:14px 'Segoe UI',Arial,sans-serif}button,input,select,textarea{font:inherit}button,a,input,select{outline-offset:4px}button{cursor:pointer}button,a{transition:background .15s}button{border:1px solid var(--line);background:white;border-radius:10px;padding:11px 17px;color:var(--ink)}button:hover{background:var(--sage)}button.primary{background:var(--green);color:white;border-color:var(--green)}button.primary:hover{background:var(--deep)}button.small{padding:7px 10px;font-size:12px}a{color:var(--green)}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}.shell{display:grid;grid-template-columns:238px minmax(0,1fr);min-height:100vh}.sidebar{background:#fffefa;border-right:1px solid var(--line);padding:32px 19px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.brand{text-align:center;padding:0 5px 26px;border-bottom:1px solid var(--line)}.brand img{width:150px;height:84px;object-fit:contain}.brand h2{font:24px Georgia,serif;color:var(--green);margin:0}.eyebrow{font-size:10px;letter-spacing:2px;text-transform:uppercase;color:var(--green);font-weight:650}.brand .eyebrow{margin-top:14px;font-size:9px}.nav-label{font-size:9px;color:#909488;letter-spacing:2px;margin:28px 15px 10px}.nav{display:flex;flex-direction:column;gap:6px}.nav button{border:0;background:transparent;text-align:left;padding:13px 16px;font-size:13px;display:flex;align-items:center;gap:13px}.nav button.active{background:var(--sage);color:var(--green);font-weight:650}.nav button svg{width:18px}.side-bottom{margin-top:auto;padding:22px 12px 0;font-size:11px;color:var(--muted);line-height:1.8}.side-bottom b{display:block;color:var(--green);font-weight:500}.main{min-width:0}.topbar{height:83px;display:flex;align-items:center;justify-content:space-between;padding:0 40px;background:#fffefa;border-bottom:1px solid var(--line);font-size:12px;color:var(--muted)}.topbar strong{color:var(--ink);font-weight:500}.top-user{display:flex;gap:12px;align-items:center}.avatar{background:var(--sage);color:var(--green);border-radius:50%;width:33px;height:33px;display:grid;place-items:center}.content{padding:36px 40px 45px;max-width:1600px;margin:auto}.page-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:26px}.page-head h1{font:34px Georgia,serif;letter-spacing:-.8px;margin:8px 0 9px}.sub{color:var(--muted);font-size:12px;line-height:1.7}.actions{display:flex;align-items:center;gap:10px}.actions button{white-space:nowrap}.welcome{background:var(--green);color:white;border-radius:19px;padding:24px 28px;display:flex;align-items:center;justify-content:space-between;margin-bottom:23px;position:relative;overflow:hidden}.welcome:after{content:'';position:absolute;border:1px solid #ffffff15;width:280px;height:280px;border-radius:50%;right:20px;top:-160px}.welcome h2{font:25px Georgia,serif;margin:0 0 9px}.welcome p{font-size:12px;color:#d5e3d6;margin:0}.welcome svg{width:48px;height:48px;color:#d1c287}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:22px}.metric{border:1px solid var(--line);border-radius:15px;background:#fffefa;padding:21px}.metric-top{display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:11px}.metric-top svg{color:var(--green);background:var(--sage);width:31px;height:31px;padding:7px;border-radius:9px}.metric .value{font-size:25px;font-weight:550;letter-spacing:-.7px;margin:16px 0 9px;white-space:nowrap}.metric .hint{font-size:10px;color:var(--muted)}.metric.balance{background:var(--sage)}.negative{color:var(--red)}.columns{display:grid;grid-template-columns:1.5fr 1fr;gap:20px;margin-bottom:22px}.card{background:#fffefa;border:1px solid var(--line);border-radius:17px;padding:24px;min-width:0}.card-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.card h2{font:20px Georgia,serif;margin:0}.card-head span{font-size:11px;color:var(--muted)}.categories{display:grid;gap:17px}.bar-label{display:flex;justify-content:space-between;font-size:11px;margin-bottom:8px}.track{height:5px;background:var(--sage);border-radius:5px;overflow:hidden}.fill{height:100%;background:var(--green);border-radius:5px}.reserve-icon{background:var(--sage);color:var(--gold);border-radius:50%;padding:14px;width:60px;height:60px;margin:0 0 14px}.reserve-amount{font-size:30px;margin:16px 0 12px}.reserve-amount small{font-size:12px;color:var(--muted)}.reserve p{font-size:12px;line-height:1.8;color:var(--muted)}.notice{font-size:11px;color:#7f6840;background:#f1ecdc;border:1px solid #e4dbc0;border-radius:11px;padding:13px 16px;margin-bottom:21px;line-height:1.7;display:flex;align-items:center;gap:12px}.notice button{margin-left:auto;background:transparent;border:0;padding:0;color:#7f6840;white-space:nowrap}.filters{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 20px}.filters input{flex:1;min-width:180px}.filters select,.filters input,.actions select{background:#fffefa;padding:10px 13px;border:1px solid var(--line);border-radius:9px;color:var(--ink)}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}th{font-size:9px;text-transform:uppercase;letter-spacing:1px;color:var(--muted);font-weight:500;padding:13px 12px;background:#f7f8f2;border-bottom:1px solid var(--line)}td{padding:15px 12px;border-bottom:1px solid #eeefe8;font-size:11px}td:first-child{font-weight:550}td small{display:block;font-size:9px;color:var(--muted);margin-top:6px;font-weight:400}.pill{font-size:9px;padding:5px 9px;border-radius:6px;background:var(--sage);color:var(--green);display:inline-block}.pill.pending{color:#87692f;background:#f6efda}.pill.overdue{color:var(--red);background:#f9ece7}.row-actions{display:flex;gap:5px}.row-actions button{padding:5px 8px}.empty{text-align:center;padding:40px;color:var(--muted)}.footer{display:flex;justify-content:space-between;font-size:10px;color:var(--muted);margin-top:25px}.auth{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.auth-art{background:var(--green);padding:65px;display:flex;flex-direction:column;justify-content:space-between;color:#fff;position:relative;overflow:hidden}.auth-art:after{content:'';width:650px;height:650px;border:1px solid #ffffff18;position:absolute;top:-180px;right:-300px;border-radius:50%}.auth-art h1{font:53px Georgia,serif;line-height:1.15;max-width:420px}.auth-art p{max-width:320px;line-height:1.8;color:#d4e1d5}.mountain{width:100%;height:120px;color:var(--gold)}.auth-panel{padding:50px;display:flex;align-items:center;justify-content:center}.auth-box{max-width:370px;width:100%}.auth-box img{width:185px;display:block;margin:0 auto 40px}.auth-box h2{font:32px Georgia,serif;margin:15px 0}.auth-box p{line-height:1.7;color:var(--muted);font-size:12px}.form{display:grid;gap:17px;margin-top:25px}.form label{display:grid;gap:7px;font-size:11px;font-weight:550}.form input,.form select,.form textarea{width:100%;border:1px solid #dfe3d7;border-radius:9px;padding:12px;background:#fffefa;color:var(--ink)}.form textarea{resize:vertical;min-height:70px}.form .check{display:flex;align-items:flex-start;line-height:1.6;font-weight:400}.check input{width:auto}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.form-error{color:var(--red);font-size:12px;line-height:1.5}.auth-foot{text-align:center;margin-top:30px;font-size:10px;color:var(--muted)}dialog{border:1px solid var(--line);border-radius:20px;padding:30px;width:min(620px,calc(100% - 24px));color:var(--ink);max-height:92vh}dialog::backdrop{background:#082d2466;backdrop-filter:blur(3px)}dialog h2{font:29px Georgia,serif;margin:10px 0}.modal-head{display:flex;justify-content:space-between;align-items:center}.modal-head button{border:0;background:var(--sage);border-radius:50%;width:32px;height:32px;padding:0}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:10px}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:var(--deep);color:white;padding:14px 24px;border-radius:10px;display:none;z-index:100}.catalog-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.tags{display:flex;gap:9px;flex-wrap:wrap;margin-top:20px}.tags span{padding:9px 12px;border-radius:9px;background:var(--sage);font-size:12px}.loading{padding:100px;text-align:center;color:var(--green)}.preview-banner{background:#e8dfbf;color:#514b30;padding:10px 20px;text-align:center;font-size:11px}.preview-banner button{font-size:10px;padding:4px 10px;margin-left:12px}.chart{height:170px;display:flex;align-items:flex-end;justify-content:space-around;gap:12px;padding:12px 0 25px}.chart-col{display:flex;height:100%;width:100%;gap:5px;align-items:flex-end;justify-content:center;position:relative}.chart-col i{width:20px;background:var(--green);border-radius:4px 4px 0 0;min-height:1px}.chart-col i.expense{background:var(--gold)}.chart-col span{position:absolute;bottom:-22px;font-size:10px;color:var(--muted)}@media(min-width:1450px){.content{padding:45px 55px}.metric .value{font-size:29px}}@media(max-width:1100px){.shell{grid-template-columns:200px 1fr}.sidebar{padding:25px 12px}.content{padding:28px 25px}.topbar{padding:0 25px}.metrics{grid-template-columns:repeat(2,1fr)}.columns{grid-template-columns:1fr 1fr}.page-head h1{font-size:29px}.actions{flex-wrap:wrap;justify-content:flex-end}}@media(max-width:760px){.shell{display:block}.sidebar{position:static;height:auto;padding:15px}.brand{padding-bottom:12px}.brand img{width:110px;height:55px}.brand .eyebrow{margin:6px}.nav-label,.side-bottom{display:none}.nav{flex-direction:row;overflow:auto;margin-top:12px}.nav button{white-space:nowrap;padding:11px}.topbar{height:65px;padding:0 20px}.topbar>span{display:none}.content{padding:24px 17px}.page-head{align-items:flex-start;flex-direction:column}.actions{justify-content:flex-start}.columns,.catalog-grid{grid-template-columns:1fr}.metric{padding:16px}.metric .value{font-size:23px}.welcome{padding:22px}.welcome h2{font-size:22px}.welcome svg{display:none}.auth{grid-template-columns:1fr}.auth-art{display:none}.auth-panel{padding:30px 22px}.form-grid{grid-template-columns:1fr}.notice{align-items:flex-start}.footer{gap:20px;line-height:1.6}.card{padding:19px}}

