/* =========================================================================
   Voyasee Tipping Calculator — premium blue theme.
   Everything is scoped under .vtc so it never fights the host WordPress theme.
   Concept: deep-ocean navy HD ground with a warm metallic-gold accent (a nod
   to a coin/gratuity). Text tuned for high contrast on blue.
   ========================================================================= */

.vtc, .vtc * { box-sizing: border-box; }
/* The hidden attribute must always win, even over our flex/grid displays. */
.vtc [hidden] { display: none !important; }

.vtc {
    --vtc-ink: #0a1830;
    --vtc-ink-2: #10233f;
    --vtc-panel: rgba(255, 255, 255, 0.06);
    --vtc-panel-2: rgba(255, 255, 255, 0.11);
    --vtc-panel-solid: #14294a;
    --vtc-border: rgba(150, 190, 240, 0.16);
    --vtc-border-strong: rgba(150, 190, 240, 0.34);
    --vtc-text: #f3f7fd;
    --vtc-muted: #b9cbe4;
    --vtc-faint: #8ba4c6;
    --vtc-gold: #f0c46b;
    --vtc-gold-2: #ffdd9b;
    --vtc-gold-deep: #c0913f;
    --vtc-steel: #5aa6e0;
    --vtc-steel-2: #86c5f2;
    --vtc-good: #5fd39a;
    --vtc-warn: #f2b64c;
    --vtc-danger: #f0876d;
    --vtc-r: 18px;
    --vtc-r-sm: 12px;

    position: relative;
    overflow: hidden;
    max-width: 1120px;
    margin: 0 auto;
    padding: clamp(20px, 4vw, 44px);
    border-radius: 26px;
    border: 1px solid var(--vtc-border);
    color: var(--vtc-text);
    background: var(--vtc-ink);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    box-shadow: 0 30px 80px -30px rgba(2, 10, 26, 0.8);
}

