.v4-site {
    padding: 0 3px 26px;
}

.v4-site [hidden] {
    display: none !important;
}

.v4-site-state {
    display: flex;
    min-height: 440px;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 40px;
    border: 1px solid rgba(15, 33, 26, .07);
    border-radius: 20px;
    background: var(--v4-surface);
    box-shadow: var(--v4-shadow-sm);
}

.v4-site-loading > div {
    display: grid;
    gap: 3px;
}

.v4-site-loading strong {
    font-size: 15px;
}

.v4-site-loading span:last-child {
    color: var(--v4-muted);
    font-size: 12px;
}

.v4-site-error,
.v4-site-forbidden {
    flex-direction: column;
    text-align: center;
}

.v4-site-state-icon {
    display: inline-flex;
    width: 58px;
    height: 58px;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: var(--v4-red-soft);
    color: var(--v4-red);
}

.v4-site-forbidden .v4-site-state-icon {
    background: var(--v4-orange-soft);
    color: var(--v4-orange);
}

.v4-site-state-icon svg {
    width: 25px;
    height: 25px;
}

.v4-site-error h1,
.v4-site-forbidden h1 {
    margin: 4px 0 0;
    font-size: 23px;
    font-weight: 730;
    letter-spacing: -.035em;
}

.v4-site-error p,
.v4-site-forbidden p {
    max-width: 560px;
    margin: 0 0 5px;
    color: var(--v4-muted);
    font-size: 13px;
    line-height: 1.6;
}

.v4-site-hero {
    position: relative;
    display: grid;
    min-height: 164px;
    grid-template-columns: minmax(0, .82fr) minmax(600px, 1fr);
    align-items: center;
    gap: 22px;
    overflow: hidden;
    margin-bottom: 12px;
    padding: 22px 25px;
    border: 1px solid rgba(15, 33, 26, .08);
    border-radius: 18px;
    background: var(--v4-surface);
    box-shadow: var(--v4-shadow-sm);
}

.v4-site-hero-copy {
    min-width: 0;
}

.v4-site-title-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 11px;
    margin: 3px 0 5px;
}

.v4-site-title-row h1 {
    margin: 0;
    font-size: clamp(29px, 2.65vw, 40px);
    font-weight: 735;
    letter-spacing: -.05em;
}

.v4-site-hero-copy > p {
    max-width: 700px;
    margin: 0;
    color: var(--v4-muted);
    font-size: 13px;
    line-height: 1.6;
}

.v4-site-status {
    display: inline-flex;
    min-height: 27px;
    align-items: center;
    gap: 7px;
    padding: 5px 9px;
    border-radius: 8px;
    background: var(--v4-surface-soft);
    color: var(--v4-muted);
    font-size: 10px;
    font-weight: 750;
}

.v4-site-status::before {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
    content: "";
}

.v4-site-status.is-active {
    background: var(--v4-green-100);
    color: var(--v4-green-700);
}

.v4-site-status.is-inactive {
    background: var(--v4-orange-soft);
    color: var(--v4-orange);
}

.v4-site-status.is-draft {
    background: var(--v4-blue-soft);
    color: var(--v4-blue);
}

.v4-site-public-card {
    display: grid;
    min-width: 0;
    grid-template-columns: 42px minmax(150px, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border: 1px solid rgba(15, 33, 26, .09);
    border-radius: 14px;
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 9px 24px rgba(15, 33, 26, .07);
}

.v4-site-public-icon,
.v4-site-panel-icon,
.v4-site-tab-icon,
.v4-site-social-icon,
.v4-site-choice-icon,
.v4-site-template-icon,
.v4-site-activation-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.v4-site-public-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--v4-green-100);
    color: var(--v4-green-700);
}

.v4-site-public-icon svg {
    width: 20px;
    height: 20px;
}

.v4-site-public-copy {
    display: grid;
    min-width: 0;
    gap: 2px;
}

.v4-site-public-copy span,
.v4-site-public-copy small {
    color: var(--v4-muted);
    font-size: 10px;
}

.v4-site-public-copy span {
    font-weight: 700;
}

.v4-site-public-copy strong {
    overflow: hidden;
    font-size: 11.5px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.v4-site-open {
    white-space: nowrap;
}

.v4-site-public-actions {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 6px;
}

.v4-site-public-actions .btn {
    min-height: 38px;
    flex: 0 0 auto;
    padding: 8px 12px;
    font-size: 11px;
}

.v4-site-open.is-disabled {
    cursor: not-allowed;
    opacity: .42;
    pointer-events: none;
}

.v4-site-provision {
    display: grid;
    min-height: 285px;
    grid-template-columns: 74px minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    margin-bottom: 14px;
    padding: 34px;
    border: 1px solid rgba(23, 107, 71, .14);
    border-radius: 18px;
    background: var(--v4-surface);
    box-shadow: var(--v4-shadow-sm);
}

.v4-site-provision-icon {
    display: inline-flex;
    width: 74px;
    height: 74px;
    align-items: center;
    justify-content: center;
    border-radius: 22px;
    background: var(--v4-green-100);
    color: var(--v4-green-700);
}

.v4-site-provision-icon svg {
    width: 31px;
    height: 31px;
}

.v4-site-provision-copy {
    min-width: 0;
}

.v4-site-provision-copy h2 {
    margin: 4px 0 5px;
    font-size: clamp(23px, 2.1vw, 31px);
    font-weight: 735;
    letter-spacing: -.04em;
}

.v4-site-provision-copy > p {
    max-width: 760px;
    margin: 0;
    color: var(--v4-muted);
    font-size: 12px;
    line-height: 1.6;
}

.v4-site-provision-copy ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin: 17px 0 0;
    padding: 0;
    list-style: none;
}

.v4-site-provision-copy li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #426b57;
    font-size: 10px;
    font-weight: 620;
}

.v4-site-provision-copy li svg {
    width: 15px;
    height: 15px;
    color: var(--v4-green-700);
}

.v4-site-provision-action {
    display: grid;
    min-width: 200px;
    justify-items: stretch;
    gap: 8px;
}

.v4-site-provision-action .btn {
    min-height: 46px;
}

.v4-site-provision-action .spinner-border {
    width: 15px;
    height: 15px;
    margin-right: 7px;
    vertical-align: -2px;
}

.v4-site-provision-feedback {
    min-height: 16px;
    color: var(--v4-muted);
    font-size: 9px;
    line-height: 1.45;
    text-align: center;
}

.v4-site-provision-feedback.is-error {
    color: var(--v4-red);
}

