:root {
    color-scheme: light;
    --ink: #073545;
    --muted: #62747a;
    --line: #d9d1b8;
    --soft: #f7f0dc;
    --accent: #073545;
    --accent-dark: #052936;
    --sun: #e8ad24;
    --sun-dark: #c98d12;
    --marine: #073545;
    --marine-dark: #073545;
    --warn: #a43d28;
    --paper: #fffaf0;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

input,
textarea,
select {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 11px 12px;
    font: inherit;
    background: #fff;
}

textarea {
    resize: vertical;
}

label {
    display: grid;
    gap: 7px;
    font-weight: 650;
}

button,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border: 0;
    border-radius: 6px;
    padding: 0 16px;
    background: var(--accent);
    color: #fff;
    font: inherit;
    font-weight: 750;
    cursor: pointer;
}

button:hover,
.button:hover {
    background: var(--accent-dark);
}

.button.secondary {
    background: #f4e6bd;
    color: var(--accent);
}

.site-header,
.admin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 74px;
    padding: 0 clamp(18px, 4vw, 52px);
    border-bottom: 1px solid var(--line);
    background: rgba(255, 250, 240, .94);
    position: sticky;
    top: 0;
    z-index: 5;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 850;
}

.site-header .brand {
    min-width: 0;
}

.site-header .brand img {
    width: auto;
    max-width: min(320px, 44vw);
    height: 56px;
    object-fit: contain;
}

.admin-header {
    gap: 22px;
    min-height: 74px;
    align-items: center;
}

.admin-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
}

.admin-nav-group {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0;
    border: 0;
    background: transparent;
}

.admin-nav-group span {
    color: var(--muted);
    font-size: 10px;
    font-weight: 850;
    line-height: 1;
    text-transform: uppercase;
    opacity: .78;
}

.admin-nav-group a {
    white-space: nowrap;
    color: var(--ink);
    font-size: 13px;
    font-weight: 720;
}

.admin-nav-group a:hover {
    color: var(--sun-dark);
}

.admin-nav-tools {
    padding-left: 16px;
    border-left: 1px solid rgba(7, 53, 69, .16);
}

.staging-banner {
    position: sticky;
    top: 74px;
    z-index: 4;
    border-bottom: 1px solid #ead28d;
    padding: 8px clamp(18px, 4vw, 52px);
    background: #fff3c4;
    color: #6f5520;
    font-size: 13px;
    font-weight: 750;
    line-height: 1.35;
    text-align: center;
}

.staging-banner-admin {
    top: 74px;
}

nav {
    align-items: center;
    flex-wrap: wrap;
    display: flex;
    gap: 18px;
    color: var(--muted);
    font-weight: 650;
}

nav a:hover {
    color: var(--marine);
}

.language-switcher {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fffaf0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1;
}

.language-switcher a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    min-height: 28px;
    border-radius: 999px;
    padding: 0 8px;
}

.language-switcher a.is-active {
    background: var(--accent);
    color: #fff;
}

.menu-toggle {
    display: none;
}

.container,
.admin-container {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.hero {
    min-height: 430px;
    position: relative;
    display: grid;
    align-items: end;
    padding: 90px clamp(18px, 4vw, 52px);
    overflow: hidden;
    color: #fff;
    background: var(--accent);
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(7, 53, 69, .18), rgba(7, 53, 69, .84));
    z-index: 1;
}

.hero-slides {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 900ms ease, transform 6500ms ease;
}

.hero-slide.is-active {
    opacity: 1;
    transform: scale(1);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-dots {
    position: absolute;
    right: clamp(18px, 4vw, 52px);
    bottom: 28px;
    z-index: 3;
    display: flex;
    gap: 8px;
}

.hero-dots button {
    min-height: 12px;
    width: 12px;
    height: 12px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 999px;
    background: rgba(255, 255, 255, .28);
}

.hero-dots button.is-active {
    width: 30px;
    background: #fff;
}

.hero h1,
.tour-hero h1 {
    max-width: 780px;
    margin: 0;
    font-size: clamp(42px, 8vw, 84px);
    line-height: .95;
}

.hero p,
.tour-hero p {
    max-width: 620px;
    font-size: 20px;
}

.hero-actions,
.social-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.intro-band,
.how-preview,
.social-strip {
    display: grid;
    gap: 22px;
    margin: 54px 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: clamp(22px, 4vw, 34px);
    background: var(--soft);
}

.intro-band {
    grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr);
    align-items: end;
}

.intro-band h2,
.how-preview h2,
.social-strip h2,
.page-hero h1 {
    margin: 0;
    font-size: clamp(32px, 5vw, 58px);
    line-height: 1;
}

.intro-band p,
.how-preview p,
.social-strip p,
.page-hero p {
    margin: 0;
}

.feature-grid,
.steps-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 34px 0 54px;
}

.feature-grid article,
.steps-list article,
.info-panel,
.notice-block {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 20px;
    background: #fff;
}

.feature-grid span,
.steps-list span {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    font-weight: 850;
}

.feature-grid h3,
.steps-list h2 {
    margin: 16px 0 8px;
}

.feature-grid p,
.steps-list p {
    margin: 0;
    color: var(--muted);
}

.how-preview {
    grid-template-columns: minmax(0, .9fr) minmax(280px, 1fr);
    align-items: center;
}

.how-preview ol {
    display: grid;
    gap: 10px;
    margin: 0;
    padding-left: 22px;
}