/* ---------- HD background ---------- */
.vtc-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(120% 120% at 15% -10%, #1e4d86 0%, rgba(30, 77, 134, 0) 45%),
        radial-gradient(120% 120% at 90% 10%, #17427a 0%, rgba(23, 66, 122, 0) 50%),
        radial-gradient(140% 130% at 50% 115%, #0e2f5c 0%, rgba(14, 47, 92, 0) 55%),
        linear-gradient(160deg, #123a6b 0%, #0a1830 60%, #071127 100%);
    background-color: #0a1830;
    pointer-events: none;
}
.vtc-bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(72px);
    opacity: 0.55;
}
.vtc-bg-glow-1 {
    width: 48%; height: 48%;
    top: -14%; left: -10%;
    background: radial-gradient(circle, rgba(240, 196, 107, 0.30), transparent 68%);
}
.vtc-bg-glow-2 {
    width: 55%; height: 55%;
    bottom: -20%; right: -14%;
    background: radial-gradient(circle, rgba(70, 150, 230, 0.40), transparent 70%);
}
.vtc-bg-grain {
    position: absolute;
    inset: 0;
    opacity: 0.055;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.vtc-inner { position: relative; z-index: 1; }

/* ---------- Header ---------- */
.vtc-header { text-align: center; max-width: 720px; margin: 0 auto clamp(24px, 4vw, 40px); }
.vtc-eyebrow {
    display: inline-block;
    margin: 0 0 12px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--vtc-gold);
}
.vtc-title {
    font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
    font-weight: 600;
    font-size: clamp(2.1rem, 6vw, 3.6rem);
    line-height: 1.03;
    letter-spacing: -0.01em;
    margin: 0 0 14px;
    color: #fff;
    text-wrap: balance;
}
.vtc-title, .vtc-glance-title { background: linear-gradient(180deg, #ffffff 0%, #d9e2e8 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.vtc-sub { margin: 0 auto; max-width: 620px; color: var(--vtc-muted); font-size: clamp(0.98rem, 2vw, 1.12rem); }
.vtc-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 20px; }
.vtc-stat {
    padding: 7px 15px;
    border-radius: 999px;
    background: var(--vtc-panel);
    border: 1px solid var(--vtc-border);
    font-size: 13px;
    color: var(--vtc-muted);
}
.vtc-stat strong { color: var(--vtc-gold-2); font-weight: 700; }
.vtc-install { padding: 7px 15px; border-radius: 999px; border: 1px solid var(--vtc-gold); background: rgba(230,185,104,0.14); color: var(--vtc-gold-2); font-size: 13px; font-weight: 600; cursor: pointer; }
.vtc-install:hover { background: rgba(230,185,104,0.24); }

/* ---------- App grid ---------- */
.vtc-app {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: start;
}
@media (min-width: 860px) {
    .vtc-app { grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr); gap: 22px; }
}

/* ---------- Form ---------- */
.vtc-form {
    background: var(--vtc-panel);
    border: 1px solid var(--vtc-border);
    border-radius: var(--vtc-r);
    padding: clamp(16px, 3vw, 26px);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.vtc-field { display: flex; flex-direction: column; gap: 9px; min-width: 0; }
.vtc-label { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--vtc-text); }

/* Combo (country selector) */
.vtc-combo { position: relative; }
.vtc-combo-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 16px;
    border-radius: var(--vtc-r-sm);
    background: var(--vtc-panel-solid);
    border: 1px solid var(--vtc-border-strong);
    color: var(--vtc-text);
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    transition: border-color 0.15s, background 0.15s;
}
.vtc-combo-btn:hover { border-color: var(--vtc-gold-deep); }
.vtc-combo-flag { font-size: 1.4rem; line-height: 1; }
.vtc-combo-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vtc-combo-caret { color: var(--vtc-faint); font-size: 0.8rem; }
.vtc-combo-pop {
    position: absolute;
    z-index: 30;
    top: calc(100% + 6px);
    left: 0; right: 0;
    background: var(--vtc-panel-solid);
    border: 1px solid var(--vtc-border-strong);
    border-radius: var(--vtc-r-sm);
    box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.75);
    overflow: hidden;
}
.vtc .vtc-combo-search {
    width: 100%;
    padding: 12px 14px;
    border: none !important;
    border-bottom: 1px solid var(--vtc-border) !important;
    background: rgba(3, 12, 28, 0.45) !important;
    color: var(--vtc-text) !important;
    -webkit-text-fill-color: var(--vtc-text);
    caret-color: var(--vtc-text);
    font-size: 0.98rem;
    outline: none;
}
.vtc-combo-search::placeholder { color: var(--vtc-faint); }
.vtc-combo-list { list-style: none; margin: 0; padding: 6px; max-height: 300px; overflow-y: auto; }
.vtc-combo-opt {
    display: flex;
    align-items: center;
    gap: 11px;
    width: 100%;
    padding: 10px 12px;
    border-radius: 9px;
    background: none;
    border: none;
    color: var(--vtc-text);
    font-size: 0.98rem;
    text-align: left;
    cursor: pointer;
}
.vtc-combo-opt:hover, .vtc-combo-opt.is-active { background: var(--vtc-panel-2); }
.vtc-combo-opt-flag { font-size: 1.25rem; }
.vtc-combo-opt-name { flex: 1; min-width: 0; }
.vtc-combo-opt-tag { font-size: 10px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--vtc-faint); }
.vtc-combo-empty { padding: 16px; text-align: center; color: var(--vtc-faint); font-size: 0.92rem; }

/* Services */
.vtc-services { display: flex; flex-wrap: wrap; gap: 8px; }
.vtc-service-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 13px;
    border-radius: 999px;
    background: var(--vtc-panel-solid);
    border: 1px solid var(--vtc-border);
    color: var(--vtc-muted);
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s;
}
.vtc-service-chip:hover { border-color: var(--vtc-border-strong); color: var(--vtc-text); }
.vtc-service-chip.is-active {
    background: linear-gradient(180deg, rgba(230, 185, 104, 0.22), rgba(230, 185, 104, 0.10));
    border-color: var(--vtc-gold);
    color: var(--vtc-gold-2);
}
.vtc-service-chip-icon { font-size: 1rem; }

