:root {
    color-scheme: dark;
    --bg: #080a0d;
    --bg-soft: #0f1318;
    --bg-elevated: #151b21;
    --surface: rgba(15, 19, 24, 0.82);
    --surface-strong: rgba(21, 27, 33, 0.95);
    --surface-soft: rgba(255, 255, 255, 0.04);
    --ink: #f4efe8;
    --ink-soft: #a9b2bd;
    --line: rgba(255, 255, 255, 0.12);
    --accent: #d46d2f;
    --accent-deep: #ff9b52;
    --accent-soft: rgba(212, 109, 47, 0.16);
    --success: #76c7a1;
    --danger: #ff7b78;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
    --radius: 4px;
    --radius-sm: 2px;
    --anchor-scroll-offset: 6rem;
    --nav-motion-duration: 260ms;
    --nav-motion-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-padding-top: var(--anchor-scroll-offset);
}

[id] {
    scroll-margin-top: var(--anchor-scroll-offset);
}

body {
    margin: 0;
    color: var(--ink);
    background-color: #10151b;
    background:
        radial-gradient(circle at 18% 0%, rgba(212, 109, 47, 0.08) 0%, rgba(212, 109, 47, 0) 34%),
        radial-gradient(circle at 100% 12%, rgba(65, 104, 158, 0.08) 0%, rgba(65, 104, 158, 0) 30%),
        linear-gradient(180deg, #171d24 0%, #121820 30%, #0f141b 68%, #0d1218 100%);
    font-family: "Aptos", "Segoe UI Variable Display", "Trebuchet MS", sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

body.has-mobile-nav-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

h1,
h2,
h3,
strong {
    font-family: "Aptos Display", "Aptos", "Segoe UI Variable Display", sans-serif;
    letter-spacing: -0.03em;
}

small {
    display: block;
    color: var(--ink-soft);
}

.container {
    width: min(1180px, calc(100vw - 2rem));
    margin: 0 auto;
}

.page-shell,
.admin-shell {
    min-height: 100vh;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(10px);
    background: rgba(8, 10, 13, 0.88);
    border-bottom: 1px solid var(--line);
}

.nav-bar,
.nav-links,
.hero-actions,
.form-actions,
.filter-actions,
.admin-topbar,
.section-heading,
.detail-headline,
.inventory-card-top,
.tag-row,
.pagination,
.actions-cell,
.checkbox-row {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.hero-actions,
.form-actions,
.filter-actions,
.admin-topbar,
.section-heading {
    flex-wrap: wrap;
}

.section-heading {
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.section-heading > div {
    min-width: 0;
}

.section-heading h2 {
    margin: 0;
}

.section-heading-split-mobile {
    align-items: center;
}

.nav-bar {
    justify-content: space-between;
    padding: 1rem 0;
}

.mobile-nav-toggle,
.mobile-nav-close {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    color: var(--ink);
    font: inherit;
    cursor: pointer;
}

.mobile-nav-toggle {
    padding: 0;
    border: 0;
    background: transparent;
}

.mobile-nav-close {
    padding: 0;
    border: 0;
    background: transparent;
}

.mobile-nav-toggle-lines {
    display: grid;
    gap: 0.22rem;
}

.mobile-nav-toggle-lines span {
    width: 1rem;
    height: 1px;
    background: currentColor;
    display: block;
}

.mobile-nav-head,
.admin-sidebar-head {
    display: grid;
    gap: 1rem;
}

.mobile-nav-head {
    display: none;
}

.mobile-nav-head-copy {
    flex: 1 1 auto;
    text-align: center;
}

.mobile-nav-close-icon {
    font-size: 1.35rem;
    line-height: 1;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
}

.brand-mark {
    width: 2.6rem;
    height: 2.6rem;
    display: grid;
    place-items: center;
    border-radius: 2px;
    background: var(--accent);
    color: #fff;
    font-weight: 700;
    font-family: "Segoe UI Variable Display", sans-serif;
}

.nav-links a,
.admin-nav a {
    padding: 0.6rem 0;
    color: var(--ink-soft);
    border-bottom: 1px solid transparent;
    overflow-wrap: anywhere;
}

.nav-links .is-active,
.admin-nav .is-active {
    background: transparent;
    color: var(--ink);
    border-color: var(--accent);
}

.nav-links .nav-personal-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0.85rem 1.2rem;
    background: var(--accent);
    color: #fff;
    border: 1px solid transparent;
    border-radius: 2px;
    line-height: 1.1;
    overflow-wrap: normal;
    white-space: nowrap;
    text-decoration: none;
}

.nav-links .nav-personal-link:hover,
.nav-links .nav-personal-link:focus-visible {
    color: #fff;
    background: var(--accent);
    border-color: transparent;
}

.page-content,
.admin-main {
    padding-top: 2rem;
    padding-bottom: 3rem;
}

.hero,
.panel,
.metric-card,
.inventory-card,
.detail-sidebar,
.detail-main {
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow);
    border-radius: var(--radius);
    min-width: 0;
}

.panel-dark {
    background: rgba(12, 15, 19, 0.96);
    color: var(--ink);
}

.panel-bleed {
    overflow: hidden;
}

.hero {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr;
    gap: 2rem;
    padding: 2.4rem;
    margin-bottom: 2rem;
}

.hero-home {
    position: relative;
    overflow: hidden;
}

.hero-home::after {
    content: "";
    position: absolute;
    inset: auto -6rem -8rem auto;
    width: 22rem;
    height: 22rem;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(183, 104, 40, 0.18), transparent 60%);
}

.eyebrow {
    margin: 0 0 0.5rem;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--accent-deep);
}

.lead {
    max-width: 62ch;
    color: var(--ink-soft);
}

.card-kicker {
    margin: 0;
    color: var(--accent-deep);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.75rem;
}

.hero h1,
.page-header h1,
.auth-panel h1,
.admin-topbar h1,
.detail-headline h1 {
    font-size: clamp(2rem, 4vw, 4rem);
    line-height: 1.02;
    margin: 0 0 1rem;
    overflow-wrap: anywhere;
}

.button {
    border: 1px solid transparent;
    cursor: pointer;
    border-radius: 2px;
    padding: 0.85rem 1.2rem;
    font: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
}

.button-small {
    padding: 0.55rem 0.85rem;
    font-size: 0.92rem;
}

.button-primary {
    background: var(--accent);
    color: #fff;
}

.button-ghost {
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--line);
}

.button-danger {
    background: rgba(155, 67, 61, 0.12);
    color: var(--danger);
}

.mobile-only {
    display: none;
}

.admin-sidebar-shortcuts {
    display: none;
}

.panel {
    padding: 1.5rem;
}

.tone-dark,
.panel-dark small,
.panel-dark p,
.panel-dark li {
    color: var(--ink-soft);
}

.feature-list {
    margin: 0;
    padding-left: 1.2rem;
}

.feature-list li + li {
    margin-top: 0.8rem;
}

.section-grid,
.stats-grid,
.card-grid,
.inventory-grid,
.detail-layout,
.detail-grid {
    display: grid;
    gap: 1.5rem;
}

.section-grid,
.detail-layout {
    grid-template-columns: 1.2fr 0.8fr;
}

.stats-grid,
.card-grid,
.inventory-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stats-ribbon {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: -1.2rem 0 2rem;
    position: relative;
    z-index: 2;
}

.metric-card {
    padding: 1.2rem;
}

