:root{--forest:#0b2c22;--forest2:#123e2e;--green:#147d49;--lime:#41cb75;--mint:#e7f5ea;--canvas:#f5f7f4;--ink:#15231c;--muted:#78837a;--line:#e6ebe6;--white:#fff;--amber:#dc9724;--red:#c34741;--shadow:0 6px 28px rgba(9,34,25,.035);--r:19px}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;color:var(--ink);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;font-size:14px;-webkit-font-smoothing:antialiased}
button,input,select{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}button:disabled{opacity:.55;cursor:not-allowed}button:focus-visible,input:focus-visible,select:focus-visible,a:focus-visible{outline:3px solid #89dbab;outline-offset:2px}
.hidden{display:none!important}h1,h2,h3,p{margin-top:0}h1{letter-spacing:-1.65px}h2{letter-spacing:-.6px}
.app-body{background:var(--canvas)}
.app-layout{min-height:100vh;display:grid;grid-template-columns:265px minmax(0,1fr)}
.sidebar{background:linear-gradient(175deg,#0b2c22 0%,#08241c 78%,#062019 100%);color:#fff;min-height:100vh;position:sticky;top:0;height:100vh;padding:30px 17px 23px;display:flex;flex-direction:column;z-index:30}
.brand{display:flex;gap:12px;align-items:center;margin-bottom:53px;padding:0 9px;color:#fff}
.brand-logo{height:55px;width:55px;border:1px solid #51735a;border-radius:50%;background:#fff;display:grid;place-items:center;overflow:hidden;flex-shrink:0;box-shadow:0 0 0 4px #ffffff0b}
.brand-logo img{width:100%;height:100%;object-fit:contain}
.brand-lines{display:flex;flex-direction:column;gap:3px}.brand-lines strong{font-size:22px;font-weight:850;letter-spacing:-1px}.brand-lines strong span{color:#a2f3aa}.brand-lines small{font-size:8px;font-weight:700;letter-spacing:.7px;color:#b4cdbd;white-space:nowrap}
.sidebar-label{font-size:10px;letter-spacing:1.55px;color:#749a89;font-weight:800;padding-left:17px;margin-bottom:16px}
.nav-list{display:flex;flex-direction:column;gap:5px}.nav-item{border:0;background:transparent;color:#a4b8ad;border-radius:11px;display:flex;align-items:center;gap:15px;padding:13px 14px;text-align:left;font-weight:590;width:100%;font-size:13.5px;transition:.15s}
.nav-item:hover{background:#ffffff0b;color:white}.nav-item.active{background:linear-gradient(100deg,#1a6947,#17553c);color:#fff;box-shadow:inset 3px 0 0 #7bf0a2}
.nav-icon{display:inline-grid;place-items:center;width:21px;font-size:20px;font-weight:400;line-height:1}
.sidebar-spacer{flex:1}.sidebar-info{border:1px solid #2a5240;border-radius:11px;padding:13px 13px;color:#d1ebd7;font-size:11px;font-weight:700;margin-bottom:20px;background:#ffffff05}.sidebar-info small{display:block;color:#799e8d;margin-top:7px;padding-left:16px;font-weight:400}.online-dot{display:inline-block;width:7px;height:7px;border-radius:100%;background:#60e695;box-shadow:0 0 0 3px #60e69523;margin-right:7px;vertical-align:1px}
.sidebar-profile{border-top:1px solid #294739;padding:20px 6px 0;display:flex;align-items:center;gap:10px}.avatar,.top-avatar,.account-avatar{display:grid;place-items:center;border-radius:50%;background:#256b46;color:#e7fff0;font-weight:800}.avatar{width:38px;height:38px}.profile-lines{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1}.profile-lines strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.profile-lines small{color:#85b49c;font-size:11px}.logout-btn{background:#25503a;border:0;border-radius:8px;color:#e4faea;font-size:20px;height:32px;width:32px}
.content-shell{min-width:0;display:flex;flex-direction:column}.topbar{height:78px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 43px;gap:12px}.topbar-start,.topbar-end{display:flex;align-items:center;gap:16px}.topbar-eyebrow{font-size:12px;font-weight:750;color:#263f32;letter-spacing:.25px}.topbar-eyebrow span:first-child{color:#aeb5ae;padding:0 7px}.topbar-eyebrow #breadcrumb{color:#7c8d81}.topbar-end{color:#50645a;font-size:12px;font-weight:650}.topbar-separator{height:28px;border-left:1px solid #e8ede8}.top-avatar{width:33px;height:33px;font-size:12px;background:#e7f5eb;color:#167647}.secure-badge{border-radius:100px;background:#f0f9f2;color:#187c45;padding:7px 11px;font-size:10px;font-weight:800}.secure-badge .online-dot{width:6px;height:6px}.menu-btn{display:none;background:none;border:0;font-size:22px;color:#173c2e;padding:4px}
.main-content{width:100%;max-width:1630px;margin:0 auto;flex:1;padding:43px 44px 65px}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:31px}.kicker{display:flex;align-items:center;gap:9px;color:#18824a;font-weight:850;letter-spacing:1.45px;font-size:10px;margin-bottom:11px}.kicker-line{display:inline-block;width:20px;height:2px;background:#2ab668;border-radius:3px}.page-heading h1{font-size:clamp(27px,3.1vw,38px);font-weight:825;margin:0 0 11px;line-height:1.22}.page-heading h1 span{color:#16824c}.page-heading p{font-size:13px;color:#819088;margin:0;line-height:1.6}.page-heading>.btn{white-space:nowrap}
.btn{display:inline-flex;justify-content:center;align-items:center;gap:9px;border-radius:11px;border:1px solid transparent;padding:12px 20px;min-height:44px;font-weight:730;font-size:12px;white-space:nowrap;transition:transform .15s,box-shadow .15s,background .15s}.btn:hover:not(:disabled){transform:translateY(-1px)}.btn-primary{background:#167e49;color:#fff;box-shadow:0 5px 14px #137a4324}.btn-primary:hover{background:#0e683b;box-shadow:0 8px 20px #167e4930}.btn-outline{border-color:#d6e5db;background:white;color:#217548}.btn-outline:hover{background:#f3faf5}.btn-light{border-color:#e4ebe6;background:#f4f6f3;color:#53695d}.btn-passkey{background:#edf7f0;border:1px solid #cfe8d8;color:#145d36}.btn-passkey span{font-size:20px;font-weight:800;line-height:0}.full-btn{width:100%}
.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:22px}.metric-card{background:white;border:1px solid #e9ede8;border-radius:17px;box-shadow:var(--shadow);padding:23px 22px 20px;min-height:162px;overflow:hidden;position:relative}.metric-top{display:flex;align-items:center;justify-content:space-between;color:#738478;font-size:11px;font-weight:680;margin-bottom:19px;gap:8px}.metric-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:9px;background:#e9f6eb;color:#167e49;font-size:19px;flex-shrink:0}.orange-icon{background:#fff5e8;color:#d79a32}.metric-card strong{display:block;font-size:clamp(20px,1.95vw,29px);font-weight:830;letter-spacing:-1px;font-variant-numeric:tabular-nums;white-space:nowrap}.metric-foot{margin-top:13px;color:#8d9b91;font-size:10.5px;display:flex;align-items:center;gap:6px}.metric-card.featured{background:linear-gradient(133deg,#146c43,#0f4c32);color:white;border-color:#176d44;box-shadow:0 8px 22px #0b683528}.metric-card.featured .metric-top{color:#d0e5d5}.metric-card.featured .metric-icon{background:#ffffff22;color:white;font-size:20px}.metric-card.featured .metric-foot{color:#c1e4cc}.metric-glow{position:absolute;width:230px;height:220px;border:1px solid #ffffff10;border-radius:50%;right:-110px;bottom:-140px;box-shadow:0 0 0 35px #ffffff05,0 0 0 70px #ffffff04;pointer-events:none}.metric-indicator{color:#8bf3b3;font-size:13px;font-weight:800}.dot-amber,.dot-green,.dot-neutral{display:inline-block;height:7px;width:7px;border-radius:50%;background:#f2bb61}.dot-green{background:#45bf78}.dot-neutral{background:#9aa9a0}
.dashboard-grid{display:grid;grid-template-columns:1fr 1.16fr;gap:21px;margin-bottom:22px}.surface{background:white;border:1px solid #e6ede7;border-radius:var(--r);padding:25px;box-shadow:var(--shadow);min-width:0}.surface-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:27px}.surface-heading h2{font-size:17px;font-weight:800;line-height:1.3;margin:5px 0 0}.section-kicker{color:#229152;font-weight:840;letter-spacing:1.2px;font-size:9px}.chip{border-radius:30px;background:#f3f8f4;color:#62816c;padding:8px 11px;font-size:10px;font-weight:700}.subtle-link,.link-button{background:none;border:0;color:#1a8450;font-weight:750;font-size:11px;padding:5px 0}.finance-overview{padding:1px 2px}.finance-row{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:12px;color:#66756b;margin:20px 0 12px}.finance-row strong{color:#233a2c;font-size:15px;font-weight:820;font-variant-numeric:tabular-nums}.finance-row>span{display:flex;align-items:center;gap:9px}.legend{display:inline-block;width:9px;height:9px;border-radius:3px}.legend-green{background:#299d60}.legend-amber{background:#e6af55}.progress-rail{width:100%;height:9px;border-radius:12px;background:#f1f5f1;overflow:hidden}.progress-income,.progress-expense{height:100%;border-radius:12px;width:0;transition:width .3s}.progress-income{background:linear-gradient(90deg,#197a4d,#61d08d)}.progress-expense{background:linear-gradient(90deg,#dba043,#f4ce85)}.finance-note{background:#f7faf7;border:1px solid #edf4ee;border-radius:11px;padding:14px;color:#829286;font-size:11px;line-height:1.6;margin-top:24px}
.recent-list{display:flex;flex-direction:column}.recent-item{display:flex;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid #f0f3f0}.recent-item:first-child{padding-top:0}.recent-item:last-child{border-bottom:0;padding-bottom:0}.recent-icon{width:39px;height:39px;border-radius:12px;background:#e8f5ed;color:#199157;font-weight:850;display:grid;place-items:center;font-size:19px;flex-shrink:0}.recent-icon.expense{background:#fff0e9;color:#d46b4e}.recent-icon.pending{background:#fff6e6;color:#cf932c}.recent-main{min-width:0;flex:1}.recent-main strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11.5px;font-weight:770}.recent-main span{display:block;margin-top:5px;font-size:10px;color:#96a39a}.recent-amount{font-size:12px;font-weight:830;white-space:nowrap;font-variant-numeric:tabular-nums}.money-income{color:#1b9153}.money-expense{color:#c9604a}.money-pending{color:#bf893a}
.bottom-card{position:relative;display:flex;align-items:center;gap:16px;padding:22px 25px;border-radius:17px;background:#eaf4ec;overflow:hidden;border:1px solid #dfefe3}.bottom-card-mark{width:42px;height:42px;background:#d3ebd8;color:#14874c;border-radius:13px;display:grid;place-items:center;font-size:23px;flex-shrink:0}.bottom-card strong{font-size:12px;font-weight:820}.bottom-card p{margin:6px 0 0;color:#839388;font-size:11px}.bottom-card-pattern{position:absolute;border-radius:50%;width:200px;height:200px;border:1px solid #bddcc7;right:-65px;top:-111px;box-shadow:0 0 0 26px #dff0e3,0 0 0 28px #b8d9c1,0 0 0 55px #e5f3e8;opacity:.7}
.site-footer{display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;padding:22px 43px;border-top:1px solid #e5ece5;color:#92a097;font-size:10px;background:#f7f9f6}
.booking-form-surface{margin-bottom:22px}.booking-form{display:grid;grid-template-columns:1.1fr minmax(190px,2fr) 1.15fr 1fr;align-items:end;gap:14px}.field{display:flex;flex-direction:column;gap:8px;min-width:0}.field label{font-size:11px;font-weight:770;color:#58695d}.field input,.field select,.filterbar select,.search-wrap input{width:100%;height:43px;padding:0 13px;border:1px solid #dfe7e0;border-radius:9px;color:#23372b;background:white;font-size:12px;outline:none;transition:border-color .15s,box-shadow .15s}.field input:focus,.field select:focus,.filterbar select:focus,.search-wrap input:focus{border-color:#7fcba0;box-shadow:0 0 0 3px #14874a12}.field input::placeholder{color:#b1bdb4}.field-wide{grid-column:span 2}.action-field{grid-column:span 2;align-items:stretch}.action-field .btn{width:100%}.surface-heading-wrap{flex-wrap:wrap}.header-count{background:#e9f5ed;color:#258350;font-size:10px;border-radius:6px;padding:4px 7px;vertical-align:middle;margin-left:4px}.filterbar{display:flex;gap:9px;flex-wrap:wrap}.search-wrap{position:relative;display:flex;align-items:center}.search-wrap>span{position:absolute;left:12px;font-size:19px;color:#87a18d;line-height:1}.search-wrap input{width:220px;padding-left:34px}.filterbar select{width:170px}.table-scroller{overflow-x:auto;margin:0 -25px}.data-table{width:100%;border-collapse:collapse;min-width:900px}.data-table thead{background:#f7faf7}.data-table th{text-align:left;padding:13px 18px;font-size:9px;color:#7f9384;text-transform:uppercase;letter-spacing:1px;font-weight:830;white-space:nowrap}.data-table th:first-child,.data-table td:first-child{padding-left:25px}.data-table th:last-child,.data-table td:last-child{padding-right:25px}.data-table td{padding:17px 18px;border-bottom:1px solid #f0f3f0;font-size:11.5px;color:#54645a;white-space:nowrap}.data-table tr:last-child td{border:0}.data-table .num{text-align:right}.data-table td.num{color:#25382d;font-weight:850;font-variant-numeric:tabular-nums}.data-table td.description{white-space:normal;min-width:140px;font-weight:750;color:#273b2c;max-width:270px}.data-table td.remark{max-width:230px;overflow:hidden;text-overflow:ellipsis}.table-footer{padding-top:18px;display:flex;align-items:center;justify-content:space-between;color:#8c9e91;font-size:10px;gap:10px}.tag{display:inline-block;white-space:nowrap;border-radius:20px;padding:6px 9px;font-weight:750;font-size:10px}.tag-income,.green-tag{background:#e7f5ec;color:#238651}.tag-expense{background:#fdf0ed;color:#c46a58}.tag-pending{background:#fff4e2;color:#b9882d}.row-controls{display:flex;gap:6px}.icon-button{border:1px solid #e5eee7;background:#f8faf8;color:#587a61;padding:6px 10px;border-radius:7px;font-size:11px;font-weight:700}.icon-button.danger{border-color:#f8e5e5;color:#c3645b;background:#fff7f6}.empty-state{text-align:center;padding:32px!important;color:#a0ada3!important}.loading{color:#9aa89e;text-align:center;padding:25px 0;font-size:12px}
.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-bottom:22px}.circle-icon{width:36px;height:36px;border-radius:11px;background:#edf7f0;color:#1b8b4f;font-size:21px;display:grid;place-items:center}.stack-form{display:flex;flex-direction:column;gap:15px}.stack-form h3{margin:12px 0 0;font-size:13px}.account-box{border:1px solid #ebf0eb;background:#f8faf8;border-radius:13px;padding:19px;display:flex;align-items:center;gap:16px;margin-bottom:25px}.account-avatar{width:55px;height:55px;font-size:23px}.account-box strong{font-weight:840;font-size:13px}.account-box p{margin:5px 0 8px;color:#95a299;font-size:11px}.passkey-intro{background:#f3faf5;padding:18px;display:flex;gap:12px;border-radius:13px;margin-bottom:19px}.passkey-hero-icon{font-size:30px}.passkey-intro strong{font-size:12px}.passkey-intro p{font-size:11px;color:#84998a;line-height:1.55;margin:6px 0 0}.passkey-list{margin:0 0 20px}.passkey-item{border:1px solid #e9efe9;padding:12px;border-radius:10px;margin:9px 0;display:flex;align-items:center;gap:10px}.passkey-item strong{font-size:11px;display:block}.passkey-item span{color:#94a69b;font-size:10px;display:block;margin-top:4px}.passkey-item .icon-button{margin-left:auto}.hint{color:#9aa79c;font-size:10.5px;line-height:1.65;margin:15px 0 0}.info-strip{display:flex;gap:13px;align-items:center;background:#eaf6ec;padding:18px 22px;border:1px solid #d8ecdc;border-radius:13px}.info-strip>span{color:#199559;font-size:23px}.info-strip strong{font-size:11px}.info-strip p{font-size:11px;color:#829f88;margin:5px 0 0}
.admin-pill{border:1px solid #d2e9d9;background:#e9f7ee;border-radius:100px;font-size:9px;color:#1e874c;font-weight:830;letter-spacing:1px;padding:9px 14px}.admin-grid{display:grid;grid-template-columns:.82fr 1.18fr;gap:20px;margin-bottom:22px}.admin-grid-secondary{grid-template-columns:1fr 1fr}.users-list{max-height:560px;overflow:auto}.user-item{display:flex;gap:13px;align-items:center;padding:14px 0;border-bottom:1px solid #f0f3f0}.user-item:first-child{padding-top:0}.user-item:last-child{border:0}.user-avatar{width:38px;height:38px;display:grid;place-items:center;background:#e9f6ed;color:#208850;font-weight:840;border-radius:12px;flex-shrink:0}.user-name{flex:1;min-width:0}.user-name strong{font-size:12px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.user-name p{font-size:10px;color:#91a094;margin:4px 0 7px}.user-badges{display:flex;gap:5px;flex-wrap:wrap}.user-badges .tag{font-size:9px;padding:4px 7px}.tag-inactive{background:#f3f4f4;color:#909d93}.user-item .icon-button{white-space:nowrap}.section-copy{color:#7c8f81;line-height:1.7;font-size:11px;margin-bottom:17px}.import-form{display:flex;gap:10px;flex-wrap:wrap}.import-form input{border:1px dashed #d5e7d8;background:#fbfdfb;border-radius:9px;padding:11px;min-width:180px;flex:1;font-size:11px;max-width:100%}.audit-list{max-height:240px;overflow:auto}.audit-item{display:flex;gap:10px;border-bottom:1px solid #f1f3f1;padding:10px 0}.audit-item:first-child{padding-top:0}.audit-item:last-child{border:0}.audit-icon{height:24px;width:24px;flex-shrink:0;border-radius:7px;display:grid;place-items:center;background:#eaf5ee;color:#31905a}.audit-item strong{font-size:10.5px}.audit-item p{font-size:10px;margin:5px 0 0;color:#9aa99e}
.notice{border-radius:11px;padding:13px 17px;background:#fff9e9;border:1px solid #f8e9bc;color:#956d26;font-size:12px;margin-bottom:18px}.notice .link-button{color:#91661c;margin-left:8px}.toast{pointer-events:none;position:fixed;bottom:27px;right:28px;z-index:1000;color:white;background:#133a2a;padding:13px 18px;border-radius:11px;box-shadow:0 14px 35px #11271d35;opacity:0;transform:translateY(12px);transition:opacity .15s,transform .15s;font-weight:720;font-size:12px;max-width:370px}.toast.show{opacity:1;transform:translateY(0)}.toast.error{background:#9f3a32}
.modal{border:0;border-radius:17px;padding:0;max-width:430px;width:calc(100% - 30px);box-shadow:0 20px 90px #102a2240}.modal::backdrop{background:#0a271c99}.modal-content{padding:27px;display:flex;flex-direction:column;gap:16px}.modal-head{display:flex;justify-content:space-between;align-items:flex-start}.modal-head h2{margin:7px 0 0}.modal-close{border:0;background:#f1f5f1;color:#6b7d71;border-radius:7px;font-size:21px;height:30px;width:30px;line-height:1}.checkbox-line{font-size:12px;display:flex;gap:8px;align-items:center}.checkbox-line input{accent-color:#178b50}.modal-divider{height:1px;background:#e8efe8;margin:4px 0}
.auth-body{background:#f8faf8;min-height:100vh}.auth-grid{display:grid;grid-template-columns:1.05fr .95fr;min-height:100vh}.auth-showcase{background:radial-gradient(circle at 90% 10%,#215540 0%,transparent 37%),linear-gradient(145deg,#0e3b2c,#061d15);color:#fff;min-height:100vh;position:relative;overflow:hidden}.auth-showcase:after{content:"";position:absolute;right:-160px;bottom:-245px;width:650px;height:650px;border:1px solid #ffffff11;border-radius:50%;box-shadow:0 0 0 65px #ffffff05,0 0 0 125px #ffffff06;pointer-events:none}.showcase-inner{max-width:710px;height:100%;min-height:100vh;margin-left:auto;padding:50px 62px 40px 70px;display:flex;flex-direction:column}.showcase-brand{display:flex;align-items:center;gap:15px}.showcase-brand img{width:72px;height:72px;border-radius:50%;background:white;object-fit:contain;border:3px solid #ffffff2a}.showcase-brand strong{font-size:28px;font-weight:850;letter-spacing:-1px;display:block}.showcase-brand small{color:#9fc3a9;font-size:9px;letter-spacing:1.2px;font-weight:800}.auth-showcase-content{margin:auto 0;position:relative;z-index:1}.light-kicker{color:#80df9e;margin-bottom:23px}.auth-showcase-content h1{font-size:clamp(39px,4.4vw,66px);letter-spacing:-2.7px;line-height:1.12;font-weight:830;max-width:460px;margin:0 0 21px}.auth-showcase-content h1 em{font-style:normal;color:#7ee69d}.auth-showcase-content>p{font-size:15px;line-height:1.85;color:#b5cfc0;max-width:385px}.showcase-highlights{display:flex;flex-wrap:wrap;gap:11px;margin-top:35px}.showcase-highlights>div{border:1px solid #ffffff22;border-radius:10px;padding:10px 12px;color:#d3e7d9;font-size:10px;font-weight:650;background:#ffffff07}.showcase-highlights>div span{color:#88e8a4;font-size:17px;vertical-align:-2px;margin-right:5px}.showcase-bottom{font-size:9px;color:#789f87;letter-spacing:1.1px;font-weight:750;position:relative;z-index:1}.showcase-bottom span{margin:0 9px;color:#6fbe8b}
.auth-panel{background:#fff;display:flex;flex-direction:column;min-height:100vh;padding:55px 58px 30px}.auth-form-wrap{width:100%;max-width:405px;margin:auto}.auth-form-wrap h2{font-size:clamp(30px,3.5vw,40px);font-weight:835;line-height:1.18;letter-spacing:-1.7px;margin:0 0 16px}.auth-form-wrap h2 span,.setup-container h1 span{color:#17874c}.auth-subtitle{font-size:12.5px;line-height:1.75;color:#8d9c92;margin:0 0 35px}.auth-form-wrap .stack-form{gap:19px}.auth-form-wrap .field label{font-size:12px}.auth-form-wrap .field input{height:49px;font-size:12px;padding:0 14px}.auth-submit{height:49px;margin-top:5px;display:flex;justify-content:space-between;padding:0 20px;font-size:13px}.auth-submit span{font-size:18px}.auth-divider{text-align:center;position:relative;color:#b0bcb3;font-size:11px;margin:27px 0}.auth-divider:before{content:"";height:1px;background:#e8eee9;position:absolute;top:50%;left:0;right:0}.auth-divider span{position:relative;background:white;padding:0 14px}.auth-panel .btn-passkey{height:49px;font-size:12px}.auth-small{margin:24px 0 0;font-size:11px;text-align:center;color:#9caaa0;line-height:1.75}.auth-foot{font-size:10px;color:#a2aea6;margin:0 auto}.auth-error{padding:13px 14px;background:#fef0ee;border:1px solid #f5d7d2;border-radius:10px;color:#9f3e37;margin:18px 0;font-size:11px}.mobile-auth-logo{display:none}
.setup-container{width:min(470px,calc(100% - 32px));margin:50px auto;background:white;border-radius:24px;border:1px solid #e8eee8;padding:38px;box-shadow:0 18px 55px #0f37210d}.setup-logo{text-align:center;margin-bottom:20px}.setup-logo img{width:100px;height:100px;border-radius:50%;object-fit:contain}.setup-container h1{font-size:33px;margin-bottom:13px}.setup-container .auth-subtitle{margin-bottom:26px}
@media(max-width:1400px){.main-content{padding:35px 30px 55px}.topbar{padding:0 30px}.site-footer{padding-left:30px;padding-right:30px}.metric-card{padding:20px 17px}.metric-card strong{font-size:22px}}
@media(max-width:1130px){.app-layout{grid-template-columns:225px minmax(0,1fr)}.sidebar{padding:26px 12px 20px}.brand{padding:0 5px;gap:8px}.brand-logo{height:48px;width:48px}.brand-lines strong{font-size:20px}.brand-lines small{font-size:7px}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.booking-form{grid-template-columns:repeat(3,minmax(0,1fr))}.field-wide{grid-column:span 2}.action-field{grid-column:span 1}.dashboard-grid{grid-template-columns:1fr 1fr}}
@media(max-width:800px){.app-layout{display:block}.sidebar{position:fixed;left:0;top:0;bottom:0;transform:translateX(-105%);transition:transform .2s;width:255px}.sidebar.open{transform:translateX(0)}.mobile-cover{position:fixed;inset:0;background:#081c1466;z-index:25}.topbar{height:63px;padding:0 18px}.menu-btn{display:block}.main-content{padding:29px 18px 45px}.site-footer{padding:18px}.settings-grid,.dashboard-grid,.admin-grid,.admin-grid-secondary{grid-template-columns:1fr}.metric-grid{gap:12px}.auth-grid{grid-template-columns:1fr}.auth-showcase{display:none}.auth-panel{min-height:100vh;padding:38px 24px 25px}.mobile-auth-logo{display:block;margin-bottom:25px}.mobile-auth-logo img{width:71px;height:71px;object-fit:contain}.auth-form-wrap{max-width:440px}.auth-foot{margin:20px auto 0}}
@media(max-width:540px){.main-content{padding:24px 13px 40px}.topbar-end .secure-badge,.topbar-separator,.topbar-end #headerUser{display:none}.page-heading{align-items:flex-start;flex-direction:column;margin-bottom:22px}.page-heading .btn{width:100%}.page-heading h1{font-size:29px}.metric-grid{gap:10px}.metric-card{padding:15px 13px;min-height:132px}.metric-card strong{font-size:18px;letter-spacing:-.5px}.metric-top{font-size:10px;margin-bottom:16px}.metric-icon{height:26px;width:26px;font-size:17px}.metric-foot{font-size:9px;line-height:1.35}.surface{padding:18px}.table-scroller{margin:0 -18px}.data-table th:first-child,.data-table td:first-child{padding-left:18px}.data-table th:last-child,.data-table td:last-child{padding-right:18px}.surface-heading{margin-bottom:19px}.booking-form{grid-template-columns:1fr 1fr;gap:11px}.booking-form .field-wide{grid-column:span 2}.booking-form .action-field{grid-column:span 2}.filterbar{width:100%}.search-wrap,.search-wrap input{flex:1;width:100%;min-width:150px}.filterbar select{flex:1;min-width:120px}.bottom-card{padding:16px}.bottom-card-pattern{display:none}.sidebar-info{font-size:10px}.account-box{padding:13px}.auth-panel{padding:22px 19px}.setup-container{padding:24px 21px}}
/* Rollen sichtbar machen; Schreibrechte werden zusätzlich durch die PHP-API geprüft. */
.admin-only{display:none}
body.role-admin .admin-only{display:flex}
body.role-viewer .can-edit{display:none!important}
