/* Public contract pages — Zomato-inspired theme */
:root {
    --zom-cranberry: #e23744;
    --zom-cranberry-dark: #cb2d3a;
    --zom-pepper: #2d2d2d;
    --zom-tyrolean: #f4f4f2;
    --zom-white: #ffffff;
    --zom-muted: #696969;
    --zom-border: #e8e8e8;
    --zom-shadow: 0 8px 28px rgba(45, 45, 45, 0.08);
    --zom-radius: 16px;
    --zom-font: 'Outfit', 'Open Sans', system-ui, sans-serif;
    --zom-font-display: 'Outfit', 'Open Sans', system-ui, sans-serif;
}

body.zomato-public {
    background: var(--zom-tyrolean) !important;
    color: var(--zom-pepper);
    font-family: var(--zom-font);
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body.zomato-public.public-wizard-page {
    min-height: 100dvh;
    padding-bottom: env(safe-area-inset-bottom, 0);
}

body.zomato-public .font-display,
body.zomato-public .font-sans,
body.zomato-public h1,
body.zomato-public h2,
body.zomato-public h3 {
    font-family: var(--zom-font-display) !important;
}

body.zomato-public .btn-primary {
    background: var(--zom-cranberry) !important;
    border-color: var(--zom-cranberry) !important;
    color: #fff !important;
    border-radius: 10px !important;
    font-weight: 700;
}

body.zomato-public .btn-primary:hover {
    background: var(--zom-cranberry-dark) !important;
    border-color: var(--zom-cranberry-dark) !important;
}

body.zomato-public .btn-secondary {
    border-radius: 10px !important;
    border-color: var(--zom-border) !important;
    color: var(--zom-pepper) !important;
    background: #fff !important;
    font-weight: 600;
}

body.zomato-public .form-input,
body.zomato-public .form-input:focus {
    border-radius: 10px !important;
    border-color: var(--zom-border) !important;
    background: #fff;
}

body.zomato-public .form-input:focus {
    outline: 2px solid rgba(226, 55, 68, 0.25);
    border-color: var(--zom-cranberry) !important;
}

/* Blank public apply form */
.zom-shell {
    max-width: 920px;
    margin: 0 auto;
    padding: 1.25rem 1rem 3rem;
}

.zom-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.zom-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.zom-brand-mark {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 10px;
    background: var(--zom-cranberry);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
}

.zom-brand-text {
    display: flex;
    flex-direction: column;
}

.zom-brand-name {
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--zom-pepper);
    line-height: 1.1;
}

.zom-brand-sub {
    font-size: 0.75rem;
    color: var(--zom-muted);
}

.zom-hero {
    background: linear-gradient(135deg, #fff 0%, #fff5f5 55%, #ffe8ea 100%);
    border: 1px solid #f3c6ca;
    border-radius: calc(var(--zom-radius) + 4px);
    padding: 1.35rem 1.25rem;
    margin-bottom: 1.25rem;
    box-shadow: var(--zom-shadow);
}

.zom-hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--zom-cranberry);
    margin-bottom: 0.55rem;
}

.zom-hero h1 {
    font-size: clamp(1.45rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--zom-pepper);
    margin: 0 0 0.4rem;
    letter-spacing: -0.02em;
}

.zom-hero p {
    margin: 0;
    color: var(--zom-muted);
    font-size: 0.95rem;
    max-width: 42rem;
    line-height: 1.5;
}

.zom-card {
    background: #fff;
    border: 1px solid var(--zom-border);
    border-radius: var(--zom-radius);
    padding: 1.1rem 1rem 1.25rem;
    box-shadow: var(--zom-shadow);
    margin-bottom: 1rem;
}

.zom-card-head {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--zom-border);
}

.zom-card-icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 10px;
    background: rgba(226, 55, 68, 0.1);
    color: var(--zom-cranberry);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.zom-card-head h2 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--zom-pepper);
}

.zom-card-head p {
    margin: 0.2rem 0 0;
    font-size: 0.8rem;
    color: var(--zom-muted);
}

.zom-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.85rem;
}

@media (min-width: 640px) {
    .zom-grid-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .zom-grid-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.zom-span-2 {
    grid-column: 1 / -1;
}

@media (min-width: 640px) {
    .zom-span-2-sm {
        grid-column: span 2;
    }
}

.zom-block {
    border: 1px solid var(--zom-border);
    border-radius: 12px;
    background: #fafafa;
    padding: 0.85rem;
    margin-bottom: 0.85rem;
}

.zom-block:last-child {
    margin-bottom: 0;
}

.zom-block-label {
    margin: 0 0 0.65rem;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--zom-muted);
}

.zom-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

@media (min-width: 640px) {
    .zom-actions {
        flex-direction: row;
        justify-content: flex-end;
    }
}

.zom-alert {
    border-radius: 12px;
    padding: 0.85rem 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.zom-alert-error {
    background: #fff1f2;
    border: 1px solid #fecdd3;
    color: #9f1239;
}

.zom-alert-success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.zom-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.zom-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(226, 55, 68, 0.08);
    color: var(--zom-pepper);
    font-size: 0.82rem;
    font-weight: 600;
}

.zom-chip-dot {
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: var(--zom-cranberry);
}

/* Existing signing wizard restyle */
body.zomato-public.reg-page main.flex-1 {
    max-width: 920px !important;
}

body.zomato-public .reg-shell {
    background: #fff;
    border: 1px solid var(--zom-border);
    border-radius: var(--zom-radius);
    box-shadow: var(--zom-shadow);
    padding: 1.25rem 1rem 1.5rem;
}

body.zomato-public .reg-header {
    text-align: left;
    margin-bottom: 1.1rem;
}

body.zomato-public .reg-header-logo {
    max-height: 44px;
    width: auto;
}

body.zomato-public .reg-steps-simple {
    margin-top: 1rem;
    gap: 0.65rem;
}

body.zomato-public .reg-step-badge {
    width: 1.65rem;
    height: 1.65rem;
    font-size: 0.78rem;
    font-weight: 800;
}

body.zomato-public .reg-panel-head h2 {
    color: var(--zom-pepper);
    font-weight: 800;
}

body.zomato-public .reg-footer-actions .btn-primary,
body.zomato-public .reg-nav .btn-primary {
    background: var(--zom-cranberry) !important;
}

body.zomato-public .reg-header-title {
    color: var(--zom-pepper) !important;
}

body.zomato-public .reg-step-badge {
    background: var(--zom-cranberry) !important;
    color: #fff !important;
}

body.zomato-public .reg-steps-simple li[aria-current='step'] .reg-step-label,
body.zomato-public .reg-steps-simple .is-active .reg-step-label {
    color: var(--zom-cranberry) !important;
}

body.zomato-public .reg-summary-card,
body.zomato-public .reg-doc-card,
body.zomato-public .reg-success-card {
    border-radius: 12px;
    border-color: var(--zom-border);
}

body.zomato-public .reg-location-gate-inner {
    border-radius: var(--zom-radius);
    border: 1px solid var(--zom-border);
    box-shadow: var(--zom-shadow);
}

body.zomato-public .success-ring {
    background: rgba(226, 55, 68, 0.12) !important;
    color: var(--zom-cranberry) !important;
}

body.zomato-public .website-company-block {
    background: #fafafa;
    border-color: var(--zom-border);
}

