/* Studio (hosts and brands). Builds on ui.css and member.css (shared sidebar and grids).
   Dashboard rules: numbers as plain strips, a source under every number, no icon stat cards. */

.studio-word { font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-left: 8px; padding: 4px 7px; border-radius: 6px; background: var(--paper-2); }
.studio-word.lg { font-size: 12px; vertical-align: 6px; }
.side-who { display: none; }
.of { font-size: .6em; color: var(--ink-3); font-weight: 500; letter-spacing: 0; }
.med { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--red-soft); color: var(--red-ink); flex: none; }

/* sign in + role */
.signin { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 24px 20px; background: var(--paper); }
.signin-card { width: 100%; max-width: 440px; }
.signin-card.wide { max-width: 760px; }
.google { gap: 12px; }
.g-dot { width: 24px; height: 24px; border-radius: 99px; display: grid; place-items: center; background: var(--ink); color: var(--paper); font: 700 13px/1 var(--display); }
.role-grid { display: grid; gap: 14px; margin-top: 24px; }
.role-card { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r-lg); background: var(--card); box-shadow: 0 0 0 1px var(--line); text-align: left; }
.role-img { display: block; aspect-ratio: 16 / 7; overflow: hidden; }
.role-img img { width: 100%; height: 100%; object-fit: cover; }
.brand-img { display: grid; place-items: center; color: #fff; font: 700 34px/1 var(--display); letter-spacing: -0.03em; }
.role-body { display: block; padding: 16px; }
.role-go { display: flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--red); }

/* host home */
.next-card .thumb { width: 56px; height: 56px; }
.req-strip { display: block; margin-top: 14px; background: var(--red-soft); box-shadow: none; }
.req-strip .av-stack .mark { box-shadow: 0 0 0 2px var(--red-soft); }
.req-strip .av-stack .mark + .mark { margin-left: -8px; }
.deal-mini { display: block; margin-top: 12px; }
.report-cta { display: block; margin-top: 14px; background: var(--gold-soft); box-shadow: none; }
.report-cta svg.i { color: var(--gold-ink); }

/* key-value lists */
.kv { display: grid; gap: 0; background: var(--card); border-radius: var(--r-lg); box-shadow: 0 0 0 1px var(--line); padding: 4px 16px; }
.kv > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; font-size: 14.5px; }
.kv > div + div { box-shadow: inset 0 1px 0 var(--line); }
.kv span { color: var(--ink-3); }
.kv b { font-weight: 500; text-align: right; }
.kv .total b { font-weight: 650; font-size: 16px; }
.kv.compact { background: none; box-shadow: none; padding: 0; }
.kv.compact > div { padding: 8px 0; font-size: 13.5px; }

/* requests + brand cards */
.req .offer { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; padding: 14px; border-radius: var(--r-md); background: var(--paper); }
.req .fair { box-shadow: inset 1px 0 0 var(--line); padding-left: 12px; }
.bgrid { display: grid; gap: 12px; }
.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 12px; padding: 10px 0; box-shadow: inset 0 1px 0 var(--line), inset 0 -1px 0 var(--line); }
.mini-stats div { display: flex; flex-direction: column; }
.mini-stats b { font: 650 18px/1.1 var(--display); letter-spacing: -0.02em; }
.mini-stats span { font-size: 12px; color: var(--ink-3); }