.v4-site-workspace {
    display: grid;
    grid-template-columns: minmax(250px, 280px) minmax(0, 1fr);
    align-items: start;
    gap: 14px;
}

.v4-site-nav {
    position: sticky;
    top: 92px;
    overflow: hidden;
    border: 1px solid rgba(15, 33, 26, .07);
    border-radius: 16px;
    background: var(--v4-surface);
    box-shadow: var(--v4-shadow-sm);
}

.v4-site-nav-heading {
    display: grid;
    gap: 3px;
    padding: 17px 16px 13px;
    border-bottom: 1px solid var(--v4-line);
}

.v4-site-nav-heading strong {
    font-size: 14px;
}

.v4-site-tabs {
    display: grid;
    gap: 6px;
    padding: 10px;
}

.v4-site-tab {
    display: grid;
    width: 100%;
    min-width: 0;
    min-height: 66px;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    align-items: center;
    gap: 11px;
    padding: 10px 11px;
    border: 1px solid transparent;
    border-radius: 11px;
    background: transparent;
    color: var(--v4-ink);
    text-align: left;
    transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}

.v4-site-tab:hover {
    background: #f7faf6;
}

.v4-site-tab.is-active {
    border-color: rgba(23, 107, 71, .14);
    background: var(--v4-green-100);
    box-shadow: inset 3px 0 0 var(--v4-green-700);
}

.v4-site-tab-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--v4-surface-soft);
    color: var(--v4-muted);
}

.v4-site-tab.is-active .v4-site-tab-icon {
    background: var(--v4-surface);
    color: var(--v4-green-700);
}

.v4-site-tab-icon svg {
    width: 16px;
    height: 16px;
}

.v4-site-tab-copy {
    display: grid;
    min-width: 0;
    gap: 2px;
}

.v4-site-tab-copy strong {
    font-size: 12px;
}

.v4-site-tab-copy small {
    color: var(--v4-muted);
    font-size: 10px;
    line-height: 1.35;
    white-space: normal;
}

.v4-site-tab-state {
    padding: 3px 6px;
    border-radius: 6px;
    background: var(--v4-surface-soft);
    color: var(--v4-muted);
    font-size: 10px;
    font-weight: 750;
}

.v4-site-tab-state.is-dirty {
    background: var(--v4-orange-soft);
    color: var(--v4-orange);
}

.v4-site-tab-state.is-saving {
    background: var(--v4-blue-soft);
    color: var(--v4-blue);
}

.v4-site-tab-state.is-error {
    background: var(--v4-red-soft);
    color: var(--v4-red);
}

.v4-site-nav-tip {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 2px 8px 8px;
    padding: 11px;
    border-radius: 10px;
    background: var(--v4-paper);
    color: var(--v4-muted);
}

.v4-site-nav-tip svg {
    width: 15px;
    height: 15px;
    flex: 0 0 auto;
}

.v4-site-nav-tip p {
    margin: 0;
    font-size: 9px;
    line-height: 1.5;
}

.v4-site-panels,
.v4-site-panel,
.v4-site-panel form {
    min-width: 0;
}

.v4-site-panel {
    overflow: hidden;
    border: 1px solid rgba(15, 33, 26, .07);
    border-radius: 16px;
    background: var(--v4-surface);
    box-shadow: var(--v4-shadow-sm);
}

.v4-site-panel-header {
    display: flex;
    min-height: 98px;
    align-items: center;
    gap: 15px;
    padding: 18px 20px;
    border-bottom: 1px solid var(--v4-line);
    background: var(--v4-surface-soft);
}

.v4-site-panel-icon {
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
    border-radius: 14px;
    background: var(--v4-green-100);
    color: var(--v4-green-700);
}

.v4-site-panel-icon svg {
    width: 21px;
    height: 21px;
}

.v4-site-panel-header h2 {
    margin: 3px 0 3px;
    font-size: 21px;
    font-weight: 730;
    letter-spacing: -.035em;
}

.v4-site-panel-header p {
    max-width: 760px;
    margin: 0;
    color: var(--v4-muted);
    font-size: 12px;
    line-height: 1.5;
}

.v4-site-form-body {
    display: grid;
    gap: 0;
    padding: 0 20px;
}

.v4-site-fieldset {
    min-width: 0;
    margin: 0;
    padding: 20px 0;
    border: 0;
    border-bottom: 1px solid var(--v4-line);
}

.v4-site-fieldset:last-child {
    border-bottom: 0;
}

.v4-site-fieldset legend {
    float: none;
    width: auto;
    margin: 0 0 4px;
    color: var(--v4-ink);
    font-size: 15px;
    font-weight: 720;
}

.v4-site-fieldset-help {
    max-width: 820px;
    margin: 0 0 13px;
    color: var(--v4-muted);
    font-size: 11px;
    line-height: 1.55;
}

.v4-site-field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
}

.v4-site-field.is-full,
.v4-site-address-grid .v4-site-field.is-full {
    grid-column: 1 / -1;
}

.v4-site-field {
    display: grid;
    min-width: 0;
    align-content: start;
    gap: 6px;
}

.v4-site-field label {
    margin: 0;
    color: var(--v4-ink);
    font-size: 11px;
    font-weight: 680;
}

.v4-site-field > small {
    color: var(--v4-muted);
    font-size: 9px;
    line-height: 1.45;
}

.v4-site-field .form-control {
    min-width: 0;
}

.v4-site-field textarea.form-control {
    min-height: 86px;
    resize: vertical;
}

.v4-site-field input[readonly] {
    background: #f6f8f5;
    color: var(--v4-muted);
    cursor: default;
}

.v4-site-readonly-input {
    position: relative;
}

.v4-site-readonly-input > svg,
.v4-site-readonly-input > i {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 12px;
    width: 16px;
    height: 16px;
    color: var(--v4-muted);
    transform: translateY(-50%);
}

.v4-site-readonly-input .form-control {
    padding-left: 38px;
}

.v4-site-activation {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding: 14px;
    border: 1px solid rgba(23, 107, 71, .14);
    border-radius: 12px;
    background: #f7faf6;
    cursor: pointer;
}

.v4-site-activation-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--v4-green-100);
    color: var(--v4-green-700);
}

.v4-site-activation-icon svg {
    width: 18px;
    height: 18px;
}

.v4-site-activation > span:nth-child(2) {
    display: grid;
    gap: 2px;
}

.v4-site-activation strong {
    font-size: 12px;
}

.v4-site-activation small {
    color: var(--v4-muted);
    font-size: 10px;
}