body.zomato-public .website-company-block-label {
    color: var(--zom-muted);
}

/* Public 4-step wizard: left steps + center content */
body.public-wizard-page main.flex-1,
body.public-wizard-page > main {
    max-width: none !important;
    padding: 0 !important;
    width: 100%;
}

.pcw {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    min-height: calc(100dvh - 1rem);
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    gap: 0.75rem;
    padding: 0.65rem;
    padding-left: max(0.65rem, env(safe-area-inset-left));
    padding-right: max(0.65rem, env(safe-area-inset-right));
    box-sizing: border-box;
    overflow-x: clip;
}

@media (min-width: 700px) {
    .pcw {
        padding: 1rem;
        gap: 1rem;
    }
}

@media (min-width: 900px) {
    .pcw {
        grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
        gap: 1.25rem;
        padding: 1.25rem;
        align-items: start;
        min-height: calc(100dvh - 2rem);
    }
}

@media (min-width: 1200px) {
    .pcw {
        grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
        max-width: 1240px;
    }
}

.pcw-sidebar {
    background: #fff;
    border: 1px solid var(--zom-border);
    border-radius: var(--zom-radius);
    box-shadow: var(--zom-shadow);
    padding: 0.85rem;
    position: sticky;
    top: max(0.5rem, env(safe-area-inset-top));
    z-index: 20;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

@media (min-width: 900px) {
    .pcw-sidebar {
        display: flex;
        flex-direction: column;
        padding: 1rem;
        top: 1rem;
        max-height: calc(100dvh - 2rem);
        overflow: auto;
    }
}

.pcw-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--zom-border);
}

.pcw-steps {
    display: flex;
    flex-direction: row;
    gap: 0.45rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 0.15rem;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.pcw-steps::-webkit-scrollbar {
    display: none;
}

@media (min-width: 900px) {
    .pcw-steps {
        flex-direction: column;
        overflow: visible;
        scroll-snap-type: none;
        gap: 0.5rem;
        padding-bottom: 0;
    }
}

.pcw-step {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    width: auto;
    min-width: 9.5rem;
    min-height: 44px;
    text-align: left;
    border: 1px solid var(--zom-border);
    background: #fafafa;
    border-radius: 12px;
    padding: 0.55rem 0.7rem;
    cursor: pointer;
    color: var(--zom-pepper);
    transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
    scroll-snap-align: start;
    flex-shrink: 0;
}

@media (min-width: 900px) {
    .pcw-step {
        width: 100%;
        min-width: 0;
        flex-shrink: 1;
        padding: 0.7rem 0.75rem;
        gap: 0.65rem;
    }
}

.pcw-step:hover:not(:disabled) {
    border-color: #f3c6ca;
    background: #fff8f8;
}

.pcw-step:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.pcw-step.is-active {
    border-color: var(--zom-cranberry);
    background: #fff5f5;
    box-shadow: 0 0 0 3px rgba(226, 55, 68, 0.12);
}

.pcw-step.is-done {
    border-color: #f3c6ca;
    background: #fff;
}

.pcw-step-index {
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 999px;
    background: var(--zom-pepper);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 800;
    flex-shrink: 0;
}

.pcw-step.is-active .pcw-step-index,
.pcw-step.is-done .pcw-step-index {
    background: var(--zom-cranberry);
}

.pcw-step-body {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}

.pcw-step-title {
    font-size: 0.88rem;
    font-weight: 800;
    line-height: 1.2;
}

.pcw-step-sub {
    font-size: 0.72rem;
    color: var(--zom-muted);
    line-height: 1.3;
}

.pcw-step-icon {
    color: var(--zom-cranberry);
    font-size: 1.25rem;
    opacity: 0.85;
}

.pcw-main {
    min-width: 0;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    overflow-x: clip;
}

.pcw-form,
.pcw-form .zom-card,
.pcw-form .zom-block,
.pcw-form .website-company-block {
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.pcw-main-head {
    margin-bottom: 1rem;
}

.pcw-main-head-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.65rem 1rem;
    margin-bottom: 0.35rem;
    flex-wrap: wrap;
}

.pcw-main-head h1 {
    margin: 0;
    font-size: clamp(1.2rem, 4.2vw, 1.85rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--zom-pepper);
    min-width: 0;
    flex: 1 1 12rem;
    line-height: 1.2;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.pcw-head-action {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0.45rem 0.85rem;
    border-radius: 10px;
    border: 1px solid rgba(28, 28, 28, 0.14);
    background: #fff;
    color: var(--zom-pepper);
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
}

.pcw-head-action:hover {
    border-color: var(--zom-cranberry);
    color: var(--zom-cranberry);
}

.pcw-main-head p {
    margin: 0;
    color: var(--zom-muted);
    font-size: 0.92rem;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.pcw-panel {
    display: none;
}

.pcw-panel.is-active {
    display: block;
}

.pcw-form .zom-card {
    margin-bottom: 1rem;
}

.pcw-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.65rem;
    margin-top: 1rem;
    padding-top: 0.65rem;
    position: sticky;
    bottom: 0;
    z-index: 15;
    background: linear-gradient(180deg, rgba(244, 244, 242, 0), var(--zom-tyrolean) 28%);
    padding-bottom: max(0.65rem, env(safe-area-inset-bottom));
}

.pcw-footer .btn-primary,
.pcw-footer .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-height: 44px;
    flex: 1 1 auto;
}

@media (min-width: 640px) {
    .pcw-footer .btn-primary,
    .pcw-footer .btn-secondary {
        flex: 0 0 auto;
        min-width: 8.5rem;
    }
}

.pcw-upload-drop {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    border: 1.5px dashed #f3c6ca;
    border-radius: 14px;
    background: #fff8f8;
    padding: 1.4rem 1rem;
    text-align: center;
    cursor: pointer;
    color: var(--zom-pepper);
}

.pcw-upload-drop input {
    display: none;
}

.pcw-upload-drop .material-symbols-rounded {
    font-size: 2rem;
    color: var(--zom-cranberry);
}

.pcw-upload-drop span {
    font-size: 0.82rem;
    color: var(--zom-muted);
}

.pcw-upload-msg {
    margin-top: 0.65rem;
    font-size: 0.85rem;
}

.pcw-upload-msg.is-error {
    color: #9f1239;
}

.pcw-upload-msg.is-ok {
    color: #065f46;
}

/* Step 6 — simple centered success */
.pcw-live-done-card {
    background: #fff;
    border: 1px solid var(--zom-border, #e4e4e7);
    border-radius: var(--zom-radius, 12px);
    box-shadow: var(--zom-shadow, 0 1px 2px rgba(0, 0, 0, 0.04));
    padding: 2rem 1.5rem 1.75rem;
    text-align: center;
}

.pcw-live-done-card .success-ring {
    margin: 0 auto 1.1rem;
}

.pcw-live-done-heading {
    margin: 0;
    font-size: 1.7rem;
    font-weight: 800;
    line-height: 1.25;
    color: #18181b;
    text-align: center;
}

.pcw-live-done-lead {
    margin: 0.5rem 0 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f766e;
    line-height: 1.35;
    text-align: center;
}

.pcw-live-done-date {
    margin: 0.4rem 0 0;
    font-size: 0.95rem;
    font-weight: 500;
    color: #71717a;
    line-height: 1.4;
    text-align: center;
}

.pcw-live-done-id {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    margin: 1.05rem auto 0;
    padding: 0.55rem 1rem;
    border: 1px solid #e4e4e7;
    border-radius: 10px;
    background: #fafafa;
    text-align: center;
    white-space: nowrap;
}

.pcw-live-done-id-label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #71717a;
}

.pcw-live-done-id-value {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #18181b;
    line-height: 1.2;
}

.pcw-step6-status {
    width: min(100%, 22rem);
    margin: 1.1rem auto 0;
    padding: 0.85rem 1rem;
    border: 1px solid #bfdbfe;
    border-radius: 12px;
    background: #eff6ff;
    text-align: center;
}

.pcw-step6-status.is-live {
    border-color: #99f6e4;
    background: #f0fdfa;
}

.pcw-step6-status-kicker {
    margin: 0;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #64748b;
}

.pcw-step6-status-headline {
    margin: 0.25rem 0 0;
    font-size: 1.2rem;
    font-weight: 800;
    color: #1e3a8a;
    line-height: 1.2;
}

.pcw-step6-status.is-live .pcw-step6-status-headline {
    color: #0f766e;
}

.pcw-live-done-line {
    display: block;
    width: 4.5rem;
    margin: 1.25rem auto 0;
    border: 0;
    border-top: 1px solid #e4e4e7;
}

.pcw-live-done-support {
    margin: 1rem auto 0;
    max-width: 24rem;
    font-size: 1rem;
    font-weight: 500;
    color: #52525b;
    line-height: 1.45;
    text-align: center;
}

.pcw-live-done-contacts {
    margin: 1.05rem auto 0;
    max-width: 36rem;
    text-align: center;
}

.pcw-live-done-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.7rem 1.15rem;
}

