/**
 * Stili aggiunti dopo sessioni recenti — caricati dopo app.css.
 * Recupero da sovrascrittura accidentale del file principale.
 */

/* —— Walk-in compatto —— */
.walkin-booking-dialog--compact {
    width: min(720px, calc(100vw - 1rem));
    max-height: calc(100vh - 1rem);
}

.operator-walkin-studio--compact {
    padding: 0.85rem 1rem 1rem;
}

.walkin-compact-head {
    margin-bottom: 0.65rem;
    padding-right: 2rem;
}

.walkin-compact-title {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 800;
    color: #f8fafc;
}

.walkin-compact-lead {
    margin: 0.2rem 0 0;
    font-size: 0.78rem;
    color: #94a3b8;
}

.walkin-compact-form {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.walkin-compact-row {
    display: grid;
    gap: 0.45rem;
    align-items: end;
}

.walkin-compact-row--client {
    grid-template-columns: 1.4fr 0.75fr 0.9fr auto;
}

.walkin-compact-row--schedule {
    grid-template-columns: 1.1fr 0.85fr auto 4.5rem;
}

.walkin-compact-row--footer {
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 0.5rem;
}

.walkin-source-inline {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding-bottom: 0.15rem;
}

.walkin-source-chip {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.72rem;
    font-weight: 600;
    color: #94a3b8;
    cursor: pointer;
    white-space: nowrap;
}

.walkin-source-chip.is-active {
    color: #a5f3fc;
}

.walkin-source-chip input {
    accent-color: #22d3ee;
}

.walkin-compact-product .walkin-product-search {
    margin-bottom: 0.35rem;
}

.walkin-compact-product .walkin-product-select {
    width: 100%;
    font-size: 0.8rem;
}

.operator-customer-match--compact {
    font-size: 0.75rem;
    padding: 0.35rem 0.5rem;
}

.walkin-players-stepper--compact {
    display: grid;
    grid-template-columns: 2rem 1fr 2rem;
    gap: 0.2rem;
    align-items: center;
}

.walkin-pricing--compact {
    padding: 0.55rem 0.65rem;
    border-radius: 0.65rem;
    border: 1px solid #334155;
    background: rgb(2 6 23 / 0.5);
}

.walkin-pricing-compact-main {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
    gap: 0.4rem;
    align-items: end;
}

.walkin-pricing-compact-main .walkin-field-label {
    font-size: 0.62rem;
}

.walkin-submit-btn--compact {
    padding: 0.55rem 1.1rem;
    border-radius: 0.65rem;
    border: none;
    background: linear-gradient(135deg, #22d3ee, #06b6d4);
    color: #0f172a;
    font-weight: 800;
    font-size: 0.9rem;
    cursor: pointer;
    white-space: nowrap;
}

.walkin-quick-partita--compact {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    color: #94a3b8;
    white-space: nowrap;
}

.walkin-free-form-note--compact {
    margin: 0;
    font-size: 0.75rem;
    color: #fcd34d;
}

@media (max-width: 720px) {
    .walkin-compact-row--client,
    .walkin-compact-row--schedule,
    .walkin-compact-row--footer,
    .walkin-pricing-compact-main {
        grid-template-columns: 1fr;
    }
}

/* Suggerimenti cliente — non bloccare il form */
.operator-customer-suggest {
    display: none;
    pointer-events: auto;
}

.operator-customer-suggest.is-open {
    display: grid;
}

.operator-customer-suggest:empty {
    display: none !important;
    padding: 0;
    border: none;
    box-shadow: none;
}

.operator-customer-suggest-row {
    display: flex;
    align-items: stretch;
}

.operator-customer-suggest-row .operator-customer-suggest-item {
    flex: 1;
    border: 0;
    border-radius: 0;
}

.operator-customer-suggest-profile {
    display: flex;
    align-items: center;
    padding: 0.5rem 0.65rem;
    border-left: 1px solid #334155;
    font-size: 0.72rem;
    font-weight: 700;
    color: #a5f3fc;
    text-decoration: none;
    white-space: nowrap;
}

.operator-customer-suggest-profile:hover,
.operator-customer-suggest-profile:focus-visible {
    background: rgb(34 211 238 / 0.12);
}

.operator-customer-suggest-item.is-highlighted {
    background: rgb(34 211 238 / 0.15);
}

.walkin-compact-row--client .operator-customer-field {
    position: relative;
    overflow: visible;
    z-index: 30;
}

/* Autocomplete cliente — compatto, solo mentre digiti */
.walkin-field--customer-search {
    position: relative;
    overflow: visible;
}

.walkin-field--customer-search .operator-customer-suggest:not(.is-floating) {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 0.2rem);
    z-index: 140;
    max-height: 10.5rem;
    overflow-y: auto;
    border-radius: 0.65rem;
    padding: 0.2rem;
}

.operator-customer-suggest--live:not(.is-floating) {
    box-shadow: 0 8px 22px rgb(0 0 0 / 0.28);
}

html.theme-light .operator-customer-suggest--live:not(.is-floating) {
    box-shadow: 0 8px 20px rgb(15 23 42 / 0.1);
}

.operator-customer-suggest--live .operator-customer-suggest-item {
    padding: 0.45rem 0.55rem;
}

.operator-customer-suggest--live .operator-customer-suggest-item strong {
    font-size: 0.82rem;
}

.operator-customer-suggest--live .operator-customer-suggest-item span {
    font-size: 0.68rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.operator-customer-suggest-more {
    margin: 0;
    padding: 0.35rem 0.55rem 0.45rem;
    font-size: 0.66rem;
    font-weight: 600;
    color: #64748b;
    text-align: center;
    border-top: 1px solid rgb(51 65 85 / 0.35);
}

html.theme-light .operator-customer-suggest-more {
    color: #64748b;
    border-top-color: #e2e8f0;
}

.walkin-compact-form .operator-customer-suggest {
    z-index: 200;
}

.walkin-date-picker {
    position: relative;
}

.walkin-date-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.walkin-mini-cal {
    position: absolute;
    z-index: 120;
    top: calc(100% + 0.45rem);
    left: 0;
    min-width: 17.5rem;
    padding: 0.65rem;
    border-radius: 1rem;
    border: 1px solid #334155;
    background: #0f172a;
    box-shadow: 0 12px 40px rgb(0 0 0 / 0.45);
}

.walkin-mini-cal[hidden] {
    display: none !important;
}

.walkin-mini-cal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: #e2e8f0;
}

.walkin-mini-cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.2rem;
    text-align: center;
    font-size: 0.72rem;
}

