/* Travel Studio: shared brand, workspace and reports */
:root {
  --studio-forest: #154c40;
  --studio-deep: #103e35;
  --studio-ink: #193b34;
  --studio-muted: #546b63;
  --studio-line: #dce5de;
  --studio-ground: #f4f6f1;
  --studio-lime: #e1f3a8;
}
.studio-bar { background: #fff; border-color: var(--studio-line); }
.studio-nav { width: min(1536px, 94%); min-height: 65px; gap: clamp(22px, 4vw, 62px); }
.studio-nav nav a { color: var(--studio-muted); font-size: .9rem; font-weight: 500; }
.studio-nav nav a:hover, .studio-nav nav a[aria-current] { color: var(--studio-deep); }
.studio-brand { color: var(--studio-deep); gap: 8px; }
.studio-brand b { letter-spacing: -1.5px; }
.studio-compass {
  display: grid; place-items: center; width: 34px; height: 34px;
  border-radius: 10px; color: var(--studio-lime); background: var(--studio-deep); font-size: 30px;
}
.studio-account { background: #f1f6e8; color: var(--studio-deep); border-color: #d7e3c7; font-size: .88rem; }
.studio-account:hover { background: #e4efcf; }
.studio-foot { color: var(--studio-muted); }
.studio-private { max-width: 1680px; grid-template-columns: clamp(196px, 16vw, 238px) minmax(0, 1fr); background: var(--studio-ground); min-height: calc(100vh - 66px); }
body:has(.studio-private) { background: var(--studio-ground); }
.studio-private > main { width: 100%; }
.studio-rail {
  background: #fff; border-color: var(--studio-line); padding: 20px 13px;
  min-height: calc(100vh - 66px); max-height: 100dvh; scrollbar-width: thin; scrollbar-color: #c9d6cd transparent;
}
.studio-rail section { margin-bottom: 12px; }
.studio-rail section + section { border-top: 1px solid #e7ece7; padding-top: 12px; }
.studio-rail strong { color: #536b60; font-size: .76rem; font-weight: 600; padding: 4px 12px; }
.studio-rail nav a { gap: 10px; min-height: 36px; margin: 2px 0; padding: 6px 12px; font-size: .89rem; color: #34574b; }
.studio-rail nav svg { flex: none; }
.studio-rail nav a:hover { background: #eff5ee; }
.studio-rail nav a[aria-current] { background: var(--studio-forest); color: #fff; font-weight: 550; }
.studio-rail nav a[aria-current] svg { color: var(--studio-lime); }
.studio-partner-id { background: #f4f7ef; border: 0; border-radius: 10px; padding: 12px; }
.studio-private .mvp { --vp-ink: var(--studio-ink); --vp-line: var(--studio-line); --vp-teal: var(--studio-forest); padding: clamp(15px, 2vw, 32px) clamp(16px, 2.5vw, 42px) 44px; }
.studio-private .mvp-tabs { display: none; }
.studio-private .mvp-head {
  color: #fff; margin: 0 0 20px; padding: 24px clamp(20px, 2.8vw, 42px);
  min-height: 164px; border-radius: 19px; display: flex; flex-direction: column;
  align-items: flex-start; justify-content: center; gap: 15px;
  background-color: var(--studio-deep);
  background-image: linear-gradient(270deg, #123e35 1%, rgba(18,62,53,.97) 31%, rgba(18,62,53,.77) 55%, rgba(18,62,53,.15) 88%), url("rome-hero.webp");
  background-position: center, left 56%; background-size: cover, cover;
}
.studio-private .mvp-head h1 { color: white; font-weight: 650; font-size: clamp(1.85rem, 3vw, 3rem); letter-spacing: -.042em; }
.studio-private .mvp-overline { color: #e2ede4; margin: 0 0 7px; font-size: .82rem; gap: 8px; }
.studio-private .mvp-overline .mvpi { color: var(--studio-lime); width: 17px; height: 17px; }
.studio-private .mvp-overline i { background: #8fa99d; height: 12px; }
.studio-demo-indicator { border: 1px solid #90a99b; color: #f2f6de; border-radius: 5px; padding: 1px 6px; font-size: .72rem; }
.studio-private .mvp-overline .studio-demo-switch { color: #f5f8e9; text-underline-offset: 3px; }
.studio-private .mvp-head-actions { gap: 8px; }
.studio-private .mvp-head-actions :is(.mvp-primary,.mvp-quiet) { padding: 7px 13px; line-height: 1.4; font-size: .85rem; min-height: 36px; border-radius: 8px; }
.studio-private .mvp-head-actions .mvp-primary { background: var(--studio-lime); color: #193e31; border-color: var(--studio-lime); }
.studio-private .mvp-head-actions .mvp-primary:hover { background: #f0ffc4; }
.studio-private .mvp-head-actions .mvp-quiet { color: #fff; border-color: #a6baac; background: #194a3f; }
.studio-private .mvp-head-actions .mvp-quiet:hover { background: #296153; }
.studio-private .mvp-head-actions .mvpi { width: 16px; height: 16px; }
.studio-private .mvp-card, .studio-private .mvp-metric, .studio-report-summary > div { border-radius: 14px; box-shadow: 0 3px 10px #17382d06; }
.studio-private .mvp-card h2 { font-weight: 600; }
.studio-private .mvp-subtabs { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; margin: 0 0 14px; }
.studio-private .mvp-subtabs a { display: inline-flex; align-items: center; min-height: 35px; border: 1px solid transparent; padding: 5px 12px; border-radius: 7px; color: var(--studio-muted); text-decoration: none; font-weight: 500; }
.studio-private .mvp-subtabs a:hover { background: #e6ede4; }
.studio-private .mvp-subtabs a[aria-current] { border-color: #c3d6c9; background: #e2eee5; color: #184e3b; }
.studio-private .mvp-report-filter.mvp-form { margin: 0 0 13px; padding: 12px 16px; display: flex; align-items: end; flex-wrap: wrap; gap: 12px; border: 1px solid var(--studio-line); border-radius: 12px; background: #fff; }
.studio-private .mvp-report-filter label { min-width: 145px; font-size: .78rem; color: var(--studio-muted); }
.studio-private .mvp-report-filter select { margin-top: 4px; min-height: 38px; font-size: .88rem; padding: 5px 8px; }
.studio-private .mvp-report-filter .mvp-primary { min-height: 38px; padding: 7px 18px; border-radius: 8px; font-size: .86rem; }
.studio-report-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0 0 15px; }
.studio-report-summary > div { padding: clamp(12px, 1.6vw, 22px); border: 1px solid var(--studio-line); background: #fff; min-width: 0; }
.studio-report-summary > div:first-child { background: #eaf3dc; border-color: #ccdbbc; }
.studio-report-summary dt { display: flex; align-items: center; gap: 8px; color: #405c4c; font-size: .85rem; font-weight: 500; }
.studio-report-summary dt svg { width: 18px; height: 18px; }
.studio-report-summary dd { margin: 7px 0 0; font-weight: 600; color: var(--studio-deep); font-size: clamp(1.24rem, 2.5vw, 2rem); letter-spacing: -.035em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.studio-private .mvp-report { padding: 0; }
.studio-private .mvp-report .mvp-card-head { padding: 16px 20px; }
.studio-private .mvp-report .mvp-card-head .mvp-action { border: 1px solid #cad8cd; padding: 7px 11px; border-radius: 8px; color: #265444; background: #fff; }
.studio-private .mvp-report .mvp-card-head .mvp-action:hover { background: #f1f6ef; text-decoration: none; }
.studio-private .mvp-report .mvp-report-explain { padding: 0 20px; }
.studio-private .mvp-report .mvp-tablewrap { margin-top: 0; border-radius: 0 0 14px 14px; }
.studio-private .mvp-report :is(th,td) { padding: 11px 10px; border-color: #e6ece6; }
.studio-private .mvp-report th { border-block: 1px solid var(--studio-line); color: #496052; background: #f1f5ee; white-space: nowrap; }
.studio-private .mvp-report :is(th,td):first-child { padding-inline-start: 20px; }
.studio-private .mvp-report :is(th,td):last-child { padding-inline-end: 20px; }
.studio-private .mvp-report tbody tr:hover { background: #f7f9f5; }
.studio-transactions td:first-child, .studio-transactions td:nth-child(2), .studio-transactions td:last-child { white-space: nowrap; }
.studio-transactions td:first-child { font-size: .82rem; font-weight: 500; color: #466052; }
.studio-transactions td:last-child { font-weight: 600; }
.studio-private .mvp-state { align-items: center; gap: 5px; border-radius: 99px; white-space: nowrap; }
.studio-private .mvp-state::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; }
.studio-private .mvp-quick a:hover, .studio-private .mvp-rank:hover { background: #eff5eb; }
.mv-page-home { background: #f8f9f3; }
.mv-page-home .studio-plate { border-radius: 28px 90px 28px 28px; box-shadow: 0 13px 33px #22462f15; }
.mv-page-home .studio-destination { border: 1px solid color-mix(in srgb, var(--city, #e7edda) 82%, #536b52); border-radius: 14px; }
.mv-page-home .studio-workflow { margin-bottom: 30px; }
@media (max-width: 820px) {
  .studio-private { display: block; }
  .studio-rail { min-height: 0; max-height: none; padding: 0; background: #fff; }
  .studio-rail details > summary { display: flex; align-items: center; justify-content: space-between; min-height: 42px; padding: 8px 4%; font-size: .9rem; color: var(--studio-deep); list-style: none; }
  .studio-rail summary::-webkit-details-marker { display: none; }
  .studio-rail summary::after { content: ""; width: 8px; height: 8px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); margin: -4px 5px 0; }
  .studio-rail details[open] > summary::after { transform: rotate(225deg); margin-top: 4px; }
  .studio-rail nav { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); padding: 8px 3% 15px; }
  .studio-rail nav section { margin: 0; border: 0; padding: 0; }
  .studio-rail nav a { font-size: .84rem; min-height: 37px; padding: 6px; }
  .studio-rail strong { padding: 4px 6px; }
  .studio-private .mvp-head { min-height: 146px; }
}
@media (max-width: 650px) {
  .studio-nav { flex-wrap: wrap; gap: 0 12px; padding: 9px 0 0; min-height: 55px; }
  .studio-compass { width: 26px; height: 26px; font-size: 24px; border-radius: 7px; }
  .studio-brand b { font-size: 23px; }
  .studio-nav nav a { padding: 6px 0; font-size: .8rem; }
  .studio-account { font-size: .8rem; }
  .studio-rail nav { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px 10px; }
  .studio-private .mvp { padding: 12px 12px 32px; }
  .studio-private .mvp-head { padding: 16px; margin-bottom: 13px; min-height: 0; gap: 12px; border-radius: 14px; background-position: center, 35% center; background-image: linear-gradient(270deg,#123e35 3%,#123e35ed 38%,#123e3599 100%),url("rome-hero.webp"); }
  .studio-private .mvp-overline { font-size: .74rem; gap: 6px; }
  .studio-private .mvp-head h1 { font-size: 1.95rem; }
  .studio-private .mvp-subtabs { gap: 2px; margin-bottom: 8px; }
  .studio-private .mvp-subtabs a { min-height: 35px; padding: 4px 7px; font-size: .79rem; }
  .studio-private .mvp-report-filter.mvp-form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)) auto; gap: 7px; padding: 10px; margin-bottom: 8px; }
  .studio-private .mvp-report-filter label { min-width: 0; }
  .studio-private .mvp-report-filter select { padding: 4px; }
  .studio-private .mvp-report-filter .mvp-primary { padding: 6px 9px; }
  .studio-report-summary { gap: 6px; margin-bottom: 10px; }
  .studio-report-summary > div { padding: 10px 8px; border-radius: 10px; }
  .studio-report-summary dt { font-size: .74rem; display: block; }
  .studio-report-summary dt svg { display: none; }
  .studio-report-summary dd { font-size: clamp(1rem, 4.5vw, 1.5rem); margin-top: 5px; }
  .studio-private .mvp-report .mvp-card-head { padding: 12px; gap: 8px; }
  .studio-private .mvp-report .mvp-card-head .mvp-action { font-size: .79rem; min-height: 36px; }
  .studio-transactions, .studio-transactions tbody { display: block; }
  .studio-transactions thead { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); }
  .studio-private .studio-transactions tr { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px 16px; padding: 13px; border-top: 1px solid var(--studio-line); }
  .studio-private .studio-transactions td { border: 0; padding: 0; min-width: 0; font-size: .86rem; overflow-wrap: anywhere; white-space: normal; }
  .studio-private .studio-transactions td:first-child, .studio-private .studio-transactions td:last-child { padding: 0; }
  .studio-transactions td::before { content: attr(data-label); color: var(--studio-muted); font-size: .7rem; font-weight: 400; display: block; }
  .studio-transactions td:nth-child(4) { grid-column: 1 / -1; grid-row: 1; font-weight: 600; }
  .studio-transactions td:nth-child(4)::before { display: none; }
  .studio-transactions td:nth-child(7) { grid-row: 2; grid-column: 1; }
  .studio-transactions td:nth-child(8) { grid-row: 2; grid-column: 2; }
  .studio-private .studio-transactions td:last-child { color: var(--studio-forest); }
  .mv-page-home .studio-plate { border-radius: 16px 50px 16px 16px; }
}
@media (max-width: 380px) {
  .studio-private .mvp-report-filter.mvp-form { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .studio-private .mvp-report-filter .mvp-primary { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  .studio-destination:hover { transform: none; }
}
