:root {
  color-scheme: light;
  --bg: #fff;
  --surface: #fff;
  --ink: #171717;
  --muted: #707070;
  --line: #e8e8e8;
  --soft: #f6f7f5;
  --rio-accent: #185642;
  --rio-tint: #eaf3ed;
}
[hidden] { display: none !important; }
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 15px/1.6 "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p { margin: 0; }
h1 { line-height: 1.3; font-weight: 650; }
a { color: inherit; }
button, input, textarea { color: inherit; font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
input, textarea { min-width: 0; }
.workspace { min-height: 100vh; min-width: 0; display: flex; flex-direction: column; }
.topbar { padding: 16px clamp(18px,5vw,48px); min-height: 72px; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,2fr) minmax(0,1fr); align-items: center; gap: 20px; border-bottom: 1px solid var(--line); }
.shop-brand { grid-column: 2; text-align: center; font-size: 23px; font-weight: 650; text-decoration: none; overflow-wrap: anywhere; }
.shop-brand span { display: block; font-size: 12px; font-weight: 500; color: var(--muted); }
.header-actions { display: flex; min-width: 0; align-items: center; justify-content: flex-end; gap: 16px; }
.shop-login { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 8px; color: var(--rio-accent); font-size: 13px; font-weight: 650; white-space: nowrap; text-underline-offset: 3px; }
.shop-login:focus-visible { outline: 2px solid var(--rio-accent); outline-offset: 2px; border-radius: 4px; }
#customer-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 6px 16px; }
#customer-nav:empty { display: none; }
#customer-nav button { min-height: 44px; padding: 0 9px; border: 0; border-radius: 9px; background: none; font-size: 13px; }
#customer-nav button[aria-current] { background: var(--rio-tint); color: var(--rio-accent); font-weight: 700; }
.main-content { width: 100%; margin: auto; flex: 1; }
.page-footer { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 24px 48px; font-size: 12px; }
.welcome { max-width: 640px; margin: 24px auto 0; text-align: center; }
.welcome h1 { font-size: clamp(28px, 4vw, 42px); }
.welcome > p { margin-top: 14px; color: var(--muted); }
.login-panel { max-width: 420px; margin: 26px auto 0; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; text-align: left; }
.login-panel h2 { font-size: 20px; margin-bottom: 14px; }
.login-options { display: grid; gap: 8px; }
.social-login {
  display: flex; align-items: center; justify-content: center; width: 100%; min-height: 52px;
  border: 1px solid #dedede; border-radius: 8px; background: var(--surface); font-weight: 600; text-decoration: none;
}
.social-login.kakao { background: #fee500; border-color: #fee500; }
.social-login.naver { background: #03c75a; border-color: #03c75a; color: #fff; }
.login-register { margin-top: 12px; padding-top: 8px; border-top: 1px solid var(--line); text-align: center; }
.login-text-button { min-height: 44px; padding: 4px 8px; border: 0; background: transparent; color: var(--rio-accent); font-size: 14px; font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
.login-profile-actions { display: flex; flex-wrap: wrap; max-width: 420px; margin: 10px auto 0; }
.login-profile-actions button { flex: 1 0 120px; }
.proxy-code { font-family: ui-monospace, monospace; font-size: 1.6rem; letter-spacing: .06em; }
.sf-proxy-deadline { margin: 10px 0; padding: 10px 12px; border-radius: 10px; background: var(--rio-tint); }
.sf-proxy-deadline strong { color: var(--rio-accent); }
.sf-proxy-expired { color: #992626; font-weight: 650; }
.sf-reception-note { margin-top: 12px; color: var(--muted); font-size: 13px; }
.contact-form { display: grid; gap: 18px; }
.contact-form > label:not(.sf-confirm) { display: grid; gap: 8px; }
.sf-review-layout .sf-heading { margin-bottom: 20px; }
.sf-review-layout .sf-items { margin-top: 0; border-color: var(--line); border-radius: 14px; }
.sf-review-layout .sf-items-title { align-items: center; gap: 8px; padding: 12px 14px; }
.sf-review-layout .sf-items li { align-items: flex-start; gap: 10px; padding: 12px 14px; }
.sf-review-layout .sf-line-copy { gap: 3px; }
.sf-review-layout :is(.sf-items-title,.sf-review-notes) h2 { font-size: 15px; font-weight: 700; color: var(--ink); }
.sf-review-course { padding: 3px 8px; border-radius: 7px; color: var(--rio-accent); background: var(--rio-tint); font-weight: 650; white-space: nowrap; }
.sf-review-layout .sf-review-notes { display: grid; gap: 12px; margin-top: 12px; }
.sf-review-notes .sf-review-contact { margin: 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; }
.sf-review-contact p, .sf-photo-notice p, .sf-review-check .sf-confirm { word-break: keep-all; overflow-wrap: anywhere; }
.sf-review-contact dl { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin: 0; }
.sf-review-contact dt { font-size: 12px; color: var(--muted); }
.sf-review-contact dd { margin: 1px 0 0; font-weight: 650; color: var(--ink); overflow-wrap: anywhere; }
.sf-review-contact p { padding-top: 8px; border-top: 1px solid var(--line); }
.sf-photo-notice { padding: 12px 14px 6px; border: 1px solid var(--line); border-radius: 14px; background: var(--soft); overflow-wrap: anywhere; }
.sf-photo-notice ul { display: grid; gap: 5px; margin: 8px 0; padding: 0; list-style: none; }
.sf-photo-notice li { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.sf-photo-notice li strong { color: var(--ink); white-space: nowrap; }
.sf-photo-notice a, .sf-review-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--rio-accent); text-underline-offset: 3px; }
.sf-review-checks { border: 1px solid var(--line); border-radius: 14px; }
.sf-review-checks h2 { padding: 12px 14px 0; }
.sf-review-check { padding: 4px 14px; }
.sf-review-check + .sf-review-check { border-top: 1px solid var(--line); }
.sf-review-check .sf-confirm { min-height: 44px; margin: 0; padding-block: 10px; font-size: 14px; color: var(--ink); cursor: pointer; }
.sf-review-check .sf-terms, .sf-review-links { margin: 0 0 0 28px; }
.sf-review-check .sf-terms > summary { display: list-item; padding: 10px 0; min-height: 44px; color: var(--rio-accent); }
.sf-review-links { display: flex; flex-wrap: wrap; gap: 0 16px; }
.sf-review-layout .sf-summary { border: 0; background: transparent; }
.sf-review-layout .sf-summary-action { padding: 0; border: 0; background: transparent; }
@media (max-width: 800px) {
  .sf-review-layout .sf-summary-action { padding: 8px 16px; border-top: 1px solid var(--line); background: var(--surface); }
}
.contact-form input:not([type=checkbox]) { min-height: 46px; width: 100%; padding: 8px 12px; border: 1px solid #d6d6d6; border-radius: 8px; }
.sf-birth-calendar { margin-top: -10px; }
.sf-birth-calendar summary { min-height: 44px; padding: 10px 0; cursor: pointer; font-size: 14px; }
.sf-birth-calendar label { display: grid; gap: 6px; font-size: 14px; }

.sf-search-form { display: grid; grid-template-columns: minmax(0,1fr); gap: 8px; }
.sf-search-controls { display: flex; min-width: 0; gap: 10px; }
.sf-search-controls input { flex: 1 1 0; min-width: 0; width: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--soft); }
.sf-search-results { list-style: none; padding: 0; margin: 0; }
.sf-search-results button { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; text-align: left; border: 0; border-bottom: 1px solid var(--line); background: #fff; padding: 8px 0; overflow-wrap: anywhere; }
.sf-search-results img { flex: none; width: 44px; height: 60px; object-fit: contain; border-radius: 4px; background: #f0f3f2; }
.sf-selected-name { padding: 10px 12px; background: var(--soft); overflow-wrap: anywhere; }
.sf-declared-error, .sf-line-copy .sf-declared-error { color: #992626; }
.sf-declared-error:empty { margin: 0; }
.sf-upload { margin: 16px 0; padding: 0 12px; border: 1px solid var(--line); border-radius: 12px; }
.sf-upload summary { padding: 12px 0; min-height: 44px; cursor: pointer; }
.sf-upload p { margin: 0 0 12px; color: var(--muted); font-size: 13px; }
.sf-upload-card { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(155px,100%),1fr)); gap: 12px; min-width: 0; margin: 0 0 12px; padding: 8px 0 0; border: 0; border-top: 1px solid var(--line); }
.sf-upload-card legend { padding-right: 6px; font-size: 13px; font-weight: 650; }
.sf-upload-side { display: grid; align-content: start; min-width: 0; gap: 4px; font-size: 13px; overflow-wrap: anywhere; }
.sf-upload-side input { min-width: 0; width: 100%; }
.sf-upload-side input::file-selector-button { min-height: 44px; margin-inline-end: 4px; }
.sf-upload-side img { width: 64px; height: 88px; object-fit: contain; border-radius: 6px; background: var(--soft); }
.sf-upload-side button { min-height: 44px; justify-self: start; }
.sf-upload-side input[aria-invalid="true"] + small { color: #992626; }
.sf-result-list, .sf-card-detail { max-width: 740px; margin: 0 auto; }
.sf-personal { display: grid; gap: 14px; max-width: 600px; margin: 0 auto; }
.sf-personal h1 { margin: 0 0 3px; font-size: clamp(24px, 4vw, 32px); }
.sf-personal-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.sf-personal-card h2 { margin: 0; padding: 14px 16px 0; font-size: 16px; font-weight: 700; }
.sf-personal-card h2:has(.sf-personal-link) { padding: 0; }
.sf-shop-notices { padding-bottom: 8px; text-align: left; }
.welcome .sf-shop-notices { margin: 0 auto 16px; max-width: 520px; }
.sf-shop-notices + .sf-layout { margin-top: 16px; }
.sf-shop-notices details { padding: 0 16px; overflow-wrap: anywhere; }
.sf-shop-notices details + details { border-top: 1px solid var(--line); }
.sf-shop-notices summary { padding-block: 12px; cursor: pointer; }
.sf-shop-notices p { margin: 0 0 12px; white-space: pre-wrap; }
.sf-personal-link { display: flex; width: 100%; min-height: 52px; padding: 12px 16px; align-items: center; justify-content: space-between; gap: 10px; border: 0; background: transparent; text-align: left; text-decoration: none; font-weight: 650; }
.sf-personal-link span { color: var(--rio-accent); font-size: 22px; line-height: 1; }
.sf-personal-summary { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); padding: 4px 7px 10px; }
.sf-personal-courses { grid-template-columns: repeat(6,minmax(0,1fr)); }
.sf-personal-summary button { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 5px; min-width: 0; min-height: 64px; padding: 8px 3px; border: 0; background: transparent; line-height: 1.3; }
.sf-personal-summary button + button { border-inline-start: 1px solid var(--line); }
.sf-personal-summary button span { font-size: clamp(11px, 2.9vw, 13px); overflow-wrap: anywhere; }
.sf-personal-courses > button { grid-column: span 2; }
.sf-personal-courses > button:nth-child(n+4) { grid-column: span 3; border-top: 1px solid var(--line); }
.sf-personal-courses > button:nth-child(4) { border-inline-start: 0; }
.sf-personal-courses > button > span { word-break: keep-all; overflow-wrap: normal; }
.sf-personal-summary strong { color: var(--rio-accent); font-size: 19px; font-variant-numeric: tabular-nums; }
.sf-personal :is(button, a):focus-visible { outline: 2px solid var(--rio-accent); outline-offset: -3px; }
.sf-personal :is(.sf-personal-link, .sf-personal-summary button):hover { background: var(--soft); }
.sf-personal .sf-detail-back { justify-self: start; margin-bottom: 0; }
.sf-login-section dl { margin: 0; padding: 0 16px; }
.sf-login-field { padding: 12px 0; }
.sf-login-field + .sf-login-field, .sf-login-section > .sf-personal-link { border-top: 1px solid var(--line); }
.sf-login-field dt { color: var(--muted); font-size: 13px; }
.sf-login-field dd { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 28px; margin: 3px 0 0; }
.sf-login-field dd > span { min-width: 0; overflow-wrap: anywhere; }
.sf-login-edit { display: inline-flex; flex: none; align-items: center; min-height: 44px; padding: 5px 12px; border: 1px solid var(--line); border-radius: 8px; color: var(--rio-accent); background: var(--surface); font-size: 13px; text-decoration: none; }
.sf-withdraw-link { justify-self: start; min-height: 44px; padding: 0 8px; color: var(--muted); background: transparent; border: 0; text-decoration: underline; text-underline-offset: 3px; }
.submission-shell:is([data-customer-screen="my-info"],[data-customer-screen="login-info"]) { background: var(--soft); }
.sf-result-list .sf-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; margin-bottom: 12px; }
.sf-result-list .sf-heading h1 { margin: 0; }
.sf-request-account-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.sf-request-account-actions:empty { display: none; }
.sf-result-list .sf-heading .sf-pill { min-height: 44px; padding: 5px 12px; font-size: 13px; }
.sf-request-account-actions .sf-pill { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; line-height: 1.3; }
.sf-detail-panel { background: var(--surface); border: 0; border-top: 1px solid var(--line); padding: 22px 0; }
.sf-request-groups { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-bottom: 1px solid var(--line); }
.sf-request-groups button { display: grid; justify-items: center; align-content: center; gap: 1px; min-height: 64px; padding: 5px; border: 0; border-bottom: 3px solid transparent; border-radius: 0; background: transparent; }
.sf-request-groups button strong { font-size: 19px; line-height: 1.45; }
.sf-request-groups button span { font-size: 13px; }
.sf-request-groups button[aria-pressed=true] { border-bottom-color: var(--rio-accent); color: var(--rio-accent); font-weight: 700; }
.sf-stage-options button[aria-pressed=true] { background: var(--rio-tint); color: var(--rio-accent); font-weight: 700; }
.sf-request-filter { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; }
.sf-request-filter select { min-height: 44px; max-width: 50%; padding: 5px 8px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); font: inherit; font-size: 14px; }
.sf-request-result { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 35px; margin-top: 3px; }
.sf-request-result p { margin: 0; color: var(--muted); font-size: 13px; }
.sf-request-result button { min-height: 44px; padding: 4px; border: 0; background: none; color: var(--rio-accent); text-decoration: underline; text-underline-offset: 3px; font-size: 13px; }
.sf-request-filter button, .sf-stage-sheet header button { min-height: 44px; padding: 5px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.sf-request-empty { padding: 32px 12px; text-align: center; color: var(--muted); }
.sf-request-empty button { margin-top: 12px; }
.sf-stage-sheet { width: min(92vw,470px); padding: 16px; border: 0; border-radius: 18px; color: var(--ink); }
.sf-stage-sheet::backdrop { background: rgb(14 33 25 / 43%); }
.sf-stage-sheet header { display: flex; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.sf-stage-sheet h2 { font-size: 18px; }
.sf-stage-sheet h3 { margin: 14px 0 8px; font-size: 14px; }
.sf-stage-options { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
.sf-stage-options.sf-delivery-options { grid-template-columns: repeat(2,minmax(0,1fr)); }
.sf-stage-options button { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 2px; min-height: 48px; padding: 6px 4px; text-align: center; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); word-break: keep-all; overflow-wrap: anywhere; }
.sf-stage-options strong { flex: none; font-size: 13px; font-variant-numeric: tabular-nums; }
.sf-result-list li { overflow-wrap: anywhere; }
.sf-card-progress { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.sf-card-progress li + li { border-top: 1px solid var(--line); }
.sf-progress-link { display: grid; grid-template-columns: 48px minmax(0,1fr) minmax(62px, auto) 9px; gap: 9px; align-items: center; width: 100%; min-height: 88px; padding: 12px 2px; background: none; border: 0; border-radius: 0; text-align: left; }
.sf-progress-link:hover { background: var(--soft); }
.sf-card-copy { display: grid; gap: 5px; }
.sf-card-copy strong { overflow-wrap: anywhere; font-size: 14px; line-height: 1.4; }
.sf-card-reference { grid-column: 1 / -1; color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.sf-card-thumb { display: grid; place-items: center; width: 48px; height: 60px; border-radius: 9px; background: var(--soft); overflow: hidden; }
.sf-card-thumb:empty::before { content: ''; width: 44%; height: 52%; border: 1px solid #aab8b1; border-radius: 3px; box-shadow: 3px 3px 0 #dbe4de; transform: rotate(-8deg); }
.sf-card-thumb img { width: 100%; height: 100%; object-fit: contain; }
.sf-card-tags { display: grid; justify-items: end; gap: 4px; text-align: right; word-break: keep-all; }
.sf-card-tags .sf-card-stage { background: none; padding: 0; justify-self: end; }
.sf-card-stage { display: inline-block; justify-self: start; background: var(--rio-tint); color: var(--rio-accent); border-radius: 8px; padding: 3px 9px; font-size: 13px; font-weight: 650; }
.sf-card-grade { padding: 3px 9px; border-radius: 8px; color: var(--ink); background: var(--soft); font-size: 13px; font-weight: 700; }
.sf-card-chevron { color: var(--muted); font-size: 20px; }
.sf-detail-back { min-height: 44px; background: transparent; border: 0; padding: 0 6px; font-weight: 650; }
.sf-detail-header { margin: 6px 0 18px; }
.sf-detail-identity { display: grid; grid-template-columns: 70px minmax(0,1fr); gap: 14px; align-items: center; }
.sf-detail-identity .sf-card-thumb { width: 70px; height: 92px; }
.sf-card-gallery { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; max-width: 520px; margin-top: 12px; }
.sf-card-gallery figure { margin: 0; min-width: 0; }
.sf-card-gallery-photo { display: grid; place-items: center; width: 100%; aspect-ratio: 3 / 4; min-width: 0; padding: 0; overflow: hidden; border: 0; border-radius: 10px; background: var(--soft); color: var(--muted); font-size: 13px; }
button.sf-card-gallery-photo:enabled { cursor: zoom-in; }
.sf-card-gallery-photo img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.sf-card-gallery figcaption { padding-top: 7px; text-align: center; font-size: 14px; }
.sf-photo-viewer { width: min(720px, calc(100% - 24px)); max-width: none; max-height: calc(100dvh - 24px); padding: 12px; border: 0; border-radius: 14px; color: var(--ink); background: var(--surface); }
.sf-photo-viewer::backdrop { background: rgb(0 0 0 / 66%); }
.sf-photo-viewer header, .sf-photo-controls { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.sf-photo-viewer header { margin-bottom: 8px; }
.sf-photo-viewer header h2 { margin: 0; font-size: 17px; }
.sf-photo-viewer button { min-width: 58px; min-height: 44px; padding: 4px 10px; }
.sf-photo-viewport { position: relative; overflow: auto; overscroll-behavior: contain; height: clamp(96px, calc(100dvh - 162px), 680px); background: var(--soft); border-radius: 8px; }
.sf-photo-viewport > div { display: grid; place-items: center; width: max-content; min-width: 100%; min-height: 100%; }
.sf-photo-viewport img { display: block; height: auto; max-width: none; }
.sf-photo-controls { justify-content: center; margin-top: 8px; }
.sf-photo-controls output { min-width: 60px; text-align: center; font-variant-numeric: tabular-nums; }
.sf-photo-feedback { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; pointer-events: none; }
.sf-photo-viewer[data-psa-viewer][open] { display: grid; grid-template-columns: minmax(0,1fr); grid-template-rows: auto minmax(0,1fr) auto auto; width: 100%; height: 100%; max-height: none; margin: 0; padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); overflow: hidden; border-radius: 0; color: #f5f8f6; background: #121917; }
.sf-photo-viewer[data-psa-viewer] header { margin: 0; padding: 6px 14px; border-bottom: 1px solid #34403b; }
.sf-photo-viewer[data-psa-viewer] header h2 { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: clamp(14px,3.6vw,17px); }
.sf-photo-viewer[data-psa-viewer] button { border: 1px solid #55665e; background: #22312a; color: inherit; border-radius: 8px; }
.sf-photo-viewer[data-psa-viewer] button:disabled { opacity: .55; }
.sf-photo-viewer[data-psa-viewer] .sf-photo-viewport { height: auto; margin: 8px 12px; background: transparent; touch-action: none; user-select: none; overflow-anchor: none; scrollbar-width: none; }
.sf-photo-viewer[data-psa-viewer] .sf-photo-viewport::-webkit-scrollbar { display: none; }
.sf-photo-viewer[data-psa-viewer] .sf-photo-viewport[data-zoomed] { cursor: grab; }
.sf-photo-viewer[data-psa-viewer] .sf-photo-viewport[data-zoomed]:active { cursor: grabbing; }
.sf-photo-sides { display: flex; justify-content: center; gap: 8px; padding: 0 12px 6px; }
.sf-photo-sides button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-size: 13px; }
.sf-photo-sides img { width: 24px; height: 32px; object-fit: contain; }
.sf-photo-viewer .sf-photo-sides button[aria-pressed=true] { border-color: #b3e8cc; background: #334b3f; }
.sf-photo-viewer[data-psa-viewer] .sf-photo-controls { margin-top: 0; padding: 6px 12px; border-top: 1px solid #34403b; }
.sf-detail-header h1 { margin: 5px 0 8px; font-size: clamp(17px,4.6vw,24px); line-height: 1.35; overflow-wrap: anywhere; }
.sf-detail-header p { color: var(--muted); font-size: 14px; }
.sf-detail-panel h2 { font-size: 18px; }
.sf-journey-panel { margin-top: 16px; padding: 14px; border-radius: 14px; background: var(--rio-tint); }
.sf-journey-panel h2 { font-size: 16px; }
.sf-steps { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 3px; list-style: none; margin: 0; padding: 0; text-align: center; }
.sf-steps li { position: relative; border-top: 3px solid var(--line); padding: 9px 1px 0; color: var(--muted); font-size: clamp(12px,2.6vw,14px); word-break: keep-all; overflow-wrap: anywhere; }
.sf-steps li::before { content: ""; position: absolute; top: -6px; left: calc(50% - 5px); width: 10px; height: 10px; border: 2px solid var(--line); border-radius: 50%; background: var(--surface); }
.sf-steps li[data-completed], .sf-steps li[aria-current] { border-color: var(--rio-accent); }
.sf-steps li[data-completed]::before { border-color: var(--rio-accent); background: var(--rio-accent); }
.sf-steps li[aria-current]::before { border-color: var(--rio-accent); box-shadow: 0 0 0 3px var(--rio-tint); }
.sf-steps li[aria-current] { color: var(--rio-accent); font-weight: 750; }
.sf-journey-panel .sf-steps { margin-top: 12px; }
.sf-card-journey { grid-template-columns: repeat(6,minmax(0,1fr)); row-gap: 14px; }
.sf-card-journey time { display: block; color: var(--muted); font-size: 12px; }
.sf-content > .sf-steps { grid-template-columns: repeat(3,minmax(0,1fr)); margin-bottom: clamp(18px,4vw,26px); }
.submission-shell:is([data-customer-screen="requests"],[data-customer-screen="card"]) { background: var(--surface); }
.submission-shell:is([data-customer-screen="requests"],[data-customer-screen="card"]) .main-content { padding-top: 20px; }
.customer-action-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 24px; }
@media (max-width: 800px) {
  .submission-shell:is([data-customer-screen="requests"],[data-customer-screen="card"]) .main-content { padding-inline: 14px; }
  .sf-request-filter { position: sticky; top: 0; z-index: 2; padding: 6px 0; background: var(--surface); }
  .sf-card-journey { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .topbar { padding: 6px 16px; min-height: 56px; align-items: center; gap: 8px; background: var(--surface); }
  .topbar:has(.shop-login:not([hidden])) { grid-template-columns: minmax(78px,1fr) minmax(0,2fr) minmax(78px,1fr); }
  .shop-brand { font-size: 19px; line-height: 1.35; word-break: keep-all; }
  .shop-brand span { display: inline; white-space: nowrap; }
  #customer-nav:empty { display: none; }
  #customer-nav { position: fixed; inset: auto 0 0; z-index: 6; display: flex; flex-wrap: nowrap; gap: 3px; min-height: 58px; padding: 5px 9px calc(5px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--surface); }
  #customer-nav button { flex: 1 1 0; min-width: 0; padding: 3px 5px; font-weight: 550; line-height: 1.25; word-break: keep-all; }
  .workspace:has(#customer-nav:not(:empty)) { padding-bottom: calc(58px + env(safe-area-inset-bottom)); }
  .sf-stage-sheet { width: 100%; max-width: none; max-height: 75vh; margin: auto 0 0; padding: 16px 16px calc(16px + env(safe-area-inset-bottom)); border-radius: 18px 18px 0 0; }
  .page-footer { padding: 20px; }
  .welcome { margin-top: 0; }
  .login-panel { margin-top: 24px; padding: 20px; }
}
@media (max-width: 360px) {
  .sf-progress-link { grid-template-columns: 38px minmax(0,1fr) minmax(52px,auto); gap: 7px; }
  .sf-progress-link .sf-card-thumb { width: 38px; height: 52px; }
  .sf-card-chevron { display: none; }
}
@media (max-width: 430px) {

}
.sf-draft-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 12px; margin-top: 8px; }
.sf-draft-actions button { min-height: 44px; }
.sf-draft-actions [role="status"] { font-size: 13px; color: var(--muted); }
