/*
 * Andkærhus app – the only stylesheet.
 *
 * 1. Design tokens (from docs/design/README.md)
 * 2. Fonts (local files, no CDN)
 * 3. Base
 * 4. Layout: tenant app (bottom menu on mobile, top bar from 900px), auth, admin
 * 5. Components: buttons, forms, cards, lists, badges, toast, alerts, dialogs,
 *    empty states, skeletons, intro tour
 *
 * The Content Security Policy blocks inline style attributes, so every visual
 * rule lives here. JavaScript may still set element.style through the DOM.
 */

/* 1. Design tokens -------------------------------------------------------- */
:root {
    --color-primary: #69242B;
    --color-primary-dark: #4F1A20;
    --color-primary-tint: #F3E6E7;
    --color-accent: #DF5A4F;
    --gradient-header: linear-gradient(90deg, #DF5A4F, #69242B);
    --color-bg: #F6F4F2;
    --color-surface: #FFFFFF;
    --color-text: #3F3F3F;
    --color-muted: #5F5F5F;
    --color-border: #D5D0CC;
    --color-border-light: #EEEEEE;
    --color-input-border: #8C8580;
    --color-success: #1F6B2E;
    --color-danger: #A83A32;
    --color-danger-bg: #FBEBEB;
    --color-danger-text: #5C1F1A;
    --color-lastminute-bg: #FFF4C2;
    --color-lastminute-border: #C9A400;
    --color-lastminute-text: #3D3100;
    --color-toast: #2B2526;
    --color-toast-action: #FFD27A;
    --color-toast-icon: #7BD88F;
    --color-news: #FFD400;
    --color-screen-bg: #161314;
    --color-skeleton: #ECE8E5;
    --color-skeleton-light: #F1EEEC;
    --color-focus: #1D5FBF;

    --font-body: "Lato", system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-heading: "Titillium Web", "Lato", system-ui, sans-serif;

    --radius-button: 4px;
    --radius-card: 6px;
    --radius-dialog: 10px;
    --touch-target: 44px;

    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-8: 32px;

    --shadow-raised: 0 6px 20px rgba(0, 0, 0, 0.2);
    --shadow-dialog: 0 10px 30px rgba(0, 0, 0, 0.3);
    --overlay: rgba(20, 16, 17, 0.62);

    --bottom-nav-height: 64px;
    --content-max: 1120px;
    --breakpoint-desktop: 900px; /* documentation only; media queries repeat the value */
}

/* 2. Fonts ---------------------------------------------------------------- */
@font-face {
    font-family: "Lato";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/lato-latin-400.woff2") format("woff2");
}
@font-face {
    font-family: "Lato";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/lato-latin-700.woff2") format("woff2");
}
@font-face {
    font-family: "Titillium Web";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../fonts/titillium-web-latin-600.woff2") format("woff2");
}
@font-face {
    font-family: "Titillium Web";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/titillium-web-latin-700.woff2") format("woff2");
}

/* 3. Base ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.45;
}

h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
}
h1 { font-size: 26px; }
h2 { font-size: 19px; }
h3 { font-size: 16px; }

p { margin: 0; }

a { color: var(--color-primary); }
a:hover { color: var(--color-text); }

img { max-width: 100%; }

:focus-visible {
    outline: 3px solid var(--color-focus);
    outline-offset: 2px;
}

[x-cloak] { display: none !important; }

.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    margin: -1px; padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    left: var(--space-2);
    top: -60px;
    z-index: 100;
    padding: var(--space-2) var(--space-4);
    background: var(--color-surface);
    color: var(--color-primary);
    font-weight: 700;
    border-radius: var(--radius-button);
}
.skip-link:focus { top: var(--space-2); }

.muted { color: var(--color-muted); }
.small { font-size: 13px; }
.stack { display: flex; flex-direction: column; gap: var(--space-3); }
.stack-lg { display: flex; flex-direction: column; gap: var(--space-5); }
.row { display: flex; align-items: center; gap: var(--space-3); flex-wrap: wrap; }
.row-between { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-3); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); }

/* 4a. Tenant app layout --------------------------------------------------- */
.app {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

.app-main {
    flex: 1;
    width: 100%;
    /* Leave room for the fixed bottom menu, so it never covers content or forms. */
    padding-bottom: calc(var(--bottom-nav-height) + env(safe-area-inset-bottom) + var(--space-6));
}

.page-header {
    background: var(--gradient-header);
    color: #FFFFFF;
    padding: var(--space-4) var(--space-5) var(--space-5);
}
.page-header a { color: #FFFFFF; }
.page-header .logo { display: block; width: 150px; height: auto; margin-bottom: var(--space-4); }
.page-header h1 { font-size: 26px; }
.page-header p { margin-top: 2px; font-size: 15px; }
.page-header .back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: var(--touch-target);
    font-weight: 700;
    text-decoration: none;
}

.page-body {
    width: 100%;
    max-width: var(--content-max);
    margin: 0 auto;
    padding: var(--space-4);
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.section-title {
    margin: var(--space-3) 0 var(--space-1);
    font-size: 15px;
    color: var(--color-muted);
}

/* Bottom menu (mobile) */
.bottom-nav {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 40;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    background: var(--color-surface);
    border-top: 1px solid #E2DEDB;
    padding-bottom: env(safe-area-inset-bottom);
}
.bottom-nav a {
    min-height: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    color: var(--color-muted);
}
.bottom-nav a[aria-current="page"] { color: var(--color-primary); }
.bottom-nav svg { width: 22px; height: 22px; }

/* Top bar (desktop) */
.topbar { display: none; }

@media (min-width: 900px) {
    .bottom-nav { display: none; }
    .app-main { padding-bottom: var(--space-8); }

    .topbar {
        display: block;
        background: var(--gradient-header);
        color: #FFFFFF;
    }
    .topbar-inner {
        max-width: var(--content-max);
        margin: 0 auto;
        padding: var(--space-2) var(--space-6);
        display: flex;
        align-items: center;
        gap: var(--space-6);
    }
    .topbar .logo { width: 170px; height: auto; display: block; }
    .topbar nav { display: flex; align-items: center; gap: var(--space-1); flex: 1; }
    .topbar nav > a,
    .topbar .menu-button {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        min-height: var(--touch-target);
        padding: 0 14px;
        border: 0;
        border-radius: var(--radius-button);
        background: transparent;
        color: #FFFFFF;
        font: 700 15px var(--font-body);
        text-decoration: none;
        cursor: pointer;
    }
    .topbar nav > a[aria-current="page"],
    .topbar nav > a:hover,
    .topbar .menu-button:hover,
    .topbar .menu-button[aria-expanded="true"] { background: rgba(0, 0, 0, 0.22); color: #FFFFFF; }
    .topbar .user-chip {
        display: inline-flex;
        align-items: center;
        gap: var(--space-2);
        color: #FFFFFF;
        font-weight: 700;
        text-decoration: none;
        min-height: var(--touch-target);
    }

    /* On desktop the gradient lives in the top bar; page headers become plain titles. */
    .page-header {
        background: none;
        color: var(--color-text);
        max-width: var(--content-max);
        margin: 0 auto;
        width: 100%;
        padding: var(--space-8) var(--space-6) 0;
    }
    .page-header a { color: var(--color-primary); }
    .page-header .logo { display: none; }
    .page-header h1 { font-size: 30px; }
    .page-header p { color: var(--color-muted); }
    .page-body { padding: var(--space-5) var(--space-6); }
}

.dropdown { position: relative; }
.dropdown-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    z-index: 50;
    min-width: 240px;
    padding: 6px;
    background: var(--color-surface);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-dialog);
    display: flex;
    flex-direction: column;
}
.dropdown-menu a {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: 0 12px;
    border-radius: var(--radius-button);
    color: var(--color-text);
    font-weight: 700;
    text-decoration: none;
}
.dropdown-menu a:hover, .dropdown-menu a:focus-visible { background: var(--color-primary-tint); color: var(--color-primary); }
.dropdown-menu hr { border: 0; border-top: 1px solid var(--color-border-light); margin: 4px 0; width: 100%; }
.dropdown-menu form { margin: 0; }
.dropdown-menu .link-button {
    width: 100%;
    min-height: 42px;
    padding: 0 12px;
    justify-content: flex-start;
    color: var(--color-text);
}

.avatar {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--color-primary-tint);
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}
.topbar .avatar { width: 32px; height: 32px; font-size: 13px; background: rgba(255, 255, 255, 0.2); color: #FFFFFF; }

/* 4b. Auth layout (login, invitation, reset) ------------------------------ */
.auth {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}
.auth-hero {
    background: var(--gradient-header);
    color: #FFFFFF;
    padding: 40px var(--space-6) var(--space-8);
}
.auth-hero .logo { width: 200px; height: auto; display: block; }
.auth-hero p { margin-top: 14px; font-size: 16px; }
.auth-main {
    flex: 1;
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
    padding: var(--space-6);
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}
.auth-main h1 { font-size: 26px; }
@media (min-width: 900px) {
    .auth { background: var(--color-bg); }
    .auth-hero { text-align: center; }
    .auth-hero .logo { margin: 0 auto; }
    .auth-main {
        margin-top: -16px;
        background: var(--color-surface);
        border-radius: var(--radius-dialog);
        box-shadow: var(--shadow-raised);
        flex: 0 0 auto;
        margin-bottom: var(--space-8);
    }
}

/* 4c. Admin layout -------------------------------------------------------- */
.admin {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.admin-sidebar {
    background: var(--color-surface);
    border-bottom: 1px solid #E2DEDB;
}
.admin-brand {
    background: var(--gradient-header);
    padding: var(--space-4) var(--space-5);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
}
.admin-brand .logo { width: 150px; height: auto; display: block; }
.admin-brand span { font-size: 13px; font-weight: 700; }
.admin-nav {
    padding: var(--space-2);
    display: flex;
    gap: 2px;
    overflow-x: auto;
}
.admin-nav a {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: 0 12px;
    border-radius: var(--radius-button);
    color: var(--color-text);
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}
.admin-nav a[aria-current="page"] { background: var(--color-primary-tint); color: var(--color-primary); }
.admin-nav a.is-disabled { color: #8A8480; font-weight: 400; }
.admin-nav .admin-nav-foot { margin-top: auto; }
.admin-main {
    flex: 1;
    min-width: 0;
    padding: var(--space-5) var(--space-4) var(--space-8);
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}
.admin-main h1 { font-size: 30px; }
@media (min-width: 900px) {
    .admin { flex-direction: row; }
    .admin-sidebar {
        width: 240px;
        flex-shrink: 0;
        border-bottom: 0;
        border-right: 1px solid #E2DEDB;
        display: flex;
        flex-direction: column;
    }
    .admin-brand { flex-direction: column; align-items: flex-start; }
    .admin-nav { flex-direction: column; overflow: visible; flex: 1; padding: 10px; }
    .admin-main { padding: 28px 32px 40px; }
}

/* 5. Components ----------------------------------------------------------- */

/* Cards */
.card {
    background: var(--color-surface);
    border-radius: var(--radius-card);
    padding: 14px var(--space-4);
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.card-flush { padding: 0; overflow: hidden; gap: 0; }
.card h2 { font-size: 18px; }

.tile-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); }
.tile {
    min-height: 76px;
    background: var(--color-surface);
    border-radius: var(--radius-card);
    padding: var(--space-3) 14px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: var(--space-1);
    color: var(--color-text);
    text-decoration: none;
}
.tile strong { font-weight: 700; }
.tile svg { width: 22px; height: 22px; color: var(--color-primary); }
.tile:hover { color: var(--color-primary); }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: var(--space-3); }
.stat { background: var(--color-surface); border-radius: var(--radius-card); padding: 14px 18px; }
.stat-label { font-size: 14px; color: var(--color-muted); }
.stat-value { font-family: var(--font-heading); font-size: 28px; font-weight: 700; line-height: 1.2; }

@media (min-width: 900px) {
    .home-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: var(--space-5); align-items: start; }
}

/* Buttons */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    min-height: 50px;
    padding: 0 18px;
    border: 0;
    border-radius: var(--radius-button);
    background: var(--color-primary);
    color: #FFFFFF;
    font: 700 16px var(--font-body);
    text-decoration: none;
    cursor: pointer;
}
.button:hover { background: var(--color-primary-dark); color: #FFFFFF; }
.button-block { width: 100%; }
.button-small { min-height: var(--touch-target); font-size: 15px; padding: 0 14px; }
.button-secondary {
    background: var(--color-surface);
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
}
.button-secondary:hover { background: var(--color-primary-tint); color: var(--color-primary); }
.button-danger { background: var(--color-danger); }
.button-danger:hover { background: #8A2E27; }
.button-danger-outline {
    background: var(--color-surface);
    color: var(--color-danger);
    border: 1px solid var(--color-danger);
}
.button-danger-outline:hover { background: var(--color-danger-bg); color: var(--color-danger); }
.button[disabled], .button[aria-disabled="true"] {
    background: #E2DEDB;
    color: #6E6A66;
    border-color: #E2DEDB;
    cursor: not-allowed;
}
.link-button {
    display: inline-flex;
    align-items: center;
    min-height: var(--touch-target);
    padding: 0 var(--space-1);
    border: 0;
    background: transparent;
    color: var(--color-primary);
    font: 700 15px var(--font-body);
    cursor: pointer;
    text-decoration: none;
}
.link-button:hover { text-decoration: underline; }
.icon-button {
    width: var(--touch-target);
    height: var(--touch-target);
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: var(--radius-button);
    background: transparent;
    color: var(--color-text);
    font: 700 22px var(--font-body);
    cursor: pointer;
}
.icon-button:hover { background: var(--color-bg); }
.button-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.align-center { align-self: center; }

/* Forms */
.field { display: flex; flex-direction: column; gap: var(--space-1); }
.field label, .label { font-size: 14px; font-weight: 700; }
.input {
    width: 100%;
    min-height: 48px;
    padding: 0 12px;
    border: 1px solid var(--color-input-border);
    border-radius: var(--radius-button);
    background: var(--color-surface);
    color: var(--color-text);
    font: 16px var(--font-body);
}
textarea.input { padding: 10px 12px; min-height: 96px; resize: vertical; line-height: 1.4; }
.input[aria-invalid="true"] { border: 2px solid var(--color-danger); }
.input-code { font-size: 24px; letter-spacing: 8px; text-align: center; }
.field-hint { font-size: 13px; color: var(--color-muted); }
.field-error { font-size: 14px; font-weight: 700; color: var(--color-danger); }
.password-wrap { position: relative; }
.password-wrap .input { padding-right: 76px; }
.password-wrap .link-button { position: absolute; right: 4px; top: 4px; min-height: 40px; padding: 0 10px; font-size: 14px; }
.check {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: var(--touch-target);
}
.check input { width: 22px; height: 22px; margin: 0; accent-color: var(--color-primary); flex-shrink: 0; }
.rules { margin: var(--space-2) 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: var(--space-1); font-size: 14px; }
.rules li { display: flex; gap: var(--space-2); color: var(--color-muted); }
.rules li.is-met { color: var(--color-success); font-weight: 700; }
form { margin: 0; }
.form-inline { display: flex; gap: var(--space-2); align-items: flex-end; flex-wrap: wrap; }
.form-inline .field { flex: 1 1 220px; }

/* Lists */
.list { margin: 0; padding: 0; list-style: none; background: var(--color-surface); border-radius: var(--radius-card); overflow: hidden; }
.list > li + li { border-top: 1px solid var(--color-border-light); }
.list-link {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    min-height: 60px;
    padding: var(--space-2) 14px;
    color: var(--color-text);
    text-decoration: none;
}
.list-link:hover { background: #FBFAF9; color: var(--color-text); }
.list-link svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--color-primary); }
.list-link .chevron { width: 18px; height: 18px; color: #8C8580; }
.list-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.list-text strong { font-weight: 700; }
.list-text span { font-size: 13px; color: var(--color-muted); overflow-wrap: anywhere; }
.list-link.link-button { width: 100%; font-weight: 400; font-size: 15px; justify-content: flex-start; }

.member-row {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    min-height: 64px;
    padding: var(--space-2) 6px var(--space-2) 14px;
}
.member-actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 0 14px var(--space-3) 64px;
}
.member-actions .button { justify-content: flex-start; }

/* Badges */
.badge {
    display: inline-block;
    flex-shrink: 0;
    padding: 2px var(--space-2);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    background: var(--color-primary-tint);
    color: var(--color-primary);
}
.badge-pending { background: var(--color-lastminute-bg); color: var(--color-lastminute-text); }
.badge-neutral { background: #EFECEA; color: var(--color-muted); }
.badge-ok { background: #E3F1E6; color: var(--color-success); }
.badge-danger { background: var(--color-danger-bg); color: var(--color-danger); }
.new-marker { font-size: 13px; font-weight: 700; color: var(--color-danger); }

/* Tables (admin) */
.table-wrap { overflow-x: auto; background: var(--color-surface); border-radius: var(--radius-card); }
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th {
    text-align: left;
    font-size: 13px;
    color: var(--color-muted);
    font-weight: 700;
    padding: 10px 14px;
    white-space: nowrap;
}
.table td { padding: 11px 14px; border-top: 1px solid var(--color-border-light); vertical-align: top; }
.table .num { text-align: right; }
.table code { font-size: 13px; overflow-wrap: anywhere; }

/* Toast: short confirmation above the bottom menu */
.toast {
    position: fixed;
    left: var(--space-3);
    right: var(--space-3);
    bottom: calc(var(--bottom-nav-height) + env(safe-area-inset-bottom) + var(--space-3));
    z-index: 60;
    max-width: 560px;
    margin: 0 auto;
    background: var(--color-toast);
    color: #FFFFFF;
    border-radius: var(--radius-card);
    padding: 6px var(--space-2) 6px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-raised);
}
.toast svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--color-toast-icon); }
.toast-error svg { color: #FF9B91; }
.toast span { flex: 1; min-width: 0; padding: 10px 0; }
.toast form { margin: 0; }
.toast button {
    min-height: var(--touch-target);
    padding: 0 10px;
    border: 0;
    background: transparent;
    color: var(--color-toast-action);
    font: 700 15px var(--font-body);
    cursor: pointer;
}
.auth .toast, .admin .toast { bottom: var(--space-4); }
@media (min-width: 900px) {
    .toast { bottom: var(--space-6); }
}

/* Alerts */
.alert {
    border-radius: var(--radius-card);
    padding: var(--space-3) 14px;
    display: flex;
    gap: 10px;
}
.alert svg { width: 22px; height: 22px; flex-shrink: 0; }
.alert-error { background: var(--color-danger-bg); border: 1.5px solid var(--color-danger); color: var(--color-danger-text); }
.alert-error svg { color: var(--color-danger); }
.alert-warning { background: var(--color-lastminute-bg); border: 1.5px solid var(--color-lastminute-border); color: var(--color-lastminute-text); }
.alert-success { background: #E3F1E6; border: 1.5px solid var(--color-success); color: #163F1F; }
.alert-info { background: var(--color-surface); border: 1px solid var(--color-border); }

.offline-banner {
    position: sticky;
    top: 0;
    z-index: 55;
    background: var(--color-lastminute-bg);
    border-bottom: 1.5px solid var(--color-lastminute-border);
    color: var(--color-lastminute-text);
    padding: 10px var(--space-4);
    text-align: center;
}

/* Dialogs (native <dialog>) */
dialog.dialog {
    width: min(480px, calc(100% - 24px));
    border: 0;
    border-radius: var(--radius-dialog);
    padding: var(--space-5);
    box-shadow: var(--shadow-dialog);
    color: var(--color-text);
}
dialog.dialog::backdrop { background: rgba(20, 16, 17, 0.55); }
dialog.dialog .stack { gap: var(--space-3); }
dialog.dialog h2 { font-size: 21px; }
@media (max-width: 899px) {
    dialog.dialog {
        margin: auto 0 0;
        width: 100%;
        max-width: 100%;
        border-radius: 12px 12px 0 0;
    }
}

/* Empty states */
.empty {
    background: var(--color-surface);
    border-radius: var(--radius-card);
    padding: 22px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    text-align: center;
}
.empty svg { width: 40px; height: 40px; color: var(--color-primary); }
.empty strong { font-size: 17px; }
.empty span { color: var(--color-muted); }

/* Skeletons (loading placeholders) */
.skeleton { background: var(--color-surface); border-radius: var(--radius-card); padding: var(--space-4); display: flex; flex-direction: column; gap: 10px; }
.skeleton span { display: block; height: 12px; border-radius: 4px; background: var(--color-skeleton-light); }
.skeleton span:first-child { height: 14px; width: 40%; background: var(--color-skeleton); }
.skeleton span:nth-child(2) { width: 85%; }
.skeleton span:nth-child(3) { width: 70%; }

/* QR code */
.qr { width: 220px; height: 220px; image-rendering: pixelated; background: #FFFFFF; align-self: center; }
.secret { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 16px; letter-spacing: 1px; text-align: center; overflow-wrap: anywhere; }

/* Intro tour */
.tour-overlay { position: fixed; inset: 0; z-index: 80; background: var(--overlay); }
.tour-spot {
    position: fixed;
    z-index: 80;
    border-radius: 8px;
    box-shadow: 0 0 0 2000px var(--overlay), 0 0 0 3px var(--color-toast-action);
    pointer-events: none;
    transition: left 0.2s ease, top 0.2s ease, width 0.2s ease, height 0.2s ease;
}
.tour-card {
    position: fixed;
    z-index: 81;
    left: var(--space-4);
    right: var(--space-4);
    max-width: 420px;
    margin: 0 auto;
    background: var(--color-surface);
    border-radius: var(--radius-dialog);
    padding: var(--space-4);
    display: flex;
    flex-direction: column;
    gap: 6px;
    box-shadow: var(--shadow-dialog);
}
.tour-card h2 { font-size: 21px; }
.tour-progress { font-size: 13px; font-weight: 700; color: var(--color-muted); }
.tour-actions { display: flex; align-items: center; gap: var(--space-2); margin-top: var(--space-1); }
.tour-actions .spacer { flex: 1; }
.tour-skip { color: var(--color-muted); text-decoration: underline; font-size: 14px; }
@media (prefers-reduced-motion: reduce) {
    .tour-spot { transition: none; }
}

/* Error page */
.error-code { font-family: var(--font-heading); font-size: 48px; font-weight: 700; color: var(--color-primary); }

/* Admin details */
.details-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; row-gap: var(--space-2); column-gap: var(--space-3); font-size: 14px; }
.admin-columns { display: flex; flex-wrap: wrap; gap: var(--space-5); align-items: flex-start; }
.admin-columns > .wide { flex: 999 1 520px; min-width: 0; }
.admin-columns > .narrow { flex: 1 1 300px; min-width: 0; }

/* Phase 2: rooms and bookings -------------------------------------------- */
.desktop-only { display: none; }
@media (min-width: 900px) {
    .desktop-only { display: block; }
    .mobile-only { display: none; }
}

/* Day strip */
.day-strip-wrap {
    display: flex;
    gap: 6px;
    align-items: stretch;
    padding: var(--space-3) var(--space-4);
    background: var(--color-surface);
    border-bottom: 1px solid #E2DEDB;
}
.day-strip {
    flex: 1;
    min-width: 0;
    display: flex;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: thin;
}
.day-chip {
    flex: 0 0 52px;
    min-height: 52px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-button);
    background: var(--color-surface);
    color: var(--color-text);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    line-height: 1.15;
}
.day-chip strong { font-family: var(--font-heading); font-size: 19px; }
.day-chip.is-weekend { background: var(--color-bg); }
.day-chip[aria-current="date"] { background: var(--color-primary); border-color: var(--color-primary); color: #FFFFFF; }
.day-chip:hover { border-color: var(--color-primary); color: var(--color-primary); }
.day-chip[aria-current="date"]:hover { color: #FFFFFF; }
.day-picker {
    position: relative;
    flex: 0 0 52px;
    display: flex;
}
.day-picker-button {
    width: 52px;
    min-height: 52px;
    border: 1px dashed var(--color-input-border);
    border-radius: var(--radius-button);
    background: var(--color-surface);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.day-picker-button:hover { border-color: var(--color-primary); background: var(--color-primary-tint); }
.day-picker-button svg { width: 22px; height: 22px; }
/*
 * The date field stays rendered (showPicker() needs that) but invisible under the
 * button, so the browser's picker opens next to the button. When the browser has
 * no showPicker(), app.js adds .is-open and the field is shown below the button.
 */
.day-picker-field {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 52px;
    height: 52px;
    opacity: 0;
    pointer-events: none;
}
.day-picker-field input { width: 100%; height: 100%; border: 0; }
/*
 * Phones and tablets: iOS ignores showPicker() on a hidden field without an error, so
 * the button did nothing. There the invisible field lies on top of the button and
 * the tap opens the native date picker directly.
 */
@media (pointer: coarse) {
    .day-picker-field:not(.is-open) { z-index: 2; pointer-events: auto; }
    .day-picker-field:not(.is-open) input { -webkit-appearance: none; appearance: none; font-size: 16px; background: transparent; color: transparent; cursor: pointer; }
}
.day-picker-field.is-open {
    top: calc(100% + 6px);
    bottom: auto;
    z-index: 30;
    width: 220px;
    height: auto;
    opacity: 1;
    pointer-events: auto;
    padding: var(--space-2);
    background: var(--color-surface);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-dialog);
}
.day-picker-field.is-open input {
    min-height: 44px;
    padding: 0 10px;
    border: 1px solid var(--color-input-border);
    border-radius: var(--radius-button);
    font: 16px var(--font-body);
}
@media (min-width: 900px) {
    .day-strip-wrap { max-width: var(--content-max); margin: var(--space-4) auto 0; border: 1px solid #E2DEDB; border-radius: var(--radius-card); width: calc(100% - 48px); }
}

/* Timelines */
.timeline { display: block; }
.timeline svg { display: block; width: 100%; height: 16px; border-radius: 3px; overflow: hidden; }
.tl-bg { fill: var(--color-skeleton-light); }
.tl-busy { fill: var(--color-primary); stroke: #FFFFFF; stroke-width: 1px; }
.tl-own { fill: url(#tl-stripes); stroke: var(--color-danger); stroke-width: 1.5px; }
.tl-now { fill: var(--color-success); }
.tl-hours { display: flex; justify-content: space-between; margin-top: 2px; font-size: 11px; color: var(--color-muted); }
.legend { display: flex; flex-wrap: wrap; gap: var(--space-4); font-size: 13px; color: var(--color-muted); }
.legend > span { display: inline-flex; align-items: center; gap: 6px; }
.swatch { display: inline-block; width: 14px; height: 10px; border-radius: 2px; }
.swatch-busy { background: var(--color-primary); }
.swatch-own { background: repeating-linear-gradient(135deg, #DF5A4F 0 4px, #F4B3AD 4px 7px); box-shadow: inset 0 0 0 1.5px var(--color-danger); }
.swatch-free { background: var(--color-surface); border: 1px solid #BDB7B2; }

/* Room cards on the overview */
.room-cards { gap: var(--space-2); }
.room-card {
    display: block;
    background: var(--color-surface);
    border-radius: var(--radius-card);
    padding: 9px var(--space-3) var(--space-2);
    color: var(--color-text);
    text-decoration: none;
}
.room-card:hover { outline: 2px solid var(--color-primary-tint); color: var(--color-text); }
.room-card-head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-2); margin-bottom: 6px; }
.room-status { font-size: 13px; font-weight: 700; color: var(--color-success); flex-shrink: 0; }
.room-status.is-busy { color: var(--color-danger); }
.booking-time { font-family: var(--font-heading); font-weight: 700; color: var(--color-primary); min-width: 92px; }
.link-label { font-weight: 700; color: var(--color-primary); }

/* Booking form */
.booking-layout { display: block; }
.room-picker { display: none; }
.duration-chips { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.chip {
    min-height: var(--touch-target);
    padding: 0;
    border: 1px solid #BDB7B2;
    border-radius: var(--radius-button);
    background: var(--color-surface);
    color: var(--color-text);
    font: 700 14px var(--font-body);
    cursor: pointer;
}
.chip[aria-pressed="true"] { background: var(--color-primary); border-color: var(--color-primary); color: #FFFFFF; }
.chip:disabled { background: var(--color-skeleton-light); border-color: #E4E0DD; color: #8A8480; cursor: not-allowed; }
select.input { padding: 0 10px; }
.book-bar {
    position: sticky;
    bottom: calc(var(--bottom-nav-height) + env(safe-area-inset-bottom));
    z-index: 5;
    margin: 0 calc(-1 * var(--space-4)) -14px;
    padding: 10px var(--space-4) 12px;
    background: var(--color-surface);
    border-top: 1px solid #E2DEDB;
    border-radius: 0 0 var(--radius-card) var(--radius-card);
    display: flex;
    align-items: center;
    gap: var(--space-3);
}
.book-summary { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.book-summary strong { font-family: var(--font-heading); font-size: 19px; }
.book-summary span { font-size: 13px; color: var(--color-muted); }
.busy-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.busy-list li { display: flex; gap: var(--space-3); }
.busy-list strong { width: 96px; flex-shrink: 0; }
.busy-list span { flex: 1; min-width: 0; }
.busy-edit { flex-shrink: 0; font-weight: 700; color: var(--color-primary); }
.book-for-others { margin: 0; font-size: 14px; }
.book-for-others a { font-weight: 700; color: var(--color-primary); }
@media (min-width: 900px) {
    .booking-layout { display: flex; flex-direction: row; gap: var(--space-5); align-items: flex-start; }
    .room-picker { display: flex; flex: 1 1 320px; min-width: 0; }
    .booking-main { flex: 999 1 540px; min-width: 0; }
    .book-bar { position: static; margin: 0; padding: var(--space-3) 0 0; border-radius: 0; }
}
.room-picker nav { display: flex; flex-direction: column; gap: 6px; }
.room-option {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    min-height: 58px;
    padding: var(--space-2) 14px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    color: var(--color-text);
    text-decoration: none;
}
.room-option[aria-current="page"] { background: var(--color-primary-tint); border: 2px solid var(--color-primary); }
.room-option:hover { border-color: var(--color-primary); color: var(--color-text); }

/* Desktop front page: rooms today */
.rooms-today { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 10px var(--space-3); align-items: center; }
.rooms-today > a { font-weight: 700; color: var(--color-text); text-decoration: none; font-size: 14px; }
.rooms-today > a:hover { color: var(--color-primary); }

/* Admin rooms */
.filter-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.filter-chips a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    background: var(--color-surface);
    color: var(--color-text);
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
}
.filter-chips a[aria-current="true"] { background: var(--color-primary); border-color: var(--color-primary); color: #FFFFFF; }
.date-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: var(--space-1); }
.date-nav .button { min-height: 40px; }
.date-nav .input { width: auto; min-height: 40px; }
.table .actions { text-align: right; white-space: nowrap; }
.table .actions .button { min-height: 36px; font-size: 14px; padding: 0 12px; }
.table .actions form, .table .actions > div { display: inline-block; margin-left: 6px; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: var(--space-3); }

.card-head { padding: 14px 18px; border-bottom: 1px solid var(--color-border-light); }
.card-head h2 { font-size: 19px; }
.table .nowrap { white-space: nowrap; }

/* Phase 3: lunch ----------------------------------------------------------- */
@media (max-width: 899px) {
    .mobile-hidden { display: none; }
    .lunch-layout.has-day .lunch-days { display: none; }
    .lunch-layout:not(.has-day) .lunch-panel { display: none; }
}
.how-it-works summary {
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    text-decoration: underline;
    min-height: 32px;
    display: flex;
    align-items: center;
}
.how-it-works dl { display: grid; grid-template-columns: 52px minmax(0, 1fr); row-gap: 4px; margin: 6px 0; font-size: 14px; }
.how-it-works dt { font-weight: 700; }
.how-it-works dd { margin: 0; }
.how-it-works p { font-size: 13px; }
.how-it-works.card { padding: 4px var(--space-4) 10px; }
@media (min-width: 900px) {
    .how-it-works.on-gradient summary { color: var(--color-primary); }
    .lunch-layout { display: flex; flex-direction: row; gap: var(--space-5); align-items: flex-start; }
    .lunch-days { flex: 999 1 560px; min-width: 0; }
    .lunch-panel { flex: 1 1 340px; min-width: 0; position: sticky; top: var(--space-4); background: var(--color-surface); border-radius: var(--radius-card); padding: 20px 22px; }
    .lunch-panel .stepper-card { padding: 0; }
    /* One row per week: Monday to Friday side by side. */
    .lunch-layout .lunch-day-list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
    .lunch-layout .lunch-day { padding: 10px; overflow-wrap: anywhere; }
    .lunch-layout .lunch-day { flex-direction: column; align-items: flex-start; min-height: 104px; }
    .lunch-layout .lunch-day .lunch-date { flex-direction: row; gap: 6px; align-items: baseline; width: auto; }
    .lunch-layout .lunch-day .lunch-action { display: none; }
}
.lunch-day-list { display: flex; flex-direction: column; gap: 6px; }
.lunch-day {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 58px;
    padding: 6px var(--space-3) 6px 6px;
    border-radius: var(--radius-card);
    background: var(--color-surface);
    border: 1.5px solid transparent;
    color: var(--color-text);
    text-decoration: none;
}
.lunch-day:hover { border-color: var(--color-primary-tint); color: var(--color-text); }
.lunch-day.is-ordered { border-color: var(--color-success); }
.lunch-day[aria-current="date"] { border: 3px solid var(--color-primary); }
.lunch-day.is-closed { background: #ECE8E5; }
.lunch-date { width: 46px; flex-shrink: 0; text-align: center; line-height: 1.1; display: flex; flex-direction: column; font-size: 12px; }
.lunch-date strong { font-family: var(--font-heading); font-size: 21px; }
.lunch-sub { font-size: 13px; color: var(--color-muted); }
.lunch-sub.is-locked, .lunch-sub.is-open, .lunch-sub.is-lastminute { color: #6B5600; }
.lunch-action { flex-shrink: 0; font-size: 14px; font-weight: 700; color: var(--color-primary); }
.lunch-day.is-ordered .lunch-action { color: var(--color-success); }
.lunch-day.is-closed .lunch-action, .lunch-day.is-missed .lunch-action { color: var(--color-muted); }
.swatch-ordered { border: 2px solid var(--color-success); background: var(--color-surface); }
.swatch-closed { background: #E6E1DD; }
.lunch-panel-head h2 { font-size: 23px; }
.stepper-card { align-items: center; text-align: center; gap: 12px; padding: 22px var(--space-4); }
.stepper-card h3 { font-size: 18px; }
.stepper { display: flex; align-items: center; gap: 22px; }
.stepper output { width: 92px; text-align: center; font-family: var(--font-heading); font-size: 64px; line-height: 1; font-weight: 700; color: var(--color-primary); }
.step {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 2px solid var(--color-primary);
    background: var(--color-surface);
    color: var(--color-primary);
    font: 700 30px var(--font-body);
    cursor: pointer;
}
.step-plus { background: var(--color-primary); color: #FFFFFF; }
.step:disabled { border-color: var(--color-border); background: var(--color-skeleton-light); color: #8A8480; cursor: not-allowed; }
.stepper-who { font-weight: 700; }
.danger-link { color: var(--color-danger); text-decoration: underline; }
.lunch-line { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-2) 14px; min-height: 60px; }
.button:disabled { background: #E2DEDB; color: #6E6A66; cursor: not-allowed; }
@media (max-width: 899px) {
    .lunch-panel-head h2 { display: none; }
}
.lunch-next { display: flex; justify-content: space-between; align-items: center; min-height: 44px; padding-top: 6px; border-top: 1px solid var(--color-border-light); font-weight: 700; text-decoration: none; }
.badge-lastminute { background: #FFE27A; color: var(--color-lastminute-text); }
.table tr.is-lastminute td { background: #FFF9DD; }
.stat-lastminute { color: #6B5600; }

/* Days already gone this week: greyed out, not clickable. */
.lunch-day.is-past { background: #EFECEA; border-color: transparent; color: var(--color-muted); }
.lunch-day.is-past strong { font-weight: 400; }

/* A clear "back to the overview" button in the gradient header (lunch day on mobile). */
.page-header .back-button {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: var(--touch-target);
    margin-bottom: var(--space-2);
    padding: 0 16px 0 8px;
    border: 1.5px solid rgba(255, 255, 255, 0.85);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.15);
    color: #FFFFFF;
    font-weight: 700;
    text-decoration: none;
}
.page-header .back-button:hover { background: rgba(0, 0, 0, 0.28); color: #FFFFFF; }
.page-header .back-button svg { width: 20px; height: 20px; }

/* Phase 4: room colours (same values as App\Domain\RoomColors::PALETTE). */
.room-color-orange { background: #B84E17; color: #FFFFFF; }
.room-color-blue { background: #2A44C4; color: #FFFFFF; }
.room-color-green { background: #2F7D22; color: #FFFFFF; }
.room-color-red { background: #C23232; color: #FFFFFF; }
.room-color-ochre { background: #8F5A00; color: #FFFFFF; }
.room-color-teal { background: #23704A; color: #FFFFFF; }
.room-color-purple { background: #9B1F9B; color: #FFFFFF; }
.room-color-indigo { background: #3F4E8C; color: #FFFFFF; }

/* Phase 4: infoscreen in the lobby, layout B. Designed at 1920 × 1080 and scaled with --u (one design pixel) so it fills any screen. */
body.infoscreen { margin: 0; --u: min(calc(100vw / 1920), calc(100vh / 1080)); width: 100vw; height: 100vh; overflow: hidden; background: var(--color-screen-bg); color: #FFFFFF; }
.screen { position: relative; width: 100vw; height: 100vh; display: flex; flex-direction: column; }
.screen-main { flex: 1; min-height: 0; display: flex; gap: calc(32 * var(--u)); padding: calc(32 * var(--u)) calc(32 * var(--u)) calc(32 * var(--u)) calc(40 * var(--u)); }
.screen-rooms { flex: 1; min-width: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: calc(28 * var(--u)); align-items: start; overflow: hidden; }
.screen-column { display: flex; flex-direction: column; gap: calc(28 * var(--u)); min-width: 0; }
.screen-card { border-radius: calc(6 * var(--u)); overflow: hidden; background: #2B2E3F; }
.screen-card-head { display: flex; align-items: baseline; justify-content: space-between; gap: calc(12 * var(--u)); padding: calc(10 * var(--u)) calc(18 * var(--u)); }
.screen-card-count { font-size: calc(22 * var(--u)); white-space: nowrap; }
.screen-card-count strong { font-size: calc(28 * var(--u)); }
.screen-card-name { font-family: var(--font-heading); font-size: calc(32 * var(--u)); line-height: 1.1; text-align: right; overflow-wrap: anywhere; }
.screen-booking { display: flex; align-items: center; justify-content: space-between; gap: calc(12 * var(--u)); padding: calc(12 * var(--u)) calc(18 * var(--u)); border-top: 1px solid rgba(255, 255, 255, 0.18); }
.screen-booking-time { font-family: var(--font-heading); font-size: calc(34 * var(--u)); font-weight: 600; line-height: 1.1; white-space: nowrap; }
.screen-booking-company { font-size: calc(19 * var(--u)); font-weight: 700; text-align: right; line-height: 1.2; text-transform: uppercase; overflow-wrap: break-word; hyphens: auto; min-width: 0; }
.screen-booking.is-now { background: rgba(255, 255, 255, 0.1); }
.screen-now { display: inline-block; margin-right: calc(10 * var(--u)); padding: 2px calc(8 * var(--u)); border-radius: calc(4 * var(--u)); background: var(--color-news); color: #1E1E1E; font-size: calc(16 * var(--u)); vertical-align: middle; }
.screen-card-empty, .screen-more { padding: calc(14 * var(--u)) calc(18 * var(--u)); font-size: calc(26 * var(--u)); color: #D7DCF0; border-top: 1px solid rgba(255, 255, 255, 0.18); }
.screen-card-empty { border-top: 0; }
.screen-more { font-size: calc(22 * var(--u)); font-weight: 700; }
.screen-menu { width: calc(520 * var(--u)); flex-shrink: 0; background: #F4F5FA; color: #222222; border-radius: calc(4 * var(--u)); overflow: hidden; display: flex; }
.screen-menu iframe { flex: 1; border: 0; width: 100%; height: 100%; background: #FFFFFF; }
.screen-menu-empty { flex: 1; margin: calc(24 * var(--u)); border: 2px dashed #A9ADBF; border-radius: calc(4 * var(--u)); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: calc(10 * var(--u)); text-align: center; color: #4B4F60; font-size: calc(22 * var(--u)); }
.screen-menu-empty strong { font-family: var(--font-heading); font-size: calc(40 * var(--u)); color: #222222; }
.screen-menu-empty[hidden], .screen-menu iframe[hidden] { display: none; }
.screen-news { flex-shrink: 0; height: calc(84 * var(--u)); padding: 0 calc(40 * var(--u)); background: var(--color-news); color: #1E1E1E; display: flex; align-items: center; gap: calc(24 * var(--u)); overflow: hidden; }
.screen-news[hidden] { display: none; }
.screen-news-label { flex-shrink: 0; font-family: var(--font-heading); font-size: calc(26 * var(--u)); font-weight: 700; background: #1E1E1E; color: var(--color-news); padding: 2px calc(14 * var(--u)); border-radius: calc(4 * var(--u)); }
.screen-news-text { flex: 1; min-width: 0; font-family: var(--font-heading); font-size: calc(38 * var(--u)); font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.screen-news-count { flex-shrink: 0; font-size: calc(24 * var(--u)); font-weight: 700; }
.screen-stale { position: absolute; right: calc(24 * var(--u)); top: calc(8 * var(--u)); padding: calc(4 * var(--u)) calc(12 * var(--u)); border-radius: calc(4 * var(--u)); background: rgba(0, 0, 0, 0.6); color: #FFD27A; font-size: calc(18 * var(--u)); }
.screen-stale[hidden] { display: none; }
.copy-field { display: flex; gap: var(--space-2); }
.copy-field .input { flex: 1; min-width: 0; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 14px; }
.news-row { display: flex; align-items: center; gap: var(--space-2); padding: var(--space-2) 14px; flex-wrap: wrap; }
.news-row .news-form { flex: 1 1 100%; }
.swatch-room { display: inline-block; width: 18px; height: 18px; border-radius: 3px; vertical-align: middle; margin-right: 6px; }
