:root {
    --cec-ink: #1d2422;
    --cec-muted: #65706c;
    --cec-line: #dfe5e0;
    --cec-paper: #f7f4ed;
    --cec-surface: #ffffff;
    --cec-teal: #0f766e;
    --cec-teal-dark: #0b4f49;
    --cec-brass: #a9762a;
    --cec-clay: #b65f3d;
    --cec-navy: #243b53;
    --cec-shadow: 0 18px 45px rgba(29, 36, 34, 0.12);
}

.cec-body *,
.cec-embed-section * {
    box-sizing: border-box;
}

body.cec-body {
    margin: 0;
    color: var(--cec-ink);
    background: #fbfaf6;
    font-family: Pretendard, "Noto Sans KR", "Malgun Gothic", Arial, sans-serif;
    letter-spacing: 0;
}

.cec-body a,
.cec-embed-section a {
    color: inherit;
    text-decoration: none;
}

.cec-body button,
.cec-body input,
.cec-body select,
.cec-body textarea,
.cec-embed-section button,
.cec-embed-section input,
.cec-embed-section select,
.cec-embed-section textarea {
    font: inherit;
    letter-spacing: 0;
}

.cec-body img,
.cec-embed-section img {
    display: block;
    max-width: 100%;
}

.cec-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(223, 229, 224, 0.9);
    backdrop-filter: blur(14px);
}

.cec-header__inner {
    width: min(1180px, calc(100% - 32px));
    min-height: 72px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
}

.cec-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.cec-brand__mark {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--cec-teal);
    border-radius: 8px;
    font-weight: 800;
}

.cec-brand strong,
.cec-brand small {
    display: block;
}

.cec-brand small {
    margin-top: 2px;
    color: var(--cec-muted);
    font-size: 12px;
}

.cec-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-left: auto;
    color: #34423e;
    font-size: 15px;
}

.cec-nav a:hover {
    color: var(--cec-teal);
}

.cec-header__actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cec-primary-button,
.cec-link-button,
.cec-search-panel button,
.cec-inline-form button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    white-space: nowrap;
}

.cec-primary-button,
.cec-search-panel button {
    color: #fff;
    background: var(--cec-teal);
}

.cec-primary-button:hover,
.cec-search-panel button:hover {
    background: var(--cec-teal-dark);
}

.cec-primary-button:disabled {
    cursor: not-allowed;
    background: #9bb8b3;
}

.cec-link-button {
    color: var(--cec-teal-dark);
    background: #e8f3ef;
    border-color: #cde2db;
}

.cec-flashes {
    width: min(1180px, calc(100% - 32px));
    margin: 18px auto 0;
    display: grid;
    gap: 8px;
}

.cec-flash {
    padding: 12px 14px;
    border-radius: 8px;
    background: #eef7f4;
    border: 1px solid #cde2db;
}

.cec-flash--error {
    color: #8a2d20;
    background: #fff0eb;
    border-color: #f1c7ba;
}

.cec-home,
.cec-page,
.cec-detail {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.cec-embed-section {
    margin-top: 54px;
    margin-bottom: 54px;
    color: var(--cec-ink);
    font-family: Pretendard, "Noto Sans KR", "Malgun Gothic", Arial, sans-serif;
    letter-spacing: 0;
}

.cec-hero {
    position: relative;
    min-height: 520px;
    margin-top: 28px;
    overflow: hidden;
    border-radius: 8px;
    background: var(--cec-navy);
}

.cec-hero__media {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(16, 29, 27, 0.82), rgba(16, 29, 27, 0.36)),
        url("/uploads/site_meta/default_metatag_og_image.jpg") center / cover no-repeat;
    transform: scale(1.02);
}

.cec-hero__content {
    position: relative;
    z-index: 1;
    width: min(760px, calc(100% - 40px));
    padding: 78px 0 56px 56px;
    color: #fff;
}

.cec-eyebrow,
.cec-section-head span,
.cec-empty-state__eyebrow {
    display: inline-block;
    color: var(--cec-brass);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
}

.cec-hero .cec-eyebrow {
    color: #f1c174;
}

.cec-hero h1 {
    max-width: 680px;
    margin: 12px 0 16px;
    font-size: 46px;
    line-height: 1.14;
}

.cec-hero p {
    max-width: 560px;
    margin: 0 0 30px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 17px;
    line-height: 1.7;
}

.cec-search-panel {
    display: grid;
    grid-template-columns: 1fr 1fr 120px 1.3fr auto;
    gap: 10px;
    width: min(980px, calc(100vw - 88px));
    padding: 14px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    box-shadow: var(--cec-shadow);
}

.cec-search-panel label,
.cec-field {
    display: grid;
    gap: 7px;
}

.cec-search-panel span,
.cec-field span {
    color: var(--cec-muted);
    font-size: 13px;
    font-weight: 700;
}

.cec-search-panel input,
.cec-search-panel select,
.cec-field input,
.cec-field select,
.cec-field textarea,
.cec-inline-form select {
    width: 100%;
    min-height: 42px;
    border: 1px solid var(--cec-line);
    border-radius: 8px;
    padding: 0 12px;
    color: var(--cec-ink);
    background: #fff;
}

.cec-field textarea {
    min-height: 110px;
    padding-top: 12px;
    resize: vertical;
}

.cec-field em {
    color: #a13827;
    font-size: 13px;
    font-style: normal;
}

.cec-region-band,
.cec-category-band,
.cec-content-grid,
.cec-detail-layout,
.cec-page {
    margin-top: 54px;
}

.cec-section-head {
    margin-bottom: 18px;
}

.cec-section-head h2,
.cec-seller-head h1,
.cec-empty-state h1 {
    margin: 6px 0 0;
    font-size: 28px;
    line-height: 1.24;
}

.cec-section-head p,
.cec-seller-head p,
.cec-muted {
    margin: 8px 0 0;
    color: var(--cec-muted);
}

.cec-region-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cec-region-chips a {
    padding: 10px 13px;
    border: 1px solid var(--cec-line);
    border-radius: 8px;
    background: var(--cec-surface);
    color: #34423e;
    font-size: 14px;
}

