:root {
    --olala-dark: #0f172a;
    --olala-deep: #111827;
    --olala-text: #334155;
    --olala-soft: #f8fafc;
    --olala-primary: #7c3aed;
    --olala-secondary: #06b6d4;
    --olala-accent: #ec4899;
    --olala-border: rgba(15, 23, 42, 0.08);
    --olala-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);

    /* Radius system: controlled, professional, OLALA-style */
    --olala-radius-sm: 4px;
    --olala-radius-md: 6px;
    --olala-radius-lg: 10px;
    --olala-radius-xl: 14px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: var(--olala-text);
    background: #ffffff;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1400px, calc(100% - 6rem));
    margin: 0 auto;
}

/* =========================
   TYPOGRAPHY SYSTEM
========================= */

h1,
h2,
h3 {
    color: #1f2937;
}

h1 {
  font-family: 'Manrope', sans-serif;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: #1f2937;
}

h2 {
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

h3 {
    font-weight: 500;
}

/* =========================
   HEADER / NAV (WITH DROPDOWN)
========================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(14px);
    background: rgba(255, 255, 255, 0.88);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 84px;
}

.site-header .admin-header-container {
    width: 100%;
    max-width: none;
    margin: 0;
    padding-inline: clamp(1rem, 3vw, 2.5rem);
}

.site-header > .container:not(.admin-header-container) {
    width: 100%;
    max-width: 1900px;
    padding-inline: clamp(1rem, 3vw, 2.5rem);
}

/* Logo */
.brand-logo {
    height: 72px;
    width: auto;
}

/* Nav container */
.nav-links {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}

/* Links */
.nav-links a:not(.nav-cta),
.nav-link {
    font-weight: 500;
    color: #475569;
    padding: 0.7rem 0.9rem;
    border-radius: var(--olala-radius-md);
    transition: all 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active,
.nav-link:hover,
.nav-link.active {
    background: rgba(124, 58, 237, 0.08);
    color: var(--olala-primary);
}

/* Administration workspace */
.admin-workspace {
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr);
    min-height: calc(100vh - 84px);
    background: #f8fafc;
}

.admin-workspace.sidebar-expanded {
    grid-template-columns: var(--admin-sidebar-width, 230px) minmax(0, 1fr);
}

.admin-sidebar {
    position: sticky;
    top: 84px;
    align-self: start;
    height: calc(100vh - 84px);
    padding: 1rem 0.65rem;
    box-sizing: border-box;
    background: #FFFFFF;
    color: #111111;
    border-right: 1px solid #DDDDDD;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 20;
}

.admin-sidebar.expanded {
    width: 100%;
}

.admin-sidebar-resize-handle {
    display: none;
}

.admin-sidebar.expanded .admin-sidebar-resize-handle {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 25;
    display: block;
    width: 10px;
    cursor: col-resize;
    touch-action: none;
    user-select: none;
}

.admin-sidebar-resize-handle::after {
    position: absolute;
    top: 0;
    right: 4px;
    bottom: 0;
    width: 2px;
    margin: auto;
    border-radius: 2px;
    background: transparent;
    content: "";
}

.admin-sidebar-resize-handle:hover::after,
.admin-sidebar-resize-handle:focus-visible::after {
    background: #94a3b8;
}

.admin-sidebar-resize-handle:focus-visible {
    outline: none;
}

.admin-sidebar-toggle,
.admin-sidebar-link {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 44px;
    border: 0;
    border-radius: var(--olala-radius-md);
    color: inherit;
    background: transparent;
    text-decoration: none;
}

.admin-sidebar-toggle {
    justify-content: center;
    cursor: pointer;
    margin-bottom: 0.75rem;
}

.admin-sidebar-toggle:hover,
.admin-sidebar-link:hover,
.admin-sidebar-group-toggle:hover {
    background: #F5F5F5;
    color: #111111;
}

.admin-sidebar-link.active,
.admin-sidebar-group.has-active .admin-sidebar-group-toggle {
    background: #E8E8E8;
    color: #111111;
}

.admin-sidebar-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    font-size: 1.15rem;
}

.admin-sidebar-label,
.admin-sidebar-toggle-label,
.admin-sidebar-group-title,
.admin-sidebar-group-chevron {
    display: none;
    white-space: nowrap;
}

.admin-sidebar.expanded .admin-sidebar-toggle {
    justify-content: flex-start;
}

.admin-sidebar.expanded .admin-sidebar-label,
.admin-sidebar.expanded .admin-sidebar-toggle-label {
    display: inline;
}

.admin-sidebar.expanded .admin-sidebar-group-title {
    display: block;
}

.admin-sidebar.expanded .admin-sidebar-group-chevron {
    display: inline-flex;
}

.admin-sidebar[data-admin-sidebar-groups-initializing] .admin-sidebar-group-panel,
.admin-sidebar[data-admin-sidebar-groups-initializing] .admin-sidebar-group-chevron {
    transition: none;
}

.admin-main {
    min-width: 0;
    padding: 1.25rem clamp(1rem, 3vw, 2.5rem);
}

.admin-section,
.admin-dashboard {
    width: 100%;
    max-width: none;
}

.admin-page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 70px;
    margin-bottom: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--olala-border);
}

.admin-page-header h1 {
    margin: 0;
    font-size: 1.55rem;
    line-height: 1.2;
    letter-spacing: 0;
}

.admin-page-header p {
    margin: 0.25rem 0 0;
    color: #64748b;
    font-size: 0.9rem;
}

.admin-list-toolbar,
.admin-form-toolbar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.admin-menus-page select.form-control,
#shopProductForm select.form-control {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 2.5rem;
    height: auto;
    border: 1px solid #94a3b8;
    background-color: #fff !important;
    color: #1f2937 !important;
    color-scheme: light;
    appearance: auto;
    line-height: 1.25;
}

.admin-menus-page select.form-control option {
    background-color: #fff !important;
    color: #1f2937 !important;
}

.admin-menus-page select.form-control option:checked {
    background-color: #dbeafe !important;
    color: #0f172a !important;
}

.admin-menus-page select.form-control option:hover,
.admin-menus-page select.form-control option:focus {
    background-color: #e2e8f0 !important;
    color: #0f172a !important;
}

.admin-menus-page select.form-control:hover,
#shopProductForm select.form-control:hover {
    border-color: #64748b;
}

.admin-menus-page select.form-control:focus-visible,
#shopProductForm select.form-control:focus-visible {
    border-color: var(--olala-primary);
    outline: 3px solid rgba(124, 58, 237, 0.35);
    outline-offset: 2px;
    box-shadow: none;
}

#shopProductForm #shopProductType {
    background-image: none;
}


.admin-menus-page #menuSelect {
    flex: 0 1 22rem;
}

.admin-menus-page #itemDestinationFilter,
.admin-menus-page #itemParentFilter {
    width: auto;
    min-width: 11rem;
    max-width: 16rem;
}

.admin-search-form {
    display: flex;
    flex: 1 1 360px;
    gap: 0.5rem;
}

.admin-search-form .form-control {
    min-width: 0;
}

.admin-shop-product-filters {
    display: grid;
    flex: 1 1 100%;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.75rem;
    width: 100%;
}

.admin-shop-product-search-row {
    display: grid;
    width: 100%;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 0.75rem;
}

.admin-shop-product-search-row input[type="search"] {
    width: 100%;
    min-width: 0;
}

.admin-shop-product-filter-row {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr)) auto auto;
    align-items: end;
    gap: 0.75rem;
}

.admin-shop-product-filter-row label {
    display: grid;
    min-width: 0;
    gap: 0.35rem;
}

.admin-shop-product-filter-row label > span {
    white-space: nowrap;
}

.admin-shop-product-filter-row .form-control {
    width: 100%;
    min-width: 0;
}

.admin-shop-product-filter-row > .btn,
.admin-shop-product-search-row > .btn {
    white-space: nowrap;
}

.admin-filter-row {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    width: 100%;
}

.admin-filter-row label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #475569;
    font-size: 0.85rem;
}

.admin-filter-row .form-control {
    min-width: 130px;
}

.admin-article-filter-form {
    flex-wrap: wrap;
}

.admin-article-filter-form > input[type="search"] {
    flex: 1 1 16rem;
}

.admin-article-filter-form > .admin-filter-row {
    flex: 1 0 100%;
    align-items: flex-end;
}

.admin-article-filter-form > .admin-filter-row label {
    flex: 1 1 11rem;
    min-width: 0;
}

.admin-article-filter-form > .admin-filter-row .form-control {
    width: 100%;
    min-width: 0;
}

.admin-article-filter-form > .admin-filter-row > .btn {
    flex: 0 0 auto;
}

.admin-sort-link {
    color: inherit;
    white-space: nowrap;
}

.admin-sort-indicator {
    margin-left: 0.35rem;
    font-size: 0.75em;
}

.admin-category-filter-form {
    align-items: flex-end;
    margin: -0.5rem 0 0;
}

.admin-category-filter-form label {
    display: flex;
    flex: 1 1 180px;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
}

.admin-category-filter-form .form-control {
    width: 100%;
    min-width: 0;
}

.admin-category-filter-actions {
    display: flex;
    justify-content: flex-end;
    margin: 0.5rem 0 1rem;
}

@media (max-width: 640px) {
    #shopProductForm #shopProductType:focus {
        position: relative;
        z-index: 21;
    }

    .admin-article-filter-form > .admin-filter-row label {
        flex-basis: 100%;
    }

    .admin-shop-product-search-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-shop-product-search-row input[type="search"] {
        grid-column: 1 / -1;
    }

    .admin-shop-product-filter-row {
        grid-template-columns: minmax(0, 1fr);
    }

    .admin-category-filter-form label {
        flex-basis: 100%;
    }
}

.category-hierarchy-child {
    display: inline-block;
    margin-left: 1rem;
    color: #6c757d;
}

.admin-list-panel {
    padding: 1rem;
    border: 1px solid var(--olala-border);
    border-radius: var(--olala-radius-md);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--olala-shadow);
}

.admin-list-panel .support-table {
    margin-bottom: 0;
}

.shop-digital-file-list {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
}

.shop-digital-file-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--olala-border);
}

.shop-digital-file-row:last-child {
    border-bottom: 0;
}

.admin-stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.75rem;
}

.admin-dashboard .admin-stat-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}

.admin-stat-card {
    display: flex;
    min-height: 94px;
    flex-direction: column;
    justify-content: space-between;
    padding: 1rem;
    border: 1px solid var(--olala-border);
    border-radius: var(--olala-radius-md);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--olala-shadow);
}

.admin-stat-card span {
    color: #64748b;
    font-size: 0.82rem;
    font-weight: 700;
}

.admin-stat-card strong {
    color: #0f172a;
    font-size: 1.8rem;
    line-height: 1;
}

.admin-dashboard .admin-stat-card small {
    color: #64748b;
    font-size: 0.75rem;
    line-height: 1.2;
}

.admin-dashboard .admin-money-stat-grid,
.admin-dashboard .admin-money-revenue-grid {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
}

.admin-dashboard .admin-stat-card--revenue {
    min-height: 112px;
    justify-content: flex-start;
    gap: 0.45rem;
}

.admin-dashboard .admin-stat-card--revenue span {
    min-height: 2.2em;
}

.admin-dashboard .admin-stat-card--money strong {
    font-size: clamp(0.82rem, 1.2vw, 1.2rem);
    line-height: 1.15;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.admin-dashboard .admin-stat-card-link {
   flex: 1;
   color: inherit;
   text-decoration: none;
}

.admin-dashboard .admin-stat-card-link:focus-visible {
   outline: 2px solid #2563eb;
   outline-offset: 3px;
}

.admin-sidebar-group {
    margin-top: 0.85rem;
    min-width: 0;
}

.admin-sidebar-group:first-of-type {
    margin-top: 0.25rem;
}

.admin-sidebar-group-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-width: 0;
    min-height: 40px;
    padding: 0.55rem 0.35rem;
    border: 0;
    border-radius: var(--olala-radius-md);
    background: #F2F2F2;
    color: #111111;
    font: inherit;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
}

.admin-sidebar-group-toggle:hover {
    background: #F5F5F5;
    color: #111111;
}

.admin-sidebar-group-toggle:focus-visible {
    outline: 2px solid #111111;
    outline-offset: 2px;
}

.admin-sidebar-group-icon {
    flex: 0 0 36px;
    width: 36px;
    height: 24px;
    margin-right: 0;
}

.admin-sidebar-group-title,
.admin-sidebar-group-icon {
    color: #990000;
}

.admin-sidebar-group-icon svg {
    display: block;
    width: 20px;
    height: 20px;
    color: currentColor;
}

.admin-sidebar-group-title {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-sidebar-group-chevron {
    flex: 0 0 auto;
    transform: rotate(0deg);
    transition: transform 180ms ease;
}

.admin-sidebar-group-toggle[aria-expanded="false"] .admin-sidebar-group-chevron {
    transform: rotate(-90deg);
}

.admin-sidebar-group-panel {
    display: grid;
    grid-template-rows: 1fr;
    min-width: 0;
    transition: grid-template-rows 180ms ease;
}

.admin-sidebar-group.is-collapsed .admin-sidebar-group-panel {
    grid-template-rows: 0fr;
}

.admin-sidebar-group-panel-inner {
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    padding-left: 0.95rem;
}

.admin-sidebar-group-panel .admin-sidebar-link {
    min-width: 0;
}

.admin-sidebar:not(.expanded) .admin-sidebar-group {
    margin-top: 0.35rem;
}

.admin-sidebar:not(.expanded) .admin-sidebar-group-toggle {
    justify-content: center;
    width: 44px;
    min-height: 44px;
    margin: 0 auto;
    padding: 0;
    background: transparent;
}

.admin-sidebar:not(.expanded) .admin-sidebar-group-toggle:hover {
    background: #F5F5F5;
}

.admin-sidebar:not(.expanded) .admin-sidebar-group.has-active .admin-sidebar-group-toggle {
    background: #E8E8E8;
}

.admin-sidebar:not(.expanded) .admin-sidebar-group-icon {
    display: inline-flex;
    visibility: visible;
    opacity: 1;
    margin: 0;
}

.admin-sidebar:not(.expanded) .admin-sidebar-group-panel {
    display: none;
}

@media (prefers-reduced-motion: reduce) {
    .admin-sidebar-group-panel,
    .admin-sidebar-group-chevron {
        transition: none;
    }
}

.admin-sidebar-action {
    width: 100%;
    border: 0;
    text-align: left;
    font: inherit;
}

.input-with-action {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.input-with-action .form-control {
    flex: 1;
}

.code-block {
    overflow-x: auto;
    padding: 1rem;
    border: 1px solid var(--olala-border);
    border-radius: var(--olala-radius-md);
    background: #f8fafc;
    color: #1e293b;
    white-space: pre-wrap;
}

.status-success,
.status-error {
    white-space: pre-line;
}

.status-success {
    color: #166534;
}

.status-error {
    color: #b91c1c;
}

.analytics-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.analytics-initial-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    min-height: 9rem;
    margin-bottom: 1rem;
    border: 1px solid var(--olala-border);
    border-radius: var(--olala-radius-md);
    background: rgba(255, 255, 255, 0.92);
    color: #475569;
}

.analytics-summary-card {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding: 1rem;
    border: 1px solid var(--olala-border);
    border-radius: var(--olala-radius-md);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--olala-shadow);
}

.analytics-summary-card span {
    color: #64748b;
    font-size: 0.85rem;
}

.analytics-summary-card strong {
    color: var(--olala-ink);
    font-size: 1.55rem;
}

.analytics-filter-panel {
    margin-bottom: 1rem;
}

.analytics-filter-form {
    display: flex;
    align-items: end;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.analytics-filter-form label {
    display: flex;
    flex: 1 1 120px;
    flex-direction: column;
    gap: 0.3rem;
    color: #475569;
    font-size: 0.78rem;
}

.analytics-filter-form .analytics-search-field {
    flex-basis: 190px;
}

.analytics-table {
    min-width: 1500px;
}

.analytics-export-button {
    display: inline-block;
    margin-bottom: 0.75rem;
}

.analytics-table-scroll {
    height: 600px;
    max-height: 600px;
    overflow: auto;
    margin-top: 0.5rem;
}

.analytics-table-scroll thead th {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #fff;
}

.analytics-referrer {
    display: inline-block;
    max-width: 210px;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: bottom;
    white-space: nowrap;
}

.analytics-pagination {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.analytics-pagination .active {
    background: var(--olala-ink);
    color: #fff;
}

.content-performance-filters {
    display: flex;
    align-items: end;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-bottom: 1rem;
}

.content-performance-filters label {
    display: flex;
    flex: 1 1 140px;
    flex-direction: column;
    gap: 0.3rem;
    color: #475569;
    font-size: 0.78rem;
}

.content-performance-tabs {
    flex-wrap: nowrap;
    gap: 0.25rem;
    margin-bottom: 1rem;
    overflow-x: auto;
}

.content-performance-tabs .nav-link {
    white-space: nowrap;
}

.content-performance-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin: 1rem 0;
}

.content-performance-metrics article {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 0.3rem;
    padding: 1rem;
    border: 1px solid var(--olala-border);
    border-radius: var(--olala-radius-md);
    background: #fff;
    box-shadow: var(--olala-shadow);
}

.content-performance-metrics span {
    color: #64748b;
    font-size: 0.85rem;
}

.content-performance-metrics strong {
    color: var(--olala-ink);
    font-size: 1.45rem;
}

.content-performance-bar {
    display: block;
    min-width: 2px;
    height: 0.7rem;
    border-radius: 999px;
    background: var(--olala-ink);
}

.content-performance-journey {
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--olala-border);
}

.content-performance-journey:last-child {
    border-bottom: 0;
}

.content-performance-journey h3 {
    font-size: 1rem;
}

.content-performance-journey ol {
    margin-bottom: 0;
}

.content-performance-pagination {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1rem;
}

@media (max-width: 800px) {
    .analytics-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .content-performance-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .content-performance-metrics {
        grid-template-columns: 1fr;
    }

    .content-performance-pagination {
        align-items: flex-start;
        flex-direction: column;
    }
}

.admin-dashboard {
    max-width: 1100px;
    margin: 0 auto;
}

.admin-heading {
    margin-bottom: 1rem;
}

.admin-heading h1 {
    margin-bottom: 0.5rem;
}