.pcw-live-done-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    color: #18181b;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    line-height: 1.3;
    word-break: break-word;
}

.pcw-live-done-chip .material-symbols-rounded {
    font-size: 1.25rem;
    color: var(--zom-cranberry, #e23744);
    line-height: 1;
}

.pcw-live-done-chip:hover {
    color: var(--zom-cranberry, #e23744);
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.pcw-live-done-web {
    display: inline-flex;
    margin-top: 0.75rem;
}

.pcw-camera {
    position: relative;
}

.pcw-camera.is-uploading {
    pointer-events: none;
}

.pcw-camera-stage {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    background: #111;
    aspect-ratio: 4 / 3;
    max-height: 360px;
}

.pcw-camera-stage video,
.pcw-camera-stage img,
.pcw-camera-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pcw-camera-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.85rem;
}

.pcw-uploads-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.pcw-uploads-list li {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.65rem 0.75rem;
    border: 1px solid var(--zom-border);
    border-radius: 10px;
    background: #fafafa;
    font-size: 0.88rem;
}

.pcw-uploads-list li .material-symbols-rounded {
    color: var(--zom-cranberry);
}

.pcw-uploads-list a {
    margin-left: auto;
    color: var(--zom-cranberry);
    font-weight: 700;
    text-decoration: none;
}

.pcw-uploads-empty {
    color: var(--zom-muted);
    justify-content: center;
}

.pcw-review-block,
.pcw-review-doc {
    margin-top: 0.75rem;
}

.pcw-review-doc .reg-doc-scroll {
    max-height: 420px;
    overflow: auto;
}

body.zomato-public .pcw input[readonly],
body.zomato-public .pcw select:disabled,
body.zomato-public .pcw input:disabled {
    background: #f7f7f5;
    color: var(--zom-pepper);
    opacity: 1;
}

.pcw-step3-intro {
    margin-bottom: 1rem;
}

.pcw-step3-intro h2 {
    margin: 0 0 0.3rem;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--zom-pepper);
}

.pcw-step3-intro p {
    margin: 0;
    color: var(--zom-muted);
    font-size: 0.9rem;
}

.pcw-customer-id {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.25rem 0.65rem;
    margin-top: auto;
    padding: 0.7rem 0.85rem;
    border: 1px solid var(--zom-border);
    border-radius: 12px;
    background: #fafafa;
}

.pcw-customer-id-label {
    flex-shrink: 0;
    color: #71717a;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.pcw-customer-id-value {
    min-width: 0;
    flex: 1 1 auto;
    color: #18181b;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-align: right;
    overflow-wrap: anywhere;
    word-break: break-word;
    line-height: 1.3;
}

/* Step 5 — status checklist */
.pcw-check-card .zom-card-head {
    text-align: left;
}

.pcw-check-started {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0.55rem 0 0;
    padding: 0.28rem 0.65rem;
    border-radius: 999px;
    background: #f4f4f5;
    color: #52525b;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.2;
}

.pcw-check-started .material-symbols-rounded {
    font-size: 1rem;
    color: #71717a;
}

.pcw-check {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    text-align: left;
}

.pcw-check-block {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
}

.pcw-check-kicker {
    margin: 0 0 0.55rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #71717a;
    text-align: left;
}

.pcw-contract-status {
    padding: 1rem 1.1rem;
    border: 1px solid #e4e4e7;
    border-radius: 14px;
    background: linear-gradient(135deg, #fafafa 0%, #f4f4f5 100%);
}

.pcw-contract-status.is-awaiting,
.pcw-contract-status.is-draft,
.pcw-contract-status.is-signed {
    border-color: #fde68a;
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
}

.pcw-contract-status.is-verified {
    border-color: #bbf7d0;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
}

.pcw-contract-status.is-live {
    border-color: #99f6e4;
    background: linear-gradient(135deg, #f0fdfa 0%, #ccfbf1 100%);
}

.pcw-contract-status.is-rejected {
    border-color: #fecaca;
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
}

.pcw-status-support-line {
    margin-top: 1.15rem;
}

.pcw-status-contacts {
    margin-bottom: 0.15rem;
}

.pcw-footer.is-nav-hidden {
    display: none !important;
}

.pcw.pcw-nav-hidden {
    padding-bottom: max(1.75rem, calc(1rem + env(safe-area-inset-bottom, 0px)));
}

.pcw-contract-status-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.pcw-contract-status-copy {
    min-width: 0;
    flex: 1;
}

.pcw-contract-status .pcw-check-kicker {
    margin-bottom: 0.3rem;
}

.pcw-check-headline {
    margin: 0;
    font-size: 1.55rem;
    font-weight: 900;
    line-height: 1.15;
    color: #18181b;
    text-align: left;
    text-transform: none;
}

.pcw-contract-status.is-awaiting .pcw-check-headline,
.pcw-contract-status.is-draft .pcw-check-headline,
.pcw-contract-status.is-signed .pcw-check-headline {
    color: #92400e;
}

.pcw-contract-status.is-verified .pcw-check-headline,
.pcw-contract-status.is-live .pcw-check-headline {
    color: #0f766e;
}

.pcw-contract-status.is-rejected .pcw-check-headline {
    color: #b91c1c;
}

.pcw-check-note {
    margin: 0.35rem 0 0;
    font-size: 0.875rem;
    font-weight: 500;
    color: #52525b;
    line-height: 1.4;
    text-align: left;
}

.pcw-contract-status.is-awaiting .pcw-check-note,
.pcw-contract-status.is-draft .pcw-check-note,
.pcw-contract-status.is-signed .pcw-check-note {
    color: #a16207;
}

.pcw-contract-status.is-verified .pcw-check-note,
.pcw-contract-status.is-live .pcw-check-note {
    color: #0f766e;
}

.pcw-contract-status-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #e4e4e7;
    color: #71717a;
    font-size: 1.65rem;
}

.pcw-contract-status.is-awaiting .pcw-contract-status-icon,
.pcw-contract-status.is-draft .pcw-contract-status-icon,
.pcw-contract-status.is-signed .pcw-contract-status-icon {
    border-color: #fde68a;
    color: #b45309;
    background: #fff;
}

.pcw-contract-status.is-verified .pcw-contract-status-icon,
.pcw-contract-status.is-live .pcw-contract-status-icon {
    border-color: #86efac;
    color: #15803d;
    background: #fff;
}

.pcw-contract-status.is-rejected .pcw-contract-status-icon {
    border-color: #fecaca;
    color: #b91c1c;
}

.pcw-check-list {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid #ececef;
}

.pcw-check-item {
    margin: 0;
    padding: 0.85rem 0;
    border-bottom: 1px solid #ececef;
    text-align: left;
}

.pcw-check-item-main {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.85rem;
}

.pcw-check-item-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    min-width: 0;
    flex: 1;
}

.pcw-check-name {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #18181b;
    line-height: 1.35;
}

.pcw-check-state {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    flex-shrink: 0;
    max-width: 46%;
    margin-top: 0.1rem;
    font-size: 0.8125rem;
    font-weight: 700;
    line-height: 1.25;
    text-align: right;
}

.pcw-check-state .material-symbols-rounded {
    font-size: 1.15rem;
    line-height: 1;
}

.pcw-check-state-label {
    white-space: nowrap;
}

.pcw-check-state.is-verified,
.pcw-check-state.is-new {
    color: #166534;
}

.pcw-check-state.is-missing {
    color: #b45309;
}

.pcw-check-state.is-rejected {
    color: #b91c1c;
}

.pcw-check-reason {
    font-size: 0.75rem;
    font-weight: 500;
    color: #991b1b;
    line-height: 1.35;
}

.pcw-check-link {
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    color: var(--zom-cranberry, #e23744);
    font: inherit;
    font-size: 0.8125rem;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 0.15em;
    cursor: pointer;
}

.pcw-check-link:hover {
    color: #be123c;
}

@media (max-width: 560px) {
    .pcw-check-state {
        max-width: 42%;
    }

    .pcw-check-state-label {
        white-space: normal;
    }

    .pcw-contract-status-icon {
        width: 2.6rem;
        height: 2.6rem;
        font-size: 1.4rem;
    }
}

/* Keep older selectors harmless if referenced elsewhere */
.pcw-status-stack,
.pcw-status-grid,
.pcw-status-list {
    display: none;
}

body.pcw-location-locked {
    overflow: hidden;
}

body.pcw-location-locked #publicContractWizard {
    filter: blur(2px);
    pointer-events: none;
    user-select: none;
}

.pcw-location-gate.is-done {
    display: none !important;
}

.pcw-tax-stack {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.pcw-tax-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--zom-border);
    border-radius: 16px;
    box-shadow: var(--zom-shadow);
    padding: 1rem;
}

