/* VillaDesk app — palette and type follow the villadesk.gr site. */
@font-face { font-family: "Commissioner"; font-weight: 100 900; font-display: swap; src: url("../fonts/commissioner-greek-full-normal.woff2") format("woff2-variations"); unicode-range: U+0370-03FF, U+1F00-1FFF; }
@font-face { font-family: "Commissioner"; font-weight: 100 900; font-display: swap; src: url("../fonts/commissioner-latin-full-normal.woff2") format("woff2-variations"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2190-21FF, U+2212, U+2215; }

:root {
	--ink: #16303f; --ink-soft: #4e5f69; --wash: #f6f7f5; --stone: #e4dfd6; --line: #dfe3e0;
	--accent: #a3245e; --accent-dark: #861b4c; --accent-l: #f7e9f0;
	--air: #c24e62; --bkg: #2f5687; --dir: #5e6b4e; --tel: #c9a15e; --ok: #2e7d4f; --warn: #a86a00;
	--bs-body-font-family: "Commissioner", system-ui, -apple-system, "Segoe UI", sans-serif;
	--bs-body-color: var(--ink);
	--bs-primary: var(--accent); --bs-primary-rgb: 163, 36, 94;
	--bs-link-color: var(--accent); --bs-link-color-rgb: 163, 36, 94; --bs-link-hover-color: var(--accent-dark);
	--bs-border-color: var(--line);
}
body.vd { background: var(--wash); font-feature-settings: "tnum" 0; }
.btn-primary { --bs-btn-bg: var(--accent); --bs-btn-border-color: var(--accent); --bs-btn-hover-bg: var(--accent-dark); --bs-btn-hover-border-color: var(--accent-dark); --bs-btn-active-bg: var(--accent-dark); --bs-btn-disabled-bg: var(--accent); --bs-btn-disabled-border-color: var(--accent); }
.btn-outline-primary { --bs-btn-color: var(--accent); --bs-btn-border-color: var(--accent); --bs-btn-hover-bg: var(--accent); --bs-btn-hover-border-color: var(--accent); --bs-btn-active-bg: var(--accent-dark); }
.form-control:focus, .form-select:focus, .form-check-input:focus { border-color: var(--accent); box-shadow: 0 0 0 .2rem rgba(163, 36, 94, .18); }
.form-check-input:checked { background-color: var(--accent); border-color: var(--accent); }
.num, .table td.num, .table th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Shell ------------------------------------------------------------------- */
.vd-shell { display: grid; grid-template-columns: 230px 1fr; min-height: 100vh; }
.vd-side { background: var(--ink); color: #cfdbe0; padding: 1.25rem .9rem; position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; }
.vd-logo { display: flex; align-items: center; gap: .55rem; color: #fff; font-weight: 800; font-size: 1.2rem; text-decoration: none; padding: .2rem .5rem 1.4rem; }
.vd-logo:hover { color: #fff; }
.vd-nav { display: flex; flex-direction: column; gap: .15rem; }
.vd-nav a { color: #cfdbe0; text-decoration: none; padding: .55rem .7rem; border-radius: 6px; font-weight: 500; }
.vd-nav a:hover { background: rgba(255,255,255,.07); color: #fff; }
.vd-nav a.is-on { background: rgba(255,255,255,.14); color: #fff; font-weight: 650; }
.vd-nav__soon { margin-top: 1rem; padding-top: .8rem; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-direction: column; }
.vd-nav__soon span { padding: .4rem .7rem; color: #8fa6b0; font-size: .92rem; }
.vd-nav__soon small { font-size: .7rem; border: 1px solid #4b6573; border-radius: 99px; padding: 0 .4rem; margin-left: .25rem; }
.vd-side__foot { margin-top: auto; font-size: .82rem; color: #8fa6b0; padding: 0 .7rem; }
.vd-body { min-width: 0; display: flex; flex-direction: column; }
.vd-top { display: flex; align-items: center; gap: 1rem; padding: .8rem 1.75rem; background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.vd-top__title { font-weight: 750; font-size: 1.1rem; }
.vd-top__user { margin-left: auto; display: flex; align-items: center; gap: .9rem; font-size: .92rem; color: var(--ink-soft); }
.vd-burger { display: none; border: 0; background: none; width: 36px; height: 36px; position: relative; }
.vd-burger span, .vd-burger span::before, .vd-burger span::after { position: absolute; left: 7px; width: 22px; height: 2px; background: var(--ink); content: ""; }
.vd-burger span { top: 17px; } .vd-burger span::before { top: -7px; left: 0; } .vd-burger span::after { top: 7px; left: 0; }
.vd-main { padding: 1.75rem; max-width: 1500px; width: 100%; }
.vd-flash { margin-bottom: 1.25rem; }

@media (max-width: 960px) {
	.vd-shell { grid-template-columns: 1fr; }
	.vd-side { position: fixed; left: 0; top: 0; z-index: 50; width: 260px; transform: translateX(-100%); transition: transform .2s; }
	body.vd-menu-open .vd-side { transform: none; box-shadow: 0 0 0 100vmax rgba(0,0,0,.35); }
	.vd-burger { display: inline-block; }
	.vd-top { padding: .7rem 1rem; }
	.vd-main { padding: 1rem; }
}

/* Building blocks ---------------------------------------------------------- */
.vd-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.vd-head h1 { font-size: 1.6rem; font-weight: 800; margin: 0; }
.vd-head p { margin: .2rem 0 0; color: var(--ink-soft); }
.vd-card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 1.25rem 1.4rem; }
.vd-card + .vd-card { margin-top: 1.25rem; }
.vd-card h2 { font-size: 1.05rem; font-weight: 750; margin: 0 0 .9rem; }
.vd-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; margin-bottom: 1.25rem; }
.vd-kpi { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 1rem 1.2rem; }
.vd-kpi small { display: block; color: var(--ink-soft); }
.vd-kpi b { font-size: 1.55rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.vd-table { background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.vd-table .table { margin: 0; --bs-table-bg: #fff; }
.vd-table thead th { font-size: .78rem; font-weight: 650; color: var(--ink-soft); background: var(--wash); border-bottom: 1px solid var(--line); white-space: nowrap; }
.vd-table td { vertical-align: middle; }
.vd-table tbody tr:hover td { background: #fbfbfa; }
.vd-table a.row-link { color: var(--ink); font-weight: 650; text-decoration: none; }
.vd-table a.row-link:hover { color: var(--accent); }
.vd-muted { color: var(--ink-soft); }
.vd-empty { text-align: center; padding: 4rem 1rem; color: var(--ink-soft); }
.vd-empty__code { font-size: 3rem; font-weight: 800; color: var(--stone); margin: 0; }
.vd-form .form-label { font-weight: 600; font-size: .9rem; margin-bottom: .3rem; }
.vd-form .form-text { font-size: .8rem; }
.vd-sticky-actions { position: sticky; bottom: 0; background: linear-gradient(to top, var(--wash) 70%, transparent); padding: 1rem 0 .25rem; margin-top: 1rem; display: flex; gap: .6rem; }

.tag { display: inline-block; border-radius: 99px; padding: .1rem .55rem; font-size: .75rem; font-weight: 650; white-space: nowrap; }
.tag-airbnb { background: #f8e4e8; color: var(--air); } .tag-booking { background: #e4ebf4; color: var(--bkg); }
.tag-site { background: #e9ede3; color: var(--dir); } .tag-phone { background: #f6eedd; color: #7d5f22; } .tag-owner { background: #eceeed; color: var(--ink-soft); }
.tag-ok { background: #e3f1e8; color: var(--ok); } .tag-warn { background: #fbefd9; color: var(--warn); } .tag-wait { background: #eceeed; color: var(--ink-soft); } .tag-bad { background: #f8e3e0; color: #b23a2b; } .tag-acc { background: var(--accent-l); color: var(--accent); }

/* Login ------------------------------------------------------------------- */
.vd-login { min-height: 100vh; display: grid; place-items: center; padding: 1rem; }
.vd-login__box { width: 100%; max-width: 400px; background: #fff; border-radius: 12px; padding: 2.25rem; box-shadow: 0 30px 70px -40px rgba(22,48,63,.5); }
.vd-login__box .vd-logo { color: var(--ink); padding: 0 0 1.5rem; }

/* Booking plan (timeline) -------------------------------------------------- */
.vd-plan-bar { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin-bottom: 1rem; }
.vd-legend { display: flex; flex-wrap: wrap; gap: .9rem; font-size: .82rem; color: var(--ink-soft); margin-left: auto; }
.vd-legend i { display: inline-block; width: .8rem; height: .8rem; border-radius: 2px; margin-right: .3rem; vertical-align: -.1rem; }
.vd-plan { background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow-x: auto; }
.vd-plan__grid { display: grid; grid-template-columns: 190px 1fr; min-width: calc(190px + var(--days) * 44px); }
.vd-plan__head { position: sticky; top: 0; background: #fff; z-index: 2; border-bottom: 1px solid var(--line); }
.vd-plan__days { display: grid; grid-template-columns: repeat(var(--days), 1fr); }
.vd-plan__day { text-align: center; font-size: .78rem; padding: .45rem 0 .35rem; color: var(--ink-soft); line-height: 1.15; }
.vd-plan__day b { display: block; font-size: .92rem; color: var(--ink); }
.vd-plan__day.is-we { background: #f3f4f1; }
.vd-plan__day.is-today b, .vd-plan__day.is-today { color: var(--accent); }
.vd-plan__day.is-first { border-left: 1px solid var(--line); }
.vd-plan__month { font-size: .7rem; font-weight: 700; color: var(--accent); display: block; }
.vd-plan__villa { padding: .35rem .8rem; border-bottom: 1px solid #eff1ef; display: flex; flex-direction: column; justify-content: center; min-height: 44px; position: sticky; left: 0; background: #fff; z-index: 1; border-right: 1px solid var(--line); }
.vd-plan__villa a { font-weight: 650; color: var(--ink); text-decoration: none; font-size: .9rem; }
.vd-plan__villa small { color: var(--ink-soft); font-size: .72rem; }
.vd-lane { position: relative; border-bottom: 1px solid #eff1ef; min-height: 44px; background-image: linear-gradient(to right, #eff1ef 1px, transparent 1px); background-size: calc(100% / var(--days)) 100%; }
.vd-lane__cell { position: absolute; top: 0; bottom: 0; width: calc(100% / var(--days)); }
.vd-lane__cell:hover { background: rgba(163, 36, 94, .06); cursor: pointer; }
.vd-bk { position: absolute; top: 8px; height: 28px; border-radius: 4px; color: #fff; font-size: .74rem; font-weight: 650; padding: 0 .45rem; display: flex; align-items: center; white-space: nowrap; overflow: hidden; text-decoration: none; z-index: 1; border: 0; }
.vd-bk:hover { color: #fff; filter: brightness(1.08); box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--accent); }
.vd-bk.ch-airbnb { background: var(--air); } .vd-bk.ch-booking { background: var(--bkg); } .vd-bk.ch-site { background: var(--dir); } .vd-bk.ch-phone { background: var(--tel); color: #2d2208; }
.vd-bk.st-owner_stay, .vd-bk.st-blocked { background: repeating-linear-gradient(135deg, #e9ebe8 0 6px, #d9ddd9 6px 12px); color: var(--ink); }
.vd-bk.st-tentative { opacity: .65; outline: 1.5px dashed rgba(255,255,255,.9); outline-offset: -3px; }
.vd-bk.cut-l { border-top-left-radius: 0; border-bottom-left-radius: 0; }
.vd-bk.cut-r { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.vd-clean { position: absolute; top: 15px; width: 12px; height: 12px; background: var(--ink); border: 2px solid #fff; transform: translateX(-50%) rotate(45deg); z-index: 2; pointer-events: none; }
.vd-todayline { position: absolute; top: 0; bottom: 0; border-left: 2px solid var(--accent); opacity: .45; pointer-events: none; z-index: 2; }
.vd-pop { position: fixed; z-index: 60; width: 300px; background: var(--ink); color: #fff; border-radius: 8px; padding: .9rem 1rem; font-size: .84rem; box-shadow: 0 20px 40px -15px rgba(0,0,0,.5); }
.vd-pop h3 { font-size: .98rem; margin: 0 0 .55rem; font-weight: 750; }
.vd-pop dl { display: grid; grid-template-columns: 105px 1fr; gap: .25rem .5rem; margin: 0 0 .75rem; }
.vd-pop dt { color: #a9bcc4; font-weight: 400; } .vd-pop dd { margin: 0; }
.vd-pop .btn { --bs-btn-padding-y: .2rem; --bs-btn-font-size: .82rem; }

/* Booking form ------------------------------------------------------------- */
.vd-quote { background: var(--wash); border-radius: 8px; padding: .9rem 1rem; font-size: .9rem; }
.vd-quote .row-line { display: flex; justify-content: space-between; padding: .15rem 0; }
.vd-quote .row-line.total { font-weight: 750; border-top: 1px solid var(--line); margin-top: .35rem; padding-top: .45rem; }
.vd-split .row-line { display: flex; justify-content: space-between; padding: .3rem 0; border-bottom: 1px solid #eff1ef; }
.vd-split .row-line:last-child { border: 0; font-weight: 750; }

/* Dashboard lists */
.vd-list { list-style: none; margin: 0; padding: 0; }
.vd-list li { display: flex; flex-direction: column; gap: .2rem; padding: .65rem 0; border-bottom: 1px solid #eff1ef; }
.vd-list li:last-child { border-bottom: 0; }
.vd-list a { color: var(--ink); text-decoration: none; }
.vd-list a:hover { color: var(--accent); }
.vd-list span { font-size: .84rem; color: var(--ink-soft); }

/* Owner portal */
.vd-kpi--accent { border-color: var(--accent); }
.vd-kpi--accent b { color: var(--accent); }
.vd-bar { display: inline-block; width: 60px; height: 6px; border-radius: 3px; background: linear-gradient(to right, var(--accent) var(--w), #eceee9 var(--w)); vertical-align: middle; margin-right: .3rem; }
.vd-months { display: grid; grid-template-columns: repeat(12, 1fr); gap: .4rem; height: 180px; align-items: end; }
.vd-months__col { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; }
.vd-months__bar { width: 100%; max-width: 34px; background: var(--accent); border-radius: 4px 4px 0 0; min-height: 2px; }
.vd-months__val { font-size: .68rem; color: var(--ink-soft); margin-bottom: .2rem; font-variant-numeric: tabular-nums; }
.vd-months__lbl { font-size: .72rem; color: var(--ink-soft); margin-top: .3rem; }
.vd-acting { background: #fff4d6; border-bottom: 1px solid #ecd9a0; padding: .45rem 1.5rem; font-size: .88rem; display: flex; gap: .8rem; align-items: center; flex-wrap: wrap; }
.vd-scope { font-size: .78rem; color: var(--ink-soft); }
.vd-checklist { columns: 2; column-gap: 1rem; max-height: 320px; overflow: auto; padding: .4rem .2rem; border-top: 1px solid var(--line); }

/* Housekeeping */
.vd-dayhead { font-size: 1.05rem; font-weight: 750; margin: 1.2rem 0 .6rem; display: flex; gap: .5rem; align-items: center; }
.vd-dl { display: grid; grid-template-columns: max-content 1fr; gap: .45rem 1.2rem; margin: 0; }
.vd-dl dt { font-weight: 500; color: var(--ink-soft); }
.vd-dl dd { margin: 0; }
.vd-checks { list-style: none; padding: 0; margin: 0; }
.vd-checks li { display: flex; gap: .6rem; align-items: center; padding: .45rem 0; border-bottom: 1px solid #eff1ef; }
.vd-checks li > span:first-child { width: 20px; height: 20px; border: 2px solid var(--line); border-radius: 5px; display: inline-grid; place-items: center; font-size: .8rem; font-weight: 800; flex: none; }
.vd-checks li.is-on > span:first-child { background: var(--accent); border-color: var(--accent); color: #fff; }
.vd-checks--edit li > span:first-child { border-style: dashed; }
.vd-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: .5rem; }
.vd-photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; }
.vd-issue { display: flex; gap: .9rem; align-items: flex-start; padding: .6rem 0; border-bottom: 1px solid #eff1ef; }
.vd-issue img { width: 96px; height: 72px; object-fit: cover; border-radius: 6px; }
.vd-issues .vd-issue { border-bottom: 0; padding: 1rem 1.2rem; margin-bottom: .8rem; }
.vd-sublist { display: flex; flex-direction: column; }
.vd-sublist a { padding: .45rem .6rem; border-radius: 6px; color: var(--ink); text-decoration: none; }
.vd-sublist a.is-on { background: var(--accent-l); color: var(--accent-dark); font-weight: 650; }

/* Cash book */
.vd-kind { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.vd-kind label { position: relative; border: 1px solid var(--line); border-radius: 10px; padding: .6rem; text-align: center; cursor: pointer; }
.vd-kind label:has(input:checked) { border-color: var(--accent); background: var(--accent-l); font-weight: 650; }
.vd-kind input { position: absolute; opacity: 0; }
.vd-months--dual .vd-months__pair { display: flex; gap: 2px; align-items: flex-end; flex: 1; min-height: 0; width: 100%; justify-content: center; }
.vd-months--dual .vd-months__bar { max-width: 16px; flex: 1; }
.vd-months__bar.is-out { background: #9aa7ad; }
.vd-months--dual .vd-months__col { height: 100%; }
.vd-hbar { margin-bottom: .75rem; }
.vd-hbar__track { display: block; height: 7px; background: #eceee9; border-radius: 4px; margin-top: .3rem; overflow: hidden; }
.vd-hbar__track span { display: block; height: 100%; background: var(--accent); border-radius: 4px; }
.vd-hbar__track .ch-airbnb { background: var(--air); } .vd-hbar__track .ch-booking { background: var(--bkg); }
.vd-hbar__track .ch-site { background: var(--dir); } .vd-hbar__track .ch-phone { background: var(--tel); }

.vd-split .row-line > span:last-child { white-space: nowrap; }

.vd-login__lang { display: flex; flex-wrap: wrap; gap: .3rem .8rem; justify-content: center; margin-top: 1.4rem; font-size: .85rem; }
.vd-login__lang a { color: var(--ink-soft); text-decoration: none; }
.vd-login__lang a.is-on { color: var(--accent); font-weight: 650; }

/* Help */
.vd-help h2 { font-size: 1.35rem; margin: 1.6rem 0 .6rem; padding-top: .4rem; border-top: 1px solid var(--line); }
.vd-help h2:first-child { margin-top: 0; border-top: 0; }
.vd-help h3 { font-size: 1.05rem; font-weight: 750; margin: 1.2rem 0 .4rem; }
.vd-help h4 { font-size: .98rem; font-weight: 750; margin: 1rem 0 .3rem; }
.vd-help p, .vd-help li { line-height: 1.6; }
.vd-help ol, .vd-help ul { padding-left: 1.3rem; }
.vd-help code { background: #f1f2ef; padding: .05rem .3rem; border-radius: 4px; color: var(--ink); }
.vd-help :target { scroll-margin-top: 80px; background: #fff7d6; }
.vd-help-toc { position: sticky; top: 76px; max-height: calc(100vh - 100px); overflow: auto; }
.vd-help-toc a { display: block; padding: .3rem .4rem; border-radius: 6px; color: var(--ink); text-decoration: none; font-size: .92rem; }
.vd-help-toc a:hover { background: var(--accent-l); }

/* Assistant */
.vd-ast { position: fixed; right: 18px; bottom: 18px; z-index: 1050; font-size: .95rem; }
.cl-app .vd-ast { bottom: calc(84px + env(safe-area-inset-bottom)); right: 12px; }
.vd-ast__fab { display: flex; align-items: center; gap: .45rem; border: 0; border-radius: 999px; background: var(--ink); color: #fff; padding: .7rem 1rem; box-shadow: 0 10px 30px -10px rgba(0,0,0,.45); font-weight: 650; }
.vd-ast.is-open .vd-ast__fab { display: none; }
.vd-ast__panel { width: min(380px, calc(100vw - 24px)); height: min(560px, calc(100vh - 110px)); background: #fff; border-radius: 16px; box-shadow: 0 24px 60px -20px rgba(0,0,0,.45); display: flex; flex-direction: column; overflow: hidden; }
.vd-ast__panel[hidden] { display: none; }
.vd-ast__head { background: var(--ink); color: #fff; padding: .8rem 1rem; display: flex; justify-content: space-between; gap: .8rem; align-items: flex-start; }
.vd-ast__head small { display: block; opacity: .75; font-size: .76rem; margin-top: .1rem; }
.vd-ast__log { flex: 1; overflow: auto; padding: .9rem; display: flex; flex-direction: column; gap: .6rem; background: #f6f7f4; }
.vd-ast__msg { max-width: 92%; border-radius: 12px; padding: .55rem .75rem; line-height: 1.5; }
.vd-ast__msg p { margin: 0 0 .4rem; } .vd-ast__msg p:last-child { margin: 0; }
.vd-ast__msg ul, .vd-ast__msg ol { padding-left: 1.1rem; margin: .2rem 0 .4rem; }
.vd-ast__msg.is-bot { background: #fff; border: 1px solid var(--line); align-self: flex-start; }
.vd-ast__msg.is-user { background: var(--accent); color: #fff; align-self: flex-end; }
.vd-ast__msg.is-wait { color: var(--ink-soft); font-style: italic; }
.vd-ast__msg.is-err { border-color: #e5b4bc; }
.vd-ast__hit { border-top: 1px solid var(--line); padding-top: .4rem; margin-top: .4rem; font-size: .9rem; }
.vd-ast__hit h4, .vd-ast__hit h5 { font-size: .9rem; }
.vd-ast__chips { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .5rem; }
.vd-ast__chips button { border: 1px solid var(--accent); color: var(--accent); background: #fff; border-radius: 999px; padding: .25rem .65rem; font-size: .85rem; }
.vd-ast__src { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .5rem; }
.vd-ast__src a { font-size: .8rem; background: var(--accent-l); color: var(--accent-dark); border-radius: 999px; padding: .15rem .55rem; text-decoration: none; }
.vd-ast__form { display: flex; gap: .4rem; padding: .6rem; border-top: 1px solid var(--line); }
.vd-ast__form input { flex: 1; border: 1px solid var(--line); border-radius: 10px; padding: .5rem .7rem; }
@media print { .vd-ast { display: none; } }

/* 0.7.0 ------------------------------------------------------------------- */
.vd-nav__group { display: block; margin: .9rem .6rem .25rem; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: #8fa5ae; font-weight: 700; }
.vd-nav__badge { display: inline-block; min-width: 1.15rem; padding: 0 .3rem; margin-left: .3rem; border-radius: 1rem; background: var(--accent); color: #fff; font-size: .7rem; line-height: 1.15rem; text-align: center; font-weight: 700; }
.vd-card--accent { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-l); }
.vd-law ul { padding-left: 1.1rem; } .vd-law li { margin-bottom: .35rem; }
.vd-score { display: inline-flex; align-items: center; justify-content: center; min-width: 3.6rem; height: 2.2rem; padding: 0 .6rem; border-radius: 2rem; font-weight: 800; font-size: 1.05rem; }
.vd-score.is-ok { background: #e3f1e8; color: var(--ok); } .vd-score.is-warn { background: #fbefd9; color: var(--warn); } .vd-score.is-bad { background: #f8e3e0; color: #b23a2b; }
.vd-comp { display: grid; gap: .75rem; }
.vd-comp__row { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--line); border-radius: 10px; padding: .9rem 1.1rem; }
.vd-comp__row.is-ok { border-left-color: var(--ok); } .vd-comp__row.is-soon { border-left-color: var(--warn); } .vd-comp__row.is-bad { border-left-color: #b23a2b; } .vd-comp__row.is-na { opacity: .7; }
.vd-comp__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem; margin-bottom: .2rem; }
.vd-comp__head small { margin-left: auto; }
.vd-kpis--5 { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.vd-kpi .vd-delta { display: block; font-size: .78rem; font-weight: 650; margin-top: .15rem; }
.vd-delta.is-up { color: var(--ok); } .vd-delta.is-down { color: #b23a2b; }
.vd-months__pair { display: flex; align-items: flex-end; gap: 2px; height: 100%; width: 100%; justify-content: center; }
.vd-months__pair .vd-months__bar { width: 42%; }
.vd-months__bar.is-prev { background: #d9dfdb !important; }
.vd-key { display: inline-block; width: .7rem; height: .7rem; border-radius: 2px; vertical-align: middle; }
.vd-key--cur { background: var(--accent); } .vd-key--prev { background: #d9dfdb; }
.vd-sched th.is-today { color: var(--accent); }
.vd-sched__cell { min-width: 120px; vertical-align: top; }
.vd-sched__bar { height: 6px; background: #eef1ee; border-radius: 3px; overflow: hidden; margin-bottom: .2rem; }
.vd-sched__bar span { display: block; height: 100%; background: var(--ok); }
.vd-sched__cell.is-full .vd-sched__bar span { background: var(--warn); }
.vd-sched__cell.is-over { background: #fdf1ef; } .vd-sched__cell.is-over .vd-sched__bar span { background: #b23a2b; }
.vd-sched__task { font-size: .78rem; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 150px; }
.vd-photos img { width: 110px; height: 110px; object-fit: cover; border-radius: 8px; margin: 0 .4rem .4rem 0; }
.vd-dash-alerts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .75rem; margin-bottom: 1.25rem; }
.vd-dash-alert { display: block; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--warn); border-radius: 10px; padding: .75rem 1rem; color: var(--ink); text-decoration: none; }
.vd-dash-alert b { display: block; font-size: 1.3rem; }
.vd-dash-alert.is-bad { border-left-color: #b23a2b; } .vd-dash-alert.is-ok { border-left-color: var(--ok); }
.vd-dash-alert:hover { border-color: var(--accent); color: var(--ink); }
/* Printable compliance folder and QR card */
.vd-bare { background: #fff; }
.vd-print, .vd-qrcard { max-width: 820px; margin: 0 auto; padding: 2rem; color: #16303f; }
.vd-print__bar { margin-bottom: 1rem; text-align: right; }
.vd-print__bar .btn { background: var(--accent); color: #fff; border: 0; padding: .5rem 1rem; border-radius: 6px; cursor: pointer; }
.vd-print header small { color: #6b7a80; text-transform: uppercase; letter-spacing: .06em; }
.vd-print h1 { font-size: 1.5rem; margin: .2rem 0 .5rem; }
.vd-print table { width: 100%; border-collapse: collapse; font-size: .85rem; margin-top: 1rem; }
.vd-print th, .vd-print td { border-bottom: 1px solid #dfe3e0; padding: .45rem .4rem; text-align: left; vertical-align: top; }
.vd-print td.mk { font-weight: 800; width: 1.5rem; }
.vd-print tr.is-ok td.mk { color: #2e7d4f; } .vd-print tr.is-bad td.mk { color: #b23a2b; } .vd-print tr.is-soon td.mk { color: #a86a00; }
.vd-print__sos { margin-top: 1.5rem; border: 2px solid #b23a2b; border-radius: 8px; padding: .8rem 1rem; }
.vd-print__sos h2 { font-size: 1rem; color: #b23a2b; margin: 0 0 .3rem; }
.vd-print footer { margin-top: 1.5rem; font-size: .75rem; color: #6b7a80; }
.vd-qrcard__card { border: 2px solid #16303f; border-radius: 16px; padding: 2rem; text-align: center; max-width: 420px; margin: 0 auto; }
.vd-qrcard__card h1 { font-size: 1.6rem; margin: .3rem 0; }
.vd-qrcard__langs { color: #6b7a80; font-size: .85rem; }
.vd-qrcard__qr { width: 240px; height: 240px; margin: 1rem auto; }
.vd-qrcard__qr svg { width: 100%; height: 100%; }
.vd-qrcard__sos { font-weight: 800; color: #b23a2b; letter-spacing: .05em; }
.vd-qrcard__ama { font-size: .8rem; color: #6b7a80; margin: 0; }
@media print { .no-print { display: none !important; } .vd-print, .vd-qrcard { padding: 0; } }
/* Guest pages */
body.gs { background: #f4f1ec; }
.gs-main { max-width: 640px; margin: 0 auto; padding: 0 0 2rem; }
.gs-hero { background: var(--ink); color: #fff; padding: 1.25rem 1.25rem 1.5rem; border-radius: 0 0 18px 18px; margin-bottom: 1rem; }
.gs-hero small { color: #b9cbd2; text-transform: uppercase; letter-spacing: .07em; font-size: .72rem; }
.gs-hero h1 { font-size: 1.7rem; margin: .2rem 0 .4rem; }
.gs-hero p { margin: 0 0 .3rem; color: #e3ecef; }
.gs-welcome { margin-top: .6rem !important; font-style: italic; }
.gs-lang { display: flex; gap: .3rem; justify-content: flex-end; margin-bottom: .6rem; }
.gs-lang a { color: #cfe0e6; text-decoration: none; font-size: .78rem; font-weight: 700; padding: .15rem .45rem; border-radius: 1rem; border: 1px solid rgba(255,255,255,.25); }
.gs-lang a.is-on { background: #fff; color: var(--ink); }
.gs-card { background: #fff; border-radius: 14px; padding: 1rem 1.15rem; margin: 0 .75rem .8rem; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.gs-card h2 { font-size: 1.05rem; font-weight: 750; margin-bottom: .5rem; }
.gs-wifi b { font-size: 1.1rem; }
.gs-extra { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .6rem 0; border-bottom: 1px solid var(--line); }
.gs-extra select { width: 4.5rem; flex: none; }
.gs-price { color: var(--accent); font-weight: 700; }
.gs-ordered { list-style: none; padding: 0; margin: 0 0 .8rem; }
.gs-ordered li { display: flex; justify-content: space-between; gap: .5rem; padding: .35rem 0; border-bottom: 1px dashed var(--line); font-size: .92rem; }
.gs-sos ul { list-style: none; padding: 0; margin: 0 0 .5rem; columns: 2; font-size: .9rem; }
.gs-sos li { margin-bottom: .2rem; }
.gs-foot { text-align: center; font-size: .75rem; color: #8a979c; padding: .5rem; }
.vd-nav { overflow-y: auto; min-height: 0; flex: 1 1 auto; }
.vd-nav a { padding: .42rem .7rem; }
.vd-split--plain .row-line:last-child { font-weight: inherit; }
.vd-head form .form-select { width: auto; max-width: 16rem; }
.vd-list--row li { flex-direction: row; justify-content: space-between; align-items: center; gap: .75rem; }
.vd-list--row li > span:last-child { flex: none; }
.vd-bare { font-family: "Commissioner", system-ui, -apple-system, "Segoe UI", sans-serif; }

/* 0.7.1 branding */
.vd-brand-prev{display:flex;align-items:center;justify-content:center;min-height:110px;border:1px dashed #d6d3d1;border-radius:12px;background:#fafaf9;padding:16px}
.vd-brand-prev img{max-width:100%;max-height:90px;object-fit:contain}
.vd-brand-prev span{color:#78716c;font-size:.9rem}
.vd-login__brand{display:flex;justify-content:center;margin-bottom:18px}
.vd-login__brand img{max-width:240px;max-height:90px;object-fit:contain}
.vd-login__brandname{font-weight:700;font-size:1.25rem;text-align:center;margin-bottom:18px}
.vd-login__powered{margin-top:18px;text-align:center;font-size:.75rem;color:#78716c}
.vd-login__powered b{font-weight:600;color:#57534e}
.vd-logo--brand{display:flex;align-items:center;justify-content:flex-start;background:#fff;border-radius:10px;padding:8px 10px;margin:0 0 4px}
.vd-logo--brand img{max-width:100%;max-height:48px;object-fit:contain}
.vd-side__powered{display:block;margin-top:4px;font-size:.7rem;opacity:.7}