.cec-region-chips a.is-active,
.cec-region-chips a:hover {
    color: #fff;
    background: var(--cec-teal);
    border-color: var(--cec-teal);
}

.cec-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 26px;
    align-items: start;
}

.cec-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.cec-center-card,
.cec-panel,
.cec-reservation-panel,
.cec-empty-card,
.cec-map-preview,
.cec-form-section,
.cec-seller-row,
.cec-table-wrap {
    background: var(--cec-surface);
    border: 1px solid var(--cec-line);
    border-radius: 8px;
    box-shadow: 0 10px 28px rgba(36, 59, 83, 0.06);
}

.cec-center-card {
    overflow: hidden;
}

.cec-center-card__image {
    display: grid;
    place-items: center;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: linear-gradient(135deg, #e8f3ef, #f4ece2);
}

.cec-center-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cec-center-card__image span {
    color: var(--cec-teal);
    font-size: 44px;
    font-weight: 800;
}

.cec-center-card__body {
    padding: 16px;
}

.cec-center-card__meta,
.cec-center-card__foot,
.cec-detail-tags,
.cec-map-actions,
.cec-row-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.cec-center-card__meta span,
.cec-detail-tags span,
.cec-status {
    display: inline-flex;
    align-items: center;
    min-height: 25px;
    padding: 0 8px;
    border-radius: 8px;
    background: #eef7f4;
    color: var(--cec-teal-dark);
    font-size: 12px;
    font-weight: 700;
}

.cec-center-card h3 {
    margin: 12px 0 8px;
    font-size: 19px;
    line-height: 1.35;
}

.cec-center-card p {
    min-height: 44px;
    margin: 0;
    color: var(--cec-muted);
    line-height: 1.55;
}

.cec-center-card__foot {
    justify-content: space-between;
    margin-top: 16px;
}

.cec-center-card__foot strong {
    color: var(--cec-clay);
}

.cec-center-card__foot a,
.cec-map-actions a,
.cec-row-actions a {
    color: var(--cec-teal);
    font-weight: 800;
}

.cec-map-preview {
    position: sticky;
    top: 96px;
    padding: 18px;
}

.cec-map-preview__surface {
    position: relative;
    height: 320px;
    overflow: hidden;
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(15, 118, 110, 0.16), rgba(169, 118, 42, 0.18)),
        repeating-linear-gradient(45deg, rgba(36, 59, 83, 0.06) 0 1px, transparent 1px 18px),
        #f4f1e9;
}

.cec-map-pin {
    position: absolute;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--cec-clay);
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(29, 36, 34, 0.2);
    font-size: 12px;
    font-weight: 800;
}

.cec-map-pin--1 { left: 18%; top: 24%; }
.cec-map-pin--2 { left: 62%; top: 18%; }
.cec-map-pin--3 { left: 46%; top: 46%; }
.cec-map-pin--4 { left: 76%; top: 58%; }
.cec-map-pin--5 { left: 24%; top: 68%; }
.cec-map-pin--6 { left: 55%; top: 76%; }

.cec-category-grid {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 12px;
}

.cec-category-grid a {
    display: grid;
    gap: 8px;
    place-items: center;
    min-height: 96px;
    padding: 14px;
    border: 1px solid var(--cec-line);
    border-radius: 8px;
    background: #fff;
    font-weight: 800;
}

.cec-category-grid span {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--cec-navy);
    border-radius: 8px;
}

.cec-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin-top: 24px;
}

.cec-pagination a,
.cec-pagination strong {
    padding: 9px 12px;
    border: 1px solid var(--cec-line);
    border-radius: 8px;
    background: #fff;
}

.cec-detail-hero {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 34px;
    align-items: center;
    margin-top: 34px;
}

.cec-detail-hero__image {
    position: relative;
    display: grid;
    place-items: center;
    aspect-ratio: 5 / 4;
    overflow: hidden;
    border-radius: 8px;
    background: linear-gradient(135deg, #dfeee9, #efe4d5);
}

.cec-detail-hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cec-detail-hero__image span {
    color: var(--cec-teal);
    font-size: 72px;
    font-weight: 900;
}

.cec-detail-gallery-strip {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.cec-detail-gallery-strip img {
    width: 100%;
    height: 76px;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.18);
}

.cec-detail-hero h1 {
    margin: 10px 0 14px;
    font-size: 42px;
    line-height: 1.14;
}

.cec-detail-hero p {
    color: var(--cec-muted);
    font-size: 17px;
    line-height: 1.7;
}

.cec-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 26px;
    align-items: start;
    margin-bottom: 80px;
}

.cec-detail-main {
    display: grid;
    gap: 18px;
}

.cec-panel,
.cec-reservation-panel,
.cec-form-section {
    padding: 22px;
}

.cec-panel h2,
.cec-reservation-panel h2,
.cec-form-section h2 {
    margin: 0 0 16px;
    font-size: 22px;
}

.cec-rich-text {
    color: #34423e;
    line-height: 1.75;
}

.cec-program-list {
    display: grid;
    gap: 14px;
}

.cec-program-item {
    padding: 16px;
    border: 1px solid var(--cec-line);
    border-radius: 8px;
    background: #fbfaf6;
}

.cec-program-item h3 {
    margin: 0 0 8px;
}

.cec-program-item > p {
    margin: 0;
    color: var(--cec-muted);
    line-height: 1.6;
}

.cec-program-item dl,
.cec-info-list {
    display: grid;
    gap: 10px;
    margin: 14px 0 0;
}

.cec-program-item dl div,
.cec-info-list div {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 10px;
}

.cec-program-item dt,
.cec-info-list dt {
    color: var(--cec-muted);
    font-weight: 800;
}

.cec-program-item dd,
.cec-info-list dd {
    margin: 0;
}

.cec-program-detail {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--cec-line);
}

.cec-rich-text img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.cec-rich-text iframe,
.cec-rich-map-frame {
    display: block;
    width: 100%;
    min-height: 320px;
    border: 0;
    border-radius: 8px;
    background: #eef2f0;
}

