/* AutoCare SG booking-system demo */
:root {
  --bg: #08090c; --bg2: #0d0f13; --panel: #13161b; --line: #22262d; --line2: #323842;
  --text: #f1f2f4; --muted: #a7adb6; --dim: #737a85;
  --teal: #f26a1b; --teal2: #ff9a52; --blue: #47b4eb; --amber: #e7a33e; --red: #e05260;
  --brand: #2d8f86; --b: var(--brand); --brand-ink: #ffffff; --brand-soft: #e6f4f2;
  --ink: #0b1112; --ink2: #2f3b3a; --ink3: #5b6a68; --paper: #ffffff; --paper2: #f3f7f6; --paper-line: #e1e9e7;
  --r: 16px; --r-sm: 10px;
  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif; --display: 'Syne', 'Manrope', sans-serif;
  --ease: cubic-bezier(.2,.8,.2,1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: clip; }
body.app-open { overflow: hidden; }
a { color: inherit; }
img, canvas { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.12; margin: 0; letter-spacing: -0.01em; }
:focus-visible { outline: 2px solid var(--teal2); outline-offset: 2px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--teal); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
[hidden] { display: none !important; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: 12px; padding: 10px 16px; font-weight: 700; font-size: 15px; text-decoration: none; transition: transform .2s var(--ease), background .2s, border-color .2s, box-shadow .2s; min-height: 44px; white-space: nowrap; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 8px 30px -10px rgba(255,154,82,.6); }
.btn-primary:hover { background: #ff7d33; transform: translateY(-1px); }
.btn-ghost { background: rgba(255,255,255,.04); border-color: var(--line2); color: var(--text); }
.btn-ghost:hover { border-color: var(--teal2); }
.btn-lg { padding: 14px 22px; font-size: 16px; border-radius: 14px; }
.btn-sm { min-height: 36px; padding: 6px 12px; font-size: 13px; border-radius: 10px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px clamp(16px, 4vw, 48px); background: rgba(8,9,12,.72); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255,255,255,.05); }
.logo { font-family: var(--display); font-weight: 800; letter-spacing: .16em; font-size: 18px; text-decoration: none; color: #fff; }
.logo span { color: var(--teal); }
.nav-links { display: flex; gap: 26px; font-size: 14px; font-weight: 600; color: var(--muted); }
.nav-links a { text-decoration: none; transition: color .2s; }
.nav-links a:hover { color: #fff; }
.nav-cta { display: flex; gap: 10px; }
@media (max-width: 960px) { .nav-links { display: none; } }
@media (max-width: 560px) { .nav-cta .btn-ghost { display: none; } .logo { font-size: 15px; } }

/* hero */
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 32px; align-items: center; padding: clamp(32px, 6vw, 72px) clamp(16px, 4vw, 48px) 40px; max-width: 1400px; margin: 0 auto; }
.hero::before { content: ''; position: absolute; inset: -20% -10% auto auto; width: 70%; height: 120%; background: radial-gradient(closest-side, rgba(242,106,27,.28), transparent 70%); pointer-events: none; z-index: -1; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal2); margin: 0 0 16px; }
.kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal2); box-shadow: 0 0 0 0 rgba(255,154,82,.6); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(255,154,82,.55); } 80%, 100% { box-shadow: 0 0 0 12px rgba(255,154,82,0); } }
.hero h1 { font-size: clamp(36px, 5.2vw, 66px); font-weight: 700; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--teal), var(--teal2), #ffd2a8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(16px, 1.4vw, 19px); color: #c3d2cf; max-width: 560px; margin: 20px 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-proof { list-style: none; padding: 0; margin: 34px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; max-width: 560px; }
.hero-proof li { border-left: 2px solid var(--teal); padding-left: 12px; display: flex; flex-direction: column; }
.hero-proof strong { font-family: var(--display); font-size: 17px; }
.hero-proof span { font-size: 13px; color: var(--muted); }
.stage { position: relative; height: clamp(380px, 46vw, 600px); border-radius: 28px; background: radial-gradient(120% 80% at 50% 0%, #1f1610 0%, #08090c 70%); border: 1px solid var(--line); overflow: hidden; }
.stage canvas { width: 100%; height: 100%; cursor: grab; touch-action: pan-y; }
.stage canvas:active { cursor: grabbing; }
.stage-fallback { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); padding: 24px; text-align: center; }
.stage-hint { position: absolute; top: 16px; left: 16px; display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--muted); background: rgba(0,0,0,.4); border: 1px solid var(--line); padding: 6px 10px; border-radius: 999px; }
.stage-panel { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 18px; background: rgba(10,11,14,.72); backdrop-filter: blur(12px); border: 1px solid var(--line2); }
.panel-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.panel-label { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; width: 70px; }
.swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.swatch { width: 28px; height: 28px; border-radius: 50%; border: 2px solid rgba(255,255,255,.18); padding: 0; position: relative; transition: transform .2s var(--ease); }
.swatch:hover { transform: scale(1.12); }
.swatch[aria-checked="true"] { border-color: #fff; box-shadow: 0 0 0 3px rgba(255,154,82,.45); }
.swatches.lg .swatch { width: 36px; height: 36px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { border: 1px solid var(--line2); background: rgba(255,255,255,.03); color: var(--text); border-radius: 999px; padding: 5px 12px; font-size: 13px; font-weight: 700; min-height: 32px; transition: all .2s; }
.chip:hover { border-color: var(--teal2); }
.chip[aria-checked="true"] { background: var(--teal); border-color: var(--teal); color: #fff; }
.btn-coat { background: linear-gradient(90deg, var(--teal), #ff8a3d); color: #fff; border: 0; position: relative; overflow: hidden; }
.btn-coat::after { content: ''; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent); transform: skewX(-20deg); }
.btn-coat:hover::after { animation: shine 1s; }
.btn-coat[aria-pressed="true"] { background: rgba(255,255,255,.06); border: 1px solid var(--teal2); color: var(--teal2); }
@keyframes shine { to { left: 120%; } }
.price-pill { margin-left: auto; font-size: 13px; color: var(--muted); }
.price-pill b { color: #fff; font-size: 15px; }
@media (max-width: 960px) { .hero { grid-template-columns: 1fr; } .stage { height: 460px; } }
@media (max-width: 560px) { .hero-proof { grid-template-columns: 1fr; } .price-pill { margin-left: 0; } .panel-label { width: auto; } .stage { height: 480px; } }

/* marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--bg2); padding: 14px 0; }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 38s linear infinite; font-family: var(--display); font-size: 15px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.marquee-track span::before { content: '◆'; color: var(--teal); margin-right: 14px; font-size: 10px; vertical-align: 2px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* sections */
.section { padding: clamp(56px, 8vw, 110px) clamp(16px, 4vw, 48px); max-width: 1280px; margin: 0 auto; }
.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head h2, .section h2 { font-size: clamp(28px, 3.6vw, 46px); font-weight: 700; }
.section-head p:not(.kicker) { color: var(--muted); font-size: 17px; margin: 14px 0 0; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } .marquee-track { animation: none; } html { scroll-behavior: auto; } }

/* demo cards */
.demo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.demo-card { display: flex; flex-direction: column; border-radius: 24px; overflow: hidden; text-decoration: none; background: #eaf3f1; color: var(--ink); border: 1px solid transparent; transition: transform .35s var(--ease), box-shadow .35s; transform-style: preserve-3d; will-change: transform; }
.demo-card.dark { background: var(--panel); color: var(--text); border-color: var(--line); }
.demo-card:hover { box-shadow: 0 30px 60px -30px rgba(255,154,82,.45); }
.demo-visual { height: 260px; display: grid; place-items: center; position: relative; overflow: hidden; }
.demo-visual-cust { background: linear-gradient(160deg, #d7ece9, #f3f8f7); }
.demo-visual-admin { background: linear-gradient(160deg, #15171c, #08090c); }
.demo-copy { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; }
.demo-copy h3 { font-size: 22px; }
.demo-copy p { margin: 0; color: var(--ink3); }
.demo-card.dark .demo-copy p { color: var(--muted); }
.tag { align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); background: rgba(242,106,27,.12); padding: 4px 10px; border-radius: 999px; }
.demo-card.dark .tag { color: var(--teal2); }
.link { font-weight: 800; color: var(--teal); margin-top: 6px; }
.demo-card.dark .link { color: var(--teal2); }
.mini-phone { width: 210px; background: #fff; border-radius: 26px; padding: 16px 14px; box-shadow: 0 30px 50px -20px rgba(11,17,18,.35), 0 0 0 7px #1b1e23; display: flex; flex-direction: column; gap: 8px; transform: rotate(-4deg) translateY(30px); transition: transform .5s var(--ease); font-size: 11px; }
.demo-card:hover .mini-phone { transform: rotate(0) translateY(18px); }
.mp-bar { display: flex; gap: 4px; } .mp-bar i { flex: 1; height: 4px; border-radius: 2px; background: var(--teal); } .mp-bar i.off { background: #d5dddc; }
.mp-row { display: flex; justify-content: space-between; align-items: center; border: 1px solid var(--paper-line); border-radius: 8px; padding: 6px 8px; }
.mp-row em { font-style: normal; background: var(--ink); color: #fff; border-radius: 4px; padding: 1px 5px; font-weight: 700; font-size: 10px; }
.mp-pkg { display: flex; justify-content: space-between; align-items: center; border: 1px solid var(--paper-line); border-radius: 8px; padding: 6px 8px; }
.mp-pkg span { display: flex; flex-direction: column; font-weight: 700; } .mp-pkg small { font-weight: 500; color: var(--ink3); }
.mp-pkg.on { border: 1.5px solid var(--teal); background: var(--brand-soft); } .mp-pkg.on b { color: var(--teal); }
.mp-slots { display: flex; gap: 5px; } .mp-slots i { flex: 1; font-style: normal; text-align: center; border: 1px solid var(--paper-line); border-radius: 6px; padding: 4px 0; font-weight: 700; } .mp-slots i.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.mp-btn { background: var(--teal); color: #fff; text-align: center; border-radius: 8px; padding: 8px; font-weight: 800; }
.mini-dash { width: 86%; background: #fff; color: var(--ink); border-radius: 16px; padding: 14px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.7); transform: perspective(900px) rotateX(10deg) translateY(18px); transition: transform .5s var(--ease); font-size: 11px; }
.demo-card:hover .mini-dash { transform: perspective(900px) rotateX(0) translateY(10px); }
.md-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 10px; }
.md-stats i { font-style: normal; background: var(--paper2); border-radius: 8px; padding: 6px 8px; font-family: var(--display); font-weight: 700; font-size: 18px; display: flex; flex-direction: column; } .md-stats small { font-family: var(--font); font-size: 10px; color: var(--ink3); font-weight: 600; }
.md-rows > div { position: relative; height: 30px; border-top: 1px solid var(--paper-line); padding-left: 46px; }
.md-rows span { position: absolute; left: 0; top: 7px; font-weight: 700; color: var(--ink2); }
.md-rows b { position: absolute; top: 4px; bottom: 4px; margin-left: 46px; max-width: calc(100% - 46px); background: var(--teal); color: #fff; border-radius: 5px; font-size: 10px; padding: 0 6px; display: flex; align-items: center; overflow: hidden; }
.md-rows b.lt { background: #bfe9e3; color: #0f4f49; } .md-rows b.x { background: #d5dddc; color: #566563; }
@media (max-width: 860px) { .demo-grid { grid-template-columns: 1fr; } }

/* tour */
.tour { margin-top: 24px; background: var(--panel); border: 1px solid var(--line); border-radius: 24px; padding: 24px; }
.tour-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 14px; }
.tour-head h3 { font-size: 20px; } .tour-head p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.tour-ring { --p: 0; width: 64px; height: 64px; border-radius: 50%; background: conic-gradient(var(--teal2) calc(var(--p) * 1%), var(--line) 0); display: grid; place-items: center; position: relative; transition: --p .6s; }
.tour-ring::before { content: ''; position: absolute; inset: 6px; border-radius: 50%; background: var(--panel); }
.tour-ring span { position: relative; font-family: var(--display); font-weight: 700; font-size: 15px; }
.tour-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.tour-list li a { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); text-decoration: none; transition: border-color .2s, background .2s; min-height: 56px; }
.tour-list li a:hover { border-color: var(--teal2); }
.tour-list .tick { width: 24px; height: 24px; flex-shrink: 0; border-radius: 50%; border: 2px solid var(--line2); display: grid; place-items: center; transition: all .3s; }
.tour-list li.done .tick { background: var(--teal); border-color: var(--teal); }
.tour-list li.done a { background: rgba(242,106,27,.08); }
.tour-list li.done .t-text { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(167,173,182,.5); }
.tour-list .t-text { font-size: 14px; font-weight: 600; }
.tour-list .t-where { font-size: 12px; color: var(--dim); display: block; font-weight: 500; text-decoration: none; }
@media (max-width: 860px) { .tour-list { grid-template-columns: 1fr; } }

/* how */
.how-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.how-step { padding: 24px; border-radius: 20px; background: linear-gradient(180deg, var(--panel), transparent); border: 1px solid var(--line); position: relative; }
.how-step .num { font-family: var(--display); font-weight: 800; font-size: 40px; background: linear-gradient(180deg, var(--teal2), transparent); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; margin-bottom: 18px; }
.how-step h3 { font-size: 20px; margin-bottom: 8px; } .how-step p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 960px) { .how-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .how-grid { grid-template-columns: 1fr; } }

/* features */
.feat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.feat { padding: 22px; border-radius: 20px; background: var(--panel); border: 1px solid var(--line); transition: transform .3s var(--ease), border-color .3s; position: relative; overflow: hidden; }
.feat::after { content: ''; position: absolute; inset: auto -40% -60% auto; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,154,82,.18), transparent); opacity: 0; transition: opacity .3s; }
.feat:hover { transform: translateY(-4px); border-color: var(--line2); } .feat:hover::after { opacity: 1; }
.feat .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(242,106,27,.14); color: var(--teal2); margin-bottom: 16px; }
.feat h3 { font-size: 17px; margin-bottom: 6px; } .feat p { margin: 0; color: var(--muted); font-size: 14px; }
.feat-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: -8px 0 22px; }
.feat-filter .chip { min-height: 38px; padding: 6px 14px; font-weight: 700; display: inline-flex; gap: 8px; align-items: center; }
.feat-filter .chip small { font-size: 11px; color: var(--dim); font-weight: 700; }
.feat-filter .chip[aria-checked="true"] small { color: inherit; opacity: .8; }
.feat.ws { background: linear-gradient(180deg, rgba(242,106,27,.06), var(--panel) 60%); }
.feat .who b { color: var(--teal2); font-weight: 800; }
.feat .who { position: absolute; top: 18px; right: 18px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); }
@media (max-width: 1100px) { .feat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .feat-grid { grid-template-columns: 1fr; } }

/* customise */
.customise { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.cust-copy p:not(.kicker) { color: var(--muted); font-size: 17px; }
.cust-form { display: flex; flex-direction: column; gap: 18px; margin: 28px 0; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.field input { text-transform: none; letter-spacing: 0; font-size: 16px; font-weight: 600; color: var(--text); background: var(--panel); border: 1px solid var(--line2); border-radius: 12px; padding: 12px 14px; min-height: 48px; }
.field input:focus { border-color: var(--teal2); outline: none; }
.stepper { display: inline-flex; align-items: center; gap: 4px; background: var(--panel); border: 1px solid var(--line2); border-radius: 12px; padding: 4px; align-self: flex-start; }
.stepper button { width: 40px; height: 40px; border: 0; border-radius: 9px; background: rgba(255,255,255,.05); font-size: 20px; font-weight: 700; }
.stepper button:hover { background: var(--teal); }
.stepper output { min-width: 40px; text-align: center; font-family: var(--display); font-size: 20px; color: var(--text); }
.note { font-size: 15px !important; }
.cust-preview { border-radius: 24px; padding: 18px; background: linear-gradient(160deg, #16181d, #08090c); border: 1px solid var(--line); }
@media (max-width: 960px) { .customise { grid-template-columns: 1fr; } }

/* case */
.case-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; padding: clamp(28px, 4vw, 48px); border-radius: 28px; background: linear-gradient(120deg, rgba(242,106,27,.22), rgba(71,180,235,.08)); border: 1px solid var(--line2); }
.case-inner p:not(.kicker) { color: #c3d2cf; margin: 14px 0 0; }
.case-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.case-list li { padding: 12px 14px 12px 40px; border-radius: 12px; background: rgba(0,0,0,.3); position: relative; font-weight: 600; font-size: 15px; }
.case-list li::before { content: ''; position: absolute; left: 14px; top: 50%; width: 14px; height: 8px; border-left: 2.5px solid var(--teal2); border-bottom: 2.5px solid var(--teal2); transform: translateY(-70%) rotate(-45deg); }
@media (max-width: 860px) { .case-inner { grid-template-columns: 1fr; } }

/* pricing */
.billing { display: inline-flex; padding: 4px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); margin-bottom: 22px; }
.billing button { border: 0; background: transparent; padding: 8px 16px; border-radius: 9px; font-weight: 700; color: var(--muted); min-height: 40px; }
.billing button.on { background: var(--teal); color: #fff; }
.billing em { font-style: normal; font-size: 11px; color: var(--teal2); margin-left: 4px; }
.billing button.on em { color: #ffe3cf; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.plan { padding: 26px; border-radius: 22px; background: var(--panel); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; position: relative; }
.plan.pop { background: linear-gradient(180deg, #2a170c, var(--panel)); border-color: var(--teal); }
.plan .badge { position: absolute; top: -12px; right: 20px; background: var(--teal2); color: #1a0b02; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; padding: 5px 10px; border-radius: 6px; }
.plan h3 { font-size: 22px; } .plan .sub { color: var(--muted); font-size: 14px; margin: -6px 0 0; }
.plan .price { font-family: var(--display); font-size: 40px; font-weight: 700; } .plan .price small { font-family: var(--font); font-size: 14px; color: var(--muted); font-weight: 600; }
.plan .setup { font-size: 14px; color: var(--muted); background: rgba(255,255,255,.04); padding: 8px 12px; border-radius: 10px; }
.plan ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; font-size: 14px; color: #c3d2cf; }
.plan li { padding-left: 24px; position: relative; } .plan li::before { content: '✓'; position: absolute; left: 0; color: var(--teal2); font-weight: 800; }
.plan .live { margin-top: auto; font-size: 13px; font-weight: 700; color: var(--teal2); }
.fine { color: var(--dim); font-size: 13px; margin-top: 18px; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; } }

/* contact / footer */
.contact { text-align: center; max-width: 900px; padding: clamp(40px, 6vw, 72px) clamp(20px, 4vw, 48px); margin: 0 auto 60px; border-radius: 32px; background: radial-gradient(120% 120% at 50% 0%, rgba(242,106,27,.35), transparent 60%), var(--panel); border: 1px solid var(--line2); }
.contact p { color: #c3d2cf; font-size: 17px; }
.contact-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 24px 0 18px; }
.contact-meta { font-size: 14px !important; color: var(--muted) !important; }
.footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 26px clamp(16px, 4vw, 48px); border-top: 1px solid var(--line); color: var(--dim); font-size: 14px; }
.footer p { margin: 0; }

/* ================= DEMO APP ================= */
.app { position: fixed; inset: 0; z-index: 60; background: var(--paper2); color: var(--ink); display: flex; flex-direction: column; animation: appIn .45s var(--ease); }
@keyframes appIn { from { opacity: 0; transform: scale(.985); } }
.app-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px clamp(12px, 3vw, 24px); background: var(--bg); color: var(--text); border-bottom: 1px solid var(--line); }
.app-back { text-decoration: none; font-weight: 700; font-size: 14px; color: var(--muted); padding: 8px 6px; }
.app-back:hover { color: #fff; }
.seg { display: inline-flex; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 3px; }
.seg a { text-decoration: none; padding: 7px 16px; border-radius: 9px; font-weight: 700; font-size: 14px; color: var(--muted); }
.seg a[aria-selected="true"] { background: var(--teal); color: #fff; }
.app-bar-right { display: flex; align-items: center; gap: 10px; }
.demo-badge { font-size: 12px; font-weight: 700; color: var(--amber); border: 1px solid rgba(231,163,62,.4); background: rgba(231,163,62,.08); padding: 4px 10px; border-radius: 999px; }
@media (max-width: 560px) { .app-back span, .demo-badge { display: none; } }
.app-body { flex: 1; overflow: auto; display: flex; flex-direction: column; }
.view { flex: 1 0 auto; display: flex; flex-direction: column; }
.view > * { width: 100%; }

/* customer app (light, brandable) */
.cx { --b: var(--brand); max-width: 1180px; margin: 0 auto; padding: clamp(16px, 3vw, 32px); }
.cx-head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; flex-wrap: wrap; }
.cx-logo { width: 46px; height: 46px; border-radius: 14px; background: var(--b); color: #fff; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 18px; flex-shrink: 0; }
.cx-head h1 { font-size: 22px; } .cx-head p { margin: 0; font-size: 14px; color: var(--ink3); }
.cx-head .spacer { flex: 1; }
.cx-link { border: 1px solid var(--paper-line); background: #fff; border-radius: 10px; padding: 8px 12px; font-weight: 700; font-size: 14px; min-height: 40px; }
.cx-link:hover { border-color: var(--b); }
.cx-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 22px; align-items: start; }
@media (max-width: 980px) { .cx-grid { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--paper-line); border-radius: 20px; padding: clamp(16px, 2.4vw, 26px); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 22px; }
.step { display: flex; align-items: center; gap: 10px; padding: 0 0 12px; border-bottom: 3px solid var(--paper-line); font-weight: 700; font-size: 14px; color: var(--ink3); background: none; border-left: 0; border-right: 0; border-top: 0; text-align: left; transition: border-color .3s, color .3s; }
.step .n { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--paper2); font-size: 13px; flex-shrink: 0; }
.step.on { color: var(--ink); border-color: var(--b); } .step.on .n { background: var(--b); color: #fff; }
.step.done { color: var(--ink2); border-color: color-mix(in srgb, var(--b) 45%, white); } .step.done .n { background: color-mix(in srgb, var(--b) 18%, white); color: var(--b); }
.step:disabled { cursor: default; }
@media (max-width: 560px) { .step .lbl { display: none; } }
.h2 { font-family: var(--display); font-size: 20px; font-weight: 700; margin: 0 0 4px; }
.sub { color: var(--ink3); font-size: 14px; margin: 0 0 18px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.f { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; color: var(--ink2); }
.f.full { grid-column: 1 / -1; }
.f input, .f select, .f textarea { font-weight: 500; font-size: 15px; border: 1.5px solid var(--paper-line); background: var(--paper2); border-radius: 12px; padding: 11px 12px; min-height: 46px; color: var(--ink); transition: border-color .2s, background .2s; }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: var(--b); background: #fff; }
.f .err { color: var(--red); font-weight: 600; font-size: 12px; min-height: 0; }
.f.bad input, .f.bad select { border-color: var(--red); }
.size-callout { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: color-mix(in srgb, var(--b) 10%, white); border: 1px dashed color-mix(in srgb, var(--b) 45%, white); margin: 4px 0 18px; font-size: 14px; animation: pop .4s var(--ease); }
.size-callout b.sz { font-family: var(--display); font-size: 22px; color: var(--b); width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: #fff; }
@keyframes pop { from { transform: scale(.96); opacity: 0; } }
.actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--paper-line); flex-wrap: wrap; }
.b { display: inline-flex; align-items: center; gap: 8px; border-radius: 12px; padding: 11px 18px; font-weight: 800; font-size: 15px; border: 1.5px solid transparent; min-height: 46px; transition: transform .15s, filter .2s, background .2s; }
.b:active { transform: scale(.98); }
.b-pri { background: var(--b); color: #fff; } .b-pri:hover { filter: brightness(1.08); }
.b-pri:disabled { opacity: .45; cursor: not-allowed; }
.b-sec { background: #fff; border-color: var(--paper-line); color: var(--ink); } .b-sec:hover { border-color: var(--ink3); }
.b-danger { background: #fff; border-color: #f2c4c9; color: #b4232f; }
.b-text { background: none; border: 0; color: var(--ink3); font-weight: 700; padding: 8px; }
.cats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
@media (max-width: 760px) { .cats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cat { border: 1.5px solid var(--paper-line); background: #fff; border-radius: 14px; padding: 12px 8px; display: flex; flex-direction: column; align-items: center; gap: 6px; font-weight: 700; font-size: 13px; transition: all .2s; min-height: 80px; position: relative; }
.cat svg { color: var(--ink3); transition: color .2s, transform .3s var(--ease); }
.cat:hover svg { transform: translateY(-2px) scale(1.08); }
.cat.on { border-color: var(--b); background: color-mix(in srgb, var(--b) 8%, white); } .cat.on svg { color: var(--b); }
.cat .cnt { position: absolute; top: 6px; right: 8px; background: var(--b); color: #fff; font-size: 11px; border-radius: 999px; min-width: 18px; height: 18px; display: grid; place-items: center; }
.pkgs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 640px) { .pkgs { grid-template-columns: 1fr; } }
.pkg { text-align: left; border: 1.5px solid var(--paper-line); background: #fff; border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 8px; transition: border-color .2s, box-shadow .2s, transform .2s; position: relative; }
.pkg:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -18px rgba(11,17,18,.35); }
.pkg.on { border-color: var(--b); box-shadow: 0 0 0 3px color-mix(in srgb, var(--b) 18%, transparent); }
.pkg .top { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.pkg h4 { font-family: var(--font); font-size: 16px; font-weight: 800; }
.pkg p { margin: 0; color: var(--ink3); font-size: 13px; }
.pkg .meta { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 6px; }
.pkg .pr { font-family: var(--display); font-weight: 700; font-size: 20px; color: var(--ink); }
.pkg.on .pr { color: var(--b); }
.pkg .du { font-size: 13px; color: var(--ink3); font-weight: 600; }
.pkg .ptag { font-size: 11px; font-weight: 800; background: var(--ink); color: #fff; border-radius: 6px; padding: 3px 7px; white-space: nowrap; }
.pkg .chk { width: 24px; height: 24px; border-radius: 8px; border: 2px solid var(--paper-line); display: grid; place-items: center; flex-shrink: 0; transition: all .2s; }
.pkg.on .chk { background: var(--b); border-color: var(--b); }
.cal { user-select: none; }
.cal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.cal-head b { font-family: var(--display); font-size: 18px; }
.cal-nav { display: flex; gap: 6px; } .cal-nav button { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--paper-line); background: #fff; font-size: 18px; }
.cal-nav button:disabled { opacity: .35; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cal-dow { text-align: center; font-size: 12px; font-weight: 700; color: var(--ink3); padding: 4px 0; }
.day { aspect-ratio: 1 / .9; border: 1.5px solid var(--paper-line); background: #fff; border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-weight: 800; font-size: 15px; position: relative; transition: all .15s; min-height: 44px; }
.day:hover:not(:disabled) { border-color: var(--b); }
.day .load { width: 60%; height: 4px; border-radius: 2px; background: var(--paper-line); overflow: hidden; }
.day .load i { display: block; height: 100%; background: var(--teal); }
.day .load i.hi { background: var(--amber); } .day .load i.full { background: var(--red); }
.day:disabled { color: #b5c1bf; background: var(--paper2); cursor: not-allowed; }
.day.on { background: var(--b); border-color: var(--b); color: #fff; } .day.on .load { background: rgba(255,255,255,.3); } .day.on .load i { background: #fff; }
.day.today::after { content: ''; position: absolute; top: 6px; right: 6px; width: 6px; height: 6px; border-radius: 50%; background: var(--b); }
.legend { display: flex; gap: 14px; font-size: 12px; color: var(--ink3); margin-top: 10px; flex-wrap: wrap; }
.legend i { display: inline-block; width: 18px; height: 4px; border-radius: 2px; margin-right: 6px; vertical-align: middle; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; margin-top: 8px; }
.slot { border: 1.5px solid var(--paper-line); background: #fff; border-radius: 10px; padding: 9px 4px; font-weight: 800; font-size: 14px; min-height: 44px; transition: all .15s; }
.slot small { display: block; font-size: 11px; font-weight: 600; color: var(--ink3); }
.slot:hover:not(:disabled) { border-color: var(--b); }
.slot:disabled { color: #b5c1bf; text-decoration: line-through; background: var(--paper2); cursor: not-allowed; }
.slot.on { background: var(--ink); border-color: var(--ink); color: #fff; } .slot.on small { color: #cfdad8; }
.empty { padding: 24px; text-align: center; color: var(--ink3); border: 1.5px dashed var(--paper-line); border-radius: 14px; font-size: 14px; }

.summary { position: sticky; top: 16px; display: flex; flex-direction: column; gap: 0; padding: 0; overflow: hidden; }
.sum-car { height: 190px; background: radial-gradient(120% 90% at 50% 10%, #1f242c, #08090c 70%); position: relative; }
.sum-car canvas { width: 100%; height: 100%; }
.sum-car .sz { position: absolute; top: 12px; left: 12px; background: rgba(0,0,0,.55); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.sum-car .paints { position: absolute; right: 10px; top: 10px; display: flex; gap: 5px; }
.sum-car .paints button { width: 20px; height: 20px; border-radius: 50%; border: 2px solid rgba(255,255,255,.3); padding: 0; }
.sum-car .paints button[aria-checked="true"] { border-color: #fff; }
.sum-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 12px; }
.sum-title { font-family: var(--display); font-size: 17px; font-weight: 700; }
.sum-row { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; }
.sum-row span { color: var(--ink3); } .sum-row b { text-align: right; }
.sum-lines { display: flex; flex-direction: column; gap: 6px; border-top: 1px dashed var(--paper-line); padding-top: 12px; }
.sum-line { display: flex; justify-content: space-between; font-size: 14px; animation: pop .3s var(--ease); }
.sum-line button { border: 0; background: none; color: var(--ink3); padding: 0 0 0 6px; font-size: 16px; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--paper-line); padding-top: 12px; }
.sum-total b { font-family: var(--display); font-size: 26px; color: var(--b); }
.sum-hint { font-size: 12px; color: var(--ink3); }

.done-wrap { max-width: 720px; margin: 0 auto; text-align: center; padding: 20px 0; }
.done-check { width: 84px; height: 84px; border-radius: 50%; background: var(--b); display: grid; place-items: center; margin: 0 auto 18px; animation: popin .6s var(--ease); box-shadow: 0 0 0 12px color-mix(in srgb, var(--b) 16%, transparent); }
@keyframes popin { 0% { transform: scale(0); } 70% { transform: scale(1.1); } }
.done-check path { stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .5s .35s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.done-wrap h2 { font-size: clamp(26px, 3.4vw, 36px); }
.ref { display: inline-block; font-family: var(--display); font-weight: 700; background: var(--paper2); border-radius: 10px; padding: 6px 14px; margin: 12px 0; letter-spacing: .06em; }
.done-card { text-align: left; margin: 20px 0; }
.done-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 90; overflow: hidden; }
.confetti i { position: absolute; top: -12px; width: 8px; height: 14px; border-radius: 2px; animation: fall linear forwards; }
@keyframes fall { to { transform: translate3d(var(--dx), 110vh, 0) rotate(var(--rot)); } }

/* inbox */
.inbox { display: grid; grid-template-columns: 280px minmax(0, 1fr); min-height: 420px; border: 1px solid var(--paper-line); border-radius: 18px; overflow: hidden; background: #fff; text-align: left; }
@media (max-width: 720px) { .inbox { grid-template-columns: 1fr; } }
.inbox-list { border-right: 1px solid var(--paper-line); background: var(--paper2); }
.inbox-list button { width: 100%; text-align: left; border: 0; border-bottom: 1px solid var(--paper-line); background: none; padding: 14px; display: flex; flex-direction: column; gap: 2px; }
.inbox-list button.on { background: #fff; box-shadow: inset 3px 0 0 var(--b); }
.inbox-list .from { font-weight: 800; font-size: 14px; display: flex; justify-content: space-between; }
.inbox-list .from em { font-style: normal; font-weight: 600; font-size: 11px; color: var(--ink3); }
.inbox-list .subj { font-size: 13px; font-weight: 600; } .inbox-list .when { font-size: 12px; color: var(--ink3); }
.mail { padding: 0; }
.mail-head { padding: 16px 20px; border-bottom: 1px solid var(--paper-line); font-size: 13px; color: var(--ink3); }
.mail-head b { color: var(--ink); font-size: 16px; display: block; margin-bottom: 4px; }
.mail-body { padding: 20px; background: var(--paper2); }
.mail-sheet { max-width: 480px; margin: 0 auto; background: #fff; border-radius: 14px; overflow: hidden; border: 1px solid var(--paper-line); }
.mail-top { background: var(--b); color: #fff; padding: 18px 20px; display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 17px; }
.mail-top .cx-logo { width: 34px; height: 34px; font-size: 14px; background: rgba(255,255,255,.2); border-radius: 10px; }
.mail-content { padding: 20px; font-size: 14px; display: flex; flex-direction: column; gap: 10px; }
.mail-content .kv { display: grid; grid-template-columns: 90px 1fr; gap: 6px; background: var(--paper2); border-radius: 10px; padding: 12px; }
.mail-content .kv span { color: var(--ink3); }
.mail-btns { display: flex; gap: 8px; }
.mail-btns span { flex: 1; text-align: center; border-radius: 9px; padding: 9px; font-weight: 800; font-size: 13px; background: var(--b); color: #fff; }
.mail-btns span.alt { background: var(--paper2); color: var(--ink); }

/* modal & toast */
.modal { position: fixed; inset: 0; z-index: 80; background: rgba(8,9,12,.55); backdrop-filter: blur(4px); display: grid; place-items: center; padding: 16px; animation: fade .2s; }
@keyframes fade { from { opacity: 0; } }
.modal-card { background: #fff; color: var(--ink); width: min(560px, 100%); max-height: 90vh; overflow: auto; border-radius: 22px; padding: 24px; animation: up .3s var(--ease); }
.modal-card.wide { width: min(980px, 100%); }
@keyframes up { from { transform: translateY(20px); opacity: 0; } }
.modal-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; }
.modal-head h3 { font-size: 20px; }
.x { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--paper-line); background: #fff; font-size: 20px; }
.toasts { position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 95; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.toast { background: var(--ink); color: #fff; padding: 11px 16px; border-radius: 12px; font-size: 14px; font-weight: 600; box-shadow: 0 12px 30px -10px rgba(0,0,0,.5); display: flex; align-items: center; gap: 10px; animation: toastIn .35s var(--ease); max-width: 90vw; }
.toast.out { animation: toastOut .3s forwards; }
.toast .ok { width: 20px; height: 20px; border-radius: 50%; background: var(--teal); display: grid; place-items: center; flex-shrink: 0; }
@keyframes toastIn { from { transform: translateY(16px); opacity: 0; } }
@keyframes toastOut { to { transform: translateY(16px); opacity: 0; } }

/* ================= ADMIN ================= */
.ad { flex: 1 0 auto; display: grid; grid-template-columns: 240px minmax(0, 1fr); background: linear-gradient(90deg, #0b1112 240px, transparent 240px); }
.ad-side { background: #0b1112; color: #cfdad8; padding: 18px 12px; display: flex; flex-direction: column; gap: 4px; position: sticky; top: 0; align-self: start; height: calc(100vh - 57px); overflow-y: auto; }
.ad-brand { display: flex; align-items: center; gap: 10px; padding: 6px 8px 18px; }
.ad-brand .cx-logo { width: 36px; height: 36px; font-size: 14px; border-radius: 10px; }
.ad-brand b { font-size: 14px; color: #fff; display: block; } .ad-brand small { font-size: 12px; color: #7f9491; }
.ad-nav { border: 0; background: none; text-align: left; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; font-weight: 700; font-size: 14px; color: #a9bab8; min-height: 42px; position: relative; }
.ad-nav:hover { background: rgba(255,255,255,.05); color: #fff; }
.ad-nav.on { background: var(--brand); color: #fff; }
.ad-nav .pip { margin-left: auto; background: var(--amber); color: #111; font-size: 11px; border-radius: 999px; min-width: 20px; height: 20px; display: grid; place-items: center; padding: 0 6px; }
.ad-main { padding: clamp(16px, 2.6vw, 30px); min-width: 0; }
.ad-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.ad-top h2 { font-size: 26px; } .ad-top p { margin: 4px 0 0; color: var(--ink3); font-size: 14px; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.stat { background: #fff; border: 1px solid var(--paper-line); border-radius: 18px; padding: 16px 18px; position: relative; overflow: hidden; }
.stat span { font-size: 13px; color: var(--ink3); font-weight: 700; }
.stat b { display: block; font-family: var(--display); font-size: 32px; margin-top: 4px; }
.stat i { position: absolute; right: 14px; top: 14px; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; }
.two { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 14px; margin-bottom: 14px; }
@media (max-width: 1100px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .two { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .ad { grid-template-columns: 1fr; background: none; } .ad-side { flex-direction: row; overflow-x: auto; padding: 8px; gap: 4px; height: auto; z-index: 5; } .ad-brand { display: none; } .ad-nav { white-space: nowrap; flex-shrink: 0; } }
.chart { display: flex; align-items: flex-end; gap: 6px; height: 180px; padding-top: 10px; }
.bar { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; justify-content: flex-end; }
.bar i { width: 100%; max-width: 30px; border-radius: 7px 7px 3px 3px; background: color-mix(in srgb, var(--brand) 30%, white); transition: height .8s var(--ease); position: relative; }
.bar.today i { background: var(--brand); }
.bar i:hover::after { content: attr(data-v); position: absolute; top: -24px; left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; font-size: 11px; font-weight: 700; padding: 2px 6px; border-radius: 6px; white-space: nowrap; }
.bar small { font-size: 11px; color: var(--ink3); font-weight: 700; }
.list { display: flex; flex-direction: column; }
.li { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--paper-line); font-size: 14px; }
.li:last-child { border-bottom: 0; }
.li .t { font-family: var(--display); font-weight: 700; width: 52px; flex-shrink: 0; }
.li .who { flex: 1; min-width: 0; } .li .who b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .li .who small { color: var(--ink3); }
.pill { font-size: 12px; font-weight: 800; padding: 4px 9px; border-radius: 999px; white-space: nowrap; text-transform: capitalize; }
.pill.confirmed { background: #e2f5f2; color: #17706a; } .pill.pending { background: #fdf1dd; color: #94600f; } .pill.completed { background: #e6eefc; color: #2d58a8; } .pill.cancelled { background: #fbe5e7; color: #ad2733; }
.pill.new { background: var(--ink); color: #fff; }
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; align-items: center; }
.toolbar input, .toolbar select { border: 1.5px solid var(--paper-line); background: #fff; border-radius: 10px; padding: 9px 12px; min-height: 42px; font-size: 14px; }
.toolbar input { flex: 1; min-width: 200px; }
.tbl-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--paper-line); border-radius: 18px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--ink3); padding: 12px 14px; border-bottom: 1px solid var(--paper-line); background: var(--paper2); white-space: nowrap; }
td { padding: 12px 14px; border-bottom: 1px solid var(--paper-line); vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
tr.hl td { background: color-mix(in srgb, var(--brand) 9%, white); animation: flash 2s; }
@keyframes flash { 0% { background: color-mix(in srgb, var(--brand) 35%, white); } }
td .sel { border: 1px solid var(--paper-line); border-radius: 8px; padding: 6px 8px; font-weight: 700; font-size: 13px; background: #fff; min-height: 36px; }
.icon-btn { width: 36px; height: 36px; border-radius: 9px; border: 1px solid var(--paper-line); background: #fff; display: inline-grid; place-items: center; color: var(--ink3); }
.icon-btn:hover { color: var(--red); border-color: #f2c4c9; }
.planner { background: #fff; border: 1px solid var(--paper-line); border-radius: 18px; padding: 16px; overflow-x: auto; }
.pl-inner { min-width: 760px; }
.pl-hours { display: grid; margin-left: 80px; font-size: 12px; color: var(--ink3); font-weight: 700; margin-bottom: 6px; }
.pl-row { display: flex; align-items: stretch; height: 64px; border-top: 1px solid var(--paper-line); }
.pl-lab { width: 80px; flex-shrink: 0; font-weight: 800; font-size: 14px; display: flex; align-items: center; }
.pl-track { flex: 1; position: relative; background-image: linear-gradient(90deg, var(--paper-line) 1px, transparent 1px); cursor: copy; }
.pl-blk { position: absolute; top: 7px; bottom: 7px; border-radius: 10px; padding: 6px 9px; font-size: 12px; font-weight: 700; overflow: hidden; white-space: nowrap; cursor: pointer; border: 0; text-align: left; display: flex; flex-direction: column; justify-content: center; transition: transform .15s, box-shadow .15s; }
.pl-blk:hover { transform: translateY(-1px); box-shadow: 0 6px 16px -8px rgba(0,0,0,.4); z-index: 2; }
.pl-blk span, .pl-blk small { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.pl-blk small { font-weight: 600; opacity: .85; }
.pl-blk.confirmed, .pl-blk.completed { background: var(--brand); color: #fff; }
.pl-blk.pending { background: #f7d9a6; color: #5b3b06; }
.pl-blk.block { background: repeating-linear-gradient(45deg, #dfe6e5, #dfe6e5 6px, #eef2f1 6px, #eef2f1 12px); color: var(--ink2); }
.pl-blk.ghost { background: color-mix(in srgb, var(--brand) 20%, white); color: var(--ink); border: 2px dashed var(--brand); pointer-events: none; }
.pl-now { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--red); z-index: 3; pointer-events: none; }
.pl-tip { font-size: 13px; color: var(--ink3); margin-top: 10px; }
.svc-table input { width: 84px; border: 1.5px solid var(--paper-line); border-radius: 8px; padding: 7px 8px; font-weight: 700; font-size: 14px; min-height: 38px; background: var(--paper2); }
.svc-table input:focus { outline: none; border-color: var(--brand); background: #fff; }
.svc-table input.flash { animation: inflash 1s; }
@keyframes inflash { 0% { background: color-mix(in srgb, var(--brand) 30%, white); } }
.toggle { width: 46px; height: 26px; border-radius: 999px; background: #cfd9d7; border: 0; position: relative; transition: background .2s; padding: 0; flex-shrink: 0; }
.toggle::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .2s var(--ease); }
.toggle[aria-checked="true"] { background: var(--brand); } .toggle[aria-checked="true"]::after { transform: translateX(20px); }
.mcal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.mday { min-height: 92px; background: #fff; border: 1px solid var(--paper-line); border-radius: 12px; padding: 8px; text-align: left; display: flex; flex-direction: column; gap: 4px; font-size: 12px; transition: border-color .15s; }
.mday:hover { border-color: var(--brand); }
.mday .d { font-weight: 800; font-size: 14px; }
.mday.off { opacity: .4; } .mday.today { border: 2px solid var(--brand); } .mday.closed { background: var(--paper2); }
.mday .ev { background: color-mix(in srgb, var(--brand) 14%, white); border-radius: 5px; padding: 2px 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 700; color: var(--ink2); }
.mday .more { color: var(--ink3); font-weight: 700; }
.brand-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
@media (max-width: 980px) { .brand-grid { grid-template-columns: 1fr; } }
.swatch.light { border-color: var(--paper-line); }
.swatch.light[aria-checked="true"] { border-color: var(--ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ink) 20%, transparent); }
.login { max-width: 420px; margin: 8vh auto; background: #fff; border: 1px solid var(--paper-line); border-radius: 24px; padding: 30px; text-align: center; }
.login .cx-logo { margin: 0 auto 14px; width: 56px; height: 56px; font-size: 22px; border-radius: 16px; }
.login form { display: flex; flex-direction: column; gap: 12px; text-align: left; margin-top: 20px; }
.hint-box { background: #fff8e8; border: 1px solid #f3dca8; color: #6b4a0b; border-radius: 12px; padding: 10px 12px; font-size: 13px; text-align: left; }

/* customise preview (landing) */
.pv { background: #fff; color: var(--ink); border-radius: 18px; overflow: hidden; --b: var(--brand); transition: box-shadow .3s; }
.pv-top { background: var(--b); color: #fff; padding: 16px 18px; display: flex; align-items: center; gap: 12px; transition: background .4s; }
.pv-top .cx-logo { background: rgba(255,255,255,.2); width: 40px; height: 40px; font-size: 16px; }
.pv-top b { font-family: var(--display); font-size: 18px; display: block; } .pv-top small { opacity: .85; font-size: 13px; }
.pv-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 10px; }
.pv-steps { display: flex; gap: 6px; } .pv-steps i { flex: 1; height: 5px; border-radius: 3px; background: var(--paper-line); } .pv-steps i.on { background: var(--b); transition: background .4s; }
.pv-pkg { display: flex; justify-content: space-between; align-items: center; border: 1.5px solid var(--paper-line); border-radius: 12px; padding: 10px 12px; font-size: 14px; }
.pv-pkg.on { border-color: var(--b); background: color-mix(in srgb, var(--b) 8%, white); } .pv-pkg.on b { color: var(--b); }
.pv-pkg span small { display: block; color: var(--ink3); font-size: 12px; }
.pv-bays { display: flex; flex-direction: column; gap: 5px; }
.pv-bay { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; color: var(--ink3); animation: pop .35s var(--ease); }
.pv-bay div { flex: 1; height: 16px; background: var(--paper2); border-radius: 5px; position: relative; overflow: hidden; }
.pv-bay div i { position: absolute; top: 0; bottom: 0; border-radius: 5px; background: var(--b); opacity: .85; }
.pv-btn { background: var(--b); color: #fff; border-radius: 12px; text-align: center; padding: 12px; font-weight: 800; transition: background .4s; }