.walkin-mini-cal-grid button {
    border: none;
    border-radius: 0.4rem;
    background: transparent;
    color: #cbd5e1;
    padding: 0.35rem 0;
    cursor: pointer;
}

.walkin-mini-cal-grid button:hover:not(:disabled) {
    background: rgb(34 211 238 / 0.15);
    color: #a5f3fc;
}

.walkin-mini-cal-grid button.is-selected {
    background: #22d3ee;
    color: #0f172a;
    font-weight: 800;
}

.walkin-mini-cal-grid button:disabled {
    opacity: 0.35;
    cursor: default;
}

.walkin-vr-time-slot,
.walkin-general-time-slot {
    cursor: pointer;
    width: 100%;
}

/* —— Calendario griglia oraria —— */
.operator-cal-timegrid-wrap {
    margin-top: 0.75rem;
}

.operator-cal-timegrid-hint {
    margin: 0 0 0.5rem;
    font-size: 0.78rem;
    color: #64748b;
}

.operator-cal-timegrid {
    display: grid;
    grid-template-columns: 3.25rem 1fr;
    gap: 0;
    border-radius: 0.75rem;
    border: 1px solid #1e293b;
    background: #020617;
    overflow: hidden;
    min-height: 28rem;
}

.operator-cal-timegrid-axis {
    position: relative;
    border-right: 1px solid #334155;
    background: rgb(15 23 42 / 0.8);
}

.operator-cal-timegrid-hour-line,
.operator-cal-timegrid-half-line {
    position: absolute;
    left: 0;
    right: 0;
    border-top: 1px solid rgb(51 65 85 / 0.35);
    pointer-events: none;
}

.operator-cal-timegrid-hour-label {
    position: absolute;
    right: 0.35rem;
    top: -0.45rem;
    font-size: 0.65rem;
    font-weight: 700;
    color: #64748b;
}

.operator-cal-timegrid-rooms {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
}

.operator-cal-timegrid-room-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.25rem;
    padding: 0.45rem 0.55rem;
    border-bottom: 1px solid #334155;
    background: rgb(15 23 42 / 0.9);
    font-size: 0.75rem;
    font-weight: 700;
    color: #e2e8f0;
}

.operator-cal-timegrid-room-hours {
    font-size: 0.65rem;
    font-weight: 600;
    color: #67e8f9;
}

.operator-cal-timegrid-canvas {
    position: relative;
    min-height: calc(var(--cal-span-min, 720) * 1px);
    height: 100%;
    cursor: pointer;
}

.operator-cal-timegrid-grid-lines {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.operator-cal-timegrid-grid-hour,
.operator-cal-timegrid-grid-half {
    position: absolute;
    left: 0;
    right: 0;
    border-top: 1px solid rgb(51 65 85 / 0.25);
}

.operator-cal-timegrid-closed {
    position: absolute;
    left: 0;
    right: 0;
    background: repeating-linear-gradient(
        -45deg,
        rgb(15 23 42 / 0.55),
        rgb(15 23 42 / 0.55) 6px,
        rgb(30 41 59 / 0.45) 6px,
        rgb(30 41 59 / 0.45) 12px
    );
    pointer-events: none;
    z-index: 1;
}

.operator-cal-timegrid-now {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: #f87171;
    z-index: 4;
    pointer-events: none;
}

.operator-cal-timegrid-events {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.operator-cal-timegrid-event {
    position: absolute;
    left: 4%;
    right: 4%;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    padding: 0.25rem 0.4rem;
    border-radius: 0.45rem;
    border: 1px solid rgb(34 211 238 / 0.35);
    background: linear-gradient(135deg, rgb(34 211 238 / 0.2), rgb(15 23 42 / 0.85));
    color: #f1f5f9;
    font-size: 0.68rem;
    text-decoration: none;
    overflow: hidden;
    box-sizing: border-box;
}

.operator-cal-timegrid-event.is-clickable {
    cursor: pointer;
    border: none;
    text-align: left;
    width: auto;
}

.operator-cal-timegrid-event-time {
    font-weight: 800;
    color: #67e8f9;
}

.operator-cal-timegrid-event-title {
    font-weight: 700;
    line-height: 1.2;
}

.operator-cal-timegrid-event-meta {
    color: #94a3b8;
    font-size: 0.62rem;
}

.operator-cal-timegrid-actions {
    margin-top: 0.65rem;
}

@media (max-width: 720px) {
    .operator-cal-timegrid {
        grid-template-columns: 2.5rem 1fr;
    }
}

/* —— Catalogo compatto —— */
.catalog-slim {
    max-width: 100%;
}

.catalog-form-fold {
    margin-bottom: 0.75rem;
    border-radius: 0.65rem;
    border: 1px solid #334155;
    background: rgb(15 23 42 / 0.45);
}

.catalog-form-fold-summary {
    padding: 0.55rem 0.75rem;
    font-weight: 700;
    font-size: 0.85rem;
    color: #e2e8f0;
    cursor: pointer;
    list-style: none;
}

.catalog-form-fold-summary::-webkit-details-marker {
    display: none;
}

.catalog-form-fold-body {
    padding: 0.65rem 0.85rem 0.75rem;
    border-top: 1px solid #334155;
}

.catalog-form-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 0.45rem 0.55rem;
}

.catalog-field {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    font-size: 0.68rem;
    font-weight: 600;
    color: #64748b;
    min-width: 5.5rem;
}

.catalog-field-grow {
    flex: 1 1 10rem;
    min-width: 8rem;
}

.catalog-field-narrow {
    min-width: 3.5rem;
    max-width: 5rem;
}

.catalog-field input,
.catalog-field select {
    border-radius: 0.45rem;
    border: 1px solid #334155;
    background: #020617;
    color: #e2e8f0;
    padding: 0.35rem 0.5rem;
    font-size: 0.8125rem;
}

.catalog-vis-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    align-items: center;
}