/* Amount */
.vtc-amount {
    display: flex;
    align-items: center;
    background: var(--vtc-panel-solid) !important;
    border: 1px solid var(--vtc-border-strong);
    border-radius: var(--vtc-r-sm);
    padding: 4px 16px;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.vtc-amount:focus-within { border-color: var(--vtc-gold); box-shadow: 0 0 0 3px rgba(240, 196, 107, 0.18); }
.vtc-amount-sym { color: var(--vtc-gold-2); font-size: 1.4rem; font-weight: 600; margin-right: 8px; }
/* !important guards against host themes that force a white background / dark
   text on every input, which previously made this field render white. */
.vtc .vtc-amount-input {
    flex: 1;
    min-width: 0;
    border: none !important;
    background: transparent !important;
    background-color: transparent !important;
    color: var(--vtc-text) !important;
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    padding: 10px 0;
    outline: none;
    box-shadow: none !important;
    font-variant-numeric: tabular-nums;
    -webkit-text-fill-color: var(--vtc-text);
    caret-color: var(--vtc-text);
}
.vtc-amount-input::placeholder { color: var(--vtc-faint); }
/* Chrome/Safari autofill paints its own white highlight using an internal
   box-shadow (not background-color), which silently defeats the override
   above the moment the browser thinks a field is fillable -- the box stayed
   white and the text (still our light color) became invisible on it. This
   forces our own colour back in with the same technique the browser uses. */
.vtc .vtc-amount-input:-webkit-autofill,
.vtc .vtc-amount-input:-webkit-autofill:hover,
.vtc .vtc-amount-input:-webkit-autofill:focus,
.vtc .vtc-amount-input:-webkit-autofill:active,
.vtc .vtc-combo-search:-webkit-autofill,
.vtc .vtc-combo-search:-webkit-autofill:hover,
.vtc .vtc-combo-search:-webkit-autofill:focus,
.vtc .vtc-combo-search:-webkit-autofill:active {
    -webkit-text-fill-color: var(--vtc-text) !important;
    -webkit-box-shadow: 0 0 0 1000px var(--vtc-panel-solid) inset !important;
    box-shadow: 0 0 0 1000px var(--vtc-panel-solid) inset !important;
    caret-color: var(--vtc-text) !important;
    transition: background-color 9999s ease-in-out 0s, color 9999s ease-in-out 0s;
}

/* Stepper */
.vtc-stepper {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--vtc-panel-solid);
    border: 1px solid var(--vtc-border);
    border-radius: 999px;
    padding: 4px;
    align-self: flex-start;
}
.vtc-step-btn {
    width: 38px; height: 38px;
    border-radius: 50%;
    border: none;
    background: var(--vtc-panel-2);
    color: var(--vtc-text);
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.15s;
}
.vtc-step-btn:hover { background: var(--vtc-gold-deep); color: #1a1206; }
.vtc-step-val { min-width: 90px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }

/* Segmented (quality) */
.vtc-seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; background: var(--vtc-panel-solid); border: 1px solid var(--vtc-border); border-radius: 999px; padding: 4px; }
.vtc-seg button {
    padding: 10px 6px;
    border-radius: 999px;
    border: none;
    background: none;
    color: var(--vtc-muted);
    font-size: 0.86rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
}
.vtc-seg button:hover { color: var(--vtc-text); }
.vtc-seg button.is-active { background: linear-gradient(180deg, var(--vtc-gold-2), var(--vtc-gold)); color: #241804; box-shadow: 0 4px 14px -4px rgba(230, 185, 104, 0.5); }

/* Options */
.vtc-options { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.vtc-check { display: inline-flex; align-items: center; gap: 9px; cursor: pointer; font-size: 0.95rem; color: var(--vtc-text); }
.vtc-check input { width: 18px; height: 18px; accent-color: var(--vtc-gold); }
.vtc-home { display: inline-flex; align-items: center; gap: 8px; }
.vtc-home-label { font-size: 0.9rem; color: var(--vtc-muted); }
.vtc .vtc-home select {
    background: var(--vtc-panel-solid) !important;
    border: 1px solid var(--vtc-border-strong) !important;
    border-radius: 9px;
    color: var(--vtc-text) !important;
    -webkit-text-fill-color: var(--vtc-text);
    padding: 8px 10px;
    font-size: 0.88rem;
    max-width: 190px;
}
.vtc .vtc-home select option { color: #10233f; background: #eef4fc; }
.vtc-noscript { color: var(--vtc-warn); font-size: 0.9rem; }

/* ---------- Result ---------- */
.vtc-result { position: relative; min-height: 260px; }
@media (min-width: 860px) { .vtc-result { position: sticky; top: 20px; } }

.vtc-result-empty {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
    height: 100%; min-height: 260px;
    border: 1px dashed var(--vtc-border-strong);
    border-radius: var(--vtc-r);
    color: var(--vtc-faint);
    text-align: center;
    padding: 24px;
}
.vtc-result-empty-icon { font-size: 2.4rem; opacity: 0.7; }

.vtc-result-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
    border: 1px solid var(--vtc-border-strong);
    border-radius: var(--vtc-r);
    padding: clamp(18px, 3vw, 28px);
    animation: vtc-rise 0.4s ease;
}
@keyframes vtc-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.vtc-r-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.vtc-r-headings { min-width: 0; }
.vtc-r-tiplabel { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--vtc-gold); font-weight: 700; }
.vtc-r-tip {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 600;
    font-size: clamp(2.6rem, 8vw, 3.8rem);
    line-height: 1;
    color: #fff;
    font-variant-numeric: tabular-nums;
    margin: 4px 0 2px;
}
.vtc-r-ratepill {
    display: inline-block;
    padding: 4px 11px;
    border-radius: 999px;
    background: rgba(230, 185, 104, 0.16);
    border: 1px solid rgba(230, 185, 104, 0.3);
    color: var(--vtc-gold-2);
    font-size: 0.82rem;
    font-weight: 600;
}
.vtc-r-total { text-align: right; }
.vtc-r-total-label { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--vtc-faint); }
.vtc-r-total-val { font-size: 1.5rem; font-weight: 700; color: var(--vtc-text); font-variant-numeric: tabular-nums; }