.admin-action-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.admin-action-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    min-height: 130px;
    padding: 1.35rem;
    border: 1px solid var(--olala-border);
    border-radius: var(--olala-radius-lg);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--olala-shadow);
    color: var(--olala-dark);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.admin-sync-search-button {
    width: 100%;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.admin-sync-search-button:disabled {
    cursor: wait;
    opacity: 0.7;
}

.admin-action-card:hover {
    color: var(--olala-dark);
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
}

.admin-action-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: var(--olala-radius-md);
    background: rgba(124, 58, 237, 0.1);
    color: var(--olala-primary);
    font-size: 1.35rem;
}

.admin-action-card strong,
.admin-action-card small {
    display: block;
}

.admin-action-card strong {
    margin-top: 0.15rem;
}

.admin-action-card small {
    margin-top: 0.45rem;
    color: #64748b;
    line-height: 1.45;
}

.admin-utility-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-utility-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    min-height: 170px;
    padding: 1.35rem;
    border: 1px solid var(--olala-border);
    border-radius: var(--olala-radius-lg);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--olala-shadow);
}

.admin-utility-content {
    min-width: 0;
    flex: 1;
}

.admin-utility-content strong,
.admin-utility-content small {
    display: block;
}

.admin-utility-content small {
    margin: 0.45rem 0 0.8rem;
    color: #64748b;
    line-height: 1.45;
}

.admin-utility-action {
    cursor: pointer;
}

.admin-utility-action:disabled {
    cursor: wait;
    opacity: 0.7;
}

.admin-utility-result {
    min-height: 2.5rem;
    margin: 0.8rem 0 0;
    padding: 0.65rem;
    overflow-x: auto;
    border: 1px solid var(--olala-border);
    border-radius: var(--olala-radius-md);
    background: #f8fafc;
    color: #334155;
    font: 0.78rem/1.45 ui-monospace, SFMono-Regular, Consolas, monospace;
    white-space: pre-wrap;
}

/* CTA */
.nav-cta {
    margin-left: 0.75rem;
    padding: 0.7rem 1.2rem;
    font-size: 0.95rem;
}

/* =========================
   DROPDOWN
========================= */

.nav-item {
    position: relative;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.nav-user {
  font-size: 0.8rem;
  opacity: 0.7;
  margin-right: 0.5rem;
}

.dropdown-arrow {
    font-size: 0.75rem;
    opacity: 0.75;
}

.dropdown-menu {
    position: absolute;
    top: 100%;              /* remove the gap */
    left: 0;
    min-width: 320px;
    padding: 1rem;
    margin-top: 6px;        /* small visual spacing (safe) */
    border-radius: var(--olala-radius-lg);
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.15);
    display: none;
    z-index: 250;
}

.dropdown::after {
  content: "";
  position: absolute;
  left: 0;
  top: 100%;
  width: 320px;
  height: 14px;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-group {
    margin-bottom: 0.75rem;
}

.dropdown-label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #94a3b8;
}

.dropdown-menu a {
    display: block;
    padding: 0.7rem 0.8rem;
    border-radius: var(--olala-radius-sm);
    color: #334155;
    font-weight: 500;
    white-space: nowrap;
}

.dropdown-menu a:hover {
    background: rgba(124, 58, 237, 0.08);
    color: var(--olala-primary);
}

.dropdown-divider {
    height: 1px;
    background: rgba(15, 23, 42, 0.08);
    margin: 0.7rem 0;
}

.dropdown-all {
    font-weight: 700;
    color: var(--olala-primary);
}

/* Support Form */
.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.4rem;
}

.submit-progress {
  margin-top: 1rem;
}

.progress-bar-wrap {
  width: 100%;
  height: 10px;
  background: rgba(0,0,0,0.08);
  border-radius: 999px;
  overflow: hidden;
}

.progress-bar-fill {
  width: 0%;
  height: 100%;
  background: #2563eb;
  border-radius: 999px;
  transition: width 0.3s ease;
}

.file-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

.file-preview-item {
  position: relative;
  width: 120px;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 12px;
  padding: 8px;
  background: #fff;
}

.file-preview-item img {
  width: 100%;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.file-preview-item span {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  word-break: break-word;
}

.file-remove-btn {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 24px;
  height: 24px;
  border: none;
  border-radius: 50%;
  background: #d93636;
  color: #fff;
  cursor: pointer;
  font-weight: bold;
}

.table-wrap {
  overflow-x: auto;
  margin-top: 1.5rem;
}

.support-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.support-table th,
.support-table td {
  padding: 0.85rem;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  text-align: left;
}

.support-table th {
  font-weight: 700;
}

.broken-links-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.broken-links-loading { display: flex; align-items: center; gap: 0.6rem; margin-top: 1rem; color: #475569; }
.broken-links-spinner { width: 1rem; height: 1rem; border: 2px solid #cbd5e1; border-top-color: #2563eb; border-radius: 50%; animation: broken-links-spin 0.8s linear infinite; }
@keyframes broken-links-spin { to { transform: rotate(360deg); } }
.broken-links-summary { margin-top: 1.5rem; }
.broken-links-summary h2 { font-size: 1.1rem; }
.broken-links-summary-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: 0.75rem; margin: 0; }
.broken-links-summary-grid > div { padding: 0.75rem; border: 1px solid var(--olala-border); border-radius: var(--olala-radius-sm); background: #fff; }
.broken-links-summary-grid dt { color: #64748b; font-size: 0.8rem; }
.broken-links-summary-grid dd { margin: 0.25rem 0 0; font-size: 1.1rem; font-weight: 700; }
.broken-links-url { min-width: 13rem; max-width: 26rem; overflow-wrap: anywhere; font-size: 0.88rem; }
.broken-links-status { font-weight: 700; }
.broken-links-status.status-broken,
.broken-links-status.status-timeout,
.broken-links-status.status-connection-error,
.broken-links-status.status-invalid-url { color: #b91c1c; }
.broken-links-status.status-redirect { color: #a16207; }
.broken-links-status.status-ok { color: #15803d; }
@media (max-width: 640px) { .broken-links-toolbar { align-items: flex-start; flex-direction: column; } }

/* Profile */
.panel-title {
    margin-top: 0;
}

.profile-actions {
    margin-top: 1.5rem;
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.my-account-workspace {
    background: #fff;
}

.my-account-sidebar {
    background: #fbf9ff;
    border-right-color: #e8ddf5;
}

.my-account-sidebar .admin-sidebar-link,
.my-account-sidebar .admin-sidebar-toggle {
    color: #43334f;
}

.my-account-sidebar .admin-sidebar-link:hover,
.my-account-sidebar .admin-sidebar-link:focus-visible,
.my-account-sidebar .admin-sidebar-toggle:hover {
    color: var(--olala-primary);
    background: rgba(124, 58, 237, 0.08);
}

.my-account-sidebar .admin-sidebar-link.active {
    color: #5b21b6;
    background: rgba(124, 58, 237, 0.13);
}

.my-account-main {
    min-height: calc(100vh - 84px);
    background: #fff;
}

.my-account-address-form {
    width: 100%;
    max-width: 42rem;
}

.my-account-address-fields {
    display: flex;
    flex-direction: column;
    gap: 1.125rem;
    margin-top: 1rem;
}

.my-account-address-field {
    width: 100%;
}

.my-account-address-field label {
    display: block;
    margin-bottom: 0.4rem;
}

.my-account-address-form .form-control {
    box-sizing: border-box;
    width: 100%;
    min-height: 46px;
    border-radius: 0.5rem;
}

.my-account-address-autocomplete {
    position: relative;
}

.my-account-address-suggestions:not([hidden]) {
    position: absolute;
    inset: calc(100% - 0.25rem) 0 auto;
    z-index: 30;
    max-height: 16rem;
    overflow-y: auto;
    padding: 0.35rem;
    border: 1px solid var(--olala-border);
    border-radius: 0.55rem;
    background: #fff;
    box-shadow: 0 0.5rem 1.25rem rgba(15, 23, 42, 0.14);
}

.my-account-address-suggestion {
    display: block;
    width: 100%;
    padding: 0.65rem 0.75rem;
    border: 0;
    border-radius: 0.35rem;
    background: transparent;
    color: var(--olala-dark);
    text-align: left;
}

.my-account-address-suggestion:hover,
.my-account-address-suggestion:focus-visible,
.my-account-address-suggestion[aria-selected="true"] {
    background: rgba(124, 58, 237, 0.09);
    outline-color: var(--olala-primary);
}

.my-account-address-autocomplete [data-address-suggestion-status]:empty {
    display: none;
}

.my-account-title {
    margin: 0 0 1rem;
    color: #34213f;
}

.my-account-content {
    min-width: 0;
    min-height: 24rem;
}

.my-account-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
    margin: 1.5rem 0;
}

.my-account-summary > div {
    display: grid;
    gap: 0.35rem;
    padding: 1rem;
    border: 1px solid var(--olala-border);
    border-radius: var(--olala-radius-lg);
    background: rgba(248, 250, 252, 0.8);
    overflow-wrap: anywhere;
}

.my-account-summary strong {
    color: var(--olala-dark);
}

.my-account-details {
    margin: 1.5rem 0 0;
}

.my-account-details > div {
    display: grid;
    grid-template-columns: minmax(130px, 0.35fr) minmax(0, 1fr);
    gap: 1rem;
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--olala-border);
}

.my-account-details dt {
    color: #64748b;
    font-weight: 600;
}

.my-account-details dd {
    margin: 0;
    overflow-wrap: anywhere;
}

.my-account-payment-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.25rem;
}

.my-account-provider {
    margin: 0;
}

.my-account-provider.is-disabled {
    opacity: 0.68;
}

.my-account-empty {
    padding: 1.25rem;
    border: 1px dashed var(--olala-border);
    border-radius: var(--olala-radius-lg);
    background: rgba(248, 250, 252, 0.7);
}

.my-account-flash-messages {
    margin-bottom: 1rem;
}

.my-account-alert {
    padding: 0.8rem 1rem;
    border-radius: 0.5rem;
    margin: 0 0 0.5rem;
}

.my-account-alert-success {
    color: #166534;
    background: #f0fdf4;
}

.my-account-alert-info {
    color: #1e40af;
    background: #eff6ff;
}

.my-account-alert-error {
    color: #991b1b;
    background: #fef2f2;
}

.my-account-password-form {
    max-width: 34rem;
    margin-top: 1.25rem;
}

.my-account-newsletter-form {
    margin-top: 1.25rem;
}

.my-account-newsletter-form .checkbox-row {
    align-items: flex-start;
}

.my-account-mobile-form {
    max-width: 42rem;
    margin-top: 1.5rem;
}

.my-account-mobile-inputs {
    display: grid;
    grid-template-columns: minmax(200px, 0.8fr) minmax(0, 1.2fr);
    gap: 0.75rem;
}

.my-account-mobile-form small {
    display: block;
    margin-top: 0.4rem;
}

@media (max-width: 900px) {
    .my-account-summary {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .my-account-payment-options {
        grid-template-columns: 1fr;
    }

    .my-account-mobile-inputs {
        grid-template-columns: 1fr;
    }

    .my-account-details > div {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }
}

.nav-item.dropdown .dropdown-menu {
  min-width: 220px;
}

.support-page {
    margin-top: 40px;
}

.support-list-header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.ticket-toolbar {
    display: grid;
    grid-template-columns: 1fr 220px;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.admin-users-toolbar {
    grid-template-columns: minmax(0, 1fr) minmax(130px, 180px) minmax(130px, 180px) minmax(150px, 190px) auto;
    align-items: center;
}

.ticket-row {
    cursor: pointer;
}

.ticket-row:hover {
    background: rgba(0,0,0,0.03);
}

.ticket-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.35);
    display: none;
    z-index: 998;
}

.ticket-overlay.open {
    display: block;
}

.ticket-drawer {
    position: fixed;
    top: 0;
    right: -460px;
    width: 460px;
    max-width: 92vw;
    height: 100vh;
    background: #fff;
    z-index: 999;
    padding: 2rem;
    overflow-y: auto;
    box-shadow: -20px 0 50px rgba(0,0,0,0.18);
    transition: right 0.25s ease;
}

.ticket-drawer.open {
    right: 0;
}

.drawer-close {
    border: 0;
    background: transparent;
    font-size: 2rem;
    cursor: pointer;
    float: right;
}

.drawer-meta {
    margin-top: 1rem;
}

.drawer-meta p {
    margin: 0.45rem 0;
}

.drawer-description {
    line-height: 1.6;
}

#drawerImages a {
    display: block;
    margin-bottom: 0.5rem;
    word-break: break-all;
}

/* Email inside dropdown */
.dropdown-group .small-muted {
  display: block;
  font-size: 0.75rem;
  opacity: 0.7;
  margin-top: 2px;
}

/* Profile label (top line) */
.dropdown-label {
  font-weight: 600;
}

/* Slight spacing for auth links */
.nav-item.dropdown .dropdown-menu a {
  padding: 0.5rem 0;
  display: block;
}

/* Optional: align Profile nicely with nav */
.nav-item.dropdown > .nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
}

.attachment-item {
  margin-bottom: 1rem;
  min-width: 0;
  max-width: 100%;
}

.attachment-item a {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.attachment-preview {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 220px;
  border-radius: 10px;
  border: 1px solid #ddd;
  object-fit: contain;
}

.attachment-preview-fallback {
  margin: 0;
  color: #64748b;
  font-size: 0.9rem;
  overflow-wrap: anywhere;
}

.ticket-job-item {
    border-top: 1px solid #e2e8f0;
    padding: 0.85rem 0;
}

.ticket-job-item:first-child {
    border-top: 0;
}

.ticket-job-item h4,
.ticket-job-item p {
    margin: 0 0 0.35rem;
}

.job-total {
    font-weight: 700;
    margin-top: 0.75rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.95rem 1.35rem;
    border-radius: var(--olala-radius-md);
    border: 0;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--olala-primary), var(--olala-accent));
    color: #fff;
    box-shadow: 0 12px 30px rgba(124, 58, 237, 0.25);
}

.btn-primary:hover {
    color: #fff;
    transform: translateY(-1px);
}

.btn-secondary {
    border: 1px solid rgba(124, 58, 237, 0.20);
    color: var(--olala-primary);
    background: #fff;
}

.btn-secondary:hover {
    background: #f5f3ff;
    color: var(--olala-primary);
}

.btn-lightish {
    background: #ffffff;
    color: var(--olala-dark);
    font-weight: 600;
    border: none;
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}

.btn-lightish:hover {
    transform: translateY(-2px);
    background: #ffffff;
    color: var(--olala-dark);
}

.btn-brand {
    background: linear-gradient(135deg, var(--olala-primary), var(--olala-accent));
    color: #ffffff;
    border: none;
    box-shadow: 0 12px 30px rgba(124, 58, 237, 0.25);
}

.btn-brand,
.btn-brand:visited,
.btn-brand:active {
    color: #ffffff;
}

.btn-brand:hover {
    color: #ffffff;
    transform: translateY(-1px);
}

/* Hero */
.hero {
    position: relative;
    overflow: hidden;
    padding: 3rem 0 5rem;
    background:
        radial-gradient(circle at 15% 20%, rgba(124, 58, 237, 0.14), transparent 28%),
        radial-gradient(circle at 85% 15%, rgba(6, 182, 212, 0.14), transparent 26%),
        radial-gradient(circle at 80% 80%, rgba(236, 72, 153, 0.12), transparent 24%),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.hero-grid,
.two-col {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2rem;
    align-items: center;
}

.cta-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2.5rem;
    align-items: center;
}

.full-span {
  grid-column: 1 / -1;
  padding: 2rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.8rem 1.25rem;
    border-radius: var(--olala-radius-md);
    line-height: 1.35;
    overflow: visible;
    white-space: normal;
    background: linear-gradient(
        135deg,
        rgba(255,255,255,0.95),
        rgba(245,243,255,0.95)
    );
    border: 1px solid rgba(124, 58, 237, 0.22);
    box-shadow:
        0 10px 30px rgba(124, 58, 237, 0.18),
        0 2px 6px rgba(15, 23, 42, 0.06);
    font-size: 1rem;
    font-weight: 600;
    color: #6d28d9;
    letter-spacing: 0.01em;
    margin-bottom: 2rem;
}

.hero-badge:hover {
    transform: translateY(-1px);
    box-shadow:
        0 14px 40px rgba(124, 58, 237, 0.22),
        0 4px 10px rgba(15, 23, 42, 0.08);
}

.hero-badge span:last-child {
  display: inline-block;
  line-height: 1.35;
}

.badge-text {
  text-align: center;
  padding: 0 20px;
  line-height: 1.4;
  display: inline-block;
}

.badge-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  opacity: 0.9;
}

body {
    font-family: 'Inter', sans-serif;
}

h1 {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: #1f2937;
}

.hero h1 {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: clamp(2rem, 3.6vw, 3.2rem);
    line-height: 1.08;
    letter-spacing: -0.035em;
    margin: 0 0 1.25rem;
    max-width: 1100px;
    background: linear-gradient(90deg, #1f2937, #4b5563);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    padding-bottom: 15px;
}

.page-hero h1 {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: clamp(2rem, 3.2vw, 2.8rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-top: 0.4rem;
}

.hero .lead {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #475569;
    max-width: 48rem;
    margin-bottom: 0;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.hero-note {
    margin-top: 1.5rem;
    color: #475569;
}

p {
  line-height: 1.75;
}

/* Cards */
.glass-card,
.feature-card,
.info-card,
.contact-card,
.panel,
.card {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid var(--olala-border);
    box-shadow: var(--olala-shadow);
    border-radius: var(--olala-radius-lg);
}

.hero-panel,
.panel {
    padding: 1.5rem;
}

.hero-panel-grid,
.card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.stat-card {
    padding: 1.25rem;
    border-radius: var(--olala-radius-lg);
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,250,252,0.92));
    border: 1px solid rgba(15, 23, 42, 0.07);
    height: 100%;
}

.stat-card-wide {
    grid-column: span 2;
}

.stat-card h3,
.card h3 {
    color: var(--olala-dark);
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 0.7rem;
}

.stat-card p,
.card p {
    margin: 0;
    color: var(--olala-text);
    line-height: 1.7;
}

.icon-wrap {
    width: 3rem;
    height: 3rem;
    border-radius: var(--olala-radius-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(6, 182, 212, 0.12));
    color: var(--olala-primary);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.btn-outline-brand {
  border: 1px solid rgba(124, 58, 237, 0.25);
  color: #7c3aed;
  background: transparent;
  text-align: center;
}

.btn-outline-brand:hover {
  background: rgba(124, 58, 237, 0.08);
}

/* Sections */
section {
    padding: 3rem 0;
}

.section-heading {
    margin-bottom: 2rem;
}

.section-center {
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
}

.section-title {
    color: #1e293b;
    font-weight: 600;
    letter-spacing: -0.02em;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    margin: 0 0 1rem;
}

.section-kicker {
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--olala-primary);
    margin-bottom: 0.9rem;
}

.section-kicker-light {
    color: rgba(255,255,255,0.68);
}

.section-lead,
.section-heading p,
.panel p,
.feature-card p,
.info-card p {
    line-height: 1.8;
    color: #475569;
}

/* Feature / info cards */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: start;
}

.feature-card,
.info-card,
.contact-card,
.card {
    padding: 1.75rem;
    height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover,
.info-card:hover,
.contact-card:hover,
.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
}

.feature-card h3,
.info-card h3 {
    color: var(--olala-dark);
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 1rem;
    margin-bottom: 0.85rem;
}

.feature-card ul,
.info-card ul,
.card ul {
    padding-left: 1.1rem;
    margin-bottom: 0;
}

.feature-card li,
.info-card li,
.card li {
    margin-bottom: 0.55rem;
}

.info-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 1.5rem;
  align-items: stretch;
}