.catalog-vis-inline-opt {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.72rem;
    cursor: pointer;
}

.catalog-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    align-items: center;
}

.catalog-btn-save {
    padding: 0.4rem 0.85rem;
    border-radius: 0.5rem;
    border: none;
    background: #22d3ee;
    color: #0f172a;
    font-weight: 800;
    font-size: 0.8rem;
    cursor: pointer;
}

.catalog-btn-cancel {
    padding: 0.4rem 0.65rem;
    border-radius: 0.5rem;
    color: #94a3b8;
    font-size: 0.8rem;
    text-decoration: none;
}

.catalog-toolbar-main {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.catalog-slim-count {
    font-size: 0.78rem;
    font-weight: 700;
    color: #94a3b8;
}

.catalog-vis-filters {
    display: flex;
    gap: 0.25rem;
}

.catalog-vis-filter {
    padding: 0.25rem 0.5rem;
    border-radius: 0.4rem;
    border: 1px solid #334155;
    background: #020617;
    color: #94a3b8;
    font-size: 0.75rem;
    cursor: pointer;
}

.catalog-vis-filter.is-active {
    border-color: rgb(34 211 238 / 0.5);
    background: rgb(34 211 238 / 0.12);
    color: #a5f3fc;
}

.catalog-search-input {
    min-width: 12rem;
    flex: 1;
    border-radius: 0.5rem;
    border: 1px solid #334155;
    background: #020617;
    color: #e2e8f0;
    padding: 0.4rem 0.6rem;
    font-size: 0.8125rem;
}

.catalog-table-wrap {
    max-height: min(70vh, 42rem);
    overflow: auto;
    border-radius: 0.65rem;
    border: 1px solid #1e293b;
}

.catalog-table thead th {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #0f172a;
}

.catalog-vis-badge {
    display: inline-block;
    padding: 0.12rem 0.4rem;
    border-radius: 0.35rem;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
}

.catalog-vis-badge.is-public {
    background: rgb(34 211 238 / 0.15);
    color: #67e8f9;
}

.catalog-vis-badge.is-operator {
    background: rgb(251 191 36 / 0.15);
    color: #fcd34d;
}

/* —— Area Clienti —— */
.area-clienti-hero {
    margin-bottom: 1rem;
}

.area-clienti-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    align-items: flex-end;
    margin-bottom: 1rem;
}

.area-clienti-search {
    flex: 1;
    min-width: 12rem;
}

.area-clienti-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
    gap: 0.65rem;
}

.area-clienti-card {
    display: grid;
    gap: 0.15rem;
    padding: 0.75rem 0.85rem;
    border-radius: 0.75rem;
    border: 1px solid #334155;
    background: linear-gradient(160deg, rgb(15 23 42 / 0.9), rgb(2 6 23 / 0.85));
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s, transform 0.15s;
}

.area-clienti-card:hover {
    border-color: rgb(34 211 238 / 0.45);
    transform: translateY(-1px);
}

.area-clienti-card-label {
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
}

.area-clienti-card-value {
    font-size: 0.88rem;
    font-weight: 600;
    color: #e2e8f0;
}

.area-clienti-card-name {
    font-size: 1rem;
    font-weight: 800;
}

.area-clienti-card-cta {
    margin-top: 0.35rem;
    font-size: 0.72rem;
    font-weight: 700;
    color: #22d3ee;
}

.area-clienti-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.area-clienti-page-btn {
    font-size: 0.85rem;
    color: #67e8f9;
    text-decoration: none;
}

.area-clienti-page-btn.is-disabled {
    color: #475569;
    pointer-events: none;
}

.area-clienti-detail-hero {
    margin-bottom: 1rem;
}

.area-clienti-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
    gap: 0.75rem;
}

.area-clienti-detail-panel {
    padding: 0.85rem 1rem;
    border-radius: 0.75rem;
    border: 1px solid #334155;
    background: rgb(15 23 42 / 0.55);
}

.area-clienti-detail-panel h3 {
    margin: 0 0 0.65rem;
    font-size: 0.95rem;
}

.area-clienti-detail-dl {
    display: grid;
    gap: 0.35rem;
    margin: 0;
}

.area-clienti-detail-dl dt {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #64748b;
}

.area-clienti-detail-dl dd {
    margin: 0;
    color: #e2e8f0;
}

.area-clienti-flash {
    padding: 0.55rem 0.75rem;
    border-radius: 0.5rem;
    border: 1px solid rgb(16 185 129 / 0.4);
    background: rgb(16 185 129 / 0.1);
    color: #6ee7b7;
    font-size: 0.85rem;
}

.area-clienti-flash--error {
    border-color: rgb(248 113 113 / 0.4);
    background: rgb(239 68 68 / 0.1);
    color: #fecaca;
}

.area-clienti-sede-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr));
    gap: 0.65rem;
}