.metric-card strong {
    display: block;
    margin-top: 0.4rem;
    font-size: 2rem;
}

.metric-card.accent {
    background: linear-gradient(145deg, rgba(212, 109, 47, 0.95), rgba(138, 53, 24, 0.92));
    color: #fff;
}

.metric-card.accent span {
    color: rgba(255, 255, 255, 0.86);
}

.inventory-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.25rem;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.inventory-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
}

.inventory-card p,
.page-header p,
.panel p,
.detail-sidebar p {
    color: var(--ink-soft);
}

.inventory-card dl,
.detail-list {
    margin: 0;
    display: grid;
    gap: 0.65rem;
}

.inventory-card dl div,
.detail-list div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px dashed var(--line);
    padding-bottom: 0.5rem;
}

.detail-list.compact div {
    align-items: baseline;
}

.detail-list dt,
.inventory-card dt {
    color: var(--ink-soft);
}

.pill,
.tag-pill,
.status-chip {
    display: inline-flex;
    align-items: center;
    border-radius: 2px;
    padding: 0.35rem 0.7rem;
    font-size: 0.8rem;
}

.pill,
.tag-pill {
    background: var(--accent-soft);
    color: var(--accent-deep);
}

.status-chip {
    background: rgba(118, 199, 161, 0.12);
    color: var(--success);
}

.status-available {
    background: rgba(118, 199, 161, 0.12);
    color: var(--success);
}

.status-unavailable {
    background: rgba(155, 67, 61, 0.14);
    color: var(--danger);
}

.status-planned,
.status-out_of_service {
    background: rgba(183, 104, 40, 0.15);
    color: var(--accent-deep);
}

.status-broken,
.status-archived {
    background: rgba(155, 67, 61, 0.14);
    color: var(--danger);
}

.status-new {
    background: rgba(212, 109, 47, 0.15);
    color: var(--accent-deep);
}

.filters,
.form-grid,
.form-stack {
    display: grid;
    gap: 1rem;
}

.filters {
    grid-template-columns: minmax(0, 1.25fr) repeat(3, minmax(10rem, 1fr)) auto;
    align-items: end;
}

.form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field-hint {
    color: var(--ink-soft);
}

.media-editor,
.media-grid {
    display: grid;
    gap: 1rem;
}

.media-editor {
    grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.85fr);
    align-items: start;
}

.media-editor-compact {
    grid-template-columns: minmax(14rem, 18rem);
    align-items: start;
    padding-bottom: 0.2rem;
}

.media-editor-preview,
.media-textarea {
    min-width: 0;
}

.media-editor-preview-compact {
    max-width: 18rem;
}

.media-editor-preview-solo {
    max-width: 26rem;
}

.section-heading-compact {
    display: grid;
    gap: 0.25rem;
    margin-bottom: 0.9rem;
}

.section-heading-inline {
    margin-bottom: 0.35rem;
}

.section-heading-compact h2 {
    margin: 0;
    font-size: 1rem;
}

.media-editor-figure {
    position: relative;
    min-height: 18rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    overflow: hidden;
}

.media-editor-figure-compact {
    min-height: 0;
    aspect-ratio: 4 / 3;
}

.media-editor-figure-solo {
    min-height: 0;
}

.media-editor-figure img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 18rem;
    object-fit: cover;
}

.media-editor-figure-compact img {
    min-height: 0;
    aspect-ratio: 4 / 3;
}

.media-editor-empty {
    min-height: 18rem;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 1.25rem;
    gap: 0.45rem;
    color: var(--ink-soft);
}

.media-editor-empty-compact {
    min-height: 0;
    height: 100%;
    aspect-ratio: 4 / 3;
    padding: 1rem;
}

.media-editor-empty strong,
.media-editor-meta small,
.media-textarea textarea {
    overflow-wrap: anywhere;
}

.media-editor-meta {
    display: grid;
    gap: 0.65rem;
    margin-top: 0.9rem;
}

.media-editor-meta-compact {
    margin-top: 0;
    gap: 0.45rem;
}

.media-source-pill {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 0.35rem 0.55rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--ink-soft);
    background: rgba(255, 255, 255, 0.03);
}

.media-source-pill.is-own {
    color: var(--ink);
    border-color: rgba(212, 109, 47, 0.28);
    background: rgba(212, 109, 47, 0.08);
}

.media-source-pill.is-fallback {
    color: var(--accent-deep);
}

.media-editor-fields {
    display: grid;
    gap: 1rem;
}

.media-editor-fields-compact {
    gap: 0.85rem;
}

.media-editor-actions {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.upload-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    width: fit-content;
    padding: 0.78rem 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    color: var(--ink);
    cursor: pointer;
    transition: border-color 120ms ease, background 120ms ease, color 120ms ease;
}

.upload-trigger:hover {
    border-color: rgba(212, 109, 47, 0.3);
    background: rgba(212, 109, 47, 0.07);
}

.upload-trigger-minimal {
    position: absolute;
    right: 0.75rem;
    bottom: 0.75rem;
    z-index: 2;
    padding: 0.55rem 0.7rem;
    gap: 0.45rem;
    background: rgba(10, 12, 16, 0.72);
    backdrop-filter: blur(8px);
}

.upload-trigger-minimal .upload-trigger-icon {
    width: 1.5rem;
    height: 1.5rem;
}

.upload-trigger-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
}

.upload-trigger-icon svg {
    width: 1rem;
    height: 1rem;
    fill: currentColor;
}