.info-left .info-card,
.feature-main {
  height: 100%;
}

.feature-main {
  padding: 2rem;
}

.feature-main h3 {
  margin-top: 0;
  margin-bottom: 1rem;
}

.feature-main p {
  margin-bottom: 1rem;
  line-height: 1.8;
  color: #475569;
}

.info-right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-right .info-card {
  height: 100%;
}

.mt-24 {
    margin-top: 2rem;
}

.cta {
    background: linear-gradient(90deg, #1e2a44 0%, #2f5fa3 100%);
    color: #ffffff;
    padding: 2.5rem;
    border-radius: var(--olala-radius-lg);
}

/* Heading */
.cta h2 {
    color: #ffffff;
    margin-top: 0;
}

/* Main text */
.cta p {
    color: rgba(255,255,255,0.92);
}

/* Labels */
.cta strong {
    color: #ffffff;
    font-weight: 600;
}

/* Buttons */
.cta .btn-secondary {
    display: inline-block;
    background: #ffffff;
    color: #1e2a44;
    padding: 0.45rem 0.9rem;
    border-radius: var(--olala-radius-md);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease; /* moved here */
}

/* Hover */
.cta .btn-secondary:hover {
    background: #e6e9ff;
    transform: translateY(-1px);
}

/* Notes */
.cta-note {
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
}

/* Muted box / steps */
.muted-box {
    background: linear-gradient(180deg, #ffffff, #f8fafc);
    border: 1px solid var(--olala-border);
    border-radius: var(--olala-radius-lg);
    padding: 2rem;
    box-shadow: var(--olala-shadow);
    margin-top: 1.5rem;
}

.step {
    position: relative;
    padding-left: 4.25rem;
    margin-bottom: 1.7rem;
}

.step:last-child {
    margin-bottom: 0;
}

.step-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 3rem;
    height: 3rem;
    border-radius: var(--olala-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, var(--olala-primary), var(--olala-secondary));
    box-shadow: 0 14px 28px rgba(124, 58, 237, 0.2);
}

.step h4 {
    color: var(--olala-dark);
    font-weight: 600;
    margin: 0 0 0.45rem;
}

.step p {
    margin: 0;
    color: #475569;
    line-height: 1.7;
}

/* About */
.legacy-strip {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.06), rgba(6, 182, 212, 0.06));
    border: 1px solid rgba(124, 58, 237, 0.08);
    border-radius: var(--olala-radius-lg);
    padding: 1.6rem 1.8rem;
}

.legacy-strip h3 {
    margin-top: 0;
    margin-bottom: 0.6rem;
    color: var(--olala-dark);
}

.legacy-strip p {
    margin: 0;
    color: #475569;
}

/* Page hero */
.page-hero {
    padding: 6rem 0 3rem;
    background:
        radial-gradient(circle at 15% 20%, rgba(124, 58, 237, 0.10), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.page-hero > .container {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding-inline: clamp(1rem, 3vw, 2.5rem);
}

.article-page > .container {
    width: 100%;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
    padding-inline: clamp(1rem, 3vw, 2.5rem);
}

.article-page.managed-page > .container,
.article-page.managed-page .managed-page-content > .container {
    width: 100%;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
}

.article-page.managed-page .article-content.managed-page-content {
    width: 100%;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
}

.page-hero h1 {
    font-size: clamp(2rem, 3.2vw, 2.8rem);
    margin-top: 0.4rem;
}

.page-hero p {
    color: #475569;
    line-height: 1.8;
    max-width: 48rem;
}

.page-hero .article-summary {
    max-width: none;
}

/* Login */
.login-page {
    min-height: calc(100vh - 82px);
    padding: clamp(2rem, 5vw, 5rem) clamp(1rem, 4vw, 4rem);
    background: #f5f7fb;
}

.login-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(400px, 0.92fr);
    max-width: 1320px;
    min-height: 650px;
    margin: 0 auto;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 22px;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
}

.login-visual {
    min-height: 650px;
    background:
        radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.9), transparent 30%),
        linear-gradient(145deg, #eef4f8 0%, #e6edf3 52%, #f8fafc 100%);
}

.login-visual--managed {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: clamp(1.5rem, 4vw, 4rem);
    color: var(--olala-text);
}

.login-visual--managed > * {
    min-width: 0;
    max-width: 100%;
}

.login-visual--managed h1,
.login-visual--managed h2,
.login-visual--managed h3,
.login-visual--managed h4,
.login-visual--managed h5 {
    color: var(--olala-dark);
}

.login-visual--managed img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: var(--olala-radius-md);
}

.login-visual--managed a {
    overflow-wrap: anywhere;
}

.login-content {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(2rem, 5vw, 5rem);
}

.login-form-shell {
    width: min(100%, 420px);
}

.login-form-shell h1 {
    margin: 0 0 2rem;
    color: var(--olala-dark);
    font-size: clamp(2rem, 3vw, 2.65rem);
    font-weight: 700;
    line-height: 1.1;
}

.login-form .form-group {
    margin-bottom: 1.1rem;
}

.login-form label {
    color: var(--olala-dark);
    font-size: 0.9rem;
    font-weight: 600;
}

.login-form .form-control {
    min-height: 52px;
    border-radius: 10px;
    border-color: rgba(15, 23, 42, 0.16);
    background: #ffffff;
    box-shadow: none;
}

.login-form .form-control:focus {
    border-color: var(--olala-primary);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12);
}

.login-microsoft-button,
.login-submit {
    width: 100%;
    min-height: 52px;
    border-radius: 10px;
}

.login-microsoft-button {
    border: 1px solid rgba(15, 23, 42, 0.16);
    background: #ffffff;
    color: var(--olala-dark);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.login-microsoft-button:hover {
    border-color: var(--olala-primary);
    background: #fafaff;
    color: var(--olala-dark);
    transform: translateY(-1px);
}

.login-separator {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.75rem 0;
    color: #64748b;
    font-size: 0.85rem;
}

.login-separator::before,
.login-separator::after {
    flex: 1;
    height: 1px;
    content: "";
    background: rgba(15, 23, 42, 0.12);
}

.login-forgot,
.login-register,
.login-verification {
    font-size: 0.9rem;
}

.login-forgot {
    margin: -0.25rem 0 1.25rem;
    text-align: right;
}

.login-register {
    margin: 1.5rem 0 0;
    color: #64748b;
    text-align: center;
}

.login-verification {
    margin: -1.25rem 0 1.5rem;
}

.login-form-shell a {
    color: var(--olala-primary);
    font-weight: 600;
}

.login-form-shell a:hover {
    color: var(--olala-deep);
}

/* CTA */
.cta-section {
    background:
        radial-gradient(circle at top left, rgba(192, 132, 252, 0.22), transparent 38%),
        radial-gradient(circle at bottom right, rgba(103, 232, 249, 0.18), transparent 38%),
        linear-gradient(135deg, #312e81 0%, #2563eb 55%, #0891b2 100%);
    color: rgba(255,255,255,0.9);
    border-radius: var(--olala-radius-xl);
    padding: 2.5rem;
    margin-top: 1rem;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
}

.cta-section h2 {
    font-size: clamp(1.8rem, 2.4vw, 2.3rem);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 0.85rem;
}

.cta-section .section-kicker {
    font-size: 0.8rem;
    letter-spacing: 0.18em;
}

.cta-section p {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.84);
}

.cta-actions {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

/* Footer */
.site-footer {
    padding: 2rem 0 2.5rem;
    color: #64748b;
    font-size: 0.95rem;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
    background: #fff;
}

.cookie-consent {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    z-index: 1200;
    max-width: 900px;
    margin: 0 auto;
    padding: 1.25rem;
    border: 1px solid var(--olala-border);
    border-radius: var(--olala-radius-md);
    background: #fff;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.2);
}

.cookie-consent h2,
.cookie-preferences h2 {
    margin: 0 0 0.55rem;
    color: #0f172a;
    font-size: 1.1rem;
}

.cookie-consent p,
.cookie-preference-row p {
    margin: 0 0 0.45rem;
    color: #475569;
    font-size: 0.9rem;
    line-height: 1.5;
}

.cookie-consent-actions,
.cookie-preferences-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 0.85rem;
}

.cookie-preferences-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1210;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.45);
}

.cookie-preferences {
    width: min(100%, 520px);
    margin: 10vh auto 0;
    padding: 1.25rem;
    border-radius: var(--olala-radius-md);
    background: #fff;
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.25);
}

.cookie-preference-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 0;
    border-top: 1px solid var(--olala-border);
}

.cookie-preference-locked {
    flex: 0 0 auto;
    color: #166534;
    font-size: 0.85rem;
    font-weight: 600;
}

.cookie-switch input {
    position: absolute;
    opacity: 0;
}

.cookie-switch span {
    display: block;
    width: 2.8rem;
    height: 1.55rem;
    border-radius: 999px;
    background: #94a3b8;
    cursor: pointer;
}

.cookie-switch span::after {
    display: block;
    width: 1.25rem;
    height: 1.25rem;
    margin: 0.15rem;
    border-radius: 50%;
    background: #fff;
    content: "";
    transition: transform 0.15s ease;
}

.cookie-switch input:checked + span {
    background: var(--olala-primary);
}

.cookie-switch input:checked + span::after {
    transform: translateX(1.25rem);
}

.cookie-switch input:focus-visible + span {
    outline: 2px solid var(--olala-primary);
    outline-offset: 2px;
}