.v4-site-activation .form-check {
    min-height: auto;
    margin: 0;
    padding-left: 0;
}

.v4-site-activation .form-check-input {
    width: 2.6rem;
    height: 1.35rem;
    margin: 0;
    cursor: pointer;
}

.v4-site-activation .form-check-input:checked {
    border-color: var(--v4-green-700);
    background-color: var(--v4-green-700);
}

.v4-site-template-gallery {
    margin-bottom: 12px;
    border: 1px solid rgba(15, 33, 26, .08);
    border-radius: 14px;
    background: var(--v4-surface);
    box-shadow: 0 3px 12px rgba(15, 33, 26, .035);
}

.v4-site-template-disclosure {
    display: block;
}

.v4-site-template-summary-row {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    align-items: center;
    gap: 11px;
    padding: 10px 14px;
    border-radius: 13px;
    cursor: pointer;
    list-style: none;
}

.v4-site-template-summary-row::-webkit-details-marker {
    display: none;
}

.v4-site-template-summary-row:focus-visible {
    outline: 3px solid var(--v4-blue);
    outline-offset: 3px;
}

.v4-site-template-disclosure[open] > .v4-site-template-summary-row {
    border-bottom: 1px solid var(--v4-line);
    border-radius: 13px 13px 0 0;
    background: #fbfcfa;
}

.v4-site-template-summary-row-icon {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: var(--v4-green-100);
    color: var(--v4-green-700);
}

.v4-site-template-summary-row-icon svg {
    width: 18px;
    height: 18px;
}

.v4-site-template-summary-row-copy {
    display: grid;
    min-width: 0;
    gap: 1px;
}

.v4-site-template-summary-row-copy .v4-eyebrow {
    font-size: 9px;
}

.v4-site-template-summary-row-copy strong {
    color: var(--v4-ink);
    font-size: 14px;
    font-weight: 735;
    letter-spacing: -.015em;
}