.how-preview .button {
    justify-self: start;
}

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

.eyebrow,
.meta {
    margin: 0 0 8px;
    color: var(--accent);
    font-size: 13px;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: 0;
}

.hero .eyebrow,
.tour-hero .eyebrow {
    color: #fff3c2;
}

.section-title,
.admin-title {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin: 44px 0 22px;
}

.section-title h2,
.admin-title h1 {
    margin: 0;
}

.section-title p,
.admin-title p,
.muted,
.small {
    color: var(--muted);
}

.admin-title-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.post-save-actions {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 16px;
}

.tour-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
    margin-bottom: 64px;
}

.tour-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.tour-card img,
.placeholder-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.placeholder-image {
    display: grid;
    place-items: center;
    background: var(--soft);
    color: var(--muted);
    font-weight: 800;
}

.tour-card-body {
    padding: 18px;
}

.tour-card h3 {
    margin: 0 0 8px;
}

.tour-page {
    padding-bottom: 72px;
}

.tour-hero {
    min-height: 520px;
    position: relative;
    display: grid;
    align-items: end;
    color: #fff;
    background: #1b2a24;
}

.tour-hero img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tour-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(8, 18, 14, .15), rgba(8, 18, 14, .74));
}

.tour-hero-copy {
    position: relative;
    z-index: 1;
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    padding: 0 0 70px;
}

.tour-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    align-items: start;
    gap: clamp(22px, 4vw, 38px);
    margin-top: 48px;
}

.tour-content {
    min-width: 0;
}

.tour-content h2 {
    margin-top: 34px;
}

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

.tour-gallery img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 8px;
}

.facts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.facts span {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 8px 12px;
    background: var(--soft);
    font-weight: 750;
}

.booking-panel {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 22px;
    background: #fff;
}

.booking-panel-wide {
    margin: 28px 0 42px;
    padding: clamp(18px, 3vw, 30px);
}

.booking-panel-centered {
    width: min(920px, 100%);
    margin: 28px auto 42px;
    padding: 18px;
}

.booking-panel-compact {
    position: sticky;
    top: 88px;
    padding: 18px;
    box-shadow: 0 14px 34px rgba(23, 33, 29, .08);
}

.booking-heading {
    margin-bottom: 18px;
}

.booking-heading h2 {
    margin: 0;
    font-size: clamp(28px, 4vw, 42px);
}

.booking-panel-compact .booking-heading {
    margin-bottom: 12px;
}

.booking-panel-centered .booking-heading {
    margin-bottom: 12px;
}

.booking-panel-compact .booking-heading h2 {
    font-size: 24px;
    line-height: 1.08;
}

.booking-panel-centered .booking-heading h2 {
    font-size: 24px;
    line-height: 1.08;
}

.booking-panel form,
.login-card,
.edit-form,
.form-section,
.mock-payment-form {
    display: grid;
    gap: 16px;
}

.booking-step {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 14px;
    border-top: 1px solid var(--line);
    padding-top: 18px;
}

.booking-step > span {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    font-weight: 850;
}

.booking-step h3 {
    margin: 2px 0 14px;
    font-size: 19px;
}

.booking-step > div {
    display: grid;
    gap: 14px;
}

.booking-group {
    display: grid;
    gap: 10px;
    border-top: 1px solid var(--line);
    padding-top: 12px;
}

.booking-group h3 {
    margin: 0;
    font-size: 15px;
}

.booking-panel-compact form {
    gap: 12px;
}

.booking-panel-centered form {
    gap: 12px;
}

.booking-accordion-form:not(.is-open) {
    gap: 0;
}

.booking-accordion-content {
    display: grid;
    gap: 12px;
    animation: bookingAccordionIn .18s ease-out;
}

.booking-accordion-content[hidden] {
    display: none;
}

.booking-date-field {
    grid-column: 1 / -1;
}

.booking-panel-compact label {
    gap: 5px;
    font-size: 13px;
}

.booking-panel-centered label {
    gap: 5px;
    font-size: 13px;
}

.booking-panel-compact input,
.booking-panel-compact textarea,
.booking-panel-compact select,
.booking-panel-centered input,
.booking-panel-centered textarea,
.booking-panel-centered select {
    padding: 8px 10px;
    font-size: 14px;
}

.booking-panel-compact textarea,
.booking-panel-centered textarea {
    min-height: 74px;
}

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

.passenger-fields {
    display: grid;
    gap: 10px;
}

.passenger-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.booking-two-column {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

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

.field-hint {
    display: block;
    margin-top: -2px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 650;
}

.payment-compact-grid {
    align-items: end;
}

.booking-panel-centered .compact-payment-choice {
    margin-top: 0;
}

.guide-options-editor,
.guide-addon-fields {
    display: grid;
    gap: 12px;
}

.check-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 8px 14px;
    margin-top: 8px;
}

.guide-addon-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
}

.guide-addon-toggle input {
    width: auto;
}

.summary-line {
    display: block;
}

.booking-price-detail {
    display: grid;
    gap: 0;
}

.booking-price-detail h3 {
    margin: 0 0 8px;
    font-size: 15px;
}

.price-row {
    display: grid;
    grid-template-columns: minmax(110px, 1fr) minmax(110px, 1fr) minmax(90px, auto);
    gap: 10px;
    align-items: center;
    min-height: 42px;
    padding: 9px 10px;
    border-top: 1px solid var(--line);
}

