@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;600;700;800;900&display=swap');
:root{--primary:#1E88E5;--success:#43A047;--warning:#FB8C00;--danger:#E53935;--bg:#F5F7FB;--text:#1A1A1A;--muted:#64748b;--border:#E0E0E0;--card:#fff;--shadow:0 10px 28px rgba(15,23,42,.07);--radius:16px}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:'Vazirmatn',Tahoma,Arial,sans-serif;line-height:1.8}a{color:var(--primary);text-decoration:none}h1,h2,h3,p{margin-top:0}.topbar{position:sticky;top:0;z-index:20;height:64px;background:#fff;border-bottom:1px solid var(--border);display:flex;justify-content:space-between;align-items:center;padding:0 28px;box-shadow:0 2px 10px rgba(15,23,42,.03)}.brand{display:flex;align-items:center;gap:8px;color:var(--text)}.brand span{background:var(--primary);color:#fff;width:42px;height:42px;border-radius:14px;display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:900}.brand strong{font-size:20px}.brand small{display:block;color:var(--muted);font-size:11px;margin-right:3px}.topnav{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.topnav>a{font-weight:700;color:#334155}.userbox{display:flex;flex-direction:column;line-height:1.35;background:#f8fafc;border:1px solid var(--border);border-radius:14px;padding:6px 12px}.userbox small,.role-line{font-size:12px;color:var(--muted);font-weight:700}.iconlink{position:relative;background:#f8fafc;border:1px solid var(--border);border-radius:999px;padding:6px 12px}.iconlink b{position:absolute;top:-9px;left:-5px;background:var(--danger);color:#fff;border-radius:999px;min-width:20px;height:20px;font-size:11px;display:flex;align-items:center;justify-content:center}.page-wrap{max-width:1360px;margin:auto;padding:26px}.public-content,.content{width:100%}.app-layout{display:grid;grid-template-columns:240px minmax(0,1fr);gap:24px}.sidebar{position:sticky;top:88px;align-self:start;background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:12px;box-shadow:var(--shadow)}.sidebar a{display:block;padding:11px 13px;border-radius:12px;color:#334155;font-weight:800}.sidebar a:hover{background:#eef6ff;color:var(--primary)}.card{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);padding:20px;box-shadow:var(--shadow);margin-bottom:20px}.hero{display:grid;grid-template-columns:1.35fr .75fr;gap:24px;align-items:center;padding:46px 0}.hero h1{font-size:42px;line-height:1.45;margin:8px 0 12px}.hero p{font-size:18px;color:var(--muted)}.eyebrow{display:inline-flex;background:#e8f3ff;color:var(--primary);border-radius:999px;padding:5px 12px;font-weight:800}.hero-actions,.actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}.hero-card{background:linear-gradient(135deg,#fff,#e8f3ff);border:1px solid var(--border);border-radius:26px;padding:24px;box-shadow:var(--shadow)}.steps{padding-right:20px}.steps li{margin-bottom:8px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:0;border-radius:10px;background:var(--primary);color:#fff!important;min-height:44px;padding:0 20px;cursor:pointer;font-weight:900;white-space:nowrap;font-family:inherit}.btn:hover{filter:brightness(.96)}.btn.secondary{background:#eaf3ff;color:var(--primary)!important}.btn.success{background:var(--success)}.btn.danger{background:var(--danger)}.btn.small{min-height:34px;padding:0 12px;font-size:13px}.grid{display:grid;gap:18px}.cards{grid-template-columns:repeat(3,minmax(0,1fr))}.auth-card{max-width:540px;margin:36px auto}.page-head{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:18px}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:20px}.stat{background:#fff;border:1px solid var(--border);border-right:6px solid var(--primary);border-radius:14px;padding:16px;box-shadow:var(--shadow)}.stat span{display:block;color:var(--muted);font-weight:700}.stat strong{display:block;font-size:25px;line-height:1.5}.stat.warning{border-right-color:var(--warning)}.stat.success{border-right-color:var(--success)}.stat.danger{border-right-color:var(--danger)}.stat.indigo{border-right-color:#3949AB}.stat.gray{border-right-color:#9E9E9E}.badge{display:inline-flex;border-radius:999px;padding:3px 10px;font-size:12px;font-weight:900;color:#fff}.badge.warning{background:var(--warning)}.badge.primary{background:var(--primary)}.badge.success{background:var(--success)}.badge.success-light{background:#66BB6A}.badge.danger{background:var(--danger)}.badge.gray{background:#9E9E9E}.badge.indigo{background:#3949AB}.muted{color:var(--muted)}.tag{display:inline-flex;background:#f1f5f9;color:#475569;border-radius:999px;padding:3px 10px;font-size:12px;font-weight:800}label{display:grid;gap:6px;font-weight:800;margin-bottom:12px}input,textarea,select{width:100%;border:1px solid var(--border);border-radius:10px;min-height:44px;padding:0 12px;font-family:inherit;background:#fff;color:var(--text)}textarea{padding:10px 12px;resize:vertical}.form-grid,.wide-form .form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.wide-form{display:grid;gap:12px}.full{grid-column:1/-1}.req{color:var(--danger)}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;min-width:780px}th,td{border-bottom:1px solid var(--border);padding:12px;text-align:right;vertical-align:middle}th{background:#f8fafc;color:#334155}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:20px}.details{display:grid;grid-template-columns:145px 1fr;gap:8px}.details dt{color:var(--muted);font-weight:800}.details dd{margin:0}.upload-box{border:2px dashed #cbd5e1;border-radius:14px;padding:18px;background:#fbfdff}.upload-box input{border:0;padding:0;background:transparent}.upload-result{width:100%;display:grid;gap:8px;margin-top:10px}.file-list{list-style:none;margin:0;padding:0}.file-list li{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--border);padding:10px 0}.file-list small{display:block;color:var(--muted)}.chat-box{max-height:430px;overflow:auto;background:#f8fafc;border-radius:12px;padding:12px}.chat-message{background:#fff;border:1px solid var(--border);border-radius:12px;padding:10px 12px;margin-bottom:10px}.chat-message small{display:block;color:var(--muted)}.message-form{display:grid;gap:10px;margin-top:12px}.timeline{list-style:none;margin:0;padding:0}.timeline li{display:grid;grid-template-columns:22px 1fr;gap:10px;margin-bottom:14px}.dot{width:14px;height:14px;border-radius:50%;margin-top:7px;background:#9E9E9E}.dot.warning{background:var(--warning)}.dot.primary{background:var(--primary)}.dot.success{background:var(--success)}.dot.success-light{background:#66BB6A}.dot.danger{background:var(--danger)}.dot.indigo{background:#3949AB}.timeline small{display:block;color:var(--muted)}.toast{padding:12px 14px;border-radius:12px;margin-bottom:12px;background:#eef6ff;border:1px solid #bfdbfe}.toast.success{background:#ecfdf3;border-color:#bbf7d0}.toast.danger{background:#fef2f2;border-color:#fecaca}.toast.warning{background:#fff7ed;border-color:#fed7aa}.warning-box{border-right:6px solid var(--warning)}.service-card{display:flex;flex-direction:column;gap:8px}.service-card p{color:var(--muted);min-height:60px}.service-price{display:flex;align-items:baseline;gap:4px;margin:8px 0 14px}.service-price strong{font-size:20px}.service-price small{color:var(--muted)}.order-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.order-card{background:#fff;border:1px solid var(--border);border-radius:15px;padding:16px}.order-card .card-top{display:flex;justify-content:space-between;align-items:center}.meta{display:flex;justify-content:space-between;gap:10px;color:var(--muted);margin:12px 0}.admin-inline{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.admin-inline select{width:auto;min-width:125px}.check{display:flex;grid-template-columns:auto 1fr;align-items:center;gap:8px}.check input,.service-select input{width:auto;margin:0}.services-one-col{display:grid;grid-template-columns:1fr;gap:16px}.service-form-one{display:grid;grid-template-columns:1fr;gap:10px}.service-admin-card{border-right:5px solid var(--primary)}.service-select-list{display:grid;grid-template-columns:1fr;gap:10px;margin-bottom:16px}.service-select{display:grid;grid-template-columns:auto 1fr;align-items:flex-start;gap:12px;border:1px solid var(--border);border-radius:14px;padding:14px;background:#fff;margin-bottom:0;cursor:pointer}.service-select:hover{border-color:var(--primary);background:#fbfdff}.service-select small{display:block;color:var(--muted);font-weight:700}.service-select p{margin:6px 0 0;color:#475569}.footer{text-align:center;color:var(--muted);padding:24px}.provider-field{display:none}#role-select:has(option[value="provider"]:checked)~.provider-field{display:grid}@supports not selector(:has(*)){.provider-field{display:grid}}
@media (max-width:950px){.topbar{height:auto;gap:10px;flex-wrap:wrap;padding:12px 16px}.page-wrap{padding:16px}.app-layout{grid-template-columns:1fr}.sidebar{position:static;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.hero,.two-col{grid-template-columns:1fr}.cards,.stats-grid,.form-grid,.wide-form .form-grid,.order-cards{grid-template-columns:1fr}.hero h1{font-size:30px}.page-head{align-items:flex-start;flex-direction:column}.details{grid-template-columns:1fr}.file-list li{align-items:flex-start;flex-direction:column}.admin-inline{align-items:stretch}.admin-inline select{width:100%}.brand small{display:none}}
/* v4 refinements */
.topbar{height:auto;padding:0;background:rgba(255,255,255,.92);backdrop-filter:blur(14px)}.topbar-inner{width:100%;max-width:1360px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:10px 28px}.brand-mark{background:linear-gradient(135deg,#1E88E5,#43A047)!important;color:#fff;width:44px!important;height:44px!important;border-radius:16px!important;font-size:22px!important}.main-nav{display:flex;gap:18px;align-items:center}.main-nav a{font-weight:900;color:#334155}.top-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.order-btn{box-shadow:0 10px 22px rgba(30,136,229,.25)}.btn.ghost{background:#f8fafc;color:#334155!important;border:1px solid var(--border)}.btn.logout{background:#fff1f2;color:#e11d48!important;border:1px solid #fecdd3}.icon-pill{position:relative;display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;background:#f8fafc;border:1px solid var(--border);border-radius:14px;color:#334155}.icon-pill b{position:absolute;top:-8px;left:-7px;background:var(--danger);color:#fff;border-radius:999px;min-width:20px;height:20px;font-size:11px;display:flex;align-items:center;justify-content:center}.account-pill{display:flex;flex-direction:column;line-height:1.35;background:linear-gradient(180deg,#fff,#f8fafc);border:1px solid var(--border);border-radius:15px;padding:7px 13px;min-width:130px}.account-pill small{font-size:11px;color:var(--muted);font-weight:900}.location-chip{display:flex;align-items:center;gap:5px;background:#f8fafc;border:1px solid var(--border);border-radius:16px;padding:4px}.location-chip select{min-height:34px;width:86px;border:0;background:transparent;padding:0 6px;font-size:12px}.location-chip button{width:30px;height:30px;border:0;border-radius:10px;background:#e8f3ff;color:#1E88E5;font-weight:900}.services-hero,.order-service-hero,.partner-hero{background:linear-gradient(135deg,#fff,#e8f3ff);border:1px solid var(--border);border-radius:28px;padding:34px;margin-bottom:22px;box-shadow:var(--shadow)}.services-hero h1,.order-service-hero h1,.partner-hero h1{font-size:34px;line-height:1.55;margin:8px 0}.services-hero p,.order-service-hero p,.partner-hero p{color:var(--muted);font-size:17px}.location-card{border-right:6px solid var(--primary)}.location-form{display:grid;grid-template-columns:1.4fr .75fr .75fr auto;gap:14px;align-items:end}.service-search-box{position:relative;margin:8px 0 22px}.service-search-box input{height:58px;border-radius:18px;padding:0 54px 0 18px;font-size:16px;background:#fff;box-shadow:var(--shadow)}.service-search-box span{position:absolute;right:18px;top:14px;font-size:22px}.service-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.price-old{text-decoration:line-through;color:#94a3b8;font-weight:800}.price-new{font-size:21px;color:#0f172a}.discount-badge{display:inline-flex;background:#ecfdf3;color:#16a34a;border:1px solid #bbf7d0;border-radius:999px;font-size:12px;font-weight:900;padding:2px 8px}.hero-price{margin:10px 0}.steps.compact li{margin-bottom:6px}.hidden-panel{display:none}.hidden-panel.open{display:block}.tariff-tools{border-right:6px solid #43A047}.compact-form{align-items:end}.row-actions{display:flex;gap:6px;flex-wrap:wrap}.row-actions form{display:inline-flex;margin:0}.table-wrap td small{display:block;color:var(--muted);font-weight:600;margin-top:3px}.btn.warning{background:var(--warning)}.service-select{grid-template-columns:auto 1fr auto}.service-select.selected{border-color:#93c5fd;background:#f0f7ff}.service-order-badge{align-self:center;border-radius:999px;background:#f1f5f9;color:#475569;padding:4px 9px;font-size:12px;font-weight:900}.service-select.selected .service-order-badge{background:#dcfce7;color:#15803d}.auth-card.wide{max-width:760px}.license-field{display:block}.full select,.full input{width:100%}
@media (max-width:950px){.topbar-inner{padding:10px 14px;align-items:flex-start;flex-direction:column}.main-nav,.top-actions{width:100%}.main-nav{overflow:auto}.top-actions{justify-content:flex-start}.location-form{grid-template-columns:1fr}.location-chip{width:100%}.location-chip select{width:100%}.services-hero h1,.order-service-hero h1,.partner-hero h1{font-size:26px}.row-actions{flex-direction:column}.row-actions form,.row-actions .btn{width:100%}}
.guest-actions{display:flex;align-items:center;gap:10px;background:#f8fafc;border:1px solid var(--border);border-radius:18px;padding:6px}.guest-actions .order-btn{padding-inline:20px}.auth-divider{width:1px;height:28px;background:var(--border);display:inline-block}.services-hero{position:relative;overflow:hidden}.services-hero:after{content:"";position:absolute;inset:auto auto -60px -60px;width:180px;height:180px;border-radius:50%;background:rgba(30,136,229,.10)}.service-search-box{max-width:920px;margin-inline:auto}.service-card h3{font-size:20px;margin:6px 0}.service-card{transition:.18s ease;position:relative}.service-card:hover{transform:translateY(-2px);box-shadow:0 16px 38px rgba(15,23,42,.10)}
@media (max-width:950px){.guest-actions{width:100%;justify-content:space-between}.guest-actions .btn{flex:1}.auth-divider{display:none}}

/* v5 refinements */
.order-wizard{background:linear-gradient(135deg,#ffffff,#eef6ff);border:1px solid var(--border);border-radius:28px;padding:24px;margin-bottom:18px;box-shadow:var(--shadow)}
.wizard-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:18px}.wizard-steps span{background:#fff;border:1px solid var(--border);border-radius:16px;padding:12px;text-align:center;font-weight:900;color:#64748b}.wizard-steps span.active{background:#e8f3ff;border-color:#93c5fd;color:#1E88E5}.wizard-steps span.done{background:#ecfdf3;border-color:#bbf7d0;color:#16a34a}.selected-service h1{font-size:32px;margin:12px 0}.wizard-card{max-width:980px;margin-inline:auto}.form-intro{border-bottom:1px solid var(--border);padding-bottom:14px;margin-bottom:18px}.order-form-v5 .form-grid,.service-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.service-form-grid .full,.order-form-v5 .full{grid-column:1/-1}.order-form-v5 h3{grid-column:1/-1;margin:18px 0 4px}.jalali-datetime{direction:ltr;text-align:right}.order-detail-head{display:flex;align-items:center;justify-content:space-between;gap:18px;background:#fff;border:1px solid var(--border);border-radius:24px;padding:22px;margin-bottom:18px;box-shadow:var(--shadow)}.order-detail-head h1{font-size:24px;margin:8px 0}.order-detail-head p{color:var(--muted);margin:0}.order-detail-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(320px,.75fr);gap:18px;align-items:start}.order-detail-grid.bottom{grid-template-columns:1fr 1fr;margin-top:18px}.order-main-card,.order-side-card{min-height:0}.timeline.modern{position:relative;margin:0;padding:0;list-style:none}.timeline.modern:before{content:"";position:absolute;right:10px;top:8px;bottom:8px;width:2px;background:#e2e8f0}.timeline.modern li{position:relative;display:grid;grid-template-columns:28px 1fr;gap:10px;margin-bottom:18px}.timeline.modern .dot{position:relative;z-index:2;width:20px;height:20px;border-radius:50%;border:4px solid #fff;box-shadow:0 0 0 2px #cbd5e1;background:#94a3b8}.timeline.modern .dot.primary{background:#1E88E5}.timeline.modern .dot.warning{background:#FB8C00}.timeline.modern .dot.success,.timeline.modern .dot.success-light{background:#43A047}.timeline.modern .dot.indigo{background:#3949AB}.timeline.modern .dot.danger{background:#E53935}.timeline.modern strong{display:block}.timeline.modern small{display:block;color:var(--muted);font-size:12px;margin-top:4px}.timeline.modern p{margin:6px 0 0;color:#334155}.result-note{background:#f8fafc;border:1px solid var(--border);border-radius:16px;padding:14px;margin-top:12px}.upload-result{display:grid;gap:12px;width:100%;max-width:520px}.admin-service-tools{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:16px}.inline-form{display:flex;gap:8px;align-items:end}.inline-form input{flex:1}.chip-list{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.cat-chip{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--border);background:#f8fafc;border-radius:999px;padding:6px 10px;font-weight:800}.cat-chip form{margin:0}.cat-chip button{border:0;background:transparent;color:#e11d48;display:flex;cursor:pointer}.modal-lite{position:fixed!important;inset:0;z-index:99;background:rgba(15,23,42,.36);padding:40px;display:none!important}.modal-lite.open{display:grid!important;place-items:center}.modal-card{width:min(620px,100%);background:#fff;border-radius:24px;border:1px solid var(--border);box-shadow:0 30px 90px rgba(15,23,42,.22);padding:24px;position:relative}.modal-close{position:absolute;top:14px;left:14px;width:34px;height:34px;border:1px solid var(--border);background:#fff;border-radius:12px;font-size:24px;line-height:1;cursor:pointer}.services-admin-table .price-cell{font-size:13px;font-weight:800;white-space:nowrap}.services-admin-table .price-cell .price-new{font-size:14px}.services-admin-table .price-cell.final{color:#0f172a}.services-admin-table .discount-badge{display:none}.row-actions.mini{gap:6px;align-items:center}.row-actions.mini form{margin:0}.icon-action{width:34px;height:34px;border-radius:12px;border:1px solid var(--border);background:#fff;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;text-decoration:none}.icon-action.edit{color:#1E88E5}.icon-action.delete{color:#e11d48}.switch{width:46px;height:26px;border:0;border-radius:999px;background:#cbd5e1;padding:3px;cursor:pointer;transition:.2s}.switch span{display:block;width:20px;height:20px;border-radius:999px;background:#fff;transition:.2s;box-shadow:0 2px 6px #0002}.switch.on{background:#43A047}.switch.on span{transform:translateX(-20px)}.toggle-form{margin:0}.service-card .discount-badge:empty{display:none}.price-old{margin-inline-end:6px}.price-new{font-size:18px}.services-admin-table .price-old{font-size:12px}.service-select small{line-height:1.8}.icon-pill{transition:.16s}.icon-pill:hover,.account-pill:hover{box-shadow:0 8px 20px rgba(15,23,42,.08);transform:translateY(-1px)}
@media (max-width:950px){.wizard-steps{grid-template-columns:1fr 1fr}.order-detail-grid,.order-detail-grid.bottom,.admin-service-tools,.service-form-grid,.order-form-v5 .form-grid{grid-template-columns:1fr}.order-detail-head{align-items:flex-start;flex-direction:column}.modal-lite{padding:16px}.inline-form{flex-direction:column;align-items:stretch}}

/* v6 wallet/output refinements */
.wallet-pay-card strong,.wallet-balance strong{font-size:20px}.selected-file-names{display:block;margin-top:4px;font-size:12px;color:#475569;line-height:1.8}.upload-result{background:#f8fafc;border:1px solid var(--border);border-radius:16px;padding:14px;max-width:100%}.upload-result .upload-box{background:#fff}.wallet-pay-card .toast{margin:14px 0}.table-wrap small{display:block;color:var(--muted);font-size:12px}.btn[disabled]{opacity:.55;cursor:not-allowed;filter:grayscale(.2)}
.order-main-card .details dd:nth-of-type(6){font-weight:800;color:#334155}.file-list li{border:1px solid var(--border);border-radius:14px;margin-bottom:10px;padding:12px;background:#fff}.chat-box{min-height:120px}.order-detail-grid.bottom .card{overflow:hidden}
@media (max-width:950px){.upload-result{max-width:100%}}


/* v7 finance and withdrawal UI */
.finance-settings-card{max-width:720px}.finance-settings-form{display:flex;gap:12px;align-items:end;max-width:560px}.finance-settings-form label{flex:1;margin:0}.finance-settings-form .btn{width:auto;min-width:88px;align-self:end}.finance-head .btn[disabled]{pointer-events:none}.bank-card .page-head{margin-bottom:10px}.bank-form{align-items:end}.bank-form .btn{width:max-content;align-self:end}.success-tag{background:#ecfdf3;color:#15803d}.danger-tag{background:#fef2f2;color:#dc2626}.finance-table td:nth-child(4),.finance-table td:nth-child(5){white-space:nowrap;font-weight:800}.withdraw-admin-form{display:grid!important;grid-template-columns:150px 180px minmax(150px,1fr) auto;gap:8px;align-items:center}.withdraw-admin-form input[type=file]{min-height:36px;font-size:12px;padding:6px}.badge.gray{background:#9E9E9E}.badge.warning{background:#FB8C00}.badge.success{background:#43A047}.badge.danger{background:#E53935}
@media (max-width:950px){.finance-settings-form,.withdraw-admin-form{display:grid!important;grid-template-columns:1fr}.bank-form{grid-template-columns:1fr}.finance-head{align-items:flex-start;flex-direction:column}}


/* v8 header, hero, finance refinements */
.btn.neutral{background:#f1f5f9;color:#334155!important;border:1px solid #dbe4ee}
.guest-actions .order-btn,.hero-actions .order-btn{background:var(--warning)!important;color:#fff!important}
.guest-actions{padding:6px 8px}.guest-actions .order-btn{order:3}.guest-actions .neutral{background:#eef2f7}.account-pill{display:flex;flex-direction:column;align-items:flex-start;line-height:1.35}.account-pill em{font-style:normal;font-size:11px;color:#0f766e;font-weight:800;margin-top:2px}
.hero-split{grid-template-columns:1.05fr .95fr;gap:28px}.hero-visual{display:grid;gap:16px}.hero-illustration{position:relative;min-height:260px;border-radius:30px;background:linear-gradient(135deg,#eff6ff,#ffffff);border:1px solid var(--border);overflow:hidden;box-shadow:var(--shadow)}.hero-illustration:before{content:'';position:absolute;inset:16px; border-radius:24px;background:radial-gradient(circle at top right, rgba(251,140,0,.18), transparent 35%), radial-gradient(circle at bottom left, rgba(30,136,229,.15), transparent 40%), #fff}.hero-illustration .screen{position:absolute;inset:56px 80px 56px 80px;border-radius:22px;background:linear-gradient(180deg,#1e293b,#0f172a);box-shadow:0 20px 50px rgba(15,23,42,.18)}.hero-illustration .screen:before{content:'';position:absolute;inset:16px;border-radius:16px;background:linear-gradient(180deg,#f8fafc,#e2e8f0)}.hero-illustration .doc{position:absolute;width:110px;height:135px;border-radius:16px;background:#fff;border:1px solid #dbe4ee;box-shadow:0 12px 30px rgba(15,23,42,.10)}.hero-illustration .doc:before{content:'';position:absolute;right:16px;left:16px;top:24px;height:8px;border-radius:999px;background:#dbeafe;box-shadow:0 22px 0 #e2e8f0,0 44px 0 #e2e8f0,0 66px 0 #e2e8f0}.hero-illustration .doc-a{top:34px;left:38px;transform:rotate(-8deg)}.hero-illustration .doc-b{bottom:26px;right:42px;transform:rotate(7deg)}.badge-float{position:absolute;background:#fff;border:1px solid #dbe4ee;border-radius:999px;padding:8px 12px;font-size:12px;font-weight:900;color:#334155;box-shadow:0 10px 26px rgba(15,23,42,.08)}.badge-float.one{top:24px;right:30px}.badge-float.two{left:24px;bottom:28px}.badge-float.three{right:34px;bottom:18px}
.setup-callout{display:flex;align-items:center;justify-content:space-between;gap:16px}.setup-callout h2{margin-bottom:6px}.bank-summary .details{align-items:center}.accordion-form{padding-top:8px}.finance-settings-card .page-head{margin-bottom:0}
@media (max-width:950px){.hero-split{grid-template-columns:1fr}.setup-callout{align-items:flex-start;flex-direction:column}.guest-actions{width:100%}.guest-actions .order-btn{order:initial}}


/* v9 homepage banner and header cleanup */
.page-wrap{padding-top:0}.home-banner{width:100%;margin:0 0 28px;overflow:hidden;border-radius:0 0 28px 28px;background:#eef6ff;box-shadow:0 14px 36px rgba(15,23,42,.08)}.home-banner img{display:block;width:100%;height:auto}.services-after-banner{margin-top:8px}.guest-actions.clean{background:transparent!important;border:0!important;border-radius:0!important;padding:0!important;gap:14px}.auth-link{display:inline-flex;align-items:center;min-height:34px;padding:0 8px;color:#475569;font-weight:900}.auth-link:hover{color:var(--primary)}.header-order-link{display:inline-flex;align-items:center;min-height:40px;padding:0 18px;border-radius:999px;background:#FB8C00;color:#fff!important;font-weight:900;box-shadow:0 8px 20px rgba(251,140,0,.22)}.wallet-pill{display:inline-flex;align-items:center;gap:8px;background:#ecfdf3;color:#0f766e!important;border:1px solid #bbf7d0;border-radius:999px;min-height:38px;padding:0 12px;font-weight:900}.wallet-pill i{font-size:18px}.account-pill em{display:none!important}.bank-summary{display:none!important}.service-select small{font-size:13px;color:#0f766e!important;font-weight:900}.top-actions{flex-wrap:wrap}@media (max-width:950px){.home-banner{border-radius:0 0 18px 18px;margin-left:-16px;margin-right:-16px;width:calc(100% + 32px)}.guest-actions.clean{width:100%;justify-content:flex-start}.header-order-link{margin-inline-start:auto}.wallet-pill{width:100%;justify-content:center}.page-wrap{padding-top:0}}

/* v10: full-bleed homepage banner using the exact uploaded image */
.home-banner{
  width:100vw!important;
  max-width:none!important;
  margin:0 calc(50% - 50vw) 34px!important;
  padding:0!important;
  overflow:hidden!important;
  border-radius:0!important;
  background:#f5f9ff!important;
  box-shadow:none!important;
}
.home-banner img{
  display:block!important;
  width:100%!important;
  height:auto!important;
  object-fit:cover!important;
  object-position:center center!important;
}
@media (max-width:950px){
  .home-banner{
    margin:0 calc(50% - 50vw) 22px!important;
    width:100vw!important;
  }
}


/* v11: framed homepage banner, transparent header, and minimal footer */
:root{--site-max:1320px}
body{background:linear-gradient(180deg,#f7fbff 0%, #f5f7fb 42%, #f5f7fb 100%)}
.topbar{
  background:transparent!important;
  border-bottom:0!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
  padding:0!important;
  margin:0!important;
}
.topbar-inner{
  width:calc(100% - 48px)!important;
  max-width:var(--site-max)!important;
  margin:12px auto 0!important;
  padding:10px 0!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
.page-wrap{max-width:var(--site-max)!important;padding:14px 0 26px!important;width:calc(100% - 48px)!important}
.home-banner{
  width:100%!important;
  max-width:var(--site-max)!important;
  margin:12px auto 34px!important;
  padding:0!important;
  overflow:hidden!important;
  border-radius:18px!important;
  background:#eef6ff!important;
  box-shadow:0 18px 45px rgba(15,23,42,.10)!important;
  border:1px solid rgba(226,232,240,.9)!important;
}
.home-banner img{
  display:block!important;
  width:100%!important;
  height:auto!important;
  object-fit:cover!important;
  object-position:center center!important;
}
.services-after-banner{margin-top:0!important}.public-content{overflow:visible}.content{overflow:visible}
.site-footer{max-width:var(--site-max);width:calc(100% - 48px);margin:36px auto 20px;background:#fff;border:1px solid rgba(226,232,240,.9);border-radius:18px;box-shadow:0 16px 42px rgba(15,23,42,.06);overflow:hidden;color:#334155}.footer-inner{display:grid;grid-template-columns:minmax(260px,.8fr) 1.2fr;gap:34px;padding:26px}.footer-brand p{margin:12px 0 0;color:#64748b;max-width:360px}.footer-logo{display:inline-flex}.footer-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.footer-links h4{margin:0 0 10px;color:#0f172a;font-size:15px}.footer-links a{display:block;color:#64748b;font-weight:800;padding:4px 0;font-size:14px}.footer-links a:hover{color:var(--primary)}.footer-bottom{display:flex;justify-content:space-between;gap:12px;align-items:center;background:#f8fafc;border-top:1px solid var(--border);padding:12px 26px;color:#64748b;font-size:13px;font-weight:800}.footer{display:none!important}.static-page{max-width:760px;margin:40px auto}.main-nav a,.auth-link{color:#334155}.brand{min-width:max-content}
@media (max-width:950px){.topbar-inner,.page-wrap,.site-footer{width:calc(100% - 24px)!important}.topbar-inner{margin-top:8px!important}.home-banner{border-radius:14px!important;margin:8px auto 22px!important}.footer-inner{grid-template-columns:1fr;padding:20px}.footer-links{grid-template-columns:1fr 1fr}.footer-bottom{align-items:flex-start;flex-direction:column;padding:12px 20px}.page-wrap{padding-top:10px!important}}
@media (max-width:560px){.footer-links{grid-template-columns:1fr}.home-banner{border-radius:12px!important}.topbar-inner{width:calc(100% - 16px)!important}.page-wrap,.site-footer{width:calc(100% - 16px)!important}}

/* v12: wider side margins, clean white header, softer banner frame, distinct service cards */
:root{--site-max:1180px;--site-gutter:120px}
body{background:#f7f9fc!important}
.topbar{
  background:#fff!important;
  border-bottom:0!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
}
.topbar-inner{
  width:calc(100% - var(--site-gutter))!important;
  max-width:var(--site-max)!important;
  margin:0 auto!important;
  padding:12px 0!important;
  background:#fff!important;
}
.page-wrap{
  width:calc(100% - var(--site-gutter))!important;
  max-width:var(--site-max)!important;
  padding:18px 0 28px!important;
}
.home-banner{
  width:100%!important;
  max-width:var(--site-max)!important;
  margin:18px auto 36px!important;
  border-radius:14px!important;
  overflow:hidden!important;
  background:#f8fbff!important;
  border:0!important;
  box-shadow:none!important;
}
.home-banner img{
  display:block!important;
  width:100%!important;
  height:auto!important;
  object-fit:cover!important;
  object-position:center center!important;
}
.services-after-banner .page-head,
.services-after-banner .grid.cards{position:relative;z-index:1}
.service-card{
  background:linear-gradient(180deg,#f9fbff 0%,#f1f6fb 100%)!important;
  border:1px solid #d9e6f2!important;
  box-shadow:0 8px 22px rgba(15,23,42,.045)!important;
}
.service-card:hover{
  background:linear-gradient(180deg,#ffffff 0%,#eef6ff 100%)!important;
  border-color:#b9d6f2!important;
}
.service-card .tag{background:#eaf3ff;color:#1E88E5}
.site-footer{
  width:calc(100% - var(--site-gutter))!important;
  max-width:var(--site-max)!important;
  margin:36px auto 22px!important;
  box-shadow:none!important;
  border:1px solid #e4ebf3!important;
  background:#fff!important;
}
.footer-bottom{background:#f7f9fc!important}
@media (max-width:1200px){:root{--site-gutter:64px}}
@media (max-width:950px){
  :root{--site-gutter:28px}
  .topbar-inner,.page-wrap,.site-footer{width:calc(100% - var(--site-gutter))!important}
  .home-banner{border-radius:12px!important;margin:12px auto 24px!important}
}
@media (max-width:560px){
  :root{--site-gutter:18px}
  .home-banner{border-radius:10px!important}
}


/* v13: white background, tighter banner spacing, refined service cards, auth icons */
:root{--site-max:1180px;--site-gutter:120px;--bg:#fff;--card:#fff;--soft-blue:#f4f8ff;--soft-orange:#fff7ed;--orange:#FB8C00}
html,body{background:#fff!important}
body{background:#fff!important}
.topbar{background:#fff!important;border-bottom:0!important;box-shadow:none!important}
.topbar-inner{background:#fff!important;padding:10px 0!important}
.page-wrap{padding-top:8px!important;padding-bottom:28px!important;background:#fff!important}
.home-banner{margin:8px auto 32px!important;border-radius:14px!important;background:#fff!important;border:0!important;box-shadow:none!important}
.home-banner img{border-radius:14px!important}
.guest-actions.clean{gap:12px!important;align-items:center!important}.auth-link{gap:6px;color:#475569!important;border-radius:999px;padding:0 10px!important;background:transparent!important;transition:.16s ease}.auth-link i{font-size:16px;color:#64748b}.auth-link:hover{background:#f8fafc!important;color:#1E88E5!important}.auth-link:hover i{color:#1E88E5}.header-order-link{box-shadow:none!important;background:#FB8C00!important;border:0!important;padding:0 18px!important}
.services-after-banner{padding-top:0!important}.services-after-banner .page-head h2{position:relative;padding-right:14px}.services-after-banner .page-head h2:before{content:"";position:absolute;right:0;top:.42em;width:5px;height:1.35em;border-radius:99px;background:linear-gradient(180deg,#FB8C00,#1E88E5)}
.service-card{position:relative;overflow:hidden;background:linear-gradient(145deg,#f8fbff 0%,#f5f9ff 55%,#fff7ed 145%)!important;border:1px solid #e1eaf5!important;box-shadow:0 10px 26px rgba(15,23,42,.045)!important;transition:.18s ease}.service-card:before{content:"";position:absolute;right:0;top:0;bottom:0;width:4px;background:linear-gradient(180deg,#FB8C00,#ffd7a3)}.service-card:after{content:"";position:absolute;left:-42px;top:-42px;width:120px;height:120px;border-radius:999px;background:rgba(251,140,0,.07);pointer-events:none}.service-card:hover{transform:translateY(-2px);background:linear-gradient(145deg,#ffffff 0%,#f3f8ff 65%,#fff3e3 140%)!important;border-color:#cfe0f2!important;box-shadow:0 16px 34px rgba(15,23,42,.07)!important}.service-card h3{color:#142033}.service-card p{color:#5d6b7c}.service-card .tag{background:#fff!important;color:#1E88E5!important;border:1px solid #dbeafe!important}.service-card .service-head .tag:first-child{box-shadow:0 4px 12px rgba(30,136,229,.06)}.service-card .discount-badge{background:#fff7ed!important;color:#c35d00!important;border-color:#fed7aa!important}.service-card .btn.small{background:#1E88E5!important;box-shadow:none!important}.service-card .service-price{position:relative;z-index:1}.service-card .price-new{color:#0f172a!important}.service-card .price-old{color:#94a3b8!important}
.site-footer{background:#fff!important}.footer-bottom{background:#fff!important}
@media (max-width:1200px){:root{--site-gutter:64px}}
@media (max-width:950px){:root{--site-gutter:28px}.topbar-inner{padding:8px 0!important}.page-wrap{padding-top:6px!important}.home-banner{margin:6px auto 24px!important;border-radius:12px!important}.home-banner img{border-radius:12px!important}.auth-link{min-height:34px}.header-order-link{min-height:38px}}
@media (max-width:560px){:root{--site-gutter:18px}.home-banner,.home-banner img{border-radius:10px!important}.guest-actions.clean{gap:8px!important}.auth-link span{font-size:13px}}


/* v14: official logo, cleaner Persian UI typography, Material-style service cards */
:root{
  --primary:#1E88E5;
  --primary-dark:#1565c0;
  --warning:#FB8C00;
  --text:#172033;
  --muted:#64748b;
  --border:#e5edf5;
  --site-max:1180px;
}
body{background:#fff!important;color:var(--text);font-weight:400!important}
.topbar{background:#fff!important;border-bottom:1px solid #eef2f6!important;box-shadow:none!important}
.topbar-inner{background:#fff!important;box-shadow:none!important;border:0!important;min-height:72px!important;padding:12px 0!important}
.brand-image{gap:10px!important;text-decoration:none!important;align-items:center!important;display:inline-flex!important;min-width:auto!important}
.brand-image img{display:block;width:auto;height:50px;object-fit:contain}
.brand-image.footer-logo img{height:56px;max-width:210px}
.brand-subtitle{font-size:11px;color:#7a8797;font-weight:500;margin-right:2px;white-space:nowrap}
.brand-mark,.brand:not(.brand-image) .brand-mark{display:none!important}
.main-nav{gap:28px!important;margin-inline-start:24px!important}
.main-nav a{font-size:14px!important;font-weight:500!important;color:#5f6b7a!important;letter-spacing:0!important;padding:10px 0!important;transition:color .16s ease, transform .16s ease;text-decoration:none!important}
.main-nav a:hover{color:var(--primary)!important;transform:translateY(-1px)}
.auth-link{font-size:13.5px!important;font-weight:500!important;color:#64748b!important;padding:0 8px!important;min-height:34px!important;border-radius:999px!important;background:transparent!important;text-decoration:none!important}
.auth-link i{font-size:15px!important;color:#94a3b8!important}
.auth-link:hover{background:#f7faff!important;color:var(--primary)!important}.auth-link:hover i{color:var(--primary)!important}
.header-order-link{font-size:14px!important;font-weight:600!important;min-height:38px!important;padding:0 16px!important;border-radius:999px!important;background:var(--warning)!important;color:#fff!important;box-shadow:none!important;text-decoration:none!important}
.header-order-link:hover{background:#f57c00!important;transform:translateY(-1px)}
.guest-actions.clean{gap:14px!important}
.account-pill strong{font-size:14px!important;font-weight:600!important;color:#1f2937!important}.account-pill small{font-weight:400!important;color:#64748b!important}
.wallet-pill{font-size:13px!important;font-weight:600!important;background:#f0f9ff!important;border-color:#dbeafe!important;color:#1565c0!important}
.home-banner{background:#fff!important;border:0!important;box-shadow:none!important}
/* Service cards inspired by Google Material surfaces: neutral, elevated, no orange strip/circle */
.grid.cards{gap:18px!important}
.service-card{position:relative!important;overflow:hidden!important;background:#fff!important;border:1px solid #e6ecf3!important;border-radius:16px!important;box-shadow:0 1px 2px rgba(60,64,67,.08),0 2px 8px rgba(60,64,67,.06)!important;transition:box-shadow .18s ease, transform .18s ease, border-color .18s ease!important;padding:20px!important}
.service-card:before,.service-card:after{display:none!important;content:none!important}
.service-card:hover{transform:translateY(-2px)!important;background:#fff!important;border-color:#d4e2f0!important;box-shadow:0 2px 6px rgba(60,64,67,.12),0 8px 24px rgba(60,64,67,.10)!important}
.service-card h3{font-size:17px!important;font-weight:600!important;color:#1f2937!important;margin-top:12px!important}.service-card p{font-size:14px!important;font-weight:400!important;color:#667085!important;line-height:1.9!important}.service-card .tag{background:#f5f8fc!important;color:#486581!important;border:1px solid #e1eaf2!important;border-radius:999px!important;font-weight:500!important;font-size:12.5px!important;box-shadow:none!important}.service-card .discount-badge{background:#fff7ed!important;color:#b45309!important;border:1px solid #fed7aa!important;font-weight:600!important}.service-card .btn.small{background:var(--primary)!important;font-weight:600!important;border-radius:10px!important;box-shadow:none!important}.service-card .btn.small:hover{background:var(--primary-dark)!important}.service-card .price-new{color:#0f172a!important;font-size:17px!important;font-weight:700!important}.service-card .price-old{color:#98a2b3!important;font-size:13px!important}.services-after-banner .page-head h2:before{display:none!important}.services-after-banner .page-head h2{padding-right:0!important;font-weight:700!important;color:#1f2937!important}
.site-footer{background:#fff!important;border:1px solid #e7edf4!important;border-radius:18px!important;box-shadow:none!important}.footer-brand p,.footer-slogan{margin:12px 0 0!important;color:#536171!important;font-size:14px!important;font-weight:500!important;line-height:1.9!important;max-width:360px}.footer-links h4{font-size:14px!important;font-weight:700!important;color:#253044!important}.footer-links a{font-size:13.5px!important;font-weight:500!important;color:#687789!important}.footer-links a:hover{color:var(--primary)!important}.footer-bottom{background:#fff!important;border-top:1px solid #eef2f6!important;font-weight:400!important;color:#7a8797!important}
@media (max-width:950px){.brand-image img{height:42px}.main-nav{gap:16px!important;margin-inline-start:0!important}.main-nav a{font-size:13.5px!important}.top-actions{gap:8px!important}.brand-subtitle{display:none}.footer-logo img{height:48px!important}}


/* v15: remove brand subtitle and show header line only while scrolling */
.brand-subtitle{display:none!important}
.topbar{border-bottom:0!important;box-shadow:none!important;background:#fff!important;transition:border-color .18s ease, box-shadow .18s ease!important}
.topbar.is-scrolled{border-bottom:1px solid #eef2f6!important;box-shadow:0 1px 0 rgba(15,23,42,.03)!important}
.topbar-inner{border-bottom:0!important;box-shadow:none!important}
.brand-image{gap:0!important}


/* v16: professional internal pages */
.static-hero{display:grid;grid-template-columns:minmax(0,1.1fr) 360px;gap:28px;align-items:stretch;margin:18px 0 24px;padding:28px;border:1px solid #e8eef5;border-radius:22px;background:linear-gradient(135deg,#ffffff 0%,#f7fbff 68%,#fff8f1 130%)}
.static-hero-text h1{font-size:34px;line-height:1.45;margin:12px 0 10px;color:#162033;font-weight:800}.static-hero-text p{font-size:16px;color:#536171;line-height:2.15;max-width:760px}.static-hero-art{display:flex;align-items:center;justify-content:center}.art-card{width:100%;min-height:220px;border-radius:24px;background:#fff;border:1px solid #e8eef5;box-shadow:0 1px 2px rgba(60,64,67,.08),0 8px 28px rgba(60,64,67,.07);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:10px}.art-card i{font-size:56px;color:#1E88E5;background:#f0f7ff;width:104px;height:104px;border-radius:28px;display:flex;align-items:center;justify-content:center}.art-card span{font-size:22px;font-weight:900;color:#172033}.art-card small{color:#64748b;font-weight:600}.static-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:22px}.static-stats>div{background:#fff;border:1px solid #e8eef5;border-radius:16px;padding:18px;box-shadow:0 1px 2px rgba(60,64,67,.06)}.static-stats span{display:block;color:#64748b;font-size:13px;font-weight:600;margin-bottom:6px}.static-stats strong{display:block;color:#172033;font-size:19px;font-weight:800}.contact-cards{grid-template-columns:repeat(3,minmax(0,1fr))}.static-sections{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:22px 0}.static-sections article{background:#fff;border:1px solid #e8eef5;border-radius:18px;padding:20px;box-shadow:0 1px 2px rgba(60,64,67,.08),0 6px 18px rgba(60,64,67,.05)}.static-sections article i{display:inline-flex;width:42px;height:42px;border-radius:14px;background:#f0f7ff;color:#1E88E5;align-items:center;justify-content:center;font-size:22px;margin-bottom:12px}.static-sections h2{font-size:17px;font-weight:800;color:#172033;margin-bottom:8px}.static-sections p{font-size:14px;color:#5f6b7a;line-height:2}.process-card{background:#fff;border:1px solid #e8eef5;border-radius:18px;padding:22px;margin:22px 0;box-shadow:0 1px 2px rgba(60,64,67,.06)}.process-card h2{font-size:20px;margin-bottom:16px}.process-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.process-steps div{background:#f8fbff;border:1px solid #e7edf5;border-radius:16px;padding:16px;display:grid;gap:8px}.process-steps b{width:34px;height:34px;border-radius:999px;background:#1E88E5;color:#fff;display:flex;align-items:center;justify-content:center}.process-steps span{font-size:14px;color:#334155;font-weight:700}.faq-list{display:grid;gap:12px;margin:22px 0}.faq-list details{background:#fff;border:1px solid #e8eef5;border-radius:16px;padding:0 18px;box-shadow:0 1px 2px rgba(60,64,67,.06)}.faq-list summary{cursor:pointer;list-style:none;padding:16px 0;font-weight:800;color:#172033;display:flex;justify-content:space-between;gap:16px}.faq-list summary:after{content:'+';color:#1E88E5;font-size:22px;line-height:1}.faq-list details[open] summary:after{content:'−'}.faq-list p{color:#5f6b7a;margin:0 0 16px;line-height:2}.static-final-actions{display:flex;gap:10px;flex-wrap:wrap;margin:22px 0 8px}.static-hero .eyebrow{background:#f0f7ff!important;color:#1E88E5!important;font-weight:700!important;font-size:13px!important}.footer-slogan{max-width:430px!important}
@media (max-width:950px){.static-hero{grid-template-columns:1fr;padding:20px}.static-hero-text h1{font-size:28px}.static-stats,.contact-cards,.static-sections,.process-steps{grid-template-columns:1fr}.static-hero-art{display:none}}


/* v17 order messages */
.enhanced-chat{display:flex;flex-direction:column;gap:10px;max-height:420px;overflow:auto;padding:6px 4px 10px}.chat-message{max-width:82%;background:#f8fafc;border:1px solid #e8eef6;border-radius:16px 16px 16px 6px;padding:10px 12px;align-self:flex-start}.chat-message.own{align-self:flex-end;background:#eef6ff;border-color:#dbeafe;border-radius:16px 16px 6px 16px}.chat-message small{display:block;color:#64748b;font-size:11px;margin-bottom:5px}.chat-message p{margin:0;line-height:1.9;color:#1f2937}.order-message-form{display:grid;gap:10px;margin-top:12px}.order-message-form textarea{resize:vertical;background:#fff}.messages-list{display:grid;gap:12px}.message-thread-card{display:flex;align-items:center;justify-content:space-between;gap:16px;background:#fff;border:1px solid #e7edf5;border-radius:16px;padding:16px 18px;text-decoration:none;color:inherit;box-shadow:0 8px 22px rgba(15,23,42,.04);transition:.18s}.message-thread-card:hover{border-color:#bfdbfe;box-shadow:0 12px 28px rgba(30,136,229,.08);transform:translateY(-1px)}.message-thread-card strong{display:block;color:#0f172a;font-size:15px;margin-bottom:4px}.message-thread-card span{display:block;color:#64748b;font-size:12px;margin-bottom:6px}.message-thread-card p{margin:0;color:#475569;font-size:13px}.message-thread-card b{min-width:26px;height:26px;border-radius:999px;background:#1E88E5;color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:12px}

/* v18: professional Google-like dashboard header */
.topbar{background:#fff!important;border-bottom:0!important;box-shadow:none!important;min-height:64px!important}
.topbar.is-scrolled{border-bottom:1px solid #edf1f5!important;box-shadow:0 1px 2px rgba(60,64,67,.05)!important}
.topbar-inner{min-height:64px!important;padding:8px 0!important;align-items:center!important}
.main-nav{gap:32px!important;margin-inline-start:28px!important}
.main-nav a{font-size:13.5px!important;font-weight:400!important;color:#5f6368!important;line-height:1.5!important;padding:9px 0!important;border-bottom:2px solid transparent!important;transition:color .16s ease,border-color .16s ease!important}
.main-nav a:hover{color:#1a73e8!important;border-bottom-color:#1a73e8!important;transform:none!important}
.top-actions{display:flex!important;align-items:center!important;gap:8px!important;flex-wrap:nowrap!important}
.wallet-pill{min-height:34px!important;padding:0 11px!important;border-radius:999px!important;background:#f8fbff!important;border:1px solid #e8f0fe!important;color:#1967d2!important;font-size:12.5px!important;font-weight:500!important;box-shadow:none!important}
.wallet-pill i{font-size:15px!important;color:#1a73e8!important}.wallet-pill:hover{background:#eef5ff!important}
.icon-pill{width:36px!important;height:36px!important;min-height:36px!important;padding:0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;border-radius:50%!important;background:transparent!important;border:0!important;color:#5f6368!important;box-shadow:none!important;transition:background .16s ease,color .16s ease!important}
.icon-pill i{font-size:17px!important}.icon-pill:hover{background:#f1f3f4!important;color:#202124!important;transform:none!important;box-shadow:none!important}.icon-pill b{top:-2px!important;left:-1px!important;min-width:17px!important;height:17px!important;font-size:10px!important;background:#d93025!important}
.account-menu{position:relative;margin-inline-start:4px}.account-menu summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:9px;min-height:42px;border-radius:999px;padding:3px 6px 3px 11px;color:#202124;transition:background .16s ease}.account-menu summary::-webkit-details-marker{display:none}.account-menu summary:hover{background:#f1f3f4}.avatar-mini{width:32px;height:32px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:#e8f0fe;color:#1967d2;font-weight:600;font-size:14px}.account-text{display:flex;flex-direction:column;line-height:1.35}.account-text strong{font-size:13.5px!important;font-weight:500!important;color:#202124!important;max-width:130px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.account-text small{font-size:11.5px!important;font-weight:400!important;color:#6b7280!important}.account-menu summary .bi-chevron-down{font-size:12px;color:#6b7280;transition:transform .16s ease}.account-menu[open] summary .bi-chevron-down{transform:rotate(180deg)}
.account-dropdown{position:absolute;top:calc(100% + 8px);left:0;z-index:80;width:210px;background:#fff;border:1px solid #edf1f5;border-radius:14px;box-shadow:0 16px 38px rgba(60,64,67,.18);padding:8px;display:grid;gap:2px}.account-dropdown a{display:flex;align-items:center;gap:9px;color:#3c4043!important;font-size:13.5px;font-weight:400;padding:9px 10px;border-radius:10px}.account-dropdown a:hover{background:#f8fafd;color:#1a73e8!important}.account-dropdown a i{font-size:16px;color:#5f6368}.account-dropdown a:hover i{color:#1a73e8}.account-dropdown a.danger{color:#b3261e!important}.account-dropdown a.danger i{color:#b3261e!important}
.btn.ghost.small[href*="dashboard"],.btn.logout.small{display:none!important}.account-pill{display:none!important}.sidebar a{font-weight:500!important;color:#4b5563!important}.sidebar a:hover{background:#f8fafd!important;color:#1a73e8!important}
.auth-link{font-size:13.5px!important;font-weight:400!important;color:#5f6368!important}.auth-link:hover{color:#1a73e8!important}.header-order-link{font-size:13.5px!important;font-weight:500!important;min-height:38px!important}
@media (max-width:950px){.top-actions{flex-wrap:wrap!important;width:100%}.wallet-pill{order:1}.icon-pill{order:2}.account-menu{order:3;margin-inline-start:auto}.account-text strong{max-width:110px}.main-nav{gap:20px!important}.account-dropdown{left:0;right:auto}}
@media (max-width:560px){.wallet-pill span{display:none}.account-text{display:none}.account-menu summary{padding:3px}.main-nav{gap:15px!important}.main-nav a{font-size:13px!important}.account-dropdown{left:0;width:200px}}


/* v19 profile image, smaller logo and Google-style auth */
.brand-image img{height:42px!important;max-width:160px!important}
.brand-image.footer-logo img{height:44px!important;max-width:170px!important}
.avatar-img{object-fit:cover;background:#f1f5f9;border:1px solid #e2e8f0}.avatar-mini{width:32px!important;height:32px!important;min-width:32px!important;border-radius:50%!important}.profile-avatar{width:88px;height:88px;min-width:88px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:#e8f0fe;color:#1967d2;font-size:32px;font-weight:700}.profile-layout{display:grid;grid-template-columns:minmax(0,1fr);max-width:860px;margin:0 auto}.profile-card{padding:28px}.profile-preview{display:flex;align-items:center;gap:16px;margin-bottom:22px}.profile-preview h1{margin:0;font-size:24px}.profile-preview p{margin:4px 0 0}.chat-meta{display:flex;align-items:center;gap:8px;margin-bottom:6px}.chat-avatar{width:28px;height:28px;min-width:28px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:#eef2ff;color:#1d4ed8;font-size:12px;font-weight:700}.chat-message.own .chat-avatar{background:#dcfce7;color:#15803d}
.auth-shell{max-width:1040px;margin:24px auto 42px;display:grid;grid-template-columns:minmax(0,.95fr) minmax(380px,.8fr);gap:28px;align-items:center}.auth-visual{min-height:430px;border-radius:28px;background:linear-gradient(135deg,#f8fbff,#eef6ff 55%,#fff7ed);padding:34px;display:flex;flex-direction:column;justify-content:center;border:1px solid #edf2f7}.auth-visual .auth-logo img{height:54px;width:auto;margin-bottom:26px}.auth-visual h1{font-size:32px;margin-bottom:10px;color:#111827}.auth-visual p{font-size:16px;color:#64748b;max-width:430px}.auth-points{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}.auth-points span{display:inline-flex;align-items:center;gap:7px;background:#fff;border:1px solid #e8eef6;border-radius:999px;padding:8px 12px;color:#475569;font-size:13px;font-weight:600}.auth-points i{color:#1E88E5}.google-auth{margin:0;max-width:none;border:1px solid #e8eef6!important;border-radius:24px!important;box-shadow:0 18px 48px rgba(15,23,42,.06)!important;padding:28px!important}.auth-card-head{text-align:right;margin-bottom:22px}.auth-card-head img{height:42px;width:auto;margin-bottom:16px}.auth-card-head h2{font-size:24px;margin:0 0 6px;color:#202124}.auth-card-head p{color:#64748b;margin:0}.google-auth label{font-weight:500;color:#374151;font-size:13.5px}.google-auth input,.google-auth select{border-radius:12px;border-color:#dfe5ee;background:#fff;transition:border-color .16s, box-shadow .16s}.google-auth input:focus,.google-auth select:focus{outline:0;border-color:#1a73e8;box-shadow:0 0 0 3px rgba(26,115,232,.10)}.auth-submit{width:100%;min-height:46px;border-radius:12px!important;font-weight:600!important;margin-top:4px}.auth-links-row{display:flex;align-items:center;justify-content:center;gap:10px;margin-top:16px;color:#94a3b8;font-size:13.5px}.auth-links-row a{font-weight:500;color:#1a73e8}.auth-links-row a:hover{text-decoration:underline}.upload-box input[type=file]{cursor:pointer}
@media (max-width:950px){.brand-image img{height:38px!important;max-width:145px!important}.auth-shell{grid-template-columns:1fr;margin-top:12px}.auth-visual{min-height:auto;padding:24px}.auth-visual h1{font-size:26px}.google-auth{padding:22px!important}.profile-card{padding:20px}.profile-preview{align-items:flex-start}}
@media (max-width:560px){.brand-image img{height:34px!important;max-width:130px!important}.auth-visual{display:none}.auth-shell{margin:8px auto 28px}.profile-avatar{width:72px;height:72px;min-width:72px;font-size:26px}}


/* v20: dashboard header border and dashboard-scoped footer */
body.app-page .topbar{
  border-bottom:1px solid #edf1f5!important;
  box-shadow:none!important;
}
body.app-page .topbar.is-scrolled{
  border-bottom:1px solid #e4e9f0!important;
  box-shadow:0 1px 2px rgba(60,64,67,.05)!important;
}
body.app-page .site-footer{
  width:100%!important;
  max-width:none!important;
  margin:28px 0 20px!important;
  box-sizing:border-box!important;
}
body.app-page .footer-inner{
  padding:22px 24px!important;
}
body.app-page .footer-bottom{
  padding:12px 24px!important;
}
@media (max-width:950px){
  body.app-page .site-footer{margin:22px 0 14px!important}
  body.app-page .footer-inner{padding:18px!important}
  body.app-page .footer-bottom{padding:12px 18px!important}
}


/* v21: secure avatar rendering + Google/Material inspired dashboard redesign */
body.app-page{background:#fff!important;color:#202124!important}
body.app-page .page-wrap{max-width:1440px!important;padding:22px 28px 30px!important}
body.app-page .app-layout{grid-template-columns:260px minmax(0,1fr)!important;gap:22px!important;align-items:start!important}
body.app-page .content{min-width:0!important}
body.app-page .sidebar{top:86px!important;background:#fff!important;border:1px solid #e8eaed!important;border-radius:24px!important;box-shadow:0 1px 2px rgba(60,64,67,.08),0 1px 3px 1px rgba(60,64,67,.04)!important;padding:10px!important}
body.app-page .sidebar a{min-height:42px!important;display:flex!important;align-items:center!important;border-radius:999px!important;padding:0 14px!important;margin:2px 0!important;color:#5f6368!important;font-size:14px!important;font-weight:500!important;letter-spacing:0!important;transition:background .16s ease,color .16s ease!important}
body.app-page .sidebar a:hover{background:#f1f6ff!important;color:#1a73e8!important}
body.app-page .page-head{margin-bottom:18px!important;align-items:flex-start!important}
body.app-page .page-head h1{font-size:24px!important;font-weight:650!important;letter-spacing:-.2px!important;color:#202124!important;margin:0 0 4px!important}
body.app-page .page-head p,.muted{color:#6b7280!important;font-weight:400!important}
body.app-page .card{background:#fff!important;border:1px solid #e8eaed!important;border-radius:24px!important;box-shadow:0 1px 2px rgba(60,64,67,.08),0 1px 3px 1px rgba(60,64,67,.04)!important;padding:22px!important;margin-bottom:18px!important}
body.app-page .card h2{font-size:18px!important;font-weight:650!important;color:#202124!important;margin-bottom:14px!important}
body.app-page .stats-grid{gap:16px!important;margin-bottom:20px!important}
body.app-page .stat{position:relative;overflow:hidden;background:#fff!important;border:1px solid #e8eaed!important;border-right:0!important;border-radius:22px!important;padding:18px 18px 16px!important;box-shadow:0 1px 2px rgba(60,64,67,.08),0 1px 3px 1px rgba(60,64,67,.04)!important}
body.app-page .stat:before{content:'';display:block;width:36px;height:4px;border-radius:999px;background:#1a73e8;margin-bottom:14px;opacity:.9}
body.app-page .stat.warning:before{background:#fbbc04}.stat.success:before{background:#34a853}.stat.danger:before{background:#ea4335}.stat.indigo:before{background:#5b6ee1}.stat.gray:before{background:#9aa0a6}
body.app-page .stat span{font-size:13px!important;color:#6b7280!important;font-weight:500!important;margin-bottom:8px!important}
body.app-page .stat strong{font-size:24px!important;font-weight:700!important;color:#202124!important;line-height:1.35!important}
body.app-page table{border-collapse:separate!important;border-spacing:0!important;min-width:760px!important}
body.app-page th{background:#f8fafd!important;color:#5f6368!important;font-weight:600!important;font-size:13px!important;border-bottom:1px solid #e8eaed!important;padding:13px 14px!important}
body.app-page td{background:#fff!important;color:#202124!important;border-bottom:1px solid #edf1f5!important;padding:13px 14px!important;font-size:14px!important}
body.app-page tr:hover td{background:#fbfdff!important}
body.app-page .order-card{background:#fff!important;border:1px solid #e8eaed!important;border-radius:22px!important;box-shadow:0 1px 2px rgba(60,64,67,.08),0 1px 3px 1px rgba(60,64,67,.04)!important;padding:18px!important;transition:box-shadow .16s ease,transform .16s ease,border-color .16s ease!important}
body.app-page .order-card:hover{border-color:#d2e3fc!important;box-shadow:0 8px 18px rgba(60,64,67,.10)!important;transform:translateY(-1px)!important}
body.app-page .order-card h3{font-size:16px!important;font-weight:650!important;color:#202124!important;margin:12px 0 6px!important}
body.app-page .order-card p{color:#5f6368!important;font-size:14px!important;line-height:1.9!important}
body.app-page .badge{font-weight:600!important;font-size:11.5px!important;padding:4px 9px!important;border-radius:999px!important}
body.app-page .tag{background:#f1f3f4!important;color:#5f6368!important;font-weight:500!important;border:1px solid transparent!important}
body.app-page .btn{border-radius:999px!important;min-height:40px!important;padding:0 18px!important;font-weight:600!important;box-shadow:none!important;transition:background .16s ease,box-shadow .16s ease,transform .16s ease!important}
body.app-page .btn:hover{filter:none!important;box-shadow:0 2px 6px rgba(60,64,67,.14)!important;transform:translateY(-1px)!important}
body.app-page .btn.secondary{background:#f1f6ff!important;color:#1a73e8!important}
body.app-page input,body.app-page textarea,body.app-page select{border-color:#dfe5ee!important;border-radius:14px!important;background:#fff!important;font-weight:400!important}
body.app-page input:focus,body.app-page textarea:focus,body.app-page select:focus{outline:0!important;border-color:#1a73e8!important;box-shadow:0 0 0 3px rgba(26,115,232,.10)!important}
body.app-page label{font-size:13.5px!important;color:#3c4043!important;font-weight:500!important}
body.app-page .chat-box{background:#f8fafd!important;border:1px solid #edf1f5!important;border-radius:22px!important;padding:14px!important}
body.app-page .chat-message{box-shadow:0 1px 2px rgba(60,64,67,.06)!important}
body.app-page .profile-card,.profile-layout .card{border-radius:28px!important}
.avatar-img{object-fit:cover!important;display:inline-block!important}
.avatar-mini.avatar-img{width:32px!important;height:32px!important}.profile-avatar.avatar-img{width:88px!important;height:88px!important}.chat-avatar.avatar-img{width:28px!important;height:28px!important}
@media (max-width:950px){body.app-page .page-wrap{padding:14px!important}body.app-page .app-layout{grid-template-columns:1fr!important}.sidebar{position:static!important}body.app-page .stats-grid{grid-template-columns:1fr!important}}


/* v23 auth pages: image-led Google/Material layout */
.auth-modern-shell{max-width:1180px;margin:18px auto 42px;display:grid;grid-template-columns:minmax(0,1.08fr) minmax(360px,.82fr);gap:26px;align-items:stretch;direction:rtl}.auth-register-shell{grid-template-columns:minmax(360px,.82fr) minmax(0,1.08fr)}.auth-register-shell .auth-modern-visual{order:2}.auth-register-shell .auth-modern-panel{order:1}.auth-modern-visual{position:relative;min-height:640px;border-radius:28px;overflow:hidden;background:#f7faff;border:1px solid #eef2f7;display:flex;align-items:center;justify-content:center}.auth-modern-visual img{width:100%;height:100%;object-fit:cover;display:block}.auth-visual-caption{position:absolute;right:28px;left:28px;bottom:24px;background:rgba(255,255,255,.78);border:1px solid rgba(226,232,240,.72);backdrop-filter:blur(14px);border-radius:22px;padding:18px 20px;box-shadow:0 18px 45px rgba(15,23,42,.08)}.auth-visual-caption h1{font-size:25px;line-height:1.55;margin:0 0 4px;color:#0f172a;font-weight:800}.auth-visual-caption p{font-size:14px;color:#64748b;margin:0;max-width:520px}.auth-modern-panel{background:#fff;border:1px solid #e8edf5;border-radius:28px;box-shadow:0 20px 60px rgba(15,23,42,.07);padding:38px 38px 30px;align-self:center}.auth-icon-badge{width:72px;height:72px;border-radius:24px;background:#f4f8ff;border:1px solid #dbeafe;color:#1a73e8;display:flex;align-items:center;justify-content:center;font-size:30px;margin:0 auto 22px;box-shadow:inset 0 1px 0 #fff}.auth-modern-panel h2{text-align:center;font-size:26px;line-height:1.5;color:#202124;margin:0 0 6px;font-weight:800}.auth-subtitle{text-align:center;color:#64748b;margin:0 auto 26px;font-size:14.5px;max-width:330px}.auth-modern-form label{font-size:13.5px;color:#374151;font-weight:600;margin-bottom:14px}.input-with-icon{position:relative}.input-with-icon i{position:absolute;right:14px;top:50%;transform:translateY(-50%);color:#94a3b8;font-size:18px;z-index:1}.input-with-icon input{padding-right:44px!important}.auth-modern-form input,.auth-modern-form select{border:1px solid #dfe5ee!important;border-radius:14px!important;background:#fff!important;min-height:48px!important;font-weight:500;transition:border-color .16s ease,box-shadow .16s ease,background .16s ease}.auth-modern-form input:focus,.auth-modern-form select:focus{outline:0!important;border-color:#1a73e8!important;box-shadow:0 0 0 4px rgba(26,115,232,.10)!important}.auth-modern-form .province-city{display:grid;grid-template-columns:1fr 1fr;gap:12px}.auth-modern-form .auth-submit{width:100%;min-height:48px!important;border-radius:14px!important;font-weight:700!important;background:#1a73e8!important;box-shadow:0 10px 24px rgba(26,115,232,.20);margin-top:6px}.auth-modern-form .auth-submit:hover{filter:none!important;background:#1765cc!important}.auth-modern-form .auth-links-row{font-size:13.5px;margin-top:18px}.auth-modern-form .auth-links-row span{color:#64748b}.auth-alt-link{text-align:center;margin-top:10px;font-size:13px}.auth-alt-link a{color:#64748b;font-weight:600}.auth-alt-link a:hover{color:#1a73e8}.auth-modern-panel .auth-card-head,.auth-modern-panel img{display:none!important}@media (max-width:1050px){.auth-modern-shell,.auth-register-shell{grid-template-columns:1fr;gap:18px}.auth-register-shell .auth-modern-visual,.auth-register-shell .auth-modern-panel{order:initial}.auth-modern-visual{min-height:420px}.auth-modern-panel{max-width:620px;width:100%;margin:auto}}@media (max-width:640px){.auth-modern-shell{margin:10px auto 30px}.auth-modern-visual{min-height:260px;border-radius:20px}.auth-visual-caption{display:none}.auth-modern-panel{border-radius:22px;padding:24px 20px;box-shadow:0 12px 34px rgba(15,23,42,.06)}.auth-modern-panel h2{font-size:22px}.auth-icon-badge{width:58px;height:58px;border-radius:20px;font-size:24px;margin-bottom:16px}.auth-modern-form .province-city{grid-template-columns:1fr}}


/* v24 - professional auth redesign using existing NetChi illustrations */
body:has(.auth-modern-shell){background:#fff!important}
.auth-modern-shell,
.auth-register-shell{
  max-width:1240px!important;
  width:calc(100% - 56px)!important;
  margin:22px auto 52px!important;
  display:grid!important;
  grid-template-columns:minmax(0,1.12fr) minmax(380px,.78fr)!important;
  gap:34px!important;
  align-items:center!important;
  direction:ltr!important;
}
.auth-register-shell .auth-modern-visual,
.auth-register-shell .auth-modern-panel{order:initial!important}
.auth-modern-visual{
  direction:rtl!important;
  min-height:670px!important;
  border:0!important;
  border-radius:30px!important;
  background:linear-gradient(180deg,#f8fbff 0%,#ffffff 100%)!important;
  box-shadow:none!important;
  overflow:hidden!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
}
.auth-modern-visual img{
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  object-position:center!important;
  display:block!important;
}
.auth-visual-caption{display:none!important}
.auth-modern-panel{
  direction:rtl!important;
  width:100%!important;
  max-width:460px!important;
  margin:auto!important;
  background:#fff!important;
  border:1px solid #e5eaf2!important;
  border-radius:28px!important;
  box-shadow:0 24px 70px rgba(15,23,42,.08)!important;
  padding:42px 42px 34px!important;
  align-self:center!important;
}
.auth-icon-badge{
  width:72px!important;
  height:72px!important;
  border-radius:24px!important;
  background:linear-gradient(180deg,#f8fbff,#eef5ff)!important;
  border:1px solid #dce8fb!important;
  color:#1a73e8!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  font-size:30px!important;
  margin:0 auto 22px!important;
  box-shadow:0 8px 24px rgba(26,115,232,.08), inset 0 1px 0 rgba(255,255,255,.95)!important;
}
.auth-modern-panel h2{
  text-align:center!important;
  font-size:27px!important;
  line-height:1.55!important;
  color:#202124!important;
  margin:0 0 8px!important;
  font-weight:700!important;
  letter-spacing:-.2px!important;
}
.auth-subtitle{
  text-align:center!important;
  color:#667085!important;
  margin:0 auto 28px!important;
  font-size:14.5px!important;
  max-width:340px!important;
  line-height:1.9!important;
}
.auth-modern-form label{
  display:grid!important;
  gap:8px!important;
  color:#344054!important;
  font-size:13.5px!important;
  font-weight:500!important;
  margin-bottom:15px!important;
}
.input-with-icon{position:relative!important}
.input-with-icon i{
  position:absolute!important;
  right:15px!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  color:#98a2b3!important;
  font-size:18px!important;
  z-index:1!important;
}
.auth-modern-form .input-with-icon input{padding-right:46px!important}
.auth-modern-form input,
.auth-modern-form select{
  border:1px solid #dfe5ee!important;
  background:#fff!important;
  border-radius:14px!important;
  min-height:50px!important;
  padding-left:14px!important;
  padding-right:14px!important;
  color:#202124!important;
  font-size:14px!important;
  font-weight:400!important;
  box-shadow:none!important;
  transition:border-color .16s ease,box-shadow .16s ease,background .16s ease!important;
}
.auth-modern-form input::placeholder{color:#b5beca!important;font-weight:400!important}
.auth-modern-form input:focus,
.auth-modern-form select:focus{
  outline:0!important;
  border-color:#1a73e8!important;
  box-shadow:0 0 0 4px rgba(26,115,232,.10)!important;
}
.auth-modern-form .province-city{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:12px!important;
}
.auth-modern-form .auth-submit{
  width:100%!important;
  min-height:50px!important;
  border-radius:14px!important;
  background:#1a73e8!important;
  color:#fff!important;
  font-size:15px!important;
  font-weight:600!important;
  box-shadow:0 12px 24px rgba(26,115,232,.22)!important;
  margin-top:8px!important;
}
.auth-modern-form .auth-submit:hover{background:#1765cc!important;filter:none!important;transform:translateY(-1px)}
.auth-modern-form .auth-links-row{
  border-top:1px solid #eef2f7!important;
  padding-top:18px!important;
  margin-top:20px!important;
  display:flex!important;
  justify-content:center!important;
  gap:8px!important;
  color:#7b8794!important;
  font-size:13.5px!important;
}
.auth-modern-form .auth-links-row a{color:#1a73e8!important;font-weight:500!important}
.auth-alt-link{margin-top:10px!important;text-align:center!important;font-size:13px!important}
.auth-alt-link a{color:#667085!important;font-weight:500!important}
.auth-alt-link a:hover{color:#1a73e8!important}
@media (max-width:1050px){
  .auth-modern-shell,.auth-register-shell{grid-template-columns:1fr!important;width:calc(100% - 32px)!important;gap:18px!important;margin-top:14px!important}
  .auth-modern-visual{min-height:430px!important;max-height:520px!important;border-radius:24px!important}
  .auth-modern-panel{max-width:620px!important;padding:34px 30px 30px!important}
}
@media (max-width:640px){
  .auth-modern-shell,.auth-register-shell{width:calc(100% - 22px)!important;margin:8px auto 32px!important}
  .auth-modern-visual{min-height:260px!important;border-radius:20px!important}
  .auth-modern-panel{border-radius:22px!important;padding:24px 18px!important;box-shadow:0 12px 34px rgba(15,23,42,.06)!important}
  .auth-modern-panel h2{font-size:22px!important}
  .auth-icon-badge{width:58px!important;height:58px!important;border-radius:20px!important;font-size:24px!important;margin-bottom:16px!important}
  .auth-modern-form .province-city{grid-template-columns:1fr!important}
}

/* v25 - compact auth pages to reduce scrolling */
.auth-modern-shell,
.auth-register-shell{
  max-width:1180px!important;
  width:calc(100% - 52px)!important;
  margin:10px auto 24px!important;
  gap:26px!important;
  align-items:center!important;
}
.auth-modern-visual{
  min-height:520px!important;
  max-height:560px!important;
  border-radius:26px!important;
}
.auth-login-shell .auth-modern-visual{min-height:500px!important;max-height:535px!important}
.auth-register-shell .auth-modern-visual{min-height:540px!important;max-height:575px!important}
.auth-modern-visual img{
  object-fit:contain!important;
  max-height:100%!important;
}
.auth-modern-panel{
  max-width:440px!important;
  border-radius:24px!important;
  padding:28px 34px 24px!important;
  box-shadow:0 18px 48px rgba(15,23,42,.065)!important;
}
.auth-icon-badge{
  width:56px!important;
  height:56px!important;
  border-radius:18px!important;
  font-size:24px!important;
  margin-bottom:14px!important;
}
.auth-modern-panel h2{
  font-size:23px!important;
  margin-bottom:4px!important;
}
.auth-subtitle{
  font-size:13.5px!important;
  line-height:1.7!important;
  margin-bottom:16px!important;
}
.auth-modern-form label{
  gap:5px!important;
  margin-bottom:10px!important;
  font-size:13px!important;
}
.auth-modern-form input,
.auth-modern-form select{
  min-height:44px!important;
  border-radius:12px!important;
  font-size:13.5px!important;
}
.auth-modern-form .input-with-icon input{padding-right:42px!important}
.input-with-icon i{right:13px!important;font-size:16px!important}
.auth-modern-form .province-city{gap:10px!important}
.auth-modern-form .auth-submit{
  min-height:44px!important;
  border-radius:12px!important;
  margin-top:4px!important;
  font-size:14px!important;
}
.auth-modern-form .auth-links-row{
  padding-top:12px!important;
  margin-top:14px!important;
  font-size:13px!important;
}
.auth-alt-link{margin-top:6px!important;font-size:12.8px!important}
body:has(.auth-modern-shell) .footer{
  padding-top:10px!important;
  padding-bottom:14px!important;
}
@media (max-width:1050px){
  .auth-modern-shell,.auth-register-shell{margin:8px auto 22px!important;gap:14px!important}
  .auth-modern-visual{min-height:330px!important;max-height:380px!important}
  .auth-modern-panel{padding:24px 24px 22px!important;max-width:560px!important}
}
@media (max-width:640px){
  .auth-modern-shell,.auth-register-shell{width:calc(100% - 20px)!important;margin:6px auto 18px!important}
  .auth-modern-visual{display:none!important}
  .auth-modern-panel{padding:22px 18px!important;border-radius:20px!important}
}


/* v26 - homepage informational sections */
.home-value-row{
  width:min(1180px, calc(100% - 72px))!important;
  margin:22px auto 30px!important;
  display:grid!important;
  grid-template-columns:repeat(3,1fr)!important;
  gap:16px!important;
}
.home-value-row article{
  background:#fff!important;
  border:1px solid #e8edf5!important;
  border-radius:18px!important;
  padding:20px 20px 18px!important;
  box-shadow:0 4px 18px rgba(15,23,42,.035)!important;
  transition:transform .16s ease, box-shadow .16s ease, border-color .16s ease!important;
}
.home-value-row article:hover{transform:translateY(-2px)!important;border-color:#d8e5fb!important;box-shadow:0 10px 26px rgba(15,23,42,.06)!important}
.home-value-row i{
  width:42px!important;height:42px!important;border-radius:14px!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  background:#eef5ff!important;color:#1a73e8!important;font-size:21px!important;margin-bottom:12px!important;
}
.home-value-row h3{font-size:16px!important;font-weight:700!important;margin:0 0 8px!important;color:#1f2937!important}
.home-value-row p{font-size:13.5px!important;line-height:1.9!important;color:#667085!important;margin:0!important}
.home-audience-section{
  width:min(1180px, calc(100% - 72px))!important;
  margin:0 auto 34px!important;
  display:grid!important;
  grid-template-columns:1.05fr .95fr!important;
  align-items:center!important;
  gap:26px!important;
  background:linear-gradient(135deg,#f8fbff,#ffffff)!important;
  border:1px solid #e9eef6!important;
  border-radius:24px!important;
  padding:26px!important;
  overflow:hidden!important;
}
.audience-copy h2{font-size:26px!important;line-height:1.75!important;margin:8px 0 10px!important;color:#172033!important;font-weight:800!important}
.audience-copy p{font-size:14.5px!important;line-height:2!important;color:#667085!important;margin:0 0 18px!important;max-width:720px!important}
.audience-actions{display:flex!important;gap:10px!important;flex-wrap:wrap!important}.audience-actions .btn{min-height:42px!important}
.audience-art{border-radius:20px!important;background:#fff!important;min-height:260px!important;display:flex!important;align-items:center!important;justify-content:center!important;overflow:hidden!important;border:1px solid #edf2f7!important}
.audience-art img{width:100%!important;height:100%!important;max-height:360px!important;object-fit:cover!important;object-position:center!important;display:block!important}
.services-after-banner{width:min(1180px, calc(100% - 72px))!important;margin:6px auto 18px!important;align-items:flex-end!important}
.services-after-banner h2{margin:2px 0 0!important;font-size:24px!important;font-weight:800!important}.services-after-banner .eyebrow{font-size:12px!important;color:#1a73e8!important;font-weight:700!important}
.home-services-grid{width:min(1180px, calc(100% - 72px))!important;margin:0 auto 34px!important}
.home-process-strip{
  width:min(1180px, calc(100% - 72px))!important;
  margin:0 auto 34px!important;
  display:grid!important;grid-template-columns:repeat(3,1fr)!important;gap:0!important;
  background:#fff!important;border:1px solid #e8edf5!important;border-radius:20px!important;overflow:hidden!important;
  box-shadow:0 6px 24px rgba(15,23,42,.035)!important;
}
.home-process-strip div{padding:20px 22px!important;display:grid!important;grid-template-columns:42px 1fr!important;column-gap:12px!important;align-items:center!important;border-left:1px solid #edf2f7!important}
.home-process-strip div:last-child{border-left:0!important}.home-process-strip i{grid-row:1 / span 2!important;width:42px!important;height:42px!important;border-radius:50%!important;background:#f1f6ff!important;color:#1a73e8!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:20px!important}.home-process-strip strong{font-size:14.5px!important;color:#1f2937!important}.home-process-strip span{font-size:12.8px!important;color:#667085!important;line-height:1.7!important;margin-top:3px!important}
.home-provider-cta{
  width:min(1180px, calc(100% - 72px))!important;
  margin:0 auto 42px!important;
  background:#0f172a!important;color:#fff!important;border-radius:22px!important;padding:24px 28px!important;
  display:flex!important;align-items:center!important;justify-content:space-between!important;gap:18px!important;
  position:relative!important;overflow:hidden!important;
}
.home-provider-cta:after{content:''!important;position:absolute!important;left:-50px!important;top:-60px!important;width:180px!important;height:180px!important;border-radius:50%!important;background:rgba(251,140,0,.18)!important}
.home-provider-cta h2{font-size:22px!important;margin:0 0 8px!important;color:#fff!important}.home-provider-cta p{font-size:14px!important;line-height:1.9!important;color:#d6deea!important;margin:0!important;max-width:760px!important}.home-provider-cta .btn{background:#fb8c00!important;color:#fff!important;white-space:nowrap!important;position:relative!important;z-index:1!important}
@media (max-width:900px){
  .home-value-row,.home-audience-section,.home-services-grid,.services-after-banner,.home-process-strip,.home-provider-cta{width:calc(100% - 32px)!important}
  .home-value-row{grid-template-columns:1fr!important}.home-audience-section{grid-template-columns:1fr!important;padding:20px!important}.audience-art{min-height:220px!important}.home-process-strip{grid-template-columns:1fr!important}.home-process-strip div{border-left:0!important;border-bottom:1px solid #edf2f7!important}.home-process-strip div:last-child{border-bottom:0!important}.home-provider-cta{flex-direction:column!important;align-items:flex-start!important}.audience-copy h2{font-size:21px!important}
}

/* v27 - Auth pages: compact layout without cropping illustrations */
body:has(.auth-modern-shell){background:#fff!important;min-height:auto!important;}
.auth-modern-shell,
.auth-register-shell{
  width:min(1120px,calc(100% - 40px))!important;
  margin:10px auto 24px!important;
  gap:20px!important;
  align-items:center!important;
}
.auth-modern-visual{
  min-height:0!important;
  height:min(58vh,440px)!important;
  max-height:440px!important;
  padding:14px!important;
  border-radius:24px!important;
  background:#f7fbff!important;
  overflow:hidden!important;
}
.auth-login-shell .auth-modern-visual,
.auth-register-shell .auth-modern-visual{
  min-height:0!important;
  height:min(58vh,440px)!important;
  max-height:440px!important;
}
.auth-modern-visual img{
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  object-position:center!important;
  display:block!important;
}
.auth-modern-panel{
  align-self:center!important;
  padding:26px 30px 24px!important;
  border-radius:24px!important;
  max-width:460px!important;
  width:100%!important;
}
.auth-icon-badge{
  width:54px!important;
  height:54px!important;
  border-radius:18px!important;
  font-size:23px!important;
  margin-bottom:14px!important;
}
.auth-modern-panel h2{
  font-size:22px!important;
  line-height:1.35!important;
  margin-bottom:4px!important;
}
.auth-subtitle{
  font-size:13.5px!important;
  margin-bottom:16px!important;
  max-width:310px!important;
}
.auth-modern-form label{
  margin-bottom:9px!important;
  font-size:13px!important;
}
.auth-modern-form input,
.auth-modern-form select{
  min-height:42px!important;
  border-radius:12px!important;
}
.auth-modern-form .input-with-icon input{padding-right:40px!important;}
.auth-modern-form .province-city{gap:8px!important;}
.auth-modern-form .auth-submit{
  min-height:42px!important;
  margin-top:4px!important;
  border-radius:12px!important;
}
.auth-modern-form .auth-links-row{
  margin-top:12px!important;
  font-size:13px!important;
}
.auth-alt-link{margin-top:5px!important;font-size:12.5px!important;}
body:has(.auth-modern-shell) .footer{padding:12px 0 16px!important;}
@media (max-width:1050px){
  .auth-modern-shell,.auth-register-shell{width:calc(100% - 28px)!important;gap:14px!important;margin:8px auto 22px!important;}
  .auth-modern-visual{height:auto!important;max-height:none!important;min-height:0!important;padding:12px!important;}
  .auth-modern-visual img{height:auto!important;max-height:320px!important;}
  .auth-modern-panel{max-width:540px!important;padding:24px 24px 22px!important;}
}
@media (max-width:640px){
  .auth-modern-shell,.auth-register-shell{width:calc(100% - 20px)!important;margin:6px auto 18px!important;}
  .auth-modern-visual{display:none!important;}
  .auth-modern-panel{padding:22px 18px!important;border-radius:20px!important;max-width:100%!important;}
}


/* v28 - Home audience exact image + larger non-cropped auth illustrations */
.home-audience-section{
  grid-template-columns:.92fr 1.08fr!important;
  padding:24px!important;
  background:#fff!important;
}
.audience-art{
  min-height:360px!important;
  max-height:none!important;
  background:#f8fbff!important;
  border:1px solid #edf2f7!important;
  border-radius:22px!important;
  box-shadow:0 10px 30px rgba(15,23,42,.045)!important;
}
.audience-art img{
  width:100%!important;
  height:100%!important;
  max-height:none!important;
  object-fit:cover!important;
  object-position:center center!important;
  display:block!important;
}
.auth-modern-shell,
.auth-register-shell{
  width:min(1180px,calc(100% - 44px))!important;
  margin:14px auto 34px!important;
  gap:24px!important;
  align-items:center!important;
}
.auth-modern-visual,
.auth-login-shell .auth-modern-visual,
.auth-register-shell .auth-modern-visual{
  height:min(72vh,640px)!important;
  max-height:640px!important;
  min-height:520px!important;
  padding:12px!important;
  border-radius:28px!important;
  background:#f8fbff!important;
}
.auth-modern-visual img{
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  object-position:center!important;
}
.auth-modern-panel{
  max-width:470px!important;
  padding:30px 34px 28px!important;
}
@media (max-width:1050px){
  .auth-modern-shell,.auth-register-shell{grid-template-columns:1fr!important;width:calc(100% - 28px)!important;gap:18px!important;margin:10px auto 28px!important;}
  .auth-modern-visual,.auth-login-shell .auth-modern-visual,.auth-register-shell .auth-modern-visual{height:auto!important;max-height:none!important;min-height:0!important;padding:10px!important;}
  .auth-modern-visual img{height:auto!important;max-height:520px!important;}
  .auth-modern-panel{max-width:580px!important;padding:28px 28px 26px!important;}
  .home-audience-section{grid-template-columns:1fr!important;}
  .audience-art{min-height:260px!important;}
}
@media (max-width:640px){
  .auth-modern-visual{display:none!important;}
  .auth-modern-panel{padding:22px 18px!important;}
  .audience-art{min-height:220px!important;}
}

/* v29 - restore v24 auth image/form layout: large complete images, no crop */
body:has(.auth-modern-shell){background:#fff!important;min-height:auto!important;}
.auth-modern-shell,
.auth-register-shell{
  max-width:1240px!important;
  width:calc(100% - 56px)!important;
  margin:22px auto 52px!important;
  display:grid!important;
  grid-template-columns:minmax(0,1.12fr) minmax(380px,.78fr)!important;
  gap:34px!important;
  align-items:center!important;
  direction:ltr!important;
}
.auth-register-shell .auth-modern-visual,
.auth-register-shell .auth-modern-panel{order:initial!important;}
.auth-modern-visual,
.auth-login-shell .auth-modern-visual,
.auth-register-shell .auth-modern-visual{
  direction:rtl!important;
  min-height:670px!important;
  max-height:none!important;
  height:auto!important;
  padding:0!important;
  border:0!important;
  border-radius:30px!important;
  background:linear-gradient(180deg,#f8fbff 0%,#ffffff 100%)!important;
  box-shadow:none!important;
  overflow:hidden!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
}
.auth-modern-visual img{
  width:100%!important;
  height:100%!important;
  max-height:none!important;
  object-fit:contain!important;
  object-position:center!important;
  display:block!important;
}
.auth-visual-caption{display:none!important;}
.auth-modern-panel{
  direction:rtl!important;
  width:100%!important;
  max-width:460px!important;
  margin:auto!important;
  background:#fff!important;
  border:1px solid #e5eaf2!important;
  border-radius:28px!important;
  box-shadow:0 24px 70px rgba(15,23,42,.08)!important;
  padding:42px 42px 34px!important;
  align-self:center!important;
}
.auth-icon-badge{
  width:72px!important;
  height:72px!important;
  border-radius:24px!important;
  background:linear-gradient(180deg,#f8fbff,#eef5ff)!important;
  border:1px solid #dce8fb!important;
  color:#1a73e8!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  font-size:30px!important;
  margin:0 auto 22px!important;
  box-shadow:0 8px 24px rgba(26,115,232,.08), inset 0 1px 0 rgba(255,255,255,.95)!important;
}
.auth-modern-panel h2{
  text-align:center!important;
  font-size:27px!important;
  line-height:1.55!important;
  color:#202124!important;
  margin:0 0 8px!important;
  font-weight:700!important;
  letter-spacing:-.2px!important;
}
.auth-subtitle{
  text-align:center!important;
  color:#667085!important;
  margin:0 auto 28px!important;
  font-size:14.5px!important;
  max-width:340px!important;
  line-height:1.9!important;
}
.auth-modern-form label{
  display:grid!important;
  gap:8px!important;
  color:#344054!important;
  font-size:13.5px!important;
  font-weight:500!important;
  margin-bottom:15px!important;
}
.auth-modern-form .input-with-icon input{padding-right:46px!important;}
.auth-modern-form input,
.auth-modern-form select{
  border:1px solid #dfe5ee!important;
  background:#fff!important;
  border-radius:14px!important;
  min-height:50px!important;
  padding-left:14px!important;
  padding-right:14px!important;
  color:#202124!important;
  font-size:14px!important;
  font-weight:400!important;
  box-shadow:none!important;
}
.auth-modern-form .province-city{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:12px!important;
}
.auth-modern-form .auth-submit{
  width:100%!important;
  min-height:50px!important;
  border-radius:14px!important;
  background:#1a73e8!important;
  color:#fff!important;
  font-size:15px!important;
  font-weight:600!important;
  box-shadow:0 12px 24px rgba(26,115,232,.22)!important;
  margin-top:8px!important;
}
.auth-modern-form .auth-links-row{
  border-top:1px solid #eef2f7!important;
  padding-top:18px!important;
  margin-top:20px!important;
  display:flex!important;
  justify-content:center!important;
  gap:8px!important;
  font-size:13.5px!important;
}
@media (max-width:1050px){
  .auth-modern-shell,.auth-register-shell{grid-template-columns:1fr!important;width:calc(100% - 32px)!important;gap:18px!important;margin-top:14px!important;}
  .auth-modern-visual,.auth-login-shell .auth-modern-visual,.auth-register-shell .auth-modern-visual{min-height:430px!important;max-height:none!important;border-radius:24px!important;padding:0!important;}
  .auth-modern-visual img{height:100%!important;max-height:none!important;}
  .auth-modern-panel{max-width:620px!important;padding:34px 30px 30px!important;}
}
@media (max-width:640px){
  .auth-modern-shell,.auth-register-shell{width:calc(100% - 22px)!important;margin:8px auto 32px!important;}
  .auth-modern-visual{display:none!important;}
  .auth-modern-panel{border-radius:22px!important;padding:24px 18px!important;box-shadow:0 12px 34px rgba(15,23,42,.06)!important;}
  .auth-modern-panel h2{font-size:22px!important;}
  .auth-icon-badge{width:58px!important;height:58px!important;border-radius:20px!important;font-size:24px!important;margin-bottom:16px!important;}
  .auth-modern-form .province-city{grid-template-columns:1fr!important;}
}


/* v30 - Professional provider signup page */
.provider-signup-shell{width:min(1180px,calc(100% - 56px))!important;margin:22px auto 48px!important;display:grid!important;grid-template-columns:1.03fr .97fr!important;gap:22px!important;align-items:stretch!important;direction:rtl!important}
.provider-signup-visual{position:relative!important;min-height:680px!important;border-radius:28px!important;overflow:hidden!important;background:linear-gradient(180deg,#f8fbff,#ffffff)!important;border:1px solid #e6edf7!important;box-shadow:0 12px 40px rgba(15,23,42,.06)!important;display:flex!important;flex-direction:column!important;justify-content:space-between!important}
.provider-signup-visual:before{content:''!important;position:absolute!important;inset:0!important;background:radial-gradient(circle at 18% 18%,rgba(30,136,229,.10),transparent 35%),radial-gradient(circle at 78% 30%,rgba(251,140,0,.10),transparent 32%)!important;pointer-events:none!important}
.provider-signup-visual img{position:relative!important;z-index:1!important;width:100%!important;max-height:335px!important;object-fit:contain!important;object-position:center bottom!important;margin-top:auto!important;padding:0 22px 22px!important}
.provider-visual-card{position:relative!important;z-index:2!important;padding:38px 38px 10px!important}.provider-visual-card h1{margin:8px 0 12px!important;color:#102a43!important;font-size:31px!important;line-height:1.65!important;font-weight:800!important;letter-spacing:-.6px!important}.provider-visual-card p{margin:0!important;color:#52657a!important;font-size:14.5px!important;line-height:2.15!important;max-width:590px!important}
.provider-benefits{display:grid!important;gap:10px!important;margin-top:24px!important}.provider-benefits div{display:grid!important;grid-template-columns:42px 1fr!important;grid-template-areas:'icon title' 'icon text'!important;gap:2px 12px!important;align-items:center!important;background:rgba(255,255,255,.78)!important;border:1px solid #edf2f7!important;border-radius:18px!important;padding:12px 14px!important;backdrop-filter:blur(8px)!important}.provider-benefits i{grid-area:icon!important;width:42px!important;height:42px!important;border-radius:14px!important;display:grid!important;place-items:center!important;color:#1a73e8!important;background:#eef5ff!important;font-size:20px!important}.provider-benefits strong{grid-area:title!important;color:#1f2937!important;font-size:13.5px!important;font-weight:800!important}.provider-benefits span{grid-area:text!important;color:#667085!important;font-size:12.5px!important;line-height:1.8!important}
.provider-signup-panel{background:#fff!important;border:1px solid #e4e9f2!important;border-radius:28px!important;box-shadow:0 16px 48px rgba(15,23,42,.07)!important;padding:34px!important;align-self:stretch!important}.provider-form-head{display:flex!important;gap:16px!important;align-items:center!important;margin-bottom:22px!important}.provider-form-head .auth-icon-badge{flex:0 0 auto!important;width:60px!important;height:60px!important;border-radius:20px!important;margin:0!important}.provider-form-head h2{margin:3px 0 8px!important;font-size:24px!important;color:#102a43!important;line-height:1.6!important;font-weight:800!important}.provider-form-head p{margin:0!important;color:#667085!important;font-size:13.5px!important;line-height:1.9!important}.provider-signup-form{display:grid!important;gap:16px!important}.provider-step-note{display:flex!important;gap:10px!important;align-items:center!important;margin-top:2px!important}.provider-step-note>span{width:30px!important;height:30px!important;border-radius:50%!important;display:grid!important;place-items:center!important;background:#e8f0fe!important;color:#1a73e8!important;font-weight:800!important;font-size:13px!important}.provider-step-note strong{display:block!important;color:#1f2937!important;font-size:14px!important;font-weight:800!important}.provider-step-note small{display:block!important;color:#7b8794!important;font-size:12.2px!important;margin-top:2px!important}.provider-form-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:13px!important}.provider-form-grid .full,.provider-signup-form .full{grid-column:1/-1!important}.provider-form-grid label,.provider-signup-form label{display:grid!important;gap:7px!important;color:#344054!important;font-size:13px!important;font-weight:700!important}.provider-form-grid input,.provider-form-grid select,.provider-signup-form input,.provider-signup-form select{height:46px!important;border:1px solid #d9e2ec!important;border-radius:14px!important;background:#fff!important;color:#243b53!important;font-size:14px!important;font-weight:500!important;padding:0 14px!important;outline:none!important;transition:border-color .18s ease,box-shadow .18s ease!important}.provider-form-grid input:focus,.provider-form-grid select:focus,.provider-signup-form input:focus,.provider-signup-form select:focus{border-color:#1a73e8!important;box-shadow:0 0 0 4px rgba(26,115,232,.10)!important}.provider-form-grid input::placeholder{color:#a9b4c1!important;font-weight:400!important}.provider-signup-form .province-city{grid-column:1/-1!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:13px!important}
.provider-upload-card{border:1.5px dashed #b8c7dc!important;border-radius:18px!important;background:#f8fbff!important;padding:18px!important;display:flex!important;align-items:center!important;gap:12px!important;cursor:pointer!important;transition:.18s ease!important}.provider-upload-card:hover{border-color:#1a73e8!important;background:#f4f8ff!important}.provider-upload-card i{width:46px!important;height:46px!important;border-radius:16px!important;background:#e8f0fe!important;color:#1a73e8!important;display:grid!important;place-items:center!important;font-size:24px!important}.provider-upload-card strong{color:#1f2937!important;font-size:14px!important}.provider-upload-card span{color:#7b8794!important;font-size:12.5px!important}.provider-upload-card input{margin-right:auto!important;height:auto!important;border:0!important;background:transparent!important;padding:0!important;max-width:200px!important}.provider-form-actions{display:flex!important;align-items:center!important;gap:12px!important;margin-top:4px!important}.provider-form-actions .auth-submit{min-width:190px!important;height:46px!important;border-radius:14px!important}.provider-form-actions .secondary{height:46px!important;border-radius:14px!important;background:#fff!important;color:#475569!important;border:1px solid #dbe4ee!important}
@media(max-width:1020px){.provider-signup-shell{grid-template-columns:1fr!important;width:calc(100% - 32px)!important}.provider-signup-visual{min-height:auto!important}.provider-signup-visual img{max-height:330px!important}.provider-signup-panel{padding:28px!important}}
@media(max-width:640px){.provider-signup-shell{width:calc(100% - 20px)!important;margin:10px auto 28px!important}.provider-signup-visual{display:none!important}.provider-signup-panel{padding:22px 18px!important;border-radius:22px!important}.provider-form-head{align-items:flex-start!important}.provider-form-head h2{font-size:21px!important}.provider-form-grid,.provider-signup-form .province-city{grid-template-columns:1fr!important}.provider-form-actions{flex-direction:column!important;align-items:stretch!important}.provider-form-actions .btn{width:100%!important}.provider-upload-card{display:grid!important}.provider-upload-card input{margin:0!important;max-width:100%!important}}


/* v31 provider signup visual */
.provider-signup-visual.provider-visual-top{justify-content:flex-start!important;background:linear-gradient(180deg,#ffffff,#f8fbff)!important;overflow:hidden!important}
.provider-signup-visual.provider-visual-top:before{background:radial-gradient(circle at 50% 12%,rgba(30,136,229,.08),transparent 34%),radial-gradient(circle at 72% 20%,rgba(251,140,0,.08),transparent 30%)!important}
.provider-signup-visual.provider-visual-top .provider-network-art{position:relative!important;z-index:2!important;width:100%!important;max-height:360px!important;object-fit:contain!important;object-position:center top!important;margin:12px auto 0!important;padding:18px 22px 0!important;filter:drop-shadow(0 18px 28px rgba(15,23,42,.06))!important}
.provider-signup-visual.provider-visual-top .provider-visual-card{padding:18px 34px 34px!important;z-index:3!important}
.provider-signup-visual.provider-visual-top .provider-visual-card h1{font-size:28px!important;margin-top:6px!important}
.provider-signup-visual.provider-visual-top .provider-visual-card p{font-size:14px!important;line-height:2.05!important}
.provider-signup-visual.provider-visual-top .provider-benefits{margin-top:18px!important}
@media(max-width:1020px){.provider-signup-visual.provider-visual-top .provider-network-art{max-height:320px!important}}


/* v32: Persian date/time readability + password visibility toggle */
.input-with-icon.password-field{position:relative;display:flex;align-items:center}
.input-with-icon.password-field input{padding-left:46px!important}
.password-toggle{position:absolute;left:10px;top:50%;transform:translateY(-50%);width:34px;height:34px;border:0;background:transparent;color:#64748b;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:background .18s,color .18s}
.password-toggle:hover{background:#eef6ff;color:#1E88E5}
.auto-password-wrap{margin-top:6px}
.auto-password-wrap input{width:100%}
.timeline small,.chat-meta small,td:first-child,.order-detail-head p{font-variant-numeric:tabular-nums}


/* v32.1 compact deadline date/time UI */
.deadline-field{display:grid;gap:10px;align-self:start}.deadline-field>label{margin:0}.deadline-field .muted{font-size:12px;line-height:1.8;color:#64748b}.jalali-date{direction:ltr;text-align:right}.deadline-time-toggle{display:inline-flex!important;align-items:center;gap:8px;width:max-content;border:1px solid #dbe7f3;background:#f8fbff;color:#334155;border-radius:999px;padding:7px 12px;font-size:13px;font-weight:700;cursor:pointer}.deadline-time-toggle input{width:16px;height:16px;accent-color:#1E88E5}.deadline-time-row{display:none;grid-template-columns:minmax(150px,220px);gap:10px}.deadline-time-row.is-visible{display:grid}.deadline-time-row input[type=time]{direction:ltr;text-align:center;font-weight:800;letter-spacing:.04em}.datepicker-plot-area{font-family:Vazirmatn,Tahoma,sans-serif!important;border-radius:18px!important;border:1px solid #dbe7f3!important;box-shadow:0 18px 50px rgba(15,23,42,.12)!important;overflow:hidden}.datepicker-plot-area .datepicker-day-view .table-days td span{border-radius:10px!important}.datepicker-plot-area .datepicker-day-view .table-days td.selected span,.datepicker-plot-area .datepicker-day-view .table-days td span:hover{background:#1E88E5!important;color:#fff!important}.datepicker-plot-area .toolbox .pwt-btn,.datepicker-plot-area .month-grid-box .header,.datepicker-plot-area .year-grid-box .header{font-family:Vazirmatn,Tahoma,sans-serif!important}@media(max-width:680px){.deadline-time-row{grid-template-columns:1fr}.deadline-time-toggle{width:100%;justify-content:center}}

/* v32.2 Material-style order deadline section + custom compact Jalali picker */
.order-form-v5 .form-grid{align-items:start!important;gap:18px!important}.order-form-v5>label.full{margin-top:6px!important}.order-form-v5 textarea{min-height:132px!important;resize:vertical!important}.deadline-card{position:relative!important;background:#fff!important;border:1px solid #e5edf6!important;border-radius:22px!important;padding:16px!important;box-shadow:0 12px 34px rgba(15,23,42,.045)!important;gap:12px!important}.deadline-card-head{display:flex!important;align-items:center!important;gap:12px!important;margin-bottom:2px!important}.deadline-card-icon{width:42px!important;height:42px!important;border-radius:14px!important;display:grid!important;place-items:center!important;background:#eaf3ff!important;color:#1E88E5!important;font-size:20px!important;flex:0 0 auto!important}.deadline-card-head strong{display:block!important;color:#102a43!important;font-size:14.5px!important;font-weight:800!important;line-height:1.7!important}.deadline-card-head small{display:block!important;color:#64748b!important;font-size:12px!important;font-weight:500!important;line-height:1.8!important}.date-input-wrap{display:grid!important;gap:7px!important;margin:0!important;color:#344054!important;font-size:13px!important;font-weight:700!important}.netchi-jdate-input{height:46px!important;border:1px solid #dbe5f0!important;border-radius:14px!important;background:#fff!important;padding:0 14px!important;color:#1e293b!important;font-weight:700!important;outline:none!important;cursor:pointer!important;transition:border-color .18s ease,box-shadow .18s ease,background .18s ease!important;direction:rtl!important;text-align:right!important}.netchi-jdate-input:focus{border-color:#1E88E5!important;box-shadow:0 0 0 4px rgba(30,136,229,.10)!important;background:#fcfdff!important}.deadline-time-toggle{display:inline-flex!important;align-items:center!important;justify-content:flex-start!important;gap:9px!important;width:max-content!important;max-width:100%!important;border:1px solid #dbe5f0!important;background:#f8fbff!important;color:#334155!important;border-radius:999px!important;padding:8px 13px!important;font-size:13px!important;font-weight:800!important;cursor:pointer!important;transition:.18s ease!important}.deadline-time-toggle:hover{border-color:#b9d5f6!important;background:#f3f8ff!important}.deadline-time-toggle input{width:17px!important;height:17px!important;accent-color:#1E88E5!important;margin:0!important}.deadline-time-row{display:none!important;grid-template-columns:1fr 1fr!important;gap:10px!important;background:#f8fbff!important;border:1px solid #e5edf6!important;border-radius:18px!important;padding:10px!important}.deadline-time-row.is-visible{display:grid!important}.deadline-time-row label{display:grid!important;gap:6px!important;margin:0!important;color:#475569!important;font-size:12.5px!important;font-weight:800!important}.deadline-time-row select{height:42px!important;border:1px solid #dbe5f0!important;border-radius:12px!important;background:#fff!important;color:#102a43!important;font-weight:800!important;text-align:center!important;text-align-last:center!important;outline:none!important}.deadline-time-row select:focus{border-color:#1E88E5!important;box-shadow:0 0 0 3px rgba(30,136,229,.10)!important}.deadline-help{display:flex!important;align-items:flex-start!important;gap:7px!important;font-size:12px!important;line-height:1.9!important;color:#64748b!important}.deadline-help i{color:#1E88E5!important;margin-top:3px!important}.netchi-jdate-popover{position:absolute;z-index:99999;width:292px;background:#fff;border:1px solid #dbe7f3;border-radius:20px;box-shadow:0 22px 70px rgba(15,23,42,.16);padding:12px;font-family:Vazirmatn,Tahoma,sans-serif;direction:rtl;display:none}.netchi-jdate-popover.is-open{display:block}.njdp-head{display:grid;grid-template-columns:38px 1fr 38px;align-items:center;gap:8px;margin-bottom:10px}.njdp-head strong{text-align:center;font-size:15px;font-weight:800;color:#213547}.njdp-head button{width:36px;height:36px;border:0;border-radius:12px;background:#f4f8fe;color:#334155;display:grid;place-items:center;cursor:pointer;transition:.15s ease}.njdp-head button:hover{background:#e8f2ff;color:#1E88E5}.njdp-week,.njdp-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:5px}.njdp-week{margin-bottom:6px}.njdp-week span{text-align:center;color:#64748b;font-size:12px;font-weight:800;padding:5px 0}.njdp-grid button,.njdp-grid .empty{height:34px;border-radius:11px}.njdp-grid button{border:0;background:transparent;color:#263b53;font-weight:700;cursor:pointer;font-family:inherit;transition:.13s ease}.njdp-grid button:hover{background:#edf5ff;color:#1E88E5}.njdp-grid button.today{box-shadow:inset 0 0 0 1px #9cc8fa;color:#1E88E5}.njdp-grid button.selected{background:#1E88E5!important;color:#fff!important;box-shadow:0 6px 14px rgba(30,136,229,.22)}.njdp-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;border-top:1px solid #edf2f7;margin-top:10px;padding-top:10px}.njdp-actions button{border:0;background:#f8fafc;color:#475569;border-radius:12px;padding:8px 10px;font-family:inherit;font-weight:800;cursor:pointer}.njdp-actions button:hover{background:#edf5ff;color:#1E88E5}.njdp-actions button[data-action="clear"]{color:#d33}.njdp-actions button[data-action="clear"]:hover{background:#fff2f2;color:#c62828}.datepicker-plot-area{display:none!important}@media(max-width:860px){.order-form-v5 .form-grid{grid-template-columns:1fr!important}.deadline-card{grid-column:1/-1!important}}@media(max-width:480px){.netchi-jdate-popover{width:calc(100vw - 24px);left:12px!important}.deadline-time-row{grid-template-columns:1fr 1fr!important}.deadline-time-toggle{width:100%!important;justify-content:center!important}}


/* v32.3 - order form layout refinement */
.order-form-v5 .form-grid > .order-title-field{grid-column:1/-1!important;margin-bottom:0!important;}
.order-form-v5 .form-grid > .order-title-field input{min-height:48px!important;border-radius:14px!important;font-size:14.5px!important;}
.order-form-v5 .form-grid > .order-deadline-row{grid-column:1/-1!important;margin-top:2px!important;}
.order-form-v5 .form-grid{grid-template-columns:1fr!important;gap:16px!important;}
.order-form-v5 > label.full{width:100%!important;margin-top:0!important;}
.order-form-v5 > label.full textarea{border-radius:16px!important;}
.deadline-card.order-deadline-row{display:grid!important;grid-template-columns:1.05fr .95fr!important;align-items:start!important;column-gap:18px!important;row-gap:12px!important;padding:18px!important;}
.deadline-card.order-deadline-row .deadline-card-head{grid-column:1/-1!important;margin-bottom:4px!important;}
.deadline-card.order-deadline-row .deadline-help{grid-column:1/-1!important;margin-top:-2px!important;}
.deadline-card.order-deadline-row .deadline-time-row{grid-column:1/-1!important;max-width:420px!important;}
@media(max-width:760px){.deadline-card.order-deadline-row{grid-template-columns:1fr!important}.deadline-card.order-deadline-row .deadline-time-row{max-width:none!important}}

/* v32.4 - optional deadline block with inline exact-time controls */
.deadline-card.order-deadline-row{
  display:block!important;
  padding:0!important;
  border:0!important;
  box-shadow:none!important;
  background:transparent!important;
  margin-top:0!important;
}
.deadline-master-toggle{
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
  width:100%!important;
  margin:0!important;
  padding:13px 14px!important;
  border:1px solid #dfe8f3!important;
  border-radius:18px!important;
  background:#fff!important;
  cursor:pointer!important;
  transition:border-color .18s ease,box-shadow .18s ease,background .18s ease!important;
}
.deadline-master-toggle:hover{
  border-color:#b9d5f6!important;
  background:#fbfdff!important;
  box-shadow:0 8px 24px rgba(15,23,42,.045)!important;
}
.deadline-master-toggle input{
  width:18px!important;
  height:18px!important;
  margin:0!important;
  accent-color:#1E88E5!important;
  flex:0 0 auto!important;
}
.deadline-master-icon{
  width:38px!important;
  height:38px!important;
  border-radius:13px!important;
  display:grid!important;
  place-items:center!important;
  background:#eef6ff!important;
  color:#1E88E5!important;
  font-size:18px!important;
  flex:0 0 auto!important;
}
.deadline-master-toggle strong{
  display:block!important;
  color:#102a43!important;
  font-size:14px!important;
  font-weight:800!important;
  line-height:1.7!important;
}
.deadline-master-toggle small{
  display:block!important;
  color:#64748b!important;
  font-size:12px!important;
  font-weight:500!important;
  line-height:1.8!important;
}
.deadline-options{
  display:none!important;
  margin-top:12px!important;
  padding:14px!important;
  border:1px solid #e6edf5!important;
  border-radius:18px!important;
  background:#fbfdff!important;
}
.deadline-options.is-visible{display:block!important;}
.deadline-date-time-line{
  display:grid!important;
  grid-template-columns:minmax(230px,1fr) auto minmax(230px,auto)!important;
  align-items:end!important;
  gap:12px!important;
}
.deadline-date-time-line .date-input-wrap{min-width:0!important;}
.deadline-date-time-line .deadline-time-toggle-inline{
  align-self:end!important;
  height:46px!important;
  margin:0!important;
  white-space:nowrap!important;
}
.deadline-time-row.deadline-time-row-inline{
  display:none!important;
  grid-template-columns:110px 110px!important;
  gap:8px!important;
  align-self:end!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  border-radius:0!important;
  max-width:none!important;
}
.deadline-time-row.deadline-time-row-inline.is-visible{display:grid!important;}
.deadline-time-row.deadline-time-row-inline label{gap:5px!important;}
.deadline-help{margin-top:10px!important;}
@media(max-width:980px){
  .deadline-date-time-line{grid-template-columns:1fr!important;align-items:stretch!important;}
  .deadline-date-time-line .deadline-time-toggle-inline{width:100%!important;justify-content:center!important;}
  .deadline-time-row.deadline-time-row-inline{grid-template-columns:1fr 1fr!important;width:100%!important;}
}

/* v33 - customer cancellation */
.cancel-order-panel{width:100%;margin-top:10px;border:1px solid #fde2e2;background:#fffafa;border-radius:16px;padding:10px}
.cancel-order-panel summary{list-style:none;cursor:pointer;display:inline-flex;align-items:center;gap:8px;justify-content:center}
.cancel-order-panel summary::-webkit-details-marker{display:none}
.cancel-order-form{display:grid;gap:12px;margin-top:14px;max-width:620px}
.cancel-order-form select,.cancel-order-form textarea{width:100%;border:1px solid #dfe5ef;border-radius:12px;padding:11px 12px;background:#fff;font-family:inherit;color:#23324d;outline:none;transition:.18s ease}
.cancel-order-form select:focus,.cancel-order-form textarea:focus{border-color:#1e88e5;box-shadow:0 0 0 4px rgba(30,136,229,.12)}
.cancel-info-box{margin-top:18px;border:1px solid #fde2e2;background:linear-gradient(180deg,#fffafa,#fff);border-radius:18px;padding:16px 18px}
.cancel-info-box h3{display:flex;align-items:center;gap:8px;color:#b42318;margin:0 0 12px;font-size:16px}
.btn.outline{background:#fff;border:1px solid currentColor;box-shadow:none}

/* v34 suspension actions */
.suspend-info-box{border:1px solid #fde68a;background:#fffbeb;border-radius:16px;padding:16px 18px;margin:16px 0;color:#78350f}
.suspend-info-box h3{display:flex;gap:8px;align-items:center;margin:0 0 12px;font-size:16px}
.suspend-order-panel,.resume-order-panel{margin-top:10px;width:100%}
.suspend-order-panel summary.btn,.cancel-order-panel summary.btn{display:inline-flex;align-items:center;gap:8px;cursor:pointer;list-style:none}
.suspend-order-panel summary::-webkit-details-marker,.cancel-order-panel summary::-webkit-details-marker{display:none}
.suspend-order-form{border:1px solid #fde68a;background:#fffbeb;border-radius:16px;padding:14px;margin-top:10px;max-width:560px}
.resume-order-panel .toast{margin-bottom:10px}
.btn.warning{background:#f59e0b;color:#fff;border-color:#f59e0b}
.btn.warning.outline{background:#fff7ed;color:#92400e;border:1px solid #fed7aa}
.btn.warning.outline:hover{background:#ffedd5}

/* v35 - optional deadline, overdue states and extension UI */
.deadline-policy-toggle{display:flex!important;align-items:center!important;gap:8px!important;margin:10px 0 0!important;padding:10px 12px!important;border:1px solid #e6edf5!important;border-radius:14px!important;background:#fff!important;color:#475569!important;font-size:12.5px!important;font-weight:700!important;cursor:pointer!important}
.deadline-policy-toggle input{width:16px!important;height:16px!important;accent-color:#1E88E5!important;margin:0!important;flex:0 0 auto!important}
.deadline-badge{display:inline-flex!important;align-items:center!important;gap:6px!important;border-radius:999px!important;padding:5px 10px!important;font-size:12px!important;font-weight:800!important;line-height:1.6!important;white-space:nowrap!important;border:1px solid transparent!important}
.deadline-badge.muted{background:#f8fafc!important;color:#64748b!important;border-color:#e2e8f0!important}
.deadline-badge.normal{background:#eef6ff!important;color:#1E88E5!important;border-color:#cfe5ff!important}
.deadline-badge.near{background:#fff7ed!important;color:#b45309!important;border-color:#fed7aa!important}
.deadline-badge.overdue{background:#fef2f2!important;color:#b42318!important;border-color:#fecaca!important}
.deadline-meta{display:inline-flex!important;align-items:center!important;gap:6px!important;flex-wrap:wrap!important}.deadline-meta .deadline-badge{margin-inline-start:4px!important}
.deadline-notice{border-radius:18px!important;padding:16px 18px!important;margin:16px 0!important;border:1px solid #e6edf5!important;background:#fff!important}.deadline-notice h3{display:flex!important;align-items:center!important;gap:8px!important;font-size:16px!important;margin:0 0 8px!important}.deadline-notice p{margin:0!important;color:#475569!important;line-height:2!important}.deadline-notice.near{background:#fffaf0!important;border-color:#fed7aa!important}.deadline-notice.near h3{color:#b45309!important}.deadline-notice.overdue{background:linear-gradient(180deg,#fffafa,#fff)!important;border-color:#fecaca!important}.deadline-notice.overdue h3{color:#b42318!important}
.deadline-extend-panel{margin-top:14px!important}.deadline-extend-panel summary{list-style:none!important;cursor:pointer!important;display:inline-flex!important;align-items:center!important;gap:8px!important}.deadline-extend-panel summary::-webkit-details-marker{display:none!important}.deadline-extend-form{display:grid!important;gap:12px!important;margin-top:12px!important;padding:14px!important;border:1px solid #e6edf5!important;border-radius:18px!important;background:#fbfdff!important}.deadline-extend-form textarea{border:1px solid #dbe5f0!important;border-radius:14px!important;min-height:72px!important;padding:10px 12px!important}.deadline-extend-form .deadline-date-time-line{grid-template-columns:minmax(220px,1fr) auto minmax(220px,auto)!important}
@media(max-width:900px){.deadline-extend-form .deadline-date-time-line{grid-template-columns:1fr!important}.deadline-badge{white-space:normal!important}.deadline-policy-toggle{align-items:flex-start!important}}

/* v35.2 - Collapsible dashboard sidebar for wider content tables */
body.app-page .content{min-width:0!important}
body.app-page .app-layout{transition:grid-template-columns .18s ease!important}
body.app-page .sidebar{overflow:hidden!important;transition:width .18s ease,padding .18s ease,border-radius .18s ease!important}
.sidebar-toggle{width:100%;height:42px;border:0;background:#f7faff;color:#1a73e8;border-radius:999px;display:flex;align-items:center;justify-content:center;gap:8px;font-family:inherit;font-weight:700;font-size:13px;cursor:pointer;margin-bottom:10px;transition:background .16s ease,color .16s ease,box-shadow .16s ease}
.sidebar-toggle:hover{background:#e8f0fe;color:#1558d6;box-shadow:0 1px 2px rgba(60,64,67,.12)}
.sidebar-toggle i{font-size:19px;line-height:1}.sidebar-head{padding:8px 12px 10px;margin-bottom:6px;border-bottom:1px solid #eef2f7}.sidebar-title{display:block;color:#202124;font-weight:800;font-size:13px}.sidebar-head small{display:block;color:#6b7280;font-size:11px;margin-top:1px}.side-link{gap:10px;white-space:nowrap;overflow:hidden}.side-icon{width:26px;height:26px;min-width:26px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;color:#5f6368}.side-link:hover .side-icon,.side-link.active .side-icon{background:#e8f0fe;color:#1a73e8}.side-label{overflow:hidden;text-overflow:ellipsis}.side-link.active{background:#eef6ff!important;color:#1a73e8!important;font-weight:700!important}
body.app-page.sidebar-collapsed .app-layout{grid-template-columns:76px minmax(0,1fr)!important;gap:16px!important}
body.app-page.sidebar-collapsed .sidebar{padding:8px!important;border-radius:22px!important}
body.app-page.sidebar-collapsed .sidebar-toggle{width:44px;margin:0 auto 10px;padding:0;gap:0}
body.app-page.sidebar-collapsed .sidebar-toggle span,body.app-page.sidebar-collapsed .sidebar-head,body.app-page.sidebar-collapsed .side-label{display:none!important}
body.app-page.sidebar-collapsed .sidebar a.side-link{width:44px!important;height:44px!important;min-height:44px!important;padding:0!important;margin:5px auto!important;justify-content:center!important;border-radius:50%!important}
body.app-page.sidebar-collapsed .side-icon{width:44px;height:44px;min-width:44px;font-size:18px}.table-wrap{max-width:100%}
@media (max-width:950px){body.app-page.sidebar-collapsed .app-layout,body.app-page .app-layout{grid-template-columns:1fr!important}.sidebar-toggle{display:none!important}.sidebar-head{display:none!important}.side-label{display:inline!important}body.app-page.sidebar-collapsed .sidebar a.side-link,body.app-page .sidebar a.side-link{width:auto!important;height:auto!important;border-radius:999px!important;justify-content:flex-start!important;padding:0 14px!important}.side-icon{width:26px!important;height:26px!important;min-width:26px!important}}

/* v35.3 - Material style collapsible sidebar refinement */
body.app-page .app-layout{
  transition:grid-template-columns .22s cubic-bezier(.2,0,0,1), gap .22s cubic-bezier(.2,0,0,1)!important;
}
body.app-page .sidebar{
  padding:10px!important;
  border-radius:24px!important;
  border:1px solid #e7edf5!important;
  box-shadow:0 8px 24px rgba(15,23,42,.055)!important;
  background:#fff!important;
}
.sidebar-top{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
  min-height:50px!important;
  padding:4px 6px 10px!important;
  margin-bottom:6px!important;
  border-bottom:1px solid #eef2f7!important;
}
.sidebar-top-text{display:grid!important;gap:0!important;min-width:0!important;line-height:1.45!important}
.sidebar-top-text span{color:#202124!important;font-size:13px!important;font-weight:700!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.sidebar-top-text small{color:#7b8493!important;font-size:11px!important;font-weight:500!important;white-space:nowrap!important}
.sidebar-toggle{
  width:34px!important;
  height:34px!important;
  min-width:34px!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  color:#6b7280!important;
  border-radius:999px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:0!important;
  margin:0!important;
  font-size:0!important;
  cursor:pointer!important;
  box-shadow:none!important;
  outline:none!important;
  transition:background .16s ease,color .16s ease,transform .16s ease!important;
}
.sidebar-toggle:hover{background:#f1f5f9!important;color:#1a73e8!important;box-shadow:none!important}
.sidebar-toggle:active{transform:scale(.96)!important}
.sidebar-toggle i{font-size:18px!important;line-height:1!important;font-weight:400!important}
.sidebar a.side-link{
  position:relative!important;
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  min-height:44px!important;
  padding:0 12px!important;
  margin:3px 0!important;
  border-radius:14px!important;
  color:#3c4043!important;
  font-weight:600!important;
  letter-spacing:0!important;
  transition:background .16s ease,color .16s ease!important;
}
.sidebar a.side-link:hover{background:#f4f8ff!important;color:#1a73e8!important}
.side-icon{
  width:30px!important;
  height:30px!important;
  min-width:30px!important;
  border-radius:12px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  color:#6b7280!important;
  background:transparent!important;
  transition:background .16s ease,color .16s ease!important;
}
.side-icon i{font-size:17px!important;line-height:1!important}
.side-link:hover .side-icon{background:#e8f0fe!important;color:#1a73e8!important}
.side-link.active{background:#eaf3ff!important;color:#1a73e8!important;font-weight:700!important}
.side-link.active:before{
  content:""!important;
  position:absolute!important;
  right:4px!important;
  top:12px!important;
  bottom:12px!important;
  width:3px!important;
  border-radius:999px!important;
  background:#1a73e8!important;
}
.side-link.active .side-icon{background:#dbeafe!important;color:#1a73e8!important}
.side-label{font-size:13px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
body.app-page.sidebar-collapsed .app-layout{grid-template-columns:72px minmax(0,1fr)!important;gap:18px!important}
body.app-page.sidebar-collapsed .sidebar{padding:10px 8px!important;border-radius:24px!important}
body.app-page.sidebar-collapsed .sidebar-top{justify-content:center!important;padding:4px 0 10px!important;margin-bottom:8px!important}
body.app-page.sidebar-collapsed .sidebar-top-text{display:none!important}
body.app-page.sidebar-collapsed .sidebar-toggle{width:36px!important;height:36px!important;min-width:36px!important;border-radius:999px!important}
body.app-page.sidebar-collapsed .sidebar a.side-link{
  width:44px!important;
  height:44px!important;
  min-height:44px!important;
  padding:0!important;
  margin:6px auto!important;
  justify-content:center!important;
  border-radius:16px!important;
}
body.app-page.sidebar-collapsed .side-label{display:none!important}
body.app-page.sidebar-collapsed .side-icon{width:44px!important;height:44px!important;min-width:44px!important;border-radius:16px!important}
body.app-page.sidebar-collapsed .side-link.active:before{right:-4px!important;top:11px!important;bottom:11px!important}
body.app-page.sidebar-collapsed .side-link.active{background:#eaf3ff!important}
@media (max-width:950px){
  .sidebar-top{display:none!important}
  body.app-page .sidebar a.side-link,body.app-page.sidebar-collapsed .sidebar a.side-link{width:auto!important;height:auto!important;min-height:40px!important;border-radius:999px!important;justify-content:flex-start!important;padding:0 12px!important;margin:2px!important}
  body.app-page.sidebar-collapsed .side-label{display:inline!important}
  body.app-page.sidebar-collapsed .side-icon,.side-icon{width:28px!important;height:28px!important;min-width:28px!important;border-radius:999px!important}
}

/* NetChi v36 - dispute / customer review */
.customer-review-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:flex-start;width:100%}
.customer-review-actions form{margin:0}.customer-review-actions details{min-width:260px}.dispute-order-panel,.dispute-response-panel,.admin-dispute-panel{width:100%;max-width:680px}.dispute-info-box{border:1px solid rgba(229,57,53,.20);background:#fff7f7;border-radius:18px;padding:18px;margin:16px 0}.dispute-info-box h3{margin:0 0 12px;color:#b42318;display:flex;gap:8px;align-items:center}.dispute-info-box .details dt{color:#7f1d1d}.dispute-response-panel form,.admin-dispute-panel form,.dispute-order-form{margin-top:12px}.admin-dispute-panel{border-color:rgba(229,57,53,.25)}.badge.danger,.badge.customer_disputed{background:#fee2e2;color:#991b1b}.order-actions .btn.outline.danger{background:#fff;color:#dc2626;border:1px solid #fecaca}.order-actions .btn.outline.danger:hover{background:#fef2f2}

/* NetChi v37 - WhatsApp/Telegram style messaging + attachments */
.messages-head{align-items:flex-end!important}.messages-shell{display:grid;grid-template-columns:360px minmax(0,1fr);gap:18px;min-height:640px}.messages-sidebar,.messages-panel{background:#fff;border:1px solid #e8eaed;border-radius:26px;box-shadow:0 1px 2px rgba(60,64,67,.08),0 1px 3px 1px rgba(60,64,67,.04);overflow:hidden}.messages-sidebar{display:flex;flex-direction:column;min-width:0}.messages-search{position:relative;display:flex;gap:8px;align-items:center;padding:14px;border-bottom:1px solid #edf1f5;background:#fff}.messages-search i{position:absolute;right:26px;color:#94a3b8}.messages-search input{padding-right:38px!important;border-radius:999px!important;background:#f8fafd!important;border:1px solid #e6edf7!important;min-height:42px!important}.messages-search button{border:0;background:#e8f0fe;color:#1a73e8;border-radius:999px;height:38px;padding:0 14px;font-family:inherit;font-weight:700;cursor:pointer}.thread-list{overflow:auto;padding:8px;display:grid;gap:6px}.thread-item{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:10px;align-items:center;padding:11px 10px;border-radius:18px;color:#202124!important;transition:background .16s ease}.thread-item:hover{background:#f4f8ff}.thread-item.active{background:#eaf3ff}.thread-icon{width:42px;height:42px;border-radius:15px;background:#f1f6ff;color:#1a73e8;display:flex;align-items:center;justify-content:center;font-size:18px}.thread-copy{min-width:0}.thread-copy strong{display:block;font-size:14px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.thread-copy span{display:block;font-size:12px;color:#64748b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.thread-copy p{margin:3px 0 0;font-size:12px;color:#6b7280;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.thread-meta{display:flex;flex-direction:column;align-items:flex-end;gap:6px;min-width:44px}.thread-meta time{font-size:10.5px;color:#94a3b8;white-space:nowrap}.thread-meta b{min-width:22px;height:22px;border-radius:999px;background:#1a73e8;color:#fff;display:flex;align-items:center;justify-content:center;font-size:11px}.messages-panel{display:flex;flex-direction:column;min-width:0}.messages-panel-head{min-height:68px;padding:14px 18px;border-bottom:1px solid #edf1f5;background:#fff;display:flex;align-items:center;justify-content:space-between;gap:12px}.messages-panel-head strong{display:block;font-size:15px;color:#202124}.messages-panel-head span{display:block;color:#64748b;font-size:12.5px}.messages-panel .whatsapp-chat{border:0!important;border-radius:0!important;background:linear-gradient(180deg,#f8fafd,#fff)!important;box-shadow:none!important;min-height:410px;max-height:520px;padding:18px!important}.whatsapp-chat .chat-empty{margin:auto;text-align:center;color:#64748b;padding:30px}.whatsapp-chat .chat-empty i{font-size:34px;color:#cbd5e1}.whatsapp-chat .chat-message{max-width:74%;border:1px solid #e7edf5!important;background:#fff!important;border-radius:18px 18px 18px 5px!important;padding:10px 12px!important;margin:0 0 12px!important;box-shadow:0 1px 2px rgba(60,64,67,.08)!important}.whatsapp-chat .chat-message.own{background:#eaf3ff!important;border-color:#d4e4ff!important;border-radius:18px 18px 5px 18px!important}.chat-meta{display:flex;align-items:center;gap:8px;margin-bottom:6px}.chat-meta small{display:flex!important;align-items:center;gap:7px;flex-wrap:wrap;margin:0!important;color:#64748b!important}.chat-meta small strong{color:#334155;font-size:12px}.chat-meta small span{font-size:11px;background:#f1f5f9;border-radius:999px;padding:1px 8px}.chat-meta small time{font-size:11px}.chat-attachments{display:grid;gap:7px;margin-top:8px}.chat-file-card{display:grid;grid-template-columns:34px minmax(0,1fr) 22px;gap:9px;align-items:center;background:rgba(255,255,255,.72);border:1px solid #dfe7f1;border-radius:14px;padding:8px;color:#202124!important}.chat-file-card>i{width:34px;height:34px;border-radius:11px;background:#f1f6ff;color:#1a73e8;display:flex;align-items:center;justify-content:center;font-size:17px}.chat-file-card strong{display:block;font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-file-card small{display:block;font-size:11px;color:#64748b}.chat-file-card em{color:#64748b;font-style:normal}.modern-message-compose{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto!important;gap:10px!important;align-items:end!important;margin:0!important;padding:14px!important;background:#fff!important;border-top:1px solid #edf1f5!important}.modern-message-compose textarea{min-height:46px!important;border-radius:18px!important;background:#f8fafd!important;resize:none!important}.modern-message-compose .btn{height:46px!important;min-height:46px!important;border-radius:16px!important;padding:0 18px!important}.compose-file{margin:0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;width:46px!important;height:46px!important;border-radius:16px!important;background:#f1f6ff!important;color:#1a73e8!important;cursor:pointer!important}.compose-file input{display:none!important}.compose-file span{display:none}.compose-file i{font-size:20px}.modern-message-compose .full{grid-column:1/-1;margin:0!important;font-size:11px!important}.chat-empty.large{min-height:520px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#64748b}.chat-empty.large i{font-size:46px;color:#cbd5e1}.chat-empty.large h2{font-size:20px;color:#202124;margin:12px 0 4px}@media(max-width:1050px){.messages-shell{grid-template-columns:1fr}.messages-sidebar{max-height:360px}.messages-panel .whatsapp-chat{max-height:460px}.whatsapp-chat .chat-message{max-width:86%}}@media(max-width:640px){.messages-shell{gap:12px}.messages-panel-head{align-items:flex-start;flex-direction:column}.modern-message-compose{grid-template-columns:auto minmax(0,1fr)!important}.modern-message-compose .btn{grid-column:1/-1;width:100%}.thread-item{grid-template-columns:36px minmax(0,1fr)}.thread-meta{display:none}.thread-icon{width:36px;height:36px}.whatsapp-chat .chat-message{max-width:95%}}

/* v38 admin files */
.admin-files-filter .admin-files-search{display:grid;grid-template-columns:220px minmax(260px,1fr) auto auto;gap:12px;align-items:end}
.admin-files-table .admin-file-name{display:flex;align-items:center;gap:10px;min-width:220px}
.admin-files-table .admin-file-name i{width:34px;height:34px;border-radius:12px;background:#eef5ff;color:#1e88e5;display:inline-flex;align-items:center;justify-content:center;font-size:18px;flex:0 0 34px}
.admin-files-table .admin-file-name strong{display:block;font-weight:600;color:#182436;word-break:break-word}
.admin-files-table .admin-file-name small{display:block;color:#718096;font-size:12px;margin-top:4px}
.admin-files-table td small{display:block;color:#718096;margin-top:5px;font-size:12px}
@media (max-width: 900px){.admin-files-filter .admin-files-search{grid-template-columns:1fr}.admin-files-table .admin-file-name{min-width:180px}}

/* v39 admin reports and segmented users */
.admin-tabs-card{display:flex;flex-direction:column;gap:16px}
.admin-tabs{display:flex;gap:8px;flex-wrap:wrap;border-bottom:1px solid #eef2f7;padding-bottom:10px}
.admin-tab{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:0 14px;border-radius:999px;color:#64748b;text-decoration:none;font-size:13px;font-weight:600;transition:.18s ease;background:transparent}
.admin-tab:hover{background:#f1f5f9;color:#1e88e5}
.admin-tab.active{background:#e8f1fe;color:#1e88e5}
.admin-users-filter{display:grid;grid-template-columns:1fr 220px auto auto;gap:12px;align-items:end}
.admin-users-filter label{margin:0;font-size:13px;color:#475569}
.admin-users-filter input,.admin-users-filter select{height:42px;border:1px solid #dbe4ef;border-radius:12px;padding:0 12px;background:#fff;font:inherit;margin-top:6px}
.user-cell{display:flex;align-items:center;gap:10px;min-width:160px}
.user-cell strong{display:block;font-weight:700;color:#0f172a}
.user-cell small{display:block;color:#94a3b8;font-size:12px;margin-top:2px}
.admin-users-table td small{display:block;color:#94a3b8;margin-top:4px;font-size:12px}
.admin-report-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:18px 0}
.chart-card{min-height:330px}
.chart-card canvas{max-height:260px}
.report-summary .report-kpis{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.report-kpis div{background:#f8fafc;border:1px solid #edf2f7;border-radius:16px;padding:14px}
.report-kpis span{display:block;color:#64748b;font-size:12px;margin-bottom:8px}
.report-kpis strong{display:block;color:#0f172a;font-size:15px;font-weight:800}
@media(max-width:900px){.admin-users-filter{grid-template-columns:1fr}.admin-report-grid{grid-template-columns:1fr}.report-summary .report-kpis{grid-template-columns:1fr}}


/* v39.1 compact admin reports + Excel export polish */
.report-page-head{margin-bottom:12px!important}.compact-stats{gap:10px!important;margin-bottom:12px!important}.compact-stats .stat{padding:11px 13px!important;border-right-width:4px!important;border-radius:12px!important;box-shadow:0 4px 14px rgba(15,23,42,.045)!important}.compact-stats .stat span{font-size:12px!important}.compact-stats .stat strong{font-size:18px!important;line-height:1.35!important}.report-grid-compact{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;margin:12px 0!important}.mini-chart-card{padding:14px!important;min-height:230px!important;box-shadow:0 4px 14px rgba(15,23,42,.045)!important}.mini-chart-card h2,.compact-report-summary h2,.compact-admin-card h2{font-size:15px!important;margin-bottom:10px!important}.mini-chart-card canvas{width:100%!important;height:170px!important;max-height:170px!important}.compact-report-summary{padding:14px!important;box-shadow:0 4px 14px rgba(15,23,42,.045)!important}.compact-report-summary .report-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}.compact-report-summary .report-kpis div{border-radius:12px!important;padding:9px 10px!important;background:#fbfdff!important}.compact-report-summary .report-kpis span{font-size:11px!important;margin-bottom:4px!important}.compact-report-summary .report-kpis strong{font-size:13px!important}.admin-report-two-col{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start}.compact-admin-card{padding:14px!important;box-shadow:0 4px 14px rgba(15,23,42,.045)!important}.compact-admin-card .page-head{margin-bottom:6px!important}.compact-table-wrap table{min-width:620px!important}.compact-table-wrap th,.compact-table-wrap td{padding:9px 10px!important;font-size:13px!important}.compact-inline{gap:6px!important}.compact-inline input,.compact-inline select{min-height:34px!important;font-size:12px!important}.admin-users-filter + .btn,.admin-users-table{font-size:13px}.btn .bi-file-earmark-excel{color:#137333}
@media(max-width:1000px){.report-grid-compact,.admin-report-two-col{grid-template-columns:1fr!important}.mini-chart-card canvas{height:190px!important;max-height:190px!important}}

/* v39.2 refinements */
.report-head-actions{display:flex;align-items:center;gap:8px;justify-content:flex-end}
.icon-action.finance-gear{width:34px;height:34px;border:0;background:transparent;color:#475569;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-size:18px;cursor:pointer;transition:.18s ease}
.icon-action.finance-gear:hover{background:#f1f5f9;color:#1e88e5}
.finance-settings-popover{max-width:420px;margin:-8px 0 16px auto;padding:14px 16px;border:1px solid #e8eef7;box-shadow:0 10px 28px rgba(15,23,42,.06)}
.finance-settings-popover .accordion-form{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:end;padding:0}.finance-settings-popover label{margin:0}.finance-settings-popover input{height:40px}.finance-settings-popover .btn{height:40px;white-space:nowrap}
.admin-users-table .status-col{width:96px;min-width:96px;max-width:110px;white-space:nowrap}.admin-users-table .status-col select{width:92px;min-width:92px;height:34px;padding:0 8px;font-size:12px}.admin-users-table .user-status-inline{display:inline-flex;margin:0}.admin-users-table .row-actions.mini{display:inline-flex!important;align-items:center;gap:6px;white-space:nowrap;flex-wrap:nowrap}.admin-users-table .row-actions.mini .btn{height:32px;padding:0 10px;min-width:auto}.admin-users-table .row-actions.mini .btn.secondary{width:32px;padding:0;border-radius:9px;display:inline-flex;align-items:center;justify-content:center}
.direct-chat-layout{display:grid;grid-template-columns:280px 1fr;gap:18px;align-items:start}.direct-chat-user{text-align:center;position:sticky;top:90px}.direct-chat-user .profile-avatar{margin:0 auto 12px}.direct-chat-user h2{font-size:18px;margin:8px 0 2px}.direct-chat-user .details{text-align:right;margin-top:18px}.direct-chat-panel{padding:0;overflow:hidden}.direct-chat-box{min-height:420px;max-height:60vh;overflow:auto;padding:18px;background:linear-gradient(180deg,#f8fbff,#fff)}.direct-compose{border-top:1px solid #eef2f7;padding:12px;background:#fff}.direct-compose textarea{min-height:46px}
@media (max-width:900px){.direct-chat-layout{grid-template-columns:1fr}.direct-chat-user{position:static}.finance-settings-popover{max-width:none;margin:0 0 16px}.finance-settings-popover .accordion-form{grid-template-columns:1fr}.admin-users-table .row-actions.mini{gap:4px}}


.direct-chat-page-head{margin-bottom:16px!important}
.direct-chat-shell{display:grid;grid-template-columns:300px minmax(0,1fr);gap:20px;align-items:start}
.direct-chat-profile{display:grid;gap:16px;align-self:start}
.direct-chat-user,.direct-chat-note{box-shadow:0 1px 2px rgba(60,64,67,.08),0 1px 3px 1px rgba(60,64,67,.04)!important;border-radius:24px!important}
.direct-chat-user{padding:20px!important;text-align:right!important;position:sticky;top:88px}
.direct-chat-user-top{display:flex;align-items:center;gap:14px;margin-bottom:12px}
.direct-chat-user-top .profile-avatar{margin:0!important;flex:0 0 auto}
.direct-chat-user-copy h2{margin:0;font-size:19px;color:#202124}.direct-chat-user-copy p{margin:4px 0 0;color:#64748b;font-size:13px;font-weight:600}
.direct-chat-tags{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:10px}.direct-chat-tags .tag{background:#f8fafd;color:#334155;border:1px solid #e6edf7}
.direct-chat-facts{grid-template-columns:88px 1fr!important;gap:10px 12px!important;margin-top:8px}
.direct-chat-note h3{display:flex;align-items:center;gap:8px;font-size:15px;margin:0 0 8px;color:#202124}.direct-chat-note h3 i{color:#1a73e8}.direct-chat-note p{margin:0;font-size:13px;line-height:2}
.direct-chat-workspace{background:#fff;border:1px solid #e8eaed;border-radius:26px;box-shadow:0 1px 2px rgba(60,64,67,.08),0 1px 3px 1px rgba(60,64,67,.04);display:flex;flex-direction:column;min-width:0;overflow:hidden}
.direct-chat-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;border-bottom:1px solid #edf1f5;background:#fff}.direct-chat-title{min-width:0}.direct-chat-title strong{display:block;font-size:16px;color:#202124;margin-bottom:3px}.direct-chat-title span{display:block;font-size:12.5px;color:#64748b}.direct-chat-head-meta{display:flex;align-items:center;gap:8px}
.direct-chat-box{border:0!important;border-radius:0!important;background:linear-gradient(180deg,#f8fafd,#fff)!important;box-shadow:none!important;min-height:500px;max-height:62vh;padding:18px!important}
.direct-empty{margin:auto;text-align:center;color:#64748b;padding:34px 18px}.direct-empty i{font-size:36px;color:#cbd5e1}.direct-empty h3{margin:14px 0 6px;font-size:19px;color:#202124}.direct-empty p{margin:0;font-size:13px}
.direct-compose{grid-template-columns:minmax(0,1fr) auto!important;align-items:end!important;gap:12px!important;padding:14px 16px!important;background:#fff!important;border-top:1px solid #edf1f5!important}.direct-compose-field{display:grid;gap:8px;min-width:0}
.direct-compose textarea{min-height:52px!important;border-radius:18px!important;background:#f8fafd!important;border:1px solid #e6edf7!important;padding:12px 14px!important;resize:none!important;line-height:1.9}.direct-compose textarea:focus{outline:none;border-color:#aecbfa!important;box-shadow:0 0 0 3px rgba(26,115,232,.12)}
.direct-compose .btn{height:52px!important;min-height:52px!important;border-radius:16px!important;padding:0 20px!important;align-self:flex-end}.direct-compose-hint{display:block;color:#64748b;font-size:11px;line-height:1.8}
@media (max-width:980px){.direct-chat-shell{grid-template-columns:1fr}.direct-chat-user{position:static}.direct-chat-box{max-height:none;min-height:420px}}
@media (max-width:640px){.direct-chat-head{flex-direction:column;align-items:flex-start}.direct-chat-user-top{align-items:flex-start}.direct-compose{grid-template-columns:1fr!important}.direct-compose .btn{width:100%}}


/* v39.5 direct admin chat refinements */
.direct-chat-workspace{min-height:640px}
.direct-chat-box{display:flex!important;flex-direction:column!important;gap:12px!important;padding:20px!important}
.direct-chat-box .chat-message{align-self:flex-start!important;margin-right:auto!important;margin-left:0!important;max-width:min(78%,680px)!important;background:#fff!important;border:1px solid #e7edf5!important;border-radius:18px 18px 18px 6px!important;box-shadow:0 1px 2px rgba(60,64,67,.08)!important}
.direct-chat-box .chat-message.own{align-self:flex-end!important;margin-left:auto!important;margin-right:0!important;background:#eaf3ff!important;border-color:#cfe0ff!important;border-radius:18px 18px 6px 18px!important}
.direct-chat-box .chat-message p{font-size:14px;line-height:2}
.direct-chat-box .chat-meta{justify-content:flex-start}
.direct-chat-box .chat-message.own .chat-meta{justify-content:flex-end}
.direct-compose{display:flex!important;flex-wrap:wrap!important;align-items:flex-end!important;gap:10px!important;padding:14px 16px 12px!important}
.direct-compose-field{flex:1 1 420px!important;min-width:280px!important;display:flex!important;flex-direction:column!important;gap:6px!important}
.direct-compose textarea{min-height:42px!important;height:42px!important;max-height:96px!important;padding:10px 14px!important;line-height:1.8!important;overflow:auto!important}
.direct-compose .btn{height:42px!important;min-height:42px!important;padding:0 16px!important;border-radius:14px!important;min-width:92px!important;box-shadow:none!important}
.direct-compose-hint{flex:1 0 100%;font-size:11px;line-height:1.7;padding-right:2px}
@media (max-width:640px){.direct-compose{display:grid!important;grid-template-columns:1fr auto!important}.direct-compose-field{min-width:0!important}.direct-compose textarea{height:40px!important;min-height:40px!important}.direct-compose-hint{grid-column:1/-1}.direct-compose .btn{min-width:84px!important}}

/* v39.6 unified messages */
.messages-tabs{display:flex;align-items:center;gap:8px;margin:0 0 14px;flex-wrap:wrap}
.messages-tabs a{display:inline-flex;align-items:center;gap:7px;min-height:38px;padding:0 14px;border-radius:999px;background:#fff;border:1px solid #e8eaed;color:#3c4043!important;font-weight:700;font-size:13px;box-shadow:0 1px 2px rgba(60,64,67,.04)}
.messages-tabs a:hover{background:#f8fafd;color:#1a73e8!important}
.messages-tabs a.active{background:#e8f0fe;border-color:#d2e3fc;color:#1a73e8!important}
.thread-icon.direct{background:#fef3e2;color:#f57c00}.thread-icon.order{background:#f1f6ff;color:#1a73e8}
.messages-panel .tag i{margin-left:4px}.messages-search input[type="hidden"]{display:none!important}


/* v39.7 chat surface + finance modal */
body.app-page .chat-box,.whatsapp-chat,.messages-panel .whatsapp-chat,.direct-chat-box{border:0!important;border-radius:0!important;box-shadow:none!important}
.finance-settings-btn{gap:8px!important;border-radius:999px!important;height:36px!important;min-height:36px!important;padding:0 14px!important}
.finance-modal{position:fixed;inset:0;z-index:120;display:none;align-items:center;justify-content:center;padding:22px}
.finance-modal.open{display:flex!important}
.finance-modal-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.38);backdrop-filter:blur(3px)}
.finance-modal-card{position:relative;z-index:1;width:min(520px,100%);margin:0!important;padding:18px 20px!important;border-radius:22px!important;box-shadow:0 24px 70px rgba(15,23,42,.22)!important}
.modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:14px}.modal-head h2{font-size:18px;margin:0 0 4px}.modal-head p{margin:0;font-size:13px}
.modal-close{width:34px;height:34px;border:0;background:#f8fafc;color:#64748b;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.modal-close:hover{background:#eef6ff;color:#1e88e5}
.modal-form{display:grid;gap:16px}.modal-form label{margin:0}.modal-actions{display:flex;justify-content:flex-end;gap:8px;align-items:center}
body.modal-open{overflow:hidden}
@media(max-width:640px){.finance-modal{align-items:flex-end;padding:12px}.finance-modal-card{border-radius:22px 22px 16px 16px!important}.modal-actions{display:grid;grid-template-columns:1fr 1fr}.modal-actions .btn{width:100%}}

/* v39.8 financial report rows */
.admin-report-finance-rows{display:grid!important;grid-template-columns:1fr!important;gap:12px!important;margin-top:12px!important}
.finance-row-card{width:100%!important}
.finance-row-card .compact-table-wrap table{min-width:760px!important}
@media(max-width:900px){.finance-row-card .compact-table-wrap table{min-width:680px!important}}

/* NetChi v40 announcements and admin access UI */
.announcement-compose h2{display:flex;align-items:center;gap:8px;font-size:18px}.notifications-list{display:grid;gap:14px}.notification-card{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;border-right:4px solid transparent!important}.notification-card.unread{border-right-color:#1a73e8!important;background:linear-gradient(90deg,#f8fbff,#fff)}.notification-card h2{font-size:17px;margin:8px 0 6px}.notification-card p{margin:0 0 8px;line-height:2;color:#334155}.unread-dot{background:#e8f0fe;color:#1a73e8;border-radius:999px;padding:4px 10px;font-size:12px;white-space:nowrap}.admin-role-select{min-width:160px}.admin-users-table td small{display:block;color:#64748b;margin-top:3px}.access-role-pill{display:inline-flex;align-items:center;gap:6px;background:#f1f6ff;color:#1a73e8;border-radius:999px;padding:4px 10px;font-size:12px;font-weight:700}

/* v40.1 notifications and admin permissions polish */
.material-card{border-radius:24px!important;box-shadow:0 1px 2px rgba(60,64,67,.08),0 1px 3px 1px rgba(60,64,67,.04)!important}
.notifications-admin-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:18px;margin-bottom:20px}.announcement-compose h2,.announcements-history h2{display:flex;gap:8px;align-items:center;font-size:18px}.compact-admin-form{gap:12px!important}.form-actions{display:flex;gap:10px;align-items:center;justify-content:flex-start}.section-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:14px}.section-title-row h2{margin:0}.compact-tabs{margin:10px 0 14px!important;gap:6px!important;flex-wrap:wrap}.announcement-history-list{display:grid;gap:10px;max-height:360px;overflow:auto;padding-left:3px}.announcement-history-list article{border:1px solid #e8eef6;border-radius:18px;padding:12px;background:#fff}.announcement-history-list strong{display:block;margin:6px 0 3px;color:#202124}.announcement-history-list p{margin:0 0 5px;color:#64748b;font-size:13px}.announcement-history-list small{color:#94a3b8}.material-notifications{display:grid;gap:12px}.notification-card-v2{display:grid;grid-template-columns:46px minmax(0,1fr) auto;gap:14px;align-items:flex-start;background:#fff;border:1px solid #e8eaed;border-radius:22px;padding:16px 18px;box-shadow:0 1px 2px rgba(60,64,67,.08),0 1px 3px 1px rgba(60,64,67,.04)}.notification-card-v2.unread{border-color:#cfe0ff;background:#fbfdff}.notification-icon{width:46px;height:46px;border-radius:16px;background:#e8f0fe;color:#1a73e8;display:flex;align-items:center;justify-content:center;font-size:20px}.notification-copy h2{font-size:17px;margin:7px 0 5px;color:#202124}.notification-copy p{margin:0 0 8px;color:#334155;line-height:2}.notification-copy small,.notification-meta time{color:#64748b;font-size:12px}.notification-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.notification-empty{text-align:center;padding:42px!important}.notification-empty i{font-size:42px;color:#cbd5e1}.notification-empty h2{font-size:20px;margin:12px 0 4px}.add-user-card{border-radius:24px!important}.add-user-card .btn{min-height:38px!important}.add-user-card .form-actions .btn{min-width:130px}.admin-permissions-panel{background:#f8fafd;border:1px solid #e6edf7;border-radius:18px;padding:14px;margin-top:2px}.admin-permission-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:10px}.permission-check{display:flex!important;grid-template-columns:none!important;align-items:center;gap:8px;margin:0!important;padding:10px 12px;background:#fff;border:1px solid #e8eef6;border-radius:14px;font-weight:700;color:#334155}.permission-check input{width:auto!important;min-height:auto!important}.permissions-modal-card{max-width:760px!important}.permission-form{display:grid;gap:12px}.admin-users-table td:nth-child(3) small{display:block;color:#64748b;font-size:11px;margin-top:4px;max-width:220px}.admin-users-table .status-col{width:110px!important;min-width:110px!important}.admin-users-table .status-col select{min-width:96px!important}.admin-users-table .row-actions.mini{gap:6px}.admin-users-table .row-actions.mini .btn.small{min-height:32px!important;padding:0 10px!important}
@media(max-width:1050px){.notifications-admin-grid{grid-template-columns:1fr}.admin-permission-grid{grid-template-columns:1fr}.notification-card-v2{grid-template-columns:40px minmax(0,1fr)}}

/* v40.2 admin add-user form validation */
.add-user-form .field-error{display:block;color:#d93025;font-size:11.5px;font-weight:700;margin-top:4px;line-height:1.7}
.add-user-form label.has-error input,
.add-user-form label.has-error select,
.add-user-form label.has-error textarea{border-color:#d93025!important;background:#fffafa!important;box-shadow:0 0 0 3px rgba(217,48,37,.08)!important}
.add-user-form .btn.is-disabled,.add-user-form .btn:disabled{opacity:.5;cursor:not-allowed;filter:grayscale(.15);box-shadow:none!important}
.add-user-form .form-actions{display:flex;justify-content:flex-start;align-items:center;gap:10px;margin-top:4px}
.add-user-form .form-actions .btn{min-height:36px!important;height:36px!important;padding:0 14px!important;border-radius:10px!important;font-size:13px!important}
.admin-permissions-panel.has-error{border-color:#f4b4ae!important;background:#fffafa!important}

/* v40.3 users management redesign */
.clean-users-table{min-width:920px!important}
.clean-users-table th,.clean-users-table td{padding:11px 12px!important}
.clean-users-table th:last-child,.clean-users-table td:last-child{width:72px;text-align:center}
.user-row-disabled{opacity:.56;background:#f8fafc;filter:grayscale(.2)}
.user-row-disabled strong,.user-row-disabled td{color:#64748b!important}
.user-state-chip{display:inline-flex;align-items:center;border-radius:999px;padding:2px 8px;font-size:11px;font-weight:800;margin-right:6px;border:1px solid transparent}
.user-state-chip.on{background:#ecfdf3;color:#15803d;border-color:#bbf7d0}.user-state-chip.wait{background:#fff7ed;color:#c2410c;border-color:#fed7aa}.user-state-chip.off{background:#f1f5f9;color:#64748b;border-color:#e2e8f0}
.user-row-menu{position:relative;display:inline-block;direction:rtl}.user-row-menu summary{list-style:none;width:36px;height:36px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;color:#5f6368;background:transparent;transition:.16s}.user-row-menu summary::-webkit-details-marker{display:none}.user-row-menu summary:hover{background:#f1f5f9;color:#1a73e8}.user-row-menu-list{position:absolute;top:40px;left:0;z-index:30;min-width:190px;background:#fff;border:1px solid #e8eaed;border-radius:16px;box-shadow:0 12px 35px rgba(15,23,42,.14);padding:6px;display:grid;gap:2px;text-align:right}.user-row-menu-list a,.user-row-menu-list button{width:100%;border:0;background:transparent;color:#202124!important;display:flex;align-items:center;gap:9px;padding:9px 10px;border-radius:12px;font-family:inherit;font-size:13px;font-weight:700;cursor:pointer;text-align:right}.user-row-menu-list a:hover,.user-row-menu-list button:hover{background:#f4f8ff;color:#1a73e8!important}.user-row-menu-list button.danger{color:#d93025!important}.user-row-menu-list button.danger:hover{background:#fef2f2!important}.user-row-menu-list form{margin:0}.user-modal-card{width:min(760px,100%)!important;max-height:88vh;overflow:auto}.user-detail-head{display:flex;align-items:center;gap:16px;margin-bottom:18px;padding-bottom:16px;border-bottom:1px solid #edf1f5}.user-detail-head h2{margin:0;font-size:22px}.user-detail-head p{margin:4px 0 0}.user-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.user-detail-grid>div{background:#f8fafd;border:1px solid #edf1f5;border-radius:16px;padding:12px}.user-detail-grid span{display:block;color:#64748b;font-size:12px;font-weight:700;margin-bottom:4px}.user-detail-grid strong{display:block;color:#202124;font-size:14px;line-height:1.8}.user-detail-grid .full{grid-column:1/-1}.compact-admin-form .form-actions{justify-content:flex-start}.compact-admin-form .btn.small{min-height:36px;height:36px;padding:0 14px;border-radius:10px;font-size:13px}.users-clean-card .page-head{margin-bottom:8px}@media(max-width:760px){.user-detail-grid{grid-template-columns:1fr}.user-row-menu-list{left:auto;right:0}.clean-users-table{min-width:760px!important}}

/* v40.4 Material validation */
.field-feedback{display:none;color:#d93025;font-size:11.5px;line-height:1.8;font-weight:600;margin-top:2px}
.field-feedback.show{display:block}
input.is-invalid-field,select.is-invalid-field,textarea.is-invalid-field{border-color:#d93025!important;background:#fffafa!important;box-shadow:0 0 0 3px rgba(217,48,37,.08)!important}
input.is-valid-field,select.is-valid-field,textarea.is-valid-field{border-color:#34a853!important;box-shadow:0 0 0 3px rgba(52,168,83,.07)!important}
button.btn-disabled,input.btn-disabled{opacity:.55!important;cursor:not-allowed!important;filter:grayscale(.12)}
label:has(.is-invalid-field){color:#5f6368}.compact-admin-form .field-feedback,.service-form-grid .field-feedback,.wide-form .field-feedback{font-size:11px}


/* v41 ratings and reviews */
.stars{display:inline-flex;gap:2px;color:#fbbc04;vertical-align:middle}.stars i{font-size:17px}.rating-number{margin-right:8px;color:#202124;font-weight:800}.review-card,.review-item{border:1px solid #e8eaed!important;border-radius:18px!important;background:#fff}.review-card{margin-top:14px;padding:16px}.review-card summary{cursor:pointer;font-weight:800;color:#202124;display:flex;align-items:center;gap:8px}.review-form{display:grid;gap:12px;margin-top:14px}.review-checks{display:flex;flex-wrap:wrap;gap:8px 12px;background:#f8fafd;border:1px solid #edf1f5;border-radius:14px;padding:12px}.review-checks>span{width:100%;font-weight:800;color:#334155}.review-checks label{display:inline-flex!important;grid-template-columns:auto 1fr;align-items:center;gap:6px;margin:0!important;font-weight:600;color:#475569}.review-checks input{width:auto;min-height:auto}.review-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:10px}.review-head small{display:block;color:#64748b;margin-top:2px}.review-tags{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0}.review-tags span{background:#e8f0fe;color:#1a73e8;border-radius:999px;padding:3px 10px;font-size:12px;font-weight:700}.submitted-review p,.review-item p{margin:8px 0 0;color:#334155}.review-summary-card{display:grid;grid-template-columns:1fr auto 1fr;gap:18px;align-items:center}.review-summary-card span{display:block;color:#64748b;font-size:13px}.review-summary-card strong{font-size:22px;color:#202124}.review-list{display:grid;gap:14px}.admin-review-list .admin-inline{margin-top:12px}.muted-row{opacity:.58;background:#f8fafc!important}@media(max-width:700px){.review-summary-card{grid-template-columns:1fr}.review-head{flex-direction:column}.review-checks{display:grid}}


/* v41.1 polished ratings dashboard */
.reviews-hero{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:22px;align-items:center;padding:22px!important;margin-bottom:16px!important;background:linear-gradient(135deg,#ffffff,#f8fbff)!important;border-radius:26px!important}
.reviews-hero-main h2{font-size:34px;margin:10px 0 4px;color:#202124}.reviews-hero-main p{margin:8px 0 0}.reviews-hero-bars{background:#fff;border:1px solid #edf1f5;border-radius:20px;padding:14px}
.review-stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 16px}.review-stat-card{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid #e8eaed;border-radius:20px;padding:15px 16px;box-shadow:0 1px 2px rgba(60,64,67,.08),0 1px 3px 1px rgba(60,64,67,.04)}.review-stat-icon{width:42px;height:42px;border-radius:15px;background:#e8f0fe;color:#1a73e8;display:flex;align-items:center;justify-content:center;font-size:20px}.review-stat-card.warning .review-stat-icon{background:#fff7e6;color:#f59e0b}.review-stat-card.success .review-stat-icon{background:#ecfdf3;color:#16a34a}.review-stat-card.danger .review-stat-icon{background:#fef2f2;color:#dc2626}.review-stat-card.indigo .review-stat-icon{background:#eef2ff;color:#4f46e5}.review-stat-card small{display:block;color:#64748b;font-size:12px;font-weight:700}.review-stat-card strong{display:block;color:#202124;font-size:20px;margin-top:2px}
.reviews-dashboard-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:18px}.rating-bars{display:grid;gap:9px}.rating-bar-row{display:grid;grid-template-columns:64px minmax(0,1fr) 34px;gap:10px;align-items:center}.rating-bar-row span,.rating-bar-row em{font-size:12px;color:#64748b;font-style:normal;font-weight:700}.rating-bar{height:9px;background:#eef2f7;border-radius:999px;overflow:hidden}.rating-bar b{display:block;height:100%;background:linear-gradient(90deg,#fbbc04,#fb8c00);border-radius:999px}.review-tag-cloud{display:flex;flex-wrap:wrap;gap:9px}.review-tag-cloud span{display:inline-flex;align-items:center;gap:7px;background:#f1f6ff;color:#1a73e8;border:1px solid #d7e7ff;border-radius:999px;padding:7px 12px;font-weight:800;font-size:12px}.review-tag-cloud small{min-width:22px;height:22px;border-radius:999px;background:#1a73e8;color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:11px}.review-empty-text{margin:0}.review-mini-insights{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.review-mini-insights div{background:#f8fafd;border:1px solid #edf1f5;border-radius:16px;padding:12px}.review-mini-insights strong{display:block;font-size:21px;color:#202124}.review-mini-insights span{display:block;color:#64748b;font-size:12px;margin-top:3px}.reviews-list-head{margin-top:4px}.modern-review-list{gap:12px}.modern-review-item{border-radius:22px!important;box-shadow:0 1px 2px rgba(60,64,67,.08),0 1px 3px 1px rgba(60,64,67,.04)!important}.review-person{display:flex;align-items:center;gap:12px}.review-avatar{width:42px;height:42px;border-radius:15px;background:#e8f0fe;color:#1a73e8;display:flex;align-items:center;justify-content:center;font-size:19px;flex:0 0 auto}.review-score{display:flex;flex-direction:column;align-items:flex-end;gap:4px}.review-score small{color:#64748b;font-size:11px}.modern-review-item p{margin:10px 0 0;line-height:2;color:#334155}.review-admin-form{background:#f8fafd;border:1px solid #edf1f5;border-radius:16px;padding:10px;margin-top:12px}.review-admin-form input{min-width:240px}.admin-review-stats{margin-top:4px}
@media(max-width:1050px){.review-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.reviews-hero,.reviews-dashboard-grid{grid-template-columns:1fr}.review-mini-insights{grid-template-columns:1fr}}
@media(max-width:640px){.review-stats-grid{grid-template-columns:1fr}.review-head{align-items:flex-start}.review-score{align-items:flex-start}.rating-bar-row{grid-template-columns:58px minmax(0,1fr) 28px}.reviews-hero-main h2{font-size:27px}.review-admin-form{display:grid!important}.review-admin-form input{min-width:0}}


/* v41.2 messages support CTA */
.messages-support-cta{display:flex;align-items:center;justify-content:space-between;gap:16px;background:#fff;border:1px solid #e8eaed;border-radius:22px;padding:14px 16px;margin:0 0 14px;box-shadow:0 1px 2px rgba(60,64,67,.08),0 1px 3px 1px rgba(60,64,67,.04)}
.messages-support-cta>div{display:flex;align-items:center;gap:12px;min-width:0}.messages-support-cta i{width:38px;height:38px;border-radius:14px;background:#e8f0fe;color:#1a73e8;display:inline-flex;align-items:center;justify-content:center;font-size:18px;flex:0 0 auto}.messages-support-cta span{display:block;min-width:0}.messages-support-cta strong{display:block;font-size:14px;color:#202124}.messages-support-cta small{display:block;color:#64748b;font-size:12px;line-height:1.8}.messages-support-cta .btn i{width:auto;height:auto;background:transparent;color:inherit;font-size:15px}
@media(max-width:720px){.messages-support-cta{align-items:stretch;flex-direction:column}.messages-support-cta .btn{width:100%}}


/* v41.3 - grouped Google/Material sidebar */
.sidebar .side-section-title{display:flex;align-items:center;gap:8px;margin:10px 8px 6px;padding:0 6px;color:#7b8493;font-size:11px;font-weight:700;letter-spacing:-.1px;line-height:1.6;white-space:nowrap}
.sidebar .side-section-title:after{content:"";height:1px;background:#eef2f7;flex:1}
.sidebar .side-divider{height:1px;background:#edf1f5;margin:10px 8px 8px;border-radius:999px}
.sidebar .side-section-title + .side-link{margin-top:2px!important}
.sidebar a.side-link{margin-top:2px!important;margin-bottom:2px!important}
body.app-page.sidebar-collapsed .sidebar .side-section-title{height:10px;margin:10px auto 6px;padding:0;width:30px;justify-content:center;overflow:hidden;color:transparent}
body.app-page.sidebar-collapsed .sidebar .side-section-title span{display:none!important}
body.app-page.sidebar-collapsed .sidebar .side-section-title:after{display:block;content:"";width:24px;max-width:24px;height:1px;background:#e8eaed;flex:0 0 24px}
body.app-page.sidebar-collapsed .sidebar .side-divider{width:28px;margin:10px auto 8px;background:#e8eaed}
@media (max-width:950px){.sidebar .side-section-title{display:none!important}.sidebar .side-divider{display:none!important}}

/* v41.4: cleaner Google-style sidebar grouping */
.sidebar .side-section-title{
    display:block!important;
    margin:14px 10px 5px!important;
    padding:0 4px!important;
    color:#8a94a6!important;
    font-size:10.5px!important;
    font-weight:700!important;
    letter-spacing:.02em!important;
    line-height:1.7!important;
    white-space:nowrap!important;
}
.sidebar .side-section-title:after{display:none!important;content:none!important}
.sidebar .side-divider{
    height:1px!important;
    background:#f1f3f4!important;
    margin:12px 12px 8px!important;
    border-radius:999px!important;
}
.sidebar .side-divider + .side-section-title{margin-top:0!important}
.sidebar .side-section-title + .side-link{margin-top:0!important}
body.app-page.sidebar-collapsed .sidebar .side-section-title{display:none!important}
body.app-page.sidebar-collapsed .sidebar .side-section-title:after{display:none!important;content:none!important}
body.app-page.sidebar-collapsed .sidebar .side-divider{
    width:24px!important;
    margin:12px auto 8px!important;
    background:#edf1f5!important;
}
@media (max-width:950px){
    .sidebar .side-section-title,.sidebar .side-divider{display:none!important}
}


/* v42 content management */
.content-admin-layout{display:grid;grid-template-columns:280px minmax(0,1fr);gap:20px;align-items:start}.content-admin-list{position:sticky;top:88px}.content-admin-list h2{font-size:16px;margin-bottom:14px}.content-page-tabs{display:grid;gap:8px}.content-page-tab{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:14px;color:#334155!important;font-weight:700}.content-page-tab:hover{background:#f4f8ff;color:#1a73e8!important}.content-page-tab.active{background:#eaf3ff;color:#1a73e8!important}.content-editor-card{padding:22px}.content-editor-top{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.switch-row{display:flex!important;grid-template-columns:auto 1fr!important;align-items:center;gap:8px;margin:0!important;background:#f8fafd;border:1px solid #e6edf7;border-radius:999px;padding:8px 12px;font-size:13px}.switch-row input{width:auto;min-height:auto}.content-editor-help{align-self:end;background:#f8fafd;border:1px solid #e6edf7;border-radius:14px;padding:10px 12px;color:#64748b}.content-editor-help strong{display:block;color:#334155}.content-editor-help small{display:block;line-height:1.8}.content-page-body{max-width:980px;margin:22px auto}.content-page-body h2{font-size:21px;margin:22px 0 8px}.content-page-body p{font-size:15px;line-height:2.25;color:#334155}.content-bullets{display:grid;gap:8px;padding-right:18px;color:#334155}.content-bullets li{line-height:2}.content-managed-hero .art-card i{font-size:42px;color:#1a73e8}@media(max-width:900px){.content-admin-layout{grid-template-columns:1fr}.content-admin-list{position:static}.content-editor-top{flex-direction:column;align-items:flex-start}}


/* v42.2 content editor simplification */
.content-editor-top{align-items:flex-start!important}.content-editor-top p{margin:6px 0 0;font-size:13px}.content-icon-field{background:#f8fafd;border:1px solid #e6edf7;border-radius:18px;padding:14px}.field-title{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}.field-title strong{font-size:14px;color:#202124}.field-title small{font-size:12px;color:#64748b;line-height:1.8}.content-icon-picker{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.content-icon-option{margin:0!important;display:block!important;cursor:pointer}.content-icon-option input{position:absolute;opacity:0;pointer-events:none}.content-icon-option span{min-height:72px;border:1px solid #e2e8f0;background:#fff;border-radius:16px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:10px;text-align:center;transition:.16s ease}.content-icon-option i{font-size:22px;color:#64748b}.content-icon-option b{font-size:11.5px;color:#475569;font-weight:700}.content-icon-option:hover span{border-color:#bfdbfe;background:#f8fbff}.content-icon-option input:checked+span{border-color:#1a73e8;background:#eaf3ff;box-shadow:0 0 0 3px rgba(26,115,232,.10)}.content-icon-option input:checked+span i,.content-icon-option input:checked+span b{color:#1a73e8}.switch-row{display:none!important}@media(max-width:1100px){.content-icon-picker{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:640px){.content-icon-picker{grid-template-columns:repeat(2,minmax(0,1fr))}.field-title{display:block}}


/* v42.3 Global order search */
.order-global-search{display:flex;align-items:center;justify-content:space-between;gap:16px;background:#fff;border:1px solid #e8eaed;border-radius:20px;padding:14px 16px;margin:0 0 18px;box-shadow:0 1px 2px rgba(60,64,67,.06),0 1px 3px rgba(60,64,67,.04)}
.order-global-copy{display:flex;align-items:center;gap:12px;min-width:0}.order-global-copy>i{width:42px;height:42px;border-radius:14px;background:#e8f0fe;color:#1a73e8;display:flex;align-items:center;justify-content:center;font-size:19px;flex:0 0 auto}.order-global-copy strong{display:block;color:#202124;font-size:15px}.order-global-copy span{display:block;color:#64748b;font-size:12.5px;line-height:1.8}.order-global-form{display:flex;align-items:center;gap:10px;min-width:min(460px,100%)}.order-global-form input{height:42px;min-height:42px;border-radius:14px;background:#f8fafd;border:1px solid #e6edf7;text-align:center;font-weight:700;direction:ltr}.order-global-form input:focus{outline:none;border-color:#aecbfa;box-shadow:0 0 0 3px rgba(26,115,232,.12)}.order-global-form .btn{height:42px;min-height:42px;border-radius:14px;padding:0 14px}.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;border:0!important}
@media(max-width:860px){.order-global-search{align-items:stretch;flex-direction:column}.order-global-form{min-width:0;width:100%}.order-global-form input{flex:1}.order-global-copy>i{width:38px;height:38px}}
@media(max-width:520px){.order-global-form{display:grid;grid-template-columns:1fr}.order-global-form .btn{width:100%}}

/* v43: footer Enamad trust column */
.footer-links{grid-template-columns:repeat(4,minmax(0,1fr))!important}
.footer-trust{display:flex;flex-direction:column;align-items:flex-start;gap:8px}
.footer-trust h4{margin-bottom:2px!important}
.enamad-badge{display:inline-flex!important;align-items:center;justify-content:center;width:96px;min-height:96px;padding:8px!important;border:1px solid #eef2f6;border-radius:16px;background:#fff;box-shadow:0 1px 2px rgba(60,64,67,.06)}
.enamad-badge img{display:block;max-width:80px;max-height:80px;width:auto;height:auto;cursor:pointer}
@media (max-width:950px){.footer-links{grid-template-columns:1fr 1fr!important}.footer-trust{align-items:flex-start}}
@media (max-width:560px){.footer-links{grid-template-columns:1fr!important}.enamad-badge{width:90px;min-height:90px}.enamad-badge img{max-width:74px;max-height:74px}}

/* Zarinpal payment module */
.gateway-settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:10px}
.gateway-settings-grid .full{grid-column:1 / -1}
.gateway-settings-grid .checkline{display:flex;align-items:center;gap:8px;border:1px solid #e5e7eb;border-radius:12px;padding:10px 12px;background:#f8fafc}
.gateway-settings-grid .checkline input{width:auto;min-height:auto}
.payment-result-card{text-align:center;max-width:680px;margin:28px auto}
.payment-result-card h1{margin-bottom:10px}
.payment-result-card.success{border-color:#bbf7d0;background:#f0fdf4}
.payment-result-card.danger{border-color:#fecaca;background:#fff7f7}
.payment-history-card{margin-top:18px}
button[disabled],.btn[disabled]{opacity:.55;cursor:not-allowed;filter:grayscale(.2)}
@media (max-width:760px){.gateway-settings-grid{grid-template-columns:1fr}}

/* v44: Kavenegar OTP login/register */
.otp-code-input input{font-size:22px;font-weight:800;letter-spacing:6px;text-align:center;direction:ltr}
.otp-resend-form{margin-top:10px;text-align:center}
.link-button{border:0;background:transparent;color:#1a73e8;font-weight:800;cursor:pointer;padding:8px 10px;border-radius:12px}
.link-button:hover{background:#e8f0fe}
.otp-provider-note{display:flex;align-items:flex-start;gap:8px;border:1px solid #dbeafe;background:#eff6ff;color:#1d4ed8;border-radius:14px;padding:11px 12px;font-size:12.5px;line-height:1.8}
.otp-provider-note i{font-size:18px;line-height:1.5}.otp-provider-note span{display:block}
.sms-settings-block{grid-column:1/-1;margin-top:8px;padding:14px;border:1px solid #e8eef8;border-radius:18px;background:#f8fbff}
.sms-settings-block h3{display:flex;align-items:center;gap:8px;margin:0 0 10px;font-size:14px;color:#1f2937}
.sms-settings-block small{display:block;color:#64748b;font-size:11.5px;margin-top:5px;line-height:1.7}

/* v44.1 OTP inline same-page fix */
.otp-inline-card{width:100%}
.otp-inline-card .auth-icon-badge{margin-bottom:12px}
.otp-inline-card .auth-links-row{justify-content:center;margin-top:12px}
.otp-form{margin-top:14px}

/* --- Auth UX refresh (mobile-first, no top/footer) --- */
.auth-clean-page{background:#f7f9fc!important;min-height:100vh}
.auth-page-wrap{max-width:1180px;margin:0 auto;padding:18px 18px 36px}
.auth-simple-brand{display:flex;align-items:center;justify-content:center;width:max-content;margin:0 auto 10px;padding:10px 0}
.auth-simple-brand img{height:42px;width:auto;display:block}
.compact-auth-shell{margin-top:6px!important}
.compact-auth-shell .auth-modern-panel{padding-top:30px!important}
.auth-panel-head{margin-bottom:10px}
.auth-kicker{display:block;text-align:center;font-size:12px;font-weight:700;color:#1a73e8;margin-bottom:8px}
.auth-single-focus{margin-top:12px}
.auth-single-focus label,.otp-box-form label{display:block}
.auth-single-focus .province-city{margin-top:2px}
.auth-clean-page .flash-wrap{max-width:620px;margin:0 auto 12px}

.otp-inline-card{display:flex;flex-direction:column;align-items:center}
.otp-boxes{display:flex;gap:10px;justify-content:center;margin:8px 0 6px}
.otp-box{width:56px;height:58px;border:1px solid #d8e2ef;border-radius:16px;text-align:center;font-size:24px;font-weight:800;line-height:1;color:#0f172a;background:#fff;box-shadow:inset 0 1px 0 rgba(255,255,255,.8);transition:border-color .16s ease, box-shadow .16s ease, transform .16s ease}
.otp-box:focus{outline:none;border-color:#1a73e8;box-shadow:0 0 0 4px rgba(26,115,232,.12);transform:translateY(-1px)}
.otp-help{display:block;text-align:center;color:#64748b;margin-bottom:8px}
.otp-inline-error{min-height:20px;text-align:center;color:#dc2626;font-size:13px;margin-bottom:4px}
.otp-resend-form{margin-top:8px}
.link-button{background:none;border:0;color:#1a73e8;font-weight:700;cursor:pointer;padding:6px 8px}
.link-button:hover{text-decoration:underline}

/* Hide login/register visuals and footer distraction on mobile */
@media (max-width: 768px){
  .auth-page-wrap{padding:10px 12px 26px}
  .compact-auth-shell,.compact-auth-shell.auth-register-shell{grid-template-columns:1fr!important;width:100%!important;margin:0 auto 20px!important;gap:0!important}
  .compact-auth-shell .auth-modern-visual{display:none!important}
  .compact-auth-shell .auth-modern-panel{max-width:none!important;width:100%!important;border-radius:22px!important;padding:22px 18px 20px!important;box-shadow:0 12px 32px rgba(15,23,42,.06)!important}
  .auth-modern-panel h2{font-size:22px!important}
  .auth-subtitle{font-size:13.5px!important;margin-bottom:20px!important}
  .otp-boxes{gap:8px}
  .otp-box{width:48px;height:52px;border-radius:14px;font-size:22px}
}
@media (max-width: 420px){
  .auth-page-wrap{padding:8px 10px 22px}
  .compact-auth-shell .auth-modern-panel{padding:18px 14px 16px!important}
  .otp-boxes{gap:6px}
  .otp-box{width:44px;height:48px;font-size:20px}
}

/* --- Wallet UX refresh --- */
.wallet-page-head{margin-bottom:18px}
.wallet-hero-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:18px}
.wallet-hero-card{background:#fff;border:1px solid #e7edf5;border-radius:20px;padding:18px 20px;box-shadow:0 12px 32px rgba(15,23,42,.05);display:flex;flex-direction:column;gap:6px}
.wallet-hero-card span{font-size:13px;color:#64748b;font-weight:700}
.wallet-hero-card strong{font-size:28px;line-height:1.4;color:#0f172a}
.wallet-hero-card small{color:#64748b;line-height:1.9}
.wallet-hero-card.soft{background:linear-gradient(180deg,#fbfdff 0%,#f7fbff 100%)}
.wallet-hero-card.accent{background:linear-gradient(180deg,#f0f8ff 0%,#f8fbff 100%);border-color:#dbeafe}
.wallet-layout-v2{display:grid;grid-template-columns:340px minmax(0,1fr);gap:18px;align-items:start}
.wallet-side-panel,.wallet-main-panel{display:flex;flex-direction:column;gap:18px}
.wallet-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:14px}
.wallet-card-head h2{margin:0 0 4px;font-size:22px;color:#0f172a}
.wallet-card-head p{margin:0}
.wallet-card-head i{font-size:24px;color:#1a73e8;background:#eef5ff;border:1px solid #dbeafe;border-radius:16px;width:46px;height:46px;display:flex;align-items:center;justify-content:center;flex:0 0 auto}
.wallet-charge-form{gap:12px}
.wallet-charge-form label{display:block;font-weight:700;color:#334155}
.wallet-quick-amounts{display:flex;flex-wrap:wrap;gap:8px;margin:2px 0 8px}
.wallet-amount-chip{border:1px solid #dbe4ef;background:#f8fbff;color:#0f172a;border-radius:999px;padding:8px 14px;font:inherit;font-weight:700;cursor:pointer;transition:all .16s ease}
.wallet-amount-chip:hover{border-color:#1a73e8;color:#1a73e8;background:#eef5ff}
.wallet-table-card .table-wrap{margin-top:8px}
.success-tag{background:#ecfdf5!important;color:#15803d!important}
.danger-tag{background:#fef2f2!important;color:#dc2626!important}

@media (max-width: 1100px){
  .wallet-hero-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .wallet-layout-v2{grid-template-columns:1fr}
}
@media (max-width: 640px){
  .wallet-hero-grid{grid-template-columns:1fr}
  .wallet-hero-card strong{font-size:24px}
  .wallet-card-head{align-items:center}
  .wallet-card-head h2{font-size:20px}
  .wallet-layout-v2{gap:14px}
  .wallet-quick-amounts{gap:6px}
  .wallet-amount-chip{padding:8px 12px;font-size:13px}
}

/* --- Wallet transactions merge + charge modal --- */
.wallet-title-row{display:flex!important;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:16px!important}
.wallet-title-row h1{margin-bottom:6px!important}
.wallet-open-charge{white-space:nowrap;min-height:44px!important;border-radius:14px!important;padding:0 18px!important;box-shadow:0 12px 26px rgba(34,197,94,.18)!important}
.wallet-hero-grid-compact{grid-template-columns:minmax(0,1fr)!important;margin-bottom:18px!important}
.wallet-hero-grid-compact .wallet-hero-card{max-width:420px}
.wallet-hero-grid-compact .wallet-hero-card.accent{max-width:none}
.wallet-wide-transactions{width:100%;margin-top:8px;padding:24px!important;border-radius:24px!important}
.transactions-head{margin-bottom:18px!important}
.transactions-table-wrap{width:100%;overflow-x:auto;border:1px solid #edf2f7;border-radius:18px;background:#fff}
.transactions-table{min-width:960px;width:100%;border-collapse:collapse}
.transactions-table th{white-space:nowrap;background:#f8fafc!important;color:#475569!important;font-size:13px!important;font-weight:800!important}
.transactions-table td{vertical-align:middle!important;white-space:nowrap}
.transactions-table .tx-description{white-space:normal;min-width:280px;max-width:520px;line-height:1.9;color:#0f172a;font-weight:600}
.channel-tag{background:#eef5ff!important;color:#1a73e8!important;border:1px solid #dbeafe!important}
.warning-tag{background:#fffbeb!important;color:#b45309!important;border:1px solid #fde68a!important}

.wallet-charge-modal.hidden-panel{display:none!important}
.wallet-charge-modal{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;padding:18px;direction:rtl}
.wallet-modal-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.42);backdrop-filter:blur(8px)}
.wallet-modal-card{position:relative;z-index:1;width:min(520px,100%);max-height:calc(100vh - 36px);overflow:auto;border-radius:26px!important;padding:24px!important;box-shadow:0 30px 90px rgba(15,23,42,.22)!important}
.wallet-modal-card .modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:16px}
.wallet-modal-card .modal-head h2{margin:0 0 4px;font-size:22px;color:#0f172a}
.wallet-modal-card .modal-head p{margin:0}
.wallet-modal-card .modal-close{width:40px;height:40px;border:0;border-radius:14px;background:#f1f5f9;color:#475569;display:flex;align-items:center;justify-content:center;cursor:pointer}
.wallet-modal-card .modal-close:hover{background:#e2e8f0;color:#0f172a}
.wallet-modal-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-top:8px}
.wallet-modal-actions .btn{min-width:130px}
body.modal-open{overflow:hidden}

@media (max-width:700px){
  .wallet-title-row{align-items:stretch;flex-direction:column;gap:12px}
  .wallet-open-charge{width:100%;justify-content:center}
  .wallet-hero-grid-compact .wallet-hero-card{max-width:none}
  .wallet-wide-transactions{padding:16px!important;border-radius:20px!important}
  .transactions-table{min-width:820px}
  .wallet-modal-card{padding:20px!important;border-radius:22px!important}
  .wallet-modal-actions{flex-direction:column-reverse;align-items:stretch}
  .wallet-modal-actions .btn{width:100%}
}


/* --- Mobile dashboard and no mobile input zoom --- */
@media (max-width: 768px){
  input,
  select,
  textarea,
  button {
    font-size:16px!important;
  }
  .auth-modern-form input,
  .auth-modern-form select,
  .auth-modern-form textarea,
  .wide-form input,
  .wide-form select,
  .wide-form textarea,
  .provider-signup-form input,
  .provider-signup-form select,
  .provider-signup-form textarea,
  .order-form-v5 input,
  .order-form-v5 select,
  .order-form-v5 textarea,
  .profile-form input,
  .profile-form select,
  .profile-form textarea {
    font-size:16px!important;
  }
  .otp-box{
    font-size:22px!important;
  }
  .topbar .wallet-pill{
    display:inline-flex!important;
    align-items:center!important;
    gap:6px!important;
    min-width:auto!important;
    max-width:none!important;
    padding:8px 10px!important;
  }
  .topbar .wallet-pill span{
    display:inline!important;
    font-size:12px!important;
    line-height:1!important;
    white-space:nowrap!important;
  }
}

/* Customer dashboard mobile-first refresh */
.customer-mobile-dashboard{
  display:grid;
  grid-template-columns:1fr;
  gap:14px;
  margin-bottom:18px;
}
.dashboard-welcome-card,
.dashboard-wallet-card{
  background:#fff;
  border:1px solid #e7edf5;
  border-radius:24px;
  padding:18px;
  box-shadow:0 14px 36px rgba(15,23,42,.055);
}
.dashboard-welcome-card{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:14px;
}
.dashboard-welcome-card h1{
  margin:4px 0 6px;
  font-size:24px;
  color:#0f172a;
  line-height:1.45;
}
.dashboard-welcome-card p{
  margin:0;
  color:#64748b;
  line-height:1.9;
}
.dashboard-wallet-card{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  background:linear-gradient(135deg,#f7fbff 0%,#ffffff 62%);
  border-color:#dbeafe;
}
.dashboard-wallet-card span{
  display:block;
  color:#64748b;
  font-size:13px;
  font-weight:800;
  margin-bottom:4px;
}
.dashboard-wallet-card strong{
  display:block;
  color:#0f172a;
  font-size:30px;
  line-height:1.35;
}
.dashboard-wallet-card small{
  display:block;
  color:#64748b;
  margin-top:4px;
}
.dashboard-quick-actions{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
}
.dashboard-quick-actions a{
  background:#fff;
  border:1px solid #e7edf5;
  border-radius:18px;
  min-height:92px;
  padding:12px 8px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:8px;
  text-align:center;
  color:#0f172a;
  font-weight:800;
  box-shadow:0 10px 26px rgba(15,23,42,.045);
}
.dashboard-quick-actions i{
  color:#1a73e8;
  background:#eef5ff;
  border:1px solid #dbeafe;
  width:38px;
  height:38px;
  border-radius:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:19px;
}
.dashboard-quick-actions span{
  font-size:12.5px;
}
.dashboard-orders-card .wallet-card-head{
  margin-bottom:12px;
}
@media (min-width: 769px){
  .customer-mobile-dashboard{
    grid-template-columns:1.2fr .95fr;
    align-items:stretch;
  }
  .dashboard-quick-actions{
    grid-column:1 / -1;
  }
}
@media (max-width: 768px){
  .dashboard-desktop-head{
    display:none!important;
  }
  .customer-mobile-dashboard{
    margin-top:4px;
  }
  .dashboard-welcome-card{
    flex-direction:column;
  }
  .dashboard-welcome-card h1{
    font-size:22px;
  }
  .dashboard-wallet-card{
    align-items:stretch;
    flex-direction:column;
  }
  .dashboard-wallet-card .btn{
    width:100%;
    justify-content:center;
  }
  .dashboard-quick-actions{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .dashboard-stats-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
  }
  .dashboard-orders-card{
    padding:14px!important;
  }
  .dashboard-orders-card .wallet-card-head{
    align-items:center;
  }
  .dashboard-orders-card .wallet-card-head p{
    display:none;
  }
}
@media (max-width: 380px){
  .dashboard-quick-actions a{
    min-height:84px;
  }
  .dashboard-wallet-card strong{
    font-size:26px;
  }
}

/* v43 - real mobile UX fix: hamburger header, mobile drawer, no input zoom */
.mobile-nav-toggle,
.mobile-menu-backdrop,
.mobile-menu-panel{display:none}

@media (max-width: 768px){
  html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
  body{overflow-x:hidden;background:#f6f8fc!important}

  input,
  select,
  textarea,
  .auth-modern-form input,
  .auth-modern-form select,
  .auth-modern-form textarea,
  .wide-form input,
  .wide-form select,
  .wide-form textarea,
  .provider-signup-form input,
  .provider-signup-form select,
  .provider-signup-form textarea,
  .order-form-v5 input,
  .order-form-v5 select,
  .order-form-v5 textarea,
  .profile-form input,
  .profile-form select,
  .profile-form textarea{
    font-size:16px!important;
    line-height:1.45!important;
  }

  .topbar{
    height:58px!important;
    min-height:58px!important;
    padding:0!important;
    position:sticky!important;
    top:0!important;
    z-index:1200!important;
    background:rgba(255,255,255,.96)!important;
    backdrop-filter:blur(14px)!important;
    border-bottom:1px solid #e8edf5!important;
  }
  .topbar-inner{
    width:100%!important;
    height:58px!important;
    min-height:58px!important;
    padding:0 12px!important;
    position:relative!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:0!important;
  }
  .topbar .brand{
    position:absolute!important;
    right:50%!important;
    top:50%!important;
    transform:translate(50%,-50%)!important;
    margin:0!important;
    z-index:1!important;
  }
  .topbar .brand-image img{
    height:35px!important;
    width:auto!important;
    max-width:118px!important;
    display:block!important;
  }
  .main-nav,
  .guest-actions.clean,
  .top-actions .icon-pill,
  .top-actions .account-menu{
    display:none!important;
  }
  body.public-page .top-actions{display:none!important}
  .top-actions{
    position:absolute!important;
    right:10px!important;
    top:50%!important;
    transform:translateY(-50%)!important;
    z-index:3!important;
    display:flex!important;
    align-items:center!important;
    gap:0!important;
  }
  .topbar .wallet-pill{
    display:inline-flex!important;
    height:38px!important;
    min-height:38px!important;
    min-width:0!important;
    max-width:132px!important;
    padding:0 9px!important;
    border-radius:999px!important;
    background:#f1f8f4!important;
    border:1px solid #cdebd6!important;
    color:#15803d!important;
    box-shadow:none!important;
    gap:5px!important;
  }
  .topbar .wallet-pill i{font-size:16px!important;color:#15803d!important}
  .topbar .wallet-pill span{
    display:inline-block!important;
    max-width:92px!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
    font-size:11.5px!important;
    font-weight:900!important;
    line-height:1!important;
  }

  .mobile-nav-toggle{
    display:inline-flex!important;
    position:absolute!important;
    left:10px!important;
    top:50%!important;
    transform:translateY(-50%)!important;
    width:42px!important;
    height:42px!important;
    border:1px solid #e1e8f2!important;
    border-radius:14px!important;
    background:#fff!important;
    align-items:center!important;
    justify-content:center!important;
    flex-direction:column!important;
    gap:5px!important;
    z-index:4!important;
    padding:0!important;
    cursor:pointer!important;
  }
  .mobile-nav-toggle span{
    width:19px!important;
    height:2px!important;
    border-radius:999px!important;
    background:#111827!important;
    display:block!important;
  }
  .mobile-menu-backdrop{
    display:block!important;
    position:fixed!important;
    inset:0!important;
    background:rgba(15,23,42,.42)!important;
    opacity:0!important;
    pointer-events:none!important;
    transition:opacity .18s ease!important;
    z-index:1999!important;
  }
  .mobile-menu-panel{
    display:block!important;
    position:fixed!important;
    left:0!important;
    top:0!important;
    bottom:0!important;
    width:min(86vw,340px)!important;
    background:#fff!important;
    border-right:1px solid #e7edf5!important;
    box-shadow:22px 0 60px rgba(15,23,42,.18)!important;
    transform:translateX(-105%)!important;
    transition:transform .22s ease!important;
    z-index:2000!important;
    padding:14px!important;
    overflow:auto!important;
    direction:rtl!important;
  }
  body.mobile-menu-open{overflow:hidden!important}
  body.mobile-menu-open .mobile-menu-backdrop{opacity:1!important;pointer-events:auto!important}
  body.mobile-menu-open .mobile-menu-panel{transform:translateX(0)!important}
  .mobile-menu-head{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:12px!important;
    padding-bottom:14px!important;
    margin-bottom:10px!important;
    border-bottom:1px solid #eef2f7!important;
  }
  .mobile-menu-head .brand{position:static!important;transform:none!important}
  .mobile-menu-head img{height:36px!important;width:auto!important}
  .mobile-menu-close{
    width:40px!important;
    height:40px!important;
    border:1px solid #e7edf5!important;
    background:#f8fafc!important;
    border-radius:14px!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    color:#334155!important;
    font-size:18px!important;
  }
  .mobile-wallet-summary{
    display:block!important;
    background:linear-gradient(135deg,#f0fdf4,#fff)!important;
    border:1px solid #bbf7d0!important;
    border-radius:18px!important;
    padding:14px!important;
    color:#14532d!important;
    margin-bottom:12px!important;
  }
  .mobile-wallet-summary span{display:block!important;color:#64748b!important;font-size:12px!important;font-weight:800!important;margin-bottom:4px!important}
  .mobile-wallet-summary strong{display:block!important;color:#14532d!important;font-size:22px!important;line-height:1.4!important}
  .mobile-menu-links{display:grid!important;gap:8px!important}
  .mobile-menu-links a{
    display:flex!important;
    align-items:center!important;
    gap:10px!important;
    min-height:48px!important;
    padding:0 12px!important;
    border-radius:15px!important;
    color:#1f2937!important;
    background:#fff!important;
    border:1px solid #edf2f7!important;
    font-weight:800!important;
    position:relative!important;
  }
  .mobile-menu-links a i{
    width:32px!important;
    height:32px!important;
    border-radius:12px!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    background:#eef5ff!important;
    color:#1a73e8!important;
    flex:0 0 auto!important;
  }
  .mobile-menu-links a.primary{background:#1a73e8!important;color:#fff!important;border-color:#1a73e8!important}
  .mobile-menu-links a.primary i{background:rgba(255,255,255,.16)!important;color:#fff!important}
  .mobile-menu-links a.danger{color:#b42318!important;background:#fff7f7!important;border-color:#fee2e2!important}
  .mobile-menu-links a.danger i{background:#fee2e2!important;color:#b42318!important}
  .mobile-menu-links a b{
    margin-right:auto!important;
    min-width:22px!important;
    height:22px!important;
    border-radius:999px!important;
    background:#ef4444!important;
    color:#fff!important;
    font-size:11px!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
  }

  .page-wrap{padding:14px 12px 24px!important;max-width:none!important;width:100%!important}
  body.app-page .app-layout{display:block!important;grid-template-columns:1fr!important;gap:0!important}
  body.app-page .sidebar{display:none!important}
  .content,.public-content{width:100%!important;min-width:0!important}

  .home-banner,.home-value-row,.home-audience-section,.home-process-strip,.home-provider-cta,
  .services-hero,.order-wizard,.selected-service,.card{
    border-radius:18px!important;
  }
  .cards,.home-services-grid,.home-value-row,.home-process-strip,.static-sections,.static-stats,.contact-cards,
  .stats-grid,.dashboard-stats-grid,.form-grid,.wide-form .form-grid,.order-cards,.two-col{
    grid-template-columns:1fr!important;
  }
  .home-audience-section{display:grid!important;grid-template-columns:1fr!important;padding:18px!important;gap:12px!important}
  .audience-art{display:none!important}
  .home-banner img{border-radius:18px!important}
  .service-card p{min-height:auto!important}
  .page-head{gap:10px!important;margin-bottom:14px!important}

  .customer-mobile-dashboard{display:grid!important;gap:12px!important;margin-top:0!important;margin-bottom:14px!important}
  .dashboard-welcome-card,.dashboard-wallet-card{border-radius:20px!important;padding:16px!important;box-shadow:0 8px 24px rgba(15,23,42,.045)!important}
  .dashboard-welcome-card h1{font-size:21px!important;margin-bottom:4px!important}
  .dashboard-wallet-card strong{font-size:27px!important}
  .dashboard-quick-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
  .dashboard-quick-actions a{min-height:86px!important;border-radius:17px!important}
  .dashboard-orders-card{padding:14px!important;border-radius:20px!important}
  .dashboard-orders-card .table-wrap{margin:0 -4px!important}

  table{min-width:720px!important}
  th,td{padding:10px!important;font-size:13px!important}

  .auth-page-wrap{padding:8px 10px 22px!important;max-width:none!important}
  .compact-auth-shell .auth-modern-visual{display:none!important}
  .compact-auth-shell,.compact-auth-shell.auth-register-shell{width:100%!important;margin:0!important;grid-template-columns:1fr!important}
  .compact-auth-shell .auth-modern-panel{border-radius:20px!important;padding:18px 14px!important;box-shadow:0 8px 24px rgba(15,23,42,.05)!important}
  .otp-box{font-size:22px!important}
}

@media (max-width: 390px){
  .topbar .wallet-pill{max-width:112px!important;padding:0 7px!important}
  .topbar .wallet-pill span{max-width:74px!important;font-size:10.5px!important}
  .dashboard-quick-actions a{min-height:78px!important}
}

/* v44: public mobile auth buttons + hide app footer on mobile */
@media (max-width: 768px){
  body.app-page .site-footer{display:none!important}
  body.app-page .page-wrap{padding-bottom:18px!important}

  body.public-page .top-actions{
    display:flex!important;
    position:absolute!important;
    right:10px!important;
    top:50%!important;
    transform:translateY(-50%)!important;
    z-index:5!important;
    align-items:center!important;
    max-width:128px!important;
  }
  body.public-page .guest-actions.clean{
    display:flex!important;
    align-items:center!important;
    gap:5px!important;
    flex-wrap:nowrap!important;
  }
  body.public-page .guest-actions.clean .auth-link{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    height:36px!important;
    min-height:36px!important;
    padding:0 9px!important;
    border-radius:999px!important;
    border:1px solid #dbeafe!important;
    background:#f8fbff!important;
    color:#1a73e8!important;
    font-size:12px!important;
    line-height:1!important;
    font-weight:900!important;
    white-space:nowrap!important;
    box-shadow:none!important;
  }
  body.public-page .guest-actions.clean .auth-link:first-child{
    background:#1a73e8!important;
    border-color:#1a73e8!important;
    color:#fff!important;
  }
  body.public-page .guest-actions.clean .auth-link i{display:none!important}
  body.public-page .guest-actions.clean .header-order-link{display:none!important}
  body.public-page .topbar .brand-image img{max-width:92px!important;height:32px!important}
  body.public-page .mobile-nav-toggle{left:10px!important}
}
@media (max-width: 390px){
  body.public-page .top-actions{right:8px!important;max-width:116px!important}
  body.public-page .guest-actions.clean{gap:4px!important}
  body.public-page .guest-actions.clean .auth-link{height:34px!important;min-height:34px!important;padding:0 7px!important;font-size:11px!important}
  body.public-page .topbar .brand-image img{max-width:82px!important;height:30px!important}
}

/* v45 - professional public mobile header: visible auth/order actions outside hamburger */
@media (max-width: 768px){
  body.public-page:not(.auth-clean-page) .topbar{
    height:106px!important;
    min-height:106px!important;
    padding:0!important;
    background:rgba(255,255,255,.98)!important;
    border-bottom:1px solid #e8edf5!important;
    box-shadow:0 1px 10px rgba(15,23,42,.04)!important;
  }
  body.public-page:not(.auth-clean-page) .topbar-inner{
    width:100%!important;
    height:106px!important;
    min-height:106px!important;
    padding:8px 12px 10px!important;
    display:block!important;
    position:relative!important;
  }
  body.public-page:not(.auth-clean-page) .topbar .brand{
    position:absolute!important;
    right:12px!important;
    top:10px!important;
    left:auto!important;
    transform:none!important;
    height:40px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    z-index:4!important;
    margin:0!important;
  }
  body.public-page:not(.auth-clean-page) .topbar .brand-image img{
    height:36px!important;
    max-width:112px!important;
    width:auto!important;
    display:block!important;
  }
  body.public-page:not(.auth-clean-page) .mobile-nav-toggle{
    display:inline-flex!important;
    position:absolute!important;
    left:12px!important;
    top:9px!important;
    right:auto!important;
    transform:none!important;
    width:42px!important;
    height:42px!important;
    z-index:6!important;
  }
  body.public-page:not(.auth-clean-page) .main-nav{display:none!important}
  body.public-page:not(.auth-clean-page) .top-actions{
    display:flex!important;
    position:absolute!important;
    right:12px!important;
    left:12px!important;
    bottom:10px!important;
    top:auto!important;
    transform:none!important;
    z-index:5!important;
    width:auto!important;
    max-width:none!important;
    align-items:center!important;
    justify-content:center!important;
  }
  body.public-page:not(.auth-clean-page) .guest-actions.clean{
    display:flex!important;
    width:100%!important;
    max-width:520px!important;
    margin:0 auto!important;
    align-items:center!important;
    justify-content:center!important;
    gap:7px!important;
    padding:0!important;
    background:transparent!important;
    border:0!important;
    flex-wrap:nowrap!important;
  }
  body.public-page:not(.auth-clean-page) .guest-actions.clean .auth-link,
  body.public-page:not(.auth-clean-page) .guest-actions.clean .header-order-link{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    height:38px!important;
    min-height:38px!important;
    border-radius:999px!important;
    padding:0 10px!important;
    white-space:nowrap!important;
    font-size:12.5px!important;
    line-height:1!important;
    font-weight:900!important;
    box-shadow:none!important;
    flex:1 1 0!important;
    min-width:0!important;
  }
  body.public-page:not(.auth-clean-page) .guest-actions.clean .auth-link{
    border:1px solid #dbeafe!important;
    background:#f8fbff!important;
    color:#1a73e8!important;
  }
  body.public-page:not(.auth-clean-page) .guest-actions.clean .auth-link:first-child{
    background:#1a73e8!important;
    border-color:#1a73e8!important;
    color:#fff!important;
  }
  body.public-page:not(.auth-clean-page) .guest-actions.clean .header-order-link{
    background:#FB8C00!important;
    border:1px solid #FB8C00!important;
    color:#fff!important;
    flex:1.22 1 0!important;
  }
  body.public-page:not(.auth-clean-page) .guest-actions.clean .auth-link i,
  body.public-page:not(.auth-clean-page) .guest-actions.clean .header-order-link i{display:none!important}
  body.public-page:not(.auth-clean-page) .page-wrap{
    padding-top:12px!important;
  }
}
@media (max-width: 390px){
  body.public-page:not(.auth-clean-page) .topbar{
    height:102px!important;
    min-height:102px!important;
  }
  body.public-page:not(.auth-clean-page) .topbar-inner{
    height:102px!important;
    min-height:102px!important;
    padding-left:10px!important;
    padding-right:10px!important;
  }
  body.public-page:not(.auth-clean-page) .topbar .brand{right:10px!important;top:10px!important}
  body.public-page:not(.auth-clean-page) .topbar .brand-image img{height:32px!important;max-width:96px!important}
  body.public-page:not(.auth-clean-page) .mobile-nav-toggle{left:10px!important;top:8px!important;width:40px!important;height:40px!important}
  body.public-page:not(.auth-clean-page) .top-actions{right:10px!important;left:10px!important;bottom:9px!important}
  body.public-page:not(.auth-clean-page) .guest-actions.clean{gap:5px!important}
  body.public-page:not(.auth-clean-page) .guest-actions.clean .auth-link,
  body.public-page:not(.auth-clean-page) .guest-actions.clean .header-order-link{
    height:36px!important;
    min-height:36px!important;
    font-size:11.2px!important;
    padding:0 7px!important;
  }
}

/* Admin password login fallback */
.admin-login-shortcut a{display:inline-flex;align-items:center;gap:6px;color:#475569!important}
.admin-login-shortcut a:hover{color:#1a73e8!important}
.admin-login-page .auth-simple-brand{margin-bottom:12px}
.admin-login-shell .auth-modern-panel{border-top:4px solid #1a73e8}
@media (max-width:768px){
  .admin-login-shell .auth-modern-visual{display:none!important}
  .admin-login-shell{grid-template-columns:1fr!important;width:100%!important;margin:0 auto 20px!important}
  .admin-login-shortcut{margin-top:14px!important;padding-top:12px;border-top:1px solid #eef2f7}
}

/* --- Netchii order pricing / project offer / completion UX fixes --- */
.pricing-calc-box{display:grid;grid-template-columns:minmax(220px,1fr) minmax(220px,1fr);gap:16px;align-items:end;background:#f8fbff;border:1px solid #dbeafe;border-radius:18px;padding:16px;margin:8px 0 12px}.pricing-calc-box strong{display:block;font-size:22px;color:#0f172a;line-height:1.8}.pricing-calc-box span{display:block;color:#64748b;font-weight:700;font-size:13px}.pricing-calc-box small{display:block;color:#64748b}.project-offer-box{background:#fffbeb;border-color:#fde68a}.offer-panel{background:#f8fbff;border:1px solid #dbeafe;border-radius:18px;padding:16px;margin:16px 0}.offer-panel h3{display:flex;align-items:center;gap:8px;margin-top:0}.provider-offer-form{display:grid;grid-template-columns:minmax(200px,.7fr) minmax(240px,1fr) auto;gap:12px;align-items:end}.offer-list{display:grid;gap:12px}.offer-card{background:#fff;border:1px solid #e5eaf2;border-radius:16px;padding:14px;display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center}.offer-card.accepted{border-color:#86efac;background:#f0fdf4}.offer-card p{grid-column:1/-1;margin:0;color:#475569}.offer-price{font-size:20px;font-weight:800;color:#0f172a}.mini-offer-form{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.mini-offer-form input{max-width:170px;min-height:40px!important}.customer-final-approval-card{border:1px solid #86efac;background:#f0fdf4;border-radius:18px;padding:14px!important;margin:16px 0!important;display:flex!important;align-items:center;gap:12px;flex-wrap:wrap}.customer-final-approval-card .approval-copy{flex:1 1 260px}.customer-final-approval-card .approval-copy strong{display:block;color:#166534;font-size:16px}.customer-final-approval-card .approval-copy small{display:block;color:#15803d;margin-top:4px}.strong-action{opacity:1!important;border:0!important;box-shadow:0 8px 20px rgba(15,23,42,.08)!important}.cancel-order-panel>summary.btn.danger.strong-action{background:#dc2626!important;color:#fff!important}.suspend-order-panel>summary.btn.warning.strong-action{background:#f59e0b!important;color:#111827!important}.dispute-order-panel>summary.btn.danger.strong-action{background:#dc2626!important;color:#fff!important}.status-help-card{border-radius:18px;padding:14px;background:#f8fafc;border:1px solid #e2e8f0}.provider-waiting-customer-card{background:#eff6ff;border-color:#bfdbfe;color:#1e3a8a}@media(max-width:700px){.pricing-calc-box,.provider-offer-form,.offer-card{grid-template-columns:1fr}.mini-offer-form input{max-width:100%;width:100%}.customer-final-approval-card{align-items:stretch}.customer-final-approval-card form,.customer-final-approval-card .dispute-order-panel{width:100%}.customer-final-approval-card .btn{width:100%;justify-content:center}}

/* --- Professional order completion / customer approval flow --- */
.order-flow-card{background:#fff;border:1px solid #e7edf5;border-radius:24px;padding:18px;margin:0 0 18px;box-shadow:0 14px 38px rgba(15,23,42,.06)}
.order-flow-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:16px}
.order-flow-head h2{margin:3px 0 0;font-size:22px;color:#0f172a}
.order-flow-steps{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;position:relative}
.order-flow-step{border:1px solid #e2e8f0;border-radius:18px;padding:12px 10px;background:#f8fafc;min-height:94px;display:flex;flex-direction:column;gap:5px;align-items:center;justify-content:center;text-align:center;color:#64748b}
.order-flow-step b{width:30px;height:30px;border-radius:999px;display:flex;align-items:center;justify-content:center;background:#e2e8f0;color:#475569;font-size:13px}
.order-flow-step strong{font-size:13.5px;color:#334155}
.order-flow-step small{font-size:11.5px;line-height:1.7;color:#64748b}
.order-flow-step.done{background:#f0fdf4;border-color:#bbf7d0}
.order-flow-step.done b{background:#16a34a;color:#fff}
.order-flow-step.done strong{color:#166534}
.order-flow-step.active{background:#eef6ff;border-color:#bfdbfe;box-shadow:0 8px 22px rgba(26,115,232,.10)}
.order-flow-step.active b{background:#1a73e8;color:#fff}
.order-flow-step.active strong{color:#1d4ed8}
.order-flow-card.order-flow-warning{border-color:#fed7aa;background:#fffaf5}
.order-flow-card.order-flow-danger{border-color:#fecaca;background:#fffafa}
.order-flow-message{margin-top:14px;border-radius:18px;padding:14px 16px;display:flex;gap:12px;align-items:flex-start;border:1px solid #e2e8f0;background:#f8fafc}
.order-flow-message i{font-size:24px;color:#1a73e8;flex:0 0 auto}
.order-flow-message strong{display:block;color:#0f172a;margin-bottom:3px}
.order-flow-message p{margin:0;color:#475569;line-height:1.9;font-size:13.5px}
.order-flow-message.customer-action-needed{background:#ecfdf5;border-color:#bbf7d0}
.order-flow-message.customer-action-needed i{color:#16a34a}
.order-flow-message.provider-action-needed,.order-flow-message.provider-waiting{background:#eff6ff;border-color:#bfdbfe}
.order-flow-message.dispute{background:#fff7ed;border-color:#fed7aa}
.order-flow-message.dispute i{color:#f97316}
.order-flow-message.completed{background:#f0fdf4;border-color:#bbf7d0}
.order-flow-message.completed i{color:#16a34a}

.order-actions-v2{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:14px!important;margin-top:18px!important}
.order-primary-action-card{border:1px solid #dbe7f5;border-radius:22px;background:#fff;box-shadow:0 12px 32px rgba(15,23,42,.05);padding:18px;display:flex;align-items:center;justify-content:space-between;gap:18px;width:100%}
.order-primary-action-card .approval-copy{display:flex;flex-direction:column;gap:4px;min-width:0}
.order-primary-action-card strong{font-size:18px;color:#0f172a}
.order-primary-action-card small{color:#64748b;line-height:1.9}
.customer-final-approval-card{background:linear-gradient(180deg,#f0fdf4 0%,#fff 100%);border-color:#bbf7d0}
.provider-finish-card{background:linear-gradient(180deg,#eef6ff 0%,#fff 100%);border-color:#bfdbfe;align-items:stretch;flex-direction:column}
.provider-start-card{background:#f8fbff;border-color:#dbeafe}
.provider-wait-card{background:#f8fafc;color:#475569;justify-content:flex-start}
.provider-wait-card i{font-size:28px;color:#1a73e8}
.approval-main-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.final-approve-btn,.finish-order-btn{min-height:48px!important;border-radius:14px!important;font-weight:800!important;box-shadow:0 12px 24px rgba(22,163,74,.18)}
.upload-result-v2{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px;width:100%}
.upload-result-v2 button{grid-column:1/-1;justify-self:start}
.secondary-risk-action{max-width:520px}
.provider-new-order-actions{display:flex;gap:10px;flex-wrap:wrap}
.customer-review-list-alert,.dashboard-action-alert{display:flex;align-items:center;gap:12px;border:1px solid #bbf7d0;background:#f0fdf4;border-radius:18px;padding:14px 16px;margin:12px 0}
.customer-review-list-alert i,.dashboard-action-alert i{font-size:26px;color:#16a34a;flex:0 0 auto}
.customer-review-list-alert strong,.dashboard-action-alert strong{display:block;color:#14532d;font-size:16px;margin-bottom:2px}
.customer-review-list-alert p,.dashboard-action-alert span{color:#166534;margin:0;line-height:1.8;font-size:13.5px}
.dashboard-action-alert{justify-content:space-between;flex-wrap:wrap}
.orders-table-v2 .needs-customer-review-row{background:#f0fdf4}
.orders-table-v2 .needs-customer-review-row td{border-color:#d9f99d!important}
.status-inline-note{display:block;color:#16a34a;font-weight:800;font-size:11px;margin-top:4px}
.table-main-action{font-weight:800!important}

@media (max-width: 900px){
  .order-flow-steps{grid-template-columns:repeat(3,minmax(0,1fr))}
  .order-primary-action-card{flex-direction:column;align-items:stretch}
  .approval-main-actions{justify-content:stretch;flex-direction:column;align-items:stretch}
  .approval-main-actions form,.approval-main-actions .btn,.approval-main-actions details{width:100%}
  .upload-result-v2{grid-template-columns:1fr}
  .upload-result-v2 button{width:100%;justify-self:stretch}
}
@media (max-width: 560px){
  .order-flow-card{border-radius:18px;padding:14px;margin-bottom:14px}
  .order-flow-head{flex-direction:column}
  .order-flow-head h2{font-size:19px}
  .order-flow-steps{grid-template-columns:1fr 1fr;gap:7px}
  .order-flow-step{min-height:82px;padding:9px 6px;border-radius:14px}
  .order-flow-step small{display:none}
  .order-primary-action-card{border-radius:18px;padding:14px}
  .order-primary-action-card strong{font-size:16px}
  .final-approve-btn,.finish-order-btn{width:100%}
}

/* --- Provider approval admin UX --- */
.admin-pending-providers-card{border:1px solid #fde68a!important;background:linear-gradient(180deg,#fff 0%,#fffbeb 100%)}
.pending-provider-table td small{display:block;color:#64748b;margin-top:4px;font-size:12px}
.provider-approve-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.provider-approve-actions form{margin:0!important}
.provider-verify-form button{white-space:nowrap}
.license-link{display:inline-flex;align-items:center;gap:6px;text-decoration:none!important;border:1px solid #dbeafe;background:#eff6ff;color:#1a73e8!important}
.provider-license-detail strong{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.provider-approval-box{background:#f8fafc;border:1px solid #e2e8f0;border-radius:16px;padding:14px!important}
.user-state-chip.success-tag,.user-state-chip.warning-tag,.user-state-chip.danger-tag{border-radius:999px;padding:3px 8px;font-size:11px;font-weight:700;display:inline-flex;margin-inline-start:4px}
.user-row-menu-list .provider-verify-form button{width:100%;justify-content:flex-start;text-align:right;background:transparent;color:#334155;box-shadow:none;border:0;border-radius:0;padding:9px 10px;font-weight:600}
.user-row-menu-list .provider-verify-form button.success{color:#15803d;background:#ecfdf5}
.user-row-menu-list .provider-verify-form button.danger{color:#dc2626;background:#fef2f2}
.user-row-menu-list .provider-verify-form{display:block!important;width:100%}
@media (max-width:700px){.provider-approve-actions{flex-direction:column;align-items:stretch}.provider-approve-actions .btn,.provider-approve-actions form,.provider-approve-actions button{width:100%}.pending-provider-table th:nth-child(2),.pending-provider-table td:nth-child(2),.pending-provider-table th:nth-child(4),.pending-provider-table td:nth-child(4){display:none}}

/* Wallet shortfall payment flow */
.pay-shortfall-alert{line-height:1.95;text-align:right}
.pay-shortfall-form{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px;align-items:center}
.pay-shortfall-form .btn{min-height:44px;border-radius:14px!important}
.wallet-order-charge-note{line-height:1.95;margin-bottom:14px}
.wallet-order-charge-note strong{font-weight:800}
@media (max-width:640px){
  .pay-shortfall-form{flex-direction:column;align-items:stretch}
  .pay-shortfall-form .btn{width:100%;justify-content:center;text-align:center}
}

/* v52 - wallet charge money input and merged online wallet transaction UX */
.money-input{
  direction:ltr;
  text-align:left;
  font-weight:900;
  letter-spacing:.3px;
}
.field-hint{
  display:block;
  margin-top:7px;
  color:#64748b;
  font-size:12px;
  line-height:1.7;
}
.transactions-table .channel-tag{
  white-space:nowrap;
}
@media (max-width: 768px){
  .wallet-charge-form .money-input{
    font-size:18px;
    height:50px;
  }
  .field-hint{
    font-size:11.5px;
  }
}

/* v54 - minimal Google-style wallet charge modal */
.wallet-modal-card.wallet-modal-card-google{
  width:min(456px,100%);
  border-radius:24px!important;
  padding:20px!important;
  border:1px solid #e6ecf3!important;
  box-shadow:0 24px 72px rgba(15,23,42,.18)!important;
}
.wallet-modal-head{
  align-items:center!important;
  margin-bottom:18px!important;
}
.wallet-modal-title{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}
.wallet-modal-icon{
  width:42px;
  height:42px;
  border-radius:14px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:#1a73e8;
  background:#eef5ff;
  border:1px solid #dbeafe;
  flex:0 0 auto;
}
.wallet-modal-title h2{
  margin:0 0 3px!important;
  font-size:19px!important;
  font-weight:900!important;
  color:#0f172a!important;
  line-height:1.5;
}
.wallet-modal-title p{
  margin:0!important;
  color:#64748b!important;
  font-size:12.5px!important;
  line-height:1.8!important;
}
.wallet-charge-form-google{
  gap:14px!important;
}
.wallet-charge-form-google .wallet-amount-field{
  margin:0;
  display:block;
  color:#1f2937;
  font-size:13px;
  font-weight:800;
}
.wallet-charge-form-google .wallet-amount-field > span{
  display:block;
  margin-bottom:8px;
}
.money-input-wrap{
  position:relative;
  display:flex;
  align-items:center;
}
.money-input-wrap .money-input{
  width:100%;
  height:52px;
  border-radius:16px!important;
  border:1px solid #dbe4ef!important;
  background:#fff!important;
  padding:0 16px 0 72px!important;
  box-shadow:none!important;
  color:#0f172a!important;
  font-size:18px!important;
  font-weight:900!important;
  letter-spacing:.2px!important;
}
.money-input-wrap .money-input:focus{
  border-color:#1a73e8!important;
  box-shadow:0 0 0 4px rgba(26,115,232,.11)!important;
  outline:0!important;
}
.money-input-wrap .money-input::placeholder{
  color:#94a3b8;
  font-weight:700;
  letter-spacing:0;
  font-size:13px;
  text-align:right;
  direction:rtl;
}
.money-input-wrap em{
  position:absolute;
  left:14px;
  top:50%;
  transform:translateY(-50%);
  font-style:normal;
  font-size:12px;
  font-weight:800;
  color:#64748b;
  pointer-events:none;
}
.wallet-charge-form-google .wallet-quick-amounts{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  margin:0 0 2px!important;
}
.wallet-charge-form-google .wallet-amount-chip{
  min-height:32px!important;
  border-radius:999px!important;
  padding:0 10px!important;
  font-size:12px!important;
  line-height:1!important;
  font-weight:800!important;
  border:1px solid #e2e8f0!important;
  background:#f8fafc!important;
  color:#334155!important;
  box-shadow:none!important;
}
.wallet-charge-form-google .wallet-amount-chip:hover{
  border-color:#bfdbfe!important;
  background:#eff6ff!important;
  color:#1a73e8!important;
}
.wallet-charge-form-google .wallet-modal-actions{
  margin-top:4px!important;
  padding-top:8px;
}
.wallet-charge-form-google .wallet-modal-actions .btn{
  min-height:42px!important;
  border-radius:14px!important;
}
.wallet-charge-form-google .wallet-modal-actions .btn.success{
  box-shadow:none!important;
}
.wallet-order-charge-note{
  border-radius:16px!important;
  padding:10px 12px!important;
  margin-bottom:12px!important;
  line-height:1.9!important;
}
@media (max-width:700px){
  .wallet-modal-card.wallet-modal-card-google{
    width:100%;
    padding:18px!important;
    border-radius:22px!important;
  }
  .wallet-modal-title h2{font-size:18px!important}
  .wallet-modal-title p{font-size:12px!important}
  .money-input-wrap .money-input{
    height:50px;
    font-size:16px!important;
  }
  .wallet-charge-form-google .wallet-quick-amounts{
    gap:6px;
  }
  .wallet-charge-form-google .wallet-amount-chip{
    min-height:30px!important;
    padding:0 9px!important;
    font-size:11.5px!important;
  }
}

/* v52 - customer withdrawal and unified finance */
.customer-withdraw-card{margin-top:16px!important;padding:18px!important;border:1px solid #e5e7eb!important;box-shadow:none!important}
.customer-withdraw-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.customer-withdraw-head h2{margin:4px 0 5px;font-size:18px}
.customer-withdraw-head .eyebrow{font-size:11px;font-weight:900;color:#1a73e8}
.customer-withdraw-head .btn{min-width:150px}
.customer-withdraw-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:16px}
.customer-withdraw-meta>div{padding:12px 14px;border-radius:14px;background:#f8fafc;border:1px solid #eef2f7;display:flex;align-items:center;justify-content:space-between;gap:12px}
.customer-withdraw-meta span{font-size:12px;color:#64748b;font-weight:800}
.customer-withdraw-meta strong{font-size:13px}
.customer-bank-callout{display:flex;align-items:center;gap:12px;margin-top:14px;padding:12px 14px;border-radius:14px;background:#fff8e8;border:1px solid #fde7b0}
.customer-bank-callout>i{font-size:20px;color:#f59e0b}
.customer-bank-callout>div{flex:1;min-width:0}
.customer-bank-callout strong{font-size:13px}
.customer-bank-callout p{margin:3px 0 0;font-size:12px;color:#64748b;line-height:1.8}
.customer-withdraw-hint{margin:12px 0 0}
.customer-withdraw-history{margin-top:16px!important}
.customer-withdraw-modal-card{max-width:480px!important}
.customer-bank-profile-card{align-self:start}
.finance-subtitle{margin:18px 0 8px;font-size:14px}
@media (max-width:700px){
  .customer-withdraw-head{display:block}
  .customer-withdraw-head .btn{width:100%;margin-top:12px;min-width:0}
  .customer-withdraw-meta{grid-template-columns:1fr}
  .customer-bank-callout{align-items:flex-start;flex-wrap:wrap}
  .customer-bank-callout .btn{width:100%}
}

/* v53 - unified admin approval center and complete bank review */
.admin-dashboard-head{align-items:center!important}
.admin-approval-total{min-width:150px;padding:14px 18px;border:1px solid #fee2e2;background:#fff7f7;border-radius:18px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.admin-approval-total span{font-size:12px;font-weight:850;color:#991b1b}
.admin-approval-total strong{font-size:25px;line-height:1;color:#dc2626}
.admin-approval-stats{margin-bottom:18px}
.admin-approval-center{display:grid;gap:16px;margin-bottom:20px;scroll-margin-top:85px}
.approval-center-title{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:4px 2px}
.approval-center-title h2{margin:0 0 5px;font-size:20px;display:flex;align-items:center;gap:9px}
.approval-center-title p{margin:0;color:#64748b;font-size:13px}
.approval-filter-chips{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.approval-filter-chips a{height:34px;padding:0 11px;border:1px solid #e2e8f0;background:#fff;border-radius:999px;display:inline-flex;align-items:center;gap:7px;color:#475569;font-size:12px;font-weight:850;text-decoration:none}
.approval-filter-chips a:hover{border-color:#bfdbfe;background:#f8fbff;color:#1a73e8}
.approval-filter-chips b{min-width:21px;height:21px;padding:0 5px;border-radius:999px;background:#eef2ff;color:#4338ca;display:inline-flex;align-items:center;justify-content:center;font-size:11px}
.approval-queue-card{padding:18px!important;border:1px solid #e7ebf0!important;box-shadow:none!important;scroll-margin-top:88px}
.approval-queue-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding-bottom:14px;border-bottom:1px solid #eef2f6;margin-bottom:4px}
.approval-queue-head>div:first-child{display:flex;align-items:center;gap:11px}
.approval-queue-head h3{margin:0 0 3px;font-size:16px}
.approval-queue-head p{margin:0;font-size:12px;color:#64748b}
.approval-icon{width:40px;height:40px;border-radius:13px;display:inline-flex;align-items:center;justify-content:center;font-size:18px}
.approval-icon.amber{background:#fff7e6;color:#d97706}
.approval-icon.blue{background:#eff6ff;color:#2563eb}
.approval-icon.green{background:#ecfdf3;color:#15803d}
.approval-icon.red{background:#fff1f2;color:#dc2626}
.approval-icon.purple{background:#f5f3ff;color:#7c3aed}
.approval-count{min-width:34px;height:34px;padding:0 8px;border-radius:11px;background:#f1f5f9;color:#334155;display:inline-flex;align-items:center;justify-content:center;font-size:13px;font-weight:900}
.approval-list{display:grid}
.approval-item,.approval-withdraw-item{display:grid;grid-template-columns:minmax(220px,1fr) auto minmax(270px,auto);align-items:center;gap:16px;padding:14px 2px;border-bottom:1px solid #eef2f6}
.approval-list>*:last-child{border-bottom:0}
.approval-item-main{display:flex;align-items:center;gap:11px;min-width:0}
.approval-avatar{width:39px;height:39px;border-radius:13px;background:#f8fafc;border:1px solid #e2e8f0;color:#475569;display:flex;align-items:center;justify-content:center;font-size:17px;flex:0 0 auto}
.approval-item-main>div:last-child,.approval-bank-owner{display:flex;flex-direction:column;gap:2px;min-width:0}
.approval-item-main strong,.approval-bank-owner strong{font-size:13px;color:#0f172a}
.approval-item-main span,.approval-bank-owner small{font-size:12px;color:#475569}
.approval-item-main small{font-size:11px;color:#94a3b8}
.approval-item-evidence a{white-space:nowrap}
.approval-item-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap}
.approval-item-actions form{margin:0}
.approval-item-actions .btn{min-height:34px!important}
.approval-empty{min-height:72px;display:flex;align-items:center;justify-content:center;gap:9px;color:#64748b;font-size:13px}
.approval-empty i{font-size:20px;color:#22c55e}
.approval-card-footer{padding-top:12px;border-top:1px solid #eef2f6;text-align:left}
.approval-card-footer a{font-size:12px;font-weight:850;color:#1a73e8;text-decoration:none;display:inline-flex;align-items:center;gap:6px}
.approval-bank-item,.finance-bank-review-item{display:grid;grid-template-columns:190px minmax(0,1fr) minmax(250px,auto);gap:16px;align-items:start;padding:15px 2px;border-bottom:1px solid #eef2f6}
.approval-bank-item:last-of-type,.finance-bank-review-item:last-child{border-bottom:0}
.approval-bank-owner .tag{align-self:flex-start;margin-bottom:4px}
.approval-bank-owner a{margin-top:6px;font-size:11px;font-weight:800;color:#1a73e8;text-decoration:none}
.admin-bank-details{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.admin-bank-details.compact{grid-template-columns:repeat(3,minmax(135px,1fr))}
.admin-bank-details>div{min-height:54px;padding:9px 11px;border:1px solid #e7edf4;background:#fafcff;border-radius:12px;display:flex;flex-direction:column;gap:4px;min-width:0}
.admin-bank-details>div.full{grid-column:1/-1}
.admin-bank-details span{font-size:10.5px;color:#64748b;font-weight:800}
.admin-bank-details strong{font-size:12px;color:#0f172a;overflow-wrap:anywhere}
.admin-bank-details .bank-number strong,.bank-number{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;letter-spacing:.2px}
.admin-bank-empty{padding:14px;border:1px dashed #cbd5e1;border-radius:13px;color:#64748b;display:flex;align-items:center;gap:9px}
.admin-bank-review-form{display:grid;grid-template-columns:minmax(130px,1fr) minmax(150px,1fr) auto;gap:7px;align-items:center;width:100%}
.admin-bank-review-form.compact{grid-template-columns:145px 160px auto;max-width:470px}
.admin-bank-review-form select,.admin-bank-review-form input,.admin-withdraw-review-form select,.admin-withdraw-review-form input{height:36px!important;min-height:36px!important;border-radius:10px!important;font-size:11.5px!important}
.admin-bank-review-form .btn,.admin-withdraw-review-form .btn{height:36px!important;min-height:36px!important;white-space:nowrap}
.finance-bank-review-list{display:grid}
.finance-bank-review-item{grid-template-columns:210px minmax(0,1fr) 310px}
.admin-user-bank-section{margin-top:4px;padding:15px!important;border:1px solid #dbeafe!important;background:#f8fbff!important;border-radius:16px!important}
.admin-user-bank-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}
.admin-user-bank-head>div{display:flex;flex-direction:column;gap:3px}
.admin-user-bank-head>div>span{font-size:13px!important;color:#0f172a!important;font-weight:900!important}
.admin-user-bank-head small{font-size:11px;color:#64748b}
.admin-user-bank-actions{margin-top:12px;padding-top:12px;border-top:1px solid #dbeafe}
.withdraw-amount{display:flex;flex-direction:column;gap:3px;white-space:nowrap}
.withdraw-amount span{font-size:10.5px;color:#64748b;font-weight:800}
.withdraw-amount strong{font-size:14px;color:#15803d}
.withdraw-bank-summary{display:flex;flex-direction:column;gap:3px;min-width:210px;padding:9px 11px;border:1px solid #e7edf4;background:#fafcff;border-radius:12px;font-size:11px;color:#475569}
.withdraw-bank-summary bdi{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;color:#0f172a}
.admin-withdraw-review-form{display:grid;grid-template-columns:120px minmax(150px,1fr) minmax(130px,1fr) auto;gap:7px;align-items:center;min-width:520px}
.approval-two-column{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.approval-simple-list{display:grid}
.approval-simple-list a{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 2px;border-bottom:1px solid #eef2f6;text-decoration:none;color:#0f172a}
.approval-simple-list a:last-child{border-bottom:0}
.approval-simple-list span{display:flex;flex-direction:column;gap:3px;min-width:0}
.approval-simple-list strong{font-size:12.5px}
.approval-simple-list small{font-size:11px;color:#64748b}
.approval-simple-list em{font-size:11.5px;color:#1a73e8;font-style:normal;font-weight:850;white-space:nowrap}
.admin-general-stats{margin:18px 0}

@media (max-width:1100px){
  .approval-bank-item,.finance-bank-review-item{grid-template-columns:180px 1fr}
  .approval-bank-item>.approval-item-actions,.finance-bank-review-item>.approval-item-actions{grid-column:1/-1;justify-content:flex-start}
  .approval-item,.approval-withdraw-item{grid-template-columns:1fr auto}
  .approval-item>.approval-item-actions,.approval-withdraw-item>.approval-item-actions{grid-column:1/-1;justify-content:flex-start}
  .admin-withdraw-review-form{min-width:0;width:100%}
}
@media (max-width:760px){
  .admin-dashboard-head,.approval-center-title{display:block!important}
  .admin-approval-total{margin-top:12px;min-width:0;width:100%}
  .approval-filter-chips{margin-top:12px;overflow:auto;flex-wrap:nowrap;padding-bottom:3px}
  .approval-filter-chips a{white-space:nowrap}
  .approval-queue-card{padding:14px!important}
  .approval-queue-head{align-items:flex-start}
  .approval-item,.approval-withdraw-item,.approval-bank-item,.finance-bank-review-item{grid-template-columns:1fr;gap:11px;padding:13px 0}
  .approval-item>.approval-item-actions,.approval-withdraw-item>.approval-item-actions,.approval-bank-item>.approval-item-actions,.finance-bank-review-item>.approval-item-actions{grid-column:auto;justify-content:stretch}
  .approval-item-actions .btn,.approval-item-actions form{width:100%}
  .approval-item-actions form .btn{width:100%}
  .admin-bank-details,.admin-bank-details.compact{grid-template-columns:1fr 1fr}
  .admin-bank-review-form,.admin-bank-review-form.compact,.admin-withdraw-review-form{grid-template-columns:1fr;width:100%;max-width:none;min-width:0}
  .admin-bank-review-form .btn,.admin-withdraw-review-form .btn{width:100%}
  .approval-two-column{grid-template-columns:1fr}
  .withdraw-bank-summary{min-width:0}
  .finance-bank-review-item{padding:14px 0}
}
@media (max-width:430px){
  .admin-bank-details,.admin-bank-details.compact{grid-template-columns:1fr}
  .approval-queue-head h3{font-size:14px}
  .approval-queue-head p{font-size:11px}
}


/* v52 - admin user wallets and transaction visibility */
.admin-wallets-card{overflow:visible}
.admin-wallets-card .section-title-row h2{display:flex;align-items:center;gap:9px}
.admin-wallet-summary-grid,.admin-wallet-detail-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:14px 0}
.admin-wallet-summary-grid>div,.admin-wallet-detail-stats>div{border:1px solid #e5e7eb;background:#f8fafc;border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:5px;min-width:0}
.admin-wallet-summary-grid span,.admin-wallet-detail-stats span{font-size:12px;color:#64748b}
.admin-wallet-summary-grid strong,.admin-wallet-detail-stats strong{font-size:15px;color:#0f172a;overflow-wrap:anywhere}
.admin-wallet-filter{display:grid;grid-template-columns:minmax(220px,1fr) minmax(180px,.45fr) auto auto;gap:9px;align-items:end;padding:12px;border:1px solid #e5e7eb;border-radius:14px;background:#fff;margin-bottom:12px}
.admin-wallet-filter label{display:flex;flex-direction:column;gap:5px;font-size:12px;font-weight:800;color:#475569}
.admin-wallet-filter input,.admin-wallet-filter select{height:40px}
.admin-user-wallets-table{min-width:980px}
.admin-wallet-user-cell{display:flex;align-items:center;gap:9px;min-width:180px}
.admin-wallet-user-cell>div{display:flex;flex-direction:column;gap:2px;min-width:0}
.admin-wallet-user-cell strong{font-size:13px;color:#0f172a}
.admin-wallet-user-cell small{font-size:11px;color:#64748b;direction:rtl}
.admin-user-wallets-table td>small{display:block;margin-top:4px;color:#64748b}
.admin-user-wallets-table tr.selected-wallet-user td{background:#eff6ff}
.wallet-balance-positive{color:#087f5b;white-space:nowrap}
.admin-wallet-detail-panel{margin-top:14px;border:1px solid #bfdbfe;background:#fff;border-radius:18px;padding:14px;scroll-margin-top:90px}
.admin-wallet-detail-head,.admin-wallet-tab-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.admin-wallet-detail-head h3,.admin-wallet-tab-head h3{margin:2px 0;font-size:17px}
.admin-wallet-detail-head span{font-size:11px;color:#1d4ed8;font-weight:900}
.admin-wallet-detail-stats{grid-template-columns:repeat(5,minmax(0,1fr))}
.admin-wallet-transactions-wrap{border:1px solid #e5e7eb;border-radius:14px;background:#fff}
.admin-wallet-transactions{min-width:1040px;margin:0}
.admin-wallet-transactions td,.admin-wallet-transactions th{font-size:11.5px;padding:9px 8px}
.admin-wallet-transactions.compact td,.admin-wallet-transactions.compact th{padding:8px 7px}
.admin-wallet-amount{font-weight:900;white-space:nowrap}
.admin-wallet-empty{display:flex;align-items:center;justify-content:center;gap:8px;color:#64748b;padding:24px;border:1px dashed #cbd5e1;border-radius:14px;background:#f8fafc}
.admin-user-detail-tabs{display:flex;gap:6px;align-items:center;border-bottom:1px solid #e5e7eb;margin:2px -4px 14px;padding:0 4px 8px;overflow-x:auto}
.admin-user-detail-tabs a{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:38px;padding:0 12px;border-radius:10px;color:#475569;font-size:12px;font-weight:900;white-space:nowrap;text-decoration:none}
.admin-user-detail-tabs a:hover{background:#f1f5f9;color:#1d4ed8}
.admin-user-detail-tabs a.active{background:#e8f0fe;color:#1967d2}
.admin-user-detail-tab-content{min-height:190px}
.admin-user-wallet-tab{display:flex;flex-direction:column;gap:8px}
.admin-user-bank-tab{margin-top:0!important}
.user-modal-card{width:min(1040px,calc(100vw - 28px));max-height:calc(100vh - 28px);overflow:auto}
@media(max-width:900px){
  .admin-wallet-summary-grid,.admin-wallet-detail-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .admin-wallet-filter{grid-template-columns:1fr 1fr}
  .admin-wallet-filter .btn{width:100%}
}
@media(max-width:600px){
  .admin-wallet-summary-grid,.admin-wallet-detail-stats{grid-template-columns:1fr 1fr}
  .admin-wallet-filter{grid-template-columns:1fr}
  .admin-wallet-detail-head,.admin-wallet-tab-head{align-items:flex-start;flex-direction:column}
  .admin-user-detail-tabs a{padding:0 9px;font-size:11px}
  .user-modal-card{width:calc(100vw - 16px);max-height:calc(100vh - 16px);padding:14px}
}

/* v53 - Ehraz identity verification and approval workflow */
.identity-status-badge{display:inline-flex;align-items:center;justify-content:center;min-height:27px;padding:4px 10px;border-radius:999px;font-size:11px;font-weight:900;white-space:nowrap}
.identity-action-form{display:inline-flex;align-items:center;gap:7px;margin:0}
.identity-action-form.compact{width:auto}
.identity-action-form .identity-check-btn{background:#eef2ff;border-color:#c7d2fe;color:#4338ca;box-shadow:none}
.identity-action-form .identity-check-btn:hover{background:#e0e7ff;color:#3730a3}
.identity-action-form .identity-check-btn[disabled]{opacity:.52;cursor:not-allowed;filter:grayscale(.2)}
.identity-required-note{grid-column:1/-1;color:#b45309;font-size:10.5px;line-height:1.8}
.identity-approval-card{scroll-margin-top:90px}
.identity-approval-item{grid-template-columns:minmax(250px,1fr) auto minmax(280px,auto)}
.identity-current-status{display:flex;align-items:center;justify-content:center}
.provider-identity-mini{display:flex;align-items:center;gap:7px;margin-top:7px}
.provider-identity-mini>span{font-size:10.5px;color:#64748b;font-weight:800}
.admin-identity-tab{display:flex;flex-direction:column;gap:14px}
.identity-overview-card{display:grid;grid-template-columns:220px 1fr;gap:14px;padding:14px;border:1px solid #dbeafe;background:linear-gradient(135deg,#f8fbff,#f5f3ff);border-radius:16px}
.identity-overview-card>div:first-child{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:8px;padding:10px;border-left:1px solid #dbeafe}
.identity-overview-card>div:first-child>span{font-size:12px;font-weight:900;color:#334155}
.identity-data-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.identity-data-grid>div{display:flex;flex-direction:column;gap:4px;padding:10px 11px;background:#fff;border:1px solid #e2e8f0;border-radius:12px;min-width:0}
.identity-data-grid span{font-size:10.5px;color:#64748b}
.identity-data-grid strong{font-size:12.5px;color:#0f172a;overflow-wrap:anywhere}
.identity-edit-form{display:grid;grid-template-columns:1fr 1fr auto;gap:10px;align-items:end;padding:13px;border:1px solid #e5e7eb;background:#fff;border-radius:15px}
.identity-edit-form label{display:flex;flex-direction:column;gap:5px;font-size:11.5px;font-weight:900;color:#475569}
.identity-edit-form input{height:41px;direction:ltr;text-align:left}
.identity-primary-action{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px;border:1px dashed #c7d2fe;background:#fafaff;border-radius:14px}
.identity-primary-action p{margin:0;max-width:620px;font-size:11px}
.identity-history{border-top:1px solid #e5e7eb;padding-top:13px}
.identity-history h3{margin:0 0 10px;font-size:14px}
.identity-log-wrap{border:1px solid #e5e7eb;border-radius:13px;background:#fff}
.identity-log-table{min-width:760px;margin:0}
.identity-log-table th,.identity-log-table td{padding:9px 8px;font-size:11px;vertical-align:middle}
.identity-log-table td:nth-child(4){max-width:360px;white-space:normal;line-height:1.8}
.admin-user-bank-actions{display:flex;flex-wrap:wrap;align-items:flex-start;gap:10px;margin-top:13px;padding-top:13px;border-top:1px solid #e5e7eb}
.bank-identity-user-status{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:11px 0;padding:10px 12px;border:1px solid #e0e7ff;background:#f8faff;border-radius:12px}
.bank-identity-user-status>span{font-size:11.5px;font-weight:900;color:#475569}
.edit-user-identity-link{display:flex!important;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;border:1px dashed #c7d2fe;border-radius:12px;background:#fafaff}
.edit-user-identity-link span{font-size:11px;color:#475569}
.ehraz-service-card{display:grid;grid-template-columns:minmax(280px,1fr) auto minmax(180px,auto) auto;gap:16px;align-items:center;margin-bottom:14px;border-color:#dbeafe;background:linear-gradient(135deg,#fff,#f8fbff)}
.ehraz-service-main{display:flex;align-items:center;gap:11px;min-width:0}
.ehraz-service-main h2{font-size:16px;margin:0 0 3px}
.ehraz-service-main p{margin:0;font-size:11px}
.ehraz-service-status,.ehraz-wallet-result{display:flex;flex-direction:column;gap:4px;padding:9px 12px;border-right:1px solid #e2e8f0}
.ehraz-service-status span,.ehraz-wallet-result span{font-size:10.5px;color:#64748b}
.ehraz-service-status strong,.ehraz-wallet-result strong{font-size:13px}
.ehraz-service-status small{font-size:9.5px;color:#64748b}
.success-text{color:#087f5b!important}.danger-text{color:#c92a2a!important}
.user-identity-summary{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:13px;padding:11px 12px;border:1px solid #e0e7ff;background:#fafaff;border-radius:13px}
.user-identity-summary>span{font-size:11.5px;font-weight:900;color:#475569}
.user-identity-summary>small{margin-right:auto;color:#64748b;font-size:10.5px}
.admin-bank-details .identity-status-badge{vertical-align:middle}
.approval-item-actions .identity-action-form+form{margin-right:0}
@media(max-width:1050px){
  .ehraz-service-card{grid-template-columns:1fr 1fr}
  .ehraz-service-main{grid-column:1/-1}
  .ehraz-service-status,.ehraz-wallet-result{border-right:0;border-top:1px solid #e2e8f0}
  .identity-approval-item{grid-template-columns:1fr auto}
  .identity-approval-item>.approval-item-actions{grid-column:1/-1}
}
@media(max-width:760px){
  .identity-overview-card{grid-template-columns:1fr}
  .identity-overview-card>div:first-child{border-left:0;border-bottom:1px solid #dbeafe;padding:4px 0 12px}
  .identity-edit-form{grid-template-columns:1fr}
  .identity-primary-action{align-items:stretch;flex-direction:column}
  .identity-primary-action .identity-action-form,.identity-primary-action .btn{width:100%}
  .identity-action-form{width:100%}
  .identity-action-form .btn{width:100%}
  .identity-approval-item{grid-template-columns:1fr}
  .identity-current-status{justify-content:flex-start}
  .ehraz-service-card{grid-template-columns:1fr}
  .ehraz-service-main{grid-column:auto}
  .ehraz-service-status,.ehraz-wallet-result{border-top:1px solid #e2e8f0;padding-right:0;padding-left:0}
  .ehraz-service-card form,.ehraz-service-card .btn{width:100%}
  .admin-user-bank-actions{flex-direction:column}
  .admin-user-bank-actions>form,.admin-user-bank-actions .btn{width:100%}
}
@media(max-width:480px){
  .identity-data-grid{grid-template-columns:1fr}
  .bank-identity-user-status,.user-identity-summary,.edit-user-identity-link{align-items:flex-start;flex-direction:column}
  .user-identity-summary>small{margin-right:0}
}

/* Ehraz Jalali birth-date picker and action readiness — 2026-07-30 */
.identity-birthdate-picker{cursor:pointer;background-image:linear-gradient(45deg,transparent 50%,#64748b 50%),linear-gradient(135deg,#64748b 50%,transparent 50%);background-position:18px calc(50% - 3px),13px calc(50% - 3px);background-size:5px 5px,5px 5px;background-repeat:no-repeat;padding-left:34px!important;direction:ltr;text-align:center;font-variant-numeric:tabular-nums}
.identity-birthdate-picker[readonly]{background-color:#fff;color:#0f172a;opacity:1}
.datepicker-plot-area{font-family:Vazirmatn,Tahoma,sans-serif!important;border-radius:18px!important;box-shadow:0 18px 55px rgba(15,23,42,.2)!important;border:1px solid #e2e8f0!important;padding:12px!important;z-index:999999!important}
.datepicker-plot-area .datepicker-day-view .table-days td span{border-radius:10px!important}
.datepicker-plot-area .datepicker-day-view .table-days td.selected span,.datepicker-plot-area .datepicker-day-view .table-days td span:hover{border-radius:10px!important}
.identity-action-form{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.identity-action-form .identity-required-note,.identity-action-form .identity-service-warning{flex-basis:100%;display:flex;align-items:center;gap:6px;line-height:1.8}
.identity-service-warning{color:#b45309;background:#fffbeb;border:1px solid #fde68a;border-radius:10px;padding:7px 10px}
.identity-check-btn:not(:disabled){opacity:1!important;filter:none!important}
.identity-check-btn:disabled{cursor:not-allowed}
@media(max-width:640px){.datepicker-plot-area{width:min(94vw,360px)!important;left:3vw!important}.identity-edit-form .identity-birthdate-picker{width:100%}}

/* Admin identity center: role-aware Ehraz settings and queues */
.identity-page-head{align-items:center}
.identity-service-chip{display:inline-flex;align-items:center;gap:8px;padding:9px 13px;border-radius:999px;border:1px solid #bbf7d0;background:#f0fdf4;color:#166534;font-size:12px;font-weight:900}
.identity-service-chip.warning{border-color:#fed7aa;background:#fff7ed;color:#9a3412}
.identity-tabs{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:14px;padding:7px;border:1px solid #e2e8f0;background:#fff;border-radius:16px}
.identity-tabs a{display:inline-flex;align-items:center;gap:7px;min-height:40px;padding:8px 13px;border-radius:11px;color:#475569;font-size:12px;font-weight:900;text-decoration:none}
.identity-tabs a:hover{background:#f8fafc;color:#0f172a}
.identity-tabs a.active{background:#eef2ff;color:#3730a3}
.identity-tabs b{display:inline-flex;min-width:22px;height:22px;align-items:center;justify-content:center;padding:0 6px;border-radius:999px;background:#fff;color:#4338ca;font-size:10px}
.identity-stats{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:14px}
.identity-admin-card{margin-bottom:14px}
.identity-queue-list{display:flex;flex-direction:column;gap:10px}
.identity-queue-item{display:grid;grid-template-columns:minmax(260px,1fr) auto minmax(300px,auto);gap:14px;align-items:center;padding:13px;border:1px solid #e2e8f0;border-radius:15px;background:#fff}
.identity-queue-person{display:flex;align-items:center;gap:11px;min-width:0}
.identity-queue-person>div{display:flex;flex-direction:column;gap:3px;min-width:0}
.identity-queue-person strong{font-size:13px;color:#0f172a}
.identity-queue-person span,.identity-queue-person small{font-size:10.5px;color:#64748b;overflow-wrap:anywhere}
.identity-settings-layout{display:flex;flex-direction:column;gap:14px}
.identity-settings-form{display:flex;flex-direction:column;gap:17px}
.identity-role-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.identity-role-card{display:flex;flex-direction:column;gap:12px;padding:15px;border:1px solid #e2e8f0;border-radius:16px;background:#fbfdff}
.identity-role-card-head{display:flex;align-items:center;gap:10px;padding-bottom:10px;border-bottom:1px solid #e2e8f0}
.identity-role-card-head>i{display:flex;width:42px;height:42px;align-items:center;justify-content:center;border-radius:13px;background:#eef2ff;color:#4338ca;font-size:19px}
.identity-role-card-head h3{margin:0 0 3px;font-size:14px}
.identity-role-card-head small{color:#64748b;font-size:10px}
.identity-role-card>label:not(.checkline){display:flex;flex-direction:column;gap:6px;color:#334155;font-size:11.5px;font-weight:900}
.identity-role-card select{height:43px;background:#fff}
.identity-role-note{margin:0;padding:9px 10px;border-radius:11px;background:#f1f5f9;color:#475569;font-size:10.5px;line-height:1.8}
.identity-advanced-settings{border:1px solid #e2e8f0;border-radius:14px;background:#fff}
.identity-advanced-settings summary{cursor:pointer;padding:13px 15px;font-size:12px;font-weight:900;color:#334155}
.identity-advanced-settings[open] summary{border-bottom:1px solid #e2e8f0}
.identity-advanced-settings>.form-grid{padding:14px}
.switchline{display:inline-flex;align-items:center;gap:8px;font-size:11.5px;font-weight:900;color:#334155}
.switchline input{width:18px;height:18px}
.identity-feature-disabled{display:inline-flex;padding:7px 10px;border-radius:10px;background:#f1f5f9;color:#64748b;font-size:10.5px;font-weight:800}
.identity-correction-box{border:1px solid #e2e8f0;border-radius:14px;background:#fff}
.identity-correction-box summary{display:flex;align-items:center;gap:8px;cursor:pointer;padding:12px 14px;color:#475569;font-size:11.5px;font-weight:900}
.identity-correction-box[open] summary{border-bottom:1px solid #e2e8f0}
.identity-correction-box .identity-edit-form{border:0;border-radius:0}
.identity-service-card{margin-bottom:0}
@media(max-width:1080px){
  .identity-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .identity-queue-item{grid-template-columns:1fr auto}
  .identity-queue-item>.approval-item-actions{grid-column:1/-1}
}
@media(max-width:760px){
  .identity-page-head{align-items:flex-start}
  .identity-tabs{display:grid;grid-template-columns:1fr 1fr}
  .identity-tabs a{justify-content:center}
  .identity-role-settings-grid{grid-template-columns:1fr}
  .identity-queue-item{grid-template-columns:1fr}
  .identity-queue-item>.approval-item-actions{grid-column:auto}
  .identity-stats{grid-template-columns:1fr 1fr}
}
@media(max-width:480px){
  .identity-tabs,.identity-stats{grid-template-columns:1fr}
  .identity-tabs a{justify-content:flex-start}
}
.approval-head-actions{display:flex;align-items:center;gap:9px}
@media(max-width:640px){.approval-head-actions{width:100%;justify-content:space-between}.approval-queue-head{flex-wrap:wrap}}


/* Identity birth-date picker: self-contained modal-safe selector — 2026-07-30 */
.identity-date-popover{position:fixed;z-index:2147483000;display:none;background:#fff;border:1px solid #dbe5f0;border-radius:20px;box-shadow:0 24px 80px rgba(15,23,42,.24);padding:14px;direction:rtl;font-family:Vazirmatn,Tahoma,sans-serif}
.identity-date-popover.is-open{display:block}
.identity-date-popover-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:2px 2px 12px;border-bottom:1px solid #edf2f7}
.identity-date-popover-head strong{display:block;color:#0f172a;font-size:15px;font-weight:900}
.identity-date-popover-head small{display:block;color:#64748b;font-size:11.5px;margin-top:2px}
.identity-date-popover-head button{width:36px;height:36px;border:0;border-radius:11px;background:#f8fafc;color:#64748b;display:grid;place-items:center;cursor:pointer}
.identity-date-popover-head button:hover{background:#eef6ff;color:#1e88e5}
.identity-date-selects{display:grid;grid-template-columns:1.25fr 1fr .8fr;gap:9px;padding:14px 0 10px}
.identity-date-selects label{display:grid;gap:6px;margin:0;color:#475569;font-size:11.5px;font-weight:800}
.identity-date-selects select{width:100%;height:44px;border:1px solid #dbe5f0;border-radius:12px;background:#fff;color:#0f172a;padding:0 9px;font-family:inherit;font-size:13px;font-weight:800;outline:none;text-align:center;text-align-last:center}
.identity-date-selects select:focus{border-color:#1e88e5;box-shadow:0 0 0 3px rgba(30,136,229,.1)}
.identity-date-preview{display:flex;align-items:center;justify-content:center;min-height:42px;margin:2px 0 12px;border-radius:12px;background:#f8fbff;border:1px solid #e6eef8;color:#1e3a5f;font-size:17px;font-weight:900;direction:ltr;font-variant-numeric:tabular-nums}
.identity-date-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;border-top:1px solid #edf2f7;padding-top:12px}
.identity-date-actions .btn{min-height:38px}
@media(max-width:480px){.identity-date-popover{left:12px!important;width:calc(100vw - 24px)!important}.identity-date-selects{grid-template-columns:1fr 1fr 1fr}.identity-date-actions .btn{flex:1;justify-content:center}}

/* Ehraz service 1011: clear enabled/disabled inquiry states */
.identity-action-form .identity-check-btn:not(:disabled){background:#1a73e8!important;border:1px solid #1a73e8!important;color:#fff!important;opacity:1!important;filter:none!important;box-shadow:0 8px 18px rgba(26,115,232,.24)!important}
.identity-action-form .identity-check-btn:not(:disabled):hover{background:#1765cc!important;border-color:#1765cc!important;color:#fff!important;box-shadow:0 10px 22px rgba(26,115,232,.30)!important}
.identity-action-form .identity-check-btn:disabled{background:#eef2ff!important;border:1px solid #dbe3ff!important;color:#9aa7c7!important;opacity:.62!important;box-shadow:none!important;cursor:not-allowed!important}

/* v57 - Admin table action menu portal positioning + persistent modal actions */
.user-row-menu.menu-floating{z-index:2100!important}
.user-row-menu.menu-floating .user-row-menu-list,
.user-row-menu[open] .user-row-menu-list{
  position:fixed!important;
  right:auto!important;
  z-index:2200!important;
  max-width:min(260px,calc(100vw - 20px));
  max-height:calc(100vh - 20px);
  overflow-y:auto;
  overscroll-behavior:contain;
  box-shadow:0 20px 55px rgba(15,23,42,.24)!important;
}
.users-clean-card,.clean-users-table,.clean-users-table tr,.clean-users-table td{transform:none!important}

#user-modal{padding:14px!important;overflow:hidden!important}
#user-modal .user-modal-card{
  display:flex!important;
  flex-direction:column!important;
  width:min(1040px,calc(100vw - 28px))!important;
  height:min(88vh,900px)!important;
  max-height:calc(100vh - 28px)!important;
  padding:0!important;
  overflow:hidden!important;
}
#user-modal .user-modal-scroll-content{
  flex:1 1 auto;
  min-height:0;
  overflow:auto;
  overscroll-behavior:contain;
  padding:24px 24px 18px;
  scrollbar-gutter:stable;
}
#user-modal .modal-close{
  position:absolute!important;
  top:14px!important;
  left:14px!important;
  z-index:40!important;
  width:38px!important;
  height:38px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  border:1px solid #e5e7eb!important;
  background:#fff!important;
  box-shadow:0 6px 18px rgba(15,23,42,.09)!important;
  font-size:16px!important;
}
#user-modal .user-modal-sticky-footer{
  flex:0 0 auto;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:10px;
  min-height:70px;
  padding:12px 24px;
  background:rgba(255,255,255,.98);
  border-top:1px solid #e5e7eb;
  box-shadow:0 -10px 30px rgba(15,23,42,.08);
  backdrop-filter:blur(10px);
  z-index:30;
}
#user-modal .user-modal-sticky-footer .btn{min-width:120px}
#user-modal .user-detail-head{padding-left:48px}

.modal-lite.open{overflow:hidden!important}
.modal-lite:not(#user-modal) .modal-card{
  max-height:calc(100vh - 32px)!important;
  overflow:auto!important;
  overscroll-behavior:contain;
}
.modal-lite:not(#user-modal) .modal-card>.modal-close{
  position:sticky!important;
  top:0!important;
  z-index:25!important;
  float:left;
  margin-left:0;
  margin-right:auto;
  box-shadow:0 4px 14px rgba(15,23,42,.08);
}
.modal-lite .modal-actions,.finance-modal .modal-actions{
  position:sticky;
  bottom:-1px;
  z-index:20;
  margin:14px -2px -2px;
  padding:12px 2px 2px;
  background:linear-gradient(180deg,rgba(255,255,255,0),#fff 24%);
}
body.modal-open{overflow:hidden!important}

@media(max-width:700px){
  #user-modal{padding:8px!important;align-items:flex-end!important}
  #user-modal .user-modal-card{
    width:100%!important;
    height:calc(100vh - 16px)!important;
    max-height:calc(100vh - 16px)!important;
    border-radius:22px!important;
  }
  #user-modal .user-modal-scroll-content{padding:20px 14px 14px}
  #user-modal .modal-close{top:10px!important;left:10px!important}
  #user-modal .user-modal-sticky-footer{padding:10px 14px;min-height:64px}
  #user-modal .user-modal-sticky-footer .btn{flex:1;min-width:0}
  #user-modal .user-detail-head{padding-left:44px}
}


/* v58 - Solid readable badges + standard no-refresh detail modal */
.badge.primary,
.badge.success,
.badge.success-light,
.badge.warning,
.badge.danger,
.badge.gray,
.badge.indigo,
.badge.customer_disputed,
.identity-status-badge{
  color:#fff!important;
  text-shadow:0 1px 1px rgba(15,23,42,.16);
}
.badge.primary{background:#1565c0!important}
.badge.success,.identity-status-badge.success{background:#2e7d32!important}
.badge.success-light{background:#388e3c!important}
.badge.warning,.identity-status-badge.warning{background:#c76600!important}
.badge.danger,.badge.customer_disputed,.identity-status-badge.danger{background:#c62828!important}
.badge.gray,.identity-status-badge.gray{background:#616a76!important}
.badge.indigo{background:#3949ab!important}

#user-modal .modal-close{
  top:18px!important;
  left:18px!important;
  width:36px!important;
  height:36px!important;
  border:0!important;
  border-radius:12px!important;
  background:#f1f5f9!important;
  color:#475569!important;
  box-shadow:none!important;
  font-size:15px!important;
  transition:background .16s ease,color .16s ease,transform .16s ease!important;
}
#user-modal .modal-close:hover,
#user-modal .modal-close:focus-visible{
  background:#e8f1ff!important;
  color:#1565c0!important;
  transform:translateY(-1px);
  outline:0;
}
#user-modal .user-modal-scroll-content{padding-top:28px}
#user-modal .user-modal-mode-details_user .user-modal-scroll-content{padding-bottom:26px}
#user-modal.user-modal-is-loading .user-modal-card:after{
  content:"در حال دریافت اطلاعات…";
  position:absolute;
  inset:0;
  z-index:80;
  display:grid;
  place-items:center;
  background:rgba(255,255,255,.82);
  color:#1e3a5f;
  font-weight:900;
  backdrop-filter:blur(2px);
}
#user-modal .user-modal-sticky-footer{
  justify-content:flex-end;
  box-shadow:0 -6px 22px rgba(15,23,42,.06);
}
#user-modal .user-modal-sticky-footer .user-modal-footer-close{
  background:#f1f5f9!important;
  color:#475569!important;
}
#user-modal .user-modal-sticky-footer .user-modal-footer-close:hover{
  background:#e2e8f0!important;
  color:#0f172a!important;
}
@media(max-width:700px){
  #user-modal .modal-close{top:12px!important;left:12px!important}
}


/* v59 - Compact Material-inspired user details modal */
#user-modal .user-modal-card.user-modal-mode-details_user{
  width:min(920px,calc(100vw - 32px))!important;
  height:min(84vh,760px)!important;
  max-height:calc(100vh - 32px)!important;
  border-radius:24px!important;
  box-shadow:0 24px 70px rgba(15,23,42,.22)!important;
}
#user-modal .user-modal-mode-details_user .user-modal-scroll-content{
  padding:16px 18px 18px!important;
  scrollbar-gutter:auto!important;
}
#user-modal .user-modal-mode-details_user .modal-close{
  top:14px!important;
  left:14px!important;
  width:34px!important;
  height:34px!important;
  border-radius:50%!important;
  background:#f5f7fa!important;
}
#user-modal .user-modal-mode-details_user .user-detail-head{
  min-height:62px;
  display:flex;
  align-items:center;
  gap:12px;
  margin:0 0 10px;
  padding:2px 48px 12px 2px!important;
  border-bottom:1px solid #edf0f4;
}
#user-modal .user-detail-avatar-wrap{
  flex:0 0 auto;
  width:52px;
  height:52px;
}
#user-modal .user-detail-avatar-wrap .profile-avatar{
  width:52px!important;
  height:52px!important;
  min-width:52px!important;
  border-width:2px!important;
  box-shadow:none!important;
}
#user-modal .user-detail-heading{min-width:0;display:flex;flex-direction:column;gap:4px}
#user-modal .user-detail-heading h2{
  margin:0!important;
  font-size:18px!important;
  line-height:1.45!important;
  color:#202124;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
#user-modal .user-detail-meta{display:flex;align-items:center;gap:12px;flex-wrap:wrap;color:#6b7280;font-size:11.5px;font-weight:700}
#user-modal .user-detail-meta span{display:inline-flex;align-items:center;gap:5px}
#user-modal .user-detail-meta i{font-size:12px;color:#8a94a3}

#user-modal .admin-user-detail-tabs{
  position:sticky;
  top:-16px;
  z-index:16;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:4px;
  margin:0 0 12px!important;
  padding:8px 0!important;
  border-bottom:1px solid #edf0f4!important;
  background:rgba(255,255,255,.97);
  backdrop-filter:blur(12px);
  overflow:visible!important;
}
#user-modal .admin-user-detail-tabs a{
  min-width:0;
  min-height:36px!important;
  padding:0 8px!important;
  border-radius:10px!important;
  color:#5f6368!important;
  font-size:11.5px!important;
  font-weight:800!important;
  gap:5px!important;
  transition:background .15s ease,color .15s ease,box-shadow .15s ease;
}
#user-modal .admin-user-detail-tabs a i{font-size:13px}
#user-modal .admin-user-detail-tabs a:hover{background:#f5f7fa!important;color:#1a73e8!important}
#user-modal .admin-user-detail-tabs a.active{
  background:#e8f0fe!important;
  color:#1967d2!important;
  box-shadow:inset 0 0 0 1px rgba(25,103,210,.08);
}
#user-modal .admin-user-detail-tab-content{min-height:0!important}

/* Summary: one compact surface rather than many large cards */
#user-modal .user-detail-summary-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:0!important;
  overflow:hidden;
  border:1px solid #e6e9ef;
  border-radius:16px;
  background:#fff;
}
#user-modal .user-detail-summary-grid>div{
  min-height:58px;
  padding:9px 12px!important;
  border:0!important;
  border-left:1px solid #edf0f4!important;
  border-bottom:1px solid #edf0f4!important;
  border-radius:0!important;
  background:#fff!important;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:2px;
}
#user-modal .user-detail-summary-grid>div:nth-child(3n){border-left:0!important}
#user-modal .user-detail-summary-grid>div:nth-last-child(-n+3){border-bottom:0!important}
#user-modal .user-detail-summary-grid span{margin:0!important;font-size:10.5px!important;color:#7a8492!important;font-weight:700!important}
#user-modal .user-detail-summary-grid strong{font-size:12.5px!important;line-height:1.55!important;color:#202124!important}
#user-modal .user-detail-summary-grid .full{
  grid-column:1/-1!important;
  border-left:0!important;
  min-height:auto;
}
#user-modal .provider-license-detail strong{margin-top:3px;gap:6px}
#user-modal .provider-license-detail .btn{min-height:32px;height:32px;padding:0 11px;font-size:11px;border-radius:9px}
#user-modal .provider-approval-box{
  padding:10px 12px!important;
  background:#fafbfc!important;
  border:0!important;
  border-radius:0!important;
}
#user-modal .provider-approve-actions{gap:7px!important;margin-top:5px!important}
#user-modal .provider-approve-actions .btn{min-height:34px;height:34px;padding:0 12px;font-size:11px;border-radius:9px}

/* Identity: reduce nested cards and show data in a compact information matrix */
#user-modal .admin-identity-tab{display:flex;flex-direction:column;gap:10px}
#user-modal .identity-overview-card{
  grid-template-columns:170px 1fr!important;
  gap:0!important;
  padding:0!important;
  border:1px solid #e6e9ef!important;
  border-radius:16px!important;
  background:#fff!important;
  overflow:hidden;
}
#user-modal .identity-overview-card>div:first-child{
  padding:12px!important;
  border-left:1px solid #edf0f4!important;
  background:#fafbfc;
  gap:7px!important;
}
#user-modal .identity-overview-card>div:first-child>span{font-size:11px!important}
#user-modal .identity-data-grid{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:0!important;
}
#user-modal .identity-data-grid>div{
  min-height:54px;
  padding:8px 10px!important;
  border:0!important;
  border-left:1px solid #edf0f4!important;
  border-bottom:1px solid #edf0f4!important;
  border-radius:0!important;
  background:#fff!important;
  justify-content:center;
}
#user-modal .identity-data-grid>div:nth-child(3n){border-left:0!important}
#user-modal .identity-data-grid>div:nth-last-child(-n+3){border-bottom:0!important}
#user-modal .identity-data-grid span{font-size:10px!important}
#user-modal .identity-data-grid strong{font-size:11.5px!important}
#user-modal .identity-primary-action{
  min-height:50px;
  padding:8px 10px!important;
  border:1px solid #dbe5f3!important;
  border-radius:14px!important;
  background:#fbfdff!important;
}
#user-modal .identity-primary-action p{font-size:10.5px!important;line-height:1.7!important}
#user-modal .identity-primary-action .btn{min-height:34px;height:34px;padding:0 12px;font-size:11px;border-radius:9px}
#user-modal .identity-correction-box{border-color:#e6e9ef!important;border-radius:14px!important}
#user-modal .identity-correction-box summary{min-height:40px;padding:8px 12px!important;font-size:11px!important}
#user-modal .identity-correction-box .identity-edit-form{padding:10px!important;gap:8px!important}
#user-modal .identity-history{padding-top:10px!important}
#user-modal .identity-history h3{margin-bottom:7px!important;font-size:12.5px!important}
#user-modal .identity-history .table-wrap,
#user-modal .identity-history .responsive-table{max-height:230px;overflow:auto;border-radius:12px}
#user-modal .identity-history table th,
#user-modal .identity-history table td{padding:7px 8px!important;font-size:10.5px!important}

/* Wallet: compact stats and contain long transaction history */
#user-modal .admin-user-wallet-tab{gap:10px!important}
#user-modal .admin-wallet-detail-stats{
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:0!important;
  margin:0!important;
  border:1px solid #e6e9ef;
  border-radius:16px;
  overflow:hidden;
}
#user-modal .admin-wallet-detail-stats>div{
  min-height:58px;
  padding:8px 10px!important;
  border:0!important;
  border-left:1px solid #edf0f4!important;
  border-radius:0!important;
  background:#fff!important;
  justify-content:center;
}
#user-modal .admin-wallet-detail-stats>div:last-child{border-left:0!important}
#user-modal .admin-wallet-detail-stats span{font-size:10px!important}
#user-modal .admin-wallet-detail-stats strong{font-size:12.5px!important}
#user-modal .admin-wallet-tab-head{margin:0!important;min-height:38px}
#user-modal .admin-wallet-tab-head h3{font-size:13px!important;margin:0!important}
#user-modal .admin-wallet-tab-head p{display:none}
#user-modal .admin-wallet-tab-head .btn{min-height:32px;height:32px;padding:0 10px;font-size:10.5px;border-radius:9px}
#user-modal .admin-wallet-transactions-wrap{max-height:330px;overflow:auto;border-radius:14px!important}
#user-modal .admin-wallet-transactions td,
#user-modal .admin-wallet-transactions th{padding:7px 7px!important;font-size:10.5px!important}

/* Bank: a clean sheet with compact fields */
#user-modal .admin-user-bank-section{
  margin:0!important;
  padding:0!important;
  border:1px solid #e6e9ef!important;
  border-radius:16px!important;
  background:#fff!important;
  overflow:hidden;
}
#user-modal .admin-user-bank-head{
  min-height:54px;
  padding:9px 12px!important;
  margin:0!important;
  border-bottom:1px solid #edf0f4;
  background:#fafbfc;
}
#user-modal .admin-user-bank-head span{font-size:12px!important}
#user-modal .admin-user-bank-head small{font-size:10px!important}
#user-modal .admin-bank-details{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:0!important;
  padding:0!important;
}
#user-modal .admin-bank-details>div{
  min-height:54px!important;
  padding:8px 10px!important;
  border:0!important;
  border-left:1px solid #edf0f4!important;
  border-bottom:1px solid #edf0f4!important;
  border-radius:0!important;
  background:#fff!important;
  justify-content:center;
}
#user-modal .admin-bank-details>div:nth-child(3n){border-left:0!important}
#user-modal .admin-bank-details span{font-size:10px!important}
#user-modal .admin-bank-details strong{font-size:11.5px!important}
#user-modal .admin-user-bank-actions{
  margin:0!important;
  padding:10px 12px!important;
  border-top:1px solid #edf0f4;
  background:#fafbfc;
  gap:7px!important;
}
#user-modal .admin-user-bank-actions .btn{min-height:34px;height:34px;padding:0 12px;font-size:11px;border-radius:9px}

@media(max-width:900px){
  #user-modal .user-modal-card.user-modal-mode-details_user{width:calc(100vw - 20px)!important;height:calc(100vh - 20px)!important;max-height:calc(100vh - 20px)!important}
  #user-modal .user-detail-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  #user-modal .user-detail-summary-grid>div:nth-child(3n){border-left:1px solid #edf0f4!important}
  #user-modal .user-detail-summary-grid>div:nth-child(2n){border-left:0!important}
  #user-modal .identity-overview-card{grid-template-columns:150px 1fr!important}
  #user-modal .identity-data-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  #user-modal .identity-data-grid>div:nth-child(3n){border-left:1px solid #edf0f4!important}
  #user-modal .identity-data-grid>div:nth-child(2n){border-left:0!important}
  #user-modal .admin-wallet-detail-stats{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  #user-modal .admin-wallet-detail-stats>div{border-bottom:1px solid #edf0f4!important}
  #user-modal .admin-bank-details{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  #user-modal .admin-bank-details>div:nth-child(3n){border-left:1px solid #edf0f4!important}
  #user-modal .admin-bank-details>div:nth-child(2n){border-left:0!important}
}
@media(max-width:620px){
  #user-modal .user-modal-mode-details_user .user-modal-scroll-content{padding:12px 12px 16px!important}
  #user-modal .user-modal-mode-details_user .user-detail-head{min-height:56px;padding:0 42px 10px 0!important;gap:9px}
  #user-modal .user-detail-avatar-wrap,#user-modal .user-detail-avatar-wrap .profile-avatar{width:44px!important;height:44px!important;min-width:44px!important}
  #user-modal .user-detail-heading h2{font-size:16px!important}
  #user-modal .admin-user-detail-tabs{top:-12px;grid-template-columns:repeat(4,max-content);overflow-x:auto!important;justify-content:start;padding:7px 0!important}
  #user-modal .admin-user-detail-tabs a{min-width:112px}
  #user-modal .user-detail-summary-grid{grid-template-columns:1fr!important}
  #user-modal .user-detail-summary-grid>div{border-left:0!important;border-bottom:1px solid #edf0f4!important}
  #user-modal .identity-overview-card{grid-template-columns:1fr!important}
  #user-modal .identity-overview-card>div:first-child{border-left:0!important;border-bottom:1px solid #edf0f4!important;align-items:stretch!important}
  #user-modal .identity-data-grid{grid-template-columns:1fr!important}
  #user-modal .identity-data-grid>div{border-left:0!important}
  #user-modal .identity-primary-action{align-items:stretch!important;flex-direction:column!important}
  #user-modal .admin-wallet-detail-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  #user-modal .admin-wallet-detail-stats>div{border-left:1px solid #edf0f4!important}
  #user-modal .admin-wallet-detail-stats>div:nth-child(2n){border-left:0!important}
  #user-modal .admin-wallet-tab-head{align-items:stretch!important;flex-direction:column!important}
  #user-modal .admin-bank-details{grid-template-columns:1fr!important}
  #user-modal .admin-bank-details>div{border-left:0!important}
}
