.brand-logo { display: flex; align-items: center; gap: .5rem; }
.brand-logo__img { height: 32px; width: auto; object-fit: contain; }
.brand-logo__name { font-weight: 700; font-size: 1rem; white-space: nowrap; }

.mud-drawer .mud-nav-link.active {
    background-color: rgba(28, 160, 220, 0.16);
    color: #fff !important;
    border-inline-start: 3px solid #1CA0DC;
}
.mud-drawer .mud-nav-link { color: #94A3B8; }
.mud-drawer .mud-nav-link:hover { color: #fff; }
.mud-drawer .mud-divider { flex-grow: 0; }

.page-header { display: flex; align-items: flex-start; justify-content: space-between;
    gap: 1rem; margin-bottom: 1.25rem; flex-wrap: wrap; }
.page-header__subtitle { color: #64748B; }
.page-header__actions { display: flex; gap: .5rem; align-items: center; }

.section-card { padding: 1.25rem; }

.hotel-picker { min-width: 220px; max-width: 320px; }
.hotel-picker .mud-input, .hotel-picker .mud-input-label, .hotel-picker .mud-select-input { color: #fff !important; }
.hotel-picker .mud-input-control { margin-top: 0; }

.login-shell { display: flex; min-height: 100vh; }
.login-brand {
    flex: 0 0 42%;
    background: linear-gradient(150deg, #0E6E96 0%, #1E293B 100%);
    color: #fff; padding: 2.5rem; display: flex; flex-direction: column;
    justify-content: space-between;
}
.login-brand__headline { font-size: 1.5rem; font-weight: 700; margin-bottom: .5rem; }
.login-brand__sub { color: #CBD5E1; line-height: 1.7; max-width: 28ch; }
.login-brand__footer { color: #94A3B8; font-size: .8rem; }
.login-form { flex: 1; display: flex; align-items: center; justify-content: center; padding: 1.5rem; }
.login-form__card { width: 400px; max-width: 100%; }
.login-label { display: block; margin: .75rem 0 .25rem; font-size: .9rem; color: #475569; }
.login-input {
    width: 100%; padding: .6rem .75rem; font-size: 1rem;
    border: 1px solid #E2E8F0; border-radius: 8px; background: #fff;
}
.login-input:focus { outline: none; border-color: #1CA0DC; box-shadow: 0 0 0 3px rgba(28,160,220,.2); }
@media (max-width: 768px) { .login-brand { display: none; } }

.date-field__label { display: block; color: #475569; margin-bottom: 2px; }
.date-field__parts { display: flex; gap: .25rem; }
.date-field__day { width: 92px; }
.date-field__month { width: 130px; }
.date-field__year { width: 96px; }

.cal-toolbar { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-bottom: .5rem; }
.cal-period { min-width: 150px; text-align: center; font-weight: 600; }
.cal-legend { display: flex; flex-wrap: wrap; gap: .25rem 1rem; align-items: center; font-size: .8rem; color: #475569; margin-bottom: .5rem; }
.cal-legend span { display: inline-flex; align-items: center; gap: .3rem; }
.cal-sw { display: inline-block; width: 14px; height: 14px; border-radius: 3px; border: 1px solid #CBD5E1; }
.cal-unit { font-weight: 600; color: #0F172A; }
.cal-scroll { overflow: auto; max-height: calc(100vh - 250px); border: 1px solid #E2E8F0; border-radius: 8px; }
.cal-grid { border-collapse: separate; border-spacing: 0; font-size: .78rem; min-width: 100%; }
.cal-grid th, .cal-grid td { border-bottom: 1px solid #E2E8F0; border-inline-end: 1px solid #EEF2F6; padding: 2px 4px; text-align: center; white-space: nowrap; }
.cal-grid thead th { position: sticky; top: 0; background: #F8FAFC; z-index: 2; font-weight: 600; min-width: 84px; }
.cal-grid .cal-room { position: sticky; inset-inline-start: 0; background: #fff; z-index: 1; text-align: start; min-width: 190px; max-width: 260px; }
.cal-grid thead th.cal-room { z-index: 3; background: #F8FAFC; }
.cal-room__name { display: flex; align-items: center; gap: .15rem; overflow: hidden; }
.cal-room__name span { overflow: hidden; text-overflow: ellipsis; }
.cal-tag { font-size: .7rem; color: #B45309; background: #FEF3C7; border-radius: 4px; padding: 0 4px; flex: none; }
.cal-wd { font-weight: 400; color: #64748B; font-size: .7rem; }
.cal-fri { color: #B91C1C; }
.cal-today { box-shadow: inset 0 -3px 0 #1CA0DC; }
.cal-cell { height: 30px; font-variant-numeric: tabular-nums; }
.cal-pcell { height: 26px; color: #0F172A; background: #fff; font-variant-numeric: tabular-nums; }
.cal-sub { padding-inline-start: 34px !important; color: #475569; font-weight: 400; font-size: .74rem; }
.cal-open { background: #DCFCE7; color: #166534; }
.cal-req { background: #FEF3C7; color: #92400E; }
.cal-closed { background: #FEE2E2; color: #991B1B; }
.cal-none { background: #F1F5F9; color: #94A3B8; }
.cal-uncovered { background: #F1F5F9; color: #94A3B8; text-decoration: line-through; }
.cal-click { cursor: pointer; }
.cal-click:hover { outline: 2px solid #1CA0DC; outline-offset: -2px; }
.cal-flag { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: currentColor; margin-inline-start: 2px; vertical-align: super; }

.bulk-head { margin: 1rem 0 .25rem; color: #0F172A; }
.bulk-hint { display: block; color: #64748B; margin-bottom: .25rem; }
.bulk-days { display: flex; flex-wrap: wrap; align-items: center; gap: 0 .25rem; }
.bulk-inline { min-width: 90px; color: #475569; }
.bulk-grid { display: grid; grid-template-columns: minmax(180px, 220px) minmax(160px, 1fr) auto; gap: .35rem .75rem; align-items: center; }
.bulk-preview { margin-top: 1rem; }
@media (max-width: 600px) { .bulk-grid { grid-template-columns: 1fr; } }
.nav-section { color: #94A3B8; display: block; }
.rule-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1rem; }
.tier-row { display: grid; grid-template-columns: 150px 170px 140px auto; gap: .5rem; align-items: center; }
@media (max-width: 600px) { .tier-row { grid-template-columns: 1fr 1fr; } }
.kv { display: flex; justify-content: space-between; gap: 1rem; padding: .3rem 0; border-bottom: 1px dashed #E2E8F0; }
.kv span { color: #475569; }
.money-void { text-decoration: line-through; color: #94A3B8; }
.alert-row { display: grid; grid-template-columns: minmax(200px, 280px) 130px 1fr auto; gap: .5rem; align-items: center; margin-bottom: .25rem; }
@media (max-width: 800px) { .alert-row { grid-template-columns: 1fr auto; } }
.temp-pw { font-size: 1.05rem; background: #F1F5F9; padding: 2px 8px; border-radius: 4px; user-select: all; }
.hist-line { font-size: .82rem; line-height: 1.5; }
.own-grid { display: grid; grid-template-columns: minmax(130px, 180px) 210px 1fr; gap: .4rem .75rem; align-items: center; }
.own-grid__label { color: #475569; }
.own-grid__default { color: #64748B; font-size: .9rem; }
.price-grid { display: grid; grid-template-columns: minmax(120px, 160px) 1fr 1fr; gap: .35rem .75rem; align-items: center; }
.price-grid__label { color: #475569; font-size: .9rem; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: .25rem .5rem; }
@media (max-width: 700px) { .own-grid, .price-grid { grid-template-columns: 1fr; } }
.dash-card-link { display: block; color: inherit; text-decoration: none; }
.dash-card-link:hover .section-card { border-color: var(--mud-palette-primary); }
.money-ref { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem; margin-bottom: .2rem; }
.invoice-pick { max-height: 320px; overflow-y: auto; }