.price-row:nth-child(even) {
    background: var(--soft);
}

.price-row > span:nth-child(2) {
    color: var(--muted);
    font-size: 13px;
}

.price-row b {
    display: inline-grid;
    place-items: center;
    min-width: 22px;
    height: 22px;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    font-size: 12px;
}

.price-row strong {
    justify-self: end;
}

.price-total {
    background: #fff2c6;
    font-weight: 800;
}

.price-total > span:nth-child(2) {
    color: var(--ink);
    font-size: 12px;
    font-weight: 650;
}

@keyframes bookingAccordionIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.notice {
    border: 1px solid #e7c76e;
    border-radius: 6px;
    padding: 12px;
    background: #fff7dc;
    color: var(--marine);
}

.payment-choice {
    display: grid;
    gap: 10px;
}

.payment-choice p {
    margin: 0;
    font-weight: 750;
}

.payment-choice label {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px;
    background: #fff;
    cursor: pointer;
}

.payment-choice > span {
    display: block;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px;
    background: #fff;
}

.payment-choice input {
    width: auto;
}

.payment-choice small {
    display: block;
    color: var(--muted);
    font-weight: 500;
}

.payment-choice label:has(input:checked) {
    border-color: var(--accent);
    background: #fff5d8;
}

.compact-payment-choice {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.compact-payment-choice p {
    grid-column: 1 / -1;
    font-size: 13px;
}

.compact-payment-choice label {
    padding: 9px 10px;
}

.compact-payment-choice span {
    font-weight: 750;
}

.tour-side-panel,
.contact-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.tour-side-panel {
    position: sticky;
    top: 88px;
    display: grid;
    gap: 12px;
    padding: 18px;
}

.tour-side-panel h2 {
    margin: 0;
    font-size: 20px;
    line-height: 1.15;
}

.tour-side-panel p {
    margin: 0;
}

.tour-side-panel .button {
    width: 100%;
}

.contact-page {
    padding: 54px 0 78px;
}

.contact-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: clamp(22px, 4vw, 42px);
    align-items: end;
    margin-bottom: 28px;
}

.contact-hero h1 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(42px, 7vw, 78px);
    line-height: .95;
}

.contact-hero p {
    max-width: 650px;
    color: var(--muted);
    font-size: 19px;
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.contact-details {
    display: grid;
    gap: 10px;
}

.contact-details article {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 14px;
    background: #fff;
}

.contact-details span {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: var(--soft);
}

.contact-details strong,
.contact-details a {
    display: block;
}

.contact-details strong {
    color: var(--ink);
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(320px, 1fr);
    gap: 22px;
    align-items: stretch;
}

.contact-card {
    padding: clamp(22px, 4vw, 34px);
}

.contact-card h1,
.contact-card h2 {
    margin: 0 0 10px;
    font-size: clamp(34px, 6vw, 56px);
    line-height: 1;
}

.contact-form {
    display: grid;
    gap: 14px;
    margin-top: 24px;
}

.map-panel {
    display: grid;
    grid-template-rows: minmax(360px, 1fr) auto;
    gap: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px;
    background: #fff;
}

.map-panel iframe {
    width: 100%;
    height: 100%;
    min-height: 360px;
    border: 0;
    border-radius: 6px;
}

.content-page {
    padding: 54px 0 82px;
}

.page-hero {
    display: grid;
    gap: 14px;
    max-width: 860px;
    margin-bottom: 36px;
}

.about-media-grid {
    display: grid;
    grid-template-columns: 1.25fr .85fr;
    grid-template-rows: repeat(2, minmax(190px, 1fr));
    gap: 14px;
    margin: 0 0 36px;
}

.about-media-grid img {
    width: 100%;
    height: 100%;
    min-height: 210px;
    object-fit: cover;
    border-radius: 8px;
}

.about-media-grid img:first-child {
    grid-row: 1 / span 2;
}

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

.content-grid article,
.legal-copy {
    display: grid;
    gap: 14px;
}

.content-grid h2,
.legal-copy h2,
.notice-block h2 {
    margin: 0;
}

.content-grid p,
.legal-copy p,
.notice-block p {
    margin: 0;
    color: var(--muted);
}

.info-panel ul {
    margin: 12px 0 0;
    padding-left: 20px;
    color: var(--muted);
}

.legal-copy {
    max-width: 820px;
}

.notice-block {
    margin-top: 24px;
    background: var(--soft);
}

.payment-page {
    padding: 56px 0 80px;
}

.payment-summary {
    width: min(680px, 100%);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 28px;
    background: #fff;
}

.payment-summary h1 {
    margin: 0 0 8px;
    font-size: clamp(32px, 6vw, 54px);
    line-height: 1;
}

.payment-summary dl {
    display: grid;
    gap: 12px;
    margin: 24px 0;
}

.payment-summary dl div {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 10px;
}

.payment-summary dt {
    color: var(--muted);
    font-weight: 650;
}

.payment-summary dd {
    margin: 0;
    text-align: right;
    font-weight: 800;
}

.error {
    border: 1px solid #efb8a8;
    border-radius: 6px;
    padding: 12px;
    background: #fff2ee;
    color: var(--warn);
}

.site-footer {
    display: grid;
    grid-template-columns: minmax(260px, 0.95fr) minmax(460px, 1.05fr);
    gap: clamp(26px, 4vw, 58px);
    align-items: start;
    border-top: 1px solid var(--line);
    padding: 30px clamp(18px, 4vw, 52px) 22px;
    background: #fbf2d9;
    color: var(--muted);
}

.footer-logo {
    width: min(230px, 100%);
    mix-blend-mode: multiply;
}

.site-footer p {
    margin: 6px 0 0;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(4, minmax(112px, 1fr));
    gap: 20px;
}

.footer-link-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
}