.cec-restored-map-frame {
    margin: 16px 0 12px;
}

.cec-rich-text a[href*="map.kakao.com"],
.cec-rich-text a[href*="map.naver.com"],
.cec-rich-text a[href*="google.com/maps"] {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    margin: 8px 8px 0 0;
    padding: 0 12px;
    border-radius: 999px;
    background: #eef6f4;
    color: #0f766e;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.cec-address {
    margin: 0 0 12px;
    font-weight: 800;
}

.cec-map {
    height: 320px;
    overflow: hidden;
    border: 1px solid var(--cec-line);
    border-radius: 8px;
    background: #eef2f0;
}

.cec-map-actions {
    margin-top: 10px;
}

.cec-reservation-panel {
    position: sticky;
    top: 96px;
}

.cec-reserve-counts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 16px 0;
}

.cec-reserve-counts label {
    display: grid;
    gap: 7px;
}

.cec-reserve-counts input {
    min-height: 42px;
    border: 1px solid var(--cec-line);
    border-radius: 8px;
    padding: 0 12px;
}

.cec-schedule-options {
    margin: 0 0 16px;
    padding: 0;
    border: 0;
}

.cec-schedule-options legend {
    margin-bottom: 8px;
    color: var(--cec-muted);
    font-size: 13px;
    font-weight: 800;
}

.cec-schedule-option {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 12px;
    border: 1px solid var(--cec-line);
    border-radius: 8px;
    margin-bottom: 8px;
    cursor: pointer;
}

.cec-schedule-option:has(input:checked) {
    border-color: var(--cec-teal);
    background: #eef7f4;
}

.cec-schedule-option strong,
.cec-schedule-option small {
    display: block;
}

.cec-schedule-option small {
    margin-top: 3px;
    color: var(--cec-muted);
}

.cec-reserve-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 16px 0;
    padding: 14px;
    border-radius: 8px;
    background: #f7f4ed;
}

.cec-reserve-total strong {
    color: var(--cec-clay);
    font-size: 20px;
}

.cec-empty-state {
    max-width: 720px;
    margin: 80px auto;
    padding: 34px;
    text-align: center;
    background: #fff;
    border: 1px solid var(--cec-line);
    border-radius: 8px;
}

.cec-empty-state code,
.cec-empty-state pre {
    display: block;
    margin-top: 16px;
    padding: 14px;
    overflow: auto;
    text-align: left;
    border-radius: 8px;
    background: #17211f;
    color: #e7f4ef;
}

.cec-empty-card {
    padding: 18px;
    color: var(--cec-muted);
}

.cec-seller-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-top: 40px;
}

.cec-seller-list {
    display: grid;
    gap: 12px;
    margin-top: 20px;
}

.cec-seller-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px;
}

.cec-seller-row h2 {
    margin: 9px 0 4px;
    font-size: 20px;
}

.cec-seller-row p {
    margin: 0;
    color: var(--cec-muted);
}

.cec-status--draft {
    color: #7a571b;
    background: #fbf0d7;
}

.cec-status--pending_review {
    color: #b45309;
    background: #fff7ed;
}

.cec-status--published,
.cec-status--confirmed,
.cec-status--completed {
    color: var(--cec-teal-dark);
    background: #e4f4ef;
}

.cec-status--rejected,
.cec-status--suspended {
    color: #991b1b;
    background: #fee2e2;
}

.cec-status--requested {
    color: #24466d;
    background: #e6f0fb;
}

.cec-status--cancelled,
.cec-status--no_show {
    color: #8a2d20;
    background: #fff0eb;
}

.cec-admin-form {
    display: grid;
    gap: 18px;
    margin: 24px 0 80px;
}

.cec-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.cec-field--wide {
    grid-column: 1 / -1;
}

.cec-form-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.cec-table-wrap {
    margin-top: 22px;
    overflow-x: auto;
}

.cec-table {
    width: 100%;
    min-width: 920px;
    border-collapse: collapse;
}

.cec-table th,
.cec-table td {
    padding: 14px;
    border-bottom: 1px solid var(--cec-line);
    text-align: left;
    vertical-align: top;
}

.cec-table th {
    background: #f7f4ed;
    color: #34423e;
    font-size: 13px;
}

.cec-table small {
    display: block;
    margin-top: 4px;
    color: var(--cec-muted);
}

.cec-inline-form {
    display: flex;
    gap: 6px;
}

.cec-inline-form button {
    min-height: 38px;
    padding: 0 12px;
    color: #fff;
    background: var(--cec-navy);
}

@media (max-width: 980px) {
    .cec-header__inner {
        flex-wrap: wrap;
        padding: 12px 0;
    }

    .cec-nav {
        order: 3;
        width: 100%;
        overflow-x: auto;
        margin-left: 0;
        padding-bottom: 2px;
    }

    .cec-hero__content {
        padding: 48px 20px;
    }

    .cec-hero h1,
    .cec-detail-hero h1 {
        font-size: 34px;
    }

    .cec-search-panel,
    .cec-content-grid,
    .cec-detail-hero,
    .cec-detail-layout {
        grid-template-columns: 1fr;
    }

    .cec-search-panel {
        width: 100%;
    }

    .cec-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cec-map-preview,
    .cec-reservation-panel {
        position: static;
    }

    .cec-category-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .cec-header__actions {
        width: 100%;
        justify-content: space-between;
    }

    .cec-hero {
        min-height: auto;
    }

    .cec-hero h1,
    .cec-detail-hero h1 {
        font-size: 28px;
    }

    .cec-card-grid,
    .cec-form-grid,
    .cec-reserve-counts,
    .cec-category-grid {
        grid-template-columns: 1fr;
    }

    .cec-seller-head,
    .cec-seller-row {
        align-items: stretch;
        flex-direction: column;
    }

    .cec-form-actions {
        justify-content: stretch;
    }

    .cec-form-actions > * {
        flex: 1;
    }
}