.sr-only-file {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.file-field input[type="file"] {
    padding: 0.65rem 0.75rem;
}

.form-rule {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin: 0.1rem 0 0.15rem;
}

.media-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-stack,
.narrow-panel {
    max-width: 42rem;
}

label,
.checkbox-row {
    display: grid;
    gap: 0.45rem;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid var(--line);
    background: var(--surface-strong);
    color: var(--ink);
    border-radius: var(--radius-sm);
    padding: 0.82rem 0.95rem;
    font: inherit;
    min-height: 3rem;
}

textarea {
    resize: vertical;
}

.field-error {
    color: var(--danger);
}

.span-2 {
    grid-column: span 2;
}

.flash {
    position: fixed;
    top: calc(100% + 0.75rem);
    left: 50%;
    z-index: 12;
    width: min(1180px, calc(100vw - 2rem));
    margin: 0;
    padding: 1rem 1.1rem;
    border-radius: 2px;
    transform: translateX(-50%);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(12px);
    opacity: 1;
    transition: opacity 220ms ease, transform 220ms ease;
}

.site-header + .page-content .flash:first-child {
    top: calc(4.75rem + 0.75rem);
}

.flash.is-dismissing {
    opacity: 0;
    transform: translate(-50%, -0.4rem);
    pointer-events: none;
}

.flash-success {
    background: rgba(18, 56, 44, 0.9);
    color: var(--success);
    border: 1px solid rgba(118, 199, 161, 0.28);
}

.flash-error {
    background: rgba(90, 31, 27, 0.92);
    color: var(--danger);
    border: 1px solid rgba(255, 123, 120, 0.28);
}

.site-footer {
    padding-top: 0.8rem;
    padding-bottom: 1.4rem;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    color: var(--ink-soft);
    align-items: flex-end;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.site-footer > div {
    display: grid;
    gap: 0.18rem;
}

.site-footer a {
    color: inherit;
}

.footer-meta {
    text-align: right;
}

.auth-layout {
    display: grid;
    place-items: center;
    min-height: 70vh;
}

.auth-panel,
.error-card,
.debug-box {
    width: min(100%, 48rem);
}

.filter-panel {
    width: 100%;
    max-width: none;
}

.filter-panel-collapsible {
    padding: 0;
    overflow: hidden;
}

.filter-panel-persistent .filter-panel-summary {
    display: none;
}

.filter-panel-summary {
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.1rem;
    cursor: pointer;
    list-style: none;
}

.filter-panel-summary::-webkit-details-marker {
    display: none;
}

.filter-panel-summary p,
.filter-panel-summary strong {
    margin: 0;
}

.filter-panel-summary-meta {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--ink-soft);
    font-size: 0.84rem;
    white-space: nowrap;
}

.filter-panel-summary-meta::after {
    content: "+";
    font-size: 1rem;
    line-height: 1;
}

.filter-panel-collapsible[open] .filter-panel-summary-meta::after {
    content: "-";
}

.filter-panel-body {
    padding: 1.5rem;
}

.filter-actions {
    justify-content: flex-end;
    align-self: end;
    flex-wrap: nowrap;
}

.filter-actions .button {
    min-width: 8.5rem;
}

.form-actions-top {
    justify-content: flex-end;
    margin-bottom: 0.25rem;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.auth-hint,
.debug-box {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.04);
}

.debug-box pre {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.table-wrap {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-inventory-table {
    min-width: 68rem;
}

.data-table th,
.data-table td {
    text-align: left;
    padding: 0.85rem 0.75rem;
    border-bottom: 1px solid var(--line);
    vertical-align: middle;
}

.data-table td form {
    display: inline-flex;
}

.data-table th:last-child,
.actions-cell {
    white-space: nowrap;
}

.data-table th:last-child,
.data-table td.actions-cell {
    width: 1%;
}

.data-table td.actions-cell {
    display: table-cell;
    text-align: right;
    vertical-align: middle;
}

.table-empty {
    color: var(--ink-soft);
}

.data-table td.actions-cell form {
    display: inline-flex;
    justify-content: flex-end;
}

.admin-item-cell {
    display: grid;
    grid-template-columns: 6rem minmax(0, 1fr);
    gap: 0.9rem;
    align-items: center;
    min-width: 0;
}

.admin-item-thumb {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.admin-item-thumb picture,
.media-editor-figure picture,
.cinema-stage picture,
.inventory-hero-image picture,
.sales-hero-media picture,
.rental-hero-media picture,
.zone-card picture,
.featured-image picture,
.inventory-media picture,
.detail-cover picture,
.space-sales-media picture,
.rental-status-media picture {
    display: block;
    width: 100%;
    height: 100%;
}

.admin-item-copy {
    min-width: 0;
}

.admin-item-copy strong,
.admin-item-copy small {
    overflow-wrap: break-word;
    word-break: normal;
}

.admin-inventory-table th:nth-child(1),
.admin-inventory-table td:nth-child(1) {
    width: 8rem;
    white-space: nowrap;
}

.admin-inventory-table th:nth-child(2),
.admin-inventory-table td:nth-child(2) {
    min-width: 18rem;
}

.admin-inventory-table th:nth-child(3),
.admin-inventory-table td:nth-child(3),
.admin-inventory-table th:nth-child(4),
.admin-inventory-table td:nth-child(4),
.admin-inventory-table th:nth-child(5),
.admin-inventory-table td:nth-child(5),
.admin-inventory-table th:nth-child(6),
.admin-inventory-table td:nth-child(6) {
    white-space: nowrap;
}

.admin-inventory-table th:nth-child(7),
.admin-inventory-table td:nth-child(7) {
    width: 8rem;
}

.table-row-link {
    cursor: pointer;
}

.table-row-link td {
    transition: background 0.16s ease;
}

.table-row-link:hover td,
.table-row-link:focus-visible td {
    background: rgba(255, 255, 255, 0.03);
}

.table-row-link .actions-cell,
.table-row-link .actions-cell * {
    cursor: default;
}

.actions-cell {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.5rem;
    min-width: 0;
}

.actions-cell form {
    margin: 0;
}

.admin-shell {
    display: grid;
    grid-template-columns: 17.5rem 1fr;
    align-items: start;
}

.admin-sidebar {
    position: sticky;
    top: 0;
    height: 100dvh;
    min-height: 100vh;
    padding: 1.2rem;
    background: #0e1216;
    color: #f8f4ee;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    overflow-y: auto;
}

.admin-sidebar-head {
    align-items: start;
}

.brand-sidebar small,
.admin-sidebar small,
.admin-sidebar .button-ghost {
    color: rgba(248, 244, 238, 0.74);
}

.admin-nav {
    display: grid;
    gap: 0.55rem;
}

.admin-nav a {
    padding: 0.8rem 0.9rem;
    color: rgba(248, 244, 238, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.02);
    transition: border-color 120ms ease, background 120ms ease, color 120ms ease;
}

.admin-nav a:hover {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
}

.admin-sidebar-footer {
    margin-top: auto;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-user-card {
    display: grid;
    gap: 0.7rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.admin-user-head {
    display: grid;
    grid-template-columns: 2.2rem minmax(0, 1fr);
    gap: 0.65rem;
    align-items: center;
}

.admin-user-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.2rem;
    height: 2.2rem;
    background: rgba(212, 109, 47, 0.1);
    border: 1px solid rgba(212, 109, 47, 0.16);
    color: var(--accent-deep);
    font-weight: 700;
    font-size: 0.95rem;
    font-family: "Aptos Display", "Aptos", sans-serif;
}

.admin-user-meta {
    min-width: 0;
}

.admin-user-meta strong {
    font-size: 0.98rem;
    line-height: 1.1;
}

.admin-user-meta small {
    margin-top: 0.1rem;
    font-size: 0.84rem;
}

.admin-user-meta strong,
.admin-user-meta small {
    overflow-wrap: anywhere;
}

.admin-user-role-row {
    display: flex;
}

.admin-role-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.22rem 0.42rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--ink-soft);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.62rem;
}

.admin-user-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.admin-user-actions form {
    flex: 1 1 0;
}

.admin-utility-link,
.admin-logout-button {
    width: auto;
    flex: 1 1 0;
    min-width: 0;
}

.admin-utility-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.15rem;
    padding: 0.5rem 0.7rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(248, 244, 238, 0.84);
    font-size: 0.92rem;
    transition: border-color 120ms ease, background 120ms ease, color 120ms ease;
}

.admin-utility-link:hover,
.admin-utility-link.is-active {
    border-color: rgba(212, 109, 47, 0.28);
    background: rgba(212, 109, 47, 0.08);
    color: var(--ink);
}

.admin-logout-button {
    justify-content: center;
}

.admin-main {
    min-width: 0;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.admin-topbar {
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.admin-topbar-actions {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    flex-wrap: wrap;
}

.mobile-nav-toggle-label {
    display: inline;
}

.admin-topbar-public-link {
    display: inline-flex;
}

@media (min-width: 1081px) {
    .admin-inventory-table {
        min-width: 68rem;
    }

    .filter-panel-summary {
        display: none;
    }

    .filter-panel-collapsible:not([open]) .filter-panel-body {
        display: block;
    }
}

.detail-main,
.detail-sidebar {
    padding: 1.6rem;
}

.detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pagination {
    justify-content: center;
    margin-top: 1.5rem;
}

.pagination a {
    padding: 0.55rem 0.85rem;
    border-radius: 2px;
    border: 1px solid var(--line);
}

.pagination .is-current {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.empty-state,
.error-page {
    display: grid;
    place-items: center;
}

.cinema-hero,
.inventory-hero,
.sales-hero,
.rental-hero {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 1.5rem;
    padding: 1.5rem;
    position: relative;
}

.cinema-hero::before,
.inventory-hero::before,
.sales-hero::before,
.rental-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 159, 84, 0.08), transparent 35%, rgba(65, 104, 158, 0.12));
    pointer-events: none;
}

.cinema-copy,
.inventory-hero-copy,
.cinema-stage,
.inventory-hero-image,
.sales-hero-copy,
.sales-hero-media,
.rental-hero-copy,
.rental-hero-media {
    position: relative;
    z-index: 1;
}

.cinema-copy {
    display: grid;
    align-content: center;
    gap: 1rem;
    padding: 1.2rem;
}

.sales-hero-copy,
.rental-hero-copy {
    display: grid;
    align-content: center;
    gap: 1rem;
    padding: 1.2rem;
}

.sales-hero-copy,
.rental-hero-copy {
    max-width: 40rem;
}

.sales-hero-minimal {
    position: relative;
    grid-template-columns: minmax(0, 0.9fr) minmax(22rem, 1.1fr);
    gap: 1.25rem;
    padding: 1rem;
    overflow: hidden;
    background:
        radial-gradient(circle at 14% 18%, rgba(212, 109, 47, 0.12) 0%, rgba(212, 109, 47, 0) 34%),
        linear-gradient(135deg, rgba(30, 23, 24, 0.98) 0%, rgba(17, 20, 27, 0.98) 42%, rgba(12, 16, 22, 0.98) 100%);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.26);
}

.sales-hero-cinematic {
    grid-template-columns: 1fr;
    height: min(60vh, 42rem);
    padding: 0;
    background: #06080b;
    border-color: rgba(255, 255, 255, 0.08);
}

.sales-hero-full-bleed {
    width: 100vw;
    max-width: none;
    margin-top: -2rem;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    box-shadow: none;
}

.sales-hero-minimal::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.028) 0%, rgba(255, 255, 255, 0) 26%),
        linear-gradient(90deg, rgba(255, 255, 255, 0.018) 0%, rgba(255, 255, 255, 0) 38%);
    pointer-events: none;
}