.area-clienti-sede-card {
    display: block;
    padding: 1rem;
    border-radius: 0.75rem;
    border: 1px solid #334155;
    background: rgb(15 23 42 / 0.6);
    text-decoration: none;
    color: inherit;
}

.area-clienti-sede-card:hover {
    border-color: #22d3ee;
}

/* —— Cassa banco (sale studio) —— */
.sale-studio {
    border-radius: 1rem;
    border: 1px solid #334155;
    background: rgb(15 23 42 / 0.5);
    overflow: hidden;
}

.sale-studio-hero {
    padding: 1rem 1.15rem;
    border-bottom: 1px solid #334155;
    background: linear-gradient(135deg, rgb(34 211 238 / 0.08), transparent);
}

.sale-studio-title {
    margin: 0.35rem 0 0;
    font-size: 1.25rem;
}

.sale-studio-body {
    display: grid;
    grid-template-columns: 1fr min(18rem, 32%);
    gap: 1rem;
    padding: 1rem;
}

@media (max-width: 900px) {
    .sale-studio-body {
        grid-template-columns: 1fr;
    }
}

.sale-studio-block {
    margin-bottom: 0.85rem;
    padding: 0.75rem;
    border-radius: 0.65rem;
    border: 1px solid #1e293b;
    background: rgb(2 6 23 / 0.5);
}

.sale-studio-submit {
    width: 100%;
    margin-top: 0.5rem;
    padding: 0.65rem;
    border: none;
    border-radius: 0.65rem;
    background: #22d3ee;
    color: #0f172a;
    font-weight: 800;
    cursor: pointer;
}

.sale-studio-empty {
    padding: 2rem;
    text-align: center;
    color: #64748b;
}

/* Report teaser (home operatore) — se non in app.css */
.operator-report-teaser {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.15rem;
    border-radius: 1rem;
    border: 1px solid rgb(34 211 238 / 0.28);
    background: linear-gradient(100deg, rgb(34 211 238 / 0.1), rgb(15 23 42 / 0.85));
    text-decoration: none;
    color: inherit;
}

.operator-report-teaser:hover {
    border-color: rgb(34 211 238 / 0.55);
}

.operator-report-teaser-body strong {
    display: block;
    color: #f1f5f9;
}

.operator-report-teaser-body span {
    display: block;
    font-size: 0.8rem;
    color: #94a3b8;
}

.operator-report-teaser-cta {
    font-weight: 700;
    color: #22d3ee;
}

/* —— Recovery: pricing walk-in, cassa, calendario, area clienti —— */

.walkin-pricing {
    margin-top: 0.65rem;
    padding: 0.85rem 1rem;
    border-radius: 0.85rem;
    border: 1px solid #334155;
    background: rgb(2 6 23 / 0.45);
}

.walkin-pricing-head {
    margin-bottom: 0.65rem;
}

.walkin-pricing-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
    color: #f1f5f9;
}

.walkin-pricing-lead {
    margin: 0.25rem 0 0;
    font-size: 0.8rem;
    color: #94a3b8;
}

.walkin-pricing-listino {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.65rem;
}

.walkin-pricing-listino-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #64748b;
}

.walkin-pricing-listino-value {
    font-size: 1.15rem;
    color: #67e8f9;
}

.walkin-pricing-formula {
    font-size: 0.72rem;
    color: #94a3b8;
}

.walkin-discount-type {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.65rem;
}

.walkin-discount-pill {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    border: 1px solid #334155;
    background: rgb(15 23 42 / 0.6);
    font-size: 0.8rem;
    font-weight: 600;
    color: #cbd5e1;
    cursor: pointer;
}

.walkin-discount-pill.is-active,
.walkin-discount-pill:has(input:checked) {
    border-color: rgb(34 211 238 / 0.5);
    background: rgb(34 211 238 / 0.12);
    color: #a5f3fc;
}

.walkin-discount-pill input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: pointer;
}

.walkin-discount-fields {
    display: grid;
    gap: 0.5rem;
    margin-bottom: 0.65rem;
}

.walkin-pricing-final {
    margin-top: 0.35rem;
}

.walkin-pricing-summary {
    margin: 0.5rem 0 0;
    font-size: 0.78rem;
    color: #94a3b8;
}

.walkin-pricing-summary--compact {
    margin-top: 0.35rem;
}

.walkin-pricing-cell {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.walkin-pricing-k {
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #64748b;
}

.walkin-pricing-cell--total strong,
.walkin-pricing-cell strong {
    color: #67e8f9;
}

.walkin-input-xs {
    padding: 0.35rem 0.45rem !important;
    font-size: 0.78rem !important;
    min-height: auto !important;
}

.walkin-input-total {
    font-weight: 800;
}

.walkin-discount-reason {
    width: 100%;
    margin-top: 0.35rem;
}

.walkin-product-vis {
    font-size: 0.65rem;
    margin-left: 0.25rem;
}

.walkin-product-card-basis {
    font-size: 0.65rem;
    font-weight: 600;
    opacity: 0.85;
}

.walkin-compact-product {
    margin: 0.35rem 0;
}

.walkin-mini-cal-nav,
.walkin-mini-cal-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.35rem;
}

.walkin-mini-cal-nav button,
.walkin-mini-cal-pad button {
    border: none;
    border-radius: 0.4rem;
    background: rgb(51 65 85 / 0.5);
    color: #e2e8f0;
    padding: 0.25rem 0.5rem;
    cursor: pointer;
    font-size: 0.75rem;
}

.walkin-mini-cal-week {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.15rem;
    margin-bottom: 0.25rem;
    font-size: 0.6rem;
    font-weight: 700;
    color: #64748b;
    text-align: center;
}

.walkin-date-trigger-icon {
    opacity: 0.7;
}