/* Seller studio: product_add2 style authoring flow with market detail polish. */
.cec-studio-page {
    max-width: 1480px;
    padding-bottom: 90px;
}

.cec-form-hero,
.cec-manager-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 24px;
    align-items: stretch;
    margin-top: 34px;
    padding: 30px;
    border: 1px solid #dbe3ef;
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.94), rgba(22, 101, 52, 0.86)),
        url("/uploads/site_meta/default_metatag_og_image.jpg") center / cover no-repeat;
    color: #fff;
    box-shadow: 0 24px 58px rgba(15, 23, 42, 0.18);
}

.cec-manager-hero {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
}

.cec-form-hero h1,
.cec-manager-hero h1 {
    max-width: 760px;
    margin: 10px 0 12px;
    font-size: 38px;
    line-height: 1.16;
}

.cec-form-hero p,
.cec-manager-hero p {
    max-width: 680px;
    margin: 0;
    color: rgba(255, 255, 255, 0.84);
    line-height: 1.75;
}

.cec-form-hero__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 22px;
}

.cec-form-hero .cec-link-button,
.cec-manager-hero .cec-primary-button {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.28);
    color: #fff;
}

.cec-live-preview {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    color: #0f172a;
}

.cec-live-preview__image {
    display: grid;
    place-items: center;
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, #eff6ff, #f8fafc);
    overflow: hidden;
}

.cec-live-preview__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cec-live-preview__image img[hidden],
.cec-primary-upload__frame img[hidden] {
    display: none !important;
}

.cec-live-preview__image > span:not(.cec-live-preview__empty) {
    color: #0f766e;
    font-size: 58px;
    font-weight: 900;
}

.cec-live-preview__empty {
    display: grid;
    place-items: center;
    gap: 8px;
    padding: 24px;
    text-align: center;
}

.cec-live-preview__empty strong {
    color: #0f766e;
    font-size: 20px;
    font-weight: 900;
}

.cec-live-preview__empty small {
    max-width: 180px;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
}

.cec-live-preview__body {
    padding: 18px;
}

.cec-live-preview__body span,
.cec-manager-card__meta span {
    display: inline-flex;
    min-height: 26px;
    align-items: center;
    padding: 0 9px;
    border-radius: 999px;
    background: #eef2ff;
    color: #334155;
    font-size: 12px;
    font-weight: 800;
}

.cec-live-preview__body h2 {
    margin: 12px 0 8px;
    font-size: 22px;
    line-height: 1.28;
}

.cec-live-preview__body p {
    color: #64748b;
    font-size: 14px;
    line-height: 1.65;
}

.cec-live-preview__body strong {
    display: block;
    margin-top: 16px;
    color: #0f172a;
    font-size: 24px;
    font-weight: 900;
}

.cec-studio-form {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 24px;
    margin-top: 24px;
}

.cec-form-rail {
    position: sticky;
    top: 96px;
    align-self: start;
    display: grid;
    gap: 14px;
}

.cec-form-rail nav,
.cec-form-rail__note,
.cec-studio-section,
.cec-manager-stats div,
.cec-manager-card,
.cec-manager-empty {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.cec-form-rail nav {
    display: grid;
    padding: 10px;
}

.cec-form-rail nav a {
    padding: 12px 12px;
    border-radius: 8px;
    color: #475569;
    font-size: 14px;
    font-weight: 800;
}

.cec-form-rail nav a:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.cec-form-rail__note {
    padding: 18px;
}

.cec-form-rail__note strong {
    color: #0f172a;
}

.cec-form-rail__note p {
    margin: 8px 0 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.75;
}

.cec-form-workspace {
    display: grid;
    gap: 22px;
}

.cec-studio-section {
    padding: 24px;
}

.cec-studio-section__head {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 20px;
}

.cec-studio-section__head > span {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 8px;
    background: #0f172a;
    color: #fff;
    font-size: 13px;
    font-weight: 900;
}

.cec-studio-section__head h2 {
    margin: 0;
    color: #0f172a;
    font-size: 24px;
    line-height: 1.25;
}

.cec-studio-section__head p {
    margin: 6px 0 0;
    color: #64748b;
    line-height: 1.65;
}

.cec-media-layout {
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr);
    gap: 18px;
    align-items: stretch;
}

.cec-primary-upload {
    display: grid;
    align-content: start;
    gap: 10px;
    cursor: pointer;
}