.sales-hero-cinematic::before {
    background:
    linear-gradient(180deg, rgba(5, 8, 12, 0.18) 0%, rgba(5, 8, 12, 0.4) 28%, rgba(5, 8, 12, 0.8) 100%),
    linear-gradient(90deg, rgba(5, 8, 12, 0.64) 0%, rgba(5, 8, 12, 0.18) 38%, rgba(5, 8, 12, 0.64) 100%),
        radial-gradient(circle at 50% 48%, rgba(233, 241, 248, 0.12) 0%, rgba(233, 241, 248, 0) 24%);
}

.sales-hero-minimal > * {
    position: relative;
    z-index: 1;
}

.sales-hero-cinematic > * {
    position: relative;
    z-index: 1;
}

.sales-hero-media-cinematic img {
    filter: brightness(0.68) saturate(0.92);
}

.rental-hero {
    grid-template-columns: 1.18fr 0.82fr;
    background:
        radial-gradient(circle at 16% 18%, rgba(212, 109, 47, 0.14) 0%, rgba(212, 109, 47, 0) 33%),
        linear-gradient(135deg, rgba(32, 24, 26, 0.98) 0%, rgba(20, 23, 31, 0.98) 44%, rgba(14, 18, 25, 0.98) 100%);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
    overflow: hidden;
}

.rental-hero::before {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0) 26%),
        linear-gradient(135deg, rgba(255, 159, 84, 0.12), transparent 35%, rgba(65, 104, 158, 0.16));
}

.sales-hero-copy-minimal {
    gap: 0.9rem;
    padding: 1.4rem 1.35rem;
    align-content: center;
}

.sales-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(18rem, 42rem);
    align-content: center;
    justify-content: center;
    justify-items: center;
    gap: 0.9rem;
    padding: clamp(2rem, 5vw, 4rem) clamp(3.25rem, 9vw, 8.5rem);
    text-align: center;
}

.sales-hero-title {
    max-width: 9ch;
    margin: 0;
    font-size: clamp(3rem, 7.2vw, 6.4rem);
    text-transform: uppercase;
    line-height: 0.92;
    letter-spacing: -0.06em;
    color: #f8f3ec;
    text-wrap: wrap;
    text-shadow: 0 10px 40px rgba(0, 0, 0, 0.34);
}

.sales-hero-overlay .sales-hero-subtitle {
    max-width: 35rem;
    margin: 0;
    color: #f8f3ec;
    font-size: clamp(1rem, 1.6vw, 1.2rem);
    font-weight: 400;
    line-height: 1.5;
}

.sales-hero-actions-center {
    justify-content: center;
}

.sales-hero-copy-minimal h1 {
    max-width: none;
    margin-bottom: 0.2rem;
}

.rental-hero-copy h1 {
    max-width: 16ch;
    margin-bottom: 0.2rem;
}

.sales-hero-tagline {
    max-width: 34rem;
    font-size: 1.02rem;
}

.cinema-stage,
.inventory-hero-image,
.sales-hero-media,
.rental-hero-media,
.zone-card img,
.featured-image,
.inventory-media,
.detail-cover {
    overflow: hidden;
    border-radius: 0;
}

.cinema-stage img,
.inventory-hero-image img,
.sales-hero-media img,
.rental-hero-media img,
.zone-card img,
.featured-image img,
.inventory-media img,
.detail-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cinema-stage {
    min-height: 30rem;
    position: relative;
}

.sales-hero-media,
.rental-hero-media {
    min-height: 31rem;
    position: relative;
}

.sales-hero-media-minimal {
    min-height: 35rem;
}

.sales-hero-media-cinematic {
    height: 100%;
}

.cinema-stage img,
.inventory-hero-image img,
.sales-hero-media img,
.rental-hero-media img {
    filter: saturate(0.92) brightness(0.84);
}

.sales-hero-media-minimal::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(6, 8, 11, 0.16) 0%, rgba(6, 8, 11, 0) 28%),
        linear-gradient(0deg, rgba(6, 8, 11, 0.58) 0%, rgba(6, 8, 11, 0.06) 40%, rgba(6, 8, 11, 0.16) 100%),
        linear-gradient(90deg, rgba(6, 8, 11, 0.34) 0%, rgba(6, 8, 11, 0) 36%);
    pointer-events: none;
    z-index: 1;
}

.sales-hero-media-cinematic::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(6, 8, 11, 0.06) 0%, rgba(6, 8, 11, 0.14) 22%, rgba(6, 8, 11, 0.52) 100%),
        radial-gradient(circle at 50% 44%, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 18%);
    pointer-events: none;
    z-index: 1;
}

.sales-hero-media-cinematic img {
    animation: sales-hero-soft-zoom 16s ease-out forwards;
    filter: saturate(0.88) brightness(0.58) contrast(1.05);
    transform-origin: center center;
}

@keyframes sales-hero-soft-zoom {
    from {
        transform: scale(1.02);
    }

    to {
        transform: scale(1.08);
    }
}

