/* MOVEVIA page foundation: common typography, surfaces and help. No layout scaling or field bindings. */
body.mv-page-foundation{--ui-ink:#173b59;--ui-muted:#526d82;--ui-line:#cddfea;--ui-paper:#f4f9fd;--ui-blue:#e7f4fc;--ui-active:#d3eafa;--ui-radius:9px;--ui-font:"Segoe UI",Arial,sans-serif;font-family:var(--ui-font)!important;color:var(--ui-ink)}
.mv-page-foundation :is(input,select,textarea,button){font-family:var(--ui-font)!important;letter-spacing:normal}
.mv-page-foundation :is(pre,code,.bd-mono){font-family:Consolas,"Courier New",monospace;overflow-wrap:anywhere}
.mv-page-foundation :is(h1,h2,h3,h4){text-wrap:balance}
.mv-page-foundation :is(p,li,label){overflow-wrap:break-word}
.mv-page-foundation :is(.panel,.search-panel,.offer-card,.hotel-card,.bd-card,.bd-head,.admin-panel,.ops-card,.pay-card,.mv-help-columns>section,.mv-help-focus){border-color:var(--ui-line)!important;border-radius:var(--ui-radius)!important;box-shadow:0 2px 8px #173b5905}
/* Standalone pages inherit the same light system, without taking over the compact reservation geometry. */
body.mv-standalone-surface{margin:0!important;background:var(--ui-paper)!important;color:var(--ui-ink)!important;font:14px/1.55 var(--ui-font)!important;max-width:none!important;padding:0!important}
body.mv-standalone-surface>header{background:#fff!important;color:var(--ui-ink)!important;border-bottom:1px solid var(--ui-line);padding:12px 24px;min-height:64px;display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;box-sizing:border-box}
body.mv-standalone-surface>header a{color:#245a7c!important;text-decoration:none}
body.mv-standalone-surface>header nav{display:flex;gap:14px;align-items:center;flex-wrap:wrap}
body.mv-standalone-surface :is(main,#ibe-portal){max-width:1400px;margin:0 auto!important;padding:22px 24px;box-sizing:border-box;min-width:0}
body.mv-standalone-surface main>h1{font-size:26px;line-height:1.25;letter-spacing:-.4px;font-weight:650;color:var(--ui-ink)}
body.mv-standalone-surface h2{font-size:19px;line-height:1.35;font-weight:650;color:var(--ui-ink)}
body.mv-standalone-surface h3{font-size:15px;line-height:1.4;font-weight:650;color:var(--ui-ink)}
body.mv-standalone-surface :is(.panel,.search-panel,.detail,.offer-card,.hotel-card){background:#fff;border:1px solid var(--ui-line);padding:16px}
body.mv-standalone-surface label{font-size:12px;font-weight:600;line-height:1.5;min-width:0}
body.mv-standalone-surface :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea){font-size:13px;line-height:1.45;min-height:34px;max-width:100%;box-sizing:border-box;border:1px solid #bfd4e2;border-radius:7px;background:#fff;color:var(--ui-ink);padding:7px 9px}
body.mv-standalone-surface button{font-size:12px;font-weight:600;line-height:1.4;min-height:32px;padding:6px 11px;border:1px solid #b5d6e9;border-radius:7px;background:var(--ui-blue);color:#164f72;cursor:pointer}
body.mv-standalone-surface button:disabled{opacity:.55;cursor:not-allowed}
body.mv-standalone-surface button:hover:not(:disabled){background:var(--ui-active)}
body.mv-standalone-surface .notice{padding:12px 15px;border:1px solid #c8dfed;border-radius:9px;background:#edf7fd;color:#315a76}
body.mv-standalone-surface table{font-size:12px;color:var(--ui-ink);border-collapse:collapse;background:#fff}
body.mv-standalone-surface th{background:#e9f4fb;color:#244b6e;font-size:11px;text-align:left}
body.mv-standalone-surface :is(th,td){padding:9px 10px;border-bottom:1px solid #dce8f0;line-height:1.5}
body.mv-standalone-surface .mv-logo-unified{width:var(--ui-logo-width,184px)!important;height:var(--ui-logo-height,42px)!important;max-height:var(--ui-logo-height,42px)!important;padding:0!important;object-fit:contain;object-position:left}
/* Local test views retain their explicit test-only text and existing restrictions. */
.mv-local-test-content{max-width:1050px!important;background:#fff;border:1px solid var(--ui-line);border-radius:9px;margin:24px auto!important;padding:24px!important}
/* One keyboard-accessible help dialog per page; no original form fields are copied or read. */
.mv-page-help-trigger{display:inline-flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap;border:1px solid #b5d6e9!important;border-radius:7px!important;background:#edf7fd!important;color:#1d587b!important;font:600 12px/1.4 "Segoe UI",Arial,sans-serif!important;min-height:32px!important;padding:6px 10px!important;cursor:pointer}
.mv-page-help-trigger.mv-help-floating{position:fixed;right:20px;bottom:20px;z-index:70;box-shadow:0 3px 16px #163f5e15}
.mv-page-foundation dialog.mv-page-help{box-sizing:border-box;width:min(640px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:0;border:1px solid #bcd7e7;border-radius:13px;box-shadow:0 18px 70px #12385435;color:#173b59;background:#fff;font:14px/1.6 "Segoe UI",Arial,sans-serif;overflow:auto}
dialog.mv-page-help::backdrop{background:#0b2c4860;backdrop-filter:blur(2px)}
.mv-page-help>header{position:sticky;top:0;background:#edf7fd;border-bottom:1px solid #d2e4ef;padding:18px 20px;display:flex;align-items:center;justify-content:space-between;gap:16px;z-index:1}
.mv-page-help h2{font-size:19px!important;margin:0!important;color:#173b59!important;line-height:1.3}
.mv-page-help>header button{flex-shrink:0;width:32px;min-height:32px;border:1px solid #bfd8e8;border-radius:7px;background:white;color:#315f7c;font-size:20px;cursor:pointer}
.mv-page-help-content{padding:18px 22px}
.mv-page-help h3{font-size:14px!important;color:#204d6b!important;margin:18px 0 8px!important}
.mv-page-help p,.mv-page-help li{font-size:13px!important;line-height:1.6!important;color:#385c75!important}
.mv-page-help label{display:block;font-size:12px;font-weight:650;margin:12px 0 5px}
.mv-page-help select{display:block;width:100%;min-height:36px;padding:7px 10px;border:1px solid #bdd6e5;border-radius:7px;background:#fff;color:#173b59;font:13px "Segoe UI",Arial,sans-serif;box-sizing:border-box}
.mv-page-help .mv-field-explanation{background:#f4faff;border:1px solid #d5e6f1;border-radius:9px;padding:14px;margin-top:12px}
.mv-page-help .mv-field-explanation p{margin:0 0 9px}
.mv-page-help .mv-field-rules{font-size:11px!important;color:#5d7485!important}
.mv-page-help .mv-help-target{min-height:30px;padding:5px 10px;border:1px solid #b5d6e9;background:#e7f4fc;border-radius:7px;color:#205b7c;font:600 12px "Segoe UI",Arial,sans-serif;cursor:pointer}
.mv-page-help a{color:#1d658d;text-underline-offset:3px}
.mv-page-help :focus-visible,.mv-page-help-trigger:focus-visible{outline:3px solid #2f86b6!important;outline-offset:2px}
@media(max-width:700px){body.mv-standalone-surface>header{padding:10px 16px}body.mv-standalone-surface :is(main,#ibe-portal){padding:18px 16px}.mv-page-help-trigger.mv-help-floating{right:12px;bottom:12px}body.mv-standalone-surface button{min-height:36px}.mv-page-help-content{padding:14px 16px}}
@media print{.mv-page-help-trigger,dialog.mv-page-help{display:none!important}}

/* Compact help entry on small headers, keeping the common logo footprint. */
@media(max-width:700px){:root{--ui-logo-width:132px;--ui-logo-height:36px}.mv-admin-polish .mv-header-tools{gap:5px}.mv-admin-polish .mv-header-tools>.mv-page-help-trigger{font-size:0!important;min-width:32px;padding:5px!important}.mv-admin-polish .mv-header-tools>.mv-page-help-trigger::before{content:"?";font-size:15px}.mv-admin-polish .mv-account-name{display:none}.mv-admin-polish .mv-product-switcher>summary{font-size:0!important;gap:0;padding:7px!important}.mv-admin-polish .mv-product-switcher>summary::after{font-size:12px}.mv-admin-polish .native-top{gap:9px;padding-left:12px;padding-right:12px}.mv-admin-polish .native-top .mv-account-switcher summary{gap:3px;padding:6px}.mv-admin-polish .mv-account-avatar{width:23px;height:23px}}
/* Shared two-column explanations and readable unavailable-state surfaces. */
.mv-page-foundation .mv-help-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:18px 0}
.mv-page-foundation .mv-help-columns>section{padding:18px;border:1px solid var(--ui-line);border-radius:var(--ui-radius);background:white;min-width:0}
.mv-page-foundation .mv-portal-status{max-width:1040px;margin:auto;color:var(--ui-ink)}
.mv-page-foundation .mv-portal-status h1{font:650 27px/1.25 var(--ui-font);letter-spacing:-.3px;margin:8px 0 18px}
.mv-page-foundation .mv-portal-status h2{font:650 18px/1.4 var(--ui-font);margin:0 0 10px}
.mv-page-foundation .mv-portal-actions{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}
.mv-page-foundation .mv-portal-actions a{display:inline-flex;align-items:center;min-height:32px;padding:6px 11px;background:var(--ui-blue);color:#205b7c;border:1px solid #b5d6e9;border-radius:7px;text-decoration:none;font:600 12px/1.4 var(--ui-font)}
.mv-page-foundation .mv-portal-status-note{font-size:12px;color:var(--ui-muted)}
@media(max-width:700px){.mv-page-foundation .mv-help-columns{grid-template-columns:1fr}.mv-page-foundation .mv-portal-status h1{font-size:23px}}