.footer-heading {
    display: block;
    margin-bottom: 3px;
    color: var(--ink);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0;
}

.footer-link-group a {
    color: var(--muted);
    font-size: 14px;
    font-weight: 650;
    line-height: 1.35;
}

.footer-copy {
    grid-column: 1 / -1;
    margin-top: 10px;
    font-size: 13px;
}

.login-body {
    min-height: 100vh;
    display: grid;
    place-items: center;
    background: var(--soft);
}

.login-card {
    width: min(420px, calc(100% - 32px));
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 26px;
    background: #fff;
}

.admin-body {
    background: #fafbf8;
}

.admin-container {
    padding-bottom: 70px;
}

.table-wrap,
.form-section {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.table-wrap {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

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

th {
    color: var(--muted);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0;
}

.actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.actions a,
.link-button {
    color: var(--accent);
    font-weight: 750;
}

.link-button {
    min-height: 0;
    padding: 0;
    border: 0;
    background: transparent;
}

.link-button:hover {
    background: transparent;
    color: var(--accent-dark);
}

.inline-action-form {
    margin: 0;
}

.form-section {
    padding: 22px;
}

.form-section h2 {
    margin: 0;
}

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

.checkbox input {
    width: auto;
}

.current-image {
    width: min(360px, 100%);
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 8px;
}

.admin-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

.admin-gallery-item {
    display: grid;
    gap: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 10px;
    background: var(--soft);
}

.admin-gallery-item img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 6px;
}

.hero-slide-admin {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.hero-slide-admin .admin-gallery-item img {
    aspect-ratio: 16 / 9;
}

.booking-fields {
    display: grid;
    gap: 10px;
}

.booking-filters,
.availability-toolbar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    align-items: end;
    margin: 0 0 18px;
}

.availability-day-heading {
    margin: 24px 0 16px;
}

.availability-day-heading h2 {
    margin: 0;
    font-size: clamp(28px, 4vw, 42px);
}

.availability-list {
    display: grid;
    gap: 14px;
    margin-bottom: 48px;
}

.availability-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, .34fr);
    gap: 18px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 18px;
    background: #fff;
}

.availability-card.is-blocked {
    border-color: #efb8a8;
    background: #fff8f5;
}

.availability-card h3 {
    margin: 0 0 6px;
}

.availability-action-form {
    display: grid;
    gap: 10px;
}

.badge.availability-open {
    background: #dcf8e8;
    color: #126235;
}

.badge.availability-blocked {
    background: #ffe2d8;
    color: var(--warn);
}

.coupon-form,
.coupon-edit-form,
.feature-request-form {
    display: grid;
    gap: 10px;
}

.feature-request-form {
    grid-template-columns: minmax(220px, 1fr) minmax(180px, .45fr);
}

.coupon-form {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: end;
}

.coupon-edit-form {
    grid-template-columns: repeat(3, minmax(120px, 1fr));
}

.badge {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    border-radius: 999px;
    padding: 2px 8px;
    font-size: 12px;
    font-weight: 850;
}

.b2b-badge {
    background: #fff4d8;
    color: #67470a;
}

.booking-field-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 150px 90px;
    gap: 10px;
    align-items: center;
}

.departure-time-editor {
    display: grid;
    gap: 8px;
    font-weight: 650;
}

.departure-time-list {
    display: grid;
    gap: 8px;
}

.departure-time-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 42px;
    gap: 8px;
}

.icon-button {
    min-height: 42px;
    width: 42px;
    padding: 0;
    font-size: 20px;
}

.small-check {
    font-size: 13px;
}

.form-actions {
    position: sticky;
    bottom: 0;
    display: flex;
    justify-content: flex-end;
    padding: 16px 0;
    background: linear-gradient(rgba(250, 251, 248, 0), #fafbf8 34%);
}

.courtesy-page {
    min-height: 100vh;
    background:
        linear-gradient(120deg, rgba(255, 250, 240, .95), rgba(247, 240, 220, .88)),
        #fffaf0;
}

.courtesy-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: clamp(22px, 4vw, 54px) 0;
}

.courtesy-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(320px, .98fr);
    min-height: min(720px, calc(100vh - 56px));
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    background: #fffaf0;
    box-shadow: 0 28px 70px rgba(7, 53, 69, .12);
}

.courtesy-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(26px, 5vw, 70px);
}

.courtesy-logo {
    display: inline-flex;
    width: min(360px, 100%);
    margin-bottom: clamp(34px, 6vw, 74px);
}

.courtesy-logo img {
    width: 100%;
    height: auto;
}

.courtesy-kicker {
    margin: 0 0 12px;
    color: var(--sun-dark);
    font-size: 13px;
    font-weight: 850;
    letter-spacing: 0;
    text-transform: uppercase;
}

.courtesy-hero h1 {
    max-width: 760px;
    margin: 0;
    color: var(--marine);
    font-size: clamp(42px, 8vw, 92px);
    line-height: .92;
}

.courtesy-lead {
    max-width: 660px;
    margin: 24px 0 0;
    color: #314f58;
    font-size: clamp(18px, 2vw, 24px);
    line-height: 1.42;
}

