/* ============ Waypoint design language ============ */
:root {
  --ink: #221e1a;
  --ink-soft: #4c453d;
  --muted: #857a6c;
  --paper: #faf6ee;
  --paper-2: #f3edde;
  --card: #ffffff;
  --cloud: #f3f4f2;
  --muted-cool: #6d726b;
  --line: #e7dfcf;
  --line-cool: #e3e6e2;
  --ember: #d4602f;
  --ember-deep: #b34d22;
  --ember-soft: #f8e3d6;
  --violet: #6d51c9;
  --violet-deep: #58409f;
  --violet-soft: #ece7fa;
  --moss: #3e7a58;
  --moss-soft: #e0eee5;
  --amber: #c98c1c;
  --amber-soft: #f7ecd2;
  --shadow: 0 10px 30px rgba(34, 30, 26, .08);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
  font-size: 15px; line-height: 1.55;
  font-feature-settings: "cv05","cv11";
  -webkit-font-smoothing: antialiased;
}
body.cool { background: var(--cloud); }
button { font: inherit; cursor: pointer; }
input, textarea { font: inherit; }
.serif { font-family: "Fraunces", Georgia, serif; }

.eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: .13em;
  text-transform: uppercase; color: var(--muted);
}
.eyebrow.ember { color: var(--ember); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--ember); color: #fff; border: none; border-radius: 999px;
  padding: 11px 24px; font-size: 15px; font-weight: 600;
  transition: transform .15s ease, background .15s ease, opacity .15s;
}
.btn:hover { background: var(--ember-deep); transform: translateY(-1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn.big { padding: 14px 30px; font-size: 16px; }
.btn.sm { padding: 8px 18px; font-size: 13.5px; }
.btn.ghost { background: transparent; color: var(--ink); border: 1.5px solid #d8cfbc; }
.btn.ghost:hover { background: rgba(34,30,26,.05); }
.btn.dark { background: var(--ink); }
.btn.dark:hover { background: #3a342d; }
.btn.violet { background: var(--violet); }
.btn.violet:hover { background: var(--violet-deep); }

.chip {
  display: inline-flex; align-items: center; gap: 5px; border-radius: 999px;
  padding: 4px 13px; font-size: 12.5px; font-weight: 600;
  background: var(--paper-2); color: var(--ink-soft); border: 1px solid var(--line);
  white-space: nowrap;
}
.chip.ember { background: var(--ember-soft); color: var(--ember-deep); border-color: #efcdb8; }
.chip.moss { background: var(--moss-soft); color: var(--moss); border-color: #c8dfd1; }
.chip.amber { background: var(--amber-soft); color: #96690f; border-color: #ead9ac; }
.chip.violet { background: var(--violet-soft); color: var(--violet); border-color: #d9d0f2; }

.avatar {
  border-radius: 50%; flex: none; display: inline-flex;
  align-items: center; justify-content: center;
  font-weight: 700; color: #fff; width: 38px; height: 38px; font-size: 13px;
}
.avatar.sm { width: 28px; height: 28px; font-size: 11px; }
.avatar.lg { width: 52px; height: 52px; font-size: 17px; }

.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 20px; padding: 22px;
}
.progress { height: 6px; border-radius: 999px; background: var(--paper-2); overflow: hidden; }
.progress > i { display: block; height: 100%; border-radius: 999px; background: var(--ember); transition: width .5s ease; }

/* ============ offer microsite ============ */
.offer-page { max-width: 780px; margin: 0 auto; padding: 28px 22px 130px; }
.masthead { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.brandmark { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; }
.brandmark .mark {
  width: 30px; height: 30px; border-radius: 9px; background: var(--ink); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px;
  font-family: "Fraunces", Georgia, serif;
}
.offer-hero { text-align: center; padding: 72px 0 64px; }
.offer-hero h1 {
  font-family: "Fraunces", Georgia, serif; font-weight: 560;
  font-size: clamp(38px, 7vw, 58px); line-height: 1.06; margin: 18px 0 16px;
}
.offer-hero p { max-width: 460px; margin: 0 auto; color: var(--ink-soft); font-size: 16.5px; }
.scroll-cue { margin-top: 40px; animation: bob 2.2s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0);} 50% { transform: translateY(6px);} }

.chapter { margin-bottom: 22px; }
.role-card { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; }
.role-card h2 { font-family: "Fraunces", Georgia, serif; font-weight: 560; font-size: 27px; margin: 6px 0 3px; }
.role-card .sub { color: var(--muted); font-size: 14px; }

.reveal-card {
  position: relative; background: var(--ink); color: #f5f2ec;
  border-radius: 22px; padding: 32px 34px; overflow: hidden; min-height: 178px;
}
.reveal-card .glow {
  position: absolute; right: -40px; top: -40px; width: 210px; height: 210px; border-radius: 50%;
  background: radial-gradient(circle, rgba(212,96,47,.4), transparent 70%);
}
.reveal-card .eyebrow { color: #c9beac; }
.reveal-cover {
  position: absolute; inset: 0; display: flex; flex-direction: column; gap: 10px;
  align-items: center; justify-content: center;
  background: linear-gradient(160deg, #2b2621, #221e1a);
  border: none; color: #f5f2ec; width: 100%;
  transition: opacity .5s ease, transform .5s ease; z-index: 2;
}
.reveal-cover .spark { font-size: 26px; color: var(--ember); animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 0%,100% { transform: scale(1); opacity:.85;} 50% { transform: scale(1.18); opacity:1;} }
.reveal-cover .label { font-size: 15px; font-weight: 600; letter-spacing: .02em; }
.reveal-cover.off { opacity: 0; transform: scale(1.04); pointer-events: none; }
.reveal-body { opacity: 0; transition: opacity .7s ease .25s; }
.reveal-body.on { opacity: 1; }
.salary {
  font-family: "Fraunces", Georgia, serif; font-weight: 560;
  font-size: clamp(36px, 6vw, 50px); margin: 10px 0 6px;
}
.salary small { font-family: "Inter", sans-serif; font-weight: 500; font-size: 17px; color: #b8ad9a; }
.reveal-chips { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 12px; }
.reveal-chips .chip { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.18); color: #e8e2d6; }

.perks-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-top: 12px; }
.perk { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 18px; }
.perk .ico { font-size: 22px; margin-bottom: 6px; }
.perk b { display: block; font-size: 14.5px; }
.perk span { font-size: 12.5px; color: var(--muted); }

.people-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.video-tile {
  display: flex; gap: 16px; align-items: center; background: var(--paper-2);
  border: none; border-radius: 16px; padding: 16px 20px; margin-top: 16px;
  width: 100%; text-align: left; transition: background .15s;
}
.video-tile:hover { background: #ede5d1; }
.video-tile .play {
  width: 58px; height: 42px; border-radius: 12px; background: var(--ink); color: #fff;
  display: flex; align-items: center; justify-content: center; flex: none; font-size: 15px;
}
.video-tile b { font-size: 14.5px; }
.video-tile span { display: block; font-size: 12.5px; color: var(--muted); }

.accept-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  background: rgba(250,246,238,.92); backdrop-filter: blur(8px);
  border-top: 1px solid var(--line); padding: 14px 22px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
}
.accept-bar .note { font-size: 13px; color: var(--muted); }
.accept-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ============ ceremony ============ */
.ceremony {
  min-height: 100vh; display: flex; flex-direction: column; align-items: center;
  justify-content: center; text-align: center; padding: 40px 24px; position: relative; overflow: hidden;
}
.ceremony h1 {
  font-family: "Fraunces", Georgia, serif; font-weight: 560;
  font-size: clamp(46px, 9vw, 74px); margin: 18px 0 14px;
  animation: rise .8s cubic-bezier(.2,.7,.3,1) both;
}
.ceremony p { max-width: 430px; color: var(--ink-soft); font-size: 17px; animation: rise .8s .15s cubic-bezier(.2,.7,.3,1) both; }
.ceremony .actions { margin-top: 36px; animation: rise .8s .3s cubic-bezier(.2,.7,.3,1) both; }
.ceremony .fine { margin-top: 16px; font-size: 13px; color: var(--muted); }
@keyframes rise { from { opacity: 0; transform: translateY(18px);} to { opacity: 1; transform: none;} }
.confetti-static span { position: absolute; width: 9px; height: 9px; border-radius: 2px; opacity: .8; }

/* falling confetti */
.confetti-fall {
  position: fixed; inset: 0; pointer-events: none; z-index: 60; overflow: hidden;
}
.confetti-fall i {
  position: absolute; top: -14px; width: 9px; height: 13px; border-radius: 2px;
  animation: fall linear both;
}
@keyframes fall {
  to { transform: translateY(105vh) rotate(540deg); opacity: .15; }
}

/* ============ pre-onboarding path ============ */
.path-page { max-width: 900px; margin: 0 auto; padding: 34px 22px 110px; }
.path-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin: 26px 0 30px; }
.path-head h1 { font-family: "Fraunces", Georgia, serif; font-weight: 560; font-size: clamp(26px, 4.5vw, 34px); margin: 6px 0 0; }
.countdown { text-align: right; }
.countdown .num { font-family: "Fraunces", Georgia, serif; font-weight: 560; font-size: 30px; line-height: 1.1; }
.countdown .sub { font-size: 12.5px; color: var(--muted); }

.path-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 26px; align-items: start; }
@media (max-width: 760px) { .path-grid { grid-template-columns: minmax(0,1fr); } }

.path { position: relative; padding-left: 34px; }
.path::before { content: ""; position: absolute; left: 10px; top: 12px; bottom: 12px; width: 2px; background: var(--line); }
.node { position: relative; margin-bottom: 18px; }
.node::before {
  content: ""; position: absolute; left: -32px; top: 9px; width: 17px; height: 17px;
  border-radius: 50%; background: var(--paper); border: 2.5px solid #cdc4b0;
}
.node.done::before { background: var(--moss); border-color: var(--moss); box-shadow: 0 0 0 4px var(--moss-soft); }
.node.active::before { background: var(--ember); border-color: var(--ember); box-shadow: 0 0 0 4px var(--ember-soft); }
.node.wait::before { background: var(--amber-soft); border-color: var(--amber); }
.node-slim { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding: 6px 2px; }
.node-slim b { font-size: 15px; }
.node-card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; }
.node-card.hot { border-color: #eccdb9; border-width: 1.5px; box-shadow: var(--shadow); }
.node-card.dim { opacity: .72; }
.node-card .row { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.node-card b { font-size: 15.5px; }
.node-card .sub { font-size: 13px; color: var(--muted); margin-top: 3px; }
.node-card .gearchips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }

.profile-rail {
  background: var(--paper-2); border: 1px solid #e4dbc6; border-radius: 20px; padding: 20px;
  position: sticky; top: 22px;
}
.profile-rail .head { display: flex; justify-content: space-between; align-items: center; }
.profile-rows { margin-top: 14px; display: flex; flex-direction: column; gap: 10px; font-size: 13.5px; }
.profile-rows > div { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.profile-rail .foot {
  font-size: 12px; color: var(--muted); margin-top: 16px;
  border-top: 1px dashed #ddd2ba; padding-top: 12px;
}

/* ============ day one ============ */
.dayone {
  min-height: 100vh; display: flex; flex-direction: column; align-items: center;
  justify-content: center; padding: 48px 24px; text-align: center;
}
.dayone h1 { font-family: "Fraunces", Georgia, serif; font-weight: 560; font-size: clamp(38px, 7vw, 56px); margin: 14px 0 10px; animation: rise .8s both; }
.dayone .lede { color: var(--ink-soft); font-size: 17px; max-width: 440px; animation: rise .8s .12s both; }
.agenda { margin: 34px auto 0; max-width: 430px; width: 100%; text-align: left; animation: rise .8s .24s both; }
.agenda .item { display: flex; gap: 14px; align-items: baseline; padding: 11px 6px; border-bottom: 1px dashed var(--line); }
.agenda .item:last-child { border-bottom: none; }
.agenda .t { font-weight: 700; font-size: 13.5px; color: var(--ember-deep); flex: none; width: 52px; }
.agenda .what b { font-size: 14.5px; }
.agenda .what span { display: block; font-size: 12.5px; color: var(--muted); }
.dayone .actions { margin-top: 34px; animation: rise .8s .36s both; }

/* ============ workspace (control mode) ============ */
.ws { display: flex; min-height: 100vh; }
.ws-nav {
  width: 68px; flex: none; background: #e9ebe8; border-right: 1px solid var(--line-cool);
  padding: 16px 0; display: flex; flex-direction: column; align-items: center; gap: 6px;
  position: sticky; top: 0; height: 100vh;
}
.ws-nav .mark {
  width: 30px; height: 30px; border-radius: 9px; background: var(--ink); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800;
  font-family: "Fraunces", Georgia, serif; font-size: 15px; margin-bottom: 12px;
}
.ws-nav button {
  width: 40px; height: 40px; border-radius: 11px; border: none; background: transparent;
  font-size: 17px; color: #8b918a; display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.ws-nav button:hover { background: #dde0dc; }
.ws-nav button.on { background: var(--ember-soft); color: var(--ember-deep); }
.ws-nav .grow { flex: 1; }
.ws-main { flex: 1; min-width: 0; padding: 22px 28px 60px; max-width: 1060px; }

.ribbon {
  background: #fff; border: 1px solid var(--line-cool); border-radius: 14px;
  padding: 11px 18px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 18px;
  cursor: pointer; transition: box-shadow .15s;
}
.ribbon:hover { box-shadow: var(--shadow); }
.ribbon .lead { font-family: "Fraunces", Georgia, serif; font-style: italic; font-weight: 560; font-size: 14.5px; color: var(--ember-deep); }
.ribbon .sep { color: #c6cac5; }
.ribbon .chip { font-size: 11px; padding: 3px 10px; }

.ws-greet { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.ws-greet b { font-size: 20px; }
.ws-greet .date { font-size: 13.5px; color: var(--muted-cool); }

.askbar {
  display: flex; align-items: center; gap: 11px; background: #fff;
  border: 1.5px solid #d9d2ef; border-radius: 999px; padding: 10px 18px;
  margin-bottom: 20px; width: 100%; text-align: left; transition: border-color .15s, box-shadow .15s;
}
.askbar:hover { border-color: var(--violet); box-shadow: 0 4px 18px rgba(109,81,201,.12); }
.askbar span { font-size: 14px; color: #9992ab; }

.ws-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 14px; margin-bottom: 14px; }
.ws-card { background: #fff; border: 1px solid var(--line-cool); border-radius: 14px; padding: 18px 20px; }
.ws-card .eyebrow { margin-bottom: 12px; }
.ws-card.dim { opacity: .78; }

.today-item {
  display: flex; align-items: center; gap: 12px; padding: 8px 0; border: none;
  background: none; width: 100%; text-align: left; font-size: 14.5px;
}
.today-item .box {
  width: 21px; height: 21px; border-radius: 7px; border: 2px solid #c8ccc7; flex: none;
  display: flex; align-items: center; justify-content: center; color: #fff; font-size: 12px;
  transition: background .15s, border-color .15s;
}
.today-item.done .box { background: var(--moss); border-color: var(--moss); }
.today-item.done .label { color: var(--muted-cool); text-decoration: line-through; }
.today-item .meta { margin-left: auto; }

.upnext { display: flex; gap: 14px; align-items: center; border: none; background: none; width: 100%; text-align: left; padding: 0; }
.upnext .play {
  width: 70px; height: 48px; border-radius: 10px; background: var(--ink); color: #fff;
  display: flex; align-items: center; justify-content: center; flex: none; font-size: 16px;
}
.upnext b { font-size: 14.5px; }
.upnext span { display: block; font-size: 12.5px; color: var(--muted-cool); }

.qa-row { display: flex; gap: 8px; flex-wrap: wrap; }
.qa-row .chip { cursor: pointer; border: 1px solid var(--line-cool); background: #fff; transition: border-color .15s, background .15s; }
.qa-row .chip:hover { border-color: var(--ember); background: var(--ember-soft); color: var(--ember-deep); }

/* ============ journey / plan view ============ */
.plan-head { margin: 6px 0 20px; }
.plan-head h1 { font-family: "Fraunces", Georgia, serif; font-weight: 560; font-size: 30px; margin: 4px 0; }
.plan-section { background: #fff; border: 1px solid var(--line-cool); border-radius: 16px; padding: 20px 22px; margin-bottom: 14px; }
.plan-section.locked { opacity: .68; }
.plan-section .top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.plan-section h2 { font-size: 16.5px; margin: 0; }
.plan-task {
  display: flex; align-items: center; gap: 12px; padding: 9px 0;
  border-bottom: 1px dashed var(--line-cool); border-left: none; border-right: none; border-top: none;
  background: none; width: 100%; text-align: left; font-size: 14.5px;
}
.plan-task:last-child { border-bottom: none; }
.plan-task .box {
  width: 21px; height: 21px; border-radius: 7px; border: 2px solid #c8ccc7; flex: none;
  display: flex; align-items: center; justify-content: center; color: #fff; font-size: 12px;
}
.plan-task.done .box { background: var(--moss); border-color: var(--moss); }
.plan-task.done .label { color: var(--muted-cool); text-decoration: line-through; }
.plan-task .meta { margin-left: auto; }
.plan-task[disabled] { cursor: default; }

/* ============ sage ============ */
.sage-pill {
  position: fixed; right: 20px; bottom: 86px; z-index: 40;
  display: flex; align-items: center; gap: 10px;
  background: var(--violet-soft); border: 1px solid #d9d0f2; border-radius: 999px;
  padding: 9px 18px 9px 10px; box-shadow: 0 6px 24px rgba(109,81,201,.18);
  transition: transform .15s;
}
.sage-pill:hover { transform: translateY(-2px); }
.sage-pill span { font-size: 13.5px; color: var(--violet); font-weight: 600; }
@media (max-width: 640px) { .sage-pill span { display: none; } .sage-pill { padding: 9px 10px; } }

.sage-panel {
  position: fixed; right: 18px; bottom: 18px; z-index: 50;
  width: min(400px, calc(100vw - 36px)); max-height: min(600px, calc(100vh - 36px));
  background: #fff; border: 1px solid var(--line-cool); border-radius: 20px;
  box-shadow: 0 24px 60px rgba(34,30,26,.25);
  display: flex; flex-direction: column; overflow: hidden;
  animation: panelin .28s cubic-bezier(.2,.7,.3,1) both;
}
@keyframes panelin { from { opacity: 0; transform: translateY(16px) scale(.98);} to { opacity: 1; transform: none;} }
.sage-head {
  display: flex; align-items: center; gap: 11px; padding: 14px 18px;
  background: var(--violet-soft); border-bottom: 1px solid #e2daf6;
}
.sage-head b { font-size: 15px; }
.sage-head span { display: block; font-size: 11.5px; color: var(--violet); }
.sage-head .x { margin-left: auto; background: none; border: none; font-size: 17px; color: var(--violet); padding: 4px 8px; border-radius: 8px; }
.sage-head .x:hover { background: rgba(109,81,201,.1); }
.sage-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; min-height: 180px; }
.msg { border-radius: 16px; padding: 10px 15px; max-width: 88%; font-size: 14px; line-height: 1.5; animation: rise .3s both; }
.msg.agent { background: var(--cloud); align-self: flex-start; border-bottom-left-radius: 5px; }
.msg.user { background: var(--ink); color: #f5f2ec; align-self: flex-end; border-bottom-right-radius: 5px; }
.msg.typing { display: flex; gap: 5px; align-items: center; padding: 13px 16px; }
.msg.typing i { width: 6px; height: 6px; border-radius: 50%; background: #b0a8c9; animation: blink 1.1s infinite; }
.msg.typing i:nth-child(2) { animation-delay: .18s; }
.msg.typing i:nth-child(3) { animation-delay: .36s; }
@keyframes blink { 0%,100% { opacity: .3;} 50% { opacity: 1;} }
.sage-chips { padding: 0 16px 10px; display: flex; gap: 7px; flex-wrap: wrap; }
.sage-chips .chip { cursor: pointer; background: #fff; border-color: #d9d0f2; color: var(--violet); transition: background .15s; }
.sage-chips .chip:hover { background: var(--violet-soft); }
.sage-input { display: flex; gap: 9px; padding: 12px 16px 16px; border-top: 1px solid var(--line-cool); }
.sage-input input {
  flex: 1; min-width: 0; border: 1.5px solid var(--line-cool); border-radius: 999px;
  padding: 9px 16px; font-size: 14px; outline: none;
}
.sage-input input:focus { border-color: var(--violet); }
.sage-input button {
  border: none; background: var(--violet); color: #fff; border-radius: 50%;
  width: 40px; height: 40px; flex: none; font-size: 15px;
}

/* ============ modal ============ */
.overlay {
  position: fixed; inset: 0; z-index: 70; background: rgba(34,30,26,.45);
  display: flex; align-items: center; justify-content: center; padding: 20px;
  animation: fadein .2s both;
}
@keyframes fadein { from { opacity: 0;} to { opacity: 1;} }
.modal {
  background: var(--paper); border-radius: 24px; width: min(560px, 100%);
  max-height: min(86vh, 720px); overflow-y: auto; padding: 30px 32px;
  animation: panelin .28s cubic-bezier(.2,.7,.3,1) both;
}
.modal.cool { background: #fff; }
.modal h2 { font-family: "Fraunces", Georgia, serif; font-weight: 560; font-size: 25px; margin: 6px 0 4px; }
.modal .x {
  float: right; background: none; border: none; font-size: 20px; color: var(--muted);
  padding: 4px 10px; border-radius: 10px; margin: -6px -12px 0 0;
}
.modal .x:hover { background: rgba(34,30,26,.06); }
.modal .actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 24px; flex-wrap: wrap; }

.doc { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; margin: 16px 0; }
.doc .drow { display: flex; justify-content: space-between; gap: 14px; padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.doc .drow:last-child { border-bottom: none; }
.doc .drow span:first-child { color: var(--muted); }
.doc .drow b { text-align: right; }
.sign-field label { display: block; font-size: 12.5px; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.sign-field input {
  width: 100%; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 16px;
  font-family: "Fraunces", Georgia, serif; font-style: italic; font-size: 19px; outline: none; background: #fff;
}
.sign-field input:focus { border-color: var(--ember); }

.gear-opt {
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left;
  background: #fff; border: 1.5px solid var(--line); border-radius: 16px;
  padding: 14px 18px; margin-bottom: 10px; transition: border-color .15s, box-shadow .15s;
}
.gear-opt:hover { border-color: #d0c5ab; }
.gear-opt.on { border-color: var(--ember); box-shadow: 0 0 0 3px var(--ember-soft); }
.gear-opt .ico { font-size: 24px; flex: none; }
.gear-opt b { font-size: 15px; display: block; }
.gear-opt span { font-size: 12.5px; color: var(--muted); }
.gear-opt .price { margin-left: auto; font-weight: 700; font-size: 14px; flex: none; }
.budget-line { display: flex; justify-content: space-between; align-items: center; font-size: 13.5px; margin: 14px 0 6px; }

.form-field { margin-bottom: 14px; }
.form-field label { display: block; font-size: 12.5px; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.form-field input {
  width: 100%; border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 15px;
  font-size: 15px; outline: none; background: #fff;
}
.form-field input:focus { border-color: var(--ember); }

/* fake video player */
.player { background: var(--ink); border-radius: 18px; margin: 18px 0; overflow: hidden; }
.player .stagearea { height: 250px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; color: #f5f2ec; position: relative; }
.player .bigplay {
  width: 68px; height: 68px; border-radius: 50%; border: none; background: var(--ember); color: #fff;
  font-size: 24px; display: flex; align-items: center; justify-content: center;
  transition: transform .15s;
}
.player .bigplay:hover { transform: scale(1.07); }
.player .vtitle { font-size: 14px; color: #b8ad9a; }
.player .track { height: 5px; background: rgba(255,255,255,.15); }
.player .track i { display: block; height: 100%; background: var(--ember); width: 0; }
.player .track i.playing { animation: playbar 6s linear both; }
@keyframes playbar { from { width: 0;} to { width: 100%;} }
.wave { display: flex; gap: 4px; align-items: flex-end; height: 40px; }
.wave i { width: 5px; background: rgba(255,255,255,.35); border-radius: 3px; animation: wavey 1s ease-in-out infinite; }
@keyframes wavey { 0%,100% { transform: scaleY(.4);} 50% { transform: scaleY(1);} }

/* ============ toast ============ */
#toast-root { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 80; display: flex; flex-direction: column; gap: 8px; align-items: center; width: max-content; max-width: calc(100vw - 40px); }
.toast {
  background: var(--ink); color: #f5f2ec; border-radius: 999px; padding: 11px 22px;
  font-size: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.25);
  animation: rise .3s both; display: flex; gap: 9px; align-items: center;
}
.toast.out { transition: opacity .4s, transform .4s; opacity: 0; transform: translateY(8px); }

/* ============ demo reset ============ */
#demo-reset {
  position: fixed; left: 14px; bottom: 14px; z-index: 90;
  width: 34px; height: 34px; border-radius: 50%; border: none;
  background: rgba(34,30,26,.08); color: rgba(34,30,26,.45); font-size: 15px;
  transition: background .15s, color .15s;
}
#demo-reset:hover { background: rgba(34,30,26,.16); color: var(--ink); }
body.cool #demo-reset { background: rgba(34,30,26,.06); }

/* mobile workspace nav */
@media (max-width: 700px) {
  .ws { flex-direction: column; }
  .ws-nav {
    width: 100%; height: auto; flex-direction: row; position: sticky; top: 0; z-index: 30;
    padding: 10px 14px; border-right: none; border-bottom: 1px solid var(--line-cool);
  }
  .ws-nav .mark { margin-bottom: 0; margin-right: 8px; }
  .ws-nav .grow { display: none; }
  .ws-nav .avatar { margin-left: auto; }
  .ws-main { padding: 18px 16px 60px; }
}