/* Inline-style refactor utilities */
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 1rem !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 1rem !important; }
.mb-2 { margin-bottom: 2rem !important; }
.section-top-40 { margin-top: 40px; }
.container-narrow { max-width: 700px; }
.required-mark { color: red; }
.form-error { color: #d9534f; display: none; margin-bottom: 1rem; font-weight: 600; }
.form-error.is-visible { display: block; }
.panel-spaced { margin-bottom: 2rem; }
.panel-warning { border-left: 4px solid #ed6c02; }
.heading-accent { color: #ed6c02; }
.section-title-light { color: #fff; }
.panel-disabled { opacity: 0.6; pointer-events: none; }
.form-row { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1rem; }
.form-flex { flex: 1; min-width: 200px; }
.announcement-colour-row { align-items: flex-end; }
.announcement-colour-inputs { display: flex; align-items: center; gap: 0.5rem; }
.announcement-colour-picker { width: 2.5rem; height: 2.5rem; padding: 0.15rem; border: 1px solid #cbd5e1; border-radius: 5px; background: #fff; cursor: pointer; }
.announcement-colour-hex { flex: 1; min-width: 0; }
.form-actions { margin-top: 1.5rem; display: flex; gap: 0.75rem; align-items: center; }
.form-actions-wrap { flex-wrap: wrap; }
.checkbox-row { display: flex; align-items: center; gap: 0.5rem; }
.checkbox-row input { width: auto; height: auto; }
.checkbox-row label { margin-bottom: 0; cursor: pointer; }
.notification-recipient-actions,
.notification-recipient-counts { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; align-items: center; }
.notification-recipient-counts { margin: 0.65rem 0 0; font-weight: 700; }
.notification-recipient-picker { margin-top: 0.75rem; }
.notification-recipient-panels { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: stretch; gap: 0.75rem; }
.notification-recipient-panel { min-width: 0; padding: 0.75rem; border: 1px solid #cbd5e1; border-radius: 6px; background: #f8fafc; }
.notification-recipient-panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-bottom: 0.5rem; }
.notification-recipient-panel-heading h3 { margin: 0; font-size: 1rem; }
.notification-recipient-panel-count { display: inline-flex; min-width: 1.5rem; justify-content: center; padding: 0.05rem 0.4rem; border-radius: 1rem; background: #e2e8f0; font-size: 0.8rem; }
.notification-recipient-actions { margin: 0.4rem 0 0.55rem; }
.notification-recipient-list { height: 18rem; overflow: auto; border: 1px solid #cbd5e1; border-radius: 6px; background: #fff; }
.notification-recipient-row { display: flex; align-items: center; gap: 0.45rem; min-height: 2.35rem; padding: 0.3rem 0.45rem; border-bottom: 1px solid #e2e8f0; }
.notification-recipient-row:last-child { border-bottom: 0; }
.notification-recipient-row[hidden] { display: none; }
.notification-recipient-option { display: flex; align-items: center; gap: 0.45rem; min-width: 0; flex: 1 1 auto; margin: 0; cursor: pointer; }
.notification-recipient-option input { flex: 0 0 auto; margin: 0; }
.notification-recipient-email,
.notification-recipient-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.notification-recipient-email { flex: 0 1 48%; font-weight: 600; }
.notification-recipient-name { flex: 0 1 25%; color: #475569; }
.notification-recipient-status { flex: 0 1 auto; min-width: 0; font-size: 0.75rem; white-space: nowrap; }
.notification-recipient-status .badge { max-width: 100%; overflow: hidden; text-overflow: ellipsis; vertical-align: middle; }
.notification-recipient-remove { flex: 0 0 auto; padding: 0.1rem 0.4rem; line-height: 1.2; }
.notification-recipient-transfer-actions { display: flex; flex-direction: column; align-items: stretch; justify-content: center; gap: 0.5rem; }
.notification-recipient-transfer-actions .btn { white-space: nowrap; }
@media (max-width: 767.98px) {
  .notification-recipient-panels { grid-template-columns: minmax(0, 1fr); }
  .notification-recipient-transfer-actions { flex-direction: row; flex-wrap: wrap; }
  .notification-recipient-list { height: 14rem; }
}
.form-control-narrow { max-width: 200px; }
.editor-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 0.3rem; padding: 0.5rem; background: #f8fafc; border: 1px solid #cbd5e1; border-bottom: none; border-top-left-radius: 6px; border-top-right-radius: 6px; }
.page-editor-scroll-area { max-height: min(75vh, 52rem); overflow-y: auto; overscroll-behavior: contain; }
.page-editor-scroll-area > .editor-toolbar { position: sticky; top: 0; z-index: 40; background: #f8fafc; box-shadow: 0 4px 10px rgba(15, 23, 42, 0.1); }
.editor-toolbar-group { display: inline-flex; align-items: center; gap: 0.2rem; padding: 0.15rem; border: 1px solid #e2e8f0; border-radius: 5px; background: #fff; }
.editor-toolbar-divider { width: 1px; height: 1.65rem; margin: 0 0.2rem; background: #cbd5e1; }
.editor-toolbar button,
.editor-toolbar select,
.editor-toolbar-menu summary { min-height: 2rem; padding: 0.35rem 0.55rem; font-size: 0.78rem; line-height: 1.2; }
.editor-toolbar button:hover,
.editor-toolbar select:hover,
.editor-toolbar-menu summary:hover { border-color: #94a3b8; background: #f1f5f9; }
.editor-toolbar button:focus-visible,
.editor-toolbar select:focus-visible,
.editor-toolbar-menu summary:focus-visible { outline: 2px solid #2563eb; outline-offset: 1px; }
.editor-toolbar button.is-active { color: #fff; border-color: #1d4ed8; background: #1d4ed8; }
.editor-toolbar-select { display: inline-flex; align-items: center; }
.editor-toolbar-select select { min-width: 5.4rem; cursor: pointer; }
.editor-toolbar-menu { position: relative; }
.editor-toolbar-menu summary { display: inline-flex; align-items: center; gap: 0.3rem; list-style: none; cursor: pointer; }
.editor-toolbar-menu summary::-webkit-details-marker { display: none; }
.editor-toolbar-menu-panel { position: absolute; top: calc(100% + 0.25rem); left: 0; z-index: 20; display: grid; min-width: 10rem; gap: 0.25rem; padding: 0.35rem; border: 1px solid #cbd5e1; border-radius: 6px; background: #fff; box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16); }
.editor-toolbar-menu-panel button { width: 100%; text-align: left; white-space: nowrap; }
.editor-toolbar-source { margin-left: auto; }
.align-justify { text-align: justify; }
.editor-surface { min-height: 250px; overflow-y: auto; resize: vertical; padding: 0.85rem; border: 1px solid #cbd5e1; border-bottom-left-radius: 6px; border-bottom-right-radius: 6px; background: #fff; }
.editor-source { display: block; width: 100%; box-sizing: border-box; min-height: 320px; resize: vertical; overflow: auto; color: #0f172a; font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace; font-size: 0.88rem; line-height: 1.55; white-space: pre; tab-size: 2; }
.fs-12 { font-size: 12px; }
.fs-14 { font-size: 14px; }
.fs-16 { font-size: 16px; }
.fs-18 { font-size: 18px; }
.fs-20 { font-size: 20px; }
.fs-24 { font-size: 24px; }
.fs-28 { font-size: 28px; }
.fs-32 { font-size: 32px; }
.align-left { text-align: left; }
.align-center { text-align: center; }
.align-right { text-align: right; }
.article-content img.align-left,
.editor-surface img.align-left { display: block; margin-inline-start: 0; margin-inline-end: auto; }
.article-content img.align-center,
.editor-surface img.align-center { display: block; margin-inline-start: auto; margin-inline-end: auto; }
.article-content img.align-right,
.editor-surface img.align-right { display: block; margin-inline-start: auto; margin-inline-end: 0; }
.article-content img,
.editor-surface img { max-width: 100%; height: auto; }
.editor-image-context-menu {
    position: fixed;
    z-index: 1100;
    margin: 0;
    padding: 0.25rem;
    list-style: none;
    background: #fff;
    border: 1px solid var(--olala-border);
    border-radius: var(--olala-radius-md);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.2);
}

.editor-image-context-menu button {
    display: block;
    width: 100%;
    padding: 0.4rem 0.75rem;
    border: 0;
    background: none;
    text-align: left;
    font-size: 0.9rem;
    color: #1e293b;
    cursor: pointer;
    border-radius: var(--olala-radius-sm, 4px);
    white-space: nowrap;
}

.editor-image-context-menu button:hover {
    background: #f1f5f9;
}
.editor-image-context-menu-label {
    display: block;
    padding: 0.3rem 0.75rem 0.45rem;
    color: #64748b;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}
.editor-image-context-menu-align-label { padding-bottom: 0.2rem; }
.editor-image-properties-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1110;
    display: grid;
    place-items: center;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.35);
}
.editor-image-properties {
    width: min(100%, 34rem);
    padding: 1.25rem;
    background: #fff;
    border: 1px solid var(--olala-border);
    border-radius: var(--olala-radius-md);
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.25);
}
.editor-image-properties h2 { margin: 0 0 1rem; font-size: 1.15rem; }
.editor-image-properties .form-row { display: flex; gap: 0.75rem; }
.editor-image-properties .form-flex { flex: 1 1 0; min-width: 0; }
.editor-image-properties label { display: block; margin-bottom: 0.3rem; font-weight: 600; }
.editor-image-properties .checkbox-row { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.85rem; }
.editor-image-properties .checkbox-row input { margin: 0; }
.editor-image-properties .form-actions { display: flex; justify-content: flex-end; gap: 0.6rem; margin-top: 1.1rem; }
.editor-link-properties { position: fixed; z-index: 1120; display: grid; width: min(19rem, calc(100vw - 1rem)); gap: 0.35rem; padding: 0.75rem; border: 1px solid var(--olala-border); border-radius: var(--olala-radius-md); background: #fff; box-shadow: 0 12px 32px rgba(15, 23, 42, 0.2); }
.editor-link-properties label { margin: 0.2rem 0 0; font-size: 0.78rem; font-weight: 600; color: #334155; }
.editor-link-properties .form-control { min-height: 2.1rem; padding: 0.35rem 0.5rem; font-size: 0.82rem; }
.editor-link-properties-actions { display: flex; justify-content: flex-end; gap: 0.4rem; margin-top: 0.35rem; }
@media (max-width: 560px) { .editor-image-properties .form-row { flex-wrap: wrap; } .editor-image-properties .form-flex { flex-basis: 30%; } }
.is-hidden { display: none !important; }
.is-visible { display: block !important; }
.is-visible-inline { display: inline-block !important; }
.delete-button { background-color: #d32f2f; color: #fff; border-color: #d32f2f; }
.delete-warning { color: #d32f2f; font-weight: 600; }
.status-published { color: #2e7d32; font-weight: 600; }
.status-draft { color: #ed6c02; font-weight: 600; }
.status-private { color: #7b1fa2; font-weight: 600; }
.status-public { color: #0288d1; font-weight: 600; }
.status-active { color: #2e7d32; font-weight: 600; }
.status-inactive { color: #757575; }
.card-link { display: block; text-decoration: none; color: inherit; }
.category-list { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.chat-subtitle { color: rgba(255,255,255,0.78); }
.article-back-link { margin-top: 1.5rem; }
.article-page { overflow-x: clip; }
.article-content { line-height: 1.8; }
.article-content img { display: block; max-width: 100%; height: auto; }
.article-share {
    margin: 1.5rem 0;
    padding: 1.1rem 0;
    border-block: 1px solid var(--olala-border);
}
.article-share h2 {
    margin: 0 0 0.9rem;
    font-family: 'Manrope', sans-serif;
    font-size: 1.15rem;
}
.article-share-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem;
}
.article-share-link {
    display: inline-flex;
    width: 2.8rem;
    height: 2.8rem;
    min-height: 2.8rem;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: 50%;
    background: #fff;
    color: var(--olala-primary);
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.article-share-link:hover,
.article-share-link:focus-visible {
    background: #f5f3ff;
    border-color: rgba(124, 58, 237, 0.4);
    color: var(--olala-primary);
}
.article-share-link:hover { transform: translateY(-1px); }
.article-share-link:focus-visible {
    outline: 2px solid var(--olala-primary);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.12);
}
.article-share-icon,
.article-back-icon {
    display: block;
    width: 1.25rem;
    height: 1.25rem;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}
.article-share-icon-facebook {
    fill: currentColor;
    stroke: none;
}
.article-share-status {
    min-height: 1.25rem;
    margin: 0.5rem 0 0;
    color: var(--olala-text);
    font-size: 0.9rem;
}
.article-back-link .btn {
    gap: 0.5rem;
}
@media (max-width: 480px) {
    .article-share-actions { gap: 0.45rem; }
    .article-share-link { width: 2.65rem; height: 2.65rem; min-height: 2.65rem; }
    .article-share-icon { width: 1.15rem; height: 1.15rem; }
}
.article-locked { padding: 1rem; border: 1px solid var(--olala-border); border-radius: var(--olala-radius-md); background: #f8fafc; }
.content-component { display: block; }
.sticky-image-scroll {
    --sticky-image-scroll-height: clamp(26rem, 76vh, 54rem);
    --sticky-image-scroll-header-offset: 84px;
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    isolation: isolate;
    margin-block: 3rem;
}

.sticky-image-scroll__media,
.sticky-image-scroll__content {
    grid-area: 1 / 1;
    min-width: 0;
}

.sticky-image-scroll__media {
    position: sticky;
    top: calc(var(--sticky-image-scroll-header-offset) + 1rem);
    z-index: 0;
    align-self: start;
    height: var(--sticky-image-scroll-height);
    overflow: hidden;
    border-radius: var(--olala-radius-xl);
    background: #e2e8f0;
    box-shadow: var(--olala-shadow);
}

.sticky-image-scroll__media img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
}

.sticky-image-scroll__image-prompt {
    position: absolute;
    inset: 1rem;
    display: grid;
    place-items: center;
    margin: 0;
    padding: 2rem;
    border: 1px dashed #94a3b8;
    border-radius: var(--olala-radius-lg);
    background: rgba(255, 255, 255, 0.92);
    color: #334155;
    text-align: center;
}

.sticky-image-scroll__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: calc(var(--sticky-image-scroll-height) * 0.58);
    padding-bottom: 1rem;
}

.sticky-image-scroll__panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: min(100%, 58rem);
    min-height: clamp(22rem, 56vh, 40rem);
    margin-inline: auto;
    padding: clamp(1.5rem, 5vw, 4rem);
    border: 1px solid var(--olala-border);
    border-radius: var(--olala-radius-xl);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.14);
}

.sticky-image-scroll__panel h2 {
    margin-bottom: 1rem;
}

.editor-surface .sticky-image-scroll {
    display: block;
    margin-block: 1.5rem;
    padding: 1rem;
    border: 1px dashed #94a3b8;
    border-radius: var(--olala-radius-lg);
}

.editor-surface .sticky-image-scroll__media {
    position: relative;
    top: auto;
    height: 18rem;
    margin-bottom: 1rem;
}

.editor-surface .sticky-image-scroll__content {
    display: flex;
    padding: 0;
}

.editor-surface .sticky-image-scroll__panel {
    width: 100%;
    min-height: 0;
    margin: 0;
    padding: 1rem;
    box-shadow: none;
}

@media (max-width: 991.98px) {
    .sticky-image-scroll {
        --sticky-image-scroll-height: clamp(24rem, 66vh, 42rem);
        --sticky-image-scroll-header-offset: 70px;
    }
}

@media (max-width: 700px), (prefers-reduced-motion: reduce) {
    .sticky-image-scroll {
        display: flex;
        flex-direction: column;
    }

    .sticky-image-scroll__media {
        position: relative;
        top: auto;
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 10;
    }

    .sticky-image-scroll__content {
        padding: 1rem 0 0;
    }

    .sticky-image-scroll__panel {
        min-height: 0;
    }
}

.content-component-full_width {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    box-sizing: border-box;
}

@media (max-width: 991.98px) {
    .admin-workspace {
        grid-template-columns: 58px minmax(0, 1fr);
    }

    .admin-sidebar {
        top: 78px;
        height: calc(100vh - 78px);
    }

    .admin-action-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-workspace.sidebar-expanded {
        grid-template-columns: var(--admin-sidebar-width, 230px) minmax(0, 1fr);
    }
}

@media (max-width: 640px) {
    .admin-workspace {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        position: fixed;
        top: 78px;
        bottom: 0;
        left: 0;
        width: 58px;
        height: auto;
        padding-right: 0.4rem;
        padding-left: 0.4rem;
    }

    .admin-sidebar.expanded {
        width: min(230px, 82vw);
    }

    .admin-sidebar-resize-handle {
        display: none !important;
    }

    .admin-workspace.sidebar-expanded {
        grid-template-columns: 1fr;
    }

    .admin-main {
        padding: 1.5rem 1rem;
    }

    .admin-action-grid {
        grid-template-columns: 1fr;
    }
}

/* Public article image gallery */
.article-gallery {
    width: min(100%, 960px);
    margin: 0 auto 2rem;
}

.article-gallery-title {
    margin: 0 0 1rem;
}

.article-gallery-stage {
    position: relative;
    min-height: clamp(220px, 48vw, 620px);
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid var(--olala-border);
    border-radius: var(--olala-radius-lg);
    background: #f1f5f9;
}

.article-gallery-slide {
    display: none;
    width: 100%;
    height: 100%;
    min-height: clamp(220px, 48vw, 620px);
    margin: 0;
}

.article-gallery-slide.is-active {
    display: grid;
    place-items: center;
}

.article-gallery-slide img {
    width: 100%;
    height: 100%;
    max-height: 620px;
    object-fit: contain;
}

.article-gallery-control {
    position: absolute;
    top: 50%;
    z-index: 1;
    width: 2.75rem;
    height: 2.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.68);
    color: #fff;
    cursor: pointer;
    transform: translateY(-50%);
    transition: background 0.2s ease, transform 0.2s ease;
}

.article-gallery-control:hover,
.article-gallery-control:focus-visible {
    background: rgba(15, 23, 42, 0.88);
    transform: translateY(-50%) scale(1.04);
}

.article-gallery-prev {
    left: 1rem;
}

.article-gallery-next {
    right: 1rem;
}

.article-gallery-counter {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    padding: 0.35rem 0.65rem;
    border-radius: var(--olala-radius-sm);
    background: rgba(15, 23, 42, 0.72);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
}

.article-gallery-dots {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 1rem 0 0;
}

.article-gallery-dot {
    width: 0.7rem;
    height: 0.7rem;
    padding: 0;
    border: 1px solid #94a3b8;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
}

.article-gallery-dot.is-active {
    border-color: var(--olala-primary);
    background: var(--olala-primary);
}

.article-gallery-dot:focus-visible,
.article-gallery-control:focus-visible {
    outline: 3px solid rgba(6, 182, 212, 0.45);
    outline-offset: 3px;
}

@media (max-width: 640px) {
    .article-gallery-stage,
    .article-gallery-slide {
        min-height: clamp(180px, 58vw, 420px);
    }

    .article-gallery-control {
        width: 2.5rem;
        height: 2.5rem;
    }

    .article-gallery-prev {
        left: 0.6rem;
    }

    .article-gallery-next {
        right: 0.6rem;
    }
}

/* Public Shop */
.shop-page {
    padding-top: 2rem;
    padding-bottom: 4rem;
}

.shop-category-breadcrumb-bar {
    background: #f8fafc;
    border-bottom: 1px solid var(--olala-border);
}

.shop-category-breadcrumb-bar > .container {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding-top: 0.875rem;
    padding-bottom: 0.875rem;
    padding-inline: clamp(1rem, 3vw, 2.5rem);
}

.shop-page.container {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding-inline: clamp(1rem, 3vw, 2.5rem);
}

.shop-home-breadcrumb-bar > .container,
.shop-home-hero > .container,
.shop-home-page.container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding-inline: clamp(1rem, 3vw, 2.5rem);
}

.shop-home-hero > .container {
    padding-top: 1.5rem;
    padding-bottom: 1.75rem;
}

.shop-home-page {
    padding-top: 1.75rem;
    padding-bottom: 3rem;
}

.shop-home-section + .shop-home-section {
    margin-top: 2.5rem;
}

.shop-home-section h2 {
    margin: 0 0 1.25rem;
}

.shop-home-category-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    align-items: stretch;
    gap: 1.25rem;
}

.shop-home-category-card {
    display: flex;
    min-width: 0;
    height: 100%;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--olala-border);
    border-radius: var(--olala-radius-lg);
    background: #fff;
    box-shadow: var(--olala-shadow);
    color: inherit;
    text-decoration: none;
}

.shop-home-category-card:hover {
    border-color: var(--olala-primary);
}

.shop-home-category-card:focus-visible {
    outline: 3px solid var(--olala-primary);
    outline-offset: 3px;
}

.shop-home-category-image {
    display: grid;
    aspect-ratio: 16 / 9;
    place-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f7ff, #fff);
}

.shop-home-category-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shop-home-category-image > span {
    display: block;
    width: 100%;
    height: 100%;
}

.shop-home-category-content {
    display: flex;
    min-height: 190px;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.25rem 1.5rem 1.5rem;
}

.shop-home-category-content h3 {
    margin: 0 0 0.6rem;
    color: var(--olala-dark);
    font-size: 1.25rem;
}

.shop-home-category-content p {
    margin: 0 0 1.25rem;
    color: #475569;
    line-height: 1.6;
}

.shop-home-category-action {
    margin-top: auto;
    color: var(--olala-primary);
    font-weight: 700;
}

.shop-home-products-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.shop-home-products-heading h2 {
    margin: 0;
}

.shop-home-products-heading > span {
    color: #64748b;
    font-size: 0.9rem;
}

.shop-home-page .shop-home-product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.shop-product-card-type {
    display: inline-block;
    margin: 0.35rem 0 0.25rem;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: #f1efff;
    color: #5143a8;
    font-size: 0.75rem;
    font-weight: 700;
}

.shop-category-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    color: #64748b;
    font-size: 0.9rem;
    list-style: none;
}

.shop-category-breadcrumbs a {
    color: var(--olala-primary);
}

.shop-category-breadcrumbs [aria-current="page"] {
    color: var(--olala-dark);
}

.shop-product-breadcrumb-bar .shop-category-breadcrumbs [aria-current="page"] {
    min-width: 0;
    overflow-wrap: anywhere;
}

.shop-category-page {
    padding-top: 1rem;
}

.shop-category-hero-description {
    white-space: pre-line;
}

.shop-product-content {
    padding-top: 1.25rem;
}

.shop-category-products {
    margin: 0;
}

.shop-hero .container {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.shop-section + .shop-section {
    margin-top: 3rem;
}

.shop-section h2 {
    margin: 0 0 1.25rem;
}

.shop-category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.shop-category-card {
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.45rem;
    padding: 1.25rem;
    border: 1px solid var(--olala-border);
    border-radius: var(--olala-radius-lg);
    background: #fff;
    box-shadow: var(--olala-shadow);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.shop-category-card:hover,
.shop-category-card:focus-visible {
    border-color: var(--olala-primary);
    transform: translateY(-2px);
}

.shop-category-card strong {
    color: var(--olala-dark);
    font-size: 1.1rem;
}

.shop-category-path,
.shop-product-card-category {
    color: #64748b;
    font-size: 0.78rem;
}

.shop-product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
}

.shop-product-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--olala-border);
    border-radius: var(--olala-radius-lg);
    background: #fff;
    box-shadow: var(--olala-shadow);
}

.shop-product-card-link {
    display: block;
    height: 100%;
}

.shop-product-card-image,
.shop-product-image-stage {
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: #f8fafc;
}

.shop-product-card-image img,
.shop-product-image-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff;
}

.shop-product-card-image > span,
.shop-product-image-placeholder > span {
    color: #64748b;
    font-size: 0.9rem;
}

.shop-product-card-details {
    padding: 1rem;
}

.shop-product-card-details h3 {
    margin: 0.35rem 0 0.5rem;
    color: var(--olala-dark);
    font-size: 1.05rem;
}

.shop-product-card-price,
.shop-product-price {
    margin: 0;
    color: var(--olala-dark);
    font-weight: 700;
}

.shop-product-card-description {
    display: -webkit-box;
    overflow: hidden;
    margin: 0.65rem 0 0;
    color: #64748b;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.shop-product-card-cart-form {
    padding: 0 1rem 1rem;
}

.shop-product-card-cart-form .btn,
.shop-buy-now form .btn {
    width: 100%;
}

.shop-buy-now {
    display: grid;
    gap: 0.65rem;
}

.shop-cart-page > h1 {
    margin-bottom: 1.5rem;
}

.shop-cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
    align-items: start;
    gap: 1.5rem;
}

.shop-cart-items {
    display: grid;
    gap: 1rem;
}

.shop-cart-item {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr) auto;
    align-items: start;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--olala-border);
    border-radius: var(--olala-radius-lg);
    background: #fff;
    box-shadow: var(--olala-shadow);
}

.shop-cart-item-image {
    display: grid;
    place-items: center;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 0.5rem;
    background: #f8fafc;
    color: #64748b;
    font-size: 0.8rem;
}

.shop-cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.shop-cart-item-details h2,
.shop-cart-summary h2 {
    margin: 0 0 0.5rem;
    color: var(--olala-dark);
    font-size: 1.1rem;
}

.shop-cart-item-details h2 a {
    color: inherit;
}

.shop-cart-item-details p,
.shop-cart-summary p {
    margin: 0 0 0.5rem;
}

.shop-cart-item-type {
    color: #64748b;
    font-size: 0.85rem;
}

.shop-cart-item-total {
    margin: 0;
    color: var(--olala-dark);
    font-weight: 700;
    white-space: nowrap;
}

.shop-cart-item-actions,
.shop-cart-quantity-form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
}

.shop-cart-quantity-form input[type="number"] {
    width: 5rem;
}

.shop-cart-quantity-form .btn {
    padding: 0.4rem 0.7rem;
}

.shop-cart-remove,
.shop-cart-continue {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--olala-primary);
    text-decoration: underline;
}

.shop-cart-summary {
    position: sticky;
    top: 1rem;
    padding: 1.25rem;
    border: 1px solid var(--olala-border);
    border-radius: var(--olala-radius-lg);
    background: #fff;
    box-shadow: var(--olala-shadow);
}

.shop-cart-summary > p {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.shop-cart-summary form .btn {
    width: 100%;
    margin: 0.5rem 0 0.85rem;
}

.shop-cart-summary > .btn {
    width: 100%;
    margin: 0.5rem 0 0.85rem;
}

.shop-cart-empty {
    padding: 2rem;
    border: 1px solid var(--olala-border);
    border-radius: var(--olala-radius-lg);
    background: #fff;
    text-align: center;
}

.shop-cart-count {
    display: inline-grid;
    min-width: 1.2rem;
    height: 1.2rem;
    place-items: center;
    margin-left: -0.5rem;
    border-radius: 50%;
    background: var(--olala-primary);
    color: #fff;
    font-size: 0.7rem;
    line-height: 1;
}

.shop-cart-nav-link {
    position: relative;
}

@media (max-width: 760px) {
    .shop-cart-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .shop-cart-summary {
        position: static;
    }

    .shop-cart-item {
        grid-template-columns: 72px minmax(0, 1fr);
        gap: 0.75rem;
    }

    .shop-cart-item-total {
        grid-column: 2;
    }

    .shop-cart-item-actions {
        align-items: flex-start;
        flex-direction: column;
    }
}

.shop-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    color: #64748b;
    font-size: 0.9rem;
}

.shop-breadcrumbs a {
    color: var(--olala-primary);
}

.shop-product-detail {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    grid-template-areas:
        "media title"
        "media info"
        "media purchase";
    gap: 0.5rem 1.5rem;
    align-items: start;
    padding-top: 0;
}

.shop-product-title {
    grid-area: title;
    min-width: 0;
    margin: 0;
    overflow-wrap: anywhere;
    font-size: clamp(1.7rem, 2.6vw, 2.35rem);
}

.shop-product-media {
    grid-area: media;
    min-width: 0;
}

.shop-product-information {
    grid-area: info;
    min-width: 0;
    color: #475569;
}

.shop-product-information > :last-child {
    margin-bottom: 0;
}

.shop-product-sku {
    margin: 0;
    overflow-wrap: anywhere;
}

.shop-product-purchase {
    grid-area: purchase;
    min-width: 0;
    padding: 1rem;
    border: 1px solid var(--olala-border);
    border-radius: var(--olala-radius-lg);
    background: #f8fafc;
    text-align: center;
}

.shop-product-image-stage {
    border: 1px solid var(--olala-border);
    border-radius: var(--olala-radius-lg);
}

.shop-product-image-slide {
    display: none;
    width: 100%;
    height: 100%;
    margin: 0;
}

.shop-product-image-slide.is-active {
    display: grid;
    width: 100%;
    height: 100%;
}

.shop-product-image-slide[hidden] {
    display: none !important;
}

.shop-product-image-open {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    overflow: hidden;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
}

.shop-product-image-open:focus-visible {
    outline: 3px solid rgba(124, 58, 237, 0.45);
    outline-offset: -3px;
}

.shop-product-lightbox {
    position: relative;
    width: min(94vw, 1100px);
    max-width: none;
    max-height: 92vh;
    overflow: auto;
    padding: 3.5rem 1rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--olala-radius-lg);
    background: #fff;
}

.shop-product-lightbox::backdrop {
    background: rgba(15, 23, 42, 0.82);
}

.shop-product-lightbox > img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 78vh;
    margin: 0 auto;
    object-fit: contain;
}

.shop-product-lightbox-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
}

.shop-product-thumbnails {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 0.75rem;
}

.shop-product-thumbnail {
    width: 4.5rem;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    padding: 0;
    border: 2px solid transparent;
    border-radius: var(--olala-radius-md);
    background: #f8fafc;
    cursor: pointer;
}

.shop-product-thumbnail.is-active {
    border-color: var(--olala-primary);
}

.shop-product-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shop-product-thumbnail:focus-visible {
    outline: 3px solid rgba(124, 58, 237, 0.35);
    outline-offset: 2px;
}

.shop-product-price {
    margin: 0 0 0.5rem;
    font-size: 1.5rem;
}

.shop-product-type {
    display: inline-block;
    margin: 0;
    padding: 0.3rem 0.6rem;
    border-radius: var(--olala-radius-sm);
    background: #f3e8ff;
    color: #6b21a8;
    font-size: 0.85rem;
    font-weight: 600;
}

.shop-product-details {
    width: 100%;
    max-width: none;
    margin: 1rem 0 0;
}

.shop-product-details-content {
    line-height: 1.7;
}

.shop-product-details-content img {
    display: block;
    max-width: 100%;
    height: auto;
}

.shop-product-details-content > :first-child {
    margin-top: 0;
}

.shop-product-details-content > :last-child {
    margin-bottom: 0;
}

.shop-buy-now {
    margin-top: 0.5rem;
}

.shop-product-purchase .shop-buy-now .btn {
    width: min(100%, 17rem);
    justify-content: center;
    min-height: 2.9rem;
    margin-inline: auto;
}

.shop-product-content > .article-share {
    margin: 0.75rem 0 0;
    padding: 0.5rem 0;
}

.shop-checkout-unavailable,
.shop-empty {
    margin: 0.75rem 0 0;
    color: #64748b;
}

@media (max-width: 1200px) {
    .shop-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .shop-home-page .shop-home-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 960px) {
    .shop-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .shop-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .shop-product-detail {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        grid-template-areas:
            "media title"
            "media info"
            "media purchase";
        gap: 0.5rem 1.25rem;
    }
}

@media (max-width: 640px) {
    .shop-page {
        padding-top: 1rem;
    }

    .shop-home-page .shop-home-category-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .shop-home-page .shop-home-product-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .shop-home-category-content {
        min-height: 0;
        padding: 1rem 1.1rem 1.25rem;
    }

    .shop-home-products-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.35rem;
    }

    .shop-product-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 0.75rem;
    }

    .shop-product-card-details {
        padding: 0.75rem;
    }

}

@media (max-width: 700px) {
    .shop-product-detail {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "title"
            "info"
            "media"
            "purchase";
        gap: 0.75rem;
    }

    .shop-product-title {
        font-size: clamp(1.55rem, 7vw, 2rem);
    }

    .shop-product-purchase {
        padding: 1rem;
    }
}

@media (max-width: 420px) {
    .shop-category-grid {
        grid-template-columns: 1fr;
    }
}

.support-progress { display: none; }
.support-progress.is-visible { display: block; }
.table-row-hidden { display: none !important; }
.attachments-visible { display: block; }
.attachments-hidden { display: none; }

/* Reusable image editor */
.image-editor-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.72);
}

/* Home Page Gallery */
.home-gallery-section {
    padding-top: 1rem;
    background: #0f172a;
}

.home-gallery-section > .container {
    width: 100%;
    max-width: 1900px;
}

.home-gallery {
    position: relative;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid var(--olala-border);
    border-radius: var(--olala-radius-lg);
    background: #0f172a;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.14);
}

.home-gallery-track {
    width: 100%;
}

.home-gallery-slide {
    display: none;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 380px);
    align-items: center;
    background: var(--gallery-background, transparent);
}

.home-gallery-slide.is-active {
    display: grid;
}

.home-gallery-media {
    width: 100%;
    max-width: 380px;
    aspect-ratio: 1 / 1;
    background: #1e293b;
    overflow: hidden;
    border-radius: var(--olala-radius-md);
}

.home-gallery-media img,
.home-gallery-media iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
}

.home-gallery-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(1.5rem, 4vw, 4rem);
    color: var(--gallery-text, #fff);
}

.home-gallery-content h2 {
    margin: 0 0 1rem;
    color: var(--gallery-text, #fff);
    font-size: clamp(1.5rem, 3vw, 2.6rem);
}

.home-gallery-content p {
    color: var(--gallery-text, rgba(255, 255, 255, 0.82));
    line-height: 1.7;
}

.home-gallery-badge {
    margin-bottom: 0.75rem;
    color: var(--gallery-text, #67e8f9) !important;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.home-gallery-content a {
    color: var(--gallery-link, inherit);
}

.home-gallery-controls {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.75rem 1rem 1rem;
    background: #0f172a;
}

.home-gallery-arrow {
    position: static;
    width: 2.75rem;
    height: 2.75rem;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.72);
    color: #fff;
    cursor: pointer;
}

.home-gallery-arrow:hover,
.home-gallery-arrow:focus-visible {
    background: rgba(15, 23, 42, 0.94);
}

.gallery-admin-preview {
    width: 80px;
    height: 48px;
    border-radius: var(--olala-radius-sm);
    object-fit: cover;
}

.inline-form { display: inline; }

.gallery-upload-row {
    display: flex;
    align-items: end;
    gap: 0.75rem;
    margin-top: 0.9rem;
}

.gallery-upload-row > div {
    flex: 1 1 320px;
}

.gallery-image-preview {
    width: min(100%, 300px);
    aspect-ratio: 1 / 1;
    margin-top: 1rem;
    overflow: hidden;
    border: 1px solid var(--olala-border);
    border-radius: var(--olala-radius-md);
    background: #f1f5f9;
}

.gallery-image-preview img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 700px) {
    .home-gallery-slide {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .home-gallery-media {
        width: 100%;
        max-width: none;
    }

    .home-gallery-content {
        padding: 1.5rem 2.75rem 2.5rem;
    }

    .gallery-upload-row {
        align-items: stretch;
        flex-direction: column;
    }
}

.image-editor-dialog {
    width: min(100%, 1080px);
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--olala-radius-lg);
    background: #fff;
    box-shadow: 0 24px 80px rgba(15, 23, 42, 0.3);
}

.image-editor-header,
.image-editor-meta,
.image-editor-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.image-editor-header {
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.image-editor-header h2,
.image-editor-header p,
.image-editor-original-panel h3,
.image-editor-preview-panel h3 {
    margin-top: 0;
}

.image-editor-header p {
    margin-bottom: 0;
    color: #64748b;
}

.image-editor-close {
    width: 2.25rem;
    height: 2.25rem;
    border: 0;
    border-radius: 50%;
    background: #f1f5f9;
    color: #334155;
    font-size: 1.5rem;
    cursor: pointer;
}

.image-editor-workspace {
    display: grid;
    grid-template-columns: minmax(180px, 0.7fr) minmax(320px, 1.3fr);
    gap: 1.25rem;
    align-items: start;
}

.image-editor-original-preview {
    display: grid;
    place-items: center;
    min-height: 180px;
    padding: 0.75rem;
    border: 1px solid var(--olala-border);
    border-radius: var(--olala-radius-md);
    background: #f8fafc;
}

.image-editor-original-preview img {
    width: 100%;
    max-height: 300px;
    object-fit: contain;
}

.image-editor-viewport {
    position: relative;
    width: 100%;
    overflow: hidden;
    border: 2px solid var(--olala-primary);
    border-radius: var(--olala-radius-md);
    background: #0f172a;
    touch-action: none;
    user-select: none;
}

.image-editor-square-mode .image-editor-viewport {
    background: #fff;
}

.image-editor-fit-mode-control {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #475569;
    font-size: 0.85rem;
}

.image-editor-fit-mode-control[hidden] {
    display: none;
}

.image-editor-fit-mode-control select {
    width: auto;
    min-width: 10.5rem;
}

.image-editor-viewport img {
    position: absolute;
    max-width: none;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

.image-editor-warning {
    min-height: 1.5rem;
    margin: 0.6rem 0 0;
    color: #9a6700;
    font-weight: 600;
}

.image-editor-warning:not(.is-visible) {
    visibility: hidden;
}

.image-editor-meta {
    justify-content: space-between;
    min-height: 2rem;
    margin-top: 1rem;
    color: #475569;
    font-size: 0.9rem;
}

.image-editor-controls {
    flex-wrap: wrap;
    justify-content: flex-end;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--olala-border);
}

.image-editor-zoom {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.image-editor-zoom input[type="range"] {
    width: 150px;
}

.image-editor-zoom [data-image-editor-zoom-value] {
    min-width: 3.5rem;
    color: #475569;
    font-size: 0.85rem;
    text-align: right;
}

.image-editor-crop-box {
    display: none;
    position: absolute;
    border: 2px dashed #ffffff;
    box-shadow: 0 0 0 9999px rgba(15, 23, 42, 0.45);
    box-sizing: border-box;
    touch-action: none;
    cursor: move;
    pointer-events: auto;
}

.image-editor-crop-handle {
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--olala-primary);
    transform: translate(-50%, -50%);
    touch-action: none;
    pointer-events: auto;
}

.image-editor-crop-handle-nw { top: 0; left: 0; cursor: nwse-resize; }
.image-editor-crop-handle-ne { top: 0; left: 100%; cursor: nesw-resize; }
.image-editor-crop-handle-sw { top: 100%; left: 0; cursor: nesw-resize; }
.image-editor-crop-handle-se { top: 100%; left: 100%; cursor: nwse-resize; }

.image-editor-dimensions {
    display: none;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.image-editor-dimension-field,
.image-editor-lock-aspect-field {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #475569;
    font-size: 0.85rem;
}

.image-editor-dimension-field input {
    width: 5.5rem;
}

.image-editor-mode-body .image-editor-crop-box { display: block; }
.image-editor-mode-body .image-editor-dimensions { display: inline-flex; }
.image-editor-mode-body .image-editor-zoom { display: none; }

@media (max-width: 700px) {
    .image-editor-dialog {
        padding: 1rem;
    }

    .image-editor-workspace {
        grid-template-columns: 1fr;
    }

    .image-editor-original-preview img {
        max-height: 180px;
    }

    .image-editor-controls {
        justify-content: stretch;
    }

    .image-editor-controls > button,
    .image-editor-zoom,
    .image-editor-fit-mode-control {
        flex: 1 1 auto;
    }

    .image-editor-zoom input[type="range"] {
        flex: 1;
        min-width: 100px;
    }

    .image-editor-fit-mode-control select {
        flex: 1;
        min-width: 0;
    }
}

/* Article image manager */
.article-images-panel {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--olala-border);
}

.article-images-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.article-images-heading h3 {
    margin-bottom: 0.35rem;
}

.article-images-count {
    color: var(--olala-primary);
    white-space: nowrap;
}

.article-images-toolbar {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(220px, 1fr) auto;
    align-items: end;
    gap: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border: 1px solid var(--olala-border);
    border-radius: var(--olala-radius-md);
}

.article-images-picker,
.article-images-upload-fields {
    display: grid;
    gap: 0.45rem;
}

.article-images-picker input[type="file"] {
    width: 100%;
    padding: 0.55rem;
    border: 1px solid #cbd5e1;
    border-radius: var(--olala-radius-sm);
    background: #fff;
    font: inherit;
}

.article-images-status {
    display: none;
    margin: 1rem 0;
    font-weight: 600;
}

.article-images-status.is-visible {
    display: block !important;
}

.article-images-status-error {
    color: #b42318;
}

.article-images-status-success {
    color: #18794e;
}

.article-images-status-warning {
    color: #9a6700;
}

.article-images-status-info {
    color: #475569;
}

.article-images-grid {
    overflow-x: auto;
    border: 1px solid var(--olala-border);
    border-radius: var(--olala-radius-md);
    background: #fff;
}

.article-images-table {
    width: 100%;
    min-width: 620px;
    border-collapse: collapse;
    text-align: left;
}

.article-images-table th,
.article-images-table td {
    padding: 0.65rem 0.8rem;
    border-bottom: 1px solid var(--olala-border);
    vertical-align: middle;
}

.article-images-table th {
    color: #475569;
    background: #f8fafc;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.article-image-row:last-child td {
    border-bottom: 0;
}

.article-image-summary-preview {
    width: 68px;
}

.article-image-preview {
    width: 52px;
    height: 42px;
    overflow: hidden;
    border-radius: var(--olala-radius-sm);
    background: #e2e8f0;
}

.article-image-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-image-summary-title {
    max-width: 280px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.article-image-main-badge {
    display: inline-block;
    width: fit-content;
    padding: 0.25rem 0.5rem;
    border-radius: var(--olala-radius-sm);
    background: rgba(124, 58, 237, 0.1);
    color: var(--olala-primary);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.article-image-fields {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.7rem;
}

.article-image-editor-row td {
    padding: 0;
    background: #f8fafc;
}

.article-image-editor {
    display: grid;
    gap: 0.8rem;
    padding: 1rem;
    border-bottom: 1px solid var(--olala-border);
}

.article-image-field {
    display: grid;
    gap: 0.3rem;
    color: #475569;
    font-size: 0.85rem;
    font-weight: 600;
}

.article-image-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.article-image-delete {
    color: #b42318;
    border-color: rgba(180, 35, 24, 0.25);
}

@media (max-width: 991.98px) {
    .article-images-toolbar {
        grid-template-columns: 1fr 1fr;
    }

    .article-images-toolbar > button {
        grid-column: 1 / -1;
        justify-self: start;
    }
}

@media (max-width: 640px) {
    .article-images-heading,
    .article-images-toolbar {
        grid-template-columns: 1fr;
    }

    .article-images-heading {
        display: grid;
    }

    .article-images-toolbar > button {
        grid-column: auto;
        width: 100%;
    }

    .article-image-fields {
        grid-template-columns: 1fr;
    }
}

/* Chat */
.chat-launcher-unit {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 110;
    display: flex;
    align-items: flex-end;
    gap: 0.55rem;
    max-width: calc(100vw - 32px);
}

.chat-toggle {
    position: relative;
    flex: 0 0 auto;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 0;
    background: linear-gradient(135deg, var(--olala-primary), var(--olala-accent));
    color: #fff;
    box-shadow: 0 16px 40px rgba(124, 58, 237, 0.35);
    font-size: 1.25rem;
    cursor: pointer;
}

.chat-invitation {
    position: relative;
    display: flex;
    align-items: stretch;
    max-width: 240px;
    border: 1px solid rgba(124, 58, 237, 0.16);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.16);
    opacity: 0;
    transform: translateX(16px);
    pointer-events: none;
}

.chat-invitation[hidden] {
    display: none;
}

.chat-invitation.is-visible {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
    animation: chat-invitation-enter 0.35s ease-out both;
}

.chat-invitation-open {
    display: flex;
    width: 100%;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0.1rem;
    padding: 0.72rem 2rem 0.72rem 0.9rem;
    border: 0;
    background: #fff;
    color: var(--olala-text);
    font: inherit;
    font-size: 0.82rem;
    line-height: 1.25;
    text-align: left;
    cursor: pointer;
}

.chat-invitation-open strong {
    color: var(--olala-deep);
    font-size: 0.88rem;
}

.chat-invitation-open span {
    color: #64748b;
    white-space: nowrap;
}

.chat-invitation-dismiss {
    position: absolute;
    top: 0.2rem;
    right: 0.25rem;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #64748b;
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
}

.chat-invitation-open:focus-visible,
.chat-invitation-dismiss:focus-visible,
.chat-toggle:focus-visible {
    outline: 3px solid rgba(236, 72, 153, 0.45);
    outline-offset: 3px;
}

@keyframes chat-invitation-enter {
    from { opacity: 0; transform: translateX(16px); }
    to { opacity: 1; transform: translateX(0); }
}

.chat-panel {
    position: fixed;
    right: 24px;
    bottom: 100px;
    width: min(390px, calc(100vw - 32px));
    height: 560px;
    background: #fff;
    border-radius: var(--olala-radius-xl);
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.18);
    overflow: hidden;
    display: none;
    z-index: 120;
    border: 1px solid var(--olala-border);
}

.chat-panel.open {
    display: flex;
    flex-direction: column;
}

.chat-head {
    background: linear-gradient(135deg, var(--olala-primary), var(--olala-accent));
    color: #fff;
    padding: 1rem 1.1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-head .btn {
    padding: 0.65rem 1rem;
    background: rgba(255,255,255,0.16);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.18);
}

.chat-body {
    flex: 1;
    padding: 1rem;
    background: #f8fbff;
    overflow-y: auto;
}

.chat-msg {
    max-width: 85%;
    margin-bottom: 0.8rem;
    padding: 0.85rem 1rem;
    border-radius: var(--olala-radius-lg);
    line-height: 1.6;
    white-space: pre-wrap;
}

.chat-msg.user {
    margin-left: auto;
    background: linear-gradient(135deg, var(--olala-primary), var(--olala-accent));
    color: #fff;
    border-bottom-right-radius: 6px;
}

.chat-msg.bot {
    background: #fff;
    color: var(--olala-text);
    border: 1px solid var(--olala-border);
    border-bottom-left-radius: 6px;
}

.chat-form {
    display: flex;
    gap: 0.75rem;
    padding: 1rem;
    border-top: 1px solid var(--olala-border);
    background: #fff;
}

.chat-form textarea {
    flex: 1;
    resize: none;
    min-height: 54px;
    max-height: 120px;
    border-radius: var(--olala-radius-lg);
    border: 1px solid var(--olala-border);
    padding: 0.9rem 1rem;
    font: inherit;
    color: var(--olala-text);
}

.chat-form textarea:focus {
    outline: none;
    border-color: rgba(124, 58, 237, 0.35);
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.08);
}

.small-muted {
    color: #64748b;
    font-size: 0.92rem;
}

.chat-head .chat-subtitle {
    color: #fff;
}

@media (max-width: 640px) {
    .chat-launcher-unit {
        right: 16px;
        bottom: 16px;
        max-width: calc(100vw - 32px);
    }

    .chat-invitation {
        max-width: calc(100vw - 112px);
    }

    .chat-invitation-open span {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

@media (prefers-reduced-motion: reduce) {
    .chat-invitation,
    .chat-invitation.is-visible {
        animation: none;
        transition: none;
        transform: none;
    }
}

/* Public Resources */
.resources-hero .hero-eyebrow {
    text-transform: uppercase;
}

.resources-category-hero h1,
.resources-category-hero p {
    max-width: none;
}

.container.resources-page {
    width: 100%;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
}

.resources-page {
    padding-top: 1rem;
}

.resources-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
    gap: 2rem;
    align-items: start;
}

.resources-layout--categories-collapsed {
    grid-template-columns: minmax(5.5rem, 5.5rem) minmax(0, 1fr);
    gap: 1rem;
}

.resources-layout--dedicated {
    grid-template-columns: minmax(0, 1fr);
}

.resources-sidebar {
    position: sticky;
    top: 110px;
    padding: 1.25rem;
}

.resources-sidebar-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.resources-sidebar-title {
    margin: 0;
    font-size: 1.05rem;
}

.resources-sidebar-toggle,
.resources-category-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border: 0;
    border-radius: var(--olala-radius-md);
    background: transparent;
    color: #475569;
    cursor: pointer;
}

.resources-sidebar-toggle {
    gap: 0.35rem;
    padding: 0.35rem 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
}

.resources-sidebar-toggle:hover,
.resources-category-toggle:hover {
    background: rgba(124, 58, 237, 0.08);
    color: var(--olala-primary);
}

.resources-sidebar-toggle:focus-visible,
.resources-category-toggle:focus-visible {
    outline: 2px solid var(--olala-primary);
    outline-offset: 2px;
}

.resources-sidebar-chevron,
.resources-category-toggle svg {
    width: 1rem;
    height: 1rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.18s ease;
}

.resources-sidebar-toggle[aria-expanded="true"] .resources-sidebar-chevron {
    transform: rotate(180deg);
}

.resources-category-toggle[aria-expanded="true"] svg {
    transform: rotate(90deg);
}

.resources-sidebar-toggle-label[data-expanded-label] {
    display: inline;
}

.resources-sidebar-toggle-label[data-collapsed-label] {
    display: none;
}

.resources-category-list {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.resources-category-group {
    display: flex;
    flex-direction: column;
}

.resources-category-item {
    display: flex;
    align-items: stretch;
    gap: 0.25rem;
}

.resources-category-link {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    padding: 0.7rem 0.8rem;
    border-radius: var(--olala-radius-md);
    color: #475569;
    font-weight: 600;
    transition: background 0.2s ease, color 0.2s ease;
}

.resources-category-toggle {
    width: 2rem;
    padding: 0;
}

.resources-category-children {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    margin-left: 1.75rem;
}

.resources-category-children[hidden] {
    display: none;
}

.resources-layout--categories-collapsed .resources-sidebar {
    padding: 0.65rem;
}

.resources-layout--categories-collapsed .resources-sidebar-heading {
    flex-direction: column;
    margin-bottom: 0;
}

.resources-layout--categories-collapsed .resources-sidebar-title,
.resources-layout--categories-collapsed .resources-category-list {
    display: none;
}

.resources-layout--categories-collapsed .resources-sidebar-toggle {
    width: 100%;
    flex-direction: column;
    padding: 0.45rem 0.2rem;
}

.resources-layout--categories-collapsed .resources-sidebar-toggle-label[data-expanded-label] {
    display: none;
}

.resources-layout--categories-collapsed .resources-sidebar-toggle-label[data-collapsed-label] {
    display: inline;
}

.resources-category-link:hover,
.resources-category-link.active {
    background: rgba(124, 58, 237, 0.08);
    color: var(--olala-primary);
}

.resources-main {
    min-width: 0;
}

.resources-heading {
    margin: 0 0 1.25rem;
    color: var(--olala-dark);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
}

@media (max-width: 800px) {
    .resources-layout,
    .resources-layout--categories-collapsed {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.25rem;
    }

    .resources-sidebar {
        position: static;
    }

    .resources-layout--categories-collapsed .resources-sidebar {
        padding: 1.25rem;
    }

    .resources-layout--categories-collapsed .resources-sidebar-heading {
        flex-direction: row;
        justify-content: flex-start;
        margin-bottom: 0;
    }

    .resources-layout--categories-collapsed .resources-sidebar-toggle {
        width: auto;
        flex-direction: row;
        padding: 0.35rem 0.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .resources-sidebar-chevron,
    .resources-category-toggle svg,
    .resources-category-link {
        transition: none;
    }
}

.resources-list {
    display: grid;
    gap: 1rem;
}

.resource-list-shell {
    position: relative;
}

.resource-list-skeleton-layer {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: grid;
    align-content: start;
    gap: 1rem;
    overflow: hidden;
    pointer-events: none;
}

.resource-list-skeleton-layer[hidden] {
    display: none;
}

.resource-card {
    padding: 1.5rem 1.6rem;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid var(--olala-border);
    border-radius: var(--olala-radius-lg);
    box-shadow: var(--olala-shadow);
}

.resource-card-skeleton {
    border-color: rgba(148, 163, 184, 0.18);
}

.resource-skeleton-block {
    display: block;
    overflow: hidden;
    border-radius: 4px;
    background: linear-gradient(90deg, #e2e8f0 0%, #f8fafc 50%, #e2e8f0 100%);
    background-size: 200% 100%;
    animation: resource-skeleton-shimmer 1.4s ease-in-out infinite;
}

.resource-skeleton-category {
    margin: 0 0 0.55rem;
}

.resource-skeleton-category-line {
    width: 7rem;
    height: 0.82rem;
}

.resource-skeleton-title {
    display: grid;
    flex: 1;
    gap: 0.45rem;
}

.resource-skeleton-title-line {
    width: 68%;
    height: 1.15rem;
}

.resource-skeleton-title-line-short {
    width: 38%;
}

.resource-card-skeleton .resource-summary-row {
    margin-top: 0.85rem;
}

.resource-card-skeleton .resource-thumbnail {
    overflow: hidden;
    border-color: rgba(148, 163, 184, 0.25);
    background: #e2e8f0;
}

.resource-skeleton-thumbnail {
    width: 70px;
    height: 70px;
    border-radius: 0;
}

.resource-skeleton-summary {
    display: grid;
    align-content: start;
    gap: 0.5rem;
    padding-top: 0.1rem;
}

.resource-skeleton-summary-line {
    width: 100%;
    height: 0.9rem;
}

.resource-skeleton-summary-line-short {
    width: 68%;
}

.resource-card-skeleton .resource-meta {
    gap: 0.75rem 1rem;
}

.resource-skeleton-meta-line {
    width: 9rem;
    height: 0.75rem;
}

.resource-skeleton-meta-line-short {
    width: 4.5rem;
}

.resource-category {
    margin: 0 0 0.55rem;
    color: var(--olala-primary);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.resource-title {
    margin: 0;
    font-size: clamp(1.2rem, 2vw, 1.55rem);
    line-height: 1.3;
}

.resource-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.resource-title-row .resource-title {
    min-width: 0;
}

.resource-title a:hover {
    color: var(--olala-primary);
}

.resource-edit-link {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    margin-top: 0.1rem;
    border-radius: 0.4rem;
    color: #ed6c02;
    text-decoration: none;
}

.resource-edit-link:hover {
    background: #fff7ed;
    color: #c2410c;
}

.resource-edit-link:focus-visible {
    outline: 3px solid rgba(124, 58, 237, 0.5);
    outline-offset: 2px;
}

.resource-edit-icon {
    width: 1.15rem;
    height: 1.15rem;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.resource-summary {
    min-width: 0;
    margin: 0;
    color: #475569;
}

.resource-summary-row {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr);
    align-items: start;
    gap: 1rem;
    margin-top: 0.85rem;
}

.resource-summary-row-no-image {
    grid-template-columns: minmax(0, 1fr);
}

.resource-thumbnail {
    position: relative;
    width: 70px;
    height: 70px;
    overflow: visible;
    flex: 0 0 70px;
    border: 1px solid #666;
    background: #fff;
    aspect-ratio: 1;
}

.resource-thumbnail-link {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}

.resource-thumbnail-link:hover,
.resource-thumbnail-link:focus-visible {
    z-index: 20;
}

.resource-thumbnail-link:focus-visible {
    outline: 3px solid rgba(124, 58, 237, 0.55);
    outline-offset: 3px;
}

.resource-thumbnail-link > img,
.resource-thumbnail-preview img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.resource-thumbnail-preview {
    position: absolute;
    top: 50%;
    left: calc(100% + 0.75rem);
    z-index: 30;
    display: none;
    width: min(250px, calc(100vw - 2rem), calc(100vh - 2rem));
    height: min(250px, calc(100vw - 2rem), calc(100vh - 2rem));
    overflow: hidden;
    transform: translateY(-50%);
    border: 1px solid var(--olala-border);
    border-radius: var(--olala-radius-md);
    background: #fff;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.2);
    pointer-events: none;
}

.resource-thumbnail-link:hover .resource-thumbnail-preview,
.resource-thumbnail-link:focus-visible .resource-thumbnail-preview {
    display: block;
}

.resource-thumbnail-link.resource-thumbnail-preview-left .resource-thumbnail-preview {
    right: calc(100% + 0.75rem);
    left: auto;
}

.resource-thumbnail-link.resource-thumbnail-preview-below .resource-thumbnail-preview {
    top: calc(100% + 0.75rem);
    left: 0;
    width: min(250px, calc(100vw - 2rem), calc(100vh - 2rem));
    height: auto;
    transform: none;
    aspect-ratio: 1;
}

.resource-thumbnail-link.resource-thumbnail-preview-below-right .resource-thumbnail-preview {
    right: 0;
    left: auto;
}

.resource-thumbnail-link.resource-thumbnail-preview-position-below .resource-thumbnail-preview {
    top: calc(100% + 0.75rem);
    bottom: auto;
    transform: none;
}

.resource-thumbnail-link.resource-thumbnail-preview-position-above .resource-thumbnail-preview {
    top: auto;
    bottom: calc(100% + 0.75rem);
    transform: none;
}

.resource-thumbnail-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    background: #fff;
}

@media (max-width: 640px) {
    .resource-summary-row {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .resource-thumbnail-link.resource-thumbnail-preview-left .resource-thumbnail-preview,
    .resource-thumbnail-link.resource-thumbnail-preview-below .resource-thumbnail-preview,
    .resource-thumbnail-link.resource-thumbnail-preview-below-right .resource-thumbnail-preview {
        top: calc(100% + 0.75rem);
        right: auto;
        left: 0;
        width: min(250px, calc(100vw - 2rem), calc(100vh - 2rem));
        height: auto;
        transform: none;
        aspect-ratio: 1;
    }

    .resource-thumbnail-link.resource-thumbnail-preview-position-below .resource-thumbnail-preview {
        top: calc(100% + 0.75rem);
        bottom: auto;
    }

    .resource-thumbnail-link.resource-thumbnail-preview-position-above .resource-thumbnail-preview {
        top: auto;
        bottom: calc(100% + 0.75rem);
    }
}

.resource-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    align-items: center;
    margin-top: 1.1rem;
    color: #64748b;
    font-size: 0.9rem;
}

.resource-access {
    font-weight: 600;
}

.resource-empty {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid var(--olala-border);
    border-radius: var(--olala-radius-lg);
    color: #64748b;
}

.resource-list-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    min-height: 2.5rem;
    margin-top: 1rem;
}

.resource-list-status[hidden],
.resource-list-retry[hidden],
.resource-list-pagination[hidden] {
    display: none;
}

.resource-list-status {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin: 0;
    color: #64748b;
    font-size: 0.95rem;
}

.resource-list-status.is-loading::before {
    width: 1rem;
    height: 1rem;
    border: 2px solid var(--olala-border);
    border-top-color: var(--olala-primary);
    border-radius: 50%;
    content: "";
    animation: resource-list-spin 0.8s linear infinite;
}

.resource-list-retry {
    padding: 0.45rem 0.85rem;
    border: 1px solid var(--olala-border);
    border-radius: var(--olala-radius-md);
    background: #fff;
    color: var(--olala-dark);
    cursor: pointer;
}

.resource-list-retry:hover {
    border-color: var(--olala-primary);
    color: var(--olala-primary);
}

.resource-list-retry:focus-visible {
    outline: 3px solid rgba(124, 58, 237, 0.5);
    outline-offset: 2px;
}

.resource-list-sentinel {
    height: 1px;
}

@keyframes resource-list-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes resource-skeleton-shimmer {
    from {
        background-position: 100% 0;
    }

    to {
        background-position: -100% 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .resource-list-status.is-loading::before {
        animation-duration: 1.6s;
    }

    .resource-skeleton-block {
        animation: none;
        background-position: center;
    }
}

/* Reveal animation */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: none;
}

.nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: var(--olala-radius-md);
    background: rgba(255, 255, 255, 0.92);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0;
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: #334155;
    border-radius: 999px;
    transition: all 0.25s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Responsive */
@media (max-width: 700px) {
    .support-list-header {
        flex-direction: column;
    }

    .ticket-toolbar {
        grid-template-columns: 1fr;
    }

    .admin-users-toolbar {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 991.98px) {
    .hero {
        padding-top: 8rem;
    }

    .hero-grid,
    .two-col,
    .login-layout,
    .cta-grid,
    .feature-grid,
    .info-grid,
    .hero-panel-grid,
    .card-grid {
        grid-template-columns: 1fr;
    }

    .resources-layout {
        grid-template-columns: 1fr;
    }

    .resources-sidebar {
        position: static;
    }

    .login-layout {
        grid-template-columns: 1fr;
    }

    .login-content {
        order: 1;
    }

    .login-visual {
        order: 2;
        min-height: 180px;
    }

    .resources-category-list {
        flex-direction: column;
    }

    .stat-card-wide {
        grid-column: span 1;
    }

    .nav {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 0.75rem 0;
        min-height: 78px;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: calc(100% + 10px);
        left: 1rem;
        right: 1rem;
        flex-direction: column;
        align-items: stretch;
        gap: 0.35rem;
        padding: 0.8rem;
        background: rgba(255, 255, 255, 0.98);
        border: 1px solid rgba(15, 23, 42, 0.08);
        border-radius: var(--olala-radius-lg);
        box-shadow: 0 18px 50px rgba(15, 23, 42, 0.12);
        z-index: 120;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        width: 100%;
        padding: 0.9rem 1rem;
        border-radius: var(--olala-radius-md);
    }

    .nav-cta {
        margin-left: 0;
        margin-top: 0.35rem;
        width: 100%;
        justify-content: center;
    }

    .cta-section {
        padding: 2rem;
    }

    .nav-item {
    width: 100%;
    }

    .nav-link {
    width: 100%;
    justify-content: space-between;
    }

    .dropdown-menu {
    position: static;
    display: block;
    min-width: 100%;
    margin-top: 0.35rem;
    padding: 0.5rem;
    box-shadow: none;
    background: rgba(124, 58, 237, 0.04);
    border-radius: var(--olala-radius-lg);
    }

    .dropdown-menu a {
    white-space: normal;
    }    
}


.services-features {
    display: grid;
    gap: clamp(3rem, 6vw, 5.5rem);
}

.service-feature {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas: "image content";
    align-items: center;
    gap: clamp(2rem, 5vw, 4rem);
}

.service-feature-reverse {
    grid-template-areas: "content image";
}

.service-feature-image {
    grid-area: image;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: var(--olala-radius-xl);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.09);
    transition: transform 400ms ease, box-shadow 400ms ease;
}

.service-feature-image img,
img.service-feature-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 400ms ease;
}

img.service-feature-image {
    height: auto;
}

.service-feature-image:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.16);
}

