/* MyCaravanBookings v2.0 visual system: progressive enhancement of v1.x pages.
   Separate public/guest, owner holiday, and WIEvolution platform skins.
   Deliberately leaves legacy forms, route logic and data untouched. */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&display=swap');
:root{--v2-ink:#21394b;--v2-muted:#667b88;--v2-brand:#079b9b;--v2-brand-dark:#087b82;--v2-coral:#f5a17f;--v2-cream:#fff9ed;--v2-bg:#f6f8f7;--v2-line:#e5eded;--v2-radius:21px;--v2-shadow:0 8px 34px rgba(35,74,80,.055);font-family:'DM Sans',system-ui,sans-serif}
body.mcb-v2{font-family:'DM Sans',system-ui,sans-serif;color:var(--v2-ink);background:var(--v2-bg);font-size:15px;line-height:1.55}
.mcb-v2 h1,.mcb-v2 h2,.mcb-v2 h3,.mcb-v2 .brand,.sidebar-brand{font-family:'Outfit','DM Sans',system-ui,sans-serif;letter-spacing:-.025em}
.mcb-v2 h1{font-size:clamp(27px,3vw,39px);line-height:1.17;margin:6px 0 10px;font-weight:700}.mcb-v2 h2{font-size:clamp(21px,2.2vw,26px);line-height:1.25}.mcb-v2 h3{font-size:18px}
.mcb-v2 a{color:var(--v2-brand-dark)}.mcb-v2 a:hover{text-decoration:none;color:var(--v2-brand)}
.mcb-v2 .button,.mcb-v2 button:not(.link):not(.logout-button){font-family:'DM Sans',sans-serif;display:inline-flex;align-items:center;justify-content:center;background:var(--v2-brand);color:#fff;border:1px solid transparent;border-radius:12px;min-height:42px;font-weight:700;padding:10px 16px;box-shadow:none;transition:background .18s,transform .18s}
.mcb-v2 .button:hover,.mcb-v2 button:not(.link):not(.logout-button):hover{background:var(--v2-brand-dark);color:#fff;transform:translateY(-1px)}
.mcb-v2 .button.outline,.mcb-v2 button.outline{background:#eef9f7;color:#096c71;border-color:#d5eae5}
.mcb-v2 .button.outline:hover,.mcb-v2 button.outline:hover{background:#dff4ee;color:#09666c}
.mcb-v2 label{color:#405564;font-size:13px;font-weight:700}
.mcb-v2 input:not([type=checkbox]),.mcb-v2 textarea,.mcb-v2 select{border:1px solid #d9e5e5;border-radius:11px;min-height:44px;padding:11px 13px;font-family:inherit;font-size:14px;background:#fff;max-width:100%}
.mcb-v2 input:focus-visible,.mcb-v2 textarea:focus-visible,.mcb-v2 select:focus-visible,.mcb-v2 a:focus-visible,.mcb-v2 button:focus-visible,.mcb-v2 summary:focus-visible{outline:3px solid #22b5a6;outline-offset:3px}
.mcb-v2 .card{border:1px solid #e5eeee;background:white;box-shadow:var(--v2-shadow);border-radius:var(--v2-radius);padding:clamp(18px,2.2vw,28px);margin-bottom:20px;min-width:0}
.mcb-v2 .card h2:first-child,.mcb-v2 .card h3:first-child{margin-top:0}
.mcb-v2 .columns{grid-template-columns:repeat(auto-fit,minmax(min(100%,285px),1fr));gap:20px}
.mcb-v2 .muted{color:var(--v2-muted)}
.mcb-v2 .notice{border:1px solid #bdeadd;background:#eafaf3;color:#155b51;border-radius:14px;margin-bottom:22px}
.mcb-v2 table{font-size:13px;min-width:550px}.mcb-v2 th{font-weight:700;color:#697c83;font-size:11px;letter-spacing:.065em;text-transform:uppercase;background:#f8faf9}.mcb-v2 td,.mcb-v2 th{padding:13px 15px;border-color:#edf1f1}.mcb-v2 tr:hover td{background:#fafcfb}
.mcb-v2 .actions{gap:8px}.mcb-v2 .actions .button{min-height:38px;padding:8px 12px;font-size:12px;border-radius:10px}
.mcb-v2 .unit-photo{height:220px;border-radius:15px}
.eyebrow{font-size:10px;font-weight:800;letter-spacing:.15em;color:var(--v2-brand);text-transform:uppercase}
.skip-link{position:fixed;left:12px;top:-80px;background:white;z-index:9999;padding:12px}.skip-link:focus{top:12px}
/* Shared two-theme workspace frame */
.app-shell{display:grid;grid-template-columns:254px minmax(0,1fr);min-height:100vh}
.workspace-sidebar{background:#fff;border-right:1px solid #e4eeee;display:flex;flex-direction:column;gap:0;padding:26px 17px;min-height:100vh;position:sticky;top:0;max-height:100vh;overflow:auto}
.sidebar-brand{display:flex;align-items:center;gap:11px;color:#204653!important;font-size:20px;font-weight:800;line-height:1.1;padding:1px 9px 30px}
.sidebar-brand small{display:block;color:#90a0a6;font:500 10px/1.4 'DM Sans',sans-serif;letter-spacing:0;margin-top:5px}
.brand-icon{width:41px;height:41px;background:linear-gradient(140deg,#04b1a6,#007c89);border-radius:13px;color:#fff;display:grid;place-items:center;flex-shrink:0;box-shadow:0 5px 14px #11ada52a;font-weight:800;font-size:23px}
.sidebar-heading{font-size:10px;color:#9ca9ae;font-weight:800;letter-spacing:.16em;margin:10px 12px 13px}
.workspace-links{display:flex;flex-direction:column;gap:4px}.mcb-v2 a.workspace-link{display:block;padding:12px 13px;border-radius:11px;font-size:13px;color:#657b84;font-weight:700;transition:.15s}.mcb-v2 a.workspace-link:hover{background:#f1f8f6;color:#117e7c}.mcb-v2 a.workspace-link.is-active{background:#e4f7f2;color:#007b78}
.sidebar-footer{font-size:11px;color:#a1afb4;line-height:1.55;margin-top:auto;padding:28px 12px 0}
.workspace-main{min-width:0}.workspace-topbar{height:76px;background:#fff;border-bottom:1px solid #e7eeee;display:flex;align-items:center;justify-content:flex-end;gap:16px;padding:0 clamp(20px,3vw,48px)}.topbar-spacer{flex:1}.account-name{font-size:13px;font-weight:700;color:#3a5a64}.logout-form{display:inline;margin:0}.mcb-v2 button.logout-button{background:#f1f6f6!important;color:#48646e!important;border:0;border-radius:11px;padding:10px 14px;cursor:pointer;font-size:12px;font-weight:700}.logout-button:hover{background:#deeeee!important}.mobile-brand,.mobile-menu{display:none!important}
.mcb-v2 main.workspace-content{max-width:1480px;margin:0 auto;padding:clamp(23px,3.1vw,45px);min-height:calc(100vh - 76px)}.page-intro{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:27px}.page-intro p{color:#7b8e93;margin:3px 0 0;font-size:14px}
/* Owner dashboard: Holiday Lifestyle first, money clarity second */
.theme-owner{--v2-bg:#f7faf9;--v2-brand:#07a399;--v2-brand-dark:#087e7f}.theme-owner .workspace-sidebar{background:#fffefb}.theme-owner .workspace-topbar{background:#fffefb}
.theme-owner .dash-welcome{background:linear-gradient(110deg,#0d8f96,#34bdb0 65%,#69d2b7);min-height:165px;border-radius:24px;padding:28px 34px;position:relative;overflow:hidden;box-shadow:0 16px 30px #0f8b8920}.theme-owner .dash-welcome:after{content:'';position:absolute;width:225px;height:225px;border:35px solid rgba(255,255,255,.10);border-radius:50%;right:7%;top:-100px;pointer-events:none}.theme-owner .dash-welcome h2{color:white;font-size:clamp(23px,2.5vw,33px)}.theme-owner .dash-welcome p{color:#f0ffff}.theme-owner .dash-welcome .muted{color:#cffaf4}
.theme-owner .dash-stats{gap:18px}.theme-owner .dash-stats>div{border-radius:20px;background:#fff;border:1px solid #e0eeee;box-shadow:var(--v2-shadow);padding:22px}.theme-owner .dash-stats strong{color:#088e8d;font-size:34px}
.theme-owner .dash-stats>div:nth-child(2){background:#f6f7ff}.theme-owner .dash-stats>div:nth-child(3){background:#fff8f1}.theme-owner .hero{background:linear-gradient(115deg,#079f9e,#3ac4b5);border-radius:24px}
/* Guest dashboard: less finance, more anticipation */
.theme-guest,.theme-public{--v2-bg:#faf9f3;--v2-brand:#ef8d64;--v2-brand-dark:#a55240;background:var(--v2-bg)}
.guest-topbar{background:#fff;border-bottom:1px solid #f0ebe5;box-shadow:none}.guest-nav{max-width:1200px;padding:21px 24px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:18px}.guest-nav-links{display:flex;align-items:center;gap:19px;font-size:13px;font-weight:700}.theme-guest .brand,.theme-public .brand{color:#21495a}.theme-guest .brand span,.theme-public .brand span{color:#f59a74}
.mcb-v2 main.guest-main{max-width:1120px;padding:25px 24px 45px;margin:15px auto;min-height:67vh}.guest-title{padding:20px 0 17px}.guest-title h1{font-size:clamp(28px,3.5vw,43px)}
.guest-celebration{background:linear-gradient(105deg,#fff1d9 0%,#fce7d7 53%,#f9e5cf 100%);border:1px solid #ffebd4;min-height:185px;border-radius:26px;padding:35px 35px;margin-bottom:26px;position:relative;overflow:hidden;box-shadow:0 12px 30px #c7824420}.guest-celebration:before{content:'';position:absolute;width:170px;height:170px;background:#ffcf81;border-radius:50%;right:8%;top:-85px;box-shadow:0 0 0 35px #ffdb9d55}.guest-celebration:after{content:'';position:absolute;height:105px;width:290px;border-radius:50%;background:#fff8ef88;right:-60px;bottom:-74px;transform:rotate(-12deg)}.guest-celebration h2{font-size:clamp(27px,3.1vw,37px);margin:8px 0}.guest-celebration p{margin:0;color:#79584e;max-width:480px}.guest-celebration .eyebrow{color:#a56b45}.guest-celebration-compact{min-height:145px;padding:25px 32px}.holiday-cards .card{border:1px solid #f3e9e1;box-shadow:0 8px 28px #9b705010}.holiday-card-label{font-size:10px;letter-spacing:.12em;font-weight:800;color:#bc795c;margin-bottom:14px}.theme-guest .owner-identity{padding:7px 0 11px}.theme-guest .owner-avatar{background:#f2a478}
.theme-guest .hero,.theme-public .hero{background:linear-gradient(115deg,#f39c77,#dd897d 60%,#b9b6c8);border-radius:25px}
.theme-guest .button,.theme-public .button,.theme-guest button:not(.link):not(.logout-button),.theme-public button:not(.link):not(.logout-button){background:#e78c66}.theme-guest .button.outline,.theme-public .button.outline{background:#fff2e9;color:#97563c;border-color:#f8dfcd}.guest-main .guest-actions{display:flex;gap:8px;flex-wrap:wrap}.guest-main .guest-actions .button{background:white;color:#91614c;border:1px solid #f6e1d4}
.theme-guest footer,.theme-public footer{color:#9e948f}
/* Platform: signature WIEvolution navy / purple / teal */
.theme-platform{--v2-bg:#101a33;--v2-ink:#eff5ff;--v2-brand:#27c3b4;--v2-brand-dark:#0b9c99;--v2-muted:#adbed3;--v2-line:#303e59;background:#101a33;color:#e6f1ff}
.theme-platform .workspace-sidebar{background:#0b152d;border-right:1px solid #273750}.theme-platform .sidebar-brand{color:#f0f4ff!important}.theme-platform .sidebar-brand small{color:#8fa0bf}.theme-platform .brand-icon{background:linear-gradient(145deg,#15b7b0,#7e5fdf);box-shadow:0 6px 18px #673dbc35}.theme-platform .sidebar-heading{color:#6f82a5}.theme-platform .sidebar-footer{color:#7387a8}.theme-platform a.workspace-link{color:#b3c0d8}.theme-platform a.workspace-link:hover{background:#25334e;color:#fff}.theme-platform a.workspace-link.is-active{background:linear-gradient(90deg,#174c61,#292d55);color:#6de3d5;border-left:3px solid #24c3b8}
.theme-platform .workspace-topbar{background:#111e39;border-bottom:1px solid #283753}.theme-platform .account-name{color:#d9e6fa}.theme-platform button.logout-button{background:#293858!important;color:#e1e9fa!important}.theme-platform .eyebrow{color:#71dacd}.theme-platform .page-intro p{color:#a0b0c9}
.theme-platform .card{background:#172642;color:#e6f1fa;border:1px solid #2c3c59;box-shadow:0 10px 34px #00000018}.theme-platform h1,.theme-platform h2,.theme-platform h3,.theme-platform strong{color:#f1f7ff}.theme-platform .muted{color:#a2b2cd}.theme-platform a{color:#5be0d3}.theme-platform .card a:not(.button){color:#6fe5db}.theme-platform .notice{background:#174c47;color:#baf5e4;border-color:#2e766c}
.theme-platform table th{background:#1c304e;color:#a3b8ce}.theme-platform table td,.theme-platform table th{border-bottom-color:#30415d}.theme-platform tr:hover td{background:#1e3451}.theme-platform input:not([type=checkbox]),.theme-platform textarea,.theme-platform select{background:#101e38;color:#f1f5fc;border-color:#354661}.theme-platform label{color:#cad6e7}.theme-platform .button.outline,.theme-platform button.outline{background:#253b53;color:#90e7da;border-color:#3c5b63}.theme-platform .button,.theme-platform button:not(.link):not(.logout-button){background:#148f9c;color:#fff}
.theme-platform .hero{background:linear-gradient(110deg,#213d6c,#394170 68%,#614892)}
/* More useful small screens without dropping the working legacy routes */
@media(max-width:950px){.app-shell{grid-template-columns:1fr}.workspace-sidebar{display:none}.workspace-topbar{height:64px;padding:0 20px}.mobile-brand{display:block!important;font-family:'Outfit',sans-serif;font-weight:800;font-size:19px;color:#118a8a}.mobile-menu{display:block!important;background:#fff;border-bottom:1px solid #e5eded;padding:5px 18px 10px}.mobile-menu summary{padding:10px;cursor:pointer;font-weight:700;color:#3b6870}.mobile-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;padding:9px 0}.theme-platform .mobile-menu{background:#172642;border-color:#314362}.theme-platform .mobile-menu summary{color:#d5eafa}.theme-platform .mobile-brand{color:#5fe2d3}.mcb-v2 main.workspace-content{padding:22px 18px}.theme-owner .dash-stats{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.mcb-v2 .card{padding:18px;border-radius:17px}.guest-nav{padding:17px 15px}.guest-nav-links{gap:9px}.guest-nav .brand{font-size:18px}.guest-nav .account-name{display:none}.mcb-v2 main.guest-main{padding:15px}.guest-title{padding:15px 0}.guest-celebration{padding:24px;min-height:160px;border-radius:19px}.theme-owner .dash-welcome{padding:22px;border-radius:19px}.theme-owner .dash-stats{gap:9px}.theme-owner .dash-stats>div{padding:15px}.mobile-links{grid-template-columns:1fr}.mcb-v2 table{font-size:12px}.mcb-v2 .card.scroll{overflow:auto}.mcb-v2 .actions{gap:7px}.mcb-v2 .actions .button{min-height:36px}.workspace-topbar{gap:7px}}
@media(prefers-reduced-motion:reduce){.mcb-v2 *{scroll-behavior:auto!important;transition:none!important}}
/* Platform dashboard modules */
.theme-platform .platform-intro-card{border-radius:22px;background:radial-gradient(circle at 86% 18%,#59458f 0%,transparent 38%),linear-gradient(110deg,#164763,#233053);padding:27px 30px;margin-bottom:19px;border:1px solid #46567e;box-shadow:0 12px 25px #080d1b30}
.theme-platform .platform-intro-card h2{color:white;font-size:clamp(23px,3vw,33px);margin:7px 0}.theme-platform .platform-intro-card p{color:#c2d4e9;margin:0}.theme-platform .platform-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:22px}.theme-platform .platform-stats>div{padding:22px;border:1px solid #334363;background:#182946;border-radius:17px}.theme-platform .platform-stats small{display:block;color:#a3b5d1;font-size:12px;font-weight:600}.theme-platform .platform-stats strong{display:block;margin-top:5px;color:#6ee4d7;font-size:31px;font-family:Outfit,sans-serif}
@media(max-width:700px){.theme-platform .platform-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.theme-platform .platform-stats>div{padding:15px}}
/* Many feature modules, now grouped so the dashboard stays useful. */
.owner-toolbox{border:1px solid #dcebe8;background:#fff;border-radius:18px;margin:0 0 22px;padding:0;box-shadow:var(--v2-shadow)}.owner-toolbox summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center;padding:17px 20px;font-size:14px;font-weight:800;color:#176b71}.owner-toolbox summary:after{content:'⌄';font-size:20px;color:#0c9f9b}.owner-toolbox[open] summary:after{transform:rotate(180deg)}.owner-toolbox summary::-webkit-details-marker{display:none}.owner-toolbox .actions{padding:0 18px 19px;margin:0}.theme-platform .owner-toolbox{background:#182946;border-color:#374b62}
.owner-business-intro{background:linear-gradient(110deg,#0b8894,#20aaaf 59%,#5bcdb8);color:white;padding:30px;border-radius:23px;min-height:190px;margin:0 0 17px;position:relative;overflow:hidden}.owner-business-intro:after{content:'';position:absolute;width:240px;height:240px;right:-75px;top:-80px;border-radius:50%;border:42px solid #ffffff12}.owner-business-intro .eyebrow{color:#bbf9eb}.owner-business-intro h2{font-size:31px;margin:4px 0;color:white}.owner-business-intro p{color:#e4fffc;margin:2px 0 17px}.owner-business-intro .button{background:white;color:#087c7a}.owner-business-stats,.guest-booking-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin-bottom:23px}.owner-business-stats>div,.guest-booking-overview>div{background:white;border:1px solid #e3eeee;border-radius:17px;padding:19px;box-shadow:var(--v2-shadow)}.owner-business-stats small,.guest-booking-overview small{display:block;font-size:10px;color:#789096;letter-spacing:.08em;font-weight:800}.owner-business-stats strong,.guest-booking-overview strong{display:block;font-size:24px;font-family:Outfit,sans-serif;color:#078b88;margin-top:6px;line-height:1.25}.theme-guest .guest-booking-overview>div{background:#fffdf9;border-color:#f3e5d6}.theme-guest .guest-booking-overview strong{font-size:21px;color:#ae6b54}
@media(max-width:650px){.owner-business-stats,.guest-booking-overview{grid-template-columns:1fr}.owner-business-stats>div,.guest-booking-overview>div{padding:14px}.owner-business-intro{padding:24px}}
