@font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 400 900;
    font-display: swap;
    src: url("../fonts/montserrat-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

.legal-agreement-editor { margin: 14px 18px 18px; padding: 17px; background: #f8fafc; border: 1px solid var(--line); border-radius: 7px; }
.legal-agreement-editor label { display: grid; gap: 7px; color: var(--navy); font-size: calc(11px * var(--panel-font-scale, 1)); font-weight: 800; }
.legal-agreement-editor textarea { min-height: 320px; padding: 14px; resize: vertical; color: #233750; background: #fff; border: 1px solid var(--line); border-radius: 6px; font: 500 calc(12px * var(--panel-font-scale, 1))/1.65 Montserrat, sans-serif; }
.legal-agreement-tokens { overflow-wrap: anywhere; color: var(--muted); font-weight: 500; line-height: 1.6; }
.legal-agreement-preview { padding: 18px; color: #26394f; background: #fff; border: 1px solid var(--line); border-radius: 6px; font: 500 calc(12px * var(--panel-font-scale, 1))/1.65 Montserrat, sans-serif; }

@font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 400 900;
    font-display: swap;
    src: url("../fonts/montserrat-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --navy: #06295b;
    --navy-2: #0b376f;
    --orange: #fc6d04;
    --orange-dark: #d85a00;
    --orange-soft: #fff0e8;
    --paper: #f3f6fa;
    --white: #fff;
    --ink: #172438;
    --muted: #6d7b8f;
    --line: #dfe5ed;
    --green: #178560;
    --green-soft: #e5f6ef;
    --amber: #b8710f;
    --red: #c74954;
    --sidebar-expanded: 248px;
    --sidebar: var(--sidebar-expanded);
    --topbar: 72px;
    --font: "Montserrat", Arial, sans-serif;
}

* { box-sizing: border-box; }
html[data-panel-text-size="larger"] body:not(.auth-mode) { --panel-font-scale: 1.15; }
html[data-panel-text-size="largest"] body:not(.auth-mode) { --panel-font-scale: 1.3; }
/* Content previews keep the typography used by the customer-facing pages. */
.website-preview, .booking-page-preview, .legal-agreement-preview { --panel-font-scale: 1; }
.appearance-settings .settings-form { gap: 18px; }
.appearance-settings .settings-form > label { display: grid; gap: 8px; }
.appearance-settings select { width: min(100%, 340px); }
.appearance-preview { padding: 20px; background: var(--paper); border: 1px solid var(--line); border-radius: 7px; }
.appearance-preview > span { color: var(--muted); font-size: calc(11px * var(--panel-font-scale, 1)); }
.appearance-preview h3 { margin: 6px 0; color: var(--navy); font-size: calc(18px * var(--panel-font-scale, 1)); }
.appearance-preview p { margin: 0; font-size: calc(13px * var(--panel-font-scale, 1)); }
.appearance-status { min-height: 1.5em; margin: 0; color: var(--green); font-size: calc(12px * var(--panel-font-scale, 1)); }
@media print { body { --panel-font-scale: 1 !important; } }
/* Keep the page width unchanged when a modal locks background scrolling. */
html { height: 100%; scrollbar-gutter: stable; }
body { min-height: 100%; margin: 0; color: var(--ink); background: var(--paper); font-family: var(--font); font-size: calc(15px * var(--panel-font-scale, 1)); line-height: 1.5; -webkit-font-smoothing: antialiased; }
/* Server-reopened dialogs must be visible and lock scrolling on the first paint. */
body:has(.modal-backdrop[data-auto-open="1"]) { overflow: hidden; }
.modal-backdrop[data-auto-open="1"] { display: flex; }
button, input, select, textarea { font: inherit; }
input, select, textarea { font-weight: 400; }
input::placeholder, textarea::placeholder { font-weight: 400; }
button { color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 1000; top: 8px; left: 8px; padding: 9px 14px; color: #fff; background: var(--navy); transform: translateY(-150%); }.skip-link:focus { transform: none; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible { outline: 3px solid rgba(252,109,4,.25); outline-offset: 2px; }

.auth-shell { display: none; min-height: 100vh; grid-template-columns: minmax(390px,46%) minmax(520px,54%); background: #fff; }
body.auth-mode { background: #fff; }
body.auth-mode .auth-shell { display: grid; }
body.auth-mode .app-shell, body.auth-mode .notification-drawer, body.auth-mode .modal-backdrop, body.auth-mode > .skip-link { display: none; }
.auth-story { position: sticky; top: 0; display: flex; height: 100vh; min-height: 680px; flex-direction: column; overflow: hidden; padding: 42px clamp(36px,5vw,74px) 30px; color: #fff; background: linear-gradient(145deg,#041d43 0%,var(--navy) 58%,#0c3b75 100%); isolation: isolate; }
.auth-story::before { position: absolute; z-index: -1; top: -15%; right: -18%; width: 430px; height: 430px; content: ""; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; box-shadow: 0 0 0 70px rgba(255,255,255,.025),0 0 0 140px rgba(255,255,255,.018); }
.auth-story::after { position: absolute; z-index: -2; inset: auto -90px -100px -30px; height: 48%; content: ""; background: radial-gradient(ellipse at 56% 45%,rgba(252,109,4,.33),rgba(252,109,4,0) 60%); }
.auth-mobile-brand img { width: 100%; }
.auth-story-copy { position: relative; z-index: 2; max-width: 560px; margin-top: clamp(48px,8vh,92px); }
.auth-kicker, .auth-eyebrow { color: #ff9d5c; font-size: calc(12px * var(--panel-font-scale, 1)); font-weight: 900; letter-spacing: .13em; }
.auth-story-copy h2 { margin: 13px 0 14px; font-size: calc(clamp(31px,3.3vw,52px) * var(--panel-font-scale, 1)); line-height: 1.08; letter-spacing: -.045em; }
.auth-story-copy > p { max-width: 500px; margin: 0; color: #b8c9dd; font-size: calc(16px * var(--panel-font-scale, 1)); line-height: 1.7; }
.auth-story-copy ul { display: grid; gap: 10px; margin: 26px 0 0; padding: 0; list-style: none; color: #e6edf5; font-size: calc(14px * var(--panel-font-scale, 1)); font-weight: 700; }
.auth-story-copy li { display: flex; align-items: center; gap: 9px; }
.auth-story-copy li span { display: grid; width: 22px; height: 22px; flex: 0 0 auto; place-items: center; color: #fff; background: rgba(252,109,4,.9); border-radius: 50%; font-size: calc(12px * var(--panel-font-scale, 1)); }
.auth-camper { position: absolute; z-index: -1; right: -3%; bottom: 2%; display: grid; width: 49%; max-width: 680px; aspect-ratio: 1; padding: 10px 14px 6px; place-items: center; overflow: hidden; background: rgba(255,255,255,.96); border-radius: 18px; box-shadow: 0 28px 45px rgba(0,0,0,.23); transform: rotate(-2deg); }
.auth-camper img { position: relative; z-index: 1; width: 100%; transform: rotate(2deg); }
.auth-story-foot { position: relative; z-index: 2; width: 190px; margin: auto 0 0; color: #91a8c4; font-size: calc(11px * var(--panel-font-scale, 1)); }
.auth-panel { position: relative; display: grid; min-height: 100vh; align-content: center; justify-items: center; padding: 54px clamp(35px,6vw,96px) 78px; overflow: hidden; background: linear-gradient(180deg,#fff 0%,#fff 76%,#f8fafc 100%); }
.auth-panel::before { position: absolute; top: -145px; right: -145px; width: 330px; height: 330px; content: ""; border: 55px solid #f7f9fc; border-radius: 50%; }
.auth-language-switch { position: absolute; z-index: 3; top: 28px; right: clamp(35px,6vw,96px); display: flex; gap: 3px; padding: 3px; background: #f4f6f9; border: 1px solid var(--line); border-radius: 8px; }
.auth-language-switch a { display: grid; width: 34px; height: 30px; place-items: center; color: #718095; border-radius: 5px; font-size: calc(11px * var(--panel-font-scale, 1)); font-weight: 900; letter-spacing: .04em; transition: color .2s,background .2s,box-shadow .2s; }
.auth-language-switch a:hover { color: var(--navy); background: #fff; }
.auth-language-switch a.active { color: #fff; background: var(--navy); box-shadow: 0 3px 8px rgba(6,41,91,.18); }
.auth-mobile-brand { position: relative; z-index: 2; display: none; width: 175px; margin-bottom: 42px; }
.auth-view { position: relative; z-index: 2; display: none; width: min(100%,480px); }
.auth-view.active { display: block; animation: auth-in .3s ease; }
.auth-view-wide { width: min(100%,700px); }
@keyframes auth-in { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }
.auth-heading { margin-bottom: 26px; }
.auth-heading h1 { margin: 8px 0 8px; color: var(--navy); font-size: calc(clamp(26px,2.6vw,38px) * var(--panel-font-scale, 1)); line-height: 1.16; letter-spacing: -.035em; }
.auth-heading p { margin: 0; color: var(--muted); font-size: calc(14px * var(--panel-font-scale, 1)); line-height: 1.65; }
.auth-heading-centered { text-align: center; }
.auth-back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 32px; padding: 0; color: #536277; background: transparent; border: 0; font-size: calc(12px * var(--panel-font-scale, 1)); font-weight: 800; }
.auth-back span { color: var(--orange); font-size: calc(17px * var(--panel-font-scale, 1)); }
.auth-form { display: grid; gap: 17px; }
.auth-activation { margin-bottom: 22px; padding: 18px; border: 1px solid #f4d2a9; border-radius: 10px; background: #fff8ef; color: var(--navy); }
.auth-activation h2 { margin: 0 0 8px; font-size: calc(16px * var(--panel-font-scale, 1)); line-height: 1.4; }
.auth-activation p { margin: 0 0 10px; font-size: calc(13px * var(--panel-font-scale, 1)); line-height: 1.6; }
.auth-activation strong { overflow-wrap: anywhere; }
.auth-activation .button { width: 100%; min-height: 44px; height: auto; padding: 12px; white-space: normal; text-align: center; }
.auth-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.auth-field { display: grid; gap: 6px; color: #3f4f64; font-size: calc(12px * var(--panel-font-scale, 1)); font-weight: 800; }
.auth-input { display: flex; min-height: 49px; align-items: center; gap: 9px; padding: 0 12px; background: #fff; border: 1px solid #ccd5e1; border-radius: 7px; box-shadow: 0 2px 5px rgba(6,41,91,.02); transition: border-color .2s,box-shadow .2s; }
.auth-input:focus-within { border-color: var(--navy-2); box-shadow: 0 0 0 3px rgba(6,41,91,.07); }
.auth-input > span { display: grid; width: 19px; height: 19px; flex: 0 0 auto; place-items: center; color: #8896a7; font-size: calc(14px * var(--panel-font-scale, 1)); }
.auth-input input { width: 100%; min-width: 0; height: 46px; padding: 0; color: var(--ink); background: transparent; border: 0; outline: 0; font-size: calc(14px * var(--panel-font-scale, 1)); }
.password-toggle, .password-generate { flex: 0 0 auto; padding: 4px; color: var(--navy); background: transparent; border: 0; font-size: calc(11px * var(--panel-font-scale, 1)); font-weight: 900; }
.password-generate { padding-right: 8px; color: var(--orange-dark); border-right: 1px solid var(--line); }
.auth-options { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.auth-check { display: flex; align-items: flex-start; gap: 9px; color: #536277; font-size: calc(12px * var(--panel-font-scale, 1)); font-weight: 600; cursor: pointer; }
.auth-check input { width: 16px; height: 16px; flex: 0 0 auto; margin: 0; accent-color: var(--orange); }
.auth-check a { color: var(--navy); font-weight: 900; text-decoration: underline; text-decoration-color: #b7c1ce; text-underline-offset: 2px; }
.auth-text-button { padding: 0; color: var(--navy); background: transparent; border: 0; font-size: calc(12px * var(--panel-font-scale, 1)); font-weight: 900; }
.auth-submit { width: 100%; min-height: 50px; margin-top: 2px; }
.auth-submit > span { margin-left: auto; font-size: calc(18px * var(--panel-font-scale, 1)); }
.auth-divider { display: flex; align-items: center; gap: 13px; margin: 25px 0 17px; color: #8995a5; font-size: calc(11px * var(--panel-font-scale, 1)); }
.auth-divider::before, .auth-divider::after { height: 1px; flex: 1; content: ""; background: var(--line); }
.auth-divider span { white-space: nowrap; }
.auth-secondary { width: 100%; }
.auth-error-actions { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 10px; }
.auth-error-actions a { color: inherit; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.auth-security { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 23px 0 0; color: #8c98a7; font-size: calc(11px * var(--panel-font-scale, 1)); }
.auth-security span { color: var(--green); }
.password-meter { display: grid; grid-template-columns: repeat(4,1fr); gap: 4px; margin-top: 2px; }
.password-meter i { height: 3px; background: #e3e8ee; border-radius: 2px; }
.password-meter.score-1 i:nth-child(-n+1) { background: var(--red); }.password-meter.score-2 i:nth-child(-n+2) { background: #d7912b; }.password-meter.score-3 i:nth-child(-n+3) { background: #8ca63c; }.password-meter.score-4 i { background: var(--green); }
.password-hint { color: #8491a1; font-size: calc(10px * var(--panel-font-scale, 1)); font-weight: 500; }
.auth-terms { margin: 1px 0; }
.auth-login-note, .auth-code-note { margin: 21px 0 0; color: var(--muted); text-align: center; font-size: calc(12px * var(--panel-font-scale, 1)); }
.auth-login-note button, .auth-code-note button { padding: 0; color: var(--navy); background: transparent; border: 0; font-weight: 900; }
.auth-symbol { position: relative; display: grid; width: 66px; height: 66px; margin: 0 auto 20px; place-items: center; color: var(--orange); background: var(--orange-soft); border: 1px solid #ffd8bf; border-radius: 18px; font-size: calc(26px * var(--panel-font-scale, 1)); transform: rotate(-3deg); }
.auth-symbol span { transform: rotate(3deg); }
.auth-symbol-lock { color: var(--navy); background: #eaf0f8; border-color: #d2dfed; }
.auth-symbol-lock i { position: absolute; right: -6px; bottom: -5px; display: grid; width: 24px; height: 24px; place-items: center; color: #fff; background: var(--green); border: 3px solid #fff; border-radius: 50%; font-size: calc(11px * var(--panel-font-scale, 1)); font-style: normal; }
.auth-help { display: grid; grid-template-columns: 24px 1fr; gap: 10px; margin-top: 24px; padding: 13px; color: #536277; background: #f5f8fb; border: 1px solid #e4eaf1; border-radius: 7px; }
.auth-help > span { display: grid; width: 22px; height: 22px; place-items: center; color: #fff; background: var(--navy); border-radius: 50%; font-size: calc(11px * var(--panel-font-scale, 1)); font-weight: 900; }
.auth-help p { margin: 0; font-size: calc(11px * var(--panel-font-scale, 1)); line-height: 1.6; }
.otp-fieldset { margin: 0; padding: 0; border: 0; }
.otp-inputs { display: grid; grid-template-columns: repeat(6,1fr); gap: 9px; }
.otp-inputs input { width: 100%; aspect-ratio: 1; min-width: 0; color: var(--navy); background: #fff; border: 1px solid #c7d1dd; border-radius: 8px; text-align: center; font-size: calc(24px * var(--panel-font-scale, 1)); font-weight: 900; caret-color: var(--orange); }
.otp-inputs input:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(252,109,4,.1); outline: 0; }
.auth-recovery { display: grid; width: 100%; grid-template-columns: 36px 1fr 16px; align-items: center; gap: 11px; padding: 13px; color: var(--navy); background: #fff; border: 1px solid var(--line); border-radius: 7px; text-align: left; }
.auth-recovery > span { display: grid; width: 34px; height: 34px; place-items: center; color: var(--orange); background: var(--orange-soft); border-radius: 6px; }
.auth-recovery strong, .auth-recovery small { display: block; }.auth-recovery strong { font-size: calc(12px * var(--panel-font-scale, 1)); }.auth-recovery small { margin-top: 2px; color: var(--muted); font-size: calc(10px * var(--panel-font-scale, 1)); font-weight: 500; }.auth-recovery b { color: var(--orange); }
.auth-footer { position: absolute; right: clamp(35px,6vw,96px); bottom: 25px; left: clamp(35px,6vw,96px); display: flex; justify-content: center; gap: 20px; color: #98a4b2; font-size: calc(10px * var(--panel-font-scale, 1)); }
.auth-footer a:hover { color: var(--navy); }

.app-shell { min-height: 100vh; }
.sidebar { position: fixed; z-index: 80; inset: 0 auto 0 0; display: flex; width: var(--sidebar); flex-direction: column; color: #fff; background: var(--navy); }
.sidebar-brand { display: flex; height: var(--topbar); min-height: var(--topbar); align-items: center; padding: 10px 18px; background: #fff; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sidebar-brand a { display: block; width: 187px; max-width: 100%; overflow: hidden; background: #fff; border-radius: 0; }
.sidebar-brand img { width: 100%; }
.sidebar-close { display: none; margin-left: auto; color: var(--navy); background: transparent; border: 0; font-size: calc(28px * var(--panel-font-scale, 1)); }
.sidebar-toggle { display: flex; min-height: 40px; flex: 0 0 auto; align-items: center; gap: 10px; margin: 10px 10px 0; padding: 7px 13px; color: #cdd9e8; background: transparent; border: 1px solid rgba(255,255,255,.14); border-radius: 5px; font-size: calc(12px * var(--panel-font-scale, 1)); font-weight: 700; }
.sidebar-toggle[hidden] { display: none; }
.sidebar-toggle:hover, .sidebar-toggle:focus-visible { color: #fff; background: rgba(255,255,255,.07); }
.sidebar-toggle svg { width: 22px; height: 22px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sidebar-toggle:focus-visible, .side-link:focus-visible { outline: 2px solid #ffc09b; outline-offset: -2px; }
.sidebar-nav { flex: 1; padding: 14px 10px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.2) transparent; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }
.nav-group { display: grid; gap: 2px; margin-bottom: 18px; }
.nav-label { padding: 0 11px 7px; color: #8fa6c3; font-size: calc(13px * var(--panel-font-scale, 1)); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.side-link { display: grid; min-height: 46px; grid-template-columns: 30px minmax(0,1fr) auto; align-items: center; gap: 10px; width: 100%; padding: 8px 10px; color: #cdd9e8; background: transparent; border: 0; border-left: 3px solid transparent; border-radius: 5px; text-align: left; font-size: calc(16px * var(--panel-font-scale, 1)); font-weight: 700; }
.side-link:hover { color: #fff; background: rgba(255,255,255,.07); }
.side-link.active { color: var(--navy); background: #ffc09b; border-left-color: var(--orange); box-shadow: inset 0 0 0 1px rgba(255,255,255,.28); }
.nav-icon { display: grid; width: 30px; height: 30px; place-items: center; padding: 0; color: #a9bdd4; border: 1px solid rgba(255,255,255,.14); border-radius: 6px; line-height: 0; }
.nav-icon svg { display: block; width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.side-link > span:not(.nav-icon) { min-width: 0; line-height: 1.25; }
.side-link.active .nav-icon { color: var(--navy); background: rgba(255,255,255,.4); border-color: rgba(6,41,91,.24); }
.side-link b { display: grid; min-width: 24px; height: 21px; justify-self: end; margin-left: 0; padding: 0 6px; place-items: center; color: #123d66; background: #e2effc; border: 1px solid #9fc3e5; border-radius: 6px; box-shadow: none; font-size: calc(11px * var(--panel-font-scale, 1)); font-weight: 800; line-height: 1; }
.side-link b.warning-badge { color: #13594f; background: #ddf2ed; border-color: #91c9bd; }
.nav-online { padding: 10px 0 2px; border-top: 1px solid rgba(255,255,255,.1); }
.avatar, .table-avatar, .big-avatar { display: grid; place-items: center; color: var(--navy); background: #ffd8c3; border-radius: 50%; font-weight: 900; }

.app-main { min-height: 100vh; margin-left: var(--sidebar); }
.topbar { position: sticky; z-index: 60; top: 0; display: flex; height: var(--topbar); align-items: center; gap: 14px; padding: 0 22px; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); backdrop-filter: blur(10px); }
.mobile-menu { display: none; width: 40px; height: 40px; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 6px; }.mobile-menu span { display: block; height: 2px; margin: 4px 0; background: var(--navy); }
.company-switcher { display: flex; min-width: 180px; max-width: 205px; align-items: center; gap: 10px; }.company-mark { display: grid; width: 36px; height: 36px; place-items: center; color: #fff; background: var(--navy); border-radius: 6px; font-size: calc(14px * var(--panel-font-scale, 1)); font-weight: 900; }.company-mark--logo { object-fit: contain; background: #fff; }.company-switcher > div { min-width: 0; }.company-switcher small, .company-switcher strong { display: block; }.company-switcher small { color: var(--muted); font-size: calc(12px * var(--panel-font-scale, 1)); text-transform: uppercase; }.company-switcher strong { overflow: hidden; color: var(--navy); text-overflow: ellipsis; white-space: nowrap; font-size: calc(15px * var(--panel-font-scale, 1)); }
.topbar-account { display: flex; min-width: 134px; max-width: 150px; flex: 0 1 150px; align-items: center; gap: 9px; padding: 4px 8px 4px 14px; color: inherit; border-left: 1px solid var(--line); border-radius: 0 6px 6px 0; text-decoration: none; }.topbar-account:hover, .topbar-account:focus-visible, .topbar-account[aria-current="page"] { background: #f5f7fa; outline: 0; }.topbar-account:focus-visible { box-shadow: 0 0 0 3px rgba(252,109,4,.16); }.topbar-account .avatar { width: 34px; height: 34px; flex: 0 0 auto; font-size: calc(13px * var(--panel-font-scale, 1)); }.topbar-account-copy { min-width: 0; }.topbar-account strong, .topbar-account small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.topbar-account strong { color: var(--navy); font-size: calc(13px * var(--panel-font-scale, 1)); }.topbar-account small { margin-top: 1px; color: var(--muted); font-size: calc(10px * var(--panel-font-scale, 1)); }
.search-field-icon { display: block; width: 21px; height: 21px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.top-search { position: relative; z-index: 90; width: min(420px, 30vw); min-width: 190px; margin-left: auto; }.top-search > .search-field-icon { position: absolute; z-index: 2; top: 50%; left: 12px; color: var(--muted); transform: translateY(-50%); }.top-search > input { width: 100%; height: 40px; padding: 0 14px 0 42px; color: var(--ink); background: #f5f7fa; border: 1px solid transparent; border-radius: 6px; font-size: calc(15px * var(--panel-font-scale, 1)); }.top-search > input:focus, .top-search.open > input { background: #fff; border-color: #b9c7d8; outline: 3px solid rgba(6,41,91,.08); }
.global-search-results { position: absolute; z-index: 95; top: calc(100% + 9px); right: 0; width: min(560px,calc(100vw - 32px)); max-height: min(520px,calc(100vh - var(--topbar) - 24px)); overflow-y: auto; padding: 7px; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 18px 48px rgba(6,41,91,.18); }.global-search-results[hidden] { display: none; }.global-search-state { padding: 20px 16px; color: var(--muted); text-align: center; font-size: calc(12px * var(--panel-font-scale, 1)); }.global-search-results[aria-busy="true"] .global-search-state::before { display: inline-block; width: 12px; height: 12px; margin-right: 8px; content: ""; border: 2px solid #d7dee7; border-top-color: var(--orange); border-radius: 50%; vertical-align: -2px; animation: global-search-spin .7s linear infinite; }.global-search-group + .global-search-group { margin-top: 5px; padding-top: 5px; border-top: 1px solid #edf0f4; }.global-search-group-title { display: block; padding: 7px 10px 5px; color: #8995a5; font-size: calc(10px * var(--panel-font-scale, 1)); letter-spacing: .06em; text-transform: uppercase; }.global-search-result { display: grid; min-height: 54px; grid-template-columns: 34px minmax(0,1fr) 18px; align-items: center; gap: 10px; padding: 8px 10px; color: inherit; border-radius: 6px; text-decoration: none; }.global-search-result:hover, .global-search-result:focus-visible, .global-search-result.active { background: #f2f5f9; outline: none; }.global-search-marker { display: grid; position: static; width: 32px; height: 32px; place-items: center; color: var(--navy); background: #e5eef8; border-radius: 6px; transform: none; font-size: calc(11px * var(--panel-font-scale, 1)); font-weight: 900; }.global-search-marker--reservation { color: #9b4617; background: #ffe8db; }.global-search-marker--customer { color: #176747; background: #e1f4ec; }.global-search-copy { display: block; position: static; width: auto; height: auto; min-width: 0; color: inherit; transform: none; }.global-search-copy strong, .global-search-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.global-search-copy strong { color: var(--navy); font-size: calc(13px * var(--panel-font-scale, 1)); }.global-search-copy small { margin-top: 2px; color: var(--muted); font-size: calc(10px * var(--panel-font-scale, 1)); }.global-search-result > i { color: #9aa5b3; font-style: normal; }.global-search-result:hover > i, .global-search-result.active > i { color: var(--orange); }
@keyframes global-search-spin { to { transform: rotate(360deg); } }
.top-actions { display: flex; align-items: center; gap: 8px; }.location-switcher { position: relative; }.location-button { display: flex; min-width: 124px; height: 40px; min-height: 40px; align-items: center; gap: 8px; padding: 2px 10px; background: #fff; border: 1px solid var(--line); border-radius: 6px; }.location-button > span { color: var(--orange); font-size: calc(17px * var(--panel-font-scale, 1)); }.location-button small, .location-button strong { display: block; max-width: 145px; overflow: hidden; line-height: 1.1; text-align: left; text-overflow: ellipsis; white-space: nowrap; }.location-button small { color: var(--muted); font-size: calc(11px * var(--panel-font-scale, 1)); text-transform: uppercase; }.location-button strong { color: var(--navy); font-size: calc(14px * var(--panel-font-scale, 1)); }.location-button > i { margin-left: auto; color: var(--muted); font-style: normal; transition: transform .16s ease; }.location-switcher.open .location-button { border-color: #9eafc2; box-shadow: 0 0 0 3px rgba(6,41,91,.07); }.location-switcher.open .location-button > i { transform: rotate(180deg); }
.location-menu { position: absolute; z-index: 80; top: calc(100% + 8px); right: 0; width: max-content; min-width: 230px; max-width: min(320px,calc(100vw - 24px)); max-height: min(380px,calc(100vh - var(--topbar) - 24px)); overflow-y: auto; padding: 7px; background: #fff; border: 1px solid var(--line); border-radius: 7px; box-shadow: 0 16px 40px rgba(6,41,91,.16); }.location-menu[hidden] { display: none; }.location-menu-title { display: block; padding: 7px 9px 6px; color: var(--muted); font-size: calc(10px * var(--panel-font-scale, 1)); letter-spacing: .06em; text-transform: uppercase; }.location-menu form { margin: 0; }.location-option { display: grid; width: 100%; min-height: 42px; grid-template-columns: 22px minmax(0,1fr) 18px; align-items: center; gap: 8px; padding: 8px 9px; color: #526175; background: transparent; border: 0; border-radius: 5px; text-align: left; }.location-option:hover, .location-option:focus-visible { color: var(--navy); background: #f2f5f9; }.location-option.active { color: var(--navy); background: #eef3f8; }.location-option > span { color: var(--orange); }.location-option > strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.location-option > i { color: var(--green); font-style: normal; font-weight: 900; }
.icon-button, .help-button { position: relative; display: grid; width: 40px; height: 40px; place-items: center; color: var(--navy); background: #fff; border: 1px solid var(--line); border-radius: 6px; }.icon-button:hover, .icon-button:focus-visible, .help-button:hover, .help-button:focus-visible, .topbar-link[aria-current="page"] { color: var(--orange); background: #fff8f3; border-color: #f4b68e; outline: 0; }.topbar-link svg, .notification-button svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }.notification-button b { position: absolute; top: -7px; right: -7px; display: grid; min-width: 23px; height: 21px; place-items: center; padding: 0 5px; color: #123d66; background: #e2effc; border: 1px solid #9fc3e5; border-radius: 6px; box-sizing: border-box; font-size: calc(11px * var(--panel-font-scale, 1)); font-weight: 800; line-height: 1; }
.icon-button:focus-visible, .help-button:focus-visible { box-shadow: 0 0 0 3px rgba(252,109,4,.18); }
.topbar-logout { margin: 0; }.logout-button { color: var(--orange); }.logout-button svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }.logout-button:hover { color: #fff; background: var(--orange); border-color: var(--orange); }

.app-content { padding: 31px 30px 50px; }
/* A transformed view makes its fixed dialogs relative to the page, not the viewport. */
.app-view { display: none; width: 100%; max-width: none; margin: 0; }.app-view.active { display: block; }
@keyframes view-in { from { opacity: 0; } to { opacity: 1; } }
.page-head, .reservation-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }.date-label { color: var(--orange); font-size: calc(13px * var(--panel-font-scale, 1)); font-weight: 900; letter-spacing: .11em; }.page-head h1, .reservation-head h1 { margin: 5px 0 2px; color: var(--navy); font-size: calc(29px * var(--panel-font-scale, 1)); line-height: 1.18; letter-spacing: -.025em; }.page-head p, .reservation-head p { margin: 0; color: var(--muted); font-size: calc(16px * var(--panel-font-scale, 1)); }.page-actions { display: flex; align-items: center; gap: 8px; }
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: 7px; padding: 11px 19px; border: 1px solid transparent; border-radius: 6px; font-size: calc(16px * var(--panel-font-scale, 1)); font-weight: 800; letter-spacing: .01em; }.button-primary { color: #fff; background: var(--orange); border-color: var(--orange); box-shadow: 0 8px 20px rgba(252,109,4,.28); text-shadow: 0 1px 1px rgba(74,25,0,.22); }.button-primary:hover { background: var(--orange-dark); border-color: var(--orange-dark); box-shadow: 0 9px 24px rgba(252,109,4,.34); }.button-primary:focus-visible { outline-color: rgba(6,41,91,.35); }.button-secondary { color: var(--navy); background: #fff; border-color: #c9d3df; }.button-secondary:hover { border-color: var(--navy); }.full-button { width: 100%; margin-top: 9px; }.icon-action { width: 40px; height: 40px; background: #fff; border: 1px solid var(--line); border-radius: 6px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 7px; box-shadow: 0 6px 24px rgba(6,41,91,.035); }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 19px 21px; border-bottom: 1px solid var(--line); }.panel-head h2 { margin: 0; color: var(--navy); font-size: calc(16px * var(--panel-font-scale, 1)); }.panel-head p { margin: 2px 0 0; color: var(--muted); font-size: calc(13px * var(--panel-font-scale, 1)); }.panel-head button { padding: 0; color: var(--navy-2); background: transparent; border: 0; font-size: calc(13px * var(--panel-font-scale, 1)); font-weight: 900; }

.stat-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin-bottom: 16px; }.stat-card { min-height: 160px; padding: 18px; background: #fff; border: 1px solid var(--line); border-top: 3px solid #dce3ec; border-radius: 7px; }.stat-card.attention { border-top-color: #d68b24; }.stat-top { display: flex; align-items: center; justify-content: space-between; }.stat-top small { color: var(--muted); font-size: calc(12px * var(--panel-font-scale, 1)); font-weight: 800; text-transform: uppercase; }.stat-icon { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 6px; font-size: calc(16px * var(--panel-font-scale, 1)); font-weight: 900; }.orange-bg { color: var(--orange); background: var(--orange-soft); }.navy-bg { color: var(--navy); background: #e9eff7; }.green-bg { color: var(--green); background: var(--green-soft); }.amber-bg { color: var(--amber); background: #fff3df; }.stat-card > strong { display: block; margin-top: 11px; color: var(--navy); font-size: calc(29px * var(--panel-font-scale, 1)); line-height: 1; }.stat-card > strong em { color: #9aa6b6; font-size: calc(16px * var(--panel-font-scale, 1)); font-style: normal; }.stat-card > span { color: var(--muted); font-size: calc(14px * var(--panel-font-scale, 1)); }.stat-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 13px; padding-top: 10px; border-top: 1px solid #edf0f4; }.stat-foot i { color: #7a8798; font-size: calc(12px * var(--panel-font-scale, 1)); font-style: normal; }.stat-foot b { color: var(--orange); }.progress { height: 5px; margin-top: 13px; overflow: hidden; background: #e7ebf0; border-radius: 3px; }.progress i { display: block; height: 100%; background: var(--green); border-radius: 3px; }
.dashboard-grid { display: grid; grid-template-columns: 1.28fr .72fr; gap: 16px; margin-bottom: 16px; }.today-panel, .revenue-panel { min-height: 365px; }.timeline { padding: 7px 21px 15px; }.timeline-item { display: grid; grid-template-columns: 42px 10px 1fr; gap: 10px; min-height: 84px; align-items: center; }.timeline-item time { color: var(--navy); font-size: calc(14px * var(--panel-font-scale, 1)); font-weight: 900; }.timeline-dot { position: relative; z-index: 2; width: 9px; height: 9px; border: 2px solid #fff; border-radius: 50%; box-shadow: 0 0 0 2px currentColor; }.orange-dot { color: var(--orange); background: var(--orange); }.navy-dot { color: var(--navy); background: var(--navy); }.timeline-item:not(:last-child) .timeline-dot::after { position: absolute; top: 9px; left: 2px; width: 1px; height: 75px; content: ""; background: #d8dfe8; }.timeline-body { display: grid; grid-template-columns: 42px 1fr auto auto; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid #edf0f4; }.mini-camper { width: 42px; height: 38px; overflow: hidden; background: #f2f4f7; border-radius: 5px; }.mini-camper img { width: 100%; height: 100%; object-fit: cover; }.timeline-body strong, .timeline-body small { display: block; }.timeline-body strong { color: var(--navy); font-size: calc(14px * var(--panel-font-scale, 1)); }.timeline-body small { color: var(--muted); font-size: calc(12px * var(--panel-font-scale, 1)); }.timeline-body button { color: var(--navy); background: transparent; border: 0; font-size: calc(13px * var(--panel-font-scale, 1)); font-weight: 900; }
.status { display: inline-flex; min-height: 22px; align-items: center; padding: 4px 8px; border-radius: 4px; font-size: calc(12px * var(--panel-font-scale, 1)); font-weight: 900; white-space: nowrap; }.status-ready { color: #9c420f; background: #ffeadc; }.status-return { color: #174b7e; background: #e3eef9; }.status-confirmed { color: #126446; background: #e1f4ec; }.status-payment { color: #9a5a0c; background: #fff0d4; }.status-waiting { color: #9a5a0c; background: #fff0d4; }
.revenue-value { display: flex; align-items: flex-end; justify-content: space-between; padding: 18px 21px 8px; }.revenue-value strong { color: var(--navy); font-size: calc(23px * var(--panel-font-scale, 1)); }.revenue-value span { color: var(--green); font-size: calc(12px * var(--panel-font-scale, 1)); font-weight: 900; }.select-button { padding: 5px 8px!important; border: 1px solid var(--line)!important; border-radius: 4px; }
.chart { position: relative; height: 130px; margin: 4px 21px 0; }.chart svg { position: absolute; inset: 0 0 20px; width: 100%; height: calc(100% - 20px); overflow: visible; }.chart-area { fill: rgba(252,109,4,.08); }.chart-line { fill: none; stroke: var(--orange); stroke-width: 2.4; vector-effect: non-scaling-stroke; }.chart-grid { position: absolute; inset: 0 0 20px; display: flex; flex-direction: column; justify-content: space-between; }.chart-grid i { border-top: 1px dashed #e1e6ed; }.chart-labels { position: absolute; right: 0; bottom: 0; left: 0; display: flex; justify-content: space-between; color: #98a3b2; font-size: calc(11px * var(--panel-font-scale, 1)); }.occupancy { margin: 0 21px; padding-top: 12px; border-top: 1px solid var(--line); }.occupancy > div:first-child { display: flex; justify-content: space-between; color: var(--navy); font-size: calc(13px * var(--panel-font-scale, 1)); font-weight: 800; }.occupancy .progress { margin: 7px 0 4px; }.occupancy small { color: var(--muted); font-size: calc(11px * var(--panel-font-scale, 1)); }
.reservations-panel { margin-bottom: 16px; }.table-wrap { overflow-x: auto; }.table-wrap table { width: 100%; border-collapse: collapse; min-width: 850px; }.table-wrap th { padding: 10px 16px; color: #8793a3; background: #f8fafc; border-bottom: 1px solid var(--line); text-align: left; font-size: calc(12px * var(--panel-font-scale, 1)); text-transform: uppercase; }.table-wrap td { padding: 12px 16px; color: #415067; border-bottom: 1px solid #edf0f4; font-size: calc(13px * var(--panel-font-scale, 1)); }.table-wrap tbody tr { cursor: pointer; }.table-wrap tbody tr:hover { background: #fffaf7; }.table-wrap tbody tr:last-child td { border-bottom: 0; }.table-wrap td strong { color: var(--navy); }.table-wrap td small { display: block; color: #929dac; }.table-avatar { display: inline-grid; width: 25px; height: 25px; margin-right: 7px; font-size: calc(11px * var(--panel-font-scale, 1)); }.table-avatar.blue { background: #dceafa; }.table-avatar.green { background: #dcf2e9; }.payment { display: flex; align-items: center; gap: 7px; }.payment > span { width: 55px; height: 4px; overflow: hidden; background: #e5e9ee; border-radius: 2px; }.payment i { display: block; height: 100%; background: var(--green); }.payment b { color: var(--green); font-size: calc(12px * var(--panel-font-scale, 1)); }
.alert-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }.compact-panel { display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 12px; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: 7px; }.compact-icon { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 6px; font-weight: 900; }.warning-icon { color: #a66109; background: #fff1d9; }.message-icon { color: var(--navy-2); background: #e5eef8; }.money-icon { color: var(--green); background: var(--green-soft); }.compact-panel strong { display: block; color: var(--navy); font-size: calc(14px * var(--panel-font-scale, 1)); }.compact-panel p { margin: 2px 0 0; color: var(--muted); font-size: calc(12px * var(--panel-font-scale, 1)); }.compact-panel button { color: var(--navy); background: transparent; border: 0; font-size: calc(13px * var(--panel-font-scale, 1)); font-weight: 900; }

.calendar-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 14px; padding: 13px 16px; }.period-control, .calendar-filters { display: flex; align-items: center; gap: 6px; }.period-control > button { width: 32px; height: 32px; background: #fff; border: 1px solid var(--line); border-radius: 5px; }.period-control .today-button { width: auto; padding: 0 12px; font-size: calc(13px * var(--panel-font-scale, 1)); font-weight: 800; }.period-control strong { margin-left: 9px; color: var(--navy); font-size: calc(17px * var(--panel-font-scale, 1)); }.calendar-filters select, .filter-button { height: 33px; padding: 0 10px; color: #4b596d; background: #fff; border: 1px solid var(--line); border-radius: 5px; font-size: calc(13px * var(--panel-font-scale, 1)); font-weight: 700; }.filter-button b { display: inline-grid; width: 16px; height: 16px; place-items: center; color: #fff; background: var(--orange); border-radius: 50%; font-size: calc(11px * var(--panel-font-scale, 1)); }
.fleet-calendar { overflow-x: auto; }.calendar-grid { position: relative; display: grid; min-width: 1080px; grid-template-columns: 190px repeat(10, minmax(72px,1fr)); }.calendar-header-row { min-height: 63px; background: #f8fafc; border-bottom: 1px solid var(--line); }.vehicle-heading { display: flex; flex-direction: column; justify-content: center; padding: 0 16px; color: var(--navy); border-right: 1px solid var(--line); font-size: calc(14px * var(--panel-font-scale, 1)); font-weight: 900; }.vehicle-heading small { color: var(--muted); font-size: calc(11px * var(--panel-font-scale, 1)); font-weight: 500; }.day { display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--muted); border-right: 1px solid #edf0f4; }.day span { font-size: calc(11px * var(--panel-font-scale, 1)); text-transform: uppercase; }.day strong { color: var(--navy); font-size: calc(17px * var(--panel-font-scale, 1)); }.day.weekend { background: #f3f5f8; }.day.current { color: var(--orange); background: #fff3ec; box-shadow: inset 0 -3px var(--orange); }.day.current strong { color: var(--orange); }
.fleet-row { min-height: 84px; background-image: repeating-linear-gradient(90deg, transparent 0, transparent calc((100% - 190px)/10 - 1px), #edf0f4 calc((100% - 190px)/10 - 1px), #edf0f4 calc((100% - 190px)/10)); background-position: 190px 0; background-size: calc(100% - 190px) 100%; border-bottom: 1px solid var(--line); }.fleet-row:last-child { border-bottom: 0; }.fleet-row::after { position: absolute; top: 0; bottom: 0; left: calc(190px + (100% - 190px)/10*2); width: calc((100% - 190px)/10); content: ""; background: rgba(252,109,4,.035); pointer-events: none; }.vehicle-cell { position: sticky; z-index: 3; left: 0; display: flex; align-items: center; gap: 9px; padding: 0 13px; background: #fff; border-right: 1px solid var(--line); }.vehicle-cell img, .vehicle-cell > span { width: 44px; height: 42px; flex: 0 0 auto; object-fit: cover; background: #eef2f6; border-radius: 5px; }.vehicle-cell > span { display: grid; place-items: center; color: var(--navy); font-size: calc(13px * var(--panel-font-scale, 1)); font-weight: 900; }.vehicle-cell strong, .vehicle-cell span { display: block; }.vehicle-cell strong { color: var(--navy); font-size: calc(13px * var(--panel-font-scale, 1)); }.vehicle-cell div span { color: var(--muted); font-size: calc(11px * var(--panel-font-scale, 1)); }
.booking-block { position: absolute; z-index: 4; top: 19px; display: flex; height: 46px; flex-direction: column; align-items: flex-start; justify-content: center; overflow: hidden; padding: 0 10px; border: 0; border-left: 3px solid; border-radius: 4px; text-align: left; white-space: nowrap; }.booking-block strong, .booking-block span { display: block; }.booking-block strong { font-size: calc(13px * var(--panel-font-scale, 1)); }.booking-block span { opacity: .75; font-size: calc(11px * var(--panel-font-scale, 1)); }.confirmed-block { color: #126044; background: #dff3ea; border-color: #1c986d; }.option-block { color: #96570b; background: #ffefd1; border-color: #db8a1e; }.rent-block { color: #174b7d; background: #e1edf9; border-color: #266dab; }.service-block { color: #a7333e; background: #fbe3e5; border-color: #c83d4b; }.request-block { color: #8a4219; background: #ffe7da; border-color: var(--orange); }.block-640 { left: calc(190px + (100% - 190px)/10); width: calc((100% - 190px)/10*7 - 4px); }.block-720 { left: calc(190px + (100% - 190px)/10*2); width: calc((100% - 190px)/10*4 - 4px); }.block-724 { left: calc(190px + (100% - 190px)/10*3); width: calc((100% - 190px)/10*7 - 4px); }.block-rimor { left: 190px; width: calc((100% - 190px)/10*3 - 4px); }.block-carado { left: calc(190px + (100% - 190px)/10*6); width: calc((100% - 190px)/10*4 - 4px); }
.calendar-footer { display: flex; align-items: center; gap: 18px; padding: 13px 4px; color: var(--muted); font-size: calc(12px * var(--panel-font-scale, 1)); }.calendar-footer > div { display: flex; align-items: center; gap: 5px; }.legend { width: 8px; height: 8px; border-radius: 2px; }.confirmed-legend { background: #1c986d; }.option-legend { background: #db8a1e; }.rent-legend { background: #266dab; }.request-legend { background: var(--orange); }.service-legend { background: #c83d4b; }.calendar-footer small { margin-left: auto; color: #8c97a6; }

.breadcrumbs { display: flex; align-items: center; gap: 7px; margin-bottom: 14px; color: var(--muted); font-size: calc(13px * var(--panel-font-scale, 1)); }.breadcrumbs button { padding: 0; color: var(--muted); background: transparent; border: 0; }.breadcrumbs button:hover { color: var(--navy); }.breadcrumbs strong { color: var(--navy); }.reservation-head { align-items: center; }.reservation-title-line { display: flex; align-items: center; gap: 11px; }.reservation-title-line h1 { margin: 0; }.workflow-progress { display: flex; align-items: flex-start; justify-content: center; gap: 0; margin-bottom: 16px; padding: 22px 25px; overflow-x: auto; }.workflow-step { display: flex; min-width: 78px; flex-direction: column; align-items: center; text-align: center; }.workflow-step > span { display: grid; width: 27px; height: 27px; margin-bottom: 6px; place-items: center; color: #8b97a7; background: #fff; border: 2px solid #cbd3dd; border-radius: 50%; font-size: calc(12px * var(--panel-font-scale, 1)); font-weight: 900; }.workflow-step strong { color: #718094; font-size: calc(12px * var(--panel-font-scale, 1)); }.workflow-step small { color: #a2acb9; font-size: calc(10px * var(--panel-font-scale, 1)); }.workflow-step.done > span { color: #fff; background: var(--green); border-color: var(--green); }.workflow-step.done strong { color: var(--green); }.workflow-step.current > span { color: #fff; background: var(--orange); border-color: var(--orange); box-shadow: 0 0 0 4px rgba(252,109,4,.12); }.workflow-step.current strong { color: var(--navy); }.workflow-line { width: min(7vw,85px); height: 2px; flex: 0 0 auto; margin-top: 13px; background: #d6dde6; }.workflow-line.done { background: var(--green); }
.reservation-layout { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 16px; }.reservation-main-col, .reservation-side-col { display: grid; align-content: start; gap: 16px; }.detail-panel { overflow: hidden; }.trip-line { display: grid; grid-template-columns: 1fr 150px 1fr; align-items: center; gap: 15px; padding: 22px; }.trip-line > div > span, .trip-line strong, .trip-line small { display: block; }.trip-line > div > span { color: var(--orange); font-size: calc(11px * var(--panel-font-scale, 1)); font-weight: 900; }.trip-line strong { color: var(--navy); font-size: calc(17px * var(--panel-font-scale, 1)); }.trip-line small { color: var(--muted); font-size: calc(12px * var(--panel-font-scale, 1)); }.trip-line > i { display: flex; align-items: center; gap: 6px; color: var(--muted); font-style: normal; }.trip-line > i span { width: 10px; height: 10px; flex: 0 0 auto; background: #fff; border: 2px solid var(--orange); border-radius: 50%; }.trip-line > i::before, .trip-line > i::after { flex: 1; content: ""; border-top: 1px dashed #bfc9d5; }.trip-line > i b { position: absolute; transform: translateY(-15px); font-size: calc(11px * var(--panel-font-scale, 1)); }.vehicle-detail { display: grid; grid-template-columns: 100px 1fr auto; align-items: center; gap: 14px; margin: 0 22px 22px; padding: 13px; background: #f6f8fb; border: 1px solid #e4e9ef; border-radius: 6px; }.vehicle-detail img { width: 100px; height: 70px; object-fit: cover; background: #fff; border-radius: 5px; }.vehicle-detail span, .vehicle-detail strong, .vehicle-detail small { display: block; }.asset-label { color: var(--orange)!important; font-size: calc(11px * var(--panel-font-scale, 1)) !important; font-weight: 900; }.vehicle-detail strong { color: var(--navy); font-size: calc(15px * var(--panel-font-scale, 1)); }.vehicle-detail small { color: var(--muted); font-size: calc(12px * var(--panel-font-scale, 1)); }.vehicle-detail button { color: var(--navy); background: transparent; border: 0; font-size: calc(12px * var(--panel-font-scale, 1)); font-weight: 900; }
.client-grid { display: grid; grid-template-columns: 1.15fr .95fr .9fr; align-items: center; padding: 22px; }.client-profile { display: flex; align-items: center; gap: 12px; }.big-avatar { width: 48px; height: 48px; font-size: calc(16px * var(--panel-font-scale, 1)); }.client-profile strong, .client-profile small, .client-profile .vip-label { display: block; }.client-profile strong { color: var(--navy); font-size: calc(15px * var(--panel-font-scale, 1)); }.client-profile small { color: var(--muted); font-size: calc(12px * var(--panel-font-scale, 1)); }.vip-label { width: fit-content; margin-top: 4px; padding: 2px 6px; color: #8a5310; background: #fff0d6; border-radius: 3px; font-size: calc(10px * var(--panel-font-scale, 1)); font-weight: 900; }.contact-list { padding: 0 20px; border-right: 1px solid var(--line); border-left: 1px solid var(--line); }.contact-list p { display: flex; align-items: center; gap: 7px; margin: 5px 0; color: #47566b; font-size: calc(12px * var(--panel-font-scale, 1)); }.contact-list p span { color: var(--orange); }.document-list { padding-left: 20px; }.document-list p { margin: 5px 0; }.document-list span, .document-list strong { display: block; }.document-list span { color: var(--muted); font-size: calc(11px * var(--panel-font-scale, 1)); }.document-list strong { color: var(--navy); font-size: calc(12px * var(--panel-font-scale, 1)); }.notes-panel .note { display: flex; gap: 10px; padding: 17px 22px; }.note .avatar { width: 34px; height: 34px; flex: 0 0 auto; font-size: calc(12px * var(--panel-font-scale, 1)); }.note strong { color: var(--navy); font-size: calc(13px * var(--panel-font-scale, 1)); }.note strong small { color: var(--muted); font-weight: 500; }.note p { margin: 4px 0 0; color: #56657a; font-size: calc(12px * var(--panel-font-scale, 1)); }
.reservation-side-col .panel-head { padding: 17px; }.payment-panel { padding-bottom: 14px; }.bill-list { display: grid; gap: 8px; padding: 16px 17px; }.bill-list div, .bill-total, .payment-state > div:first-child, .to-pay { display: flex; justify-content: space-between; }.bill-list span { color: var(--muted); font-size: calc(12px * var(--panel-font-scale, 1)); }.bill-list strong { color: var(--navy); font-size: calc(13px * var(--panel-font-scale, 1)); }.bill-total { margin: 0 17px; padding: 13px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }.bill-total span { color: var(--navy); font-weight: 900; }.bill-total strong { color: var(--navy); font-size: calc(17px * var(--panel-font-scale, 1)); }.payment-state { margin: 14px 17px; }.payment-state span { color: var(--muted); font-size: calc(12px * var(--panel-font-scale, 1)); }.payment-state strong { color: var(--green); font-size: calc(15px * var(--panel-font-scale, 1)); }.payment-state small { color: var(--muted); font-size: calc(11px * var(--panel-font-scale, 1)); }.to-pay { flex-wrap: wrap; margin: 0 17px 12px; padding: 12px; background: #fff2ea; border-radius: 5px; }.to-pay span { color: #955028; font-size: calc(12px * var(--panel-font-scale, 1)); }.to-pay strong { color: #8e3d12; }.to-pay small { flex-basis: 100%; color: #b06a43; font-size: calc(11px * var(--panel-font-scale, 1)); }.payment-panel > .button { width: calc(100% - 34px); margin-inline: 17px; }.deposit-panel { display: flex; align-items: center; justify-content: space-between; padding: 17px; }.deposit-panel span, .deposit-panel strong, .deposit-panel small { display: block; }.deposit-panel > div > span { color: var(--muted); font-size: calc(12px * var(--panel-font-scale, 1)); }.deposit-panel strong { color: var(--navy); font-size: calc(17px * var(--panel-font-scale, 1)); }.deposit-panel small { color: var(--muted); font-size: calc(11px * var(--panel-font-scale, 1)); }.contact-panel { padding: 17px; }.contact-panel > strong { display: block; margin-bottom: 10px; color: var(--navy); font-size: calc(13px * var(--panel-font-scale, 1)); }.contact-panel > div { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }.contact-panel a { padding: 8px; color: var(--navy); background: #f4f7fa; border: 1px solid var(--line); border-radius: 4px; text-align: center; font-size: calc(11px * var(--panel-font-scale, 1)); font-weight: 800; }

.notification-drawer { position: fixed; z-index: 120; top: var(--topbar); right: 0; bottom: 0; width: 340px; padding: 0 17px; background: #fff; border-left: 1px solid var(--line); box-shadow: -15px 0 45px rgba(6,41,91,.12); transform: translateX(105%); transition: transform .25s ease; }.notification-drawer.open { transform: none; }.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; border-bottom: 1px solid var(--line); }.drawer-head strong, .drawer-head small { display: block; }.drawer-head strong { color: var(--navy); }.drawer-head small { color: var(--muted); font-size: calc(12px * var(--panel-font-scale, 1)); }.drawer-close { background: transparent; border: 0; font-size: calc(24px * var(--panel-font-scale, 1)); }.notification-item { display: grid; grid-template-columns: 36px 1fr; gap: 10px; padding: 15px 3px; border-bottom: 1px solid #edf0f4; }.notification-item.unread { box-shadow: inset 3px 0 var(--orange); padding-left: 10px; }.notification-item strong { color: var(--navy); font-size: calc(13px * var(--panel-font-scale, 1)); }.notification-item p { margin: 2px 0; color: var(--muted); font-size: calc(12px * var(--panel-font-scale, 1)); }.notification-item small { color: #9da6b2; font-size: calc(11px * var(--panel-font-scale, 1)); }
.modal-backdrop { position: fixed; z-index: 160; inset: 0; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(5,24,50,.62); }.modal-backdrop.open { display: flex; }.modal { width: min(600px,100%); max-height: calc(100vh - 40px); overflow-y: auto; background: #fff; border-radius: 8px; box-shadow: 0 28px 80px rgba(0,0,0,.25); }.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 21px 23px; border-bottom: 1px solid var(--line); }.modal-head h2 { margin: 2px 0 0; color: var(--navy); font-size: calc(21px * var(--panel-font-scale, 1)); }.modal-head button { background: transparent; border: 0; font-size: calc(24px * var(--panel-font-scale, 1)); }.modal form { padding: 23px; }.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }.modal label { display: block; color: #526175; font-size: calc(13px * var(--panel-font-scale, 1)); font-weight: 800; }.modal input, .modal select, .modal textarea { width: 100%; margin-top: 6px; padding: 10px 11px; color: var(--ink); background: #fff; border: 1px solid #cad4e0; border-radius: 5px; font-size: calc(15px * var(--panel-font-scale, 1)); }.modal textarea { resize: vertical; }.modal form > label { margin-top: 14px; }.modal-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 20px; }
.toast { position: fixed; z-index: 220; right: 24px; bottom: 24px; display: flex; align-items: center; gap: 10px; min-width: 230px; padding: 13px 16px; color: #fff; background: var(--navy); border-left: 4px solid var(--orange); border-radius: 6px; box-shadow: 0 12px 35px rgba(6,41,91,.25); transform: translateY(120px); opacity: 0; transition: .25s; }.toast.show { transform: none; opacity: 1; }.toast span { display: grid; width: 23px; height: 23px; place-items: center; color: #fff; background: var(--orange); border-radius: 50%; font-weight: 900; }.toast p { margin: 0; font-size: calc(14px * var(--panel-font-scale, 1)); font-weight: 800; }
.sidebar-overlay { display: none; }

/* Rozbudowane widoki panelu */
.status-rental { color: #174b7d; background: #e1edf9; }
.status-request { color: #9b4617; background: #ffe8db; }
.status-offer { color: #695199; background: #eee8fa; }
.status-service { color: #596576; background: #e8ebef; }
.status-late { color: #a7333e; background: #fbe3e5; }
.text-green { color: var(--green)!important; }
.text-orange { color: #b55c19!important; }
.text-red { color: #a93642!important; }
.muted-text { color: var(--muted); font-size: calc(12px * var(--panel-font-scale, 1)); }
.page-select { min-height: 40px; padding: 0 35px 0 12px; color: var(--navy); background: #fff; border: 1px solid #c9d3df; border-radius: 6px; font-size: calc(14px * var(--panel-font-scale, 1)); font-weight: 800; }

.summary-grid { display: grid; gap: 12px; margin-bottom: 16px; }
.summary-grid-four { grid-template-columns: repeat(4,1fr); }
.summary-grid-five { grid-template-columns: repeat(5,1fr); }
.metric-card { position: relative; min-height: 112px; padding: 16px 17px; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 7px; }
.metric-card::before { position: absolute; top: 0; right: 0; left: 0; height: 3px; content: ""; background: #dce3ec; }
.metric-card.feature-metric::before { background: var(--orange); }
.metric-card span, .metric-card strong, .metric-card small { display: block; }
.metric-card span { color: var(--muted); font-size: calc(12px * var(--panel-font-scale, 1)); font-weight: 800; text-transform: uppercase; }
.metric-card strong { margin: 7px 0 3px; color: var(--navy); font-size: calc(22px * var(--panel-font-scale, 1)); line-height: 1.1; }
.metric-card small { color: var(--muted); font-size: calc(11px * var(--panel-font-scale, 1)); }
.fleet-alert-metric { padding: 13px 14px 12px; overflow: visible; }
.fleet-alert-metric-head { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: start; column-gap: 8px; }
.metric-card .fleet-alert-metric-head > span { grid-column: 1/3; }
.metric-card .fleet-alert-metric-head > strong { grid-row: 2; grid-column: 1; margin: 7px 0 3px; font-size: calc(22px * var(--panel-font-scale, 1)); }
.metric-card .fleet-alert-metric-head > small { grid-row: 3; grid-column: 1; margin: 0; align-self: center; }
.fleet-alert-toggle { display: grid; width: 26px; height: 26px; grid-row: 3; grid-column: 2; place-items: center; align-self: center; padding: 0; color: var(--navy); background: #f7f9fb; border: 1px solid var(--line); border-radius: 5px; cursor: pointer; }
.metric-card .fleet-alert-toggle > span { color: inherit; font-size: calc(17px * var(--panel-font-scale, 1)); line-height: 1; text-transform: none; transition: transform .18s ease; }
.fleet-alert-toggle[aria-expanded="true"] > span { transform: rotate(180deg); }
.fleet-alert-toggle:hover { background: #eef3f8; border-color: #c7d2df; }
.fleet-alert-toggle:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.fleet-alert-summary-list { max-height: 154px; margin-top: 9px; overflow-y: auto; border-top: 1px solid var(--line); }
.fleet-alert-summary-item { display: grid; min-height: 43px; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 7px; padding: 7px 6px 7px 9px; color: inherit; border-bottom: 1px solid #edf1f5; text-decoration: none; box-shadow: inset 2px 0 #d1d9e3; }
.fleet-alert-summary-item--warning { box-shadow: inset 2px 0 var(--orange); }
.fleet-alert-summary-item--danger { box-shadow: inset 2px 0 #bd3f4b; }
.fleet-alert-summary-item div { min-width: 0; }
.fleet-alert-summary-item b { display: block; overflow: hidden; color: var(--navy); font-size: calc(11px * var(--panel-font-scale, 1)); text-overflow: ellipsis; white-space: nowrap; }
.metric-card .fleet-alert-summary-item small { margin-top: 2px; overflow: hidden; font-size: calc(10px * var(--panel-font-scale, 1)); text-overflow: ellipsis; white-space: nowrap; }
.fleet-alert-summary-item em { color: #68778a; font-size: calc(10px * var(--panel-font-scale, 1)); font-style: normal; font-weight: 800; white-space: nowrap; }
.fleet-alert-summary-item--warning em { color: #a15f12; }
.fleet-alert-summary-item--danger em { color: #a93642; }
.fleet-alert-summary-item[href]:hover, .fleet-alert-summary-item[href]:focus-visible { background: #f8fafc; outline: 0; }

.list-panel { overflow: hidden; }
.list-toolbar { display: flex; min-height: 65px; align-items: center; justify-content: space-between; gap: 15px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.standalone-toolbar { min-height: 58px; margin-bottom: 14px; padding: 9px 12px; background: #fff; border: 1px solid var(--line); border-radius: 7px; }
.segmented { display: flex; align-items: center; gap: 2px; padding: 3px; background: #f0f3f7; border-radius: 6px; }
.segmented button { min-height: 30px; padding: 6px 10px; color: var(--muted); background: transparent; border: 0; border-radius: 4px; font-size: calc(12px * var(--panel-font-scale, 1)); font-weight: 900; white-space: nowrap; }
.segmented button.active { color: var(--navy); background: #fff; box-shadow: 0 2px 8px rgba(6,41,91,.08); }
.segmented b { display: inline-grid; min-width: 17px; height: 17px; margin-left: 3px; place-items: center; background: #e5eaf0; border-radius: 9px; font-size: calc(11px * var(--panel-font-scale, 1)); }
.segmented button.active b { color: #fff; background: var(--navy); }
.toolbar-actions { display: flex; align-items: center; gap: 7px; }
.toolbar-actions select, .settings-form select, .builder-pane select { min-height: 34px; padding: 0 30px 0 10px; color: #4b596d; background: #fff; border: 1px solid var(--line); border-radius: 5px; font-size: calc(12px * var(--panel-font-scale, 1)); font-weight: 700; }
.compact-search { display: flex; height: 34px; min-width: 190px; align-items: center; gap: 5px; padding: 0 9px; color: var(--muted); background: #f7f9fb; border: 1px solid var(--line); border-radius: 5px; }
.compact-search input { min-width: 0; width: 100%; color: var(--ink); background: transparent; border: 0; outline: 0; font-size: calc(12px * var(--panel-font-scale, 1)); }
.wide-search { min-width: min(360px,42vw); }
.data-table table { min-width: 950px; }
.data-table td { height: 58px; vertical-align: middle; }
.data-table td > strong, .data-table td > small { display: block; }
.data-table tbody tr.selected-row { background: #fff8f3; box-shadow: inset 3px 0 var(--orange); }
.list-footer { display: flex; min-height: 52px; align-items: center; justify-content: space-between; padding: 9px 16px; color: var(--muted); border-top: 1px solid var(--line); font-size: calc(12px * var(--panel-font-scale, 1)); }
.list-footer div { display: flex; gap: 3px; }
.list-footer button { display: grid; width: 27px; height: 27px; place-items: center; background: #fff; border: 1px solid var(--line); border-radius: 4px; font-size: calc(12px * var(--panel-font-scale, 1)); }
.list-footer button.active { color: #fff; background: var(--navy); border-color: var(--navy); }

.fleet-card-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.fleet-card { overflow: hidden; }
.fleet-card:not(.add-fleet-card) { position: relative; display: flex; flex-direction: column; }
.fleet-card-link { position: absolute; z-index: 2; inset: 0; border-radius: inherit; }
.fleet-card-link:hover { box-shadow: inset 0 0 0 2px var(--orange); }
.fleet-card-link:focus-visible { outline: 3px solid var(--orange); outline-offset: -3px; }
.fleet-photo { position: relative; height: 150px; overflow: hidden; background: #edf1f5; }
.fleet-photo img { width: 100%; height: 100%; object-fit: cover; }
.fleet-photo > .status, .fleet-photo > i { position: absolute; top: 11px; left: 11px; font-style: normal; }
.fleet-placeholder { display: grid; place-items: center; background: linear-gradient(145deg,#e7edf3,#f8fafc); }
.fleet-placeholder > span { color: #b0bcc9; font-size: calc(35px * var(--panel-font-scale, 1)); font-weight: 900; letter-spacing: -.05em; }
.fleet-card-body { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 15px 16px 11px; }
.fleet-card-body h2 { margin: 2px 0 0; color: var(--navy); font-size: calc(16px * var(--panel-font-scale, 1)); }
.fleet-card-body p { margin: 1px 0 0; color: var(--muted); font-size: calc(12px * var(--panel-font-scale, 1)); }
.fleet-card-body button, .addon-card > button { background: transparent; border: 0; color: var(--muted); }
.fleet-specs { display: grid; grid-template-columns: repeat(3,1fr); margin: 0 16px; padding: 9px 0; color: var(--muted); border-top: 1px solid var(--line); font-size: calc(12px * var(--panel-font-scale, 1)); }
.fleet-specs span { display: flex; align-items: center; justify-content: center; gap: 3px; text-align: center; border-right: 1px solid var(--line); }
.fleet-specs span:last-child { border: 0; }
.fleet-specs b { color: var(--navy); }
.fleet-spec-icon { color: #62738a; font-size: calc(17px * var(--panel-font-scale, 1)); font-style: normal; font-weight: 700; line-height: 1; }
.fleet-next { display: flex; align-items: center; justify-content: space-between; margin-top: 5px; padding: 11px 16px; color: var(--muted); background: #f7f9fb; font-size: calc(12px * var(--panel-font-scale, 1)); }
.fleet-next-list { margin-top: auto; padding-top: 5px; }
.fleet-next-list .fleet-next { min-height: 37px; margin-top: 0; }
.fleet-next-list .fleet-next + .fleet-next { border-top: 1px solid rgba(169,54,66,.12); }
.fleet-next strong { color: var(--navy); }
.fleet-next.alert-next { color: #9a5a0c; background: #fff5e4; }
.fleet-next.alert-next strong { color: #9a5a0c; }
.fleet-next.alert-danger { color: #a93642; background: #fff0f1; }
.fleet-next.alert-danger strong { color: #a93642; }
.fleet-next.service-next { color: #5e6979; background: #eceff3; }
.add-fleet-card { display: grid; min-height: 288px; place-items: center; background: transparent; border: 1px dashed #b7c4d2; box-shadow: none; }
.add-fleet-card button { display: flex; align-items: center; flex-direction: column; padding: 30px; background: transparent; border: 0; }
.add-fleet-card button > span { display: grid; width: 45px; height: 45px; margin-bottom: 10px; place-items: center; color: var(--orange); background: var(--orange-soft); border-radius: 50%; font-size: calc(21px * var(--panel-font-scale, 1)); }
.add-fleet-card strong { color: var(--navy); font-size: calc(15px * var(--panel-font-scale, 1)); }
.add-fleet-card small { margin-top: 4px; color: var(--muted); font-size: calc(12px * var(--panel-font-scale, 1)); }

.split-layout { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(280px,.5fr); gap: 14px; }
.customer-table table { min-width: 800px; }
.customer-tag { display: inline-flex; padding: 3px 6px; color: #526175; background: #edf1f5; border-radius: 3px; font-size: calc(11px * var(--panel-font-scale, 1)); font-weight: 900; }
.customer-tag.good { color: #8a5310; background: #fff0d6; }
.customer-tag.vip { color: #704f11; background: #f6e9b5; }
.customer-preview { align-self: start; overflow: hidden; }
.preview-head { display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 10px; padding: 18px; border-bottom: 1px solid var(--line); }
.preview-head h2 { margin: 0; color: var(--navy); font-size: calc(15px * var(--panel-font-scale, 1)); }
.preview-head p { margin: 2px 0 0; color: var(--muted); font-size: calc(12px * var(--panel-font-scale, 1)); }
.preview-head button { background: transparent; border: 0; }
.preview-contact { display: grid; gap: 7px; padding: 15px 18px; color: #4d5d72; border-bottom: 1px solid var(--line); font-size: calc(12px * var(--panel-font-scale, 1)); }
.preview-contact a:first-child { color: var(--navy); font-weight: 800; }
.preview-stats { display: grid; grid-template-columns: repeat(3,1fr); padding: 14px 8px; background: #f8fafc; border-bottom: 1px solid var(--line); }
.preview-stats div { text-align: center; border-right: 1px solid var(--line); }
.preview-stats div:last-child { border: 0; }
.preview-stats strong, .preview-stats span { display: block; }
.preview-stats strong { color: var(--navy); font-size: calc(16px * var(--panel-font-scale, 1)); }
.preview-stats span { color: var(--muted); font-size: calc(10px * var(--panel-font-scale, 1)); }
.preview-section { padding: 15px 18px; border-bottom: 1px solid var(--line); }
.preview-section > div { display: flex; align-items: center; justify-content: space-between; margin-bottom: 9px; }
.preview-section > div > strong { color: var(--navy); font-size: calc(13px * var(--panel-font-scale, 1)); }
.preview-section button { color: var(--navy); background: transparent; border: 0; font-size: calc(11px * var(--panel-font-scale, 1)); font-weight: 900; }
.preview-section article { padding: 11px; background: #f6f8fb; border-radius: 5px; }
.preview-section h3 { margin: 8px 0 1px; color: var(--navy); font-size: calc(14px * var(--panel-font-scale, 1)); }
.preview-section p { margin: 0; color: var(--muted); font-size: calc(11px * var(--panel-font-scale, 1)); }
.plain-note { padding: 10px; background: #fff8f3; border-left: 3px solid var(--orange); }
.customers-module .customer-import-disabled { cursor: not-allowed; opacity: .58; }
.customers-module .customers-filter-form { margin: 0; }
.customers-module .customer-filter-panel { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); align-items: end; gap: 14px 10px; padding: 16px; background: #f7f9fc; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: inset 0 1px 0 rgba(255,255,255,.8); }
.customers-module .customer-filter-panel[hidden] { display: none; }
.customers-module .customer-filter-panel label { display: grid; gap: 6px; min-width: 0; color: #69788c; font-size: calc(10px * var(--panel-font-scale, 1)); font-weight: 900; letter-spacing: .02em; }
.customers-module .customer-filter-panel select { width: 100%; min-width: 0; height: 40px; padding: 0 32px 0 11px; color: #34445a; background-color: #fff; border: 1px solid #cfd9e5; border-radius: 6px; font-family: inherit; font-size: calc(12px * var(--panel-font-scale, 1)); font-weight: 700; transition: border-color .18s,box-shadow .18s,background-color .18s; }
.customers-module .customer-filter-panel select:hover { border-color: #aebdd0; }
.customers-module .customer-filter-panel select:focus { background-color: #fff; border-color: var(--navy-2); outline: 0; box-shadow: 0 0 0 3px rgba(20,73,126,.1); }
.customers-module .customer-filter-actions { display: flex; min-height: 47px; grid-column: 1/-1; align-items: flex-end; justify-content: flex-end; gap: 9px; padding-top: 11px; border-top: 1px solid #e2e8f0; }
.customers-module .customer-filter-actions a { display: inline-flex; min-height: 38px; align-items: center; justify-content: center; padding: 0 12px; color: #65758a; background: #fff; border: 1px solid #d6dee8; border-radius: 6px; font-size: calc(11px * var(--panel-font-scale, 1)); font-weight: 900; text-decoration: none; transition: color .18s,border-color .18s,background-color .18s; }
.customers-module .customer-filter-actions a:hover, .customers-module .customer-filter-actions a:focus-visible { color: var(--navy); background: #f1f5f9; border-color: #b9c6d5; outline: 0; }
.customers-module .customer-filter-actions .button { min-width: 112px; min-height: 38px; height: 38px; padding: 0 16px; border-radius: 6px; }
.customers-module .customer-table tbody tr { cursor: pointer; }
.customers-module .customer-table td:first-child > .table-avatar,
.customers-module .customer-table td:first-child > .customer-list-name { vertical-align: middle; }
.customers-module .customer-list-name { display: inline-grid; gap: 1px; }
.customers-module .customer-list-name strong, .customers-module .customer-list-name small { line-height: 1.25; }
.customers-module .customer-table tbody tr:focus-visible { outline: 2px solid var(--orange); outline-offset: -2px; }
.customers-module .customer-table tbody tr.archived-row { background: #f7f8fa; opacity: .7; }
.customers-module .customer-table td:last-child { text-align: center; }
.customers-module .customers-empty { padding: 42px 20px; color: var(--muted); text-align: center; cursor: default; }
.customers-module .customer-pagination a { display: grid; width: 28px; height: 28px; place-items: center; color: var(--navy); background: #fff; border: 1px solid var(--line); border-radius: 4px; font-size: calc(11px * var(--panel-font-scale, 1)); font-weight: 900; text-decoration: none; }
.customers-module .customer-pagination a.active { color: #fff; background: var(--navy); border-color: var(--navy); }
.customers-module .filter-button .customer-filter-count { margin-left: 3px; vertical-align: middle; }
.customers-module .preview-head { grid-template-columns: 48px minmax(0,1fr); }
.customers-module .customer-preview-actions { display: flex; grid-column: 1/-1; gap: 9px; padding: 14px 18px; background: #fff; }
.customers-module .customer-preview-actions .button { min-width: 0; min-height: 40px; flex: 1; padding: 9px 12px; font-size: calc(12px * var(--panel-font-scale, 1)); }
.customers-module .customer-archive-button { color: #a93642; background: #fff; border-color: #d9aab0; box-shadow: none; }
.customers-module .customer-archive-button:hover { color: #fff; background: #a93642; border-color: #a93642; }
.customers-module .customer-archive-button:focus-visible { outline-color: rgba(169,54,66,.35); }
.customers-module .customer-empty-state { padding: 12px; color: var(--muted); background: #f7f9fb; border: 1px dashed var(--line); border-radius: 5px; }
.customers-module .customer-modal { width: min(820px,100%); max-height: calc(100vh - 40px); overflow: hidden; }
.customers-module .customer-modal form { display: flex; min-height: 0; flex-direction: column; }
.customers-module .customer-form-scroll { display: grid; gap: 13px; max-height: calc(100vh - 245px); padding: 18px 23px; overflow-y: auto; }
.customers-module .customer-form-top { padding-bottom: 13px; border-bottom: 1px solid var(--line); }
.customers-module [data-customer-company-fields] > .form-grid:first-child { margin-bottom: 13px; }
.customers-module .customer-address-row { grid-template-columns: minmax(0,2fr) minmax(85px,.6fr) minmax(85px,.6fr); }
.customers-module .customer-note-field { display: grid; gap: 6px; color: #354257; font-size: calc(11px * var(--panel-font-scale, 1)); font-weight: 800; }
.customers-module .customer-note-field textarea { resize: vertical; }
.customers-module .customer-form-alert { margin: 14px 23px 0; }
.customers-module .customer-duplicate-warning { margin: 14px 23px 0; padding: 13px; color: #6d5015; background: #fff8e7; border: 1px solid #eed79a; border-radius: 6px; }
.customers-module .customer-duplicate-warning > strong { color: #62460e; font-size: calc(13px * var(--panel-font-scale, 1)); }
.customers-module .customer-duplicate-warning > p { margin: 4px 0 10px; font-size: calc(11px * var(--panel-font-scale, 1)); line-height: 1.5; }
.customers-module .customer-duplicate-warning article { display: grid; grid-template-columns: minmax(120px,1fr) minmax(160px,1.4fr) minmax(90px,.7fr); gap: 8px; padding: 7px 0; border-top: 1px solid #eedfb8; font-size: calc(10px * var(--panel-font-scale, 1)); }
.customers-module .customer-duplicate-warning article b { color: var(--navy); }
.customers-module .customer-duplicate-warning article small { color: var(--muted); }
.customers-module .customer-import-modal { width: min(680px,100%); overflow: hidden; }
.customers-module .customer-import-modal form { padding: 0; }
.customers-module .customer-import-body { display: grid; gap: 16px; max-height: calc(100vh - 205px); padding: 20px 23px; overflow-y: auto; }
.customers-module .customer-import-intro { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 14px; padding: 14px; background: #f7f9fc; border: 1px solid var(--line); border-radius: 7px; }
.customers-module .customer-import-intro strong { color: var(--navy); font-size: calc(13px * var(--panel-font-scale, 1)); }
.customers-module .customer-import-intro p { margin: 4px 0 0; color: var(--muted); font-size: calc(11px * var(--panel-font-scale, 1)); line-height: 1.5; }
.customers-module .customer-import-intro .button { min-height: 38px; padding: 8px 12px; font-size: calc(11px * var(--panel-font-scale, 1)); text-decoration: none; }
.customers-module .customer-import-intro-actions { display: flex; align-items: stretch; gap: 8px; }
.customers-module .customer-import-legend-toggle::after { display: inline-block; margin-left: 7px; content: "⌄"; transition: transform .18s; }
.customers-module .customer-import-legend-toggle[aria-expanded="true"]::after { transform: rotate(180deg); }
.customers-module .customer-import-legend { display: grid; gap: 11px; padding: 14px; background: #fff; border: 1px solid #dce4ed; border-radius: 7px; }
.customers-module .customer-import-legend[hidden] { display: none; }
.customers-module .customer-import-legend.is-animating { overflow: hidden; transform-origin: top; will-change: height,margin,opacity,transform; }
.customers-module .customer-import-legend header > strong { color: var(--navy); font-size: calc(13px * var(--panel-font-scale, 1)); }
.customers-module .customer-import-legend header > p { margin: 4px 0 0; color: var(--muted); font-size: calc(10px * var(--panel-font-scale, 1)); line-height: 1.5; }
.customers-module .customer-import-legend dl { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; margin: 0; }
.customers-module .customer-import-legend-item { min-width: 0; padding: 10px 11px; background: #f7f9fc; border: 1px solid #e3e9f0; border-radius: 6px; }
.customers-module .customer-import-legend-item--type { background: #fff8f3; border-color: #f5c9ab; }
.customers-module .customer-import-legend-item--wide { grid-column: 1/-1; }
.customers-module .customer-import-legend-item dt { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 5px; }
.customers-module .customer-import-legend-item dt code { max-width: 100%; overflow-wrap: anywhere; color: var(--navy); font: 800 calc(10px * var(--panel-font-scale, 1))/1.45 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace; }
.customers-module .customer-import-legend-item dt span { padding: 2px 6px; color: #8a3e08; background: #ffe4d2; border-radius: 10px; font-size: calc(8px * var(--panel-font-scale, 1)); font-weight: 900; text-transform: uppercase; letter-spacing: .04em; }
.customers-module .customer-import-legend-item dd { margin: 0; color: #59677a; font-size: calc(9px * var(--panel-font-scale, 1)); line-height: 1.55; }
.customers-module .customer-import-legend-item dd > p { margin: 7px 0 0; }
.customers-module .customer-import-allowed-values { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; }
.customers-module .customer-import-allowed-values b { color: #7d4a25; font-size: calc(9px * var(--panel-font-scale, 1)); }
.customers-module .customer-import-allowed-values code { padding: 3px 7px; color: #fff; background: var(--green); border-radius: 4px; font: 900 calc(9px * var(--panel-font-scale, 1))/1.3 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace; }
.customers-module .customer-import-location { display: grid; gap: 6px; }
.customers-module .customer-import-location select { margin-top: 0; }
.customers-module .customer-import-upload { position: relative; display: grid; min-height: 142px; place-items: center; align-content: center; gap: 6px; padding: 22px; color: var(--navy); background: #fbfcfe; border: 2px dashed #bdcad8; border-radius: 8px; text-align: center; cursor: pointer; transition: border-color .18s,background-color .18s,box-shadow .18s; }
.customers-module .customer-import-upload:hover, .customers-module .customer-import-upload:focus-within, .customers-module .customer-import-upload.has-selection { background: #fff8f3; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(252,109,4,.08); }
.customers-module .customer-import-upload input[type="file"] { position: absolute; width: 1px; height: 1px; margin: 0; padding: 0; overflow: hidden; opacity: 0; pointer-events: none; }
.customers-module .customer-import-icon { display: grid; width: 45px; height: 37px; place-items: center; color: #fff; background: var(--green); border-radius: 5px; font-size: calc(11px * var(--panel-font-scale, 1)); font-weight: 900; }
.customers-module .customer-import-upload strong { font-size: calc(13px * var(--panel-font-scale, 1)); }
.customers-module .customer-import-upload small { max-width: 100%; overflow-wrap: anywhere; color: var(--muted); font-size: calc(10px * var(--panel-font-scale, 1)); font-weight: 600; }
.customers-module .customer-import-rules { margin: -4px 0 0; color: var(--muted); font-size: calc(10px * var(--panel-font-scale, 1)); line-height: 1.6; }
.customers-module .customer-import-alert > strong { display: block; }
.customers-module .customer-import-alert ol { display: grid; gap: 5px; margin: 9px 0 0; padding-left: 22px; font-size: calc(10px * var(--panel-font-scale, 1)); line-height: 1.45; }
.customers-module .customer-import-alert code { padding: 1px 4px; color: #742832; background: #ffe4e7; border-radius: 3px; font-size: inherit; }
.customers-module .customer-import-modal .modal-actions { margin: 0; padding: 16px 23px; border-top: 1px solid var(--line); }
.customers-module .customer-import-modal form[aria-busy="true"] { cursor: wait; opacity: .72; }

@media (max-width: 560px) {
    .customers-module .customer-import-intro { grid-template-columns: 1fr; }
    .customers-module .customer-import-intro-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
    .customers-module .customer-import-intro .button { width: 100%; padding-inline: 8px; }
    .customers-module .customer-import-legend dl { grid-template-columns: 1fr; }
    .customers-module .customer-import-legend-item--wide { grid-column: auto; }
    .customers-module .customer-import-body { padding-inline: 16px; }
    .customers-module .customer-import-modal .modal-actions { padding-inline: 16px; }
}

@media (min-width: 1181px) {
    .customers-module .customers-layout { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
    .customers-module .customers-layout > .list-panel { grid-column: span 3; }
    .customers-module .customers-layout > .list-panel:only-child { grid-column: 1/-1; }
}

.notice-bar, .online-status { display: flex; align-items: center; gap: 12px; margin-bottom: 15px; padding: 12px 15px; background: #e8f0fa; border: 1px solid #ccdced; border-radius: 7px; }
.notice-bar > span { display: grid; width: 28px; height: 28px; flex: 0 0 auto; place-items: center; color: #fff; background: var(--navy); border-radius: 50%; font-weight: 900; }
.notice-bar strong, .online-status strong { display: block; color: var(--navy); font-size: calc(13px * var(--panel-font-scale, 1)); }
.notice-bar p, .online-status p { margin: 1px 0 0; color: var(--muted); font-size: calc(11px * var(--panel-font-scale, 1)); }
.notice-bar button { margin-left: auto; color: var(--navy); background: transparent; border: 0; font-size: calc(12px * var(--panel-font-scale, 1)); font-weight: 900; }
.pricing-layout { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(340px,.85fr); gap: 14px; margin-bottom: 14px; }
.season-list { display: grid; }
.season-row { display: grid; grid-template-columns: 7px 1fr auto 12px; align-items: center; gap: 12px; padding: 15px 18px; background: #fff; border: 0; border-bottom: 1px solid var(--line); text-align: left; }
.season-row:last-child { border: 0; }
.season-row:hover, .season-row.active { background: #fff9f5; }
.season-row.active { box-shadow: inset 3px 0 var(--orange); }
.season-color { width: 7px; height: 34px; border-radius: 4px; }
.season-color.low { background: #6a9fd2; }.season-color.medium { background: #efaa38; }.season-color.high { background: var(--orange); }.season-color.special { background: #7756a2; }
.season-row strong, .season-row span { display: block; }
.season-row strong { color: var(--navy); font-size: calc(13px * var(--panel-font-scale, 1)); }
.season-row div span { color: var(--muted); font-size: calc(11px * var(--panel-font-scale, 1)); }
.season-row > b { color: var(--navy); font-size: calc(15px * var(--panel-font-scale, 1)); }.season-row b small { color: var(--muted); font-size: calc(10px * var(--panel-font-scale, 1)); font-weight: 500; }
.settings-form, .builder-pane { display: grid; gap: 14px; padding: 19px; }
.settings-form label, .builder-pane > label, .inline-setting > label { color: #526175; font-size: calc(12px * var(--panel-font-scale, 1)); font-weight: 800; }
.settings-form input:not([type="checkbox"]):not([type="radio"]), .builder-pane input:not([type="checkbox"]):not([type="radio"]), .inline-setting input, #company-profile-form select { width: 100%; min-height: 39px; margin-top: 5px; padding: 8px 10px; color: var(--ink); background: #fff; border: 1px solid #cbd5e0; border-radius: 5px; font-size: calc(13px * var(--panel-font-scale, 1)); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.input-suffix { position: relative; }.input-suffix > span { position: absolute; right: 10px; bottom: 10px; color: var(--muted); font-size: calc(12px * var(--panel-font-scale, 1)); }.input-suffix input { padding-right: 55px!important; }
.price-extra-fees { display: grid; gap: 11px; padding: 12px; background: #f8fafc; border: 1px solid var(--line); border-radius: 6px; }
.form-section-head strong, .form-section-head small { display: block; }
.form-section-head strong { color: var(--navy); font-size: calc(13px * var(--panel-font-scale, 1)); }
.form-section-head small { margin-top: 2px; color: var(--muted); font-size: calc(11px * var(--panel-font-scale, 1)); }
.check-row { display: flex!important; align-items: flex-start; gap: 9px; padding: 10px; background: #f6f8fb; border-radius: 5px; }
.check-row input { margin-top: 2px; accent-color: var(--orange); }
.check-row strong, .check-row small { display: block; }.check-row strong { color: var(--navy); font-size: calc(12px * var(--panel-font-scale, 1)); }.check-row small { color: var(--muted); font-size: calc(11px * var(--panel-font-scale, 1)); font-weight: 500; }
.form-actions { display: flex; justify-content: space-between; padding-top: 7px; border-top: 1px solid var(--line); }
.discount-panel { overflow: hidden; }
.discount-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; padding: 15px; }
.discount-grid article { display: grid; grid-template-columns: auto auto 1fr auto auto 20px; align-items: center; gap: 7px; padding: 13px; background: #f8fafc; border: 1px solid var(--line); border-radius: 6px; }
.discount-grid span { color: var(--muted); font-size: calc(11px * var(--panel-font-scale, 1)); }.discount-grid strong { color: var(--navy); font-size: calc(14px * var(--panel-font-scale, 1)); }.discount-grid i { border-top: 1px dashed #bdc7d3; color: transparent; }.discount-grid b { color: var(--orange); font-size: calc(17px * var(--panel-font-scale, 1)); }.discount-grid button { background: transparent; border: 0; }

.addon-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.addon-card { position: relative; display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; padding: 17px; }
.addon-icon { display: grid; width: 48px; height: 48px; place-items: center; color: var(--orange); background: var(--orange-soft); border-radius: 7px; font-size: calc(20px * var(--panel-font-scale, 1)); }
.addon-main > div:first-child { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.addon-main h2 { margin: 0; color: var(--navy); font-size: calc(15px * var(--panel-font-scale, 1)); }
.addon-main p { min-height: 30px; margin: 6px 0 11px; color: var(--muted); font-size: calc(11px * var(--panel-font-scale, 1)); }
.addon-main > div:last-child strong, .addon-main > div:last-child small { display: block; }.addon-main > div:last-child strong { color: var(--navy); font-size: calc(16px * var(--panel-font-scale, 1)); }.addon-main > div:last-child small { color: var(--muted); font-size: calc(11px * var(--panel-font-scale, 1)); }
.inactive-card { opacity: .7; }

.document-layout { display: grid; grid-template-columns: 220px minmax(0,1fr); gap: 14px; }
.document-nav { align-self: start; padding: 8px; }
.document-nav button { display: grid; width: 100%; grid-template-columns: 30px 1fr; align-items: center; gap: 8px; padding: 10px; color: #536277; background: transparent; border: 0; border-radius: 5px; text-align: left; }
.document-nav button:hover, .document-nav button.active { color: var(--navy); background: #eef3f8; }
.document-nav button > span { display: grid; width: 28px; height: 28px; place-items: center; border: 1px solid var(--line); border-radius: 5px; }
.document-nav strong, .document-nav small { display: block; }.document-nav strong { font-size: calc(12px * var(--panel-font-scale, 1)); }.document-nav small { color: var(--muted); font-size: calc(10px * var(--panel-font-scale, 1)); }
.document-listing article { display: grid; grid-template-columns: 42px minmax(210px,1fr) 85px 60px max-content max-content; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.document-listing article:last-child { border: 0; }
.file-icon { display: grid; width: 34px; height: 38px; place-items: center; color: #fff; background: #c94f58; border-radius: 4px; font-size: calc(11px * var(--panel-font-scale, 1)); font-weight: 900; }.file-icon.doc { background: #426fa5; }
.document-listing strong { color: var(--navy); font-size: calc(13px * var(--panel-font-scale, 1)); }.document-listing p { margin: 1px 0 0; color: var(--muted); font-size: calc(11px * var(--panel-font-scale, 1)); }.document-listing > article > span:not(.file-icon):not(.status) { color: var(--muted); font-size: calc(11px * var(--panel-font-scale, 1)); }.document-listing button { background: transparent; border: 0; }

.report-grid { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(300px,.65fr); gap: 14px; margin-bottom: 14px; }
.chart-key { display: flex; gap: 12px; color: var(--muted); font-size: calc(11px * var(--panel-font-scale, 1)); }.chart-key span { display: flex; align-items: center; gap: 4px; }.chart-key i { width: 8px; height: 8px; background: var(--orange); border-radius: 2px; }.chart-key span:last-child i { background: #cfd8e3; }
.bar-chart { display: flex; height: 225px; align-items: flex-end; justify-content: space-around; gap: 7px; padding: 30px 20px 20px; background: repeating-linear-gradient(0deg,#fff 0,#fff 44px,#edf1f5 45px); }
.bar-chart > div { display: flex; width: 7%; height: 100%; align-items: flex-end; justify-content: center; gap: 2px; position: relative; }.bar-chart i, .bar-chart b { width: 8px; background: var(--orange); border-radius: 3px 3px 0 0; }.bar-chart b { background: #cfd8e3; }.bar-chart span { position: absolute; bottom: -16px; color: var(--muted); font-size: calc(10px * var(--panel-font-scale, 1)); }.bar-chart > div.active::after { position: absolute; inset: -14px -5px -16px; z-index: 0; content: ""; background: rgba(252,109,4,.05); border-radius: 4px; }.bar-chart i, .bar-chart b, .bar-chart span { z-index: 1; }
.donut-wrap { display: grid; grid-template-columns: 190px 1fr; align-items: center; gap: 24px; min-height: 225px; padding: 20px; }
.donut { --donut-ring: 32px; display: grid; position: relative; width: 180px; height: 180px; place-content: center; text-align: center; background: conic-gradient(var(--orange) 0 44%,var(--navy) 44% 75%,#5ba685 75% 94%,#d5dde7 94% 100%); border-radius: 50%; }
.donut::before { position: absolute; inset: var(--donut-ring); z-index: 0; content: ""; background: #fff; border-radius: 50%; box-shadow: 0 0 0 1px rgba(17,55,94,.08); }
.donut strong, .donut span { display: block; position: relative; z-index: 1; }
.donut strong { color: var(--navy); font-size: calc(28px * var(--panel-font-scale, 1)); line-height: 1; }
.donut span { margin-top: 5px; color: #526175; font-size: calc(12px * var(--panel-font-scale, 1)); font-weight: 700; line-height: 1.2; }
.source-list { display: grid; }
.source-list div { display: flex; min-height: 38px; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; color: #34465e; border-bottom: 1px solid #edf1f5; font-size: calc(13px * var(--panel-font-scale, 1)); font-weight: 650; }
.source-list div:last-child { border-bottom: 0; }
.source-list span { display: flex; min-width: 0; align-items: center; gap: 8px; }
.source-list i { flex: 0 0 auto; width: 10px; height: 10px; border-radius: 3px; }
.source-direct { background: var(--orange); }.source-widget { background: var(--navy); }.source-phone { background: #5ba685; }.source-other { background: #d5dde7; }.source-list strong { color: var(--navy); font-size: calc(13px * var(--panel-font-scale, 1)); font-weight: 800; white-space: nowrap; }
.occupancy-cell { display: flex; align-items: center; gap: 7px; }.occupancy-cell span { width: 70px; height: 5px; overflow: hidden; background: #e3e8ee; border-radius: 3px; }.occupancy-cell i { display: block; height: 100%; background: var(--green); }.occupancy-cell b { color: var(--green); font-size: calc(11px * var(--panel-font-scale, 1)); }

@media (min-width: 1181px) and (max-width: 1400px) {
    .reports-module .donut-wrap { grid-template-columns: 150px minmax(0,1fr); gap: 16px; padding-inline: 16px; }
    .reports-module .donut { --donut-ring: 27px; width: 150px; height: 150px; }
}

.reports-actions form { display: flex; }.reports-actions .button svg { width: 16px; height: 16px; margin-right: 7px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.reports-summary { margin-bottom: 14px; }.reports-summary .neutral { color: var(--muted); }
.reports-module .bar-chart { position: relative; }.reports-module .bar-chart > div { min-width: 0; }.reports-module .bar-chart i, .reports-module .bar-chart b { min-height: 1px; }
.report-chart-empty { position: absolute; inset: 50% 10px auto; margin: 0; color: var(--muted); text-align: center; transform: translateY(-50%); }
.source-list .source-other { background: #d5dde7; }
.reports-fleet td small { display: block; margin-top: 3px; color: var(--muted); }.reports-empty { padding: 36px 18px; color: var(--muted); text-align: center; }.reports-empty span { display: block; color: var(--orange); font-size: calc(28px * var(--panel-font-scale, 1)); }
.reports-error { display: grid; grid-template-columns: 48px 1fr; gap: 18px; align-items: start; padding: 24px; }.reports-error > span { display: grid; width: 48px; height: 48px; place-items: center; color: #a64912; background: #fff0e5; border-radius: 50%; font-size: calc(24px * var(--panel-font-scale, 1)); font-weight: 800; }.reports-error h1 { margin: 0 0 7px; color: var(--navy); }.reports-error p { margin: 0 0 18px; color: var(--muted); }

@media (max-width: 1180px) {
    .reports-fleet table { min-width: 0; }.reports-fleet th, .reports-fleet td { padding-right: 10px; padding-left: 10px; }
}

@media (max-width: 840px) {
    .reports-fleet .table-wrap { overflow: visible; }.reports-fleet table, .reports-fleet tbody, .reports-fleet tr, .reports-fleet td { display: block; width: 100%; min-width: 0; }.reports-fleet thead { display: none; }.reports-fleet tr { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 14px 15px; border-bottom: 1px solid var(--line); }.reports-fleet td { padding: 0; border: 0; }.reports-fleet td:first-child { grid-column: 1/-1; }.reports-fleet td[data-label]::before { display: block; margin-bottom: 3px; color: var(--muted); content: attr(data-label); font-size: calc(10px * var(--panel-font-scale, 1)); font-weight: 700; text-transform: uppercase; }.reports-fleet .occupancy-cell { align-items: flex-start; flex-direction: column; gap: 4px; }.reports-fleet .occupancy-cell span { width: 100%; }
}

.online-status { background: #ebf7f1; border-color: #c9e9da; }
.online-status > div { margin-right: auto; }
.status-dot { width: 9px; height: 9px; flex: 0 0 auto; background: var(--green); border: 2px solid #fff; border-radius: 50%; box-shadow: 0 0 0 3px rgba(23,133,96,.16); }
.online-status .copy-link { min-height: 31px; padding: 6px 10px; }
.online-status.is-inactive { background: #f5f7fa; border-color: var(--line); }.online-status.is-inactive .status-dot { background: #8c98a7; box-shadow: 0 0 0 3px rgba(110,123,139,.14); }
.switch { position: relative; display: inline-flex; width: 36px; height: 20px; flex: 0 0 auto; }.switch input { position: absolute; opacity: 0; }.switch > span, .switch > i { position: absolute; inset: 0; background: #bec7d2; border-radius: 12px; transition: .2s; }.switch > span::after, .switch > i::after { position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; content: ""; background: #fff; border-radius: 50%; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: .2s; }.switch input:checked + span, .switch input:checked + i { background: var(--green); }.switch input:checked + span::after, .switch input:checked + i::after { transform: translateX(16px); }.switch input:focus-visible + span, .switch input:focus-visible + i { outline: 3px solid rgba(252,109,4,.24); outline-offset: 2px; }.switch input:disabled + span, .switch input:disabled + i { cursor: not-allowed; opacity: .55; }
.builder-layout { display: grid; grid-template-columns: 360px minmax(0,1fr); gap: 14px; margin-bottom: 14px; }
.builder-settings { align-self: start; overflow: hidden; }
.builder-nav { display: grid; grid-template-columns: repeat(3,1fr); padding: 5px; background: #f1f4f8; border-bottom: 1px solid var(--line); }.builder-nav button { padding: 9px 4px; color: var(--muted); background: transparent; border: 0; border-radius: 4px; font-size: calc(11px * var(--panel-font-scale, 1)); font-weight: 900; }.builder-nav button.active { color: var(--navy); background: #fff; box-shadow: 0 2px 7px rgba(6,41,91,.08); }
.builder-pane { display: none; }.builder-pane.active { display: grid; }.builder-pane > label > select { width: 100%; margin-top: 5px; }
.upload-logo { display: flex; align-items: center; gap: 9px; margin-top: 5px; padding: 9px; border: 1px solid var(--line); border-radius: 5px; }.upload-logo .company-mark { width: 34px; height: 34px; }.upload-logo div { min-width: 0; margin-right: auto; }.upload-logo strong, .upload-logo small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.upload-logo strong { color: var(--navy); font-size: calc(11px * var(--panel-font-scale, 1)); }.upload-logo small { color: var(--muted); font-size: calc(10px * var(--panel-font-scale, 1)); }.upload-logo button, .upload-logo-action { color: var(--navy); background: transparent; border: 0; font-size: calc(11px * var(--panel-font-scale, 1)); font-weight: 900; }
.widget-module form { margin: 0; }.widget-alert { margin-bottom: 14px; }.widget-logo-preview { width: 34px; height: 34px; flex: 0 0 auto; object-fit: contain; background: #fff; border-radius: 4px; }.widget-module .upload-logo-action { text-decoration: none; }.widget-module .upload-logo-action:hover, .widget-module .upload-logo-action:focus-visible { color: var(--orange); text-decoration: underline; }.widget-module .field-has-error input, .widget-module .field-has-error select { border-color: #bd3f4b; box-shadow: 0 0 0 2px rgba(189,63,75,.08); }.widget-module .field-error { display: block; margin-top: 5px; color: #a93642; font-size: calc(10px * var(--panel-font-scale, 1)); font-weight: 800; line-height: 1.4; }
.company-logo-form { margin: 0; }.settings-field-label { display: block; color: #4d5c6d; font-size: calc(11px * var(--panel-font-scale, 1)); font-weight: 800; }.company-logo-upload { position: relative; }.company-logo-upload.is-editable { cursor: pointer; transition: border-color .16s ease, box-shadow .16s ease, background .16s ease; }.company-logo-upload.is-editable:hover { background: #f8fafc; border-color: #aebdce; }.company-logo-upload.is-editable:focus-within { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(252,109,4,.14); }.company-logo-preview { width: 34px; height: 34px; flex: 0 0 auto; object-fit: contain; background: #fff; border-radius: 4px; }.settings-form input.company-logo-file[data-company-logo-input] { position: absolute; width: 1px; min-height: 1px; height: 1px; margin: 0; padding: 0; overflow: hidden; opacity: 0; border: 0; pointer-events: none; }.upload-logo-action { flex: 0 0 auto; }.company-logo-upload.is-uploading { cursor: wait; opacity: .72; pointer-events: none; }
.color-input { display: grid; grid-template-columns: 40px 1fr; gap: 7px; margin-top: 5px; }.color-input input[type="color"] { width: 40px; height: 39px; padding: 2px; border: 1px solid var(--line); border-radius: 5px; }.color-input input[type="text"] { margin: 0; }
.widget-setting-section { display: grid; gap: 9px; }.widget-setting-title strong, .widget-setting-title small { display: block; }.widget-setting-title strong { color: var(--navy); font-size: calc(12px * var(--panel-font-scale, 1)); }.widget-setting-title small { margin-top: 2px; color: var(--muted); font-size: calc(10px * var(--panel-font-scale, 1)); font-weight: 500; line-height: 1.4; }
.widget-preset-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; }.widget-preset { min-width: 0; padding: 7px; color: var(--navy); background: #fff; border: 1px solid var(--line); border-radius: 7px; text-align: left; transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }.widget-preset:hover { border-color: #aab8c9; transform: translateY(-1px); }.widget-preset.active { border-color: var(--orange); box-shadow: 0 0 0 2px rgba(252,109,4,.12); }.widget-preset > strong, .widget-preset > small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.widget-preset > strong { margin-top: 6px; font-size: calc(10px * var(--panel-font-scale, 1)); }.widget-preset > small { margin-top: 1px; color: var(--muted); font-size: calc(8px * var(--panel-font-scale, 1)); }.widget-preset-swatch { position: relative; display: block; height: 34px; overflow: hidden; background: #06295b; border-radius: 4px; }.widget-preset-swatch::before { position: absolute; right: 6px; bottom: 6px; left: 6px; height: 8px; content: ""; background: #fff; border-radius: 2px; }.widget-preset-swatch i { position: absolute; right: 7px; bottom: 7px; z-index: 1; width: 14px; height: 6px; background: #fc6d04; border-radius: 1px; }.widget-preset-swatch.preset-light { background: #fff7ee; box-shadow: inset 0 0 0 1px #e8d9ca; }.widget-preset-swatch.preset-light::before { background: #fff; box-shadow: 0 1px 4px rgba(18,40,68,.12); }.widget-preset-swatch.preset-light i { background: #d85d16; }.widget-preset-swatch.preset-forest { background: #173b32; }.widget-preset-swatch.preset-forest i { background: #d9a441; }
.widget-background-card { display: grid; grid-template-columns: 66px minmax(0,1fr) auto; align-items: center; gap: 9px; padding: 8px; background: #f8fafc; border: 1px solid var(--line); border-radius: 7px; }.widget-background-card > img { width: 66px; height: 52px; object-fit: cover; border-radius: 5px; }.widget-background-card > div { min-width: 0; }.widget-background-card > div > strong { display: block; overflow: hidden; color: var(--navy); text-overflow: ellipsis; white-space: nowrap; font-size: calc(10px * var(--panel-font-scale, 1)); }.widget-background-modes { display: flex; flex-wrap: wrap; gap: 5px 10px; margin-top: 5px; }.widget-background-modes label { display: flex; align-items: center; gap: 3px; color: var(--muted); font-size: calc(9px * var(--panel-font-scale, 1)); font-weight: 700; }.widget-background-modes input { width: 13px; min-height: 13px; height: 13px; margin: 0; padding: 0; flex: 0 0 13px; accent-color: var(--orange); }.widget-background-upload { position: relative; min-height: 31px; padding: 6px 8px; overflow: hidden; font-size: calc(9px * var(--panel-font-scale, 1)); cursor: pointer; }.builder-pane input.widget-background-upload, .widget-background-upload input[type="file"] { position: absolute; width: 1px; min-height: 1px; height: 1px; margin: 0; padding: 0; overflow: hidden; opacity: 0; border: 0; pointer-events: none; }
.widget-color-details { overflow: hidden; background: #f8fafc; border: 1px solid var(--line); border-radius: 7px; }.widget-color-details summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px; cursor: pointer; list-style: none; }.widget-color-details summary::-webkit-details-marker { display: none; }.widget-color-details summary span strong, .widget-color-details summary span small { display: block; }.widget-color-details summary strong { color: var(--navy); font-size: calc(11px * var(--panel-font-scale, 1)); }.widget-color-details summary small { margin-top: 1px; color: var(--muted); font-size: calc(9px * var(--panel-font-scale, 1)); font-weight: 500; }.widget-color-details summary i { width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .15s ease; }.widget-color-details[open] summary i { transform: rotate(225deg); }.widget-color-details[open] summary { border-bottom: 1px solid var(--line); }.widget-color-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; padding: 10px; }.widget-color-grid label { color: #526175; font-size: calc(10px * var(--panel-font-scale, 1)); font-weight: 800; }.widget-color-grid .color-input { display: grid; grid-template-columns: 34px minmax(0,1fr); align-items: center; gap: 5px; }.widget-color-grid .color-input input[type="color"] { width: 34px; height: 34px; min-height: 34px; margin: 0; padding: 2px; }.widget-color-grid .color-input input[type="text"] { min-width: 0; min-height: 34px; height: 34px; margin: 0; padding: 6px; font-size: calc(10px * var(--panel-font-scale, 1)); }.widget-color-details > .field-error { margin: 0 10px 8px; }.widget-opacity { display: grid; gap: 6px; padding: 0 10px 10px; }.widget-opacity > span { display: flex; align-items: center; justify-content: space-between; color: #526175; font-size: calc(10px * var(--panel-font-scale, 1)); }.widget-opacity output { color: var(--navy); font-weight: 900; }.builder-pane .widget-opacity input[type="range"] { width: 100%; min-height: 18px; height: 18px; margin: 0; padding: 0; accent-color: var(--orange); background: transparent; border: 0; box-shadow: none; }.widget-compact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }.widget-compact-grid > label { color: #526175; font-size: calc(11px * var(--panel-font-scale, 1)); font-weight: 800; }.widget-compact-grid select { width: 100%; margin-top: 5px; }
.mini-check-list { display: grid; gap: 3px; }.mini-check-list label { display: flex; align-items: flex-start; gap: 8px; padding: 8px; color: var(--navy); background: #f7f9fb; border-radius: 4px; font-size: calc(12px * var(--panel-font-scale, 1)); }.mini-check-list input { margin-top: 2px; flex: 0 0 auto; accent-color: var(--orange); }.mini-check-list label > span { min-width: 0; }.mini-check-list strong, .mini-check-list small { display: block; }.mini-check-list strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: calc(11px * var(--panel-font-scale, 1)); }.mini-check-list small { margin-top: 2px; color: var(--muted); font-size: calc(9px * var(--panel-font-scale, 1)); font-weight: 500; }.mini-check-list input:disabled + span { opacity: .6; }.widget-vehicles-empty { margin: 0; padding: 11px; color: var(--muted); background: #f7f9fb; border-radius: 5px; font-size: calc(11px * var(--panel-font-scale, 1)); line-height: 1.5; }
.widget-stage { overflow: hidden; }.stage-toolbar { display: grid; min-height: 44px; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 13px; background: #edf1f5; border-bottom: 1px solid #d6dee7; }.stage-toolbar > div:first-child { display: flex; gap: 5px; }.stage-toolbar > div:first-child span { width: 7px; height: 7px; background: #c5ced9; border-radius: 50%; }.stage-toolbar > div:first-child span:first-child { background: #ec8c64; }.stage-toolbar strong { color: #667487; font-size: calc(11px * var(--panel-font-scale, 1)); }.stage-toolbar > button { justify-self: end; background: transparent; border: 0; }.device-switch { justify-self: end; display: flex; }.device-switch button { width: 29px; height: 27px; color: var(--muted); background: #fff; border: 1px solid #d0d8e2; }.device-switch button.active { color: var(--orange); background: #fff5ee; border-color: var(--orange); }
.website-preview { position: relative; isolation: isolate; min-height: 420px; padding: 0 5% 35px; overflow: hidden; background-image: var(--widget-background-image); background-position: center; background-size: cover; }.website-preview::before { position: absolute; z-index: -1; inset: 0; content: ""; background: var(--preview-overlay-color,#06295b); opacity: var(--preview-overlay-opacity,.78); }.fake-site-nav { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; border-bottom: 1px solid color-mix(in srgb,var(--preview-heading-color,#fff) 24%,transparent); }.fake-logo { max-width: 185px; overflow: hidden; color: var(--preview-heading-color,#fff); text-overflow: ellipsis; white-space: nowrap; font-size: calc(11px * var(--panel-font-scale, 1)); font-weight: 900; line-height: 1; letter-spacing: .08em; }.fake-logo b { color: var(--preview-color,var(--orange)); font-size: calc(15px * var(--panel-font-scale, 1)); }.widget-fake-logo { width: auto; height: 34px; object-fit: contain; }.fake-site-nav div { display: flex; gap: 20px; }.fake-site-nav i { width: 38px; border-top: 3px solid var(--preview-body-color,#dce6f3); opacity: .65; }.fake-hero { padding: 48px 0 80px; color: var(--preview-heading-color,#fff); text-shadow: 0 2px 14px rgba(0,0,0,.18); }.fake-hero > span { color: var(--preview-color,var(--orange)); font-size: calc(11px * var(--panel-font-scale, 1)); font-weight: 900; letter-spacing: .13em; }.fake-hero h2 { max-width: 520px; margin: 7px 0; color: inherit; font-size: calc(clamp(25px,3vw,43px) * var(--panel-font-scale, 1)); line-height: .98; }.fake-hero p { margin: 0; color: var(--preview-body-color,#dce6f3); font-size: calc(13px * var(--panel-font-scale, 1)); }
.embedded-widget { margin-top: -35px; padding: 17px; background: #fff; border-radius: 8px; box-shadow: 0 16px 40px rgba(2,17,37,.25); }.embedded-widget h3 { margin: 0 0 11px; color: var(--navy); font-size: calc(17px * var(--panel-font-scale, 1)); }.embedded-widget > div { display: grid; grid-template-columns: 1fr 1fr .8fr auto; gap: 7px; }.embedded-widget label { color: var(--muted); font-size: calc(10px * var(--panel-font-scale, 1)); font-weight: 800; text-transform: uppercase; }.embedded-widget input, .embedded-widget select { display: block; width: 100%; height: 35px; margin-top: 3px; padding: 0 8px; color: var(--navy); background: #f7f9fb; border: 1px solid var(--line); border-radius: var(--preview-radius,8px); font-size: calc(12px * var(--panel-font-scale, 1)); }.embedded-widget button { align-self: end; height: 35px; padding: 0 12px; color: var(--preview-button-text-color,#fff); background: var(--preview-color,var(--orange)); border: 0; border-radius: var(--preview-radius,8px); font-size: calc(11px * var(--panel-font-scale, 1)); font-weight: 900; }.embedded-widget > small { display: block; margin-top: 7px; color: #a0aab6; text-align: right; font-size: calc(9px * var(--panel-font-scale, 1)); }
.widget-stage.mobile-preview .website-preview { max-width: 390px; margin: 18px auto; padding-inline: 16px; }.widget-stage.mobile-preview .fake-site-nav div { display: none; }.widget-stage.mobile-preview .embedded-widget > div { grid-template-columns: 1fr; }.widget-stage.mobile-preview .fake-hero { padding-bottom: 55px; }
.embed-panel { display: grid; grid-template-columns: minmax(260px,.7fr) minmax(330px,1fr) auto; align-items: center; gap: 15px; padding: 14px 17px; }.embed-panel > div:first-child { display: flex; align-items: center; gap: 10px; }.embed-number { display: grid; width: 30px; height: 30px; flex: 0 0 auto; place-items: center; color: #fff; background: var(--navy); border-radius: 50%; font-weight: 900; }.embed-panel h2 { margin: 0; color: var(--navy); font-size: calc(14px * var(--panel-font-scale, 1)); }.embed-panel p { margin: 2px 0 0; color: var(--muted); font-size: calc(11px * var(--panel-font-scale, 1)); }.embed-panel pre { margin: 0; padding: 10px; overflow-x: auto; color: #d9e6f5; background: #071c38; border-radius: 5px; font: calc(10px * var(--panel-font-scale, 1))/1.5 monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.widget-embed-empty { grid-column: 2/-1; padding: 10px 12px; color: var(--muted); background: #f5f7fa; border-radius: 5px; font-size: calc(11px * var(--panel-font-scale, 1)); }

.booking-config-grid { display: grid; grid-template-columns: minmax(0,1.5fr) 330px; gap: 14px; }.booking-preview-card { overflow: hidden; }.booking-page-preview { background: #fff; }.booking-preview-nav { display: flex; align-items: center; gap: 8px; padding: 13px 20px; }.booking-preview-nav > div { margin-left: auto; color: var(--muted); font-size: calc(10px * var(--panel-font-scale, 1)); }.booking-preview-nav strong { color: var(--navy); font-size: calc(12px * var(--panel-font-scale, 1)); }.booking-preview-nav .company-mark { width: 27px; height: 27px; font-size: calc(11px * var(--panel-font-scale, 1)); }
.booking-preview-hero { position: relative; min-height: 420px; overflow: hidden; padding: 65px 7%; color: #fff; }.booking-preview-hero::after { position: absolute; z-index: 1; inset: 0; content: ""; background: linear-gradient(90deg,rgba(4,29,61,.93),rgba(4,29,61,.35)); }.booking-preview-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }.booking-preview-hero > div, .booking-preview-hero > form { position: relative; z-index: 2; }.booking-preview-hero > div > span { color: var(--orange); font-size: calc(10px * var(--panel-font-scale, 1)); font-weight: 900; letter-spacing: .13em; }.booking-preview-hero h2 { margin: 7px 0; font-size: calc(clamp(28px,4vw,48px) * var(--panel-font-scale, 1)); line-height: .95; }.booking-preview-hero p { opacity: .8; font-size: calc(12px * var(--panel-font-scale, 1)); }.booking-preview-hero form { position: absolute; right: 7%; bottom: 32px; left: 7%; display: grid; grid-template-columns: 1fr 1fr .8fr auto; gap: 7px; padding: 13px; color: var(--navy); background: #fff; border-radius: 6px; }.booking-preview-hero form label { color: var(--muted); font-size: calc(10px * var(--panel-font-scale, 1)); font-weight: 800; }.booking-preview-hero form input, .booking-preview-hero form select { display: block; width: 100%; height: 32px; margin-top: 2px; padding: 0 7px; color: var(--navy); background: #f7f9fb; border: 1px solid var(--line); border-radius: 4px; font-size: calc(11px * var(--panel-font-scale, 1)); }.booking-preview-hero form button { align-self: end; height: 32px; padding: 0 11px; color: #fff; background: var(--orange); border: 0; border-radius: 4px; font-size: calc(11px * var(--panel-font-scale, 1)); font-weight: 900; }
.config-side { align-self: start; overflow: hidden; }.url-input { display: flex; align-items: center; margin-top: 5px; overflow: hidden; border: 1px solid #cbd5e0; border-radius: 5px; }.url-input span { padding-left: 9px; color: var(--muted); white-space: nowrap; font-size: calc(11px * var(--panel-font-scale, 1)); }.url-input input { min-width: 0; margin: 0!important; border: 0!important; }.connected-field { display: flex; align-items: center; justify-content: space-between; margin-top: 5px; padding: 10px; background: #f7f9fb; border: 1px solid var(--line); border-radius: 5px; }.connected-field span { color: var(--navy); font-size: calc(11px * var(--panel-font-scale, 1)); }.connected-field b { color: var(--green); font-size: calc(10px * var(--panel-font-scale, 1)); }.image-field { position: relative; height: 86px; margin-top: 5px; overflow: hidden; border-radius: 5px; }.image-field img { width: 100%; height: 100%; object-fit: cover; }.image-field button { position: absolute; right: 7px; bottom: 7px; padding: 5px 8px; color: var(--navy); background: #fff; border: 0; border-radius: 3px; font-size: calc(10px * var(--panel-font-scale, 1)); font-weight: 900; }
.toggle-list { display: grid; }.toggle-list > label { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }.toggle-list > label:last-child { border: 0; }.toggle-list strong, .toggle-list small { display: block; }.toggle-list strong { color: var(--navy); font-size: calc(12px * var(--panel-font-scale, 1)); }.toggle-list small { color: var(--muted); font-size: calc(10px * var(--panel-font-scale, 1)); font-weight: 500; }

.settings-layout { display: grid; grid-template-columns: 220px minmax(0,1fr); gap: 14px; }.settings-nav { align-self: start; padding: 8px; }.settings-nav button, .settings-nav a { display: flex; width: 100%; min-height: 40px; align-items: center; gap: 8px; padding: 7px 9px; color: #536277; background: transparent; border: 0; border-radius: 5px; text-align: left; text-decoration: none; font-size: calc(12px * var(--panel-font-scale, 1)); font-weight: 800; }.settings-nav button:hover, .settings-nav button.active, .settings-nav a:hover, .settings-nav a.active { color: var(--navy); background: #eef3f8; }.settings-nav button > span, .settings-nav a > span { display: grid; width: 25px; height: 25px; flex: 0 0 auto; place-items: center; color: var(--navy); border: 1px solid var(--line); border-radius: 4px; }.settings-nav button b, .settings-nav a b { display: grid; min-width: 17px; height: 17px; margin-left: auto; place-items: center; color: #fff; background: var(--navy); border-radius: 9px; font-size: calc(10px * var(--panel-font-scale, 1)); }.settings-content { display: grid; gap: 14px; }.settings-section { overflow: hidden; }.inline-setting { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; padding: 0 19px 19px; }.payment-modes { display: grid; grid-template-columns: repeat(3,1fr); gap: 9px; padding: 18px 19px; }.payment-modes > label { position: relative; }.payment-modes > label > input { position: absolute; top: 10px; right: 10px; accent-color: var(--orange); }.payment-modes > label > span { display: flex; min-height: 135px; align-items: flex-start; flex-direction: column; padding: 14px; background: #f8fafc; border: 1px solid var(--line); border-radius: 6px; }.payment-modes > label.selected > span { background: #fff8f3; border-color: var(--orange); box-shadow: inset 0 0 0 1px var(--orange); }.payment-modes i { display: grid; min-width: 36px; height: 34px; margin-bottom: 13px; padding: 0 6px; place-items: center; color: var(--navy); background: #e8eef5; border-radius: 5px; font-size: calc(13px * var(--panel-font-scale, 1)); font-style: normal; font-weight: 900; }.payment-modes strong, .payment-modes small { display: block; }.payment-modes strong { color: var(--navy); font-size: calc(13px * var(--panel-font-scale, 1)); }.payment-modes small { margin-top: 3px; color: var(--muted); font-size: calc(11px * var(--panel-font-scale, 1)); }

.online-settings-head { min-height: 62px; }.online-settings-actions > div { display: flex; gap: 8px; }.online-settings-pane[hidden], .online-settings-actions > div[hidden], [data-deposit-settings][hidden], [data-location-delete-destination][hidden] { display: none!important; }.online-settings-pane { min-width: 0; }.online-settings-content { gap: 0; }.online-settings-content > form { min-width: 0; }.online-location-actions { display: flex; align-items: center; justify-content: flex-end; gap: 7px; }.online-location-list .saas-edit-action { justify-self: end; }.online-location-delete { min-height: 29px; padding: 5px 9px; color: #a93642; background: #fff; border: 1px solid #e8bcc1; border-radius: 4px; font-size: calc(11px * var(--panel-font-scale, 1)); font-weight: 900; }.online-location-delete:hover:not(:disabled), .online-location-delete:focus-visible:not(:disabled) { color: #fff; background: #bd3f4b; border-color: #bd3f4b; }.online-location-delete:disabled { cursor: not-allowed; opacity: .42; }.online-location-delete-modal { width: min(540px,100%); }.online-location-delete-warning { display: grid; grid-template-columns: 34px minmax(0,1fr); gap: 11px; padding: 13px; color: #71313a; background: #fff1f2; border: 1px solid #efc5c9; border-radius: 6px; }.online-location-delete-warning > span { display: grid; width: 30px; height: 30px; place-items: center; color: #fff; background: #bd3f4b; border-radius: 50%; font-weight: 900; }.online-location-delete-warning strong { display: block; color: #7f2631; font-size: calc(14px * var(--panel-font-scale, 1)); }.online-location-delete-warning p { margin: 3px 0; color: #71313a; font-size: calc(12px * var(--panel-font-scale, 1)); line-height: 1.45; }.online-location-delete-warning small { color: #8c4a52; font-size: calc(11px * var(--panel-font-scale, 1)); }.online-location-delete-submit { color: #fff; background: #bd3f4b; border-color: #bd3f4b; }.online-location-delete-submit:hover, .online-location-delete-submit:focus-visible { background: #a93642; border-color: #a93642; }.notification-settings-card + .notification-settings-card, .legal-settings-card + .consent-settings-card { margin-top: 14px; }
.online-location-form .settings-form { gap: 0; }.online-location-toggle-list { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 6px; }.fleet-form .online-location-toggle-list > label { display: flex; min-height: 62px; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 14px; cursor: pointer; }.fleet-form .online-location-toggle-list > label > span { margin-bottom: 0; }.online-location-toggle-list > label > span:first-child { min-width: 0; }.online-location-toggle-list > label > .switch { margin-left: auto; }.online-location-toggle-list .field-error { margin-top: 4px; color: #a93642; }
.notification-column-labels { display: grid; grid-template-columns: 45px 45px; gap: 8px; color: var(--muted); text-align: center; font-size: calc(10px * var(--panel-font-scale, 1)); font-weight: 900; text-transform: uppercase; }.notification-preference-list { padding: 0 18px 12px; }.notification-preference-row { display: grid; min-height: 55px; grid-template-columns: minmax(0,1fr) 45px 45px; align-items: center; gap: 8px; border-bottom: 1px solid var(--line); }.notification-preference-row:last-child { border-bottom: 0; }.notification-preference-copy { display: grid; min-width: 0; grid-template-columns: minmax(180px,300px) max-content; align-items: center; gap: 16px; }.notification-preference-copy > strong { color: var(--navy); font-size: calc(12px * var(--panel-font-scale, 1)); }.notification-preference-row > .switch { justify-self: center; }.notification-lead { display: inline-flex; min-height: 35px; align-items: stretch; margin: 0; overflow: hidden; color: var(--muted); background: #fff; border: 1px solid #cbd5e0; border-radius: 5px; font-size: calc(10px * var(--panel-font-scale, 1)); white-space: nowrap; transition: border-color .18s,box-shadow .18s; }.notification-lead:hover { border-color: #aebed0; }.notification-lead:focus-within { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(252,109,4,.1); }.notification-lead input { width: 64px!important; min-height: 33px!important; height: 33px!important; margin: 0!important; padding: 0 8px!important; color: var(--ink); background: #fff; border: 0!important; border-right: 1px solid var(--line)!important; border-radius: 0!important; outline: 0; box-shadow: none!important; text-align: center; font-size: calc(12px * var(--panel-font-scale, 1)); font-weight: 800; }.notification-lead > span { display: flex; min-height: 33px; align-items: center; padding: 0 9px; background: #f7f9fb; font-weight: 700; }.notification-lead:has(input:disabled) { cursor: not-allowed; opacity: .65; }.notification-lead:has(input:disabled):hover { border-color: #cbd5e0; }.notification-destinations { padding-bottom: 4px; }.notification-sms-note { margin: 0 18px 17px; padding: 9px 11px; color: #526175; background: #f4f7fa; border-radius: 5px; font-size: calc(11px * var(--panel-font-scale, 1)); }
.legal-status-badges { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 5px; }.legal-selector { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px 0; }.legal-selector .segmented { display: flex; gap: 3px; padding: 3px; background: #eef2f6; border-radius: 6px; }.legal-selector .segmented a { padding: 7px 10px; color: var(--muted); border-radius: 4px; text-decoration: none; font-size: calc(11px * var(--panel-font-scale, 1)); font-weight: 900; }.legal-selector .segmented a.active { color: var(--navy); background: #fff; box-shadow: 0 2px 7px rgba(6,41,91,.08); }.legal-languages { flex: 0 0 auto; }.legal-pdf-upload-wrap { padding: 14px 18px 18px; }.legal-pdf-upload { position: relative; display: grid; min-height: 78px; grid-template-columns: 46px minmax(0,1fr) auto; align-items: center; gap: 12px; padding: 14px; cursor: pointer; background: #f8fafc; border: 1px dashed #aebed0; border-radius: 7px; transition: border-color .18s,background .18s,box-shadow .18s; }.legal-pdf-upload:hover, .legal-pdf-upload:focus-within, .legal-pdf-upload.has-selection { background: #fff8f3; border-color: var(--orange); box-shadow: 0 0 0 2px rgba(252,109,4,.08); }.legal-pdf-upload:has(input:disabled) { cursor: default; opacity: .7; }.legal-pdf-upload:has(input:disabled):hover { background: #f8fafc; border-color: #aebed0; box-shadow: none; }.legal-pdf-upload input { position: absolute!important; width: 1px!important; height: 1px!important; margin: 0!important; padding: 0!important; opacity: 0; overflow: hidden; }.legal-pdf-icon, .legal-file-symbol { display: grid; width: 42px; height: 46px; place-items: center; color: #fff; background: #bd3f4b; border-radius: 5px; font-size: calc(10px * var(--panel-font-scale, 1)); font-weight: 900; letter-spacing: .4px; }.legal-pdf-copy { min-width: 0; }.legal-pdf-copy strong, .legal-pdf-copy small { display: block; }.legal-pdf-copy strong { overflow: hidden; color: var(--navy); text-overflow: ellipsis; white-space: nowrap; font-size: calc(13px * var(--panel-font-scale, 1)); }.legal-pdf-copy small { margin-top: 4px; color: var(--muted); font-size: calc(10px * var(--panel-font-scale, 1)); line-height: 1.45; }.legal-pdf-upload > b { padding: 8px 11px; color: var(--navy); background: #fff; border: 1px solid var(--line); border-radius: 4px; font-size: calc(11px * var(--panel-font-scale, 1)); font-weight: 900; }.legal-file-card { display: grid; min-height: 62px; grid-template-columns: 38px minmax(0,1fr) auto; align-items: center; gap: 11px; padding: 11px 13px; background: #f8fafc; border: 1px solid var(--line); border-radius: 6px; }.legal-file-draft { margin-top: 9px; background: #fffaf1; border-color: #ead8b4; }.legal-file-card .legal-file-symbol { width: 36px; height: 39px; font-size: calc(9px * var(--panel-font-scale, 1)); }.legal-file-card strong, .legal-file-card p { display: block; }.legal-file-card strong { overflow: hidden; color: var(--navy); text-overflow: ellipsis; white-space: nowrap; font-size: calc(12px * var(--panel-font-scale, 1)); }.legal-file-card p { margin: 3px 0 0; color: var(--muted); font-size: calc(10px * var(--panel-font-scale, 1)); }.legal-file-card a, .legal-history-list a { padding: 7px 9px; color: var(--navy); background: #fff; border: 1px solid var(--line); border-radius: 4px; text-decoration: none; font-size: calc(10px * var(--panel-font-scale, 1)); font-weight: 900; }.legal-file-card a:hover, .legal-history-list a:hover { color: var(--orange); border-color: var(--orange); }.legal-current-preview { padding: 0 18px 18px; }.form-section-head { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 7px; color: var(--navy); font-size: calc(12px * var(--panel-font-scale, 1)); }.form-section-head small { color: var(--muted); font-size: calc(10px * var(--panel-font-scale, 1)); font-weight: 500; }.legal-file-empty { padding: 14px; color: #6f7d8f; background: #f8fafc; border: 1px solid var(--line); border-radius: 6px; font-size: calc(11px * var(--panel-font-scale, 1)); }.legal-history { padding: 0 18px 18px; }.legal-history h3 { margin: 0 0 8px; color: var(--navy); font-size: calc(13px * var(--panel-font-scale, 1)); }.legal-history-list { overflow: hidden; border: 1px solid var(--line); border-radius: 6px; }.legal-history-list article { display: grid; grid-template-columns: 38px minmax(0,1fr) auto; align-items: center; gap: 11px; padding: 10px 12px; border-bottom: 1px solid var(--line); }.legal-history-list article:last-child { border-bottom: 0; }.legal-history-list strong { color: var(--navy); font-size: calc(11px * var(--panel-font-scale, 1)); }.legal-history-list strong i { color: var(--green); font-size: calc(10px * var(--panel-font-scale, 1)); font-style: normal; }.legal-history-list p { margin: 3px 0 0; color: var(--muted); font-size: calc(10px * var(--panel-font-scale, 1)); }.consent-list { display: grid; padding: 4px 18px 12px; }.consent-list article { display: grid; grid-template-columns: 32px minmax(0,1fr) auto; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); }.consent-list article:last-child { border-bottom: 0; }.consent-lock { display: grid; width: 30px; height: 30px; place-items: center; color: var(--green); background: #e8f5f0; border-radius: 50%; font-weight: 900; }.consent-list strong, .consent-list small { display: block; }.consent-list strong { color: var(--navy); font-size: calc(12px * var(--panel-font-scale, 1)); }.consent-list small { color: var(--muted); font-size: calc(10px * var(--panel-font-scale, 1)); }.marketing-copy { border-top: 1px solid var(--line); }.marketing-copy textarea { resize: vertical; }

.user-list article { display: grid; grid-template-columns: 38px minmax(170px,1.4fr) 90px minmax(110px,.8fr) minmax(100px,.7fr) 75px 25px; align-items: center; gap: 11px; padding: 13px 16px; border-bottom: 1px solid var(--line); }.user-list article:last-child { border: 0; }.user-list article.pending-user { background: #fbfcfd; opacity: .8; }.user-avatar { display: grid; width: 36px; height: 36px; place-items: center; color: var(--navy); background: #dceafa; border-radius: 50%; font-size: calc(12px * var(--panel-font-scale, 1)); font-weight: 900; }.owner-avatar { color: #884113; background: #ffddca; }.green-user { background: #d9efe7; }.blue-user { background: #e0e4f5; }.empty-user { color: var(--muted); background: #edf0f3; }.user-list strong, .user-list small { display: block; }.user-list strong { color: var(--navy); font-size: calc(12px * var(--panel-font-scale, 1)); }.user-list small { color: var(--muted); font-size: calc(10px * var(--panel-font-scale, 1)); }.user-list strong i { padding: 2px 5px; color: var(--orange); background: var(--orange-soft); border-radius: 3px; font-size: calc(10px * var(--panel-font-scale, 1)); font-style: normal; }.user-list button { background: transparent; border: 0; }.role-badge { width: fit-content; padding: 4px 7px; color: #244f7c; background: #e4edf7; border-radius: 4px; font-size: calc(11px * var(--panel-font-scale, 1)); font-weight: 900; }.owner-role { color: #8b481d; background: #ffeadf; }.staff-role { color: #176747; background: #e1f4ec; }.accounting-role { color: #654e8e; background: #eee9f8; }.permissions-preview { margin-top: 14px; overflow: hidden; }.role-grid { display: grid; grid-template-columns: repeat(4,1fr); }.role-grid article { padding: 16px; border-right: 1px solid var(--line); }.role-grid article:last-child { border: 0; }.role-grid article > span { display: grid; width: 30px; height: 30px; margin-bottom: 9px; place-items: center; color: var(--orange); background: var(--orange-soft); border-radius: 5px; font-size: calc(14px * var(--panel-font-scale, 1)); font-weight: 900; }.role-grid strong, .role-grid small { display: block; color: var(--navy); font-size: calc(13px * var(--panel-font-scale, 1)); }.role-grid p { min-height: 30px; margin: 4px 0 8px; color: var(--muted); font-size: calc(11px * var(--panel-font-scale, 1)); }.role-grid small { color: var(--muted); font-size: calc(10px * var(--panel-font-scale, 1)); }
.users-module .users-filter-form { margin: 0; }.user-list article.inactive-user { background: #f7f8fa; opacity: .72; }.status-inactive { color: #626d7b; background: #e8ebef; }.users-empty { padding: 45px 20px; color: var(--muted); text-align: center; font-size: calc(12px * var(--panel-font-scale, 1)); }.user-location-fieldset { margin: 18px 0 0; padding: 14px; border: 1px solid var(--line); border-radius: 6px; }.modal .user-location-fieldset label { margin: 0; }.user-all-locations { display: flex!important; align-items: center; gap: 9px; color: var(--navy)!important; }.modal .user-all-locations input, .modal .user-location-options input { width: 16px; height: 16px; margin: 0; flex: 0 0 auto; accent-color: var(--orange); }.user-location-options { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }.user-location-options label { display: flex!important; min-height: 37px; align-items: center; gap: 8px; padding: 8px 10px; background: #f8fafc; border: 1px solid var(--line); border-radius: 5px; }.user-location-options.is-disabled { opacity: .48; }.user-location-fieldset > small { display: block; margin-top: 9px; color: var(--muted); font-size: calc(10px * var(--panel-font-scale, 1)); }.roles-modal { width: min(720px,100%); }.roles-matrix { padding: 20px 23px 23px; }.roles-matrix > p { margin: 0 0 13px; color: var(--muted); font-size: calc(12px * var(--panel-font-scale, 1)); line-height: 1.55; }.roles-matrix article { display: grid; grid-template-columns: 115px 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }.roles-matrix article strong { color: var(--navy); font-size: calc(12px * var(--panel-font-scale, 1)); }.roles-matrix article span { color: #526175; font-size: calc(11px * var(--panel-font-scale, 1)); line-height: 1.55; }
.modal .field-has-error input, .modal .field-has-error select, .user-location-fieldset.field-has-error { border-color: #bd3f4b; box-shadow: 0 0 0 2px rgba(189,63,75,.08); }.modal .user-field-error { display: block; margin-top: 5px; color: #a93642; font-size: calc(11px * var(--panel-font-scale, 1)); font-weight: 800; }.modal .user-form-alert { margin-bottom: 14px; }
#confirm { position: fixed; z-index: 300; inset: 0; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(5,24,50,.62); }#confirm.open { display: flex; }#confirm_body { width: min(430px,100%); padding: 24px; background: #fff; border-radius: 8px; box-shadow: 0 28px 80px rgba(0,0,0,.25); }#confirm_text { color: var(--navy); font-size: calc(16px * var(--panel-font-scale, 1)); font-weight: 800; line-height: 1.5; }#confirm_but { display: flex; justify-content: flex-end; gap: 8px; margin-top: 20px; }#confirm_but button { min-width: 105px; }#confirm_but small { font-size: calc(11px * var(--panel-font-scale, 1)); font-weight: 900; }

.large-logo { max-width: 420px; }.location-list article { display: grid; grid-template-columns: 38px 1fr auto auto; align-items: center; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--line); }.location-list article:last-child { border: 0; }.location-symbol { display: grid; width: 36px; height: 36px; place-items: center; color: var(--navy); background: #e6edf5; border-radius: 6px; font-size: calc(14px * var(--panel-font-scale, 1)); font-weight: 900; }.location-symbol.main-location { color: #fff; background: var(--navy); }.location-list strong { color: var(--navy); font-size: calc(13px * var(--panel-font-scale, 1)); }.location-list strong i { padding: 2px 5px; color: #884113; background: #ffeadf; border-radius: 3px; font-size: calc(10px * var(--panel-font-scale, 1)); font-style: normal; }.location-list p { margin: 2px 0 0; color: var(--muted); font-size: calc(11px * var(--panel-font-scale, 1)); }.location-list > article > button { color: var(--navy); background: transparent; border: 0; font-size: calc(11px * var(--panel-font-scale, 1)); font-weight: 900; }
.integration-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 9px; padding: 15px; }.integration-grid article { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 9px; padding: 11px; background: #f8fafc; border: 1px solid var(--line); border-radius: 6px; }.integration-logo { display: grid; width: 38px; height: 38px; place-items: center; color: #fff; background: var(--navy); border-radius: 6px; font-size: calc(12px * var(--panel-font-scale, 1)); font-weight: 900; }.sms-logo { background: #4d946f; }.mail-logo { background: #d96736; }.integration-grid strong, .integration-grid small { display: block; }.integration-grid strong { color: var(--navy); font-size: calc(12px * var(--panel-font-scale, 1)); }.integration-grid small { color: var(--muted); font-size: calc(10px * var(--panel-font-scale, 1)); }.integration-grid button { color: var(--navy); background: #fff; border: 1px solid var(--line); border-radius: 4px; font-size: calc(11px * var(--panel-font-scale, 1)); font-weight: 900; }

.app-shell input:not([type="checkbox"]):not([type="radio"]),
.app-shell select,
.app-shell textarea,
.modal input:not([type="checkbox"]):not([type="radio"]),
.modal select,
.modal textarea { font-weight: 400; }

@media (max-width: 1180px) {
    .auth-shell { grid-template-columns: minmax(360px,42%) minmax(520px,58%); }.auth-story { padding-inline: 38px; }.auth-story-copy h2 { font-size: calc(35px * var(--panel-font-scale, 1)); }.auth-story-copy ul { font-size: calc(12px * var(--panel-font-scale, 1)); }
    :root { --sidebar-expanded: 218px; }.app-content { padding-inline: 22px; }.topbar { padding-inline: 20px; }.top-search { width: 28vw; }.location-switcher { display: none; }
    .dashboard-grid { grid-template-columns: 1fr; }.revenue-panel { min-height: 340px; }.stat-grid { grid-template-columns: 1fr 1fr; }.reservation-layout { grid-template-columns: minmax(0,1fr) 290px; }.client-grid { grid-template-columns: 1fr 1fr; }.document-list { grid-column: 1/-1; padding: 14px 0 0; }.contact-list { border-right: 0; }
    .summary-grid-five { grid-template-columns: repeat(3,1fr); }.fleet-card-grid, .addon-grid { grid-template-columns: 1fr 1fr; }.split-layout { grid-template-columns: 1fr; }.customer-preview { display: grid; grid-template-columns: 1fr 1fr; }.preview-head, .preview-contact { border-right: 1px solid var(--line); }.preview-stats { grid-column: 1/-1; }.pricing-layout { grid-template-columns: 1fr; }.discount-grid { grid-template-columns: 1fr; }.report-grid { grid-template-columns: 1fr; }.builder-layout { grid-template-columns: 290px 1fr; }.booking-config-grid { grid-template-columns: 1fr; }.config-side { display: grid; grid-template-columns: 220px 1fr; }.config-side .panel-head { border-right: 1px solid var(--line); border-bottom: 0; }
}

@media (max-width: 960px) {
    .auth-shell { display: none; grid-template-columns: 1fr; }.auth-story { display: none; }.auth-panel { min-height: 100vh; align-content: start; padding: 48px max(26px,8vw) 82px; }.auth-language-switch { position: relative; top: auto; right: auto; justify-self: end; margin-bottom: 12px; }.auth-mobile-brand { display: block; }.auth-view, .auth-view-wide { width: min(100%,650px); }.auth-footer { right: max(26px,8vw); left: max(26px,8vw); }
}

@media (max-width: 1079px) {
    .top-search { display: none; }
    .top-actions { margin-left: auto; }
}

@media (min-width: 841px) {
    html[data-sidebar-compact="true"] { --sidebar: 76px; }
    /* Keep the logo and header in their original positions when only the navigation shrinks. */
    html[data-sidebar-compact="true"] .sidebar-brand { width: var(--sidebar-expanded); }
    html[data-sidebar-compact="true"] .topbar { margin-left: calc(var(--sidebar-expanded) - var(--sidebar)); }
    html[data-sidebar-compact="true"] .sidebar-toggle { justify-content: center; padding-inline: 0; }
    html[data-sidebar-compact="true"] .sidebar-toggle svg { transform: rotate(180deg); }
    html[data-sidebar-compact="true"] .sidebar-toggle span,
    html[data-sidebar-compact="true"] .nav-label,
    html[data-sidebar-compact="true"] .side-link > span:not(.nav-icon) { display: none; }
    html[data-sidebar-compact="true"] .sidebar-nav { padding: 10px 8px; }
    html[data-sidebar-compact="true"] .nav-group { margin-bottom: 10px; }
    html[data-sidebar-compact="true"] .nav-group + .nav-group { padding-top: 10px; border-top: 1px solid rgba(255,255,255,.1); }
    html[data-sidebar-compact="true"] .side-link { position: relative; min-height: 46px; grid-template-columns: 30px; justify-content: center; gap: 0; padding: 8px 3px 8px 0; }
    html[data-sidebar-compact="true"] .side-link b { position: absolute; top: 1px; right: 0; min-width: 18px; height: 17px; padding-inline: 3px; font-size: 10px; }
}

@media (max-width: 840px) {
    .sidebar-toggle { display: none; }
    :root { --sidebar: 250px; }.sidebar { transform: translateX(-105%); transition: transform .25s; }.sidebar.open { transform: none; }.sidebar-close { display: block; }.sidebar-overlay { position: fixed; z-index: 70; inset: 0; display: block; background: rgba(4,20,42,.5); opacity: 0; visibility: hidden; transition: .25s; }.sidebar-overlay.open { opacity: 1; visibility: visible; }
    .app-main { margin-left: 0; }.mobile-menu { display: block; }.company-switcher { min-width: 160px; }.top-search { display: none; }.top-actions { margin-left: auto; }
    .app-content { padding: 24px 16px 40px; }.page-head, .reservation-head { align-items: flex-start; flex-direction: column; }.page-actions { width: 100%; }.page-actions .button { flex: 1; }
    .alert-grid { grid-template-columns: 1fr; }.calendar-toolbar { align-items: flex-start; flex-direction: column; }.calendar-filters { width: 100%; overflow-x: auto; }.reservation-layout { grid-template-columns: 1fr; }.reservation-side-col { grid-template-columns: 1fr 1fr; }.payment-panel { grid-row: span 2; }.workflow-progress { justify-content: flex-start; }.workflow-line { width: 50px; }
    .summary-grid-four, .summary-grid-five { grid-template-columns: 1fr 1fr; }.list-toolbar { align-items: flex-start; flex-direction: column; }.list-toolbar > * { max-width: 100%; }.segmented, .toolbar-actions { width: 100%; overflow-x: auto; }.standalone-toolbar { align-items: center; flex-direction: row; }.compact-search { min-width: 180px; }.fleet-card-grid { grid-template-columns: 1fr 1fr; }.document-layout, .settings-layout { grid-template-columns: 1fr; }.document-nav, .settings-nav { display: flex; overflow-x: auto; }.document-nav button, .settings-nav button, .settings-nav a { min-width: 150px; }.service-grid { grid-template-columns: 1fr; }.builder-layout { grid-template-columns: 1fr; }.builder-settings { display: grid; grid-template-columns: 180px 1fr; }.builder-nav { align-content: start; grid-template-columns: 1fr; border-right: 1px solid var(--line); border-bottom: 0; }.embed-panel { grid-template-columns: 1fr; }.widget-embed-empty { grid-column: auto; }.booking-preview-hero { min-height: 390px; }.payment-modes { grid-template-columns: 1fr; }.payment-modes > label > span { min-height: 92px; padding-right: 35px; }.user-list { overflow-x: auto; }.user-list article { min-width: 850px; }.role-grid { grid-template-columns: 1fr 1fr; }.role-grid article:nth-child(2) { border-right: 0; }.role-grid article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }.integration-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
    .topbar-account { width: 36px; min-width: 36px; max-width: 36px; flex-basis: 36px; padding: 2px; border-left: 0; border-radius: 50%; }
    .topbar-account-copy { display: none; }
    .topbar-account .avatar { width: 32px; height: 32px; }
}

@media (max-width: 560px) {
    .reports-actions { width: 100%; }.reports-actions form, .reports-actions label, .reports-actions select, .reports-actions .button { width: 100%; }.reports-actions .button { justify-content: center; }.reports-summary { grid-template-columns: 1fr 1fr; }
    .reports-module .bar-chart { height: 210px; overflow: hidden; padding-right: 6px; padding-left: 6px; }.reports-module .bar-chart > div { gap: 1px; }.reports-module .bar-chart i, .reports-module .bar-chart b { width: 5px; }.reports-module .bar-chart span { font-size: calc(9px * var(--panel-font-scale, 1)); }
    .auth-panel { padding: 28px 20px 76px; }.auth-panel::before { top: -200px; right: -200px; }.auth-mobile-brand { width: 155px; margin-bottom: 31px; }.auth-view, .auth-view-wide { width: 100%; }.auth-heading { margin-bottom: 22px; }.auth-heading h1 { font-size: calc(27px * var(--panel-font-scale, 1)); }.auth-back { margin-bottom: 24px; }.auth-form-row { grid-template-columns: 1fr; gap: 17px; }.auth-input { min-height: 48px; }.password-generate { max-width: 74px; overflow: hidden; text-overflow: ellipsis; }.auth-options { align-items: flex-start; }.auth-options .auth-text-button { max-width: 145px; text-align: right; }.auth-symbol { width: 58px; height: 58px; margin-bottom: 17px; }.otp-inputs { gap: 5px; }.otp-inputs input { border-radius: 6px; font-size: calc(20px * var(--panel-font-scale, 1)); }.auth-divider span { white-space: normal; text-align: center; }.auth-footer { right: 20px; bottom: 21px; left: 20px; flex-wrap: wrap; gap: 8px 15px; }
    :root { --topbar: 64px; }.topbar { height: var(--topbar); padding-inline: 12px; gap: 9px; }.company-switcher { min-width: 0; }.company-switcher small { display: none; }.company-mark { width: 32px; height: 32px; }.company-switcher strong { max-width: 100px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.icon-button { width: 38px; height: 38px; }.top-actions { gap: 5px; }
    .app-content { padding-top: 20px; }.page-head h1, .reservation-head h1 { font-size: calc(24px * var(--panel-font-scale, 1)); }.page-actions { flex-wrap: wrap; }.page-actions .button { min-width: 140px; }.stat-grid { grid-template-columns: 1fr 1fr; gap: 9px; }.stat-card { min-height: 143px; padding: 13px; }.stat-card > strong { font-size: calc(25px * var(--panel-font-scale, 1)); }.timeline { padding-inline: 12px; }.timeline-item { grid-template-columns: 34px 9px 1fr; gap: 6px; }.timeline-body { grid-template-columns: 37px 1fr auto; }.timeline-body .status { display: none; }.timeline-body button { grid-column: 3; }.panel-head { padding: 15px; }
    .compact-panel { grid-template-columns: 36px 1fr; }.compact-panel button { grid-column: 2; text-align: left; }.calendar-footer { flex-wrap: wrap; }.calendar-footer small { flex-basis: 100%; margin-left: 0; }.reservation-title-line { align-items: flex-start; flex-direction: column; gap: 5px; }.reservation-side-col { grid-template-columns: 1fr; }.trip-line { grid-template-columns: 1fr; }.trip-line > i { display: none; }.vehicle-detail { grid-template-columns: 72px 1fr; }.vehicle-detail img { width: 72px; height: 58px; }.vehicle-detail button { grid-column: 2; text-align: left; }.client-grid { grid-template-columns: 1fr; gap: 15px; }.contact-list { padding: 13px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); border-left: 0; }.document-list { padding-top: 0; }.notification-drawer { top: 0; width: min(100%,360px); }.form-grid { grid-template-columns: 1fr; }.toast { right: 12px; bottom: 12px; left: 12px; }
    .summary-grid-four, .summary-grid-five { grid-template-columns: 1fr 1fr; gap: 8px; }.metric-card { min-height: 102px; padding: 13px; }.metric-card strong { font-size: calc(18px * var(--panel-font-scale, 1)); }.standalone-toolbar { align-items: flex-start; flex-direction: column; }.fleet-card-grid, .addon-grid { grid-template-columns: 1fr; }.customer-preview { display: block; }.preview-head, .preview-contact { border-right: 0; }.form-row, .inline-setting { grid-template-columns: 1fr; }.pricing-layout { display: block; }.price-editor { margin-top: 12px; }.discount-grid article { grid-template-columns: auto auto 1fr auto auto 18px; }.document-nav, .settings-nav { margin-inline: -1px; }.document-listing { overflow-x: auto; }.document-listing article { min-width: 700px; }.report-grid { display: block; }.source-panel { margin-top: 12px; }.bar-chart { gap: 3px; padding-inline: 10px; }.donut-wrap { grid-template-columns: 115px 1fr; padding-inline: 13px; }.donut { --donut-ring: 20px; width: 108px; height: 108px; }.donut strong { font-size: calc(22px * var(--panel-font-scale, 1)); }.donut span { margin-top: 3px; font-size: calc(10px * var(--panel-font-scale, 1)); }.builder-settings { display: block; }.builder-nav { grid-template-columns: repeat(3,1fr); border-right: 0; border-bottom: 1px solid var(--line); }.website-preview { min-height: 460px; padding-inline: 14px; }.fake-site-nav div { display: none; }.fake-hero { padding-top: 35px; padding-bottom: 60px; }.embedded-widget > div { grid-template-columns: 1fr 1fr; }.embedded-widget button { grid-column: 1/-1; }.config-side { display: block; }.config-side .panel-head { border-right: 0; border-bottom: 1px solid var(--line); }.booking-preview-hero { min-height: 470px; padding: 42px 18px; }.booking-preview-nav > div { display: none; }.booking-preview-hero form { right: 18px; bottom: 18px; left: 18px; grid-template-columns: 1fr 1fr; }.booking-preview-hero form button { grid-column: 1/-1; }.payment-modes { padding: 14px; }.role-grid { grid-template-columns: 1fr; }.role-grid article { border-right: 0; border-bottom: 1px solid var(--line); }.role-grid article:last-child { border: 0; }.location-list article { grid-template-columns: 36px 1fr auto; }.online-location-actions { grid-column: 2/-1; justify-content: flex-start; }
}

@media (max-width: 520px) {
    .company-switcher > div { display: none; }
    .company-switcher { gap: 0; }
    .icon-button { width: 35px; height: 35px; }
    .top-actions { gap: 4px; }
}

/* Ustawienia firmy */
.company-settings-head { min-height: 62px; }
.company-settings-pane[hidden], .company-settings-actions [hidden] { display: none!important; }
.company-settings-pane { min-width: 0; }
.company-settings-content { gap: 0; }
#company-profile-form { display: grid; gap: 12px; }
.company-address-fields { display: grid; gap: 14px; }
.company-address-fields label { min-width: 0; }
.company-address-street { grid-template-columns: minmax(0,3fr) minmax(0,1fr) minmax(0,1fr); }
.company-address-locality { grid-template-columns: minmax(0,1fr) minmax(0,2fr) minmax(0,2fr); }
.settings-form label > small { display: block; margin-top: 5px; color: var(--muted); font-size: calc(10px * var(--panel-font-scale, 1)); font-weight: 500; }
.settings-inline-toggle { display: flex!important; min-height: 58px; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.settings-inline-toggle strong, .settings-inline-toggle small { display: block; }
.settings-inline-toggle strong { color: var(--navy); font-size: calc(12px * var(--panel-font-scale, 1)); }
.invoice-number-preview { display: flex; min-height: 58px; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 14px; background: #f4f7fa; border: 1px solid var(--line); border-radius: 6px; }
.invoice-number-preview small { color: var(--muted); font-size: calc(10px * var(--panel-font-scale, 1)); font-weight: 800; text-transform: uppercase; }
.invoice-number-preview strong { color: var(--navy); font-size: calc(17px * var(--panel-font-scale, 1)); overflow-wrap: anywhere; }
.settings-transfer-head { display: grid; gap: 3px; margin-top: 4px; padding-top: 16px; border-top: 1px solid var(--line); }
.settings-transfer-head strong { color: var(--navy); font-size: calc(13px * var(--panel-font-scale, 1)); }
.settings-transfer-head small { color: var(--muted); font-size: calc(10px * var(--panel-font-scale, 1)); line-height: 1.5; }
.invoice-notes-field { display: block; min-width: 0; }
.invoice-notes-field textarea { display: block; width: 100%; min-height: 100px; margin-top: 5px; padding: 9px 10px; resize: vertical; color: var(--ink); background: #fff; border: 1px solid #cbd5e0; border-radius: 5px; font-size: calc(13px * var(--panel-font-scale, 1)); line-height: 1.5; }
.integration-settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.integration-settings-card { display: grid; align-content: start; overflow: hidden; }
.integration-settings-card--wide { grid-column: 1/-1; }
.integration-settings-card > header { display: grid; min-height: 78px; grid-template-columns: 42px minmax(0,1fr) auto; align-items: center; gap: 11px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.integration-settings-card > header h2, .integration-settings-card > header p { margin: 0; }
.integration-settings-card > header h2 { color: var(--navy); font-size: calc(14px * var(--panel-font-scale, 1)); }
.integration-settings-card > header p { margin-top: 3px; color: var(--muted); font-size: calc(10px * var(--panel-font-scale, 1)); line-height: 1.4; }
.integration-settings-card > footer { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; padding: 0 18px 18px; }
.integration-api-note { display: flex; align-items: flex-start; gap: 10px; margin: 0 18px 18px; padding: 12px 14px; color: #405b7c; background: #f2f6fc; border: 1px solid #dce6f3; border-radius: 8px; }
.integration-api-note-icon { flex: 0 0 20px; width: 20px; height: 20px; margin-top: 1px; color: var(--navy); }
.integration-api-note > p { min-width: 0; margin: 0; font-size: calc(12px * var(--panel-font-scale, 1)); line-height: 1.6; overflow-wrap: anywhere; }

/* Konto właściciela */
.account-profile .saas-screen-header { margin-bottom: 20px; }
.account-profile .saas-screen-header h1 { font-size: calc(28px * var(--panel-font-scale, 1)); }
.account-profile .saas-settings-card { gap: 16px; padding: 24px; }
.account-profile .saas-form input { min-height: 42px; padding: 10px 12px; font-size: calc(13px * var(--panel-font-scale, 1)); }
.account-profile .saas-form > button { width: auto; justify-self: start; min-height: 42px; font-size: calc(12px * var(--panel-font-scale, 1)); }
.account-profile ~ .saas-screen { margin-top: 20px; }
body[data-screen="account"] .saas-settings-card > h2 { margin: 0; color: var(--navy); font-size: calc(17px * var(--panel-font-scale, 1)); line-height: 1.4; }
body[data-screen="account"] .saas-settings-card > p { margin: 0; font-size: calc(12px * var(--panel-font-scale, 1)); line-height: 1.75; }
body[data-screen="account"] .saas-settings-card .auth-check { display: flex; align-items: flex-start; gap: 10px; font-size: calc(12px * var(--panel-font-scale, 1)); font-weight: 500; line-height: 1.6; }
body[data-screen="account"] .saas-settings-card .auth-check input { width: 17px; height: 17px; min-height: 17px; flex: 0 0 auto; margin: 2px 0 0; padding: 0; }
body[data-screen="account"] .saas-settings-card > form { display: grid; justify-items: start; gap: 14px; }
.two-factor-settings { margin-top: 20px; }
.two-factor-card { display: grid; align-content: start; gap: 18px; padding: 24px; overflow-wrap: anywhere; }
.two-factor-card p { margin: 0; }
.two-factor-content { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: start; gap: 28px; }
.two-factor-content--pending { grid-template-columns: minmax(0,1fr) minmax(0,360px); }
.two-factor-summary, .two-factor-controls { display: grid; min-width: 0; align-content: start; gap: 16px; }
.two-factor-content--pending .two-factor-controls { padding-left: 28px; border-left: 1px solid var(--line); }
.two-factor-content--ready .two-factor-controls { align-self: center; }
.two-factor-header { display: grid; grid-template-columns: 44px minmax(0,1fr) auto; align-items: center; gap: 14px; }
.two-factor-header h2 { margin: 0; color: var(--navy); font-size: calc(17px * var(--panel-font-scale, 1)); font-weight: 800; line-height: 1.4; }
.two-factor-icon { display: grid; width: 44px; height: 44px; flex: 0 0 auto; place-items: center; color: var(--navy); background: #edf3fa; border-radius: 12px; }
.two-factor-icon svg { width: 24px; height: 24px; }
.two-factor-status { display: inline-flex; width: fit-content; align-items: center; gap: 7px; padding: 6px 10px; color: #536277; background: #f0f3f7; border-radius: 20px; font-size: calc(11px * var(--panel-font-scale, 1)); font-weight: 750; line-height: 1.4; }
.two-factor-status i { width: 6px; height: 6px; flex: 0 0 auto; background: currentColor; border-radius: 50%; }
.two-factor-status--enabled { color: #116a4a; background: var(--green-soft); }
.two-factor-description { max-width: 76ch; color: #536277; font-size: calc(12px * var(--panel-font-scale, 1)); line-height: 1.75; }
.two-factor-email { display: flex; min-width: 0; align-items: center; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.two-factor-email > svg { width: 20px; height: 20px; flex: 0 0 auto; color: #536277; }
.two-factor-email > div { display: grid; min-width: 0; gap: 4px; }
.two-factor-email span { color: #536277; font-size: calc(11px * var(--panel-font-scale, 1)); }
.two-factor-email strong { color: var(--ink); font-size: calc(13px * var(--panel-font-scale, 1)); font-weight: 650; overflow-wrap: anywhere; }
.two-factor-form { display: grid; gap: 14px; margin: 0; }
.two-factor-form label { display: grid; gap: 9px; color: var(--navy); font-size: calc(12px * var(--panel-font-scale, 1)); font-weight: 750; }
.two-factor-form .otp-fieldset { min-width: 0; }
.two-factor-form .otp-fieldset legend { margin-bottom: 9px; padding: 0; color: var(--navy); font-size: calc(12px * var(--panel-font-scale, 1)); font-weight: 750; }
.two-factor-form .otp-inputs { gap: 8px; }
.two-factor-form .otp-inputs input { height: 58px; min-height: 0; margin: 0; padding: 0; aspect-ratio: auto; border-color: #b9c8da; font-size: calc(26px * var(--panel-font-scale, 1)); font-weight: 650; font-variant-numeric: tabular-nums; }
.two-factor-form .two-factor-help { margin: 0; color: #536277; font-size: calc(12px * var(--panel-font-scale, 1)); line-height: 1.65; }
.two-factor-card .two-factor-form { width: min(100%,420px); }
.two-factor-card .two-factor-form > .button, .two-factor-toggle .button { justify-self: start; min-height: 42px; padding: 11px 18px; font-size: calc(12px * var(--panel-font-scale, 1)); white-space: normal; }
.two-factor-toggle { margin: 0; }
.two-factor-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 20px; }
.two-factor-text-button { min-height: 40px; padding: 8px 0; color: var(--navy); background: transparent; border: 0; font-size: calc(12px * var(--panel-font-scale, 1)); font-weight: 750; text-align: left; text-underline-offset: 4px; }
.two-factor-text-button:hover { text-decoration: underline; }
.two-factor-text-button:focus-visible { outline: 2px solid var(--navy); outline-offset: 4px; border-radius: 2px; }
.two-factor-text-button--muted { color: #536277; font-weight: 600; }
.two-factor-login > .two-factor-icon { width: 54px; height: 54px; margin-bottom: 20px; }
.two-factor-login > .two-factor-icon svg { width: 28px; height: 28px; }
.two-factor-login .auth-heading h1 { margin-top: 0; font-size: calc(29px * var(--panel-font-scale, 1)); line-height: 1.25; letter-spacing: -.025em; }
.two-factor-login .two-factor-form > .button { width: 100%; margin-top: 4px; }
.two-factor-login .two-factor-actions { padding-top: 2px; }
@media (max-width: 1100px) {
    .two-factor-content { grid-template-columns: minmax(0,1fr); gap: 18px; }
    .two-factor-content--pending .two-factor-controls { padding-top: 18px; padding-left: 0; border-top: 1px solid var(--line); border-left: 0; }
}
@media (max-width: 680px) {
    .two-factor-header { grid-template-columns: 44px minmax(0,1fr); gap: 10px 12px; }
    .two-factor-status { grid-column: 2; }
}
@media (max-width: 560px) {
    .account-profile .saas-settings-card, .two-factor-card { padding: 20px; }
    .account-profile .saas-screen-header h1 { font-size: calc(25px * var(--panel-font-scale, 1)); }
    .two-factor-header h2 { font-size: calc(15px * var(--panel-font-scale, 1)); }
    .two-factor-login .auth-heading h1 { font-size: calc(25px * var(--panel-font-scale, 1)); }
    .two-factor-card .two-factor-form > .button { width: 100%; }
}
.saas-account-readonly input:disabled { color: #536277; background: #f3f6fa; border-color: #dfe5ed; cursor: not-allowed; opacity: 1; }
.smtp-connection-row { display: grid; grid-template-columns: minmax(0,1fr) 96px 150px; gap: 11px; }
.smtp-connection-row select { display: block; width: 100%; min-height: 39px; margin-top: 5px; }
.button-danger-ghost { min-height: 34px; padding: 7px 11px; color: #a93642; background: #fff; border: 1px solid #e4b9bf; border-radius: 5px; font-size: calc(11px * var(--panel-font-scale, 1)); font-weight: 900; }
.button-danger-ghost:hover, .button-danger-ghost:focus-visible { color: #fff; background: #b83e49; border-color: #b83e49; }
.integration-secret-note { margin: 0; color: var(--muted); font-size: calc(10px * var(--panel-font-scale, 1)); line-height: 1.5; }
.company-settings-page input[type="password"]::placeholder { color: #536277; letter-spacing: .16em; }

/* Integration configuration and the currently activated versions. */
.company-settings-pane[data-settings-pane="integrations"] { display: grid; gap: 20px; }
.integration-settings-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.integration-settings-card { min-width: 0; border-radius: 12px; }
.integration-settings-card > header { min-height: 92px; padding: 20px 22px; gap: 13px; }
.integration-settings-card > header h2 { font-size: calc(15px * var(--panel-font-scale, 1)); }
.integration-settings-card > header p { margin-top: 5px; color: #61738a; font-size: calc(11px * var(--panel-font-scale, 1)); line-height: 1.6; }
.integration-settings-card > header .status { padding: 5px 8px; font-size: calc(10px * var(--panel-font-scale, 1)); }
.integration-settings-card .settings-form { padding: 22px; gap: 18px; }
.integration-settings-card .settings-form input:not([type="checkbox"]):not([type="radio"]), .integration-settings-card .settings-form select { min-height: 44px; padding: 10px 12px; background: #fbfcfe; border-color: #cdd7e4; border-radius: 7px; font-weight: 500; }
.integration-settings-card .settings-form input:focus, .integration-settings-card .settings-form select:focus { background: #fff; border-color: var(--orange); }
.integration-settings-card > footer { padding: 0 22px 22px; gap: 9px; }
.integration-settings-card .integration-api-note { margin: 0 22px 22px; }
.integration-settings-card .integration-secret-note { font-size: calc(11px * var(--panel-font-scale, 1)); line-height: 1.6; }
.integration-settings-card .button, .integration-status-panel .button { min-height: 42px; padding: 10px 15px; font-size: calc(12px * var(--panel-font-scale, 1)); line-height: 1.5; box-shadow: none; text-shadow: none; white-space: normal; }
.integration-settings-card .button-primary, .integration-status-panel .button-primary { background: #c95000; border-color: #c95000; }
.integration-settings-card .button-primary:hover, .integration-status-panel .button-primary:hover { background: #ad4400; border-color: #ad4400; }
.integration-settings-card .button-danger-ghost { min-height: 42px; font-size: calc(11px * var(--panel-font-scale, 1)); font-weight: 650; }
.integration-settings-card .button:focus-visible, .integration-status-panel .button:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.operations-panel.integration-status-panel { margin: 0; padding: 0; overflow: hidden; border-radius: 12px; }
.integration-status-head { display: flex; align-items: flex-start; gap: 14px; padding: 24px; border-bottom: 1px solid var(--line); }
.integration-status-icon { display: grid; width: 40px; height: 40px; flex: 0 0 40px; place-items: center; color: var(--navy); background: #edf3fa; border-radius: 10px; }
.integration-status-icon svg, .integration-monitor-warning svg { width: 20px; height: 20px; flex: 0 0 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.integration-status-head > div { min-width: 0; }
.integration-status-panel .integration-status-head h2 { margin: 0; color: var(--navy); font-size: calc(17px * var(--panel-font-scale, 1)); line-height: 1.4; }
.integration-status-panel .integration-status-head p { margin: 6px 0 0; color: #61738a; font-size: calc(12px * var(--panel-font-scale, 1)); line-height: 1.7; }
.integration-status-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding: 24px; }
.integration-status-card { display: flex; min-width: 0; align-items: flex-start; flex-direction: column; padding: 18px; background: #f8fafc; border: 1px solid var(--line); border-radius: 10px; }
.integration-status-card header { display: flex; width: 100%; align-items: center; flex-wrap: wrap; gap: 10px; }
.integration-status-card .integration-logo { width: 32px; height: 32px; flex: 0 0 32px; font-size: calc(10px * var(--panel-font-scale, 1)); }
.integration-status-card h3 { min-width: 0; margin: 0; color: var(--navy); font-size: calc(13px * var(--panel-font-scale, 1)); font-weight: 750; line-height: 1.5; }
.integration-state { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; padding: 4px 7px; color: #61738a; background: #edf1f6; border-radius: 5px; font-size: calc(10px * var(--panel-font-scale, 1)); font-weight: 650; line-height: 1.6; }
.integration-state::before { width: 5px; height: 5px; flex: 0 0 5px; background: currentColor; border-radius: 50%; content: ""; }
.integration-state--active { color: #146747; background: #e3f3eb; }
.integration-status-card dl { width: 100%; margin: 16px 0 0; }
.integration-status-card dt { color: #61738a; font-size: calc(10px * var(--panel-font-scale, 1)); line-height: 1.6; }
.integration-status-card dd { margin: 4px 0 0; color: #334e6b; font-size: calc(12px * var(--panel-font-scale, 1)); font-weight: 650; line-height: 1.5; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.integration-environment { margin-top: 12px; padding: 4px 7px; color: #146747; background: #e3f3eb; border-radius: 5px; font-size: calc(10px * var(--panel-font-scale, 1)); font-weight: 650; line-height: 1.6; }
.integration-environment--sandbox { color: #88520f; background: #fff0d9; }
.integration-activate { width: 100%; margin-top: auto; padding-top: 16px; }
.integration-activate form { margin: 0; }
.integration-activate .button { width: 100%; }
.integration-portal-control { padding: 0 24px 22px; }
.integration-portal-control form { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin: 0; padding-top: 20px; border-top: 1px solid var(--line); }
.integration-portal-control .settings-inline-toggle { min-height: 42px; gap: 18px; padding: 0; border: 0; color: var(--navy); font-size: calc(12px * var(--panel-font-scale, 1)); font-weight: 650; }
.integration-portal-control .button { flex-shrink: 0; }
.integration-monitor { padding: 18px 24px; background: #f8fafc; border-top: 1px solid var(--line); }
.integration-monitor dl { display: flex; flex-wrap: wrap; gap: 10px 30px; margin: 0; }
.integration-monitor dl > div { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 10px; }
.integration-monitor dt { color: #61738a; font-size: calc(11px * var(--panel-font-scale, 1)); line-height: 1.6; }
.integration-monitor dd { margin: 0; color: var(--navy); font-size: calc(12px * var(--panel-font-scale, 1)); font-weight: 750; line-height: 1.6; font-variant-numeric: tabular-nums; }
.integration-status-panel .integration-monitor-warning { display: flex; align-items: flex-start; gap: 8px; margin: 12px 0 0; padding: 10px 12px; color: #805419; background: #fff4e3; border: 1px solid #f0dfc0; border-radius: 7px; font-size: calc(11px * var(--panel-font-scale, 1)); line-height: 1.7; }
.integration-monitor-warning svg { width: 17px; height: 17px; flex-basis: 17px; margin-top: 1px; }
@media (max-width: 1280px) {
    .integration-status-grid { grid-template-columns: minmax(0, 1fr); }
    .integration-settings-grid { grid-template-columns: minmax(0, 1fr); }
    .integration-settings-card--wide { grid-column: auto; }
}
@media (max-width: 560px) {
    .integration-status-head { padding: 18px; gap: 10px; }
    .integration-status-grid { padding: 18px; gap: 10px; }
    .integration-status-card { padding: 14px; }
    .integration-status-card dl { margin-top: 12px; }
    .integration-portal-control { padding: 0 18px 18px; }
    .integration-portal-control .settings-inline-toggle { width: 100%; }
    .integration-portal-control .button { width: 100%; }
    .integration-monitor { padding: 16px 18px; }
    .integration-monitor dl { flex-direction: column; gap: 10px; }
    .integration-settings-card > header { padding: 18px; }
    .integration-settings-card .settings-form { padding: 18px; }
    .integration-settings-card > footer { padding: 0 18px 18px; }
    .integration-settings-card .integration-api-note { margin: 0 18px 18px; }
    .smtp-connection-row { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 840px) {
    .company-settings-actions .button { width: 100%; }
    .integration-settings-grid { grid-template-columns: 1fr; }
    .integration-settings-card--wide { grid-column: auto; }
}

@media (max-width: 560px) {
    .company-settings-page .settings-nav a, .company-settings-page .settings-nav button { min-width: 142px; }
    .company-address-fields .form-row { grid-template-columns: minmax(0,1fr); }
    .company-settings-page .location-list article { grid-template-columns: 36px minmax(0,1fr) auto; }
    .company-settings-page .location-list .status { align-self: start; }
    .integration-settings-card > header { grid-template-columns: 40px minmax(0,1fr); }
    .integration-settings-card > header .status { grid-column: 2; justify-self: start; }
    .integration-settings-card > footer { justify-content: stretch; }
    .integration-settings-card > footer .button, .integration-settings-card > footer .button-danger-ghost { width: 100%; }
    .smtp-connection-row { grid-template-columns: 1fr; }
    .invoice-number-preview { align-items: flex-start; flex-direction: column; gap: 5px; }
}

@media (max-width: 840px) {
    .customers-module .customer-filter-panel { grid-template-columns: 1fr 1fr; }
    .customers-module .customer-filter-actions { grid-column: 1/-1; }
}

@media (max-width: 560px) {
    .customers-module .customer-filter-panel { grid-template-columns: 1fr; }
    .customers-module .customer-filter-actions { grid-column: auto; justify-content: space-between; }
    .customers-module .customer-address-row { grid-template-columns: 1fr; }
    .customers-module .customer-modal { max-height: calc(100vh - 16px); }
    .customers-module .customer-form-scroll { max-height: calc(100vh - 225px); padding-inline: 16px; }
    .customers-module .customer-form-alert, .customers-module .customer-duplicate-warning { margin-inline: 16px; }
    .customers-module .customer-duplicate-warning article { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
    .legal-settings-card .panel-head { gap: 10px; }.legal-status-badges { justify-content: flex-start; }.legal-selector { align-items: stretch; flex-direction: column; }.legal-selector .segmented { width: 100%; }.legal-selector .segmented a { flex: 1; text-align: center; }.legal-pdf-upload { grid-template-columns: 42px minmax(0,1fr); }.legal-pdf-upload > b { grid-column: 2; width: fit-content; }.legal-file-card, .legal-history-list article { grid-template-columns: 38px minmax(0,1fr); }.legal-file-card > a, .legal-history-list article > a { grid-column: 2; width: fit-content; }.form-section-head { align-items: flex-start; flex-direction: column; }.form-section-head small { overflow-wrap: anywhere; }
}

.online-settings-pane[data-settings-pane="payments"] { container: online-payments / inline-size; }
.online-settings-pane[data-settings-pane="payments"] .panel-head { padding: 14px 16px; }
.security-deposit-card { margin-top: 14px; }
.payment-memory-modes { display: grid; gap: 10px; padding: 14px 16px; }
.booking-payment-modes { grid-template-columns: repeat(3,minmax(0,1fr)); }
.security-deposit-modes { grid-template-columns: repeat(2,minmax(0,1fr)); }
.payment-memory-option { display: contents; }
.payment-memory-choice { position: relative; display: flex; grid-row: 1; align-items: flex-start; gap: 9px; min-width: 0; margin: 0; padding: 12px; background: #f8fafc; border: 1px solid var(--line); border-radius: 6px; cursor: pointer; transition: background .18s,border-color .18s,box-shadow .18s; }
.payment-memory-choice > input { width: 16px; height: 16px; flex: 0 0 auto; margin: 2px 0 0; accent-color: var(--orange); }
.payment-memory-choice > span { display: grid; min-width: 0; grid-template-columns: auto minmax(0,1fr); align-content: start; align-items: center; gap: 5px 7px; }
.payment-memory-choice i { display: inline-flex; min-width: 25px; height: 22px; align-items: center; justify-content: center; padding: 0 4px; color: var(--navy); background: #e8eef5; border-radius: 4px; font-size: calc(10px * var(--panel-font-scale, 1)); font-style: normal; font-weight: 900; }
.payment-memory-choice strong { color: var(--navy); font-size: calc(12px * var(--panel-font-scale, 1)); line-height: 1.4; }
.payment-memory-choice small { grid-column: 1/-1; color: var(--muted); font-size: calc(11px * var(--panel-font-scale, 1)); line-height: 1.45; }
.payment-memory-choice:has(input:checked) { background: #fff8f3; border-color: var(--orange); box-shadow: inset 0 0 0 1px var(--orange); }
.payment-memory-choice:focus-within { outline: 2px solid var(--orange); outline-offset: 2px; }
.payment-memory-choice:has(input:disabled) { opacity: .68; cursor: default; }
.payment-memory-fields { display: none; grid-column: 1/-1; grid-row: 2; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; padding: 12px; background: #f8fafc; border: 1px solid var(--line); border-radius: 6px; }
.payment-memory-option:has(.payment-memory-choice > input:checked) > .payment-memory-fields { display: grid; }
.payment-memory-value { display: grid; min-width: 0; align-content: start; gap: 6px; color: #526175; font-size: calc(11px * var(--panel-font-scale, 1)); font-weight: 800; }
.payment-memory-value > .input-suffix { display: flex; min-width: 0; align-items: center; overflow: hidden; background: #fff; border: 1px solid #cbd5e0; border-radius: 5px; }
.payment-memory-value .input-suffix > span { position: static; flex: 0 0 auto; padding: 0 10px; color: var(--muted); font-size: calc(11px * var(--panel-font-scale, 1)); font-weight: 600; white-space: nowrap; }
.payment-memory-value .input-suffix > input { width: 100%; min-width: 0; height: 38px; margin: 0; padding: 8px 10px!important; color: var(--ink); background: transparent; border: 0; border-radius: 0; font-size: calc(13px * var(--panel-font-scale, 1)); }
.payment-memory-value .input-suffix:focus-within { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(252,109,4,.1); }
.payment-memory-value .input-suffix > input:focus { outline: 0; box-shadow: none; }
.payment-memory-fields.payment-memory-empty { grid-template-columns: auto minmax(0,1fr); min-height: 87px; align-items: center; gap: 9px; color: var(--muted); }
.payment-memory-empty > span { display: grid; width: 25px; height: 25px; place-items: center; color: #13865f; background: #e6f5ef; border-radius: 50%; font-weight: 900; }
.payment-memory-empty small { font-size: calc(12px * var(--panel-font-scale, 1)); line-height: 1.45; }
@container online-payments (max-width: 580px) {
    .booking-payment-modes, .security-deposit-modes { grid-template-columns: minmax(0,1fr); }
    .payment-memory-choice, .payment-memory-fields { grid-row: auto; }
    .payment-memory-choice > span { column-gap: 8px; }
    .payment-memory-choice small { grid-column: 2; }
}
@container online-payments (max-width: 380px) {
    .payment-memory-fields { grid-template-columns: minmax(0,1fr); gap: 12px; }
}
.marketing-copy { padding: 16px 18px 18px; background: #f8fafc; }
.marketing-copy-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 11px; }
.settings-form .marketing-language-card { display: flex; min-width: 0; flex-direction: column; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 7px; transition: border-color .18s,box-shadow .18s,transform .18s; }
.settings-form .marketing-language-card:focus-within { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(252,109,4,.1); transform: translateY(-1px); }
.marketing-language-head { display: flex; min-width: 0; align-items: center; gap: 8px; margin-bottom: 9px; }
.marketing-language-head b { display: grid; width: 30px; height: 30px; flex: 0 0 auto; place-items: center; color: var(--navy); background: #edf3f9; border-radius: 5px; font-size: calc(10px * var(--panel-font-scale, 1)); letter-spacing: .04em; }
.marketing-language-head strong { overflow: hidden; color: var(--navy); text-overflow: ellipsis; white-space: nowrap; font-size: calc(12px * var(--panel-font-scale, 1)); }
.marketing-language-head small { margin-left: auto; color: var(--muted); font-size: calc(9px * var(--panel-font-scale, 1)); font-weight: 600; white-space: nowrap; }
.marketing-language-card textarea { width: 100%; min-height: 104px; margin: 0!important; padding: 10px; resize: vertical; color: var(--ink); background: #fbfcfe; border: 1px solid #cbd5e0; border-radius: 5px; font-size: calc(11px * var(--panel-font-scale, 1)); line-height: 1.5; }
.marketing-language-card textarea:focus { background: #fff; outline: 0; }
.marketing-language-card:has(textarea:disabled) { opacity: .68; }
.consent-settings-card:has(input[name="marketing_enabled"]:checked) .marketing-language-card:first-child .marketing-language-head b { color: #fff; background: var(--orange); }

@media (max-width: 560px) {
    .notification-preference-row { grid-template-columns: minmax(0,1fr) 38px 38px; gap: 4px; }
    .notification-preference-copy { grid-template-columns: minmax(0,1fr); gap: 5px; padding: 8px 0; }
    .notification-lead { justify-self: start; }
    .notification-lead input { width: 55px!important; }
    .notification-lead > span { padding-inline: 7px; }
    .marketing-copy { padding: 13px; }
    .marketing-copy-grid { grid-template-columns: 1fr; }
    .marketing-language-card textarea { min-height: 92px; }
}

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

/* Integracja Liverno: komunikaty i treści dynamiczne bez zmiany kierunku makiety. */
.saas-alert { margin: 0 0 17px; padding: 12px 14px; border: 1px solid; border-radius: 7px; font-size: calc(12px * var(--panel-font-scale, 1)); font-weight: 700; line-height: 1.55; }
.saas-alert--error { color: #9d303b; background: #fff0f1; border-color: #f0c5ca; }
.reservation-detail-module .reservation-error-link { display: inline-block; margin-left: 6px; color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.reservation-detail-module .reservation-error-link:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.saas-alert--success { color: #116a4a; background: #e9f7f1; border-color: #bfe4d5; }
.auth-view[data-auth-page="register"] > .saas-alert { white-space: nowrap; }
@media (max-width: 560px) { .auth-view[data-auth-page="register"] > .saas-alert { white-space: normal; } }
.auth-login-note a { color: var(--navy); font-weight: 900; }
.saas-legal-content { max-height: min(58vh,620px); padding-right: 12px; overflow: auto; color: #536277; font-size: calc(13px * var(--panel-font-scale, 1)); line-height: 1.7; }
.saas-legal-content h2 { margin: 22px 0 6px; color: var(--navy); font-size: calc(16px * var(--panel-font-scale, 1)); }
.saas-legal-content h2:first-child { margin-top: 0; }
.saas-legal-content p { margin: 0 0 10px; }
.app-content { overflow-x: hidden; }

.notification-item[href] { color: inherit; text-decoration: none; }
.notification-item--warning { padding-left: 10px; box-shadow: inset 3px 0 var(--orange); }
.notification-item--danger { padding-left: 10px; box-shadow: inset 3px 0 #bd3f4b; }
.notification-item--danger .compact-icon { color: #a93642; background: #fff0f1; }
.notification-item[href]:hover, .notification-item[href]:focus-visible { background: #f8fafc; outline: 0; }
.notification-empty { display: grid; min-height: 190px; place-items: center; align-content: center; color: var(--muted); text-align: center; }
.notification-empty > span { display: grid; width: 40px; height: 40px; margin-bottom: 8px; place-items: center; color: #238458; background: #eaf8f1; border-radius: 50%; font-weight: 900; }
.notification-empty p { margin: 0; font-size: calc(12px * var(--panel-font-scale, 1)); }

/* Moduł floty */
.fleet-module .page-actions .button[disabled] { cursor: not-allowed; opacity: .55; }
.fleet-limit-note { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 15px; padding: 12px 14px; color: #7b5513; background: #fff7e6; border: 1px solid #efd9a9; border-radius: 7px; }
.fleet-limit-note > span { margin-top: 1px; color: #b87517; font-size: calc(18px * var(--panel-font-scale, 1)); }
.fleet-limit-note strong { display: block; color: #754b0d; font-size: calc(12px * var(--panel-font-scale, 1)); }
.fleet-limit-note p { margin: 2px 0 0; font-size: calc(11px * var(--panel-font-scale, 1)); line-height: 1.5; }
.fleet-toolbar .view-mode { display: grid; width: 34px; height: 34px; flex: 0 0 auto; place-items: center; color: #69788b; background: #fff; border: 1px solid var(--line); border-radius: 5px; font-size: calc(16px * var(--panel-font-scale, 1)); }
.fleet-toolbar .view-mode.active { color: #fff; background: var(--navy); border-color: var(--navy); }
.fleet-card[hidden], .fleet-no-matches[hidden], .fleet-new-location[hidden] { display: none!important; }
.fleet-photo > i.status { z-index: 2; }
.add-fleet-card > a { display: flex; min-height: 100%; align-items: center; justify-content: center; flex-direction: column; padding: 30px; text-align: center; }
.add-fleet-card > a > span { display: grid; width: 45px; height: 45px; margin-bottom: 10px; place-items: center; color: var(--orange); background: var(--orange-soft); border-radius: 50%; font-size: calc(21px * var(--panel-font-scale, 1)); }
.fleet-no-matches, .fleet-empty-state { padding: 50px 24px; color: var(--muted); text-align: center; }
.fleet-no-matches { background: #fff; border: 1px dashed #bdc9d5; border-radius: 7px; font-size: calc(13px * var(--panel-font-scale, 1)); }
.fleet-empty-state { display: grid; min-height: 300px; place-items: center; align-content: center; }
.fleet-empty-state > span:first-child { display: grid; width: 58px; height: 58px; margin-bottom: 12px; place-items: center; color: var(--orange); background: var(--orange-soft); border-radius: 50%; font-size: calc(29px * var(--panel-font-scale, 1)); }
.fleet-empty-state h1, .fleet-empty-state h2 { margin: 0; color: var(--navy); font-size: calc(20px * var(--panel-font-scale, 1)); }
.fleet-empty-state p { max-width: 520px; margin: 7px auto 19px; font-size: calc(12px * var(--panel-font-scale, 1)); line-height: 1.6; }
.fleet-card-grid.is-list-view { grid-template-columns: 1fr; }
.fleet-card-grid.is-list-view .fleet-card:not(.add-fleet-card) { display: grid; grid-template-columns: minmax(180px,220px) minmax(230px,1fr) minmax(260px,.8fr) minmax(190px,.65fr); align-items: stretch; }
.fleet-card-grid.is-list-view .fleet-photo { height: 112px; }
.fleet-card-grid.is-list-view .fleet-card-body { align-items: center; }
.fleet-card-grid.is-list-view .fleet-specs { align-self: center; margin: 0; padding: 12px 10px; border-top: 0; border-right: 1px solid var(--line); border-left: 1px solid var(--line); }
.fleet-card-grid.is-list-view .fleet-next-list { display: flex; margin: 0; padding: 0; flex-direction: column; }
.fleet-card-grid.is-list-view .fleet-next { min-height: 0; margin: 0; flex: 1; }
.fleet-card-grid.is-list-view .add-fleet-card { min-height: 110px; }
.fleet-card-grid.is-list-view .add-fleet-card > a { flex-direction: row; gap: 12px; }
.fleet-card-grid.is-list-view .add-fleet-card > a > span { margin: 0; }

.fleet-edit-layout { display: grid; width: 100%; grid-template-columns: 1fr; align-items: start; gap: 18px; }
.fleet-edit-layout[data-active-tab="fleet-photo"] > .fleet-form,
.fleet-edit-layout[data-active-tab="fleet-documents"] > .fleet-form,
.fleet-edit-layout[data-active-tab="fleet-history"] > .fleet-form,
.fleet-edit-layout > .fleet-utility-form[hidden] { display: none!important; }
.fleet-form-tabs { display: flex; gap: 6px; padding: 6px; overflow-x: auto; }
.fleet-form-tabs[hidden], .fleet-tab-pane[hidden] { display: none!important; }
.fleet-form-tabs button { min-width: max-content; min-height: 52px; flex: 1 0 auto; padding: 10px 16px; color: #334b68; background: transparent; border: 0; border-radius: 6px; font: inherit; font-size: calc(13px * var(--panel-font-scale, 1)); font-weight: 700; white-space: nowrap; cursor: pointer; }
.fleet-form-tabs button:hover { color: var(--navy); background: #eef3f8; }
.fleet-form-tabs button.active { color: var(--navy); background: var(--orange-soft); box-shadow: inset 0 -4px 0 var(--orange); }
.fleet-form-tabs button:focus-visible { outline: 3px solid var(--navy); outline-offset: -3px; }
.fleet-tab-pane { display: grid; min-width: 0; gap: 14px; }
.fleet-form { display: grid; width: 100%; min-width: 0; max-width: none; gap: 14px; }
.fleet-form-section { overflow: hidden; }
.fleet-form-section > header { display: flex; align-items: flex-start; gap: 11px; padding: 16px 18px; background: #f8fafc; border-bottom: 1px solid var(--line); }
.fleet-form-section > header.fleet-section-header { align-items: center; }
.fleet-section-header > div { min-width: 0; flex: 1; }
.fleet-section-header > .button { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; margin-left: auto; white-space: nowrap; }
.fleet-section-header > label.button { cursor: pointer; }
.fleet-section-header > label.button:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.fleet-section-header > [hidden] { display: none!important; }
.fleet-form-section > header > span { display: grid; width: 32px; height: 32px; flex: 0 0 auto; place-items: center; color: var(--orange); background: var(--orange-soft); border-radius: 6px; font-size: calc(18px * var(--panel-font-scale, 1)); }
.fleet-form-section h2 { margin: 0; color: var(--navy); font-size: calc(14px * var(--panel-font-scale, 1)); }
.fleet-form-section header p { margin: 2px 0 0; color: var(--muted); font-size: calc(11px * var(--panel-font-scale, 1)); line-height: 1.5; }
.fleet-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 18px; }
.fleet-form-grid--three { grid-template-columns: repeat(3,1fr); }
.fleet-form label { display: grid; align-content: start; color: #526175; font-size: calc(12px * var(--panel-font-scale, 1)); font-weight: 800; }
.fleet-form label > span { margin-bottom: 5px; }
.fleet-form input:not([type="file"]), .fleet-form select { width: 100%; min-height: 42px; padding: 8px 10px; color: var(--ink); background: #fff; border: 1px solid #cbd5e0; border-radius: 5px; outline: 0; font-size: calc(13px * var(--panel-font-scale, 1)); }
.fleet-form input:focus, .fleet-form select:focus { border-color: #6f8eae; box-shadow: 0 0 0 3px rgba(33,78,123,.1); }
.fleet-form .has-error input, .fleet-form .has-error select { border-color: #d06c76; box-shadow: 0 0 0 2px rgba(183,53,65,.08); }
.fleet-form .field-error { margin-top: 5px; color: #a93642; font-size: calc(11px * var(--panel-font-scale, 1)); font-weight: 700; line-height: 1.4; }
.fleet-form .field-help { margin-top: 5px; color: var(--muted); font-size: calc(10px * var(--panel-font-scale, 1)); font-weight: 500; line-height: 1.4; }
.fleet-inspections { margin: 0 18px 18px; padding-top: 17px; border-top: 1px solid var(--line); }
.fleet-inspections-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 15px; }
.fleet-inspections-head h3 { margin: 0; color: var(--navy); font-size: calc(13px * var(--panel-font-scale, 1)); }
.fleet-inspections-head p { margin: 4px 0 0; color: var(--muted); font-size: calc(11px * var(--panel-font-scale, 1)); line-height: 1.5; }
.fleet-inspections-head .button { flex: 0 0 auto; }
.fleet-inspection-list { display: grid; gap: 10px; }
.fleet-inspection-row { display: grid; grid-template-columns: minmax(0,1fr) minmax(175px,.55fr) 36px; align-items: start; gap: 10px; }
/* Match the 12px label at line-height 1.5 and its 5px gap, including text size preferences. */
.fleet-inspection-remove { width: 36px; height: 42px; margin-top: calc(18px * var(--panel-font-scale, 1) + 5px); color: #a93642; background: #fff; border: 1px solid #e8bcc1; border-radius: 5px; font-size: calc(20px * var(--panel-font-scale, 1)); cursor: pointer; }
.fleet-inspection-remove:hover, .fleet-inspection-remove:focus-visible { color: #fff; background: #bd3f4b; border-color: #bd3f4b; }
.fleet-inspections > .field-error { display: block; margin: 0 0 12px; }
#LIVERNO_tooltip.saas-tooltip { position: fixed; z-index: 10000; max-width: min(320px, calc(100vw - 16px)); padding: 7px 10px; color: #fff; background: var(--navy); border-radius: 5px; box-shadow: 0 3px 10px rgba(6,41,91,.18); font-size: calc(12px * var(--panel-font-scale, 1)); font-weight: 600; line-height: 1.4; white-space: normal; overflow-wrap: anywhere; pointer-events: auto; }
.fleet-form .fleet-expiry-field[data-expiry-status="valid"] { --expiry-ink: #226844; --expiry-border: #73b78b; --expiry-bg: #f0fdf4; }
.fleet-form .fleet-expiry-field[data-expiry-status="warning"] { --expiry-ink: #92400e; --expiry-border: #d99a28; --expiry-bg: #fffbeb; }
.fleet-form .fleet-expiry-field[data-expiry-status="danger"] { --expiry-ink: #9f2534; --expiry-border: #d94050; --expiry-bg: #fff1f2; }
.fleet-form .fleet-expiry-field[data-expiry-status] > span, .fleet-form .fleet-expiry-hint { color: var(--expiry-ink); }
.fleet-form .fleet-expiry-field[data-expiry-status] input[type="date"] { color: var(--expiry-ink); background: var(--expiry-bg); border-color: var(--expiry-border); }
.fleet-form .fleet-expiry-field > .fleet-expiry-input { position: relative; display: block; min-width: 0; margin-bottom: 0; }
.fleet-form .fleet-expiry-warning { position: absolute; top: 50%; right: 11px; display: none; width: 22px; height: 22px; place-items: center; transform: translateY(-50%); color: #fff; background: #c92f43; border-radius: 50%; font-size: calc(16px * var(--panel-font-scale, 1)); font-weight: 900; line-height: 1; pointer-events: none; }
.fleet-form .fleet-expiry-field[data-expiry-status="danger"] .fleet-expiry-warning { display: grid; }
.fleet-form .fleet-expiry-field[data-expiry-status="danger"] input[type="date"] { padding-right: 44px; }
.fleet-form .fleet-expiry-field[data-expiry-status="danger"] input[type="date"] { animation: fleet-expiry-pulse 1.8s ease-in-out infinite; }
.fleet-form .fleet-expiry-field[data-expiry-status] input[type="date"]:focus { animation: none; outline: 2px solid var(--navy); outline-offset: 2px; }
.fleet-form .fleet-expiry-field.has-error input[type="date"] { border-color: #d06c76; animation: none; }
.fleet-form .fleet-expiry-hint { margin-top: 7px; font-size: calc(11px * var(--panel-font-scale, 1)); font-weight: 700; line-height: 1.5; }
@keyframes fleet-expiry-pulse { 0%, 100% { border-color: #d94050; box-shadow: 0 0 0 1px rgba(217,64,80,.12); } 50% { border-color: #e4838e; box-shadow: 0 0 0 4px rgba(217,64,80,.2); } }
@media (max-width: 640px) {
    .fleet-inspections-head { align-items: stretch; flex-direction: column; }
    .fleet-inspections-head .button { align-self: flex-start; }
    .fleet-inspection-row { grid-template-columns: minmax(0,1fr) 36px; }
    .fleet-inspection-row > label { grid-column: 1; }
    .fleet-inspection-row > .fleet-inspection-remove { grid-column: 2; grid-row: 1 / span 2; }
}
.fleet-photo-field { display: flex; align-items: flex-start; gap: 18px; padding: 18px; }
.fleet-photo-field > div { width: 210px; flex: 0 0 auto; }
.fleet-photo-field > div > span { display: block; margin-bottom: 5px; color: #526175; font-size: calc(12px * var(--panel-font-scale, 1)); font-weight: 800; }
.fleet-photo-field img { width: 210px; height: 125px; object-fit: cover; border: 1px solid var(--line); border-radius: 6px; }
.fleet-photo-field > label { min-width: 260px; flex: 1; }
.fleet-photo-upload { position: relative; cursor: pointer; }
.fleet-photo-upload input[type="file"] { position: absolute; width: 1px; height: 1px; margin: 0; padding: 0; overflow: hidden; opacity: 0; pointer-events: none; }
.fleet-photo-upload > .fleet-photo-upload-ui { display: grid; min-height: 88px; grid-template-columns: 46px minmax(0,1fr) 34px; align-items: center; gap: 12px; margin: 0; padding: 13px 14px; background: #f8fafc; border: 1px dashed #aebdca; border-radius: 7px; transition: background .16s, border-color .16s, box-shadow .16s; }
.fleet-photo-upload:hover > .fleet-photo-upload-ui, .fleet-photo-upload:focus-within > .fleet-photo-upload-ui, .fleet-photo-upload.has-selection > .fleet-photo-upload-ui { background: #fff8f3; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(252,109,4,.08); }
.fleet-photo-upload > .fleet-photo-upload-ui > i { display: grid; width: 44px; height: 44px; place-items: center; color: var(--orange); background: var(--orange-soft); border-radius: 7px; font-size: calc(23px * var(--panel-font-scale, 1)); font-style: normal; font-weight: 900; }
.fleet-photo-upload > .fleet-photo-upload-ui > span { min-width: 0; }
.fleet-photo-upload > .fleet-photo-upload-ui strong, .fleet-photo-upload > .fleet-photo-upload-ui small { display: block; }
.fleet-photo-upload > .fleet-photo-upload-ui strong { color: var(--navy); font-size: calc(12px * var(--panel-font-scale, 1)); }
.fleet-photo-upload > .fleet-photo-upload-ui small { margin-top: 3px; overflow: hidden; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; font-size: calc(10px * var(--panel-font-scale, 1)); font-weight: 500; }
.fleet-photo-upload > .fleet-photo-upload-ui > b { display: grid; width: 32px; height: 32px; place-items: center; color: #fff; background: var(--navy); border-radius: 50%; font-size: calc(17px * var(--panel-font-scale, 1)); font-weight: 800; }
.fleet-photo-upload.has-selection > .fleet-photo-upload-ui > b { background: var(--green); }
.fleet-photo-upload.has-error > .fleet-photo-upload-ui { background: #fff7f8; border-color: #d06c76; box-shadow: 0 0 0 2px rgba(183,53,65,.08); }
.fleet-photo-preview[hidden], .fleet-photo-clear[hidden] { display: none!important; }
.fleet-photo-preview { width: 210px; flex: 0 0 auto; }
.fleet-photo-preview > span { display: block; margin-bottom: 5px; color: #526175; font-size: calc(12px * var(--panel-font-scale, 1)); font-weight: 800; }
.fleet-photo-clear { align-self: center; }
.fleet-media-hint { margin: 0 18px 18px; color: var(--muted); font-size: calc(12px * var(--panel-font-scale, 1)); }
.fleet-media-notice { margin: 16px 18px 0; }
.fleet-gallery-intro { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 18px; }
.fleet-gallery-intro > p { width: 100%; margin: 0 0 3px; color: #526175; font-size: calc(12px * var(--panel-font-scale, 1)); line-height: 1.5; }
.fleet-gallery-intro > small, .fleet-history-upload > small { color: var(--muted); font-size: calc(11px * var(--panel-font-scale, 1)); }
.fleet-gallery-intro > small.is-error, .fleet-history-upload > small.is-error { color: #a93642; font-weight: 700; }
.fleet-gallery-picker { position: relative; display: inline-flex!important; align-items: center; justify-content: center; min-height: 42px; padding: 9px 14px; color: var(--navy)!important; background: #fff; border: 1px dashed #8da2b9; border-radius: 6px; cursor: pointer; font-size: calc(12px * var(--panel-font-scale, 1)) !important; }
.fleet-gallery-picker:hover, .fleet-gallery-picker:focus-within { border-color: var(--orange); background: #fff8f3; outline: 2px solid rgba(252,109,4,.16); }
.fleet-gallery-picker > span { margin: 0!important; }
.fleet-gallery-picker input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.fleet-upload-previews { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; }
.fleet-upload-previews:empty { display: none; }
.fleet-upload-preview { position: relative; width: 105px; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.fleet-upload-preview img { display: block; width: 100%; height: 74px; object-fit: cover; }
.fleet-upload-preview span { display: block; overflow: hidden; padding: 5px 7px; color: #526175; text-overflow: ellipsis; white-space: nowrap; font-size: calc(10px * var(--panel-font-scale, 1)); }
.fleet-upload-preview button { position: absolute; top: 4px; right: 4px; display: grid; width: 24px; height: 24px; padding: 0; place-items: center; color: #fff; background: rgba(9,31,59,.83); border: 0; border-radius: 50%; cursor: pointer; font-size: calc(18px * var(--panel-font-scale, 1)); }
.fleet-gallery { display: grid; grid-template-columns: repeat(auto-fill,minmax(180px,1fr)); gap: 14px; padding: 0 18px 18px; }
.fleet-gallery-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 7px; background: #fff; }
.fleet-gallery-card > a { display: block; height: 145px; background: #f1f4f8; }
.fleet-gallery-card > a img { display: block; width: 100%; height: 100%; object-fit: cover; }
.fleet-gallery-card > div { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 9px; }
.fleet-gallery-card > div > span { width: 100%; overflow: hidden; color: #526175; text-overflow: ellipsis; white-space: nowrap; font-size: calc(11px * var(--panel-font-scale, 1)); }
.fleet-gallery-card .button { min-height: 30px; padding: 5px 7px; font-size: calc(10px * var(--panel-font-scale, 1)); }
.fleet-gallery-card .status { min-height: 30px; display: inline-flex; align-items: center; }
.fleet-media-remove { width: 30px; height: 30px; margin-left: auto; color: #a93642; background: #fff; border: 1px solid #e8bcc1; border-radius: 5px; font-size: calc(18px * var(--panel-font-scale, 1)); cursor: pointer; }
.fleet-media-remove:hover { color: #fff; background: #bd3f4b; }
.fleet-media-empty { margin: 0; padding: 20px 18px; color: var(--muted); font-size: calc(12px * var(--panel-font-scale, 1)); }
.fleet-history-add { margin: 18px; }
.fleet-history-add[data-enhanced]:not([open]) { display: none; }
.fleet-history-add > summary { width: max-content; list-style: none; cursor: pointer; }
.fleet-history-add[data-enhanced] > summary { display: none; }
.fleet-history-add > summary::-webkit-details-marker, .fleet-history-edit > summary::-webkit-details-marker { display: none; }
.fleet-history-add[open] > summary { box-shadow: none; }
.fleet-history-add > .fleet-history-form { margin-top: 14px; border: 1px solid var(--line); border-radius: 7px; background: #f8fafc; }
.fleet-history-add[data-enhanced] > .fleet-history-form { margin-top: 0; }
.fleet-history-form { padding-bottom: 18px; }
.fleet-history-form .fleet-form-grid { padding-bottom: 0; }
.fleet-history-form label, .fleet-history-edit-form label { display: grid; align-content: start; color: #526175; font-size: calc(12px * var(--panel-font-scale, 1)); font-weight: 800; }
.fleet-history-form label > span, .fleet-history-edit-form label > span { margin-bottom: 5px; }
.fleet-history-form input:not([type="file"]), .fleet-history-form select, .fleet-history-form textarea,
.fleet-history-edit-form input:not([type="file"]), .fleet-history-edit-form select, .fleet-history-edit-form textarea { width: 100%; min-height: 42px; padding: 8px 10px; color: var(--ink); background: #fff; border: 1px solid #cbd5e0; border-radius: 5px; font: inherit; font-size: calc(13px * var(--panel-font-scale, 1)); }
.fleet-history-form textarea, .fleet-history-edit-form textarea { resize: vertical; }
.fleet-history-note { margin: 16px 18px 0; }
.fleet-history-upload { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 16px 18px 0; }
.fleet-history-upload .fleet-upload-previews { flex-basis: 100%; }
.fleet-history-list { display: grid; gap: 14px; }
.fleet-history-event { padding: 17px 18px; }
.fleet-history-event-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.fleet-history-event-meta { display: flex; flex: 1; min-width: 0; flex-wrap: wrap; align-items: center; gap: 8px; }
.fleet-history-event-actions, .fleet-history-attachment-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.fleet-history-event-actions { flex: none; justify-content: flex-end; flex-wrap: wrap; }
.fleet-history-event-head time { color: var(--muted); font-size: calc(11px * var(--panel-font-scale, 1)); }
.fleet-history-event-head h3 { width: 100%; margin: 1px 0 0; color: var(--navy); font-size: calc(15px * var(--panel-font-scale, 1)); }
.fleet-history-event > p, .fleet-history-attachment > p { margin: 10px 0 0; color: #526175; font-size: calc(12px * var(--panel-font-scale, 1)); line-height: 1.5; white-space: pre-wrap; }
.fleet-history-photos { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 13px; }
.fleet-history-photos a { display: block; width: 130px; height: 90px; overflow: hidden; border: 1px solid var(--line); border-radius: 6px; }
.fleet-history-photos img { width: 100%; height: 100%; object-fit: cover; }
.fleet-history-attachment { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.fleet-history-attachment-head > strong { color: var(--navy); font-size: calc(12px * var(--panel-font-scale, 1)); }
.fleet-history-entry-tools { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: flex-end; gap: 8px; }
.fleet-history-edit-trigger[hidden] { display: none; }
.fleet-history-entry-tools .button, .fleet-history-archived-row .button { min-height: 36px; padding: 7px 11px; font-size: calc(11px * var(--panel-font-scale, 1)); }
.fleet-history-edit { margin-top: 14px; }
.fleet-history-edit[data-enhanced]:not([open]) { margin-top: 0; }
.fleet-history-edit > summary { width: max-content; list-style: none; cursor: pointer; }
.fleet-history-edit[data-enhanced] > summary { display: none; }
.fleet-history-edit-form { margin-top: 12px; padding-bottom: 18px; border: 1px solid var(--line); border-radius: 7px; background: #f8fafc; }
.fleet-history-edit[data-enhanced] > .fleet-history-edit-form { margin-top: 0; }
.fleet-history-edit-title { grid-column: 1 / -1; }
.fleet-history-edit-form .fleet-form-grid { padding-bottom: 0; }
.fleet-history-archive { margin-top: 12px; }
.fleet-history-archive .button { min-height: 30px; font-size: calc(10px * var(--panel-font-scale, 1)); }
.fleet-history-entry-tools .fleet-history-archive { margin: 0; }
.fleet-history-entry-tools .fleet-history-archive .button { min-height: 36px; font-size: calc(11px * var(--panel-font-scale, 1)); }
.fleet-history-archive-list { margin-top: 14px; padding: 14px 18px; }
.fleet-history-archive-list summary { color: var(--navy); cursor: pointer; font-size: calc(13px * var(--panel-font-scale, 1)); font-weight: 800; }
.fleet-history-archive-help { margin: 10px 0; color: var(--muted); font-size: calc(11px * var(--panel-font-scale, 1)); }
.fleet-history-archived-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.fleet-history-archived-row:first-of-type { margin-top: 12px; }
.fleet-history-archived-row > span { display: grid; flex: 1; gap: 3px; min-width: 0; }
.fleet-history-archived-row strong { color: var(--navy); font-size: calc(12px * var(--panel-font-scale, 1)); }
.fleet-history-archived-row small { color: var(--muted); font-size: calc(11px * var(--panel-font-scale, 1)); }
.fleet-history-archived-row form { flex: none; }
.fleet-form-actions { display: flex; justify-content: flex-end; gap: 9px; padding-top: 2px; }
.fleet-edit-layout[data-is-edit="1"][data-active-tab="fleet-photo"] .fleet-form-actions,
.fleet-edit-layout[data-active-tab="fleet-history"] .fleet-form-actions { display: none; }
.fleet-documents-panel { width: 100%; min-width: 0; margin-top: 0; }
.fleet-documents-notice { margin: 14px 18px 0; }
.fleet-document-groups { display: grid; gap: 18px; padding: 18px; }
.fleet-document-group { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 7px; }
.fleet-document-group-head { display: flex; min-height: 43px; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 13px; background: #f8fafc; border-bottom: 1px solid var(--line); }
.fleet-document-group-head h3 { margin: 0; color: var(--navy); font-size: calc(12px * var(--panel-font-scale, 1)); }
.fleet-document-group-head > span { display: grid; min-width: 24px; height: 24px; place-items: center; padding: 0 6px; color: #56667a; background: #e9eef4; border-radius: 12px; font-size: calc(10px * var(--panel-font-scale, 1)); font-weight: 900; }
.fleet-document-list { display: grid; }
.fleet-document-row { display: grid; min-width: 0; grid-template-columns: 38px minmax(220px,1fr) minmax(84px,.25fr) minmax(96px,.3fr) auto 66px; align-items: center; gap: 12px; min-height: 68px; padding: 11px 13px; border-bottom: 1px solid #edf1f5; }
.fleet-document-row:last-child { border-bottom: 0; }
.fleet-document-row:hover { background: #fbfcfe; }
.fleet-document-row.is-archived { background: #fafbfc; }
.fleet-document-row.is-archived .file-icon, .fleet-document-row.is-archived .fleet-document-main, .fleet-document-row.is-archived .fleet-document-date { opacity: .68; }
.fleet-document-main { min-width: 0; }
.document-title-line { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 8px; min-width: 0; }
.document-title-line > strong { min-width: 0; max-width: 100%; }
.status.document-origin { flex: 0 0 auto; min-height: 19px; padding: 3px 6px; font-size: calc(10px * var(--panel-font-scale, 1)); font-weight: 700; line-height: 1.3; }
.document-origin--uploaded { color: #536277; background: #edf1f5; }
.document-origin--generated { color: #5b4387; background: #f0eafb; }
.fleet-document-main strong, .fleet-document-main p { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fleet-document-main strong { color: var(--navy); font-size: calc(12px * var(--panel-font-scale, 1)); }
.fleet-document-main strong a { color: inherit; text-decoration: none; }
.fleet-document-main strong a:hover, .fleet-document-main strong a:focus-visible { color: var(--orange); text-decoration: underline; }
.fleet-document-main p { margin: 3px 0 0; color: var(--muted); font-size: calc(10px * var(--panel-font-scale, 1)); }
.fleet-document-date small, .fleet-document-date span { display: block; }
.fleet-document-date small { margin-bottom: 2px; color: #8490a0; font-size: calc(8px * var(--panel-font-scale, 1)); font-weight: 800; text-transform: uppercase; }
.fleet-document-date span { color: #536277; font-size: calc(10px * var(--panel-font-scale, 1)); font-weight: 700; }
.fleet-document-actions { justify-content: flex-end; }
.status-archived { color: #5f6b7a; background: #e9edf2; }
.fleet-documents-empty { padding: 22px 14px; color: var(--muted); text-align: center; font-size: calc(11px * var(--panel-font-scale, 1)); }
.fleet-error-page { max-width: 820px; margin-inline: auto; }

@media (max-width: 1100px) {
    .fleet-card-grid.is-list-view .fleet-card:not(.add-fleet-card) { grid-template-columns: 180px 1fr 250px; }
    .fleet-card-grid.is-list-view .fleet-next-list { grid-column: 2/-1; min-height: 42px; }
}

@media (max-width: 760px) {
    .fleet-card-grid.is-list-view .fleet-card:not(.add-fleet-card) { grid-template-columns: 145px 1fr; }
    .fleet-card-grid.is-list-view .fleet-photo { height: 132px; }
    .fleet-card-grid.is-list-view .fleet-specs { grid-column: 1/-1; border: 0; border-top: 1px solid var(--line); }
    .fleet-card-grid.is-list-view .fleet-next-list { grid-column: 1/-1; }
    .fleet-form-grid, .fleet-form-grid--three { grid-template-columns: 1fr; }
    .fleet-document-row { grid-template-columns: 38px minmax(0,1fr) auto 66px; }
    .fleet-document-date { display: none; }
}

@media (max-width: 840px) {
    .fleet-alert-metric { grid-column: 1/-1; }
}

@media (max-width: 560px) {
    .fleet-location-filters { padding-bottom: 4px; }
    .fleet-toolbar .toolbar-actions { overflow: visible; }
    .fleet-toolbar .compact-search { flex: 1; }
    .fleet-card-grid.is-list-view .fleet-card:not(.add-fleet-card) { display: block; }
    .fleet-card-grid.is-list-view .fleet-photo { height: 150px; }
    .fleet-card-grid.is-list-view .fleet-specs { border-right: 0; border-left: 0; }
    .fleet-photo-field { flex-direction: column; }
    .fleet-photo-field > div, .fleet-photo-field img, .fleet-photo-field > label { width: 100%; min-width: 0; }
    .fleet-gallery-intro > .button, .fleet-gallery-picker { width: 100%; }
    .fleet-gallery { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; padding: 0 12px 12px; }
    .fleet-gallery-card > a { height: 120px; }
    .fleet-gallery-card > div { gap: 5px; }
    .fleet-history-add { margin: 12px; }
    .fleet-history-add > summary { width: 100%; }
    .fleet-history-form .fleet-form-grid, .fleet-history-edit-form .fleet-form-grid { grid-template-columns: 1fr; gap: 11px; padding: 14px 12px 0; }
    .fleet-history-note { margin: 12px 12px 0; }
    .fleet-history-archived-row { flex-wrap: wrap; }
    .fleet-history-archived-row > span { flex-basis: 100%; }
    .fleet-history-archived-row form { flex: 1; }
    .fleet-history-archived-row .button { width: 100%; }
    .fleet-history-upload { padding: 14px 12px 0; }
    .fleet-history-upload > .button { width: 100%; }
    .fleet-history-event-head, .fleet-history-attachment-head { flex-direction: column; }
    .fleet-history-event-actions, .fleet-history-attachment-head .fleet-history-entry-tools { align-self: flex-end; }
    .fleet-history-photos a { width: 105px; height: 75px; }
    .fleet-form-actions .button { flex: 1; }
    .fleet-form-tabs button { min-height: 46px; padding-inline: 12px; }
    .fleet-form-section > header.fleet-section-header { align-items: flex-start; flex-wrap: wrap; }
    .fleet-section-header > .button { width: calc(100% - 43px); margin-left: 43px; }
    .fleet-document-groups { padding: 12px; }
    .fleet-document-row { grid-template-columns: 34px minmax(0,1fr) 58px; gap: 9px; padding: 10px; }
    .fleet-document-row > .status { display: none; }
}

.users-module .user-list > article {
    grid-template-columns: 38px minmax(170px,1.4fr) 90px minmax(110px,.8fr) minmax(100px,.7fr) 92px minmax(94px,auto);
}
.users-module .user-list > article.pending-user { opacity: 1; }
.users-module .user-list > article > .status {
    min-width: 92px;
    justify-content: center;
}
.saas-icon-actions { display: flex; align-items: center; justify-content: flex-end; gap: 5px; }
.saas-icon-actions > button { display: grid; width: 28px; height: 28px; flex: 0 0 28px; place-items: center; padding: 0; color: var(--navy); background: #fff; border: 1px solid #d7e0e9; border-radius: 5px; cursor: pointer; transition: color .16s ease, background .16s ease, border-color .16s ease, transform .16s ease; }
.saas-icon-actions > button:hover { color: var(--orange); background: var(--orange-soft); border-color: #f3b68f; transform: translateY(-1px); }
.saas-icon-actions > button:focus-visible { outline: 3px solid rgba(240,103,40,.28); outline-offset: 2px; }
.saas-icon-actions > button:disabled { color: #9da8b5; background: #f1f3f6; border-color: #e0e5eb; cursor: default; opacity: .58; transform: none; }
.saas-icon-actions > button svg { display: block; width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.9; }
.saas-icon-actions > button.is-danger { color: #a93642; }
.saas-icon-actions > button.is-danger:hover { color: #fff; background: #a93642; border-color: #a93642; }
.saas-icon-actions > button.is-positive { color: #176747; }
.saas-icon-actions > button.is-positive:hover { color: #fff; background: #26845e; border-color: #26845e; }
.saas-table-action-cell { width: 52px; text-align: center; }
.saas-preview-action { display: inline-grid; width: 28px; height: 28px; box-sizing: border-box; place-items: center; padding: 0; color: var(--navy); background: #fff; border: 1px solid #d7e0e9; border-radius: 5px; cursor: pointer; text-decoration: none; transition: color .16s ease, background .16s ease, border-color .16s ease, transform .16s ease; }
.saas-preview-action:hover { color: var(--orange); background: var(--orange-soft); border-color: #f3b68f; transform: translateY(-1px); }
.saas-preview-action:focus-visible { outline: 3px solid rgba(240,103,40,.28); outline-offset: 2px; }
.saas-preview-action svg { display: block; width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.9; }
.saas-edit-action { display: inline-grid; width: 28px; height: 28px; box-sizing: border-box; flex: 0 0 28px; place-items: center; padding: 0; color: var(--orange); background: #fff; border: 1px solid #f3b68f; border-radius: 5px; cursor: pointer; text-decoration: none; transition: color .16s ease, background .16s ease, border-color .16s ease, transform .16s ease; }
.saas-edit-action:hover { color: var(--orange); background: var(--orange-soft); border-color: var(--orange); transform: translateY(-1px); }
.saas-edit-action:focus-visible { outline: 3px solid rgba(240,103,40,.28); outline-offset: 2px; }
.saas-edit-action svg { display: block; width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.9; }
.saas-edit-action:disabled { color: #9da8b5; background: #f1f3f6; border-color: #e0e5eb; cursor: default; opacity: .58; transform: none; }
.saas-icon-actions > .saas-edit-action, .panel-head .saas-edit-action, .preview-section .saas-edit-action { padding: 0; color: var(--orange); background: #fff; border: 1px solid #f3b68f; }
.saas-icon-actions > .saas-edit-action:hover, .panel-head .saas-edit-action:hover, .preview-section .saas-edit-action:hover { color: var(--orange); background: var(--orange-soft); border-color: var(--orange); }
.page-actions > .saas-edit-action { width: 46px; height: 46px; flex-basis: 46px; border-radius: 6px; }
.customer-preview-actions > .saas-edit-action { width: 40px; height: 40px; flex-basis: 40px; }

.legal-file-empty:empty { display: none; }

/* Dokumenty prawne: czytelny wybór rodzaju dokumentu i wersji językowej. */
.legal-selector {
    display: grid;
    grid-template-columns: minmax(260px,.8fr) minmax(420px,1.2fr);
    align-items: stretch;
    gap: 14px;
    padding-top: 16px;
}
.legal-selector-group {
    display: grid;
    align-content: start;
    gap: 7px;
    min-width: 0;
}
.legal-selector-label {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #536277;
    font-size: calc(10px * var(--panel-font-scale, 1));
    font-weight: 900;
    letter-spacing: .05em;
    text-transform: uppercase;
}
.legal-selector-label > b {
    display: grid;
    width: 20px;
    height: 20px;
    place-items: center;
    color: #fff;
    background: var(--navy);
    border-radius: 50%;
    font-size: calc(10px * var(--panel-font-scale, 1));
}
.legal-selector .segmented {
    width: 100%;
    min-height: 48px;
}
.legal-document-types a {
    display: grid;
    flex: 1;
    place-items: center;
    text-align: center;
}
.legal-languages a {
    display: grid;
    min-width: 0;
    flex: 1;
    grid-template-columns: 28px minmax(0,1fr);
    align-items: center;
    gap: 7px;
}
.legal-languages a > b {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    color: #536277;
    background: #dde5ee;
    border-radius: 4px;
    font-size: calc(9px * var(--panel-font-scale, 1));
}
.legal-languages a > span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.legal-languages a.active > b {
    color: #fff;
    background: var(--orange);
}
.legal-active-context {
    display: flex;
    min-height: 58px;
    align-items: center;
    gap: 11px;
    margin: 13px 18px 0;
    padding: 10px 13px;
    color: var(--navy);
    background: #f3f7fc;
    border: 1px solid #d9e4ef;
    border-left: 4px solid var(--navy);
    border-radius: 6px;
}
.legal-active-context > span {
    display: grid;
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    place-items: center;
    color: #fff;
    background: var(--orange);
    border-radius: 5px;
    font-size: calc(10px * var(--panel-font-scale, 1));
    font-weight: 900;
}
.legal-active-context small,
.legal-active-context strong {
    display: block;
}
.legal-active-context small {
    color: var(--muted);
    font-size: calc(9px * var(--panel-font-scale, 1));
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.legal-active-context strong {
    margin-top: 2px;
    font-size: calc(13px * var(--panel-font-scale, 1));
}

@media (max-width: 960px) {
    .legal-selector { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
    .legal-languages a { grid-template-columns: 1fr; gap: 3px; justify-items: center; }
    .legal-active-context { margin-inline: 14px; }
}

/* Rezerwacje */
.reservations-module, .reservation-detail-module { min-width: 0; }
.reservation-summary-grid { gap: 12px; }
.reservations-list-panel { overflow: hidden; }
.reservation-tabs { display: flex; min-height: 51px; align-items: flex-end; gap: 3px; padding: 0 16px; overflow-x: auto; border-bottom: 1px solid var(--line); }
.reservation-tabs a { min-width: max-content; padding: 16px 13px 13px; color: #758397; border-bottom: 3px solid transparent; font-size: calc(11px * var(--panel-font-scale, 1)); font-weight: 900; }
.reservation-tabs a:hover, .reservation-tabs a.active { color: var(--navy); border-bottom-color: var(--orange); }
.reservations-filter-form { margin: 0; }
.reservations-filter-form .list-toolbar { min-height: 65px; padding: 13px 16px; border-bottom: 1px solid var(--line); }
.reservations-filter-form .wide-search { width: min(360px,100%); }
.reservation-month input { width: 155px; min-height: 36px; padding: 7px 9px; color: #526175; background: #fff; border: 1px solid var(--line); border-radius: 5px; font-size: calc(11px * var(--panel-font-scale, 1)); }
.filter-button { min-height: 36px; padding: 7px 11px; color: var(--navy); background: #fff; border: 1px solid var(--line); border-radius: 5px; font-size: calc(11px * var(--panel-font-scale, 1)); font-weight: 900; }
.filter-button b { display: inline-grid; min-width: 19px; height: 19px; margin-left: 4px; place-items: center; color: #fff; background: var(--orange); border-radius: 10px; font-size: calc(9px * var(--panel-font-scale, 1)); }
.reservation-filter-panel { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 11px; padding: 14px 16px; background: #f8fafc; border-bottom: 1px solid var(--line); }
.reservation-filter-panel[hidden] { display: none; }
.reservation-filter-panel > label, .reservation-form-modal label, .reservation-detail-module .modal label { display: grid; gap: 5px; color: #536277; font-size: calc(10px * var(--panel-font-scale, 1)); font-weight: 800; }
.reservation-filter-panel select, .reservation-form-modal input, .reservation-form-modal select, .reservation-form-modal textarea, .reservation-detail-module .modal input, .reservation-detail-module .modal select, .reservation-detail-module .modal textarea { width: 100%; min-height: 39px; padding: 8px 10px; color: var(--ink); background: #fff; border: 1px solid #cbd5e0; border-radius: 5px; outline: 0; font-size: calc(12px * var(--panel-font-scale, 1)); }
.reservation-form-modal textarea, .reservation-detail-module .modal textarea { resize: vertical; }
.reservation-filter-panel select:focus, .reservation-form-modal :is(input,select,textarea):focus, .reservation-detail-module .modal :is(input,select,textarea):focus { border-color: #6f8eae; box-shadow: 0 0 0 3px rgba(33,78,123,.1); }
.reservation-styled-select { position: relative; min-width: 0; }
.reservation-styled-select-native { position: absolute!important; width: 1px!important; min-width: 0!important; height: 1px!important; min-height: 0!important; margin: -1px!important; padding: 0!important; overflow: hidden!important; clip: rect(0 0 0 0)!important; clip-path: inset(50%)!important; border: 0!important; white-space: nowrap!important; }
.reservation-styled-select-trigger { display: flex; width: 100%; min-height: 39px; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 10px; color: var(--ink); background: #fff; border: 1px solid #cbd5e0; border-radius: 5px; outline: 0; text-align: left; font-size: calc(12px * var(--panel-font-scale, 1)); transition: border-color .18s,box-shadow .18s,background .18s; }
.reservation-styled-select-trigger:hover:not(:disabled) { background: #fbfcfe; border-color: #aebdcd; }
.reservation-styled-select-trigger:focus-visible, .reservation-styled-select.is-open .reservation-styled-select-trigger { background: #fff; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(252,109,4,.1); }
.reservation-styled-select-trigger:disabled { cursor: not-allowed; background: #f1f4f7; opacity: .68; }
.reservation-styled-select-current { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.reservation-styled-select-arrow { width: 7px; height: 7px; flex: 0 0 auto; border-right: 2px solid #6d7c8f; border-bottom: 2px solid #6d7c8f; transform: translateY(-2px) rotate(45deg); transition: transform .18s,border-color .18s; }
.reservation-styled-select.is-open .reservation-styled-select-arrow { border-color: var(--orange); transform: translateY(2px) rotate(225deg); }
.reservation-styled-select-menu { position: absolute; z-index: 45; top: calc(100% + 6px); right: 0; left: 0; display: grid; max-height: 230px; padding: 5px; overflow-y: auto; overscroll-behavior: contain; background: #fff; border: 1px solid #c8d3df; border-radius: 7px; box-shadow: 0 14px 34px rgba(6,41,91,.18),0 3px 9px rgba(6,41,91,.08); }
.reservation-styled-select-menu[hidden] { display: none; }
.reservation-styled-select.opens-up .reservation-styled-select-menu { top: auto; bottom: calc(100% + 6px); }
.reservation-styled-select-option { display: flex; width: 100%; min-height: 36px; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 9px; color: #526175; background: transparent; border: 0; border-radius: 5px; outline: 0; text-align: left; font-size: calc(11px * var(--panel-font-scale, 1)); font-weight: 750; line-height: 1.35; }
.reservation-styled-select-option:hover:not(:disabled), .reservation-styled-select-option:focus-visible { color: var(--navy); background: #f1f5f9; }
.reservation-styled-select-option.is-selected { color: var(--navy); background: var(--orange-soft); font-weight: 900; }
.reservation-styled-select-option:disabled { cursor: not-allowed; opacity: .48; }
.reservation-styled-select-check { display: grid; width: 20px; height: 20px; flex: 0 0 auto; place-items: center; color: #fff; background: var(--orange); border-radius: 50%; font-size: calc(11px * var(--panel-font-scale, 1)); font-weight: 900; opacity: 0; transform: scale(.82); transition: opacity .15s,transform .15s; }
.reservation-styled-select-option.is-selected .reservation-styled-select-check { opacity: 1; transform: scale(1); }
.reservation-filter-actions { display: flex; grid-column: 1/-1; align-items: center; justify-content: flex-end; gap: 12px; }
.reservation-filter-actions a { color: #69788b; font-size: calc(11px * var(--panel-font-scale, 1)); font-weight: 800; }
.reservations-table { max-width: 100%; overflow-x: auto; overscroll-behavior-inline: contain; }
.reservations-table table { min-width: 1080px; }
.reservations-table th { padding: 9px 11px; font-size: calc(9px * var(--panel-font-scale, 1)); white-space: nowrap; }
.reservations-table td { padding: 12px 11px; font-size: calc(11px * var(--panel-font-scale, 1)); vertical-align: middle; }
.reservations-table .reservation-created-at { white-space: nowrap; }
.reservations-table tbody tr:focus-visible { background: #fff8f2; outline: 2px solid rgba(252,109,4,.25); outline-offset: -2px; }
.reservations-table tbody tr.reservation-row-new { background: #fff4eb; }
.reservations-table tbody tr.reservation-row-new:hover, .reservations-table tbody tr.reservation-row-new:focus-visible { background: #ffe9d9; }
.reservations-table .reservation-row-new td:first-child { box-shadow: inset 3px 0 var(--orange); }
.reservation-new-badge { display: inline-flex; margin-top: 5px; padding: 2px 6px; color: #944006; background: #ffe1cb; border-radius: 4px; font-size: calc(9px * var(--panel-font-scale, 1)); font-weight: 800; white-space: nowrap; }
.reservation-activity { display: flex; flex-wrap: wrap; align-items: flex-start; column-gap: 6px; }
.reservation-activity-badge { display: inline-flex; align-items: center; gap: 5px; width: fit-content; margin-top: 6px; padding: 5px 7px; border: 1px solid #f6b58a; border-radius: 6px; background: #fff0e5; color: #913a05; font-size: calc(11px * var(--panel-font-scale, 1)); font-weight: 800; text-decoration: none; white-space: nowrap; }
.reservation-activity-badge[hidden], .message-alerts[hidden] { display: none; }
.reservation-activity-badge svg { flex: 0 0 16px; width: 16px; height: 16px; animation: customer-message-pulse 1.8s ease-in-out infinite; }
.reservation-activity-badge svg, .message-alerts-heading svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.reservation-activity-badge b { min-width: 18px; padding: 1px 4px; border-radius: 4px; background: #a84305; color: #fff; text-align: center; }
.reservation-activity-badge:hover { background: #ffe0c7; color: #702900; }
.reservation-activity-badge--damage { border-color: #e7a5a5; background: #fff1f1; color: #9a2626; }
.reservation-activity-badge--damage b { background: #a52f2f; }
.reservation-activity-badge--damage:hover { background: #ffdddd; color: #801c1c; }
.reservation-activity-warning { display: grid; flex: 0 0 16px; width: 16px; height: 16px; place-items: center; border-radius: 50%; background: #a52f2f; color: #fff; font-size: calc(12px * var(--panel-font-scale, 1)); animation: customer-message-pulse 1.8s ease-in-out infinite; }
.reservation-activity-badge:focus-visible, .message-alert-item:focus-visible, .message-alerts-close:focus-visible { outline: 3px solid #1764c0; outline-offset: 3px; }
.message-alerts { position: fixed; right: 24px; bottom: 24px; z-index: 90; width: 370px; max-width: calc(100vw - 32px); border: 1px solid #eeaf7a; border-top: 4px solid #f97316; border-radius: 12px; background: #fff; color: #102e54; box-shadow: 0 8px 32px #17375829; }
.message-alerts-heading { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: #fff4eb; border-radius: 8px 8px 0 0; font-size: calc(14px * var(--panel-font-scale, 1)); }
.message-alerts-heading svg { width: 23px; height: 23px; flex-shrink: 0; color: #ae4809; }
.message-alerts-heading > b { margin-left: auto; padding: 3px 7px; border-radius: 6px; background: #a84305; color: #fff; }
.message-alerts-close { display: grid; flex: 0 0 26px; width: 26px; height: 26px; place-items: center; padding: 0; border: 0; border-radius: 5px; background: transparent; color: #7c3b19; font-size: calc(22px * var(--panel-font-scale, 1)); line-height: 1; cursor: pointer; }
.message-alerts-close:hover { background: #ffe0c7; }
.message-alerts-list { max-height: min(260px, 35vh); overflow-y: auto; padding: 4px 12px; overscroll-behavior: contain; }
.message-alert-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 5px 10px; padding: 12px 4px; color: #102e54; text-decoration: none; border-bottom: 1px solid #e4eaf1; }
.message-alert-item:last-child { border-bottom: 0; }
.message-alert-item strong { font-size: calc(13px * var(--panel-font-scale, 1)); line-height: 1.5; overflow-wrap: anywhere; }
.message-alert-item > span { grid-column: 1; color: #a84305; font-size: calc(12px * var(--panel-font-scale, 1)); font-weight: 800; }
.message-alert-item > b { grid-column: 2; grid-row: 1 / 3; align-self: center; min-width: 26px; padding: 5px; border-radius: 6px; background: #fff0e5; color: #913a05; text-align: center; font-size: calc(13px * var(--panel-font-scale, 1)); }
.message-alert-item:hover > span { text-decoration: underline; }
@keyframes customer-message-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .reservation-activity-badge svg, .reservation-activity-warning { animation: none; } }
@media (max-width: 560px) { .message-alerts { right: 12px; bottom: 12px; max-width: calc(100vw - 24px); }.message-alerts-list { max-height: 25vh; } }
.reservations-table td:last-child { text-align: center; }
.reservations-empty { height: 150px; color: var(--muted)!important; text-align: center; cursor: default; }
.reservations-list-panel .list-footer { min-height: 51px; }
.reservations-list-panel .list-footer > div { display: flex; gap: 4px; }
.reservations-list-panel .list-footer a { display: grid; min-width: 28px; height: 28px; place-items: center; color: #66758a; border: 1px solid var(--line); border-radius: 4px; font-size: calc(10px * var(--panel-font-scale, 1)); font-weight: 900; }
.reservations-list-panel .list-footer a.active { color: #fff; background: var(--navy); border-color: var(--navy); }
.reservation-form-modal { display: flex; flex-direction: column; width: min(760px,100%); max-height: calc(100vh - 40px); overflow: hidden; }
.reservation-form-modal > .modal-head { flex: 0 0 auto; }
.reservation-form-modal > form { display: flex; flex: 1 1 auto; flex-direction: column; min-height: 0; }
.reservation-form-scroll { display: grid; flex: 1 1 auto; min-height: 0; gap: 13px; max-height: calc(100vh - 210px); padding: 18px 22px; overflow-y: auto; }
.reservation-form-alert { margin: 0; font-size: calc(11px * var(--panel-font-scale, 1)); }
.reservation-form-alert:focus-visible { outline: 3px solid rgba(189,63,75,.2); outline-offset: 2px; }
.reservation-price-row { align-items: start; }
.reservation-price-field { align-content: start; }
.reservation-price-status { display: block; min-height: 14px; color: #66758a; font-size: calc(9px * var(--panel-font-scale, 1)); font-weight: 700; line-height: 1.45; }
.reservation-price-status[hidden] { display: none; }
.reservation-price-status.is-loading { color: #66758a; }
.reservation-price-status.is-success { color: #23845c; }
.reservation-price-status.is-error { color: #a93642; }
.reservation-price-field [aria-busy="true"] { background-color: #f7f9fc; }
.reservation-quote-breakdown { padding: 13px 14px; color: #526175; background: #f7f9fc; border: 1px solid #d9e1ea; border-radius: 6px; }
.reservation-quote-breakdown[hidden] { display: none; }
.reservation-quote-breakdown > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.reservation-quote-breakdown > header > div { display: flex; align-items: center; gap: 8px; }
.reservation-quote-breakdown > header span { display: grid; width: 22px; height: 22px; place-items: center; color: #fff; background: var(--navy); border-radius: 50%; font-size: calc(12.1px * var(--panel-font-scale, 1)); font-weight: 900; }
.reservation-quote-breakdown > header strong { color: var(--navy); font-size: calc(13.2px * var(--panel-font-scale, 1)); }
.reservation-quote-breakdown > header small { color: #66758a; font-size: calc(11px * var(--panel-font-scale, 1)); font-weight: 800; }
.reservation-quote-breakdown dl { display: grid; gap: 0; margin: 0; }
.reservation-quote-breakdown dl > div { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 7px 0; border-top: 1px solid #e2e8ef; }
.reservation-quote-breakdown dt { min-width: 0; font-size: calc(11px * var(--panel-font-scale, 1)); font-weight: 700; line-height: 1.4; }
.reservation-quote-breakdown dt small { display: block; margin-top: 1px; color: #7a8797; font-size: calc(8.8px * var(--panel-font-scale, 1)); font-weight: 600; }
.reservation-quote-breakdown dd { flex: 0 0 auto; margin: 0; color: var(--navy); font-size: calc(11px * var(--panel-font-scale, 1)); font-weight: 900; white-space: nowrap; }
.reservation-quote-breakdown .is-discount dd { color: #23845c; }
.reservation-quote-breakdown .is-total { margin-top: 2px; padding-top: 9px; border-top-color: #bcc9d7; }
.reservation-quote-breakdown .is-total dt, .reservation-quote-breakdown .is-total dd { color: var(--navy); font-size: calc(13.2px * var(--panel-font-scale, 1)); }
.reservation-quote-breakdown .is-deposit { margin-top: 2px; padding: 8px 9px; background: #fff; border: 1px solid #e0e6ed; border-radius: 4px; }
.reservation-form-modal .form-grid, .reservation-detail-module .modal .form-grid { gap: 13px; }
.reservation-form-modal .modal-actions { flex: 0 0 auto; margin-top: 0; }
.reservation-customer-field { display: grid; gap: 5px; align-content: start; min-width: 0; }
.reservation-form-modal .form-grid:has(.reservation-customer-field) { align-items: start; }
.reservation-form-modal .button:disabled { opacity: .55; cursor: not-allowed; }
.reservation-customer-heading { display: flex; min-height: 17px; align-items: center; justify-content: space-between; gap: 8px; }
.reservation-customer-add { padding: 0; color: #bf4c00; background: transparent; border: 0; font: inherit; font-size: calc(10px * var(--panel-font-scale, 1)); font-weight: 800; cursor: pointer; }
.reservation-customer-add:hover { text-decoration: underline; }
.reservation-customer-add:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.reservation-customer-feedback { color: #23845c; font-size: calc(10px * var(--panel-font-scale, 1)); }
.reservation-quick-customer { display: grid; min-width: 0; gap: 13px; margin: 0; padding: 14px; background: #fffaf5; border: 1px solid #ffc79e; border-radius: 6px; }
.reservation-quick-customer legend { padding: 0 5px; color: var(--navy); font-size: calc(13px * var(--panel-font-scale, 1)); font-weight: 900; }
.reservation-quick-customer-lead { margin: 0; color: #637083; font-size: calc(11px * var(--panel-font-scale, 1)); line-height: 1.5; }
.reservation-quick-customer-group { min-width: 0; margin: 0; padding: 0; border: 0; }
.reservation-quick-customer-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.reservation-quick-customer-status { margin: 0; color: #637083; font-size: calc(11px * var(--panel-font-scale, 1)); line-height: 1.5; }
.reservation-quick-customer-status.is-error { color: #a93642; }
.reservation-quick-customer-duplicates { display: grid; gap: 8px; padding: 12px; background: #fff; border: 1px solid #ead4ba; border-radius: 5px; }
.reservation-quick-customer-duplicates > strong { color: var(--navy); font-size: calc(11px * var(--panel-font-scale, 1)); }
.reservation-quick-customer-duplicate { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 8px; border-top: 1px solid var(--line); }
.reservation-quick-customer-duplicate > div { min-width: 0; overflow-wrap: anywhere; font-size: calc(11px * var(--panel-font-scale, 1)); }
.reservation-quick-customer-duplicate small { display: block; margin-top: 3px; color: #637083; }
.reservation-quick-customer-duplicate .button { flex: 0 0 auto; }
.reservation-quick-customer[hidden], .reservation-quick-customer [hidden], .reservation-customer-feedback[hidden] { display: none; }

.back-link { display: inline-flex; min-height: 36px; align-items: center; gap: 8px; margin-bottom: 14px; padding: 7px 12px; color: var(--navy); background: #fff; border: 1px solid #c9d3df; border-radius: 6px; box-shadow: 0 2px 8px rgba(6,41,91,.04); font-size: calc(13px * var(--panel-font-scale, 1)); font-weight: 900; }
.back-link span { color: var(--orange); font-size: calc(20px * var(--panel-font-scale, 1)); line-height: 1; transform: translateY(-1px); }
.back-link:hover { color: var(--navy); background: var(--orange-soft); border-color: var(--orange); }
.back-link:focus-visible { outline: 3px solid rgba(252,109,4,.24); outline-offset: 2px; }
.reservation-detail-head { align-items: center; }
.reservation-detail-head .page-actions { align-items: center; flex-wrap: wrap; }
.reservation-detail-head .page-actions form { margin: 0; }
.reservation-title-row { display: flex; align-items: center; gap: 11px; }
.reservation-title-row h1 { margin: 0; }
.reservation-detail-module .workflow-progress { margin-bottom: 16px; border: 1px solid var(--line); border-radius: 7px; background: #fff; }
.reservation-detail-module .reservation-workflow-bar { align-items: center; justify-content: space-between; gap: 24px; padding: 18px 20px; overflow: hidden; }
.reservation-workflow-steps { display: flex; min-width: 0; flex: 1; align-items: flex-start; justify-content: flex-start; overflow-x: auto; }
.reservation-workflow-steps .workflow-line { width: clamp(22px,3vw,56px); }
.reservation-workflow-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 9px; }
.reservation-workflow-actions:empty { display: none; }
.reservation-workflow-action { flex: 0 0 auto; margin: 0; }
.reservation-workflow-actions .button { min-width: 160px; min-height: 48px; }
.reservation-detail-tabs { display: flex; gap: 6px; margin-bottom: 14px; padding: 6px; overflow-x: auto; }
.reservation-detail-tabs button { display: flex; min-width: max-content; min-height: 60px; flex: 1 0 auto; align-items: center; justify-content: center; gap: 10px; padding: 12px 18px; color: #334b68; background: transparent; border: 0; border-radius: 6px; font: inherit; cursor: pointer; }
.reservation-detail-tabs button > span { display: grid; width: 20px; height: 20px; flex: 0 0 20px; place-items: center; color: currentColor; }
.reservation-detail-tabs button > span svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.reservation-detail-tabs button > strong { font-size: calc(15px * var(--panel-font-scale, 1)); line-height: 1.35; font-weight: 700; white-space: nowrap; }
.reservation-detail-tabs button:hover { color: var(--navy); background: #eef3f8; }
.reservation-detail-tabs button.active { color: var(--navy); background: var(--orange-soft); box-shadow: inset 0 -4px 0 var(--orange); }
.reservation-detail-tabs button:focus-visible { outline: 3px solid var(--navy); outline-offset: -3px; }
.reservation-detail-pane[hidden] { display: none!important; }
.reservation-detail-pane.active { animation: view-in .18s ease; }
.reservation-documents-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; gap: 14px; }
.reservation-document-panel, .reservation-history-panel { min-width: 0; overflow: hidden; }
.reservation-documents-grid > :only-child { grid-column: 1/-1; }
.reservation-attachments-panel .panel-head { flex-wrap: wrap; gap: 12px; }
.reservation-attachments-panel .panel-head > .button-primary { flex-shrink: 0; padding: 10px 16px; color: #fff; background: var(--orange); border: 1px solid var(--orange); font-size: calc(14px * var(--panel-font-scale, 1)); font-weight: 800; }
.reservation-attachments-panel .panel-head > .button-primary:hover { background: var(--orange-dark); border-color: var(--orange-dark); }
.reservation-attachment-list strong, .reservation-attachment-list small { overflow-wrap: anywhere; }
.reservation-attachment-list .agreement-version-symbol { background: var(--navy); }
.reservation-attachment-modal > form { padding: 0; }
.reservation-attachment-modal .modal-actions { margin: 0; padding: 16px 18px; border-top: 1px solid var(--line); }
.reservation-attachment-modal label > small { color: var(--muted); font-weight: 400; line-height: 1.5; }
.reservation-detail-module .reservation-attachment-modal .document-file-field { gap: 14px; }
.agreement-version-list { display: grid; padding: 0 19px 16px; }
.agreement-version-list article { display: grid; min-height: 68px; grid-template-columns: 42px minmax(0,1fr) auto; align-items: center; gap: 13px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.agreement-version-list article:last-child { border-bottom: 0; }
.agreement-version-symbol { display: grid; width: 40px; height: 43px; place-items: center; color: #fff; background: #cf4d3d; border-radius: 5px; font-size: calc(9px * var(--panel-font-scale, 1)); font-weight: 900; letter-spacing: .04em; }
.agreement-version-list strong, .agreement-version-list small { display: block; }
.agreement-version-list strong { color: var(--navy); font-size: calc(13px * var(--panel-font-scale, 1)); }
.agreement-version-list small { margin-top: 4px; color: var(--muted); font-size: calc(10px * var(--panel-font-scale, 1)); }
.agreement-version-list .button { min-height: 36px; padding: 8px 12px; font-size: calc(11px * var(--panel-font-scale, 1)); }
.agreement-version-list article.is-approved { align-items: start; }
.agreement-version-list article.is-approved > .agreement-version-symbol { margin-top: 2px; background: #258553; }
.agreement-version-list article.is-approved > .button { margin-top: 2px; }
.agreement-approval { margin-top: 10px; padding: 10px 12px; color: #234936; background: #f0faf4; border: 1px solid #c9e8d5; border-radius: 6px; }
.agreement-approval .agreement-approval-status { display: inline-flex; color: #1f7045; background: #dff4e7; }
.agreement-approval p { margin: 7px 0 0; color: #335747; font-size: calc(10px * var(--panel-font-scale, 1)); line-height: 1.65; white-space: pre-line; overflow-wrap: anywhere; }
.agreement-version-list .agreement-approval small { margin-top: 6px; color: #527060; line-height: 1.5; }
.agreement-approval b { color: #234936; }
.reservation-tab-empty { display: grid; min-height: 180px; place-items: center; align-content: center; gap: 8px; color: var(--muted); text-align: center; }
.reservation-tab-empty > span { display: grid; width: 42px; height: 42px; place-items: center; color: var(--navy); background: #eef3f8; border-radius: 50%; font-weight: 900; }
.reservation-tab-empty p { margin: 0; font-size: calc(11px * var(--panel-font-scale, 1)); }
.reservation-protocols--documents { padding: 2px 19px 16px; }
.reservation-protocols--documents article { display: grid; min-height: 68px; grid-template-columns: 34px minmax(0,1fr); align-items: start; gap: 11px; }
.protocol-symbol { display: grid; width: 32px; height: 32px; place-items: center; color: var(--green); background: var(--green-soft); border-radius: 50%; font-size: calc(13px * var(--panel-font-scale, 1)); font-weight: 900; }
.reservation-protocols--documents strong { display: block; margin-bottom: 4px; color: var(--navy); font-size: calc(12px * var(--panel-font-scale, 1)); }
.reservation-event-head { display: grid; grid-template-columns: minmax(0,1fr) 200px 172px; gap: 20px; padding: 12px 22px 12px 80px; color: #526175; background: #f5f7fa; border-bottom: 1px solid var(--line); font-size: calc(12px * var(--panel-font-scale, 1)); font-weight: 700; }
.reservation-event-timeline { display: grid; }
.reservation-event-timeline article { display: grid; grid-template-columns: 38px minmax(0,1fr) 200px 172px; align-items: start; gap: 20px; padding: 22px; border-bottom: 1px solid var(--line); }
.reservation-event-timeline article:last-child { border-bottom: 0; }
.reservation-event-timeline article:nth-child(even) { background: #fbfcfe; }
.reservation-event-icon { display: grid; width: 38px; height: 38px; place-items: center; color: var(--navy); background: #e9eff6; border-radius: 9px; }
.reservation-event-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.reservation-event--payment .reservation-event-icon { color: #146c4e; background: var(--green-soft); }
.reservation-event--warning .reservation-event-icon { color: #a32e3a; background: #fcecef; }
.reservation-event-content h3 { margin: 0; color: var(--navy); font-size: calc(15px * var(--panel-font-scale, 1)); font-weight: 700; line-height: 1.5; }
.reservation-event-content p { margin: 7px 0 0; color: #40536b; font-size: calc(13px * var(--panel-font-scale, 1)); font-weight: 500; line-height: 1.7; white-space: pre-line; overflow-wrap: anywhere; }
.reservation-event-author { min-width: 0; padding-top: 2px; }
.reservation-event-author strong { display: block; color: var(--navy); font-size: calc(14px * var(--panel-font-scale, 1)); line-height: 1.5; overflow-wrap: anywhere; }
.reservation-event-author small { display: block; margin-top: 4px; color: #526175; font-size: calc(12px * var(--panel-font-scale, 1)); }
.reservation-event-meta-label { display: none; }
.reservation-event-timeline time { padding-top: 3px; color: #526175; font-size: calc(13px * var(--panel-font-scale, 1)); font-weight: 600; line-height: 1.5; white-space: nowrap; }
@media (max-width: 1200px) {
    .reservation-event-head { display: none; }
    .reservation-event-timeline article { grid-template-columns: 38px minmax(0,1fr); gap: 12px 16px; }
    .reservation-event-author, .reservation-event-timeline time { grid-column: 2; padding-top: 0; }
    .reservation-event-meta-label { display: inline; margin-right: 7px; color: #526175; font-size: calc(12px * var(--panel-font-scale, 1)); }
    .reservation-event-author strong, .reservation-event-author small { display: inline; margin-right: 8px; }
}
.detail-grid { display: grid; grid-template-columns: minmax(0,1fr) 310px; align-items: start; gap: 14px; }
.detail-grid--overview { grid-template-columns: 1fr; }
.reservation-payments-grid { display: grid; grid-template-columns: minmax(0,1fr) 360px; align-items: start; gap: 14px; }
.detail-main, .detail-side { display: grid; gap: 12px; min-width: 0; }
.detail-grid--overview .detail-main { grid-template-columns: repeat(3,minmax(0,1fr)); align-items: stretch; }
.detail-grid--overview .detail-card--notes { grid-column: 1/-1; }
.reservation-agreement-notice { grid-column: 1/-1; margin: 0; scroll-margin-top: calc(var(--topbar) + 18px); }
.detail-card { overflow: hidden; }
.detail-card .panel-head { min-height: 57px; }
.detail-card .panel-head button { padding: 0; color: var(--orange); background: transparent; border: 0; font-size: calc(11px * var(--panel-font-scale, 1)); font-weight: 900; }
.term-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.term-grid > div { position: relative; padding: 17px 19px; }
.term-grid > div + div { border-left: 1px solid var(--line); }
.term-grid span, .term-grid strong, .term-grid small { display: block; }
.term-grid span { color: #8a96a6; font-size: calc(9px * var(--panel-font-scale, 1)); font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
.term-grid strong { margin: 4px 0 2px; color: var(--navy); font-size: calc(14px * var(--panel-font-scale, 1)); }
.term-grid small { color: var(--muted); font-size: calc(10px * var(--panel-font-scale, 1)); }
.reservation-detail-module .vehicle-detail { display: block; margin: 0; padding: 18px 19px; }
.reservation-detail-module .vehicle-detail h2 { margin: 4px 0 2px; color: var(--navy); font-size: calc(17px * var(--panel-font-scale, 1)); }
.reservation-detail-module .vehicle-detail p { margin: 0; color: var(--muted); font-size: calc(11px * var(--panel-font-scale, 1)); }
.asset-label { color: #8a96a6; font-size: calc(9px * var(--panel-font-scale, 1)); font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
.customer-detail { display: grid; grid-template-columns: 48px minmax(0,1fr); align-items: center; gap: 12px; padding: 16px 19px; }
.customer-detail .big-avatar { width: 48px; height: 48px; }
.customer-detail strong, .customer-detail a { display: block; }
.customer-detail strong { margin-bottom: 3px; color: var(--navy); font-size: calc(13px * var(--panel-font-scale, 1)); }
.customer-detail a { width: fit-content; max-width: 100%; color: #65758a; font-size: calc(10px * var(--panel-font-scale, 1)); overflow-wrap: anywhere; }
.reservation-notes, .reservation-protocols { display: grid; padding: 0 18px 15px; }
.reservation-notes article, .reservation-protocols article { padding: 10px 0; border-bottom: 1px solid var(--line); }
.reservation-notes article:last-child, .reservation-protocols article:last-child { border-bottom: 0; }
.reservation-notes small, .reservation-protocols small { color: #8b97a6; font-size: calc(9px * var(--panel-font-scale, 1)); }
.reservation-notes p, .reservation-protocols p { margin: 3px 0 0; color: #4f6075; font-size: calc(11px * var(--panel-font-scale, 1)); line-height: 1.55; }
.payment-panel { overflow: hidden; }
.payment-state { padding: 16px 17px 12px; }
.payment-state > strong { color: var(--navy); font-size: calc(21px * var(--panel-font-scale, 1)); }
.payment-state .progress { height: 6px; margin: 8px 0 5px; overflow: hidden; background: #e6ebf0; border-radius: 3px; }
.payment-state .progress i { display: block; height: 100%; background: var(--green); }
.payment-state small { color: var(--muted); font-size: calc(9px * var(--panel-font-scale, 1)); }
.to-pay { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 17px; color: #7e4b0e; background: #fff7e8; border-block: 1px solid #f2dfb8; }
.to-pay span { font-size: calc(10px * var(--panel-font-scale, 1)); font-weight: 800; }
.to-pay strong { font-size: calc(14px * var(--panel-font-scale, 1)); }
.reservation-items { display: grid; padding: 8px 17px; }
.reservation-items > div { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; color: #5b6a7c; border-bottom: 1px solid #edf0f4; font-size: calc(10px * var(--panel-font-scale, 1)); }
.reservation-items > div:last-child { border-bottom: 0; }
.reservation-items strong { color: var(--navy); }
.settlement-actions { display: flex; flex-direction: row; gap: 7px; padding: 10px 17px 16px; }
.settlement-actions .button { width: auto; flex: 1; justify-content: center; padding-inline: 8px; }
.payment-history, .reservation-event-history, .deposit-panel { padding: 14px 16px; }
.payment-history h3, .reservation-event-history h3 { margin: 0 0 9px; color: var(--navy); font-size: calc(12px * var(--panel-font-scale, 1)); }
.payment-history > div, .reservation-event-history > div { display: flex; align-items: center; justify-content: space-between; gap: 9px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: calc(10px * var(--panel-font-scale, 1)); }
.payment-history > div:last-child, .reservation-event-history > div:last-child { border-bottom: 0; }
.payment-history span, .payment-history small, .reservation-event-history span, .reservation-event-history small { display: block; }
.payment-history small, .reservation-event-history small { color: var(--muted); font-size: calc(8px * var(--panel-font-scale, 1)); }
.reservation-event-history .event-detail { display: block; margin-top: 3px; color: #455a73; font-size: calc(9px * var(--panel-font-scale, 1)); font-style: normal; font-weight: 700; line-height: 1.45; overflow-wrap: anywhere; }
.payment-history strong { color: var(--navy); }
.payment-history button { padding: 3px 6px; color: #a93642; background: #fff; border: 1px solid #e4b9bf; border-radius: 4px; font-size: calc(8px * var(--panel-font-scale, 1)); font-weight: 900; }
.payment-history .is-voided { opacity: .5; text-decoration: line-through; }
.deposit-panel { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.deposit-panel span, .deposit-panel strong, .deposit-panel small { display: block; }
.deposit-panel > div > span { color: var(--muted); font-size: calc(9px * var(--panel-font-scale, 1)); }
.deposit-panel strong { color: var(--navy); font-size: calc(16px * var(--panel-font-scale, 1)); }
.deposit-panel small { color: #8b97a6; font-size: calc(8px * var(--panel-font-scale, 1)); }
.full-width { width: 100%; }
.reservation-cancel { min-height: 38px; padding: 8px 13px; color: #a93642; background: #fff; border: 1px solid #e4b9bf; border-radius: 5px; font-size: calc(11px * var(--panel-font-scale, 1)); font-weight: 900; }
.reservation-workflow-actions .reservation-cancel { font-size: calc(16px * var(--panel-font-scale, 1)); }
.reservation-cancel:hover { color: #fff; background: #b83e49; border-color: #b83e49; }
.small-modal { width: min(520px,100%); }
.small-modal > form { display: grid; gap: 13px; padding: 18px 22px 20px; }

@media (max-width: 1050px) {
    .detail-grid--overview .detail-main { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
    .detail-grid { grid-template-columns: minmax(0,1fr) 285px; }
    .detail-grid--overview { grid-template-columns: 1fr; }
    .reservation-payments-grid { grid-template-columns: minmax(0,1fr) 320px; }
}

@media (max-width: 840px) {
    .reservation-filter-panel { grid-template-columns: 1fr 1fr; }
    .detail-grid { grid-template-columns: 1fr; }
    .detail-side { grid-template-columns: 1fr 1fr; }
    .detail-side > .payment-panel { grid-row: span 3; }
    .reservation-documents-grid { grid-template-columns: 1fr; }
    .reservation-documents-grid > :only-child { grid-column: auto; }
    .reservation-payments-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
    .reservation-summary-grid .metric-card:last-child { grid-column: 1/-1; }
    .reservation-tabs { padding-inline: 8px; }
    .reservations-filter-form .list-toolbar { padding-inline: 12px; }
    .reservations-filter-form .toolbar-actions { display: grid; grid-template-columns: 1fr auto; overflow: visible; }
    .reservation-month input { width: 100%; }
    .reservation-filter-panel { grid-template-columns: 1fr; padding-inline: 12px; }
    .reservation-filter-actions { grid-column: auto; justify-content: space-between; }
    .reservation-form-modal { max-height: calc(100vh - 16px); }
    .reservation-form-scroll { max-height: calc(100vh - 190px); padding-inline: 16px; }
    .reservation-detail-head .page-actions form, .reservation-detail-head .page-actions .button { width: 100%; }
    .reservation-title-row { align-items: flex-start; flex-direction: column; }
    .reservation-detail-module .workflow-progress { justify-content: flex-start; padding-inline: 16px; }
    .reservation-detail-module .reservation-workflow-bar { align-items: stretch; flex-direction: column; gap: 12px; }
    .reservation-workflow-actions { align-items: stretch; flex-direction: column; width: 100%; }
    .reservation-workflow-action, .reservation-workflow-actions .button { width: 100%; }
    .workflow-step { min-width: 64px; }
    .workflow-line { width: 31px; }
    .reservation-detail-tabs { margin-right: -16px; margin-left: -16px; padding-inline: 16px; border-right: 0; border-left: 0; border-radius: 0; }
    .reservation-detail-tabs button { min-width: max-content; padding-inline: 14px; }
    .term-grid, .detail-side { grid-template-columns: 1fr; }
    .term-grid > div + div { border-top: 1px solid var(--line); border-left: 0; }
    .detail-side > .payment-panel { grid-row: auto; }
    .settlement-actions { flex-direction: column; }
    .reservation-attachments-panel .panel-head > .button-primary { width: 100%; }
    .agreement-version-list article { grid-template-columns: 38px minmax(0,1fr); }
    .agreement-version-symbol { width: 36px; height: 39px; }
    .agreement-version-list .button { grid-column: 2; width: 100%; }
    .reservation-event-timeline article { grid-template-columns: 30px minmax(0,1fr); gap: 10px 12px; padding: 18px 14px; }
    .reservation-event-icon { width: 30px; height: 30px; }
    .reservation-event-icon svg { width: 19px; height: 19px; }
    .reservation-event-timeline time { grid-column: 2; }
}

.operations-panel { margin-block: 16px; padding: 20px; }
.company-settings-pane[data-settings-pane="notifications"] > .operations-panel:first-child,
.company-settings-pane[data-settings-pane="integrations"] > .operations-panel:first-child { margin-top: 0; }
.operations-panel h2 { margin: 0 0 12px; font-size: 18px; }
.operations-panel p { color: var(--text-muted, #617084); font-size: 14px; }
.operations-provider { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; padding-block: 10px; border-bottom: 1px solid #e4e9f0; }
.operations-provider form { margin-left: auto; }
.operations-panel .table-scroll { overflow-x: auto; }
.operations-panel table { width: 100%; border-collapse: collapse; text-align: left; font-size: 13px; }
.operations-panel th, .operations-panel td { padding: 10px; border-bottom: 1px solid #e4e9f0; vertical-align: top; }
.operations-panel td { overflow-wrap: anywhere; }
.operations-panel summary { cursor: pointer; padding: 12px 0; }
.operations-panel .settings-form { max-width: 680px; }
.operations-panel select { max-width: 100%; }
@media (max-width: 600px) { .operations-panel { padding: 16px; } .operations-provider { align-items: flex-start; flex-direction: column; } .operations-provider form { margin-left: 0; } .operations-panel th, .operations-panel td { padding: 8px; } }
.operations-panel .settings-form > label:not(.settings-inline-toggle) { display: grid; gap: 8px; }
.operations-panel .automation-settings-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px 24px; max-width: none; padding: 8px 0 0; }
.automation-settings-form > label:not(.settings-inline-toggle) { flex: 1 1 280px; min-width: 0; max-width: 420px; }
.automation-settings-form select { width: 100%; min-height: 42px; }
.automation-settings-form .settings-inline-toggle { flex: 0 0 auto; min-height: 42px; gap: 12px; padding: 0; border: 0; }
.automation-settings-form > .button { min-height: 42px; margin-left: auto; }
@media (max-width: 560px) {
    .automation-settings-form > label:not(.settings-inline-toggle) { flex-basis: 100%; max-width: none; }
    .automation-settings-form .settings-inline-toggle { flex: 1 1 220px; justify-content: space-between; }
    .automation-settings-form > .button { width: 100%; margin-left: 0; }
}
.operations-history > summary { cursor: pointer; padding: 16px 20px; background: #fff; border: 1px solid #e4e9f0; border-radius: 10px; font-weight: 700; }

/* Launch promotion. Shared shell keeps the offer visible on every panel screen. */
.saas-promotion { color: #143456; background: #fff5e5; border: 1px solid #efca91; border-left: 4px solid #ee9b31; border-radius: 10px; overflow-wrap: anywhere; }
.saas-promotion strong { display: block; font-size: calc(15px * var(--panel-font-scale, 1)); font-weight: 800; line-height: 1.5; }
.saas-promotion p { margin: 4px 0 0; font-size: calc(12px * var(--panel-font-scale, 1)); line-height: 1.65; }
.saas-promotion--app { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 20px 28px 0; padding: 14px 18px; }
.saas-promotion--app a { flex-shrink: 0; padding: 8px 0; color: #0b2f65; font-size: calc(12px * var(--panel-font-scale, 1)); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.auth-panel { --auth-promotion-width: 480px; }
.auth-panel:has(> .auth-view-wide) { --auth-promotion-width: 700px; }
.saas-promotion--auth { position: relative; z-index: 2; width: min(100%,var(--auth-promotion-width)); margin: 0 0 24px; padding: 16px 18px; }
.saas-promotion--auth strong { font-size: 17px; overflow-wrap: normal; text-wrap: balance; }
.saas-promotion--auth .saas-promotion-deadline { display: block; margin-top: 2px; color: #a64b00; font-size: 1.12em; }
.saas-promotion--auth p { font-size: 13px; }
.saas-promotion--auth small { display: block; margin-top: 7px; font-size: 12px; line-height: 1.6; }
@media (max-width: 960px) {
    .auth-panel, .auth-panel:has(> .auth-view-wide) { --auth-promotion-width: 650px; }
}
@media (max-width: 700px) {
    .saas-promotion--app { align-items: flex-start; flex-direction: column; gap: 4px; margin: 12px 12px 0; padding: 12px 14px; }
    .saas-promotion--app strong { font-size: calc(14px * var(--panel-font-scale, 1)); }
    .saas-promotion--auth { margin-bottom: 20px; padding: 14px; }
    .saas-promotion--auth strong { font-size: 15px; }
}
