:root {
    --ink:#182e2b;
    --muted:#647773;
    --accent:#176b56;
    --accent-dark:#10513f;
    --canvas:#f3f5f2;
    --line:#dfe6df;
    --surface:#fff;
    --bs-primary:#176b56;
    --bs-link-color:#176b56;
    --bs-link-hover-color:#10513f;
    --bs-body-color:#182e2b;
    --bs-body-bg:#f3f5f2;
}
html,body {
    font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    color:var(--ink);
    background:var(--canvas);
    font-size:14px;
    line-height:1.6;
}
* {
    box-sizing:border-box;
}
a {
    color:var(--accent);
    text-underline-offset:.2em;
}
a:hover {
    color:var(--accent-dark);
}
h1,h2,h3 {
    letter-spacing:-.035em;
    line-height:1.2;
    font-weight:650;
}
h1 {
    font-size:2rem;
    margin-bottom:.7rem;
}
h2 {
    font-size:1.4rem;
}
h3 {
    font-size:1.05rem;
}
p {
    max-width:85ch;
}
.muted,.text-muted {
    color:var(--muted)!important;
}
.eyebrow {
    display:block;
    font-size:.73rem;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.13em;
    color:var(--accent);
    margin-bottom:.85rem;
}
.skip-link {
    position:fixed;
    top:-5rem;
    left:1rem;
    z-index:2000;
    background:#fff;
    padding:.7rem 1rem;
    border:2px solid var(--accent);
    border-radius:.5rem;
}
.skip-link:focus {
    top:1rem;
}
:focus-visible {
    outline:3px solid #d69837;
    outline-offset:3px;
}
.admin-shell {
    display:flex;
    min-height:100dvh;
}
.admin-sidebar {
    width:246px;
    flex-shrink:0;
    background:#163b33;
    color:#eef5ee;
    position:sticky;
    top:0;
    height:100dvh;
    overflow-y:auto;
    scrollbar-width:thin;
}
.brand-row {
    padding:2rem 1.6rem 1.7rem;
}
.brand {
    display:flex;
    gap:.85rem;
    align-items:center;
    font-size:1.7rem;
    font-weight:650;
    color:#fff;
    text-decoration:none;
    letter-spacing:-.05em;
}
.brand:hover {
    color:#fff;
}
.brand small {
    display:block;
    font-size:.62rem;
    font-weight:400;
    letter-spacing:.04em;
    color:#b5cbc0;
    margin-top:.1rem;
}
.brand-symbol {
    display:grid;
    place-items:center;
    width:42px;
    height:46px;
    border:1px solid #719589;
    border-radius:24px 24px 8px 8px;
    font-family:Georgia,serif;
    font-size:2rem;
    background:#235243;
}
.nav-content {
    display:flex;
    flex-direction:column;
    min-height:calc(100dvh - 120px);
}
.admin-nav {
    padding:0 .85rem;
    display:flex;
    flex-direction:column;
    gap:.15rem;
}
.nav-section {
    display:block;
    color:#adc7b9;
    font-size:.65rem;
    font-weight:650;
    letter-spacing:.12em;
    padding:1.15rem .8rem .5rem;
}
.workspace-name {
    letter-spacing:.025em;
    overflow-wrap:anywhere;
}
.admin-nav a {
    display:flex;
    align-items:center;
    gap:.85rem;
    color:#d4e3da;
    text-decoration:none;
    font-size:.9rem;
    padding:.7rem .9rem;
    border-radius:.45rem;
    border-left:3px solid transparent;
}
.admin-nav a>span {
    width:1.2rem;
    text-align:center;
    font-size:1.2rem;
    color:#aecbbd;
}
.admin-nav a:hover {
    background:#21493e;
    color:#fff;
}
.admin-nav a.active {
    background:#2a5547;
    color:#fff;
    border-left-color:#d4e4ac;
}
.nav-account {
    margin-top:auto;
    padding:1.8rem 1.6rem;
}
.account-link {
    display:block;
    color:#e7f1e9;
    text-decoration:none;
    font-size:.8rem;
}
.account-link:hover {
    color:#fff;
}
.account-link small {
    display:block;
    color:#b5cbc0;
    overflow-wrap:anywhere;
    font-size:.75rem;
}
.logout-button {
    color:#c4d9cd;
    background:none;
    border:0;
    border-top:1px solid #396052;
    width:100%;
    padding:.8rem 0 0;
    margin-top:1rem;
    text-align:left;
    display:flex;
    justify-content:space-between;
    font-size:.8rem;
}
.logout-button:hover {
    color:#fff;
}
.sidebar-signin {
    color:#fff;
    text-decoration:none;
    display:flex;
    justify-content:space-between;
}
.menu-toggle {
    display:none;
}
.admin-main {
    flex:1;
    min-width:0;
    display:flex;
    flex-direction:column;
}
.admin-toolbar {
    background:rgba(255,255,255,.94);
    min-height:76px;
    border-bottom:1px solid var(--line);
    padding:1rem 2.4rem;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:1rem;
}
.toolbar-caption {
    font-size:.8rem;
    font-weight:550;
    color:var(--muted);
}
.toolbar-actions {
    display:flex;
    gap:1rem;
    align-items:center;
    flex-wrap:wrap;
}
.toolbar-actions form {
    font-size:.75rem;
}
.toolbar-actions .form-select {
    min-width:7.5rem;
    padding-right:2rem;
}
.toolbar-actions .btn {
    white-space:nowrap;
}
.admin-content {
    padding:2.3rem 2.4rem 3rem;
    flex:1;
    max-width:1800px;
    width:100%;
    margin:0 auto;
}
.admin-footer {
    border-top:1px solid var(--line);
    margin:0 2.4rem;
    padding:1rem 0;
    display:flex;
    justify-content:space-between;
    gap:1rem;
    color:var(--muted);
    font-size:.72rem;
}
.admin-footer>span:first-child {
    font-weight:650;
}
.workspace-heading {
    margin-bottom:2rem;
}
.workspace-back {
    font-size:.73rem;
    text-decoration:none;
    color:var(--muted);
}
.workspace-heading h1 {
    margin:.6rem 0 .5rem;
}
.workspace-role {
    display:inline-block;
    font-size:.7rem;
    color:#476854;
    background:#e2eadf;
    padding:.15rem .55rem;
    border-radius:1rem;
}
.workspace-shortcuts {
    display:flex;
    flex-wrap:wrap;
    gap:.35rem 1rem;
    margin-top:1.2rem;
    border-bottom:1px solid var(--line);
    padding-bottom:.75rem;
}
.workspace-shortcuts a {
    font-size:.78rem;
    color:var(--muted);
    text-decoration:none;
}
.workspace-shortcuts a.active {
    color:var(--accent);
    font-weight:650;
}
.section-heading {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:1rem;
    margin-bottom:1.2rem;
}
.section-heading h2 {
    margin:0;
}
.section-heading a,.section-heading>span {
    font-size:.78rem;
}
.welcome-banner {
    padding:2.6rem 3rem;
    background:#e4ebdf;
    border:1px solid #d9e3d2;
    border-radius:1rem;
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin-bottom:2.4rem;
    overflow:hidden;
}
.welcome-banner h1 {
    font-size:2.8rem;
}
.welcome-banner p {
    color:#4f6a5f;
    margin-bottom:0;
}
.welcome-emblem {
    font-family:Georgia,serif;
    font-size:8rem;
    line-height:.8;
    color:#a2b797;
    transform:rotate(-10deg);
    margin-left:1rem;
}
.workspace-grid {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:1.2rem;
    margin-bottom:2rem;
}
.workspace-card {
    display:flex;
    align-items:center;
    gap:1rem;
    border:1px solid var(--line);
    padding:1.5rem;
    background:#fff;
    border-radius:.8rem;
    text-decoration:none;
    color:var(--ink);
    transition:border-color .15s,box-shadow .15s;
}
.workspace-card:hover {
    border-color:#9cb7a8;
    box-shadow:0 5px 20px #163b3308;
}
.workspace-card h3 {
    font-size:1.12rem;
    margin:0 0 .4rem;
    overflow-wrap:anywhere;
}
.workspace-card small {
    color:var(--muted);
}
.workspace-monogram {
    width:44px;
    height:48px;
    border-radius:24px 24px 7px 7px;
    background:#f0f3eb;
    display:grid;
    place-items:center;
    font-size:1.5rem;
    font-family:Georgia,serif;
    flex-shrink:0;
}
.card-arrow {
    margin-left:auto;
}
.setup-panel {
    border:1px solid var(--line);
    border-radius:.7rem;
    padding:1.3rem 1.5rem;
    background:#fff;
    max-width:700px;
}
.setup-panel summary {
    cursor:pointer;
    font-weight:550;
}
.setup-panel[open] summary {
    margin-bottom:1rem;
}
.setup-panel form {
    max-width:450px;
}
.empty-state {
    padding:2rem 0;
    color:var(--muted);
}
.landing-hero {
    display:grid;
    grid-template-columns:1.15fr 1fr;
    gap:3rem;
    align-items:center;
    min-height:480px;
    padding:1.5rem 0 3rem;
}
.landing-copy h1 {
    font-family:Georgia,"Times New Roman",serif;
    font-size:clamp(2.8rem,4.4vw,5rem);
    line-height:1.08;
    letter-spacing:-.05em;
    font-weight:400;
    max-width:14ch;
    margin:1.1rem 0 1.7rem;
}
.landing-copy p {
    color:var(--muted);
    font-size:1.08rem;
    max-width:44ch;
    margin-bottom:1.8rem;
}
.landing-copy>small {
    display:block;
    font-size:.74rem;
    color:var(--muted);
    margin-top:1.1rem;
}
.architectural-art {
    position:relative;
    background:#e3e9dc;
    min-height:410px;
    border-radius:1rem;
    overflow:hidden;
}
.arch {
    position:absolute;
    border-radius:50% 50% 0 0;
    bottom:65px;
}
.arch-back {
    height:280px;
    width:200px;
    background:#a3b699;
    left:10%;
    transform:rotate(-12deg);
}
.arch-front {
    height:320px;
    width:220px;
    right:9%;
    background:#275747;
    border:12px solid #d1dcbd;
    box-shadow:20px 15px 0 #839b7b44;
    display:grid;
    place-items:center;
}
.arch-front span {
    font-family:Georgia,serif;
    font-size:8rem;
    color:#ecedd9;
}
.art-caption {
    position:absolute;
    bottom:1.4rem;
    left:1.7rem;
    letter-spacing:.14em;
    font-size:.62rem;
    color:#46664b;
}
.feature-grid {
    border-top:1px solid var(--line);
    padding-top:2rem;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:2.2rem;
}
.feature-number {
    font-size:.7rem;
    color:var(--muted);
}
.feature-grid h2 {
    margin:.65rem 0;
    font-size:1.1rem;
}
.feature-grid p {
    font-size:.9rem;
    color:var(--muted);
}
.dashboard-intro {
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:1rem;
    margin-bottom:1.6rem;
}
.dashboard-intro .eyebrow {
    margin-bottom:.5rem;
}
.dashboard-intro h2 {
    font-size:1.9rem;
    margin-bottom:0;
}
.metric-grid {
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(170px,1fr));
    gap:1rem;
    margin-bottom:1.5rem;
}
.metric-card {
    display:flex;
    flex-direction:column;
    background:#fff;
    border:1px solid var(--line);
    border-radius:.75rem;
    padding:1.4rem;
}
.metric-card>span {
    font-size:.8rem;
    color:var(--muted);
}
.metric-card strong {
    font-size:2.7rem;
    line-height:1.3;
    font-weight:550;
    letter-spacing:-.05em;
    margin:.5rem 0;
}
.metric-card small {
    font-size:.7rem;
    color:var(--muted);
}
.dashboard-grid {
    display:grid;
    grid-template-columns:1.7fr 1fr;
    gap:1.5rem;
}
.dashboard-panel {
    background:#fff;
    border:1px solid var(--line);
    border-radius:.8rem;
    padding:1.6rem;
    min-width:0;
}
.dashboard-panel h2 {
    font-size:1.15rem;
}
.upcoming-stay {
    display:flex;
    align-items:center;
    gap:1rem;
    color:var(--ink);
    text-decoration:none;
    border-top:1px solid var(--line);
    padding:1rem 0;
}
.upcoming-stay:hover .stay-description>strong {
    color:var(--accent);
}
.date-tile {
    background:#f0f3eb;
    border-radius:.45rem;
    display:flex;
    flex-direction:column;
    align-items:center;
    min-width:48px;
    padding:.35rem .5rem;
}
.date-tile strong {
    font-size:1.4rem;
    line-height:1.2;
}
.date-tile>span {
    font-size:.65rem;
    text-transform:uppercase;
}
.stay-description {
    flex:1;
    min-width:0;
}
.stay-description>strong {
    display:block;
    font-size:.87rem;
    overflow-wrap:anywhere;
}
.stay-description small {
    display:block;
    font-size:.75rem;
    color:var(--muted);
}
.quick-panel {
    background:#eef2e8;
}
.quick-link {
    display:flex;
    justify-content:space-between;
    gap:1rem;
    padding:.9rem 0;
    border-bottom:1px solid #d9e2d2;
    text-decoration:none;
    font-weight:550;
    font-size:.85rem;
}
.quick-panel hr {
    border-color:#a3b699;
    margin:1.8rem 0;
}
.quick-panel h3 {
    font-size:1.05rem;
}
.btn {
    border-radius:.45rem;
    padding:.55rem .95rem;
    font-size:.86rem;
    font-weight:550;
}
.btn-sm {
    padding:.3rem .6rem;
    font-size:.75rem;
}
.btn-lg {
    padding:.8rem 1.3rem;
}
.btn-primary {
    --bs-btn-bg:var(--accent);
    --bs-btn-border-color:var(--accent);
    --bs-btn-hover-bg:var(--accent-dark);
    --bs-btn-hover-border-color:var(--accent-dark);
    --bs-btn-active-bg:var(--accent-dark);
    --bs-btn-active-border-color:var(--accent-dark);
    --bs-btn-disabled-bg:var(--accent);
    --bs-btn-disabled-border-color:var(--accent);
    color:#fff;
}
.btn-outline-primary {
    --bs-btn-color:var(--accent);
    --bs-btn-border-color:var(--accent);
    --bs-btn-hover-bg:var(--accent);
    --bs-btn-hover-border-color:var(--accent);
    --bs-btn-active-bg:var(--accent);
    --bs-btn-active-border-color:var(--accent);
}
.form-control,.form-select {
    border-color:#ccd8cd;
    border-radius:.4rem;
    background-color:#fff;
    font-size:.9rem;
    padding:.6rem .75rem;
}
.form-control:focus,.form-select:focus {
    border-color:#6a9b87;
    box-shadow:0 0 0 .2rem #176b561c;
}
.form-check-input:checked {
    background-color:var(--accent);
    border-color:var(--accent);
}
.form-label {
    font-size:.83rem;
    font-weight:550;
}
.table {
    --bs-table-bg:#fff;
    --bs-table-border-color:var(--line);
    font-size:.85rem;
}
.table th {
    font-size:.69rem;
    text-transform:uppercase;
    letter-spacing:.055em;
    color:#536b60;
    font-weight:650;
    background:#eff3ec;
    padding:.85rem .7rem;
    vertical-align:middle;
}
.table td {
    padding:.9rem .7rem;
    vertical-align:middle;
}
.table-responsive {
    border:1px solid var(--line);
    border-radius:.6rem;
    background:#fff;
}
.table-responsive .table {
    margin-bottom:0;
}
.card {
    border:1px solid var(--line);
    border-radius:.75rem;
    background:#fff;
    box-shadow:none;
}
.card-body {
    padding:1.5rem;
}
.nav-pills .nav-link.active {
    background:var(--accent);
}
.badge {
    font-weight:550;
}
.alert {
    font-size:.88rem;
    border-radius:.5rem;
}
.settings-panel {
    padding:1.5rem;
    border:1px solid var(--line);
    border-radius:.8rem;
    background:#fff;
}
.auth-panel {
    max-width:470px;
    margin:3rem auto;
    background:#fff;
    border:1px solid var(--line);
    border-radius:1rem;
    padding:2.5rem;
}
.auth-panel h1 {
    font-size:2.3rem;
}
.auth-panel form {
    margin-top:1.8rem;
}
.auth-panel label,.auth-panel a {
    font-size:.8rem;
}
.auth-footnote {
    border-top:1px solid var(--line);
    padding-top:1.3rem;
    margin:1.5rem 0 0;
    color:var(--muted);
    font-size:.75rem;
}
.signin-alternatives {
    margin-top:1.1rem;
    font-size:.8rem;
}
.signin-alternatives summary {
    cursor:pointer;
    color:var(--muted);
}
.valid.modified:not([type=checkbox]) {
    outline:1px solid #258455;
}
.invalid {
    outline:1px solid #b42318;
}
.validation-message {
    color:#b42318;
}
.blazor-error-boundary {
    background:#b32121;
    padding:1rem;
    color:#fff;
}
.darker-border-checkbox.form-check-input {
    border-color:#929292;
}
.portal-status-dot {
    display:inline-block;
    width:.8rem;
    height:.8rem;
    border-radius:50%;
    border:1px solid #444;
    flex-shrink:0;
}
.portal-status-green {
    background:#198754;
}
.portal-status-yellow {
    background:#ffc107;
}
.portal-status-red {
    background:#dc3545;
}
.portal-status-grey {
    background:#adb5bd;
}
.reservation-intervention>td {
    background:#fff3cd!important;
}
.table-primary {
    --bs-table-bg:#e2eff9;
    --bs-table-color:#182e2b;
}
.table-secondary {
    --bs-table-bg:#e9eceb;
    --bs-table-color:#56615c;
}
.table-danger {
    --bs-table-bg:#fce4e2;
    --bs-table-color:#692a29;
}
#blazor-error-ui {
    background:#fff3cd;
    border-top:1px solid #dfc879;
    bottom:0;
    display:none;
    left:0;
    padding:.8rem 3rem .8rem 1.25rem;
    position:fixed;
    width:100%;
    z-index:1100;
}
#blazor-error-ui .dismiss {
    position:absolute;
    right:1rem;
    top:.5rem;
    background:none;
    border:0;
    font-size:1.3rem;
}
@media(min-width:1450px) {
    .admin-content {
        padding:3rem 3.5rem;
    }
    .admin-toolbar {
        padding-inline:3.5rem;
    }
}
@media(max-width:1100px) {
    .admin-sidebar {
        width:220px;
    }
    .admin-toolbar {
        padding:1rem 1.5rem;
    }
    .admin-content {
        padding:1.7rem 1.5rem;
    }
    .toolbar-caption {
        display:none;
    }
    .toolbar-actions {
        margin-left:auto;
    }
    .landing-hero {
        gap:1.5rem;
    }
    .arch-front {
        width:190px;
        right:5%;
    }
    .arch-back {
        width:160px;
        left:3%;
    }
    .dashboard-grid {
        grid-template-columns:1fr;
    }
    .metric-card {
        padding:1rem;
    }
    .metric-card>span {
        font-size:.72rem;
    }
}
@media(max-width:760px) {
    .admin-shell {
        display:block;
    }
    .admin-sidebar {
        position:static;
        height:auto;
        width:100%;
        overflow:visible;
    }
    .brand-row {
        display:flex;
        justify-content:space-between;
        align-items:center;
        padding:1rem 1.2rem;
        gap:.6rem;
    }
    .brand {
        font-size:1.45rem;
    }
    .brand-symbol {
        width:34px;
        height:38px;
        font-size:1.6rem;
    }
    .brand small {
        font-size:.55rem;
    }
    .menu-toggle {
        display:block;
        background:transparent;
        border:1px solid #719589;
        color:#fff;
        border-radius:.4rem;
        padding:.4rem .6rem;
        font-size:.75rem;
    }
    .nav-content {
        display:none;
        min-height:0;
    }
    .nav-content.menu-open {
        display:flex;
    }
    .nav-account {
        padding:1.4rem;
    }
    .admin-toolbar {
        min-height:58px;
        padding:.7rem 1.2rem;
    }
    .toolbar-actions {
        width:100%;
        justify-content:flex-end;
        gap:.5rem;
    }
    .toolbar-actions label {
        position:absolute;
        width:1px;
        height:1px;
        padding:0;
        overflow:hidden;
        clip-path:inset(50%);
    }
    .admin-content {
        padding:1.4rem 1.1rem 2rem;
    }
    .admin-footer {
        margin-inline:1.1rem;
    }
    .workspace-grid {
        grid-template-columns:1fr;
    }
    .welcome-banner {
        padding:1.7rem;
    }
    .welcome-banner h1 {
        font-size:2.2rem;
    }
    .welcome-emblem {
        font-size:5rem;
    }
    .landing-hero {
        grid-template-columns:1fr;
        padding:1rem 0 2rem;
        gap:2rem;
    }
    .landing-copy h1 {
        font-size:3.5rem;
        max-width:16ch;
    }
    .architectural-art {
        min-height:280px;
    }
    .arch-front {
        height:230px;
        width:180px;
        right:16%;
        bottom:25px;
    }
    .arch-back {
        height:200px;
        width:150px;
        left:20%;
        bottom:25px;
    }
    .arch-front span {
        font-size:6rem;
    }
    .art-caption {
        bottom:.6rem;
        left:1rem;
        font-size:.5rem;
    }
    .feature-grid {
        grid-template-columns:1fr;
        gap:1rem;
    }
    .feature-grid article {
        padding-bottom:1rem;
        border-bottom:1px solid var(--line);
    }
    .metric-grid {
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
    .dashboard-intro {
        align-items:flex-start;
        flex-direction:column;
    }
    .dashboard-intro h2 {
        font-size:1.6rem;
    }
    .dashboard-panel {
        padding:1.2rem;
    }
    .section-heading {
        flex-wrap:wrap;
    }
    .workspace-heading h1 {
        font-size:1.65rem;
    }
    .workspace-shortcuts {
        gap:.5rem .8rem;
    }
    .auth-panel {
        padding:1.6rem;
        margin:1rem auto;
    }
    .settings-panel {
        padding:1rem;
    }
    .welcome-banner p {
        font-size:.85rem;
    }
    .workspace-card {
        padding:1.2rem;
    }
}
@media(prefers-reduced-motion:reduce) {
    *,*::before,*::after {
        scroll-behavior:auto!important;
        transition:none!important;
    }
}
/* FocusOnNavigate targets headings programmatically; keep focus rings on interactive controls. */
h1:focus {
    outline: none;
}

.sms-preview { white-space:pre-wrap; overflow-wrap:anywhere; font:inherit; background:#f3f5f2; padding:1rem; border-radius:.5rem; }

.cleaning-editor-dialog {
    width:min(900px,calc(100vw - 2rem));
    max-width:none;
    max-height:90dvh;
    overflow:auto;
    border:1px solid var(--line);
    border-radius:.75rem;
    padding:1.25rem;
    color:var(--ink);
    background:#fff;
}
.cleaning-editor-dialog::backdrop { background:rgb(0 0 0 / .5); }
.cleaning-arrival { margin-top:.35rem;font-size:.8rem;line-height:1.4; }
.cleaning-arrival-warning { background:#fff3cd;color:#664d03;border-left:3px solid #b77900;border-radius:.2rem;padding:.35rem .5rem; }
.print-only { display:none; }
@media print {
    .print-hidden,.skip-link,.admin-sidebar,.admin-toolbar,.admin-footer,#blazor-error-ui,#components-reconnect-modal {
        display:none!important;
    }
    .cleaning-editor-dialog::backdrop { display:none!important; }
    .print-only { display:block!important; }
    html,body { background:white!important;color:#000!important; }
    .admin-shell,.admin-main { display:block!important;width:100%!important;min-width:0!important;min-height:0!important;margin:0!important; }
    .admin-content { padding:0!important;max-width:none!important; }
    .cleaning-schedule-sheet { font-size:9pt; }
    .cleaning-schedule-sheet .table-responsive { overflow:visible!important;border:0; }
    .cleaning-schedule-sheet > .d-flex { display:block!important; }
    .cleaning-schedule-sheet h2 { font-size:18pt; }
    .cleaning-schedule-sheet table { width:100%;table-layout:fixed;border-collapse:collapse; }
    .cleaning-schedule-sheet th:nth-child(1) { width:11%; }
    .cleaning-schedule-sheet th:nth-child(2) { width:16%; }
    .cleaning-schedule-sheet th:nth-child(3) { width:8%; }
    .cleaning-schedule-sheet th:nth-child(4) { width:14%; }
    .cleaning-schedule-sheet th:nth-child(5) { width:19%; }
    .cleaning-schedule-sheet th:nth-child(6) { width:8%; }
    .cleaning-schedule-sheet th:nth-child(7) { width:13%; }
    .cleaning-schedule-sheet th:nth-child(8) { width:11%; }
    .cleaning-schedule-sheet td:first-child strong { white-space:nowrap; }
    .cleaning-schedule-sheet td:nth-child(8) { overflow-wrap:normal; }
    .cleaning-schedule-sheet .badge { white-space:normal;overflow-wrap:normal;padding:.25em .3em; }
    .cleaning-schedule-sheet thead { display:table-header-group; }
    .cleaning-schedule-sheet tr { break-inside:avoid;page-break-inside:avoid; }
    .cleaning-schedule-sheet th,.cleaning-schedule-sheet td { padding:.4rem;white-space:normal!important;overflow-wrap:anywhere; }
    .cleaning-schedule-sheet .cleaning-arrival { font-size:8pt; }
    .cleaning-schedule-sheet .cleaning-arrival-warning { border:1px solid #b77900;background:#fff8e1!important;color:#000!important; }
    .cleaning-print-summary { margin-bottom:1rem;border-bottom:1px solid #aaa; }
}

/* One date component for dashboards, reservations and cleaning jobs. */
.date-tile { display:inline-flex;justify-content:center;min-width:60px;vertical-align:middle;text-align:center;gap:.05rem; }
.date-tile .date-tile-weekday { font-size:.67rem;font-weight:650; }
.date-tile .date-tile-year { font-size:.6rem;color:var(--muted); }
.date-tile .date-tile-time { font-size:.75rem;font-weight:650;border-top:1px solid var(--line);margin-top:.15rem;padding-top:.15rem;width:100%; }
@media print {
    .date-tile { background:#f0f3eb!important;color:#000!important;break-inside:avoid;min-width:44px;padding:.2rem; }
    .date-tile strong { font-size:13pt; }
    .date-tile .date-tile-weekday,.date-tile>span { font-size:7pt; }
    .date-tile .date-tile-year { font-size:6pt; }
    .date-tile .date-tile-time { font-size:8pt; }
}

.calendar-text { white-space:pre-wrap;overflow-wrap:anywhere;max-width:100%;font-size:.85rem; }
