:root {
  --ui-ink: #171d21;
  --ui-muted: #68737b;
  --ui-faint: #98a2a9;
  --ui-line: #dce2e5;
  --ui-page: #f4f6f7;
  --ui-surface: #fff;
  --ui-soft: #edf1f2;
  --ui-accent: #3370ff;
  --ui-accent-soft: #edf3ff;
  --ui-green: #247d64;
  --ui-green-soft: #e8f5f0;
  --ui-amber: #93611f;
  --ui-amber-soft: #fff3df;
}

html,
body { width: 100%; max-width: 100%; overflow-x: hidden; }
@supports (overflow: clip) {
  html,
  body { overflow-x: clip; }
}

.consumer-app { width: 100%; max-width: 100%; min-height: 100dvh; min-width: 0; padding-bottom: 0; color: var(--ui-ink); background: var(--ui-page); }
.user-shell *,
.user-shell *::before,
.user-shell *::after,
.pin-login *,
.pin-login *::before,
.pin-login *::after { animation: none !important; transition: none !important; }
.user-shell :active,
.pin-login :active { transform: none !important; }
.consumer-topbar { position: sticky; z-index: 4; top: 0; display: flex; width: 100%; max-width: 100%; min-width: 0; height: 56px; box-sizing: border-box; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--ui-line); padding: 0 max(16px, calc((100vw - 760px) / 2)); background: color-mix(in srgb, var(--ui-surface) 94%, transparent); backdrop-filter: blur(14px); }
.consumer-brand { display: inline-flex; align-items: center; color: var(--ui-ink); font-size: 16px; font-weight: 800; }
.consumer-logout { border: 0; padding: 8px 0 8px 12px; color: var(--ui-muted); background: transparent; font-size: 12px; cursor: pointer; }
.consumer-main { width: min(760px, 100%); max-width: 100%; min-width: 0; min-height: 100dvh; box-sizing: border-box; margin: 0 auto; padding: 28px 20px 94px; }
.consumer-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.consumer-heading > div { min-width: 0; }
.consumer-heading h1 { margin: 0; font-size: clamp(24px, 6vw, 34px); letter-spacing: -.045em; line-height: 1.1; }
.consumer-heading h1 { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.consumer-ip-switcher { display: inline-flex; max-width: 100%; align-items: center; gap: 7px; color: var(--ui-ink); }
.consumer-ip-switcher > span { overflow: hidden; font-size: clamp(24px, 6vw, 34px); font-weight: 700; letter-spacing: -.045em; line-height: 1.1; text-overflow: ellipsis; white-space: nowrap; }
.consumer-ip-switcher-icon { width: 8px; height: 8px; flex: 0 0 auto; border-right: 1.5px solid var(--ui-muted); border-bottom: 1.5px solid var(--ui-muted); transform: translateY(-2px) rotate(45deg); }
.consumer-heading > div > span { display: block; margin-top: 6px; color: var(--ui-muted); font-size: 12px; }
.text-action { border: 0; padding: 0; color: var(--ui-accent); background: transparent; font-size: 12px; font-weight: 700; cursor: pointer; }
.consumer-heading .text-action { display: inline-block; margin-top: 7px; }
.consumer-heading-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 8px; }
.cart-button { display: inline-flex; flex: 0 0 auto; min-height: 40px; align-items: center; gap: 8px; border: 1px solid var(--ui-line); border-radius: 10px; padding: 0 12px; background: var(--ui-surface); font-size: 12px; font-weight: 700; }
.cart-button span { display: grid; min-width: 20px; height: 20px; place-items: center; border-radius: 10px; color: #fff; background: var(--ui-accent); font-size: 10px; }
.catalog-search-trigger { position: relative; display: grid; width: 40px; height: 40px; flex: 0 0 40px; place-items: center; border: 1px solid var(--ui-line); border-radius: 10px; padding: 0; color: var(--ui-ink); background: var(--ui-surface); cursor: pointer; }
.catalog-search-trigger span { position: relative; width: 16px; height: 16px; border: 2px solid currentColor; border-radius: 50%; }
.catalog-search-trigger span::after { position: absolute; right: -5px; bottom: -3px; width: 7px; height: 2px; border-radius: 1px; background: currentColor; content: ""; transform: rotate(45deg); transform-origin: left center; }
.ip-browser h2,
.catalog-shortcuts h2,
.catalog-results h2 { margin: 0; font-size: 15px; letter-spacing: -.02em; }
.consumer-ip-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.consumer-ip-card { display: grid; min-width: 0; overflow: hidden; border: 1px solid var(--ui-line); border-radius: 12px; background: var(--ui-surface); }
.consumer-ip-card:hover { border-color: var(--ui-faint); }
.consumer-ip-cover { display: grid; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; place-items: center; color: #863f39; background: var(--ui-soft); font-size: 20px; font-weight: 800; }
.consumer-ip-meta { display: flex; min-width: 0; min-height: 46px; align-items: center; justify-content: space-between; gap: 8px; padding: 0 13px; border-top: 1px solid var(--ui-line); }
.consumer-ip-meta b { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.consumer-ip-meta span { color: var(--ui-faint); font-size: 22px; font-weight: 300; }
.consumer-ip-cover img,
.shortcut-cover img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; background: var(--ui-soft); }
.consumer-ip-cover.has-image,
.shortcut-cover.has-image { display: flex; align-items: center; justify-content: center; }
.catalog-shortcuts,
.catalog-shortcuts > section,
.catalog-results { width: 100%; max-width: 100%; min-width: 0; }
.catalog-shortcuts { display: grid; gap: 24px; }
.shortcut-head { display: flex; align-items: center; justify-content: space-between; gap: 7px; margin-bottom: 10px; }
.shortcut-more { border: 0; padding: 5px 0 5px 10px; color: var(--ui-accent); background: transparent; font-size: 11px; font-weight: 700; cursor: pointer; }
.shortcut-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; width: 100%; min-width: 0; padding: 1px; }
.shortcut-strip.series-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.shortcut-card { display: grid; min-width: 0; overflow: hidden; border: 1px solid var(--ui-line); border-radius: 11px; background: var(--ui-surface); }
.shortcut-strip.role-strip .shortcut-card { display: flex; align-items: center; gap: 9px; padding: 8px; }
.shortcut-card.active { border-color: var(--ui-ink); box-shadow: 0 0 0 1px var(--ui-ink); }
.shortcut-cover { display: grid; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; place-items: center; color: #934a43; background: #f5cbc5; font-size: 18px; font-weight: 800; }
.shortcut-strip.role-strip .shortcut-cover { width: 36px; height: 36px; flex: 0 0 36px; border-radius: 8px; font-size: 11px; }
.shortcut-card b { min-width: 0; overflow: hidden; min-height: 38px; padding: 0 10px; display: flex; align-items: center; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.catalog-active-filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; width: 100%; max-width: 100%; min-width: 0; }
.catalog-filter-view { display: grid; width: 100%; max-width: 100%; min-width: 0; gap: 10px; }
.catalog-active-filters > button { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; min-width: 0; min-height: 44px; align-items: center; gap: 2px; overflow: hidden; border: 1px solid var(--ui-line); border-radius: 10px; padding: 0 11px; color: var(--ui-ink); background: var(--ui-surface); font: inherit; text-align: left; cursor: pointer; }
.catalog-active-filters b { font-size: 11px; }
.catalog-active-filters span { min-width: 0; overflow: hidden; color: var(--ui-muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.catalog-active-filters i { color: var(--ui-faint); font-size: 18px; font-style: normal; }
.availability-toggle { display: inline-flex; width: max-content; max-width: 100%; min-height: 38px; align-items: center; gap: 8px; border: 1px solid var(--ui-line); border-radius: 10px; padding: 0 11px; color: var(--ui-muted); background: var(--ui-surface); font: inherit; font-size: 12px; cursor: pointer; }
.availability-toggle.is-on { border-color: var(--ui-accent); color: var(--ui-accent); background: var(--ui-accent-soft); }
.availability-toggle-mark { width: 16px; height: 16px; border: 1px solid currentColor; border-radius: 5px; }
.availability-toggle.is-on .availability-toggle-mark { position: relative; color: #fff; background: var(--ui-accent); }
.availability-toggle.is-on .availability-toggle-mark::after { position: absolute; top: 1px; left: 4px; content: "✓"; font-size: 11px; line-height: 13px; }
.catalog-picker-dialog { position: fixed; inset: 0; width: min(440px, calc(100vw - 32px)); height: min(620px, calc(100dvh - 40px)); max-height: min(620px, calc(100dvh - 40px)); overflow: hidden; border: 0; border-radius: 14px; padding: 0; margin: auto; color: var(--ui-ink); background: var(--ui-surface); box-shadow: 0 24px 80px #17212635; }
.catalog-picker-dialog::backdrop { background: #17212666; backdrop-filter: blur(2px); }
.catalog-picker-dialog.has-keyboard::backdrop { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
.catalog-picker-dialog[open] { display: grid; grid-template-rows: 58px auto minmax(0, 1fr) 64px; }
.catalog-picker-dialog > header { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--ui-line); padding: 0 16px; }
.catalog-picker-dialog h2 { margin: 0; font-size: 16px; }
.catalog-picker-dialog header button { display: grid; width: 32px; height: 32px; place-items: center; border: 0; border-radius: 8px; color: var(--ui-muted); background: var(--ui-soft); font-size: 20px; cursor: pointer; }
.catalog-picker-search { padding: 12px; border-bottom: 1px solid var(--ui-line); }
.catalog-picker-search input { width: 100%; height: 42px; border: 1px solid var(--ui-line); border-radius: 9px; padding: 0 12px; color: var(--ui-ink); background: var(--ui-soft); font-size: 16px; outline: none; appearance: none; }
.catalog-picker-search input::-webkit-search-cancel-button { display: none; }
.catalog-picker-options { min-height: 0; overflow-y: auto; padding: 6px; }
.catalog-picker-options > button { display: flex; width: 100%; min-height: 44px; align-items: center; justify-content: space-between; border: 0; border-radius: 8px; padding: 0 12px; color: var(--ui-ink); background: transparent; font: inherit; font-size: 13px; text-align: left; cursor: pointer; }
.catalog-picker-options > button:hover,
.catalog-picker-options > button:focus-visible { background: var(--ui-soft); outline: none; }
.catalog-picker-options > button i { display: grid; width: 20px; height: 20px; place-items: center; border: 1px solid var(--ui-line); border-radius: 6px; font-style: normal; }
.catalog-picker-options > button.is-selected i { border-color: var(--ui-accent); color: #fff; background: var(--ui-accent); }
.catalog-picker-options > button.is-selected i::after { content: "✓"; font-size: 12px; }
.catalog-picker-empty { display: grid; min-height: 140px; place-items: center; color: var(--ui-muted); font-size: 12px; }
.catalog-picker-dialog > footer { display: grid; grid-template-columns: 1fr 2fr; gap: 8px; border-top: 1px solid var(--ui-line); padding: 10px 12px; background: var(--ui-surface); }
.catalog-picker-dialog > footer button { min-height: 42px; }
.catalog-results { position: relative; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--ui-line); }
.catalog-result-head > div { display: flex; align-items: baseline; gap: 8px; }
.catalog-result-head span { color: var(--ui-faint); font-size: 10px; }
.catalog-search-bar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; margin-top: 14px; }
.catalog-filter-view .catalog-search-bar { margin-top: 0; }
.my-orders-filter-view { margin-bottom: 18px; }
.catalog-search-bar input[type="search"] { min-width: 0; height: 42px; border: 1px solid var(--ui-line); border-radius: 10px; padding: 0 13px; color: var(--ui-ink); background: var(--ui-surface); font-size: 12px; }
.catalog-search-bar .primary { min-width: 62px; }
.catalog-filter-panel,
.order-filter-panel { position: relative; margin: 10px 0 18px; }
.catalog-filter-panel > summary,
.order-filter-panel > summary { display: inline-flex; min-height: 36px; align-items: center; gap: 7px; border: 1px solid var(--ui-line); border-radius: 9px; padding: 0 12px; color: var(--ui-ink); background: var(--ui-surface); font-size: 11px; font-weight: 700; cursor: pointer; list-style: none; }
.catalog-filter-panel > summary::-webkit-details-marker,
.order-filter-panel > summary::-webkit-details-marker { display: none; }
.catalog-filter-panel > summary::after,
.order-filter-panel > summary::after { content: "+"; color: var(--ui-faint); font-size: 14px; }
.catalog-filter-panel[open] > summary::after,
.order-filter-panel[open] > summary::after { content: "−"; }
.catalog-filter-panel summary span,
.order-filter-panel summary span { display: grid; min-width: 18px; height: 18px; place-items: center; border-radius: 9px; color: #fff; background: var(--ui-accent); font-size: 9px; }
.mobile-filter-form { display: grid; gap: 18px; margin-top: 10px; border: 1px solid var(--ui-line); border-radius: 12px; padding: 16px; background: var(--ui-surface); box-shadow: 0 14px 36px #21303912; }
.mobile-filter-form fieldset { min-width: 0; border: 0; padding: 0; margin: 0; }
.mobile-filter-form legend { margin-bottom: 9px; color: var(--ui-muted); font-size: 10px; font-weight: 700; }
.filter-choice-grid { display: flex; flex-wrap: wrap; gap: 7px; }
.filter-choice-grid button { display: block; border: 1px solid var(--ui-line); border-radius: 9px; padding: 7px 10px; color: var(--ui-ink); background: var(--ui-surface); font: inherit; font-size: 10px; cursor: pointer; }
.filter-choice-grid button.is-selected { border-color: var(--ui-ink); color: #fff; background: var(--ui-ink); }
.filter-panel-actions { display: grid; grid-template-columns: 1fr 2fr; gap: 8px; padding-top: 2px; }
.filter-panel-actions > * { display: grid; min-height: 40px; place-items: center; }
.product-group { margin-top: 16px; }
.product-group > h3 { margin: 0 0 8px; color: var(--ui-muted); font-size: 12px; }
.product-list { display: grid; gap: 8px; }
.consumer-product { display: grid; min-width: 0; border: 1px solid var(--ui-line); border-radius: 10px; background: var(--ui-surface); }
.consumer-product-info { position: relative; display: grid; min-width: 0; gap: 10px; padding: 13px 14px; }
.consumer-product-head { display: grid; min-width: 0; }
.consumer-product-head.has-cover { grid-template-columns: 96px minmax(0, 1fr); align-items: center; gap: 12px; }
.consumer-product-summary { display: grid; min-width: 0; align-content: center; gap: 10px; }
.consumer-product-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.consumer-product-title > div { min-width: 0; }
.consumer-product-cover { display: block; width: 96px; height: 96px; overflow: hidden; border: 1px solid var(--ui-line); border-radius: 8px; padding: 0; background: var(--ui-page); cursor: zoom-in; }
.consumer-product-cover img { display: block; width: 100%; height: 100%; object-fit: contain; background: var(--ui-page); }
.image-preview-dialog { position: fixed; inset: 0; width: 100vw; max-width: none; height: 100dvh; max-height: none; overflow: hidden; border: 0; padding: max(56px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); margin: 0; background: #11181deF; }
.image-preview-dialog::backdrop { background: #11181deF; }
.image-preview-dialog[open] { display: grid; place-items: center; }
.image-preview-dialog img { display: block; width: 100%; height: 100%; object-fit: contain; }
.image-preview-close { position: fixed; z-index: 1; top: max(12px, env(safe-area-inset-top)); right: max(12px, env(safe-area-inset-right)); display: grid; width: 44px; height: 44px; place-items: center; border: 0; border-radius: 8px; padding: 0; color: #fff; background: #ffffff1f; font: inherit; font-size: 28px; line-height: 1; cursor: pointer; }
.consumer-product-title span { color: var(--ui-muted); font-size: 11px; }
.consumer-product-title h3 { overflow: hidden; margin: 0; font-size: 18px; font-weight: 800; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.consumer-product-title .completion { flex: 0 0 auto; border-radius: 9px; padding: 4px 7px; color: var(--ui-amber); background: var(--ui-amber-soft); font-size: 10px; font-weight: 700; }
.consumer-product-title .completion.is-complete { color: var(--ui-green); background: var(--ui-green-soft); }
.consumer-product-head-status { display: grid; flex: 0 0 auto; justify-items: end; gap: 5px; }
.product-schedule-link { color: var(--ui-accent); font-size: 11px; font-weight: 700; }
.product-time { display: flex; min-height: 30px; align-items: center; justify-content: space-between; gap: 8px; border-top: 1px solid var(--ui-line); border-bottom: 1px solid var(--ui-line); color: var(--ui-muted); font-size: 10px; }
.product-time strong { color: var(--ui-ink); font-size: 12px; font-variant-numeric: tabular-nums; }
.product-time-countdown strong { color: var(--ui-accent); }
.product-time-ended strong { color: var(--ui-amber); }
.consumer-role-list { display: grid; min-width: 0; border-top: 1px solid var(--ui-line); }
.consumer-role-row { display: grid; min-width: 0; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; padding: 12px 8px; border-bottom: 1px solid var(--ui-line); }
.consumer-role-row:last-child { padding-bottom: 0; border-bottom: 0; }
.consumer-role-heading { display: flex; min-width: 0; align-items: center; gap: 12px; }
.consumer-role-label { min-width: 0; }
.consumer-role-heading h4 { overflow: hidden; margin: 0; font-size: 17px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.consumer-role-row.is-unavailable { color: #8e989f; background: #f0f2f3; filter: grayscale(.3); }
.consumer-role-row.is-unavailable .consumer-role-summary,
.consumer-role-row.is-unavailable .quantity-stepper button { color: #9ba4aa; }
.consumer-role-row.is-selected { margin-right: -6px; margin-left: -6px; border-radius: 8px; padding-right: 6px; padding-left: 14px; background: #f0faf6; }
.consumer-product-facts { display: grid; grid-template-columns: .8fr .65fr 1.35fr; overflow: hidden; border: 1px solid var(--ui-line); border-radius: 8px; background: var(--ui-page); }
.consumer-role-summary { margin-top: 5px; color: var(--ui-muted); font-size: 12px; line-height: 1.25; white-space: nowrap; }
.consumer-role-label h4 { min-width: 0; }
.role-booked { color: var(--ui-green); font-size: 11px; font-weight: 600; white-space: nowrap; }
.consumer-product-facts > span { display: grid; min-width: 0; gap: 3px; padding: 8px 9px; border-right: 1px solid var(--ui-line); }
.consumer-product-facts > span:last-child { border-right: 0; }
.consumer-product-facts b { color: var(--ui-muted); font-size: 11px; font-weight: 500; }
.consumer-product-facts strong { overflow: hidden; font-size: 13px; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.consumer-product-links { display: flex; min-height: 20px; align-items: center; justify-content: space-between; gap: 8px; }
.schedule-link { width: max-content; color: var(--ui-accent); font-size: 11px; font-weight: 700; }
.consumer-product-selected { color: var(--ui-green); font-size: 11px; font-weight: 700; }
.quantity-form { display: flex; align-items: flex-start; justify-content: flex-end; gap: 8px; grid-column: 2; grid-row: 1; }
.quantity-actions { display: flex; min-width: 0; align-items: center; justify-content: space-between; gap: 8px; }
.quantity-actions > form { min-width: 0; }
.remove-btn { min-height: 42px; border: 1px solid var(--ui-line); border-radius: 8px; padding: 0 12px; color: var(--ui-muted); background: var(--ui-surface); font: inherit; font-size: 11px; font-weight: 700; cursor: pointer; }
.remove-btn:hover, .remove-btn:focus-visible { border-color: var(--ui-accent); color: var(--ui-accent); }
.consumer-role-row > .quantity-form { align-self: start; }
.quantity-stepper { display: inline-grid; min-width: 0; min-height: 54px; grid-auto-flow: column; grid-auto-columns: max-content; align-items: start; gap: 3px; }
.quantity-stepper button { min-width: 52px; min-height: 50px; border: 0; border-radius: 9px; padding: 0 9px; color: var(--ui-muted); background: transparent; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.quantity-stepper button:hover:not(:disabled) { color: var(--ui-accent); }
.quantity-stepper button:focus, .quantity-stepper button:focus-visible, .quantity-stepper button:active { outline: none !important; box-shadow: none !important; background: transparent !important; }
.quantity-stepper button:disabled { color: var(--ui-faint); cursor: not-allowed; }
.quantity-stepper input { width: 52px !important; min-height: 50px !important; border: 0 !important; border-radius: 9px !important; padding: 0 !important; color: var(--ui-green); background: transparent !important; font-size: 19px !important; font-weight: 800; text-align: center; outline: none; }
.quantity-stepper.is-zero .quantity-stepper-decrement,
.quantity-stepper.is-zero input { visibility: hidden; pointer-events: none; }
.quantity-stepper-plus-group { display: grid; min-width: 58px; justify-items: center; }
.quantity-stepper-plus-group .quantity-stepper-increment { grid-row: 1; }
.quantity-stepper-maximum { min-width: 58px !important; min-height: 22px !important; font-size: 10px !important; font-weight: 700 !important; }
.quantity-stepper-maximum[hidden] { display: none; }
.catalog-submit-bar { position: fixed; z-index: 6; right: 0; bottom: 0; left: 0; display: flex; min-height: calc(62px + env(safe-area-inset-bottom)); align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--ui-line); padding-top: 9px; padding-right: max(22px, calc((100vw - 760px) / 2 + env(safe-area-inset-right))); padding-bottom: calc(9px + env(safe-area-inset-bottom)); padding-left: max(22px, calc((100vw - 760px) / 2 + env(safe-area-inset-left))); background: var(--ui-surface); }
.catalog-submit-bar form { width: auto; margin-left: auto; }
.catalog-submit-bar button { min-width: 112px; min-height: 44px; border: 0; border-radius: 9px; padding: 0 22px; color: #fff; background: var(--ui-accent); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.catalog-submit-bar button:disabled { color: var(--ui-faint); background: var(--ui-soft); cursor: not-allowed; }
.catalog-back-link { display: inline-flex; min-height: 44px; align-items: center; color: var(--ui-muted); font-size: 13px; font-weight: 700; }
.catalog-availability-row { display: grid; min-width: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: 8px; }
.catalog-category-filter { display: grid; width: 100%; min-width: 0; min-height: 44px; box-sizing: border-box; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 2px; overflow: hidden; border: 1px solid var(--ui-line); border-radius: 10px; padding: 0 11px; color: var(--ui-ink); background: var(--ui-surface); font: inherit; font-size: 12px; text-align: left; cursor: pointer; }
.catalog-category-filter span { min-width: 0; overflow: hidden; color: var(--ui-muted); text-overflow: ellipsis; white-space: nowrap; }
.catalog-category-filter i { color: var(--ui-faint); font-size: 18px; font-style: normal; }
.catalog-availability-row .availability-toggle { width: 100%; min-height: 44px; justify-content: center; box-sizing: border-box; }
.consumer-empty { display: grid; min-height: 180px; place-items: center; align-content: center; gap: 14px; color: var(--ui-muted); text-align: center; }
.consumer-empty b { color: var(--ui-ink); font-size: 14px; }
.consumer-empty .primary,
.consumer-empty .secondary { display: grid; min-height: 40px; place-items: center; }
.order-empty { min-height: 45dvh; }
.my-orders-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.my-orders-header h1 { margin: 0; font-size: 28px; letter-spacing: -.04em; line-height: 1.1; }
.my-orders-count { display: inline-flex; align-items: baseline; gap: 4px; color: var(--ui-muted); font-size: 12px; }
.my-orders-count strong { color: var(--ui-ink); font-size: 22px; }
.my-order-filter-form { display: grid; gap: 10px; margin: 0 0 18px; }
.my-order-filter-grid { display: grid; min-width: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.my-order-filter-block { position: relative; min-width: 0; }
.my-order-filter-block > summary { display: grid; min-width: 0; min-height: 44px; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 3px; overflow: hidden; border: 1px solid var(--ui-line); border-radius: 10px; padding: 0 11px; color: var(--ui-ink); background: var(--ui-surface); font-size: 11px; cursor: pointer; list-style: none; }
.my-order-filter-block > summary::-webkit-details-marker { display: none; }
.my-order-filter-block > summary b { font-size: 11px; }
.my-order-filter-block > summary span { min-width: 0; overflow: hidden; color: var(--ui-muted); text-overflow: ellipsis; white-space: nowrap; }
.my-order-filter-block > summary i { color: var(--ui-faint); font-size: 18px; font-style: normal; }
.my-order-filter-block[open] > summary { border-color: var(--ui-accent); }
.my-order-filter-options { display: flex; max-height: 220px; overflow-y: auto; margin-top: 6px; border: 1px solid var(--ui-line); border-radius: 10px; padding: 8px; background: var(--ui-surface); }
.my-order-filter-options button { flex: 0 0 auto; }
.my-order-filter-form .filter-panel-actions { display: grid; grid-template-columns: 1fr 2fr; gap: 8px; }
.my-order-filter-form .filter-panel-actions > * { display: grid; min-height: 42px; place-items: center; }
.status-tabs { display: flex; gap: 6px; overflow-x: auto; margin: -6px -20px 16px; padding: 6px 20px; scrollbar-width: none; }
.status-tabs::-webkit-scrollbar { display: none; }
.status-tabs a { flex: 0 0 auto; border: 1px solid var(--ui-line); border-radius: 9px; padding: 8px 11px; color: var(--ui-muted); background: var(--ui-surface); font-size: 10px; }
.status-tabs a.active { border-color: var(--ui-ink); color: #fff; background: var(--ui-ink); }
.order-filter-panel { margin: 0 0 18px; width: max-content; }
.order-filter-panel > summary { gap: 8px; }
.order-filter-panel > summary b { display: grid; min-width: 18px; height: 18px; place-items: center; border-radius: 9px; color: #fff; background: var(--ui-accent); font-size: 9px; }
.filter-icon { position: relative; width: 14px; height: 12px; border-top: 1px solid currentColor; border-bottom: 1px solid currentColor; }
.filter-icon::after { position: absolute; top: 5px; left: 3px; width: 8px; border-top: 1px solid currentColor; content: ""; }
.order-filter-panel .mobile-filter-form { width: min(620px, calc(100vw - 40px)); }
.consumer-order-list { display: grid; gap: 10px; clear: both; }
.consumer-order { overflow: hidden; border: 1px solid var(--ui-line); border-radius: 12px; background: var(--ui-surface); }
.consumer-order.complete { border-color: #a9d6c8; }
.consumer-order-header { display: flex; min-width: 0; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 16px; border-bottom: 1px solid var(--ui-line); }
.consumer-order-header > div:first-child { min-width: 0; }
.consumer-order h2 { overflow: hidden; margin: 0; font-size: 18px; font-weight: 800; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.consumer-order-summary { display: grid; min-width: 58px; justify-items: end; gap: 2px; }
.consumer-order-summary b { margin-top: 4px; border-radius: 8px; padding: 4px 7px; color: var(--ui-amber); background: var(--ui-amber-soft); font-size: 10px; white-space: nowrap; }
.consumer-order.complete .consumer-order-summary b { color: var(--ui-green); background: var(--ui-green-soft); }
.consumer-order-roles { display: grid; padding: 0 16px; }
.consumer-order-role { padding: 14px 0 4px; border-bottom: 1px solid var(--ui-line); }
.consumer-order-role:last-child { border-bottom: 0; }
.consumer-order-role > header { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 9px; }
.consumer-order-role h3 { margin: 0; font-size: 14px; }
.consumer-order-role .order-detail-link { padding: 0; font-size: 11px; }
.allocation-lines { display: grid; }
.allocation-lines > div { display: grid; grid-template-columns: 64px 1.1fr 1fr 1fr auto; align-items: center; gap: 7px; min-height: 40px; border-top: 1px solid var(--ui-line); font-size: 10px; }
.allocation-lines span { color: var(--ui-muted); }
.allocation-lines strong { font-size: 11px; }
.allocation-line.is-complete .allocation-status { color: var(--ui-green); font-weight: 700; }
.allocation-status { display: inline-flex; align-items: center; gap: 4px; }
.allocation-status i { width: 6px; height: 6px; border-radius: 50%; background: var(--ui-amber); }
.allocation-line.is-complete .allocation-status i { background: var(--ui-green); }
.order-detail-link { display: block; color: var(--ui-accent); font-size: 10px; font-weight: 700; text-align: right; }
.schedule-heading { display: flex; min-width: 0; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.schedule-heading-copy { min-width: 0; }
.schedule-back { display: inline-flex; min-height: 30px; align-items: center; color: var(--ui-accent); font-size: 12px; font-weight: 700; }
.schedule-heading h1 { overflow: hidden; margin: 5px 0 0; font-size: 25px; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.schedule-heading p { margin: 5px 0 0; color: var(--ui-muted); font-size: 12px; }
.schedule-heading-meta { display: grid; flex: 0 0 auto; justify-items: end; gap: 3px; padding-top: 31px; color: var(--ui-muted); font-size: 11px; }
.schedule-heading-meta b { color: var(--ui-ink); font-size: 14px; }
.schedule-list { display: grid; gap: 10px; }
.schedule-card { overflow: hidden; border: 1px solid var(--ui-line); border-radius: 11px; background: var(--ui-surface); }
.schedule-card.is-complete { border-color: #a9d6c8; }
.schedule-card-head { display: flex; min-width: 0; align-items: center; gap: 10px; padding: 11px 13px; border-bottom: 1px solid var(--ui-line); }
.schedule-sequence-number { display: grid; width: 31px; height: 31px; flex: 0 0 31px; place-items: center; border-radius: 8px; color: var(--ui-accent); background: var(--ui-accent-soft); font-size: 12px; font-weight: 800; }
.schedule-sequence-copy { display: grid; min-width: 0; flex: 1; gap: 2px; }
.schedule-sequence-copy h2 { margin: 0; font-size: 14px; }
.schedule-sequence-copy span { color: var(--ui-muted); font-size: 10px; }
.schedule-status { display: inline-flex; align-items: center; gap: 5px; border-radius: 8px; padding: 4px 7px; color: var(--ui-amber); background: var(--ui-amber-soft); font-size: 10px; font-weight: 700; white-space: nowrap; }
.schedule-card.is-complete .schedule-status { color: var(--ui-green); background: var(--ui-green-soft); }
.schedule-status i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.schedule-lines { display: grid; }
.schedule-role-grid { grid-template-columns: repeat(var(--schedule-columns, 1), minmax(0, 1fr)); gap: 6px; padding: 6px; background: var(--ui-page); }
.schedule-role { min-width: 0; border: 1px solid var(--ui-line); border-radius: 7px; padding: 8px 9px; background: var(--ui-surface); }
.schedule-role.is-filled { border-color: #d6dce0; background: #f0f2f3; }
.schedule-role > header { display: flex; min-width: 0; align-items: center; gap: 10px; }
.schedule-role.is-filled > header { margin-bottom: 4px; }
.schedule-role h3 { overflow: hidden; margin: 0; color: var(--ui-ink); font-size: 13px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.schedule-members { display: grid; }
.schedule-line { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 8px; min-width: 0; min-height: 29px; border-top: 1px solid color-mix(in srgb, var(--ui-line) 72%, transparent); color: var(--ui-muted); font-size: 10px; }
.schedule-line:first-child { border-top: 0; }
.schedule-line > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.schedule-line time { color: var(--ui-faint); font-variant-numeric: tabular-nums; white-space: nowrap; }
.schedule-line.is-mine { color: var(--ui-green); font-weight: 800; }
.schedule-overbooked { margin-top: 12px; overflow: hidden; border: 1px solid #efd7bc; border-radius: 11px; background: var(--ui-surface); }
.schedule-overbooked > header { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 11px 13px; border-bottom: 1px solid #efd7bc; }
.schedule-overbooked > header h2 { margin: 0; font-size: 14px; }
.schedule-overbooked > header span { color: var(--ui-muted); font-size: 10px; }
.schedule-overbooked-role { padding: 9px 13px; border-bottom: 1px solid var(--ui-line); }
.schedule-overbooked-role:last-child { border-bottom: 0; }
.schedule-overbooked-role h3 { margin: 0 0 3px; font-size: 12px; }
.schedule-overbooked-grid { grid-template-columns: repeat(var(--schedule-columns, 1), minmax(0, 1fr)); gap: 0 12px; }
.schedule-overbooked-grid .schedule-line { min-width: 0; }
.consumer-tabs { position: fixed; z-index: 5; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: 1fr 1fr; height: calc(58px + env(safe-area-inset-bottom)); border-top: 1px solid var(--ui-line); padding: 0 max(12px, calc((100vw - 480px) / 2)) env(safe-area-inset-bottom); background: color-mix(in srgb, var(--ui-surface) 96%, transparent); backdrop-filter: blur(14px); }
.consumer-tabs a { position: relative; display: grid; place-items: center; color: var(--ui-faint); font-size: 11px; font-weight: 700; }
.consumer-tabs a.active { color: var(--ui-ink); }
.consumer-tabs a.active::before { position: absolute; top: 0; width: 26px; height: 3px; border-radius: 0 0 3px 3px; background: var(--ui-accent); content: ""; }

.group-admin-main { max-width: 1280px; padding-top: 30px; }
.admin-page-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.admin-page-head > div { display: flex; align-items: baseline; gap: 10px; }
.admin-page-head h1 { margin: 0; font-size: 25px; letter-spacing: -.035em; }
.admin-page-head span { color: var(--ui-muted); font-size: 11px; }
.admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-bottom: 14px; border: 1px solid var(--ui-line); border-radius: 12px; background: var(--ui-surface); }
.admin-stats > div { padding: 15px 18px; border-right: 1px solid var(--ui-line); }
.admin-stats > div:last-child { border-right: 0; }
.admin-stats span { display: block; color: var(--ui-muted); font-size: 10px; }
.admin-stats strong { display: block; margin-top: 6px; font-size: 20px; }
.project-panel { overflow: hidden; border: 1px solid var(--ui-line); border-radius: 12px; background: var(--ui-surface); }
.admin-search { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; padding: 14px; border-bottom: 1px solid var(--ui-line); }
.admin-search input[type="search"] { min-width: 0; min-height: 40px; border: 0; border-radius: 9px; padding: 0 12px; background: var(--ui-soft); font-size: 11px; }
.project-list { display: grid; }
.project-row { border-bottom: 1px solid var(--ui-line); }
.project-row:last-child { border-bottom: 0; }
.project-summary { display: grid; grid-template-columns: 44px minmax(180px, 2fr) minmax(100px, .8fr) 70px auto auto; align-items: center; gap: 14px; padding: 14px 16px; }
.project-cover { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 9px; color: #934942; background: #f1b5ad; font-weight: 800; }
.project-cover img { width: 100%; height: 100%; border-radius: inherit; object-fit: cover; }
.project-edit-cover { width: 84px; height: 48px; border-radius: 7px; object-fit: cover; }
.project-identity { min-width: 0; }
.project-identity span,
.project-fact span { display: block; color: var(--ui-muted); font-size: 9px; }
.project-identity h2 { overflow: hidden; margin: 4px 0 0; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.project-fact b { display: block; margin-top: 4px; font-size: 11px; }
.price-editor { border-top: 1px solid var(--ui-line); background: var(--ui-page); }
.price-editor > summary { width: max-content; margin-left: 74px; padding: 9px 0; color: var(--ui-muted); font-size: 10px; font-weight: 700; cursor: pointer; }
.price-editor-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 2px 16px 14px 74px; }
.price-editor-row { display: grid; grid-template-columns: minmax(70px, 1fr) 110px 60px; align-items: center; gap: 7px; }
.price-editor-row b { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.price-editor-row input { min-width: 0; height: 34px; border: 1px solid var(--ui-line); border-radius: 8px; padding: 0 9px; background: var(--ui-surface); font-size: 10px; }
.price-editor-row .secondary { height: 34px; padding: 0 10px; }
.project-editor > summary { margin-left: 74px; }
.project-edit-form { display: grid; gap: 12px; padding: 4px 16px 16px 74px; }
.project-edit-form .form-grid { gap: 8px; }
.project-edit-form label,
.project-edit-form .form-field { display: grid; gap: 5px; color: var(--ui-muted); font-size: 10px; font-weight: 700; }
.project-edit-form input:not([type="checkbox"]):not([type="file"]) { min-width: 0; height: 34px; border: 1px solid var(--ui-line); border-radius: 8px; padding: 0 9px; color: var(--ui-ink); background: var(--ui-surface); font: inherit; font-weight: 500; }
.edit-toggles { display: flex; flex-wrap: wrap; gap: 16px; }
.project-edit-form > .primary { width: max-content; min-height: 34px; padding: 0 14px; }
.project-danger-action { padding: 0 16px 12px 74px; }
.danger-link { border: 0; padding: 0; color: #bd554c; background: transparent; font: inherit; font-size: 10px; cursor: pointer; }
.danger-link:hover { text-decoration: underline; }
.ip-profile-editor { margin: 12px 0 0; border-top: 1px solid var(--line); }
.ip-profile-form { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 8px; padding: 10px 0 2px; }
.ip-profile-form input[type="text"] { min-width: 0; height: 34px; border: 1px solid var(--line); border-radius: 8px; padding: 0 9px; background: var(--surface); font-size: 11px; }
.ip-profile-form .secondary { height: 34px; padding: 0 11px; }
.ip-danger-action { padding-top: 8px; }
.taxonomy-entry-main { display: grid; min-width: 0; flex: 1; gap: 6px; }
.taxonomy-editor > summary { width: max-content; color: var(--muted); font-size: 10px; cursor: pointer; }
.taxonomy-editor form { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 7px; }
.taxonomy-editor input[type="text"] { min-width: 0; height: 32px; border: 1px solid var(--line); border-radius: 7px; padding: 0 8px; background: var(--surface); font-size: 10px; }
.taxonomy-editor .secondary { height: 32px; padding: 0 10px; }
.taxonomy-entry-main > .button_to { width: max-content; }
.admin-blank { display: grid; min-height: 240px; place-items: center; align-content: center; gap: 14px; }
.member-list { display: grid; }
.member-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 16px; min-width: 0; padding: 14px 16px; border-bottom: 1px solid var(--ui-line); }
.member-row:last-child { border-bottom: 0; }
.member-identity { display: grid; min-width: 0; gap: 4px; }
.member-identity b { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.member-row small { color: var(--ui-muted); font-size: 10px; }
.member-permission-form { margin: 0; }
.member-permission-form .primary,
.member-permission-form .secondary { min-height: 34px; padding: 0 11px; font-size: 10px; }
.sync-issue-panel { margin-top: 14px; border: 1px solid var(--ui-line); border-radius: 12px; padding: 18px; background: var(--ui-surface); }
.sync-issue-panel > summary { cursor: pointer; font-size: 13px; font-weight: 800; }
.sync-issue-panel > summary span { margin-left: 5px; color: var(--ui-muted); font-size: 10px; }
.sync-issue-panel[open] > summary { margin-bottom: 12px; }
.sync-issue-panel > div { display: grid; grid-template-columns: 1fr auto; gap: 4px 14px; padding: 10px 0; border-top: 1px solid var(--ui-line); font-size: 10px; }
.sync-issue-panel p { grid-column: 1 / -1; margin: 0; color: var(--ui-muted); }
.group-dialog { width: min(900px, calc(100vw - 32px)); max-height: min(820px, calc(100dvh - 32px)); overflow: hidden; border: 0; border-radius: 14px; padding: 0; margin: auto; color: var(--ui-ink); background: var(--ui-surface); box-shadow: 0 28px 90px #17212635; }
.group-dialog::backdrop { background: #17212666; backdrop-filter: blur(2px); }
.group-dialog-head { display: flex; height: 62px; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--ui-line); padding: 0 22px; }
.group-dialog-head h2 { margin: 0; font-size: 18px; }
.group-dialog-head button { display: grid; width: 32px; height: 32px; place-items: center; border: 0; border-radius: 8px; color: var(--ui-muted); background: var(--ui-soft); font-size: 20px; cursor: pointer; }
.group-create-form { max-height: calc(min(820px, 100dvh - 32px) - 62px); overflow-y: auto; padding-bottom: 74px; }
.form-section { padding: 20px 22px; border-bottom: 1px solid var(--ui-line); }
.form-section h3 { margin: 0 0 15px; font-size: 13px; }
.form-section-head { display: flex; align-items: center; justify-content: space-between; }
.form-section-head h3 { margin: 0; }
.form-grid { display: grid; gap: 12px; }
.form-grid.two { grid-template-columns: 1fr 1fr; margin-top: 12px; }
.form-grid.three { grid-template-columns: 1fr 1fr 1fr; }
.form-grid.four { grid-template-columns: 1.35fr 1.35fr .65fr .8fr; }
.group-create-form label,
.group-create-form .form-field { display: grid; gap: 6px; color: var(--ui-muted); font-size: 10px; font-weight: 700; }
.group-create-form input:not([type="checkbox"]):not([type="file"]),
.group-create-form textarea { min-width: 0; width: 100%; min-height: 40px; border: 1px solid var(--ui-line); border-radius: 9px; padding: 9px 11px; color: var(--ui-ink); background: var(--ui-surface); font: inherit; font-weight: 500; }
.group-create-form textarea { resize: vertical; line-height: 1.5; }
.toggle-control { display: flex !important; width: max-content; align-items: center; gap: 8px !important; margin-top: 13px; color: var(--ui-ink) !important; }
.toggle-control > button { position: relative; width: 34px; height: 20px; border: 0; border-radius: 10px; padding: 0; background: var(--ui-line); cursor: pointer; }
.toggle-control > button span { position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px #17212630; }
.toggle-control > button.is-on { background: var(--ui-accent); }
.toggle-control > button.is-on span { transform: translateX(14px); }
.toggle-control > button:focus-visible { box-shadow: 0 0 0 3px color-mix(in srgb, var(--ui-accent) 22%, transparent); outline: none; }
.toggle-control b { font-size: 10px; }
.group-create-form .catalog-picker { margin-top: 10px; }
.group-create-form .catalog-picker:has(button:not([hidden])) { padding: 10px; border-radius: 9px; background: var(--ui-soft); }
.role-section > label { margin-top: 12px; }
.ocr-upload { margin-top: 12px; }
.option-price-grid { margin-top: 12px; }
.option-price-grid label { border-color: var(--ui-line); background: var(--ui-page); }
.group-dialog-actions { position: sticky; z-index: 2; bottom: 0; display: flex; justify-content: flex-end; gap: 8px; border-top: 1px solid var(--ui-line); padding: 12px 22px; margin: 0; background: color-mix(in srgb, var(--ui-surface) 96%, transparent); backdrop-filter: blur(12px); }
.group-dialog-actions > * { min-width: 92px; }

@media (min-width: 700px) {
  .catalog-filter-panel .mobile-filter-form,
  .order-filter-panel .mobile-filter-form { position: absolute; z-index: 3; right: 0; width: 560px; }
  .consumer-product-head.has-cover { grid-template-columns: 112px minmax(0, 1fr); gap: 14px; }
  .consumer-product-cover { width: 112px; height: 112px; }
}

@media (max-width: 800px) {
  .group-admin-main { padding-top: 20px; }
  .admin-stats { grid-template-columns: 1fr 1fr; }
  .admin-stats > div:nth-child(2) { border-right: 0; }
  .admin-stats > div:nth-child(-n+2) { border-bottom: 1px solid var(--ui-line); }
  .project-summary { grid-template-columns: 44px minmax(0, 1fr) auto; gap: 10px; }
  .project-fact { display: none; }
  .project-sync { grid-column: 2; }
  .price-editor-list { grid-template-columns: 1fr; padding-left: 16px; }
  .price-editor > summary { margin-left: 70px; }
  .project-editor > summary { margin-left: 70px; }
  .project-edit-form { padding-left: 16px; }
  .project-danger-action { padding-left: 16px; }
  .ip-profile-form,
  .taxonomy-editor form { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .consumer-main { padding: 22px 16px 88px; }
  .schedule-heading { gap: 10px; }
  .schedule-heading h1 { font-size: 22px; }
  .schedule-heading-meta { padding-top: 31px; }
  .schedule-line { grid-template-columns: minmax(0, 1fr) auto; }
  .schedule-line time { display: none; }
  .schedule-role-grid { gap: 5px; padding: 5px; }
  .catalog-mode .consumer-main { padding-top: 16px; }
  .consumer-product-info { padding: 12px; }
  .status-tabs { margin-right: -16px; margin-left: -16px; padding-right: 16px; padding-left: 16px; }
  .consumer-order-header { padding: 14px; }
  .consumer-order-roles { padding: 0 14px; }
  .allocation-lines > div { grid-template-columns: 54px minmax(60px, 1fr) minmax(54px, 1fr) auto; gap: 6px; }
  .allocation-lines > div span:nth-of-type(2) { display: none; }
  .allocation-lines strong { text-align: right; }
  .group-dialog { width: 100vw; max-width: none; height: 100dvh; max-height: none; border-radius: 0; }
  .group-create-form { max-height: calc(100dvh - 62px); }
  .form-grid.two,
  .form-grid.three,
  .form-grid.four { grid-template-columns: 1fr; }
  .form-section { padding: 18px 16px; }
  .group-dialog-head { padding: 0 16px; }
  .group-dialog-actions { padding: 11px 16px calc(11px + env(safe-area-inset-bottom)); }
  .price-editor-row { grid-template-columns: minmax(60px, 1fr) 96px 56px; }
  .catalog-picker-dialog { inset: auto 0 0; width: 100%; height: min(76dvh, 620px); max-height: min(76dvh, 620px); border-radius: 14px 14px 0 0; }
  .catalog-picker-dialog.has-keyboard { position: fixed; top: var(--catalog-picker-viewport-top, 0); bottom: auto; width: 100%; height: var(--catalog-picker-viewport-height, 100dvh); max-height: var(--catalog-picker-viewport-height, 100dvh); border-radius: 0; }
}

@media (prefers-color-scheme: dark) {
  :root {
    --ui-ink: #edf1f2;
    --ui-muted: #acb6bc;
    --ui-faint: #89959c;
    --ui-line: #39454b;
    --ui-page: #172026;
    --ui-surface: #202b31;
    --ui-soft: #29363c;
    --ui-accent: #6b94ff;
    --ui-accent-soft: #26375a;
    --ui-green: #92d8c2;
    --ui-green-soft: #1d3933;
    --ui-amber: #e8b77d;
    --ui-amber-soft: #3c3125;
  }
}
