/* Shared controls and responsive Persian workspace. */
.w-header-action { gap:14px; flex-wrap:wrap; }
.w-auth-toolbar { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:10px; }
.w-auth-toolbar .w-eyebrow { margin:0; font-size:13px; }
.w-auth-toolbar .w-auth-back { gap:8px; min-height:44px; padding:8px 12px; font-size:13px; white-space:nowrap; }
@media(max-width:1100px) { .w-public .w-main-nav { display:none; } }
@media(max-width:760px) {
 .w-public .w-header { flex-wrap:wrap; padding-block:16px; }
 .w-header-action { width:100%; display:flex; justify-content:flex-end; gap:10px; }
}
.w-account-form > .field { margin-block-end:20px; }
.w-account-form .w-field>label { color:var(--text); font-size:14px; }
.w-account-form .w-field-help { color:var(--muted); font-size:12px; }
.w-account-form .has-error input { border-color:var(--danger); }
.dashboard-page .page-heading .button,.dashboard-page .filter-bar .button,
.dashboard-page .page-heading .button-group .button { font-size:14px; min-height:44px; padding:10px 16px; }
.dashboard-page .page-heading .button-group { max-width:none; gap:8px; flex-wrap:wrap; }
.dashboard-page .page-heading .button-group .button { width:auto; }
@media(max-width:600px) {
 .w-account-form input:not([type=checkbox]):not([type=radio]),.w-account-form select,.w-account-form textarea { font-size:16px; }
 .dashboard-page .page-heading .button-group { width:100%; }
 .dashboard-page .page-heading .button-group .button { flex:1 1 140px; }
}
.w-password-field { position:relative; }
.w-password-field input { padding-left:52px; }
.w-password-toggle { position:absolute; left:4px; top:50%; transform:translateY(-50%); display:flex; align-items:center; justify-content:center; width:44px; height:44px; padding:10px; border-radius:8px; background:transparent; color:var(--muted); }
.w-password-toggle:hover { color:var(--green); background:var(--light-green); }
.w-password-toggle:focus-visible { outline-offset:-3px; }
.w-eye { width:22px; height:22px; pointer-events:none; }
.w-eye-slash { display:none; }
.w-password-toggle[aria-pressed="true"] .w-eye-slash { display:block; }
.w-button, .w-wizard-actions .w-button, .w-workspace-heading .w-button {
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  min-height:46px; padding:11px 18px; border-width:1px; border-style:solid; border-radius:12px;
  font:inherit; font-size:13px; font-weight:600; line-height:1.7; cursor:pointer;
  text-decoration:none; transition:background-color .2s ease,box-shadow .2s ease,transform .2s ease;
}
.w-button-primary,.button-primary { background:var(--green); color:#fff; border-color:var(--green); box-shadow:0 4px 12px #4f46e520; }
.w-button-primary:hover,.button-primary:hover { background:var(--green-dark); border-color:var(--green-dark); }
.w-button-outline,.w-button-quiet,.button-secondary,.button-quiet { color:var(--green); background:#fff; border-color:#cdd5e3; box-shadow:0 2px 4px #4f46e509; }
.w-button-danger { color:#943a3e; background:#fff5f4; border-color:#e5bfc1; }
.w-button:hover { transform:translateY(-1px); box-shadow:0 5px 14px #4f46e516; }
.w-button-outline:hover,.w-button-quiet:hover,.button-secondary:hover,.button-quiet:hover { background:var(--light-green); border-color:#bbb6f5; }
.w-button-danger:hover { background:#fce8e6; }
.w-button:active { transform:translateY(0); }
.w-button-small { font-size:12px; min-height:44px; padding:8px 14px; }
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible { outline:3px solid #a5a0ff; outline-offset:4px; }
.w-workspace { background:radial-gradient(ellipse at 90% 0,#e0eee8 0,transparent 45%),#f5f7f5; }
.w-workspace-shell { grid-template-columns:260px minmax(0,1fr); }
.w-workspace-sidebar { background:rgba(250,253,251,.85); backdrop-filter:blur(18px); -webkit-backdrop-filter:blur(18px); border-inline-end:1px solid #d8e4de; padding:30px 20px 22px; z-index:10; }
.w-workspace-nav { gap:8px; }
.w-workspace-nav a { position:relative; min-height:48px; border:1px solid transparent; font-size:14px; border-radius:13px; transition:background-color .25s ease,box-shadow .25s ease,color .25s ease,transform .25s ease; }
.w-workspace-nav a:hover { background:#ffffffb8; transform:translateX(-3px); }
.w-workspace-nav a.active { background:rgba(224,240,232,.94); color:#164735; border-color:#c6dfd1; box-shadow:0 4px 16px #2758410c; }
.w-workspace-nav a.active::before { content:''; position:absolute; inset-inline-start:0; top:14px; bottom:14px; width:3px; background:#275841; border-radius:4px; }
.w-sidebar-new { margin-top:22px; }
.w-sidebar-tip { margin-top:24px; }
.w-workspace-topbar { background:rgba(255,255,255,.55); }
.w-workspace-main { animation:workspace-enter .3s ease; }
@keyframes workspace-enter { from { opacity:.5; transform:translateY(7px); } to { opacity:1; transform:translateY(0); } }
.w-dashboard-stats>a { padding:22px; display:flex; flex-direction:column; border:1px solid #dde7df; border-radius:16px; background:rgba(255,255,255,.8); transition:box-shadow .2s ease,background-color .2s ease; }
.w-dashboard-stats>a:hover { background:#fff; box-shadow:0 6px 20px #2758410c; }
.w-dashboard-grid { display:grid; grid-template-columns:1.1fr 1fr; gap:24px; }
.w-dashboard-grid .w-draft-grid { grid-template-columns:1fr; }
.w-dashboard-update { display:grid; gap:8px; padding:16px 0; border-bottom:1px solid #e5eae6; }
.w-dashboard-update>a { font-size:14px; color:#275841; font-weight:600; }
.w-dashboard-update strong { font-size:12px; }
.w-dashboard-update p,.w-dashboard-update time { font-size:12px; color:#66756b; line-height:1.9; }
.w-card-actions { display:flex; flex-wrap:wrap; gap:10px; align-items:center; margin-top:18px; }
.w-project-row { align-items:center; }
.w-project-row .w-card-actions { margin-top:0; margin-inline-start:auto; }
.w-wizard-actions { position:sticky; bottom:0; display:flex; flex-wrap:wrap; gap:12px; background:#fff; border-top:1px solid var(--line); }
.w-step-unavailable { display:flex; gap:12px; align-items:center; padding:12px; color:#87968d; font-size:12px; }
.w-step-unavailable>span { display:grid; place-items:center; width:28px; height:28px; border:1px solid #d2ddd5; border-radius:50%; flex-shrink:0; }
.w-step-unavailable.current { color:#275841; font-weight:600; }
.w-step-unavailable.current>span { color:#fff; background:#275841; border-color:#275841; }
.w-confirm-card { max-width:680px; margin:24px auto; }
.w-confirm-card h1 { font-size:25px; line-height:1.8; margin-bottom:12px; }
.w-confirm-card h2 { font-size:17px; margin-bottom:16px; }
.w-confirm-card p { line-height:2; margin-block:12px; }
.w-confirm-check { display:flex; align-items:flex-start; gap:12px; margin-block:24px; line-height:1.9; }
.w-confirm-check input { width:20px; height:20px; margin-top:5px; accent-color:#275841; }
.pagination a,.w-text-link { display:inline-flex; align-items:center; gap:10px; min-height:44px; padding:9px 15px; border:1px solid #c6d6c9; border-radius:10px; background:#ffffffb8; }
@media(max-width:1100px) {
 .w-workspace-shell { display:block; }
 .w-workspace-sidebar { height:auto; position:sticky; top:0; display:grid; grid-template-columns:minmax(0,1fr) auto; gap:14px; padding:16px 24px; border-bottom:1px solid #d8e4de; }
 .w-workspace-sidebar>.w-brand { grid-column:1; }
 .w-workspace-nav { display:flex; grid-row:2; grid-column:1/-1; flex-direction:row; flex-wrap:nowrap; min-width:0; overflow-x:auto; padding:4px; margin:0; gap:8px; scrollbar-width:thin; }
 .w-workspace-nav a { flex-shrink:0; padding:10px 14px; font-size:13px; }
 .w-workspace-nav a:hover { transform:none; }
 .w-workspace-user { grid-column:2; grid-row:1; position:static; margin:0; padding:0; }
 .w-sidebar-tip,.w-sidebar-caption,.w-sidebar-new { display:none; }
 .w-workspace-main { padding:28px 24px; }
 .w-workspace-topbar { height:64px; padding-inline:24px; }
 .w-dashboard-grid { grid-template-columns:1fr; gap:0; }
}
@media(max-width:600px) {
 .w-workspace-sidebar { padding:12px 16px; gap:10px; }
 .w-workspace-main { padding:24px 16px; }
 .w-workspace-topbar { padding-inline:16px; }
 .w-workspace-nav a { font-size:12px; min-height:46px; padding:9px 12px; }
 .w-workspace-heading { flex-wrap:wrap; }
 .w-workspace-heading .w-button { font-size:12px; min-height:46px; }
 .w-dashboard-stats { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .w-dashboard-stats>a { padding:16px; }
 .w-panel-heading { flex-wrap:wrap; gap:12px; }
 .w-card-actions .w-button { flex:1; white-space:normal; font-size:12px; }
 .w-wizard-actions .w-button { flex:1 1 130px; font-size:13px; padding:11px 14px; min-height:48px; }
 .w-wizard-actions .w-next { flex-basis:130px; margin:0; }
 .w-save-state { flex-wrap:wrap; gap:12px; }
 .w-confirm-card h1 { font-size:22px; }
}
@media(prefers-reduced-motion:reduce) {
 html { scroll-behavior:auto; }
 .w-workspace-main { animation:none; }
 .w-button,.w-workspace-nav a,.w-dashboard-stats>a { transition:none; }
 .w-button:hover,.w-workspace-nav a:hover { transform:none; }
}

.w-wizard-section .field-label { font-size:14px; }
.w-wizard-section .field-help,.w-step-legend { font-size:12px; line-height:1.9; }
.w-wizard-section .field input:not([type=checkbox]):not([type=radio]),.w-wizard-section .field select,.w-wizard-section .field textarea { font-size:15px; min-height:46px; }
@media(max-width:600px) { .w-wizard-section .field input:not([type=checkbox]):not([type=radio]),.w-wizard-section .field select,.w-wizard-section .field textarea { font-size:16px; } }

/* White page surfaces and readable account identity across screen sizes. */
@media(min-width:1101px) and (max-height:820px) {
 .w-workspace-sidebar .w-sidebar-tip { display:none; }
}
:root, body, .w-public, .w-account-page, .w-workspace, .dashboard-page,
.w-workspace-shell, .w-workspace-content, .dashboard-shell, .dashboard-content,
.w-workspace-sidebar, .dashboard-sidebar, .w-workspace-topbar, .dashboard-topbar,
.w-auth-layout, .w-auth-side, .w-auth-story, .w-care-section, .w-start-banner {
  background:#fff;
}
.w-auth-story { color:var(--text); border-inline-end:1px solid var(--line); }
.w-auth-story h1, .w-auth-story .w-brand-name { color:var(--ink); }
.w-auth-story h1 span { color:var(--green); }
.w-auth-story .w-brand-name small, .w-auth-story-copy>p:not(.w-eyebrow),
.w-auth-story-copy .w-eyebrow, .w-auth-story>small { color:var(--muted); }
.w-auth-story .w-auth-route span { color:var(--muted); }
.w-auth-story .w-auth-route span b { color:var(--muted); }
.w-auth-story .w-auth-route span.is-active { color:var(--green); }
.w-auth-story .w-auth-route i { background:var(--line); }
.w-start-banner { border:1px solid var(--line); }
.w-start-banner h2 { color:var(--ink); }
.w-start-banner .w-eyebrow, .w-start-banner p:not(.w-eyebrow) { color:var(--muted); }
.w-start-banner .w-button-cream { border:1px solid var(--line); color:var(--green); }
.w-workspace-user, .sidebar-bottom {
  display:grid; grid-template-columns:32px minmax(0,1fr) 36px; align-items:center;
  gap:8px; background:#fff; border:0; border-top:1px solid var(--line); border-radius:0;
  padding:12px 0 0; margin-top:auto; max-width:none; width:100%; box-shadow:none;
}
.w-workspace-user strong, .sidebar-bottom strong {
  display:block; font-size:13px; font-weight:600; line-height:1.7;
  color:var(--ink); white-space:nowrap;
  max-width:none; overflow:hidden; text-overflow:ellipsis;
}
.w-workspace-user small, .sidebar-bottom>div>span {
  display:block; font-size:11px; line-height:1.7; color:var(--muted);
}
.w-workspace-user .w-user-avatar, .sidebar-bottom .user-avatar {
  display:grid; place-items:center; width:32px; height:32px;
  border-radius:50%; background:#f3f2fc; color:var(--green); font-size:14px;
}
.w-workspace-user .w-logout, .sidebar-bottom .logout-button {
  display:grid; place-items:center; width:36px; min-height:44px; padding:0;
  border:0; border-radius:8px; color:var(--muted); background:transparent; font-size:18px;
}
.w-workspace-user .w-logout:hover, .sidebar-bottom .logout-button:hover { background:var(--cream); color:var(--ink); }
@media(max-width:1100px) {
 .w-workspace-user, .dashboard-sidebar .sidebar-bottom {
   grid-column:2; grid-row:1; position:static; margin:0; padding:0;
   border:0; width:180px; max-width:180px; grid-template-columns:28px minmax(0,1fr) 36px; gap:7px;
 }
 .w-workspace-user .w-user-avatar, .sidebar-bottom .user-avatar { width:28px; height:28px; font-size:13px; }
 .w-workspace-user strong, .sidebar-bottom strong { font-size:12px; }
 .dashboard-sidebar { display:grid; grid-template-columns:minmax(0,1fr) auto; }
 .dashboard-sidebar>.brand { grid-column:1; grid-row:1; margin:0; }
 .dashboard-sidebar>.sidebar-section-label { display:none; }
 .dashboard-sidebar>.dashboard-nav { grid-column:1/-1; grid-row:2; }
}
@media(max-width:600px) {
 .w-workspace-user small, .sidebar-bottom>div>span { display:none; }
 .w-workspace-user, .dashboard-sidebar .sidebar-bottom { width:168px; max-width:168px; }
}
/* A single, quiet workspace with navigation across the top. */
.w-customer-page { min-height:100vh; }
.w-customer-header { background:#fff; border-bottom:1px solid var(--line); }
.w-customer-header-inner { max-width:1100px; margin:auto; padding:20px 28px 12px; display:flex; align-items:center; justify-content:space-between; gap:20px; }
.w-customer-header .w-brand { padding:0; }
.w-customer-header .w-logo { width:34px; height:34px; border-radius:10px; }
.w-customer-header .w-brand-name { font-size:22px; }
.w-customer-header .w-workspace-user { position:static; margin:0; padding:0; border:0; width:auto; max-width:240px; grid-template-columns:28px minmax(0,1fr) 36px; gap:8px; }
.w-customer-header .w-user-avatar { display:grid; width:28px; height:28px; font-size:13px; }
.w-customer-header .w-workspace-user strong { max-width:160px; font-size:12px; }
.w-customer-header .w-workspace-user small { display:none; }
.w-customer-tabs { display:flex; gap:6px; max-width:1100px; margin:auto; padding:0 28px; overflow-x:auto; scrollbar-width:thin; }
.w-customer-tabs a { display:flex; align-items:center; justify-content:center; min-height:48px; padding:10px 18px; flex-shrink:0; border-bottom:2px solid transparent; font-size:13px; color:var(--muted); white-space:nowrap; transition:background-color .2s,color .2s; }
.w-customer-tabs a:hover { color:var(--green); background:var(--light-green); }
.w-customer-tabs a.active { color:var(--green); border-bottom-color:var(--green); font-weight:600; }
.w-customer-page .w-workspace-main { max-width:1100px; padding:32px 28px 48px; width:100%; }
.w-customer-page .w-workspace-heading h1 { font-size:23px; }
.w-customer-page .w-workspace-heading p { font-size:13px; }
.w-customer-page .w-workspace-heading .w-button { margin:0; min-height:44px; font-size:13px; }
.w-simple-heading { margin-bottom:28px; }
.w-simple-requests { border:1px solid var(--line); border-radius:12px; overflow:hidden; }
.w-simple-section-title { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:18px 20px; background:#fff; border-bottom:1px solid var(--line); }
.w-simple-section-title h2 { font-size:15px; font-weight:600; }
.w-simple-section-title>span { color:var(--muted); font-size:12px; }
.w-simple-request { display:flex; align-items:center; gap:16px; padding:18px 20px; border-bottom:1px solid var(--line); transition:background-color .2s; }
.w-simple-request:last-child { border-bottom:0; }
.w-simple-request:hover { background:var(--light-green); }
.w-simple-request>div { flex:1; min-width:0; display:grid; gap:5px; }
.w-simple-request strong { font-size:14px; font-weight:600; color:var(--ink); overflow-wrap:anywhere; }
.w-simple-request small { color:var(--muted); font-size:12px; }
.w-simple-request-action { color:var(--green); font-size:13px; white-space:nowrap; }
.w-simple-request-arrow { color:var(--green); }
.w-simple-empty { text-align:center; padding:60px 24px; border:1px dashed var(--line); border-radius:12px; }
.w-start-request { display:grid; place-items:center; width:44px; height:44px; margin:0 auto 16px; border:1px solid transparent; border-radius:12px; background:var(--light-green); color:var(--green); font-size:24px; transition:background-color .2s,color .2s; }
.w-start-request:hover { background:var(--green); color:#fff; }
.w-simple-empty h2 { font-size:18px; font-weight:600; }
.w-simple-empty p { font-size:13px; color:var(--muted); line-height:2; margin:10px auto 0; max-width:440px; }
.w-button-primary:hover,.button-primary:hover { color:#fff; background:var(--green-dark); border-color:var(--green-dark); }
.w-button-outline:hover,.w-button-quiet:hover,.button-secondary:hover,.button-quiet:hover { color:var(--green); background:var(--light-green); border-color:var(--green); }
.w-workspace-user .w-logout:hover,.sidebar-bottom .logout-button:hover { color:var(--green); background:var(--light-green); }
@media(max-width:600px) {
 .w-customer-header-inner { padding:14px 16px 8px; gap:12px; }
 .w-customer-header .w-workspace-user { max-width:174px; }
 .w-customer-header .w-workspace-user strong { max-width:110px; }
 .w-customer-tabs { padding:0 16px; gap:0; }
 .w-customer-tabs a { min-height:46px; padding:9px 12px; font-size:12px; }
 .w-customer-page .w-workspace-main { padding:24px 16px 32px; }
 .w-customer-page .w-workspace-heading { gap:18px; }
 .w-customer-page .w-workspace-heading h1 { font-size:21px; }
 .w-simple-heading>.w-button { width:100%; }
 .w-simple-section-title { padding:16px; flex-wrap:wrap; }
 .w-simple-request { padding:16px; gap:10px; flex-wrap:wrap; }
 .w-simple-request .w-status { font-size:11px; }
 .w-simple-request-arrow { display:none; }
 .w-simple-empty { padding:40px 18px; }
}
@media(prefers-reduced-motion:reduce) { .w-customer-tabs a,.w-simple-request { transition:none; } }