.v4-site-template-summary-row-copy small {
    overflow: hidden;
    color: var(--v4-muted);
    font-size: 10px;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.v4-site-template-summary-row-action {
    display: inline-flex;
    min-height: 32px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 6px 9px;
    border: 1px solid var(--v4-line);
    border-radius: 9px;
    background: #fff;
    color: var(--v4-green-700);
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.v4-site-template-summary-row-action svg {
    width: 15px;
    height: 15px;
    transition: transform .16s ease;
}

.v4-site-template-summary-row-close {
    display: none;
}

.v4-site-template-disclosure[open] .v4-site-template-summary-row-open {
    display: none;
}

.v4-site-template-disclosure[open] .v4-site-template-summary-row-close {
    display: inline;
}

.v4-site-template-disclosure[open] .v4-site-template-summary-row-action svg {
    transform: rotate(180deg);
}

.v4-site-template-gallery-body {
    padding: 12px 14px 9px;
}

.v4-site-template-gallery-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 11px;
}

.v4-site-template-gallery-header h2 {
    margin: 0 0 2px;
    font-size: 17px;
    font-weight: 735;
    letter-spacing: -.025em;
}

.v4-site-template-gallery-header p {
    max-width: 720px;
    margin: 0;
    color: var(--v4-muted);
    font-size: 11px;
    line-height: 1.45;
}

.v4-site-template-gallery-note {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 9px;
    border: 1px solid rgba(23, 107, 71, .13);
    border-radius: 8px;
    background: var(--v4-green-100);
    color: var(--v4-green-700);
    font-size: 10px;
    font-weight: 680;
    line-height: 1.4;
    white-space: nowrap;
}

.v4-site-template-gallery-note svg {
    width: 14px;
    height: 14px;
    flex: 0 0 auto;
}

.v4-site-preview-feedback {
    margin: 0 0 10px;
    padding: 9px 11px;
    border: 1px solid rgba(184, 50, 50, .18);
    border-radius: 10px;
    background: var(--v4-red-soft);
    color: var(--v4-red);
    font-size: 11px;
    font-weight: 650;
    line-height: 1.5;
}

.v4-site-template-grid {
    display: grid;
    overflow-x: auto;
    grid-auto-columns: 258px;
    grid-auto-flow: column;
    gap: 10px;
    padding: 2px 2px 8px;
    scroll-padding-inline: 2px;
    scroll-snap-type: x proximity;
    scrollbar-color: var(--v4-line-strong) transparent;
    scrollbar-width: thin;
}

.v4-site-template-grid:focus-visible {
    outline: 3px solid var(--v4-blue);
    outline-offset: 3px;
}

.v4-site-template-card {
    position: relative;
    display: grid;
    min-width: 0;
    grid-template-rows: auto auto 1fr;
    overflow: hidden;
    padding: 8px;
    border: 1px solid var(--v4-line);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 3px 10px rgba(15, 33, 26, .035);
    scroll-snap-align: start;
    transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.v4-site-template-card:hover {
    border-color: #9aafa3;
    box-shadow: 0 7px 18px rgba(15, 33, 26, .07);
    transform: translateY(-1px);
}

.v4-site-template-card.is-selected,
.v4-site-template-card:has(input:checked) {
    border-color: var(--v4-green-700);
    box-shadow: 0 0 0 2px rgba(23, 107, 71, .08), 0 12px 28px rgba(15, 33, 26, .09);
}

.v4-site-template-card:has(input:focus-visible) {
    outline: 3px solid var(--v4-blue);
    outline-offset: 2px;
}

.v4-site-template-shot {
    --shot-primary: #176b47;
    --shot-secondary: #d3ff72;
    --shot-soft: #eaf3ed;
    --shot-ink: #1f382d;
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 8.5;
    border: 1px solid rgba(15, 33, 26, .11);
    border-radius: 8px;
    background: #f8faf8;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4);
}

.v4-site-template-shot--02 {
    --shot-primary: #6c4e3d;
    --shot-secondary: #f1cfae;
    --shot-soft: #f8eee2;
    --shot-ink: #4d382f;
    background: #fffaf5;
}

.v4-site-template-shot--03 {
    --shot-primary: #285e87;
    --shot-secondary: #9fd6e9;
    --shot-soft: #e8f3f7;
    --shot-ink: #183b55;
    background: #f7fbfd;
}

.v4-site-template-shot--04 {
    --shot-primary: #202c38;
    --shot-secondary: #e8b95c;
    --shot-soft: #edf0f2;
    --shot-ink: #17212b;
    background: #f6f7f8;
}

.v4-site-template-shot--05 {
    --shot-primary: #c75f2b;
    --shot-secondary: #f0b28b;
    --shot-soft: #f8eee8;
    --shot-ink: #4a3328;
    background: #fbfaf9;
}

.v4-site-template-shot--06 {
    --shot-primary: #173e65;
    --shot-secondary: #58d7cf;
    --shot-soft: #e5f4f5;
    --shot-ink: #12324e;
    background: #f5f9fb;
}

.v4-site-template-shot--07 {
    --shot-primary: #486d5a;
    --shot-secondary: #d8b98b;
    --shot-soft: #f3eee3;
    --shot-ink: #30483c;
    background: #fcfaf5;
}

.v4-site-template-shot--08 {
    --shot-primary: #6551a5;
    --shot-secondary: #fa8b7c;
    --shot-soft: #f0edfa;
    --shot-ink: #3a315d;
    background: #faf9fd;
}

.v4-site-template-shot--09 {
    --shot-primary: #156d72;
    --shot-secondary: #c9ed83;
    --shot-soft: #e6f4f0;
    --shot-ink: #17494c;
    background: #f7fbfa;
}

.v4-site-template-shot *,
.v4-site-template-shot *::before,
.v4-site-template-shot *::after {
    box-sizing: border-box;
}

.v4-shot-browser {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    display: flex;
    height: 9%;
    align-items: center;
    gap: 1.5%;
    padding: 0 3%;
    border-bottom: 1px solid rgba(15, 33, 26, .08);
    background: #fff;
}

.v4-shot-browser i {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #c8d0cb;
}

.v4-shot-browser b {
    width: 35%;
    height: 3px;
    margin-left: auto;
    border-radius: 2px;
    background: #e5eae7;
}

.v4-shot-nav {
    position: absolute;
    top: 9%;
    right: 0;
    left: 0;
    display: flex;
    height: 13%;
    align-items: center;
    padding: 0 5%;
    background: #fff;
}

.v4-shot-nav i {
    width: 18%;
    height: 19%;
    border-radius: 3px;
    background: var(--shot-primary);
}

.v4-shot-nav b {
    width: 31%;
    height: 13%;
    margin-left: auto;
    border-radius: 3px;
    background: #d8dfdb;
}

.v4-shot-hero {
    position: absolute;
    top: 22%;
    right: 0;
    left: 0;
    height: 36%;
    padding: 8% 7%;
    background: linear-gradient(118deg, var(--shot-primary), color-mix(in srgb, var(--shot-primary) 72%, #fff));
}

.v4-shot-hero i,
.v4-shot-hero b,
.v4-shot-hero em {
    display: block;
    height: 5%;
    margin-bottom: 3%;
    border-radius: 3px;
    background: rgba(255, 255, 255, .88);
}

.v4-shot-hero i {
    width: 36%;
}

.v4-shot-hero b {
    width: 25%;
    opacity: .7;
}

.v4-shot-hero em {
    width: 12%;
    height: 12%;
    margin-top: 4%;
    background: var(--shot-secondary);
}

.v4-shot-search {
    position: absolute;
    z-index: 1;
    top: 51%;
    right: 7%;
    left: 7%;
    display: flex;
    height: 13%;
    align-items: center;
    gap: 3%;
    padding: 0 3%;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 3px 10px rgba(15, 33, 26, .14);
}

.v4-shot-search i {
    width: 23%;
    height: 24%;
    border-radius: 2px;
    background: #dce3df;
}

.v4-shot-search b {
    width: 15%;
    height: 42%;
    margin-left: auto;
    border-radius: 3px;
    background: var(--shot-primary);
}

.v4-shot-title {
    position: absolute;
    top: 69%;
    left: 7%;
    width: 28%;
    height: 2.5%;
    border-radius: 2px;
    background: var(--shot-ink);
}

.v4-shot-cards {
    position: absolute;
    right: 7%;
    bottom: 5%;
    left: 7%;
    display: grid;
    height: 21%;
    grid-template-columns: repeat(3, 1fr);
    gap: 3%;
}

.v4-shot-cards i,
.v4-shot-wide-cards i,
.v4-shot-offers i {
    border-radius: 3px;
    background: linear-gradient(160deg, var(--shot-soft) 58%, #fff 58%);
    box-shadow: inset 0 0 0 1px rgba(15, 33, 26, .08);
}

.v4-shot-split {
    position: absolute;
    top: 22%;
    right: 5%;
    left: 5%;
    display: grid;
    height: 38%;
    grid-template-columns: .9fr 1.1fr;
    overflow: hidden;
    border-radius: 4px;
    background: var(--shot-soft);
}

.v4-shot-split > i {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 7%;
    padding: 13%;
}

.v4-shot-split > i > b {
    width: 75%;
    height: 5%;
    border-radius: 2px;
    background: var(--shot-ink);
}

.v4-shot-split > i > b:nth-child(2) {
    width: 50%;
    opacity: .35;
}

.v4-shot-split > i > em {
    width: 30%;
    height: 9%;
    border-radius: 2px;
    background: var(--shot-primary);
}

.v4-shot-split > strong {
    background:
        linear-gradient(145deg, transparent 46%, rgba(255, 255, 255, .25) 46%),
        linear-gradient(135deg, var(--shot-secondary), var(--shot-primary));
}

.v4-site-template-shot--02 .v4-shot-search {
    top: 55%;
    right: 12%;
    left: 12%;
}

.v4-site-template-shot--02 .v4-shot-cards {
    height: 18%;
}

.v4-site-template-shot--03 .v4-shot-title {
    top: 27%;
}

.v4-shot-regions {
    position: absolute;
    top: 35%;
    right: 7%;
    left: 7%;
    display: grid;
    height: 15%;
    grid-template-columns: repeat(4, 1fr);
    gap: 3%;
}

.v4-shot-regions i,
.v4-shot-shortcuts i,
.v4-shot-categories i,
.v4-shot-services i {
    border-radius: 50%;
    background: var(--shot-soft);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--shot-primary) 22%, transparent);
}

.v4-shot-columns {
    position: absolute;
    top: 56%;
    right: 7%;
    bottom: 6%;
    left: 7%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4%;
}

.v4-shot-columns > i {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5%;
    padding: 10%;
    border-top: 3px solid var(--shot-primary);
    border-radius: 3px;
    background: #fff;
    box-shadow: inset 0 0 0 1px rgba(15, 33, 26, .08);
}

.v4-shot-columns b {
    background: var(--shot-soft);
}

.v4-shot-photo {
    position: absolute;
    top: 9%;
    right: 0;
    left: 0;
    display: flex;
    height: 48%;
    flex-direction: column;
    justify-content: center;
    padding-left: 8%;
    background:
        linear-gradient(90deg, rgba(20, 31, 40, .82), rgba(20, 31, 40, .08)),
        linear-gradient(145deg, var(--shot-primary), var(--shot-secondary));
}

.v4-shot-photo i,
.v4-shot-photo b,
.v4-shot-photo em {
    width: 35%;
    height: 4%;
    margin: 1.5% 0;
    border-radius: 2px;
    background: #fff;
}

.v4-shot-photo b {
    width: 23%;
    opacity: .55;
}

.v4-shot-photo em {
    width: 14%;
    height: 9%;
    background: var(--shot-secondary);
}

.v4-site-template-shot--04 .v4-shot-search {
    top: 51%;
}

.v4-site-template-shot--04 .v4-shot-title {
    top: 69%;
}

.v4-shot-wide-cards {
    position: absolute;
    right: 7%;
    bottom: 5%;
    left: 7%;
    display: grid;
    height: 21%;
    grid-template-columns: repeat(2, 1fr);
    gap: 4%;
}

.v4-shot-sidebar-grid {
    position: absolute;
    top: 26%;
    right: 5%;
    bottom: 6%;
    left: 5%;
    display: grid;
    grid-template-columns: 27% 1fr;
    gap: 4%;
}

.v4-shot-sidebar-grid > i {
    display: flex;
    flex-direction: column;
    gap: 10%;
    padding: 13%;
    border-radius: 3px;
    background: var(--shot-soft);
}

.v4-shot-sidebar-grid > i b {
    height: 5%;
    border-radius: 2px;
    background: color-mix(in srgb, var(--shot-primary) 35%, #fff);
}

.v4-shot-sidebar-grid > strong {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 4%;
}

.v4-shot-sidebar-grid > strong b {
    border-radius: 3px;
    background: linear-gradient(160deg, #e4e8e6 62%, #fff 62%);
    box-shadow: inset 0 0 0 1px rgba(15, 33, 26, .08);
}

.v4-shot-search-hero {
    position: absolute;
    top: 9%;
    right: 0;
    left: 0;
    display: flex;
    height: 45%;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    gap: 6%;
    background: linear-gradient(135deg, var(--shot-primary), #2b6890);
}

.v4-shot-search-hero i {
    width: 31%;
    height: 4%;
    border-radius: 2px;
    background: #fff;
}

.v4-shot-search-hero b {
    width: 70%;
    height: 15%;
    border-radius: 4px;
    background: #fff;
}

.v4-shot-search-hero em {
    width: 22%;
    height: 4%;
    border-radius: 2px;
    background: var(--shot-secondary);
}

.v4-shot-shortcuts,
.v4-shot-categories,
.v4-shot-services {
    position: absolute;
    top: 58%;
    right: 13%;
    left: 13%;
    display: grid;
    height: 13%;
    grid-template-columns: repeat(4, 1fr);
    gap: 8%;
}

.v4-shot-offers {
    position: absolute;
    right: 7%;
    bottom: 5%;
    left: 7%;
    display: grid;
    height: 19%;
    grid-template-columns: repeat(3, 1fr);
    gap: 3%;
}

.v4-shot-steps {
    position: absolute;
    top: 28%;
    right: 8%;
    left: 8%;
    display: grid;
    height: 12%;
    grid-template-columns: repeat(3, 1fr);
    gap: 4%;
}

.v4-shot-steps i {
    border-top: 3px solid var(--shot-primary);
    border-radius: 3px;
    background: var(--shot-soft);
}

.v4-shot-advice {
    position: absolute;
    top: 45%;
    right: 8%;
    left: 8%;
    display: grid;
    height: 30%;
    grid-template-columns: 1.2fr .8fr;
    overflow: hidden;
    border-radius: 4px;
    background: #fff;
    box-shadow: inset 0 0 0 1px rgba(15, 33, 26, .08);
}

.v4-shot-advice > i {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 7%;
    padding: 10%;
}

.v4-shot-advice > i > b {
    width: 75%;
    height: 5%;
    border-radius: 2px;
    background: var(--shot-ink);
}

.v4-shot-advice > i > b:nth-child(2) {
    width: 51%;
    opacity: .35;
}

.v4-shot-advice > i > em {
    width: 28%;
    height: 8%;
    background: var(--shot-primary);
}

.v4-shot-advice > strong {
    background: linear-gradient(145deg, var(--shot-secondary), var(--shot-primary));
}

.v4-shot-contact {
    position: absolute;
    right: 8%;
    bottom: 6%;
    left: 8%;
    display: flex;
    height: 11%;
    align-items: center;
    gap: 5%;
    padding: 0 5%;
    border-radius: 3px;
    background: var(--shot-primary);
}

.v4-shot-contact i,
.v4-shot-contact b {
    width: 34%;
    height: 13%;
    border-radius: 2px;
    background: #fff;
}

.v4-shot-contact b {
    width: 15%;
    margin-left: auto;
    background: var(--shot-secondary);
}

.v4-shot-category-search {
    position: absolute;
    top: 15%;
    right: 8%;
    left: 8%;
    display: flex;
    height: 14%;
    align-items: center;
    padding: 0 4%;
    border-radius: 4px;
    background: var(--shot-primary);
}

.v4-shot-category-search i {
    width: 68%;
    height: 40%;
    border-radius: 3px;
    background: #fff;
}

.v4-shot-category-search b {
    width: 15%;
    height: 40%;
    margin-left: auto;
    border-radius: 3px;
    background: var(--shot-secondary);
}

.v4-shot-categories {
    top: 35%;
    height: 14%;
}

.v4-shot-property-grid {
    position: absolute;
    top: 55%;
    right: 7%;
    bottom: 5%;
    left: 7%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3%;
}

.v4-shot-property-grid > i {
    display: grid;
    align-content: end;
    gap: 7%;
    padding: 8%;
    border-radius: 3px;
    background: linear-gradient(160deg, var(--shot-soft) 58%, #fff 58%);
    box-shadow: inset 0 0 0 1px rgba(15, 33, 26, .08);
}

.v4-shot-property-grid b,
.v4-shot-property-grid em {
    height: 7%;
    border-radius: 2px;
    background: var(--shot-ink);
}

.v4-shot-property-grid em {
    width: 60%;
    background: var(--shot-secondary);
}

.v4-shot-complete-hero {
    position: absolute;
    top: 22%;
    right: 0;
    left: 0;
    display: flex;
    height: 29%;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 7%;
    padding-left: 7%;
    background: linear-gradient(110deg, var(--shot-primary), color-mix(in srgb, var(--shot-primary) 65%, #fff));
}

.v4-shot-complete-hero i,
.v4-shot-complete-hero b,
.v4-shot-complete-hero em {
    width: 35%;
    height: 6%;
    border-radius: 2px;
    background: #fff;
}

.v4-shot-complete-hero b {
    width: 24%;
    opacity: .55;
}

.v4-shot-complete-hero em {
    width: 16%;
    height: 12%;
    background: var(--shot-secondary);
}

.v4-shot-services {
    top: 56%;
    right: 20%;
    left: 20%;
    height: 14%;
    grid-template-columns: repeat(3, 1fr);
}

.v4-shot-complete-bottom {
    position: absolute;
    right: 7%;
    bottom: 5%;
    left: 7%;
    display: grid;
    height: 19%;
    grid-template-columns: 1.25fr .75fr;
    gap: 4%;
}

.v4-shot-complete-bottom i,
.v4-shot-complete-bottom b {
    border-radius: 3px;
    background: var(--shot-soft);
    box-shadow: inset 0 0 0 1px rgba(15, 33, 26, .08);
}

.v4-shot-complete-bottom b {
    background: var(--shot-primary);
}

.v4-site-template-copy {
    min-width: 0;
    padding: 9px 2px 8px;
}

.v4-site-template-copy strong {
    display: block;
    margin-bottom: 3px;
    color: var(--v4-ink);
    font-size: 14px;
    font-weight: 735;
    letter-spacing: -.02em;
}

.v4-site-template-copy p {
    margin: 0;
    color: var(--v4-muted);
    font-size: 11px;
    line-height: 1.4;
}

.v4-site-template-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-self: end;
    gap: 6px;
}

.v4-site-template-preview,
.v4-site-template-select {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin: 0;
    padding: 6px 7px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
}

.v4-site-template-preview svg {
    width: 14px;
    height: 14px;
    flex: 0 0 auto;
}

.v4-site-template-preview .spinner-border {
    width: 13px;
    height: 13px;
    flex: 0 0 auto;
}

.v4-site-template-select {
    border: 1px solid var(--v4-line-strong);
    background: #fff;
    color: var(--v4-ink);
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease, color .15s ease;
}

.v4-site-template-select:hover {
    border-color: var(--v4-green-700);
    background: #f7fbf7;
}

.v4-site-template-select.is-disabled {
    border-color: var(--v4-line);
    background: #f5f7f5;
    color: var(--v4-muted);
    cursor: not-allowed;
    opacity: .82;
}

.v4-site-template-select.is-disabled:hover {
    border-color: var(--v4-line);
    background: #f5f7f5;
}

.v4-site-template-select input {
    width: 15px;
    height: 15px;
    flex: 0 0 auto;
    margin: 0;
    accent-color: var(--v4-green-700);
    cursor: pointer;
}

.v4-site-template-select input:disabled {
    cursor: not-allowed;
}

.v4-site-template-card.is-selected .v4-site-template-select,
.v4-site-template-card:has(input:checked) .v4-site-template-select {
    border-color: var(--v4-green-700);
    background: var(--v4-green-100);
    color: var(--v4-green-700);
}

.v4-site-template-summary {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) auto;
    align-items: center;
    gap: 11px;
    padding: 10px 12px;
    border: 1px solid rgba(23, 107, 71, .17);
    border-radius: 12px;
    background: #f7faf6;
}

.v4-site-fieldset:has(.v4-site-template-summary) .v4-site-fieldset-help {
    margin-bottom: 10px;
    font-size: 11px;
}

.v4-site-template-summary-icon {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #fff;
    color: var(--v4-green-700);
    box-shadow: inset 0 0 0 1px rgba(23, 107, 71, .12);
}

.v4-site-template-summary-icon svg {
    width: 20px;
    height: 20px;
}

.v4-site-template-summary-copy {
    display: grid;
    min-width: 0;
    gap: 2px;
}

.v4-site-template-summary-copy small {
    color: var(--v4-green-700);
    font-size: 11px;
    font-weight: 720;
}

.v4-site-template-summary-copy strong {
    font-size: 15px;
    font-weight: 735;
}

.v4-site-template-summary-copy > span {
    color: var(--v4-muted);
    font-size: 11.5px;
    line-height: 1.35;
}

.v4-site-template-summary .btn {
    min-height: 36px;
    padding: 7px 11px;
    font-size: 11px;
    white-space: nowrap;
}

.v4-site-choice-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.v4-site-choice {
    position: relative;
    display: grid;
    min-width: 0;
    min-height: 76px;
    grid-template-columns: 36px minmax(0, 1fr) 18px;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border: 1px solid var(--v4-line);
    border-radius: 11px;
    background: #fff;
    cursor: pointer;
}

.v4-site-choice input {
    width: 18px;
    height: 18px;
    grid-column: 3;
    grid-row: 1;
    margin: 0;
    border: 1px solid var(--v4-line-strong);
    border-radius: 5px;
    accent-color: var(--v4-green-700);
}

.v4-site-choice:has(input:checked) {
    border-color: rgba(23, 107, 71, .42);
    background: #f5faf5;
}

.v4-site-choice:has(input:focus-visible) {
    outline: 3px solid var(--v4-blue);
    outline-offset: 2px;
}

.v4-site-choice-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--v4-surface-soft);
    color: var(--v4-muted);
}

.v4-site-choice:has(input:checked) .v4-site-choice-icon {
    background: var(--v4-green-100);
    color: var(--v4-green-700);
}

.v4-site-choice-icon svg {
    width: 16px;
    height: 16px;
}

.v4-site-choice > span:nth-of-type(2) {
    display: grid;
    min-width: 0;
    gap: 2px;
}

.v4-site-choice strong {
    font-size: 10px;
}

.v4-site-choice small {
    color: var(--v4-muted);
    font-size: 8px;
    line-height: 1.35;
}

.v4-site-inline-notice,
.v4-site-script-notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 16px;
    padding: 12px 13px;
    border: 1px solid rgba(49, 88, 199, .14);
    border-radius: 11px;
    background: var(--v4-blue-soft);
    color: var(--v4-blue);
}

.v4-site-inline-notice svg,
.v4-site-script-notice > svg {
    width: 17px;
    height: 17px;
    flex: 0 0 auto;
}

.v4-site-inline-notice p,
.v4-site-script-notice p {
    margin: 0;
    color: #465a92;
    font-size: 10px;
    line-height: 1.5;
}

.v4-site-inline-notice p strong {
    color: #31477f;
}

.v4-site-identity-source {
    border-color: rgba(23, 107, 71, .16);
    background: var(--v4-green-100);
    color: var(--v4-green-700);
}

.v4-site-identity-source p {
    color: #426b57;
}

.v4-site-profile-editor {
    display: grid;
    grid-template-columns: minmax(210px, 270px) minmax(0, 1fr);
    align-items: start;
    gap: 18px;
}

.v4-site-profile-fields {
    min-width: 0;
}

.v4-site-profile-photo {
    grid-template-columns: 1fr;
    align-items: stretch;
}

.v4-site-profile-photo .v4-site-upload-preview.is-profile {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
}

.v4-site-upload-preview.is-profile img {
    object-fit: cover;
}

.v4-site-profile-photo .v4-site-upload-button {
    width: 100%;
}

.v4-site-script-notice {
    margin: 22px 0 0;
    border-color: rgba(23, 107, 71, .15);
    background: var(--v4-green-100);
    color: var(--v4-green-700);
}

.v4-site-script-notice > div {
    display: grid;
    gap: 2px;
}

.v4-site-script-notice strong {
    font-size: 11px;
}

.v4-site-script-notice p {
    color: #426b57;
}

.v4-site-color-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.v4-site-upload-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.v4-site-upload {
    display: grid;
    min-width: 0;
    grid-template-columns: 74px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 13px;
    border: 1px solid var(--v4-line);
    border-radius: 13px;
    background: #fbfcfa;
}

.v4-site-upload.is-uploading {
    border-color: rgba(49, 88, 199, .3);
    background: var(--v4-blue-soft);
}

.v4-site-upload.is-success {
    border-color: rgba(23, 107, 71, .25);
    background: #f5faf5;
}

.v4-site-upload.is-error {
    border-color: rgba(169, 54, 61, .28);
    background: var(--v4-red-soft);
}

.v4-site-upload-preview {
    display: flex;
    width: 74px;
    height: 58px;
    overflow: hidden;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--v4-line);
    border-radius: 11px;
    background: #fff;
    color: var(--v4-muted);
}

.v4-site-upload-preview.is-compact {
    width: 58px;
    height: 58px;
    justify-self: center;
}

.v4-site-upload-preview img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.v4-site-upload-preview.is-banner img {
    object-fit: cover;
}

.v4-site-upload-preview > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.v4-site-upload-preview svg {
    width: 21px;
    height: 21px;
}

.v4-site-upload-copy {
    display: grid;
    min-width: 0;
    gap: 2px;
}

.v4-site-upload-copy strong {
    font-size: 11px;
}

.v4-site-upload-copy span {
    overflow: hidden;
    color: var(--v4-green-700);
    font-size: 9px;
    font-weight: 650;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.v4-site-upload-copy small {
    color: var(--v4-muted);
    font-size: 8px;
    line-height: 1.4;
}

.v4-site-upload-button {
    display: inline-flex;
    min-width: 126px;
    align-items: center;
    justify-content: center;
    margin: 0;
    cursor: pointer;
}

.v4-site-upload-button.is-disabled {
    cursor: wait;
    opacity: .55;
    pointer-events: none;
}

.v4-site-upload-progress {
    display: flex;
    min-height: 27px;
    grid-column: 1 / -1;
    align-items: center;
    gap: 7px;
    padding: 6px 8px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .72);
    color: var(--v4-blue);
    font-size: 9px;
    font-weight: 650;
}

.v4-site-upload-progress .spinner-border {
    width: 12px;
    height: 12px;
}

.v4-site-upload.is-error .v4-site-upload-progress {
    color: var(--v4-red);
}

.v4-site-upload-progress button {
    margin-left: auto;
    padding: 2px 0;
    border: 0;
    border-bottom: 1px solid currentColor;
    background: transparent;
    color: inherit;
    font-size: 9px;
    font-weight: 700;
}

.v4-site-color {
    display: grid;
    min-width: 0;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    gap: 4px 10px;
    padding: 11px;
    border: 1px solid var(--v4-line);
    border-radius: 11px;
    background: #fff;
    cursor: pointer;
}

.v4-site-color > span {
    align-self: end;
    color: var(--v4-ink);
    font-size: 10px;
    font-weight: 680;
}

.v4-site-color input[type="color"] {
    width: 42px;
    height: 42px;
    grid-row: 1 / span 2;
    padding: 3px;
    border: 1px solid var(--v4-line);
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
}

.v4-site-color output {
    align-self: start;
    color: var(--v4-muted);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 9px;
}

.v4-site-address-grid {
    display: grid;
    grid-template-columns: 1.4fr .5fr 1fr;
    gap: 15px;
}

.v4-site-address-grid .is-street {
    grid-column: span 2;
}

.v4-site-address-grid .is-number {
    grid-column: span 1;
}

.v4-site-social-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.v4-site-social-field {
    display: grid;
    min-width: 0;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    gap: 11px;
    padding: 12px;
    border: 1px solid var(--v4-line);
    border-radius: 12px;
    background: #fbfcfa;
}

.v4-site-social-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--v4-green-100);
    color: var(--v4-green-700);
}

.v4-site-social-icon svg {
    width: 18px;
    height: 18px;
}

.v4-site-code-input {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace !important;
    font-size: 11px !important;
    line-height: 1.55;
}

.v4-site-form-footer {
    display: flex;
    min-height: 74px;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 23px;
    border-top: 1px solid var(--v4-line);
    background: #fbfcfa;
}

.v4-site-form-footer .btn {
    min-width: 170px;
}

.v4-site-form-footer .btn .spinner-border {
    width: 14px;
    height: 14px;
    margin-right: 7px;
    vertical-align: -2px;
}

.v4-site-save-state {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--v4-muted);
    font-size: 10px;
    font-weight: 650;
}