/* Calendario — intestazione pagina */
.operator-cal-page-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.operator-cal-page-title {
    margin: 0.35rem 0 0;
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    font-weight: 800;
    color: #f8fafc;
}

.operator-cal-page-lead {
    margin: 0.35rem 0 0;
    max-width: 42rem;
    font-size: 0.9rem;
    color: #94a3b8;
    line-height: 1.45;
}

.operator-cal-page-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

/* Cassa banco */
.sale-summary-grid--bar {
    margin-bottom: 1.25rem;
}

.sale-summary-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #64748b;
}

.sale-summary-value {
    display: block;
    margin-top: 0.2rem;
    font-size: 1.35rem;
    color: #f1f5f9;
}

.sale-flash-ok {
    margin-bottom: 1rem;
    padding: 0.65rem 0.85rem;
    border-radius: 0.65rem;
    border: 1px solid rgb(16 185 129 / 0.4);
    background: rgb(16 185 129 / 0.1);
    color: #6ee7b7;
    font-size: 0.88rem;
}

.sale-field {
    display: grid;
    gap: 0.35rem;
    margin-bottom: 0.65rem;
}

.sale-field-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #94a3b8;
}

.sale-field-hero {
    position: relative;
}

.sale-room-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 0.75rem;
}

.sale-room-tab {
    padding: 0.4rem 0.75rem;
    border-radius: 0.5rem;
    border: 1px solid #334155;
    background: #020617;
    color: #94a3b8;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
}

.sale-room-tab.is-active {
    border-color: rgb(34 211 238 / 0.5);
    background: rgb(34 211 238 / 0.12);
    color: #a5f3fc;
}

.sale-room-badge {
    display: inline-block;
    margin-bottom: 0.65rem;
    padding: 0.25rem 0.6rem;
    border-radius: 0.4rem;
    background: rgb(34 211 238 / 0.12);
    color: #67e8f9;
    font-size: 0.75rem;
    font-weight: 700;
}

.sale-product-panels {
    display: grid;
    gap: 0.65rem;
}

.sale-product-panel {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr));
    gap: 0.55rem;
}

.sale-amount-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
}

.sale-studio-step {
    display: grid;
    place-items: center;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 0.5rem;
    font-weight: 800;
    font-size: 0.85rem;
    color: #0f172a;
    background: #22d3ee;
    flex-shrink: 0;
}

.sale-studio-block-head {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.sale-studio-block-head h4 {
    margin: 0;
    font-size: 0.95rem;
}

.sale-studio-block-head p {
    margin: 0.15rem 0 0;
    font-size: 0.78rem;
    color: #64748b;
}

.sale-on-duty {
    margin: 0.35rem 0 0;
    font-size: 0.78rem;
    color: #94a3b8;
}

.sale-studio-receipt {
    padding: 1rem;
    border-radius: 0.75rem;
    border: 1px solid #334155;
    background: rgb(2 6 23 / 0.65);
    align-self: start;
    position: sticky;
    top: 1rem;
}

.sale-receipt-head {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #64748b;
}

.sale-receipt-total {
    margin: 0.35rem 0 0.75rem;
    font-size: 1.75rem;
    font-weight: 800;
    color: #67e8f9;
}

.sale-receipt-lines {
    display: grid;
    gap: 0.45rem;
    margin: 0;
    font-size: 0.82rem;
}

.sale-receipt-lines dt {
    color: #64748b;
    font-size: 0.65rem;
    text-transform: uppercase;
}

.sale-receipt-lines dd {
    margin: 0.1rem 0 0;
    color: #e2e8f0;
    font-weight: 600;
}

.sale-receipt-foot {
    margin: 0.85rem 0 0;
    font-size: 0.72rem;
    color: #94a3b8;
    line-height: 1.4;
}

.sale-catalog-details {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 0.75rem;
    border: 1px solid #1e293b;
}

.sale-catalog-lead {
    margin: 0.5rem 0 1rem;
    font-size: 0.85rem;
    color: #94a3b8;
}

.sale-recent-wrap {
    margin-top: 1.25rem;
}

.sale-recent-title {
    margin: 0 0 0.5rem;
    font-size: 0.9rem;
}

.sale-recent-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.35rem;
}

.sale-recent-item {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 0.5rem;
    font-size: 0.8rem;
    padding: 0.45rem 0;
    border-bottom: 1px solid #1e293b;
}

.sale-recent-who {
    font-weight: 600;
    color: #e2e8f0;
}

.sale-recent-what {
    color: #94a3b8;
}

.sale-recent-meta {
    color: #64748b;
    text-align: right;
}

/* Area Clienti — dettaglio e hub */
.area-clienti-breadcrumb {
    font-size: 0.85rem;
    color: #94a3b8;
}

.area-clienti-back {
    color: #67e8f9;
    text-decoration: none;
}

.area-clienti-detail-sep {
    margin: 0 0.35rem;
    opacity: 0.5;
}

.area-clienti-breadcrumb-current {
    font-weight: 700;
    color: #e2e8f0;
}

.area-clienti-count,
.area-clienti-hub-total {
    font-size: 0.85rem;
    color: #94a3b8;
    margin: 0;
}

.area-clienti-search-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    flex: 1;
    min-width: 14rem;
}

.area-clienti-search-input {
    flex: 1;
    min-width: 10rem;
    border-radius: 0.5rem;
    border: 1px solid #334155;
    background: #020617;
    color: #e2e8f0;
    padding: 0.45rem 0.65rem;
}

.area-clienti-search-btn {
    padding: 0.45rem 0.85rem;
    border-radius: 0.5rem;
    border: none;
    background: #22d3ee;
    color: #0f172a;
    font-weight: 700;
    cursor: pointer;
}

.area-clienti-search-reset {
    align-self: center;
    font-size: 0.8rem;
    color: #94a3b8;
}