.sales-hero-line {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.sales-hero-line span {
    display: inline-flex;
    align-items: center;
    padding: 0.58rem 0.72rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: var(--ink-soft);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.73rem;
}

.sales-hero-caption {
    position: absolute;
    left: 1.5rem;
    right: 1.5rem;
    bottom: 1.35rem;
    z-index: 2;
    display: grid;
    gap: 0.8rem;
    padding: 1rem 1.05rem;
    background: linear-gradient(135deg, rgba(10, 12, 16, 0.82), rgba(28, 13, 17, 0.68));
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
}

.rental-hero-caption {
    background: linear-gradient(135deg, rgba(22, 24, 30, 0.82), rgba(45, 24, 20, 0.7));
}

.sales-hero-caption .eyebrow {
    margin-bottom: 0;
    color: rgba(248, 244, 238, 0.72);
}

.sales-hero-caption-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
}

.sales-hero-caption-item {
    display: grid;
    gap: 0.25rem;
}

.sales-hero-caption-item strong {
    font-size: 1.05rem;
}

.sales-hero-caption-item small {
    color: var(--ink-soft);
}

.stage-overlay-card {
    position: absolute;
    left: 1.5rem;
    right: 1.5rem;
    bottom: 1.5rem;
    background: rgba(8, 10, 13, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border-radius: 2px;
    padding: 1.15rem;
}

.hero-meta-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hero-meta-strip span,
.featured-meta span {
    display: inline-flex;
    padding: 0.5rem 0.8rem;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--ink-soft);
    font-size: 0.92rem;
}

.offer-ribbon {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.offer-ribbon span {
    display: inline-flex;
    padding: 0.55rem 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: var(--ink-soft);
}

.studio-zones {
    margin-bottom: 2rem;
}

.studio-zones-sales {
    margin-top: 2.2rem;
}

.section-heading-wide {
    justify-content: space-between;
    align-items: end;
    margin-bottom: 1rem;
}

.section-intro {
    max-width: 32rem;
    color: var(--ink-soft);
}

.zone-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr 1fr;
    gap: 1rem;
}

.space-sales-grid,
.service-grid,
.rental-status-grid {
    display: grid;
    gap: 1rem;
}

.space-sales-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
}

.service-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 2rem;
}

.rental-status-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 2rem;
}

.space-sales-card,
.service-card,
.rental-status-card {
    overflow: hidden;
}

.space-sales-card {
    display: grid;
    grid-template-rows: auto 1fr;
    height: 100%;
    background:
        radial-gradient(circle at 12% 18%, rgba(212, 109, 47, 0.12) 0%, rgba(212, 109, 47, 0.03) 32%, rgba(212, 109, 47, 0) 58%),
        linear-gradient(135deg, rgba(18, 22, 28, 0.98) 0%, rgba(12, 15, 19, 0.98) 100%);
    border-color: rgba(255, 255, 255, 0.1);
}

.space-sales-media,
.rental-status-media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    margin: -1.5rem -1.5rem 1rem;
}

.space-sales-media::after,
.rental-status-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 8, 10, 0.1), rgba(7, 8, 10, 0.45));
}

.space-sales-media img,
.rental-status-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.space-sales-copy {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    height: 100%;
}

.rental-status-copy,
.service-card,
.home-process,
.rental-side-panel {
    display: grid;
    gap: 0.85rem;
    align-content: start;
}

.space-sales-meta {
    display: flex;
    justify-content: flex-start;
    gap: 1rem;
    align-items: center;
    text-align: left;
}

.space-sales-meta .card-kicker {
    color: var(--paper);
    font-size: clamp(0.98rem, 0.8rem + 0.5vw, 1.2rem);
    letter-spacing: 0.2em;
}

.space-sales-copy h3,
.service-card h3,
.rental-status-copy h2 {
    margin: 0;
}

.space-sales-title {
    line-height: 1.18;
}

.space-description,
.section-copy {
    margin: 0;
    color: var(--ink-soft);
}

.space-description-secondary {
    color: rgba(215, 222, 231, 0.82);
}

.space-kit-list {
    list-style: none;
    display: grid;
    gap: 0.35rem;
    margin: 0;
    padding: 0;
}

.space-kit-list li {
    position: relative;
    margin: 0;
    padding: 0.45rem 0 0.45rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--ink);
    font-size: 0.9rem;
    line-height: 1.45;
}

.space-kit-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.98rem;
    width: 0.28rem;
    height: 0.28rem;
    border-radius: 999px;
    background: var(--accent-deep);
}

.space-kit-list li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.space-kit-sections {
    display: grid;
    gap: 0.65rem;
}

.space-kit-sections-home {
    padding-top: 0.15rem;
}

