@import url('/assets/fonts.css');
:root{--bg:#f7f8f4;--paper:#fff;--ink:#243b34;--muted:#7d8881;--green:#204e43;--lime:#d8ed9a;--border:#e7ebe5;--orange:#c77a4d;--soft:#edf3e9;--shadow:0 12px 45px #243b3408;font-family:Inter,'Segoe UI',Arial,sans-serif;color:var(--ink);font-size:14px;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;background:var(--bg)}button,input,select,textarea{font:inherit}button,a,input,select,textarea{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}button,a{touch-action:manipulation}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #a2bc75;outline-offset:3px}a{color:var(--green)}h1,h2,h3,p{margin:0}h1{font-size:30px;letter-spacing:-1px;font-weight:650}h2{font-size:18px;letter-spacing:-.4px;font-weight:650}h3{font-size:14px;font-weight:650}small,.muted{color:var(--muted)}small{font-size:12px}.icon{width:20px;height:20px;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}.btn{display:inline-flex;gap:9px;align-items:center;justify-content:center;border:1px solid var(--border);border-radius:9px;background:white;color:var(--ink);padding:11px 15px;font-weight:550;min-height:41px;transition:.15s}.btn:hover{background:var(--soft);border-color:#ccd8c6}.btn.primary{background:var(--green);color:white;border-color:var(--green)}.btn.primary:hover{background:#173e35}.btn.soft{background:var(--soft);border-color:transparent;color:var(--green)}.btn.danger{color:#ad4f45;border-color:#efdcd8}.btn.small{padding:7px 11px;min-height:33px;font-size:12px}.icon-btn{border:0;background:transparent;padding:8px;color:var(--muted);border-radius:8px;display:inline-flex}.icon-btn:hover{background:var(--soft);color:var(--green)}.eyebrow{text-transform:uppercase;letter-spacing:2px;font-size:10px;font-weight:650;color:var(--muted)}.badge{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;font-size:10px;border-radius:5px;background:#eff2ec;color:#6d7d70;font-weight:600;white-space:nowrap}.badge.green{background:#e8f3e6;color:#3f7645}.badge.orange{background:#fbefe2;color:#ae743f}.badge.purple{background:#f0edf8;color:#8a72b1}.money{font-variant-numeric:tabular-nums;white-space:nowrap}.money small{font-size:.55em;font-weight:450;margin-left:4px}.boot{height:100dvh;display:grid;place-content:center;text-align:center;gap:20px}.boot img{margin:auto}.boot p{color:var(--muted)}
.sidebar{position:fixed;inset:0 auto 0 0;width:240px;background:#fff;border-right:1px solid var(--border);display:flex;flex-direction:column;z-index:20;padding:30px 20px 18px}.brand{width:169px;height:auto;margin:0 0 32px 4px}.workspace-label{font-size:10px;letter-spacing:1.6px;color:var(--muted);padding:0 12px;margin-bottom:10px}.project-switch{padding:12px;background:#f6f8f3;border:1px solid var(--border);border-radius:10px;margin-bottom:28px}.project-switch label{font-size:10px;color:#7a8980;display:block;margin-bottom:6px}.project-switch select{border:0;background:transparent;width:100%;font-size:12px;font-weight:600;color:var(--green);padding:0;cursor:pointer}.nav-group{margin-bottom:27px}.nav-group .eyebrow{padding:0 12px;margin-bottom:9px;font-size:9px}.nav{display:flex;align-items:center;gap:11px;width:100%;padding:12px 13px;border:0;border-radius:8px;background:none;text-align:left;color:#8b948e;font-size:13px;margin:4px 0}.nav:hover{color:var(--green);background:#f5f7f2}.nav.active{background:#edf3e6;color:var(--green);font-weight:600}.nav.active:after{content:'';width:5px;height:5px;border-radius:50%;background:var(--green);margin-left:auto}.nav .count{margin-left:auto;font-size:10px;color:#667f62;background:#e1ead9;border-radius:4px;padding:2px 6px}.sidebar-bottom{margin-top:auto}.semester-card{padding:16px 13px;background:#f7f8f2;border-radius:11px;margin:20px 0}.semester-card .icon{color:#80916e;margin-bottom:8px}.semester-card p{font-size:11px;line-height:1.7;color:#929b8b;margin-top:7px}.profile{border-top:1px solid var(--border);padding:18px 2px 0;display:flex;gap:10px;align-items:center}.avatar{display:inline-flex;align-items:center;justify-content:center;background:#e7ede0;color:#536e40;width:35px;height:35px;border-radius:50%;font-size:11px;font-weight:600;flex:none}.avatar.c1{background:#f1e8df;color:#af794a}.avatar.c2{background:#e7edf4;color:#6183a1}.avatar.c3{background:#eee8f2;color:#9b79a8}.avatar.c4{background:#e7eeee;color:#5b8b83}.profile strong{font-size:12px;display:block;margin-bottom:3px}.profile small{font-size:10px}.profile .icon-btn{margin-left:auto}.main{margin-left:240px;min-height:100dvh}.topbar{height:76px;padding:0 38px;border-bottom:1px solid var(--border);background:#ffffffb3;display:flex;align-items:center;gap:12px;font-size:11px;color:#99a19a}.topbar strong{color:#63756a;font-weight:500}.topbar .top-right{margin-left:auto;display:flex;align-items:center;gap:14px}.topbar .icon{width:15px;height:15px}.live-dot{width:6px;height:6px;background:#81a273;border-radius:50%;display:inline-block;margin-right:5px}.mobile-toggle{display:none}.content{max-width:1510px;padding:34px 38px 40px;margin:auto}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}.page-heading p{color:#89938b;font-size:12px;margin-top:9px;line-height:1.6}.heading-actions{display:flex;gap:9px}.preview-banner{background:#f3eacc;border-bottom:1px solid #e7dfbd;padding:7px 20px;text-align:center;color:#8a7844;font-size:11px}.stats-row{display:grid;grid-template-columns:repeat(4,1fr);gap:17px;margin-bottom:22px}.stat{background:#fff;border:1px solid var(--border);border-radius:12px;padding:21px 22px;min-width:0}.stat .stat-label{display:flex;align-items:center;justify-content:space-between;color:#849185;font-size:11px}.stat .stat-label .icon{color:#9ba98f;width:17px;height:17px}.stat .number{font-size:27px;letter-spacing:-.9px;margin-top:15px;font-weight:600}.stat .footnote{font-size:10px;color:#9aa293;margin-top:9px}.stat.featured{background:var(--green);border-color:var(--green);color:#fff;position:relative;overflow:hidden}.stat.featured:after{content:'';position:absolute;width:170px;height:170px;right:-74px;bottom:-110px;border:25px solid #ffffff06;border-radius:50%;pointer-events:none}.stat.featured .stat-label{color:#c0d2bf}.stat.featured .number small{color:#a7c49d}.stat.featured .footnote{color:#a6c49a}.stat.featured .icon{color:#d8ed9a}.overview-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(280px,1fr);gap:21px;margin-bottom:22px}.card{background:#fff;border:1px solid var(--border);border-radius:12px;overflow:hidden;box-shadow:var(--shadow)}.card-header{padding:22px 24px;display:flex;align-items:center;justify-content:space-between;gap:12px}.card-header p{font-size:10px;color:#929c92;margin-top:7px}.card-header h2{font-size:15px}.text-btn{background:none;border:0;color:#6e8764;font-size:11px;padding:5px;display:inline-flex;gap:7px;align-items:center}.text-btn:hover{color:var(--green)}.text-btn .icon{width:14px;height:14px}.team-bars{padding:0 24px 23px}.team-bar-row{display:flex;align-items:center;gap:11px;padding:10px 0}.team-bar-row .avatar{width:32px;height:32px}.team-bar-detail{flex:1;min-width:0}.team-bar-meta{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px;font-size:11px;gap:5px}.team-bar-meta strong{font-size:12px;font-weight:550}.bar-track{height:5px;border-radius:5px;background:#f1f4ee;overflow:hidden}.bar-fill{height:100%;background:#8fab68;border-radius:5px;min-width:0}.team-bar-row:nth-child(2) .bar-fill{background:#cba77e}.team-bar-row:nth-child(3) .bar-fill{background:#a5b6c6}.team-bar-row:nth-child(4) .bar-fill{background:#b6a0c0}.team-bar-row:nth-child(5) .bar-fill{background:#82a8a0}.contribution-note{padding:13px 24px;border-top:1px solid var(--border);font-size:10px;color:#97a08f;display:flex;gap:7px;align-items:center}.contribution-note .icon{width:13px;height:13px}.category-body{padding:0 24px 23px;display:flex;align-items:center;gap:25px;min-height:235px}.donut{width:145px;height:145px;flex:none;border-radius:50%;position:relative;display:grid;place-content:center;text-align:center}.donut:before{content:'';position:absolute;inset:19px;background:#fff;border-radius:50%}.donut strong,.donut small{position:relative}.donut strong{font-size:27px;letter-spacing:-1px}.donut small{font-size:9px;margin-top:5px}.legend{flex:1}.legend-row{display:flex;gap:7px;align-items:center;font-size:10px;color:#80907d;margin-bottom:17px;white-space:nowrap}.legend-row:last-child{margin-bottom:0}.legend-row .dot{width:7px;height:7px;flex:none;border-radius:2px}.legend-row span:last-child{margin-left:auto;color:#344e3e;font-size:10px}.table-scroll{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:11px}th{font-size:9px;letter-spacing:.5px;text-transform:uppercase;color:#95a08e;background:#fafbf8;font-weight:550;padding:13px 22px;white-space:nowrap;border-top:1px solid var(--border);border-bottom:1px solid var(--border)}td{padding:16px 22px;border-bottom:1px solid #f0f2ec;vertical-align:middle}tr:last-child td{border-bottom:0}tbody tr:hover{background:#fbfcf9}.expense-name{display:flex;align-items:center;gap:11px;min-width:180px}.expense-icon{width:34px;height:34px;display:grid;place-items:center;border-radius:9px;background:#eff3e7;color:#8b9f72;flex:none}.expense-icon .icon{width:17px;height:17px}.expense-name strong{font-size:11px;font-weight:550;display:block}.expense-name small{font-size:9px;display:block;margin-top:4px}.pill-avatars{display:flex;align-items:center}.pill-avatars .avatar{width:25px;height:25px;font-size:8px;border:2px solid #fff;margin-left:-6px}.pill-avatars .avatar:first-child{margin-left:0}.paid-label{margin-left:7px;color:#8a9589;font-size:9px;white-space:nowrap}.receipt-badge{display:inline-flex;align-items:center;gap:5px;font-size:10px;color:#67825a}.receipt-badge.missing{color:#b8bfb3}.receipt-badge .icon{width:13px;height:13px}.table-footer{padding:15px 23px;border-top:1px solid var(--border);font-size:10px;color:#9ba491;display:flex;justify-content:space-between}.bottom-grid{display:grid;grid-template-columns:1.3fr 1fr;gap:21px;margin-top:22px}.activity-list{padding:0 24px 10px}.activity{display:flex;gap:12px;padding:12px 0;position:relative}.activity-icon{width:28px;height:28px;border-radius:50%;background:#eff4e9;color:#8ea276;display:grid;place-content:center;flex:none}.activity-icon .icon{width:13px;height:13px}.activity-content{flex:1;min-width:0}.activity-content p{font-size:11px;line-height:1.7;color:#8d9888}.activity-content strong{font-weight:550;color:#506b47}.activity-content .entity{color:#435a3d}.activity-content small{font-size:9px;color:#a4ab9c;display:block;margin-top:4px}.activity time{font-size:9px;color:#a5ad9e;white-space:nowrap;padding-top:3px}.budget-panel{padding:25px;background:#eff2e5;border-radius:12px;border:1px solid #e5e9d9;display:flex;flex-direction:column;justify-content:center;position:relative;overflow:hidden}.budget-panel .eyebrow{color:#8b9b75;font-size:9px}.budget-panel h2{font-size:20px;line-height:1.4;max-width:245px;margin:13px 0 9px}.budget-panel p{color:#92a080;font-size:11px;line-height:1.8;max-width:270px}.budget-panel .budget-track{height:7px;background:#dce4cb;border-radius:9px;margin:25px 0 10px;overflow:hidden}.budget-panel .budget-track span{height:100%;background:#8ea56c;display:block;border-radius:9px}.budget-meta{display:flex;justify-content:space-between;font-size:10px;color:#7d9067}.budget-panel .budget-decoration{position:absolute;right:20px;top:28px;opacity:.12;width:60px;height:60px}.footer{display:flex;justify-content:space-between;color:#adb4a8;font-size:9px;margin-top:30px}.toolbar{padding:0 22px 20px;display:flex;gap:10px;flex-wrap:wrap}.search{position:relative;flex:1;min-width:200px}.search .icon{position:absolute;top:11px;left:12px;width:16px;height:16px;color:#a2ac99}.search input{padding-left:37px}.field{display:flex;flex-direction:column;gap:8px}.field label,.field-label{font-size:11px;font-weight:550;color:#6f8265}.field input,.field select,.field textarea,input.control,select.control,.search input{width:100%;border:1px solid #e0e6d9;background:#fff;color:var(--ink);padding:11px 12px;border-radius:8px;min-height:41px}.field textarea{resize:vertical;min-height:80px}.toolbar .control{width:auto;min-width:130px}.search input{padding-left:36px}.empty{text-align:center;padding:65px 20px;color:#9aa58f}.empty .icon{width:36px;height:36px;display:block;margin:0 auto 18px;color:#b9c8a8}.empty h2{font-size:18px;color:#607654;margin-bottom:10px}.empty p{font-size:12px;line-height:1.8;max-width:390px;margin:0 auto 20px}.full-activity{padding:0 26px 20px}.full-activity .activity{padding:20px 0;border-bottom:1px solid var(--border)}.history-detail{margin-top:8px;font-size:10px;color:#84937a;display:flex;flex-wrap:wrap;gap:6px}.history-detail span{padding:4px 7px;background:#f4f6ee;border-radius:5px}.receipts-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:19px}.receipt-card{background:#fff;border:1px solid var(--border);border-radius:12px;overflow:hidden}.receipt-preview{height:140px;background:#f1f4eb;display:grid;place-content:center;color:#9cac89}.receipt-preview .icon{width:47px;height:47px;stroke-width:1.1}.receipt-info{padding:18px}.receipt-info h3{font-size:12px;overflow-wrap:anywhere;margin-bottom:8px}.receipt-info p{font-size:10px;color:#a0aa94;line-height:1.7}.receipt-info .btn{margin-top:15px}.team-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.member-card{padding:25px;background:#fff;border:1px solid var(--border);border-radius:12px}.member-card .avatar{width:46px;height:46px;font-size:15px;margin-bottom:17px}.member-card h2{font-size:17px}.member-card p{font-size:11px;color:#97a18d;margin:7px 0 20px;overflow-wrap:anywhere}.member-card .number{font-size:25px;font-weight:600}.member-card .member-meta{margin-top:8px;color:#9da58f;font-size:10px}.project-list{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.project-card{padding:24px}.project-card h2{margin:14px 0 9px}.project-card p{font-size:12px;color:#9aa58f;line-height:1.7}.project-card .project-foot{margin-top:24px;padding-top:18px;border-top:1px solid var(--border);display:flex;align-items:center;justify-content:space-between}.admin-summary{display:flex;gap:12px;align-items:center;margin-bottom:22px;padding:18px 22px;background:#edf2e5;border:1px solid #e0e8d5;border-radius:10px;color:#82966e;font-size:12px}.admin-summary strong{color:#506e3a}.tab-pills{display:flex;gap:8px;margin-bottom:22px;flex-wrap:wrap}.tab-pills button{background:none;border:1px solid transparent;border-radius:7px;padding:9px 15px;color:#99a38d;font-size:11px}.tab-pills button.active{background:#fff;border-color:var(--border);color:var(--green)}
dialog{border:1px solid var(--border);border-radius:16px;box-shadow:0 20px 100px #173b3440;padding:0;width:min(620px,calc(100vw - 28px));max-height:90dvh;color:var(--ink)}dialog::backdrop{background:#16382d66;backdrop-filter:blur(3px)}.modal-header{display:flex;align-items:center;justify-content:space-between;padding:24px 27px;border-bottom:1px solid var(--border);position:sticky;top:0;background:#fff;z-index:2}.modal-header h2{font-size:20px}.modal-header p{font-size:11px;color:#95a08b;margin-top:7px}.modal-body{padding:24px 27px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.span-2{grid-column:1/-1}.form-section{margin-top:25px}.section-label{display:flex;justify-content:space-between;align-items:center;margin-bottom:13px}.section-label strong{font-size:12px}.segment{display:flex;background:#f3f5ed;border-radius:8px;padding:4px;gap:3px;margin-bottom:17px}.segment button{flex:1;border:0;background:none;color:#95a18a;font-size:11px;padding:8px;border-radius:5px}.segment button.active{background:#fff;color:var(--green);box-shadow:0 1px 4px #203d3410}.payers{display:flex;gap:8px;flex-wrap:wrap}.payer{display:flex;align-items:center;gap:7px;border:1px solid #e4e9db;border-radius:8px;padding:9px;font-size:11px;color:#91a07f;cursor:pointer}.payer:has(input:checked){background:#f0f5e5;color:#526f38;border-color:#afc690}.payer input{accent-color:var(--green);margin:0}.shares{margin-top:15px;background:#f8faf4;padding:14px;border-radius:8px}.share-row{display:flex;justify-content:space-between;gap:15px;align-items:center;font-size:11px;color:#8a9c77;padding:7px 0}.share-row input{width:120px;border:1px solid #dce5d2;border-radius:6px;padding:7px;text-align:right;color:var(--green);background:#fff}.share-row strong{font-weight:550;color:#5a7540}.split-note{margin-top:9px;color:#9ca98c;font-size:10px;line-height:1.7}.upload-zone{border:1px dashed #becda9;border-radius:9px;background:#f8faf3;padding:22px;display:flex;gap:12px;align-items:center;justify-content:center;cursor:pointer;color:#92a17f;text-align:center}.upload-zone:hover{background:#f0f6e6}.upload-zone .icon{width:26px;height:26px}.upload-zone strong{font-size:11px;font-weight:550;display:block;color:#6c8651}.upload-zone small{font-size:9px;display:block;margin-top:6px}.upload-zone input{position:absolute;width:1px;height:1px;opacity:0}.attachment{display:flex;gap:9px;align-items:center;margin-top:10px;padding:10px;background:#f2f6e9;border-radius:7px;color:#72895b;font-size:10px}.attachment span{flex:1;overflow-wrap:anywhere}.attachment .icon{width:15px;height:15px}.modal-footer{display:flex;gap:10px;justify-content:flex-end;padding:20px 27px;border-top:1px solid var(--border);background:#fafbf7;position:sticky;bottom:0}.form-error{padding:12px;background:#fcf0eb;border:1px solid #f0d6c8;color:#b9755b;border-radius:8px;font-size:11px;line-height:1.7;margin-bottom:17px}.hidden,[hidden]{display:none!important}#toast{position:fixed;bottom:26px;left:50%;transform:translate(-50%,20px);background:#234f42;color:white;padding:13px 22px;border-radius:10px;box-shadow:0 8px 30px #203d3433;opacity:0;pointer-events:none;transition:.2s;z-index:99;font-size:12px;max-width:90vw;text-align:center}#toast.show{opacity:1;transform:translate(-50%,0)}#toast.error{background:#9c5f4c}.check-row{display:flex;gap:8px;align-items:center;font-size:11px;color:#81946e}.check-row input{accent-color:var(--green)}.checkbox-list{display:grid;gap:10px;margin-top:10px;max-height:200px;overflow:auto}.checkbox-list label{display:flex;gap:8px;align-items:center;font-size:12px;padding:10px;background:#f5f8ef;border-radius:7px}.checkbox-list input{accent-color:var(--green)}.login{display:grid;grid-template-columns:1fr 1fr;min-height:100dvh}.login-story{background:#eaf0df;padding:45px 65px;position:relative;overflow:hidden;display:flex;flex-direction:column}.login-story:after{content:'';width:450px;height:450px;position:absolute;border:1px solid #dce4ce;border-radius:50%;bottom:-140px;right:-180px;box-shadow:0 0 0 75px #e0e8d255,0 0 0 150px #e0e8d233;pointer-events:none}.login-story .brand{width:185px}.login-story .story-body{margin:auto 0;position:relative;z-index:1;padding:35px 0}.story-body .eyebrow{color:#8a9f72}.story-body h1{font-size:48px;line-height:1.15;letter-spacing:-2px;margin:23px 0 20px;max-width:420px;color:#355834}.story-body>p{font-size:14px;line-height:1.9;max-width:340px;color:#91a07e}.story-receipt{background:#fff;box-shadow:0 25px 55px #4a674219;width:295px;padding:25px 24px;margin:40px 0 20px 40px;border-radius:10px;transform:rotate(-5deg);position:relative}.story-receipt:after{content:'';position:absolute;bottom:-6px;left:0;right:0;height:13px;background:radial-gradient(circle,#eaf0df 5px,transparent 5.5px) 0 0/15px 15px}.story-receipt .r-head{display:flex;justify-content:space-between;align-items:center;padding-bottom:17px;border-bottom:1px dashed #e4eadb}.story-receipt .r-head strong{font-size:13px;color:#728958}.story-receipt .r-line{display:flex;justify-content:space-between;font-size:11px;color:#99a78b;margin:19px 0}.story-receipt .r-total{display:flex;justify-content:space-between;border-top:1px dashed #e4eadb;padding:19px 0 8px;font-size:13px;color:#6a8353}.story-stamp{position:absolute;right:-35px;bottom:40px;transform:rotate(9deg);background:var(--green);color:#d8ed9a;padding:12px 17px;border-radius:10px;box-shadow:0 10px 25px #32563222;font-size:11px;display:flex;align-items:center;gap:8px}.story-stamp .icon{width:16px;height:16px}.login-story>.eyebrow{font-size:8px;letter-spacing:1.3px;color:#a1af8f;position:relative;z-index:1}.login-form-side{display:flex;align-items:center;justify-content:center;padding:50px 35px;background:#fff}.login-form{width:350px}.login-form .brand{display:none}.login-form .login-tag{display:inline-flex;gap:6px;align-items:center;color:#98aa82;background:#f5f8ee;font-size:9px;padding:7px 10px;border-radius:6px;margin-bottom:22px}.login-form .login-tag .icon{width:12px;height:12px}.login-form h1{font-size:29px}.login-form>p{font-size:12px;color:#99a48f;margin-top:12px;line-height:1.8}.login-form form{display:grid;gap:20px;margin-top:30px}.login-form .login-options{display:flex;justify-content:space-between;align-items:center}.login-form .text-btn{font-size:10px}.login-form .btn.primary{padding:13px}.login-form .login-help{font-size:10px;color:#adb59e;margin-top:25px;text-align:center;line-height:1.8}.demo-access{margin-top:25px;border-top:1px solid var(--border);padding-top:20px}.demo-access p{font-size:10px;text-align:center;color:#a4ad98;line-height:1.8;margin-bottom:12px}.demo-access .btn{width:100%}
@media(min-width:1500px){.content{padding-top:40px}.category-body{gap:35px}.donut{width:165px;height:165px}}
@media(max-width:1200px){.sidebar{width:210px;padding-left:15px;padding-right:15px}.main{margin-left:210px}.content{padding:28px 25px}.topbar{padding:0 25px}.stats-row{gap:12px}.stat{padding:19px 15px}.category-body{flex-direction:column;gap:20px;padding-bottom:20px}.legend{width:100%;display:grid;grid-template-columns:1fr 1fr;column-gap:20px}.legend-row{margin-bottom:12px}.overview-grid{grid-template-columns:1.1fr 1fr}.donut{width:130px;height:130px}.team-bars{padding-bottom:10px}.team-bar-row{padding:14px 0}th,td{padding-left:16px;padding-right:16px}.login-story{padding:40px}.story-body h1{font-size:42px}}
@media(max-width:950px){.stats-row{grid-template-columns:1fr 1fr}.overview-grid,.bottom-grid{grid-template-columns:1fr}.category-body{flex-direction:row;min-height:180px;gap:40px}.legend{display:block}.receipts-grid,.team-grid{grid-template-columns:1fr 1fr}.page-heading{align-items:flex-start}.heading-actions{flex-direction:column}.topbar .top-date{display:none}.login-story{padding:30px}.story-body h1{font-size:36px}.story-receipt{margin-left:0;width:265px}.story-stamp{right:-20px}.project-list{grid-template-columns:1fr}}
@media(max-width:700px){.sidebar{transform:translateX(-100%);transition:.2s;width:240px;box-shadow:10px 0 50px #234f4222}.sidebar.open{transform:translateX(0)}.main{margin-left:0}.mobile-toggle{display:inline-flex}.topbar{height:61px;padding:0 18px}.content{padding:23px 18px 30px}h1{font-size:25px}.page-heading{margin-bottom:22px;gap:10px}.heading-actions .btn{font-size:10px;padding:9px 11px;min-height:35px}.heading-actions .btn .icon{width:15px;height:15px}.page-heading p{font-size:10px;max-width:230px}.stats-row{gap:10px}.stat{padding:16px}.stat .number{font-size:24px}.stat .stat-label{font-size:10px}.stat .footnote{font-size:9px}.card-header{padding:20px}.team-bars{padding:0 20px 20px}.team-bar-row{padding:10px 0}.category-body{gap:20px;padding:0 20px 24px}.donut{width:130px;height:130px}.legend-row{font-size:9px}.bottom-grid{gap:18px}.footer{gap:15px;font-size:8px;line-height:1.8}.receipts-grid,.team-grid{gap:12px}.member-card{padding:18px}.member-card p{font-size:9px}.member-card .number{font-size:22px}.form-grid{gap:17px}.modal-body{padding:20px}.modal-header{padding:20px}.modal-footer{padding:17px 20px}.payers{gap:6px}.payer{font-size:10px;padding:8px}.login{display:block}.login-story{display:none}.login-form-side{min-height:100dvh;padding:35px 25px}.login-form .brand{display:block;margin-bottom:45px;width:175px}.login-form{width:100%;max-width:380px}.receipt-preview{height:110px}.receipt-info{padding:14px}.receipt-info h3{font-size:11px}.activity time{display:none}.table-footer{font-size:9px}.preview-banner{font-size:9px}.toolbar{padding:0 15px 15px;gap:8px}.toolbar .control{font-size:11px;min-width:100px;flex:1}.search{min-width:100%;}.admin-summary{font-size:10px}.topbar .top-right{font-size:9px}.full-activity{padding:0 20px 15px}.project-foot{gap:10px}.project-foot .btn{font-size:10px}.project-foot small{font-size:10px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
.language-toggle{border:1px solid var(--border);background:#fff;color:var(--green);border-radius:7px;padding:7px 10px;font-size:11px;line-height:1.4;white-space:nowrap;font-weight:600}.language-toggle:hover{background:var(--soft)}.login-form .language-toggle{position:absolute;top:30px;right:30px}
html[lang=ar]{font-family:'Segoe UI',Tahoma,Arial,sans-serif;letter-spacing:0}html[lang=ar] h1,html[lang=ar] h2,html[lang=ar] .eyebrow,html[lang=ar] .workspace-label{letter-spacing:0}html[lang=ar] h1{line-height:1.5}html[lang=ar] .eyebrow,html[lang=ar] .workspace-label{font-size:11px}html[lang=ar] .page-heading p,html[lang=ar] .card-header p{line-height:1.8}html[dir=rtl] .sidebar{inset:0 0 0 auto;border-left:1px solid var(--border);border-right:0}html[dir=rtl] .main{margin-left:0;margin-right:240px}html[dir=rtl] .nav{text-align:right}html[dir=rtl] .nav.active:after,html[dir=rtl] .nav .count,html[dir=rtl] .profile .icon-btn,html[dir=rtl] .topbar .top-right{margin-left:0;margin-right:auto}html[dir=rtl] .money{direction:ltr;unicode-bidi:isolate;display:inline-block}html[dir=rtl] .money small{margin-left:4px}html[dir=rtl] table{text-align:right}html[dir=rtl] .legend-row span:last-child{margin-left:0;margin-right:auto}html[dir=rtl] .paid-label{margin-left:0;margin-right:7px}html[dir=rtl] .pill-avatars .avatar{margin-left:0;margin-right:-6px}html[dir=rtl] .pill-avatars .avatar:first-child{margin-right:0}html[dir=rtl] .search .icon{left:auto;right:12px}html[dir=rtl] .search input{padding-left:12px;padding-right:37px}html[dir=rtl] .topbar>.icon:last-of-type,html[dir=rtl] .text-btn .icon{transform:scaleX(-1)}html[dir=rtl] .live-dot{margin-right:0;margin-left:5px}html[dir=rtl] .login-form .language-toggle{right:auto;left:30px}html[dir=rtl] .login-story:after{right:auto;left:-180px}html[dir=rtl] .story-receipt{margin-left:0;margin-right:40px;transform:rotate(5deg)}html[dir=rtl] .story-stamp{right:auto;left:-35px;transform:rotate(-9deg)}html[dir=rtl] .budget-decoration{right:auto;left:20px}html[dir=rtl] .share-row input{direction:ltr;text-align:left}html[dir=rtl] input[type=email],html[dir=rtl] input[type=password],html[dir=rtl] input[type=number]{direction:ltr;text-align:right}html[dir=rtl] .activity time{direction:rtl}html[dir=rtl] .brand{margin-left:0;margin-right:4px}html[lang=ar] .story-body h1{line-height:1.35}
@media(max-width:1200px){html[dir=rtl] .main{margin-right:210px}}
@media(max-width:700px){html[dir=rtl] .sidebar{transform:translateX(100%)}html[dir=rtl] .sidebar.open{transform:translateX(0)}html[dir=rtl] .main{margin-right:0}html[lang=ar] .page-heading h1{font-size:23px}html[lang=ar] .topbar{font-size:10px}html[lang=ar] .stat .stat-label{font-size:11px}.language-toggle{font-size:10px;padding:6px 8px}}

/* Simple expense workspace and authenticated receipt viewer. */
.sidebar{height:100dvh;overflow-y:auto}.sidebar-bottom{flex-shrink:0}.profile>div{min-width:0}.profile strong{overflow-wrap:anywhere}.logout-button{width:100%;justify-content:center;margin-top:12px;border-color:#c3cebe;color:var(--green);font-weight:600;min-height:42px;background:#fff}.simple-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.receipt-preview{width:100%;border:0;font:inherit;gap:10px;cursor:pointer}.receipt-preview span{font-size:12px;font-weight:600}.receipt-preview:hover{background:#e5edda}.receipt-purpose{padding:12px;background:#f1f5ea;border-radius:8px;margin-bottom:16px;font-size:12px;line-height:1.7}.receipt-purpose>span{color:#6c7b63;font-size:10px}.receipt-purpose ul{list-style:none;padding:0;margin:4px 0 0;font-weight:600;overflow-wrap:anywhere}.receipt-purpose p{margin:4px 0 0}.receipt-actions{display:flex;flex-wrap:wrap;gap:8px}.receipt-actions .btn{margin-top:12px}.receipt-viewer{width:min(1050px,calc(100vw - 24px))}.receipt-viewer .modal-header p{overflow-wrap:anywhere}.receipt-view-content{min-height:180px;background:#f3f5f0;border-radius:9px;display:grid;place-items:center;overflow:hidden}.receipt-view-content img{display:block;max-width:100%;height:auto;max-height:65dvh;object-fit:contain}.receipt-view-content iframe{width:100%;height:65dvh;min-height:300px;border:0;background:#fff}.receipt-viewer .modal-body{padding:18px}.receipt-viewer .receipt-purpose{margin-bottom:14px}.overview-grid .activity-list{padding-bottom:12px}
@media(max-width:700px){.simple-stats{grid-template-columns:1fr}.sidebar{padding-bottom:max(18px,env(safe-area-inset-bottom))}.receipt-viewer .modal-header{padding:18px}.receipt-view-content iframe{height:58dvh}.receipt-actions .btn{flex:1;justify-content:center}}

.pdf-controls{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:12px;font-size:12px}.pdf-zoom{display:flex;align-items:center;gap:10px;margin-inline-start:auto}.receipt-view-content:has(canvas){display:block;overflow:auto;max-height:65dvh;padding:15px;text-align:center;direction:ltr}.receipt-view-content canvas{display:block;margin:0 auto;background:#fff;box-shadow:0 2px 12px #0001}.pdf-controls .btn:disabled{opacity:.45;cursor:default}@media(max-width:500px){.pdf-controls{gap:6px}.pdf-controls .btn{padding:8px}.pdf-zoom{margin-inline-start:0}.receipt-view-content:has(canvas){max-height:55dvh}}

.admin-inspection{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 24px;background:#edf3e6;border-bottom:1px solid var(--border);font-size:12px}.admin-inspection .text-btn{white-space:nowrap}
