:root {
  --ink: #172633;
  --muted: #697885;
  --navy: #17324d;
  --navy-2: #244c70;
  --sand: #c58c55;
  --sand-soft: #f5e9dc;
  --paper: #ffffff;
  --bg: #f4f6f7;
  --line: #dfe5e8;
  --green: #34775c;
  --red: #b54c48;
  --amber: #a76d20;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(23,50,77,.07);
}
* { box-sizing: border-box; }
html { font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--ink); background: var(--bg); }
body { margin: 0; min-height: 100vh; }
a { color: var(--navy-2); text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, .button { -webkit-tap-highlight-color: transparent; }
.topbar { height: 72px; padding: 0 max(24px, calc((100vw - 1240px)/2)); display: flex; align-items: center; justify-content: space-between; background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--ink); }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; color: white; background: var(--navy); border-radius: 11px; font-size: 22px; }
.brand span:last-child { display: flex; flex-direction: column; line-height: 1.15; }
.brand small { color: var(--muted); margin-top: 3px; }
.topbar nav { display: flex; align-items: center; gap: 24px; font-size: 14px; font-weight: 650; }
.topbar nav a, .link-button { color: #4b5e6d; }
.topbar nav a:hover, .link-button:hover { color: var(--sand); }
.topbar nav form { margin: 0; }
.link-button { background: none; border: 0; padding: 0; cursor: pointer; font-weight: 650; }
.menu-button, .mobile-nav { display: none; }
.page { width: min(1240px, calc(100% - 40px)); margin: 0 auto; padding: 38px 0 70px; }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.page-heading.compact { align-items: center; }
.page-heading h1 { margin: 4px 0 7px; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(32px, 4vw, 48px); line-height: 1.05; letter-spacing: -.02em; color: var(--navy); }
.page-heading p { margin: 0; color: var(--muted); }
.eyebrow { color: var(--sand); font-size: 12px; letter-spacing: .16em; font-weight: 800; }
.back { display: inline-block; margin-bottom: 10px; font-size: 14px; font-weight: 700; }
.actions, .form-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.button { min-height: 42px; border-radius: 10px; padding: 10px 16px; border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 750; font-size: 14px; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; }
.button:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(23,50,77,.1); }
.button-primary { background: var(--navy); color: white; border-color: var(--navy); }
.button-primary:hover { background: var(--navy-2); }
.button-secondary { background: var(--paper); color: var(--navy); }
.button-small { min-height: 34px; padding: 7px 11px; background: white; color: var(--navy); }
.button-block { width: 100%; }
.button:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }
.card h2 { margin: 0 0 16px; color: var(--navy); font-size: 20px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.card-head h2 { margin-bottom: 4px; }
.card-head p { margin: 0; color: var(--muted); font-size: 14px; }
.card-head > a { font-size: 14px; font-weight: 750; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.stat { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); display: flex; flex-direction: column; min-height: 142px; }
.stat > span { color: var(--muted); font-size: 13px; font-weight: 700; }
.stat strong { font-family: Georgia, serif; font-size: 29px; color: var(--navy); margin: auto 0 4px; }
.stat small { color: var(--muted); }
.stat.accent { background: var(--navy); border-color: var(--navy); }
.stat.accent > span, .stat.accent small { color: #c7d5e1; }
.stat.accent strong { color: white; }
.stat.warning { border-color: #e4b4b2; background: #fff7f6; }
.content-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; }
.span-2 { grid-column: span 1; }
.booking-list { margin: 0 -10px; }
.booking-row { display: flex; align-items: center; gap: 14px; padding: 12px 10px; color: var(--ink); border-radius: 11px; }
.booking-row + .booking-row { border-top: 1px solid #edf0f2; }
.booking-row:hover { background: #f7f9fa; }
.date-tile { width: 48px; height: 48px; flex: none; display: flex; flex-direction: column; justify-content: center; align-items: center; border-radius: 10px; background: var(--sand-soft); color: #81572d; }
.date-tile strong { font-family: Georgia, serif; font-size: 20px; line-height: 1; }
.date-tile small { font-size: 10px; margin-top: 3px; }
.grow { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.grow small, td small { display: block; color: var(--muted); margin-top: 4px; }
.status { display: inline-block; width: fit-content; border-radius: 99px; padding: 5px 9px; font-size: 11px; font-weight: 800; background: #edf1f4; color: #5b6b78; }
.status.active, .status.completed { background: #e4f2ec; color: var(--green); }
.status.cancelled { background: #f8e7e6; color: var(--red); }
.status.planned { background: #edf2f7; color: var(--navy-2); }
.quick-card > a, .document-list > a { display: flex; align-items: center; gap: 13px; padding: 13px 2px; color: var(--ink); }
.quick-card > a + a, .document-list > a + a { border-top: 1px solid var(--line); }
.quick-card > a > span, .document-list > a > span { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 10px; color: var(--navy); background: #eef3f7; font-size: 19px; }
.quick-card a div, .document-list a div { display: flex; flex-direction: column; gap: 3px; }
.quick-card small, .document-list small { color: var(--muted); }
.empty { padding: 42px 15px; text-align: center; color: var(--muted); }
.empty strong { color: var(--ink); }
.empty p { margin: 7px 0 0; }
.flash-stack { margin-bottom: 18px; }
.flash { padding: 13px 16px; border-radius: 10px; font-weight: 650; background: #edf2f7; color: var(--navy); }
.flash.success { background: #e4f2ec; color: #215d45; }
.flash.error { background: #f9e8e7; color: #913a36; }
.flash + .flash { margin-top: 8px; }
.search-row { display: flex; gap: 10px; margin-bottom: 20px; }
.search-row input { flex: 1; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th { text-align: left; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
th, td { padding: 13px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
tbody tr:last-child td { border-bottom: 0; }
.align-right { text-align: right; }
.doc-pills { display: flex; gap: 5px; }
.doc-pills i { font-style: normal; font-size: 11px; background: #f1f3f4; color: #89949c; padding: 5px 8px; border-radius: 99px; }
.doc-pills i.done { background: #e4f2ec; color: var(--green); }
label { display: flex; flex-direction: column; gap: 7px; font-size: 13px; font-weight: 750; color: #394b58; }
label small { font-weight: 500; color: var(--muted); }
input, select, textarea { width: 100%; border: 1px solid #cfd8dd; border-radius: 9px; background: white; color: var(--ink); padding: 11px 12px; outline: none; }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--navy-2); box-shadow: 0 0 0 3px rgba(36,76,112,.11); }
input[type=checkbox] { width: 18px; height: 18px; padding: 0; accent-color: var(--navy); }
.form-card { display: flex; flex-direction: column; gap: 24px; }
.form-card.narrow { max-width: 620px; }
fieldset { border: 0; padding: 0; margin: 0; }
legend { width: 100%; padding: 0 0 12px; margin-bottom: 16px; border-bottom: 1px solid var(--line); color: var(--navy); font-size: 19px; font-weight: 800; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.form-grid.three { grid-template-columns: repeat(3, 1fr); }
.form-grid.four { grid-template-columns: repeat(4, 1fr); }
.form-grid .full { grid-column: 1 / -1; }
.form-actions { justify-content: flex-end; padding-top: 6px; }
.file-field input { padding: 7px; }
.file-field > span { color: var(--muted); font-size: 12px; font-weight: 500; }
.check-grid { display: flex; flex-wrap: wrap; gap: 16px 28px; margin-top: 18px; }
.check-grid label, .completion { flex-direction: row; align-items: center; }
.duration-preview { margin-top: 16px; border-radius: 10px; padding: 12px 14px; color: var(--navy); background: #eef3f7; font-size: 14px; font-weight: 700; }
.callout { background: #fff5e8; color: #7c5729; border: 1px solid #eed7b7; padding: 15px; border-radius: 11px; margin-bottom: 16px; }
.detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin: 0; }
.detail-grid dt { color: var(--muted); font-size: 12px; font-weight: 750; text-transform: uppercase; letter-spacing: .05em; }
.detail-grid dd { margin: 6px 0 0; line-height: 1.5; }
.note-box { background: #f6f8f9; border-radius: 11px; padding: 15px; margin-top: 22px; }
.note-box p { margin: 6px 0 0; color: #536472; white-space: pre-line; }
.missing-doc { border: 1px dashed #ccd4d9; color: var(--muted); border-radius: 10px; padding: 13px; margin-top: 9px; font-size: 13px; }
.top-gap { margin-top: 20px; }
.booking-stats { margin-top: -4px; }
.stat-status { font-size: 25px !important; }
.inspection-choices { display: grid; gap: 12px; }
.inspection-choices article { display: flex; align-items: center; gap: 14px; border: 1px solid var(--line); border-radius: 13px; padding: 15px; }
.inspection-choices article > div:nth-child(2) { flex: 1; }
.inspection-choices h3 { margin: 0 0 5px; color: var(--navy); }
.inspection-choices p { margin: 0 0 6px; color: var(--muted); font-size: 13px; }
.inspection-icon { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--sand-soft); color: #84592f; font-size: 22px; }
.calendar-card { padding: 18px; }
.calendar-nav { display: flex; justify-content: space-between; margin-bottom: 15px; }
.calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.calendar-head span { text-align: center; color: var(--muted); font-size: 12px; font-weight: 750; padding: 8px; }
.calendar-day { position: relative; min-height: 110px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); padding: 9px; background: white; overflow: hidden; }
.calendar-day:nth-child(7n) { border-right: 1px solid var(--line); }
.calendar-body .calendar-day:nth-last-child(-n+7) { border-bottom: 1px solid var(--line); }
.calendar-day.outside { background: #f8f9fa; color: #aab2b8; }
.calendar-day.today .day-number { background: var(--sand); color: white; }
.day-number { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 750; margin-bottom: 5px; }
.calendar-day a { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; background: #e8f0f6; color: var(--navy-2); padding: 5px 6px; border-left: 3px solid var(--navy-2); margin-top: 4px; font-size: 11px; font-weight: 750; }
.inspection-form { display: flex; flex-direction: column; gap: 18px; }
.inventory { display: flex; flex-direction: column; gap: 14px; }
.room-card { padding: 0; overflow: hidden; }
.room-head { display: flex; justify-content: space-between; align-items: center; padding: 17px 20px; background: var(--navy); color: white; }
.room-head h2 { color: white; margin: 0; }
.room-head span { color: #c9d5df; font-size: 12px; }
.inventory-list { padding: 0 18px; }
.inventory-row { display: grid; grid-template-columns: minmax(180px, 1.2fr) 150px 1fr 32px; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.inventory-row > input[type=hidden] { display: none; }
.item-name input { font-weight: 700; }
.inventory-row select, .inventory-row > input { padding: 9px 10px; }
.inventory-row select:has(option[value="missing"]:checked), .inventory-row select:has(option[value="damaged"]:checked) { border-color: #d88b86; background: #fff5f4; color: var(--red); }
.remove-row { border: 0; background: #f7e9e8; color: var(--red); border-radius: 8px; width: 30px; height: 30px; font-size: 20px; cursor: pointer; }
.add-row { margin: 12px 18px 17px; border: 1px dashed #9bacb8; background: #f8fafb; color: var(--navy-2); border-radius: 9px; padding: 9px 12px; font-weight: 750; cursor: pointer; }
.photo-input { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.photo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 16px 0; }
.photo-grid figure { margin: 0; background: #f5f7f8; padding: 8px; border-radius: 10px; }
.photo-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 7px; display: block; }
.photo-grid figcaption { font-size: 12px; color: var(--muted); padding: 7px 2px 2px; }
.remove-photo { border: 0; background: none; color: var(--red); padding: 4px 2px; cursor: pointer; font-size: 12px; }
.completion { background: #eef4f7; border-radius: 10px; padding: 13px; margin-top: 16px; }
.handover-card { border-color: #c8d8e2; background: #fbfdfe; }
.handover-checklist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.handover-checklist label { min-height: 48px; flex-direction: row; align-items: center; gap: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: white; cursor: pointer; }
.handover-checklist label:has(input:checked) { border-color: #9fc4b2; background: #edf7f1; color: #225e46; }
.sticky-actions { position: sticky; bottom: 12px; z-index: 10; align-self: flex-end; display: flex; gap: 9px; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: 13px; padding: 9px; box-shadow: 0 8px 30px rgba(23,50,77,.16); }
.meter-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.meter-strip div { display: flex; flex-direction: column; gap: 6px; }
.meter-strip span { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.inspection-report { margin-bottom: 14px; }
.handover-report { margin-top: 18px; page-break-inside: avoid; }
.handover-result { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.handover-result > div { display: grid; grid-template-columns: 26px 1fr auto; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 9px; }
.handover-result > div > strong { font-size: 18px; }
.handover-result > div > small { color: var(--muted); }
.handover-result .done { color: var(--green); background: #f2f9f5; border-color: #b9d8c9; }
.handover-result .pending { color: var(--red); background: #fff8f7; border-color: #ead0ce; }
.item-state { font-weight: 750; }
.item-state.ok { color: var(--green); }
.item-state.missing, .item-state.damaged { color: var(--red); }
.item-state.not_checked { color: var(--muted); }
.preline { white-space: pre-line; line-height: 1.6; }
.signatures { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; margin: 45px 0 10px; page-break-inside: avoid; }
.signatures > div { min-height: 145px; border-top: 1px solid #89949c; padding-top: 10px; }
.signatures span, .signatures small { color: var(--muted); font-size: 11px; }
.print-header { display: none; }
.document-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 20px; }
.document-toolbar > div { display: flex; align-items: center; gap: 14px; }
.document-toolbar span { color: var(--muted); font-size: 13px; }
.paper { max-width: 900px; margin: 0 auto; background: white; padding: 62px 72px; box-shadow: 0 15px 50px rgba(23,50,77,.1); }
.guest-guide { color: #243541; }
.guide-header { padding: 28px; text-align: center; color: white; background: var(--navy); border-radius: 14px; }
.guide-header > span { color: #e7c8a8; font-size: 11px; font-weight: 850; letter-spacing: .22em; }
.guide-header h1 { margin: 7px 0 3px; font-family: Georgia, serif; font-size: 36px; }
.guide-header p { margin: 0 0 15px; color: #dbe5ec; }
.guide-header > strong { display: block; font-size: 15px; letter-spacing: .03em; }
.guide-welcome { margin: 28px 0; text-align: center; }
.guide-welcome h2 { margin-bottom: 7px; color: var(--navy); font-family: Georgia, serif; font-size: 26px; }
.guide-welcome > p { margin: 0 auto 20px; max-width: 650px; color: var(--muted); line-height: 1.6; }
.guide-access-box { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; text-align: left; }
.guide-access-box > div { display: flex; flex-direction: column; gap: 12px; padding: 13px; border: 1px solid var(--line); border-radius: 10px; background: #f8fafb; }
.guide-access-box span { color: var(--muted); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.guide-access-box strong { font-size: 12px; color: #82909a; overflow: hidden; }
.guide-section { margin-top: 28px; }
.guide-section > h2 { margin: 0 0 13px; padding-bottom: 8px; border-bottom: 2px solid var(--sand); color: var(--navy); font-family: Georgia, serif; font-size: 21px; }
.guide-rules { display: grid; gap: 10px; }
.guide-rules > div { display: grid; grid-template-columns: 34px 1fr; gap: 11px; padding: 13px; border: 1px solid var(--line); border-radius: 10px; page-break-inside: avoid; }
.guide-rules h3 { margin: 0 0 4px; color: var(--navy); font-size: 14px; }
.guide-rules p { margin: 0; line-height: 1.5; font-size: 13px; }
.guide-number { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--navy-2); font-weight: 850; }
.guide-rules .guide-alert { border-color: #e3c29e; background: #fff8ef; }
.guide-rules .guide-alert .guide-number { background: var(--sand); }
.guide-contacts > div { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.guide-contacts > div p { margin: 0; padding: 15px; border-radius: 10px; background: #eef3f7; line-height: 1.55; }
.guide-emergency { padding: 10px 12px; border-radius: 8px; background: #fff1f0; color: #873b37; font-weight: 750; text-align: center; }
.guide-nearby p { margin: 8px 0; line-height: 1.55; }
.guest-guide > footer { margin-top: 30px; padding-top: 17px; border-top: 1px solid var(--line); color: var(--navy); font-family: Georgia, serif; font-size: 18px; text-align: center; }
.lease > header { text-align: center; padding-bottom: 24px; border-bottom: 2px solid var(--navy); }
.lease > header span { font-size: 12px; letter-spacing: .15em; color: var(--sand); font-weight: 800; }
.lease > header h1 { font-family: Georgia, serif; color: var(--navy); font-size: 34px; margin: 8px 0; }
.lease > header p { margin: 0; color: var(--muted); }
.lease section { margin-top: 24px; page-break-inside: avoid; }
.lease h2 { font-size: 17px; color: var(--navy); border-bottom: 1px solid var(--line); padding-bottom: 7px; }
.lease p { line-height: 1.65; }
.fill-lines { color: #9ca6ad; line-height: 2; }
.legal-warning { background: #fff5e8; border: 1px solid #ebcfaa; border-radius: 10px; padding: 15px; color: #725027; }
.legal-warning p { margin: 5px 0 0; }
.lease-notice { max-width: 900px; margin: 0 auto 18px; }
.contract-box { border: 1px solid #c9a77f; background: #fbf6ef; border-radius: 8px; padding: 12px 14px; page-break-inside: avoid; }
.contract-box p { margin: 5px 0 0; }
.payment-table { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; page-break-inside: avoid; }
.payment-table > div { display: grid; grid-template-columns: 1.1fr .7fr 1fr; }
.payment-table > div + div { border-top: 1px solid var(--line); }
.payment-table span, .payment-table strong { padding: 8px; }
.payment-table > div:first-child { background: #f1f4f6; }
.initials { display: flex; justify-content: space-between; gap: 30px; margin: 20px 0; font-weight: 700; }
.due-strip { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; padding: 12px; background: #eef3f7; border-radius: 10px; }
.due-strip a { background: white; border: 1px solid #cad5dd; border-radius: 99px; padding: 5px 10px; font-size: 12px; font-weight: 750; }
.error-page { max-width: 520px; margin: 10vh auto; text-align: center; }
.error-page > span { display: grid; place-items: center; width: 54px; height: 54px; margin: 0 auto 15px; border-radius: 50%; background: #f9e8e7; color: var(--red); font-size: 26px; font-weight: 800; }
.login-body { background: var(--navy); }
.page-login { width: 100%; padding: 0; }
.login-shell { min-height: 100vh; display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; gap: 8vw; width: min(1100px, calc(100% - 48px)); margin: 0 auto; padding: 50px 0; }
.login-intro { color: white; }
.login-intro h1 { font-family: Georgia, serif; font-size: clamp(46px, 7vw, 78px); line-height: .98; margin: 14px 0 24px; font-weight: 500; }
.login-intro p { max-width: 520px; color: #c7d4df; font-size: 18px; line-height: 1.6; }
.login-card { padding: 36px; }
.login-card h2 { font-family: Georgia, serif; font-size: 30px; margin-bottom: 5px; }
.login-card > label { margin-top: 18px; }
.login-card .button { margin-top: 24px; }
.login-icon { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 14px; background: var(--sand-soft); color: #81572d; font-size: 28px; margin-bottom: 20px; }
.muted { color: var(--muted); }

@media (max-width: 900px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .content-grid { grid-template-columns: 1fr; }
  .form-grid.four { grid-template-columns: repeat(2, 1fr); }
  .topbar nav { display: none; position: absolute; top: 64px; left: 12px; right: 12px; background: white; border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 13px; padding: 16px; flex-direction: column; align-items: stretch; gap: 0; }
  .topbar nav.open { display: flex; }
  .topbar nav a, .topbar nav form { padding: 11px; }
  .menu-button { display: block; background: none; border: 0; font-size: 24px; color: var(--navy); }
  .paper { padding: 40px; }
}
@media (max-width: 640px) {
  body { padding-bottom: 70px; }
  .page { width: min(100% - 24px, 1240px); padding-top: 24px; padding-bottom: 35px; }
  .topbar { height: 62px; padding: 0 15px; }
  .brand small { display: none; }
  .mobile-nav { position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; height: 66px; background: rgba(255,255,255,.96); backdrop-filter: blur(12px); border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(5,1fr); padding-bottom: env(safe-area-inset-bottom); }
  .mobile-nav a { color: #61717e; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 3px; font-size: 10px; font-weight: 750; }
  .mobile-nav a span { font-size: 19px; line-height: 1; }
  .mobile-nav .mobile-add span { width: 38px; height: 38px; display: grid; place-items: center; margin-top: -20px; border-radius: 50%; background: var(--navy); color: white; box-shadow: 0 5px 15px rgba(23,50,77,.25); }
  .page-heading { align-items: flex-start; flex-direction: column; margin-bottom: 20px; }
  .page-heading h1 { font-size: 35px; }
  .page-heading .actions, .page-heading > .button { width: 100%; }
  .page-heading .actions .button { flex: 1; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat { padding: 15px; min-height: 124px; }
  .stat strong { font-size: 23px; }
  .card { padding: 17px; border-radius: 13px; }
  .booking-row { align-items: flex-start; flex-wrap: wrap; }
  .booking-row > strong:last-child { margin-left: 62px; }
  .booking-row .status { margin-left: auto; }
  .form-grid, .form-grid.three, .form-grid.four { grid-template-columns: 1fr; }
  .form-grid .full { grid-column: auto; }
  .detail-grid { grid-template-columns: 1fr; }
  .inspection-choices article { align-items: flex-start; flex-wrap: wrap; }
  .inspection-choices article .button { width: 100%; }
  .calendar-card { padding: 7px; overflow-x: auto; }
  .calendar-grid { min-width: 660px; }
  .calendar-day { min-height: 90px; padding: 5px; }
  .inventory-row { grid-template-columns: 1fr 112px 32px; }
  .inventory-row .item-name { grid-column: 1 / -1; }
  .inventory-row > input:not([type=hidden]) { grid-column: 1 / 3; }
  .inventory-row .remove-row { grid-column: 3; grid-row: 2; }
  .room-head { padding: 14px 16px; }
  .inventory-list { padding: 0 14px; }
  .photo-input { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .handover-checklist, .handover-result, .guide-access-box, .guide-contacts > div { grid-template-columns: 1fr; }
  .handover-result > div { grid-template-columns: 26px 1fr; }
  .handover-result > div > small { grid-column: 2; }
  .meter-strip { grid-template-columns: 1fr; }
  .inspection-report { padding: 12px; overflow-x: auto; }
  .inspection-report table { min-width: 540px; }
  .document-toolbar { align-items: stretch; flex-direction: column; }
  .document-toolbar > div { flex-direction: column; align-items: stretch; }
  .paper { padding: 28px 20px; margin: 0 -12px; }
  .payment-table { font-size: 11px; }
  .payment-table span, .payment-table strong { padding: 6px 4px; }
  .initials { flex-direction: column; gap: 8px; }
  .signatures { gap: 20px; }
  .login-shell { grid-template-columns: 1fr; width: min(100% - 28px, 460px); padding: 36px 0; }
  .login-intro { text-align: center; }
  .login-intro h1 { font-size: 45px; }
  .login-intro p { font-size: 15px; }
  .login-card { padding: 27px; }
}
@media print {
  @page { size: A4; margin: 16mm; }
  body { background: white; padding: 0; font-size: 11pt; }
  .no-print, .topbar, .mobile-nav, .sticky-actions { display: none !important; }
  .page { width: 100%; margin: 0; padding: 0; }
  .card { box-shadow: none; border-color: #bbb; }
  .print-header { display: block; margin-bottom: 20px; }
  .print-header h1 { font-family: Georgia, serif; color: var(--navy); }
  .inspection-report { break-inside: avoid; padding: 12px; }
  .inspection-report h2 { font-size: 15px; margin-bottom: 6px; }
  th, td { padding: 5px 7px; }
  .paper { max-width: none; padding: 0; box-shadow: none; }
  .lease section { margin-top: 15px; }
  .lease p { line-height: 1.45; }
  .lease h2 { font-size: 14pt; margin-bottom: 6px; }
  .guest-guide { font-size: 9.5pt; }
  .guide-header { padding: 16px; border-radius: 0; }
  .guide-header h1 { font-size: 25pt; }
  .guide-welcome { margin: 16px 0; }
  .guide-welcome h2 { font-size: 18pt; }
  .guide-access-box { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .guide-access-box > div { padding: 8px; }
  .guide-section { margin-top: 15px; break-inside: auto; }
  .guide-section > h2 { margin-bottom: 7px; font-size: 14pt; }
  .guide-rules { gap: 5px; }
  .guide-rules > div { padding: 7px 9px; gap: 7px; grid-template-columns: 26px 1fr; }
  .guide-number { width: 23px; height: 23px; font-size: 9pt; }
  .guide-rules h3 { font-size: 10pt; }
  .guide-rules p { font-size: 8.7pt; line-height: 1.35; }
  .guide-contacts > div { grid-template-columns: repeat(2, 1fr); }
  .guide-contacts > div p { padding: 9px; }
  .guide-emergency { margin: 7px 0; padding: 7px; }
  .guide-nearby p { margin: 4px 0; line-height: 1.35; }
  .guest-guide > footer { margin-top: 14px; padding-top: 9px; }
}