.v4-site-save-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--v4-line-strong);
}

.v4-site-save-state.is-dirty {
    color: var(--v4-orange);
}

.v4-site-save-state.is-dirty .v4-site-save-dot {
    background: var(--v4-orange);
}

.v4-site-save-state.is-saving {
    color: var(--v4-blue);
}

.v4-site-save-state.is-saving .v4-site-save-dot {
    background: var(--v4-blue);
}

.v4-site-save-state.is-saved {
    color: var(--v4-green-700);
}

.v4-site-save-state.is-saved .v4-site-save-dot {
    background: var(--v4-green-700);
}

.v4-site-save-state.is-error {
    color: var(--v4-red);
}

.v4-site-save-state.is-error .v4-site-save-dot {
    background: var(--v4-red);
}

.v4-site-save-state button {
    padding: 2px 0;
    border: 0;
    border-bottom: 1px solid currentColor;
    background: transparent;
    color: inherit;
    font-size: 10px;
    font-weight: 700;
}

@media (max-width: 1399.98px) {
    .v4-site-hero {
        grid-template-columns: minmax(0, .8fr) minmax(540px, 1fr);
        gap: 18px;
    }

    .v4-site-choice-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .v4-site-color-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .v4-site-upload {
        grid-template-columns: 64px minmax(0, 1fr);
    }

    .v4-site-upload-preview {
        width: 64px;
    }

    .v4-site-upload-button {
        grid-column: 1 / -1;
        width: 100%;
    }
}

