
body{margin:0}
a{color:#e76f34}a:hover{color:#c4501a}
@keyframes rise{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@keyframes fold{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}
.page{display:grid;grid-template-columns:clamp(400px,42vw,600px) minmax(0,1fr);font-family:Poppins,system-ui,sans-serif;overflow:hidden;border-radius:20px;background:#fff}
.side{background:radial-gradient(80% 60% at 30% 30%,#0f1e37 0%,#0a1628 50%,#060e1c 100%);color:#fff;padding:40px 44px;display:flex;flex-direction:column;gap:26px;position:relative;overflow-x:hidden;overflow-y:auto;scrollbar-width:none}
.side::-webkit-scrollbar{display:none}
.cv{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;z-index:0}
.side > *:not(.cv){position:relative;z-index:1}
.pill{align-self:flex-start;display:inline-flex;align-items:center;gap:8px;height:30px;padding:0 14px;border-radius:999px;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.04);font-family:"JetBrains Mono",ui-monospace,monospace;font-size:11px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:rgba(255,255,255,.78)}
.dot{width:6px;height:6px;border-radius:999px;background:#ee6723;box-shadow:0 0 0 4px rgba(238,103,35,.2)}
.sh{margin:0;font-size:32px;line-height:1.12;font-weight:700;letter-spacing:-.015em;color:#fff}
.sp{margin:0;font-size:15px;line-height:1.65;font-weight:300;color:rgba(255,255,255,.74)}
.glass{position:relative;border-radius:20px;border:1px solid rgba(255,255,255,.12);background:linear-gradient(180deg,rgba(255,255,255,.07),rgba(255,255,255,.03));padding:20px;display:flex;flex-direction:column;gap:12px;box-shadow:0 24px 60px rgba(0,0,0,.35)}
.lg{width:44px;height:44px;border-radius:12px;background:linear-gradient(135deg,#ee6723,#f09050);display:flex;align-items:center;justify-content:center;font-weight:700;font-size:18px;color:#fff;flex-shrink:0}
.url{font-family:"JetBrains Mono",ui-monospace,monospace;font-size:12px;color:rgba(255,255,255,.62);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.badge{margin-left:auto;flex-shrink:0;height:24px;padding:0 10px;border-radius:999px;display:inline-flex;align-items:center;font-family:"JetBrains Mono",ui-monospace,monospace;font-size:10px;font-weight:600;letter-spacing:.1em;text-transform:uppercase}
.b-draft{background:rgba(255,255,255,.08);color:rgba(255,255,255,.7)}
.b-pend{background:rgba(238,103,35,.18);color:#f6a77c}
.prow{display:flex;justify-content:space-between;gap:16px;padding-top:12px;border-top:1px solid rgba(255,255,255,.08);font-size:13px;animation:fold .35s ease both}
.pk{color:rgba(255,255,255,.55);font-family:"JetBrains Mono",ui-monospace,monospace;font-size:11px;letter-spacing:.1em;text-transform:uppercase;padding-top:2px}
.pv{color:#fff;text-align:right;font-weight:500}
.pempty{font-size:13px;color:rgba(255,255,255,.5);padding-top:12px;border-top:1px dashed rgba(255,255,255,.14)}
.ag{display:flex;gap:12px;align-items:flex-start;font-size:14px;color:rgba(255,255,255,.88);animation:fold .35s ease both}
.agn{width:22px;height:22px;flex-shrink:0;border-radius:999px;border:1.5px solid rgba(255,255,255,.3);font-family:"JetBrains Mono",ui-monospace,monospace;font-size:11px;display:flex;align-items:center;justify-content:center;color:rgba(255,255,255,.7)}
.win{border-radius:18px;border:1px solid rgba(255,255,255,.14);background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.03));box-shadow:0 30px 70px rgba(0,0,0,.45),inset 0 1px 0 rgba(255,255,255,.08);overflow:hidden}
.chrome{height:38px;display:flex;align-items:center;gap:12px;padding:0 14px;background:rgba(6,14,28,.55);border-bottom:1px solid rgba(255,255,255,.08)}
.dots{display:flex;gap:6px}.dots i{width:9px;height:9px;border-radius:999px;background:rgba(255,255,255,.18)}
.addr{flex-grow:1;height:24px;border-radius:999px;background:rgba(255,255,255,.07);display:flex;align-items:center;gap:7px;padding:0 10px;font-family:"JetBrains Mono",ui-monospace,monospace;font-size:11px;color:rgba(255,255,255,.8);min-width:0;overflow:hidden;white-space:nowrap}
.addr b{color:#f6a77c;font-weight:600}
.phead{display:flex;align-items:center;gap:14px;padding:16px 18px;border-bottom:1px solid rgba(255,255,255,.08)}
.ring{width:46px;height:46px;border-radius:999px;display:flex;align-items:center;justify-content:center;flex-shrink:0;margin-left:auto;transition:background .4s}
.ring span{width:36px;height:36px;border-radius:999px;background:#0a1628;display:flex;align-items:center;justify-content:center;font-family:"JetBrains Mono",ui-monospace,monospace;font-size:10px;font-weight:600;color:#fff}
.plist{display:flex;flex-direction:column;padding:6px 18px 8px}
.pi{display:grid;grid-template-columns:22px 92px minmax(0,1fr);gap:10px;align-items:center;min-height:38px;font-size:13px;border-bottom:1px solid rgba(255,255,255,.06)}
.pi:last-child{border-bottom:0}
.pdot{width:20px;height:20px;border-radius:999px;display:flex;align-items:center;justify-content:center;border:1.5px dashed rgba(255,255,255,.25);color:#fff}
.pi.done .pdot{border:0;background:linear-gradient(135deg,#ee6723,#f09050);box-shadow:0 0 0 4px rgba(238,103,35,.15)}
.pi .pk{font-size:10.5px}
.pi .pv{text-align:left;color:rgba(255,255,255,.35);font-weight:400;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pi.done .pv{color:#fff;font-weight:500;animation:fold .35s ease both}
.pfoot{display:flex;align-items:center;gap:8px;padding:12px 18px;background:rgba(6,14,28,.4);border-top:1px solid rgba(255,255,255,.06);font-size:12px;color:rgba(255,255,255,.62)}
.inv{border-radius:18px;border:1px solid rgba(255,255,255,.14);background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.03));box-shadow:0 30px 70px rgba(0,0,0,.45);overflow:hidden}
.ihead{display:flex;gap:14px;align-items:center;padding:18px;border-bottom:1px solid rgba(255,255,255,.08)}
.ical{width:46px;height:50px;border-radius:12px;overflow:hidden;background:#fff;flex-shrink:0;display:flex;flex-direction:column;text-align:center}
.ical b{background:linear-gradient(135deg,#d9561a,#ee6723);color:#fff;font-family:"JetBrains Mono",ui-monospace,monospace;font-size:9px;letter-spacing:.12em;padding:3px 0}
.ical span{color:#0a1628;font-weight:700;font-size:20px;line-height:30px}
.ai{display:grid;grid-template-columns:44px minmax(0,1fr);gap:12px;align-items:center;min-height:40px;padding:0 18px;border-bottom:1px solid rgba(255,255,255,.06);font-size:13.5px;color:#fff;animation:fold .35s ease both}
.ai .tm{font-family:"JetBrains Mono",ui-monospace,monospace;font-size:11px;color:#f6a77c}
.ai.wait{color:rgba(255,255,255,.35);font-style:italic;animation:none}
@keyframes spin{to{transform:rotate(360deg)}}
.pbar{display:flex;align-items:center;gap:14px;padding:14px 18px;background:#ffffff;animation:rise .5s ease both}
.pbar .ring span{background:#ffffff;color:#0a1628}
.pcap{display:flex;align-items:center;gap:8px;padding:10px 18px;font-size:11.5px;color:rgba(255,255,255,.65);border-bottom:1px solid rgba(255,255,255,.08);animation:fold .4s ease both}
.swatch{width:12px;height:12px;border-radius:4px;flex-shrink:0;box-shadow:0 0 0 2px rgba(255,255,255,.15)}
.lgload{background:rgba(255,255,255,.08)}
.certs{margin-top:auto;font-family:"JetBrains Mono",ui-monospace,monospace;font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:rgba(255,255,255,.48)}
.main{position:relative;padding:28px;display:flex;background:linear-gradient(160deg,#fcf8f5 0%,#f5f7fb 60%,#f2f5fa 100%);overflow:hidden}
.sheet{position:relative;z-index:1;flex-grow:1;display:flex;flex-direction:column;gap:22px;padding:36px 48px 32px;border-radius:24px;background:rgba(255,255,255,.8);backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px);border:1px solid rgba(255,255,255,.95);box-shadow:0 30px 80px rgba(10,22,40,.10),0 2px 6px rgba(10,22,40,.04);overflow:auto}
.qtop{display:flex;gap:8px;align-items:center}
.qe{display:inline-flex;align-items:center;gap:8px;height:28px;padding:0 12px;border-radius:999px;background:#0a1628;color:#fff;font-family:"JetBrains Mono",ui-monospace,monospace;font-size:10.5px;font-weight:600;letter-spacing:.14em;text-transform:uppercase}
.qe::before{content:"";width:6px;height:6px;border-radius:999px;background:#ee6723;box-shadow:0 0 0 3px rgba(238,103,35,.25)}
.optag{display:inline-flex;align-items:center;height:28px;padding:0 12px;border-radius:999px;background:#fdeee5;color:#9a3a10;font-size:12px;font-weight:600}
.tick{width:22px;height:22px;border-radius:999px;background:linear-gradient(135deg,#ee6723,#f09050);color:#fff;display:flex;align-items:center;justify-content:center}
.close{position:absolute;top:40px;right:40px;z-index:2;width:44px;height:44px;border:0;border-radius:12px;background:none;color:#4a5568;display:flex;align-items:center;justify-content:center}
.bar{height:4px;border-radius:999px;background:#f0f2f5;overflow:hidden;margin-right:40px}
.fill{height:4px;border-radius:999px;background:linear-gradient(90deg,#ee6723,#f09050);transition:width .45s ease}
.meta{display:flex;justify-content:space-between;margin-right:40px;font-family:"JetBrains Mono",ui-monospace,monospace;font-size:11px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:#6c757d}
.answers{display:flex;flex-direction:column}
.arow{display:grid;grid-template-columns:22px 130px minmax(0,1fr) auto;gap:16px;align-items:center;min-height:44px;border-bottom:1px solid #f0f2f5;animation:fold .35s ease both}
.ak{font-family:"JetBrains Mono",ui-monospace,monospace;font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:#6c757d}
.av{font-size:14px;color:#0a1628;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.edit{height:36px;padding:0 12px;border:0;border-radius:10px;background:none;font:inherit;font-size:13px;font-weight:600;color:#c4501a}
.edit:hover{background:#f3f5f9}
.q{display:flex;flex-direction:column;gap:20px;animation:rise .4s cubic-bezier(.2,.7,.2,1) both}
.h{margin:0;font-size:30px;line-height:1.2;font-weight:700;letter-spacing:-.015em;color:#0a1628}
.lede{margin:-8px 0 0;font-size:15px;line-height:1.65;font-weight:300;color:#4a5568}
.field{display:flex;flex-direction:column;gap:8px}
.lbl{font-size:13px;font-weight:600;color:#222d39}
.opt{font-weight:400;color:#6c757d}
.input{height:52px;box-sizing:border-box;border:1px solid #dfe4ec;border-radius:12px;padding:0 16px;font:inherit;font-size:16px;color:#0a1628;background:#fff;width:100%;transition:border-color .15s,box-shadow .15s}
.input:focus{outline:none;border-color:#ee6723;box-shadow:0 0 0 4px rgba(238,103,35,.14)}
.ro{background:#f8f9fb;color:#4a5568}
.err{font-size:13px;color:#b03024}
.hint{font-size:13px;line-height:1.5;color:#6c757d}
.two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.chips{display:flex;flex-wrap:wrap;gap:10px}
.chip{min-height:44px;display:inline-flex;align-items:center;gap:8px;padding:0 18px;border:1px solid #dfe4ec;border-radius:999px;font:inherit;font-size:14px;font-weight:500;color:#263b5e;background:#fff;transition:all .15s}
.chip:hover{border-color:#ee6723;color:#0a1628}
.chip.on{background:#0a1628;border-color:#0a1628;color:#fff;box-shadow:0 6px 16px rgba(10,22,40,.18)}
.sub{padding:18px;border-radius:16px;background:#f8f9fb;border:1px solid #f0f2f5;display:flex;flex-direction:column;gap:12px;animation:rise .35s ease both}
.row{display:flex;align-items:center;justify-content:space-between;gap:16px}
.btn{height:52px;padding:0 28px;border:0;border-radius:12px;background:linear-gradient(135deg,#d9561a,#ee6723);color:#fff;font:inherit;font-size:15px;font-weight:600;display:inline-flex;align-items:center;gap:10px;box-shadow:0 10px 24px rgba(238,103,35,.28)}
.ghost{height:52px;padding:0 22px;border:1px solid #dfe4ec;border-radius:12px;background:#fff;color:#263b5e;font:inherit;font-size:15px;font-weight:500}
.skip{height:44px;padding:0;border:0;background:none;font:inherit;font-size:14px;font-weight:500;color:#263b5e}
.rescue{padding:18px;border-radius:16px;background:#fff6f0;border:1px solid #f6d3bf;display:flex;flex-direction:column;gap:12px;animation:rise .35s ease both}
.fine{margin:auto 0 0;font-size:13px;color:#6c757d;padding-top:18px;border-top:1px solid #f0f2f5}
.check{display:flex;gap:12px;align-items:flex-start;font-size:13px;color:#4a5568;line-height:1.55}
.cal{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}
.dow{height:24px;display:flex;align-items:center;justify-content:center;font-family:"JetBrains Mono",ui-monospace,monospace;font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:#6c757d}
.day{height:40px;border:0;border-radius:10px;background:none;font:inherit;font-size:13px;color:#adb5bd}
.day.open{color:#0a1628;font-weight:600;background:#f3f5f9}
.day.pick{color:#fff;font-weight:600;background:#ee6723}
.slot{height:46px;border:1px solid #dfe4ec;border-radius:12px;background:#fff;font:inherit;font-size:14px;font-weight:600;color:#0a1628}
.slot.pick{border-color:#0a1628;background:#0a1628;color:#fff}

/* standalone demo page */
html,body{height:100%}
body{background:#060e1c;display:flex;align-items:center;justify-content:center;min-height:100vh}
.page{width:min(1440px,100vw);height:min(940px,100vh);border-radius:20px;box-shadow:0 40px 120px rgba(0,0,0,.5)}
.switch{position:fixed;bottom:16px;left:50%;transform:translateX(-50%);display:flex;gap:6px;padding:6px;border-radius:999px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14);z-index:10;font-family:Poppins,system-ui,sans-serif}
.switch a{height:34px;padding:0 16px;border-radius:999px;display:inline-flex;align-items:center;font-size:13px;font-weight:500;color:rgba(255,255,255,.8);text-decoration:none}
.switch a.on{background:#ffffff;color:#0a1628}
.switch a:hover{color:#fff}.switch a.on:hover{color:#0a1628}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}
.mtop,.mstrip{display:none}
@media (max-width:1180px){
  .side{padding:32px 28px}
  .sh{font-size:28px}
  .main{padding:16px}
  .sheet{padding:28px 32px 24px}
  .switch{left:auto;right:16px;transform:none}
}
@media (max-width: 960px){
  body{display:block;background:#fff;min-height:0}
  .page{display:flex;flex-direction:column;width:100%;height:auto;border-radius:0;box-shadow:none;overflow:visible}
  .main{order:1;padding:0;background:#fff;overflow:visible;flex-direction:column}
  .main > .cv{display:none}
  .mtop{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 56px 14px 16px;background:#0a1628;position:sticky;top:0;z-index:5}
  .mtop img{height:22px;width:auto}
  .mtop .pill{height:26px;font-size:9.5px;letter-spacing:.12em;padding:0 10px}
  .mstrip{display:flex;align-items:center;gap:12px;padding:10px 16px;background:#fff;border-bottom:1px solid #f0f2f5;position:sticky;top:54px;z-index:4;text-decoration:none}
  .mstrip .ml{height:26px;width:auto;max-width:110px;object-fit:contain}
  .mstrip .mu{flex-grow:1;min-width:0;font-family:"JetBrains Mono",ui-monospace,monospace;font-size:11px;color:#4a5568;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .mstrip .mu b{color:#c4501a}
  .mstrip .mr{width:34px;height:34px;border-radius:999px;display:flex;align-items:center;justify-content:center;flex-shrink:0}
  .mstrip .mr span{width:26px;height:26px;border-radius:999px;background:#fff;display:flex;align-items:center;justify-content:center;font-family:"JetBrains Mono",ui-monospace,monospace;font-size:8.5px;font-weight:600;color:#0a1628}
  .close{top:10px;right:6px;color:rgba(255,255,255,.8);z-index:6}
  .sheet{border-radius:0;padding:18px 16px 28px;box-shadow:none;border:0;background:#fff;overflow:visible;backdrop-filter:none;-webkit-backdrop-filter:none;gap:18px}
  .bar,.meta{margin-right:0}
  .meta{font-size:10px}
  .h{font-size:24px}
  .lede{font-size:14px}
  .two{grid-template-columns:1fr}
  .arow{grid-template-columns:22px minmax(0,1fr) auto;gap:10px}
  .arow .ak{display:none}
  .row{flex-wrap:wrap}
  .q .row .btn{flex-grow:1;justify-content:center}
  .q .row .hint{flex-basis:100%;order:2;text-align:center}
  .chip{min-height:42px;padding:0 14px;font-size:13.5px}
  .sub{padding:14px}
  .side{order:2;padding:28px 16px 96px;gap:18px}
  #side{gap:18px!important}
  #side > .stop{display:none}
  .pi{grid-template-columns:22px 84px minmax(0,1fr)}
  .switch{display:none}
  .cal + div{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .day{height:36px}
  .celebrate .h{font-size:30px!important}
  .kgrid{grid-template-columns:1fr}
  .kcard{padding:14px 40px 14px 14px}
  .karr{left:auto;right:14px;bottom:auto;top:50%;transform:translateY(-50%)}
  .medal{transform:scale(.85)}
}

@media (prefers-reduced-motion: reduce){*{animation:none!important;transition:none!important}}