.space-kit-group-highlight {
    gap: 0.35rem;
    padding: 0.95rem 1rem;
    border: 1px solid rgba(243, 226, 210, 0.2);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.space-kit-sections-collapsible {
    padding-top: 0.85rem;
}

.space-kit-group {
    display: grid;
    gap: 0.18rem;
    padding-top: 0.65rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.space-kit-group:first-child {
    padding-top: 0;
    border-top: 0;
}

.space-kit-group-highlight:first-child {
    padding-top: 0.95rem;
    border-top: 1px solid rgba(243, 226, 210, 0.2);
}

.space-kit-heading {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.space-kit-heading-highlight {
    color: rgba(255, 231, 214, 0.78);
    font-size: 0.74rem;
}

.space-kit-inline {
    margin: 0;
    color: var(--ink);
    font-size: 0.92rem;
    line-height: 1.5;
}

.space-kit-inline-highlight {
    font-size: 0.98rem;
    line-height: 1.55;
    font-weight: 600;
    color: rgba(246, 241, 236, 0.96);
}

.space-kit-disclosure {
    margin-top: auto;
    padding-top: 0.95rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.space-kit-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    cursor: pointer;
    list-style: none;
    color: var(--ink);
}

.space-kit-summary::-webkit-details-marker {
    display: none;
}

.space-kit-summary span {
    display: block;
}

.space-kit-summary-meta {
    color: var(--ink-soft);
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.space-kit-summary-meta::after {
    content: "+";
    margin-left: 0.5rem;
    font-size: 0.95rem;
}

.space-kit-disclosure[open] .space-kit-summary-meta::after {
    content: "-";
}

.space-card-cta {
    width: 100%;
    margin-top: 0.2rem;
}

.space-sales-card .space-card-cta {
    margin-top: auto;
}

.space-rate-list {
    display: grid;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.space-rate-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
}

.space-rate-meta {
    display: grid;
    gap: 0.18rem;
    min-width: 0;
}

.space-rate-meta strong {
    font-size: 0.95rem;
}

.space-rate-row > span {
    color: var(--ink);
    font-family: "Aptos Display", "Aptos", "Segoe UI Variable Display", sans-serif;
    white-space: nowrap;
}

.space-availability {
    margin: 0;
    padding-top: 0.95rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.94rem;
    color: var(--ink-soft);
}

.space-sales-bullets,
.rental-bullets {
    margin: 0;
    padding-left: 1.1rem;
    color: var(--ink-soft);
}

.space-sales-bullets li + li,
.rental-bullets li + li {
    margin-top: 0.45rem;
}

.home-split {
    margin-top: 2rem;
}

.home-process-prominent {
    grid-column: 1 / -1;
    gap: 1rem;
    padding: 1.7rem;
    background:
        radial-gradient(circle at 12% 18%, rgba(212, 109, 47, 0.1) 0%, rgba(212, 109, 47, 0) 30%),
        linear-gradient(135deg, rgba(18, 22, 28, 0.98) 0%, rgba(12, 15, 19, 0.98) 100%);
    border-color: rgba(255, 255, 255, 0.1);
}

.home-process-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(16rem, 24rem);
    gap: 1.7rem;
    align-items: center;
}

.home-process-copy {
    display: grid;
    gap: 1rem;
    align-content: start;
}

.home-process-reserve .home-process-copy {
    gap: 0.8rem;
}

.home-process-reserve .section-heading {
    margin-bottom: 0;
}

.home-process-reserve .home-process-media {
    width: min(100%, 21.5rem);
    justify-self: end;
}

.home-process-media {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.home-process-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.home-process-prominent h2 {
    max-width: 20ch;
}

.home-process-prominent .section-copy {
    max-width: 54rem;
}

.home-process-prominent .hero-actions {
    padding-top: 0.35rem;
}

.home-process-reserve h2 {
    max-width: 29ch;
}

.home-process-reserve .section-copy {
    max-width: 46rem;
}

.home-process-reserve .space-flow-list {
    gap: 0.6rem;
}

.home-process-callout {
    max-width: 42rem;
}

.home-catalog-list,
.rental-item-list {
    display: grid;
    gap: 0.75rem;
}

.catalog-preview-row,
.rental-item-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    padding: 0.95rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.catalog-preview-row:first-child,
.rental-item-row:first-child {
    border-top: 0;
    padding-top: 0;
}

.catalog-preview-row:hover,
.rental-item-row:hover {
    opacity: 0.94;
}

.rental-form-layout {
    margin-top: 2rem;
    align-items: start;
}

.home-reserve-form-panel {
    grid-column: 1 / -1;
}

.home-reserve-form-panel h2 {
    max-width: 100%;
}

.home-reserve-form-panel .section-copy {
    max-width: 100%;
}

.rental-request-form {
    margin-top: 1rem;
}

.space-flow-list {
    display: grid;
    gap: 0.85rem;
    margin: 0;
    padding-left: 1.2rem;
    color: var(--ink-soft);
}

.space-flow-list li::marker {
    color: var(--accent-deep);
}

.space-flow-list-compact {
    gap: 0.65rem;
}

.zone-card {
    position: relative;
    min-height: 19rem;
    border-radius: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #11161c;
}

.zone-card::after,
.featured-image::after,
.inventory-media::after,
.detail-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 8, 10, 0.05), rgba(7, 8, 10, 0.55));
    pointer-events: none;
}

.zone-card-large {
    min-height: 24rem;
}

.zone-copy {
    position: absolute;
    left: 1.2rem;
    right: 1.2rem;
    bottom: 1.1rem;
    z-index: 1;
}

.zone-copy p,
.zone-copy h3 {
    margin: 0 0 0.45rem;
}

.cinema-grid {
    align-items: start;
    grid-template-columns: minmax(0, 1.7fr) minmax(18rem, 0.9fr);
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.featured-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.9rem;
    padding: 0.9rem;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    min-width: 0;
}

.featured-image,
.inventory-media {
    position: relative;
}

.featured-image {
    min-height: 13.5rem;
}

.featured-copy {
    display: grid;
    gap: 0.75rem;
    align-content: start;
    min-width: 0;
}

.featured-meta {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.panel-cinematic-note {
    min-height: 100%;
    display: grid;
    gap: 1.1rem;
    align-content: start;
}

.panel-intro {
    margin: 0;
}

.featured-specs {
    margin: 0;
    display: grid;
    gap: 0.55rem;
}

.featured-specs div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 0.6rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.featured-specs dt {
    color: var(--ink-soft);
}

.featured-specs dd {
    margin: 0;
    text-align: right;
}

.featured-card h3,
.featured-card p,
.featured-card dd {
    overflow-wrap: anywhere;
}

.note-stack {
    display: grid;
    gap: 0.8rem;
}

.note-card {
    display: grid;
    grid-template-columns: 2.75rem 1fr;
    gap: 0.9rem;
    padding: 0.95rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.note-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--accent-deep);
}

.note-card strong {
    display: block;
    margin-bottom: 0.25rem;
}

.note-card p {
    margin: 0;
}

.note-credits-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
}

