html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

:root {
    color-scheme: light;
    --ink: #17233c;
    --muted: #758198;
    --blue: #3157c8;
    --line: #e6eaf1;
    --canvas: #f5f7fb;
}

* { box-sizing: border-box; }
html, body { min-height: 100%; margin: 0; background: var(--canvas); color: var(--ink); font-family: Inter, "Segoe UI", Arial, sans-serif; }
body { font-size: 14px; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .65; }
.content, article.content { padding: 0 !important; }
.page, .page main { display: block; min-height: 100vh; }
.sidebar, .top-row, #blazor-error-ui { display: none !important; }
.muted { color: var(--muted); }
.eyebrow, .sidebar-caption { color: #8792a6; font-size: 10px; font-weight: 800; letter-spacing: .14em; margin: 0 0 8px; }

.auth-shell { min-height: 100vh; display: grid; place-items: center; padding: 32px 18px; background: radial-gradient(circle at 12% 15%, #e5edff 0, transparent 28%), radial-gradient(circle at 90% 80%, #e4f5ed 0, transparent 25%), #f5f7fb; }
.auth-card { position: relative; width: min(100%, 450px); padding: 42px 42px 36px; background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 24px 70px #26395912; }
.auth-card h1 { font-size: 27px; letter-spacing: -.04em; margin: 0 0 8px; }
.auth-card > .muted { line-height: 1.6; margin: 0 0 27px; }
.brand-mark { display: grid; place-items: center; width: 52px; height: 52px; margin: 0 0 22px; color: #fff; text-decoration: none; font-size: 16px; font-weight: 800; border-radius: 16px; background: linear-gradient(135deg, #466ee0, #2948ad); box-shadow: 0 9px 22px #3157c833; }
.brand-mark.small { width: 38px; height: 38px; margin: 0; font-size: 13px; border-radius: 12px; flex: 0 0 auto; }
.auth-language { position: absolute; top: 20px; right: 20px; }
.auth-card form { display: grid; gap: 9px; }
.auth-card label, .form-field label { color: #37445c; font-weight: 700; font-size: 13px; }
.auth-card input, .form-field input, .form-field textarea, .note-card textarea, .task-add-row input { width: 100%; padding: 12px 14px; color: var(--ink); background: #f8f9fc; border: 1px solid var(--line); border-radius: 11px; outline: none; transition: border-color .15s, box-shadow .15s; }
.auth-card input { margin-bottom: 9px; }
.auth-card input:focus, .form-field input:focus, .form-field textarea:focus, .note-card textarea:focus, .task-add-row input:focus { border-color: #7692e7; box-shadow: 0 0 0 3px #3157c81a; }
.button-primary, .button-secondary, .button-danger { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 10px 16px; border: 1px solid transparent; border-radius: 11px; font-weight: 700; transition: transform .15s, background .15s; }
.button-primary { color: #fff; background: var(--blue); box-shadow: 0 5px 12px #3157c822; }
.button-primary:hover { color: #fff; background: #2649b5; transform: translateY(-1px); }
.button-primary.full-width { width: 100%; min-height: 48px; margin-top: 7px; }
.button-secondary { color: #34415a; background: #fff; border-color: var(--line); }
.button-danger { color: #fff; background: #c64646; }
.auth-links { display: grid; justify-items: center; gap: 9px; margin-top: 20px; }
.text-button { padding: 5px; color: var(--blue); background: transparent; border: 0; font-weight: 650; }
.back-link { margin: 16px 0 0; }
.form-message { margin: 3px 0 8px; padding: 10px 12px; border-radius: 9px; line-height: 1.45; }
.form-message.error { color: #a72e32; background: #fff0ef; }
.form-message.success { color: #176b42; background: #e9f7ee; }

.workspace-shell { display: flex; min-height: 100vh; }
.workspace-sidebar { position: fixed; z-index: 5; inset: 0 auto 0 0; display: flex; flex-direction: column; width: 248px; padding: 24px 16px 18px; background: #fff; border-right: 1px solid var(--line); }
.workspace-brand { display: flex; align-items: center; gap: 11px; margin: 0 4px 38px; color: #34415a; text-decoration: none; font-size: 15px; }
.workspace-brand strong { color: var(--ink); }
.sidebar-caption { margin: 0 12px 11px; }
.nav-item { display: flex; align-items: center; gap: 13px; width: 100%; margin: 2px 0; padding: 11px 13px; color: #65718a; text-align: left; border: 0; border-radius: 10px; background: transparent; font-weight: 650; }
.nav-item > span { width: 20px; font-size: 17px; text-align: center; }
.nav-item:hover, .nav-item.active { color: var(--blue); background: #eff3ff; }
.sidebar-bottom { margin-top: auto; }
.user-chip { display: flex; align-items: center; gap: 10px; padding: 13px 7px; border-top: 1px solid var(--line); }
.user-chip > span:last-child { display: grid; min-width: 0; }
.user-chip strong, .user-chip small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-chip strong { font-size: 12px; }
.user-chip small { max-width: 160px; color: var(--muted); font-size: 11px; }
.avatar { display: grid; place-items: center; width: 34px; height: 34px; color: #3157c8; background: #eaf0ff; border-radius: 50%; font-weight: 800; }
.logout-link { color: #a34242; }
.workspace-main { width: calc(100% - 248px); margin-left: 248px; padding: 34px clamp(22px, 4vw, 58px) 60px; }
.workspace-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 28px; }
.workspace-header h1 { margin: 0; font-size: clamp(24px, 3vw, 31px); letter-spacing: -.04em; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.mobile-logout-button { display: none; }
.header-date { color: #768198; font-size: 12px; white-space: nowrap; }
.language-select { padding: 8px 10px; color: #34415a; background: #fff; border: 1px solid var(--line); border-radius: 9px; }
.summary-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; margin-bottom: 20px; }
.summary-card { display: flex; align-items: center; gap: 13px; min-height: 96px; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 15px; box-shadow: 0 4px 14px #1b2b4405; }
.summary-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; font-size: 17px; font-weight: 800; }
.summary-icon.blue { color: #3157c8; background: #edf1ff; }.summary-icon.green { color: #16814d; background: #e9f7ef; }.summary-icon.amber { color: #ae7908; background: #fff6df; }.summary-icon.gray { color: #59677f; background: #f0f2f6; }
.summary-card > span:last-child { display: grid; gap: 5px; }.summary-card small { color: var(--muted); font-size: 11px; }.summary-card strong { font-size: 22px; }
.content-panel { padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 4px 16px #1b2b4405; }
.panel-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.panel-toolbar h2, .content-panel h2 { margin: 0 0 5px; font-size: 19px; letter-spacing: -.02em; }
.panel-toolbar p { margin: 0; font-size: 12px; }
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.filter-chip { display: inline-flex; align-items: center; gap: 9px; padding: 8px 11px; color: #56627b; background: white; border: 1px solid var(--line); border-radius: 9px; font-size: 12px; font-weight: 650; }
.filter-chip span { display: grid; place-items: center; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 9px; background: #f0f2f7; font-size: 10px; }
.filter-chip.selected { color: var(--blue); background: #f0f3ff; border-color: #d8e1ff; }
.apartment-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.apartment-card { position: relative; min-width: 0; padding: 16px; border: 1px solid var(--line); border-radius: 13px; transition: border-color .15s, box-shadow .15s; }
.apartment-card:hover { border-color: #c6d2f4; box-shadow: 0 6px 20px #2537560b; }
.apartment-card-open { display: block; width: 100%; padding: 0 0 12px; color: inherit; text-align: left; background: transparent; border: 0; }
.apartment-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 13px; }
.apartment-symbol { display: grid; place-items: center; width: 35px; height: 35px; color: var(--blue); background: #eff3ff; border-radius: 10px; font-size: 17px; }
.status-pill { padding: 5px 8px; border-radius: 20px; font-size: 10px; font-weight: 750; white-space: nowrap; }
.status-pill.occupied { color: #16764a; background: #e8f7ef; }.status-pill.leaving { color: #a36c00; background: #fff3d6; }.status-pill.available { color: #57647b; background: #eff1f5; }.status-pill.short-term { color: #6555a7; background: #f0edff; }
.apartment-card h3, .note-card h3 { overflow: hidden; margin: 0 0 5px; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.tenant-line { overflow: hidden; margin: 0; color: var(--muted); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.card-divider { height: 1px; margin: 13px 0 10px; background: #edf0f5; }
.card-details { display: flex; justify-content: space-between; gap: 10px; margin: 6px 0; font-size: 11px; }.card-details span { color: var(--muted); }.card-details strong { font-size: 11px; }
.paid-text { color: #16814d; }.unpaid-text { color: #b5443c; }
.card-edit { padding: 0; color: var(--blue); background: transparent; border: 0; font-size: 11px; font-weight: 700; }
.empty-state { display: grid; justify-items: center; padding: 48px 20px; text-align: center; }.empty-state > span { display: grid; place-items: center; width: 52px; height: 52px; color: #6e86d9; background: #f0f3ff; border-radius: 16px; font-size: 22px; }.empty-state h3 { margin: 16px 0 5px; }.empty-state p { margin: 0 0 16px; }.empty-state.compact { padding: 20px; }
.form-panel { max-width: 900px; }.form-panel > h2 { margin: 18px 0; }.apartment-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }.form-field { display: grid; gap: 7px; }.form-field.full, .toggle-field.full { grid-column: 1 / -1; }.form-field textarea, .note-card textarea { resize: vertical; }.toggle-field { display: flex; align-items: center; gap: 10px; padding: 12px; color: #35425a; background: #f8f9fc; border: 1px solid var(--line); border-radius: 10px; }.toggle-field input { width: 17px; height: 17px; accent-color: var(--blue); }.form-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }.confirm-delete { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 18px; padding: 14px; color: #803431; background: #fff4f2; border: 1px solid #f3d9d5; border-radius: 11px; }
.calendar-toolbar { justify-content: center; }.calendar-toolbar h2 { min-width: 170px; text-align: center; }.calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 7px; }.calendar-weekday { padding: 7px 0; color: var(--muted); text-align: center; font-size: 11px; font-weight: 750; }.calendar-day { position: relative; display: grid; place-items: center; min-height: clamp(42px, 6vw, 64px); color: #3c4961; background: #fff; border: 1px solid var(--line); border-radius: 10px; }.calendar-day:hover { border-color: #9fb1ed; }.calendar-day.outside { color: #b8bfcb; background: #fafbfd; }.calendar-day.has-tasks:not(.selected):not(.outside) { color: #245b38; background: #e5f5e9; border-color: #a8d7b5; font-weight: 750; }.calendar-day.has-lease-ending:not(.selected):not(.outside) { color: #244e86; background: #e5efff; border-color: #a9c5f2; font-weight: 750; }.calendar-day.has-tasks.has-lease-ending:not(.selected):not(.outside) { color: #634081; background: #f0e8fa; border-color: #cdb6e5; }.calendar-day.outside.has-tasks { color: #85a98f; background: #f1f8f2; }.calendar-day.outside.has-lease-ending { color: #829bbd; background: #f0f5ff; }.calendar-day.selected { color: #fff; background: var(--blue); border-color: var(--blue); }.task-toolbar { margin-top: 24px; }.task-add-row { display: flex; gap: 9px; margin-bottom: 12px; }.task-list { display: grid; gap: 8px; }.task-row { display: flex; align-items: center; gap: 10px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px; }.task-row > span:nth-child(2) { flex: 1; }.task-dot { width: 8px; height: 8px; background: #5b77d3; border-radius: 50%; }.icon-button { width: 30px; height: 30px; color: #a34343; background: #fff2f1; border: 0; border-radius: 8px; font-size: 19px; }.subsection-title { margin: 25px 0 12px !important; }.reminder-row { display: grid; grid-template-columns: 1.2fr 1fr 1fr auto; align-items: center; gap: 12px; width: 100%; margin: 8px 0; padding: 13px; color: #39465d; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 10px; }.reminder-row:hover { background: #f9faff; border-color: #cdd7f6; }.reminder-row span, .reminder-row small { color: var(--muted); font-size: 12px; }.reminder-row .payment-status, .reminder-row .lease-countdown { width: fit-content; padding: 6px 9px; border-radius: 18px; font-size: 11px; font-weight: 750; }.reminder-row .payment-overdue { color: #a52f32; background: #ffebea; }.reminder-row .payment-pending { color: #925e00; background: #fff1cf; }.reminder-row .lease-countdown { color: #245e96; background: #e9f2ff; }.note-card { display: grid; gap: 9px; padding: 15px 0; border-bottom: 1px solid var(--line); }.account-details { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }.account-details > div { display: grid; gap: 7px; padding: 15px; background: #f8f9fc; border: 1px solid var(--line); border-radius: 10px; }.account-details small { color: var(--muted); }.password-form { display: grid; gap: 14px; max-width: 520px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }.password-form h2 { margin-bottom: 2px; }

.reminder-row { justify-items: start; }
.reminder-row > strong, .reminder-row > span, .reminder-row > small { justify-self: start; text-align: left; }
.personal-notes-editor { width: 100%; min-height: 110px; padding: 12px 14px; color: var(--ink); background: #f8f9fc; border: 1px solid var(--line); border-radius: 11px; line-height: 1.6; resize: vertical; }
.notes-page { display: grid; gap: 20px; padding: 0; background: transparent; border: 0; box-shadow: none; }
.notes-section { min-width: 0; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 4px 16px #1b2b4405; }
.notes-section .panel-toolbar { margin-bottom: 14px; }
.apartment-notes-section > .muted { margin: -5px 0 10px; }
.booking-arrival-intro { margin: -5px 0 10px; }
.booking-arrival-layout { margin-top: 10px; }
.booking-arrival-layout .timeline-content { min-width: 0; }
.booking-arrival-layout .timeline-row { background: repeating-linear-gradient(to right, transparent 0, transparent 99px, #e6eaf1 99px, #e6eaf1 100px); }
.booking-arrival-layout .timeline-row::before { display: none; }
.booking-arrival-layout .timeline-booking { cursor: pointer; }
@media (max-width: 1100px) {
    .apartment-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .reminder-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
    .workspace-shell { display: block; padding-bottom: 65px; }
    .workspace-sidebar { inset: auto 0 0; width: 100%; height: 62px; flex-direction: row; align-items: center; justify-content: space-around; padding: 5px 6px; border-top: 1px solid var(--line); border-right: 0; box-shadow: 0 -5px 20px #17233c0a; }
    .workspace-brand, .sidebar-caption, .sidebar-bottom { display: none; }
    .nav-item { display: grid; justify-items: center; gap: 2px; width: 20%; margin: 0; padding: 6px 2px; font-size: 9px; text-align: center; }
    .nav-item > span { font-size: 17px; }
    .workspace-main { width: 100%; margin: 0; padding: 24px 15px 30px; }
    .workspace-header { align-items: flex-start; margin-bottom: 18px; }.workspace-header h1 { font-size: 24px; }.header-actions { align-items: flex-end; flex-direction: column; gap: 5px; }.header-date { display: none; }.mobile-logout-button { display: inline-flex; min-height: 34px; padding: 6px 9px; font-size: 11px; }
    .summary-grid { gap: 8px; }.summary-card { min-height: 77px; gap: 9px; padding: 11px; }.summary-icon { width: 33px; height: 33px; }.summary-card small { font-size: 10px; }.summary-card strong { font-size: 18px; }
    .content-panel { padding: 17px 14px; }.notes-page { padding: 0; }.notes-section { padding: 17px 14px; }.panel-toolbar { align-items: flex-start; flex-direction: column; }.panel-toolbar .button-primary { width: 100%; }
    .apartment-grid { grid-template-columns: 1fr; }.apartment-form-grid { grid-template-columns: 1fr; }.form-field.full, .toggle-field.full { grid-column: auto; }
    .task-add-row { flex-direction: column; }.calendar-grid { gap: 4px; }.calendar-day { min-height: 43px; border-radius: 7px; font-size: 12px; }
    .account-details { grid-template-columns: repeat(2, minmax(0, 1fr)); }.reminder-row { grid-template-columns: 1fr; gap: 5px; }
    .booking-list-toolbar { align-items: stretch; flex-direction: column; gap: 9px; }.booking-list-filter, .booking-list-filter select, .booking-list-filter input { width: 100%; }
    .booking-list-row { align-items: flex-start; flex-direction: column; gap: 8px; }
    .booking-list-pagination { justify-content: flex-start; }
    .auth-card { padding: 36px 24px 28px; }.auth-card h1 { font-size: 24px; }.auth-language { top: 13px; right: 13px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; } }

.landing-shell { min-height: 100vh; overflow: hidden; background: radial-gradient(ellipse at 76% 17%, #e8edff 0, transparent 32%), linear-gradient(180deg, #fbfcff 0%, #f5f7fc 70%, #fff 100%); }
.landing-container { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }
.landing-header { display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 88px; border-bottom: 1px solid #e7ebf4; }
.landing-brand { display: inline-flex; align-items: center; gap: 11px; color: #34415a; text-decoration: none; font-size: 15px; white-space: nowrap; }
.landing-brand strong { color: var(--ink); }
.landing-nav-links { display: flex; align-items: center; gap: 32px; margin-left: auto; }
.landing-nav-links a, .landing-footer-login { color: #596780; text-decoration: none; font-size: 13px; font-weight: 650; }
.landing-nav-links a:hover, .landing-footer-login:hover { color: var(--blue); }
.landing-header-actions { display: flex; align-items: center; gap: 12px; }
.landing-header-actions .button-secondary { color: var(--blue); border-color: #dce3f8; }
.landing-hero { display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(420px, .97fr); align-items: center; gap: 45px; min-height: 590px; padding: 65px 0 60px; }
.landing-copy { max-width: 570px; }
.landing-eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 18px; color: #6076c7; font-size: 10px; font-weight: 850; letter-spacing: .15em; }
.landing-eyebrow > span { width: 22px; height: 2px; border-radius: 2px; background: #6c83dc; }
.landing-copy h1 { max-width: 600px; margin: 0; color: #182542; font-size: clamp(40px, 5.4vw, 64px); line-height: 1.05; letter-spacing: -.055em; }
.landing-lead { max-width: 520px; margin: 22px 0 27px; color: #68758d; font-size: 17px; line-height: 1.75; }
.landing-cta-row { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; }
.landing-primary-cta { min-height: 50px; padding: 12px 19px; gap: 14px; border-radius: 12px; }
.landing-primary-cta span, .landing-how-copy .button-primary span, .landing-final-button span { font-size: 18px; line-height: 1; }
.landing-text-cta { padding: 10px 2px; color: #52617d; background: transparent; border: 0; font-size: 13px; font-weight: 700; }
.landing-text-cta:hover { color: var(--blue); }
.landing-trust-note { display: flex; align-items: center; gap: 8px; margin-top: 23px; color: #7b879d; font-size: 12px; }
.landing-trust-note span { display: grid; place-items: center; width: 18px; height: 18px; color: #188451; background: #e4f5eb; border-radius: 50%; font-size: 11px; font-weight: 800; }
.landing-preview-wrap { position: relative; padding: 16px 10px 36px; }
.landing-preview-glow { position: absolute; inset: 8% 1% 4%; background: #93a8f552; border-radius: 40%; filter: blur(48px); }
.landing-preview-card { position: relative; z-index: 1; padding: 23px; background: #fff; border: 1px solid #e7eaf3; border-radius: 20px; box-shadow: 0 30px 75px #25385f1c, 0 5px 16px #25385f0a; transform: rotate(1deg); }
.preview-topbar { display: flex; align-items: center; gap: 10px; padding-bottom: 18px; border-bottom: 1px solid #eff1f6; }
.preview-app-icon { display: grid; place-items: center; width: 34px; height: 34px; color: #fff; background: linear-gradient(135deg, #5274dd, #304bb1); border-radius: 10px; font-size: 11px; font-weight: 850; }
.preview-topbar > div, .preview-greeting > div { display: grid; gap: 3px; }
.preview-topbar strong { color: #25334f; font-size: 12px; }
.preview-topbar small { color: #929bb0; font-size: 10px; }
.preview-dots { margin-left: auto; color: #9da7b9; letter-spacing: 2px; }
.preview-greeting { display: flex; align-items: end; justify-content: space-between; margin: 20px 0 15px; }
.preview-greeting small { color: #929bb0; font-size: 8px; font-weight: 800; letter-spacing: .13em; }
.preview-greeting strong { color: #202d49; font-size: 18px; letter-spacing: -.03em; }
.preview-date { color: #8c97ab; font-size: 10px; }
.preview-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.preview-metrics > div { display: grid; grid-template-columns: 32px 1fr; align-items: center; column-gap: 8px; padding: 13px 11px; background: #fafbfe; border: 1px solid #edf0f6; border-radius: 12px; }
.preview-metric-icon { grid-row: span 3; display: grid; place-items: center; width: 31px; height: 31px; border-radius: 9px; font-size: 15px; font-weight: 800; }
.preview-metric-icon.blue { color: #4d67c5; background: #eaf0ff; }.preview-metric-icon.green { color: #218457; background: #e7f6ee; }.preview-metric-icon.violet { color: #6b60b4; background: #f0edff; }.preview-metric-icon.amber { color: #a87617; background: #fff5df; }
.preview-metrics small { color: #7c879c; font-size: 9px; }.preview-metrics strong { color: #26334f; font-size: 19px; line-height: 1.2; }.preview-metrics em { color: #9aa3b4; font-size: 8px; font-style: normal; }
.preview-list-heading { display: flex; justify-content: space-between; align-items: center; margin: 21px 0 10px; }
.preview-list-heading strong { color: #293650; font-size: 11px; }.preview-list-heading > span { color: #5470d2; font-size: 9px; font-weight: 700; }
.preview-task { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid #f0f2f7; }
.preview-task-icon { display: grid; place-items: center; flex: 0 0 31px; height: 31px; border-radius: 9px; font-size: 15px; }
.preview-task-icon.amber { color: #a87617; background: #fff5df; }.preview-task-icon.violet { color: #6b60b4; background: #f0edff; }
.preview-task > span:nth-child(2) { display: grid; gap: 4px; min-width: 0; }.preview-task strong { color: #3b4760; font-size: 10px; }.preview-task small { overflow: hidden; color: #929bb0; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.preview-task b { margin-left: auto; color: #8994aa; font-size: 9px; font-weight: 650; white-space: nowrap; }
.preview-footer { display: flex; justify-content: space-between; margin-top: 8px; padding-top: 13px; color: #9aa3b4; border-top: 1px solid #f0f2f7; font-size: 8px; }
.preview-footer > span:first-child { display: flex; align-items: center; gap: 6px; color: #55836e; }.preview-footer i { width: 6px; height: 6px; background: #38a875; border-radius: 50%; }
.preview-floating-note { position: absolute; z-index: 2; right: -8px; bottom: 7px; display: flex; align-items: center; gap: 10px; padding: 12px 15px; background: #fff; border: 1px solid #e8ebf3; border-radius: 13px; box-shadow: 0 13px 30px #25385f1a; }
.preview-floating-note > span { display: grid; place-items: center; width: 27px; height: 27px; color: #16804d; background: #e6f6ed; border-radius: 50%; font-size: 13px; font-weight: 800; }
.preview-floating-note > div { display: grid; gap: 3px; }.preview-floating-note strong { color: #293650; font-size: 10px; }.preview-floating-note small { color: #8994a8; font-size: 8px; }
.landing-benefit-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding: 21px; background: #fff; border: 1px solid #e9edf4; border-radius: 16px; box-shadow: 0 8px 25px #26395908; }
.landing-benefit-strip > div { display: flex; align-items: center; gap: 12px; padding: 2px 15px; }.landing-benefit-strip > div + div { border-left: 1px solid #edf0f5; }
.benefit-icon { display: grid; place-items: center; flex: 0 0 38px; height: 38px; color: #4965c4; background: #eff2ff; border-radius: 11px; font-size: 16px; }
.landing-benefit-strip > div:nth-child(2) .benefit-icon { color: #a87819; background: #fff5df; }.landing-benefit-strip > div:nth-child(3) .benefit-icon { color: #258457; background: #eaf7ef; }
.landing-benefit-strip > div > span:last-child { display: grid; gap: 4px; }.landing-benefit-strip strong { color: #2c3953; font-size: 11px; }.landing-benefit-strip small { color: #8792a6; font-size: 10px; }
.landing-section { padding: 106px 0 84px; scroll-margin-top: 24px; }
.landing-section-heading { max-width: 640px; margin: 0 auto 38px; text-align: center; }.landing-section-heading .landing-eyebrow { justify-content: center; }
.landing-section-heading h2, .landing-how h2, .landing-final-cta h2 { margin: 0; color: #1c2945; font-size: clamp(29px, 3.5vw, 40px); line-height: 1.15; letter-spacing: -.045em; }
.landing-section-heading > p:last-child, .landing-how-copy > p:not(.landing-eyebrow), .landing-final-cta > div > p:last-child { margin: 14px 0 0; color: #77839a; font-size: 14px; line-height: 1.7; }
.landing-feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.landing-feature-card { position: relative; min-height: 224px; padding: 25px; background: #fff; border: 1px solid #e8ecf4; border-radius: 15px; transition: transform .18s, box-shadow .18s, border-color .18s; }
.landing-feature-card:hover { transform: translateY(-4px); border-color: #d1daf5; box-shadow: 0 15px 35px #24375b0c; }
.feature-icon { display: grid; place-items: center; width: 43px; height: 43px; border-radius: 13px; font-size: 19px; }
.feature-blue { color: #4c67c7; background: #eef2ff; }.feature-amber { color: #a87617; background: #fff5df; }.feature-green { color: #218457; background: #e8f6ee; }
.landing-feature-card h3 { margin: 20px 0 8px; color: #273550; font-size: 15px; letter-spacing: -.02em; }.landing-feature-card p { max-width: 290px; margin: 0; color: #7b879c; font-size: 12px; line-height: 1.7; }
.feature-arrow { position: absolute; top: 27px; right: 25px; color: #a1abc0; font-size: 17px; }
.landing-how { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 75px; padding: 55px 58px; background: #eef2ff; border: 1px solid #e2e8fb; border-radius: 20px; scroll-margin-top: 24px; }
.landing-how-copy .button-primary { margin-top: 23px; gap: 13px; }.landing-steps { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.landing-steps li { display: flex; gap: 17px; padding: 17px 0; border-bottom: 1px solid #dce3f4; }.landing-steps li:last-child { border-bottom: 0; }
.landing-steps li > span { color: #6d81d2; font-size: 12px; font-weight: 850; letter-spacing: .08em; }
.landing-steps strong { color: #2c3953; font-size: 13px; }.landing-steps p { margin: 6px 0 0; color: #78849b; font-size: 11px; line-height: 1.55; }
.landing-final-cta { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin: 80px 0 0; padding: 42px 48px; color: #fff; background: linear-gradient(120deg, #2d48aa, #4665ce 68%, #6681df); border-radius: 19px; box-shadow: 0 18px 40px #3655be2b; }
.landing-final-cta .landing-eyebrow { margin-bottom: 12px; color: #cbd5ff; }.landing-final-cta h2 { color: #fff; font-size: clamp(25px, 3vw, 34px); }
.landing-final-cta > div > p:last-child { max-width: 570px; margin-top: 9px; color: #e0e6ff; font-size: 12px; }
.landing-final-button { flex: 0 0 auto; gap: 12px; min-height: 48px; color: #2946a7; background: #fff; box-shadow: none; }.landing-final-button:hover { color: #233d96; background: #f1f4ff; }
.landing-footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 28px 0 32px; color: #8b95a8; font-size: 10px; }.landing-footer .brand-mark { width: 32px; height: 32px; font-size: 11px; border-radius: 10px; }
.landing-footer-login { padding: 5px 0; border: 0; background: transparent; }

.timeline-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 16px; }
.booking-view-switch { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.booking-view-switch .selected { color: var(--blue); background: #f0f3ff; border-color: #d8e1ff; }
.booking-list-toolbar { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 12px; margin: 0 0 14px; }
.booking-list-filter { display: grid; gap: 5px; }
.booking-list-filter label { color: #37445c; font-size: 12px; font-weight: 700; }
.booking-list-filter select, .booking-list-filter input { min-width: 145px; padding: 10px 12px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.booking-list-filter:first-child select { width: min(100%, 320px); }
.booking-list { display: grid; gap: 9px; }
.booking-list-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 13px 15px; color: var(--ink); text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 11px; }
.booking-list-row:hover { background: #fbfcff; border-color: #c6d2f4; }
.booking-list-row-main { display: grid; gap: 5px; min-width: 0; }
.booking-list-row-main strong { font-size: 13px; }
.booking-list-row-main > span, .booking-list-row-main small { color: var(--muted); font-size: 11px; }
.booking-list-row-main small { overflow-wrap: anywhere; }
.booking-list-guests { flex: 0 0 auto; color: #586a9b; font-size: 11px; font-weight: 700; }
.booking-list-pagination { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.booking-list-pagination .selected { color: var(--blue); background: #f0f3ff; border-color: #d8e1ff; }
.timeline-range-actions { display: flex; flex-wrap: wrap; gap: 7px; }
.timeline-range-actions .button-secondary { min-height: 36px; padding: 7px 10px; font-size: 11px; }
.timeline-zoom-controls { display: flex; align-items: center; gap: 5px; }
.timeline-zoom-controls .button-secondary { min-width: 34px; min-height: 34px; padding: 5px 8px; font-size: 14px; }
.timeline-layout { --timeline-label-base-width: 160px; display: grid; grid-template-columns: 160px minmax(0, 1fr); overflow: hidden; border: 1px solid var(--line); border-radius: 12px; }
.timeline-label-column { min-width: 0; background: #fff; }
.timeline-label-content { width: 100%; }
.timeline-corner, .timeline-apartment-label { display: flex; align-items: center; padding: 7px 10px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.timeline-corner { height: 48px; color: #68758d; background: #f8f9fc; font-size: 11px; font-weight: 750; }
.timeline-apartment-label { height: 52px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; }
.timeline-apartment-label strong { overflow: hidden; max-width: 100%; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.timeline-apartment-label .text-button { padding: 0; font-size: 9px; }
.timeline-scroll { min-width: 0; overflow-x: auto; overflow-y: hidden; cursor: grab; touch-action: pan-x; overscroll-behavior-x: contain; scrollbar-color: #c5cde0 #f4f6fa; scrollbar-width: thin; }
.timeline-scroll.is-dragging { cursor: grabbing; user-select: none; }
.timeline-content { position: relative; min-width: 100%; }
.timeline-content::before { position: absolute; z-index: 4; top: 0; bottom: 0; left: calc(var(--timeline-today-offset) + var(--timeline-day-width, 100px) / 2); width: 2px; background: rgba(211, 47, 47, .6); box-shadow: 0 0 3px #fff; content: ""; pointer-events: none; }
.timeline-days { display: grid; height: 48px; background: #f8f9fc; }
.timeline-day { display: grid; grid-template-rows: 12px 16px 12px; align-content: center; justify-items: center; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.timeline-day small, .timeline-day em { color: #8a95a9; font-size: 9px; font-style: normal; }
.timeline-day strong { color: #34415a; font-size: 12px; }
.timeline-day.today { background: #eef2ff; }
.timeline-day.today strong { color: var(--blue); }
.timeline-row { position: relative; height: 52px; border-bottom: 1px solid var(--line); background: repeating-linear-gradient(to right, transparent 0, transparent 99px, #e6eaf1 99px, #e6eaf1 100px); }
.timeline-row::before { position: absolute; z-index: 0; top: 0; bottom: 0; left: var(--timeline-today-offset); width: 100px; background: rgba(49, 87, 200, .07); border-right: 1px solid #c2cef6; border-left: 1px solid #c2cef6; content: ""; pointer-events: none; }
.timeline-booking { position: absolute; top: 4px; z-index: 1; box-sizing: border-box; display: flex; height: 43px; min-width: 100px; flex-direction: column; justify-content: center; gap: 2px; overflow: hidden; padding: 3px 5px; color: #243d93; text-align: left; white-space: nowrap; background: #e9efff; border: 1px solid #c8d5ff; border-radius: 7px; }
.timeline-booking:hover { background: #dce6ff; }
.timeline-booking strong, .timeline-booking small { display: block; overflow: hidden; text-overflow: ellipsis; }
.timeline-booking strong { font-size: 10px; }
.timeline-booking small { color: #586a9b; font-size: 9px; }
.booking-form-panel { margin-top: 22px; padding: 20px; background: #fbfcff; border: 1px solid var(--line); border-radius: 12px; }
.booking-form-panel .panel-toolbar { margin-bottom: 15px; }
.booking-form-panel h3 { margin: 0 0 4px; font-size: 16px; }
.booking-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.booking-form-grid .form-field { min-width: 0; }
.booking-form-grid .form-field.full { grid-column: 1 / -1; }
.booking-form-grid select { width: 100%; padding: 12px 14px; color: var(--ink); background: #f8f9fc; border: 1px solid var(--line); border-radius: 11px; }
.booking-form-panel .form-actions { margin-top: 16px; }

@media (max-width: 980px) {
    .landing-hero { grid-template-columns: minmax(0, 1fr) minmax(350px, .9fr); gap: 20px; }
    .landing-how { gap: 38px; padding: 42px 35px; }
}
@media (max-width: 760px) {
    .timeline-layout { --timeline-label-base-width: 96px; grid-template-columns: 96px minmax(0, 1fr); }
    .timeline-row { background: repeating-linear-gradient(to right, transparent 0, transparent calc(var(--timeline-day-width, 100px) - 1px), #e6eaf1 calc(var(--timeline-day-width, 100px) - 1px), #e6eaf1 var(--timeline-day-width, 100px)); }
    .timeline-row::before { width: var(--timeline-day-width, 100px); }
    .timeline-booking { min-width: var(--timeline-day-width, 100px); }
    .timeline-corner, .timeline-apartment-label { padding-right: 5px; padding-left: 6px; }
    .timeline-apartment-label strong { font-size: 10px; }
    .timeline-toolbar { align-items: flex-start; flex-direction: column; }
    .timeline-range-actions .button-secondary { min-height: 34px; padding: 6px 8px; font-size: 10px; }
    .booking-form-panel { padding: 15px; }
    .booking-form-grid { grid-template-columns: 1fr; gap: 10px; }
    .booking-form-grid .form-field.full { grid-column: auto; }
    .landing-container { width: min(100% - 32px, 560px); }
    .landing-header { min-height: 72px; gap: 10px; }.landing-nav-links { display: none; }
    .landing-header-actions { gap: 7px; }.landing-header-actions .language-select { padding: 7px 5px; font-size: 11px; }.landing-login { min-height: 36px; padding: 7px 10px; font-size: 11px; }
    .landing-hero { grid-template-columns: 1fr; gap: 24px; min-height: 0; padding: 58px 0 37px; }
    .landing-copy h1 { max-width: 520px; font-size: clamp(39px, 11vw, 54px); }.landing-lead { margin: 17px 0 21px; font-size: 15px; }
    .landing-preview-wrap { width: min(100%, 490px); margin: 0 auto; padding: 8px 5px 30px; }.landing-preview-card { padding: 18px; transform: none; }.preview-floating-note { right: 0; bottom: 0; }
    .landing-benefit-strip { grid-template-columns: 1fr; gap: 0; padding: 9px 17px; }.landing-benefit-strip > div { padding: 12px 0; }.landing-benefit-strip > div + div { border-top: 1px solid #edf0f5; border-left: 0; }
    .landing-section { padding: 76px 0 64px; }.landing-section-heading { margin-bottom: 26px; }.landing-feature-grid { grid-template-columns: 1fr; gap: 11px; }.landing-feature-card { min-height: 0; padding: 21px; }.landing-feature-card h3 { margin-top: 15px; }
    .landing-how { grid-template-columns: 1fr; gap: 22px; padding: 29px 22px; }.landing-how h2 { font-size: 30px; }
    .landing-final-cta { align-items: flex-start; flex-direction: column; gap: 21px; margin-top: 58px; padding: 30px 23px; }.landing-final-button { width: 100%; }
    .landing-footer { align-items: flex-start; flex-wrap: wrap; padding-top: 23px; }.landing-footer > span { order: 3; width: 100%; }.landing-footer .landing-brand { font-size: 13px; }
}