/* segmented bill+tip bar */
.vtc-bar { margin: 20px 0 8px; }
.vtc-bar-track { display: flex; height: 26px; border-radius: 999px; overflow: hidden; background: rgba(3, 12, 28, 0.5); border: 1px solid var(--vtc-border); }
.vtc-bar-bill { background: linear-gradient(90deg, #3f7fbf, #6fb3e0); transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1); }
.vtc-bar-tip { background: linear-gradient(90deg, var(--vtc-gold-deep), var(--vtc-gold-2)); transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1); }
.vtc-bar-legend { display: flex; justify-content: space-between; margin-top: 8px; font-size: 0.8rem; color: var(--vtc-muted); }
.vtc-bar-legend span::before { content: ''; display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin-right: 6px; vertical-align: middle; }
.vtc-legend-bill::before { background: #6fb3e0; }
.vtc-legend-tip::before { background: var(--vtc-gold); }

/* per person */
.vtc-perperson { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 12px 14px; background: var(--vtc-panel); border: 1px solid var(--vtc-border); border-radius: var(--vtc-r-sm); flex-wrap: wrap; }
.vtc-pp-avatars { display: flex; }
.vtc-pp-avatar { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(180deg, var(--vtc-gold-2), var(--vtc-gold-deep)); border: 2px solid var(--vtc-panel-solid); margin-left: -8px; display: flex; align-items: center; justify-content: center; font-size: 0.7rem; color: #241804; }
.vtc-pp-avatar:first-child { margin-left: 0; }
.vtc-pp-text { font-size: 0.9rem; color: var(--vtc-muted); }
.vtc-pp-text strong { color: var(--vtc-text); font-variant-numeric: tabular-nums; }

/* gauge + range */
.vtc-meters { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 18px; }
@media (min-width: 520px) { .vtc-meters { grid-template-columns: auto 1fr; align-items: center; } }
.vtc-gauge { text-align: center; }
.vtc-gauge svg { width: 150px; height: auto; }
.vtc-gauge-caption { font-size: 0.76rem; color: var(--vtc-faint); margin-top: 2px; text-transform: uppercase; letter-spacing: 0.06em; }
.vtc-gauge-verdict { font-size: 0.86rem; color: var(--vtc-gold-2); font-weight: 600; }

.vtc-range-label { font-size: 0.76rem; color: var(--vtc-faint); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 8px; }
.vtc-range-track { position: relative; height: 8px; border-radius: 999px; background: linear-gradient(90deg, #35618f, #5aa6e0, var(--vtc-gold)); }
.vtc-range-marker { position: absolute; top: 50%; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--vtc-gold-deep); transform: translate(-50%, -50%); transition: left 0.5s; box-shadow: 0 2px 8px rgba(0,0,0,0.4); }
/* Stacked rows (label left, amount right) rather than 3 narrow columns -- a
   currency+amount string like "E£95.00" cannot be squeezed into a ~80px
   column without breaking mid-number, so each point gets its own full-width
   row instead, which has no length limit to overflow. */
.vtc-range-scale { display: flex; flex-direction: column; gap: 7px; margin-top: 10px; }
.vtc-range-pt { display: flex; flex-direction: row; align-items: baseline; justify-content: space-between; gap: 10px; min-width: 0; }
.vtc-range-pt-lbl { flex-shrink: 0; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--vtc-faint); }
.vtc-range-pt-val { font-size: 0.88rem; font-weight: 700; color: var(--vtc-text); font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }

/* note + messages */
.vtc-note {
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: var(--vtc-r-sm);
    background: var(--vtc-panel);
    border: 1px solid var(--vtc-border);
    border-left: 3px solid var(--vtc-gold);
    font-size: 0.92rem;
    color: var(--vtc-muted);
    display: flex;
    gap: 11px;
}
.vtc-note-icon { font-size: 1.1rem; flex-shrink: 0; }
.vtc-msg { margin-top: 10px; padding: 11px 14px; border-radius: var(--vtc-r-sm); font-size: 0.88rem; display: flex; gap: 10px; align-items: flex-start; }
.vtc-msg-warning { background: rgba(234, 169, 63, 0.12); border: 1px solid rgba(234, 169, 63, 0.3); color: #f4c987; }
.vtc-msg-info { background: rgba(64, 138, 168, 0.12); border: 1px solid rgba(64, 138, 168, 0.3); color: #a9d3e5; }
.vtc-msg-guidance { background: var(--vtc-panel); border: 1px solid var(--vtc-border); color: var(--vtc-muted); }

/* not-expected state */
.vtc-noTip { text-align: center; padding: 8px 0; }
.vtc-noTip-badge { font-size: 2.8rem; }
.vtc-noTip-title { font-family: 'Fraunces', serif; font-size: clamp(1.6rem, 5vw, 2.2rem); color: #fff; margin: 6px 0 8px; font-weight: 600; }
.vtc-noTip-text { color: var(--vtc-muted); font-size: 0.98rem; max-width: 380px; margin: 0 auto; }

/* easiest cash tip */
.vtc-cashline { margin-top: 12px; padding: 10px 14px; border-radius: var(--vtc-r-sm); background: rgba(92, 203, 140, 0.10); border: 1px solid rgba(92, 203, 140, 0.28); font-size: 0.9rem; color: #b7e6c9; display: flex; gap: 9px; align-items: center; }
.vtc-cashline strong { color: #d8f5e4; font-variant-numeric: tabular-nums; }
.vtc-cashline-icon { font-size: 1rem; }

/* detected-country hint */
.vtc-detected { margin-top: 8px; font-size: 0.82rem; color: var(--vtc-faint); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.vtc-detected-link { background: none; border: none; color: var(--vtc-gold-2); cursor: pointer; font: inherit; text-decoration: underline; padding: 0; }
.vtc-geo-btn { background: none; border: 1px solid var(--vtc-border); border-radius: 999px; color: var(--vtc-muted); font-size: 0.78rem; padding: 3px 10px; cursor: pointer; }
.vtc-geo-btn:hover { border-color: var(--vtc-gold-deep); color: var(--vtc-gold-2); }

/* home currency line */
.vtc-home-line { margin-top: 14px; font-size: 0.9rem; color: var(--vtc-muted); text-align: center; }
.vtc-home-line strong { color: var(--vtc-gold-2); font-variant-numeric: tabular-nums; }
.vtc-home-approx { display: block; font-size: 0.76rem; color: var(--vtc-faint); margin-top: 2px; }

/* actions */
.vtc-actions { display: flex; gap: 10px; margin-top: 20px; }
.vtc-btn {
    flex: 1;
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 16px;
    border-radius: var(--vtc-r-sm);
    border: 1px solid var(--vtc-border-strong);
    background: var(--vtc-panel-2);
    color: var(--vtc-text);
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
    text-decoration: none;
}
.vtc-btn:hover { border-color: var(--vtc-gold); color: var(--vtc-gold-2); }
.vtc-btn-primary { background: linear-gradient(180deg, var(--vtc-gold-2), var(--vtc-gold)); color: #241804; border-color: transparent; }
.vtc-btn-primary:hover { color: #241804; filter: brightness(1.05); }

/* ---------- At a glance ---------- */
.vtc-glance { margin-top: clamp(26px, 5vw, 44px); }
.vtc-glance-title { font-family: 'Fraunces', serif; font-weight: 600; font-size: clamp(1.4rem, 3.5vw, 2rem); margin: 0 0 6px; }
.vtc-glance-verdict { color: var(--vtc-gold-2); font-weight: 600; margin: 0 0 18px; }
.vtc-glance-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
/* Stacked (icon+label on their own row, value on its own row below) rather
   than side-by-side -- a long label ("Hotel housekeeping") and a long value
   ("~E£95.00 per night") can never collide this way, regardless of length. */
.vtc-glance-item { display: flex; flex-direction: column; gap: 8px; padding: 13px 15px; background: var(--vtc-panel); border: 1px solid var(--vtc-border); border-radius: var(--vtc-r-sm); }
.vtc-glance-item-top { display: flex; align-items: center; gap: 10px; min-width: 0; }
.vtc-glance-icon { font-size: 1.3rem; flex-shrink: 0; }
.vtc-glance-label { flex: 1; min-width: 0; font-size: 0.88rem; color: var(--vtc-muted); line-height: 1.35; }
.vtc-glance-value { font-weight: 700; color: var(--vtc-gold-2); font-size: 1rem; text-align: left; line-height: 1.3; }
.vtc-glance-note { margin: 18px 0 6px; color: var(--vtc-muted); font-size: 0.95rem; }
.vtc-disclaimer { font-size: 0.82rem; color: var(--vtc-faint); font-style: italic; }

/* ---------- Footer ---------- */
.vtc-footer { margin-top: clamp(30px, 5vw, 50px); padding-top: 24px; border-top: 1px solid var(--vtc-border); }
.vtc-footer-section { margin-bottom: 26px; }
.vtc-footer-label { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--vtc-gold); font-weight: 700; margin: 0 0 14px; text-align: center; }
.vtc-footer-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.vtc-footer-grid--compact { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.vtc-footer-card {
    display: flex; flex-direction: column; gap: 3px;
    padding: 16px;
    border-radius: var(--vtc-r-sm);
    background: var(--vtc-panel);
    border: 1px solid var(--vtc-border);
    text-decoration: none;
    color: var(--vtc-text);
    transition: all 0.15s;
}
.vtc-footer-card:hover { border-color: var(--vtc-gold); transform: translateY(-2px); background: var(--vtc-panel-2); }
.vtc-footer-icon { font-size: 1.5rem; margin-bottom: 4px; }
.vtc-footer-card-title { font-weight: 600; font-size: 0.96rem; }
.vtc-footer-card-desc { font-size: 0.82rem; color: var(--vtc-faint); }
.vtc-footer-bottom { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; padding-top: 14px; border-top: 1px solid var(--vtc-border); }
.vtc-footer-wordmark { font-family: 'Fraunces', serif; font-size: 1.3rem; font-weight: 600; color: #fff; }
.vtc-footer-tagline { color: var(--vtc-muted); font-size: 0.9rem; }
.vtc-footer-version { color: var(--vtc-faint); font-size: 0.78rem; }

/* ---------- Country page wrappers (Phase 2) ---------- */
.vtc-country-page { max-width: 1120px; margin: 0 auto; padding: 20px 16px; }
.vtc-country-intro { text-align: center; max-width: 760px; margin: 0 auto 22px; }
.vtc-country-eyebrow { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: #b98637; font-weight: 700; }
.vtc-country-h1 { font-family: 'Fraunces', Georgia, serif; font-size: clamp(1.9rem, 5vw, 3rem); margin: 8px 0 12px; }
.vtc-country-lead { color: #55606a; font-size: 1.05rem; }
.vtc-related { max-width: 1120px; margin: 30px auto 0; }
.vtc-related-title { font-family: 'Fraunces', serif; font-size: 1.3rem; margin-bottom: 12px; }
.vtc-related-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.vtc-related-list a { display: inline-block; padding: 8px 14px; border-radius: 999px; background: rgba(0,0,0,0.05); border: 1px solid rgba(0,0,0,0.1); text-decoration: none; color: inherit; font-size: 0.9rem; }
.vtc-related-list a:hover { background: rgba(230,185,104,0.15); border-color: #e6b968; }
.vtc-country-back { margin-top: 10px; }
.vtc-country-back a { text-decoration: none; color: #b98637; font-size: 0.92rem; }

/* Region hub grid */
.vtc-region-grid { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; padding: 8px 16px; }
.vtc-region-card { display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: 14px; border: 1px solid rgba(0,0,0,0.1); background: rgba(0,0,0,0.02); text-decoration: none; color: inherit; transition: all 0.15s; }
.vtc-region-card:hover { border-color: #e6b968; background: rgba(230,185,104,0.08); transform: translateY(-2px); }
.vtc-region-card-name { font-weight: 700; font-size: 1.02rem; }
.vtc-region-card-verdict { font-size: 0.85rem; color: #6b5a62; }

/* Index */
.vtc-index-region { max-width: 1120px; margin: 0 auto 22px; padding: 0 16px; }
.vtc-index-count { color: #999; font-weight: 400; font-size: 0.9rem; }

/* ---------- Motion / print ---------- */
@media (prefers-reduced-motion: reduce) {
    .vtc-result-card { animation: none; }
    .vtc-bar-bill, .vtc-bar-tip, .vtc-range-marker { transition: none; }
    .vtc-footer-card:hover { transform: none; }
}

@media print {
    .vtc { max-width: none; box-shadow: none; border: none; padding: 0; background: #fff; color: #111; }
    .vtc-bg, .vtc-form, .vtc-footer, .vtc-actions, .vtc-result-empty, .vtc-combo-pop, .vtc-noscript { display: none !important; }
    .vtc-title, .vtc-glance-title, .vtc-r-tip, .vtc-footer-wordmark { -webkit-text-fill-color: currentColor; background: none; color: #111; }
    .vtc-result-card { border: 1px solid #ccc; background: #fff; color: #111; }
    .vtc-r-tip, .vtc-r-total-val, .vtc-note, .vtc-glance-value, .vtc-muted { color: #111 !important; }
    .vtc-app { display: block; }
}
