/* Zinipoosh Studio: shared typography, customer workspace and operations UI. */
@font-face{font-family:IRANYekanXFaNum;src:url("../fonts/IRANYekanXVFaNumVF.435da623b535.woff2") format('woff2');font-style:normal;font-weight:100 900;font-display:swap}
:root{--ink:#263d35;--ink-soft:#45584f;--muted:#67766f;--muted-2:#67766f;--paper:#f6f7f4;--surface:#fff;--surface-solid:#fff;--wine:#2d5849;--wine-deep:#204538;--wine-soft:#eaf0e9;--surface-dark:#24483f;--gold:#a78853;--line:#e6eae4;--line-strong:#d2dbd2;--sidebar:246px;--shadow-1:none;--radius-lg:18px;--club-ink:#263d35;--club-muted:#67766f;--club-wine:#2d5849}
body{font-family:IRANYekanXFaNum,"Segoe UI",Tahoma,sans-serif;font-size:14px;line-height:1.7}
.ui-icon{width:22px;height:22px;flex-shrink:0}
.studio-admin .reveal,.studio-admin .page-enter,.studio-customer .club-reveal{opacity:1;transform:none;animation:none}
[hidden]{display:none!important}
:where(a,button,input,select,textarea,summary):focus-visible{outline:3px solid var(--muted);outline-offset:4px}
.skip-link{position:fixed;top:-100px;right:20px;background:var(--brand-primary);color:var(--brand-on-primary);padding:12px 20px;z-index:200;border-radius:10px}
.skip-link:focus{top:12px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.icon-button{min-width:44px;min-height:44px}
.studio-brand-mark{width:42px;height:42px;display:grid;place-items:center;background:var(--surface);border-radius:13px;color:var(--brand-primary-text);flex-shrink:0}
.studio-brand-mark svg{width:27px;height:27px}
.studio-brand{display:flex;align-items:center;gap:12px}
.studio-brand>span:last-child{display:grid;gap:0}
.studio-brand strong{font-size:21px;font-weight:800}
.studio-brand small{font-size:9px;letter-spacing:2px;direction:ltr;color:var(--ink)}
.metric-icon{width:42px;height:42px;background:var(--surface);color:var(--brand-primary-text);display:grid;place-items:center;border-radius:13px;flex-shrink:0}
.metric-icon.pink{background:#f6eded;color:#a3656e}
.metric-icon.gold{background:#f6f0e5;color:#8b7040}
.studio-admin .ambient{display:none}
.studio-admin .sidebar{padding:28px 18px 18px;background:var(--brand-primary);color:var(--surface);border:0}
.studio-admin .sidebar::after{display:none}
.studio-admin .sidebar-close{display:none}
.studio-admin .brand-copy strong{font-size:20px}
.studio-admin .brand-copy small{font:9px/1.8 Vazirmatn,sans-serif;letter-spacing:1.6px;color:var(--surface)}
.studio-admin .nav-caption{font-size:11px;color:var(--muted);margin-top:30px}
.studio-admin .nav-link{min-height:46px;font-size:14px;color:var(--surface);border-radius:10px}
.studio-admin .nav-link.active{background:var(--surface);color:var(--brand-primary-text);box-shadow:none}
.studio-admin .nav-link.active .nav-icon{color:var(--brand-primary-text)}
.studio-admin .nav-link.active i{background:var(--muted);box-shadow:none}
.studio-admin .nav-link:hover{background:var(--brand-primary);color:var(--brand-on-primary)}
.studio-admin .nav-link.active:hover{background:var(--surface);color:var(--brand-primary-text)}
.studio-admin .nav-icon{color:inherit}
.studio-admin .sidebar-card{background:var(--brand-primary);border:1px solid var(--brand-primary);border-radius:14px}
.studio-admin .sidebar-card strong{font-size:13px;line-height:1.9;color:var(--surface)}
.studio-admin .sidebar-card a{color:var(--brand-primary-soft);font-size:12px}
.studio-admin .sidebar-card-kicker{color:var(--brand-primary-soft)}
.studio-admin .user-card{border-color:var(--ink)}
.studio-admin .user-copy strong{color:var(--brand-on-primary);font-size:13px}
.studio-admin .user-copy span{color:var(--surface)}
.studio-admin .avatar{background:var(--brand-primary);color:#f3ecd4}
.studio-admin .topbar{background:var(--paper);backdrop-filter:blur(14px);min-height:124px;padding:26px 32px 20px;border-bottom:1px solid var(--line);margin-bottom:24px}
.studio-admin .eyebrow{color:var(--ink);font-size:11px;letter-spacing:0;font-family:inherit}
.studio-admin .page-heading h1{font-size:27px;letter-spacing:-.7px;margin-top:4px}
.studio-admin .page-heading p{font-size:13px;margin-top:5px}
.studio-admin .content{padding:0 32px 36px}
.studio-admin .search-trigger{border-radius:10px;background:var(--surface);min-height:44px;font-size:12px}
.studio-admin .btn{border-radius:10px;box-shadow:none}
.studio-admin .btn.primary{background:var(--brand-primary)}
.studio-admin .btn.primary:hover{background:var(--brand-primary)}
.studio-admin .panel{border-radius:16px;padding:24px;background:var(--surface);backdrop-filter:none;box-shadow:none}
.studio-admin .panel-head h3{font-size:16px}
.studio-admin .panel-head p{font-size:12px}
.studio-admin table{font-size:13px}
.studio-admin th{background:var(--surface);font-weight:500;padding:13px 16px}
.studio-admin td{padding:16px;border-color:var(--surface)}
.studio-admin tr:hover td{background:var(--surface)}
.studio-admin .badge{border-radius:7px;min-height:29px;font-size:11px}
.studio-admin .filters{padding:16px;background:var(--surface);border:1px solid var(--line);border-radius:12px}
.studio-admin .filters input,.studio-admin .filters select,.studio-admin .form-stack input,.studio-admin .form-stack select,.studio-admin .grid-form input,.studio-admin .grid-form select{border-radius:9px;background:var(--surface);font-size:14px}
.studio-admin .form-stack label,.studio-admin .grid-form label{font-size:13px}
.studio-admin .crm-intro{background:var(--surface);color:var(--brand-primary-text);border-radius:16px;min-height:145px;padding:24px;grid-template-columns:1fr 1fr}
.studio-admin .crm-intro h2{font-size:23px}
.studio-admin .crm-intro p,.studio-admin .crm-kicker{color:var(--ink)}
.studio-admin .report-strip,.studio-admin .integration-hero{border-radius:16px}
.studio-admin .report-main{background:var(--brand-primary)}
.studio-admin .report-main>span,.studio-admin .report-main p{color:var(--brand-primary-soft)}
.studio-admin .settings-guide{background:var(--surface);color:var(--brand-primary-text)}
.studio-admin .settings-guide p,.studio-admin .settings-guide small,.studio-admin .settings-kicker{color:var(--brand-primary-text)}
.studio-admin .settings-gem{color:var(--muted);border-color:var(--brand-primary-soft);margin-bottom:24px}
.studio-admin .integration-mark{border-radius:15px;box-shadow:none}
.operations-welcome{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:24px}
.section-overline{font-size:11px;color:var(--muted)}
.operations-welcome h2{margin:5px 0;font-size:23px;font-weight:700;letter-spacing:-.6px}
.operations-welcome p{margin:0;color:var(--muted);font-size:13px}
.operations-welcome .btn{flex-shrink:0}
.studio-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:24px}
.studio-kpi{padding:20px;background:var(--surface);border:1px solid var(--line);border-radius:16px;transition:border-color .2s}
.studio-kpi:hover{border-color:var(--muted)}
.studio-kpi>div{display:flex;justify-content:space-between;align-items:center;gap:8px}
.studio-kpi>div>span:first-child{font-size:12px}
.studio-kpi .metric-icon{width:34px;height:34px;border-radius:10px}
.studio-kpi .metric-icon svg{width:18px;height:18px}
.studio-kpi>strong{display:block;font-size:26px;margin-top:15px;line-height:1.5;font-weight:750;white-space:nowrap;letter-spacing:-.5px}
.studio-kpi>strong small{font-size:11px;font-weight:400;color:var(--muted)}
.studio-kpi>p{font-size:11px;color:var(--muted);margin:8px 0 0}
.operations-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(270px,1fr);gap:20px}
.chart-total{display:flex;align-items:baseline;gap:8px;margin-bottom:8px}
.chart-total>strong{font-size:27px;font-weight:750}
.chart-total>span{font-size:11px;color:var(--muted)}
.chart-total .chart-period{margin-inline-start:auto;display:flex;align-items:center;gap:7px}
.chart-period i{width:8px;height:8px;border-radius:50%;background:var(--muted)}
.studio-chart{height:210px;position:relative}
.chart-gridlines{position:absolute;inset:18px 0 35px;display:flex;flex-direction:column;justify-content:space-between}
.chart-gridlines i{border-top:1px dashed var(--surface)}
.studio-bars{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));height:100%;gap:20px;position:relative;padding-top:18px}
.studio-bar{display:flex;flex-direction:column;min-width:0}
.studio-bar>div{height:100%;position:relative;display:flex;align-items:flex-end;justify-content:center;padding:0 4px}
.studio-bar i{width:100%;max-width:40px;min-height:0;background:var(--muted);border-radius:6px 6px 0 0;transition:background .2s}
.studio-bar i.zero{height:2px!important;opacity:.6}
.studio-bar:nth-last-child(1) i{background:var(--brand-primary)}
.studio-bar small{font-size:10px;color:var(--ink);margin-top:13px;text-align:center;white-space:nowrap}
.studio-bar>div>span{position:absolute;bottom:50%;background:var(--brand-primary);color:var(--brand-on-primary);padding:6px 8px;border-radius:6px;font-size:10px;white-space:nowrap;opacity:0;pointer-events:none;z-index:1}
.studio-bar:hover>div>span{opacity:1}
.chart-data{margin-top:16px;font-size:11px;color:var(--ink)}
.chart-data summary{cursor:pointer;min-height:28px}
.action-center .panel-head>svg{color:#8b7040}
.action-row{display:flex;gap:12px;align-items:center;padding:16px 0;border-bottom:1px solid var(--line)}
.action-row>div{display:grid;gap:3px;flex:1}
.action-row strong{font-size:13px}
.action-row small{color:var(--muted);font-size:11px}
.action-row>svg{width:16px;color:var(--muted)}
.operations-tip{display:flex;gap:10px;align-items:flex-start;background:var(--surface);padding:12px;border-radius:10px;margin-top:18px}
.operations-tip svg{color:var(--muted);width:18px}
.operations-tip p{margin:0;font-size:11px;line-height:1.9;color:var(--ink)}
.table-customer{display:flex;align-items:center;gap:10px}
.table-customer i{display:grid;place-items:center;width:30px;height:30px;background:#f0eee5;border-radius:50%;font-style:normal;color:#8a7e5b}
.table-customer strong{font-weight:500}
.table-action{display:grid;place-items:center;width:34px;height:34px;border:1px solid var(--line);border-radius:9px}
.command-empty{font-size:13px;padding:20px;color:var(--muted)}
.command-list a.active{background:var(--wine-soft)}
/* Customer shell */
body.studio-customer{background:var(--surface);color:var(--brand-primary-text);--club-ink:var(--brand-primary);--club-muted:var(--ink);--club-wine:var(--brand-primary)}
.customer-topbar{height:82px;position:sticky;top:0;z-index:65;display:flex;justify-content:space-between;align-items:center;padding:0 32px;background:var(--surface);border-bottom:1px solid var(--line);gap:16px}
.customer-topbar-brand,.customer-topbar-links{display:flex;align-items:center;gap:20px}
.topbar-note{font-size:12px;color:var(--muted)}
.store-link{display:flex;align-items:center;gap:12px;border-inline-start:1px solid var(--line);padding-inline-start:20px;font-size:12px;color:var(--brand-primary-text)}
.store-link svg{width:17px}
.customer-sidebar{position:fixed;inset:82px 0 0 auto;width:252px;padding:24px 18px 20px;background:var(--surface);border-left:1px solid var(--line);z-index:60;overflow-y:auto;display:flex;flex-direction:column;gap:20px;scrollbar-width:thin;scrollbar-color:var(--surface) transparent}
.customer-identity-card{display:flex;align-items:center;flex-direction:column;padding:4px 12px 20px;border-bottom:1px solid var(--line)}
.customer-monogram{width:58px;height:58px;border-radius:50%;background:#f1ede4;color:#87754f;font-size:25px;display:grid;place-items:center;margin-bottom:10px;border:4px solid #faf8f2}
.customer-identity-card>strong{font-size:15px}
.identity-phone{font-size:12px;letter-spacing:.7px;color:var(--muted);margin:3px 0 10px}
.customer-identity-card>a{font-size:11px;display:flex;align-items:center;gap:8px;color:var(--ink)}
.customer-identity-card>a svg{width:14px}
.customer-nav{display:grid;gap:5px}
.customer-nav-link{display:flex;align-items:center;gap:12px;padding:10px 14px;min-height:44px;color:var(--ink);font-size:13px;border-radius:9px}
.customer-nav-link svg{width:19px;height:19px}
.customer-nav-link:hover{background:var(--surface);color:var(--brand-primary-text)}
.customer-nav-link.active{background:var(--surface);color:var(--brand-primary-text);font-weight:650}
.customer-nav-link.active i{margin-inline-start:auto;width:6px;height:6px;background:var(--muted);border-radius:50%}
.customer-sidebar-foot{margin-top:auto}
.help-note{display:flex;align-items:center;gap:9px;padding:13px 10px;background:var(--surface);border:1px solid #eeeade;border-radius:12px;margin-top:14px}
.help-note>svg{color:#8c8059;width:19px}
.help-note>svg:last-child{width:15px;margin-inline-start:auto}
.help-note>span{display:grid}
.help-note strong{font-size:12px}
.help-note small{font-size:10px;color:#817d68}
.customer-signout{margin-top:16px;border:0;background:transparent;color:#9e6f68;display:flex;align-items:center;gap:12px;min-height:44px;font-size:12px;cursor:pointer;width:100%;padding:8px 12px}
.customer-signout svg{width:18px}
.studio-customer .club-main{max-width:1560px;margin:0 252px 0 0;padding:27px 34px 32px}
.customer-breadcrumb{font-size:11px;color:var(--ink);display:flex;gap:12px;margin-bottom:14px}
.customer-breadcrumb span{color:var(--muted)}
.studio-customer .club-page-head{margin-bottom:25px;align-items:center}
.studio-customer .club-page-head h1{font-size:27px;line-height:1.5;letter-spacing:-.6px}
.studio-customer .club-page-head p{margin-top:4px;font-size:13px;line-height:1.9}
.welcome-banner{padding:28px 32px;background:#f2efe6;border:1px solid #e9e5d9;border-radius:18px;display:flex;align-items:center;justify-content:space-between;gap:28px;overflow:hidden;position:relative;margin-bottom:20px}
.welcome-banner::before{content:"";position:absolute;width:400px;height:400px;border:1px solid var(--surface);border-radius:50%;left:-90px;top:-160px;pointer-events:none}
.banner-overline{font-size:11px;color:#82764f}
.welcome-banner h2{font-size:26px;margin:8px 0 6px;letter-spacing:-.7px;font-weight:700}
.welcome-banner em{font-style:normal;color:var(--muted)}
.welcome-banner p{font-size:12px;margin:0;color:var(--ink)}
.welcome-banner>div:first-child>a{display:inline-flex;align-items:center;gap:10px;margin-top:16px;color:var(--brand-primary-text);font-size:12px;font-weight:650}
.welcome-banner a svg{width:17px}
.membership-card{width:245px;flex-shrink:0;border-radius:15px;padding:20px 22px;color:#f4e9d3;background:linear-gradient(125deg,var(--brand-primary),var(--brand-primary));transform:rotate(-5deg);position:relative;box-shadow:0 12px 22px #31433120;border:1px solid var(--brand-primary)}
.membership-card>div{display:flex;justify-content:space-between;align-items:center;font:10px/1.6 Georgia,serif;letter-spacing:2px}
.membership-card>div svg{color:#cbba88}
.membership-card>strong{font:24px/1.4 Georgia,serif;display:block;margin-top:15px}
.membership-card>small{font-size:10px;color:var(--surface)}
.membership-card footer{border-top:1px solid var(--ink);margin-top:14px;padding-top:10px;display:flex;justify-content:space-between;gap:12px;font-size:9px;color:var(--brand-primary-soft)}
.membership-card footer b{font-weight:500}
.account-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:22px}
.account-metrics>a{display:flex;align-items:center;gap:13px;padding:18px;background:var(--surface);border:1px solid var(--line);border-radius:14px;transition:border-color .2s}
.account-metrics>a:hover{border-color:var(--muted)}
.account-metrics>a>div{flex:1}
.account-metrics strong{font-size:22px;line-height:1.4;display:block;font-weight:700}
.account-metrics strong small{font-size:12px;font-weight:500;margin-inline-start:5px}
.account-metrics div>span{font-size:11px;color:var(--muted)}
.account-metrics>a>svg{width:16px;color:var(--muted)}
.account-dashboard-grid{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(240px,1fr);gap:20px;margin-bottom:20px}
.studio-customer .club-panel{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:24px;box-shadow:none;backdrop-filter:none}
.studio-customer .club-panel-head{margin-bottom:18px;align-items:center}
.studio-customer .club-panel-head h3{font-size:16px;margin:0;font-weight:700}
.studio-customer .club-panel-head p{font-size:11px;color:var(--ink);margin:4px 0 0}
.studio-customer .club-panel-head a{font-size:11px;display:flex;align-items:center;gap:6px}
.club-panel-head a svg{width:16px}
.spotlight-meta{display:flex;align-items:center;justify-content:space-between;margin:0 0 4px}
.spotlight-meta>strong{font-size:12px;font-weight:500}
.studio-customer .club-status{font-size:10px;min-height:27px;padding:3px 11px;background:#edf2e8;color:#54734c}
.studio-customer .club-status.status-processing{background:#f7f1e0;color:#8b7141}
.order-steps{list-style:none;display:flex;padding:20px 0;margin:0;position:relative}
.order-steps li{flex:1;display:flex;flex-direction:column;align-items:center;gap:8px;position:relative;color:var(--ink);font-size:10px;text-align:center}
.order-steps li::before{content:"";position:absolute;right:-50%;left:50%;height:2px;background:var(--surface);top:16px;z-index:0}
.order-steps li:first-child::before{display:none}
.order-steps li.done::before,.order-steps li.current::before{background:var(--muted)}
.step-node{width:33px;height:33px;border-radius:50%;border:1px solid var(--surface);background:var(--surface);color:var(--ink);display:grid;place-items:center;position:relative;z-index:1;font-size:12px}
.step-node svg{width:15px;height:15px}
.order-steps .done .step-node{background:var(--muted);color:var(--brand-on-primary);border-color:var(--muted)}
.order-steps .current .step-node{background:var(--surface);border:2px solid var(--muted);color:var(--brand-primary-text);box-shadow:0 0 0 4px var(--surface)}
.order-steps .current{color:var(--brand-primary-text);font-weight:700}
.journey-ended{padding:18px;border-radius:9px;background:#f8eeee;color:#9c5b62;margin:20px 0;font-size:13px}
.spotlight-product,.saved-item{display:flex;align-items:center;gap:12px;margin:5px 0 17px}
.product-preview{width:50px;height:50px;background:#f4f0e7;border-radius:10px;display:grid;place-items:center;color:#a38c61;flex-shrink:0;overflow:hidden}
.product-preview img{width:100%;height:100%;object-fit:cover}
.product-preview svg{width:29px;height:29px}
.spotlight-product>div,.saved-item>div{display:grid;gap:3px}
.spotlight-product strong,.saved-item strong{font-size:12px;font-weight:650}
.spotlight-product small,.saved-item small{font-size:11px;color:var(--ink)}
.order-next-action{display:flex;align-items:center;gap:10px;background:var(--surface);border-radius:10px;padding:12px}
.order-next-action>svg{width:20px;color:var(--muted)}
.order-next-action>div{display:grid;gap:3px;flex:1;min-width:0}
.order-next-action strong{font-size:11px;font-weight:600}
.order-next-action small{font-size:10px;color:var(--ink);overflow-wrap:anywhere}
.points-card{display:flex;flex-direction:column;align-items:flex-start;background:var(--surface)!important}
.points-icon{width:40px;height:40px;border-radius:12px;background:#f3efe1;color:#9d8650;display:grid;place-items:center;margin-bottom:13px}
.points-caption{font-size:12px;color:var(--muted)}
.points-card>strong{font-size:36px;line-height:1.5;font-weight:700;letter-spacing:-1px;margin:3px 0 15px}
.points-card>strong small{font-size:12px;font-weight:400;letter-spacing:0}
.points-level{display:flex;justify-content:space-between;gap:15px;width:100%;font-size:10px;color:var(--ink);margin-bottom:8px}
.level-progress{height:6px;background:var(--surface);width:100%;border-radius:4px;overflow:hidden}
.level-progress i{display:block;height:100%;background:var(--muted);border-radius:4px}
.points-card>p{color:var(--ink);font-size:11px;margin:10px 0 20px}
.studio-customer .club-btn-dark{background:var(--brand-primary);color:var(--brand-on-primary);border-radius:9px;min-height:42px;font-size:12px}
.points-card .club-btn{width:100%;justify-content:space-between;margin-top:auto;padding:0 15px}
.account-bottom-grid{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(240px,1fr);gap:20px}
.saved-item{margin:0;padding:10px 0;border-top:1px solid var(--surface)}
.saved-item>div{flex:1}
.saved-item>svg{color:#ad827d;width:18px}
.account-essentials{display:flex;flex-direction:column;gap:10px}
.account-essentials>a{display:flex;align-items:center;gap:14px;background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:17px 20px;flex:1}
.account-essentials>a>svg{color:var(--muted);width:19px}
.account-essentials>a>svg:last-child{width:15px;margin-inline-start:auto}
.account-essentials>a>span{display:grid;gap:3px}
.account-essentials strong{font-size:12px}
.account-essentials small{font-size:10px;color:var(--muted)}
.panel-empty-note{font-size:12px;color:var(--ink);line-height:2}
.customer-footer{display:flex;justify-content:space-between;gap:16px;font-size:10px;color:var(--muted);margin-top:34px;padding-top:20px;border-top:1px solid var(--line)}
.topbar-note,.identity-phone,.customer-footer,.account-metrics div>span,.points-caption,.account-essentials small{color:var(--ink)}
.page-messages{display:grid;gap:8px;margin-bottom:18px}
.page-message{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:10px 14px;border:1px solid var(--brand-primary-soft);background:var(--surface);border-radius:10px;font-size:12px;color:var(--brand-primary-text)}
.page-message.warning,.page-message.error{background:#fbf0e5;border-color:#ecd8bb;color:#906335}
.page-message button{border:0;background:transparent;color:inherit;min-width:36px;min-height:36px;cursor:pointer}
.page-message button svg{width:16px;height:16px}
.studio-customer .club-empty{color:var(--ink)}
.studio-customer .club-empty h3{color:var(--brand-primary-text)}
.studio-customer .club-empty-large{background:var(--surface);border-color:var(--surface);border-radius:16px}
.status-tabs{display:flex;gap:5px;padding:6px;background:#fff;border:1px solid var(--line);border-radius:12px;margin-bottom:22px;overflow-x:auto}
.status-tabs a{display:flex;align-items:center;gap:8px;min-height:44px;padding:8px 13px;white-space:nowrap;color:#687563;font-size:12px;border-radius:8px}
.status-tabs a.active{background:#edf2e5;color:#486337;font-weight:600}
.status-tabs b{background:#f0f2ed;min-width:20px;text-align:center;border-radius:5px;font-size:10px;font-weight:500}
.studio-customer .club-order-list{grid-template-columns:repeat(2,minmax(0,1fr))}
.studio-customer .club-order-card{padding:24px;border-radius:16px;box-shadow:none;background:var(--surface);border-color:var(--line)}
.studio-customer .club-order-card-head strong{font:700 20px/1.5 Vazirmatn,sans-serif}
.studio-customer .club-order-card-head small{color:var(--ink);margin-top:2px}
.order-status-note{font-size:12px;color:#59744b;margin:0 0 17px}
.order-items-disclosure{margin-bottom:18px;font-size:12px;border-top:1px solid var(--line);padding-top:14px}
.order-items-disclosure summary{cursor:pointer;min-height:32px}
.order-items-disclosure summary span{float:left;font-size:11px;color:var(--muted)}
.order-items-detail{padding:10px 0}
.order-items-detail>div{display:grid;gap:3px;border-bottom:1px solid var(--line);padding:9px 0;font-size:11px}
.order-items-detail span{color:var(--ink)}
.studio-customer .club-order-footer strong{font-size:12px;font-weight:600}
.tracking-copy{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.tracking-copy strong{overflow-wrap:anywhere}
.studio-customer .club-mini-btn{min-height:40px;border-radius:8px;color:var(--brand-primary-text);font-size:11px}
.studio-customer .club-panel-head span{font-family:inherit;font-size:10px;letter-spacing:0;color:var(--muted)}
.studio-customer .club-form label{color:var(--ink)}
.studio-customer .club-form input:not([type=checkbox]),.studio-customer .club-form select,.studio-customer .club-form textarea{background:var(--surface);border:1px solid #84948b;border-radius:9px;min-height:46px;color:var(--brand-primary-text)}
.studio-customer .club-address-card,.studio-customer .club-review-card,.studio-customer .profile-identity{background:var(--surface);border-radius:16px;border-color:var(--line)}
.studio-customer .profile-completion-card{border-radius:16px}
.studio-customer .profile-portrait{background:#f1ede4;color:#86724a}
.studio-customer .wishlist-gallery{gap:20px}
.studio-customer .wish-product{border-radius:16px;border-color:var(--line)}
.studio-customer .wish-product-media{background:#f0ede3;min-height:190px}
.studio-customer .wish-product-media>span{color:#a18b59}
.studio-customer .club-ticket{border-radius:16px;box-shadow:none;background:#f8f3e7}
.studio-customer .loyalty-stage{border-radius:18px;background:var(--surface)}
.studio-customer .club-score-ring{background:conic-gradient(var(--muted) var(--club-progress),var(--surface) 0)}
.contact-intro{display:flex;gap:20px;align-items:center;margin-bottom:20px}
.contact-intro>svg{width:42px;height:42px;color:var(--muted)}
.contact-intro h2{font-size:18px;margin:0 0 5px}
.contact-intro p{font-size:13px;color:var(--ink);margin:0}
.contact-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.contact-grid>a{display:flex;flex-direction:column;align-items:flex-start;gap:12px;padding:24px;border:1px solid var(--line);border-radius:16px;background:var(--surface);overflow-wrap:anywhere}
.contact-grid>a svg{color:var(--muted)}
.contact-grid>a span{font-size:12px;color:var(--ink)}
.studio-admin .auth-story{background:linear-gradient(145deg,var(--brand-primary),var(--brand-primary))}
.studio-admin .auth-submit{background:var(--brand-primary)}
.studio-admin .auth-story h1 em{color:var(--brand-primary-soft)}
.studio-admin .auth-story-copy p{color:var(--surface)}
.studio-admin .auth-card{border-radius:20px}
@media(min-width:901px){.customer-sidebar .sidebar-close{display:none}.studio-customer .mobile-menu{display:none}.studio-customer .club-mobile-dock{display:none}}
@media(max-width:1320px){.studio-kpis{gap:12px}.studio-kpi{padding:16px}.studio-kpi>strong{font-size:22px}.studio-customer .club-main{padding:24px}.welcome-banner{padding:24px}.account-metrics>a{padding:15px;gap:9px}.account-metrics .metric-icon{width:36px;height:36px}.account-metrics>a>svg{display:none}.studio-customer .club-panel{padding:20px}.studio-admin .topbar{padding-inline:26px}.studio-admin .content{padding-inline:26px}}
@media(max-width:1100px){.studio-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.studio-kpi>strong{font-size:28px}.account-dashboard-grid,.account-bottom-grid{grid-template-columns:minmax(0,1.65fr) minmax(220px,1fr);gap:14px}.membership-card{width:210px}.welcome-banner h2{font-size:23px}.studio-customer .club-order-list{grid-template-columns:1fr}.operations-grid{grid-template-columns:minmax(0,1.4fr) minmax(250px,1fr)}.topbar-note{display:none}}
@media(max-width:900px){
.studio-admin .main{margin-right:0}.studio-admin .sidebar{transform:translateX(105%)}.studio-admin .sidebar.open{transform:translateX(0)}.studio-admin .mobile-menu,.studio-admin .sidebar-close{display:grid}.studio-admin .sidebar-close{color:var(--surface)}.studio-admin .topbar{min-height:108px;padding:18px 22px}
.customer-sidebar{inset:0 0 0 auto;z-index:90;max-width:86vw;width:280px;transform:translateX(105%);transition:transform .22s ease;padding-top:48px;box-shadow:-10px 0 40px #223c3220}
.customer-sidebar.open{transform:translateX(0)}.customer-sidebar .sidebar-close{position:absolute;left:10px;top:8px;display:grid}
.studio-customer .club-main{margin-right:0;padding:24px 24px 104px;max-width:none}
.customer-topbar{height:72px;padding:0 22px}.customer-topbar-brand{gap:12px}.studio-brand strong{font-size:18px}
.studio-customer .mobile-menu{display:grid}
.customer-shell.sidebar-is-open .sidebar-scrim{opacity:1;pointer-events:auto;visibility:visible;background:#15342766;z-index:80}
.studio-customer .club-mobile-dock{display:grid;grid-template-columns:repeat(4,1fr);position:fixed;inset:auto 0 0;z-index:70;border-radius:0;background:var(--surface);border-top:1px solid var(--line);padding:5px 12px calc(5px + env(safe-area-inset-bottom));box-shadow:none}
.studio-customer .club-mobile-dock a,.studio-customer .club-mobile-dock button{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;min-height:56px;border:0;background:transparent;border-radius:10px;font:11px/1.6 Vazirmatn,sans-serif;color:var(--ink);cursor:pointer}
.studio-customer .club-mobile-dock .active{background:var(--surface);color:var(--brand-primary-text)}
.studio-customer .club-mobile-dock svg{width:22px;height:22px}
.contact-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:680px){
.studio-admin .content{padding:0 16px 28px}.studio-admin .topbar{padding:16px;position:relative;gap:10px;align-items:flex-start}.studio-admin .page-heading h1{font-size:22px}.studio-admin .page-heading p{font-size:11px;max-width:230px}.studio-admin .search-trigger{width:44px;padding:0}.studio-admin .search-trigger span,.studio-admin .search-trigger kbd{display:none}
.studio-admin .topbar{flex-wrap:wrap}
.studio-admin .topbar-actions{gap:6px;flex-wrap:wrap;max-width:100%}
.studio-admin .topbar-actions .btn{font-size:12px;padding:8px 11px;min-height:44px}
.studio-admin .topbar-actions .btn span.optional{display:inline}
.operations-welcome{align-items:flex-start;gap:12px;flex-direction:column;margin-bottom:18px}.operations-welcome h2{font-size:20px}.operations-welcome p{font-size:12px}
.operations-grid{grid-template-columns:1fr;gap:0}.studio-admin .panel{padding:18px}.studio-kpis{gap:10px;margin-bottom:18px}.studio-kpi{padding:14px}.studio-kpi>strong{font-size:22px}.studio-kpi>div>span:first-child{font-size:11px}.studio-kpi .metric-icon{width:29px;height:29px}.studio-kpi>p{font-size:10px}
.studio-bars{gap:12px}.studio-bar small{font-size:9px}.chart-total>strong{font-size:24px}
.customer-topbar{height:66px;padding:0 12px}.studio-brand-mark{width:34px;height:34px;border-radius:10px}.studio-brand-mark svg{width:23px;height:23px}.studio-brand{gap:8px}.studio-brand small{font-size:7px;letter-spacing:1px}
.customer-topbar-links{gap:8px}.store-link{font-size:11px;border:0;padding:0;gap:5px}.customer-topbar-links .club-mini-btn{display:none}
.studio-customer .club-main{padding:18px 16px 100px}.customer-breadcrumb{margin-bottom:10px}.studio-customer .club-page-head{margin-bottom:18px;gap:10px}.studio-customer .club-page-head h1{font-size:23px}.studio-customer .club-page-head p{font-size:12px}
.welcome-banner{padding:20px 18px;margin-bottom:16px;gap:16px}.welcome-banner h2{font-size:21px;line-height:1.6}.welcome-banner h2 em{display:block}.welcome-banner p{font-size:11px;max-width:210px}.membership-card{width:124px;padding:14px 12px;transform:rotate(-4deg);margin:0}.membership-card>div{font-size:8px;letter-spacing:1px}.membership-card>div svg{width:16px}.membership-card>strong{font-size:18px;white-space:nowrap}.membership-card footer{font-size:8px}.membership-card footer>span{display:none}
.account-metrics{gap:8px;margin-bottom:16px}.account-metrics>a{padding:12px 8px;gap:5px;flex-direction:column;align-items:flex-start}.account-metrics .metric-icon{width:30px;height:30px;border-radius:9px;margin-bottom:7px}.account-metrics .metric-icon svg{width:18px;height:18px}
.account-metrics strong{font-size:20px}.account-metrics strong small{font-size:10px;margin:0;display:block}.account-metrics div>span{font-size:9px}
.account-dashboard-grid,.account-bottom-grid{grid-template-columns:1fr;gap:16px;margin-bottom:16px}.studio-customer .club-panel{padding:18px}.studio-customer .club-panel-head h3{font-size:15px}.studio-customer .club-panel-head a{font-size:10px}
.order-steps li{font-size:10px}.order-next-action{flex-wrap:wrap}.points-card{display:grid;grid-template-columns:1fr auto;gap:0 20px;align-items:center}.points-card .points-icon{grid-column:2;grid-row:1/3;margin:0;width:52px;height:52px}.points-card .points-caption{grid-column:1}.points-card>strong{grid-column:1;font-size:30px;margin:3px 0 15px}.points-level,.level-progress,.points-card p,.points-card .club-btn{grid-column:1/-1}.points-card p{margin-bottom:14px}
.account-essentials>a{padding:16px}.customer-footer{font-size:9px}.studio-customer .club-order-card{padding:18px}.status-tabs a{padding:7px 10px;font-size:11px}.contact-grid{grid-template-columns:1fr}.contact-intro{align-items:flex-start}.contact-intro h2{font-size:16px}.contact-intro p{font-size:12px}
}
@media(max-width:400px){.membership-card{width:120px;margin:0}.welcome-banner{gap:12px;padding:20px 16px}.welcome-banner h2{font-size:20px}.welcome-banner p{max-width:180px}.studio-kpi>strong{font-size:19px}.studio-kpi>div>span:first-child{font-size:10px}.studio-brand small{display:none}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.export-links{display:flex;flex-wrap:wrap;gap:12px;padding:4px 22px 22px}
.store-account-status{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.store-account-status h3{margin:0 0 6px;font-size:16px}.store-account-status p,.store-account-status small{margin:0;font-size:12px;color:#53675c}.store-account-status .club-btn{white-space:nowrap}.studio-customer .club-page-head>form{flex-shrink:0}.studio-customer .club-page-head>form .club-btn{white-space:nowrap}
@media(max-width:680px){.store-account-status,.studio-customer .club-page-head{flex-wrap:wrap}.store-account-status>form{width:100%}}
.connection-guide{padding:0 24px 24px;line-height:2;color:var(--ink);overflow-wrap:anywhere}.connection-guide li{margin:8px 0}.connection-guide small{color:var(--ink)}.studio-admin button:disabled{opacity:.5;cursor:not-allowed}

/* Brand tokens: semantic success/warning/error colors remain independent. */
.studio-admin .sidebar{background:var(--theme-sidebar);color:var(--theme-on-sidebar)}
.studio-admin .sidebar :is(.nav-link,.brand-copy small,.nav-caption,.user-card,.user-meta small,.sidebar-card strong,.sidebar-card a,.sidebar-card-kicker){color:var(--theme-on-sidebar)}
.studio-admin .nav-link.active,.studio-admin .nav-link.active:hover{background:var(--surface);color:var(--ink)}
.studio-admin .nav-link.active .nav-icon{color:var(--brand-primary-text)}
.studio-admin .nav-link:hover,.studio-admin .sidebar-card{background:color-mix(in srgb,var(--theme-sidebar),var(--theme-on-sidebar) 10%);color:var(--theme-on-sidebar)}
:is(.btn.primary,.club-btn-dark,.skip-link){background:var(--brand-primary);color:var(--brand-on-primary)}
:is(.btn.primary,.club-btn-dark):hover{background:var(--brand-primary-hover);color:var(--brand-on-hover)}
:is(.btn,.club-btn):disabled{opacity:.5;cursor:not-allowed}
.studio-customer :is(.customer-topbar,.customer-sidebar,.club-panel,.club-review-card,.club-mobile-dock){background:var(--surface);color:var(--ink)}
.studio-customer .customer-nav a.active{background:var(--brand-primary-soft);color:var(--brand-primary-text)}
:where(a,button,input,select,textarea):focus-visible{outline-color:var(--brand-primary-text)}
.brand-color-swatch{display:inline-block;width:36px;height:16px;border:1px solid var(--line);border-radius:5px;vertical-align:middle}
.engagement-feedback{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:16px;padding:16px}
.feedback-card{padding:18px;border:1px solid var(--line);border-radius:14px;overflow-wrap:anywhere}
.feedback-photos{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.feedback-photos img{width:100px;height:100px;object-fit:cover;border-radius:12px}
.review-product-links{display:flex;gap:10px;flex-wrap:wrap}.settings-guide .btn{white-space:normal}

.studio-admin :is(input,select,textarea),.studio-customer :is(input,select,textarea){background:var(--surface);color:var(--ink);border-color:var(--line)}
.studio-customer .club-form :is(input:not([type=checkbox]),select,textarea){border:1px solid #84948b}

.welcome-banner,.points-card{background:var(--brand-primary-soft);color:var(--ink)}
.membership-card,.loyalty-stage{background:var(--brand-primary);color:var(--brand-on-primary)}
.membership-card :is(div,strong,small,span,footer),.loyalty-stage-copy :is(strong,small,p,h2,em,span){color:inherit}

/* Engagement controls use compact native checkboxes with a generous label target. */
.engagement-page{display:grid;gap:22px;min-width:0}
.engagement-page .settings-layout{margin-bottom:0;align-items:start}
.engagement-switches{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;border:0;border-bottom:1px solid var(--line);margin:0 0 4px;padding:0 0 20px;min-width:0}
.engagement-switches legend{font-size:12px;color:var(--muted);padding:0 0 12px}
.studio-admin .engagement-page .settings-check-row{display:flex;align-items:center;gap:10px;min-height:44px;padding:12px;border:1px solid var(--line);border-radius:10px;color:var(--ink);cursor:pointer;font-size:13px;line-height:1.8}
.studio-admin .engagement-page input[type="checkbox"]{appearance:auto;width:18px;height:18px;min-width:18px;max-width:18px;min-height:18px;max-height:18px;padding:0;margin:0;flex:0 0 18px;border-radius:3px;accent-color:var(--brand-primary);vertical-align:middle;cursor:pointer}
.engagement-page .settings-check-row:focus-within{outline:2px solid var(--brand-primary-text);outline-offset:2px}
.engagement-page .settings-check-copy{display:grid;gap:4px;min-width:0}
.engagement-page .feedback-actions{display:flex;gap:8px;flex-wrap:wrap}
.engagement-page .feedback-card h4{margin:0 0 8px}
.engagement-page .feedback-card>small{color:var(--muted);font-size:12px;line-height:1.8}
.engagement-page .feedback-card>p{line-height:1.9}
.engagement-page td form{display:grid;justify-items:start;gap:10px;margin-top:10px}
@media(max-width:600px){.engagement-switches{grid-template-columns:1fr}.engagement-page{gap:16px}}

/* Original store artwork, with fixed dimensions to reserve its space before loading. */
.brand-logo{display:block;width:64px;height:64px;flex:0 0 auto;object-fit:contain;box-sizing:border-box;padding:5px;background:#fff;border-radius:12px}
.brand-logo-header{width:48px;height:48px;padding:3px;border-radius:10px}
.brand-logo-auth{width:80px;height:80px;padding:6px;border-radius:16px}
.brand-logo-small{width:36px;height:36px;padding:3px;border-radius:8px}
.studio-admin .brand-copy small{font-family:inherit;letter-spacing:0;font-size:11px}
.studio-brand small{font-size:11px;letter-spacing:0}
.auth-mobile-brand{margin-bottom:28px}
.otp-digits{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;direction:ltr}
.otp-digits .otp-digit{box-sizing:border-box;min-width:0;height:62px;padding:0;border:1px solid var(--line-strong);font:700 27px/1 IRANYekanXFaNum,Tahoma,sans-serif;direction:ltr;font-variant-numeric:tabular-nums}
.otp-digits .otp-digit:focus{transform:none}
.otp-digits .otp-digit[aria-invalid=true]{border-color:#a33b3b}
.otp-form [hidden]{display:none}
@media(max-width:400px){.brand-logo-header{width:44px;height:44px}}

/* Text fields show focus with a single border; grouped phone fields use their outer border. */
:is(.studio-admin,.studio-customer) :is(input:not([type=checkbox],[type=radio],[type=range],[type=hidden],[type=button],[type=submit],[type=reset]),select,textarea):is(:focus,:focus-visible){outline:0;outline-offset:0;border:1px solid var(--brand-primary-text);box-shadow:none}
.phone-control:focus-within{border:1px solid var(--brand-primary-text);box-shadow:none}

.studio-admin .brand-copy small{direction:rtl}
.studio-admin .product-editor > :is(div, aside){min-width:0}
.studio-admin .product-editor > .error{grid-column:1/-1}
.studio-admin .editor-actions{flex-wrap:wrap}
.studio-admin .editor-actions .btn{min-height:44px}
.studio-admin #gold-product-data > summary{font-weight:700;cursor:pointer;min-height:44px;padding-block:10px}
.studio-admin #gold-product-data > p{margin-block:0 16px;line-height:1.75}
.studio-admin .gold-fields{min-inline-size:0;margin:0;padding:0;border:0}
.studio-admin .product-editor .error{font-size:13px;line-height:1.65}
.studio-admin .product-editor small.muted{font-size:12px;line-height:1.65}
.studio-admin .product-editor :is(input[type="number"], input[type="url"], input[name="sku"], input[data-field="sku"]){
  direction:ltr;
  text-align:start;
}
.studio-admin .product-editor input:disabled{
  background:var(--surface-secondary);
  color:var(--muted);
  cursor:default;
}
.studio-admin .table-wrap:focus-visible{outline:2px solid var(--brand-primary-text);outline-offset:-2px}
.studio-admin .table-wrap .text-link{display:inline-flex;align-items:center;min-height:44px}
.studio-admin .table-wrap .inline-form :is(input,button){min-height:44px}
.studio-admin [data-preserve-digits],
.studio-admin .product-editor :is(input[name="sku"],input[data-field="sku"]){font-family:ui-monospace,monospace}
.studio-admin .product-cell strong{max-inline-size:min(260px, 52vw);white-space:normal;overflow-wrap:anywhere}
.studio-admin .product-cell :is(img,.thumb-placeholder){flex-shrink:0}
.studio-admin .sidebar :is(a, button):focus-visible{outline-color:var(--theme-on-sidebar)}
.studio-admin .command-box{
  display:flex;
  flex-direction:column;
  max-height:min(660px, 76dvh);
  background:var(--surface);
}
.studio-admin .command-list{min-height:0;overscroll-behavior:contain}

@media(max-width:680px){
  .studio-admin .topbar-leading{flex:1 1 100%}
  .studio-admin .page-heading p{max-width:none;white-space:normal;line-height:1.6}
}
:is(.studio-admin,.studio-customer) .phone-control input:is(:focus,:focus-visible){border:0}
:is(.studio-admin,.studio-customer) :is(input,select,textarea)[aria-invalid=true]:focus{border-color:#a33b3b}

.studio-admin .order-detail-columns > *{min-inline-size:0}
.studio-admin .order-detail-columns :is(.address-box,.timeline-item,.customer-identity),.studio-admin .order-summary strong{overflow-wrap:anywhere}
.studio-admin .order-detail-columns .copy-button{max-inline-size:100%;white-space:normal}
.studio-admin .command-head input{min-inline-size:0}
.studio-admin .command-close{flex:none;min-inline-size:44px;min-block-size:44px;font-size:22px}
.studio-admin .command-head{flex-shrink:0}
.studio-admin .command-list a:focus-visible{outline-offset:-2px}