.courtesy-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 34px;
}

.courtesy-visual {
    position: relative;
    min-height: 420px;
    background: var(--marine);
}

.courtesy-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 53, 69, 0), rgba(7, 53, 69, .35));
}

.courtesy-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.courtesy-info {
    display: grid;
    grid-template-columns: minmax(220px, .7fr) minmax(0, 1.3fr);
    gap: clamp(24px, 5vw, 70px);
    margin-top: 20px;
    padding: clamp(24px, 4vw, 44px);
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.courtesy-info h2 {
    margin: 0;
    color: var(--marine);
    font-size: clamp(30px, 4vw, 52px);
    line-height: 1;
}

.courtesy-info p {
    margin: 16px 0 0;
    color: var(--muted);
}

.company-data {
    display: grid;
    gap: 0;
    margin: 0;
}

.company-data div {
    display: grid;
    grid-template-columns: minmax(150px, .52fr) minmax(0, 1fr);
    gap: 18px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(217, 209, 184, .82);
}

.company-data div:first-child {
    padding-top: 0;
}

.company-data div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.company-data dt {
    color: var(--muted);
    font-weight: 750;
}

.company-data dd {
    margin: 0;
    color: var(--ink);
    font-weight: 760;
    overflow-wrap: anywhere;
}

.company-data a {
    color: #b40505;
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 820px) {
    .admin-header,
    .section-title,
    .admin-title,
    .actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-header nav {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-nav {
        width: 100%;
        gap: 12px;
    }

    .admin-nav-group {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
        row-gap: 8px;
    }

    .admin-nav-tools {
        padding-left: 0;
        border-left: 0;
    }

    .tour-layout,
    .intro-band,
    .feature-grid,
    .how-preview,
    .social-strip,
    .steps-list,
    .contact-hero,
    .contact-layout,
    .about-media-grid,
    .content-grid,
    .site-footer,
    .split,
    .grid-2,
    .booking-field-row,
    .booking-filters,
    .availability-card,
    .availability-toolbar,
    .coupon-form,
    .coupon-edit-form,
    .feature-request-form,
    .booking-step {
        grid-template-columns: 1fr;
    }

    .social-strip .social-actions,
    .how-preview .button {
        justify-self: start;
    }

    .site-footer {
        gap: 14px;
    }

    .footer-columns {
        grid-template-columns: repeat(2, minmax(130px, 1fr));
        gap: 18px 22px;
    }

    .about-media-grid img:first-child {
        grid-row: auto;
    }

    .hero-dots {
        right: auto;
        left: 18px;
        bottom: 18px;
    }

    .booking-panel-compact {
        position: static;
        order: -1;
    }

    .tour-side-panel {
        position: static;
    }

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

@media (max-width: 760px) {
    .site-header {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 12px;
        min-height: 64px;
        padding: 8px 16px;
    }

    .site-header .brand img {
        max-width: min(260px, calc(100vw - 86px));
        height: 50px;
    }

    .menu-toggle {
        display: inline-flex;
        position: relative;
        align-self: center;
        width: 44px;
        min-width: 44px;
        height: 44px;
        min-height: 44px;
        padding: 0;
        border: 1px solid rgba(7, 53, 69, .16);
        border-radius: 999px;
        background: #fff;
        color: var(--accent);
        box-shadow: 0 8px 20px rgba(7, 53, 69, .08);
    }

    .menu-toggle span {
        position: absolute;
        left: 12px;
        display: block;
        width: 18px;
        height: 2px;
        border-radius: 999px;
        background: currentColor;
        transition: transform .18s ease, opacity .18s ease, top .18s ease;
    }

    .menu-toggle span:nth-child(1) {
        top: 15px;
    }

    .menu-toggle span:nth-child(2) {
        top: 21px;
    }

    .menu-toggle span:nth-child(3) {
        top: 27px;
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(1) {
        top: 21px;
        transform: rotate(45deg);
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(3) {
        top: 21px;
        transform: rotate(-45deg);
    }

    .site-nav {
        grid-column: 1 / -1;
        display: none;
        width: 100%;
        padding: 8px 0 4px;
        border-top: 1px solid var(--line);
    }

    .site-nav.is-open {
        display: grid;
        gap: 6px;
    }

    .site-nav a {
        display: block;
        padding: 12px 0;
        color: var(--ink);
    }

    .language-switcher {
        justify-self: start;
        margin-top: 6px;
    }

    .language-switcher a {
        padding: 0 10px;
    }
}

@media (max-width: 520px) {
    .hero {
        padding-bottom: 78px;
    }

    .footer-columns {
        grid-template-columns: 1fr;
    }

    .booking-two-column {
        grid-template-columns: 1fr;
    }

    .span-2 {
        grid-column: auto;
    }

    .price-row {
        grid-template-columns: 1fr auto;
    }

    .price-row > span:nth-child(2) {
        grid-column: 1;
    }

    .price-row strong {
        grid-column: 2;
        grid-row: 1 / span 2;
    }
}

@media (max-width: 880px) {
    .courtesy-hero,
    .courtesy-info {
        grid-template-columns: 1fr;
    }

    .courtesy-hero {
        min-height: 0;
    }

    .courtesy-logo {
        margin-bottom: 42px;
    }

    .courtesy-visual {
        min-height: 320px;
        order: -1;
    }
}

@media (max-width: 560px) {
    .courtesy-shell {
        width: min(100% - 22px, 1180px);
        padding: 11px 0;
    }

    .courtesy-copy,
    .courtesy-info {
        padding: 22px;
    }

    .courtesy-visual {
        min-height: 250px;
    }

    .company-data div {
        grid-template-columns: 1fr;
        gap: 5px;
    }
}

/* Services and holiday homes share the site's marine, sand and saffron palette. */
.stays-page,.services-page { padding-top:64px; padding-bottom:80px; }
.stays-intro { display:grid;grid-template-columns:1.4fr 1fr;gap:64px;align-items:end;margin-bottom:54px; }
.stays-intro h1,.service-hero h1,.stay-title h1 { font-family:Georgia,'Times New Roman',serif;font-weight:400;letter-spacing:-.045em;line-height:1.08;font-size:clamp(40px,5.4vw,76px);margin:12px 0 0;white-space:pre-line; }
.stays-intro>p { max-width:430px;margin:0 0 5px;line-height:1.8;color:var(--muted);font-size:18px; }
.stay-grid { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:50px 32px; }
.stay-card { border-bottom:1px solid var(--line);padding-bottom:28px; }
.stay-card-image { position:relative;overflow:hidden;background:var(--soft); }
.stay-card-image img { width:100%;aspect-ratio:4/3;height:auto;object-fit:cover;transition:transform .45s ease; }
.stay-card:hover img { transform:scale(1.025); }
.stay-card-image>span { position:absolute;bottom:18px;left:18px;padding:8px 13px;background:var(--paper);color:var(--ink);font-size:13px;font-weight:650; }
.stay-card-copy { padding-top:22px; }
.stay-card-copy .eyebrow { font-size:11px; }
.stay-card h2 { font-family:Georgia,'Times New Roman',serif;font-weight:400;font-size:30px;line-height:1.2;margin:10px 0;letter-spacing:-.02em; }
.stay-card p { color:var(--muted);max-width:470px;min-height:48px; }
.stay-card-link { display:flex;align-items:center;justify-content:space-between;margin-top:22px;font-weight:650; }
.stay-card-link span { font-size:25px; }
.stay-catalog-note { margin-top:64px;padding:36px 42px;background:var(--soft);display:grid;grid-template-columns:1fr 1.1fr;gap:50px;align-items:center; }
.stay-catalog-note h2 { font-family:Georgia,serif;font-weight:400;font-size:34px;line-height:1.15;margin:0; }
.stay-catalog-note p { margin:0;line-height:1.75; }
.stay-detail { padding:32px 0 80px; }
.back-link { font-size:14px;display:inline-block;margin-bottom:36px;color:var(--muted); }
.stay-title { display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:36px; }
.stay-title h1 { font-size:clamp(36px,4.7vw,65px);max-width:850px; }
.stay-title .button { flex-shrink:0; }
.stay-gallery { display:grid;grid-template-columns:2fr 1fr 1fr;grid-template-rows:repeat(2,220px);gap:10px; }
.stay-gallery a { overflow:hidden; }
.stay-gallery a:first-child { grid-row:span 2; }
.stay-gallery img { width:100%;height:100%;object-fit:cover;transition:transform .4s; }
.stay-gallery a:hover img { transform:scale(1.035); }
.stay-gallery:has(a:nth-child(4)):not(:has(a:nth-child(5))) a:last-child { grid-column:span 2; }
.stay-detail-layout { display:grid;grid-template-columns:1fr 1fr;gap:64px;margin-top:54px;align-items:start; }
.stay-detail-layout>article { line-height:1.85; }
.stay-lead { font-family:Georgia,serif;font-size:30px;line-height:1.4;margin-top:0; }
.stay-facts { display:grid;grid-template-columns:repeat(3,1fr);gap:18px;padding:24px 0;margin:30px 0;border-block:1px solid var(--line); }
.stay-facts span { display:block;color:var(--muted);font-size:13px;margin-bottom:6px; }
.stay-facts strong { font-size:15px; }
.stay-request { background:var(--soft);padding:34px;scroll-margin-top:110px; }
.stay-request h2 { font-family:Georgia,serif;font-weight:400;font-size:40px;line-height:1.1;white-space:pre-line;margin:12px 0 18px; }
.stay-request>p { color:var(--muted); }
.stay-request form,.service-customer { display:grid;gap:20px; }
.stay-request .booking-two-column { row-gap:20px; }
.stay-request small { font-weight:400; }
.honeypot { position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%); }
.service-hero { display:grid;grid-template-columns:1.4fr 1fr;gap:64px;padding-bottom:54px;border-bottom:1px solid var(--line); }
.service-hero>div>p:not(.eyebrow) { font-size:18px;line-height:1.8;max-width:560px;color:var(--muted);margin:24px 0; }
.service-hero-note { background:var(--sun);padding:44px;align-self:stretch;display:flex;flex-direction:column;justify-content:flex-end; }
.service-hero-note>span { font-size:13px;margin-bottom:auto;padding-bottom:36px; }
.service-hero-note h2 { font-family:Georgia,serif;font-size:42px;line-height:1.12;font-weight:400;margin:0;max-width:330px; }
.service-hero .service-hero-note>p { color:var(--ink);font-size:15px; }
.service-hero-note a { font-weight:700;text-decoration:underline;text-underline-offset:5px; }
.standalone-service-form { display:grid;grid-template-columns:1.25fr 1fr;gap:54px;margin-top:54px;align-items:start;scroll-margin-top:110px; }
.standalone-service-form>.error { grid-column:1/-1; }
.service-options { border-block:1px solid var(--line);padding:24px 0;margin:16px 0 24px; }
.standalone-service-form .service-options { border:0;padding:0;margin:0; }
.service-option-heading h3 { font-size:24px;margin:8px 0 10px; }
.service-option-heading p { color:var(--muted);font-size:14px; }
.service-fieldset { border:0;padding:22px 0;margin:0;border-bottom:1px solid var(--line);min-width:0; }
.service-fieldset legend { font-weight:750;font-size:17px;padding:16px 0 0; }
.service-fieldset .booking-two-column { margin-top:18px; }
.service-fieldset .small { color:var(--muted); }
.luggage-quantities { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px; }
.luggage-quantities label { font-size:13px; }
.luggage-quantities small { font-size:11px;font-weight:400; }
.opening-details { margin:20px 0;font-size:14px; }
.opening-details summary { cursor:pointer;font-weight:650; }
.service-quote { background:#efe6ca;border-left:3px solid var(--sun);padding:18px;line-height:1.7;font-size:14px; }
.service-quote strong { display:block;margin-top:6px; }
.service-customer { background:var(--soft);padding:32px; }
.service-customer h2 { font-family:Georgia,serif;font-weight:400;font-size:34px;margin:0; }
.service-customer>.eyebrow { margin:0; }
.service-options [hidden] { display:none!important; }
.text-link { text-decoration:underline;text-underline-offset:4px;font-weight:650; }
.journey-extras { display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:64px 0; }
.journey-extras>div { grid-column:1/-1;margin-bottom:10px; }
.journey-extras h2 { font-family:Georgia,serif;font-size:38px;font-weight:400;margin:8px 0; }
.journey-extra { position:relative;overflow:hidden;min-height:360px; }
.service-extra { background:var(--sun);padding:36px;display:flex;flex-direction:column; }
.journey-extra span { font-size:12px;letter-spacing:.08em; }
.journey-extra h3 { font-family:Georgia,serif;font-weight:400;font-size:42px;white-space:pre-line;line-height:1.15;margin:26px 0 20px; }
.service-extra p { max-width:320px; }
.service-extra strong { margin-top:auto; }
.stay-extra>img { width:100%;height:100%;position:absolute;inset:0;object-fit:cover; }
.stay-extra>div { position:relative;z-index:1;min-height:360px;padding:36px;color:white;background:linear-gradient(0deg,rgba(7,53,69,.9),rgba(7,53,69,.25));display:flex;flex-direction:column; }
.stay-extra strong { margin-top:auto; }
.opening-admin-row { display:flex;align-items:center;justify-content:space-between;gap:18px;padding:12px 0;border-bottom:1px solid var(--line); }
.form-section>form { display:grid;gap:20px; }
.payment-summary form { margin:24px 0; }
.service-options input:focus-visible,.stay-request input:focus-visible,.stay-request select:focus-visible,.service-options select:focus-visible { outline:2px solid var(--sun-dark);outline-offset:3px; }
.stay-card a:focus-visible,.journey-extra:focus-visible { outline:3px solid var(--sun-dark);outline-offset:5px; }
@media (max-width:1100px) { .site-nav { gap:14px; } .site-nav>a { font-size:13px; } .stay-detail-layout { gap:32px; } .stay-title { align-items:start; } .stay-gallery { grid-template-rows:repeat(2,180px); } }
@media (max-width:800px) {
 .stays-page,.services-page { padding-top:36px; }
 .stays-intro,.service-hero { grid-template-columns:1fr;gap:28px; }
 .stays-intro { margin-bottom:32px; }
 .stays-intro>p { max-width:none;font-size:16px; }
 .stay-grid { gap:36px 22px; }
 .stay-card h2 { font-size:25px; }
 .stay-card p { font-size:14px; }
 .stay-detail-layout,.standalone-service-form { grid-template-columns:1fr;gap:32px; }
 .stay-gallery { grid-template-columns:1fr 1fr;grid-template-rows:300px;grid-auto-rows:160px; }
 .stay-gallery a:first-child { grid-column:span 2;grid-row:auto; }
 .stay-gallery:has(a:nth-child(4)):not(:has(a:nth-child(5))) a:last-child { grid-column:auto; }
 .stay-title { display:block; }.stay-title .button { margin-top:24px; }
 .stay-catalog-note { grid-template-columns:1fr;gap:16px;padding:28px; }
 .service-hero-note { padding:28px;min-height:260px; }
 .service-hero-note h2 { font-size:36px; }
 .stay-request,.service-customer { padding:28px; }
 .journey-extra h3 { font-size:34px; }
 .service-extra,.stay-extra>div { padding:28px; }
}
@media (max-width:520px) {
 .stay-grid,.journey-extras { grid-template-columns:1fr; }
 .stay-card-image img { aspect-ratio:4/3; }
 .stay-gallery { grid-template-rows:250px;grid-auto-rows:130px; }
 .stay-facts { gap:10px; }.stay-facts strong { font-size:13px; }
 .stay-request,.service-customer { padding:22px; }
 .luggage-quantities { grid-template-columns:1fr; }
 .service-hero h1,.stays-intro h1 { font-size:46px; }
 .opening-admin-row { align-items:start; }
}
@media (prefers-reduced-motion:reduce) { .stay-gallery img,.stay-card-image img { transition:none; } }

.admin-body [data-visual-editor] img{max-width:100%;height:auto}
.admin-body [data-visual-editor] p{margin:0 0 1em}
/* Mobile-first boarding interface: readable in daylight and easy to tap. */
.validator-mode .admin-header{position:static;min-height:60px;padding:14px 20px}.validator-mode .admin-nav{display:none}
.validator-shell{max-width:760px;padding:20px 0 40px;color:#172440}.validator-shell h1{font-size:32px;margin:20px 0 8px}.validator-intro{font-size:17px;line-height:1.5}
.validator-top{display:flex;justify-content:space-between;gap:12px}.validator-top a{display:flex;align-items:center;min-height:48px;font-weight:700;text-decoration:underline}
.validator-card{background:white;border:1px solid #d5dce5;border-radius:18px;padding:20px;margin:20px 0;box-shadow:0 5px 18px #14243e08}.validator-card h2{font-size:21px;margin:0 0 18px}
.validator-shell label{font-size:16px;font-weight:700;display:block;margin:12px 0 8px}.validator-shell input:not([type=checkbox]),.validator-shell select{min-height:56px;width:100%;min-width:0;font-size:18px;padding:12px;border:1px solid #8995a8;border-radius:10px;background:white;color:#172440}
.validator-date{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}.validator-date label{min-width:0}
.validator-leg-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.validator-shell .validator-leg-buttons button{background:#f0f3f8;color:#20345f;border:3px solid #b7c3d4;min-height:90px;margin:0;padding:12px 8px}.validator-leg-buttons button span{display:block;font-size:14px;font-weight:600;margin-top:6px}.validator-shell .validator-leg-buttons button[aria-pressed=true]{background:#20345f;color:white;border-color:#20345f;box-shadow:0 0 0 3px #cbd9ec}.validator-active-leg{font-size:19px;font-weight:800;padding:14px;border-radius:10px;background:#e9f0fb;color:#172440}
.validator-shell button{display:block;width:100%;min-height:60px;border-radius:12px;padding:16px;font-size:19px;font-weight:800;line-height:1.3;touch-action:manipulation;margin:12px 0;border:2px solid transparent}
.validator-shell .validator-camera-button{background:#20345f;color:white}.validator-shell .validator-secondary{background:#f0f3f8;color:#20345f;border-color:#b7c3d4}.validator-shell .validator-confirm{background:#166534;color:white;min-height:68px;font-size:22px}.validator-shell button:disabled{background:#e0e4ea;color:#647083;cursor:not-allowed;opacity:1}
.validator-shell [hidden]{display:none!important}.validator-help{font-size:15px;line-height:1.5;color:#526077}.validator-shell video{width:100%;max-height:360px;object-fit:cover;border-radius:12px;background:#172440}
.validator-manual summary{min-height:52px;padding:14px 0;font-size:16px;font-weight:700;cursor:pointer}.validator-status:not(:empty){padding:18px;border-radius:12px;background:#e9f0fb;font-weight:700;font-size:17px}.validator-status[data-state=error]{background:#fff0f0;color:#961d27;border:2px solid #bf2937}
.validator-result{scroll-margin-top:16px;border-width:3px}.validator-result[data-state=success]{background:#f2fbf4}.validator-result[data-state=warning]{background:#fff9e8}.validator-result[data-state=error]{background:#fff0f0}
.validator-counts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:20px 0}.validator-counts div{background:white;border:1px solid #d5dce5;border-radius:10px;padding:14px 4px;text-align:center}.validator-counts strong{display:block;font-size:30px;line-height:1.2}.validator-counts span{display:block;font-size:12px;margin-top:6px}
.validator-shell .validator-balance{display:flex;gap:12px;align-items:flex-start;background:#fff0bf;padding:16px;border-radius:10px;line-height:1.5}.validator-shell input[type=checkbox]{width:26px;height:26px;flex-shrink:0}
.validator-stepper{display:grid;grid-template-columns:64px minmax(0,1fr) 64px;align-items:center;gap:12px}.validator-stepper button{font-size:28px}.validator-stepper input{text-align:center;font-size:26px!important;font-weight:800}
.validator-confirmbar{position:sticky;bottom:0;background:#f2fbf4;padding:4px 0 calc(4px + env(safe-area-inset-bottom));z-index:2}
@media(max-width:380px){.validator-card{padding:14px}.validator-counts{grid-template-columns:repeat(2,minmax(0,1fr))}.validator-date{grid-template-columns:minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce){.validator-shell *{scroll-behavior:auto!important}}

@media(max-width:480px){.validator-date{grid-template-columns:minmax(0,1fr)}}

.validator-mode .staging-banner-admin{position:static;inset:auto;width:auto;margin:12px 16px;border-radius:10px;font-size:12px}

.validator-install summary{min-height:48px;padding:12px 0;font-size:16px;font-weight:700;cursor:pointer}.validator-install p{font-size:15px;line-height:1.6}
@media(display-mode:standalone){.validator-shell{padding-bottom:max(24px,env(safe-area-inset-bottom))}}

.operator-header{display:flex;flex-wrap:wrap;gap:8px;padding:12px 16px;background:#20345f;color:white}.operator-header a{display:flex;align-items:center;min-height:44px;padding:8px 12px;border:1px solid #ffffff70;border-radius:8px;font-size:14px;color:white}