/* deal room */
.deal-head { text-align: center; padding: 8px 0 4px; }
.deal-head .pair { display: inline-flex; align-items: center; gap: 10px; }
.x { font: 400 20px/1 var(--display); color: var(--ink-3); }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 22px; }
.steps li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 11.5px; color: var(--ink-3); text-align: center; line-height: 1.2; }
.steps li::before { content: ''; position: absolute; top: 10px; left: -50%; right: 50%; height: 2px; background: var(--line-2); }
.steps li:first-child::before { display: none; }
.steps li.done::before, .steps li.now::before { background: var(--forest); }
.steps .dot { width: 22px; height: 22px; border-radius: 99px; background: var(--paper-2); box-shadow: inset 0 0 0 2px var(--line-2); display: grid; place-items: center; position: relative; z-index: 1; color: #fff; }
.steps li.done .dot { background: var(--forest); box-shadow: none; }
.steps li.now .dot { background: var(--card); box-shadow: inset 0 0 0 6px var(--forest); }
.steps li.now { color: var(--ink); font-weight: 600; }
.tick { width: 24px; height: 24px; border-radius: 99px; flex: none; box-shadow: inset 0 0 0 1.5px var(--line-2); display: grid; place-items: center; }
.tick.on { background: var(--forest); color: #fff; box-shadow: none; }
.thread { display: grid; gap: 8px; margin-top: 12px; }
.msg { max-width: 86%; padding: 10px 14px; border-radius: 16px; font-size: 14.5px; line-height: 1.4; }
.msg b { display: block; font-size: 12px; font-weight: 600; color: var(--ink-3); margin-bottom: 2px; }
.msg.them { background: var(--card); box-shadow: 0 0 0 1px var(--line); border-bottom-left-radius: 6px; }
.msg.me { justify-self: end; background: var(--ink); color: var(--paper); border-bottom-right-radius: 6px; }
.msg.me b { color: rgba(243,238,228,.65); }
.msg-form { display: flex; gap: 8px; margin-top: 12px; }
.msg-form .input { border-radius: 999px; }
.report-link svg.i:first-child { color: var(--gold-ink); }

/* report */
.report-head { margin-bottom: 16px; }
.report-head .x { margin: 0 4px; }

/* check-in */
.venue-code { padding: 22px 20px; border-radius: var(--r-xl); background: var(--ink); color: var(--paper); text-align: center; }
.venue-code .code { font: 600 54px/1 var(--mono); letter-spacing: .04em; margin: 12px 0 10px; }
.venue-code p { font-size: 14px; color: rgba(243,238,228,.75); max-width: 320px; margin: 0 auto; }
.ring { --p: 0; width: 64px; height: 64px; border-radius: 99px; display: grid; place-items: center; background: conic-gradient(var(--forest) calc(var(--p) * 1%), var(--paper-2) 0); }
.ring span { width: 50px; height: 50px; border-radius: 99px; display: grid; place-items: center; background: var(--card); font: 600 13px/1 var(--body); font-variant-numeric: tabular-nums; }

/* builder */
.builder-seg { margin-bottom: 16px; }
.builder-grid[data-mode="edit"] .b-preview { display: none; }
.builder-grid[data-mode="preview"] .b-form { display: none; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.two .field + .field { margin-top: 0; }
.builder-form .field { margin-top: 14px; }
.pick-photos { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.pick { aspect-ratio: 1; border-radius: 12px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); transition: transform 140ms var(--ease-out), box-shadow 140ms ease; position: relative; }
.pick img { width: 100%; height: 100%; object-fit: cover; }
.pick.on { box-shadow: 0 0 0 2.5px var(--ink); }
.pick:active { transform: scale(0.95); }
.pick.add { display: grid; place-items: center; background: var(--white); color: var(--ink-3); }
.preview-phone { max-width: 340px; margin: 0 auto; border-radius: 28px; overflow: hidden; background: var(--paper); box-shadow: 0 0 0 8px var(--ink), var(--shadow-pop); }
.pv-img { aspect-ratio: 4 / 3; overflow: hidden; }
.pv-img img { width: 100%; height: 100%; object-fit: cover; }
.pv-body { padding: 16px; }
.pv-facts { display: grid; gap: 6px; margin-top: 12px; font-size: 13.5px; }
.pv-facts div { display: flex; gap: 8px; align-items: center; color: var(--ink-2); }
.pv-pay { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; padding-top: 12px; box-shadow: inset 0 1px 0 var(--line); font: 650 20px/1 var(--display); }

/* propose */
.types { display: flex; flex-wrap: wrap; gap: 8px; }
.propose-side { margin-top: 20px; }
.fair-meter { margin-top: 16px; }
.fm-track { position: relative; height: 10px; border-radius: 99px; background: var(--paper-2); margin-bottom: 8px; }
.fm-range { position: absolute; top: 0; bottom: 0; border-radius: 99px; background: var(--forest-soft); box-shadow: inset 0 0 0 1px rgba(30,75,58,.3); }
.fm-dot { position: absolute; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 99px; background: var(--ink); box-shadow: 0 0 0 3px var(--card); transition: left 300ms var(--ease-out); }

/* community profile (brand view) */
.cprof-hero { aspect-ratio: 16 / 8; border-radius: var(--r-lg); overflow: hidden; }
.cprof-hero img { width: 100%; height: 100%; object-fit: cover; }
.fair-card { background: var(--forest-soft); box-shadow: none; }
.proof-frame { margin-top: 18px; padding: 16px; border-radius: var(--r-xl); background: var(--card); box-shadow: 0 0 0 1px var(--line); }

@media (min-width: 640px) {
  .role-grid { grid-template-columns: 1fr 1fr; }
  .bgrid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
  .side-who { display: flex; align-items: center; gap: 10px; margin-top: auto; position: absolute; left: 14px; right: 14px; bottom: 20px; padding: 12px; border-radius: 14px; background: var(--paper); }
  .side-who .l1 { font-size: 13.5px; font-weight: 600; line-height: 1.2; }
  .side-who .l2 { font-size: 12px; color: var(--ink-3); }
  .builder-seg { display: none; }
  .builder-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; align-items: start; }
  .builder-grid .b-form, .builder-grid .b-preview { display: block !important; }
  .b-preview { position: sticky; top: 24px; }
  .propose-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
  .propose-side { position: sticky; top: 24px; margin-top: 0; }
  .bgrid { grid-template-columns: repeat(3, 1fr); }
  .deal, .report, .checkin-wrap { max-width: 760px; margin: 0 auto; }
  .stats .val { font-size: 28px; }
}
.builder-form .two, form .two { margin-top: 14px; }
.builder-form .two .field, form .two .field { margin-top: 0; }
