.owner-stores-dialog { box-sizing: border-box; position: fixed; inset: 0; margin: auto; width: min(390px, calc(100% - 24px)); max-width: 100%; height: min(710px, 84dvh); max-height: calc(100dvh - 24px); padding: 0; border: 1px solid var(--card-border, #d1e8d1); border-radius: var(--radius, 8px); color: var(--text-primary, #1e3027); background: var(--bg-white, #fff); font-family: var(--font, Pretendard, sans-serif); }
.owner-stores-dialog[open] { display: flex; flex-direction: column; animation: owner-sheet-in 180ms ease-out; }
.owner-stores-handle { display: none; }
.owner-stores-head, .owner-stores-footer { flex-shrink: 0; }
.owner-stores-footer { padding: 16px 16px max(16px, env(safe-area-inset-bottom)); border-top: 1px solid var(--card-border, #d1e8d1); background: #fff; }
.owner-stores-dialog .owner-stores-footer p { margin: 0 0 12px; color: #62656f; font-size: 12px; line-height: 18px; text-align: center; }
.owner-stores-footer .btn-primary { box-sizing: border-box; width: 100%; min-height: 48px; height: 48px; padding: 0 12px; border: 0; border-radius: var(--radius, 8px); background: var(--green-primary, #03c75a); color: #fff; font-family: inherit; font-size: 15px; font-weight: 800; box-shadow: none; }
.owner-stores-footer .btn-primary:disabled { opacity: 1; background: #e9ecea; color: #979d99; cursor: default; }
.owner-store-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@keyframes owner-sheet-in { from { transform: translateY(24px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .owner-stores-dialog[open] { animation: none; } }
@media (max-width: 480px) { .owner-stores-dialog { width: calc(100% - 24px); } }
html.native-app .owner-stores-dialog { width: min(390px, calc(100% - 24px)); }
.owner-stores-dialog::backdrop { background: rgb(0 0 0 / .46); }
.owner-stores-head { padding: 18px 56px 16px 16px; border-bottom: 1px solid var(--card-border, #d1e8d1); }
.owner-stores-head h2 { font-size: 18px; font-weight: 800; line-height: 24px; letter-spacing: -.3px; margin: 0; }
.owner-stores-dialog .owner-stores-intro { margin: 6px 0 0; color: var(--text-secondary, #686b75); font-size: 12px; line-height: 18px; }
.owner-stores-close { position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 44px; height: 44px; padding: 10px; border: 0; border-radius: var(--radius, 8px); color: var(--text-secondary, #60616a); background: transparent; cursor: pointer; }
.owner-stores-close svg { width: 24px; height: 24px; }
.owner-stores-close:focus-visible, .owner-store-menu:focus-visible { outline: 2px solid #03c75a; outline-offset: -2px; }
.owner-stores-body { flex: 1 1 auto; padding: 16px; overflow-y: auto; overscroll-behavior: contain; min-height: 0; }
.owner-stores-body::-webkit-scrollbar { display: none; }
.owner-stores-dialog [hidden], [data-owner-stores-open][hidden] { display: none !important; }
#auth-session-retry[hidden] { display: none !important; }
.owner-stores-dialog h3 { margin: 0 0 12px; font-size: 15px; font-weight: 800; line-height: 22px; letter-spacing: -.3px; }
.owner-stores-dialog h3 > span { color: #03c75a; margin-left: 5px; font-variant-numeric: tabular-nums; }
.owner-stores-dialog p { font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
.owner-store-message { color: var(--text-secondary, #555); margin: 0 10px 12px; }
.owner-store-error { color: #be123c; }
.owner-store-row { box-sizing: border-box; display: flex; align-items: center; gap: 12px; width: 100%; min-height: 64px; text-align: left; padding: 12px; margin: 0 0 8px; border: 1px solid var(--card-border, #d1e8d1); border-radius: var(--radius, 8px); background: #fff; color: inherit; font: inherit; cursor: pointer; }
.owner-store-row.is-selected { background: #f0faf5; }
.owner-store-row.is-unavailable { background: transparent; cursor: default; padding: 10px 16px; }
.owner-store-copy { display: grid; gap: 3px; min-width: 0; flex: 1; overflow-wrap: anywhere; }
.owner-store-copy strong { font-size: 16px; font-weight: 700; line-height: 22px; letter-spacing: -.3px; }
.owner-store-copy > span { font-size: 12px; line-height: 18px; color: #696c75; }
.owner-store-row.is-selected .owner-store-copy > span { color: #03c75a; }
.owner-store-row input { appearance: none; -webkit-appearance: none; box-sizing: border-box; width: 24px; height: 24px; margin: 0; border: 2px solid #d7d9dd; border-radius: 50%; background: #fff; flex-shrink: 0; }
.owner-store-row input:checked:not(:disabled) { border-color: #03c75a; background: radial-gradient(circle, #03c75a 0 6px, transparent 6.5px); }
.owner-store-row input:focus-visible { outline: 2px solid #168944; outline-offset: 3px; }
.owner-store-pending { margin-top: 24px; }
.owner-store-status-icon { flex: 0 0 22px; width: 22px; height: 22px; color: #9b9ea4; }
.owner-store-status-icon svg { display: block; width: 22px; height: 22px; }
.owner-store-management { margin: 16px 0 0; border-top: 1px solid var(--card-border, #d1e8d1); }
.owner-store-menu { box-sizing: border-box; display: flex; align-items: center; gap: 12px; width: 100%; min-height: 52px; padding: 12px 0; border: 0; border-bottom: 1px solid var(--card-border, #d1e8d1); border-radius: 0; background: transparent; color: inherit; font: inherit; font-size: 14px; font-weight: 700; text-align: left; cursor: pointer; }
.owner-menu-icon { width: 24px; height: 24px; flex-shrink: 0; color: #74777e; }
.owner-menu-chevron { width: 18px; height: 18px; margin-left: auto; flex-shrink: 0; color: #74777e; }
.owner-stores-form-view { height: fit-content; max-height: calc(100dvh - 32px); }
.owner-stores-form-view .owner-stores-head { padding-bottom: 18px; }
.owner-stores-form-view .owner-stores-intro { display: none; }
.owner-stores-form-view .owner-stores-body { flex: 0 1 auto; padding: 16px; }
.owner-stores-form-view h3 { margin: 0 0 12px; }
.owner-store-tools { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--card-border, #d1e8d1); }
.owner-stores-link-view { height: fit-content; max-height: calc(100dvh - 32px); }
.owner-stores-link-view .owner-stores-body { flex: 0 1 auto; }
.owner-stores-dialog .owner-form-intro { margin: 0 0 20px; padding: 12px; border-radius: var(--radius, 8px); background: var(--green-light, #eef9f2); color: var(--text-secondary, #555); font-size: 13px; line-height: 1.6; }
.owner-business-lookup { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px; }
.owner-business-lookup .btn-secondary { width: auto; height: 48px; padding: 0 12px; font-size: 13px; white-space: nowrap; }
.owner-business-lookup .form-input { min-width: 0; }
.owner-registration-progress { margin: 0 0 28px; padding: 4px 0; gap: 8px; }
.owner-registration-marker { display: grid; justify-items: center; gap: 8px; flex-shrink: 0; font-size: 11px; font-weight: 700; color: var(--text-secondary, #555); }
.owner-registration-marker[aria-current="step"] { color: var(--green-dark, #156c3c); }
.owner-registration-progress .step-line { flex: 1; align-self: start; margin-top: 15px; }
.owner-stores-dialog .owner-registration-title { margin: 0 0 20px; font-size: 18px; font-weight: 800; line-height: 1.4; outline: none; }
.owner-stores-dialog [data-owner-summary] { white-space: pre-line; overflow-wrap: anywhere; }
.owner-stores-dialog [hidden] { display: none !important; }
.owner-store-document { margin-top: 20px; padding-top: 4px; border-top: 1px solid var(--card-border, #d1e8d1); }
.owner-stores-dialog .owner-field-help { margin: 8px 0 0; color: var(--text-secondary, #555); font-size: 12px; }
.owner-store-agreements { margin-top: 20px; padding: 8px 12px; border: 1px solid var(--card-border, #d1e8d1); border-radius: var(--radius, 8px); }
.owner-consent-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.owner-consent-row + .owner-consent-row { border-top: 1px solid var(--card-border, #d1e8d1); }
.owner-consent-row .owner-store-consent { flex: 1; min-height: 44px; margin: 0; font-size: 12px; }
.owner-consent-row .service-text-btn { flex-shrink: 0; min-width: 44px; min-height: 44px; padding: 0 4px; font-size: 12px; }
.owner-request-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.owner-stores-dialog .owner-request-heading h3 { margin: 0; font-size: 14px; }
.owner-request-heading .service-text-btn { min-height: 44px; padding: 0 4px; }
.owner-store-account-tools { display: flex; justify-content: flex-end; margin-top: 8px; }
.owner-store-account-tools .owner-store-logout { margin: 0; min-height: 44px; padding: 0 4px; color: var(--text-secondary, #555); }
.owner-store-actions { display: grid; grid-template-columns: 1fr 1.8fr; gap: 10px; margin: 20px 0 16px; }
.owner-store-actions .btn-primary, .owner-store-actions .btn-secondary { min-width: 0; height: 48px; font-size: 15px; }
.owner-stores-dialog .form-label { display: grid; gap: 6px; margin: 14px 0 8px; font-size: 13px; font-weight: 800; }
.owner-stores-dialog .form-input { width: 100%; box-sizing: border-box; font-family: inherit; border-radius: var(--radius, 8px); }
.owner-stores-dialog textarea.form-input { min-height: 88px; height: auto; padding: 12px 14px; resize: vertical; }
.owner-stores-dialog input[type="file"].form-input { height: auto; min-height: 48px; padding: 10px; font-size: 12px; }
.owner-stores-dialog input[type="file"]::file-selector-button { padding: 6px 10px; margin-right: 8px; border: 1px solid var(--card-border, #d1e8d1); border-radius: var(--radius-sm, 4px); background: var(--green-light, #eef9f2); color: var(--green-dark, #156c3c); font: inherit; cursor: pointer; }
.owner-store-consent { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 13px; line-height: 1.5; }
.owner-store-consent input { width: 20px; height: 20px; accent-color: #03c75a; flex-shrink: 0; }
.owner-store-request { display: flex; align-items: center; gap: 12px; padding: 12px; margin-bottom: 8px; border: 1px solid var(--card-border, #d1e8d1); border-radius: var(--radius, 8px); }
.owner-request-copy { display: grid; justify-items: start; gap: 6px; flex: 1; min-width: 0; overflow-wrap: anywhere; }
.owner-request-copy strong { font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
.owner-request-copy p { margin: 0; }
.owner-store-request-status { font-size: 11px; font-weight: 600; line-height: 18px; padding: 2px 6px; border-radius: var(--radius-sm, 4px); background: var(--green-light, #eef9f2); color: var(--green-dark, #156c3c); }
.owner-store-request .btn-secondary { width: auto; height: 44px; min-height: 44px; flex-shrink: 0; padding: 8px 10px; font-size: 12px; color: var(--text-secondary, #555); border-color: var(--card-border, #d1e8d1); }
.owner-store-change { font: inherit; font-size: 12px; color: #156c3c; border: 1px solid var(--card-border, #d8e7d4); background: #fff; border-radius: 8px; padding: 8px 10px; flex-shrink: 0; }
.owner-account-status { padding: 24px 16px; }
.owner-account-status h1 { font-size: 22px; margin: 20px 0; }
.owner-account-status p { font-size: 14px; line-height: 1.6; }
.owner-account-status .owner-store-actions { margin-top: 24px; }

/* Personal landing keeps the same capability-controlled actions. */
#screen-personal-home .owner-account-status { box-sizing: border-box; padding: 36px 24px 32px; background: #fff; }
#screen-personal-home h1 { margin: 0 0 12px; color: #182b20; font-size: 24px; line-height: 1.4; font-weight: 800; letter-spacing: -.5px; }
#screen-personal-home #personal-home-name { margin: 0 0 24px; color: #53635a; font-size: 15px; font-weight: 600; }
#screen-personal-home #personal-home-name + p { margin: 0; padding: 20px; border: 1px solid #d1e8d1; border-radius: var(--radius, 8px); background: #f4fbf6; color: #315843; font-size: 15px; line-height: 1.65; word-break: keep-all; }
#screen-personal-home .owner-store-actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin: 24px 0 0; }
#screen-personal-home .owner-store-actions button { width: 100%; min-height: 48px; height: auto; padding: 12px 16px; line-height: 1.4; }
#screen-personal-home .owner-store-actions button[hidden] { display: none; }

/* Approved home header only; home-scroll and every service retain their styling. */
#screen-home .home-header { gap: 12px; }
#screen-home .home-store-identity { min-width: 0; flex: 1; }
#screen-home .home-store-caption { display: block; margin-bottom: 3px; font-size: 11px; line-height: 1.4; font-weight: 400; color: var(--text-secondary, #555); }
#screen-home .home-store-picker { display: flex; align-items: center; gap: 10px; max-width: 100%; padding: 0; border: 0; border-radius: 0; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; }
#screen-home .home-store-picker:disabled { opacity: 1; cursor: default; }
#screen-home .home-store-picker .home-identity-title { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#screen-home .home-store-chevron { flex: 0 0 8px; width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); color: var(--text-secondary, #555); margin-right: 3px; }
#screen-home .home-header-owner { align-items: flex-end; }
#screen-home .home-header-owner .home-identity-title { font-size: 20px; line-height: 1.4; letter-spacing: -.5px; }
#screen-home .home-header-owner .owner-store-change { align-self: center; min-height: 44px; padding: 8px 0 8px 4px; border: 0; background: transparent; color: var(--green-primary, #03c75a); font-size: 12px; font-weight: 700; cursor: pointer; }
#screen-home .home-header [hidden] { display: none !important; }
#screen-home .personal-service-unavailable { opacity: .48; cursor: not-allowed; filter: grayscale(.65); }