.pcw-tax-card.is-rejected {
    border-color: #f3c6ca;
    box-shadow: 0 0 0 1px rgba(226, 55, 68, 0.08);
}

.pcw-tax-card.is-uploading {
    pointer-events: none;
}

.pcw-tax-card.is-focus-target {
    box-shadow: 0 0 0 2px rgba(226, 55, 68, 0.35);
    border-color: #f3c6ca;
}

.pcw-upload-busy {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 1rem;
    border-radius: inherit;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(2px);
    text-align: center;
}

.pcw-upload-busy[hidden] {
    display: none !important;
}

.pcw-upload-spinner {
    width: 2rem;
    height: 2rem;
    border: 3px solid rgba(226, 55, 68, 0.2);
    border-top-color: var(--zom-cranberry, #e23744);
    border-radius: 50%;
    animation: pcw-spin 0.75s linear infinite;
}

.pcw-upload-busy-text {
    max-width: 16rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--zom-ink, #1c1c1c);
    line-height: 1.35;
}

.pcw-tax-upload-btn.is-busy {
    opacity: 0.9;
    cursor: wait;
}

.pcw-tax-upload-btn .pcw-upload-spinner {
    width: 1.05rem;
    height: 1.05rem;
    border-width: 2px;
    flex-shrink: 0;
}

@keyframes pcw-spin {
    to {
        transform: rotate(360deg);
    }
}

.pcw-tax-reject-alert {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    margin: 0 0 0.9rem;
    padding: 0.7rem 0.85rem;
    border: 1px solid #fecaca;
    border-radius: 12px;
    background: #fef2f2;
    color: #991b1b;
    font-size: 0.8125rem;
    line-height: 1.4;
}

.pcw-tax-reject-alert strong {
    font-size: 0.875rem;
}

.pcw-tax-file-status {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    margin: 0.55rem 0 0;
    font-size: 0.8125rem;
}

.pcw-tax-doc-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.12rem 0.45rem;
    border-radius: 999px;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.pcw-tax-doc-chip.is-new {
    background: #dbeafe;
    color: #1d4ed8;
}

.pcw-tax-doc-chip.is-verified {
    background: #dcfce7;
    color: #166534;
}

.pcw-tax-doc-chip.is-rejected {
    background: #fee2e2;
    color: #991b1b;
}

.pcw-tax-card-head {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.95rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid #f0f0ee;
}

.pcw-tax-card-icon {
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 12px;
    background: rgba(226, 55, 68, 0.1);
    color: var(--zom-cranberry);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pcw-tax-card-head h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
    color: var(--zom-pepper);
}

.pcw-tax-card-head p {
    margin: 0.2rem 0 0;
    font-size: 0.78rem;
    color: var(--zom-muted);
}

.pcw-tax-card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.9rem;
}

@media (min-width: 720px) {
    .pcw-tax-card-grid {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }
}

.pcw-tax-drop {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    min-height: 7.5rem;
    border: 1.5px dashed #f3c6ca;
    border-radius: 14px;
    background: linear-gradient(180deg, #fff8f8 0%, #fff 100%);
    padding: 1rem 0.75rem;
    text-align: center;
    cursor: pointer;
}

.pcw-tax-drop input {
    display: none;
}

.pcw-tax-drop .material-symbols-rounded {
    font-size: 1.8rem;
    color: var(--zom-cranberry);
}

.pcw-tax-drop-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--zom-pepper);
}

.pcw-tax-drop-hint {
    font-size: 0.75rem;
    color: var(--zom-muted);
}

.pcw-tax-actions {
    margin-top: 0.55rem;
}

.pcw-tax-upload-btn {
    width: 100%;
    justify-content: center;
}

.pcw-tax-file-status {
    margin: 0.45rem 0 0;
    font-size: 0.8rem;
}

.pcw-tax-file-status a {
    color: var(--zom-cranberry);
    font-weight: 700;
    text-decoration: none;
}

.pcw-help-images {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin-bottom: 0.55rem;
}

.pcw-help-images img {
    width: 100%;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    background: #fff;
    display: block;
}

.pcw-label-row {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 0.4rem;
}

.pcw-label-row .form-label,
.pcw-label-row .zom-block-label {
    margin: 0;
}

