/* GukUp mobile: one clear task, readable content, comfortable touch targets.
   Loaded last in both hosts. Public websites and desktop keep their own design. */
.app-header, .desk-notices { display: contents; }
.auth-toolbar { align-self: flex-end; margin-bottom: 1rem; }
.content > .dh-days { margin-bottom: .6rem; }
@media screen and (max-width: 860px) {
  :root[data-theme="anadolu"] body:has(.shell, .auth, .term-shell) {
    --bg: #f4f7f5;
    --surface: #ffffff;
    --surface-2: #edf2ef;
    --primary-soft: #e3f1eb;
    --ink: #193b33;
    --muted: #60746b;
    --line: #e0e8e3;
    --line-strong: #bdcec4;
    --radius: 16px;
    --radius-sm: 12px;
    --shadow: none;
    --shadow-lg: 0 16px 48px rgb(16 42 32 / .16);
    --display: var(--font);
  }

  body:has(.shell, .auth, .term-shell) { background: var(--bg); }
  body:has(.drawer-open) { overflow: hidden; }
  .shell { --bnav-h: calc(76px + env(safe-area-inset-bottom)) !important; }
  .shell .desktop-only { display: none !important; }
  .shell .main { min-width: 0; width: 100%; padding-top: var(--topbar-h, 72px); }
  .shell .content, .term-content { min-width: 0; padding: 22px 16px calc(100px + env(safe-area-inset-bottom)); }
  .shell .app-header { display: block; position: fixed; top: 0; left: 0; right: 0; z-index: 40; background: var(--surface); }

  /* App bar has identity, search and account; daily tasks live in the bottom bar. */
  .shell .topbar {
    position: static;
    flex-shrink: 0;
    height: auto;
    min-height: calc(72px + env(safe-area-inset-top));
    padding: calc(10px + env(safe-area-inset-top)) 16px 10px;
    gap: 8px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    backdrop-filter: none;
  }
  .shell .topbar .crumb { display: grid; min-width: 0; gap: 3px; flex: 1; }
  .shell .crumb span { font-size: 10px; font-weight: 700; letter-spacing: .09em; color: var(--muted); }
  .shell .crumb strong { font-size: 14px; text-align: start; line-height: 1.4; }
  .shell .topbar > .gsearch, .shell .topbar > .grow { display: none; }
  .shell .icon-btn { width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0; }
  .shell .topbar .avatar-btn { width: 40px; height: 40px; flex-shrink: 0; border: 1px solid var(--line); background: var(--primary-soft); color: var(--primary); font-size: 13px; }
  .mobile-search-panel { padding: 12px 16px; background: var(--surface); border-bottom: 1px solid var(--line); }
  .mobile-search-panel .gsearch { width: 100%; flex: 1; margin: 0; border-radius: 12px; padding-inline: 12px; }
  .mobile-search-panel .gsearch input { min-height: 46px; font-size: 16px; }
  .mobile-search-panel .gsearch > input, .mobile-search-panel .gsearch > .icon { position: relative; z-index: 61; }
  .mobile-search-panel .gs-backdrop { top: calc(72px + env(safe-area-inset-top)); bottom: var(--bnav-h); }
  .mobile-search-panel .gs-results { position: absolute; top: calc(100% + 8px); left: 0; right: 0; border-radius: 14px; box-shadow: var(--shadow-lg); max-height: 60dvh; }
  .mobile-search-panel .gs-results button { min-height: 48px; padding: 12px 8px; }

  /* Five or fewer stable destinations with a distinct selected state. */
  .shell .bottom-nav {
    min-height: var(--bnav-h);
    padding: 6px max(8px, env(safe-area-inset-right)) max(6px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));
    background: var(--surface);
    border-top: 1px solid var(--line);
    box-shadow: 0 -4px 24px rgb(16 42 32 / .04);
  }
  .shell .bottom-item { position: relative; justify-content: center; gap: 3px; min-width: 0; padding: 0 2px; color: var(--muted); font-size: 11px; font-weight: 600; }
  .shell .bottom-item > .icon { box-sizing: content-box; width: 21px; height: 21px; padding: 5px 14px; border-radius: 18px; }
  .shell .bottom-item.active { color: var(--primary); font-weight: 800; }
  .shell .bottom-item.active > .icon { background: var(--primary-soft); }
  .shell .bottom-item .nav-badge { position: absolute; top: 1px; left: calc(50% + 8px); right: auto; min-width: 17px; height: 17px; padding: 0 4px; border: 2px solid var(--surface); border-radius: 10px; font-size: 9px; background: var(--primary); color: white; }

  /* Navigation drawer uses the same calm surfaces as the content. */
  .shell .sidebar { width: min(340px, 90vw); height: 100dvh; padding-top: env(safe-area-inset-top); background: var(--surface); color: var(--ink); border-right: 1px solid var(--line); }
  .shell .brand-row { padding: 22px 20px 14px; }
  .shell .wordmark { color: var(--primary); font-size: 32px; letter-spacing: -2px; }
  .shell .brand-row .icon-btn, .shell .user-card .icon-btn { color: var(--muted); }
  .shell .manifesto, .shell .pattern { display: none; }
  .shell .ws-picker { margin: 8px 20px 16px; color: var(--ink); }
  .shell .ws-picker span { color: var(--muted); font-size: 10px; letter-spacing: .06em; }
  .shell .ws-picker select, .shell .ws-picker strong { min-height: 44px; border: 1px solid var(--line); border-radius: 12px; background-color: var(--bg); color: var(--ink); font-size: 13px; }
  .shell .nav { padding: 0 10px 12px; }
  .shell .nav-item, .shell .nav-item.compact { min-height: 48px; margin: 3px 0; padding: 8px 12px; grid-template-columns: 28px 1fr; border-radius: 12px; color: var(--ink); font-size: 14px; font-weight: 600; }
  .shell .nav-item.active, .shell .nav-item.compact.active { background: var(--primary-soft); color: var(--primary); }
  .shell .nav-item::before { display: none; }
  .shell .nav-title { margin: 20px 12px 8px; color: var(--muted); font-size: 10px; }
  .shell .nav-group { margin-top: 8px; min-height: 44px; padding: 10px 12px; color: var(--muted); letter-spacing: .06em; }
  .shell .mobile-preferences { flex-direction: column; flex-shrink: 0; padding: 8px 20px; border-top: 1px solid var(--line); }
  .mobile-preferences button { display: flex; align-items: center; gap: 12px; min-height: 44px; background: none; border: 0; color: var(--ink); font: inherit; font-size: 13px; cursor: pointer; text-align: start; }
  .shell .user-card { grid-template-columns: 36px minmax(0, 1fr); padding: 14px 20px max(14px, env(safe-area-inset-bottom)); background: var(--bg); border-top: 1px solid var(--line); }
  .shell .user-card .who strong { font-size: 13px; }
  .shell .user-card .who small { color: var(--muted); font-size: 11px; }
  .shell .user-actions { grid-column: 1 / -1; justify-content: space-between; width: 100%; }

  /* Shared type, fields and surfaces. Rem values retain the large text preference. */
  .shell h1, .auth h1, .form-page h1 { font-family: var(--font); font-size: 1.6rem; font-weight: 750; letter-spacing: -.04em; line-height: 1.2; }
  .shell .page-head, .shell .cu-head { position: static; padding: 0; margin-bottom: 22px; border: 0; gap: 16px; background: transparent; }
  .shell .page-head::after, .shell .page-head > div:first-child::before { display: none; }
  .shell .page-head p, .shell .cu-head p { font-size: .875rem; line-height: 1.5; margin-top: 6px; }
  :is(.shell, .auth, .form-page, .modal) label { font-size: .8125rem; font-weight: 600; letter-spacing: 0; text-transform: none; }
  :is(.shell, .auth, .form-page, .modal) :is(input, select, textarea) { min-width: 0; min-height: 48px; border-radius: 12px; font-size: 16px; background-color: var(--surface); }
  :is(.shell, .auth, .form-page, .modal) input[type="checkbox"] { min-height: 0; width: 20px; height: 20px; border-radius: 5px; }
  :is(.shell, .auth, .form-page, .modal) .btn { min-height: 44px; border-radius: 12px; clip-path: none; font-size: .875rem; font-weight: 650; padding: 10px 16px; box-shadow: none; }
  :is(.shell, .auth, .form-page, .modal) .btn.primary { background: var(--primary); border-color: var(--primary); color: #fff; }
  :is(.shell, .auth, .form-page, .modal) .btn.primary:hover { background: var(--primary-strong); }
  .shell :is(.card, .stat, .res-card, .setting-link.card, .cal-scroll, .pos-catalog, .pos-ticket) { border: 1px solid var(--line); border-radius: 16px; box-shadow: none; }
  .shell .stat::after { display: none; }
  .shell .stat-label { font-size: .8125rem; }
  .shell .stat-value { font-size: 1.5rem; }
  .shell .hero-card { border-radius: 18px; box-shadow: none; padding: 22px; }
  .shell .hero-card::after { display: none; }
  .shell .big-number { font-family: var(--font); font-weight: 750; font-size: 2rem; }
  .shell .tabs { position: static; flex-wrap: nowrap; overflow-x: auto; gap: 8px; scrollbar-width: none; margin-bottom: 20px; }
  .shell .tab { flex-shrink: 0; min-height: 44px; white-space: nowrap; padding-inline: 12px; }
  .shell .segmented { border-radius: 12px; padding: 4px; background: var(--surface-2); gap: 4px; }
  .shell .segmented button { min-height: 38px; border-radius: 9px; box-shadow: none; }
  .shell .segmented button.on { box-shadow: 0 1px 4px rgb(16 42 32 / .08); }
  .shell :is(.alert, .banner, .note) { border-radius: 12px; font-size: .875rem; }
  .shell .license-strip { padding: 10px 16px; font-size: 12px; gap: 8px; line-height: 1.5; flex-wrap: wrap; }

  /* Calendar hierarchy: title + main action, view tools, week, appointment cards. */
  .shell .desk-head { gap: 18px; margin-bottom: 24px; }
  .shell .dh-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 18px 10px; }
  .shell .dh-title { display: block; }
  .shell .dh-title h1 { font-size: 1.6rem; }
  .shell .dh-title p { font-size: .8125rem; line-height: 1.5; margin-top: 5px; }
  .shell .dh-actions { grid-column: 2; grid-row: 1; width: auto; align-items: center; gap: 6px; }
  .shell .dh-actions > .btn { flex: none; min-width: 0; padding: 10px 12px; }
  .shell .dh-more { display: block !important; position: relative; }
  .shell .dh-more summary { margin: 0; padding: 10px; width: 44px; list-style: none; }
  .dh-more summary::-webkit-details-marker { display: none; }
  .shell .more-pop { border-radius: 14px; border-color: var(--line); box-shadow: var(--shadow-lg); z-index: 50; }
  .dh-more .more-pop button { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 48px; padding: 12px; border: 0; background: transparent; color: var(--ink); font: inherit; font-size: 14px; text-align: start; cursor: pointer; }
  .dh-more .more-pop button:hover { background: var(--surface-2); }
  .shell .dh-tools { grid-column: 1 / -1; grid-row: 2; width: 100%; margin: 0; gap: 8px; }
  .shell .dh-tools .segmented { flex: 1 1 auto; }
  .shell .dh-tools .segmented button { font-size: .8125rem; padding-inline: 12px; }
  .shell .dh-search-btn { border: 1px solid var(--line); background: var(--surface); }
  .shell .dh-search { flex-basis: 100%; border-radius: 12px; }
  .shell .dh-days { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; gap: 4px; align-items: center; }
  .shell .content > .dh-days { position: sticky; top: var(--topbar-h, 72px); z-index: 24; margin: 0 -16px 20px; padding: 12px 16px; background: var(--bg); border-bottom: 1px solid var(--line); }
  .shell .dh-days > .icon-btn { grid-row: 1; width: 44px; height: 44px; background: var(--surface); border: 1px solid var(--line); }
  .shell .dh-days > .icon-btn:first-child { grid-column: 1; }
  .shell .dh-days > .icon-btn:nth-of-type(2) { grid-column: 3; }
  .shell .dh-strip { grid-column: 1 / -1; grid-row: 2; grid-template-columns: repeat(7, minmax(44px, 1fr)); width: 100%; min-width: 0; gap: 4px; overflow-x: auto; margin-top: 8px; }
  .shell .dh-strip button { min-height: 64px; padding: 7px 0; gap: 4px; border: 0; border-radius: 12px; background: transparent; }
  .shell .dh-strip button small { font-size: 9px; letter-spacing: 0; text-transform: none; font-weight: 600; }
  .shell .dh-strip button strong { font-size: 1.0625rem; }
  .shell .dh-strip button i { min-height: 4px; font-size: 0; }
  .shell .dh-strip button i:not(:empty) { width: 4px; height: 4px; border-radius: 50%; background: var(--muted); }
  .shell .dh-strip button.today:not(.on) { background: var(--primary-soft); }
  .shell .dh-strip button.on { background: var(--primary); color: #fff; box-shadow: none; }
  .shell .dh-strip button.on small { color: #fff; }
  .shell .dh-strip button.on i:not(:empty) { background: #fff; }
  .shell .dh-date { display: block; grid-column: 2; grid-row: 1; width: 100%; min-height: 44px; margin: 0; padding: 8px 12px; background-color: var(--surface); color: var(--muted); }
  .shell .desk-side { gap: 12px; padding: 0; }
  .shell .bk-group { min-height: 32px; margin: 4px 0 0; font-size: 11px; letter-spacing: .06em; }
  .shell .bk-group span { font-size: 12px; font-weight: 500; }
  .shell .desk.list-only .bk { grid-template-columns: 54px minmax(0, 1fr); padding: 16px 14px; gap: 6px 12px; border: 1px solid var(--line); border-left: 3px solid var(--info); border-radius: 14px; background: var(--surface); box-shadow: none; }
  .shell .desk.list-only .bk.pending { border-left-color: var(--warn); }
  .shell .desk.list-only .bk.completed { border-left-color: var(--ok); }
  .shell .desk.list-only .bk.cancelled, .shell .desk.list-only .bk.noshow { border-left-color: var(--muted); }
  .shell .bk-time { padding-top: 2px; font-size: 1rem; font-weight: 750; }
  .shell .bk-time small { margin-top: 5px; font-size: 11px; color: var(--muted); }
  .shell .bk-line strong { font-size: .9375rem; font-weight: 700; }
  .shell .bk-meta { gap: 6px; margin-top: 7px; font-size: .8125rem; line-height: 1.5; }
  .shell .bk-meta .tag { border: 0; background: transparent; padding: 0; font-size: 11px; color: var(--muted); white-space: normal; }
  .shell .bk-meta .tag.src { padding-inline-start: 6px; border-left: 1px solid var(--line-strong); }
  .shell .bk-meta .tag.warn { color: var(--warn); background: var(--warn-soft); border-radius: 6px; padding: 2px 6px; }
  .shell .desk.list-only .bk-act { grid-column: 2; justify-content: flex-start; margin-top: 6px; gap: 6px; }
  .shell .bk-act .btn { min-width: 0; min-height: 44px; padding: 8px 14px; background: var(--primary-soft); color: var(--primary); border-color: transparent; font-size: .8125rem; }
  .shell .bk-act .btn.danger { color: var(--danger); background: var(--danger-soft); }
  .shell .bk-note { margin-top: 10px; padding: 8px 10px; border-radius: 8px; font-size: .8125rem; }
  .shell .bk-empty { border-radius: 16px; padding: 32px 20px; background: var(--surface); }

  /* Directory and common forms use single, readable content columns. */
  .shell .cu-head { align-items: center; }
  .shell .cu-head-actions { gap: 6px; }
  .shell .cu-head-actions .btn { padding-inline: 12px; }
  .shell .cu-search, .shell .search-box { border-radius: 12px; background: var(--surface); }
  .shell .cu-filters { gap: 12px; margin-block: 16px; }
  .shell .cu-segments { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
  .shell .cu-segments button { flex-shrink: 0; min-height: 44px; padding: 8px 14px; border-radius: 24px; font-size: .8125rem; }
  .shell .cu-table { border: 0; background: transparent; box-shadow: none; }
  .shell .cu-row:not(.cu-th) { margin-bottom: 10px; padding: 16px 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
  .shell .cu-who { gap: 10px; min-width: 0; }
  .shell .cu-who strong { font-size: .9375rem; }
  .shell .cu-who small { overflow-wrap: anywhere; }
  .shell .cu-quick { flex-direction: column; }
  .shell .att { padding: 14px; margin-bottom: 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
  .shell .att-head { align-items: center; margin: 0; gap: 8px; }
  .shell .att-head > div { min-width: 0; flex: 1; }
  .shell .att-head h2 { font-size: .875rem; line-height: 1.5; }
  .shell .att-head h2 .icon { width: 18px; height: 18px; }
  .shell .att-head p { font-size: .75rem; line-height: 1.5; }
  .shell .att-toggle { flex-shrink: 0; }
  .shell .att:not(.expanded) .att-grid, .shell .att:not(.expanded) .att-all { display: none; }
  .shell .att.expanded .att-head { margin-bottom: 16px; }
  .shell .att-loading { min-height: 64px; }
  .shell .att-act { flex-wrap: wrap; }
  .shell .att-card { border-radius: 14px; box-shadow: none; }
  .shell .settings-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  /* Sale entry follows the same visual rhythm; products remain touchable. */
  .shell .ps { gap: 14px; }
  .shell .ps-head { padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); color: var(--ink); box-shadow: none; gap: 16px; }
  .shell .ps-title strong { font-family: var(--font); font-size: 1.4rem; font-weight: 750; }
  .shell .ps-title span { margin-top: 5px; color: var(--muted); opacity: 1; font-size: 12px; }
  .shell .ps-back { min-height: 44px; color: var(--primary); background: var(--primary-soft); border-radius: 10px; }
  .shell .ps-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .shell .ps-fact { min-width: 0; max-width: none; min-height: 56px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--ink); }
  .shell .ps-fact.ask { border-color: var(--primary); background: var(--primary-soft); }
  .shell .ps-fact small { color: var(--muted); font-size: 10px; font-weight: 600; letter-spacing: .04em; }
  .shell .ps-fact b { font-size: 13px; }
  .shell .ps-fact.status { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; min-height: 24px; padding: 0 4px; border: 0; background: transparent; }
  .shell .ps-tabs { border-radius: 12px; padding: 4px; gap: 4px; }
  .shell .ps-tabs button { flex: 1; min-height: 44px; border-radius: 9px; font-size: 14px; }
  .shell .ps-tabs button.on { box-shadow: 0 1px 4px rgb(16 42 32 / .08); }
  .shell .ps-catalog, .shell .ps-ticket { border: 1px solid var(--line); border-radius: 16px; }
  .shell .ps-catalog { padding: 12px; gap: 12px; }
  .shell .ps-cats { gap: 8px; }
  .shell .ps-cat { flex-direction: row; align-items: center; gap: 10px; min-height: 44px; min-width: 0; padding: 10px 14px; border: 1px solid var(--line); border-radius: 24px; font-size: 13px; font-weight: 600; }
  .shell .ps-cat.on { background: var(--primary-soft); color: var(--primary); border-color: var(--primary-soft); }
  .shell .ps-cat.on small { color: var(--primary); }
  .shell .ps-items { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; max-height: 60dvh; }
  .shell .ps-item { min-width: 0; min-height: 104px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; gap: 6px; }
  .shell .ps-item:hover:not(:disabled) { box-shadow: none; border-color: var(--primary); }
  .shell .ps-item .name { font-size: 14px; font-weight: 650; line-height: 1.4; }
  .shell .ps-item .dur { font-size: 12px; }
  .shell .ps-item .price { background: transparent; color: var(--primary); font-size: 14px; padding: 0; }
  .shell .ps-item .count { border-radius: 50%; background: var(--primary); }
  .shell .ps-foot { padding: 10px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: 0 -4px 20px rgb(16 42 32 / .04); }
  .shell .ps-tools button { min-height: 44px; border-radius: 10px; border-color: var(--line); }
  .shell .ps-more-menu { border-radius: 14px; border-color: var(--line); }
  .shell .ps-lineacts button { min-height: 48px; }
  .shell .date-nav { border-radius: 12px; }
  .shell .user-card .user-actions .icon-btn { width: 44px; height: 44px; }
  .shell .callerid-card, .shell .callerid-panel { border-width: 1px; border-radius: 16px; padding: 16px; }

  :root[data-theme="gece"] :is(.shell, .auth, .form-page, .modal) .btn.primary,
  :root[data-theme="gece"] .shell .dh-strip button.on { color: #0e131a; }
  :root[data-theme="gece"] .shell .dh-strip button.on strong,
  :root[data-theme="gece"] .shell .dh-strip button.on small { color: #0e131a; }
  :root[data-theme="gece"] .shell .dh-strip button.on i:not(:empty) { background: #0e131a; }
  :root[data-theme="gece"] .shell .bk-act .btn:not(.danger) { color: var(--ink); }

  /* Forms and dialogs keep the save action above the device safe area. */
  .modal { border: 0; border-radius: 24px 24px 0 0; box-shadow: var(--shadow-lg); max-height: calc(var(--visual-viewport-height, 100dvh) - 24px - env(safe-area-inset-top)); }
  .modal header { padding: 18px 20px 14px; gap: 12px; }
  .modal header h2 { font-family: var(--font); font-size: 1.125rem; line-height: 1.4; font-weight: 700; }
  .modal header .icon-btn { width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; background: var(--surface-2); }
  .modal-body { padding: 16px 20px 24px; overscroll-behavior: contain; }
  .modal .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .modal .grid-3 > label:first-child:has(input[type="date"]) { grid-column: 1 / -1; }
  .modal footer { padding: 14px 20px max(14px, env(safe-area-inset-bottom)); }
  .modal footer .btn { flex: 1 1 auto; white-space: normal; }
  .form-page-inner { min-height: var(--visual-viewport-height, 100dvh); padding: env(safe-area-inset-top) 16px 0; }
  .form-page-head { padding-block: 16px; }
  .form-page-head .cu-back { display: inline-flex; align-items: center; min-height: 44px; }
  .form-page-body { padding: 18px 16px; border-radius: 16px; box-shadow: none; }
  .form-page-bar { bottom: 0; margin: 20px -16px 0; border-radius: 0; padding: 12px 16px max(12px, env(safe-area-inset-bottom)); }
  .shell:has(.form-page) .bottom-nav { visibility: hidden; }
  .shell .desk-panel { padding-top: env(safe-area-inset-top); }
  .shell .save-bar { padding-bottom: max(12px, env(safe-area-inset-bottom)); }
  .shell .toaster { width: calc(100% - 32px); }
  .shell .toast { border-radius: 12px; box-shadow: var(--shadow-lg); }

  /* The mobile sign-in has its own compact brand header. */
  .auth .auth-main { display: block; position: relative; min-height: var(--visual-viewport-height, 100dvh); padding: 0 24px 32px; }
  .auth .auth-toolbar { position: sticky; top: 0; z-index: 35; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: calc(88px + env(safe-area-inset-top)); width: calc(100% + 48px); margin: 0 -24px 24px; padding: calc(20px + env(safe-area-inset-top)) 24px 16px; background: var(--bg); }
  .auth .auth-mobile-brand { position: static; align-items: baseline; font-size: 32px; letter-spacing: -2px; color: var(--primary); }
  .auth-mobile-brand span { color: var(--accent); }
  .auth .auth-toolbar > .language-picker { margin: 0; min-height: 44px; width: 116px; font-size: 13px; }
  .auth .auth-card { width: 100%; max-width: 480px; margin-inline: auto; }
  .auth .auth-card .kicker { color: var(--muted); letter-spacing: .1em; font-size: 10px; margin-bottom: 10px; }
  .auth .auth-card h1 { font-size: 1.875rem; margin-bottom: 8px; }
  .auth .auth-card .login-tabs { margin-top: 28px; padding: 4px; border-radius: 12px; }
  .auth .login-tabs button { min-height: 44px; border-radius: 9px; }
  .auth .auth-card form { margin-top: 24px; }
  .auth .auth-card label { margin-bottom: 18px; }
  .auth .auth-card .btn.primary.block { min-height: 50px; margin-top: 24px; }
  .auth .device-mode { border-radius: 14px; box-shadow: none; }
  .auth .login-connection { margin-top: 24px; padding-top: 14px; border-top: 1px solid var(--line); }
  .auth .login-connection summary { display: flex; align-items: center; gap: 8px; min-height: 44px; margin: 0; color: var(--muted); font-size: 13px; }
  .auth .login-connection label { margin-top: 12px; }
  :root[data-keyboard-open] .auth .auth-toolbar { min-height: 60px; padding-block: 8px; margin-bottom: 12px; }
  :root[data-keyboard-open] .auth .auth-mobile-brand { font-size: 26px; }
  :root[data-keyboard-open] .shell { --bnav-h: 0px !important; }
  :root[data-keyboard-open] .shell .bottom-nav { display: none !important; }
  :root[data-keyboard-open] .shell .content { padding-bottom: 24px; }
  :root[data-keyboard-open] .shell .content > .dh-days { position: static; }
  :is(.auth, .shell, .modal, .form-page) input,
  :is(.auth, .shell, .modal, .form-page) textarea { scroll-margin-block: 16px; }

  @media (max-width: 380px) {
    .shell .dh-top { grid-template-columns: 1fr; }
    .shell .dh-actions { grid-column: 1; grid-row: 2; width: 100%; }
    .shell .dh-actions > .btn.primary { flex: 1; }
    .shell .dh-tools { grid-row: 3; }
    .shell .dh-days { gap: 2px; }
    .shell .dh-strip { gap: 2px; }
    .shell .cu-head-actions { width: 100%; }
    .shell .cu-head-actions > .btn.primary { flex: 1; }
  }
  @media (prefers-reduced-motion: reduce) {
    .shell *, .auth *, .modal, .form-page { animation: none !important; transition: none !important; }
  }
}