.note-credits {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.inventory-hero {
    align-items: center;
    margin-bottom: 1.2rem;
}

.inventory-hero-image {
    min-height: 18rem;
}

.panel-filter-floating {
    position: relative;
    margin-bottom: 1.5rem;
}

.inventory-grid-public {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
}

.inventory-card-cinematic {
    display: grid;
    grid-template-rows: auto 1fr;
    padding: 0.8rem;
    overflow: hidden;
    gap: 0;
    height: 100%;
}

.inventory-card-cinematic .inventory-media {
    aspect-ratio: 4 / 3;
    min-height: 0;
    margin-bottom: 0.75rem;
}

.inventory-card-cinematic .inventory-copy {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    gap: 0.45rem;
    padding: 0.1rem;
    height: 100%;
    min-height: 0;
}

.inventory-card-cinematic .inventory-card-top {
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.inventory-card-cinematic h2 {
    margin: 0;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.inventory-card-link {
    color: inherit;
    text-decoration: none;
}

.inventory-card-link:hover,
.inventory-card-link:focus-visible {
    color: var(--ink);
}

.inventory-card-cinematic .inventory-copy > p {
    margin: 0;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.inventory-card-cta {
    margin-top: auto;
    align-self: flex-start;
}

.detail-layout-cinematic {
    align-items: start;
}

.detail-main-cinematic,
.detail-sidebar-cinematic {
    overflow: hidden;
}

.detail-cover {
    position: relative;
    min-height: 20rem;
    margin-bottom: 1.5rem;
}

.detail-sidebar-cinematic {
    position: sticky;
    top: 6.2rem;
}

.detail-callout {
    margin-top: 1.5rem;
    padding: 1rem 1.1rem;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.detail-callout h3 {
    margin: 0 0 0.85rem;
}

.detail-callout .eyebrow {
    margin-bottom: 0.55rem;
}

@media (max-width: 1080px) {
    .hero,
    .section-grid,
    .detail-layout,
    .admin-shell,
    .filters,
    .stats-grid,
    .card-grid,
    .inventory-grid,
    .detail-grid,
    .cinema-hero,
    .inventory-hero,
    .sales-hero,
    .rental-hero,
    .zone-grid,
    .space-sales-grid,
    .service-grid,
    .rental-status-grid,
    .stats-ribbon,
    .featured-grid,
    .inventory-grid-public {
        grid-template-columns: 1fr 1fr;
    }

    .admin-shell {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        position: fixed;
        inset: 0;
        z-index: 45;
        width: 100%;
        height: 100dvh;
        min-height: 100dvh;
        padding: max(1rem, env(safe-area-inset-top)) 1rem 1.25rem;
        overflow-y: auto;
        background: linear-gradient(180deg, rgba(9, 11, 15, 0.99) 0%, rgba(14, 18, 22, 1) 100%);
        visibility: hidden;
        transform: translate3d(0, 1rem, 0) scale(0.985);
        transform-origin: top center;
        opacity: 0;
        pointer-events: none;
        transition:
            transform var(--nav-motion-duration) var(--nav-motion-ease),
            opacity 180ms ease,
            visibility 0s linear var(--nav-motion-duration);
        will-change: transform, opacity;
    }

    .admin-sidebar.is-open {
        visibility: visible;
        transform: translate3d(0, 0, 0) scale(1);
        opacity: 1;
        pointer-events: auto;
        transition-delay: 0s, 0s, 0s;
    }

    .admin-sidebar-shortcuts {
        display: grid;
    }

    .admin-sidebar-public-link {
        width: 100%;
    }

    .admin-sidebar-head {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 1rem;
    }

    .admin-main {
        padding: 1rem 0.9rem 2rem;
    }

    .admin-topbar {
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
        gap: 1rem;
    }

    .admin-topbar-copy {
        flex: 1 1 auto;
        min-width: 0;
    }

    .admin-topbar-actions {
        width: auto;
        margin-left: auto;
        flex: 0 0 auto;
        align-items: flex-start;
    }

    .admin-topbar-public-link {
        display: none;
    }

    .mobile-nav-toggle-admin,
    .mobile-nav-close-admin {
        display: inline-flex;
    }

    .mobile-nav-toggle-admin {
        width: 3rem;
        min-width: 3rem;
        min-height: 3rem;
        padding: 0;
        border-radius: 999px;
    }

    .mobile-nav-toggle-admin .mobile-nav-toggle-label {
        display: none;
    }

    .mobile-nav-toggle-admin .mobile-nav-toggle-lines {
        justify-items: center;
    }

    .filter-panel-summary {
        display: flex;
    }

    .filter-panel-persistent .filter-panel-summary {
        display: none;
    }

    .filter-panel-collapsible[open] .filter-panel-summary {
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .filter-panel-collapsible:not([open]) .filter-panel-body {
        display: none;
    }

    .filter-panel-body {
        padding: 1rem;
    }

    .cinema-grid {
        grid-template-columns: 1fr;
    }

    .sales-hero-minimal,
    .sales-hero-caption-grid {
        grid-template-columns: 1fr;
    }

    .sales-hero-cinematic {
        grid-template-columns: 1fr;
    }

    .filters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .filter-actions {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }
}

@media (max-width: 760px) {
    .home-process-layout {
        grid-template-columns: 1fr;
    }

    .home-process-media {
        max-width: 100%;
    }

    .admin-inventory-table {
        min-width: 0;
    }

    .site-header {
        backdrop-filter: none;
    }

    .hero,
    .section-grid,
    .detail-layout,
    .filters,
    .form-grid,
    .stats-grid,
    .card-grid,
    .inventory-grid,
    .detail-grid,
    .cinema-hero,
    .inventory-hero,
    .sales-hero,
    .rental-hero,
    .zone-grid,
    .space-sales-grid,
    .service-grid,
    .rental-status-grid,
    .stats-ribbon,
    .featured-grid,
    .inventory-grid-public {
        grid-template-columns: 1fr;
    }

    .site-footer,
    .detail-headline,
    .hero-actions,
    .section-heading,
    .section-heading-wide,
    .form-actions,
    .filter-actions,
    .actions-cell,
    .admin-topbar-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .container {
        width: min(1180px, calc(100vw - 1.25rem));
    }

    .section-heading-split-mobile {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
    }

    .section-heading-split-mobile .button {
        width: auto;
        flex: 0 0 auto;
    }

    .nav-bar {
        flex-direction: row;
        align-items: center;
        gap: 0.75rem;
        padding: 0.85rem 0;
    }

    .mobile-nav-toggle,
    .mobile-nav-close {
        display: inline-flex;
        width: auto;
        flex: 0 0 auto;
        padding: 0;
        border: 0;
        background: transparent;
    }

    .mobile-nav-head {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
        margin-bottom: 0.5rem;
        padding-bottom: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .mobile-nav-head strong {
        font-size: 1.1rem;
        display: block;
        text-align: center;
    }

    .nav-links {
        position: fixed;
        inset: 0;
        z-index: 100;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0.8rem;
        min-height: 100dvh;
        padding: max(1rem, env(safe-area-inset-top)) 1rem max(1.5rem, env(safe-area-inset-bottom));
        background: linear-gradient(180deg, #07090c 0%, #0c1015 100%);
        visibility: hidden;
        transform: translate3d(0, 1rem, 0) scale(0.985);
        transform-origin: top center;
        opacity: 0;
        pointer-events: none;
        transition:
            transform var(--nav-motion-duration) var(--nav-motion-ease),
            opacity 180ms ease,
            visibility 0s linear var(--nav-motion-duration);
        overflow-y: auto;
        overscroll-behavior: contain;
        will-change: transform, opacity;
    }

    .nav-links.is-open {
        visibility: visible;
        transform: translate3d(0, 0, 0) scale(1);
        opacity: 1;
        pointer-events: auto;
        transition-delay: 0s, 0s, 0s;
    }

    .nav-links::after {
        content: "";
        display: block;
        min-height: 1rem;
    }

    .nav-links a {
        width: 100%;
        padding: 1rem;
        border: 1px solid rgba(255, 255, 255, 0.08);
        background: rgba(255, 255, 255, 0.03);
        text-align: center;
        justify-content: center;
    }

    .nav-links .button-ghost {
        justify-content: center;
    }

    .nav-links .nav-personal-link {
        background: var(--accent);
        color: #fff;
        border-color: transparent;
    }

    .admin-main {
        padding: 1rem 0.625rem 2rem;
    }

    .admin-topbar-actions,
    .admin-user-actions,
    .admin-user-actions form,
    .hero-actions,
    .form-actions,
    .filter-actions {
        width: 100%;
    }

    .admin-topbar-actions .button,
    .admin-topbar-actions .mobile-nav-toggle,
    .hero-actions .button,
    .form-actions .button,
    .filter-actions .button,
    .admin-utility-link,
    .admin-logout-button,
    .mobile-only,
    .actions-cell .button {
        width: 100%;
    }

    .mobile-only {
        display: inline-flex;
    }

    .filter-actions {
        align-self: stretch;
    }

    .filter-actions .button {
        min-width: 0;
    }

    .admin-topbar {
        align-items: flex-start;
    }

    .admin-topbar-actions {
        width: auto;
        margin-left: auto;
        flex: 0 0 auto;
        align-items: flex-start;
    }

    .admin-topbar-actions .mobile-nav-toggle {
        width: 3rem;
    }

    .panel,
    .detail-main,
    .detail-sidebar,
    .hero,
    .cinema-hero,
    .inventory-hero,
    .sales-hero,
    .rental-hero,
    .metric-card {
        padding: 1rem;
    }

    .featured-card {
        grid-template-columns: 1fr;
    }

    .note-credits-grid {
        grid-template-columns: 1fr;
    }

    .cinema-stage,
    .inventory-hero-image,
    .sales-hero-media,
    .rental-hero-media,
    .zone-card,
    .detail-cover {
        min-height: 14rem;
    }

    .site-footer,
    .space-sales-meta,
    .catalog-preview-row,
    .rental-item-row,
    .media-editor-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .media-editor,
    .media-grid {
        grid-template-columns: 1fr;
    }

    .sales-hero-copy-minimal h1 {
        max-width: none;
    }

    .sales-hero-cinematic {
        height: min(52vh, 26rem);
        padding: 0;
    }

    .sales-hero-full-bleed {
        margin-top: -1.4rem;
    }

    .studio-zones-sales .section-heading-wide {
        gap: 0.5rem;
        margin-bottom: 1.25rem;
        padding-inline: 0.75rem;
    }

    .studio-zones-sales .section-heading-wide > div {
        width: 100%;
    }

    .sales-hero-overlay {
        gap: 0.85rem;
        grid-template-columns: minmax(0, 1fr);
        padding: 1.5rem;
        align-content: center;
        justify-content: stretch;
        justify-items: center;
        text-align: center;
    }

    .sales-hero .hero-actions {
        width: auto;
        flex-direction: row;
        align-items: center;
        justify-content: center;
    }

    .sales-hero .hero-actions .button {
        width: auto;
    }

    .sales-hero-title {
        max-width: 100%;
        font-size: clamp(2.6rem, 13vw, 4.1rem);
        line-height: 0.96;
        letter-spacing: -0.045em;
    }

    .sales-hero-overlay .sales-hero-subtitle {
        max-width: 35rem;
        font-size: 0.98rem;
    }

    .rental-hero-copy h1 {
        max-width: none;
    }

    .sales-hero-caption {
        position: static;
        left: auto;
        right: auto;
        bottom: auto;
        margin-top: 1rem;
    }

    .media-editor-preview-compact {
        max-width: none;
    }

    .footer-meta {
        text-align: left;
    }

    .span-2 {
        grid-column: span 1;
    }

    .page-content,
    .admin-main {
        padding-top: 1.4rem;
    }

    .table-wrap {
        overflow: visible;
    }

    .data-table,
    .data-table tbody,
    .data-table tr,
    .data-table td {
        display: block;
        width: 100%;
    }

    .data-table {
        border-collapse: separate;
    }

    .data-table thead {
        display: none;
    }

    .data-table tbody {
        display: grid;
        gap: 0.9rem;
    }

    .data-table tr {
        padding: 1.1rem;
        border: 1px solid rgba(255, 255, 255, 0.08);
        background: rgba(255, 255, 255, 0.02);
    }

    .data-table td {
        padding: 0;
        border: 0;
    }

    .data-table td + td {
        margin-top: 0.85rem;
    }

    .data-table td[data-label] {
        display: grid;
        gap: 0.3rem;
    }

    .data-table td[data-label]::before {
        content: attr(data-label);
        color: var(--ink-soft);
        text-transform: uppercase;
        letter-spacing: 0.14em;
        font-size: 0.7rem;
    }

    .data-table td.actions-cell {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: stretch;
        justify-items: stretch;
        gap: 0.75rem;
        width: 100%;
        text-align: left;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .data-table td.actions-cell::before {
        grid-column: 1 / -1;
        margin-bottom: 0.1rem;
    }

    .data-table td.actions-cell:empty {
        display: none;
        margin-top: 0;
        padding-top: 0;
        border-top: 0;
    }

    .data-table td.actions-cell form {
        width: 100%;
        justify-content: stretch;
        margin: 0;
    }

    .data-table td.actions-cell .button {
        justify-content: center;
        min-height: 3.25rem;
    }

    .admin-inventory-table td:nth-child(3),
    .admin-inventory-table td:nth-child(4),
    .admin-inventory-table td:nth-child(6) {
        display: none;
    }

    .admin-inventory-table {
        min-width: 0;
    }

    .admin-inventory-table th:nth-child(1),
    .admin-inventory-table td:nth-child(1),
    .admin-inventory-table th:nth-child(2),
    .admin-inventory-table td:nth-child(2),
    .admin-inventory-table th:nth-child(7),
    .admin-inventory-table td:nth-child(7) {
        width: auto;
        min-width: 0;
    }

    .admin-inventory-table tr {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: start;
        column-gap: 1rem;
        row-gap: 0.95rem;
    }

    .admin-inventory-table td {
        width: auto;
        margin-top: 0;
    }

    .admin-inventory-table td[data-label] {
        gap: 0.2rem;
        min-width: 0;
    }

    .admin-inventory-table td:nth-child(1)::before,
    .admin-inventory-table td:nth-child(5)::before {
        font-size: 0.64rem;
        letter-spacing: 0.12em;
    }

    .admin-inventory-table td + td {
        margin-top: 0;
    }

    .admin-inventory-table td:nth-child(1) {
        grid-column: 1;
        grid-row: 1;
    }

    .admin-inventory-table td:nth-child(2),
    .admin-inventory-table td:nth-child(7) {
        grid-column: 1 / -1;
    }

    .admin-inventory-table td:nth-child(2) {
        grid-row: 2;
    }

    .admin-inventory-table td:nth-child(7) {
        grid-row: 3;
    }

    .admin-inventory-table td.actions-cell {
        margin-top: 0.35rem;
        padding-top: 0;
        border-top: 0;
    }


    .admin-inventory-table td.actions-cell::before {
        display: none;
    }

    .admin-inventory-table td:nth-child(5) {
        grid-column: 2;
        grid-row: 1;
        justify-items: end;
        text-align: right;
        align-self: start;
    }

    .admin-inventory-table td:nth-child(5)::before {
        width: 100%;
        text-align: right;
    }

    .table-row-link {
        cursor: default;
    }

    .table-row-link td {
        transition: none;
    }

    .table-row-link:hover td,
    .table-row-link:focus-visible td {
        background: transparent;
    }

    .table-empty {
        padding: 0;
    }

    .admin-item-cell {
        grid-template-columns: 4.5rem minmax(0, 1fr);
        align-items: start;
        gap: 0.75rem;
    }

    .admin-item-thumb {
        max-width: 4.5rem;
    }

    .admin-item-copy strong {
        display: block;
        line-height: 1.16;
        overflow-wrap: anywhere;
    }

    .admin-item-copy small {
        display: block;
        margin-top: 0.2rem;
    }

    .admin-inventory-table td:nth-child(2)::before {
        display: none;
    }

    .inventory-card dl div,
    .detail-list div,
    .featured-specs div {
        display: grid;
        gap: 0.2rem;
    }

    .featured-specs dd {
        text-align: left;
    }

    .detail-sidebar-cinematic {
        position: static;
        top: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nav-links,
    .admin-sidebar {
        transition: none;
    }
}

@media (max-width: 560px) {
    .admin-inventory-table tr {
        grid-template-columns: minmax(0, 1fr) auto;
        row-gap: 0.7rem;
        padding: 0.9rem;
    }

    .admin-inventory-table td:nth-child(1),
    .admin-inventory-table td:nth-child(5),
    .admin-inventory-table td:nth-child(7) {
        min-width: 0;
    }

    .admin-inventory-table td:nth-child(1) {
        grid-column: 1;
        grid-row: 1;
        padding: 0;
        background: transparent;
        border: 0;
    }

    .admin-inventory-table td:nth-child(5) {
        grid-column: 2;
        grid-row: 1;
        justify-items: end;
        text-align: right;
        padding: 0;
        background: transparent;
        border: 0;
    }

    .admin-inventory-table td:nth-child(5)::before {
        text-align: right;
    }

    .admin-inventory-table td:nth-child(2) {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .admin-inventory-table td:nth-child(7) {
        grid-column: 1 / -1;
        grid-row: 3;
    }

    .admin-inventory-table td.actions-cell {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.55rem;
    }

    .admin-inventory-table td:nth-child(2)::before {
        display: none;
    }

    .admin-item-cell {
        grid-template-columns: 3.85rem minmax(0, 1fr);
        gap: 0.6rem;
    }

    .admin-item-thumb {
        max-width: 3.85rem;
    }

    .admin-item-copy strong {
        line-height: 1.18;
        font-size: 0.98rem;
    }

    .admin-item-copy small {
        font-size: 0.92rem;
    }

    .data-table td.actions-cell .button {
        min-height: 2.85rem;
        padding-inline: 0.7rem;
    }
}
