:root {
    --red-950: #4b0d11;
    --red-900: #681318;
    --red-800: #8f1e22;
    --red-700: #ad2a2f;
    --red-100: #f8e7e7;
    --red-50: #fdf5f5;
    --ink-950: #191616;
    --ink-800: #302b2a;
    --ink-600: #6d6462;
    --ink-400: #9c9290;
    --line: #e8e2e0;
    --surface: #ffffff;
    --canvas: #f7f5f4;
    --success: #247551;
    --warning: #8a5b16;
    --shadow: 0 20px 60px rgba(64, 31, 31, .10);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink-950);
    background: var(--canvas);
    font-synthesis: none;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { min-height: 100%; background: var(--canvas); }
body { margin: 0; min-height: 100vh; font-size: 16px; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.auth-body { background: var(--surface); }
.auth-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(420px, 1fr) minmax(520px, 1.05fr); }
.auth-story { position: relative; overflow: hidden; color: white; background: radial-gradient(circle at 15% 12%, rgba(255,255,255,.14), transparent 28%), linear-gradient(145deg, var(--red-700), var(--red-950)); }
.auth-story::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; right: -28%; bottom: -18%; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; box-shadow: 0 0 0 80px rgba(255,255,255,.035), 0 0 0 160px rgba(255,255,255,.025); }
.auth-story::after { content: ""; position: absolute; inset: 0; opacity: .14; background-image: linear-gradient(115deg, transparent 48%, rgba(255,255,255,.2) 49%, transparent 50%); background-size: 38px 38px; }
.auth-story-inner { position: relative; z-index: 1; min-height: 100%; padding: clamp(34px, 5vw, 72px); display: flex; flex-direction: column; }
.brand { display: inline-flex; align-items: center; gap: 12px; width: fit-content; }
.brand strong { display: block; font-size: 18px; letter-spacing: -.02em; }
.brand small { display: block; color: var(--ink-600); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.brand--light small { color: rgba(255,255,255,.72); }
.brand-mark { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; color: white; background: var(--red-800); font-weight: 800; letter-spacing: -.06em; box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
.brand-mark--light { color: var(--red-900); background: white; }
.auth-copy { margin: auto 0; max-width: 630px; padding: 72px 0; }
.auth-copy h1 { margin: 12px 0 24px; max-width: 620px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(44px, 5vw, 74px); line-height: .99; letter-spacing: -.045em; font-weight: 500; }
.auth-copy > p:last-child { max-width: 520px; color: rgba(255,255,255,.76); font-size: 18px; }
.auth-meta { margin: 0; color: rgba(255,255,255,.6); font-size: 14px; }
.eyebrow { margin: 0 0 6px; color: var(--red-700); font-size: 12px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow--light { color: rgba(255,255,255,.7); }
.auth-form-panel { display: grid; place-items: center; padding: clamp(28px, 6vw, 96px); background: linear-gradient(180deg, #fff, #fcfbfb); }
.login-card { width: min(100%, 440px); }
.login-card h2 { margin: 0; font-size: clamp(32px, 4vw, 46px); letter-spacing: -.045em; line-height: 1.1; }
.form-intro { margin: 14px 0 30px; color: var(--ink-600); }
.mobile-brand { display: none; align-items: center; gap: 12px; margin-bottom: 56px; }
.mobile-brand strong, .mobile-brand small { display: block; }
.mobile-brand small { color: var(--ink-600); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.stack-form { display: grid; gap: 20px; }
label > span { display: block; margin-bottom: 8px; color: var(--ink-800); font-size: 14px; font-weight: 700; }
label > small { display: block; margin-top: 6px; color: var(--ink-600); font-size: 12px; }
input, select, textarea { width: 100%; min-height: 52px; padding: 0 15px; color: var(--ink-950); background: #fff; border: 1px solid #d9d1cf; border-radius: 12px; outline: none; transition: border-color .18s ease, box-shadow .18s ease; }
textarea { min-height: 128px; padding-block: 13px; resize: vertical; line-height: 1.55; }
input:focus, select:focus, textarea:focus { border-color: var(--red-700); box-shadow: 0 0 0 4px rgba(173, 42, 47, .11); }
input:disabled { color: var(--ink-600); background: var(--canvas); }
input[readonly] { color: var(--ink-800); background: var(--canvas); cursor: default; }
.button { min-height: 48px; padding: 0 20px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; border: 0; border-radius: 12px; font-weight: 800; cursor: pointer; transition: transform .18s ease, background .18s ease, box-shadow .18s ease; }
.button:hover { transform: translateY(-1px); }
.button:disabled { opacity: .48; cursor: not-allowed; box-shadow: none; }
.button:disabled:hover { transform: none; }
.button:focus-visible, .nav-link:focus-visible, .user-chip:focus-visible { outline: 3px solid rgba(173,42,47,.24); outline-offset: 2px; }
.button--primary { color: white; background: var(--red-800); box-shadow: 0 10px 24px rgba(143,30,34,.2); }
.button--primary:hover { background: var(--red-900); }
.button--light { color: var(--red-900); background: white; }
.button--secondary { color: var(--red-800); background: var(--red-50); border: 1px solid #edcfd0; box-shadow: none; }
.button--ghost { color: var(--ink-800); background: white; border: 1px solid var(--line); box-shadow: none; }
.button--quiet { width: 100%; color: var(--ink-800); background: white; border: 1px solid var(--line); box-shadow: none; }
.button--quiet-danger { color: #8b2226; background: #fff7f7; border: 1px solid #efd1d2; box-shadow: none; }
.button--quiet-danger:hover { color: white; background: #922329; border-color: #922329; }
.button--full { width: 100%; margin-top: 4px; }
.security-note { margin: 26px 0 0; color: var(--ink-600); font-size: 13px; text-align: center; }
.security-note span { color: var(--success); font-size: 9px; }
.notice { margin: 0 0 22px; padding: 14px 16px; border-radius: 12px; font-size: 14px; }
.notice p { margin: 0; }
.notice p + p { margin-top: 6px; }
.notice--error { color: #76191d; background: var(--red-100); border: 1px solid #efc9ca; }
.notice--success { color: #18573c; background: #e9f6ef; border: 1px solid #c8ead7; }
.notice--warning { color: #68430c; background: #fff7e8; border: 1px solid #efd9ad; }

.app-body { background: var(--canvas); }
.app-shell { min-height: 100vh; display: grid; grid-template-columns: 260px minmax(0, 1fr); }
.sidebar { position: sticky; top: 0; height: 100vh; padding: 28px 18px 22px; display: flex; flex-direction: column; color: rgba(255,255,255,.82); background: linear-gradient(180deg, var(--red-950), #32090c); }
.brand--sidebar { padding: 0 10px; color: white; }
.brand--sidebar .brand-mark { color: var(--red-900); background: white; }
.brand--sidebar small { color: rgba(255,255,255,.55); }
.main-nav { display: grid; gap: 5px; margin-top: 50px; }
.nav-link { min-height: 48px; padding: 0 12px; display: flex; align-items: center; gap: 12px; border-radius: 11px; font-size: 14px; font-weight: 700; }
.nav-link:hover:not(.is-disabled), .nav-link.is-active { color: white; background: rgba(255,255,255,.11); }
.nav-link.is-disabled { opacity: .45; cursor: default; }
.nav-link small { margin-left: auto; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.nav-icon { width: 24px; text-align: center; font-size: 18px; }
.nav-section { display: grid; gap: 3px; }
.nav-submenu { margin: 0 0 5px 48px; display: grid; gap: 2px; }
.nav-submenu a { padding: 7px 9px; color: rgba(255,255,255,.58); border-radius: 7px; font-size: 11px; font-weight: 800; }
.nav-submenu a:hover, .nav-submenu a.is-active { color: white; background: rgba(255,255,255,.08); }
.sidebar-footer { display: grid; gap: 5px; margin-top: auto; }
.sidebar-footer form { margin: 0; }
.nav-button { width: 100%; color: inherit; background: transparent; border: 0; cursor: pointer; text-align: left; }
.main-content { min-width: 0; padding: 34px clamp(24px, 4vw, 64px) 64px; }
.topbar { min-height: 68px; margin-bottom: 30px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.topbar h1 { margin: 0; font-size: clamp(28px, 3vw, 38px); letter-spacing: -.04em; line-height: 1.1; }
.user-chip { padding: 7px 12px 7px 7px; display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 14px; background: white; }
.user-chip strong, .user-chip small { display: block; }
.user-chip strong { font-size: 13px; }
.user-chip small { color: var(--ink-600); font-size: 11px; }
.avatar { width: 36px; height: 36px; display: grid; place-items: center; flex: 0 0 auto; color: white; background: var(--red-800); border-radius: 11px; font-weight: 800; }
.avatar--large { width: 58px; height: 58px; border-radius: 17px; font-size: 20px; }
.welcome-panel { position: relative; overflow: hidden; min-height: 220px; padding: clamp(28px, 4vw, 46px); display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; color: white; background: radial-gradient(circle at 90% 10%, rgba(255,255,255,.16), transparent 24%), linear-gradient(135deg, var(--red-700), var(--red-950)); border-radius: 24px; box-shadow: var(--shadow); }
.welcome-panel::after { content: ""; position: absolute; width: 320px; height: 320px; right: -120px; top: -180px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; box-shadow: 0 0 0 52px rgba(255,255,255,.035); }
.welcome-panel > * { position: relative; z-index: 1; }
.welcome-panel h2 { margin: 14px 0 10px; font-size: clamp(30px, 4vw, 48px); line-height: 1; letter-spacing: -.045em; }
.welcome-panel p { max-width: 670px; margin: 0; color: rgba(255,255,255,.72); }
.status-pill { width: fit-content; padding: 7px 10px; display: flex; align-items: center; gap: 7px; color: rgba(255,255,255,.84); background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.14); border-radius: 999px; font-size: 12px; font-weight: 800; }
.status-pill span { width: 7px; height: 7px; background: #72dfa8; border-radius: 50%; box-shadow: 0 0 0 4px rgba(114,223,168,.15); }
.stats-grid { margin: 22px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.stat-card { min-height: 128px; padding: 22px; display: flex; align-items: center; gap: 16px; background: white; border: 1px solid var(--line); border-radius: 18px; }
.stat-icon { width: 44px; height: 44px; display: grid; place-items: center; flex: 0 0 auto; color: var(--red-800); background: var(--red-50); border-radius: 13px; font-weight: 900; }
.stat-card small, .stat-card strong, .stat-card p { display: block; margin: 0; }
.stat-card small { color: var(--ink-600); font-size: 12px; font-weight: 700; }
.stat-card strong { margin: 1px 0; font-size: 23px; letter-spacing: -.03em; }
.stat-card p { color: var(--ink-600); font-size: 12px; }
.collection-alert { margin: 0 0 22px; padding: 26px; color: #5e171a; background: linear-gradient(135deg, #fff7ed, #fff); border: 1px solid #edcfaa; border-radius: 20px; box-shadow: 0 14px 40px rgba(111,72,22,.07); }
.collection-alert-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.collection-alert-heading h2 { margin: 0; font-size: 23px; letter-spacing: -.035em; }
.collection-alert-heading p:last-child { margin: 7px 0 0; color: #77634b; font-size: 13px; }
.collection-alert-icon { width: 48px; height: 48px; display: grid; place-items: center; flex: 0 0 auto; color: white; background: var(--red-800); border-radius: 14px; font-size: 20px; font-weight: 900; }
.collection-list { margin-top: 20px; display: grid; gap: 8px; }
.collection-list > a { padding: 13px 14px; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 18px; color: var(--ink-800); background: rgba(255,255,255,.82); border: 1px solid rgba(213,174,126,.55); border-radius: 13px; }
.collection-list > a:hover { background: white; border-color: #d5a96f; }
.collection-list strong, .collection-list small, .collection-list span { display: block; }
.collection-list small { margin-top: 2px; color: var(--ink-600); font-size: 11px; }
.collection-list > a > div:nth-child(2) { text-align: right; }
.collection-list span { color: var(--red-700); font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; }
.collection-list b { color: var(--red-800); }
.content-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(300px, .75fr); gap: 22px; }
.card, .settings-card { padding: clamp(24px, 3vw, 34px); background: white; border: 1px solid var(--line); border-radius: 20px; }
.card-heading, .section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.card h2, .section-heading h2 { margin: 0; font-size: 22px; letter-spacing: -.03em; }
.section-heading p { margin: 6px 0 0; color: var(--ink-600); }
.progress-label { color: var(--ink-600); font-size: 12px; font-weight: 700; }
.progress { height: 7px; margin: 22px 0 14px; overflow: hidden; background: var(--red-50); border-radius: 999px; }
.progress span { display: block; height: 100%; background: var(--red-700); border-radius: inherit; }
.setup-list { margin: 0; padding: 0; list-style: none; }
.setup-list li { padding: 14px 0; display: flex; align-items: center; gap: 14px; border-bottom: 1px solid var(--line); }
.setup-list li:last-child { border: 0; padding-bottom: 0; }
.setup-list li > span { width: 30px; height: 30px; display: grid; place-items: center; flex: 0 0 auto; color: var(--ink-600); background: var(--canvas); border-radius: 10px; font-size: 12px; font-weight: 800; }
.setup-list .is-done > span { color: white; background: var(--success); }
.setup-list strong, .setup-list small { display: block; }
.setup-list strong { font-size: 14px; }
.setup-list small { color: var(--ink-600); font-size: 12px; }
.profile-hero { margin: 22px 0 24px; display: flex; align-items: center; gap: 14px; }
.profile-hero h2, .profile-hero p { margin: 0; }
.profile-hero h2 { font-size: 18px; }
.profile-hero p { color: var(--ink-600); font-size: 13px; overflow-wrap: anywhere; }
.profile-summary dl { margin: 0; }
.profile-summary dl div { padding: 12px 0; display: flex; justify-content: space-between; gap: 14px; border-top: 1px solid var(--line); }
.profile-summary dt, .profile-summary dd { margin: 0; font-size: 13px; }
.profile-summary dt { color: var(--ink-600); }
.profile-summary dd { font-weight: 700; text-align: right; }
.text-link { margin-top: 22px; display: flex; justify-content: space-between; color: var(--red-800); font-size: 14px; font-weight: 800; }
.settings-tabs { margin-bottom: 20px; display: flex; gap: 6px; border-bottom: 1px solid var(--line); }
.settings-tabs a { position: relative; padding: 12px 16px; color: var(--ink-600); font-size: 14px; font-weight: 800; }
.settings-tabs a.is-active { color: var(--red-800); }
.settings-tabs a.is-active::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 3px; background: var(--red-700); border-radius: 3px 3px 0 0; }
.settings-card { max-width: 960px; }
.settings-card--narrow { max-width: 680px; }
.settings-card .notice { margin-top: 22px; }
.settings-form { margin-top: 28px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.form-actions { margin-top: 28px; padding-top: 22px; display: flex; justify-content: flex-end; border-top: 1px solid var(--line); }
.mobile-nav { display: none; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.page-actions { margin: -4px 0 26px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.page-actions p { max-width: 680px; margin: 0; color: var(--ink-600); }
.booking-search-card { margin: -8px 0 18px; padding: 13px; display: flex; align-items: center; justify-content: space-between; gap: 18px; background: white; border: 1px solid var(--line); border-radius: 16px; }
.booking-search-card form { min-width: 0; display: flex; align-items: center; gap: 8px; flex: 1; }
.booking-search-card label { position: relative; min-width: 220px; max-width: 720px; flex: 1; }
.booking-search-card input[type="search"] { width: 100%; min-height: 44px; padding-left: 42px; background: var(--canvas); border-color: transparent; }
.booking-search-card input[type="search"]:focus { background: white; border-color: var(--red-300); }
.booking-search-icon { position: absolute; z-index: 1; left: 15px; top: 50%; color: var(--ink-600); font-size: 18px; font-weight: 900; transform: translateY(-50%); pointer-events: none; }
.booking-search-card .button { min-height: 44px; }
.booking-search-card > p { margin: 0 7px 0 0; flex: 0 0 auto; color: var(--ink-600); font-size: 11px; }
.booking-search-card > p strong { color: var(--ink-800); }
.filter-tabs { margin-bottom: 22px; padding: 5px; display: flex; gap: 4px; width: fit-content; max-width: 100%; overflow-x: auto; background: #ede9e7; border-radius: 13px; }
.filter-tabs a { padding: 9px 13px; display: flex; align-items: center; gap: 8px; color: var(--ink-600); border-radius: 9px; white-space: nowrap; font-size: 13px; font-weight: 800; }
.filter-tabs a span { min-width: 21px; height: 21px; padding: 0 6px; display: inline-grid; place-items: center; background: rgba(0,0,0,.055); border-radius: 999px; font-size: 11px; }
.filter-tabs a.is-active { color: var(--red-900); background: white; box-shadow: 0 3px 12px rgba(42,28,28,.08); }
.resource-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.resource-card { position: relative; min-height: 330px; padding: 22px; display: flex; flex-direction: column; background: white; border: 1px solid var(--line); border-radius: 20px; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.resource-card:hover { transform: translateY(-2px); border-color: #d9cecb; box-shadow: 0 18px 40px rgba(64,31,31,.08); }
.resource-card.is-inactive { opacity: .65; }
.resource-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.resource-symbol { width: 50px; height: 50px; display: grid; place-items: center; color: var(--resource-color); background: color-mix(in srgb, var(--resource-color) 11%, white); border: 1px solid color-mix(in srgb, var(--resource-color) 20%, white); border-radius: 15px; font-size: 23px; font-weight: 900; }
.state-badge { width: fit-content; padding: 5px 9px; display: inline-flex; align-items: center; gap: 6px; color: var(--ink-600); background: #f0edec; border-radius: 999px; font-size: 11px; font-weight: 800; }
.state-badge::before { content: ""; width: 6px; height: 6px; background: var(--ink-400); border-radius: 50%; }
.state-badge.is-active { color: #18573c; background: #e9f6ef; }
.state-badge.is-active::before { background: #2c9667; }
.resource-card-body { margin: 24px 0 22px; }
.resource-type { margin: 0 0 5px; color: var(--red-700); font-size: 11px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.resource-card h2 { margin: 0; font-size: 22px; letter-spacing: -.035em; }
.resource-description { display: -webkit-box; overflow: hidden; margin: 9px 0 0; color: var(--ink-600); font-size: 14px; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.resource-meta { margin-top: auto; display: grid; gap: 8px; color: var(--ink-600); font-size: 12px; }
.resource-meta > div { display: flex; align-items: center; gap: 8px; }
.resource-meta strong { color: var(--ink-800); }
.meta-icon { width: 20px; text-align: center; color: var(--red-700); font-size: 15px; }
.resource-card-link { margin: 20px -22px -22px; padding: 15px 22px; display: flex; justify-content: space-between; color: var(--red-800); background: var(--red-50); border-radius: 0 0 19px 19px; font-size: 13px; font-weight: 900; }
.empty-state { min-height: 450px; padding: 50px 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: white; border: 1px dashed #d7cdca; border-radius: 22px; }
.empty-icon { width: 70px; height: 70px; margin-bottom: 22px; display: grid; place-items: center; color: var(--red-800); background: var(--red-50); border-radius: 22px; font-size: 30px; }
.empty-state h2 { max-width: 520px; margin: 0; font-size: 28px; letter-spacing: -.04em; }
.empty-state > p:not(.eyebrow) { max-width: 580px; margin: 12px 0 26px; color: var(--ink-600); }
.breadcrumb { margin: -8px 0 22px; display: flex; gap: 8px; color: var(--ink-600); font-size: 13px; }
.breadcrumb a { color: var(--red-800); font-weight: 800; }
.editor-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; align-items: start; gap: 22px; }
.editor-main { min-width: 0; display: grid; gap: 22px; }
.editor-form { display: grid; gap: 22px; }
.editor-section { max-width: none; }
.type-picker { margin: 26px 0 28px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; border: 0; }
.type-option { cursor: pointer; }
.type-option > input { position: absolute; opacity: 0; pointer-events: none; }
.type-option-card { position: relative; min-height: 118px; padding: 17px; display: flex; align-items: flex-start; gap: 12px; background: white; border: 1px solid var(--line); border-radius: 15px; transition: border-color .18s ease, background .18s ease, box-shadow .18s ease; }
.type-option-card strong, .type-option-card small { display: block; }
.type-option-card strong { margin-top: 1px; color: var(--ink-800); font-size: 14px; }
.type-option-card small { margin-top: 5px; color: var(--ink-600); font-size: 11px; line-height: 1.4; }
.type-option-icon { width: 34px; height: 34px; display: grid; place-items: center; flex: 0 0 auto; color: var(--red-800); background: var(--red-50); border-radius: 10px; font-size: 17px; font-weight: 900; }
.radio-dot { position: absolute; width: 17px; height: 17px; right: 11px; top: 11px; border: 2px solid #cfc5c2; border-radius: 50%; }
.type-option > input:checked + .type-option-card { background: var(--red-50); border-color: var(--red-700); box-shadow: 0 0 0 3px rgba(173,42,47,.08); }
.type-option > input:checked + .type-option-card .radio-dot { border: 5px solid var(--red-700); background: white; }
.type-option > input:focus-visible + .type-option-card { outline: 3px solid rgba(173,42,47,.2); outline-offset: 2px; }
.form-grid--editor { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field-wide { grid-column: 1 / -1; }
.color-field { margin: 0; padding: 0; border: 0; }
.color-field legend { margin-bottom: 10px; color: var(--ink-800); font-size: 14px; font-weight: 700; }
.color-options { display: flex; flex-wrap: wrap; gap: 10px; }
.color-option { cursor: pointer; }
.color-option input { position: absolute; opacity: 0; pointer-events: none; }
.color-option span { width: 34px; height: 34px; display: block; background: var(--choice-color); border: 4px solid white; border-radius: 50%; box-shadow: 0 0 0 1px #d8cecc; }
.color-option input:checked + span { box-shadow: 0 0 0 3px white, 0 0 0 5px var(--choice-color); }
.sticky-actions { position: sticky; z-index: 8; bottom: 16px; padding: 12px; display: flex; justify-content: flex-end; gap: 10px; background: rgba(255,255,255,.91); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 14px 40px rgba(50,20,20,.12); backdrop-filter: blur(14px); }
.editor-aside { position: sticky; top: 24px; display: grid; gap: 16px; }
.side-card { padding: 22px; background: white; border: 1px solid var(--line); border-radius: 18px; }
.side-card--quiet { background: transparent; border-style: dashed; }
.resource-preview { height: 112px; margin: -8px -8px 22px; display: grid; place-items: center; color: white; background: radial-gradient(circle at 70% 20%, rgba(255,255,255,.2), transparent 30%), var(--resource-color); border-radius: 14px; }
.resource-preview > span { font-size: 42px; font-weight: 900; }
.side-card h2 { margin: 2px 0 12px; font-size: 20px; letter-spacing: -.03em; }
.side-card h3 { margin: 0 0 6px; font-size: 15px; }
.side-card > p { margin: 0 0 16px; color: var(--ink-600); font-size: 13px; }
.side-card dl { margin: 22px 0 0; }
.side-card dl div { padding: 10px 0; display: flex; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); }
.side-card dt, .side-card dd { margin: 0; font-size: 12px; }
.side-card dt { color: var(--ink-600); }
.side-card dd { font-weight: 800; text-align: right; }
.section-heading--action { align-items: center; }
.count-badge { min-width: 32px; height: 32px; display: grid; place-items: center; color: var(--red-800); background: var(--red-50); border-radius: 10px; font-size: 13px; font-weight: 900; }
.inline-empty { margin-top: 24px; padding: 20px; display: flex; gap: 14px; color: var(--ink-600); background: var(--canvas); border: 1px dashed #d9cfcc; border-radius: 14px; }
.inline-empty > span { width: 38px; height: 38px; display: grid; place-items: center; flex: 0 0 auto; color: var(--red-800); background: white; border-radius: 11px; }
.inline-empty strong { display: block; color: var(--ink-800); font-size: 14px; }
.inline-empty p { margin: 3px 0 0; font-size: 12px; }
.feed-list { margin-top: 24px; display: grid; gap: 10px; }
.feed-row { padding: 14px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 13px; border: 1px solid var(--line); border-radius: 14px; }
.feed-row.is-inactive { opacity: .6; }
.feed-icon { width: 42px; height: 42px; display: grid; place-items: center; color: var(--red-800); background: var(--red-50); border-radius: 11px; font-size: 11px; font-weight: 900; }
.feed-details { min-width: 0; }
.feed-details strong, .feed-details span, .feed-details small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.feed-details strong { font-size: 14px; }
.feed-details span { color: var(--ink-600); font-size: 12px; }
.feed-details small { color: var(--ink-400); font-size: 11px; }
.icon-button { width: 36px; height: 36px; padding: 0; display: grid; place-items: center; color: var(--ink-600); background: white; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.add-feed-form { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.add-feed-form .button { margin-top: 18px; }
.action-group { display: flex; align-items: center; gap: 10px; }
.action-group form { margin: 0; }
.booking-list { display: grid; gap: 10px; }
.booking-row { min-height: 96px; padding: 14px 16px; display: grid; grid-template-columns: auto minmax(260px, 1fr) minmax(110px, .35fr) minmax(110px, .3fr) auto; align-items: center; gap: 16px; background: white; border: 1px solid var(--line); border-radius: 16px; }
.booking-row.needs-review { border-left: 4px solid var(--warning); }
.date-tile { width: 54px; height: 62px; display: grid; place-content: center; text-align: center; color: var(--resource-color); background: color-mix(in srgb, var(--resource-color) 10%, white); border-radius: 13px; line-height: 1; }
.date-tile strong { font-size: 22px; }
.date-tile span { margin-top: 4px; font-size: 10px; font-weight: 900; text-transform: uppercase; }
.booking-title-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.booking-primary h2 { margin: 0; font-size: 17px; letter-spacing: -.025em; }
.booking-primary p { margin: 4px 0 0; color: var(--ink-600); font-size: 13px; }
.review-badge, .change-badge { padding: 4px 7px; border-radius: 999px; font-size: 10px; font-weight: 900; }
.review-badge { color: #765018; background: #fff3da; }
.change-badge { color: var(--red-800); background: var(--red-50); }
.contact-list-badge { padding: 4px 7px; border-radius: 999px; font-size: 9px; font-style: normal; font-weight: 900; white-space: nowrap; }
.contact-list-badge.is-contacted { color: #247551; background: #e8f6ef; }
.contact-list-badge.is-open { color: #98262b; background: #fdebec; }
.missing-note { display: block; margin-top: 4px; color: var(--red-700); font-size: 11px; font-weight: 700; }
.cleaning-note { display: block; margin-top: 4px; color: var(--ink-600); font-size: 11px; font-weight: 700; }
.cleaning-note.is-done { color: var(--success); }
.cleaning-note.is-open { color: var(--warning); }
.booking-source small, .booking-source strong, .booking-money small, .booking-money strong { display: block; }
.booking-source small, .booking-money small { color: var(--ink-400); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.booking-source strong, .booking-money strong { font-size: 13px; }
.booking-money { text-align: right; }
.booking-money strong { font-size: 16px; }
.booking-money span { color: var(--ink-600); font-size: 11px; }
.payment-state { display: inline-flex !important; align-items: center; justify-content: flex-end; gap: 5px; font-weight: 800; }
.payment-state i { width: 8px; height: 8px; flex: 0 0 auto; background: var(--ink-400); border-radius: 50%; box-shadow: 0 0 0 3px rgba(156,146,144,.12); }
.payment-state.is-paid { color: #247551; }
.payment-state.is-paid i { background: #2c9667; box-shadow: 0 0 0 3px rgba(44,150,103,.13); }
.payment-state.is-partial { color: #8a5b16; }
.payment-state.is-partial i { background: #d69b33; box-shadow: 0 0 0 3px rgba(214,155,51,.15); }
.payment-state.is-unpaid { color: var(--red-800); }
.payment-state.is-unpaid i { background: var(--red-700); box-shadow: 0 0 0 3px rgba(173,42,47,.13); }
.booking-row.is-cancelled { background: #f5f2f1; border-color: #ddd5d3; box-shadow: none; }
.booking-row.is-cancelled .date-tile { filter: grayscale(1); opacity: .66; }
.booking-row.is-cancelled .booking-primary h2, .booking-row.is-cancelled .booking-source strong { color: #6d6361; }
.cancelled-badge { padding: 4px 8px; color: white; background: #766b69; border-radius: 999px; font-size: 9px; font-weight: 900; text-transform: uppercase; letter-spacing: .04em; }
.cancelled-note { display: block; margin-top: 7px; color: #8a7774; font-size: 10px; font-weight: 800; }
.cancelled-payment-label { color: #756a68; font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: .05em; }
.row-action { color: var(--red-800); }
.booking-editor { display: grid; grid-template-columns: minmax(0, 1fr) 320px; align-items: start; gap: 22px; }
.booking-form { min-width: 0; display: grid; gap: 22px; }
.ical-replacement-card { margin-bottom: 22px; padding: 26px 28px; background: linear-gradient(120deg, #fff9ed, #fff); border: 1px solid #ead3a5; border-radius: 20px; box-shadow: 0 12px 34px rgba(93,60,12,.06); }
.ical-replacement-heading { display: flex; align-items: flex-start; gap: 16px; }
.ical-replacement-heading > span { width: 44px; height: 44px; display: grid; place-items: center; flex: 0 0 auto; color: #8a5911; background: #f8e7c3; border-radius: 13px; font-size: 22px; font-weight: 800; }
.ical-replacement-heading h2 { margin: 0; font-size: 21px; letter-spacing: -.03em; }
.ical-replacement-heading p:last-child { margin: 6px 0 0; max-width: 820px; color: var(--ink-600); font-size: 12px; line-height: 1.5; }
.ical-replacement-list { margin-top: 20px; display: grid; gap: 10px; }
.ical-replacement-list article { padding: 16px 17px; display: grid; grid-template-columns: minmax(220px, 1fr) auto auto; align-items: center; gap: 22px; background: white; border: 1px solid #eadfc9; border-radius: 14px; }
.ical-replacement-list article > div > strong, .ical-replacement-list article > div > span, .ical-replacement-list article > div > small { display: block; }
.ical-replacement-list article > div > strong { font-size: 14px; }
.ical-replacement-list article > div > span { margin-top: 4px; font-size: 11px; }
.ical-replacement-list article > div > small { margin-top: 3px; color: var(--ink-600); font-size: 9px; }
.ical-replacement-list dl { margin: 0; display: flex; gap: 18px; }
.ical-replacement-list dl > div { min-width: 82px; }
.ical-replacement-list dt { color: var(--ink-600); font-size: 8px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.ical-replacement-list dd { margin: 4px 0 0; font-size: 11px; font-weight: 900; }
.ical-replacement-list .button { min-height: 42px; padding-inline: 15px; font-size: 10px; white-space: nowrap; }
.ical-replacement-note { margin: 15px 0 0; color: #715524; font-size: 10px; }
.booking-summary { position: sticky; top: 24px; }
.summary-card { padding: 24px; background: white; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 15px 45px rgba(65,31,31,.07); }
.summary-card h2 { margin: 0 0 20px; font-size: 22px; letter-spacing: -.03em; }
.price-summary { margin: 0; }
.price-summary + .price-summary { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.price-summary > div { padding: 6px 0; display: flex; justify-content: space-between; gap: 14px; }
.price-summary dt, .price-summary dd { margin: 0; font-size: 12px; }
.price-summary dt { color: var(--ink-600); }
.price-summary dd { font-weight: 800; text-align: right; }
.price-summary .summary-total { margin-top: 7px; padding-top: 12px; border-top: 1px solid var(--line); }
.price-summary .summary-total dt, .price-summary .summary-total dd { color: var(--ink-950); font-size: 14px; font-weight: 900; }
.balance-box { margin-top: 22px; padding: 16px; color: #18573c; background: #e9f6ef; border-radius: 14px; }
.nightly-earning { margin-top: 20px; padding: 16px; color: var(--red-900); background: linear-gradient(135deg, var(--red-50), #fff); border: 1px solid #efd7d8; border-radius: 14px; }
.nightly-earning span, .nightly-earning strong, .nightly-earning small { display: block; }
.nightly-earning span { font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; }
.nightly-earning strong { margin: 2px 0; font-size: 25px; letter-spacing: -.03em; }
.nightly-earning small { color: var(--ink-600); font-size: 10px; }
.balance-box.has-balance { color: #76191d; background: var(--red-50); }
.balance-box span, .balance-box strong, .balance-box small { display: block; }
.balance-box span { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.balance-box strong { margin: 2px 0; font-size: 25px; letter-spacing: -.03em; }
.balance-box small { opacity: .72; font-size: 11px; }
.booking-form-grid { margin-top: 26px; }
.money-fields input { font-variant-numeric: tabular-nums; }
.subsection-label { margin-top: 8px; padding: 14px 16px; display: flex; justify-content: space-between; gap: 12px; background: var(--canvas); border-radius: 12px; }
.subsection-label strong { font-size: 13px; }
.subsection-label span { color: var(--ink-600); font-size: 12px; text-align: right; }
.import-note { padding: 16px; color: var(--ink-600); background: #f4f1f0; border-radius: 12px; }
.import-note strong { color: var(--ink-800); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.import-note p { margin: 6px 0 0; font-size: 13px; }
.payments-card { max-width: none; margin-top: 22px; }
.payment-balance { text-align: right; }
.payment-balance small, .payment-balance strong { display: block; }
.payment-balance small { color: var(--ink-600); font-size: 11px; }
.payment-balance strong { color: var(--red-800); font-size: 22px; }
.payment-list { margin-top: 24px; display: grid; }
.payment-row { padding: 13px 0; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; border-bottom: 1px solid var(--line); }
.payment-number { width: 30px; height: 30px; display: grid; place-items: center; color: var(--red-800); background: var(--red-50); border-radius: 9px; font-size: 11px; font-weight: 900; }
.payment-row strong, .payment-row small { display: block; }
.payment-row strong { font-size: 14px; }
.payment-row small { color: var(--ink-600); font-size: 12px; }
.payment-form { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line); }
.payment-form .button { margin-top: 20px; }
.final-balance-card { margin-top: 22px; padding: clamp(24px, 3vw, 34px); color: white; background: linear-gradient(135deg, var(--red-950), #7c1a1f); border-radius: 22px; box-shadow: 0 18px 50px rgba(75,13,17,.18); }
.final-balance-card .eyebrow { color: rgba(255,255,255,.62); }
.final-balance-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.final-balance-heading h2 { margin: 0; font-size: 25px; letter-spacing: -.035em; }
.final-balance-heading p:last-child { margin: 7px 0 0; color: rgba(255,255,255,.62); font-size: 13px; }
.final-balance-heading > span { width: 48px; height: 48px; display: grid; place-items: center; flex: 0 0 auto; color: var(--red-900); background: white; border-radius: 14px; font-size: 22px; font-weight: 900; }
.final-balance-layout { margin-top: 26px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(260px, .65fr); align-items: stretch; gap: 26px; }
.final-balance-list { margin: 0; }
.final-balance-list > div { padding: 13px 0; display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; border-top: 1px solid rgba(255,255,255,.14); }
.final-balance-list dt, .final-balance-list dd { margin: 0; font-size: 13px; }
.final-balance-list dt { color: rgba(255,255,255,.74); }
.final-balance-list dt small { display: block; margin-top: 2px; color: rgba(255,255,255,.44); font-size: 10px; }
.final-balance-list dd { flex: 0 0 auto; font-weight: 900; }
.final-balance-result { padding: 23px; display: flex; flex-direction: column; justify-content: center; color: #174732; background: #edf9f2; border-radius: 17px; }
.final-balance-result > span { font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .07em; }
.final-balance-result > strong { margin: 3px 0 18px; font-size: clamp(30px, 4vw, 42px); letter-spacing: -.045em; }
.final-balance-result > div { padding-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 14px; border-top: 1px solid rgba(23,71,50,.14); }
.final-balance-result > div span { font-size: 11px; font-weight: 800; }
.final-balance-result > div b { font-size: 18px; }
.final-balance-result > small { margin-top: 3px; opacity: .62; font-size: 10px; text-align: right; }
.final-balance-result.is-negative { color: #76191d; background: #fdebec; }
.finance-toolbar { margin-bottom: 20px; padding: 20px 22px; display: flex; align-items: end; justify-content: space-between; gap: 24px; background: white; border: 1px solid var(--line); border-radius: 18px; }
.finance-tabs { margin-bottom: 16px; display: flex; gap: 6px; border-bottom: 1px solid var(--line); }
.finance-tabs a { position: relative; padding: 11px 15px; color: var(--ink-600); font-size: 13px; font-weight: 850; }
.finance-tabs a.is-active { color: var(--red-800); }
.finance-tabs a.is-active::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 3px; background: var(--red-700); border-radius: 3px 3px 0 0; }
.finance-toolbar > div p { max-width: 500px; margin: 0; color: var(--ink-600); font-size: 13px; }
.finance-toolbar form { display: flex; align-items: end; gap: 10px; }
.finance-toolbar label > span { margin-bottom: 5px; font-size: 11px; }
.finance-toolbar select { min-width: 130px; min-height: 44px; }
.finance-toolbar label:nth-child(2) select { min-width: 210px; }
.finance-toolbar .button { min-height: 44px; }
.booking-view-tabs { margin-bottom: 16px; display: flex; gap: 6px; border-bottom: 1px solid var(--line); }
.booking-view-tabs a { position: relative; padding: 11px 15px; color: var(--ink-600); font-size: 13px; font-weight: 850; }
.booking-view-tabs a.is-active { color: var(--red-800); }
.booking-view-tabs a.is-active::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 3px; background: var(--red-700); border-radius: 3px 3px 0 0; }
.booking-table-toolbar { margin-bottom: 18px; padding: 20px 22px; display: flex; align-items: end; justify-content: space-between; gap: 24px; background: white; border: 1px solid var(--line); border-radius: 18px; }
.booking-table-toolbar > div p { max-width: 480px; margin: 0; color: var(--ink-800); font-size: 13px; }
.booking-table-toolbar > div small { max-width: 540px; margin-top: 5px; display: block; color: var(--ink-400); font-size: 10px; line-height: 1.45; }
.booking-table-toolbar form { display: flex; flex-wrap: wrap; align-items: end; justify-content: flex-end; gap: 9px; }
.booking-table-toolbar label > span { margin-bottom: 5px; font-size: 10px; }
.booking-table-toolbar select { min-width: 112px; min-height: 43px; }
.booking-table-toolbar label:nth-child(3) select { min-width: 175px; }
.booking-table-toolbar .button { min-height: 43px; padding-inline: 14px; font-size: 11px; }
.booking-table-kpis { margin-bottom: 18px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.booking-table-kpis article { min-width: 0; padding: 18px 20px; background: white; border: 1px solid var(--line); border-radius: 16px; }
.booking-table-kpis span, .booking-table-kpis strong, .booking-table-kpis small { display: block; }
.booking-table-kpis span { color: var(--ink-600); font-size: 9px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.booking-table-kpis strong { margin: 5px 0 3px; overflow: hidden; font-size: clamp(21px, 2.4vw, 29px); letter-spacing: -.04em; text-overflow: ellipsis; white-space: nowrap; }
.booking-table-kpis small { color: var(--ink-400); font-size: 9px; }
.booking-table-kpis .is-cost { color: #7d2428; background: #fff7f7; border-color: #edd4d5; }
.booking-table-kpis .is-cost span, .booking-table-kpis .is-cost small { color: #9a6265; }
.booking-table-kpis .is-net { color: #18563d; background: #edf8f2; border-color: #cfe8dc; }
.booking-table-kpis .is-net span, .booking-table-kpis .is-net small { color: #5d8371; }
.booking-table-card { overflow: hidden; background: white; border: 1px solid var(--line); border-radius: 19px; }
.booking-table-heading { padding: 20px 22px; display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; border-bottom: 1px solid var(--line); }
.booking-table-heading h2 { margin: 2px 0 0; font-size: 21px; letter-spacing: -.03em; }
.booking-table-heading > span { color: var(--ink-600); font-size: 11px; font-weight: 800; }
.booking-data-table-wrap { max-width: 100%; overflow: auto; outline: none; scrollbar-color: #c9b9b6 #f2eeed; scrollbar-width: thin; }
.booking-data-table-wrap:focus-visible { box-shadow: inset 0 0 0 3px rgba(173,42,47,.18); }
.booking-data-table { width: max-content; min-width: 2350px; border-collapse: separate; border-spacing: 0; font-variant-numeric: tabular-nums; }
.booking-data-table th, .booking-data-table td { height: 58px; padding: 10px 12px; color: var(--ink-800); background: white; border-right: 1px solid #eee9e7; border-bottom: 1px solid #eee9e7; font-size: 10px; text-align: left; white-space: nowrap; }
.booking-data-table thead th { position: sticky; z-index: 3; top: 0; height: 43px; color: var(--ink-600); background: #f7f4f3; font-size: 8px; font-weight: 900; letter-spacing: .055em; text-transform: uppercase; }
.booking-data-table tbody tr:hover td { background: #fffaf8; }
.booking-data-table tbody tr.is-cancelled td { color: #877a77; background: #f6f3f2; }
.booking-data-table tbody tr.needs-review td { background: #fffaf0; }
.booking-data-table td strong, .booking-data-table td small { display: block; }
.booking-data-table td small { margin-top: 3px; color: var(--ink-400); font-size: 8px; }
.booking-data-table td a { color: var(--red-800); font-weight: 900; }
.booking-data-table .is-sticky { position: sticky; z-index: 2; }
.booking-data-table .is-reference { left: 0; width: 155px; min-width: 155px; max-width: 155px; }
.booking-data-table .is-guest { left: 155px; width: 190px; min-width: 190px; max-width: 190px; box-shadow: 7px 0 12px rgba(55,31,28,.055); }
.booking-data-table thead .is-sticky { z-index: 5; background: #f1ecea; }
.booking-data-table tbody tr:hover .is-sticky { background: #fff7f4; }
.booking-data-table tbody tr.is-cancelled .is-sticky { background: #f2eeee; }
.booking-data-table tbody tr.needs-review .is-sticky { background: #fff6e5; }
.booking-data-table .is-money { min-width: 115px; text-align: right; }
.booking-data-table .is-date { min-width: 92px; }
.booking-data-table .is-number { text-align: center; }
.booking-data-table .is-cost-value { color: #8c3135; }
.booking-data-table .is-net-column { color: #1e684a; background: #f1faf5; }
.booking-data-table .is-paid-value, .booking-data-table .is-settled-value { color: #277052; }
.booking-data-table .is-open-value { color: #9b272c; font-weight: 900; }
.booking-security { padding: 5px 7px; display: inline-flex; border-radius: 7px; font-size: 8px; font-weight: 900; }
.booking-security.is-fixed { color: #752126; background: #f8e6e7; }
.booking-security.is-cancellable { color: #7d571c; background: #fff1d6; }
.booking-security.is-unknown { color: #706663; background: #ece8e7; }
.booking-security.is-cancelled { color: white; background: #766b69; }
.table-open-link { width: 30px; height: 30px; display: grid; place-items: center; background: var(--red-50); border-radius: 8px; }
.booking-data-table tfoot th, .booking-data-table tfoot td { position: sticky; z-index: 2; bottom: 0; height: 49px; color: var(--ink-950); background: #eee9e7; border-bottom: 0; font-weight: 900; }
.booking-data-table tfoot .is-net-column { color: #18563d; background: #dcefe5; }
.booking-table-hint { margin: 0; padding: 12px 22px; color: var(--ink-600); background: #faf8f7; font-size: 9px; }
.booking-table-hint span { margin-right: 5px; color: var(--red-800); font-weight: 900; }
.finance-kpis { margin-bottom: 18px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }
.finance-kpis article { min-height: 128px; padding: 20px; display: flex; flex-direction: column; justify-content: center; background: white; border: 1px solid var(--line); border-radius: 17px; }
.finance-kpis span, .finance-kpis strong, .finance-kpis small { display: block; }
.finance-kpis span { color: var(--ink-600); font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; }
.finance-kpis strong { margin: 3px 0; font-size: clamp(23px, 2.6vw, 31px); letter-spacing: -.04em; }
.finance-kpis small { color: var(--ink-400); font-size: 11px; }
.finance-kpis .is-net { color: #175139; background: #edf8f2; border-color: #d0eade; }
.finance-kpis .is-net span, .finance-kpis .is-net small { color: #54806c; }
.finance-kpis .is-occupancy { color: white; background: linear-gradient(135deg, var(--red-800), var(--red-950)); border-color: transparent; }
.finance-kpis .is-occupancy span, .finance-kpis .is-occupancy small { color: rgba(255,255,255,.68); }
.finance-overview-grid { margin-bottom: 18px; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, .7fr); gap: 18px; }
.finance-card { padding: 25px; background: white; border: 1px solid var(--line); border-radius: 19px; }
.finance-card-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.finance-card-heading h2, .certainty-card h2 { margin: 0; font-size: 21px; letter-spacing: -.03em; }
.chart-explanation { max-width: 520px; margin: 5px 0 0; color: var(--ink-600); font-size: 10px; }
.finance-card-heading > strong { color: var(--red-800); font-size: 22px; }
.chart-legend { display: flex; gap: 12px; color: var(--ink-600); font-size: 10px; font-weight: 800; }
.chart-legend span { display: flex; align-items: center; gap: 5px; }
.chart-legend i, .certainty-list i { width: 8px; height: 8px; display: inline-block; background: var(--red-700); border-radius: 3px; }
.chart-legend i.is-net { background: #6ca78b; }
.chart-legend i.is-cost { background: var(--red-700); }
.finance-chart { margin-top: 22px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.month-comparison { padding: 15px; background: var(--canvas); border: 1px solid #eee9e7; border-radius: 14px; }
.month-comparison-heading { margin-bottom: 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.month-comparison-heading strong { font-size: 13px; }
.month-comparison-heading span { color: var(--ink-600); font-size: 9px; font-weight: 800; }
.metric-row { display: grid; grid-template-columns: 48px minmax(80px, 1fr) 82px; align-items: center; gap: 8px; }
.metric-row + .metric-row { margin-top: 7px; }
.metric-row > span { color: var(--ink-600); font-size: 9px; font-weight: 800; }
.metric-row > strong { font-size: 10px; text-align: right; }
.finance-progress, .source-progress, .occupancy-progress, .unit-occupancy-progress { width: 100%; overflow: hidden; appearance: none; -webkit-appearance: none; border: 0; background: #e9e4e2; border-radius: 999px; }
.finance-progress { height: 10px; }
.finance-progress::-webkit-progress-bar, .source-progress::-webkit-progress-bar, .occupancy-progress::-webkit-progress-bar, .unit-occupancy-progress::-webkit-progress-bar { background: #e9e4e2; border-radius: 999px; }
.finance-progress::-webkit-progress-value, .source-progress::-webkit-progress-value, .occupancy-progress::-webkit-progress-value, .unit-occupancy-progress::-webkit-progress-value { background: var(--red-800); border-radius: 999px; }
.finance-progress::-moz-progress-bar, .source-progress::-moz-progress-bar, .occupancy-progress::-moz-progress-bar, .unit-occupancy-progress::-moz-progress-bar { background: var(--red-800); border-radius: 999px; }
.finance-progress.is-net::-webkit-progress-value { background: #62a383; }
.finance-progress.is-net::-moz-progress-bar { background: #62a383; }
.certainty-total { margin: 20px 0 16px; display: flex; align-items: center; gap: 12px; }
.certainty-total strong { font-size: 38px; letter-spacing: -.05em; }
.certainty-total span { max-width: 110px; color: var(--ink-600); font-size: 11px; line-height: 1.3; }
.certainty-list i.is-fixed { background: var(--red-800); }
.certainty-list i.is-cancellable { background: #e6aa3d; }
.certainty-list { margin: 17px 0 0; }
.certainty-list > div { padding: 8px 0; display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); }
.certainty-list dt, .certainty-list dd { margin: 0; font-size: 11px; }
.certainty-list dt { display: flex; align-items: center; gap: 7px; color: var(--ink-600); }
.certainty-list i.is-unknown { background: var(--ink-400); }
.certainty-list dd { font-weight: 900; }
.payment-snapshot { margin-top: 17px; padding: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; background: var(--canvas); border-radius: 12px; }
.payment-snapshot span, .payment-snapshot strong { display: block; }
.payment-snapshot span { color: var(--ink-600); font-size: 9px; font-weight: 800; text-transform: uppercase; }
.payment-snapshot strong { margin-top: 2px; font-size: 13px; }
.payment-snapshot > div:last-child { text-align: right; }
.commission-analysis-grid { margin-bottom: 18px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.booking-value-card { grid-column: 1 / -1; }
.commission-list { margin-top: 19px; display: grid; gap: 9px; }
.commission-row { padding: 14px; background: var(--canvas); border-radius: 13px; }
.commission-row-top { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.commission-row-top strong { font-size: 13px; }
.commission-row-top b { color: var(--red-800); font-size: 16px; }
.commission-status-values { margin-top: 9px; display: flex; flex-wrap: wrap; gap: 7px; }
.commission-status-values span { padding: 5px 8px; display: inline-flex; align-items: center; gap: 5px; color: var(--ink-600); background: white; border-radius: 8px; font-size: 9px; font-weight: 800; }
.commission-status-values i, .booking-value-card dt i { width: 7px; height: 7px; display: inline-block; background: var(--ink-400); border-radius: 3px; }
.commission-status-values .is-fixed i, .booking-value-card .is-fixed i { background: var(--red-800); }
.commission-status-values .is-cancellable i, .booking-value-card .is-cancellable i { background: #e6aa3d; }
.finance-empty-note { margin: 20px 0 0; padding: 16px; color: var(--ink-600); background: var(--canvas); border-radius: 12px; font-size: 12px; }
.booking-value-card dl { margin: 20px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.booking-value-card dl > div { padding: 16px; background: var(--canvas); border-radius: 13px; }
.booking-value-card dt, .booking-value-card dd { margin: 0; }
.booking-value-card dt { display: flex; align-items: center; gap: 7px; color: var(--ink-600); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.booking-value-card dd { margin-top: 5px; font-size: 20px; font-weight: 900; letter-spacing: -.03em; }
.source-analysis-card { margin-bottom: 18px; }
.source-overview-grid { margin-top: 20px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; }
.source-overview-grid > article { padding: 16px; background: var(--canvas); border-radius: 14px; }
.source-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.source-heading strong { font-size: 13px; }
.source-heading b { width: 29px; height: 29px; display: grid; place-items: center; color: white; background: var(--red-800); border-radius: 9px; font-size: 11px; }
.source-progress { height: 8px; margin: 13px 0 8px; }
.source-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.source-meta span { color: var(--ink-600); font-size: 9px; }
.source-meta strong { font-size: 11px; }
.source-status { margin-top: 10px; padding-top: 9px; display: flex; flex-wrap: wrap; gap: 6px; border-top: 1px solid var(--line); }
.source-status span { color: var(--ink-600); font-size: 9px; }
.source-status b { color: var(--ink-950); }
.unit-source-grid { margin-top: 22px; padding-top: 20px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; border-top: 1px solid var(--line); }
.unit-source-grid > article { padding: 14px 15px; border: 1px solid var(--line); border-radius: 13px; }
.unit-source-heading { margin-bottom: 9px; display: flex; justify-content: space-between; gap: 12px; }
.unit-source-heading strong { font-size: 12px; }
.unit-source-heading span { color: var(--ink-600); font-size: 9px; }
.unit-source-grid p { margin: 0; color: var(--ink-400); font-size: 10px; }
.unit-source-grid dl { margin: 0; }
.unit-source-grid dl > div { padding: 5px 0; display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid #eeeae8; }
.unit-source-grid dt, .unit-source-grid dd { margin: 0; font-size: 10px; }
.unit-source-grid dt { color: var(--ink-600); }
.unit-source-grid dd { font-weight: 900; }
.cost-card, .monthly-card, .unit-performance-card { margin-bottom: 18px; }
.cost-grid { margin-top: 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.cost-grid > div { padding: 16px; display: flex; align-items: center; gap: 13px; background: var(--canvas); border-radius: 13px; }
.cost-icon { width: 36px; height: 36px; display: grid; place-items: center; flex: 0 0 auto; color: var(--red-800); background: white; border-radius: 10px; font-weight: 900; }
.cost-grid small, .cost-grid strong { display: block; }
.cost-grid small { color: var(--ink-600); font-size: 10px; }
.cost-grid strong { margin-top: 2px; font-size: 16px; }
.finance-table-wrap { margin: 22px -8px -5px; overflow-x: auto; }
.finance-table { width: 100%; min-width: 920px; border-collapse: collapse; font-size: 11px; }
.finance-table th, .finance-table td { padding: 12px 9px; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; }
.finance-table thead th { color: var(--ink-400); font-size: 9px; text-transform: uppercase; letter-spacing: .06em; }
.finance-table th:first-child, .finance-table td:first-child { text-align: left; }
.finance-table tbody th { font-size: 12px; }
.certainty-cell { min-width: 175px; }
.table-certainty { min-height: 25px; margin-left: 4px; padding: 0 8px; display: inline-flex; align-items: center; gap: 5px; color: var(--ink-800); background: #f0edec; border: 1px solid transparent; border-radius: 8px; font-size: 9px; font-weight: 800; }
.table-certainty b { font-size: 10px; }
.table-certainty.is-fixed { color: #7b1a1e; background: #fbe9ea; border-color: #f1d1d2; }
.table-certainty.is-cancellable { color: #755017; background: #fff4dd; border-color: #f0ddba; }
.table-certainty.is-unknown { color: var(--ink-600); background: #eeebea; }
.occupancy-value { min-width: 120px; display: flex; align-items: center; gap: 8px; }
.occupancy-progress { width: 70px; height: 9px; flex: 0 0 auto; }
.occupancy-value strong { min-width: 40px; font-size: 10px; }
.unit-performance-grid { margin-top: 20px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.unit-performance-grid article { padding: 17px; background: var(--canvas); border-radius: 14px; }
.unit-performance-top { display: flex; justify-content: space-between; gap: 16px; }
.unit-performance-top strong, .unit-performance-top small { display: block; }
.unit-performance-top small { margin-top: 2px; color: var(--ink-600); font-size: 10px; }
.unit-performance-top > span { color: var(--red-800); font-size: 13px; font-weight: 900; }
.unit-occupancy-progress { height: 9px; margin: 13px 0; }
.unit-performance-grid dl { margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.unit-performance-grid dl > div { padding-top: 9px; border-top: 1px solid var(--line); }
.unit-performance-grid dt, .unit-performance-grid dd { margin: 0; }
.unit-performance-grid dt { color: var(--ink-600); font-size: 9px; text-transform: uppercase; }
.unit-performance-grid dd { margin-top: 2px; font-size: 12px; font-weight: 900; }
.booking-hero { margin-bottom: 18px; padding: 26px 28px; display: flex; align-items: center; justify-content: space-between; gap: 24px; color: white; background: linear-gradient(125deg, var(--red-900), var(--red-700)); border-radius: 22px; box-shadow: 0 18px 48px rgba(110,21,26,.18); }
.booking-hero.is-cancelled { background: linear-gradient(125deg, #5f5553, #817573); box-shadow: 0 18px 48px rgba(48,39,38,.13); }
.booking-hero h2 { margin: 8px 0 5px; font-size: clamp(25px, 3vw, 36px); letter-spacing: -.04em; }
.booking-hero p { margin: 0; color: rgba(255,255,255,.76); font-size: 14px; }
.booking-hero .action-group { flex-wrap: wrap; justify-content: flex-end; }
.booking-hero .button--ghost { color: white; background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.28); }
.booking-hero .button--primary { color: var(--red-900); background: white; }
.detail-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; }
.detail-badges .payment-state { color: rgba(255,255,255,.84); }
.detail-badge { padding: 6px 9px; color: var(--red-900); background: white; border-radius: 999px; font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; }
.guest-contact-badge { padding: 6px 9px; display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; font-size: 10px; font-weight: 900; }
.guest-contact-badge i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.guest-contact-badge.is-contacted { color: #174f37; background: #daf3e5; }
.guest-contact-badge.is-open { color: #7f171b; background: #ffdfe0; }
.cancellation-badge { padding: 6px 9px; border: 1px solid rgba(255,255,255,.24); border-radius: 999px; font-size: 10px; font-weight: 900; }
.cancellation-badge.is-cancellable { color: #173f2e; background: #dff5e8; border-color: #dff5e8; }
.cancellation-badge.is-locked { color: #fff4d8; background: rgba(255,198,91,.15); border-color: rgba(255,218,150,.4); }
.cancellation-badge.is-unknown { color: rgba(255,255,255,.82); background: rgba(255,255,255,.08); }
.stay-status-quick { margin-bottom: 18px; padding: 17px 20px; display: flex; align-items: center; justify-content: space-between; gap: 22px; background: white; border: 1px solid var(--line); border-radius: 17px; }
.stay-status-quick > div:first-child strong, .stay-status-quick > div:first-child small { display: block; }
.stay-status-quick > div:first-child strong { margin-top: 2px; font-size: 14px; }
.stay-status-quick > div:first-child small { margin-top: 3px; color: var(--ink-600); font-size: 10px; }
.stay-status-options { padding: 4px; display: flex; align-items: center; gap: 4px; background: var(--canvas); border: 1px solid var(--line); border-radius: 13px; }
.stay-status-options form { margin: 0; }
.stay-status-option { min-height: 38px; padding: 0 13px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; color: var(--ink-600); background: transparent; border: 0; border-radius: 9px; cursor: pointer; font: inherit; font-size: 10px; font-weight: 900; white-space: nowrap; }
.stay-status-option i { width: 7px; height: 7px; display: block; background: #b5aaa8; border-radius: 50%; }
.stay-status-option:hover { color: var(--red-800); background: white; }
.stay-status-option:focus-visible { outline: 3px solid rgba(173,42,47,.2); outline-offset: 1px; }
.stay-status-option.is-active { color: white; background: var(--red-800); box-shadow: 0 7px 16px rgba(143,30,34,.17); cursor: default; }
.stay-status-option.is-active i { background: white; box-shadow: 0 0 0 3px rgba(255,255,255,.15); }
.guest-contact-quick { margin-bottom: 18px; padding: 17px 20px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 15px; background: white; border: 1px solid var(--line); border-radius: 17px; scroll-margin-top: 20px; }
.guest-contact-quick.is-open { background: #fff8f8; border-color: #ebc7c9; }
.guest-contact-quick.is-contacted { background: #f3fbf7; border-color: #cae7d7; }
.guest-contact-icon { width: 38px; height: 38px; display: grid; place-items: center; color: white; background: var(--red-700); border-radius: 11px; font-size: 15px; font-weight: 950; }
.guest-contact-quick.is-contacted .guest-contact-icon { background: #2b865f; }
.guest-contact-quick > div strong, .guest-contact-quick > div small { display: block; }
.guest-contact-quick > div strong { margin-top: 2px; font-size: 14px; }
.guest-contact-quick > div small { margin-top: 3px; color: var(--ink-600); font-size: 10px; line-height: 1.4; }
.guest-contact-quick form { margin: 0; }
.cancellation-record { margin-bottom: 18px; padding: 20px 22px; display: flex; align-items: flex-start; gap: 16px; color: #6f1c20; background: #fff7f7; border: 1px solid #edc9cb; border-radius: 18px; }
.cancellation-record > span { width: 38px; height: 38px; flex: 0 0 auto; display: grid; place-items: center; color: white; background: #9d282d; border-radius: 50%; font-size: 23px; line-height: 1; }
.cancellation-record h2 { margin: 3px 0 5px; font-size: 19px; letter-spacing: -.02em; }
.cancellation-record p { margin: 0; color: #86575a; font-size: 12px; line-height: 1.5; }
.cancellation-record blockquote { margin: 13px 0 0; padding: 11px 13px; color: var(--ink-800); background: white; border-left: 3px solid #bf5559; border-radius: 0 10px 10px 0; font-size: 12px; line-height: 1.55; }
.detail-kpis { margin-bottom: 18px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.detail-kpis > div { padding: 18px 20px; background: white; border: 1px solid var(--line); border-radius: 16px; }
.detail-kpis span, .detail-kpis strong { display: block; }
.detail-kpis span { margin-bottom: 4px; color: var(--ink-600); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.detail-kpis strong { font-size: 22px; letter-spacing: -.03em; }
.detail-kpis .has-balance { color: var(--red-800); background: var(--red-50); border-color: #efd2d4; }
.detail-kpis .is-settled { color: #206d4b; background: #eaf7f0; border-color: #cce8d9; }
.booking-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.booking-detail-grid.is-cancelled .section-edit { display: none; }
.detail-card { min-width: 0; padding: 24px; background: white; border: 1px solid var(--line); border-radius: 20px; }
.detail-card--wide { grid-column: 1 / -1; }
.detail-card-heading { margin-bottom: 18px; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.detail-card-heading h2 { margin: 2px 0 0; font-size: 21px; letter-spacing: -.03em; }
.section-edit { padding: 8px 11px; color: var(--red-800); background: var(--red-50); border: 0; border-radius: 9px; cursor: pointer; font-size: 11px; font-weight: 900; }
.section-edit:hover { background: #f4dfe0; }
.detail-list { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
.detail-list > div { min-width: 0; padding: 11px 0; border-top: 1px solid var(--line); }
.detail-list dt, .detail-list dd { margin: 0; }
.detail-list dt { margin-bottom: 4px; color: var(--ink-400); font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; }
.detail-list .detail-subline { display: block; margin-top: 4px; color: var(--ink-800); font-size: 12px; font-weight: 800; text-transform: none; letter-spacing: 0; }
.detail-list dd { overflow-wrap: anywhere; color: var(--ink-800); font-size: 13px; line-height: 1.45; }
.detail-list dd > small { display: block; margin-top: 3px; color: var(--ink-500); font-size: 11px; }
.detail-list dd a { color: var(--red-800); font-weight: 800; }
.detail-list-wide { grid-column: 1 / -1; }
.finance-overview { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px; }
.finance-result { padding: 4px 18px; background: var(--canvas); border-radius: 14px; }
.finance-result .detail-total dd { color: var(--red-800); font-size: 17px; font-weight: 900; }
.detail-note { margin: 16px 0 0; padding: 13px 15px; color: var(--ink-600); background: var(--canvas); border-radius: 12px; font-size: 12px; }
.detail-card .import-note { margin-top: 18px; }
.edit-dialog { width: min(760px, calc(100vw - 32px)); max-height: min(88vh, 900px); padding: 0; overflow: auto; color: var(--ink-950); background: white; border: 0; border-radius: 22px; box-shadow: 0 28px 90px rgba(30,15,15,.3); }
.edit-dialog::backdrop { background: rgba(35,20,20,.55); backdrop-filter: blur(4px); }
.edit-dialog > form { padding: 26px; }
.dialog-heading { margin-bottom: 24px; display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.dialog-heading h2 { margin: 2px 0 0; font-size: 25px; letter-spacing: -.035em; }
.dialog-heading p:last-child:not(.eyebrow) { max-width: 590px; margin: 8px 0 0; color: var(--ink-600); font-size: 12px; line-height: 1.5; }
.dialog-close { width: 38px; height: 38px; flex: 0 0 auto; display: grid; place-items: center; color: var(--ink-600); background: var(--canvas); border: 0; border-radius: 11px; cursor: pointer; font-size: 24px; line-height: 1; }
.dialog-actions { position: sticky; bottom: -26px; margin: 26px -26px -26px; padding: 16px 26px; display: flex; justify-content: flex-end; gap: 10px; background: rgba(255,255,255,.96); border-top: 1px solid var(--line); }
.cancellation-dialog-warning { margin-top: 18px; padding: 14px 16px; display: grid; gap: 3px; color: #744c13; background: #fff7e7; border: 1px solid #eed8ad; border-radius: 12px; }
.cancellation-dialog-warning strong { font-size: 11px; }
.cancellation-dialog-warning span { font-size: 11px; line-height: 1.45; }
.cancellation-action-card { margin-bottom: 22px; padding: 20px 22px; display: flex; align-items: center; justify-content: space-between; gap: 24px; background: white; border: 1px solid #edcfd0; border-radius: 18px; }
.cancellation-action-card h2 { margin: 3px 0 5px; font-size: 18px; letter-spacing: -.02em; }
.cancellation-action-card p:not(.eyebrow) { max-width: 760px; margin: 0; color: var(--ink-600); font-size: 12px; line-height: 1.5; }
.cancelled-payment-note { margin: 22px 0 0; padding: 14px 16px; color: var(--ink-600); background: var(--canvas); border-radius: 12px; font-size: 12px; }
.partner-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; align-items: start; gap: 22px; }
.partner-layout > .settings-card { max-width: none; }
.partner-create-card { position: sticky; top: 24px; }
.partner-create-card h2 { margin: 0 0 22px; font-size: 22px; letter-spacing: -.03em; }
.partner-list { margin-top: 24px; display: grid; gap: 12px; }
.partner-row { padding: 16px; background: var(--canvas); border: 1px solid var(--line); border-radius: 15px; }
.partner-row.is-inactive { opacity: .62; }
.partner-edit-form { display: grid; grid-template-columns: minmax(180px, 1fr) 170px auto; align-items: end; gap: 12px; }
.cleaner-edit-form { display: grid; grid-template-columns: minmax(150px, 1fr) minmax(140px, .8fr) 150px; align-items: end; gap: 12px; }
.cleaner-edit-form .button { width: fit-content; }
.partner-toggle-form { margin-top: 12px; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); }
.text-button { padding: 5px; color: var(--red-800); background: transparent; border: 0; cursor: pointer; font-size: 12px; font-weight: 800; }
.percent-input { position: relative; }
.price-input { position: relative; }
.percent-input input, .price-input input { padding-right: 42px; }
.percent-input > span, .price-input > span { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); color: var(--ink-600); font-size: 13px; font-weight: 800; }
.user-stats { margin-bottom: 18px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.user-stats article { padding: 17px 19px; background: white; border: 1px solid var(--line); border-radius: 15px; }
.user-stats span, .user-stats strong { display: block; }
.user-stats span { color: var(--ink-600); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.user-stats strong { margin-top: 2px; font-size: 25px; letter-spacing: -.04em; }
.user-stats .is-active { color: #236f50; background: #edf8f2; border-color: #d4eadf; }
.user-stats .is-active span { color: #56816e; }
.user-stats .is-locked { color: #851f23; background: var(--red-50); border-color: #efd4d5; }
.user-stats .is-locked span { color: #a35b5e; }
.user-management-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; align-items: start; gap: 20px; }
.user-list-card { max-width: none; }
.user-list { margin-top: 24px; display: grid; gap: 11px; }
.user-row { padding: 17px; display: grid; grid-template-columns: minmax(210px, 1.15fr) minmax(170px, .8fr) minmax(150px, .7fr); align-items: center; gap: 16px; background: var(--canvas); border: 1px solid var(--line); border-radius: 15px; }
.user-row.is-inactive { opacity: .68; }
.user-row.is-locked { background: #fff9f2; border-color: #ead8bd; }
.user-identity { min-width: 0; display: flex; align-items: center; gap: 12px; }
.user-identity > div { min-width: 0; }
.user-identity > div > div { display: flex; align-items: center; gap: 7px; }
.user-identity strong, .user-identity a { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-identity strong { font-size: 13px; }
.user-identity a { margin-top: 2px; color: var(--ink-600); font-size: 10px; }
.user-identity small { padding: 2px 5px; color: var(--red-800); background: var(--red-100); border-radius: 5px; font-size: 8px; font-weight: 900; text-transform: uppercase; }
.user-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.role-badge, .account-status, .password-badge { min-height: 25px; padding: 0 8px; display: inline-flex; align-items: center; gap: 5px; border-radius: 8px; font-size: 9px; font-weight: 800; }
.role-badge { color: var(--ink-600); background: white; border: 1px solid var(--line); }
.role-badge.is-admin { color: var(--red-800); background: var(--red-50); border-color: #efd3d4; }
.account-status { color: var(--ink-600); background: #ece9e8; }
.account-status i { width: 6px; height: 6px; background: var(--ink-400); border-radius: 50%; }
.account-status.is-active { color: #236f50; background: #e6f5ed; }
.account-status.is-active i { background: #2c9667; }
.account-status.is-locked { color: #7e5315; background: #fff0d5; }
.account-status.is-locked i { background: #d69b33; }
.account-status.is-inactive { color: #762025; background: #f7e3e4; }
.account-status.is-inactive i { background: var(--red-700); }
.password-badge { color: #74521e; background: #fff5e4; }
.user-row dl { margin: 0; }
.user-row dl > div { padding: 4px 0; display: flex; justify-content: space-between; gap: 8px; }
.user-row dt, .user-row dd { margin: 0; font-size: 9px; }
.user-row dt { color: var(--ink-400); }
.user-row dd { color: var(--ink-600); font-weight: 800; text-align: right; }
.user-actions { grid-column: 1 / -1; padding-top: 12px; display: flex; align-items: center; justify-content: flex-end; gap: 8px; border-top: 1px solid var(--line); }
.user-actions form { margin: 0; }
.user-actions .button { min-height: 38px; padding-inline: 13px; font-size: 10px; }
.user-actions > span { margin-right: auto; color: var(--ink-600); font-size: 10px; }
.user-create-card { position: sticky; top: 24px; }
.user-create-card h2 { margin: 0; font-size: 22px; letter-spacing: -.03em; }
.user-create-card > p:not(.eyebrow) { margin: 7px 0 22px; color: var(--ink-600); font-size: 12px; }
.error-card, .simple-error { max-width: 620px; margin: 10vh auto; padding: 40px; text-align: center; background: white; border: 1px solid var(--line); border-radius: 24px; }
.error-card > span { color: var(--red-700); font-size: 13px; font-weight: 900; letter-spacing: .14em; }
.error-card h1, .simple-error h1 { margin: 14px 0 8px; font-size: 32px; letter-spacing: -.04em; }
.error-card p, .simple-error p { margin: 0 0 24px; color: var(--ink-600); }
.simple-error .brand-mark { margin: 0 auto; }

/* Dashboard */
.dashboard-hero { position: relative; min-height: 210px; margin-bottom: 18px; padding: clamp(28px, 4vw, 44px); overflow: hidden; display: flex; align-items: flex-end; justify-content: space-between; gap: 36px; color: white; background: radial-gradient(circle at 88% 12%, rgba(255,255,255,.15), transparent 23%), linear-gradient(135deg, var(--red-700), var(--red-950)); border-radius: 24px; box-shadow: var(--shadow); }
.dashboard-hero::after { content: ""; position: absolute; width: 290px; height: 290px; right: -90px; top: -190px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; box-shadow: 0 0 0 48px rgba(255,255,255,.035); }
.dashboard-hero > * { position: relative; z-index: 1; }
.dashboard-hero h2 { margin: 8px 0 8px; font-size: clamp(31px, 4vw, 48px); line-height: 1; letter-spacing: -.045em; }
.dashboard-hero p { max-width: 650px; margin: 0; color: rgba(255,255,255,.72); }
.dashboard-hero .dashboard-date { color: rgba(255,255,255,.88); font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.dashboard-quick-actions { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 9px; flex: 0 0 auto; }
.dashboard-quick-actions form { margin: 0; }
.dashboard-hero-secondary { color: white; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); }
.dashboard-hero-secondary:hover { background: rgba(255,255,255,.17); }
.dashboard-metrics { margin-bottom: 18px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.dashboard-metric { min-width: 0; min-height: 116px; padding: 18px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 13px; color: var(--ink-800); background: white; border: 1px solid var(--line); border-radius: 17px; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.dashboard-metric:hover { transform: translateY(-2px); border-color: #d6c9c5; box-shadow: 0 13px 30px rgba(61, 31, 28, .07); }
.dashboard-metric-icon { width: 40px; height: 40px; display: grid; place-items: center; flex: 0 0 auto; color: var(--red-800); background: var(--red-50); border-radius: 12px; font-size: 15px; font-weight: 900; }
.dashboard-metric small, .dashboard-metric strong, .dashboard-metric p { display: block; min-width: 0; margin: 0; }
.dashboard-metric small { color: var(--ink-600); font-size: 10px; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; }
.dashboard-metric strong { margin: 3px 0 1px; overflow: hidden; font-size: clamp(18px, 2vw, 24px); letter-spacing: -.035em; text-overflow: ellipsis; white-space: nowrap; }
.dashboard-metric p { overflow: hidden; color: var(--ink-600); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.dashboard-metric > b { color: #b5a7a3; font-size: 15px; }
.dashboard-metric.is-review .dashboard-metric-icon, .dashboard-metric.is-payment .dashboard-metric-icon { color: #9e262b; background: #fff0ef; }
.dashboard-metric.is-payment { border-color: #ebc8bb; background: #fffaf7; }
.dashboard-metric.is-clear .dashboard-metric-icon { color: #34745b; background: #edf8f3; }
.dashboard-metric.is-occupancy { color: white; background: linear-gradient(135deg, #9b2226, #641014); border-color: transparent; }
.dashboard-metric.is-occupancy small, .dashboard-metric.is-occupancy p { color: rgba(255,255,255,.67); }
.dashboard-metric.is-occupancy .dashboard-metric-icon { color: white; background: rgba(255,255,255,.13); }
.dashboard-metric.is-occupancy > b { color: rgba(255,255,255,.58); }
.dashboard-payment-alert { scroll-margin-top: 20px; }
.dashboard-columns { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(370px, .85fr); gap: 18px; align-items: start; }
.dashboard-card { min-width: 0; padding: 27px; background: white; border: 1px solid var(--line); border-radius: 20px; }
.dashboard-card-heading { margin-bottom: 18px; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.dashboard-card-heading h2 { margin: 0; font-size: 22px; letter-spacing: -.035em; }
.dashboard-card-heading > a { flex: 0 0 auto; color: var(--red-800); font-size: 11px; font-weight: 900; }
.dashboard-card-heading > a span { margin-left: 3px; }
.dashboard-booking-list, .dashboard-cleaning-list { display: grid; }
.dashboard-booking-item { min-width: 0; padding: 13px 0; display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 13px; color: var(--ink-800); border-top: 1px solid var(--line); }
.dashboard-booking-item:first-child, .dashboard-cleaning-item:first-child { border-top: 0; padding-top: 3px; }
.dashboard-booking-item:last-child, .dashboard-cleaning-item:last-child { padding-bottom: 0; }
.dashboard-booking-item > b, .dashboard-cleaning-item > b { color: #b5a7a3; }
.dashboard-booking-date { width: 43px; height: 50px; display: grid; place-content: center; text-align: center; color: var(--red-800); background: var(--red-50); border-radius: 12px; }
.dashboard-booking-date strong { font-size: 18px; line-height: 1; }
.dashboard-booking-date small { margin-top: 3px; font-size: 8px; font-weight: 900; letter-spacing: .08em; }
.dashboard-booking-main, .dashboard-booking-main > small, .dashboard-booking-title, .dashboard-booking-title > strong { min-width: 0; }
.dashboard-booking-title { display: flex; align-items: center; gap: 7px; }
.dashboard-booking-title > strong { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.dashboard-booking-title em { padding: 4px 6px; flex: 0 0 auto; color: #9d262b; background: #fff0ef; border-radius: 6px; font-size: 8px; font-style: normal; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
.dashboard-booking-title em.is-current { color: #28684f; background: #e9f7f0; }
.dashboard-booking-title em.is-today { color: #8b5c0d; background: #fff5dc; }
.dashboard-booking-title em.is-contact-open { color: #98262b; background: #fdebec; }
.dashboard-booking-main > small { display: block; margin-top: 4px; overflow: hidden; color: var(--ink-600); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.dashboard-booking-money { min-width: 80px; text-align: right; }
.dashboard-booking-money small, .dashboard-booking-money strong { display: block; }
.dashboard-booking-money small { color: var(--ink-600); font-size: 9px; }
.dashboard-booking-money strong { margin-top: 2px; color: #397259; font-size: 12px; }
.dashboard-booking-money strong.has-open-amount { color: var(--red-800); }
.dashboard-cleaning-item { min-width: 0; padding: 15px 0; display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 12px; color: var(--ink-800); border-top: 1px solid var(--line); }
.dashboard-cleaning-status { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; font-size: 12px; font-weight: 900; }
.dashboard-cleaning-status.is-planned { color: #34745b; background: #edf8f3; }
.dashboard-cleaning-status.is-open { color: #9d262b; background: #fff0ef; }
.dashboard-cleaning-item > span:nth-child(2) strong, .dashboard-cleaning-item > span:nth-child(2) small, .dashboard-cleaner small, .dashboard-cleaner strong, .dashboard-cleaner em { display: block; }
.dashboard-cleaning-item > span:nth-child(2) strong { font-size: 13px; }
.dashboard-cleaning-item > span:nth-child(2) small { margin-top: 3px; color: var(--ink-600); font-size: 10px; }
.dashboard-cleaner { min-width: 106px; text-align: right; }
.dashboard-cleaner small { color: var(--ink-600); font-size: 9px; }
.dashboard-cleaner strong { margin-top: 2px; font-size: 11px; }
.dashboard-cleaner em { margin-top: 1px; color: var(--ink-600); font-size: 9px; font-style: normal; }
.dashboard-empty { min-height: 205px; display: flex; align-items: center; justify-content: center; flex-direction: column; text-align: center; }
.dashboard-empty > span { width: 42px; height: 42px; margin-bottom: 12px; display: grid; place-items: center; color: #34745b; background: #edf8f3; border-radius: 13px; font-weight: 900; }
.dashboard-empty strong { font-size: 14px; }
.dashboard-empty p { max-width: 290px; margin: 5px 0 0; color: var(--ink-600); font-size: 11px; }

/* Gesamtbuchungen */
.booking-group-overview { margin-bottom: 14px; display: grid; gap: 10px; }
.booking-group-row { min-width: 0; padding: 18px 20px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 17px; color: var(--ink-800); background: linear-gradient(105deg, #fff8f6, white 42%); border: 1px solid #e9cec8; border-radius: 17px; box-shadow: 0 9px 25px rgba(78, 25, 25, .04); }
.booking-group-row.needs-review { border-color: #dfa9a0; }
.booking-group-row > b { color: #b5a7a3; }
.booking-group-symbol { width: 46px; height: 46px; display: grid; place-items: center; color: white; background: var(--red-800); border-radius: 13px; font-size: 20px; font-weight: 900; }
.booking-group-primary, .booking-group-primary > span, .booking-group-primary small, .booking-group-primary b { min-width: 0; }
.booking-group-primary > span { display: flex; align-items: center; gap: 8px; }
.booking-group-primary strong { overflow: hidden; font-size: 15px; text-overflow: ellipsis; white-space: nowrap; }
.booking-group-primary em, .booking-group-primary i { padding: 4px 7px; flex: 0 0 auto; border-radius: 6px; font-size: 8px; font-style: normal; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.booking-group-primary em { color: var(--red-800); background: var(--red-50); }
.booking-group-primary i { color: #8e5b0b; background: #fff3d6; }
.booking-group-primary small, .booking-group-primary b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.booking-group-primary small { margin-top: 5px; color: var(--ink-600); font-size: 11px; }
.booking-group-primary b { margin-top: 4px; color: #786c68; font-size: 10px; font-weight: 700; }
.booking-group-price { min-width: 125px; text-align: right; }
.booking-group-price small, .booking-group-price strong, .booking-group-price em { display: block; }
.booking-group-price small { color: var(--ink-600); font-size: 9px; text-transform: uppercase; }
.booking-group-price strong { margin: 2px 0; font-size: 16px; }
.booking-group-price em { color: var(--red-800); font-size: 9px; font-style: normal; font-weight: 800; }
.group-editor-intro { margin-bottom: 18px; padding: 28px 32px; display: flex; align-items: center; justify-content: space-between; gap: 30px; color: white; background: linear-gradient(135deg, var(--red-700), var(--red-950)); border-radius: 21px; }
.group-editor-intro h2 { margin: 2px 0 7px; font-size: 28px; letter-spacing: -.04em; }
.group-editor-intro p:last-child { max-width: 680px; margin: 0; color: rgba(255,255,255,.7); font-size: 12px; }
.group-editor-intro > span { min-width: 180px; padding: 15px 18px; display: block; text-align: center; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); border-radius: 13px; }
.group-editor-intro > span small, .group-editor-intro > span strong { display: block; }
.group-editor-intro > span small { color: rgba(255,255,255,.64); font-size: 9px; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.group-editor-intro > span strong { margin-top: 4px; font-size: 18px; letter-spacing: .04em; }
.group-editor-form { display: grid; gap: 18px; }
.group-picker-total { min-width: 140px; text-align: right; }
.group-picker-total small, .group-picker-total strong { display: block; }
.group-picker-total small { color: var(--ink-600); font-size: 9px; text-transform: uppercase; }
.group-picker-total strong { margin-top: 3px; font-size: 20px; }
.group-booking-options { margin-top: 22px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.group-booking-option { min-width: 0; padding: 15px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; background: var(--canvas); border: 1px solid transparent; border-radius: 13px; cursor: pointer; }
.group-booking-option:has(input:checked) { background: #fff6f4; border-color: #ddb8b1; }
.group-booking-option input { position: absolute; opacity: 0; pointer-events: none; }
.group-option-check { width: 29px; height: 29px; display: grid; place-items: center; color: transparent; background: white; border: 1px solid #d4c9c5; border-radius: 9px; font-size: 11px; font-weight: 900; }
.group-booking-option input:checked + .group-option-check { color: white; background: var(--red-800); border-color: var(--red-800); }
.group-booking-option strong, .group-booking-option small { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.group-booking-option strong { font-size: 12px; }
.group-booking-option small { margin-top: 3px; color: var(--ink-600); font-size: 9px; }
.group-booking-option > b { color: var(--red-800); font-size: 12px; }
.group-detail-badge { color: #7b171b; background: #fbe8e5; }
.booking-group-callout { margin: 20px 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; background: linear-gradient(105deg, #fff8f6, white); border-color: #e8cbc5; }
.booking-group-callout h2 { margin: 0; font-size: 20px; }
.booking-group-callout p:last-child { margin: 5px 0 0; color: var(--ink-600); font-size: 12px; }
.booking-group-callout.is-empty { background: white; border-style: dashed; }
.mycheckin-card { max-width: none; margin: 20px 0; overflow: hidden; }
.mycheckin-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.mycheckin-title { min-width: 0; display: flex; align-items: center; gap: 16px; }
.mycheckin-title h2 { margin: 0; font-size: 21px; }
.mycheckin-title p:last-child { margin: 5px 0 0; color: var(--ink-600); font-size: 12px; }
.mycheckin-mark { width: 48px; height: 48px; display: grid; place-items: center; flex: 0 0 auto; color: white; background: linear-gradient(135deg, var(--red-700), var(--red-950)); border-radius: 14px; box-shadow: 0 10px 22px rgba(106,20,24,.16); font-size: 13px; font-weight: 950; letter-spacing: -.03em; }
.mycheckin-status { padding: 8px 11px; display: inline-flex; align-items: center; gap: 7px; flex: 0 0 auto; border-radius: 999px; font-size: 10px; font-weight: 850; white-space: nowrap; }
.mycheckin-status i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.mycheckin-status.is-pending { color: #665f5c; background: #f1eeec; }
.mycheckin-status.is-success { color: #216849; background: #e7f6ed; }
.mycheckin-status.is-error { color: #9b2529; background: #fcebec; }
.mycheckin-preview { margin: 24px 0 0; padding: 18px 20px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; background: #faf8f7; border: 1px solid #eee7e4; border-radius: 15px; }
.mycheckin-preview > div { min-width: 0; }
.mycheckin-preview dt { margin-bottom: 5px; color: var(--ink-600); font-size: 9px; font-weight: 850; letter-spacing: .05em; text-transform: uppercase; }
.mycheckin-preview dd { margin: 0; overflow: hidden; color: var(--ink-800); font-size: 12px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.mycheckin-links { margin-top: 18px; padding: 19px 20px; background: #f2faf6; border: 1px solid #d5ebdf; border-radius: 15px; }
.mycheckin-links-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; }
.mycheckin-links-heading h3 { margin: 0; color: #215b43; font-size: 16px; }
.mycheckin-links-heading > span { color: #557568; font-size: 10px; font-weight: 750; }
.mycheckin-link-grid { margin-top: 14px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.mycheckin-link-grid a { min-width: 0; padding: 13px 14px; display: grid; gap: 5px; color: var(--ink-800); background: white; border: 1px solid #d9e9e0; border-radius: 11px; transition: border-color .18s ease, transform .18s ease; }
.mycheckin-link-grid a:hover { border-color: #7dbb9b; transform: translateY(-1px); }
.mycheckin-link-grid span { overflow: hidden; font-size: 11px; font-weight: 850; text-overflow: ellipsis; white-space: nowrap; }
.mycheckin-link-grid b { color: #267052; font-size: 10px; }
.mycheckin-link-grid i { font-style: normal; }
.mycheckin-footer { margin-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.mycheckin-response { min-width: 0; display: grid; gap: 3px; }
.mycheckin-response strong { font-size: 12px; }
.mycheckin-response span { color: var(--ink-600); font-size: 10px; overflow-wrap: anywhere; }
.mycheckin-footer form { flex: 0 0 auto; }
.group-reference-card { margin: 18px 0; display: flex; align-items: center; justify-content: space-between; gap: 28px; background: linear-gradient(105deg, #fff8f6, white); border-color: #e8cbc5; }
.group-reference-card h2 { margin: 0; font-size: 21px; }
.group-reference-card p:last-child { margin: 5px 0 0; color: var(--ink-600); font-size: 11px; }
.group-reference-card > strong { padding: 13px 17px; color: white; background: var(--red-800); border-radius: 11px; font-size: 17px; letter-spacing: .05em; }
.group-items-card { margin-bottom: 18px; }
.group-items-card > .section-heading > strong { color: var(--red-800); font-size: 21px; }
.group-item-list { margin-top: 20px; display: grid; }
.group-item-list > a { padding: 14px 0; display: grid; grid-template-columns: minmax(180px, 1fr) minmax(150px, .75fr) minmax(100px, .4fr) auto; align-items: center; gap: 18px; color: var(--ink-800); border-top: 1px solid var(--line); }
.group-item-list > a:first-child { border-top: 0; }
.group-item-list span strong, .group-item-list span small { display: block; }
.group-item-list span strong { font-size: 12px; }
.group-item-list span small { margin-bottom: 3px; color: var(--ink-600); font-size: 9px; }
.group-item-list > a > b { color: #b5a7a3; }
.group-notes { margin-top: 18px; }
.group-notes > p:last-child { margin: 0; color: var(--ink-600); line-height: 1.6; }

/* Zahlungseingänge */
.payment-ledger-kpis { margin-bottom: 18px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.payment-ledger-kpis article { min-width: 0; padding: 20px; background: white; border: 1px solid var(--line); border-radius: 17px; }
.payment-ledger-kpis article.is-total { color: white; background: linear-gradient(135deg, var(--red-700), var(--red-950)); border-color: transparent; }
.payment-ledger-kpis span, .payment-ledger-kpis strong, .payment-ledger-kpis small { display: block; }
.payment-ledger-kpis span { color: var(--ink-600); font-size: 10px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.payment-ledger-kpis strong { margin: 7px 0 4px; overflow: hidden; font-size: clamp(20px, 2vw, 27px); letter-spacing: -.04em; text-overflow: ellipsis; white-space: nowrap; }
.payment-ledger-kpis small { color: var(--ink-600); font-size: 10px; }
.payment-ledger-kpis .is-total span, .payment-ledger-kpis .is-total small { color: rgba(255,255,255,.68); }
.payment-ledger-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 18px; align-items: start; }
.payment-day-list { min-width: 0; display: grid; gap: 14px; }
.payment-day-card { min-width: 0; overflow: hidden; background: white; border: 1px solid var(--line); border-radius: 19px; }
.payment-day-card > header { padding: 19px 22px; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; background: #fbf9f8; border-bottom: 1px solid var(--line); }
.payment-day-card > header h2 { margin: 0; font-size: 20px; letter-spacing: -.03em; }
.payment-day-card > header > div:last-child { text-align: right; }
.payment-day-card > header > div:last-child small, .payment-day-card > header > div:last-child strong { display: block; }
.payment-day-card > header > div:last-child small { color: var(--ink-600); font-size: 9px; }
.payment-day-card > header > div:last-child strong { margin-top: 2px; color: var(--red-800); font-size: 17px; }
.payment-ledger-list { padding: 0 22px; }
.payment-ledger-list > a { min-width: 0; padding: 15px 0; display: grid; grid-template-columns: 44px minmax(150px, 1fr) minmax(145px, .8fr) minmax(120px, .65fr) auto auto; align-items: center; gap: 14px; color: var(--ink-800); border-top: 1px solid var(--line); }
.payment-ledger-list > a:first-child { border-top: 0; }
.payment-ledger-list > a:hover .payment-ledger-guest > strong { color: var(--red-800); }
.payment-ledger-time { color: var(--ink-600); font-size: 11px; font-weight: 850; }
.payment-ledger-guest, .payment-ledger-stay, .payment-ledger-method { min-width: 0; }
.payment-ledger-guest strong, .payment-ledger-guest small, .payment-ledger-stay small, .payment-ledger-stay strong, .payment-ledger-method small, .payment-ledger-method strong, .payment-ledger-method em { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.payment-ledger-guest strong { font-size: 13px; }
.payment-ledger-guest small, .payment-ledger-stay small, .payment-ledger-method small { margin-top: 3px; color: var(--ink-600); font-size: 9px; }
.payment-ledger-stay strong, .payment-ledger-method strong { margin-top: 3px; font-size: 10px; }
.payment-ledger-method em { margin-top: 2px; color: var(--ink-600); font-size: 9px; font-style: normal; }
.payment-ledger-amount { min-width: 88px; text-align: right; color: #28684f; font-size: 14px; font-weight: 900; }
.payment-ledger-list > a > b { color: #b5a7a3; }
.payment-method-summary { position: sticky; top: 24px; }
.payment-method-summary h2 { margin: 0 0 18px; font-size: 21px; }
.payment-method-summary dl { margin: 0; }
.payment-method-summary dl > div { padding: 12px 0; display: flex; align-items: center; justify-content: space-between; gap: 15px; border-bottom: 1px solid var(--line); }
.payment-method-summary dt { font-size: 11px; font-weight: 800; }
.payment-method-summary dt small { display: block; margin-top: 2px; color: var(--ink-600); font-size: 9px; font-weight: 600; }
.payment-method-summary dd { margin: 0; font-size: 12px; font-weight: 900; }
.payment-method-total { margin-top: 18px; padding: 15px; display: flex; align-items: center; justify-content: space-between; gap: 15px; color: white; background: var(--red-800); border-radius: 12px; }
.payment-method-total span { font-size: 10px; font-weight: 800; }
.payment-method-total strong { font-size: 16px; }

@media (max-width: 980px) {
    .auth-shell { grid-template-columns: 1fr; }
    .auth-story { display: none; }
    .auth-form-panel { min-height: 100vh; }
    .mobile-brand { display: flex; }
    .app-shell { grid-template-columns: 86px minmax(0, 1fr); }
    .sidebar { padding-inline: 14px; }
    .brand--sidebar { padding: 0; justify-content: center; }
    .brand--sidebar > span:last-child, .nav-link > span:not(.nav-icon), .nav-link small { display: none; }
    .nav-submenu { display: none; }
    .nav-link { justify-content: center; padding: 0; }
    .content-grid { grid-template-columns: 1fr; }
    .resource-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .editor-layout { grid-template-columns: 1fr; }
    .editor-aside { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .booking-row { grid-template-columns: auto minmax(220px, 1fr) minmax(100px, .3fr) auto; }
    .booking-source { display: none; }
    .booking-editor { grid-template-columns: 1fr; }
    .booking-summary { position: static; grid-row: 1; }
    .detail-kpis { grid-template-columns: repeat(2, 1fr); }
    .finance-kpis { grid-template-columns: repeat(2, 1fr); }
    .finance-overview-grid { grid-template-columns: 1fr; }
    .commission-analysis-grid { grid-template-columns: 1fr; }
    .booking-value-card { grid-column: auto; }
    .partner-layout { grid-template-columns: 1fr; }
    .partner-create-card { position: static; grid-row: 1; }
    .user-management-layout { grid-template-columns: 1fr; }
    .user-create-card { position: static; grid-row: 1; }
    .user-row { grid-template-columns: minmax(220px, 1fr) minmax(170px, .7fr); }
    .user-row dl { grid-column: 1 / -1; }
    .dashboard-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dashboard-columns { grid-template-columns: 1fr; }
    .group-booking-options { grid-template-columns: 1fr; }
    .payment-ledger-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .payment-ledger-layout { grid-template-columns: 1fr; }
    .payment-method-summary { position: static; }
    .booking-table-toolbar { align-items: stretch; flex-direction: column; }
    .booking-table-toolbar form { justify-content: flex-start; }
    .booking-table-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
    body { padding-bottom: 74px; }
    .app-shell { display: block; }
    .sidebar { display: none; }
    .main-content { padding: 22px 16px 34px; }
    .topbar { min-height: 52px; margin-bottom: 22px; }
    .topbar .eyebrow { display: none; }
    .topbar h1 { font-size: 27px; }
    .user-chip { padding: 5px; border: 0; background: transparent; }
    .user-chip > span:last-child { display: none; }
    .welcome-panel { min-height: 280px; padding: 28px; display: block; border-radius: 20px; }
    .welcome-panel .button { margin-top: 28px; }
    .dashboard-hero { min-height: 290px; padding: 28px 22px; align-items: flex-start; flex-direction: column; justify-content: flex-end; border-radius: 20px; }
    .dashboard-quick-actions { width: 100%; justify-content: stretch; }
    .dashboard-quick-actions form, .dashboard-quick-actions .button { flex: 1; }
    .dashboard-quick-actions .button { width: 100%; padding-inline: 11px; }
    .dashboard-metrics { grid-template-columns: 1fr 1fr; }
    .dashboard-metric { min-height: 106px; padding: 15px; grid-template-columns: auto minmax(0, 1fr); }
    .dashboard-metric > b { display: none; }
    .dashboard-metric-icon { width: 36px; height: 36px; }
    .dashboard-card { padding: 21px 17px; }
    .dashboard-booking-item { grid-template-columns: auto minmax(0, 1fr) auto; }
    .dashboard-booking-money { display: none; }
    .dashboard-cleaning-item { grid-template-columns: auto minmax(0, 1fr) auto; }
    .dashboard-cleaner { display: none; }
    .booking-group-row { padding: 15px; grid-template-columns: auto minmax(0, 1fr) auto; }
    .booking-group-price { display: none; }
    .group-editor-intro, .booking-group-callout, .group-reference-card { align-items: stretch; flex-direction: column; }
    .group-editor-intro > span { min-width: 0; }
    .booking-group-callout .button { width: 100%; }
    .mycheckin-heading, .mycheckin-footer { align-items: stretch; flex-direction: column; }
    .mycheckin-status { align-self: flex-start; }
    .mycheckin-preview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mycheckin-link-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mycheckin-footer .button { width: 100%; }
    .group-reference-card > strong { text-align: center; }
    .group-room-picker .section-heading { align-items: flex-start; flex-direction: column; }
    .group-picker-total { text-align: left; }
    .group-item-list > a { grid-template-columns: minmax(0, 1fr) auto; gap: 12px; }
    .group-item-list > a > span:nth-child(2) { display: none; }
    .group-item-list > a > span:nth-child(3) { text-align: right; }
    .finance-tabs, .booking-view-tabs { overflow-x: auto; }
    .payment-ledger-list { padding-inline: 16px; }
    .payment-ledger-list > a { grid-template-columns: 40px minmax(0, 1fr) auto auto; gap: 11px; }
    .payment-ledger-stay, .payment-ledger-method { display: none; }
    .stats-grid { grid-template-columns: 1fr; gap: 12px; }
    .stat-card { min-height: 98px; }
    .card, .settings-card { padding: 22px 18px; border-radius: 18px; }
    .form-grid { grid-template-columns: 1fr; }
    .field-wide { grid-column: auto; }
    .form-actions .button { width: 100%; }
    .page-actions { align-items: stretch; flex-direction: column; }
    .page-actions .button { width: 100%; }
    .booking-search-card { padding: 12px; align-items: stretch; flex-direction: column; }
    .booking-search-card form { align-items: stretch; flex-wrap: wrap; }
    .booking-search-card label { min-width: 100%; max-width: none; }
    .booking-search-card form .button { flex: 1; }
    .booking-search-card > p { margin: 0 4px 2px; }
    .filter-tabs { width: 100%; }
    .ical-replacement-card { padding: 21px 18px; }
    .ical-replacement-heading { gap: 12px; }
    .ical-replacement-heading > span { width: 38px; height: 38px; }
    .ical-replacement-list article { grid-template-columns: 1fr; gap: 14px; }
    .ical-replacement-list dl { justify-content: flex-start; }
    .ical-replacement-list form, .ical-replacement-list .button { width: 100%; }
    .resource-grid { grid-template-columns: 1fr; }
    .resource-card { min-height: 300px; }
    .type-picker { grid-template-columns: 1fr; }
    .type-option-card { min-height: 86px; align-items: center; }
    .editor-aside { grid-template-columns: 1fr; }
    .sticky-actions { bottom: 82px; }
    .sticky-actions .button { flex: 1; padding-inline: 12px; }
    .feed-row { grid-template-columns: auto minmax(0, 1fr) auto; }
    .feed-row .state-badge { display: none; }
    .action-group { align-items: stretch; flex-direction: column; }
    .action-group .button, .action-group form { width: 100%; }
    .booking-row { padding: 14px; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; }
    .booking-money { display: none; }
    .booking-primary p { line-height: 1.4; }
    .row-action { grid-column: 3; grid-row: 1; }
    .booking-hero { padding: 22px; align-items: stretch; flex-direction: column; }
    .booking-hero .action-group { flex-direction: row; }
    .booking-hero .action-group .button { width: auto; flex: 1; padding-inline: 10px; }
    .stay-status-quick { align-items: stretch; flex-direction: column; }
    .guest-contact-quick { grid-template-columns: auto minmax(0, 1fr); }
    .guest-contact-quick form { grid-column: 1 / -1; }
    .guest-contact-quick form .button { width: 100%; }
    .stay-status-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .stay-status-options form, .stay-status-option { width: 100%; }
    .cancellation-action-card { align-items: stretch; flex-direction: column; }
    .cancellation-action-card .button { width: 100%; }
    .cancellation-record { padding: 18px; }
    .detail-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .detail-kpis > div { padding: 15px; }
    .detail-kpis strong { font-size: 18px; }
    .booking-detail-grid { grid-template-columns: 1fr; }
    .detail-card--wide { grid-column: auto; }
    .detail-card { padding: 20px 18px; }
    .finance-overview { grid-template-columns: 1fr; gap: 16px; }
    .detail-list { gap: 0 14px; }
    .edit-dialog { width: calc(100vw - 20px); max-height: calc(100vh - 30px); border-radius: 18px; }
    .edit-dialog > form { padding: 20px 16px; }
    .dialog-actions { bottom: -20px; margin: 22px -16px -20px; padding: 14px 16px; }
    .dialog-actions .button { flex: 1; padding-inline: 10px; }
    .final-balance-layout { grid-template-columns: 1fr; gap: 18px; }
    .final-balance-result { padding: 20px; }
    .collection-alert { padding: 21px 17px; }
    .collection-alert-heading h2 { font-size: 20px; }
    .collection-list > a { grid-template-columns: minmax(0, 1fr) auto; gap: 12px; }
    .collection-list b { display: none; }
    .subsection-label { align-items: flex-start; flex-direction: column; }
    .subsection-label span { text-align: left; }
    .payment-balance { display: none; }
    .partner-edit-form { grid-template-columns: 1fr; }
    .partner-edit-form .button, .cleaner-edit-form .button { width: 100%; }
    .cleaner-edit-form { grid-template-columns: 1fr; }
    .user-stats { grid-template-columns: repeat(2, 1fr); }
    .user-row { grid-template-columns: 1fr; }
    .user-row dl { grid-column: auto; }
    .user-actions { grid-column: auto; flex-wrap: wrap; justify-content: stretch; }
    .user-actions > span { width: 100%; margin: 0; }
    .user-actions form { flex: 1; }
    .user-actions .button { width: 100%; }
    .finance-toolbar { align-items: stretch; flex-direction: column; }
    .finance-toolbar form { align-items: stretch; flex-direction: column; }
    .finance-toolbar select, .finance-toolbar label:nth-child(2) select { min-width: 0; }
    .booking-table-toolbar form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .booking-table-toolbar select, .booking-table-toolbar label:nth-child(3) select { min-width: 0; }
    .booking-table-toolbar .button { width: 100%; }
    .cost-grid, .unit-performance-grid, .source-overview-grid, .unit-source-grid { grid-template-columns: 1fr; }
    .booking-value-card dl { grid-template-columns: 1fr; }
    .finance-chart-card .finance-card-heading { flex-direction: column; }
    .mobile-nav { position: fixed; z-index: 20; left: 0; right: 0; bottom: 0; height: calc(68px + env(safe-area-inset-bottom)); padding: 7px 5px env(safe-area-inset-bottom); display: grid; grid-template-columns: repeat(5, 1fr); color: var(--ink-600); background: rgba(255,255,255,.96); border-top: 1px solid var(--line); backdrop-filter: blur(14px); }
    .mobile-nav a, .mobile-nav > span { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 10px; font-weight: 800; }
    .mobile-nav a > span, .mobile-nav > span > span { font-size: 19px; }
    .mobile-nav .is-active { color: var(--red-800); }
    .mobile-nav .is-disabled { opacity: .42; }
    .settings-tabs { overflow-x: auto; }
}

@media (max-width: 460px) {
    .auth-form-panel { align-items: start; padding: 28px 20px; }
    .mobile-brand { margin-bottom: 64px; }
    .login-card h2 { font-size: 36px; }
    .detail-list { grid-template-columns: 1fr; }
    .detail-list-wide { grid-column: auto; }
    .finance-kpis { grid-template-columns: 1fr; }
    .finance-chart { grid-template-columns: 1fr; }
    .finance-card { padding: 20px 16px; }
    .dashboard-metrics { grid-template-columns: 1fr; }
    .dashboard-metric { min-height: 92px; }
    .dashboard-card-heading { align-items: flex-start; }
    .dashboard-card-heading > a { margin-top: 6px; }
    .booking-group-primary em { display: none; }
    .booking-group-symbol { width: 40px; height: 40px; }
    .group-booking-option { grid-template-columns: auto minmax(0, 1fr); }
    .group-booking-option > b { grid-column: 2; }
    .payment-ledger-kpis { grid-template-columns: 1fr; }
    .payment-day-card > header { padding: 17px 16px; }
    .mycheckin-title { align-items: flex-start; }
    .mycheckin-preview { grid-template-columns: 1fr; }
    .mycheckin-links-heading { align-items: flex-start; flex-direction: column; }
    .mycheckin-link-grid { grid-template-columns: 1fr; }
    .stay-status-options { grid-template-columns: 1fr; }
    .booking-table-kpis { grid-template-columns: 1fr; }
    .booking-table-toolbar form { grid-template-columns: 1fr; }
}

@media print {
    @page { size: A4 landscape; margin: 8mm; }
    body { padding: 0; background: white; }
    .app-shell { display: block; }
    .sidebar, .mobile-nav, .topbar, .notice, .booking-view-tabs, .booking-table-toolbar, .booking-table-kpis, .booking-table-hint { display: none !important; }
    .main-content { padding: 0; }
    .booking-table-card { overflow: visible; border: 0; border-radius: 0; }
    .booking-table-heading { padding: 0 0 5mm; }
    .booking-data-table-wrap { overflow: visible; }
    .booking-data-table { width: 100%; min-width: 0; }
    .booking-data-table th, .booking-data-table td { position: static !important; height: auto; padding: 2mm 1.2mm; font-size: 5.2pt; white-space: normal; }
    .booking-data-table thead th { font-size: 4.7pt; }
    .booking-data-table .is-reference, .booking-data-table .is-guest { width: auto; min-width: 0; max-width: none; box-shadow: none; }
    .booking-data-table .table-open-link, .booking-data-table th:last-child, .booking-data-table td:last-child { display: none; }
    .booking-security { padding: 1mm; font-size: 4.7pt; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