.cec-primary-upload input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.cec-primary-upload__frame {
    display: grid;
    place-items: center;
    aspect-ratio: 1;
    overflow: hidden;
    border: 1px dashed #94a3b8;
    border-radius: 8px;
    background: linear-gradient(135deg, #eef2ff, #f8fafc);
}

.cec-primary-upload__frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cec-primary-upload__frame b {
    color: #334155;
    font-size: 17px;
}

.cec-primary-upload strong {
    color: #0f172a;
    font-size: 16px;
}

.cec-primary-upload small {
    color: #64748b;
    line-height: 1.6;
}

.cec-gallery-uploader {
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 14px;
}

.cec-gallery-uploader__drop {
    min-height: 150px;
    display: grid;
    place-items: center;
    padding: 24px;
    border: 1px dashed #94a3b8;
    border-radius: 8px;
    background: #f8fafc;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cec-gallery-uploader__drop.is-dragover,
.cec-gallery-uploader__drop:hover {
    border-color: #0f766e;
    background: #ecfdf5;
}

.cec-gallery-uploader__drop strong {
    color: #0f172a;
    font-size: 18px;
}

.cec-gallery-uploader__drop p {
    margin: 8px 0;
    color: #64748b;
}

.cec-gallery-uploader__drop span {
    color: #94a3b8;
    font-size: 13px;
    font-weight: 700;
}

.cec-gallery-list {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

.cec-gallery-item {
    position: relative;
    overflow: hidden;
    min-height: 120px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
}

.cec-gallery-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.cec-gallery-item span {
    position: absolute;
    left: 8px;
    bottom: 8px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 28px;
    padding: 0 8px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.78);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

.cec-editor-block {
    margin-top: 22px;
}

.cec-editor-block--compact {
    margin-top: 18px;
}

.cec-editor-block__title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 10px;
}

.cec-editor-block__title strong {
    color: #0f172a;
    font-size: 17px;
}

.cec-editor-block__title span {
    color: #64748b;
    font-size: 13px;
}

.cec-form-grid--modern {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cec-form-grid--five {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.cec-studio-section .cec-field span {
    color: #334155;
}

.cec-studio-section .cec-field input,
.cec-studio-section .cec-field select,
.cec-studio-section .cec-field textarea {
    min-height: 48px;
    border-color: #dbe3ef;
    background: #f8fafc;
}

.cec-studio-section .cec-field input:focus,
.cec-studio-section .cec-field select:focus,
.cec-studio-section .cec-field textarea:focus {
    outline: 2px solid rgba(15, 118, 110, 0.16);
    border-color: #0f766e;
    background: #fff;
}

.cec-studio-actions {
    position: sticky;
    bottom: 0;
    z-index: 20;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 16px 0 0;
    background: linear-gradient(180deg, rgba(251, 250, 246, 0), #fbfaf6 34%);
}

.cec-manager-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.cec-manager-stats div {
    padding: 18px;
}

.cec-manager-stats span {
    display: block;
    color: #64748b;
    font-size: 13px;
    font-weight: 800;
}

.cec-manager-stats strong {
    display: block;
    margin-top: 8px;
    color: #0f172a;
    font-size: 28px;
    font-weight: 900;
}

.cec-manager-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 22px;
}

.cec-manager-card {
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cec-manager-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.12);
}

.cec-manager-card__media {
    position: relative;
    display: grid;
    place-items: center;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: linear-gradient(135deg, #eff6ff, #f8fafc);
}

.cec-manager-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cec-manager-card__media > span {
    color: #0f766e;
    font-size: 54px;
    font-weight: 900;
}

.cec-manager-card__media .cec-status {
    position: absolute;
    left: 14px;
    top: 14px;
}

.cec-manager-card__body {
    padding: 18px;
}

.cec-manager-card__meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.cec-manager-card h2 {
    margin: 14px 0 8px;
    color: #0f172a;
    font-size: 22px;
    line-height: 1.3;
}

.cec-manager-card p {
    min-height: 48px;
    margin: 0;
    color: #64748b;
    line-height: 1.65;
}

.cec-manager-card dl {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 16px 0 0;
}

.cec-manager-card dl div {
    padding: 12px;
    border-radius: 8px;
    background: #f8fafc;
}

.cec-manager-card dt {
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
}

.cec-manager-card dd {
    margin: 5px 0 0;
    color: #0f172a;
    font-weight: 900;
}

.cec-manager-card__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 16px;
}

.cec-manager-empty {
    display: grid;
    justify-items: center;
    margin-top: 22px;
    padding: 70px 24px;
    text-align: center;
}

.cec-manager-empty > span {
    width: 70px;
    height: 70px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: #eef2ff;
    color: #334155;
    font-size: 28px;
    font-weight: 900;
}

.cec-manager-empty h2 {
    margin: 18px 0 8px;
    color: #0f172a;
}

.cec-manager-empty p {
    margin: 0 0 20px;
    color: #64748b;
}

@media (max-width: 1180px) {
    .cec-form-hero,
    .cec-manager-hero,
    .cec-studio-form,
    .cec-media-layout {
        grid-template-columns: 1fr;
    }

    .cec-form-rail {
        position: static;
    }

    .cec-form-rail nav {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .cec-manager-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .cec-form-hero,
    .cec-manager-hero,
    .cec-studio-section {
        padding: 20px;
    }

    .cec-form-hero h1,
    .cec-manager-hero h1 {
        font-size: 30px;
    }

    .cec-form-grid--modern,
    .cec-form-grid--five,
    .cec-manager-stats,
    .cec-manager-grid,
    .cec-gallery-list,
    .cec-form-rail nav {
        grid-template-columns: 1fr;
    }

    .cec-editor-block__title,
    .cec-studio-actions {
        align-items: stretch;
        flex-direction: column;
    }
}

/* Modern public craft experience finder. */
.cec-home-modern {
    max-width: 1360px;
    padding-bottom: 84px;
}

.cec-home-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 28px;
    min-height: 0;
    margin-top: 30px;
    padding: 34px;
    border: 1px solid rgba(231, 218, 198, 0.9);
    border-radius: 8px;
    background:
        linear-gradient(90deg, rgba(44, 29, 18, 0.84), rgba(34, 88, 72, 0.62)),
        url("/home/assets/images/craft_experience_nationwide_banner.png") center 42% / cover no-repeat;
    box-shadow: 0 24px 58px rgba(90, 65, 42, 0.18);
}

.cec-home-hero__copy {
    display: grid;
    align-content: center;
    min-height: 360px;
    color: #fff;
}

.cec-home-hero__copy .cec-eyebrow {
    color: #f5c77b;
}

.cec-home-hero__copy h1 {
    max-width: 720px;
    margin: 12px 0 14px;
    font-size: 42px;
    line-height: 1.16;
}

.cec-home-hero__copy p {
    max-width: 650px;
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 16px;
    line-height: 1.75;
}

.cec-home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.cec-home-hero__actions .cec-primary-button {
    min-width: 132px;
    background: #0f766e;
}

.cec-home-hero__actions .cec-link-button {
    min-width: 132px;
    border-color: rgba(255, 255, 255, 0.34);
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.cec-home-hero__panel {
    display: grid;
    align-content: end;
    gap: 14px;
}

.cec-home-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.cec-home-stat-grid div,
.cec-home-feature-mini a,
.cec-search-dock,
.cec-region-band--modern,
.cec-side-panel {
    border: 1px solid rgba(223, 229, 224, 0.92);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 14px 34px rgba(29, 36, 34, 0.08);
}

.cec-home-stat-grid div {
    display: grid;
    gap: 3px;
    padding: 14px 10px;
    text-align: center;
}

.cec-home-stat-grid strong {
    color: #0f766e;
    font-size: 24px;
    font-weight: 900;
    line-height: 1;
}

.cec-home-stat-grid span,
.cec-home-feature-mini span {
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
}

.cec-home-feature-mini {
    display: grid;
    gap: 8px;
}

.cec-home-feature-mini a {
    display: grid;
    gap: 5px;
    padding: 13px 14px;
}

.cec-home-feature-mini a:hover {
    transform: translateY(-2px);
}

.cec-home-feature-mini strong {
    overflow: hidden;
    color: #111827;
    font-size: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cec-search-dock {
    position: relative;
    z-index: 3;
    margin-top: -34px;
    padding: 16px;
}

.cec-search-panel--modern {
    width: 100%;
    grid-template-columns: minmax(150px, 0.9fr) minmax(150px, 0.9fr) 120px minmax(220px, 1.35fr) 124px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.cec-search-panel--modern input,
.cec-search-panel--modern select {
    border-color: #d7e0dc;
    background: #fbfdfc;
}

.cec-search-panel--modern button {
    align-self: end;
    min-height: 42px;
}

.cec-section-head--row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
}

.cec-section-head--row a {
    color: #0f766e;
    font-size: 13px;
    font-weight: 900;
}

.cec-region-band--modern {
    margin-top: 26px;
    padding: 22px;
}

.cec-region-chips--scroll {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
}

.cec-region-chips--scroll a {
    flex: 0 0 auto;
}

.cec-content-grid--modern {
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 24px;
    margin-top: 28px;
}

.cec-result-column {
    min-width: 0;
}

.cec-result-toolbar {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.cec-result-toolbar h2 {
    margin: 6px 0 0;
    color: #111827;
    font-size: 28px;
    line-height: 1.24;
}

.cec-result-toolbar p {
    margin: 6px 0 0;
    color: #64748b;
}

.cec-active-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 7px;
}

.cec-active-filters span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    background: #eef7f4;
    color: #0f766e;
    font-size: 12px;
    font-weight: 900;
}

.cec-card-grid--modern {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.cec-center-card--booking {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    min-height: 220px;
    border-color: #dfe7e2;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.cec-center-card--booking:hover {
    transform: translateY(-3px);
    border-color: #bcd8d1;
    box-shadow: 0 20px 42px rgba(36, 59, 83, 0.12);
}

.cec-center-card--booking .cec-center-card__image {
    position: relative;
    aspect-ratio: auto;
    min-height: 100%;
    border-radius: 0;
}

.cec-center-card__badge {
    position: absolute;
    left: 12px;
    top: 12px;
    padding: 6px 9px;
    border-radius: 999px;
    background: rgba(15, 118, 110, 0.92);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
}

.cec-center-card--booking .cec-center-card__body {
    display: grid;
    align-content: start;
    padding: 18px;
}

.cec-center-card--booking h3 {
    margin: 10px 0 8px;
    font-size: 20px;
}

.cec-center-card--booking h3 a:hover {
    color: #0f766e;
}

.cec-center-card--booking p {
    min-height: 0;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.cec-center-card__specs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 14px 0 0;
}

.cec-center-card__specs div {
    padding: 10px;
    border-radius: 8px;
    background: #f6faf8;
}

.cec-center-card__specs dt {
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
}

.cec-center-card__specs dd {
    margin: 3px 0 0;
    color: #111827;
    font-size: 14px;
    font-weight: 900;
}

.cec-center-card--booking .cec-center-card__foot {
    align-self: end;
    margin-top: 16px;
}

.cec-center-card--booking .cec-center-card__foot a {
    min-height: 36px;
    padding: 0 12px;
    border-radius: 8px;
    background: #0f766e;
    color: #fff;
    display: inline-flex;
    align-items: center;
}

.cec-home-aside {
    position: sticky;
    top: 96px;
    display: grid;
    gap: 16px;
}

.cec-side-panel {
    padding: 18px;
}

.cec-side-panel__head {
    margin-bottom: 14px;
}

.cec-side-panel__head span {
    color: #a9762a;
    font-size: 12px;
    font-weight: 900;
}

.cec-side-panel__head h3 {
    margin: 5px 0 0;
    color: #111827;
    font-size: 19px;
}

.cec-feature-list {
    display: grid;
    gap: 10px;
}

.cec-feature-list__item {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 11px;
    align-items: center;
    padding: 10px;
    border: 1px solid #edf1ef;
    border-radius: 8px;
    background: #fbfdfc;
}

.cec-feature-list__item:hover {
    border-color: #bcd8d1;
    background: #f4fbf8;
}

.cec-feature-list__thumb {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    overflow: hidden;
    border-radius: 8px;
    background: linear-gradient(135deg, #e8f3ef, #f4ece2);
}

.cec-feature-list__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cec-feature-list__thumb b {
    color: #0f766e;
    font-size: 22px;
}

.cec-feature-list__item strong,
.cec-feature-list__item small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cec-feature-list__item strong {
    color: #111827;
    font-size: 14px;
}

.cec-feature-list__item small {
    margin-top: 4px;
    color: #64748b;
    font-size: 12px;
}

.cec-category-grid--compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.cec-category-grid--compact a {
    min-height: 72px;
    padding: 12px;
}

.cec-category-grid--compact a.is-active {
    border-color: #0f766e;
    background: #eef7f4;
    color: #0f766e;
}

.cec-empty-card--modern {
    display: grid;
    justify-items: start;
    gap: 10px;
    padding: 38px;
}

.cec-empty-card--modern strong {
    color: #111827;
    font-size: 22px;
}

.cec-empty-card--modern p {
    margin: 0;
    color: #64748b;
}

.cec-pagination--modern a,
.cec-pagination--modern strong {
    min-width: 42px;
    text-align: center;
}

@media (max-width: 1180px) {
    .cec-home-hero,
    .cec-content-grid--modern {
        grid-template-columns: 1fr;
    }

    .cec-home-hero__copy {
        min-height: 280px;
    }

    .cec-home-aside {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .cec-search-panel--modern,
    .cec-card-grid--modern,
    .cec-home-aside {
        grid-template-columns: 1fr;
    }

    .cec-search-dock {
        margin-top: 16px;
    }

    .cec-result-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .cec-active-filters {
        justify-content: flex-start;
    }

    .cec-center-card--booking {
        grid-template-columns: 1fr;
    }

    .cec-center-card--booking .cec-center-card__image {
        aspect-ratio: 16 / 9;
    }
}

@media (max-width: 640px) {
    .cec-home-hero {
        padding: 22px;
    }

    .cec-home-hero__copy h1 {
        font-size: 30px;
    }

    .cec-home-stat-grid,
    .cec-center-card__specs,
    .cec-category-grid--compact {
        grid-template-columns: 1fr;
    }
}

/* Modern public craft experience detail page. */
.cec-detail-modern {
    width: min(1240px, calc(100% - 32px));
    padding-bottom: 90px;
}

.cec-detail-hero--modern {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.72fr);
    gap: 18px;
    align-items: stretch;
    margin-top: 28px;
    padding: 14px;
    border: 1px solid rgba(228, 219, 204, 0.95);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(250, 245, 237, 0.96)),
        radial-gradient(circle at 12% 20%, rgba(15, 118, 110, 0.12), transparent 32%),
        radial-gradient(circle at 92% 16%, rgba(182, 95, 61, 0.12), transparent 28%);
    box-shadow: 0 22px 58px rgba(72, 55, 36, 0.12);
}

.cec-detail-hero__gallery {
    display: grid;
    gap: 10px;
    min-width: 0;
}

.cec-detail-hero__main-image {
    display: grid;
    place-items: center;
    min-height: 430px;
    overflow: hidden;
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(15, 118, 110, 0.14), rgba(169, 118, 42, 0.16)),
        #edf4f1;
}

.cec-detail-hero__main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cec-detail-hero__main-image span {
    color: var(--cec-teal);
    font-size: 72px;
    font-weight: 900;
}

.cec-detail-hero__thumbs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.cec-detail-hero__thumbs img {
    width: 100%;
    height: 104px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.86);
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(36, 59, 83, 0.1);
}

.cec-detail-hero__summary {
    display: grid;
    align-content: center;
    gap: 18px;
    min-width: 0;
    padding: 30px;
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 244, 237, 0.9)),
        #fff;
}

.cec-detail-back-link {
    justify-self: start;
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 11px;
    border: 1px solid rgba(15, 118, 110, 0.18);
    border-radius: 999px;
    color: var(--cec-teal);
    background: #edf8f5;
    font-size: 13px;
    font-weight: 800;
}

.cec-detail-hero--modern .cec-eyebrow {
    color: var(--cec-brass);
}

.cec-detail-hero--modern h1 {
    margin: 0;
    color: #17211f;
    font-size: 42px;
    line-height: 1.15;
}

.cec-detail-hero--modern p {
    margin: 0;
    color: #4a5753;
    font-size: 16px;
    line-height: 1.75;
}

.cec-detail-quick-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
}

