.shell{display:block;max-width:560px;min-height:100dvh;margin:0 auto;border:0;border-radius:0;box-shadow:none}.mobile-brand{padding:calc(20px + env(safe-area-inset-top)) 24px 18px;border-bottom:1px solid var(--line)}.mobile-brand .brand{font-size:22px;flex-wrap:wrap}.mobile-label{display:block;flex-basis:100%;font-size:12px;font-weight:400;color:var(--muted);margin-inline-start:48px}.panel{padding:26px 24px calc(24px + env(safe-area-inset-bottom));min-height:calc(100dvh - 150px)}.panel-top{margin-bottom:24px}.experience-link{max-width:560px;margin:0 auto;background:#fff;padding:0 24px calc(20px + env(safe-area-inset-bottom));text-align:center}.experience-link a{display:inline-block;padding:10px;color:var(--muted);font-size:12px}h2{font-size:22px}@media(min-width:700px){.shell{min-height:calc(100dvh - 80px);margin-top:40px;border:1px solid var(--line);border-radius:20px}.panel{min-height:560px}.experience-link{background:transparent;padding-top:12px}}
.workspace-mobile{--brand:#5b33d6;--brand-dark:#4322a5;--ink:#17132a;--muted:#625d74;--line:#e7e3f0;--background:#f8f6fc;--focus:#5b33d6;background:var(--background);color:var(--ink)}.workspace-mobile[data-page=appointments] .work-top{display:none}.workspace-mobile .work-content{padding-top:16px}.workspace-mobile .work-bottom{height:calc(80px + env(safe-area-inset-bottom));background:#f1edf8;border-top:0;padding-top:8px}.workspace-mobile .work-bottom a{display:flex;align-items:center;justify-content:center;flex-direction:column;font-size:12px;gap:6px;background:transparent}.mobile-hero .work-heading{margin-bottom:16px}.mobile-hero h1{font-size:22px}.mobile-hero .work-heading p{font-size:12px;margin-top:4px}.mobile-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.mobile-stats>div{padding:14px 8px;border:1px solid var(--line);border-radius:16px;background:white;display:flex;flex-direction:column;gap:6px;text-align:center}.mobile-stats>div:first-child{background:var(--brand);color:white;border-color:transparent}.mobile-stats strong{font-size:24px}.mobile-stats span{font-size:11px}.mobile-quick{display:flex;gap:8px;margin:20px 0;flex-wrap:wrap}.mobile-quick .work-button{flex:0 0 auto;width:auto;max-width:100%;padding:10px 12px;min-width:0;background:white;border-radius:14px;font-size:12px}.mobile-date-tabs{display:flex;gap:8px;background:var(--background);padding-block:10px;position:sticky;top:0;z-index:2}.mobile-date-tabs .work-button{border-radius:24px;flex:1;min-height:40px}.mobile-filters{margin:8px 0 16px}.mobile-filters summary{cursor:pointer;padding:12px;color:var(--brand-dark);min-height:44px}.mobile-filters .work-toolbar{margin-top:8px}.mobile-day-heading{font-size:13px;color:var(--muted);margin:16px 0 10px}.mobile-appointment-list{display:grid;gap:10px}.mobile-appointment{display:flex;align-items:center;gap:12px;border:1px solid var(--line);border-radius:16px;background:white;padding:14px 12px;min-width:0}.mobile-appointment-time{font-size:17px;font-weight:700;min-width:56px;display:flex;flex-direction:column;gap:6px;text-align:center;border-inline-start:3px solid var(--brand);padding-inline-start:8px}.mobile-appointment-time small{font-size:10px;font-weight:400;color:var(--muted)}.mobile-appointment-person{min-width:0;flex:1;overflow-wrap:anywhere}.mobile-appointment-person strong{font-size:14px}.mobile-appointment-person p{font-size:11px;color:var(--muted);line-height:1.8;margin:5px 0}.mobile-appointment>.work-button{padding:8px;font-size:11px;border:0}.workspace-mobile .work-content{padding-bottom:calc(170px + env(safe-area-inset-bottom))}
.workspace-mobile .work-bottom a svg{box-sizing:border-box;width:24px;height:24px;padding:0;border-radius:0;background:transparent;color:inherit}.workspace-mobile .work-bottom a[aria-current=page] svg{background:transparent;color:inherit}
.workspace-mobile .work-bottom a{padding:4px;gap:4px;line-height:18px;font-size:11px}.workspace-mobile .work-bottom a svg{flex-shrink:0}
.workspace-mobile .mobile-date-tabs .mobile-date-tab{min-width:0;min-height:44px;padding-inline:4px;font-size:12px;border-radius:24px;white-space:nowrap}.workspace-mobile .mobile-date-tabs .mobile-date-tab[aria-pressed=true]{background:var(--work-tint,#ede7fd);color:var(--brand-dark,#23105e);border-color:transparent;font-weight:700}.workspace-mobile .mobile-filters>.work-button{width:100%;margin-bottom:8px}
.mobile-filter-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:8px}.mobile-filter-actions .work-button{min-height:44px;touch-action:manipulation}.mobile-filter-actions .work-button.primary{grid-column:1/-1}
.workspace-mobile .work-table .work-button{white-space:nowrap;flex-shrink:0}
.workspace-mobile[data-page=notifications] .work-toolbar{display:grid;grid-template-columns:minmax(0,1fr)}
.workspace-mobile .work-report-stats{grid-template-columns:repeat(2,minmax(0,1fr));margin-block-end:16px}
.workspace-mobile .work-report-stats .work-state{padding:14px;min-width:0}
.workspace-mobile .work-report-stats h2{font-size:12px;line-height:1.9;margin:0 0 10px}
.workspace-mobile .work-report-stats strong{font-size:18px}
.mobile-detail-hero{display:grid;justify-items:center;gap:8px;margin-block:0 16px;text-align:center;overflow-wrap:anywhere}.mobile-detail-hero h2{margin:0;font-size:21px}.mobile-detail-avatar{display:grid;place-items:center;width:72px;height:72px;border:2px solid var(--brand);border-radius:50%;color:var(--ink);background:var(--surface);font-size:28px;font-weight:800}.mobile-detail-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;margin:6px 0;padding:0;border:1px solid var(--line);border-radius:14px;background:var(--surface)}.mobile-detail-summary>div{padding:10px 4px}.mobile-detail-summary>div+div{border-inline-start:1px solid var(--line)}.mobile-detail-summary dt{color:var(--muted);font-size:12px}.mobile-detail-summary dd{margin:4px 0 0;font-weight:700;line-height:1.7}
.workspace-mobile[data-color-mode=dark] .work-bottom{background:var(--surface);border-top:1px solid var(--line)}
.workspace-mobile[data-color-mode=dark] .mobile-stats>div:not(:first-child),.workspace-mobile[data-color-mode=dark] .mobile-quick .work-button,.workspace-mobile[data-color-mode=dark] .mobile-appointment{background:var(--surface);color:var(--ink)}

/* Match the native Android dashboard: date pills and one compact filter control share the sticky row. */
.workspace-mobile .mobile-date-tabs{display:grid;grid-template-columns:minmax(0,1fr) 48px;align-items:center;gap:8px;top:env(safe-area-inset-top)}
.workspace-mobile .mobile-date-tab-list{display:flex;gap:4px;min-width:0}
.workspace-mobile .mobile-date-tab-list .mobile-date-tab{flex:1;min-width:0;min-height:48px;padding-inline:2px;font-size:12px;white-space:nowrap}
.workspace-mobile .mobile-date-tabs .mobile-filters{margin:0;min-width:48px}
.workspace-mobile .mobile-date-tabs .mobile-filters>summary{position:relative;display:flex;align-items:center;justify-content:center;width:48px;height:48px;min-height:48px;padding:0;list-style:none;border:1px solid var(--line);border-radius:14px;background:var(--surface);color:var(--ink);cursor:pointer}
.workspace-mobile .mobile-date-tabs .mobile-filters>summary::-webkit-details-marker{display:none}
.workspace-mobile .mobile-date-tabs .mobile-filters>summary svg{flex:0 0 20px;width:20px;height:20px}
.workspace-mobile .mobile-date-tabs .mobile-filters.has-active-filters>summary::after{position:absolute;inset-block-start:7px;inset-inline-end:7px;width:7px;height:7px;border-radius:50%;background:var(--brand);content:""}
.workspace-mobile .mobile-date-tabs .mobile-filters[open] .work-toolbar{position:absolute;inset-inline:0;top:calc(100% + 6px);z-index:4;display:grid;gap:10px;margin:0;padding:12px;border:1px solid var(--line);border-radius:16px;background:var(--surface);box-shadow:0 8px 24px #17132a24}
.workspace-mobile .mobile-date-tabs .mobile-filters[open] .work-toolbar .work-field{min-width:0}
.workspace-mobile .mobile-date-tabs .mobile-filters[open] .mobile-filter-actions{margin-top:0}
.workspace-mobile .mobile-date-tabs .mobile-filters[open] .work-toolbar>.work-button{width:100%;min-height:48px;margin:0}
.workspace-mobile .mobile-filter-icon{display:grid;align-content:center;justify-items:center;gap:3px;width:24px;height:24px}
.workspace-mobile .mobile-filter-icon i{display:block;height:2px;border-radius:2px;background:currentColor}
.workspace-mobile .mobile-filter-icon i:nth-child(1){width:18px}
.workspace-mobile .mobile-filter-icon i:nth-child(2){width:12px}
.workspace-mobile .mobile-filter-icon i:nth-child(3){width:6px}
.workspace-mobile .mobile-date-tabs .mobile-filters[open] .work-toolbar{max-height:calc(100dvh - 170px - env(safe-area-inset-top) - env(safe-area-inset-bottom));overflow-y:auto;overscroll-behavior:contain}

/* Android's Sadeh dashboard uses Material color roles and compact icon tiles. */
.workspace-mobile {
  --sadeh-primary-container: #ede7fd;
  --sadeh-on-primary-container: #23105e;
  --sadeh-secondary-container: #e6e1f3;
  --sadeh-on-secondary-container: #1f1a33;
  --sadeh-nav: #f3f0f9;
  --sadeh-stat-gradient: linear-gradient(135deg, #2a1b6b, #7a4bf0);
  --sadeh-warn:#8f5406;
  --sadeh-warn-soft:#fcebd2;
}
.workspace-mobile[data-color-mode=dark] {
  --sadeh-primary-container: #33236b;
  --sadeh-on-primary-container: #e6deff;
  --sadeh-secondary-container: #312c45;
  --sadeh-on-secondary-container: #e6e0f7;
  --sadeh-nav: #211d29;
  --sadeh-stat-gradient: linear-gradient(135deg, #4b2bb4, #714ad5);
  --sadeh-warn:#f2a54a;
  --sadeh-warn-soft:#3a2812;
}
.workspace-mobile .mobile-hero-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 64px;
}
.workspace-mobile .mobile-hero-actions { display:flex; flex:0 0 auto; align-items:center; gap:2px; }
.workspace-mobile .mobile-hero-actions button { display:grid; place-items:center; width:48px; min-width:48px; min-height:48px; padding:0; border-radius:14px; }
.workspace-mobile .mobile-hero-actions button:focus-visible { outline:2px solid var(--focus); outline-offset:2px; }
.workspace-mobile .mobile-hero-actions button:disabled { opacity:.55; }
.workspace-mobile .mobile-hero-actions svg { width:20px; height:20px; }
.workspace-mobile .mobile-pull-status { margin:0 0 8px; color:var(--muted); font-size:11px; line-height:1.5; text-align:center; }
.workspace-mobile .mobile-pull-status[aria-busy="true"] { display:flex; align-items:center; justify-content:center; gap:7px; }
.workspace-mobile .mobile-pull-status[aria-busy="true"]::before { content:""; width:13px; height:13px; flex:0 0 13px; border:2px solid color-mix(in srgb,var(--brand) 25%,transparent); border-top-color:var(--brand); border-radius:50%; animation:mobile-pull-spin .75s linear infinite; }
@keyframes mobile-pull-spin { to { transform:rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .workspace-mobile .mobile-pull-status[aria-busy="true"]::before { animation:none; } }
.workspace-mobile .mobile-info-hint { margin:0 0 12px; color:var(--muted); font-size:12px; line-height:1.8; }
.workspace-mobile .mobile-info-hint summary { width:fit-content; min-height:48px; padding:8px 0; color:var(--brand-dark); cursor:pointer; }
.workspace-mobile .mobile-info-hint p { margin:2px 0 0; padding:8px 10px; border-inline-start:2px solid var(--brand); border-radius:0 8px 8px 0; background:var(--surface); }
.workspace-mobile .mobile-hero-title { flex:1 1 0%; min-width:0; }
.workspace-mobile .mobile-hero-title h1 { margin: 0; line-height: 1.35; }
.workspace-mobile .mobile-hero-title p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 12px;
}
.workspace-mobile .mobile-hero-bar button {
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.workspace-mobile .mobile-hero-title .mobile-business-name {
  min-width:0;
  max-width:100%;
  overflow:hidden;
  font-size:clamp(16px,4.6vw,18px);
  line-height:1.5;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.workspace-mobile .mobile-business-name:focus { outline:none; }
.workspace-mobile .mobile-business-name bdi {
  display:block;
  max-width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.workspace-mobile .design-toolbar-heading { align-items:center; gap:8px; }
.workspace-mobile .design-toolbar-heading>div:first-child { flex:1 1 auto; min-width:0; }
.workspace-mobile .design-toolbar-heading h1 { overflow:hidden; font-size:clamp(16px,4.8vw,19px); line-height:1.4; text-overflow:ellipsis; white-space:nowrap; }
.workspace-mobile .design-toolbar-heading>.work-actions { flex:0 0 auto; align-items:center; gap:4px; flex-wrap:nowrap; }
.workspace-mobile .design-toolbar-publish { min-width:58px; min-height:48px; padding-inline:10px; }
.workspace-mobile .design-back { display:grid; flex:0 0 48px; place-items:center; width:48px; min-width:48px; min-height:48px; padding:0; }
.workspace-mobile .design-back svg { width:20px; height:20px; }
.workspace-mobile .design-more { position:relative; flex:0 0 48px; }
.workspace-mobile .design-more>summary { display:grid; place-items:center; width:48px; height:48px; list-style:none; border:1px solid var(--line); border-radius:12px; color:var(--ink); cursor:pointer; }
.workspace-mobile .design-more>summary::-webkit-details-marker { display:none; }
.workspace-mobile .design-more>summary svg { width:20px; height:20px; }
.workspace-mobile .design-more[open]>button { position:absolute; inset-inline-end:0; top:calc(100% + 6px); z-index:6; white-space:nowrap; box-shadow:0 8px 24px #17132a24; }
.workspace-mobile .design-preview { max-width:none; margin:0 0 12px; padding:0; border:0; border-radius:0; background:transparent; box-shadow:none; }
.workspace-mobile .design-preview-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-block-end:8px; }
.workspace-mobile .design-preview-heading h2 { margin:0; font-size:16px; }
.workspace-mobile .design-preview-state { margin:2px 0 0; color:var(--muted); font-size:11px; }
.workspace-mobile .design-preview-heading>.work-button { min-height:48px; padding:6px 12px; white-space:nowrap; }
.workspace-mobile .design-preview-link { width:fit-content; max-width:100%; min-height:48px; margin-block:8px 12px; }
.workspace-mobile .design-preview-frame { height:300px; margin:0; border:0; border-radius:16px; }
.workspace-mobile .design-preset-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.workspace-mobile .design-preset-choice { position:relative; display:grid; grid-template-columns:minmax(0,1fr); gap:8px; width:100%; min-width:0; min-height:48px; padding:8px; border:1px solid var(--line); border-radius:16px; background:var(--surface); color:var(--ink); text-align:start; white-space:normal; transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease; }
.workspace-mobile .design-preset-choice.is-selected { border:2px solid var(--brand); padding:7px; box-shadow:0 0 0 2px color-mix(in srgb,var(--brand) 13%,transparent); }
.workspace-mobile .design-preset-choice:focus-visible { outline:2px solid var(--focus); outline-offset:2px; }
.workspace-mobile .design-preset-choice:active { transform:scale(.985); }
.workspace-mobile .design-preset-page { overflow:hidden; padding:6px; border-radius:12px; background:#f3f4f7; }
.workspace-mobile .design-preset-hero { height:32px; border-radius:8px 8px 4px 4px; }
.workspace-mobile .design-preset-content { display:grid; gap:5px; padding:7px; border-radius:0 0 8px 8px; }
.workspace-mobile .design-preset-title { width:42%; height:6px; border-radius:4px; opacity:.8; }
.workspace-mobile .design-preset-options { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:4px; }
.workspace-mobile .design-preset-option { height:14px; }
.workspace-mobile .design-preset-action { height:16px; }
.workspace-mobile .design-preset-copy { display:grid; gap:2px; min-width:0; }
.workspace-mobile .design-preset-copy strong { overflow:hidden; font-size:13px; line-height:1.5; text-overflow:ellipsis; white-space:nowrap; }
.workspace-mobile .design-preset-copy small { overflow:hidden; color:var(--muted); font-size:11px; line-height:1.5; text-overflow:ellipsis; white-space:nowrap; }
.workspace-mobile .design-preset-lock { position:absolute; inset-block-start:12px; inset-inline-end:12px; display:grid; place-items:center; width:28px; height:28px; border-radius:999px; background:var(--surface); font-size:14px; }
.workspace-mobile .design-preset-legacy { margin:0; }
@media(prefers-reduced-motion:reduce) { .workspace-mobile .design-preset-choice { transition:none; } }
.workspace-mobile .design-tabs { position:sticky; top:0; z-index:3; margin-block-end:12px; background:var(--surface); }
.workspace-mobile .design-tabs button { min-height:48px; padding-inline:12px; font-size:13px; }
.workspace-mobile .design-form>fieldset>.work-actions { margin-block-start:16px; }
.workspace-mobile .mobile-business-switch {
  display:inline-flex;
  align-items:center;
  gap:4px;
  max-width:100%;
  min-height:48px;
  padding:0;
  border:0;
  border-radius:8px;
  background:transparent!important;
  color:var(--ink)!important;
  font:inherit;
  font-weight:700;
  text-align:start;
  cursor:pointer;
}
.workspace-mobile .mobile-business-switch bdi { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.workspace-mobile .mobile-business-switch svg { flex:0 0 20px; width:20px; height:20px; }
.workspace-mobile .mobile-hero-search {
  flex: 0 0 48px;
  display: grid;
  place-items: center;
  min-height: 48px;
  border-radius: 14px;
}
.workspace-mobile .mobile-hero-search svg { width: 24px; height: 24px; }
.workspace-mobile .mobile-business-name { font-size:20px!important; }
.workspace-mobile .mobile-hero-title p { margin-block-start:0; font-size:12px; line-height:1.5; }
.workspace-mobile .mobile-stats { margin-block-start: 8px; }
.workspace-mobile .mobile-stats > div {
  background: var(--surface);
  gap: 2px;
  padding: 10px clamp(6px, 2.5vw, 12px);
  text-align: start;
}
.workspace-mobile .mobile-stats strong {
  font-size: clamp(14px, 4.8vw, 22px);
  font-weight: 600;
  overflow-wrap: anywhere;
}
.workspace-mobile .mobile-stats > div:first-child {
  background: var(--sadeh-stat-gradient);
  color: white;
}
.workspace-mobile .mobile-attention {
  margin-block:4px 8px;
  padding:8px 12px;
  border:1px solid color-mix(in srgb,var(--sadeh-warn) 25%,transparent);
  border-radius:18px;
  background:var(--sadeh-warn-soft);
}
.workspace-mobile .mobile-attention[hidden] { display:none; }
.workspace-mobile .mobile-attention-heading { display:flex; align-items:center; gap:8px; min-height:36px; }
.workspace-mobile .mobile-attention-dot { flex:0 0 8px; width:8px; height:8px; border-radius:50%; background:var(--sadeh-warn); }
.workspace-mobile .mobile-attention-heading h2 { flex:1; margin:0; font-size:14px; font-weight:700; }
.workspace-mobile .mobile-attention-more { min-height:var(--ui-height-touch,48px); padding:4px 8px; border:0; background:transparent; color:var(--brand-dark); }
.workspace-mobile .mobile-attention-list { display:grid; }
.workspace-mobile .mobile-attention-item { display:grid; grid-template-columns:44px minmax(0,1fr) auto; align-items:center; gap:8px; min-height:56px; padding-block:4px; border-top:1px solid color-mix(in srgb,var(--sadeh-warn) 18%,transparent); }
.workspace-mobile .mobile-attention-time { font-size:14px; font-weight:700; text-align:center; }
.workspace-mobile .mobile-attention-copy { display:grid; min-width:0; gap:2px; }
.workspace-mobile .mobile-attention-open { justify-content:flex-start; min-width:0; min-height:var(--ui-height-touch,48px); padding:0; overflow:hidden; border:0; background:transparent; color:var(--ink); font-size:14px; font-weight:600; text-overflow:ellipsis; white-space:nowrap; }
.workspace-mobile .mobile-attention-description { overflow:hidden; color:var(--muted); font-size:11px; line-height:1.5; text-overflow:ellipsis; white-space:nowrap; }
.workspace-mobile .mobile-attention-actions { display:flex; align-items:center; gap:4px; }
.workspace-mobile .mobile-attention-action { display:grid; flex:0 0 48px; place-items:center; width:48px; min-width:48px; min-height:48px; padding:0; border-radius:12px; }
.workspace-mobile .mobile-attention-action svg { width:18px; height:18px; }
.workspace-mobile .mobile-attention-action.is-danger { color:var(--work-error-ink,#9d2525); }
.workspace-mobile .mobile-attention-action.is-confirm { border-color:var(--work-status-confirmed-ink); background:var(--work-status-confirmed-bg); color:var(--work-status-confirmed-ink); }
.workspace-mobile .mobile-attention-status:empty { display:none; }
.workspace-mobile .mobile-attention-status { margin:6px 0 0; color:var(--muted); font-size:12px; line-height:1.6; }
.workspace-mobile .mobile-appointment {
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:8px;
  min-height:60px;
  padding:10px 12px;
  color:var(--ink);
  text-decoration:none;
  transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;
}
.workspace-mobile a.mobile-appointment:hover {
  border-color:var(--brand);
  box-shadow:0 3px 12px #17132a14;
  transform:translateY(-1px);
}
.workspace-mobile a.mobile-appointment:active { transform:scale(.99); }
.workspace-mobile a.mobile-appointment:focus-visible { outline:2px solid var(--focus); outline-offset:2px; }
.workspace-mobile .mobile-appointment-time { min-width:48px; gap:2px; border-inline-start-width:2px; }
.workspace-mobile .mobile-appointment .mobile-appointment-time { position:relative; border-inline-start:0; padding-inline-start:10px; color:var(--brand-dark); }
.workspace-mobile .mobile-appointment .mobile-appointment-time::after { position:absolute; inset-block:3px; inset-inline-start:0; border-inline-start:1.5px dashed var(--line); content:""; }
.workspace-mobile .mobile-appointment[data-past="true"] .mobile-appointment-time { color:var(--muted); }
.workspace-mobile .mobile-appointment-person { min-width:0; overflow-wrap:anywhere; }
.workspace-mobile .mobile-appointment-person strong { display:-webkit-box; overflow:hidden; -webkit-box-orient:vertical; -webkit-line-clamp:2; font-size:14px; line-height:1.4; }
.workspace-mobile .mobile-appointment-person p { display:-webkit-box; overflow:hidden; -webkit-box-orient:vertical; -webkit-line-clamp:1; margin:3px 0 0; font-size:11px; line-height:1.4; text-overflow:ellipsis; }
.workspace-mobile .mobile-appointment-status { white-space:nowrap; padding:4px 10px; font-size:12px; }
.workspace-mobile .mobile-appointment-meta { display:grid; justify-items:end; gap:4px; min-width:0; }
.workspace-mobile .mobile-appointment-price { color:var(--muted); font-size:11px; font-weight:600; white-space:nowrap; }
.workspace-mobile .mobile-appointment-proposal { display:block; margin-block-start:4px; color:var(--sadeh-warn); font-size:11px; line-height:1.5; }
.workspace-mobile .mobile-appointment-proposal { display:-webkit-box; overflow:hidden; -webkit-box-orient:vertical; -webkit-line-clamp:1; }
.workspace-mobile {
  --mobile-touch:48px;
  --mobile-space-1:4px;
  --mobile-space-2:8px;
  --mobile-space-3:12px;
  --mobile-space-4:16px;
  --mobile-card-radius:16px;
}
.workspace-mobile button,
.workspace-mobile .work-button,
.workspace-mobile [role="button"],
.workspace-mobile select,
.workspace-mobile input:not([type="checkbox"]):not([type="radio"]):not([type="color"]),
.workspace-mobile textarea { min-height:var(--mobile-touch); }
.workspace-mobile .mobile-date-tabs { grid-template-columns:minmax(0,1fr) var(--mobile-touch); }
.workspace-mobile .mobile-date-tabs .mobile-filters { min-width:var(--mobile-touch); }
.workspace-mobile .mobile-date-tab-list {
  box-sizing:border-box;
  height:50px;
  gap:2px;
  padding:3px;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:999px;
  background:var(--surface);
}
.workspace-mobile .mobile-date-tabs .mobile-date-tab {
  flex:1 1 0;
  min-width:0;
  min-height:42px;
  height:42px;
  padding-inline:2px;
  border:0;
  border-radius:999px;
  background:transparent;
  color:var(--muted);
  font-size:12px;
  font-weight:500;
  white-space:nowrap;
}
.workspace-mobile .mobile-date-tabs .mobile-date-tab[aria-pressed=true] {
  background:var(--brand);
  color:var(--work-on-brand,#fff);
  font-weight:700;
}
.workspace-mobile .mobile-date-tabs .mobile-filters>summary {
  width:var(--mobile-touch);
  height:var(--mobile-touch);
  min-height:var(--mobile-touch);
}
.workspace-mobile .mobile-quick {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(62px, 1fr));
  gap: 6px;
  margin: 12px 0 8px;
}
.workspace-mobile .mobile-quick[hidden] { display:none; }
.workspace-mobile .mobile-now-divider { display:flex; align-items:center; gap:8px; margin:4px 0; color:var(--brand-dark); font-size:12px; font-weight:600; }
.workspace-mobile .mobile-now-divider::before,
.workspace-mobile .mobile-now-divider::after { flex:1; height:1px; background:color-mix(in srgb,var(--brand) 35%,transparent); content:""; }
.workspace-mobile .mobile-date-tabs .mobile-date-tab-list { position:relative; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:4px; padding:0 3px; border:1px solid var(--line); border-radius:999px; background:var(--surface); }
.workspace-mobile .mobile-date-tab-thumb { position:absolute; inset-block:3px; inset-inline-start:3px; width:calc((100% - 18px)/4); border-radius:999px; background:var(--brand); pointer-events:none; transition:transform 240ms cubic-bezier(.2,.8,.2,1); }
.workspace-mobile .mobile-date-tab-list .mobile-date-tab { position:relative; z-index:1; min-height:48px; padding-inline:1px; border-color:transparent; border-radius:999px; background:transparent; font-size:14px; font-weight:500; white-space:nowrap; }
.workspace-mobile .mobile-date-tab-list .mobile-date-tab[aria-pressed=true] { border-color:transparent; background:transparent; color:var(--work-on-brand,#fff); font-weight:700; }
.workspace-mobile[data-color-mode=dark] .mobile-date-tab-list .mobile-date-tab[aria-pressed=true] { color:var(--work-on-brand,#fff); }
.workspace-mobile .mobile-quick .work-button,
.workspace-mobile[data-color-mode=dark] .mobile-quick .work-button {
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  min-height: 48px;
  padding: 6px 2px;
  border: 0;
  border-radius: 12px;
  background: var(--sadeh-primary-container);
  color: var(--sadeh-on-primary-container);
  text-align: center;
}
.workspace-mobile .mobile-quick svg { width: 16px; height: 16px; }
.workspace-mobile .mobile-quick { margin-block:12px 8px; }
.workspace-mobile .mobile-date-tabs { gap:8px; padding-block:8px; }
.workspace-mobile .mobile-date-tabs .mobile-date-tab { min-height:48px; }
.workspace-mobile .mobile-filter-actions { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.workspace-mobile .mobile-filter-actions .work-button { min-width:0; min-height:48px; padding-inline:8px; white-space:nowrap; }
.workspace-mobile .mobile-filter-actions .work-button.primary { grid-column:1/-1; }
.workspace-mobile .mobile-stats { gap:8px; }
.workspace-mobile .mobile-stats > div { min-height:64px; padding:12px; border-radius:16px; }
.workspace-mobile .mobile-appointment-list { gap:8px; }
.workspace-mobile .mobile-appointment { min-height:60px; border-radius:16px; }
.workspace-mobile .work-bottom a { min-height:48px; }
@media (max-width:279px) {
  .workspace-mobile .mobile-date-tabs .mobile-date-tab { padding-inline:2px; font-size:11px; }
  .workspace-mobile .mobile-appointment { grid-template-columns:48px minmax(0,1fr); row-gap:4px; padding:8px; }
  .workspace-mobile .mobile-appointment-time { grid-row:1/3; }
  .workspace-mobile .mobile-appointment-meta { grid-column:2; display:flex; justify-items:initial; align-items:center; gap:8px; }
  .workspace-mobile .mobile-date-tabs .mobile-date-tab { min-width:0; }
}
@media (max-width:360px) {
  .workspace-mobile .work-date-parts { grid-template-columns:repeat(3,minmax(0,1fr)); gap:4px; }
  .workspace-mobile .mobile-date-tabs .mobile-date-tab { font-size:10px; }
}
.workspace-mobile .mobile-waitlist-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  color: var(--brand-dark);
}
.workspace-mobile .work-bottom,
.workspace-mobile[data-color-mode=dark] .work-bottom {
  align-items: stretch;
  height: calc(80px + env(safe-area-inset-bottom));
  padding-block-start: 0;
  padding-block-end: env(safe-area-inset-bottom);
  background: var(--sadeh-nav);
}
@media(prefers-reduced-motion:reduce) {
  .workspace-mobile .mobile-date-tab-thumb { transition:none; }
}
.workspace-mobile[data-app-style="sadeh"] .work-bottom a,
.workspace-mobile[data-app-style="sadeh"][data-color-mode=dark] .work-bottom a { gap: 4px; color: var(--muted); }
.workspace-mobile[data-app-style="sadeh"] .work-bottom a[aria-current=page] { color: var(--ink); font-weight: 600; }
.workspace-mobile[data-app-style="sadeh"] .work-bottom a[aria-current=page] svg,
.workspace-mobile[data-app-style="sadeh"][data-color-mode=dark] .work-bottom a[aria-current=page] svg {
  background: transparent;
  color: var(--sadeh-on-secondary-container);
}
.workspace-mobile[data-app-style="sadeh"] .work-bottom .work-nav-icon { position:relative; display:grid; place-items:center; width:64px; height:32px; border-radius:16px; }
.workspace-mobile[data-app-style="sadeh"] .work-bottom .work-nav-icon::before { position:absolute; inset:0; border-radius:inherit; background:var(--sadeh-secondary-container); content:""; opacity:0; transform:scaleX(.6); }
.workspace-mobile[data-app-style="sadeh"] .work-bottom a[aria-current=page] .work-nav-icon::before { opacity:1; transform:scaleX(1); animation:mobile-nav-indicator .24s cubic-bezier(.2,.8,.2,1) both; }
.workspace-mobile[data-app-style="sadeh"] .work-bottom .work-nav-icon svg,
.workspace-mobile[data-app-style="sadeh"][data-color-mode=dark] .work-bottom a[aria-current=page] .work-nav-icon svg { position:relative; z-index:1; box-sizing:border-box; width:24px; height:24px; padding:0; border-radius:0; background:transparent; color:var(--muted); }
.workspace-mobile[data-app-style="sadeh"] .work-bottom a[aria-current=page] .work-nav-icon svg { color:var(--sadeh-on-secondary-container); }
@keyframes mobile-nav-indicator { from { opacity:0; transform:scaleX(.6); } to { opacity:1; transform:scaleX(1); } }
@media(prefers-reduced-motion:reduce) { .workspace-mobile[data-app-style="sadeh"] .work-bottom .work-nav-icon::before { animation:none; transition:none; } }
.mobile-customer-list {
  list-style:none;
  display:grid;
  gap:8px;
  margin:0;
  padding:0;
}
.workspace-mobile .mobile-customer-row {
  display:grid;
  grid-template-columns:40px minmax(0,1fr) auto;
  width:100%;
  min-height:64px;
  padding:10px 12px;
  gap:12px;
  text-align:start;
  color:var(--ink);
}
.mobile-customer-avatar {
  display:grid;
  place-items:center;
  width:40px;
  height:40px;
  border-radius:50%;
  background:var(--work-tint);
  color:var(--brand-dark);
}
.mobile-customer-copy { display:grid; justify-items:start; gap:2px; overflow-wrap:anywhere; }
.mobile-customer-copy bdi,.mobile-customer-visit-count { color:var(--muted); font-size:12px; }
.mobile-customer-visits { display:grid; justify-items:end; gap:2px; width:clamp(90px,34vw,140px); min-width:0; text-align:end; }
.mobile-customer-history-pill { max-width:100%; padding:2px 7px; overflow:hidden; border-radius:999px; background:var(--work-tint); color:var(--brand-dark); font-size:10px; text-overflow:ellipsis; white-space:nowrap; }
.mobile-customer-visits small { font-size:10px; line-height:1.35; }
.mobile-customer-no-shows { color:var(--work-error-ink,#9d2525); }
.mobile-customer-birthday { color:var(--brand-dark); }
.workspace-mobile .mobile-customer-empty { display:grid; min-height:240px; align-content:center; padding:32px 20px; border:0; background:transparent; box-shadow:none; text-align:center; }
.workspace-mobile .mobile-customer-add { position:fixed; inset-inline-end:16px; bottom:calc(96px + env(safe-area-inset-bottom)); z-index:5; display:inline-flex; align-items:center; justify-content:center; gap:8px; width:auto; min-width:0; min-height:56px; padding:0 20px; border:0; border-radius:16px; background:var(--brand); color:var(--work-on-brand,#fff); box-shadow:0 5px 14px color-mix(in srgb,var(--brand) 32%,transparent); animation:mobile-add-appear .2s ease-out both; transition:transform .16s ease,box-shadow .16s ease; }
.workspace-mobile .mobile-customer-add[hidden] { display:none; }
.workspace-mobile .mobile-customer-add svg { width:22px; height:22px; }
.workspace-mobile .mobile-customer-add:active { transform:scale(.96); }
@media(prefers-reduced-motion:reduce) { .workspace-mobile .mobile-customer-add { animation:none; transition:none; } }
.mobile-service-card {
  display:grid;
  gap:12px;
  padding:14px;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:18px;
}
.mobile-service-heading {
  display:grid;
  align-items:center;
  grid-template-columns:40px minmax(0,1fr) minmax(0,auto);
  gap:10px;
  overflow-wrap:anywhere;
}
.mobile-service-heading strong:last-child { color:var(--brand-dark); }
.mobile-service-meta { display:flex; flex-wrap:wrap; gap:6px; }
.workspace-mobile .service-mobile-segmented { min-width:0; margin:0; padding:0; border:0; }
.workspace-mobile .service-mobile-segmented legend { margin-block-end:6px; color:var(--ink); font-size:14px; font-weight:700; }
.workspace-mobile .service-mobile-segmented-track { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:4px; padding:4px; border:1px solid var(--line); border-radius:16px; background:var(--surface); }
.workspace-mobile .service-segmented-choice { min-width:0; min-height:48px; padding:8px 10px; border-radius:12px; transition:background-color .18s ease,color .18s ease,border-color .18s ease,transform .18s ease; }
.workspace-mobile .service-segmented-choice[aria-pressed=true],
.workspace-mobile .service-segmented-choice[aria-pressed=true]:hover { border-color:var(--brand); background:var(--brand); color:var(--work-on-brand,#fff); font-weight:700; }
.workspace-mobile .service-segmented-choice:focus-visible { outline:3px solid var(--focus); outline-offset:2px; }
.workspace-mobile .service-deposit-fields { display:grid; gap:8px; }
@media(prefers-reduced-motion:reduce) { .workspace-mobile .service-segmented-choice { transition:none; } }
.mobile-notification-card { margin-block-end:8px; }
.workspace-mobile .mobile-notification-entry {
  display:grid;
  grid-template-columns:8px minmax(0,1fr) auto;
  align-items:center;
  gap:10px;
  width:100%;
  padding:0;
  border:0;
  text-align:start;
  color:var(--ink);
}
.mobile-notification-copy {
  display:grid;
  justify-items:start;
  gap:4px;
  min-width:0;
  overflow-wrap:anywhere;
}
.mobile-notification-unread { width:8px; height:8px; border-radius:50%; background:var(--brand); }
.mobile-notification-unread.is-read { background:transparent; }
.mobile-notification-date { color:var(--muted); font-size:11px; white-space:nowrap; }
.workspace-mobile .mobile-notification-card .notification-target { min-height:var(--ui-height-touch,48px); padding:4px 6px; border:0; background:transparent; color:var(--brand-dark); font-size:12px; font-weight:700; }
.workspace-mobile .mobile-notification-card .work-actions { justify-content:flex-start; margin-block-start:2px; padding-inline-start:18px; }
.mobile-notification-preview {
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
  overflow:hidden;
  color:var(--muted);
  font-size:12px;
}

/* Compact notification typography while keeping every action easy to tap. */
.workspace-mobile[data-page=notifications] .work-heading h1 { font-size:18px; }
.workspace-mobile .mobile-notification-copy strong { font-size:13px; line-height:1.45; }
.workspace-mobile .mobile-notification-preview { font-size:11px; line-height:1.45; }
.workspace-mobile .mobile-notification-date { font-size:10px; }
.workspace-mobile .mobile-notification-card .notification-target { font-size:11px; }

/* Mirror the native login hero and keep the form on the same 48px control scale. */
@font-face { font-family:Lalezar; src:url('/app/assets/Lalezar.ttf') format('truetype'); font-style:normal; font-weight:400; font-display:swap; }
@media(max-width:700px) {
  .mobile-brand {
    position:relative;
    display:flex;
    min-height:260px;
    justify-content:center;
    padding:calc(12px + env(safe-area-inset-top)) 24px 48px;
    overflow:hidden;
    border:0;
    background:var(--auth-hero-gradient,linear-gradient(135deg,#2a1b6b,#7a4bf0));
  }
  .mobile-brand::after {
    position:absolute;
    inset-inline:0;
    bottom:0;
    height:40px;
    background:url('/static/images/vaghtchi-login-wave.svg') center bottom / 100% 100% no-repeat;
    content:"";
    pointer-events:none;
  }
  .mobile-brand .brand {
    position:relative;
    z-index:1;
    display:flex;
    align-self:center;
    align-items:center;
    flex-direction:column;
    gap:0;
    color:var(--auth-on-hero,#fff);
    text-align:center;
  }
  .mobile-brand-emblem { display:block; width:170px; height:112px; object-fit:cover; }
  .mobile-brand-title { font-family:Lalezar,Vazirmatn,Tahoma,sans-serif; font-size:42px; font-weight:400; line-height:1.12; }
  .mobile-label {
    flex-basis:auto;
    margin:4px 0 0;
    color:var(--auth-on-hero,#fff);
    font-size:14px;
    line-height:1.6;
    text-align:center;
  }
  .mobile-brand .brand-mark { display:none; }
  .panel {
    min-height:calc(100dvh - 260px - env(safe-area-inset-top));
    padding:18px max(24px,env(safe-area-inset-right)) calc(24px + env(safe-area-inset-bottom)) max(24px,env(safe-area-inset-left));
    background:var(--background);
  }
  .panel-top { margin-bottom:16px; }
  .panel form { gap:12px; }
  .panel form label { margin-top:4px; }
  .panel form input:not([type=checkbox]),
  .panel form select,
  .panel form textarea { min-height:56px; border-radius:16px; }
  .panel form .primary { min-height:56px; border-radius:16px; }
  #phone { text-align:center; font-size:18px; letter-spacing:1px; border-radius:16px; }
  .remember-me-row { min-height:48px; margin-top:0; }
  #code-screen { display:flex; flex-direction:column; justify-content:center; min-height:calc(100dvh - 260px - env(safe-area-inset-top)); }
  #code-screen .code-input { min-height:56px; border-radius:16px; font-size:24px; letter-spacing:8px; text-align:center; }
  #code-form .primary { min-height:52px; }
  .panel .text-button { min-height:48px; }
  .captcha-question { border-radius:14px; }
  .panel-foot { padding-top:24px; }
}

@keyframes mobile-brand-enter {
  from { opacity:0; transform:translateY(8px); }
  to { opacity:1; transform:translateY(0); }
}
@media(prefers-reduced-motion:no-preference) {
  .mobile-brand .brand { animation:mobile-brand-enter .35s ease-out both; }
  .panel .primary { transition:background-color .16s ease,transform .16s ease; }
  .panel .primary:hover:not(:disabled) { transform:translateY(-1px); }
}

/* Compact messenger marks at the Android phone scale. */
.workspace-mobile .telegram-messenger-icon { width:36px; height:36px; border-radius:12px; }
.workspace-mobile .telegram-messenger-icon svg { width:18px; height:18px; }

/* Keep the design editor's Android app bar, preview and tab row visible while its panel scrolls. */
.workspace-mobile .design-mobile-sticky { position:sticky; top:0; z-index:5; padding-block-end:8px; background:var(--background); }
.workspace-mobile .design-mobile-sticky .design-toolbar-heading { margin-block:0 8px; padding-block:4px; }
.workspace-mobile .design-mobile-sticky .design-preview { max-width:none; margin:0 0 8px; padding:10px; }
.workspace-mobile .design-mobile-sticky .design-preview-frame { height:300px; }
.workspace-mobile .design-mobile-sticky .design-tabs { position:static; top:auto; margin:0; }

/* Shabnama dashboard hero mirrors DashboardHero.NightHero in Compose. */
.workspace-mobile[data-page="appointments"][data-app-style="shabnama"] .mobile-hero { display:grid; gap:12px; }
.workspace-mobile[data-page="appointments"][data-app-style="shabnama"] .mobile-hero-bar { width:100%; min-width:0; min-height:56px; box-sizing:border-box; }
.workspace-mobile[data-page="appointments"][data-app-style="shabnama"] .mobile-hero-title,
.workspace-mobile[data-page="appointments"][data-app-style="shabnama"] .mobile-hero-title h1 { min-width:0; max-width:100%; }
.workspace-mobile[data-page="appointments"][data-app-style="shabnama"] .mobile-business-switch { min-width:0; max-width:100%; }
.workspace-mobile[data-page="appointments"][data-app-style="shabnama"] .mobile-business-switch bdi { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.workspace-mobile[data-page="appointments"][data-app-style="shabnama"] .mobile-hero-title h1 { font-size:16px; line-height:1.35; }
.workspace-mobile[data-page="appointments"][data-app-style="shabnama"] .mobile-hero-title p { font-size:12px; }
.workspace-mobile[data-page="appointments"][data-app-style="shabnama"] .mobile-hero-search svg { width:20px; height:20px; }
.workspace-mobile[data-page="appointments"][data-app-style="shabnama"] .mobile-stats.mobile-night-summary { display:flex; width:100%; min-width:0; align-items:center; gap:12px; margin-block-start:0; box-sizing:border-box; }
.workspace-mobile[data-page="appointments"][data-app-style="shabnama"] .mobile-night-ring { position:relative; flex:0 0 96px; width:96px; height:96px; display:grid; place-items:center; }
.workspace-mobile[data-page="appointments"][data-app-style="shabnama"] .mobile-night-ring svg { position:absolute; inset:0; width:96px; height:96px; overflow:visible; transform:rotate(-90deg); }
.workspace-mobile[data-page="appointments"][data-app-style="shabnama"] .mobile-night-ring circle { fill:none; }
.workspace-mobile[data-page="appointments"][data-app-style="shabnama"] .mobile-night-ring-track { stroke:var(--line); stroke-width:9; }
.workspace-mobile[data-page="appointments"][data-app-style="shabnama"] .mobile-night-ring-glow { stroke:var(--brand); stroke-width:19.8; opacity:.13; stroke-linecap:round; }
.workspace-mobile[data-page="appointments"][data-app-style="shabnama"] .mobile-night-ring-value { stroke:var(--brand); stroke-width:9; stroke-linecap:round; }
.workspace-mobile[data-page="appointments"][data-app-style="shabnama"] .mobile-night-ring-label { position:relative; display:flex; flex-direction:column; align-items:center; line-height:1.25; }
.workspace-mobile[data-page="appointments"][data-app-style="shabnama"] .mobile-night-ring-label strong { color:var(--work-on-brand); font-size:20px; font-weight:700; }
.workspace-mobile[data-page="appointments"][data-app-style="shabnama"] .mobile-night-ring-label small { color:var(--muted); font-size:11px; }
.workspace-mobile[data-page="appointments"][data-app-style="shabnama"] .mobile-night-rails { display:flex; flex:1 1 0; min-width:0; flex-direction:column; gap:8px; }
.workspace-mobile[data-page="appointments"][data-app-style="shabnama"] .mobile-night-rail-row { display:flex; align-items:center; min-width:0; min-height:34px; gap:10px; }
.workspace-mobile[data-page="appointments"][data-app-style="shabnama"] .mobile-night-rail-bar { flex:0 0 2px; width:2px; height:34px; border-radius:2px; background:var(--line); }
.workspace-mobile[data-page="appointments"][data-app-style="shabnama"] .mobile-night-rail-bar.is-warning { background:#b4690e; }
.workspace-mobile[data-page="appointments"][data-app-style="shabnama"][data-color-mode="dark"] .mobile-night-rail-bar.is-warning { background:#f2a54a; }
.workspace-mobile[data-page="appointments"][data-app-style="shabnama"] .mobile-night-rail-copy { display:flex; min-width:0; flex-direction:column; line-height:1.3; }
.workspace-mobile[data-page="appointments"][data-app-style="shabnama"] .mobile-night-rail-copy strong,
.workspace-mobile[data-page="appointments"][data-app-style="shabnama"] .mobile-night-rail-copy small { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.workspace-mobile[data-page="appointments"][data-app-style="shabnama"] .mobile-night-rail-copy strong { color:var(--ink); font-size:16px; font-weight:900; }
.workspace-mobile[data-page="appointments"][data-app-style="shabnama"] .mobile-night-rail-copy strong.is-warning { color:#b4690e; }
.workspace-mobile[data-page="appointments"][data-app-style="shabnama"][data-color-mode="dark"] .mobile-night-rail-copy strong.is-warning { color:#f2a54a; }
.workspace-mobile[data-page="appointments"][data-app-style="shabnama"] .mobile-night-rail-copy small { color:var(--muted); font-size:11px; }
.workspace-mobile[data-page="appointments"][data-app-style="shabnama"] .mobile-next-appointment.mobile-night-next { display:flex; width:100%; min-width:0; align-items:center; gap:10px; min-height:48px; margin:0; padding:6px 12px; border:1px solid var(--line); border-radius:14px; background:linear-gradient(90deg,rgb(31 111 209 / 13%),var(--surface)); background:linear-gradient(90deg,color-mix(in srgb,var(--brand) 13%,transparent),var(--surface)); color:var(--ink); box-sizing:border-box; }
.workspace-mobile[data-page="appointments"][data-app-style="shabnama"] .mobile-next-appointment.mobile-night-next[hidden] { display:none; }
.workspace-mobile[data-page="appointments"][data-app-style="shabnama"] .mobile-night-next-time { flex:0 0 auto; color:var(--brand-dark); font-size:18px; font-weight:700; }
.workspace-mobile[data-page="appointments"][data-app-style="shabnama"] .mobile-night-next-copy { flex:1 1 0; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:var(--ink); font-size:14px; }
.workspace-mobile[data-page="appointments"][data-app-style="shabnama"] .mobile-night-next-until { flex:0 0 auto; max-width:42%; overflow:hidden; padding:2px 8px; border-radius:999px; background:var(--work-tint); color:var(--brand-dark); font-size:11px; text-overflow:ellipsis; white-space:nowrap; }
@media(prefers-reduced-motion:no-preference) {
  .workspace-mobile[data-page="appointments"][data-app-style="shabnama"] .mobile-night-ring-value,
  .workspace-mobile[data-page="appointments"][data-app-style="shabnama"] .mobile-night-ring-glow { animation:mobile-night-ring-fill 1.5s cubic-bezier(.4,0,.2,1) both; }
  .workspace-mobile[data-page="appointments"][data-app-style="shabnama"] .mobile-night-rail-row { animation:mobile-appointment-enter-shabnama .42s cubic-bezier(.2,.75,.25,1.04) calc(var(--night-rail-index)*55ms) both; }
  .workspace-mobile[data-page="appointments"][data-app-style="shabnama"] .mobile-night-next:not([hidden]) { animation:mobile-appointment-enter-shabnama .42s cubic-bezier(.2,.75,.25,1.04) 220ms both; }
}
@keyframes mobile-night-ring-fill { from { stroke-dashoffset:254.469; } to { stroke-dashoffset:var(--night-target-offset); } }

/* مه: airy, centred next-appointment focus with translucent daily stats. */
.workspace-mobile[data-page="appointments"][data-app-style="meh"] .mobile-meh-hero { display:flex; min-width:0; flex-direction:column; align-items:center; text-align:center; }
.workspace-mobile[data-page="appointments"][data-app-style="meh"] .mobile-hero-bar { width:100%; min-width:0; min-height:56px; box-sizing:border-box; }
.workspace-mobile[data-page="appointments"][data-app-style="meh"] .mobile-meh-title { display:flex; min-width:0; align-items:center; gap:4px; text-align:start; }
.workspace-mobile[data-page="appointments"][data-app-style="meh"] .mobile-meh-date { flex:0 0 auto; color:var(--muted); font-size:12px; white-space:nowrap; }
.workspace-mobile[data-page="appointments"][data-app-style="meh"] .mobile-meh-title .mobile-business-name { flex:1 1 0; min-width:0; font-size:14px!important; font-weight:500; line-height:1.45; }
.workspace-mobile[data-page="appointments"][data-app-style="meh"] .mobile-meh-title .mobile-business-switch { min-width:0; min-height:44px; font-size:14px; font-weight:500; }
.workspace-mobile[data-page="appointments"][data-app-style="meh"] .mobile-meh-title .mobile-business-switch bdi { display:block; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.workspace-mobile[data-page="appointments"][data-app-style="meh"] .mobile-hero-bar .mobile-hero-search { border:1px solid color-mix(in srgb,#fff 85%,transparent); background:var(--surface)!important; color:var(--ink)!important; }
.workspace-mobile[data-page="appointments"][data-app-style="meh"][data-color-mode="dark"] .mobile-hero-bar .mobile-hero-search { border-color:color-mix(in srgb,#fff 10%,transparent); }
.workspace-mobile[data-page="appointments"][data-app-style="meh"] .mobile-meh-status { display:flex; align-items:center; justify-content:center; gap:6px; min-height:24px; margin:8px 0 0; color:var(--brand); font-size:14px; line-height:1.5; }
.workspace-mobile[data-page="appointments"][data-app-style="meh"] .mobile-meh-dot { width:6px; height:6px; flex:0 0 6px; border-radius:50%; background:var(--brand); }
.workspace-mobile[data-page="appointments"][data-app-style="meh"] .mobile-meh-time { max-width:100%; color:var(--ink); font-size:68px; font-weight:200; line-height:1.09; letter-spacing:-1px; white-space:nowrap; }
.workspace-mobile[data-page="appointments"][data-app-style="meh"] .mobile-meh-person { width:100%; max-width:100%; margin:0; overflow:hidden; color:var(--ink); font-size:18px; font-weight:500; line-height:1.5; text-overflow:ellipsis; white-space:nowrap; }
.workspace-mobile[data-page="appointments"][data-app-style="meh"] .mobile-meh-person[hidden] { display:none; }
.workspace-mobile[data-page="appointments"][data-app-style="meh"] .mobile-stats.mobile-meh-stats { display:flex; width:100%; min-width:0; align-items:center; margin-block-start:16px; padding-block:12px; overflow:hidden; border:1px solid color-mix(in srgb,#fff 85%,transparent); border-radius:20px; background:var(--surface); box-sizing:border-box; }
.workspace-mobile[data-page="appointments"][data-app-style="meh"][data-color-mode="dark"] .mobile-stats.mobile-meh-stats { border-color:color-mix(in srgb,#fff 10%,transparent); }
.workspace-mobile[data-page="appointments"][data-app-style="meh"] .mobile-stats.mobile-meh-stats > .mobile-meh-stat { display:flex; flex:1 1 0; min-width:0; min-height:0; flex-direction:column; align-items:center; gap:2px; padding:0 4px; border:0; border-radius:0; background:transparent; color:var(--ink); text-align:center; }
.workspace-mobile[data-page="appointments"][data-app-style="meh"] .mobile-stats.mobile-meh-stats > .mobile-meh-stat:first-child { border:0; background:transparent; color:var(--ink); }
.workspace-mobile[data-page="appointments"][data-app-style="meh"] .mobile-meh-stat strong { max-width:100%; overflow:hidden; color:var(--ink); font-size:21px; font-weight:300; line-height:1.4; text-overflow:ellipsis; white-space:nowrap; }
.workspace-mobile[data-page="appointments"][data-app-style="meh"] .mobile-meh-stat.is-pending strong { color:var(--work-status-pending-ink,var(--work-tertiary,#b0683a)); }
.workspace-mobile[data-page="appointments"][data-app-style="meh"] .mobile-meh-stat span { max-width:100%; overflow:hidden; color:var(--muted); font-size:11px; line-height:1.5; text-overflow:ellipsis; white-space:nowrap; }
.workspace-mobile[data-page="appointments"][data-app-style="meh"] .mobile-meh-divider { width:1px; height:36px; flex:0 0 1px; background:var(--line); }
@media(prefers-reduced-motion:no-preference) {
  .workspace-mobile[data-page="appointments"][data-app-style="meh"] .mobile-meh-dot { animation:mobile-meh-breathe 1s ease-in-out infinite alternate; }
  .workspace-mobile[data-page="appointments"][data-app-style="meh"] .mobile-meh-time.is-changing { animation:mobile-meh-clear 1.3s cubic-bezier(.2,.7,.25,1) both; }
  .workspace-mobile[data-page="appointments"][data-app-style="meh"] .mobile-meh-person.is-entering:not([hidden]) { animation:mobile-appointment-enter-meh .42s cubic-bezier(.2,.75,.25,1.04) 220ms both; }
  .workspace-mobile[data-page="appointments"][data-app-style="meh"] .mobile-stats.mobile-meh-stats { animation:mobile-appointment-enter-meh .42s cubic-bezier(.2,.75,.25,1.04) 275ms both; }
}
@keyframes mobile-meh-breathe { from { opacity:1; transform:scale(1); } to { opacity:.72; transform:scale(1.8); } }
@keyframes mobile-meh-clear { from { opacity:0; filter:blur(14px); letter-spacing:7px; } to { opacity:1; filter:blur(0); letter-spacing:-1px; } }

/* بلیت: editorial date and sentence, matching TicketHero.kt. */
.workspace-mobile[data-page="appointments"][data-app-style="belit"] .mobile-ticket-hero { display:flex; flex-direction:column; gap:0; }
.workspace-mobile[data-page="appointments"][data-app-style="belit"] .mobile-hero-bar { min-height:56px; }
.workspace-mobile[data-page="appointments"][data-app-style="belit"] .mobile-hero-title h1 { font-size:16px; line-height:1.5; }
.workspace-mobile[data-page="appointments"][data-app-style="belit"] .mobile-ticket-date { display:flex; width:fit-content; min-height:66px; align-items:center; gap:12px; color:var(--ink); text-decoration:none; }
.workspace-mobile[data-page="appointments"][data-app-style="belit"] .mobile-ticket-day { display:block; font-size:66px; font-weight:900; line-height:66px; letter-spacing:-.04em; transform-origin:50% 0; }
.workspace-mobile[data-page="appointments"][data-app-style="belit"] .mobile-ticket-date-copy { display:flex; flex-direction:column; gap:2px; padding-inline-start:4px; }
.workspace-mobile[data-page="appointments"][data-app-style="belit"] .mobile-ticket-date-copy strong { font-size:20px; font-weight:900; line-height:1.35; }
.workspace-mobile[data-page="appointments"][data-app-style="belit"] .mobile-ticket-date-copy span { color:var(--muted); font-size:16px; line-height:1.5; }
.workspace-mobile[data-page="appointments"][data-app-style="belit"] .mobile-ticket-summary { margin:12px 0 0; color:var(--ink); font-size:16px; line-height:1.7; overflow-wrap:anywhere; }
.workspace-mobile[data-page="appointments"][data-app-style="belit"] .mobile-ticket-summary strong { font-weight:900; }
.workspace-mobile[data-page="appointments"][data-app-style="belit"] .mobile-ticket-summary .mobile-ticket-pending { color:var(--work-accent); }
.workspace-mobile[data-page="appointments"][data-app-style="belit"] .mobile-ticket-divider { width:100%; height:1px; margin-block-start:12px; background:var(--line); }
@media(prefers-reduced-motion:no-preference) {
  .workspace-mobile[data-page="appointments"][data-app-style="belit"] .mobile-ticket-day { animation:mobile-ticket-day-flip .58s cubic-bezier(.2,1.35,.35,1) both; }
  .workspace-mobile[data-page="appointments"][data-app-style="belit"] .mobile-ticket-date-copy { animation:mobile-appointment-enter-belit .42s cubic-bezier(.2,.75,.25,1.04) 110ms both; }
  .workspace-mobile[data-page="appointments"][data-app-style="belit"] .mobile-ticket-summary { animation:mobile-appointment-enter-belit .42s cubic-bezier(.2,.75,.25,1.04) 165ms both; }
}
@keyframes mobile-ticket-day-flip { from { opacity:0; transform:perspective(600px) rotateX(-100deg); } to { opacity:1; transform:perspective(600px) rotateX(0); } }

/* فیروزه: full-bleed patterned greeting with KPI cards overlapping its lower edge. */
.workspace-mobile[data-page="appointments"][data-app-style="firoozeh"] .mobile-firoozeh-hero { display:grid; gap:0; min-width:0; }
.workspace-mobile[data-page="appointments"][data-app-style="firoozeh"] .mobile-firoozeh-backdrop {
  position:relative; isolation:isolate; overflow:hidden; min-width:0; margin-inline:-12px; padding:4px 12px 48px;
  border-radius:0 0 28px 28px; background:var(--work-hero); color:var(--work-on-hero); box-sizing:border-box;
}
.workspace-mobile[data-page="appointments"][data-app-style="firoozeh"] .mobile-firoozeh-backdrop::before {
  position:absolute; z-index:0; inset:-30%; background-image:
    repeating-linear-gradient(45deg,transparent 0 20px,rgb(255 255 255 / 7%) 20px 21px),
    repeating-linear-gradient(-45deg,transparent 0 20px,rgb(255 255 255 / 7%) 20px 21px);
  background-size:44px 44px; content:""; pointer-events:none;
}
.workspace-mobile[data-page="appointments"][data-app-style="firoozeh"] .mobile-firoozeh-backdrop::after {
  position:absolute; z-index:0; inset:-20% auto -20% -55%; width:38%;
  background:linear-gradient(105deg,transparent,rgb(255 255 255 / 14%),transparent);
  content:""; pointer-events:none;
}
.workspace-mobile[data-page="appointments"][data-app-style="firoozeh"] .mobile-firoozeh-backdrop > * { position:relative; z-index:1; }
.workspace-mobile[data-page="appointments"][data-app-style="firoozeh"] .mobile-firoozeh-bar { min-height:56px; gap:10px; }
.workspace-mobile[data-page="appointments"][data-app-style="firoozeh"] .mobile-firoozeh-mark {
  display:grid; flex:0 0 40px; place-items:center; width:40px; height:40px; border-radius:12px;
  background:var(--work-accent); color:var(--work-on-accent); font-family:Lalezar,Vazirmatn,Tahoma,sans-serif; font-size:20px;
}
.workspace-mobile[data-page="appointments"][data-app-style="firoozeh"] .mobile-firoozeh-title { min-width:0; }
.workspace-mobile[data-page="appointments"][data-app-style="firoozeh"] .mobile-firoozeh-title h1,
.workspace-mobile[data-page="appointments"][data-app-style="firoozeh"] .mobile-firoozeh-title h1 .mobile-business-switch {
  color:var(--work-on-hero)!important; font-size:16px!important; line-height:1.45;
}
.workspace-mobile[data-page="appointments"][data-app-style="firoozeh"] .mobile-firoozeh-title p { color:var(--work-on-hero); }
.workspace-mobile[data-page="appointments"][data-app-style="firoozeh"] .mobile-firoozeh-bar .mobile-hero-search {
  background:rgb(255 255 255 / 14%); color:var(--work-on-hero); border:1px solid rgb(255 255 255 / 12%);
}
.workspace-mobile[data-page="appointments"][data-app-style="firoozeh"] .mobile-firoozeh-bar .mobile-hero-search:focus-visible { outline-color:var(--work-on-hero); }
.workspace-mobile[data-page="appointments"][data-app-style="firoozeh"] .mobile-firoozeh-greeting {
  margin:6px 0 0; color:var(--work-on-hero); font-family:Lalezar,Vazirmatn,Tahoma,sans-serif; font-size:26px; line-height:1.35;
}
.workspace-mobile[data-page="appointments"][data-app-style="firoozeh"] .mobile-firoozeh-next {
  min-width:0; overflow:hidden; margin:0; color:var(--work-on-hero);
  font-size:14px; line-height:1.7; text-overflow:ellipsis; white-space:nowrap;
}
.workspace-mobile[data-page="appointments"][data-app-style="firoozeh"] .mobile-firoozeh-stats {
  position:relative; z-index:2; display:grid; width:100%; min-width:0; grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px; margin:-32px 0 0; box-sizing:border-box;
}
.workspace-mobile[data-page="appointments"][data-app-style="firoozeh"][data-color-mode] .mobile-firoozeh-stats .mobile-firoozeh-stat {
  min-width:0; padding:10px 12px; border:0; border-radius:16px; background:var(--surface); color:var(--ink);
  box-shadow:0 10px 24px color-mix(in srgb,var(--work-hero) 25%,transparent); text-align:start;
}
.workspace-mobile[data-page="appointments"][data-app-style="firoozeh"] .mobile-firoozeh-stat strong {
  display:block; min-width:0; overflow:hidden; font-size:22px; line-height:1.35; text-overflow:ellipsis; white-space:nowrap;
}
.workspace-mobile[data-page="appointments"][data-app-style="firoozeh"] .mobile-firoozeh-stat strong.is-money { font-size:18px; }
.workspace-mobile[data-page="appointments"][data-app-style="firoozeh"] .mobile-firoozeh-stat span {
  display:block; overflow:hidden; color:var(--muted); font-size:11px; line-height:1.45; text-overflow:ellipsis; white-space:nowrap;
}
@media (min-width:361px) {
  .workspace-mobile[data-page="appointments"][data-app-style="firoozeh"] .mobile-firoozeh-backdrop { margin-inline:-16px; padding-inline:16px; }
}
@media (min-width:768px) {
  .workspace-mobile[data-page="appointments"][data-app-style="firoozeh"] .mobile-firoozeh-backdrop { margin-inline:-24px; padding-inline:24px; }
}
@media(prefers-reduced-motion:no-preference) {
  .workspace-mobile[data-page="appointments"][data-app-style="firoozeh"] .mobile-firoozeh-backdrop::before { animation:mobile-firoozeh-pattern 14s linear infinite; }
  .workspace-mobile[data-page="appointments"][data-app-style="firoozeh"] .mobile-firoozeh-backdrop::after { animation:mobile-firoozeh-shine 7s ease-in-out infinite; }
  .workspace-mobile[data-page="appointments"][data-app-style="firoozeh"] .mobile-firoozeh-mark { animation:mobile-firoozeh-mark-in .55s cubic-bezier(.2,1.35,.35,1) both; }
  .workspace-mobile[data-page="appointments"][data-app-style="firoozeh"] .mobile-firoozeh-greeting { animation:mobile-appointment-enter-firoozeh .42s cubic-bezier(.2,.75,.25,1.04) 55ms both; }
  .workspace-mobile[data-page="appointments"][data-app-style="firoozeh"] .mobile-firoozeh-next { animation:mobile-appointment-enter-firoozeh .42s cubic-bezier(.2,.75,.25,1.04) 110ms both; }
  .workspace-mobile[data-page="appointments"][data-app-style="firoozeh"] .mobile-firoozeh-stat { animation:mobile-firoozeh-stat-pop .55s cubic-bezier(.2,1.35,.35,1) calc((var(--firoozeh-stat-index) + 1)*90ms) both; }
  .workspace-mobile[data-page="appointments"][data-app-style="firoozeh"] .mobile-firoozeh-stat:nth-child(1) { --firoozeh-stat-index:2; }
  .workspace-mobile[data-page="appointments"][data-app-style="firoozeh"] .mobile-firoozeh-stat:nth-child(2) { --firoozeh-stat-index:3; }
  .workspace-mobile[data-page="appointments"][data-app-style="firoozeh"] .mobile-firoozeh-stat:nth-child(3) { --firoozeh-stat-index:4; }
}
@keyframes mobile-firoozeh-pattern { to { background-position:44px 44px,-44px 44px; } }
@keyframes mobile-firoozeh-shine { 0%,35% { transform:translateX(0) skewX(-12deg); opacity:0; } 55% { opacity:1; } 100% { transform:translateX(430%) skewX(-12deg); opacity:0; } }
@keyframes mobile-firoozeh-mark-in { from { opacity:0; transform:scale(.7) rotate(-30deg); } to { opacity:1; transform:scale(1) rotate(0); } }
@keyframes mobile-firoozeh-stat-pop { from { opacity:0; transform:scale(.8); } to { opacity:1; transform:scale(1); } }

/* شفق: animated greeting, half-day gauge and live appointment countdown. */
.workspace-mobile[data-page="appointments"][data-app-style="shafagh"] .mobile-shafagh-hero { display:flex; min-width:0; flex-direction:column; gap:12px; }
.workspace-mobile[data-page="appointments"][data-app-style="shafagh"] .mobile-shafagh-bar { width:100%; min-width:0; min-height:56px; box-sizing:border-box; }
.workspace-mobile[data-page="appointments"][data-app-style="shafagh"] .mobile-shafagh-title { flex:1 1 0; min-width:0; }
.workspace-mobile[data-page="appointments"][data-app-style="shafagh"] .mobile-shafagh-date-business { display:flex; min-width:0; align-items:center; gap:3px; }
.workspace-mobile[data-page="appointments"][data-app-style="shafagh"] .mobile-shafagh-date { flex:0 0 auto; max-width:52%; overflow:hidden; color:var(--muted); font-size:12px; text-overflow:ellipsis; white-space:nowrap; }
.workspace-mobile[data-page="appointments"][data-app-style="shafagh"] .mobile-shafagh-date-business .mobile-business-name { flex:1 1 0; min-width:0; font-size:12px!important; font-weight:500; line-height:1.45; }
.workspace-mobile[data-page="appointments"][data-app-style="shafagh"] .mobile-shafagh-date-business .mobile-business-switch { min-width:0; min-height:44px; font-size:12px; font-weight:500; }
.workspace-mobile[data-page="appointments"][data-app-style="shafagh"] .mobile-shafagh-date-business .mobile-business-switch bdi { display:block; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.workspace-mobile[data-page="appointments"][data-app-style="shafagh"] .mobile-shafagh-greeting {
  display:block; width:fit-content; max-width:100%; overflow:hidden; background:linear-gradient(100deg,var(--brand),var(--work-accent),var(--brand));
  background-size:200% 100%; background-clip:text; color:transparent; font-size:22px; font-weight:900; line-height:1.45; text-overflow:ellipsis; white-space:nowrap;
}
.workspace-mobile[data-page="appointments"][data-app-style="shafagh"] .mobile-stats.mobile-shafagh-gauge { display:flex; width:100%; min-width:0; justify-content:center; margin:0; }
.workspace-mobile[data-page="appointments"][data-app-style="shafagh"] .mobile-shafagh-gauge-wrap { position:relative; width:min(220px,100%); height:116px; min-width:0; }
.workspace-mobile[data-page="appointments"][data-app-style="shafagh"] .mobile-shafagh-gauge-wrap svg { position:absolute; inset:0; width:100%; height:100%; overflow:visible; }
.workspace-mobile[data-page="appointments"][data-app-style="shafagh"] .mobile-shafagh-gauge-wrap path { fill:none; stroke-linecap:round; }
.workspace-mobile[data-page="appointments"][data-app-style="shafagh"] .mobile-shafagh-gauge-track { stroke:var(--line); stroke-width:14; }
.workspace-mobile[data-page="appointments"][data-app-style="shafagh"] .mobile-shafagh-gauge-glow { stroke:var(--brand); stroke-width:28; opacity:.25; }
.workspace-mobile[data-page="appointments"][data-app-style="shafagh"] .mobile-shafagh-gauge-start { stop-color:var(--work-accent); }
.workspace-mobile[data-page="appointments"][data-app-style="shafagh"] .mobile-shafagh-gauge-end { stop-color:var(--brand); }
.workspace-mobile[data-page="appointments"][data-app-style="shafagh"] .mobile-shafagh-gauge-value { stroke:url(#mobile-shafagh-gauge-gradient); stroke-width:14; }
.workspace-mobile[data-page="appointments"][data-app-style="shafagh"] .mobile-shafagh-gauge-copy {
  position:absolute; inset-inline:0; bottom:0; display:flex; flex-direction:column; align-items:center; justify-content:flex-end; min-width:0; text-align:center;
}
.workspace-mobile[data-page="appointments"][data-app-style="shafagh"] .mobile-shafagh-gauge-copy strong { color:var(--ink); font-size:42px; font-weight:800; line-height:44px; }
.workspace-mobile[data-page="appointments"][data-app-style="shafagh"] .mobile-shafagh-gauge-copy span { max-width:100%; color:var(--muted); font-size:11px; line-height:1.35; }
.workspace-mobile[data-page="appointments"][data-app-style="shafagh"] .mobile-next-appointment.mobile-shafagh-next {
  position:relative; isolation:isolate; display:block; width:100%; min-width:0; margin:0; padding:1.5px; overflow:hidden;
  border:0; border-radius:20px; background:var(--surface); color:var(--ink); box-shadow:0 14px 28px color-mix(in srgb,var(--brand) 18%,transparent); box-sizing:border-box;
}
.workspace-mobile[data-page="appointments"][data-app-style="shafagh"] .mobile-next-appointment.mobile-shafagh-next[hidden] { display:none; }
.workspace-mobile[data-page="appointments"][data-app-style="shafagh"] .mobile-shafagh-next::before {
  position:absolute; z-index:0; inset:-70%; background:conic-gradient(from 0deg,var(--brand),var(--work-accent),var(--brand),var(--brand));
  content:""; pointer-events:none;
}
.workspace-mobile[data-page="appointments"][data-app-style="shafagh"] .mobile-shafagh-inner {
  position:relative; z-index:1; min-width:0; padding:10px 12px; border-radius:18.5px; background:var(--surface);
}
.workspace-mobile[data-page="appointments"][data-app-style="shafagh"] .mobile-shafagh-next-row { display:flex; min-width:0; align-items:center; gap:10px; }
.workspace-mobile[data-page="appointments"][data-app-style="shafagh"] .mobile-shafagh-next-copy { display:grid; flex:1 1 0; min-width:0; gap:2px; }
.workspace-mobile[data-page="appointments"][data-app-style="shafagh"] .mobile-shafagh-until { display:flex; align-items:center; gap:4px; min-width:0; color:var(--muted); font-size:12px; line-height:1.5; }
.workspace-mobile[data-page="appointments"][data-app-style="shafagh"] .mobile-shafagh-countdown { color:var(--brand); font-weight:700; font-variant-numeric:tabular-nums; }
.workspace-mobile[data-page="appointments"][data-app-style="shafagh"] .mobile-shafagh-person { display:flex; min-width:0; overflow:hidden; color:var(--ink); font-size:14px; line-height:1.5; text-overflow:ellipsis; white-space:nowrap; }
.workspace-mobile[data-page="appointments"][data-app-style="shafagh"] .mobile-shafagh-name { overflow:hidden; font-weight:700; text-overflow:ellipsis; }
.workspace-mobile[data-page="appointments"][data-app-style="shafagh"] .mobile-shafagh-service { overflow:hidden; text-overflow:ellipsis; }
.workspace-mobile[data-page="appointments"][data-app-style="shafagh"] .mobile-shafagh-time { flex:0 0 auto; color:var(--brand); font-size:24px; font-weight:700; line-height:1.3; }
.workspace-mobile[data-page="appointments"][data-app-style="shafagh"] .mobile-shafagh-progress { width:100%; height:4px; margin-block-start:8px; overflow:hidden; border-radius:999px; background:var(--line); direction:rtl; }
.workspace-mobile[data-page="appointments"][data-app-style="shafagh"] .mobile-shafagh-progress-fill {
  position:relative; display:block; height:100%; border-radius:inherit; background:linear-gradient(90deg,var(--work-accent),var(--brand));
}
@media(prefers-reduced-motion:no-preference) {
  .workspace-mobile[data-page="appointments"][data-app-style="shafagh"] .mobile-shafagh-greeting { animation:mobile-shafagh-gradient 6s linear infinite; }
  .workspace-mobile[data-page="appointments"][data-app-style="shafagh"] .mobile-shafagh-gauge-wrap { animation:mobile-appointment-enter-shafagh .42s cubic-bezier(.2,.75,.25,1.04) 55ms both; }
  .workspace-mobile[data-page="appointments"][data-app-style="shafagh"] .mobile-shafagh-gauge-value,
  .workspace-mobile[data-page="appointments"][data-app-style="shafagh"] .mobile-shafagh-gauge-glow { animation:mobile-shafagh-gauge-fill 1.7s cubic-bezier(.4,0,.2,1) 300ms both; }
  .workspace-mobile[data-page="appointments"][data-app-style="shafagh"] .mobile-shafagh-next:not([hidden]) { animation:mobile-appointment-enter-shafagh .42s cubic-bezier(.2,.75,.25,1.04) 110ms both; }
  .workspace-mobile[data-page="appointments"][data-app-style="shafagh"] .mobile-shafagh-next::before { animation:mobile-shafagh-border-spin 4s linear infinite; }
  .workspace-mobile[data-page="appointments"][data-app-style="shafagh"] .mobile-shafagh-progress-fill { transition:width 1s linear; }
  .workspace-mobile[data-page="appointments"][data-app-style="shafagh"] .mobile-shafagh-progress-fill::after {
    position:absolute; inset:0; background:linear-gradient(90deg,transparent,rgb(255 255 255 / 70%),transparent); content:""; animation:mobile-shafagh-progress-shine 1.8s linear infinite;
  }
}
@keyframes mobile-shafagh-gradient { to { background-position:200% 0; } }
@keyframes mobile-shafagh-gauge-fill { from { stroke-dashoffset:323.584; } to { stroke-dashoffset:var(--aurora-target-offset); } }
@keyframes mobile-shafagh-border-spin { to { transform:rotate(360deg); } }
@keyframes mobile-shafagh-progress-shine { from { transform:translateX(-120%); } to { transform:translateX(120%); } }

/* Theme-specific mobile appointment detail heroes, following Compose's AppointmentDetailHero. */
.workspace-mobile .mobile-appointment-detail-hero { display:grid; justify-items:center; gap:8px; min-width:0; padding:16px; margin-block:0 12px; text-align:center; }
.workspace-mobile .mobile-appointment-detail-hero h2 { max-width:100%; margin:0; font-size:20px; line-height:1.45; overflow-wrap:anywhere; }
.workspace-mobile .mobile-appointment-detail-phone { max-width:100%; color:var(--muted); font-size:13px; direction:ltr; overflow-wrap:anywhere; }
.workspace-mobile .mobile-appointment-detail-hero > .appointment-status { margin:2px 0; }
.workspace-mobile .mobile-appointment-detail-actions { display:flex; flex-wrap:wrap; justify-content:center; gap:8px; width:100%; margin-block-start:5px; }
.workspace-mobile .mobile-appointment-detail-action { display:inline-flex; align-items:center; justify-content:center; gap:6px; min-width:48px; min-height:48px; padding:8px 13px; border:1px solid var(--line); border-radius:999px; background:var(--surface); color:var(--brand-dark); font-size:12px; font-weight:600; line-height:1.5; text-decoration:none; }
.workspace-mobile .mobile-appointment-detail-action svg { width:16px; height:16px; flex:none; }
.workspace-mobile .mobile-appointment-detail-action:focus-visible { outline:3px solid var(--focus); outline-offset:2px; }
.workspace-mobile .mobile-appointment-detail-reschedule { cursor:pointer; }
.workspace-mobile .mobile-detail-night-avatar { position:relative; display:grid; place-items:center; width:80px; height:80px; padding:3px; border-radius:50%; background:conic-gradient(from 0deg,var(--brand),var(--work-accent),var(--brand)); }
.workspace-mobile .mobile-appointment-detail-avatar { display:grid; place-items:center; width:100%; height:100%; border-radius:inherit; background:var(--surface); color:var(--ink); font-size:28px; font-weight:800; }
.workspace-mobile .mobile-detail-night-avatar.is-zarrin { background:conic-gradient(from 0deg,var(--work-accent),#f6e3b0,var(--work-accent)); box-shadow:0 0 0 4px color-mix(in srgb,var(--work-accent) 15%,transparent); }
.workspace-mobile .mobile-appointment-detail-summary { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); width:100%; margin:6px 0 0; overflow:hidden; border:1px solid var(--line); border-radius:16px; background:var(--surface); }
.workspace-mobile .mobile-appointment-detail-summary > div { display:grid; align-content:center; gap:4px; min-width:0; min-height:62px; padding:8px 5px; }
.workspace-mobile .mobile-appointment-detail-summary > div+div { border-inline-start:1px solid var(--line); }
.workspace-mobile .mobile-appointment-detail-summary dt { color:var(--muted); font-size:11px; }
.workspace-mobile .mobile-appointment-detail-summary dd { margin:0; overflow:hidden; color:var(--ink); font-size:12px; font-weight:700; text-overflow:ellipsis; white-space:nowrap; }
.workspace-mobile .mobile-appointment-detail-summary.has-service-combo { grid-template-columns:repeat(2,minmax(0,1fr)); }
.workspace-mobile .mobile-appointment-detail-summary.has-service-combo > div:nth-child(2) { grid-column:1/-1; grid-row:2; border-inline-start:0; border-top:1px solid var(--line); }
.workspace-mobile .mobile-appointment-detail-summary.has-service-combo > div:nth-child(3) { grid-column:2; grid-row:1; }
.workspace-mobile .mobile-appointment-detail-summary.has-service-combo > div:nth-child(2) dd { overflow:visible; text-overflow:clip; white-space:normal; overflow-wrap:anywhere; }
.workspace-mobile .mobile-appointment-detail-firoozeh { justify-items:stretch; gap:10px; padding:18px; border-radius:0 0 24px 24px; background:var(--work-hero); color:var(--work-on-hero); text-align:start; }
.workspace-mobile .mobile-detail-firoozeh-head { display:flex; align-items:center; gap:11px; min-width:0; }
.workspace-mobile .mobile-detail-firoozeh-head > .mobile-appointment-detail-avatar { width:56px; height:56px; flex:none; border-radius:18px; background:var(--work-accent); color:var(--work-on-accent); font-size:24px; }
.workspace-mobile .mobile-detail-firoozeh-person { display:grid; flex:1; min-width:0; gap:3px; }
.workspace-mobile .mobile-detail-firoozeh-person h2,.workspace-mobile .mobile-detail-firoozeh-person .mobile-appointment-detail-phone { color:var(--work-on-hero); }
.workspace-mobile .mobile-detail-firoozeh-head > .appointment-status { flex:none; border:1px solid color-mix(in srgb,var(--work-on-hero) 22%,transparent); }
.workspace-mobile .mobile-detail-firoozeh-time { display:flex; align-items:flex-end; flex-wrap:wrap; gap:8px; padding-block:4px; }
.workspace-mobile .mobile-detail-firoozeh-time strong { color:var(--work-on-hero); font-size:34px; line-height:1.15; }
.workspace-mobile .mobile-detail-firoozeh-time span { color:var(--work-on-hero); font-size:11px; line-height:1.6; }
.workspace-mobile .mobile-appointment-detail-firoozeh .mobile-appointment-detail-actions { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; justify-content:stretch; }
.workspace-mobile .mobile-appointment-detail-firoozeh .mobile-appointment-detail-action { display:flex; flex-direction:column; flex:1; gap:4px; min-width:0; min-height:58px; padding:7px 4px; border-color:color-mix(in srgb,var(--work-on-hero) 25%,transparent); background:color-mix(in srgb,var(--work-on-hero) 6%,transparent); color:var(--work-on-hero); border-radius:14px; font-size:11px; }
.workspace-mobile .mobile-appointment-detail-firoozeh .mobile-appointment-detail-action svg { width:18px; height:18px; }
.workspace-mobile .mobile-detail-ticket { position:relative; width:100%; padding:16px 16px 0; border:1px solid var(--line); border-radius:20px; background:var(--surface); text-align:start; }
.workspace-mobile .mobile-detail-ticket-head { display:flex; align-items:flex-start; justify-content:space-between; gap:8px; }
.workspace-mobile .mobile-detail-ticket-head small,.workspace-mobile .mobile-detail-ticket-grid small,.workspace-mobile .mobile-detail-ticket-tear small { display:block; color:var(--muted); font-size:10px; line-height:1.7; }
.workspace-mobile .mobile-detail-ticket-head h2 { font-size:20px; }
.workspace-mobile .mobile-detail-ticket-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; padding-block:14px 16px; }
.workspace-mobile .mobile-detail-ticket-grid > div { display:grid; align-content:start; gap:3px; min-width:0; }
.workspace-mobile .mobile-detail-ticket-grid strong { font-size:13px; overflow-wrap:anywhere; }
.workspace-mobile .mobile-detail-ticket-grid .mobile-detail-ticket-time { font-size:29px; line-height:1.2; }
.workspace-mobile .mobile-detail-ticket-tear { position:relative; display:flex; align-items:center; justify-content:space-between; gap:10px; min-height:64px; margin-inline:-16px; padding:10px 16px; border-top:1px dashed var(--line); }
.workspace-mobile .mobile-detail-ticket-tear::before,.workspace-mobile .mobile-detail-ticket-tear::after { position:absolute; top:-8px; width:16px; height:16px; border:1px solid var(--line); border-radius:50%; background:var(--background); content:""; }
.workspace-mobile .mobile-detail-ticket-tear::before { inset-inline-start:-8px; }
.workspace-mobile .mobile-detail-ticket-tear::after { inset-inline-end:-8px; }
.workspace-mobile .mobile-detail-ticket-tear strong { font-size:16px; letter-spacing:2px; }
.workspace-mobile .mobile-detail-ticket-barcode { position:relative; display:flex; flex:none; width:112px; height:40px; direction:ltr; overflow:visible; opacity:.78; }
.workspace-mobile .mobile-detail-ticket-barcode > i { flex-grow:0; flex-shrink:0; height:100%; }
.workspace-mobile .mobile-detail-ticket-barcode > i.is-bar { background:linear-gradient(90deg,var(--ink) 0 var(--barcode-fill),transparent var(--barcode-fill) 100%); }
@media(prefers-reduced-motion:no-preference) { .workspace-mobile .mobile-detail-ticket-barcode::after { position:absolute; inset-block:-4px; inset-inline-start:0; width:2px; background:var(--work-accent,#c42e46); box-shadow:0 0 8px color-mix(in srgb,var(--work-accent,#c42e46) 70%,transparent); content:""; animation:mobile-ticket-scan 2s cubic-bezier(.4,0,.2,1) infinite alternate; } }
@keyframes mobile-ticket-scan { to { inset-inline-start:calc(100% - 2px); } }
.workspace-mobile .mobile-appointment-detail-belit > .mobile-appointment-detail-actions { margin-block:8px 2px; }
.workspace-mobile .mobile-appointment-detail-meh { gap:3px; padding-block:12px 16px; }
.workspace-mobile .mobile-appointment-detail-meh > .appointment-status { margin:0 0 2px; }
.workspace-mobile .mobile-appointment-detail-meh .mobile-detail-meh-time { max-width:100%; color:var(--brand); font-size:clamp(54px,18vw,82px); font-weight:300; line-height:1.12; letter-spacing:2px; font-variant-numeric:tabular-nums; }
.workspace-mobile .mobile-appointment-detail-meh .mobile-detail-meh-day { color:var(--muted); font-size:12px; }
.workspace-mobile .mobile-appointment-detail-meh h2 { margin-block-start:8px; font-size:21px; font-weight:600; }
.workspace-mobile .mobile-appointment-detail-meh .mobile-appointment-detail-actions { margin-block-start:10px; }
.workspace-mobile .mobile-detail-shafagh-avatar { position:relative; display:grid; place-items:center; width:88px; height:88px; border-radius:50%; background:conic-gradient(var(--brand),var(--work-secondary),var(--work-accent),var(--brand)); }
.workspace-mobile .mobile-detail-shafagh-avatar::before { position:absolute; inset:-5px; border:1px solid color-mix(in srgb,var(--brand) 40%,transparent); border-radius:50%; content:""; }
.workspace-mobile .mobile-detail-shafagh-avatar .mobile-appointment-detail-avatar { width:80px; height:80px; border:3px solid var(--background); }
.workspace-mobile .mobile-detail-shafagh-time { color:var(--brand); font-size:56px; font-weight:800; line-height:1.15; font-variant-numeric:tabular-nums; }
.workspace-mobile .mobile-detail-shafagh-copy { color:var(--muted); font-size:12px; line-height:1.7; }
.workspace-mobile .mobile-detail-step-card { width:100%; margin-block-start:8px; padding:12px 10px 8px; border:1px solid var(--line); border-radius:16px; background:var(--surface); }
.workspace-mobile .mobile-detail-step-closed { margin:0; color:var(--muted); font-size:12px; }
.workspace-mobile .mobile-detail-step-list.is-horizontal { display:flex; flex-direction:row-reverse; list-style:none; margin:0; padding:0; }
.workspace-mobile .mobile-detail-step-list.is-horizontal li { position:relative; display:grid; flex:1; justify-items:center; gap:5px; min-width:0; padding-block-start:17px; color:var(--muted); font-size:9px; line-height:1.4; text-align:center; }
.workspace-mobile .mobile-detail-step-list.is-horizontal li::before { position:absolute; z-index:1; top:0; left:50%; width:10px; height:10px; border:2px solid var(--line); border-radius:50%; background:var(--surface); content:""; transform:translateX(-50%); }
.workspace-mobile .mobile-detail-step-list.is-horizontal li:not(:first-child)::after { position:absolute; top:5px; inset-inline-end:50%; width:100%; height:2px; background:var(--line); content:""; }
.workspace-mobile .mobile-detail-step-list.is-horizontal li.is-done { color:var(--ink); }
.workspace-mobile .mobile-detail-step-list.is-horizontal li.is-done::before { border-color:var(--brand); background:var(--brand); }
.workspace-mobile .mobile-detail-step-list.is-horizontal li.is-done::after { background:var(--brand); }
.workspace-mobile .mobile-detail-step-list.is-horizontal li.is-current { color:var(--ink); font-weight:700; }
.workspace-mobile .mobile-detail-step-list.is-horizontal li.is-current::before { border-color:var(--work-accent); background:var(--work-accent); }
.workspace-mobile .mobile-detail-step-list.is-horizontal li.is-current::after { background:var(--brand); }
.workspace-mobile .mobile-detail-step-card.is-vertical { margin-block:8px 0; }
.workspace-mobile .mobile-detail-step-card.is-vertical h2 { margin:0 0 7px; font-size:14px; }
.workspace-mobile .mobile-detail-step-list.is-vertical { display:grid; list-style:none; margin:0; padding:0; }
.workspace-mobile .mobile-detail-step-list.is-vertical li { position:relative; display:flex; align-items:center; min-height:36px; padding-inline-start:28px; color:var(--muted); font-size:12px; }
.workspace-mobile .mobile-detail-step-list.is-vertical li::before { position:absolute; inset-inline-start:0; width:12px; height:12px; border:2px solid var(--line); border-radius:50%; background:var(--surface); content:""; }
.workspace-mobile .mobile-detail-step-list.is-vertical li:not(:last-child)::after { position:absolute; inset-inline-start:5px; top:18px; width:2px; height:36px; background:var(--line); content:""; }
.workspace-mobile .mobile-detail-step-list.is-vertical li.is-done { color:var(--ink); }
.workspace-mobile .mobile-detail-step-list.is-vertical li.is-done::before { border-color:var(--brand); background:var(--brand); }
.workspace-mobile .mobile-detail-step-list.is-vertical li.is-done::after { background:var(--brand); }
.workspace-mobile .mobile-detail-step-list.is-vertical li.is-current { color:var(--ink); font-weight:700; }
.workspace-mobile .mobile-detail-step-list.is-vertical li.is-current::before { border-color:var(--work-accent); background:var(--work-accent); }
.workspace-mobile .mobile-detail-step-list.is-vertical li.is-current::after { background:var(--brand); }
.workspace-mobile .mobile-appointment-detail-shafagh .mobile-appointment-detail-actions { margin-block-start:5px; }
@media(max-width:360px) {
  .workspace-mobile .mobile-appointment-detail-hero { padding-inline:12px; }
  .workspace-mobile .mobile-detail-ticket-grid { gap:8px; }
  .workspace-mobile .mobile-detail-ticket-grid .mobile-detail-ticket-time { font-size:25px; }
  .workspace-mobile .mobile-detail-firoozeh-time span { flex-basis:100%; }
  .workspace-mobile .mobile-detail-step-list.is-horizontal li { font-size:8px; }
}
@media(prefers-reduced-motion:no-preference) {
  .workspace-mobile .mobile-detail-night-avatar:not(.is-zarrin) { animation:mobile-detail-ring-spin 7s linear infinite; }
  .workspace-mobile .mobile-detail-night-avatar.is-zarrin { animation:mobile-detail-gold-glow 3.2s ease-in-out infinite alternate; }
  .workspace-mobile .mobile-detail-ticket { animation:mobile-detail-ticket-in .38s cubic-bezier(.2,.7,.25,1.02) both; }
  .workspace-mobile .mobile-detail-shafagh-avatar { animation:mobile-detail-ring-spin 6s linear infinite; }
  .workspace-mobile .mobile-detail-step-list.is-horizontal li.is-current::before { animation:mobile-detail-step-pulse 1.8s ease-out infinite; }
}
@media(prefers-reduced-motion:reduce) {
  .workspace-mobile .mobile-detail-night-avatar,.workspace-mobile .mobile-detail-ticket,.workspace-mobile .mobile-detail-shafagh-avatar,.workspace-mobile .mobile-detail-step-list li::before { animation:none!important; }
  .workspace-mobile .mobile-appointment-detail-action { scroll-behavior:auto; transition:none; }
}
@keyframes mobile-detail-ring-spin { to { transform:rotate(360deg); } }
@keyframes mobile-detail-gold-glow { from { box-shadow:0 0 0 4px color-mix(in srgb,var(--work-accent) 12%,transparent); } to { box-shadow:0 0 0 5px color-mix(in srgb,var(--work-accent) 28%,transparent),0 0 18px color-mix(in srgb,var(--work-accent) 30%,transparent); } }
@keyframes mobile-detail-ticket-in { from { opacity:0; transform:translateY(14px) rotate(1deg); } to { opacity:1; transform:translateY(0) rotate(0); } }
@keyframes mobile-detail-step-pulse { 0% { box-shadow:0 0 0 0 color-mix(in srgb,var(--work-accent) 45%,transparent); } 100% { box-shadow:0 0 0 7px transparent; } }
@media(prefers-reduced-motion:no-preference) { .workspace-mobile .mobile-detail-step-list.is-vertical li.is-current::before { animation:mobile-detail-step-pulse 1.8s ease-out infinite; } }

/* Manual booking follows the Android day-chip and free-time-chip flow. */
.workspace-mobile .mobile-appointment-days,
.workspace-mobile .mobile-appointment-times,
.workspace-mobile .mobile-appointment-choice { min-width:0; margin:0; padding:0; border:0; }
.workspace-mobile .mobile-appointment-days legend,
.workspace-mobile .mobile-appointment-times legend,
.workspace-mobile .mobile-appointment-choice legend { margin-block-end:6px; color:var(--ink); font-size:14px; font-weight:700; }
.workspace-mobile .work-field[hidden] { display:none !important; }
.workspace-mobile .mobile-appointment-choice-list { display:flex; flex-wrap:wrap; gap:8px; min-width:0; }
.workspace-mobile .mobile-appointment-choice-chip { min-height:48px; max-width:100%; padding:8px 14px; border-radius:14px; line-height:1.35; transition:background-color .18s ease,color .18s ease,border-color .18s ease,transform .18s ease; }
.workspace-mobile .mobile-appointment-choice-chip[aria-pressed=true],
.workspace-mobile .mobile-appointment-choice-chip[aria-pressed=true]:hover { border-color:var(--brand); background:var(--brand); color:var(--work-on-brand,#fff); }
.workspace-mobile .mobile-appointment-service-summary { margin:8px 0 0; color:var(--muted); font-size:12px; line-height:1.6; }
.workspace-mobile .mobile-appointment-service-summary[hidden] { display:none !important; }
.workspace-mobile .mobile-appointment-day-list { display:flex; gap:8px; min-width:0; overflow-x:auto; padding:2px 2px 8px; overscroll-behavior-inline:contain; scroll-snap-type:x proximity; scrollbar-width:thin; }
.workspace-mobile .mobile-appointment-day-chip { display:flex; flex:0 0 auto; align-items:center; justify-content:center; gap:7px; min-width:90px; min-height:48px; padding:7px 10px; border-radius:14px; scroll-snap-align:start; transition:background-color .18s ease,color .18s ease,border-color .18s ease,transform .18s ease; }
.workspace-mobile .mobile-appointment-day-chip span { color:var(--muted); font-size:12px; line-height:1.4; }
.workspace-mobile .mobile-appointment-day-chip strong { color:inherit; font-size:13px; line-height:1.3; white-space:nowrap; }
.workspace-mobile .mobile-appointment-day-chip[aria-pressed=true],
.workspace-mobile .mobile-appointment-day-chip[aria-pressed=true]:hover { border-color:var(--brand); background:var(--brand); color:var(--work-on-brand,#fff); }
.workspace-mobile .mobile-appointment-day-chip[aria-pressed=true] span { color:var(--work-on-brand,#fff); }
.workspace-mobile .appointment-slot-state { min-height:24px; margin:0 0 6px; font-size:12px; }
.workspace-mobile .appointment-slot-retry { min-height:48px; margin-block-end:6px; }
.workspace-mobile .appointment-slot-retry[hidden] { display:none; }
.workspace-mobile .appointment-slot-chips { display:flex; flex-wrap:wrap; gap:8px; }
.workspace-mobile .appointment-slot-chip { flex:0 0 64px; min-height:48px; padding:8px 6px; border-radius:14px; font-variant-numeric:tabular-nums; }
.workspace-mobile .appointment-slot-chip[aria-pressed=true],
.workspace-mobile .appointment-slot-chip[aria-pressed=true]:hover { border-color:var(--brand); background:var(--brand); color:var(--work-on-brand,#fff); }
.workspace-mobile .mobile-appointment-day-chip:focus-visible,
.workspace-mobile .appointment-slot-chip:focus-visible,
.workspace-mobile .mobile-appointment-choice-chip:focus-visible { outline:3px solid var(--focus); outline-offset:2px; }
@media(max-width:360px) {
  .workspace-mobile .mobile-appointment-day-chip { min-width:84px; }
  .workspace-mobile .mobile-appointment-choice-list { gap:6px; }
  .workspace-mobile .mobile-appointment-choice-chip { min-height:48px; padding-inline:12px; }
  .workspace-mobile .appointment-slot-chips { gap:6px; }
  .workspace-mobile .appointment-slot-chip { flex-basis:calc((100% - 18px)/4); }
}
@media(prefers-reduced-motion:reduce) {
  .workspace-mobile .mobile-appointment-day-chip,
  .workspace-mobile .mobile-appointment-choice-chip { scroll-behavior:auto; transition:none; }
}

/* Temporary closures use the same focused date/staff chips as Compose's add dialog. */
.workspace-mobile .schedule-closed-dialog { width:min(600px,calc(100vw - 24px)); max-width:600px; max-height:min(90dvh,760px); margin:auto; padding:20px; overflow:auto; border:1px solid var(--line); border-radius:20px; color:var(--ink); background:var(--surface); }
.workspace-mobile .schedule-closed-dialog::backdrop { background:rgb(20 16 35 / 42%); backdrop-filter:blur(3px); }
.workspace-mobile .schedule-closed-dialog h2 { margin:0 0 12px; font-size:18px; }
.workspace-mobile .schedule-closed-dialog .work-form { display:grid; gap:14px; }
.workspace-mobile .schedule-closed-dialog fieldset { min-width:0; margin:0; padding:0; border:0; }
.workspace-mobile .schedule-closed-dialog legend { margin-bottom:6px; color:var(--ink); font-size:13px; font-weight:700; }
.workspace-mobile .schedule-closed-date-list,.workspace-mobile .schedule-closed-staff-list { display:flex; gap:8px; min-width:0; overflow-x:auto; padding:2px 2px 8px; overscroll-behavior-inline:contain; scrollbar-width:thin; }
.workspace-mobile .schedule-closed-date-chip { display:flex; flex:0 0 82px; flex-direction:column; align-items:center; justify-content:center; gap:2px; min-height:56px; padding:6px 4px; border-radius:14px; }
.workspace-mobile .schedule-closed-date-chip span { color:var(--muted); font-size:11px; line-height:1.35; }
.workspace-mobile .schedule-closed-date-chip strong { font-size:12px; line-height:1.35; }
.workspace-mobile .schedule-closed-date-chip[aria-pressed=true],.workspace-mobile .schedule-closed-staff-chip[aria-pressed=true] { border-color:var(--brand); background:var(--brand); color:var(--work-on-brand,#fff); }
.workspace-mobile .schedule-closed-date-chip[aria-pressed=true] span { color:var(--work-on-brand,#fff); }
.workspace-mobile .schedule-closed-staff-chip { flex:0 0 auto; min-height:48px; padding-inline:14px; border-radius:14px; }
.workspace-mobile .schedule-closed-full-toggle { min-height:48px; align-items:center; }
.workspace-mobile .schedule-closed-dialog :is(.schedule-closed-date-chip,.schedule-closed-staff-chip):focus-visible { outline:3px solid var(--focus); outline-offset:2px; }
@media(max-width:360px) { .workspace-mobile .schedule-closed-dialog { padding:16px; } .workspace-mobile .schedule-closed-date-chip { flex-basis:76px; } }
@media(prefers-reduced-motion:no-preference) { .workspace-mobile .schedule-closed-dialog[open] { animation:mobile-closed-dialog-in .18s ease-out both; } }
@keyframes mobile-closed-dialog-in { from { opacity:0; transform:translateY(8px) scale(.985); } to { opacity:1; transform:none; } }
@media(prefers-reduced-motion:reduce) { .workspace-mobile .schedule-closed-dialog[open] { animation:none; } }

/* Keep text readable over theme-colored mobile dashboard and detail surfaces. */
.workspace-mobile[data-page="appointments"][data-app-style="shabnama"] .mobile-night-ring-label strong,
.workspace-mobile[data-page="appointments"][data-app-style="shabnama"] .mobile-night-ring-label small { color:var(--work-on-brand); }
.workspace-mobile[data-page="appointments"][data-app-style="shafagh"] .mobile-shafagh-countdown { color:var(--brand-dark); }
.workspace-mobile[data-page="appointments"][data-app-style="shafagh"] .mobile-shafagh-gauge-copy strong { color:var(--work-on-hero); }
.workspace-mobile .mobile-appointment-detail-firoozeh .mobile-appointment-detail-action { background:color-mix(in srgb,#000 8%,transparent); }