.area-clienti-empty {
    padding: 2rem;
    text-align: center;
    color: #64748b;
    grid-column: 1 / -1;
}

.area-clienti-footnote {
    margin-top: 1.25rem;
    font-size: 0.78rem;
    color: #64748b;
}

.area-clienti-card-vrc {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
}

.area-clienti-card {
    position: relative;
}

.area-clienti-vrc-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.65rem;
}

.area-clienti-vrc-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(5rem, 1fr));
    gap: 0.65rem;
    margin-bottom: 0.65rem;
}

.area-clienti-vrc-metrics div {
    display: grid;
    gap: 0.15rem;
}

.area-clienti-vrc-metrics span {
    font-size: 0.65rem;
    color: #64748b;
    text-transform: uppercase;
}

.area-clienti-vrc-portal {
    margin-left: auto;
    font-size: 0.78rem;
    color: #22d3ee;
}

.area-clienti-subtitle {
    margin: 1rem 0 0.35rem;
    font-size: 0.85rem;
    color: #94a3b8;
}

.area-clienti-mission-list,
.area-clienti-ledger-list {
    margin: 0;
    padding-left: 1.1rem;
    font-size: 0.85rem;
    color: #cbd5e1;
}

.area-clienti-accredita-form {
    display: grid;
    gap: 0.5rem;
}

.area-clienti-accredita-form label {
    display: grid;
    gap: 0.2rem;
    font-size: 0.78rem;
}

.area-clienti-accredita-form input {
    border-radius: 0.45rem;
    border: 1px solid #334155;
    background: #020617;
    color: #e2e8f0;
    padding: 0.4rem 0.55rem;
}

.area-clienti-accredita-form button {
    justify-self: start;
    padding: 0.45rem 0.85rem;
    border: none;
    border-radius: 0.5rem;
    background: #22d3ee;
    color: #0f172a;
    font-weight: 700;
    cursor: pointer;
}

.area-clienti-scope-banner {
    margin-bottom: 1rem;
    padding: 0.65rem 0.85rem;
    border-radius: 0.65rem;
    border: 1px solid rgb(34 211 238 / 0.25);
    background: rgb(34 211 238 / 0.08);
    font-size: 0.85rem;
}

.area-clienti-scope-banner-label {
    font-weight: 700;
    color: #a5f3fc;
}

.area-clienti-scope-banner-hint {
    display: block;
    margin-top: 0.2rem;
    color: #94a3b8;
    font-size: 0.78rem;
}

.operator-cliente-profile-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.35rem 0.65rem;
    border-radius: 0.45rem;
    border: 1px solid rgb(34 211 238 / 0.35);
    background: rgb(34 211 238 / 0.1);
    color: #67e8f9;
    font-size: 0.72rem;
    font-weight: 700;
    text-decoration: none;
}

.operator-cliente-profile-btn--compact {
    padding: 0.25rem 0.5rem;
    font-size: 0.68rem;
}

@media (max-width: 720px) {
    .sale-amount-row,
    .sale-product-panel {
        grid-template-columns: 1fr;
    }

    .sale-recent-item {
        grid-template-columns: 1fr;
    }
}

/* ========== Tema chiaro — componenti in questo file ========== */
html.theme-light .walkin-compact-title {
    color: #0f172a !important;
}

html.theme-light .walkin-compact-lead,
html.theme-light .walkin-source-chip,
html.theme-light .walkin-quick-partita--compact {
    color: #64748b !important;
}

html.theme-light .walkin-source-chip.is-active {
    color: #0369a1 !important;
}

html.theme-light .walkin-pricing--compact,
html.theme-light .walkin-pricing {
    border-color: #e2e8f0 !important;
    background: #f8fafc !important;
}

html.theme-light .walkin-pricing-title {
    color: #0f172a !important;
}

html.theme-light .walkin-pricing-lead,
html.theme-light .walkin-pricing-formula,
html.theme-light .walkin-pricing-summary {
    color: #64748b !important;
}

html.theme-light .walkin-pricing-listino-value,
html.theme-light .walkin-pricing-cell--total strong,
html.theme-light .walkin-pricing-cell strong {
    color: #0369a1 !important;
}

html.theme-light .walkin-discount-pill {
    border-color: #cbd5e1 !important;
    background: #ffffff !important;
    color: #334155 !important;
}

html.theme-light .walkin-discount-pill.is-active,
html.theme-light .walkin-discount-pill:has(input:checked) {
    border-color: #0284c7 !important;
    background: #e0f2fe !important;
    color: #0c4a6e !important;
}

html.theme-light .walkin-free-form-note--compact {
    color: #b45309 !important;
}

html.theme-light .operator-customer-suggest {
    border-color: #e2e8f0 !important;
    background: #ffffff !important;
    box-shadow: 0 12px 32px rgb(15 23 42 / 0.12) !important;
}

html.theme-light .operator-customer-suggest-item {
    color: #0f172a !important;
}

html.theme-light .operator-customer-suggest-item:hover,
html.theme-light .operator-customer-suggest-item.is-highlighted {
    background: #e0f2fe !important;
}

html.theme-light .operator-customer-suggest-profile {
    border-left-color: #e2e8f0 !important;
    color: #0369a1 !important;
}

html.theme-light .walkin-mini-cal {
    border-color: #e2e8f0 !important;
    background: #ffffff !important;
    box-shadow: 0 12px 32px rgb(15 23 42 / 0.12) !important;
}

html.theme-light .walkin-mini-cal-head {
    color: #0f172a !important;
}

html.theme-light .walkin-mini-cal-grid button {
    color: #334155 !important;
}

html.theme-light .walkin-mini-cal-grid button:hover:not(:disabled) {
    background: #e0f2fe !important;
    color: #0369a1 !important;
}