.service-feature-image:hover img {
    transform: scale(1.02);
}

img.service-feature-image:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.16);
}

.service-feature-content {
    grid-area: content;
    min-width: 0;
}

@media (max-width: 900px) {
    .service-feature,
    .service-feature-reverse {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "image"
            "content";
        gap: 1.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .service-feature-image,
    .service-feature-image img,
    img.service-feature-image {
        transition: none;
    }

    .service-feature-image:hover,
    .service-feature-image:hover img,
    img.service-feature-image:hover {
        transform: none;
    }
}

.section-intro {
    margin-top: 1rem;
    max-width: 760px;
    font-size: 1.05rem;
    color: #6b7280;
}

.step-label {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.6rem;
    font-weight: 600;
    color: #6b7280;
}

.step-label span {
    font-size: 1.4rem;
    font-weight: 800;
    color: #7c3aed;
    line-height: 1;
}

.section-subtle {
    position: relative;
    padding: 4rem 0;
    background: linear-gradient(
        135deg,
        #f8fafc 0%,
        #f1f5f9 40%,
        #eef2ff 100%
    );
    overflow: hidden;
}

.section-subtle::after {
    content: "";
    position: absolute;
    top: -20%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(
        circle,
        rgba(124, 58, 237, 0.08),
        transparent 70%
    );
    filter: blur(40px);
}

.hero-eyebrow {
    margin: 0 0 0.4rem;
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 600;
    color: #7c3aed;
    opacity: 0.85;
}

.hero-eyebrow::after {
    content: "";
    display: block;
    width: 40px;
    height: 2px;
    margin-top: 6px;
    background: linear-gradient(to right, #7c3aed, transparent);
    opacity: 0.5;
}

.error-hero-content {
    max-width: 58rem;
}

.error-hero h1 {
    max-width: 55rem;
    margin-bottom: 1rem;
}

.error-hero .article-summary {
    max-width: 48rem;
    margin-bottom: 1rem;
    font-size: clamp(1.1rem, 1.7vw, 1.3rem);
}

.error-hero-copy {
    max-width: 48rem;
    margin-bottom: 1.25rem;
}

.error-hero-copy p {
    margin-bottom: 0.65rem;
}

.error-home-button {
    margin-top: 0.5rem;
}

.error-discovery {
    padding: clamp(2.75rem, 5vw, 4.5rem) 0;
}

.error-discovery-intro {
    max-width: 50rem;
    margin-bottom: 1.75rem;
}

.error-discovery-intro h2 {
    margin-bottom: 0.5rem;
    font-size: clamp(1.35rem, 2.5vw, 1.8rem);
}

.error-discovery-intro p {
    margin: 0;
    color: #475569;
    line-height: 1.7;
}

.public-sitemap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
    gap: 1rem;
    align-items: stretch;
}

.public-sitemap-section {
    padding: 1.15rem 1.25rem;
    border: 1px solid var(--olala-border);
    border-radius: var(--olala-radius-lg);
    background: #fff;
    box-shadow: var(--olala-shadow);
}

.public-sitemap-section h3 {
    margin: 0 0 0.7rem;
    font-size: 1.05rem;
}

.public-sitemap-section ul {
    display: grid;
    gap: 0.45rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.public-sitemap-section a {
    color: #334155;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.public-sitemap-section a:hover,
.public-sitemap-section a:focus-visible {
    color: #0f172a;
    text-decoration: underline;
}

.link-cta {
    display: inline-block;
    margin-top: 0.8rem;
    font-weight: 600;
    color: #0f172a;
    background: #e2e8f0;
    padding: 0.55rem 0.9rem;
    border-radius: var(--olala-radius-md);
    text-decoration: none;
    transition: all 0.2s ease;
}

.link-cta:hover {
    background: #cbd5f5;
    transform: translateY(-1px);
}

.site-footer {
background: #0f172a;
color: rgba(255,255,255,0.88);
padding: 3rem 0 1.5rem;
margin-top: 4rem;
}

.site-footer > .container {
width: 100%;
max-width: 1900px;
padding-inline: clamp(1rem, 3vw, 2.5rem);
}

.footer-grid {
display: grid;
grid-template-columns: 1.4fr 1fr 1fr;
gap: 2rem;
align-items: start;
}

.footer-brand h3,
.footer-links-group h4 {
color: #fff;
margin-bottom: 0.9rem;
}

.footer-brand p,
.footer-links-group a,
.footer-bottom {
font-size: 0.95rem;
line-height: 1.7;
}

.footer-links-group {
display: flex;
flex-direction: column;
gap: 0.45rem;
}

.footer-links-group a {
color: rgba(255,255,255,0.78);
text-decoration: none;
transition: color 0.2s ease;
}

.footer-links-group a:hover {
color: #fff;
}

.footer-muted {
color: rgba(255,255,255,0.62);
}

.footer-bottom {
margin-top: 2rem;
padding-top: 1.25rem;
border-top: 1px solid rgba(255,255,255,0.12);
color: rgba(255,255,255,0.68);
}


@media (max-width: 640px) {
    .container {
        width: min(100% - 1.5rem, 1500px);
    }    

    .error-discovery { padding-block: 2.5rem; }
}


@media (max-width: 900px) {
    .info-layout {
        grid-template-columns: 1fr;
    }

    .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    }

}

/* Public navigation refresh */
.site-header {
    background: #ffffff;
    backdrop-filter: none;
    border-bottom: 1px solid #e2e8f0;
}

.site-header .nav {
    min-height: 70px;
}

.site-header .brand-logo {
    height: 54px;
}

.site-header .nav-links {
    gap: 0.15rem;
    flex-wrap: nowrap;
}

.site-header .nav-links > a:not(.nav-cta),
.site-header .nav-link,
.site-header .mega-trigger {
    position: relative;
    padding: 0.65rem 0.75rem;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #1e293b;
    font: inherit;
    cursor: pointer;
}

.site-header .nav-links > a:not(.nav-cta)::after,
.site-header .nav-link::after {
    position: absolute;
    right: 0.75rem;
    bottom: 0.25rem;
    left: 0.75rem;
    height: 2px;
    background: var(--olala-primary);
    content: "";
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 160ms ease;
}

.site-header .nav-links > a:not(.nav-cta):hover,
.site-header .nav-link:hover,
.site-header .nav-link.active,
.site-header .nav-links > a.active {
    background: transparent;
    color: #0f172a;
}

.site-header .nav-links > a:not(.nav-cta):hover::after,
.site-header .nav-link:hover::after,
.site-header .nav-link.active::after,
.site-header .nav-links > a.active::after {
    transform: scaleX(1);
}

.site-header .nav-cta {
    min-height: 42px;
    padding: 0.55rem 1rem;
    border-radius: 6px;
    box-shadow: none;
}

.site-header .nav-item.mega-item {
    position: static;
}

.site-header .mega-menu {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    width: 100vw;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    border-radius: 0;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
    opacity: 1;
    transform: none;
    z-index: 250;
}

.site-header .mega-menu[hidden] {
    display: none;
}

.mega-inner {
    width: min(1900px, calc(100% - 3rem));
    margin: 0 auto;
    padding: 1.75rem 0 2rem;
}

.mega-container-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
    align-items: start;
    gap: 1.5rem;
}

.mega-container-image {
    min-width: 0;
}

.mega-container-image .shop-product-image-stage {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 1 / 1;
}

.mega-container-image .shop-product-image-stage > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.mega-container-content {
    min-width: 0;
}

@media (max-width: 1199.98px) {
    .mega-container-layout {
        grid-template-columns: minmax(0, 20%) minmax(0, 1fr);
        gap: clamp(0.75rem, 1.5vw, 1.25rem);
    }
}

.menu-item-image-preview {
    width: min(100%, 12rem);
    margin: 0.75rem 0;
}

.menu-item-image-preview .shop-product-image-stage {
    width: 100%;
    aspect-ratio: 1 / 1;
}

.menu-item-image-preview .shop-product-image-stage > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.mega-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.15rem;
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.mega-heading a {
    padding: 0;
    color: var(--olala-primary);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
}

.mega-grid {
    display: grid;
    gap: 0.75rem 1.5rem;
}

.mega-grid-services {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mega-grid-solutions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.mega-link,
.mega-solution {
    min-width: 0;
    padding: 0.8rem 0.9rem;
    border-left: 2px solid transparent;
    color: #334155;
    transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.mega-link:hover,
.mega-solution:hover {
    border-left-color: var(--olala-primary);
    background: #f8fafc;
    color: #0f172a;
}

.mega-link strong,
.mega-solution strong {
    display: block;
    margin-bottom: 0.25rem;
    color: #0f172a;
    font-size: 0.95rem;
}

.mega-link span,
.mega-solution span span {
    display: block;
    color: #64748b;
    font-size: 0.82rem;
    line-height: 1.45;
}

.mega-solution {
    display: grid;
    grid-template-columns: 2rem minmax(0, 1fr) auto;
    align-items: start;
    gap: 0.8rem;
}

.mega-solution-icon {
    display: grid;
    width: 2rem;
    height: 2rem;
    place-items: center;
    border: 1px solid #ddd6fe;
    border-radius: 50%;
    color: var(--olala-primary);
}

.mega-solution-arrow {
    color: var(--olala-primary);
    font-size: 1.1rem;
}

.mega-link-group {
    min-width: 0;
}

.mega-link-row {
    display: flex;
    align-items: stretch;
    gap: 0.25rem;
}

.mega-link-row > .mega-link,
.mega-link-row > .mega-solution {
    flex: 1;
}

.mega-link-label {
    display: block;
}

.mega-submenu-trigger {
    flex: 0 0 2.75rem;
    align-self: stretch;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: #475569;
    cursor: pointer;
}

.mega-submenu-trigger:hover,
.mega-submenu-trigger:focus-visible {
    background: #f1f5f9;
    color: var(--olala-primary);
}

.mega-submenu-trigger span {
    display: inline-block;
    transition: transform 160ms ease;
}

.mega-submenu-trigger[aria-expanded="true"] span {
    transform: rotate(180deg);
}

.mega-submenu-link {
    display: block;
    padding: 0.55rem 0.75rem;
    border-left: 2px solid #e2e8f0;
    color: #334155;
    font-size: 0.85rem;
}

.mega-submenu-link:hover,
.mega-submenu-link:focus-visible,
.mega-submenu-link.active {
    border-left-color: var(--olala-primary);
    background: #f8fafc;
    color: #0f172a;
}

.mega-submenu-link span {
    display: block;
    color: #64748b;
    font-size: 0.78rem;
    line-height: 1.45;
}

.announcement-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 84px;
    min-height: 84px;
    padding: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: var(--announcement-background, var(--olala-deep));
    color: var(--announcement-text, #fff);
}

.announcement-dismissed [data-announcement-bar],
.announcement-bar[hidden] {
    display: none;
}

.announcement-viewport {
    width: min(1400px, calc(100% - 11rem));
    overflow: hidden;
}

.announcement-track {
    display: flex;
    transition: transform 180ms ease, opacity 180ms ease;
}

.announcement-item {
    display: flex;
    flex: 0 0 100%;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    height: 100%;
    min-height: 0;
    padding: 0;
    text-align: center;
    font-size: 0.8rem;
    line-height: 1.2;
    white-space: nowrap;
    background: var(--announcement-background, transparent);
    color: var(--announcement-text, inherit);
}

.announcement-separator {
    margin: 0 0.45rem;
    color: var(--announcement-text, rgba(255, 255, 255, 0.5));
    opacity: 0.5;
}

.announcement-item strong {
    color: var(--announcement-link, var(--olala-secondary));
    font-weight: 700;
}

.announcement-item a {
    color: var(--announcement-link, var(--olala-secondary));
    font-weight: 700;
    white-space: nowrap;
}

.announcement-control,
.announcement-close {
    display: grid;
    width: 2rem;
    height: 2rem;
    margin: 0 0.5rem;
    place-items: center;
    border: 0;
    background: transparent;
    color: var(--announcement-text, rgba(255, 255, 255, 0.78));
    cursor: pointer;
    font-size: 1.2rem;
    line-height: 1;
}

.announcement-control:hover,
.announcement-control:focus-visible,
.announcement-close:hover,
.announcement-close:focus-visible {
    color: var(--announcement-link, var(--olala-secondary));
}

.announcement-close {
    flex: 0 0 2rem;
    margin-right: 0.75rem;
    font-size: 1.5rem;
}

.seo-action-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.seo-action-card {
    display: flex;
    flex-direction: column;
}

.seo-action-card p {
    flex: 1;
    color: #64748b;
}

.seo-submission-results {
    margin: 1rem 0 0;
    padding-left: 1.1rem;
    color: #475569;
    font-size: 0.9rem;
}

@media (max-width: 991.98px) {
    .seo-action-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 991.98px) {
    .site-header .nav {
        min-height: 70px;
        padding: 0.5rem 0;
    }

    .site-header .admin-header-container {
        padding-inline: 1rem;
    }

    .site-header .brand-logo {
        height: 48px;
    }

    .site-header .nav-links {
        top: 100%;
        left: 0;
        right: 0;
        gap: 0;
        padding: 0.65rem 1rem 1rem;
        border: 1px solid #e2e8f0;
        border-top: 0;
        border-radius: 0;
        box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
    }

    .site-header .nav-links > a:not(.nav-cta),
    .site-header .nav-link,
    .site-header .mega-trigger {
        width: 100%;
        justify-content: space-between;
        padding: 0.75rem 0.25rem;
        text-align: left;
    }

    .site-header .nav-links > a:not(.nav-cta)::after,
    .site-header .nav-link::after {
        right: 0.25rem;
        bottom: 0.35rem;
        left: 0.25rem;
    }

    .site-header .mega-menu {
        position: static;
        width: auto;
        border: 0;
        box-shadow: none;
    }

    .mega-inner {
        width: 100%;
        padding: 0.3rem 0 0.75rem 0.75rem;
    }

    .mega-container-layout {
        grid-template-columns: minmax(0, clamp(4rem, 18vw, 8rem)) minmax(0, 1fr);
        gap: clamp(0.4rem, 1.2vw, 0.75rem);
    }

    .mega-heading {
        display: none;
    }

    .mega-grid-services,
    .mega-grid-solutions {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }

    .mega-link,
    .mega-solution {
        padding: 0.55rem 0.7rem;
    }

    .mega-link strong,
    .mega-solution strong {
        font-size: 0.88rem;
    }

    .mega-link span,
    .mega-solution span span {
        font-size: 0.76rem;
    }

    .mega-submenu-trigger {
        flex-basis: 2.75rem;
        min-height: 44px;
    }

    .mega-submenu {
        padding-left: 1rem;
    }

    .mega-submenu-link {
        padding: 0.55rem 0.7rem;
    }

    .announcement-viewport {
        width: calc(100% - 7rem);
    }

    .announcement-item {
        height: 100%;
        min-height: 0;
        padding: 0;
        font-size: 0.78rem;
        line-height: 1.35;
        white-space: normal;
    }

    .announcement-bar {
        height: 70px;
        min-height: 70px;
    }
}

@media (max-width: 640px) {
    .mega-container-layout {
        grid-template-columns: minmax(0, clamp(3.5rem, 18vw, 6rem)) minmax(0, 1fr);
        gap: 0.4rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-header .nav-links > a:not(.nav-cta)::after,
    .site-header .nav-link::after,
    .mega-link,
    .mega-solution,
    .mega-submenu-trigger span,
    .announcement-track {
        transition: none;
    }
}

/* Header action alignment and public search */
.site-header .nav-links {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex: 1;
    min-width: 0;
}

.nav-main {
    display: flex;
    align-items: center;
    gap: 0.15rem;
}

.nav-main-right {
    margin-left: auto;
}

.managed-nav-actions {
    margin-left: 0;
}

.managed-preview-header {
    position: relative;
    top: auto;
    margin-top: 1rem;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.managed-preview-header .nav {
    min-height: 84px;
}

.managed-preview-brand {
    flex: 0 0 auto;
    color: #0f172a;
    font-family: 'Manrope', sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
}

.managed-preview-header .nav-links {
    justify-content: flex-end;
}

.managed-preview-item .mega-menu {
    display: block;
}

.managed-preview-group {
    min-width: 0;
}

.managed-preview-submenu {
    padding-left: 1rem;
}

.managed-preview-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

@media (max-width: 760px) {
    .managed-preview-header .nav {
        align-items: flex-start;
        flex-direction: column;
        padding: 1rem 0;
    }

    .managed-preview-header .nav-links,
    .managed-preview-header .nav-main {
        width: 100%;
        align-items: flex-start;
        flex-direction: column;
    }

    .managed-preview-header .mega-menu {
        position: static;
        width: 100%;
    }
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-left: auto;
}

.mobile-nav-tools {
    display: none;
}

.mobile-account-panel[hidden] {
    display: none;
}

.admin-header-user-email {
    max-width: min(34vw, 360px);
    overflow: hidden;
    color: #334155;
    font-size: 0.9rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-logout-link {
    white-space: nowrap;
}

.nav-icon-button {
    display: inline-grid;
    width: 40px;
    height: 42px;
    padding: 0;
    place-items: center;
    border: 1px solid transparent;
    border-radius: 6px;
    background: transparent;
    color: #1e293b;
    cursor: pointer;
    text-decoration: none;
}

.nav-icon-button:hover {
    border-color: #e2e8f0;
    background: #f8fafc;
    color: var(--olala-primary);
}

.nav-icon-button:focus-visible,
.site-search-close:focus-visible,
.site-search-submit:focus-visible,
.site-search-input:focus-visible {
    outline: 3px solid rgba(124, 58, 237, 0.25);
    outline-offset: 2px;
}

.nav-icon-button svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.site-header .profile-menu > .nav-icon-button::after {
    display: none;
}

.site-header .profile-menu .dropdown-menu {
    right: 0;
    left: auto;
}

.site-header .profile-menu.open .dropdown-menu {
    display: block;
}

.search-workspace-open {
    position: fixed;
    width: 100%;
    overflow: hidden;
}

.site-search {
    position: fixed;
    inset: 70px 0 0;
    z-index: 240;
    overflow: hidden;
    border-bottom: 1px solid #e2e8f0;
    background: linear-gradient(
        to bottom,
        #fff 0,
        #fff 235px,
        rgba(255, 255, 255, 0.40) 290px,
        rgba(255, 255, 255, 0.30) 45%,
        rgba(255, 255, 255, 0.22) 100%
    );
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.1);
}

.site-search[hidden] {
    display: none;
}

.site-search-panel {
    display: flex;
    height: 100%;
    width: min(1380px, calc(100% - 3rem));
    flex-direction: column;
    margin: 0 auto;
    padding: 1.5rem 0 1.75rem;
}

.site-search-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.site-search-heading h2 {
    margin: 0 0 1rem;
    color: #0f172a;
    font-size: 1.25rem;
}

.site-search-close {
    width: 34px;
    height: 34px;
    border: 1px solid transparent;
    border-radius: 5px;
    background: transparent;
    color: #475569;
    cursor: pointer;
    font-size: 1.5rem;
    line-height: 1;
}

.site-search-form {
    display: flex;
    gap: 0.6rem;
}

.site-search-form input {
    flex: 1;
    min-width: 0;
    min-height: 44px;
    padding: 0.7rem 0.85rem;
    border: 1px solid #cbd5e1;
    border-radius: 5px;
    color: #0f172a;
}

.site-search-submit {
    min-height: 44px;
    padding: 0.65rem 1rem;
    border: 0;
    border-radius: 5px;
    background: var(--olala-primary);
    color: #fff;
    cursor: pointer;
    font-weight: 700;
}

.site-search-status {
    min-height: 1.4rem;
    margin-top: 0.9rem;
    color: #64748b;
    font-size: 0.88rem;
}

.site-search-loading {
    padding: 1rem 0 1.1rem;
    text-align: center;
}

.site-search-loading[hidden] {
    display: none;
}

.site-search-loading-bar {
    position: relative;
    width: 100%;
    height: 6px;
    margin: 0 auto 0.85rem;
    overflow: hidden;
    border-radius: 999px;
    background: #e2e8f0;
}

.site-search-loading-bar span {
    position: absolute;
    top: 0;
    width: 36%;
    height: 100%;
    border-radius: inherit;
    animation: site-search-loading-slide 1.15s ease-in-out infinite;
}

.site-search-loading-bar span:first-child {
    left: -45%;
    background: #2563eb;
}

.site-search-loading-bar span:last-child {
    left: -55%;
    background: #dc2626;
    animation-delay: 0.18s;
}

.site-search-loading-text {
    color: #475569;
    font-size: 0.9rem;
    font-weight: 600;
}

@keyframes site-search-loading-slide {
    0% { transform: translateX(0); opacity: 0.35; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { transform: translateX(360%); opacity: 0.35; }
}

.site-search-status.is-error {
    color: #b91c1c;
}

.site-search-results {
    display: grid;
    gap: 0.45rem;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.site-search-workspace {
    position: relative;
    display: grid;
    flex: 1;
    grid-template-columns: minmax(250px, 30%) minmax(0, 1fr);
    gap: 1.25rem;
    min-height: 0;
    overflow: hidden;
}

.site-search-results-panel {
    display: flex;
    min-height: 0;
    flex-direction: column;
    overflow: hidden;
    border-right: 1px solid #e2e8f0;
    padding-right: 1rem;
}

.site-search-results-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    padding-bottom: 0.65rem;
    color: #0f172a;
}

.site-search-collapse,
.site-search-results-restore,
.site-search-mobile-results {
    border: 1px solid #cbd5e1;
    border-radius: 5px;
    background: #fff;
    color: #475569;
    cursor: pointer;
    font: inherit;
    font-size: 0.78rem;
    font-weight: 700;
}

.site-search-collapse {
    padding: 0.35rem 0.55rem;
}

.site-search-results-restore {
    display: none;
    align-items: center;
    justify-content: center;
    min-width: 50px;
    padding: 0.7rem 0.35rem;
    writing-mode: vertical-rl;
}

.site-search-content {
    min-width: 0;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: 0 0.35rem 1rem 0.25rem;
}

.site-search-content-empty,
.site-search-content-loading {
    padding: 2rem 1rem;
    color: #64748b;
    text-align: center;
}

.site-search-content-loading {
    font-size: 0.9rem;
    font-weight: 600;
}

.site-search-content-error {
    padding: 1rem;
    color: #b91c1c;
}

.site-search-content-body > *:first-child {
    margin-top: 0;
}

.site-search-content-body .container {
    width: 100%;
}

.site-search-content-body .site-footer,
.site-search-content-body .site-header,
.site-search-content-body .announcement-bar {
    display: none;
}

.site-search-mobile-results {
    display: none;
    margin-bottom: 0.8rem;
    padding: 0.6rem 0.75rem;
}

.site-search.results-collapsed .site-search-workspace {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 0.75rem;
}

.site-search.results-collapsed .site-search-results-panel {
    padding-right: 0.35rem;
}

.site-search.results-collapsed .site-search-results-restore {
    display: flex;
}

.site-search.results-collapsed .site-search-results-heading,
.site-search.results-collapsed .site-search-results {
    display: none;
}

.site-search-result {
    display: block;
    padding: 0.8rem 0.9rem;
    border-left: 2px solid transparent;
    color: inherit;
    text-decoration: none;
}

.site-search-result:hover {
    border-left-color: var(--olala-primary);
    background: #f8fafc;
}

.site-search-result strong,
.site-search-result small,
.site-search-result span {
    display: block;
}

.site-search-result strong {
    color: #0f172a;
}

.site-search-result small {
    margin: 0.2rem 0;
    color: var(--olala-primary);
    font-weight: 700;
}

.site-search-result span {
    color: #64748b;
    font-size: 0.85rem;
    line-height: 1.45;
}

@media (max-width: 991.98px) {
    .site-header .nav-links {
        display: none;
    }

    .site-header .nav-links.open {
        display: flex;
    }

    .site-header .nav-links {
        align-items: stretch;
    }

    .site-header .public-nav-menu {
        box-sizing: border-box;
        max-width: 100vw;
        max-height: calc(100vh - 70px);
        max-height: calc(100dvh - 70px);
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    .site-header [data-public-nav-actions] {
        display: none;
    }

    .nav-main,
    .nav-actions {
        flex-direction: column;
        align-items: stretch;
        margin-left: 0;
    }

    .nav-actions {
        flex-direction: row;
        justify-content: flex-start;
        margin-top: 0.4rem;
        padding-top: 0.5rem;
        border-top: 1px solid #e2e8f0;
    }

    .nav-actions .nav-icon-button {
        width: 42px;
    }

    .public-nav-menu .admin-main-nav-link {
        display: none;
    }

    .mobile-nav-tools {
        display: flex;
        width: 100%;
        flex: 0 0 auto;
        flex-direction: column;
        gap: 0;
        margin-top: 0.35rem;
        border-top: 1px solid #e2e8f0;
    }

    .mobile-nav-action {
        display: flex;
        width: 100%;
        min-width: 0;
        min-height: 44px;
        align-items: center;
        gap: 0.75rem;
        padding: 0.6rem 0.35rem;
        border: 0;
        border-bottom: 1px solid #e2e8f0;
        border-radius: 0;
        background: transparent;
        color: #1e293b;
        cursor: pointer;
        font: inherit;
        text-align: left;
        text-decoration: none;
    }

    .mobile-nav-action:hover,
    .mobile-nav-action:focus-visible {
        background: #f8fafc;
        color: var(--olala-primary);
    }

    .mobile-nav-action:focus-visible {
        outline: 3px solid rgba(124, 58, 237, 0.25);
        outline-offset: -2px;
    }

    .mobile-nav-action svg {
        width: 21px;
        height: 21px;
        flex: 0 0 21px;
        fill: none;
        stroke: currentColor;
        stroke-linecap: round;
        stroke-linejoin: round;
        stroke-width: 1.7;
    }

    .mobile-account {
        width: 100%;
        min-width: 0;
    }

    .mobile-account-arrow {
        margin-left: auto;
        transition: transform 0.2s ease;
    }

    .mobile-account-toggle[aria-expanded="true"] .mobile-account-arrow {
        transform: rotate(180deg);
    }

    .mobile-account-panel {
        display: flex;
        min-width: 0;
        flex-direction: column;
        padding: 0.25rem 0 0.4rem 1rem;
        border-bottom: 1px solid #e2e8f0;
    }

    .mobile-account-email {
        margin: 0;
        padding: 0.55rem 0.35rem;
        color: #64748b;
        font-size: 0.8rem;
        line-height: 1.4;
        overflow-wrap: anywhere;
    }

    .mobile-account-link {
        display: flex;
        min-width: 0;
        min-height: 44px;
        align-items: center;
        padding: 0.55rem 0.35rem;
        color: #1e293b;
        text-decoration: none;
        overflow-wrap: anywhere;
    }

    .mobile-account-link:hover,
    .mobile-account-link:focus-visible {
        color: var(--olala-primary);
    }

    .site-search {
        inset: 70px 0 0;
    }

    .site-search-panel {
        width: calc(100% - 2rem);
    }

    .site-search-workspace {
        display: block;
        min-height: 0;
    }

    .site-search-results-panel {
        position: absolute;
        inset: 0;
        z-index: 2;
        display: none;
        overflow: hidden;
        border: 0;
        padding: 0.75rem;
        background: #fff;
        box-shadow: 0 12px 32px rgba(15, 23, 42, 0.14);
    }

    .site-search.mobile-results-open .site-search-results-panel {
        display: flex;
    }

    .site-search-results {
        max-height: none;
        flex: 1;
    }

    .site-search-content {
        height: 100%;
        padding: 0;
    }

    .site-search-mobile-results {
        display: inline-block;
    }

    .site-search.results-collapsed .site-search-results-restore {
        display: none;
    }
}

.site-search:not(.search-results-ready) .site-search-workspace {
    display: none;
}

.site-search.search-loading-state .site-search-status {
    display: none;
}

.site-search.search-results-ready {
    background: #fff;
}

.site-search.search-results-ready .site-search-workspace {
    background: #fff;
}

.seo-content-grid {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
}

.seo-content-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.seo-content-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.seo-code-panel {
    max-height: 24rem;
    margin: 0;
    overflow: auto;
    padding: 1rem;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #334155;
    font: 0.8rem/1.5 ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
    white-space: pre;
}

.seo-sitemap-document {
    margin-top: 0.75rem;
    border-top: 1px solid #e2e8f0;
}

.seo-sitemap-document summary {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 0;
    cursor: pointer;
    font-weight: 700;
}

.seo-sitemap-url {
    overflow-wrap: anywhere;
}

.seo-copy-status {
    display: block;
    min-height: 1.25rem;
    margin-top: 0.35rem;
}

.seo-sync-status {
    margin-top: 1rem;
    color: #475569;
    font-size: 0.9rem;
}

.seo-sync-status [data-sync-details] {
    display: block;
    margin-top: 0.25rem;
}

.seo-sync-times {
    display: block;
    margin-top: 0.25rem;
    color: #64748b;
    font-size: 0.8rem;
}

.seo-admin-page form[aria-busy="true"] button::before {
    content: "\231B";
    display: inline-block;
    margin-right: 0.4rem;
}

.analytics-sort-button {
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    text-align: left;
}

.analytics-sort-button:hover,
.analytics-sort-button:focus-visible {
    color: var(--olala-primary);
    text-decoration: underline;
}

.interest-panel-backdrop[hidden],
.interest-panel[hidden] {
    display: none !important;
}

.interest-panel-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1300;
    background: rgba(15, 23, 42, 0.48);
    opacity: 0;
    transition: opacity 300ms ease;
}

.interest-panel-backdrop.is-open {
    opacity: 1;
}

.interest-panel {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 1310;
    display: flex;
    flex-direction: column;
    width: min(460px, 100vw);
    max-height: 100dvh;
    overflow-y: auto;
    padding: clamp(1.25rem, 4vw, 2rem);
    border-left: 1px solid var(--olala-border);
    background: #fff;
    box-shadow: -18px 0 48px rgba(15, 23, 42, 0.18);
    transform: translateX(102%);
    transition: transform 300ms ease;
    overscroll-behavior: contain;
}

.interest-panel.is-open {
    transform: translateX(0);
}

.interest-panel-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.interest-panel-eyebrow {
    margin: 0 0 0.35rem;
    color: var(--olala-primary);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.interest-panel-header h2 {
    margin: 0;
    color: #1e293b;
    font-family: var(--olala-heading-font, inherit);
    font-size: clamp(1.5rem, 4vw, 1.8rem);
    line-height: 1.2;
}

.interest-panel-close {
    display: grid;
    flex: 0 0 auto;
    width: 2.5rem;
    height: 2.5rem;
    place-items: center;
    border: 1px solid var(--olala-border);
    border-radius: 50%;
    background: #fff;
    color: #334155;
    font-size: 1.6rem;
    line-height: 1;
}

.interest-panel-close:hover {
    border-color: var(--olala-primary);
    color: var(--olala-primary);
}

.interest-panel-close:focus-visible,
.interest-panel a:focus-visible,
.interest-panel input:focus-visible,
.interest-panel button:focus-visible {
    outline: 3px solid rgba(124, 58, 237, 0.35);
    outline-offset: 2px;
}

.interest-panel-description {
    margin: 1rem 0 1.35rem;
    color: #475569;
    line-height: 1.6;
}

.interest-panel-form {
    display: grid;
    gap: 1rem;
}

.interest-panel-field {
    display: grid;
    gap: 0.4rem;
    color: #334155;
    font-size: 0.9rem;
    font-weight: 650;
}

.interest-panel-interests {
    display: grid;
    gap: 0.65rem;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.interest-panel-interests legend {
    float: none;
    width: auto;
    margin-bottom: 0.7rem;
    color: #334155;
    font-size: 0.92rem;
    font-weight: 700;
}

.interest-panel-interests legend span {
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 400;
}

.interest-panel-checkbox {
    display: grid;
    grid-template-columns: 1.15rem minmax(0, 1fr);
    align-items: start;
    gap: 0.65rem;
    color: #334155;
    font-size: 0.88rem;
    font-weight: 400;
    line-height: 1.45;
}

.interest-panel-checkbox input {
    width: 1rem;
    height: 1rem;
    margin-top: 0.16rem;
    accent-color: var(--olala-primary);
}

.interest-panel-newsletter {
    padding-top: 0.9rem;
    border-top: 1px solid #e2e8f0;
}

.interest-panel-privacy {
    margin: -0.25rem 0 0;
    color: #64748b;
    font-size: 0.8rem;
}

.interest-panel-privacy a {
    color: var(--olala-primary);
}

.interest-panel-error,
.interest-panel-field-error {
    margin: 0;
    color: #b42318;
    font-size: 0.85rem;
}

.interest-panel-submit {
    width: 100%;
    min-height: 2.9rem;
    margin-top: 0.1rem;
}

.interest-panel-success {
    padding: 1rem;
    border: 1px solid #bbf7d0;
    border-radius: var(--olala-radius-md);
    background: #f0fdf4;
    color: #14532d;
}

.interest-panel-success h3 {
    margin: 0 0 0.45rem;
    color: #14532d;
    font-size: 1.1rem;
}

.interest-panel-success p {
    margin: 0;
    line-height: 1.5;
}

.interest-panel-success p + p {
    margin-top: 0.65rem;
}

.interest-panel-honeypot {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

body.interest-panel-open {
    overflow: hidden;
}

@media (max-width: 480px) {
    .interest-panel {
        width: 100vw;
        padding: 1.2rem 1rem calc(1.2rem + env(safe-area-inset-bottom));
        border-left: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .interest-panel,
    .interest-panel-backdrop {
        transition-duration: 1ms;
    }
}

.interest-admin-filters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
    align-items: end;
    gap: 0.85rem;
}

.interest-admin-filters label {
    display: grid;
    gap: 0.35rem;
    color: #334155;
    font-size: 0.85rem;
    font-weight: 600;
}

.interest-admin-filter-actions,
.interest-admin-status-form,
.interest-admin-pagination {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.interest-admin-status-form {
    min-width: 10rem;
}

.interest-admin-status-form .form-control {
    min-width: 7.5rem;
}

.interest-admin-pagination {
    justify-content: center;
    margin-top: 1rem;
}

.interest-admin-pagination span {
    color: #475569;
    font-size: 0.9rem;
}

.secure-pay-methods {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    width: min(100%, 38rem);
}

.secure-pay-option {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
}

.secure-pay-provider {
    display: flex;
    width: 100%;
    min-height: 2.375rem;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    border-radius: 0.55rem;
    font: inherit;
    font-size: 1rem;
    font-weight: 700;
}

button.secure-pay-provider {
    max-width: 220px;
    min-height: 2.375rem;
    padding: 0.45rem 1rem;
    cursor: pointer;
    transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.secure-pay-stripe,
.secure-pay-stripe:visited {
    border: 1px solid #5145cd;
    background: linear-gradient(135deg, #635bff, #4f46e5);
    color: #fff;
    box-shadow: 0 5px 12px rgba(79, 70, 229, 0.2);
}

.secure-pay-stripe:hover:not(:disabled) {
    border-color: #4338ca;
    background: linear-gradient(135deg, #5549f3, #4338ca);
    color: #fff;
    box-shadow: 0 7px 16px rgba(79, 70, 229, 0.27);
    transform: translateY(-1px);
}

.secure-pay-stripe:disabled {
    cursor: not-allowed;
    opacity: 0.58;
}

.secure-pay-provider:focus-visible {
    outline: 3px solid #0f172a;
    outline-offset: 3px;
}

.secure-pay-provider-icon {
    width: 1.35rem;
    height: 1.35rem;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

#paypal-button-container {
    width: 100%;
    max-width: none !important;
    min-height: 2.375rem;
}

#paypal-button-container iframe {
    max-width: 100%;
}

.secure-pay-payment-branding {
    display: inline-flex;
    min-height: 1.2rem;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    color: #475569;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.2;
}

.secure-pay-payment-branding svg {
    width: 1rem;
    height: 1rem;
    fill: none;
    stroke: #1e293b;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.invoice-email-status {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.2rem 0.6rem;
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
}

.invoice-email-status-sent {
    background: #e0f2fe;
    color: #075985;
}

.invoice-email-status-pending {
    background: #fef3c7;
    color: #92400e;
}

.invoice-email-status-uncertain {
    background: #ffedd5;
    color: #9a3412;
}

.invoice-email-status-failed {
    background: #fee2e2;
    color: #991b1b;
}

.invoice-email-error {
    max-width: 20rem;
    margin-top: 0.4rem;
    color: #991b1b;
    font-size: 0.82rem;
    overflow-wrap: anywhere;
}

.invoice-email-error summary {
    cursor: pointer;
    font-weight: 600;
}

@media (max-width: 600px) {
    .secure-pay-methods {
        grid-template-columns: minmax(0, 1fr);
        gap: 0.8rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    button.secure-pay-provider {
        transition: none;
    }
}