.cec-detail-quick-facts div {
    min-height: 86px;
    padding: 14px;
    border: 1px solid rgba(223, 229, 224, 0.9);
    border-radius: 8px;
    background: #fff;
}

.cec-detail-quick-facts dt {
    color: var(--cec-muted);
    font-size: 12px;
    font-weight: 800;
}

.cec-detail-quick-facts dd {
    margin: 8px 0 0;
    color: #17211f;
    font-size: 18px;
    font-weight: 900;
}

.cec-detail-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cec-detail-hero__actions .cec-primary-button,
.cec-detail-hero__actions .cec-link-button {
    min-height: 46px;
    padding: 0 20px;
}

.cec-detail-nav {
    position: sticky;
    top: 72px;
    z-index: 20;
    display: flex;
    gap: 8px;
    margin: 18px 0 0;
    padding: 10px;
    overflow-x: auto;
    border: 1px solid rgba(223, 229, 224, 0.9);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    box-shadow: 0 14px 30px rgba(36, 59, 83, 0.08);
}

.cec-detail-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 92px;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 8px;
    color: #34423e;
    font-weight: 800;
    white-space: nowrap;
}

.cec-detail-nav a:hover {
    color: #fff;
    background: var(--cec-teal);
}

.cec-detail-layout--modern {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 24px;
    margin-top: 24px;
}