html.theme-light .walkin-mini-cal-nav button,
html.theme-light .walkin-mini-cal-pad button {
    background: #f1f5f9 !important;
    color: #334155 !important;
}

html.theme-light .catalog-form-fold {
    border-color: #e2e8f0 !important;
    background: #f8fafc !important;
}

html.theme-light .catalog-form-fold-summary {
    color: #0f172a !important;
}

html.theme-light .catalog-form-fold-body {
    border-top-color: #e2e8f0 !important;
}

html.theme-light .catalog-field input,
html.theme-light .catalog-field select,
html.theme-light .catalog-search-input,
html.theme-light .catalog-vis-filter {
    border-color: #cbd5e1 !important;
    background: #ffffff !important;
    color: #0f172a !important;
}

html.theme-light .catalog-vis-filter.is-active {
    border-color: #0284c7 !important;
    background: #e0f2fe !important;
    color: #0c4a6e !important;
}

html.theme-light .catalog-table-wrap {
    border-color: #e2e8f0 !important;
}

html.theme-light .catalog-table thead th {
    background: #f8fafc !important;
    color: #334155 !important;
}

html.theme-light .catalog-vis-badge.is-public {
    background: #e0f2fe !important;
    color: #0369a1 !important;
}

html.theme-light .catalog-vis-badge.is-operator {
    background: #fef3c7 !important;
    color: #b45309 !important;
}

html.theme-light .catalog-slim-count,
html.theme-light .catalog-btn-cancel {
    color: #64748b !important;
}

html.theme-light .area-clienti-card {
    border-color: #e2e8f0 !important;
    background: linear-gradient(160deg, #ffffff, #f8fafc) !important;
    box-shadow: 0 8px 24px rgb(15 23 42 / 0.06);
}

html.theme-light .area-clienti-card:hover {
    border-color: #7dd3fc !important;
}

html.theme-light .area-clienti-card-value,
html.theme-light .area-clienti-card-name,
html.theme-light .area-clienti-breadcrumb-current {
    color: #0f172a !important;
}

html.theme-light .area-clienti-card-cta,
html.theme-light .area-clienti-page-btn,
html.theme-light .area-clienti-back {
    color: #0369a1 !important;
}

html.theme-light .area-clienti-detail-panel {
    border-color: #e2e8f0 !important;
    background: #ffffff !important;
}

html.theme-light .area-clienti-detail-dl dd,
html.theme-light .area-clienti-mission-list,
html.theme-light .area-clienti-ledger-list {
    color: #334155 !important;
}

html.theme-light .area-clienti-sede-card {
    border-color: #e2e8f0 !important;
    background: #ffffff !important;
}

html.theme-light .area-clienti-search-input,
html.theme-light .area-clienti-accredita-form input {
    border-color: #cbd5e1 !important;
    background: #ffffff !important;
    color: #0f172a !important;
}

html.theme-light .area-clienti-flash {
    border-color: rgb(16 185 129 / 0.35) !important;
    background: #ecfdf5 !important;
    color: #047857 !important;
}

html.theme-light .area-clienti-flash--error {
    border-color: rgb(239 68 68 / 0.35) !important;
    background: #fef2f2 !important;
    color: #b91c1c !important;
}

html.theme-light .area-clienti-scope-banner {
    border-color: #bae6fd !important;
    background: #f0f9ff !important;
}

html.theme-light .area-clienti-scope-banner-label {
    color: #0369a1 !important;
}

html.theme-light .operator-cliente-profile-btn {
    border-color: #7dd3fc !important;
    background: #e0f2fe !important;
    color: #0369a1 !important;
}

html.theme-light .sale-studio {
    border-color: #e2e8f0 !important;
    background: #ffffff !important;
}

html.theme-light .sale-studio-hero {
    border-bottom-color: #e2e8f0 !important;
    background: linear-gradient(135deg, rgb(224 242 254 / 0.65), #ffffff) !important;
}

html.theme-light .sale-studio-block {
    border-color: #e2e8f0 !important;
    background: #f8fafc !important;
}

html.theme-light .sale-summary-value,
html.theme-light .sale-recent-who {
    color: #0f172a !important;
}

html.theme-light .sale-room-tab {
    border-color: #cbd5e1 !important;
    background: #ffffff !important;
    color: #64748b !important;
}

html.theme-light .sale-room-tab.is-active {
    border-color: #0284c7 !important;
    background: #e0f2fe !important;
    color: #0c4a6e !important;
}

html.theme-light .sale-studio-receipt {
    border-color: #e2e8f0 !important;
    background: #f8fafc !important;
}

html.theme-light .sale-receipt-total {
    color: #0369a1 !important;
}

html.theme-light .sale-receipt-lines dd {
    color: #334155 !important;
}

html.theme-light .sale-catalog-details,
html.theme-light .sale-recent-item {
    border-color: #e2e8f0 !important;
}

html.theme-light .operator-report-teaser {
    border-color: #bae6fd !important;
    background: linear-gradient(100deg, #f0f9ff, #ffffff) !important;
}

html.theme-light .operator-report-teaser-body strong {
    color: #0f172a !important;
}

html.theme-light .operator-report-teaser-cta {
    color: #0369a1 !important;
}

html.theme-light .operator-cal-page-title {
    color: #0f172a !important;
}

html.theme-light .operator-cal-page-lead {
    color: #64748b !important;
}

html.theme-light .brand-logo,
html.theme-light .header-logo,
html.theme-light .login-brand img {
    background: #ffffff !important;
    border-color: rgb(14 165 233 / 0.28) !important;
    box-shadow: 0 8px 20px rgb(15 23 42 / 0.08) !important;
}

html.theme-light .back-to-top {
    background: #e0f2fe !important;
    border-color: #7dd3fc !important;
    color: #0369a1 !important;
    box-shadow: 0 8px 20px rgb(15 23 42 / 0.1) !important;
}

html.theme-light dialog::backdrop {
    background: rgb(15 23 42 / 0.35) !important;
}

.quote-source-badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.15rem 0.45rem;
    border-radius: 999px;
    margin-bottom: 0.35rem;
}
.quote-source-ontour {
    background: rgba(192, 38, 211, 0.2);
    color: #e879f9;
}
.quote-source-experience {
    background: rgba(34, 211, 238, 0.18);
    color: #67e8f9;
}
.quote-source-birthday {
    background: rgba(251, 191, 36, 0.18);
    color: #fcd34d;
}
.quote-new-badge {
    display: inline-block;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.12rem 0.4rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #22d3ee, #a78bfa);
    color: #0f172a;
    margin-right: 0.35rem;
    animation: quote-new-pulse 2s ease-in-out infinite;
}
@keyframes quote-new-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.75; }
}
.quote-card--unread {
    border-color: #22d3ee88 !important;
    box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.25), 0 8px 24px rgba(34, 211, 238, 0.08);
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.06), rgba(167, 139, 250, 0.04)), #020617 !important;
}
.quote-card--unread .quote-card-summary strong {
    color: #f8fafc;
}
.quote-card-details > summary {
    list-style: none;
    cursor: pointer;
}
.quote-card-details > summary::-webkit-details-marker {
    display: none;
}
.quote-card-summary {
    position: relative;
    padding-right: 1.25rem;
}
.quote-card-summary::after {
    content: "▾";
    position: absolute;
    right: 0;
    top: 0.15rem;
    color: #64748b;
    font-size: 0.85rem;
}
.quote-card-details[open] .quote-card-summary::after {
    transform: rotate(180deg);
}
.quote-card-summary-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem;
    margin-top: 0.35rem;
}
.quote-card-services--summary {
    margin: 0.35rem 0 0;
    font-size: 0.82rem;
}
.quote-card-body {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid #1e293b;
}
.quote-card-message {
    white-space: pre-wrap;
}
.quotes-unread-banner {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(34, 211, 238, 0.35);
    background: rgba(34, 211, 238, 0.08);
    color: #a5f3fc;
    font-size: 0.92rem;
}
.quotes-pipeline-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}
.quotes-pipeline-filter {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    border: 1px solid #334155;
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
}
.quotes-pipeline-filter.is-active {
    border-color: #22d3ee;
    background: rgba(34, 211, 238, 0.12);
    color: #67e8f9;
}
.quotes-filter-count {
    font-size: 0.75rem;
    opacity: 0.85;
}