.pcw-help-btn {
    width: 1.7rem;
    height: 1.7rem;
    border-radius: 999px;
    border: 1px solid #f3c6ca;
    background: #fff5f5;
    color: var(--zom-cranberry);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    cursor: pointer;
    padding: 0;
}

.pcw-help-btn .material-symbols-rounded {
    font-size: 1.05rem;
}

.pcw-help-btn:hover {
    background: #ffe8ea;
}

.pcw-owners-trigger {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    text-align: left;
    font-weight: 700;
}

.pcw-owners-trigger:disabled {
    cursor: default;
}

body.pcw-modal-open {
    overflow: hidden;
}

.pcw-modal-root {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.pcw-modal-root[hidden] {
    display: none !important;
}

.pcw-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(45, 45, 45, 0.45);
    backdrop-filter: blur(4px);
}

.pcw-modal {
    position: relative;
    z-index: 1;
    width: min(100%, 420px);
}

.pcw-modal[hidden] {
    display: none !important;
}

.pcw-modal-card {
    position: relative;
    background: #fff;
    border-radius: 18px;
    border: 1px solid var(--zom-border);
    box-shadow: 0 20px 50px rgba(45, 45, 45, 0.18);
    padding: 1.25rem 1.15rem 1.15rem;
    animation: pcw-modal-in 0.18s ease-out;
}

.pcw-modal-card-wide {
    width: min(100vw - 2rem, 560px);
}

@keyframes pcw-modal-in {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.pcw-modal-x {
    position: absolute;
    top: 0.7rem;
    right: 0.7rem;
    width: 2rem;
    height: 2rem;
    border: none;
    border-radius: 999px;
    background: #f4f4f2;
    color: var(--zom-pepper);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.pcw-modal-icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.pcw-modal-icon.is-warn {
    background: #fff1f2;
    color: var(--zom-cranberry);
}

.pcw-modal-icon.is-help {
    background: rgba(226, 55, 68, 0.1);
    color: var(--zom-cranberry);
}

.pcw-modal-title {
    margin: 0 0 0.4rem;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--zom-pepper);
}

.pcw-modal-text {
    margin: 0 0 1rem;
    color: var(--zom-muted);
    font-size: 0.92rem;
    line-height: 1.45;
}

.pcw-api-error {
    margin: 0 0 0.85rem;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    background: #fff1f2;
    color: var(--zom-cranberry);
    font-size: 0.92rem;
    font-weight: 650;
    line-height: 1.45;
}

.pcw-modal-ok {
    width: 100%;
    justify-content: center;
}

.pcw-owners-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.5rem;
}

@media (max-width: 520px) {
    .pcw-owners-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.pcw-owners-option {
    border: 1px solid var(--zom-border);
    background: #fafafa;
    border-radius: 12px;
    padding: 0.7rem 0.35rem;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
}

.pcw-owners-option:hover,
.pcw-owners-option.is-selected {
    border-color: var(--zom-cranberry);
    background: #fff5f5;
}

.pcw-owners-num {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--zom-pepper);
}

.pcw-owners-caption {
    font-size: 0.65rem;
    color: var(--zom-muted);
    text-align: center;
}