.cec-detail-section {
    padding: 26px;
}

.cec-detail-section__head {
    margin-bottom: 18px;
}

.cec-detail-section__head span,
.cec-reservation-panel__head span {
    color: var(--cec-brass);
    font-size: 12px;
    font-weight: 900;
}

.cec-detail-section__head h2,
.cec-reservation-panel__head h2 {
    margin: 6px 0 0;
    font-size: 25px;
    line-height: 1.25;
}

.cec-detail-modern .cec-rich-text {
    color: #263330;
    font-size: 16px;
    line-height: 1.85;
}

.cec-detail-modern .cec-rich-text img {
    width: 100%;
    max-height: 560px;
    object-fit: cover;
    border: 1px solid rgba(223, 229, 224, 0.9);
    box-shadow: 0 16px 34px rgba(36, 59, 83, 0.08);
}

.cec-program-list--modern {
    gap: 12px;
}

.cec-program-item--modern {
    display: grid;
    gap: 14px;
    padding: 18px;
    background: linear-gradient(180deg, #fff, #fbfaf6);
}

.cec-program-item__title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cec-program-item__title span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 9px;
    border-radius: 999px;
    color: var(--cec-teal-dark);
    background: #e8f6f2;
    font-size: 12px;
    font-weight: 900;
}

.cec-program-item__title h3 {
    margin: 0;
    font-size: 20px;
}

.cec-program-item--modern > p {
    margin: 0;
    color: var(--cec-muted);
}