/* —— Archivio report sale mensili —— */
.room-archive-page {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.room-archive-hero {
    padding: 1.35rem 1.5rem;
    border-radius: 1.15rem;
    border: 1px solid rgb(51 65 85 / 0.9);
    background: linear-gradient(180deg, rgb(15 23 42 / 0.95), rgb(2 6 23 / 0.98));
}

.room-archive-kicker {
    margin: 0;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #94a3b8;
}

.room-archive-hero h1 {
    margin: 0.35rem 0 0.5rem;
    font-size: clamp(1.45rem, 2.5vw, 1.85rem);
}

.room-archive-lead {
    margin: 0;
    color: #94a3b8;
    max-width: 52rem;
}

.room-archive-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1rem;
}

.room-archive-flash {
    padding: 0.75rem 1rem;
    border-radius: 0.85rem;
    border: 1px solid rgb(34 211 238 / 0.35);
    background: rgb(34 211 238 / 0.1);
    color: #a5f3fc;
}

.room-archive-section h2 {
    margin: 0 0 0.85rem;
    font-size: 1.05rem;
}

.room-archive-room {
    margin-bottom: 1.25rem;
    padding: 1rem 1.1rem;
    border-radius: 1rem;
    border: 1px solid rgb(51 65 85 / 0.85);
    background: rgb(15 23 42 / 0.55);
}

.room-archive-room-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.room-archive-room-head h2 {
    margin: 0;
}

.room-archive-room-live {
    color: #67e8f9;
    font-size: 0.85rem;
    text-decoration: none;
}

.room-archive-year-title {
    margin: 0.75rem 0 0.5rem;
    font-size: 0.92rem;
    color: #cbd5e1;
}

.room-archive-month-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
    gap: 0.55rem;
}

.room-archive-month-card {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.7rem 0.8rem;
    border-radius: 0.8rem;
    border: 1px solid rgb(51 65 85 / 0.9);
    background: rgb(2 6 23 / 0.55);
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s, background 0.15s;
}

.room-archive-month-card:hover {
    border-color: rgb(34 211 238 / 0.55);
    background: rgb(34 211 238 / 0.08);
}

.room-archive-month-label {
    font-size: 0.78rem;
    color: #94a3b8;
}

.room-archive-month-card strong {
    font-size: 1rem;
    color: #e2e8f0;
}

.room-archive-month-meta {
    font-size: 0.72rem;
    color: #64748b;
}

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

.room-archive-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}

.room-archive-table th,
.room-archive-table td {
    padding: 0.55rem 0.65rem;
    border-bottom: 1px solid rgb(51 65 85 / 0.7);
}

.room-archive-dl {
    color: #67e8f9;
    font-weight: 600;
    text-decoration: none;
}

.room-archive-delta.is-up { color: #4ade80; }
.room-archive-delta.is-down { color: #f87171; }
.room-archive-delta.is-muted { color: #64748b; }

.room-archive-empty {
    margin: 0;
    color: #64748b;
    font-size: 0.9rem;
}
.quote-quick-btn--link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    margin-left: 0.35rem;
}
.quote-mark-read-form {
    display: none;
}