.pcw-help-samples {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

@media (min-width: 560px) {
    .pcw-help-samples {
        grid-template-columns: 1fr 1fr;
    }
}

.pcw-help-col {
    border-radius: 12px;
    padding: 0.75rem;
    border: 1px solid var(--zom-border);
}

.pcw-help-col.is-good {
    background: #ecfdf5;
    border-color: #a7f3d0;
}

.pcw-help-col.is-bad {
    background: #fff1f2;
    border-color: #fecdd3;
}

.pcw-help-col-title {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0 0 0.45rem;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.pcw-help-col.is-good .pcw-help-col-title {
    color: #065f46;
}

.pcw-help-col.is-bad .pcw-help-col-title {
    color: #9f1239;
}

.pcw-help-col ul {
    margin: 0;
    padding-left: 1rem;
    font-size: 0.82rem;
    color: var(--zom-pepper);
    line-height: 1.4;
}

.pcw-help-col li + li {
    margin-top: 0.3rem;
}

.pcw-checklist {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.pcw-checklist li {
    display: grid;
    grid-template-columns: 1.25rem minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 0;
    border-bottom: 1px solid #efefef;
    font-size: 0.92rem;
    background: transparent;
}

.pcw-checklist li:last-child {
    border-bottom: none;
}

.pcw-checklist-mark {
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1;
    text-align: center;
}

.pcw-checklist li.is-done .pcw-checklist-mark,
.pcw-checklist li.is-done .pcw-checklist-status {
    color: #16a34a;
}

.pcw-checklist li.is-pending .pcw-checklist-mark,
.pcw-checklist li.is-pending .pcw-checklist-status {
    color: #dc2626;
}

.pcw-checklist-label {
    font-weight: 600;
    color: var(--zom-pepper);
}

.pcw-checklist-status {
    font-size: 0.82rem;
    font-weight: 700;
}

/* -------------------------------------------------------------------------- */
/* Responsive polish — phone / tablet / desktop                                */
/* -------------------------------------------------------------------------- */

@media (max-width: 899px) {
    .pcw-step-sub,
    .pcw-step-icon {
        display: none;
    }

    .pcw-step-title {
        font-size: 0.8rem;
        white-space: nowrap;
    }

    .zom-brand-sub {
        display: none;
    }

    .pcw-main-head p {
        font-size: 0.86rem;
    }

    .zom-card {
        padding: 0.95rem 0.9rem;
    }

    .pcw-tax-card {
        padding: 0.9rem;
    }

    .pcw-camera-actions {
        flex-wrap: wrap;
    }

    .pcw-camera-actions .btn-primary,
    .pcw-camera-actions .btn-secondary {
        flex: 1 1 calc(50% - 0.4rem);
        min-height: 44px;
    }
}

@media (max-width: 639px) {
    .pcw {
        padding: 0.5rem;
        gap: 0.55rem;
    }

    .pcw-sidebar {
        padding: 0.7rem;
        border-radius: 14px;
    }

    .pcw-brand {
        margin-bottom: 0.65rem;
        padding-bottom: 0.55rem;
    }

    .pcw-brand-mark {
        width: 2.15rem;
        height: 2.15rem;
        font-size: 1rem;
    }

    .pcw-brand-name {
        font-size: 0.95rem;
    }

    .pcw-step {
        min-width: 7.6rem;
        padding: 0.5rem 0.6rem;
        gap: 0.45rem;
    }

    .pcw-step-index {
        width: 1.55rem;
        height: 1.55rem;
        font-size: 0.72rem;
    }

    .pcw-step-title {
        font-size: 0.74rem;
    }

    .pcw-main-head-row {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .pcw-main-head h1 {
        font-size: clamp(1.15rem, 5.5vw, 1.45rem);
    }

    .pcw-footer {
        gap: 0.5rem;
    }

    .pcw-footer .btn-primary,
    .pcw-footer .btn-secondary {
        font-size: 0.92rem;
        padding-left: 0.85rem;
        padding-right: 0.85rem;
    }

    .pcw-modal-root {
        align-items: flex-end;
        padding: 0;
    }

    .pcw-modal,
    .pcw-modal-card-wide {
        width: 100%;
    }

    .pcw-modal-card {
        border-radius: 18px 18px 0 0;
        max-height: min(88dvh, 720px);
        overflow: auto;
        padding: 1.1rem 1rem calc(1rem + env(safe-area-inset-bottom));
    }

    .pcw-tax-actions .btn-primary,
    .pcw-tax-upload-btn {
        width: 100%;
        min-height: 44px;
    }

    .pcw-upload-drop,
    .pcw-tax-drop {
        min-height: 7.5rem;
        padding: 1rem 0.75rem;
    }

    .pcw-camera-stage {
        border-radius: 12px;
    }

    .pcw-camera-stage video,
    .pcw-camera-stage img,
    .pcw-camera-preview {
        max-height: 52dvh;
        object-fit: cover;
    }

    body.zomato-public .form-input {
        font-size: 16px !important; /* prevent iOS zoom on focus */
        min-height: 44px;
    }

    .pcw-help-btn {
        width: 1.75rem;
        height: 1.75rem;
    }

    .pcw-owners-option {
        min-height: 3.25rem;
    }
}

@media (min-width: 640px) and (max-width: 899px) {
    .pcw-step {
        min-width: 10rem;
    }

    .pcw-step-sub {
        display: block;
        font-size: 0.68rem;
    }

    .pcw-tax-card-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.85rem;
    }

    .pcw-head-action {
        margin-left: auto;
    }

    .zom-grid-2 {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 900px) {
    .pcw-main {
        padding-bottom: 0.5rem;
    }

    .pcw-footer {
        position: static;
        background: transparent;
        padding-bottom: 0.25rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pcw-step,
    .pcw-modal-card,
    .pcw-head-action {
        transition: none !important;
        animation: none !important;
    }
}

@supports (padding: max(0px)) {
    .pcw-modal-root {
        padding-left: max(1rem, env(safe-area-inset-left));
        padding-right: max(1rem, env(safe-area-inset-right));
    }
}

.pcw-head-action-short {
    display: none;
}

@media (max-width: 639px) {
    .pcw-head-action {
        width: auto;
        margin-left: auto;
        order: 0;
        padding: 0.4rem 0.7rem;
        font-size: 0.78rem;
    }

    .pcw-main-head h1 {
        flex: 1 1 auto;
        order: 0;
    }

    .pcw-head-action-full {
        display: none;
    }

    .pcw-head-action-short {
        display: inline;
    }
}

@media (min-width: 640px) {
    .pcw-head-action-short {
        display: none;
    }

    .pcw-head-action-full {
        display: inline;
    }
}

/* -------------------------------------------------------------------------- */
/* Modern responsive polish — phone / tablet / large display                    */
/* -------------------------------------------------------------------------- */

body.public-wizard-page {
    background:
        radial-gradient(1200px 480px at 10% -10%, rgba(226, 55, 68, 0.08), transparent 55%),
        radial-gradient(900px 420px at 100% 0%, rgba(226, 55, 68, 0.05), transparent 50%),
        var(--zom-tyrolean) !important;
}

/* Opacity-only — transform on .pcw breaks position:fixed footer on phones. */
.pcw {
    animation: pcw-fade-in 0.28s ease;
}

@keyframes pcw-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.zom-card,
.pcw-live-done-card,
.pcw-tax-card {
    overflow: hidden;
}

.pcw-panel.is-active {
    animation: pcw-panel-in 0.22s ease;
}

@keyframes pcw-panel-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.pcw-main-head h1 {
    letter-spacing: -0.03em;
}

body.zomato-public .form-input,
body.zomato-public .form-select,
body.zomato-public select.form-input {
    min-height: 2.75rem;
    padding: 0.65rem 0.85rem;
    font-size: 0.95rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

body.zomato-public .btn-primary,
body.zomato-public .btn-secondary {
    min-height: 2.75rem;
    padding: 0.65rem 1.05rem;
    transition: transform 0.12s ease, background 0.15s ease, border-color 0.15s ease;
}

body.zomato-public .btn-primary:active,
body.zomato-public .btn-secondary:active {
    transform: scale(0.98);
}

/* Phone-first: sticky chrome + comfortable touch UI */
@media (max-width: 899px) {
    .pcw {
        min-height: 100dvh;
        padding-bottom: calc(5.25rem + env(safe-area-inset-bottom, 0px));
        overflow-x: clip;
        /* Prevent sidebar/main rows from stretching to half the viewport */
        align-content: start;
        grid-template-rows: auto auto;
    }

    .pcw.pcw-nav-hidden {
        padding-bottom: max(2rem, calc(1.25rem + env(safe-area-inset-bottom, 0px)));
    }

    .pcw-panel[data-step-panel="4"] .pcw-check-card {
        padding-bottom: 1.25rem;
    }

    .pcw-panel[data-step-panel="4"] .pcw-check-headline {
        font-size: 1.35rem;
    }

    .pcw-panel[data-step-panel="4"] .pcw-status-contacts {
        margin-top: 0.15rem;
        margin-bottom: 0.35rem;
    }

    .pcw-sidebar {
        position: sticky;
        top: 0;
        z-index: 30;
        margin: 0;
        border-radius: 0 0 16px 16px;
        box-shadow: 0 8px 24px rgba(45, 45, 45, 0.06);
        padding-top: max(0.65rem, env(safe-area-inset-top));
        padding-bottom: 0.7rem;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "brand cid"
            "steps steps";
        column-gap: 0.55rem;
        row-gap: 0.45rem;
        align-items: center;
        align-self: start;
        width: 100%;
        box-sizing: border-box;
    }

    .pcw-brand {
        grid-area: brand;
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: 0;
        min-width: 0;
    }

    .pcw-brand .zom-brand-sub {
        display: none;
    }

    .pcw-brand .zom-brand-name {
        font-size: 1rem;
        letter-spacing: -0.01em;
    }

    .pcw-steps {
        grid-area: steps;
    }

    .pcw-customer-id {
        grid-area: cid;
        margin-top: 0;
        flex-direction: column;
        align-items: flex-end;
        justify-content: center;
        gap: 0.08rem;
        max-width: min(52vw, 11.5rem);
        padding: 0.35rem 0.55rem;
        border-radius: 10px;
    }

    .pcw-customer-id-label {
        font-size: 0.62rem;
    }

    .pcw-customer-id-value {
        text-align: right;
        font-size: 0.78rem;
        line-height: 1.2;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .pcw-steps {
        gap: 0.4rem;
        margin: 0;
        padding: 0.05rem 0 0.2rem;
        mask-image: linear-gradient(90deg, #000 0%, #000 92%, transparent 100%);
        scroll-behavior: smooth;
    }

    .pcw-step {
        border-radius: 999px;
        min-width: auto;
        padding: 0.42rem 0.75rem 0.42rem 0.42rem;
        background: #fff;
        scroll-snap-align: center;
    }

    .pcw-step.is-active {
        box-shadow: 0 4px 14px rgba(226, 55, 68, 0.18);
    }

    .pcw-main {
        padding: 0.15rem 0.1rem 0;
        min-width: 0;
        overflow-x: clip;
    }

    /* Phone: hide hero "Apply for…" + description — brand is in sticky header */
    .pcw-hero-head {
        display: none !important;
    }

    .pcw-main-head:not(.pcw-hero-head) {
        margin-bottom: 0.75rem;
    }

    .pcw-main-head:not(.pcw-hero-head) h1,
    .pcw-main-head:not(.pcw-hero-head) h2 {
        font-size: clamp(1.15rem, 5.2vw, 1.4rem);
        line-height: 1.25;
    }

    .pcw-main-head:not(.pcw-hero-head) p {
        font-size: 0.84rem;
        line-height: 1.4;
    }

    .pcw-footer .btn-primary.is-busy,
    .pcw-footer .btn-primary:disabled {
        opacity: 0.85;
        pointer-events: none;
    }

    .pcw-footer {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        margin: 0;
        padding: 0.7rem max(0.75rem, env(safe-area-inset-left))
            max(0.75rem, env(safe-area-inset-bottom))
            max(0.75rem, env(safe-area-inset-right));
        background: #fff;
        border-top: 1px solid rgba(232, 232, 232, 0.95);
        box-shadow: 0 -10px 28px rgba(45, 45, 45, 0.08);
        z-index: 50;
    }

    .pcw-footer .btn-primary,
    .pcw-footer .btn-secondary {
        flex: 1 1 0;
        border-radius: 12px !important;
        font-size: 0.95rem;
        min-height: 48px;
    }

    .zom-card,
    .pcw-live-done-card {
        border-radius: 18px;
        box-shadow: 0 10px 30px rgba(45, 45, 45, 0.06);
        max-width: 100%;
    }

    .zom-block,
    .website-company-block,
    .pcw-tax-card,
    .pcw-form,
    .pcw-form .zom-grid,
    .pcw-form .zom-span-2 {
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    body.zomato-public .pcw .form-input,
    body.zomato-public .pcw input.form-input,
    body.zomato-public .pcw .pcw-owners-trigger {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .pcw-check-item-main {
        gap: 0.65rem;
    }

    .pcw-live-done-row {
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: stretch;
        justify-content: center;
        gap: 0.45rem;
    }

    .pcw-live-done-row .pcw-live-done-chip {
        flex: 1 1 0;
        width: auto;
        min-width: 0;
        max-width: calc(50% - 0.25rem);
        justify-content: center;
        align-items: center;
        padding: 0.5rem 0.45rem;
        border: 1px solid #ececef;
        border-radius: 12px;
        background: #fff;
        box-sizing: border-box;
        font-size: 0.72rem;
        line-height: 1.25;
        gap: 0.28rem;
    }

    .pcw-live-done-row .pcw-live-done-chip span:last-child {
        min-width: 0;
        overflow-wrap: anywhere;
        word-break: break-word;
        white-space: normal;
        text-align: left;
    }

    .pcw-live-done-row .pcw-live-done-chip .material-symbols-rounded {
        flex-shrink: 0;
        font-size: 1.05rem;
    }

    .pcw-live-done-web {
        margin-top: 0.55rem;
        width: 100%;
        justify-content: center;
        padding: 0.5rem 0.75rem;
        border: 1px solid #ececef;
        border-radius: 12px;
        background: #fff;
        box-sizing: border-box;
        font-size: 0.88rem;
    }

    .reg-location-gate-inner,
    .pcw-location-gate .reg-location-gate-inner {
        width: min(100%, 26rem);
        margin: 0 auto;
        border-radius: 18px;
    }

    .pcw-tax-card-grid {
        grid-template-columns: 1fr;
    }

    /* Phone: drop repeated step title + description inside cards */
    .pcw-panel .zom-card-head,
    .pcw-step3-intro {
        display: none !important;
    }

    .pcw-panel .zom-card,
    .pcw-panel .pcw-check-card,
    .pcw-panel .pcw-live-done-card {
        padding: 0.9rem 0.85rem 1rem;
    }

    .pcw-main {
        align-self: start;
        width: 100%;
    }

    /* —— Step 5 signature (phone) —— */
    .pcw-panel[data-step-panel="5"] .zom-card {
        overflow: visible;
        margin-top: 0.15rem;
    }

    .pcw-panel[data-step-panel="5"] .reg-sign-form {
        display: flex !important;
        flex-direction: column !important;
        gap: 0.7rem;
        min-height: 0;
    }

    .pcw-panel[data-step-panel="5"] .reg-signer-name {
        margin: 0;
        font-size: 1.05rem;
        font-weight: 700;
        text-align: left;
        line-height: 1.3;
        color: #18181b;
    }

    .pcw-panel[data-step-panel="5"] .reg-signer-name:empty {
        display: none !important;
    }

    .pcw-panel[data-step-panel="5"] .reg-owner-progress {
        margin: 0;
        font-size: 0.82rem;
        color: #71717a;
    }

    .pcw-panel[data-step-panel="5"] .reg-owner-progress.hidden {
        display: none !important;
    }

    .reg-sign-method-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 0.65rem !important;
        flex: 0 0 auto !important;
        min-height: 0 !important;
        width: 100%;
    }

    .reg-sign-method-grid.hidden {
        display: none !important;
    }

    .reg-sign-method-btn {
        width: 100%;
        min-height: 5.5rem !important;
        flex: 0 0 auto !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0.45rem !important;
        padding: 0.95rem 0.55rem !important;
        font-size: 0.9rem !important;
        font-weight: 700 !important;
        line-height: 1.2 !important;
        border: 1.5px solid #d4d4d8 !important;
        border-radius: 14px !important;
        background: #fff !important;
        box-shadow: 0 1px 3px rgba(45, 45, 45, 0.05);
        white-space: normal;
        text-align: center;
        color: #18181b !important;
    }

    .reg-sign-method-btn .material-symbols-rounded {
        font-size: 1.75rem !important;
        color: var(--zom-cranberry, #e23744);
        flex-shrink: 0;
        line-height: 1;
    }

    .reg-sign-method-btn:active {
        border-color: var(--zom-cranberry, #e23744) !important;
        background: #fff8f8 !important;
    }

    .reg-sign-method-back {
        display: inline-flex;
        align-items: center;
        gap: 0.2rem;
        align-self: flex-start;
        margin: 0 0 0.1rem;
        padding: 0.4rem 0.2rem;
        border: 0;
        background: transparent;
        color: #52525b;
        font-size: 0.9rem;
        font-weight: 600;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }

    .reg-sign-method-back .material-symbols-rounded {
        font-size: 1.15rem;
    }

    .reg-sign-draw-panel,
    .reg-sign-upload-panel {
        display: flex !important;
        flex-direction: column !important;
        flex: 0 0 auto !important;
        min-height: 0 !important;
        gap: 0.65rem !important;
        width: 100%;
    }

    .reg-sign-draw-panel.hidden,
    .reg-sign-upload-panel.hidden {
        display: none !important;
    }

    .reg-sign-draw-stage-inline {
        flex: 0 0 auto !important;
        min-height: 15rem !important;
        height: min(48dvh, 20rem) !important;
        max-height: min(48dvh, 20rem);
    }

    .reg-sign-draw-stage-inline .reg-sign-draw-frame {
        min-height: 15rem !important;
        height: 100% !important;
        border-radius: 14px !important;
        background: #fff !important;
        border: 1.5px dashed #c4c4c8 !important;
    }

    .reg-sign-draw-stage-inline .signature-canvas {
        width: 100% !important;
        height: 100% !important;
        min-height: 15rem !important;
        touch-action: none !important;
        -webkit-user-select: none;
        user-select: none;
    }

    .reg-sign-draw-clear {
        min-height: 2.85rem;
        border-radius: 12px !important;
        font-size: 0.9rem !important;
        font-weight: 600 !important;
    }

    .reg-sign-upload-simple {
        min-height: 13rem !important;
        border-radius: 14px !important;
        gap: 0.55rem !important;
        padding: 1.25rem 1rem !important;
    }

    .reg-sign-upload-simple .material-symbols-rounded {
        font-size: 2.35rem !important;
        color: #71717a;
    }

    .reg-sign-upload-preview {
        max-height: min(40dvh, 16rem);
        object-fit: contain;
        border-radius: 12px !important;
    }
}

@media (max-width: 639px) {
    .pcw {
        padding-left: 0;
        padding-right: 0;
        padding-top: 0;
        gap: 0.55rem;
    }

    .pcw-sidebar {
        border-left: 0;
        border-right: 0;
        border-top: 0;
        border-radius: 0 0 18px 18px;
        padding-left: max(0.85rem, env(safe-area-inset-left));
        padding-right: max(0.85rem, env(safe-area-inset-right));
    }

    .pcw-main {
        padding-left: max(0.85rem, env(safe-area-inset-left));
        padding-right: max(0.85rem, env(safe-area-inset-right));
    }

    .pcw-step {
        min-height: 42px;
    }

    .pcw-step-title {
        max-width: 7.5rem;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .pcw-main-head h1 {
        font-size: clamp(1.2rem, 6vw, 1.55rem);
    }

    .pcw-main-head p {
        font-size: 0.88rem;
        line-height: 1.45;
    }

    .zom-card-head {
        gap: 0.65rem;
    }

    .zom-card-icon {
        width: 2.4rem;
        height: 2.4rem;
        border-radius: 12px;
    }

    .pcw-tax-card-head {
        align-items: flex-start;
    }

    .pcw-contract-status-inner {
        gap: 0.75rem;
    }

    .pcw-check-state {
        max-width: 48%;
    }

    .pcw-live-done-heading {
        font-size: 1.45rem;
    }

    .pcw-live-done-lead,
    .pcw-live-done-support,
    .pcw-live-done-chip {
        font-size: 0.98rem;
    }

    .pcw-live-done-id {
        display: inline-flex;
        width: auto;
        max-width: 100%;
        white-space: nowrap;
        flex-wrap: nowrap;
        gap: 0.35rem;
        padding: 0.45rem 0.75rem;
        box-sizing: border-box;
    }

    .pcw-live-done-id-label {
        font-size: 0.7rem;
    }

    .pcw-live-done-id-value {
        font-size: 0.98rem;
    }

    .pcw-check-item-main {
        align-items: flex-start;
    }

    .pcw-check-name {
        font-size: 0.9rem;
        line-height: 1.3;
        word-break: break-word;
    }

    .pcw-check-state {
        flex-shrink: 0;
        max-width: 42%;
    }

    .pcw-check-state-label {
        font-size: 0.78rem;
    }
}

/* Tablet */
@media (min-width: 640px) and (max-width: 899px) {
    .pcw {
        padding: 0.85rem 1rem calc(5rem + env(safe-area-inset-bottom, 0px));
        max-width: 860px;
    }

    .pcw-sidebar {
        border-radius: 16px;
        padding: 0.9rem 1rem;
    }

    .pcw-steps {
        mask-image: none;
    }

    .pcw-step {
        border-radius: 14px;
        min-width: 9.75rem;
    }

    .pcw-footer {
        width: 100%;
        padding-left: max(1rem, env(safe-area-inset-left));
        padding-right: max(1rem, env(safe-area-inset-right));
    }
}

/* Desktop / large displays */
@media (min-width: 900px) {
    .pcw {
        padding-bottom: 1.5rem;
    }

    .pcw-sidebar {
        border-radius: 20px;
        padding: 1.15rem;
        box-shadow: 0 14px 40px rgba(45, 45, 45, 0.06);
    }

    .pcw-step {
        border-radius: 14px;
        min-height: 3.15rem;
    }

    .pcw-main-head h1 {
        font-size: clamp(1.55rem, 2vw, 1.95rem);
    }

    .zom-card,
    .pcw-live-done-card {
        border-radius: 20px;
        padding: 1.25rem 1.2rem 1.35rem;
        box-shadow: 0 14px 36px rgba(45, 45, 45, 0.05);
    }

    .pcw-footer {
        margin-top: 1.25rem;
        gap: 0.75rem;
    }

    .pcw-footer .btn-primary,
    .pcw-footer .btn-secondary {
        min-width: 9.5rem;
        border-radius: 12px !important;
    }

    .pcw-live-done-row {
        gap: 1rem 1.5rem;
    }
}

@media (min-width: 1200px) {
    .pcw {
        gap: 1.5rem;
    }

    .pcw-sidebar {
        padding: 1.25rem;
    }

    .pcw-main-head {
        margin-bottom: 1.15rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pcw,
    .pcw-panel.is-active,
    .pcw-step.is-active {
        animation: none !important;
        transform: none !important;
    }
}

/* Business type (step 2) */
.pcw-business-type {
    display: grid;
    gap: 0.65rem;
}
.pcw-business-type-option {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    padding: 0.85rem 0.95rem;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.pcw-business-type-option:hover {
    border-color: #cbd5e1;
}
.pcw-business-type-option.is-selected,
.pcw-business-type-option:has(input:checked) {
    border-color: #111;
    background: #fafafa;
    box-shadow: 0 0 0 1px #111;
}
.pcw-business-type-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.pcw-business-type-box {
    width: 1.1rem;
    height: 1.1rem;
    margin-top: 0.15rem;
    border: 1.5px solid #111;
    border-radius: 3px;
    flex: 0 0 auto;
    position: relative;
    background: #fff;
}
.pcw-business-type-option:has(input:checked) .pcw-business-type-box::after {
    content: '';
    position: absolute;
    inset: 2px;
    background: #111;
    border-radius: 1px;
}
.pcw-business-type-text {
    font-size: 0.95rem;
    line-height: 1.35;
    color: #111;
    font-weight: 500;
}

/* Brand selection (step 3) */
.pcw-brands-hint {
    margin: 0 0 1rem;
    color: #52525b;
    font-size: 0.92rem;
    line-height: 1.45;
}
.pcw-brand-grid {
    display: grid;
    gap: 0.75rem;
}
@media (min-width: 720px) {
    .pcw-brand-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
.pcw-brand-card {
    position: relative;
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) auto;
    gap: 0.75rem;
    align-items: center;
    padding: 0.85rem;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #fff;
    cursor: pointer;
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.pcw-brand-card:hover {
    border-color: #cbd5e1;
}
.pcw-brand-card.is-selected,
.pcw-brand-card:has(input:checked) {
    border-color: #111;
    background: #fafafa;
    box-shadow: 0 0 0 1px #111;
}
.pcw-brand-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.pcw-brand-card-logo {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    overflow: hidden;
    background: #f4f4f5;
    flex: 0 0 auto;
}
.pcw-brand-card-logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.pcw-brand-card-body {
    min-width: 0;
    display: grid;
    gap: 0.2rem;
}
.pcw-brand-card-name {
    font-size: 0.98rem;
    font-weight: 700;
    color: #111;
    line-height: 1.25;
}
.pcw-brand-card-desc {
    font-size: 0.82rem;
    color: #52525b;
    line-height: 1.4;
}
.pcw-brand-card-check {
    font-size: 1.35rem;
    color: #d4d4d8;
}
.pcw-brand-card:has(input:checked) .pcw-brand-card-check {
    color: #111;
}