.cec-program-item--modern dl,
.cec-info-list--modern {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.cec-program-item--modern dl div,
.cec-info-list--modern div {
    grid-template-columns: 82px minmax(0, 1fr);
    min-height: 48px;
    padding: 12px;
    border: 1px solid rgba(223, 229, 224, 0.86);
    border-radius: 8px;
    background: #fff;
}

.cec-location-fallback {
    display: grid;
    gap: 8px;
    margin-top: 12px;
}

.cec-location-fallback strong {
    color: #17211f;
}

.cec-location-fallback span {
    color: var(--cec-muted);
}

.cec-detail-modern .cec-map {
    height: 360px;
    box-shadow: 0 14px 30px rgba(36, 59, 83, 0.08);
}

.cec-reservation-panel--modern {
    top: 94px;
    padding: 22px;
    border-color: rgba(223, 229, 224, 0.95);
    box-shadow: 0 22px 52px rgba(72, 55, 36, 0.12);
}

.cec-reservation-panel__head {
    margin-bottom: 18px;
}

.cec-reservation-panel__head p {
    margin: 8px 0 0;
    color: var(--cec-muted);
    line-height: 1.55;
}

.cec-reservation-panel--modern .cec-field {
    margin-top: 12px;
}

.cec-reservation-panel--modern .cec-primary-button {
    width: 100%;
    min-height: 48px;
}

.cec-editor-location-map {
    overflow: hidden;
    margin-top: 14px;
    border: 1px solid rgba(223, 229, 224, 0.95);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 16px 34px rgba(36, 59, 83, 0.08);
}

.cec-editor-location-map__head {
    padding: 18px 20px;
    border-bottom: 1px solid rgba(223, 229, 224, 0.95);
    background:
        linear-gradient(135deg, rgba(15, 118, 110, 0.08), rgba(169, 118, 42, 0.08)),
        #fbfaf6;
}

.cec-editor-location-map__head span {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 9px;
    border-radius: 999px;
    color: var(--cec-teal-dark);
    background: #e8f6f2;
    font-size: 12px;
    font-weight: 900;
}

.cec-editor-location-map__head h3 {
    margin: 10px 0 0;
    font-size: 22px;
    line-height: 1.3;
}

.cec-editor-location-map__head p {
    margin: 8px 0 0;
    color: #475569;
}

.cec-editor-location-map__frame .cec-rich-map-frame {
    height: 380px;
    min-height: 380px;
    border-radius: 0;
}

.cec-editor-location-map--form {
    margin-top: 16px;
}

.cec-map-actions--editor {
    padding: 14px 18px 16px;
}

.cec-map-actions--editor a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: #eef6f4;
    color: var(--cec-teal);
    font-size: 13px;
    font-weight: 900;
}

.cec-location-map-preview__empty {
    display: grid;
    gap: 6px;
    margin-top: 16px;
    padding: 22px;
    border: 1px dashed rgba(15, 118, 110, 0.3);
    border-radius: 8px;
    background: #f8fcfa;
    color: var(--cec-muted);
}

.cec-location-map-preview__empty strong {
    color: #17211f;
}

.cec-location-map-preview__empty p {
    margin: 0;
}

.cec-location-map-preview iframe {
    display: block;
    width: 100%;
}

.cec-location-editor-helper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 18px;
    padding: 18px;
    border: 1px solid rgba(15, 118, 110, 0.2);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(15, 118, 110, 0.09), rgba(169, 118, 42, 0.08)),
        #fff;
}

.cec-location-editor-helper span {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    margin-bottom: 8px;
    padding: 0 9px;
    border-radius: 999px;
    color: var(--cec-teal-dark);
    background: #e8f6f2;
    font-size: 12px;
    font-weight: 900;
}

.cec-location-editor-helper strong {
    display: block;
    color: #17211f;
    font-size: 18px;
}

.cec-location-editor-helper p {
    max-width: 720px;
    margin: 7px 0 0;
    color: var(--cec-muted);
    line-height: 1.65;
}

.cec-location-editor-helper button {
    flex: 0 0 auto;
    min-height: 44px;
    padding: 0 18px;
    border: 0;
    border-radius: 8px;
    color: #fff;
    background: var(--cec-teal);
    cursor: pointer;
    font-weight: 900;
}

.cec-location-editor-helper button:hover {
    background: var(--cec-teal-dark);
}

@media (max-width: 1080px) {
    .cec-detail-hero--modern,
    .cec-detail-layout--modern {
        grid-template-columns: 1fr;
    }

    .cec-reservation-panel--modern {
        position: static;
    }
}

@media (max-width: 720px) {
    .cec-detail-modern {
        width: min(100% - 24px, 1240px);
    }

    .cec-detail-hero--modern {
        padding: 10px;
    }

    .cec-detail-hero__main-image {
        min-height: 300px;
    }

    .cec-detail-hero__summary,
    .cec-detail-section {
        padding: 20px;
    }

    .cec-detail-hero--modern h1 {
        font-size: 30px;
    }

    .cec-detail-hero__thumbs,
    .cec-detail-quick-facts,
    .cec-program-item--modern dl,
    .cec-info-list--modern {
        grid-template-columns: 1fr;
    }

    .cec-detail-nav {
        top: 112px;
    }

    .cec-location-editor-helper {
        align-items: stretch;
        flex-direction: column;
    }

    .cec-location-editor-helper button {
        width: 100%;
    }
}

/* Align craft experience pages with the public home shell. */
.cec-site-body .cec-home,
.cec-site-body .cec-page,
.cec-site-body .cec-detail {
    width: min(1520px, calc(100% - 56px));
    max-width: 1520px;
    padding-top: 112px;
}

.cec-site-body .cec-home-modern,
.cec-site-body .cec-detail-modern,
.cec-site-body .cec-studio-page {
    max-width: 1520px;
}

.cec-site-body .cec-home-hero,
.cec-site-body .cec-detail-hero--modern {
    margin-top: 0;
}

@media (max-width: 720px) {
    .cec-site-body .cec-home,
    .cec-site-body .cec-page,
    .cec-site-body .cec-detail {
        width: min(100% - 24px, 1520px);
        padding-top: 112px;
    }
}