@media (max-width: 1199.98px) {
    .v4-site-hero {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .v4-site-workspace {
        grid-template-columns: 1fr;
    }

    .v4-site-provision {
        grid-template-columns: 64px minmax(0, 1fr);
        padding: 28px;
    }

    .v4-site-provision-icon {
        width: 64px;
        height: 64px;
        border-radius: 19px;
    }

    .v4-site-provision-action {
        grid-column: 1 / -1;
        justify-self: start;
    }

    .v4-site-nav {
        position: static;
        overflow: visible;
    }

    .v4-site-nav-heading,
    .v4-site-nav-tip {
        display: none;
    }

    .v4-site-tabs {
        display: grid;
        overflow: visible;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 7px;
        padding: 8px;
    }

    .v4-site-tab {
        min-width: 0;
        min-height: 76px;
        grid-template-columns: 34px minmax(0, 1fr);
        align-content: center;
        gap: 8px;
        padding: 9px;
    }

    .v4-site-tab.is-active {
        box-shadow: inset 0 -3px 0 var(--v4-green-700);
    }

    .v4-site-tab-icon {
        width: 34px;
        height: 34px;
        grid-row: 1 / span 2;
    }

    .v4-site-tab-state {
        grid-column: 2;
        justify-self: start;
    }
}

@media (max-width: 991.98px) {
    .v4-site-tabs {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .v4-site {
        padding-right: 0;
        padding-left: 0;
    }

    .v4-site-state {
        min-height: 360px;
        padding: 28px 20px;
    }

    .v4-site-hero {
        gap: 16px;
        padding: 18px;
        border-radius: 16px;
    }

    .v4-site-template-gallery {
        border-radius: 13px;
    }

    .v4-site-template-gallery-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .v4-site-template-gallery-note {
        min-width: 0;
    }

    .v4-site-template-grid {
        grid-auto-columns: min(82vw, 278px);
    }

    .v4-site-public-card {
        grid-template-columns: 42px minmax(0, 1fr);
    }

    .v4-site-public-icon {
        width: 42px;
        height: 42px;
    }

    .v4-site-public-actions {
        grid-column: 1 / -1;
        width: 100%;
    }

    .v4-site-public-actions .v4-site-open {
        flex: 1 1 0;
    }

    .v4-site-public-actions .btn {
        flex: 1 1 0;
    }

    .v4-site-tabs {
        display: grid;
        overflow: visible;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .v4-site-tab {
        min-width: 0;
        min-height: 70px;
    }

    .v4-site-tab:last-child {
        grid-column: 1 / -1;
    }

    .v4-site-panel-header {
        align-items: flex-start;
        padding: 19px;
    }

    .v4-site-panel-header h2 {
        font-size: 20px;
    }

    .v4-site-form-body {
        padding: 0 18px;
    }

    .v4-site-field-grid,
    .v4-site-address-grid,
    .v4-site-social-grid,
    .v4-site-upload-grid {
        grid-template-columns: 1fr;
    }

    .v4-site-profile-editor {
        grid-template-columns: 1fr;
    }

    .v4-site-profile-photo {
        max-width: 320px;
        justify-self: center;
        width: 100%;
    }

    .v4-site-provision {
        display: block;
        padding: 22px;
    }

    .v4-site-provision-icon {
        margin-bottom: 18px;
    }

    .v4-site-provision-action {
        margin-top: 20px;
    }

    .v4-site-provision-copy ul {
        display: grid;
    }

    .v4-site-address-grid .is-street,
    .v4-site-address-grid .is-number,
    .v4-site-field.is-full,
    .v4-site-address-grid .v4-site-field.is-full {
        grid-column: auto;
    }

    .v4-site-form-footer {
        align-items: stretch;
        flex-direction: column;
        padding: 14px 18px 18px;
    }

    .v4-site-form-footer .btn {
        width: 100%;
    }
}

@media (max-width: 519.98px) {
    .v4-site-title-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .v4-site-title-row h1 {
        font-size: 31px;
    }

    .v4-site-public-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .v4-site-public-actions .v4-site-open {
        width: 100%;
    }

    .v4-site-tabs {
        grid-template-columns: 1fr;
    }

    .v4-site-tab {
        min-height: 64px;
        grid-template-columns: 34px minmax(0, 1fr) auto;
    }

    .v4-site-tab:last-child {
        grid-column: auto;
    }

    .v4-site-tab-icon {
        grid-row: auto;
    }

    .v4-site-tab-state {
        grid-column: auto;
        justify-self: end;
    }

    .v4-site-choice-grid,
    .v4-site-color-grid {
        grid-template-columns: 1fr;
    }

    .v4-site-template-summary {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .v4-site-template-summary-icon {
        display: none;
    }

    .v4-site-template-summary .btn {
        align-self: center;
    }

    .v4-site-activation {
        grid-template-columns: 38px minmax(0, 1fr) auto;
        padding: 12px;
    }

    .v4-site-activation-icon {
        width: 38px;
        height: 38px;
    }

    .v4-site-panel-header {
        display: grid;
    }

    .v4-site-panel-icon {
        width: 42px;
        height: 42px;
    }

    .v4-site-upload {
        grid-template-columns: 58px minmax(0, 1fr);
    }

    .v4-site-upload-preview {
        width: 58px;
        height: 54px;
    }
}

@media (max-width: 359.98px) {
    .v4-site-public-actions,
    .v4-site-template-summary {
        grid-template-columns: 1fr;
    }

    .v4-site-template-summary .btn {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .v4-site-tab,
    .v4-site-template-card,
    .v4-site-template-select,
    .v4-site-template-summary-row-action svg {
        transition: none;
    }
}
