:root{font-family:"DM Sans",sans-serif;color:#183d35;background:#f7f8f4;font-synthesis:none;--forest:#163f37;--forest2:#0e6654;--mint:#d9efe6;--canvas:#f7f8f4;--line:#e5e9e2;--muted:#6f8178;--orange:#ed8458;--red:#c9544b;--gold:#daa85b}
*{box-sizing:border-box}body{margin:0;min-height:100vh}button,input,select,textarea{font:inherit}button{cursor:pointer}a{color:inherit}h1,h2,h3,h4,p{margin:0}h1,h2,h3{font-family:Manrope,sans-serif;letter-spacing:-.04em}h1{font-size:clamp(29px,3vw,43px);line-height:1.13}h2{font-size:23px}h3{font-size:18px;letter-spacing:-.025em}p{line-height:1.55}small{font-size:12px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #e4a14e;outline-offset:2px}button:disabled{opacity:.4;cursor:not-allowed}input,select,textarea{width:100%;padding:12px 13px;border:1px solid #d8e0d8;border-radius:12px;background:#fff;color:#183d35;outline:none;min-height:45px}textarea{min-height:100px;resize:vertical}input:focus,select:focus,textarea:focus{border-color:#157d62;box-shadow:0 0 0 3px #167e6017}label{display:block;font-weight:700;font-size:13px;margin-bottom:7px}strong{font-weight:800}.app-loading{display:grid;place-content:center;min-height:100vh;text-align:center;color:var(--muted);gap:15px}.loading-mark,.logo-mark{width:42px;height:42px;display:grid;place-items:center;border-radius:14px;background:var(--forest);color:white;font-family:Manrope;font-size:29px;font-weight:800;letter-spacing:-.1em}.loading-mark span,.logo-mark span{color:#f5b270}.shell{display:grid;grid-template-columns:245px minmax(0,1fr);min-height:100vh}.sidebar{background:#12392f;color:#fff;padding:29px 17px 20px;display:flex;flex-direction:column;gap:32px;position:sticky;top:0;height:100vh}.brand{display:flex;align-items:center;gap:11px;padding:0 9px}.brand-name{font-family:Manrope;font-weight:800;font-size:20px;letter-spacing:-.045em}.brand-name span{color:#eeb581}.group-pill{background:#254c41;border:1px solid #3c6054;border-radius:13px;padding:12px;display:flex;align-items:center;gap:10px;width:100%;color:#fff;text-align:left}.group-pill .group-avatar{background:#e0cda8;color:#174238;border-radius:10px;width:35px;height:35px;display:grid;place-items:center;font-weight:800}.group-pill strong{display:block;font-size:13px}.group-pill small{color:#a7c5b9}.sidebar nav{display:grid;gap:5px}.nav-section{font-size:10px;text-transform:uppercase;letter-spacing:.15em;color:#8eaf9f;padding:0 13px;margin:12px 0 6px;font-weight:800}.nav-link{display:flex;align-items:center;gap:12px;width:100%;border:0;border-radius:11px;padding:12px;color:#c3d7cc;background:none;text-align:left;font-size:13px;font-weight:700;transition:.2s}.nav-link:hover{background:#214f40;color:white}.nav-link.active{background:#e5f3e9;color:#1c523f}.nav-link svg{width:17px;height:17px}.side-footer{margin-top:auto;border-top:1px solid #365b4d;padding:18px 10px 0;display:flex;align-items:center;gap:11px}.profile-avatar,.avatar{border-radius:100%;display:grid;place-items:center;font-weight:800;background:#dfede1;color:#2b7354;flex-shrink:0}.profile-avatar{height:37px;width:37px}.side-footer strong{font-size:12px;display:block}.side-footer small{color:#9bb7a9}.main{min-width:0}.topbar{height:75px;background:#fff;border-bottom:1px solid #edf0e9;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(20px,4vw,57px)}.breadcrumbs{font-size:12px;color:#73877a;font-weight:700}.topbar-actions{display:flex;align-items:center;gap:14px}.today{font-size:12px;color:#84948a}.topbar-avatar{width:36px;height:36px}.mobile-menu{display:none}.content{max-width:1390px;margin:auto;padding:35px clamp(20px,4vw,57px) 70px}.page-head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:29px}.eyebrow{font-size:11px;text-transform:uppercase;letter-spacing:.16em;color:#719184;font-weight:800;margin-bottom:10px}.subtitle{color:#809187;font-size:14px;margin-top:8px}.actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.btn{border:1px solid transparent;border-radius:12px;padding:11px 16px;font-size:13px;font-weight:800;display:inline-flex;gap:9px;align-items:center;justify-content:center;transition:background .2s,border-color .2s,transform .2s;white-space:nowrap;line-height:1.3}.btn:hover:not(:disabled){transform:translateY(-1px)}.btn svg{height:17px;width:17px}.btn-primary{background:#225c47;color:white}.btn-primary:hover{background:#174b3b}.btn-accent{background:#e9a56c;color:#2b3525}.btn-accent:hover{background:#e7b581}.btn-light{background:white;border-color:#dae5db;color:#29513e}.btn-light:hover{background:#ecf4ed}.btn-ghost{background:none;color:var(--forest2)}.btn-danger{background:#f9e6e3;color:#af4138}.btn-sm{padding:8px 12px;font-size:12px;border-radius:9px}.btn-full{width:100%}.icon{width:18px;height:18px;display:inline-block;flex-shrink:0;stroke:currentColor;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.grid{display:grid;gap:19px}.stats-grid{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:24px}.stat{background:white;border:1px solid #e7ebe5;border-radius:17px;padding:21px;min-width:0}.stat-label{display:flex;gap:9px;align-items:center;color:#70847a;font-size:12px;font-weight:700;margin-bottom:21px}.stat .icon{color:#51856b}.stat-number{font:800 clamp(24px,2.4vw,32px)/1.2 Manrope,sans-serif;letter-spacing:-.05em;overflow-wrap:anywhere}.stat-note{color:#89978e;font-size:11px;margin-top:8px}.stat-highlight{background:#1f5846;color:#fff;border-color:#1f5846}.stat-highlight .stat-label,.stat-highlight .stat-note{color:#c8e3d5}.stat-highlight .icon{color:#c1e9d5}.dash-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(290px,.9fr);gap:20px;margin-bottom:22px}.panel{background:white;border:1px solid #e7ebe5;border-radius:17px;overflow:hidden}.panel-head{padding:23px 24px 17px;display:flex;align-items:center;justify-content:space-between;gap:12px}.panel-head h3{font-size:16px}.panel-body{padding:0 24px 22px}.panel-foot{padding:14px 24px;border-top:1px solid #edf0ec;display:flex;justify-content:space-between;align-items:center}.text-link{color:#29694d;font-size:12px;font-weight:800;border:0;background:none}.coffee-hero{background:#e8efe6;border-radius:16px;margin:0 24px 22px;padding:23px;display:flex;align-items:center;justify-content:space-between;gap:15px}.coffee-hero h3{font-size:20px}.coffee-hero p{font-size:12px;color:#6b8575;margin-top:7px;max-width:300px}.coffee-illustration{width:114px;height:103px;display:flex;align-items:center;justify-content:center;position:relative}.coffee-illustration svg{height:100px;width:100px}.coffee-illustration:after{content:"";position:absolute;width:93px;height:15px;border-radius:50%;background:#315b4726;bottom:0;z-index:0}.coffee-illustration>svg{z-index:1}.list-row{display:flex;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid #f0f1ed}.list-row:last-child{border-bottom:0}.avatar{height:39px;width:39px;font-size:14px}.avatar.orange{background:#ffe9d7;color:#b66f3c}.avatar.blue{background:#e1eff8;color:#457aa1}.row-main{flex:1;min-width:0}.row-main strong{display:block;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.row-main small{display:block;margin-top:4px;color:#8a998e}.row-end{text-align:right}.row-end strong{display:block;font-size:13px}.row-end small{display:block;margin-top:5px}.status{display:inline-flex;border-radius:30px;padding:5px 9px;background:#e8f4ea;color:#347b51;font-weight:800;font-size:10px;letter-spacing:.01em}.status.pending{background:#fff1d9;color:#97621e}.status.disputed,.status.failed,.status.rejected{background:#fde9e5;color:#ad5045}.status.paid,.status.confirmed{background:#e8f4ea;color:#347b51}.table-wrap{overflow-x:auto}.data-table{width:100%;border-collapse:collapse;font-size:13px;text-align:left}.data-table thead{background:#f7f9f6;color:#7c8e83;font-size:11px}.data-table th{padding:13px 17px;font-weight:800;white-space:nowrap}.data-table td{padding:15px 17px;border-bottom:1px solid #eff1ec;vertical-align:middle}.data-table tr:last-child td{border-bottom:0}.data-table tbody tr:hover{background:#fbfcfa}.data-table strong{font-size:13px}.muted{color:#7c8f81}.number{font-family:Manrope;font-weight:800;letter-spacing:-.02em;white-space:nowrap}.info-line{padding:13px 15px;border-radius:12px;background:#eef7f0;color:#466b54;font-size:12px;display:flex;gap:10px;align-items:flex-start;line-height:1.6}.info-line.warn{background:#fff4e6;color:#8d662c}.info-line.error{background:#fce9e6;color:#a74338}.two-col{grid-template-columns:minmax(0,1.4fr) minmax(310px,.8fr)}.three-col{grid-template-columns:repeat(3,minmax(0,1fr))}.empty{padding:42px 20px;text-align:center;color:#8a998e}.empty .icon{height:37px;width:37px;color:#b2c7b4;margin-bottom:11px}.empty h3{color:#335748;font-size:17px;margin:6px 0}.empty p{max-width:360px;margin:auto;font-size:13px}.empty .btn{margin-top:17px}.drink-grid{grid-template-columns:repeat(3,minmax(0,1fr));margin:20px 0}.drink-choice{padding:21px 18px;background:white;border:1px solid #e5ebe4;border-radius:17px;text-align:left;transition:.2s;display:flex;flex-direction:column;gap:15px;min-height:145px}.drink-choice:hover,.drink-choice:focus-visible{border-color:#409a78;background:#f3faf4;transform:translateY(-2px)}.drink-choice .drink-icon{width:43px;height:43px;background:#f1e8d9;border-radius:13px;display:grid;place-items:center;color:#986a3d}.drink-choice strong{font-family:Manrope;font-weight:800;font-size:15px}.drink-choice small{color:#8a978c}.drink-choice .drink-bottom{display:flex;justify-content:space-between;align-items:center;gap:8px}.drink-choice .drink-bottom .icon{color:#27795a}.section-kicker{font-size:11px;text-transform:uppercase;letter-spacing:.1em;color:#789081;font-weight:800;margin:18px 0 9px}.progress-track{height:9px;border-radius:20px;background:#e8eee6;overflow:hidden}.progress-fill{height:100%;background:#44876b;border-radius:20px}.breakdown-row{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:11px 0;border-bottom:1px solid #eff0ed;font-size:13px}.breakdown-row:last-child{border:0}.breakdown-row .name{color:#697f71}.callout-card{background:#e8eee2;border-radius:14px;padding:21px;margin-bottom:17px}.callout-card h3{font-size:18px}.callout-card p{font-size:12px;color:#708371;margin-top:8px}.auth-page{min-height:100vh;display:grid;grid-template-columns:1fr 1.05fr;background:#fff}.auth-art{background:#173f35;display:flex;flex-direction:column;justify-content:space-between;padding:48px clamp(30px,6vw,90px);color:#fff;position:relative;overflow:hidden}.auth-art h1{font-size:clamp(40px,5vw,72px);letter-spacing:-.065em;margin-top:30px;max-width:620px}.auth-art p{color:#c4d9cc;max-width:420px;margin-top:18px}.auth-art .logo-mark{background:#e7ede0;color:#154332}.auth-beans{font:800 220px/1 Manrope;letter-spacing:-.1em;color:#315b47;position:absolute;bottom:3%;right:-20px;transform:rotate(-25deg);user-select:none}.auth-content{display:flex;align-items:center;justify-content:center;padding:35px}.auth-card{width:min(440px,100%)}.auth-card h2{font-size:31px}.auth-card>p{margin:12px 0 29px;color:#87958b}.auth-card form{display:grid;gap:16px}.auth-tabs{display:flex;gap:8px;margin-bottom:25px}.auth-tabs button{border:0;background:#f1f4ef;color:#65776d;border-radius:9px;padding:10px 17px;font-size:13px;font-weight:800}.auth-tabs button.active{background:#225c47;color:#fff}.field{margin-bottom:15px}.field small{display:block;margin-top:6px;color:#8a9b8c}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.form-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:22px;flex-wrap:wrap}.form-divider{height:1px;background:#ebeee9;margin:13px 0}.group-list{display:grid;gap:12px;margin:20px 0}.group-list button{border:1px solid #e6ebe5;border-radius:14px;background:#fff;display:flex;align-items:center;text-align:left;gap:13px;padding:16px;width:100%}.group-list button:hover{background:#f4f9f4}.group-list .group-avatar{width:43px;height:43px;display:grid;place-items:center;background:#e6f0e6;border-radius:13px;color:#2f7056;font-weight:800}.group-list strong{display:block}.group-list small{color:#839389;display:block;margin-top:4px}dialog{border:0;border-radius:19px;width:min(530px,calc(100vw - 30px));max-height:90vh;overflow-y:auto;box-shadow:0 30px 90px #123b2d35;padding:0}dialog::backdrop{background:#18392d88;backdrop-filter:blur(3px)}#modal-body{padding:28px}.modal-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:22px}.modal-head h2{font-size:22px}.modal-head .btn{padding:7px}#toast{position:fixed;right:22px;bottom:22px;z-index:1000;max-width:390px}#toast .toast-item{padding:15px 20px;border-radius:12px;background:#224e3d;color:white;box-shadow:0 12px 40px #14392733;margin-top:8px;font-size:13px;font-weight:600}#toast .toast-item.error{background:#a54e45}.qr-card{display:grid;justify-items:center;gap:15px;background:#f7faf5;padding:24px;border-radius:13px}.qr-card img{width:210px;height:210px}.qr-card code{font-size:11px;word-break:break-all;color:#65796d}.mini-divider{height:1px;background:#edf0ec;margin:15px 0}.toggle-bar{display:flex;gap:9px;align-items:center;justify-content:space-between;margin-bottom:17px}.chip{font-size:11px;border:1px solid #dfebe0;border-radius:100px;padding:6px 11px;background:#fff;color:#64806d}.tile-note{font-size:12px;color:#788b7e;margin-top:14px}.warm-block{background:#f8e9d8;padding:20px;border-radius:14px}.warm-block h3{color:#674528}.warm-block p{color:#84694e;font-size:12px;margin-top:8px}.section-gap{margin-top:25px}.inline-controls{display:flex;gap:8px;flex-wrap:wrap}.inline-controls .btn{padding:7px 10px}.mobile-nav{display:none}.highlight-text{color:#286f54}.right{text-align:right}.nowrap{white-space:nowrap}
@media(max-width:1160px){.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dash-grid,.two-col{grid-template-columns:1fr}.sidebar{width:225px}.shell{grid-template-columns:225px minmax(0,1fr)}.drink-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.shell{grid-template-columns:1fr}.sidebar{display:none}.topbar{height:61px;padding:0 20px}.mobile-menu{display:inline-flex}.content{padding:25px 17px 100px}.page-head{align-items:flex-start;flex-direction:column;margin-bottom:22px}.page-head .actions{width:100%}.page-head .actions .btn{flex:1}.stats-grid{gap:11px}.stat{padding:17px}.stat-number{font-size:23px}.dash-grid{gap:12px}.panel-head{padding:19px 17px 14px}.panel-body{padding:0 17px 19px}.panel-foot{padding:13px 17px}.coffee-hero{margin:0 17px 17px;padding:17px}.coffee-illustration{width:85px;flex-shrink:0}.coffee-illustration svg{width:83px}.three-col{grid-template-columns:1fr}.auth-page{grid-template-columns:1fr}.auth-art{display:none}.auth-content{min-height:100vh;padding:27px}.form-grid{grid-template-columns:1fr}.mobile-nav{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:30;background:#fff;border-top:1px solid #dde7dd;justify-content:space-around;padding:7px 5px max(7px,env(safe-area-inset-bottom))}.mobile-nav button{border:0;background:none;color:#82948a;display:grid;gap:3px;justify-items:center;font-size:10px;padding:4px 7px;font-weight:800}.mobile-nav button.active{color:#146948}.mobile-nav svg{height:21px;width:21px}.today{display:none}.data-table td,.data-table th{padding:12px 11px}.drink-grid{gap:10px}.drink-choice{padding:15px;min-height:130px}}
@media(max-width:425px){.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stat-number{font-size:20px}.coffee-hero h3{font-size:17px}.coffee-hero p{font-size:11px}.coffee-illustration{width:70px}.coffee-illustration svg{width:70px}.drink-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* Accessible contrast overrides: secondary text meets AA on light surfaces. */
.breadcrumbs,.today{color:#53695c}
.eyebrow,.subtitle,.section-kicker{color:#516e5e}
.data-table thead{color:#526b5b}
.row-main small,.tile-note,.stat-note,.muted,.callout-card p,.row-end small{color:#576d5f}
.breakdown-row .name,.stat-label{color:#536a5a}
.mobile-nav button{color:#526c5e}
@media(max-width:760px){.mobile-menu{display:inline-flex}.breadcrumbs{font-size:11px}}
.chip,.drink-choice small,.empty,.empty p{color:#536a5b}
.coffee-hero p{color:#4d6655}
.warm-block p{color:#685039}

/* فارسی is the default. Keep form data and financial identifiers readable. */
html[lang="fa"]{font-family:"Vazirmatn","DM Sans",sans-serif}
html[lang="fa"] h1,html[lang="fa"] h2,html[lang="fa"] h3,html[lang="fa"] .brand-name,
html[lang="fa"] .stat-number,html[lang="fa"] .number{font-family:"Vazirmatn",sans-serif;letter-spacing:normal}
html[dir="rtl"] .nav-link,html[dir="rtl"] .group-pill,html[dir="rtl"] .data-table,
html[dir="rtl"] .group-list button,html[dir="rtl"] .drink-choice{text-align:right}
html[dir="rtl"] .row-end,html[dir="rtl"] .right{text-align:left}
html[dir="rtl"] #toast{right:auto;left:22px}
html[dir="rtl"] .auth-beans{right:auto;left:-20px}
.language-switch{display:inline-flex;direction:ltr;align-items:center;gap:3px;padding:3px;
  border:1px solid #dce8df;border-radius:12px;background:#f4f8f4;flex-shrink:0;margin-bottom:10px}
.language-switch button{width:auto;min-height:34px;border:0;border-radius:9px;padding:6px 10px;
  background:transparent;color:#3d5c4c;font-size:12px;font-weight:800}
.language-switch button.active{background:#205f48;color:white}
.topbar-actions .language-switch{margin-bottom:0}
input[type="email"],input[type="number"],code,.qr-card code{direction:ltr;unicode-bidi:isolate}
@media(max-width:425px){.topbar-actions{gap:6px}.language-switch button{padding:5px 7px;font-size:11px}}
