@import url('fonts/inter.css');

:root {
  --ink: #272D32;
  --muted: #5B7177;
  --line: #E3E6E1;
  --bg: #F4F3F4;
  --card: #fff;
  --accent: #111; /* selection outlines and progress */
  --yellow: #DAFE99;
  --teal: #EEFBD6;
  --field: #F4F3F4;
  --ok: #1f7a4a;
  --radius: 22px;
  --mono: Inter, system-ui, sans-serif; /* no monospace anywhere */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --lift: 0 14px 32px -18px rgba(17, 17, 17, .45);
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.5 Inter, system-ui, sans-serif; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
img { max-width: 100%; display: block; }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .02em; text-transform: uppercase; }
.muted { color: var(--muted); }
[hidden] { display: none !important; }

.top { display: flex; justify-content: space-between; align-items: center; padding: 16px 24px; border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 12; }
.logo { font-weight: 800; letter-spacing: -.02em; text-decoration: none; font-size: 18px; display: flex; align-items: center; gap: 6px; }
.logo .dot { width: 9px; height: 9px; background: var(--accent); display: inline-block; }
main { max-width: 1180px; margin: 0 auto; padding: 32px 24px 96px; }

h1 { font-size: 44px; line-height: 1.05; letter-spacing: -.03em; margin: 8px 0 12px; font-weight: 800; }
h2 { font-size: 24px; letter-spacing: -.02em; margin: 0 0 6px; font-weight: 800; }
h3 { font-size: 16px; margin: 0 0 4px; font-weight: 700; }
p.lede { max-width: 640px; color: var(--muted); margin: 0 0 24px; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-bottom: 20px; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.spread { justify-content: space-between; }
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.g3 { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.g4 { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }

.btn { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--ink); background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; cursor: pointer; font-weight: 600; text-decoration: none; font-size: 14px; }
.btn:hover { background: var(--accent); border-color: var(--accent); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn.small { padding: 6px 12px; font-size: 13px; }
.btn[disabled], .btn[disabled]:hover, .btn[aria-disabled="true"], .btn[aria-disabled="true"]:hover { background: #95979A; border-color: #95979A; color: #F2F3F3; cursor: not-allowed; }
.btn.ghost[disabled], .btn.ghost[disabled]:hover { background: transparent; border-color: #CBCCCE; color: #A3A6A8; }
.btn.lucky[disabled], .btn.lucky[disabled]:hover, .btn.lucky[aria-disabled="true"], .btn.lucky[aria-disabled="true"]:hover { background: #EEFBD6; border-color: #EEFBD6; color: #9B9EA0; }
.btn.invert[disabled] { background: #E6E6E7; border-color: #E6E6E7; color: #868A8D; }
.cost { font-family: var(--mono); font-size: 11px; background: rgba(255,255,255,.18); padding: 2px 6px; border-radius: 999px; }
.btn.ghost .cost { background: var(--bg); }

label { display: block; font-weight: 600; font-size: 13px; margin: 12px 0 6px; }
input[type=text], textarea, select { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; background: #fff; }
textarea { min-height: 72px; resize: vertical; }
input:focus, textarea:focus, select:focus { outline: 2px solid var(--ink); outline-offset: -1px; }

.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin: 16px 0 28px; overflow-x: auto; }
.tabs a { padding: 10px 14px; text-decoration: none; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap; }
.tabs a.on { color: var(--ink); border-color: var(--accent); }
.tabs a .n { font-family: var(--mono); font-size: 11px; margin-right: 6px; }

.slider { display: grid; grid-template-columns: 110px 1fr 110px; gap: 12px; align-items: center; font-size: 13px; }
.slider span:last-child { text-align: right; }
input[type=range] { width: 100%; accent-color: var(--ink); }
.arch { border: 1px solid var(--line); border-radius: 8px; padding: 12px; cursor: pointer; background: #fff; text-align: left; }
.arch.on, .board.on, .tile.on { outline: 2px solid var(--accent); outline-offset: -2px; }
.arch small { display: block; color: var(--muted); font-size: 12px; }

.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 4px 10px; font-size: 12px; cursor: pointer; }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }

.board { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.board img { aspect-ratio: 4/3; object-fit: cover; width: 100%; cursor: zoom-in; }
.board .meta { padding: 12px; }

.tile { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.tile img { aspect-ratio: 1; object-fit: contain; width: 100%; background: #fff; }
.tile .bar { display: flex; justify-content: space-between; align-items: center; padding: 6px 8px; font-size: 12px; border-top: 1px solid var(--line); gap: 4px; }
.tile .bar button { border: 0; background: none; cursor: pointer; font-size: 12px; padding: 2px 4px; color: var(--muted); }
.tile .bar button:hover { color: var(--ink); }
.tile .pick { position: absolute; inset: 0 0 32px 0; border: 0; background: transparent; cursor: pointer; }
.tile.poster img { aspect-ratio: 1; object-fit: cover; }

.job { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: #fff8e6; border: 1px solid #f1d58a; border-radius: 8px; margin: 12px 0; font-size: 14px; }
.job.failed { background: #fdecee; border-color: #f2a5b0; }
.spin { width: 14px; height: 14px; border: 2px solid var(--ink); border-right-color: transparent; border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.swatch { border-radius: 8px; height: 88px; display: flex; align-items: flex-end; padding: 8px; font-family: var(--mono); font-size: 11px; position: relative; }
.swatch input[type=color] { position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; border: 0; padding: 0; background: none; cursor: pointer; }
.asset { background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.asset .pv { height: 140px; display: flex; align-items: center; justify-content: center; padding: 16px; background: repeating-conic-gradient(#f0f0f0 0 25%, #fff 0 50%) 0 0/16px 16px; }
.asset .pv.dark { background: #222; }
.asset .pv img { max-height: 108px; width: auto; }
.asset .bar { padding: 8px 10px; font-size: 12px; display: flex; justify-content: space-between; gap: 8px; border-top: 1px solid var(--line); }
pre.md { white-space: pre-wrap; background: var(--bg); padding: 16px; border-radius: 8px; font-size: 12px; max-height: 360px; overflow: auto; }

.modal { position: fixed; inset: 0; background: rgba(0,0,0,.6); display: flex; align-items: center; justify-content: center; padding: 24px; z-index: 20; }
.modal .box { background: #fff; border-radius: 14px; max-width: 920px; width: 100%; max-height: 92vh; overflow: auto; padding: 24px; }
.modal .box.wide { max-width: 1200px; }
.modal canvas { display: block; max-width: 100%; max-height: 60vh; width: auto; height: auto; margin: 0 auto; cursor: crosshair; border-radius: 8px; min-height: 200px; }
.slots { display: flex; gap: 10px; margin: 14px 0; }
.slot { width: 52px; height: 52px; border-radius: 50%; border: 2px dashed #bbb; cursor: pointer; }
.slot.active { outline: 3px solid var(--accent); outline-offset: 2px; }
.prompt-text { white-space: pre-wrap; font-family: var(--mono); font-size: 12px; background: var(--bg); padding: 16px; border-radius: 8px; }

.toast { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; font-size: 14px; z-index: 30; }
.projects .card { cursor: pointer; }
.projects .card:hover { border-color: var(--ink); }
.empty { padding: 40px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--radius); }

@media (max-width: 640px) {
  h1 { font-size: 32px; }
  main { padding: 20px 16px 80px; }
  .slider { grid-template-columns: 80px 1fr 80px; }
}

/* ---------- Strategy tool look (phases 01 and 02) ---------- */
.accent { color: var(--accent); }
.ok { color: var(--ok); }
.sq { display: inline-block; width: 8px; height: 8px; background: currentColor; margin-right: 8px; vertical-align: 1px; }
.bs-head { margin-bottom: 24px; }
.bs-title { font-size: 40px; line-height: 1.05; letter-spacing: -.03em; font-weight: 800; margin: 6px 0 10px; }
.progress-bar { height: 3px; background: var(--line); margin: 12px 0 4px; }
.progress-bar i { display: block; height: 100%; background: var(--accent); transition: width .3s; }
.bs-step h2 { margin-bottom: 4px; }
.bs-step label.mono { margin-top: 16px; }
.arch { display: flex; flex-direction: column; gap: 4px; }
.arch-name { display: flex; align-items: center; gap: 8px; font-size: 16px; }
.arch .brands { font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .02em; }
.upload .drop { display: flex; align-items: center; justify-content: center; min-height: 160px; border: 1.5px dashed #c9c9c9; border-radius: 8px; padding: 12px; cursor: pointer; text-align: center; background: var(--bg); }
.upload .drop:hover { border-color: var(--ink); }
.upload .drop img { max-height: 220px; width: auto; }
.linkbtn { border: 0; background: none; font-family: var(--mono); font-size: 12px; cursor: pointer; text-decoration: underline; padding: 0; }
.pick { border: 1px solid var(--line); border-radius: 8px; padding: 12px; display: flex; flex-direction: column; gap: 8px; background: #fff; }
.pick img { border-radius: 6px; cursor: zoom-in; aspect-ratio: 4/3; object-fit: cover; }
.empty-pick { min-height: 180px; align-items: center; justify-content: center; border-style: dashed; }
.badge { background: var(--ink); color: #fff; padding: 2px 6px; border-radius: 4px; font-size: 10.5px; margin-left: 6px; }
.check { list-style: none; padding: 0; margin: 12px 0 20px; display: flex; gap: 20px; flex-wrap: wrap; color: var(--muted); }
.check li.ok { color: var(--ok); }
.handoff { border-color: var(--ink); }
@media (max-width: 640px) { .bs-title { font-size: 30px; } }

/* New project: how are we starting? */
.start-card { cursor: pointer; margin: 0; min-height: 170px; }
.start-card:hover { border-color: var(--ink); }
.start-card.on { outline: 2px solid var(--accent); outline-offset: -2px; }
h3.big { font-size: 26px; letter-spacing: -.02em; margin: 6px 0 8px; }
.big-drop { min-height: 200px; display: flex; align-items: center; justify-content: center; text-align: center; border: 1.5px dashed #c9c9c9; border-radius: 10px; background: var(--bg); cursor: pointer; padding: 16px; font-weight: 400; }
.big-drop.over, .big-drop:hover { border-color: var(--ink); }
.big-drop img { max-height: 180px; width: auto; }
.opt { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--line); border-radius: 8px; padding: 12px; font-weight: 400; margin: 0; cursor: pointer; background: #fff; }
.opt:has(input:checked) { border-color: var(--ink); }
.opt input { margin-top: 4px; }


/* ---------- Intro, new project, tooltips ---------- */
.center { text-align: center; }
.center h1 { margin-top: 16px; }
p.lede.center { margin-left: auto; margin-right: auto; }
.pill { display: inline-block; font-family: var(--mono); font-size: 13px; letter-spacing: .12em; padding: 8px 16px; border-radius: 999px; background: #DAFE99; }
.pill--teal { background: #EEFBD6; }
.intro { max-width: 820px; margin: 24px auto 0; }
.intro .card { padding: 28px 32px; }
input.huge { border: 0; padding: 8px 0; font-size: 40px; font-weight: 800; letter-spacing: -.02em; background: transparent; }
input.huge:focus { outline: none; }
textarea.big-text { border: 0; padding: 8px 0; font-size: 19px; line-height: 1.5; min-height: 120px; background: transparent; resize: none; }
textarea.big-text:focus { outline: none; }
.intro hr { border: 0; border-top: 1px solid var(--line); margin: 16px 0; }
.ref-thumb { width: 56px; height: 56px; object-fit: cover; border-radius: 6px; border: 1px solid var(--line); }
.switch { display: inline-flex; align-items: center; gap: 10px; margin: 0; cursor: pointer; font-weight: 600; }
.switch input { display: none; }
.switch i { width: 52px; height: 30px; border-radius: 999px; background: #e3e3e0; position: relative; transition: background .2s; }
.switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: left .2s; }
.switch input:checked + i { background: var(--ink); }
.switch input:checked + i::after { left: 25px; }
.intro-actions { margin-top: 24px; }
.intro-actions .btn { padding: 18px 28px; font-size: 18px; }
.btn.lucky { background: #DAFE99; border-color: #DAFE99; color: var(--ink); }
.btn.lucky:hover { background: #C8F07A; border-color: #C8F07A; }
.btn.lucky .cost { background: rgba(0,0,0,.08); }
.btn.invert { background: #fff; color: var(--ink); border-color: #fff; }
.btn.invert .cost { background: var(--bg); }
.card.dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.start { margin-top: 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px) { .start { grid-template-columns: 1fr; } }
.start-card { display: flex; flex-direction: column; gap: 8px; min-height: 420px; cursor: default; }
.start-card .grow { flex: 1; }
.start-card .btn { align-self: flex-start; }
.big-drop .up { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 10px; background: #DAFE99; font-size: 22px; margin-bottom: 8px; }
.new-card { display: flex; flex-direction: column; justify-content: center; align-items: center; text-decoration: none; border-style: dashed; min-height: 140px; }
.thumb { width: 72px; height: 72px; border-radius: 10px; border: 1px solid var(--line); object-fit: contain; background: #fff; flex: none; padding: 6px; }
.thumb--empty { display: flex; align-items: center; justify-content: center; background: var(--bg); font-size: 16px; }

/* Tooltips: any element with data-tip shows a dark bubble above it on hover or focus. */
[data-tip] { position: relative; }
[data-tip]::after {
  content: attr(data-tip); position: absolute; bottom: calc(100% + 12px); left: 50%; transform: translate(-50%, 4px);
  width: max-content; max-width: 280px; padding: 10px 14px; border-radius: 10px; background: #272D32; color: #fff;
  font: 600 14px/1.35 Inter, system-ui, sans-serif; text-align: center; white-space: normal; letter-spacing: 0; text-transform: none;
  opacity: 0; pointer-events: none; transition: opacity .2s var(--ease), transform .25s var(--ease); z-index: 10;
}
[data-tip]::before {
  content: ""; position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translate(-50%, 4px);
  border: 6px solid transparent; border-top-color: #272D32; border-bottom: 0; opacity: 0; transition: opacity .2s var(--ease), transform .25s var(--ease); z-index: 10;
}
[data-tip]:hover::after, [data-tip]:hover::before, [data-tip]:focus-visible::after, [data-tip]:focus-visible::before { opacity: 1; transform: translate(-50%, 0); }

/* Logo editors */
.checker { background: repeating-conic-gradient(#f0f0f0 0 25%, #fff 0 50%) 0 0/16px 16px; border: 1px solid var(--line); border-radius: 10px; padding: 20px; display: flex; align-items: center; justify-content: center; min-height: 240px; }
.lockup-pv img { max-height: 280px; max-width: 100%; }
.part { cursor: pointer; }
.part.on { stroke: var(--accent); stroke-width: 6; paint-order: stroke; vector-effect: non-scaling-stroke; }
.part-row { padding: 8px; border-radius: 8px; gap: 8px; align-items: flex-start; }
.part-row.on { background: var(--bg); }
.chip .dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; border: 1px solid rgba(0,0,0,.15); }
.part-row input[type=color] { width: 30px; height: 26px; border: 0; padding: 0; background: none; cursor: pointer; }
select.q { min-width: 120px; }

/* Exploration: visual prompt and tiles */
.vp-items { display: flex; gap: 10px; flex-wrap: wrap; margin: 14px 0; }
.vp-item { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 120px; padding: 10px; border: 1.5px solid var(--line); border-radius: 10px; cursor: pointer; margin: 0; font-weight: 400; background: #fff; position: relative; }
.vp-item.on { border-color: var(--ink); }
.vp-item.off { opacity: .5; cursor: not-allowed; }
.vp-item input { position: absolute; top: 8px; right: 8px; }
.vp-pv { height: 56px; display: flex; align-items: center; justify-content: center; gap: 2px; text-align: center; }
.vp-pv img { max-height: 56px; max-width: 48px; object-fit: contain; border-radius: 4px; }
.vp-pv i { width: 12px; height: 40px; border-radius: 3px; display: inline-block; }
.batch { margin-bottom: 28px; }
.batch-head { margin-bottom: 8px; }
.tile .acts { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 2px; }
.tile.poster .bar { align-items: flex-start; }
.tile.liked { outline: 2px solid var(--accent); outline-offset: -2px; }
.ex-wrap { position: relative; max-width: 560px; margin: 0 auto; }
.ex-wrap img { width: 100%; cursor: crosshair; border-radius: 8px; }
#ex-box { position: absolute; border: 2px solid var(--accent); box-shadow: 0 0 0 9999px rgba(0,0,0,.35); pointer-events: none; border-radius: 4px; }
.ex-wrap { overflow: hidden; border-radius: 8px; }
.vp-pv img { width: 48px; height: 48px; }
.btn.ghost:hover .cost { background: rgba(255,255,255,.2); color: #fff; }
.tile.poster .bar { flex-direction: column; align-items: stretch; gap: 4px; }
.tile.poster .acts { justify-content: flex-start; }

/* Brand kit */
.sw-card .swatch { height: 110px; }
.empty-sw { border: 1.5px dashed #c9c9c9; background: var(--bg) !important; align-items: center !important; justify-content: center; cursor: pointer; }
.empty-sw input { opacity: 0; position: absolute; inset: 0; width: 100%; height: 100%; }
.type-card { border: 1px solid var(--line); border-radius: 10px; padding: 16px; background: #fff; }
.copy { font-family: var(--mono); font-size: 11px; text-decoration: none; }
h1.editable { cursor: text; }
h1.editable:hover { text-decoration: underline dotted; text-underline-offset: 8px; }
/* SVGs without a set size need a box to fill. */
.asset .pv img { width: 100%; height: 108px; max-height: none; object-fit: contain; }
.thumb { object-fit: contain; }
html, body { overflow-x: clip; }

/* Industry picker on Strategy */
.industry-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 16px; }
.industry-row label { margin: 0; }
.industry-row select { width: auto; max-width: 100%; }
.industry-row .muted { font-size: 13px; }

/* ---------- Motion: smooth hovers, presses and focus ---------- */
a, button, .btn, .chip, .linkbtn, .card, .arch, .board, .tile, .asset, .opt, .vp-item, .drop, .big-drop, .pick, .slot,
.thumb, .type-card, .swatch, .part-row, input, textarea, select, h1.editable, .logo .dot, .big-drop .up, .btn .arr {
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), outline-color .25s var(--ease),
    box-shadow .35s var(--ease), transform .35s var(--ease), opacity .25s var(--ease), text-decoration-color .25s var(--ease), text-underline-offset .25s var(--ease);
}

/* Buttons lift, arrows nudge, presses settle */
.btn:not([disabled]):hover { transform: translateY(-2px); box-shadow: var(--lift); }
.btn:not([disabled]):active { transform: translateY(0) scale(.97); box-shadow: none; transition-duration: .1s; }
.btn.lucky:not([disabled]):not([aria-disabled="true"]):hover { box-shadow: 0 14px 32px -16px rgba(150, 155, 20, .7); }
.btn .arr { display: inline-block; }
.btn:not([disabled]):hover .arr { transform: translateX(4px); }
.btn[disabled], .btn[aria-disabled="true"] { transform: none; box-shadow: none; }

/* Cards and tiles rise; images ease in a little */
.projects .card:hover, .new-card:hover, .start-card:hover, .grid > .pick:not(.empty-pick):hover, .type-card:hover { transform: translateY(-3px); box-shadow: var(--lift); border-color: var(--ink); }
.board:hover, .tile:hover, .asset:hover { transform: translateY(-3px); box-shadow: var(--lift); }
.board img, .tile.poster img, .asset .pv img, .projects .thumb { transition: transform .6s var(--ease); }
.board:hover img, .tile.poster:hover img { transform: scale(1.04); }
.asset:hover .pv img { transform: scale(1.06); }
.projects .card:hover .thumb { transform: rotate(-3deg) scale(1.05); }
.arch:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: var(--lift); }
.arch, .board, .tile { outline: 2px solid transparent; outline-offset: -2px; }
.sw-card .swatch:hover { transform: translateY(-3px); box-shadow: var(--lift); }
.slot:hover { transform: scale(1.08); }

/* Choices */
.chip:not(.on):hover { border-color: var(--ink); transform: translateY(-1px); }
.opt:not(:has(input:checked)):hover, .vp-item:not(.on):not(.off):hover { border-color: #b9b9b9; }
.vp-item:not(.off):hover { transform: translateY(-2px); }
.part-row:hover { background: var(--bg); }

/* Drop zones */
.big-drop:hover, .upload .drop:hover { background: #fff; }
.big-drop:hover .up { transform: translateY(-4px); }

/* Text links */
.linkbtn { text-decoration-color: rgba(17, 17, 17, .35); text-underline-offset: 3px; }
.linkbtn:hover { color: var(--accent); text-decoration-color: currentColor; text-underline-offset: 5px; }
.tile .bar button:hover, .tile .bar a:hover, .asset .bar a:hover { color: var(--accent); }
/* Plain text links turn the accent color on hover. Pills and chips set their own hover (light text on a dark fill), so they're left out. */
body:not(.public) main a:not(.btn):not(.card):not([data-link]):not([data-jump]):not([class*="pill"]):not([class*="chip"]):hover { color: var(--accent); }
h1.editable { text-decoration: underline dotted transparent; text-underline-offset: 8px; }
h1.editable:hover { text-decoration-color: var(--muted); }
.logo:hover .dot { transform: rotate(90deg) scale(1.2); }

/* Tabs: the underline draws in from the left */
.tabs a, .tabs a.on { border-bottom-color: transparent; position: relative; }
.tabs a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 2px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease), background-color .25s var(--ease); }
.tabs a:hover { color: var(--ink); }
.tabs a:hover::after { transform: scaleX(1); }
.tabs a.on::after { transform: scaleX(1); background: var(--accent); }

/* Fields */
input[type=text], textarea, select { outline: 2px solid transparent; outline-offset: -1px; }
input[type=text]:hover, textarea:hover, select:hover { border-color: #bdbdbd; }

/* Modal, toast and job banner ease in */
@keyframes fade-in { from { opacity: 0; } }
@keyframes pop-in { from { opacity: 0; transform: translateY(16px) scale(.98); } }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 12px); } }
.modal:not([hidden]) { animation: fade-in .25s var(--ease); }
.modal:not([hidden]) .box { animation: pop-in .4s var(--ease); }
.toast:not([hidden]) { animation: toast-in .35s var(--ease); }

/* Animate On Scroll: a shorter rise than the library default */
[data-aos="fade-up"] { transform: translate3d(0, 28px, 0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .spin { animation-duration: .8s !important; }
}


/* =================================================================
   Look: the Intro page everywhere. Inter only, cream background,
   white rounded cards, filled fields, yellow and teal accents.
   ================================================================= */
.mono { font-family: Inter, system-ui, sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
pre.md, .prompt-text, code { font-family: Inter, system-ui, sans-serif; }
code { background: var(--field); padding: 2px 6px; border-radius: 6px; font-size: .92em; }
.small { font-size: 13px; }
.top { background: rgba(244, 243, 244, .9); backdrop-filter: blur(10px); border-bottom-color: var(--line); }
main { max-width: 1400px; padding-top: 28px; }
.card { border-color: #EAEAEB; padding: 36px 40px; border-radius: var(--radius); box-shadow: 0 1px 2px rgba(6, 39, 44, .03); }
.eyebrow { display: block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 6px; }
.card-title { font-size: 30px; line-height: 1.1; letter-spacing: -.025em; font-weight: 800; margin: 0 0 10px; }
.field-label { display: block; font-size: 14px; font-weight: 600; color: #828588; margin: 22px 0 8px; }
.hl { background: linear-gradient(transparent 60%, var(--yellow) 60%); padding: 0 .04em; }
.pill { font-family: Inter, system-ui, sans-serif; font-weight: 600; font-size: 13px; letter-spacing: .12em; }
.pill--yellow { background: var(--yellow); }
.pill--teal { background: var(--teal); }
.ok { color: #1f7a4a; }
.req { color: #b4532a; }

/* Fields: filled, rounded, no border until you focus */
input[type=text], textarea, select { background: var(--field); border: 1.5px solid transparent; border-radius: 14px; padding: 14px 18px; font-size: 16px; }
input[type=text]:hover, textarea:hover, select:hover { border-color: #DDDEDF; }
input[type=text]:focus, textarea:focus, select:focus { background: #fff; border-color: var(--ink); outline: none; }
textarea { min-height: 56px; line-height: 1.5; }
select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23111' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center; }
.intro input.huge, .intro textarea.big-text { background: transparent; border: 0; border-radius: 0; padding: 8px 0; }
.intro input.huge { font-size: 40px; }
.intro textarea.big-text { font-size: 19px; }

/* Buttons */
.btn:hover { background: #272D32; border-color: #272D32; }
.btn.block { width: 100%; justify-content: center; padding: 18px 24px; font-size: 17px; }
.btn.soft { background: #EBECEC; border-color: #EBECEC; color: var(--ink); }
.btn.soft:hover { background: #DFE0E0; border-color: #DFE0E0; color: var(--ink); }
.btn.soft .cost { background: rgba(0, 0, 0, .07); }
.btn.grey { background: #9D9FA2; border-color: #9D9FA2; }
.btn.grey:hover { background: var(--ink); border-color: var(--ink); }
.btn.done-btn { background: var(--teal); border-color: var(--teal); color: var(--ink); }
.btn.done-btn:hover { background: #9ddcd4; border-color: #9ddcd4; }
.btn.lucky { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.linkbtn { font-family: Inter, system-ui, sans-serif; font-size: 14px; font-weight: 600; }

/* Project bar: back link, name, step pills, spend */
.proj-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: -12px -24px 32px; padding: 12px 24px; position: sticky; top: var(--top-h, 61px); z-index: 9; background: rgba(244, 243, 244, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: padding .2s var(--ease), border-color .2s; }
.proj-bar.stuck { padding: 8px 24px; border-bottom-color: var(--line); }
.proj-bar.stuck .steps a { padding: 6px 14px; }
.pb-sentinel { height: 0; }
.back { text-decoration: none; color: var(--muted); font-weight: 600; font-size: 14px; }
.back:hover { color: var(--ink); }
.pname { border: 0; background: none; font-weight: 800; font-size: 17px; letter-spacing: -.01em; cursor: pointer; padding: 6px 10px; border-radius: 10px; }
.pname:hover { background: #fff; }
.steps { display: flex; gap: 4px; flex-wrap: wrap; background: #fff; padding: 5px; border-radius: 999px; border: 1px solid var(--line); }
.steps a { padding: 8px 16px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 14px; color: var(--muted); }
.steps a .n { font-size: 11px; margin-right: 6px; opacity: .55; }
.steps a:hover { color: var(--ink); background: var(--bg); }
.steps a.on { background: var(--ink); color: #fff; }

/* Two columns: the side column sticks and stays in view */
.layout { display: grid; grid-template-columns: minmax(300px, 400px) minmax(0, 1fr); gap: 56px; align-items: start; }
/* The side column stays pinned under the bars when it fits. When it's taller than the screen it scrolls with the page
   until its last item is in view, then stays there (--side-h is its height, set by watchSide() in app.js), so it's never cut off. */
.side { position: sticky; top: min(calc(var(--top-h, 61px) + var(--pb-h, 0px) + 16px), calc(100vh - var(--side-h, 0px) - 16px)); padding: 2px 4px 24px 2px; }
.side-title { font-size: 38px; line-height: 1.05; letter-spacing: -.035em; margin: 18px 0 12px; font-weight: 800; }
.side-lede { color: var(--ink2, #454A4F); font-size: 16px; line-height: 1.55; margin: 0 0 24px; }
.side-note { font-size: 14px; color: var(--muted); margin: 10px 0 0; }
.side .progress-bar { height: 6px; border-radius: 99px; margin: 26px 0 0; background: #E8E8E9; overflow: hidden; }
.progress-bar i { border-radius: 99px; background: var(--ink); transition: width .6s var(--ease); }
.side-field { margin-top: 24px; }
.side-field .field-label { margin-top: 0; }
.side-field select, .side select { width: 100%; }
.side .job { margin: 0 0 18px; border-radius: 14px; }
.side-actions { display: grid; gap: 10px; margin-top: 12px; }
.side-actions .btn.block { padding: 14px; font-size: 15px; }
.callout { background: var(--teal); border-radius: 24px; padding: 28px; margin-top: 28px; }
.callout h3 { font-size: 20px; letter-spacing: -.01em; margin: 0 0 6px; }
.callout p { margin: 0 0 18px; color: #35504c; }
.callout .btn.block { font-size: 16px; padding: 15px; }
.callout .btn[disabled] { background: #6f8c88; border-color: #6f8c88; color: #e9f4f2; }
.callout .opts { display: grid; gap: 8px; margin-bottom: 18px; }
.callout .opt { border-color: transparent; border-radius: 14px; }
.callout-logo { width: 96px; height: 96px; object-fit: contain; background: #fff; border-radius: 16px; padding: 10px; margin-bottom: 14px; }
.row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.row.two .btn { justify-content: center; }
.block-link { display: block; margin: 16px auto 0; text-decoration: none; color: #35504c; }
.check { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; color: #35504c; font-weight: 600; }
.check li::before { content: ""; display: inline-block; width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; margin-right: 10px; vertical-align: -4px; box-sizing: border-box; }
.check li.ok { color: var(--ink); }
.check li.ok::before { background: var(--ink); border-color: var(--ink); color: #fff; font-size: 11px; line-height: 14px; text-align: center; }
.jump { margin-top: 28px; display: grid; gap: 2px; }
.jump .field-label { margin-top: 0; }
.jump button { display: flex; align-items: center; gap: 10px; border: 0; background: none; text-align: left; padding: 10px 12px; border-radius: 12px; font-weight: 600; cursor: pointer; }
.jump button:hover { background: #fff; }
.jump .n { font-size: 11px; color: var(--muted); }
.main { min-width: 0; }
.main .card { margin-bottom: 24px; scroll-margin-top: calc(90px + var(--pb-h, 0px)); }
.main .g3 { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.main .g4 { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.grid.two-col { grid-template-columns: 1fr 1fr; gap: 14px; }
.grid.two-col .field-label { margin-top: 12px; }
@media (max-width: 1000px) {
  .layout { grid-template-columns: 1fr; gap: 28px; }
  .side { position: static; max-height: none; overflow: visible; }
}
@media (max-width: 640px) { .card { padding: 24px 20px; } .side-title { font-size: 34px; } .grid.two-col { grid-template-columns: 1fr; } }

/* Strategy: sliders, archetype panel, module footer */
.persona { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 40px; align-items: stretch; }
@media (max-width: 1200px) { .persona { grid-template-columns: 1fr; } }
.persona > div { display: flex; flex-direction: column; }
.sliders { display: grid; gap: 14px; }
.slider { grid-template-columns: 112px 1fr 112px; gap: 16px; font-size: 15px; font-weight: 500; }
.slider span:first-child { text-align: right; }
.slider span:last-child { text-align: left; }
input[type=range] { -webkit-appearance: none; appearance: none; height: 26px; background: transparent; cursor: pointer; }
input[type=range]::-webkit-slider-runnable-track { height: 6px; border-radius: 99px; background: #EAEAEB; }
input[type=range]::-moz-range-track { height: 6px; border-radius: 99px; background: #EAEAEB; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -9px; border-radius: 50%; background: #fff; border: 2px solid #C7C9CA; box-shadow: 0 1px 4px rgba(6, 39, 44, .15); transition: transform .2s var(--ease), border-color .2s var(--ease); }
input[type=range]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid #C7C9CA; transition: transform .2s var(--ease); }
input[type=range]:hover::-webkit-slider-thumb { transform: scale(1.12); border-color: var(--ink); }
input[type=range]:hover::-moz-range-thumb { transform: scale(1.12); }
input[type=range]:focus-visible { outline: none; }
input[type=range]:focus-visible::-webkit-slider-thumb { border-color: var(--ink); box-shadow: 0 0 0 4px var(--yellow); }
.arch-panel { flex: 1; width: 100%; min-height: 300px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 24px; border: 1.5px solid var(--line); border-radius: 20px; background: #fff; cursor: pointer; text-align: center; font: inherit; }
.arch-panel:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: var(--lift); }
.arch-panel.on { border-color: var(--ink); }
.arch-big { font-size: 22px; letter-spacing: -.02em; }
.arch-panel .brands, .arch .brands { font-size: 12px; color: var(--muted); text-transform: none; letter-spacing: 0; font-family: Inter, system-ui, sans-serif; }
.arch-icon { width: 72px; height: 72px; border-radius: 20px; background: var(--yellow); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 6px; }
.arch-stack { display: flex; margin-bottom: 10px; }
.arch-stack i { width: 52px; height: 52px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; border: 3px solid #fff; margin: 0 -6px; }
.arch-stack i:nth-child(1) { background: #f7cdd3; transform: rotate(-8deg); }
.arch-stack i:nth-child(2) { background: var(--yellow); position: relative; z-index: 1; transform: translateY(-6px); }
.arch-stack i:nth-child(3) { background: var(--teal); transform: rotate(8deg); }
.arch-grid { margin-top: 16px; }
.arch { border-radius: 16px; padding: 16px; gap: 6px; }
.arch.on { outline: 2px solid var(--ink); background: #fffef0; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.card-foot .small { flex: 1; text-align: right; }

/* Visual: picks, boards, uploads */
.pick { border-radius: 18px; padding: 16px; }
.pick img { border-radius: 12px; }
.empty-pick { min-height: 200px; background: var(--field); border: 1.5px dashed #D3D5D6; }
.badge { background: var(--yellow); color: var(--ink); font-size: 12px; font-weight: 700; border-radius: 99px; padding: 2px 8px; }
.board { border-radius: 18px; border-color: #EAEAEB; }
.board .meta { padding: 14px; }
.chip { padding: 6px 14px; font-size: 13px; font-weight: 600; border-color: var(--line); }
.upload .drop { border-radius: 16px; background: var(--field); border-color: #D3D5D6; }

/* Tiles, assets, kit */
.tile, .asset, .type-card { border-radius: 16px; border-color: #EAEAEB; }
.tile .bar, .asset .bar { border-top-color: #EEEEEE; }
.tile.on, .tile.liked { outline-color: var(--ink); }
.batch.card { padding: 24px; }
.vp-items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0; }
.vp-item { width: auto; border-radius: 14px; padding: 10px 6px; }
.vp-label { font-size: 12px; font-weight: 600; text-align: center; }
.sw-card .swatch { border-radius: 16px; }
.sample-note { font-size: 14px; color: #8a6d1f; background: #fdfbe0; border-radius: 12px; padding: 10px 14px; margin: 12px 0 0; }

/* Header AI status */
.ai-badge { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 14px; font-weight: 600; font-size: 13px; cursor: pointer; }
.ai-badge i { width: 8px; height: 8px; border-radius: 50%; background: #e0a100; }
.ai-badge.on i { background: #1f9a5a; }
.ai-badge.off { background: #fdfbe0; border-color: #ece59a; }
.ai-badge:hover { border-color: var(--ink); }
.ai-badge { white-space: nowrap; }
@media (max-width: 600px) { .ai-badge { width: 36px; height: 36px; padding: 0; justify-content: center; } .ai-badge span { display: none; } }
.steps-list { padding-left: 20px; display: grid; gap: 12px; }
.modal .box { border-radius: 24px; padding: 32px; }
.toast { font-weight: 600; }

.field-label.row { display: flex; }
.side .vp-pv { height: 40px; }
.side .vp-pv img { width: 36px; height: 36px; max-width: 36px; }
.side .vp-pv i { height: 30px; width: 9px; }
.side #ex-text { min-height: 0; }

/* =================================================================
   Phase colors, callouts, shared bits
   ================================================================= */
:root { --pink: #f8d3dc; --coral: #f2705a; --dark: #272D32; }
.pill--pink { background: var(--pink); }
.pill--coral { background: var(--coral); color: #fff; }
.callout.dark { background: var(--dark); color: #fff; }
.callout.dark p { color: #D4D5D6; }
.callout.dark .eyebrow, .callout.coral .eyebrow { color: rgba(255, 255, 255, .7); }
.callout.dark .block-link, .callout.coral .block-link { color: rgba(255, 255, 255, .85); }
.callout.coral { background: var(--coral); color: #fff; }
.callout.coral p { color: rgba(255, 255, 255, .9); }
.callout.coral .opt { background: rgba(255, 255, 255, .95); color: var(--ink); }
.btn.white { background: #fff; border-color: #fff; color: var(--ink); }
.btn.white:hover { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.btn.outline-white { background: transparent; border: 1.5px solid rgba(255, 255, 255, .8); color: #fff; justify-content: center; }
.btn.outline-white:hover { background: #fff; color: var(--ink); border-color: #fff; }
.callout-preview { background: #fff; border-radius: 22px; padding: 28px; margin: 18px 0 14px; display: flex; align-items: center; justify-content: center; aspect-ratio: 1; }
.callout-preview img { max-width: 100%; max-height: 100%; object-fit: contain; }
.check.light { color: rgba(255, 255, 255, .85); margin: 14px 0 0; }
.check.light li.ok { color: #fff; }
.check.light li.ok::before { background: #fff; border-color: #fff; color: var(--coral); }
.side-card { background: #fff; border-radius: 22px; padding: 22px 24px; margin-top: 18px; border: 1px solid #EAEAEB; }
.side-card .eyebrow { margin-bottom: 12px; }
.tag { display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 999px; background: #EEEEEF; font-size: 13px; font-weight: 600; }
.badge.dark { background: var(--dark); color: #fff; letter-spacing: .06em; text-transform: uppercase; font-size: 11px; padding: 4px 10px; }
.tag-req { display: inline-block; margin-left: 6px; padding: 3px 9px; border-radius: 99px; background: var(--coral); color: #fff; font-size: 10.5px; letter-spacing: .1em; vertical-align: 1px; }
.chip-btn { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 12px; font-size: 12px; font-weight: 700; letter-spacing: .02em; cursor: pointer; }
.chip-btn:hover { border-color: var(--ink); }
.pill-select { width: auto !important; border-radius: 999px !important; background-color: #fff !important; border: 1.5px solid var(--line) !important; padding: 12px 40px 12px 18px !important; font-weight: 600; }
.pill-input { border-radius: 999px !important; background: #fff !important; border: 1.5px solid var(--line) !important; padding: 13px 22px !important; }
.pill-input:focus { border-color: var(--ink) !important; }
.kit-empty { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; padding: 44px 24px; background: #fff; border: 1.5px dashed #DFE0E0; border-radius: 22px; }
.kit-empty strong { font-size: 18px; }
.kit-empty span { color: var(--muted); }
.kit-empty.big { padding: 80px 24px; }

/* =================================================================
   Visual: wide pick cards, board cards, upload your own
   ================================================================= */
.pick-wide { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 32px; background: #fff; border: 2.5px solid var(--ink); border-radius: 30px; padding: 32px; margin-bottom: 24px; }
.pick-wide > img { width: 100%; border-radius: 14px; cursor: zoom-in; align-self: start; }
.pick-body { display: flex; flex-direction: column; gap: 14px; }
.pick-body textarea { flex: 1; min-height: 150px; }
.pick-body p.small { margin: 0; }
.pick-title { font-size: 22px; letter-spacing: -.02em; margin: 0; }
.board-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 24px !important; }
.board-card { display: flex; flex-direction: column; gap: 14px; background: #fff; border-radius: 30px; padding: 28px; border: 1px solid #EAEAEB; margin: 0; font-weight: 400; }
.board-card > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; cursor: zoom-in; transition: transform .5s var(--ease); }
.board-card:hover > img { transform: scale(1.015); }
.board-card .btn.block { margin-top: auto; font-size: 15px; padding: 11px 15px; }
.upload-card { border: 1.5px dashed #D2D3D5; background: transparent; cursor: pointer; }
.upload-card.off { opacity: .55; cursor: not-allowed; }
.upload-zone { aspect-ratio: 4 / 3; background: #F1F1F2; border-radius: 18px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 20px; }
.upload-zone .plus { font-size: 30px; font-weight: 700; line-height: 1; }
.upload-card.over .upload-zone, .upload-card:not(.off):hover .upload-zone { background: #E7E7E8; }
@media (max-width: 1200px) { .pick-wide { grid-template-columns: 1fr; } }
@media (max-width: 1100px) { .board-grid { grid-template-columns: 1fr !important; } }

/* =================================================================
   Logo: banner, selected sketch, phases, big tiles
   ================================================================= */
.lock-banner { display: flex; gap: 18px; align-items: center; background: var(--pink); border-radius: 22px; padding: 18px 22px; margin-bottom: 24px; }
.lock-banner img { width: 64px; height: 64px; object-fit: contain; background: #fff; border-radius: 12px; padding: 6px; flex: none; }
.lock-banner p { margin: 0; font-size: 14px; }
.lock-banner .eyebrow { color: var(--ink); margin-bottom: 4px; }
.sel-card { display: flex; gap: 22px; align-items: center; padding: 22px 26px; }
.sel-card img { width: 100px; height: 100px; object-fit: contain; border-radius: 16px; background: #F2F3F3; padding: 8px; }
.gen-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.gen-row .pill-input { flex: 1; min-width: 220px; }
.gen-row .btn { padding: 13px 24px; font-size: 16px; }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; }
.seg button { border: 0; background: none; padding: 8px 18px; border-radius: 999px; font-weight: 600; cursor: pointer; color: var(--muted); }
.seg button.on { background: #EEEEEF; color: var(--ink); }
.ref-use { margin-top: 14px; display: grid; gap: 8px; justify-items: start; }
.ref-use p { margin: 0; }
.ref-desc { display: grid; gap: 6px; width: 100%; margin-top: 6px; }
.ref-desc textarea { width: 100%; }
@media (max-width: 560px) { .ref-use .seg { display: flex; width: 100%; } .ref-use .seg button { flex: 1; padding: 8px 10px; } }
.ltiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin: 22px 0 16px; }
.ltiles .kit-empty { grid-column: 1 / -1; }
.ltile { position: relative; border-radius: 22px; border: 1.5px solid #EAEAEB; background: #fff; overflow: hidden; transition: border-color .25s var(--ease), box-shadow .35s var(--ease), transform .35s var(--ease); }
.ltile:hover { transform: translateY(-3px); box-shadow: var(--lift); }
.ltile.on { border: 3px solid var(--ink); }
.ltile-pick { display: block; width: 100%; border: 0; padding: 0; background: #fff; cursor: pointer; }
.ltile-pick img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.ltile-badge { position: absolute; left: 12px; bottom: 12px; background: var(--dark); color: #fff; border-radius: 999px; padding: 5px 12px; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.ltile-acts { position: absolute; top: 10px; right: 10px; display: flex; gap: 6px; opacity: 0; transform: translateY(-4px); transition: opacity .25s var(--ease), transform .25s var(--ease); }
.ltile:hover .ltile-acts, .ltile:focus-within .ltile-acts { opacity: 1; transform: none; }
@media (max-width: 1100px) { .ltiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* =================================================================
   Exploration: full-width batches and a docked prompt composer
   ================================================================= */
.ex-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.ex-head .side-title { margin-top: 14px; }
.batches { padding-bottom: 380px; }
.batch-card { background: #fff; border-radius: 32px; padding: 28px; margin-bottom: 28px; border: 1px solid #EAEAEB; }
.batch-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.batch-grid.n1 { grid-template-columns: minmax(0, 520px); }
.batch-grid.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.shot { position: relative; margin: 0; border-radius: 18px; overflow: hidden; background: #F2F3F3; }
.shot img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: top center; cursor: zoom-in; transition: transform .6s var(--ease); } /* a tall web page shows its top */
.shot:hover img { transform: scale(1.025); }
.shot.liked { outline: 3px solid var(--ink); outline-offset: -3px; }
.shot-pin { position: absolute; left: 12px; bottom: 12px; background: var(--pink); border-radius: 999px; padding: 5px 12px; font-size: 11.5px; font-weight: 700; }
.shot-acts { position: absolute; right: 12px; bottom: 12px; display: flex; gap: 8px; }
.shot-menu { position: absolute; right: 12px; top: 12px; opacity: 0; transition: opacity .25s var(--ease); }
.shot:hover .shot-menu, .shot:focus-within .shot-menu { opacity: 1; }
.round-btn { width: 42px; height: 42px; border-radius: 14px; border: 0; background: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 2px 8px rgba(0, 0, 0, .12); }
.round-btn:hover { transform: translateY(-2px); background: var(--yellow); }
.round-btn.on { color: #e0405a; }
.menu { position: absolute; right: 0; top: 50px; z-index: 6; background: #fff; border-radius: 16px; padding: 6px; min-width: 250px; box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .3); display: grid; }
.menu[hidden] { display: none; }
.menu > * { display: flex; justify-content: space-between; gap: 12px; text-align: left; border: 0; background: none; padding: 10px 12px; border-radius: 10px; font-size: 14px; font-weight: 500; cursor: pointer; text-decoration: none; color: inherit; }
.menu > *:hover { background: var(--bg); }
.batch-label { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin: 0 0 16px; }
.batch-label span { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.batch-label strong { font-size: 17px; font-weight: 700; color: var(--ink); }
.batch-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 20px; }
.icon-plain { border: 0; background: none; cursor: pointer; padding: 8px; border-radius: 10px; color: var(--ink); }
.icon-plain:hover { background: var(--bg); color: #c0392b; }
.composer { position: fixed; z-index: 15; left: 0; right: 0; bottom: 18px; margin: 0 auto; width: min(1000px, calc(100% - 32px)); background: #fff; border-radius: 30px; padding: 18px 20px 16px; box-shadow: 0 24px 60px -20px rgba(6, 39, 44, .35), 0 0 0 1px #E8E8E9; }
.help-btn { position: absolute; top: 14px; right: 16px; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; font-weight: 700; cursor: pointer; }
.ref-row { display: none; gap: 12px; overflow-x: auto; padding: 2px 40px 16px 0; border-bottom: 1px solid #EAEAEB; margin-bottom: 8px; }
.composer.open .ref-row { display: flex; }
.ref-tile { position: relative; flex: none; width: 128px; height: 128px; border: 2px solid #E1E2E3; border-radius: 16px; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 30px 8px 8px; margin: 0; cursor: pointer; background: #fff; font-weight: 400; }
.ref-tile.on { border-color: var(--ink); }
.ref-tile.off { opacity: .45; cursor: not-allowed; }
.ref-tile input { position: absolute; top: 8px; right: 8px; accent-color: var(--ink); }
.ref-tag { position: absolute; top: 8px; left: 8px; border: 1px solid var(--line); border-radius: 6px; padding: 2px 6px; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: #fff; }
.ref-tag:hover { background: var(--yellow); }
.ref-pv { flex: 1; display: flex; align-items: center; justify-content: center; width: 100%; overflow: hidden; }
.ref-pv img { max-width: 92px; max-height: 58px; object-fit: contain; }
.ref-label { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.ref-tile.add { border-style: dashed; justify-content: center; padding: 8px; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.ref-tile.add:hover { border-color: var(--ink); color: var(--ink); }
.dots { display: grid; grid-template-columns: repeat(3, 16px); gap: 5px; justify-content: center; }
.dots i { width: 16px; height: 16px; border-radius: 50%; }
.font-pv { display: flex; flex-direction: column; align-items: center; line-height: 1.2; }
.font-pv b { font-size: 16px; } .font-pv small { color: var(--muted); }
.prompt-row { display: flex; gap: 12px; align-items: flex-start; position: relative; }
.prompt-row textarea { flex: 1; background: transparent !important; border: 0 !important; padding: 12px 6px !important; resize: none; min-height: 56px; font-size: 16px; }
.ideas-btn { border: 0; background: none; font-weight: 700; font-size: 16px; padding: 12px 8px; cursor: pointer; white-space: nowrap; }
.ideas-btn:hover { color: var(--muted); }
.ideas-menu { position: absolute; right: 0; bottom: calc(100% + 10px); z-index: 20; width: min(760px, calc(100vw - 48px)); max-height: 60vh; display: grid; grid-template-columns: 240px 1fr; background: #fff; border-radius: 22px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .35), 0 0 0 1px #E8E8E9; overflow: hidden; }
.ideas-menu[hidden] { display: none; }
.ideas-cats { padding: 10px; overflow-y: auto; border-right: 1px solid #EAEAEB; display: grid; align-content: start; gap: 2px; }
.ideas-cats button { display: flex; justify-content: space-between; border: 0; background: none; text-align: left; padding: 11px 12px; border-radius: 12px; font-size: 15px; font-weight: 600; cursor: pointer; color: var(--ink2, #454A4F); }
.ideas-cats button span { opacity: 0; }
.ideas-cats button.on, .ideas-cats button:hover { background: var(--bg); color: var(--ink); }
.ideas-cats button.on span { opacity: 1; }
.ideas-list { display: flex; flex-direction: column; min-height: 0; }
.ideas-items { overflow-y: auto; padding: 10px; display: grid; align-content: start; gap: 2px; flex: 1; }
.ideas-items button, .ideas-foot button { display: flex; flex-direction: column; gap: 2px; border: 0; background: none; text-align: left; padding: 11px 14px; border-radius: 12px; cursor: pointer; font-size: 14px; }
.ideas-items button span { color: var(--muted); }
.ideas-items button:hover, .ideas-foot button:hover { background: var(--bg); }
.ideas-items button.on { background: var(--bg); box-shadow: inset 3px 0 0 var(--ink); }
.ideas-foot { border-top: 1px solid #EAEAEB; padding: 8px 10px; display: grid; grid-template-columns: 1fr 1fr; }
.ideas-foot span { color: var(--muted); font-size: 13px; }
.composer-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.vp-toggle { border: 0; background: var(--dark); color: var(--yellow); border-radius: 999px; padding: 12px 20px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
.vp-toggle:hover { background: var(--ink); }
.gen-btn { padding: 15px 30px; font-size: 18px; }
@media (max-width: 760px) { .batch-grid { grid-template-columns: 1fr; } .ideas-menu { grid-template-columns: 1fr; } .ideas-cats { display: flex; overflow-x: auto; border-right: 0; border-bottom: 1px solid #EAEAEB; } }

/* =================================================================
   Brand kit: sticky header, bento logo system, swatches, type
   ================================================================= */
.kit-sentinel { height: 1px; }
.kit-head { position: sticky; top: calc(var(--top-h, 61px) + var(--pb-h, 0px)); z-index: 8; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 18px 0 22px; background: var(--bg); border-bottom: 1px solid var(--line); transition: padding .3s var(--ease); }
.kit-icon { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; transition: width .3s var(--ease), height .3s var(--ease); }
.kit-name { font-size: 46px; letter-spacing: -.035em; margin: 0; line-height: 1; transition: font-size .3s var(--ease); }
.kit-id { gap: 18px; }
.kit-head .eyebrow { margin-bottom: 6px; transition: opacity .2s; }
.kit-head.stuck { padding: 10px 0; }
.kit-head.stuck .kit-icon { width: 40px; height: 40px; }
.kit-head.stuck .kit-name { font-size: 26px; }
.kit-head.stuck .eyebrow { display: none; }
.kit-actions .btn { padding: 14px 24px; font-size: 16px; }
.icon-btn { background: #fff; color: var(--ink); border-color: #fff; box-shadow: 0 0 0 1px #E8E8E9; }
.icon-btn:hover { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.kit-share { margin: 12px 0 0; }
.kit-sec { padding: 56px 0 8px; scroll-margin-top: calc(150px + var(--pb-h, 0px)); }
.sec-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.sec-title { font-size: 44px; letter-spacing: -.035em; margin: 0 0 12px; line-height: 1.05; }
.sec-lede { color: #55595D; font-size: 17px; max-width: 620px; margin: 0; }
.bento { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: 24px; }
.bento .kt-primary { grid-row: span 2; }
.bento3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 24px; }
.kt { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: 28px; border: 1px solid #EAEAEB; overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.kt:hover { transform: translateY(-3px); box-shadow: var(--lift); }
.kt-pv { flex: 1; display: flex; align-items: center; justify-content: center; padding: 36px; min-height: 220px; gap: 28px; }
.kt-pv img { max-width: 100%; max-height: 260px; object-fit: contain; }
.kt-primary .kt-pv { min-height: 520px; }
.kt-primary .kt-pv img { max-height: 560px; width: 80%; }
.kt-dark .kt-pv { background: var(--dark); }
.kt-icon .kt-pv img { width: 170px; border-radius: 22px; }
.fav { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--muted); }
.kt-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 24px 22px; }
.kt-foot strong { font-size: 17px; }
.kt-files { display: flex; gap: 8px; flex-wrap: wrap; }
.fpill { background: #EEEEEF; border-radius: 999px; padding: 8px 14px; font-size: 12px; font-weight: 700; text-decoration: none; letter-spacing: .04em; }
.fpill:hover { background: var(--ink); color: #fff; }
.kt-acts { position: absolute; top: 16px; right: 16px; z-index: 1; display: flex; gap: 8px; }
.all-files { margin-top: 20px; background: #fff; border-radius: 20px; padding: 6px 22px; border: 1px solid #EAEAEB; }
.all-files summary { cursor: pointer; font-weight: 700; padding: 12px 0; }
.all-files ul { list-style: none; padding: 0; margin: 0 0 12px; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 4px 24px; }
.all-files li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid #EEEEEE; font-size: 14px; }
.all-files a { font-weight: 600; }
.swatches { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.swc { background: #fff; border-radius: 22px; overflow: hidden; border: 1px solid #EAEAEB; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.swc:hover { transform: translateY(-3px); box-shadow: var(--lift); }
.swc-color { position: relative; display: block; width: 100%; height: 200px; margin: 0; padding: 0; border: 0; border-radius: 0; cursor: pointer; font: inherit; }
.swc-color input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; }
.swc-badge { position: absolute; top: 12px; left: 12px; background: #fff; border-radius: 999px; padding: 5px 11px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.swc-edit { position: absolute; right: 12px; bottom: 12px; background: rgba(255, 255, 255, .9); color: var(--ink); border-radius: 999px; padding: 5px 12px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; pointer-events: none; }
.swc-edit.on-light { background: var(--dark); color: #fff; }
.swc-body { padding: 16px 18px 18px; }
.swc-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.swc-row .eyebrow { margin: 0; }
.swc-btns { display: flex; gap: 6px; }
.swc-btns .chip-btn { font-size: 10.5px; padding: 5px 9px; letter-spacing: .08em; text-transform: uppercase; background: #EEEEEF; border-color: #EEEEEF; }
.swc-hex { border: 0; background: none; padding: 12px 0 0; cursor: pointer; font-size: 15px; font-weight: 600; }
.swc-hex span { color: var(--muted); font-size: 12px; letter-spacing: .1em; margin-right: 6px; }
.swc-hex:hover { color: var(--muted); }
.swc-empty { display: flex; align-items: center; justify-content: center; min-height: 290px; border: 1.5px dashed #D2D3D5; background: transparent; position: relative; margin: 0; cursor: pointer; text-align: center; padding: 20px; }
.swc-empty input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.kit-links { margin-top: 22px; gap: 16px; }
.type-big { background: #fff; border-radius: 28px; padding: 36px 44px; margin-bottom: 20px; border: 1px solid #EAEAEB; }
.type-h { font-size: clamp(48px, 7vw, 110px); line-height: 1.02; margin: 18px 0 6px; font-weight: 700; letter-spacing: -.02em; overflow-wrap: anywhere; }
.type-b { font-size: 21px; line-height: 1.55; margin: 16px 0 0; max-width: 980px; }
.font-change { display: flex; align-items: center; gap: 10px; margin: 0; }
.font-change select { width: auto; padding: 8px 36px 8px 14px; font-size: 13px; border-radius: 999px; background-color: var(--field); background-position: right 14px center; }
#k-md .md { background: #fff; border-radius: 22px; padding: 24px; border: 1px solid #EAEAEB; max-height: 420px; }
@media (max-width: 1100px) { .bento { grid-template-columns: 1fr; } .bento .kt-primary { grid-row: auto; } .bento3 { grid-template-columns: 1fr 1fr; } .swatches { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .bento3, .swatches { grid-template-columns: 1fr; } .kit-name { font-size: 32px; } .sec-title { font-size: 32px; } .kt-primary .kt-pv { min-height: 300px; } }
.callout-preview { aspect-ratio: 4 / 3; padding: 22px; max-height: 240px; }
.bento3 .kt-pv img { max-height: 180px; max-width: 70%; }
.phase-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.phase-head > div:first-child { flex: 1; min-width: 260px; }
.callout-preview { max-height: 170px; margin: 14px 0 12px; }

/* Font picker: the whole Google Fonts catalog, each font set in your brand name */
.modal.picker { z-index: 40; }
.picker-box { position: relative; max-width: 860px; height: min(92vh, 1000px); padding: 0; display: flex; flex-direction: column; overflow: hidden; animation: pop-in .4s var(--ease); }
.picker-head { padding: 30px 36px 20px; border-bottom: 1px solid #EAEAEB; }
.picker-title { font-size: 26px; letter-spacing: -.02em; margin: 2px 0 18px; padding-right: 40px; }
.picker-x { position: absolute; top: 22px; right: 24px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #EEEEEF; font-size: 22px; line-height: 1; cursor: pointer; }
.picker-x:hover { background: var(--ink); color: #fff; }
.picker-search { margin-bottom: 14px; }
.picker-cats .chip { text-transform: uppercase; letter-spacing: .1em; font-size: 12px; padding: 8px 16px; }
.picker-list { flex: 1; overflow-y: auto; padding: 10px 24px 30px; }
.font-row { display: flex; flex-direction: column; gap: 6px; width: 100%; text-align: left; border: 0; background: none; padding: 16px 12px; border-radius: 16px; cursor: pointer; }
.font-row:hover { background: var(--bg); }
.font-row.on { background: #fffde0; }
.font-row .eyebrow { margin: 0; }
.font-row .eyebrow b { color: var(--ink); }
.font-sample { font-size: 36px; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink); }
.picker-more { min-height: 1px; text-align: center; color: var(--muted); padding: 20px; }
button.type-big { display: block; width: 100%; text-align: left; font: inherit; color: inherit; cursor: pointer; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .25s; }
button.type-big:hover { transform: translateY(-3px); box-shadow: var(--lift); border-color: var(--ink); }
button.type-big .change { margin: 0; }
button.type-big:hover .change { color: var(--ink); }
.tag-soft { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 6px; background: #EEEEEF; color: var(--muted); letter-spacing: .1em; }
.font-btn { width: 100%; text-align: left; background: var(--field); border: 1.5px solid transparent; border-radius: 14px; padding: 12px 18px; font-size: 18px; cursor: pointer; }
.font-btn:hover { border-color: var(--ink); }
@media (max-width: 640px) { .picker-head { padding: 22px 20px 16px; } .picker-list { padding: 8px 10px 24px; } .font-sample { font-size: 28px; } }
.toast { z-index: 60; }

/* Toast: a white card with a check, bottom right */
.toast { left: auto; right: 24px; bottom: 24px; transform: none; display: flex; align-items: center; gap: 12px; background: #fff; color: var(--ink); border-radius: 14px; padding: 14px 22px 14px 16px; min-width: 260px; box-shadow: 0 18px 44px -14px rgba(0, 0, 0, .3), 0 0 0 1px #E8E8E9; font-size: 15px; z-index: 90; }
.toast-icon { width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; flex: none; }
.toast.err .toast-icon { background: #c0392b; }
@keyframes toast-in { from { opacity: 0; transform: translateY(12px); } }

/* Full-screen viewer */
.lightbox { position: fixed; inset: 0; z-index: 80; background: rgba(27, 32, 36, .82); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; padding: 40px 90px; animation: fade-in .25s var(--ease); }
.lb-fig { position: relative; margin: 0; max-width: min(1100px, 100%); animation: pop-in .35s var(--ease); }
.lb-fig img { display: block; max-width: 100%; max-height: calc(100vh - 160px); border-radius: 18px; background: #fff; }
.lb-x { position: absolute; top: -18px; right: -18px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; font-size: 22px; cursor: pointer; box-shadow: 0 6px 18px rgba(0, 0, 0, .3); }
.lb-nav { position: fixed; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 0; background: #fff; font-size: 28px; cursor: pointer; box-shadow: 0 6px 18px rgba(0, 0, 0, .3); }
.lb-nav:hover, .lb-x:hover { background: var(--yellow); }
.lb-nav.prev { left: 22px; } .lb-nav.next { right: 22px; }
.lb-acts { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 14px; color: #F4F3F4; font-size: 14px; }
.lb-acts .chip-btn { display: inline-flex; gap: 6px; align-items: center; text-decoration: none; color: var(--ink); }
.lb-prompt { margin: 12px 0 0; max-height: 26vh; overflow: auto; background: #fff; border-radius: 14px; padding: 16px; font-size: 13px; white-space: pre-wrap; }
@media (max-width: 640px) { .lightbox { padding: 24px 12px; } .lb-nav { top: auto; bottom: 18px; transform: none; } }

/* Logo tiles: More like this with notes, full screen, copy */
.ltile-acts { display: none; }
.ltile-more { position: absolute; top: 12px; right: 12px; left: 12px; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; opacity: 0; transform: translateY(-4px); transition: opacity .25s var(--ease), transform .25s var(--ease); pointer-events: none; }
.ltile-tools { position: absolute; right: 12px; bottom: 12px; display: flex; gap: 8px; opacity: 0; transition: opacity .25s var(--ease); }
.ltile:hover .ltile-more, .ltile:hover .ltile-tools, .ltile.ctx .ltile-more, .ltile:focus-within .ltile-more, .ltile:focus-within .ltile-tools { opacity: 1; transform: none; pointer-events: auto; }
.ltile-more-btn { border: 0; border-radius: 12px; background: var(--dark); color: #fff; padding: 10px 16px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.ltile-more-btn:hover { background: #000; }
.ltile-ctx { display: flex; gap: 6px; width: 100%; background: #fff; border: 2px solid #DDDEDF; border-radius: 12px; padding: 4px 4px 4px 12px; }
.ltile-ctx[hidden] { display: none; }
.ltile-ctx input { flex: 1; border: 0 !important; background: transparent !important; padding: 8px 0 !important; font-size: 14px; min-width: 0; }
.ltile-ctx input:focus { outline: none; }
.sq-btn { width: 42px; height: 42px; border-radius: 12px; border: 0; background: var(--dark); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.sq-btn:hover { background: #000; transform: translateY(-2px); }
.ltile-pick img { cursor: pointer; }

/* Style notes with a paperclip */
.notes-box { flex: 1; min-width: 240px; display: flex; align-items: center; gap: 8px; background: #fff; border: 1.5px solid var(--line); border-radius: 999px; padding: 4px 8px 4px 22px; transition: border-color .25s var(--ease), background-color .25s var(--ease); }
.notes-box:focus-within { border-color: var(--ink); }
.notes-box.over { border-color: var(--ink); background: #fffde8; }
.notes-box input { flex: 1; border: 0 !important; background: transparent !important; padding: 10px 0 !important; min-width: 0; }
.notes-box input:focus { outline: none; }
.clip { margin: 0; width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: var(--muted); }
.clip:hover { background: var(--bg); color: var(--ink); }
.ref-chip { display: inline-flex; align-items: center; gap: 6px; background: var(--bg); border-radius: 999px; padding: 3px 4px 3px 3px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.ref-chip img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
.ref-chip button { border: 0; background: none; cursor: pointer; font-size: 15px; padding: 0 6px; }

/* Image model picker */
.mp { position: relative; }
.mp-btn { display: inline-flex; align-items: center; gap: 10px; border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 12px 18px; font-weight: 600; font-size: 16px; cursor: pointer; }
.mp-btn:hover, .mp.open .mp-btn { border-color: var(--ink); }
.mp.open .chev { transform: rotate(180deg); }
.mp .chev { display: inline-block; transition: transform .25s var(--ease); }
.mp-menu { position: absolute; z-index: 30; top: calc(100% + 10px); right: 0; width: min(560px, calc(100vw - 32px)); background: #fff; border-radius: 22px; padding: 16px 10px 10px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .35), 0 0 0 1px #E8E8E9; animation: pop-in .25s var(--ease); }
.composer .mp-menu { top: auto; bottom: calc(100% + 10px); }
.mp-menu[hidden] { display: none; }
.mp-menu > .eyebrow { margin: 0 14px 8px; }
.mp-opt { display: grid; grid-template-columns: 52px 1fr auto 20px; gap: 14px; align-items: center; width: 100%; text-align: left; border: 0; background: none; border-radius: 16px; padding: 14px; cursor: pointer; }
.mp-opt:hover, .mp-opt.on { background: var(--bg); }
.mp-ico { width: 52px; height: 52px; border-radius: 14px; background: #EEEEEF; display: inline-flex; align-items: center; justify-content: center; }
.mp-text { display: flex; flex-direction: column; gap: 3px; }
.mp-text strong { font-size: 17px; }
.mp-text small { color: var(--muted); font-size: 12.5px; }
.mp-text span { color: var(--ink2, #454A4F); font-size: 14px; }
.mp-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; font-size: 13px; color: var(--muted); white-space: nowrap; }
.mp-meta b { color: var(--ink); }
.mp-meta span { display: inline-flex; align-items: center; gap: 4px; }
.mp-check { color: #1f9a5a; font-weight: 800; font-size: 16px; }
.mp-note { margin: 6px 14px 4px; font-size: 13px; color: #8a6d1f; }

/* Chevrons: drawn, centered with their label, and they flip when open */
.chev { display: inline-block; flex: none; vertical-align: middle; transition: transform .25s var(--ease); }
.mp-btn, .ideas-btn, .vp-toggle { display: inline-flex; align-items: center; gap: 8px; line-height: 1; }
.mp-btn .chev { margin-left: 2px; }
.mp.open .chev, .ideas-btn.open .chev { transform: rotate(180deg); }
.vp-toggle .chev { transform: rotate(180deg); }
.composer.open .vp-toggle .chev { transform: none; }

/* Font Awesome icons */
.check li.ok::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: 9px; line-height: 14px; }
.btn .arr { font-size: .85em; }
.chev { font-size: 11px; }
.small-ico { font-size: .75em; margin-left: 2px; }
.lb-x, .picker-x, .lb-nav { display: inline-flex; align-items: center; justify-content: center; }
.lb-x { font-size: 18px; } .picker-x { font-size: 18px; } .lb-nav { font-size: 20px; }
.toast-icon { font-size: 11px; }
.mp-check { font-size: 15px; }
.mp-ico { font-size: 20px; color: var(--ink2, #454A4F); }
.mp-btn .fa-wand-magic-sparkles { font-size: 15px; }
.round-btn { font-size: 16px; }
.sq-btn { font-size: 15px; }
.clip { font-size: 17px; }
.big-drop .up { font-size: 20px; }
.help-btn { display: inline-flex; align-items: center; justify-content: center; font-size: 12px; }
.ideas-cats button i { opacity: 0; font-size: 12px; align-self: center; }
.ideas-cats button.on i { opacity: 1; }
.shot-pin i, .back i { margin-right: 4px; }
.icon-btn i { font-size: 18px; }
.upload-zone .plus { font-size: 26px; }
.kit-actions .btn i, .sec-head .btn i, .batch-foot .btn i { font-size: .95em; }
.icon-plain { font-size: 18px; }
.sc-x { display: inline-flex; align-items: center; justify-content: center; font-size: 13px; }

/* Tooltips near the top of the window open below, so the sticky header can't cover them */
[data-tip][data-tip-below]::after { bottom: auto; top: calc(100% + 12px); transform: translate(-50%, -4px); }
[data-tip][data-tip-below]::before { bottom: auto; top: calc(100% + 6px); border-top-color: transparent; border-bottom: 6px solid #272D32; border-top: 0; transform: translate(-50%, -4px); }
[data-tip][data-tip-below]:hover::after, [data-tip][data-tip-below]:hover::before, [data-tip][data-tip-below]:focus-visible::after, [data-tip][data-tip-below]:focus-visible::before { transform: translate(-50%, 0); }

/* Dialogs: confirm and text prompts */
.dlg-wrap { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(39, 45, 50, .42); backdrop-filter: blur(3px); animation: fade-in .2s var(--ease); }
.dlg-wrap.out { opacity: 0; transition: opacity .16s ease; }
.dlg { width: min(460px, 100%); background: #fff; border-radius: 32px; padding: 36px 36px 30px; box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .4); animation: pop-in .3s var(--ease); }
.dlg-title { font-size: 26px; line-height: 1.15; letter-spacing: -.02em; font-weight: 800; margin: 0 0 12px; }
.dlg-body { font-size: 17px; line-height: 1.55; color: var(--muted); margin: 0; }
.dlg-input { margin-top: 18px; font-size: 17px; }
.dlg-actions { display: flex; justify-content: flex-end; align-items: center; gap: 10px; margin-top: 30px; }
.dlg-cancel { border: 0; background: none; font: 700 17px/1 Inter, system-ui, sans-serif; color: var(--ink); padding: 16px 22px; border-radius: 999px; cursor: pointer; }
.dlg-cancel:hover { background: var(--bg); }
.dlg-ok { padding: 16px 28px; font-size: 17px; font-weight: 700; background: var(--dark); border-color: var(--dark); }
.dlg-ok.danger { background: #b93a2b; border-color: #b93a2b; }
.dlg-ok.danger:hover { background: #962d21; border-color: #962d21; }
.dlg-ok:focus-visible, .dlg-cancel:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
/* A choice dialog: both answers are buttons, kept on one line each when there's room. */
.dlg.dlg-choice { width: min(640px, 100%); }
.dlg-head { display: flex; align-items: flex-start; gap: 16px; margin: 0 0 12px; }
.dlg-head .dlg-title { flex: 1 1 auto; margin: 0; }
.dlg-x { flex: 0 0 auto; width: 40px; height: 40px; margin: -4px -8px 0 0; border-radius: 50%; border: 1px solid #E6E7E7; background: #fff; color: var(--ink); font-size: 18px; cursor: pointer; display: grid; place-items: center; transition: background .2s var(--ease); }
.dlg-x:hover { background: var(--bg); }
.dlg-x:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
/* Side by side, the two buttons share the full width equally. When either label no longer fits on one line, they wrap
   into a stack, each full width, with the main answer on top (wrap-reverse). */
.dlg-choice .dlg-actions { flex-flow: row wrap-reverse; align-items: stretch; }
.dlg-choice .dlg-actions > .btn { flex: 1 1 0; min-width: max-content; white-space: nowrap; justify-content: center; line-height: 1.3; }
.dlg-choice .dlg-cancel.btn { padding: 16px 28px; font-size: 17px; font-weight: 700; border: 1px solid var(--ink); background: #fff; color: var(--ink); }
.dlg-choice .dlg-cancel.btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
@media (max-width: 480px) { .dlg { padding: 28px 24px 22px; border-radius: 26px; } .dlg-actions { flex-direction: column-reverse; align-items: stretch; } .dlg-ok { justify-content: center; } .dlg-choice .dlg-actions { flex-flow: row wrap-reverse; } .dlg-choice .dlg-actions > .btn { flex-basis: 100%; min-width: 0; white-space: normal; } }

/* Upload my own logo (Logo page): a side card, and a dialog with two boxes, full logo and icon mark. */
.own-logo { margin-top: 20px; padding: 22px; border: 1px solid #E6E7E7; border-radius: 20px; background: #fff; }
.own-logo .eyebrow { margin: 0 0 6px; }
.own-logo p.muted { margin: 0 0 14px; }
.own-logo p.own-icon-note { margin: 16px 0 0; line-height: 1.5; }
.dlg.dlg-own { width: min(720px, 100%); max-height: calc(100vh - 48px); overflow-y: auto; }
.own-grid { display: flex; flex-flow: row wrap; gap: 14px; margin-top: 20px; }
.own-grid .own-drop { flex: 1 1 calc(50% - 7px); min-width: 220px; min-height: 190px; flex-direction: column; }
.own-drop.has { border-style: solid; border-color: #E6E7E7; background: #fff; }
.own-has { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 100%; }
.own-has[hidden], .own-empty[hidden] { display: none; }
.own-has img { max-width: 100%; max-height: 110px; width: auto; height: auto; object-fit: contain; }
.own-name { color: var(--muted); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.own-drop:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
@media (max-width: 480px) { .own-grid .own-drop { min-height: 140px; min-width: 0; flex-basis: 100%; } .own-has img { max-height: 80px; } }

/* A logo sheet: pick the full logo and the icon mark from a file with several logos. */
.dlg.dlg-sheet { width: min(980px, 100%); max-height: calc(100vh - 48px); overflow-y: auto; }
.sheet-grid { display: flex; flex-flow: row wrap; gap: 12px; margin-top: 20px; }
.sheet-tile { flex: 1 1 200px; max-width: 280px; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 12px; border: 1px solid #E6E7E7; border-radius: 16px; background: #fff; position: relative; }
.sheet-tile img { width: 100%; height: 120px; object-fit: contain; border-radius: 10px; background: var(--bg); }
.sheet-tile.on { border-color: var(--ink); box-shadow: 0 0 0 2px var(--ink); }
.sheet-tile.off { opacity: .5; }
.sheet-btns { display: flex; flex-flow: row wrap; gap: 6px; justify-content: center; }
.sheet-btns .chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.sheet-badge { position: absolute; top: 18px; left: 18px; padding: 4px 10px; border-radius: 999px; background: var(--ink); color: #fff; font: 700 11px/1.2 Inter, system-ui, sans-serif; letter-spacing: .04em; text-transform: uppercase; }
.sheet-badge[hidden] { display: none; }
@media (max-width: 480px) { .sheet-tile { flex-basis: calc(50% - 6px); max-width: none; padding: 8px; } .sheet-tile img { height: 80px; } .sheet-btns .chip { padding: 6px 10px; font-size: 13px; } }

/* My icon colors (Brand kit, Thumbnail, Edit colors). */
.ie-pv { display: flex; flex-flow: row wrap; align-items: flex-end; gap: 18px; padding: 20px; border-radius: 16px; background: var(--bg); }
.ie-big { flex: 0 0 100%; display: flex; justify-content: center; }
.ie-small { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.ie-small:last-of-type svg { background: #fff; padding: 6px; border-radius: 6px; box-sizing: content-box; }
.ie-warn { flex: 0 0 100%; margin: 0; color: #b93a2b; font-size: 14px; }
.ie-warn.soft { color: #8a6d1f; }
#ie-parts .part-row, #ie-bg .chips { margin-bottom: 10px; }
#ie-parts .part-row { display: flex; flex-flow: row wrap; gap: 8px; align-items: center; }
#ie-parts .part-row .mono { flex: 0 0 100%; }
.swatch-chip { font-size: 12px; }

/* Stationery colors: which brand color plays each color role in a piece. */
.st-colors { display: flex; flex-flow: row wrap; align-items: center; gap: 8px; margin: 14px 0 0; }
.st-colors-label { font-weight: 700; font-size: 14px; margin-right: 4px; }
.st-color { position: relative; }
.st-color summary { list-style: none; display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border: 1px solid #DFE0E1; border-radius: 999px; background: #fff; cursor: pointer; font-size: 14px; font-weight: 600; }
.st-color summary::-webkit-details-marker { display: none; }
.st-color summary small { color: #7F8386; font-weight: 500; }
.st-color summary .dot { width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.st-color[open] summary { border-color: var(--ink); }
.st-color-menu { position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; display: flex; flex-flow: row wrap; gap: 8px; align-items: center; width: 248px; padding: 12px; background: #fff; border-radius: 14px; box-shadow: 0 16px 40px -12px rgba(0,0,0,.3); }
.st-sw { width: 30px; height: 30px; border-radius: 50%; border: 0; cursor: pointer; box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.st-sw.on { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--ink); }
.st-color-menu input[type=color] { width: 30px; height: 30px; padding: 0; border: 0; background: none; }
.st-color-menu .linkbtn { flex: 0 0 100%; text-align: left; }

/* Mood board viewer */
.board-viewer .bv-stage { display: flex; flex-direction: column; align-items: center; gap: 18px; max-width: min(1240px, 100%); }
.bv-card { position: relative; margin: 0; background: #fff; border-radius: 28px; padding: 28px; animation: pop-in .35s var(--ease); }
.bv-card img { display: block; max-width: 100%; max-height: calc(100vh - 220px); border-radius: 10px; }
.bv-card .lb-x { top: -16px; right: -16px; }
.bv-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; background: #272D32; color: #fff; border-radius: 18px; padding: 10px 16px 10px 10px; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .5); }
.bv-bar strong { font-size: 15px; margin: 0 4px; }
.bv-tag { background: rgba(255, 255, 255, .14); border-radius: 999px; padding: 5px 12px; font-size: 13px; font-weight: 600; }
.bv-added, .bv-add { display: inline-flex; align-items: center; gap: 6px; border: 0; border-radius: 999px; padding: 8px 14px; font: 700 12px/1 Inter, system-ui, sans-serif; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; transition: background-color .2s ease, transform .2s ease; }
.bv-added { background: var(--coral); color: #fff; }
.bv-added:hover { background: #d9553f; }
.bv-added .lbl-off, .bv-added:hover .lbl-on { display: none; }
.bv-added:hover .lbl-off { display: inline; }
.bv-add { background: #fff; color: var(--ink); }
.bv-add:hover:not([disabled]) { background: var(--yellow); transform: translateY(-1px); }
.bv-add[disabled] { opacity: .5; cursor: not-allowed; }
@media (max-width: 640px) { .bv-card { padding: 12px; border-radius: 20px; } .bv-card img { max-height: calc(100vh - 260px); } }

/* Logo tiles: clip the image, not the tile, so tooltips can extend past the edge */
.ltile { overflow: visible; }
.ltile:hover, .ltile:focus-within, .ltile.ctx { z-index: 3; }
.ltile-pick { border-radius: 20px; overflow: hidden; }
.ltile.on .ltile-pick { border-radius: 19px; }
.ltile-badge { z-index: 1; }
/* Tile buttons: tooltips open toward the inside of the tile */
.ltile-more [data-tip]::after { bottom: auto; top: calc(100% + 12px); }
.ltile-more [data-tip]::before { bottom: auto; top: calc(100% + 6px); border-top: 0; border-bottom: 6px solid #272D32; }
.ltile-tools [data-tip]::after { left: auto; right: 0; transform: translate(0, 4px); }
.ltile-tools [data-tip]:hover::after, .ltile-tools [data-tip]:focus-visible::after { transform: translate(0, 0); }
.ltile-more [data-tip]::after { left: auto; right: 0; transform: translate(0, -4px); }
.ltile-more [data-tip]::before { left: auto; right: 22px; transform: translate(0, -4px); }
.ltile-more [data-tip]:hover::after, .ltile-more [data-tip]:hover::before, .ltile-more [data-tip]:focus-visible::after { transform: translate(0, 0); }
.ltile-tools [data-tip]::before { left: 50%; }
/* Context box under More like this: a light field like the style notes */
.ltile-ctx { background: rgba(255, 255, 255, .96); border: 2px solid #D5D6D7; box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .25); animation: pop-in .2s var(--ease); }
.ltile-ctx:focus-within { border-color: var(--ink); }
/* While the note box is open, the full screen and copy buttons step aside so they never cover it (small tiles on phones). */
.ltile.ctx .ltile-tools, .ltile.ctx:focus-within .ltile-tools { opacity: 0; pointer-events: none; }
.ltile-more-btn { white-space: nowrap; }
@media (max-width: 560px) { .ltile-more { top: 8px; right: 8px; left: 8px; } .ltile-more-btn { padding: 8px 10px; font-size: 11px; letter-spacing: .04em; } .ltile-ctx { padding-left: 8px; } .ltile-ctx .btn { padding: 6px 10px; } }
.ltile-ctx .btn { flex: 0 0 auto; padding: 6px 14px; border-radius: 9px; font-size: 13px; font-weight: 700; background: var(--dark); border-color: var(--dark); } /* Go: the only way, with Enter, to start a batch from here */
.ltile-more { pointer-events: none; }
.ltile:hover .ltile-more > *, .ltile.ctx .ltile-more > *, .ltile:focus-within .ltile-more > * { pointer-events: auto; }

/* Image model menu: compact, like the reference */
.mp-menu { width: min(360px, calc(100vw - 32px)); border-radius: 20px; padding: 14px 8px 8px; box-shadow: 0 24px 50px -18px rgba(0, 0, 0, .28), 0 0 0 1px #E5E6E6; }
.mp-menu > .eyebrow { margin: 2px 14px 8px; font-size: 11px; font-weight: 600; letter-spacing: .08em; color: #9A9C9F; }
.mp-opt { grid-template-columns: 40px 1fr auto 16px; gap: 12px; padding: 12px; border-radius: 14px; }
.mp-opt:hover { background: #F5F6F6; }
.mp-opt.on { background: #EFF0F0; }
.mp-ico { width: 40px; height: 40px; border-radius: 11px; font-size: 16px; background: #EFF0F0; }
.mp-opt.on .mp-ico { background: #E3E3E4; }
.mp-text { gap: 2px; }
.mp-text strong { font-size: 15px; }
.mp-text small { font-size: 11px; color: #929598; }
.mp-text span { font-size: 13px; line-height: 1.4; color: var(--muted); margin-top: 2px; }
.mp-meta { gap: 6px; font-size: 12px; color: #828588; }
.mp-meta b { font-weight: 700; color: var(--muted); }
.mp-cost { display: inline-flex; align-items: center; gap: 5px; }
.mp-cost .spark { color: #c8b400; font-size: 11px; }
.mp-meta i.fa-clock { font-size: 11px; }
.mp-check { font-size: 13px; }
.mp-menu { left: 0; right: auto; }
.composer .mp-menu { left: auto; right: 0; }
.mp-cost .spark { font-size: 10px; }
.mp.open .mp-btn { box-shadow: 0 0 0 4px #EBECEC; }

/* Logo batches: one batch of nine per page */
.batch-meta { display: flex; flex-direction: column; gap: 4px; margin-top: 4px; }
.batch-meta strong { font-size: 15px; }
.batch-meta span { font-size: 13px; color: #828588; }
.batch-meta b { color: var(--ink2, #454A4F); font-weight: 600; }
.pager { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; margin-top: 28px; }
.pager-mid { display: flex; align-items: center; gap: 22px; }
.pager-label { font-weight: 700; font-size: 16px; white-space: nowrap; }
.pager-btn, .pager-del { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--ink); background: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; font-size: 14px; }
.pager-btn:hover:not([disabled]) { background: var(--ink); color: #fff; }
.pager-btn[disabled] { border-color: #D6D7D8; color: #BCBEC0; cursor: default; }
.pager-del { justify-self: end; border-color: #D2D3D4; color: var(--ink2, #454A4F); font-size: 16px; }
.pager-del:hover { border-color: #b93a2b; color: #b93a2b; }

/* A batch still being drawn: its own page of shimmering placeholders */
.ltile.pending { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; background: linear-gradient(100deg, #F1F1F2 30%, #fbfaf8 50%, #F1F1F2 70%) 0 0 / 300% 100%; border-color: #E9EAEA; animation: shimmer 1.4s linear infinite; }
.ltile.pending:hover { transform: none; box-shadow: none; }
.ltile.pending span { font-size: 13px; font-weight: 600; color: #929598; }
.pager-del[disabled] { opacity: .35; cursor: default; }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -50% 0; } }
@media (prefers-reduced-motion: reduce) { .ltile.pending { animation: none; } }

/* Callout buttons: space between stacked buttons; preview spans the full width */
.callout .btn.block + .btn.block, .callout .btn.block + .row.two { margin-top: 12px; }
.callout-preview { width: 100%; aspect-ratio: auto; height: 190px; max-height: none; }

/* Exploration details */
.ideas-cats .cat { display: inline-flex; align-items: center; gap: 12px; }
.ideas-cats .cat-ico { opacity: .55 !important; width: 16px; text-align: center; font-size: 14px; }
.ideas-cats button.on .cat-ico { opacity: .9 !important; }
.colors-chip { display: inline-flex; align-items: center; gap: 5px; background: var(--pink); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; padding: 6px 10px; }
.colors-chip i { width: 11px; height: 11px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12); }
.count-pick { position: relative; display: inline-flex; align-items: center; margin: 0; font-weight: 400; }
.count-pick > i { position: absolute; left: 16px; pointer-events: none; font-size: 13px; }
.count-pick select { padding-left: 40px !important; }
.ideas-cats button span.cat { opacity: 1; }
.ideas-cats button > i.fa-chevron-right { opacity: 0; }
.ideas-cats button.on > i.fa-chevron-right { opacity: 1; }

/* Model / count picker icons */
.mp-cur-ico { display: inline-flex; font-size: 15px; }
.mp-ico .fa-google, .mp-cur-ico .fa-google { color: #4285f4; }
.cnt-ico { display: inline-flex; gap: 2px; align-items: center; }
.cnt-ico i { width: 5px; height: 13px; border: 1.6px solid currentColor; border-radius: 2px; }
.cnt-ico.n1 i { width: 12px; height: 12px; }
.cp-menu { width: min(300px, calc(100vw - 32px)); }
.composer .cp-menu { right: 0; left: auto; }

/* Exploration image hover: More like this (top right), Extract (center) */
.shot-pill { position: absolute; z-index: 2; border: 0; cursor: pointer; background: var(--dark); color: #fff; font: 700 12px/1 Inter, system-ui, sans-serif; letter-spacing: .12em; text-transform: uppercase; opacity: 0; transition: opacity .25s var(--ease), transform .25s var(--ease), background-color .2s; }
.shot-pill.more { top: 12px; right: 12px; padding: 11px 14px; border-radius: 12px; transform: translateY(-4px); }
.shot-pill.extract { top: 50%; left: 50%; transform: translate(-50%, -40%); padding: 18px 30px; border-radius: 999px; font-size: 15px; color: var(--yellow); display: inline-flex; gap: 12px; align-items: center; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .5); }
.shot:hover .shot-pill, .shot:focus-within .shot-pill { opacity: 1; }
.shot:hover .shot-pill.more { transform: none; }
.shot:hover .shot-pill.extract { transform: translate(-50%, -50%); }
.shot-pill:hover { background: #000; }
.shot-menu { right: auto; left: 12px; }

/* Extract editor */
.xt { position: fixed; inset: 0; z-index: 70; display: grid; grid-template-columns: 1fr 320px; background: rgba(27, 32, 36, .78); animation: fade-in .25s var(--ease); }
.xt-stage { display: flex; align-items: center; justify-content: center; padding: 28px; min-width: 0; min-height: 0; }
.xt-canvas { position: relative; max-height: 100%; cursor: crosshair; user-select: none; touch-action: none; animation: pop-in .35s var(--ease); }
.xt-canvas img { display: block; max-width: 100%; max-height: calc(100vh - 56px); border-radius: 12px; pointer-events: none; }
.xt-layer { position: absolute; inset: 0; }
.xt-hint { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); background: rgba(39, 45, 50, .7); color: #fff; padding: 8px 14px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; pointer-events: none; }
.xt-box { position: absolute; border: 2px solid var(--coral); background: rgba(242, 112, 90, .12); box-shadow: 0 0 0 9999px rgba(27, 32, 36, .28); cursor: move; }
.xt-box + .xt-box { box-shadow: none; }
.xt-box.on { background: rgba(242, 112, 90, .18); }
.xt-num { position: absolute; top: 4px; left: 4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 4px; background: var(--coral); color: #fff; font-size: 11px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.xt-h { position: absolute; width: 10px; height: 10px; background: #fff; border: 2px solid var(--coral); border-radius: 2px; transform: translate(-50%, -50%); }
.xt-h.nw { left: 0; top: 0; cursor: nwse-resize; } .xt-h.n { left: 50%; top: 0; cursor: ns-resize; } .xt-h.ne { left: 100%; top: 0; cursor: nesw-resize; }
.xt-h.e { left: 100%; top: 50%; cursor: ew-resize; } .xt-h.se { left: 100%; top: 100%; cursor: nwse-resize; } .xt-h.s { left: 50%; top: 100%; cursor: ns-resize; }
.xt-h.sw { left: 0; top: 100%; cursor: nesw-resize; } .xt-h.w { left: 0; top: 50%; cursor: ew-resize; }
.xt-pop { position: absolute; z-index: 3; transform: translateX(-50%); width: 280px; background: #fff; border-radius: 16px; padding: 12px; box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .45); cursor: default; display: grid; gap: 10px; }
.xt-pop textarea { min-height: 0; font-size: 14px; padding: 10px 12px; background: #fff; border: 1.5px solid #E0E0E1; }
.xt-svg { display: flex; align-items: center; gap: 8px; margin: 0; border: 1.5px solid #E0E0E1; border-radius: 10px; padding: 8px 10px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.xt-svg span { margin-left: auto; color: var(--muted); letter-spacing: 0; text-transform: none; font-weight: 600; }
.xt-remove { border: 0; background: none; color: #b93a2b; font: 700 11px/1 Inter, system-ui, sans-serif; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; padding: 6px 0; }
.xt-panel { background: #1c1a19; color: #E4E4E5; padding: 28px 24px; display: flex; flex-direction: column; overflow-y: auto; }
.xt-title { margin: 0 0 18px; color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.xt-steps { margin: 0; padding-left: 18px; display: grid; gap: 12px; font-size: 14px; line-height: 1.5; color: #C2C4C6; }
.xt-count { margin: 22px 0 0; border: 1px solid #32383C; border-radius: 10px; padding: 12px 14px; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #fff; }
.xt-panel .grow { flex: 1; min-height: 24px; }
.xt-model { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.xt-model > span { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.xt-model .mp-btn { padding: 9px 14px; font-size: 15px; }
.xt-model .mp-menu { top: auto; bottom: calc(100% + 10px); right: 0; left: auto; color: var(--ink); }
.xt-go { background: var(--yellow); border-color: var(--yellow); color: var(--ink); font-size: 13px !important; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; padding: 16px !important; }
.xt-go:hover:not([disabled]) { background: #C8F07A; border-color: #C8F07A; }
.xt-go[disabled] { background: #6b6a3c !important; border-color: #6b6a3c !important; color: #2a2a1c !important; }
.xt-cancel { margin-top: 14px; border: 0; background: none; color: #fff; font: 800 12px/1 Inter, system-ui, sans-serif; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; padding: 10px; }
.xt-cancel:hover { color: var(--yellow); }
@media (max-width: 860px) { .xt { grid-template-columns: 1fr; grid-template-rows: 1fr auto; } .xt-panel { max-height: 45vh; } .xt-canvas img { max-height: 50vh; } }
.xt-model .mp-btn { color: var(--ink); background: #fff; border-color: #fff; }

/* Ideas menu: the list scrolls, Random / Ideas for my brand stay pinned at the bottom */
.ideas-menu { grid-template-rows: minmax(0, 1fr); max-height: min(70vh, 640px); }
.ideas-cats { min-height: 0; }
.ideas-list { min-height: 0; overflow: hidden; display: flex; flex-direction: column; }
.ideas-items { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.ideas-foot { flex: none; background: #fff; box-shadow: 0 -10px 18px -14px rgba(0, 0, 0, .25); position: relative; z-index: 1; }
.ideas-cats .cat-ico { opacity: .7 !important; width: 20px; height: 20px; flex: none; }
.ideas-cats button.on .cat-ico { opacity: 1 !important; }
.ideas-cats button { align-items: center; }

/* Pop-up menus fade and lift in, and fade out */
.mp-menu, .ideas-menu, .shot-menu .menu { opacity: 0; transform: translateY(8px) scale(.98); transform-origin: bottom center; transition: opacity .18s var(--ease), transform .22s var(--ease); animation: none !important; }
.mp-menu:not(.composer .mp-menu):not(.xt-model .mp-menu) { transform-origin: top left; transform: translateY(-8px) scale(.98); }
.shot-menu .menu { transform-origin: top left; transform: translateY(-6px) scale(.98); }
.mp-menu.in, .ideas-menu.in, .shot-menu .menu.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .mp-menu, .ideas-menu, .shot-menu .menu { transition: none; } }

/* Visual prompt panel: slides open and closed */
.ref-row { display: flex !important; max-height: 0; opacity: 0; padding-top: 0; padding-bottom: 0; margin-bottom: 0; border-bottom-color: transparent; overflow-y: hidden;
  transition: max-height .38s var(--ease), opacity .25s var(--ease), padding .38s var(--ease), margin .38s var(--ease), border-color .3s var(--ease); }
.composer.open .ref-row { max-height: 170px; opacity: 1; padding-top: 2px; padding-bottom: 16px; margin-bottom: 8px; border-bottom-color: #EAEAEB; }
.ref-row .ref-tile { transition: transform .38s var(--ease), border-color .25s var(--ease), opacity .25s var(--ease); }
.composer:not(.open) .ref-row .ref-tile { transform: translateY(10px); }
@media (prefers-reduced-motion: reduce) { .ref-row, .ref-row .ref-tile { transition: none; } }

/* ---------- Exploration: help button only while the visual prompt is open ---------- */
.composer .help-btn { transition: opacity .25s var(--ease), transform .3s var(--ease); }
.composer:not(.open) .help-btn { opacity: 0; transform: scale(.85); pointer-events: none; visibility: hidden; transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s .2s; }

/* ---------- Exploration: image slots ---------- */
button.ref-tile { font-family: inherit; }
.slot-tile { padding: 0; overflow: hidden; border-color: var(--ink); }
.slot-img { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 10px 10px 30px; background: #fff; }
.slot-img img { max-width: 100%; max-height: 100%; object-fit: contain; transition: transform .35s var(--ease); }
.slot-tile:hover .slot-img img { transform: scale(1.04); }
.slot-label { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 6px 7px; text-align: center; font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #fff; background: linear-gradient(to bottom, rgba(39, 45, 50, 0), rgba(39, 45, 50, .82)); pointer-events: none; }
.ref-tile.picking { border-color: var(--ink); border-style: solid; color: var(--ink); box-shadow: 0 0 0 3px rgba(39, 45, 50, .08); }
.slot-x { position: absolute; top: 7px; right: 7px; z-index: 2; width: 24px; height: 24px; border: 0; border-radius: 50%; background: rgba(39, 45, 50, .78); color: #fff; font-size: 11px; display: grid; place-items: center; cursor: pointer; opacity: .9; transition: background .2s var(--ease), transform .2s var(--ease); }
.slot-x:hover { background: var(--ink); transform: scale(1.08); }

.slot-pop { position: absolute; z-index: 22; width: 340px; max-width: calc(100vw - 48px); background: #fff; border-radius: 16px; padding: 14px; box-shadow: 0 24px 50px -18px rgba(0, 0, 0, .35), 0 0 0 1px #E8E8E9;
  opacity: 0; transform: translateY(8px) scale(.98); transform-origin: bottom left; transition: opacity .18s var(--ease), transform .22s var(--ease); }
.slot-pop.in { opacity: 1; transform: none; }
.slot-pop[hidden] { display: none; }
.slot-pop-h { margin: 0 0 10px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.slot-pop-sub { margin: 14px 0 8px; font-size: 12px; color: var(--muted); }
.slot-pop-h + .slot-pop-sub { margin-top: 0; }
.slot-attach { display: flex; align-items: center; justify-content: center; gap: 8px; height: 46px; border: 1.5px dashed #D0D2D3; border-radius: 12px; font-size: 14px; font-weight: 600; cursor: pointer; transition: border-color .2s var(--ease), background .2s var(--ease); }
.slot-attach:hover { border-color: var(--ink); background: var(--bg); }
.slot-favs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; max-height: 240px; overflow-y: auto; padding: 2px; }
.slot-fav { position: relative; aspect-ratio: 1; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: #EFF0F0; cursor: pointer; transition: border-color .2s var(--ease), transform .2s var(--ease); }
.slot-fav img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slot-fav:hover:not(:disabled) { border-color: #C5C6C8; transform: translateY(-1px); }
.slot-fav.on { border-color: var(--ink); cursor: default; }
.slot-check { position: absolute; top: 5px; right: 5px; width: 20px; height: 20px; border-radius: 5px; background: var(--ink); color: var(--yellow); font-size: 11px; display: grid; place-items: center; }
.slot-pop-empty { margin: 12px 0 2px; font-size: 13px; color: var(--muted); }
.slot-remove { width: 100%; margin-top: 12px; justify-content: center; letter-spacing: .12em; text-transform: uppercase; font-size: 12px; font-weight: 700; }
@media (prefers-reduced-motion: reduce) { .slot-pop, .composer .help-btn { transition: none; } }

/* ---------- Exploration: the batch being drawn ---------- */
.pending-card { animation: pend-in .5s var(--ease) both; }
@keyframes pend-in { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }
.shot-wait { aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; color: var(--muted);
  background: linear-gradient(115deg, #ecebe9 20%, #f6f5f3 40%, #ecebe9 60%) 0 0 / 300% 100%; animation: shimmer 2.6s linear infinite; animation-delay: var(--d, 0s); }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -200% 0; } }
/* The AI star spins nonstop. Each pass it draws its outline, fills solid, empties, then erases;
   the color flips between the brand color and gray at the end of each pass, while the star is hidden. */
.ai-star { --star: #d4553d; --star-off: #838789; width: 44px; height: 44px; overflow: visible; animation: star-spin 3.2s linear infinite; animation-delay: var(--d, 0s); filter: drop-shadow(0 4px 10px rgba(39, 45, 50, .18)); }
.ai-star path { color: var(--star); fill: currentColor; stroke: currentColor; stroke-width: 1.1; stroke-linejoin: miter; stroke-miterlimit: 4;
  stroke-dasharray: 1 1; stroke-dashoffset: 0; fill-opacity: 1;
  animation: star-draw 3.6s ease-in-out infinite, star-tone 7.2s linear infinite; animation-delay: var(--d, 0s), var(--d, 0s); }
@keyframes star-spin { to { transform: rotate(360deg); } }
@keyframes star-draw {
  0% { stroke-dashoffset: 1; fill-opacity: 0; }
  32% { stroke-dashoffset: 0; fill-opacity: 0; }
  46% { stroke-dashoffset: 0; fill-opacity: 1; }
  70% { stroke-dashoffset: 0; fill-opacity: 1; }
  84% { stroke-dashoffset: 0; fill-opacity: 0; }
  100% { stroke-dashoffset: -1; fill-opacity: 0; }
}
@keyframes star-tone { 0%, 49.9% { color: var(--star); } 50%, 99.9% { color: var(--star-off); } 100% { color: var(--star); } }
.wait-note { font-size: 15px; }
.wait-tag { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.shot-in img { animation: shot-in .6s var(--ease) both; }
@keyframes shot-in { from { opacity: 0; transform: scale(1.03); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
.stop-btn { display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 999px; padding: 10px 18px; background: #fbe9e6; color: #c8372a; font: inherit; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; transition: background .2s var(--ease), transform .2s var(--ease); }
.stop-btn .fa-square { font-size: 9px; }
.stop-btn:hover { background: #f7d6d0; transform: translateY(-1px); }
.stop-btn:disabled { opacity: .6; cursor: default; transform: none; }
@media (prefers-reduced-motion: reduce) { .shot-wait, .ai-star, .ai-star path, .pending-card, .shot-in img { animation: none; } }
.pending-card { scroll-margin-top: calc(96px + var(--pb-h, 0px)); }

/* ---------- Tooltips: one floating bubble (app.js), never clipped by a card ---------- */
[data-tip]::after, [data-tip]::before { content: none !important; display: none !important; }
.tip-pop { position: fixed; z-index: 1000; max-width: 280px; padding: 10px 14px; border-radius: 10px; background: #272D32; color: #fff;
  font: 600 14px/1.35 Inter, system-ui, sans-serif; text-align: center; letter-spacing: 0; text-transform: none; pointer-events: none;
  opacity: 0; transform: translateY(4px); transition: opacity .18s var(--ease), transform .22s var(--ease); box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .4); }
.tip-pop.below { transform: translateY(-4px); }
.tip-pop.in { opacity: 1; transform: none; }
.tip-pop::after { content: ""; position: absolute; left: var(--ax, 50%); top: 100%; transform: translateX(-50%); border: 6px solid transparent; border-top-color: #272D32; border-bottom: 0; }
.tip-pop.below::after { top: auto; bottom: 100%; border-top: 0; border-bottom: 6px solid #272D32; }
@media (prefers-reduced-motion: reduce) { .tip-pop { transition: none; } }

/* ---------- Asset cards (Extracted assets, Imagery) ---------- */
.acards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.acard { background: #fff; border: 1px solid #E8E8E9; border-radius: 26px; padding: 10px; transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.acard:hover { box-shadow: 0 18px 40px -22px rgba(6, 39, 44, .35); transform: translateY(-2px); }
.acard-img { position: relative; border-radius: 18px; overflow: hidden; background: #F2F3F3; }
.acard-img img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; cursor: zoom-in; transition: transform .6s var(--ease); }
.acard:hover .acard-img img { transform: scale(1.03); }
.acard-add { position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(39, 45, 50, .72); color: #fff; font-size: 13px; display: grid; place-items: center; cursor: pointer; backdrop-filter: blur(4px); transition: background .2s var(--ease), transform .2s var(--ease); }
.acard-add:hover { background: var(--ink); transform: scale(1.08); }
.acard-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 14px 6px 6px 12px; }
.acard-name { font-size: 15px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.acard-acts { display: flex; align-items: center; gap: 8px; flex: none; }
.acard-pill { display: inline-flex; align-items: center; height: 34px; padding: 0 13px; border-radius: 999px; background: #EDEDEE; color: var(--ink); font-size: 13px; font-weight: 700; text-decoration: none; transition: background .2s var(--ease); }
.acard-pill:hover { background: #E0E0E1; }
.acard-more { position: relative; }
.acard-dots { width: 34px; height: 34px; border-radius: 50%; border: 1px solid #E6E7E7; background: #fff; color: var(--ink); cursor: pointer; display: grid; place-items: center; transition: background .2s var(--ease); }
.acard-dots:hover { background: var(--bg); }
.acard-menu { top: auto; bottom: calc(100% + 10px); right: -6px; min-width: 260px; opacity: 0; transform: translateY(6px) scale(.98); transform-origin: bottom right; transition: opacity .18s var(--ease), transform .22s var(--ease); z-index: 30; }
.acard-menu.in { opacity: 1; transform: none; }
.acard-menu > a, .acard-menu > button { font-size: 15px; font-family: inherit; }
.acard-menu .muted { font-size: 12px; font-weight: 600; }
.acard-menu hr { border: 0; border-top: 1px solid #EAEAEB; margin: 4px 6px; padding: 0; }
.acard-menu .danger { color: #c8372a; font-weight: 600; }
.acard-menu .danger:hover { background: #fbe9e6; }
.signout { margin-left: 14px; font-size: 13px; font-weight: 600; color: var(--muted); text-decoration: none; transition: color .2s var(--ease); } .signout:hover { color: var(--ink); }

/* ---------- Logo: Ready to lock panel (sized to the mockup) ---------- */
.lockcall { padding: 30px 32px 32px; border-radius: 30px; }
.lockcall .eyebrow { font-size: 11px; font-weight: 500; letter-spacing: .2em; color: rgba(255, 255, 255, .85); margin: 0 0 14px; }
.lockcall h3 { font-size: 22px; line-height: 1.2; letter-spacing: -.02em; font-weight: 800; margin: 0 0 10px; }
.lockcall > p:not(.eyebrow) { font-size: 15px; line-height: 1.45; color: rgba(255, 255, 255, .9); margin: 0 0 30px; }
.lockcall .lock-q { margin: 0 0 12px; }
.intent-opts { display: grid; gap: 9px; margin-bottom: 18px; }
.intent-opt { position: relative; display: grid; gap: 3px; padding: 13px 16px 14px; border-radius: 17px; cursor: pointer; margin: 0;
  background: rgba(255, 255, 255, .14); border: 1.5px solid rgba(255, 255, 255, .35); color: #fff;
  transition: background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease); }
.intent-opt input { position: absolute; opacity: 0; pointer-events: none; }
.intent-opt strong { font-size: 15.5px; line-height: 1.25; letter-spacing: -.01em; font-weight: 700; }
.intent-opt span { font-size: 11.5px; font-weight: 400; line-height: 1.35; color: rgba(255, 255, 255, .86); transition: color .25s var(--ease); }
.intent-opt:hover { background: rgba(255, 255, 255, .22); border-color: rgba(255, 255, 255, .6); }
.intent-opt:has(input:checked) { background: #F8F9F9; border-color: #F8F9F9; color: var(--ink); }
.intent-opt:has(input:checked) span { color: var(--muted); }
.intent-opt:has(input:focus-visible) { outline: 2px solid #fff; outline-offset: 3px; }
.callout .btn.lock-go { background: var(--ink); border-color: var(--ink); color: #fff; padding: 15px 20px; font-size: 15.5px; font-weight: 700; gap: 10px; }
.callout .btn.lock-go:hover { background: #000; border-color: #000; transform: translateY(-1px); }
.btn.lock-go .cost { background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); color: #fff; font-size: 12px; padding: 2px 9px; }
.callout.lockcall .btn.lock-go[disabled] { background: #4D5257; border-color: #4D5257; color: #E1E2E3; }
@media (prefers-reduced-motion: reduce) { .intent-opt { transition: none; } }

/* ---------- Page width: wider content, like Branda ---------- */
main { max-width: 1640px; padding-left: 40px; padding-right: 40px; }
.layout { gap: 72px; grid-template-columns: minmax(320px, 400px) minmax(0, 1fr); }
@media (max-width: 1000px) { main { padding-left: 24px; padding-right: 24px; } }
@media (max-width: 640px) { main { padding-left: 16px; padding-right: 16px; } }
@media (max-width: 1000px) { .layout { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Exploration: Pick colors tile and the brand color picker ---------- */
.ref-tile.pick-colors { border: 2px dashed #CFD0D2; font-family: inherit; color: var(--ink); gap: 6px; justify-content: center; padding: 10px 8px; }
.ref-tile.pick-colors:hover { border-color: var(--ink); border-style: solid; }
.pick-dots { display: flex; gap: 3px; }
.pick-dots i { width: 13px; height: 13px; border-radius: 50%; background: conic-gradient(from 0deg, #f2545b, #f7b733, #3ccf91, #3d8bfd, #b05cf5, #f2545b); opacity: .9; }
.pick-dots i:nth-child(2) { filter: hue-rotate(70deg); } .pick-dots i:nth-child(3) { filter: hue-rotate(140deg); } .pick-dots i:nth-child(4) { filter: hue-rotate(210deg); } .pick-dots i:nth-child(5) { filter: hue-rotate(280deg); }
.pick-cta { font-size: 12.5px; font-weight: 700; display: inline-flex; gap: 6px; align-items: center; }

.pal-dlg { width: min(560px, 100%); padding: 30px 30px 24px; max-height: calc(100vh - 48px); overflow-y: auto; }
.pal-head { display: flex; justify-content: space-between; align-items: center; }
.pal-head .dlg-title { margin: 0; font-size: 24px; }
.pal-x { width: 36px; height: 36px; border-radius: 50%; border: 1px solid #E6E7E7; background: #fff; cursor: pointer; display: grid; place-items: center; transition: background .2s var(--ease); }
.pal-x:hover { background: var(--bg); }
.pal-sub { color: var(--muted); font-size: 15px; margin: 8px 0 18px; }
.pal-roles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-bottom: 18px; }
.pal-role { display: grid; gap: 6px; justify-items: center; padding: 8px 4px 10px; border: 2px solid transparent; border-radius: 16px; background: #F4F3F4; cursor: pointer; font-family: inherit; transition: border-color .2s var(--ease), background .2s var(--ease); }
.pal-role:hover { background: #EEEEEE; }
.pal-role.on { border-color: var(--ink); background: #fff; }
.pal-chip { width: 100%; aspect-ratio: 1.4; border-radius: 10px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
.pal-chip.empty { background: repeating-linear-gradient(45deg, #fff 0 6px, #E9EAEA 6px 12px) !important; }
.pal-name { font-size: 12px; font-weight: 700; }
.pal-hex { font-size: 11px; color: var(--muted); letter-spacing: .02em; }
.pal-picker { display: grid; grid-template-columns: minmax(0, 1fr) 200px; gap: 16px; align-items: stretch; }
.pal-sv { position: relative; height: 170px; border-radius: 14px; cursor: crosshair; touch-action: none; outline: none;
  background: linear-gradient(to top, #000, transparent), linear-gradient(to right, #fff, var(--hue, red)); }
.pal-sv:focus-visible { box-shadow: 0 0 0 3px rgba(39, 45, 50, .25); }
.pal-knob { position: absolute; width: 18px; height: 18px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .45); transform: translate(-50%, -50%); pointer-events: none; }
.pal-side { display: flex; flex-direction: column; justify-content: space-between; gap: 14px; }
.pal-hue { -webkit-appearance: none; appearance: none; width: 100%; height: 14px; border-radius: 999px; margin: 6px 0 0; padding: 0; border: 0;
  background: linear-gradient(to right, #f00, #ff0, #0f0, #0ff, #00f, #f0f, #f00); }
.pal-hue::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .45); cursor: pointer; }
.pal-hue::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .45); cursor: pointer; }
.pal-row { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto auto; gap: 6px; align-items: center; }
.pal-now { width: 34px; height: 34px; border-radius: 10px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); }
.pal-hexin { height: 38px; padding: 0 10px; font: 600 14px/1 Inter, system-ui, sans-serif; letter-spacing: .03em; border-radius: 10px; min-width: 0; }
.pal-tool { width: 36px; height: 36px; border-radius: 10px; border: 1px solid #E6E7E7; background: #fff; cursor: pointer; display: grid; place-items: center; transition: background .2s var(--ease); }
.pal-tool:hover { background: var(--bg); }
.pal-label { margin: 20px 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.pal-srcs { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 8px; }
.pal-src { aspect-ratio: 1; padding: 0; border: 2px solid transparent; border-radius: 12px; overflow: hidden; cursor: pointer; background: #EFF0F0; transition: border-color .2s var(--ease), transform .2s var(--ease); }
.pal-src img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pal-src:hover { border-color: var(--ink); transform: translateY(-1px); }
.pal-src.busy { opacity: .5; pointer-events: none; }
.pal-dlg .dlg-actions { margin-top: 22px; }
@media (max-width: 560px) { .pal-picker { grid-template-columns: 1fr; } .pal-roles { gap: 5px; } }
.pal-dlg input[type=range].pal-hue { height: 22px; background: transparent; margin-top: 2px; }
.pal-dlg input[type=range].pal-hue::-webkit-slider-runnable-track { height: 14px; border-radius: 999px; background: linear-gradient(to right, #f00, #ff0, #0f0, #0ff, #00f, #f0f, #f00); }
.pal-dlg input[type=range].pal-hue::-moz-range-track { height: 14px; border-radius: 999px; background: linear-gradient(to right, #f00, #ff0, #0f0, #0ff, #00f, #f0f, #f00); }
.pal-dlg input[type=range].pal-hue::-webkit-slider-thumb { margin-top: -4px; width: 22px; height: 22px; border: 3px solid #fff; background: transparent; box-shadow: 0 1px 4px rgba(0, 0, 0, .45); }
.pal-dlg input[type=range].pal-hue::-moz-range-thumb { width: 18px; height: 18px; border: 3px solid #fff; background: transparent; box-shadow: 0 1px 4px rgba(0, 0, 0, .45); }
.pal-hue-label { font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; }

/* ---------- Logo: swap the locked mark for a new pick ---------- */
.swap-pick { background: rgba(255, 255, 255, .14); border: 1.5px solid rgba(255, 255, 255, .35); border-radius: 22px; padding: 18px; margin: 0 0 16px; }
.swap-pick .eyebrow { margin: 0 0 10px; }
.swap-row { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.swap-row img { width: 64px; height: 64px; object-fit: contain; background: #fff; border-radius: 14px; padding: 6px; flex: none; }
.callout .swap-row p { margin: 0; font-size: 14px; line-height: 1.4; }
.swap-pick .intent-opts { margin-bottom: 12px; gap: 7px; }
.intent-opt.small { padding: 9px 14px; border-radius: 14px; }
.intent-opt.small strong { font-size: 14px; }

/* ---------- Exploration: Lock in… and Extract… on each image ---------- */
.shot-ctas { position: absolute; z-index: 2; top: 50%; left: 50%; display: grid; gap: 12px; justify-items: stretch; transform: translate(-50%, -44%); opacity: 0; pointer-events: none; transition: opacity .25s var(--ease), transform .3s var(--ease); }
.shot:hover .shot-ctas, .shot:focus-within .shot-ctas { opacity: 1; transform: translate(-50%, -50%); pointer-events: auto; }
.shot-cta { display: inline-flex; align-items: center; justify-content: center; gap: 12px; border: 0; cursor: pointer; padding: 17px 30px; border-radius: 999px; font: 700 15px/1 Inter, system-ui, sans-serif; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .5); transition: transform .2s var(--ease), background .2s var(--ease); }
.shot-cta.lock { background: var(--yellow); color: var(--ink); }
.shot-cta.lock:hover { background: #f4f39a; transform: translateY(-1px); }
.shot-cta.extract { background: var(--dark); color: var(--yellow); }
.shot-cta.extract:hover { background: #000; transform: translateY(-1px); }
.shot-cta.fix { background: #fff; color: var(--ink); }
.shot-cta.fix:hover { background: #EEEEEF; transform: translateY(-1px); }

/* ---------- Use this logo? dialog ---------- */
.li-dlg { width: min(560px, 100%); padding: 34px 36px 26px; text-align: center; max-height: calc(100vh - 32px); overflow-y: auto; }
.li-title { font-size: 28px; letter-spacing: -.02em; font-weight: 800; margin: 0 0 10px; }
.li-sub { font-size: 17px; line-height: 1.5; color: var(--muted); margin: 0 auto 22px; max-width: 420px; }
.li-check { display: flex; align-items: center; gap: 14px; text-align: left; padding: 13px 18px; border-radius: 16px; border: 1.5px solid #E1E2E3; background: #F3F4F4; font-size: 15.5px; font-weight: 700; cursor: pointer; margin: 0 0 18px; transition: background .2s var(--ease), border-color .2s var(--ease); }
.li-check input { position: absolute; opacity: 0; pointer-events: none; }
.li-box { width: 22px; height: 22px; flex: none; border-radius: 6px; border: 1.5px solid #808486; background: #fff; display: grid; place-items: center; color: transparent; font-size: 12px; transition: all .2s var(--ease); }
.li-check:has(input:checked) { background: #fde8ea; border-color: #f07a6e; }
.li-check:has(input:checked) .li-box { background: #f0594c; border-color: #f0594c; color: #fff; }
.li-check:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }
.li-stage { margin: 0 auto 20px; width: 118px; border-radius: 16px; overflow: hidden; background: #F4F3F4; transition: width .35s var(--ease); }
.li-stage canvas { display: block; width: 100%; height: auto; cursor: pointer; }
.li-dlg.picking .li-stage { width: 100%; padding: 8px; border-radius: 20px; }
.li-dlg.picking .li-stage canvas { cursor: crosshair; border-radius: 12px; }
.li-hint { font-size: 14.5px; color: var(--ink2, #454A4F); margin: 0 0 14px; line-height: 1.45; }
.li-dots { display: flex; justify-content: center; gap: 12px; margin-bottom: 22px; }
.li-dot { width: 50px; height: 50px; border-radius: 50%; border: 2px dashed #AFB2B3; background: #fff; font: 600 15px Inter, system-ui, sans-serif; color: var(--muted); cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.li-dot.full { border: 2px solid rgba(0, 0, 0, .12); }
.li-dot.on { border: 2.5px solid #f0594c; box-shadow: 0 0 0 4px rgba(240, 89, 76, .22); transform: scale(1.06); }
.li-dot:hover { transform: scale(1.06); }
.li-actions { display: grid; gap: 12px; }
.li-actions .btn { width: 100%; justify-content: center; padding: 16px 20px; font-size: 16px; font-weight: 700; gap: 10px; }
.li-exact { background: var(--dark); border-color: var(--dark); color: #fff; }
.li-exact.waiting, .li-exact:disabled { background: #9EA1A3; border-color: #9EA1A3; color: #fff; cursor: not-allowed; opacity: 1; }
.li-adjust { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.li-adjust:hover:not(:disabled) { background: #f4f39a; border-color: #f4f39a; }
.li-adjust:disabled { opacity: .45; cursor: not-allowed; }
.li-actions .cost { background: rgba(0, 0, 0, .1); color: inherit; }
.li-exact .cost { background: rgba(255, 255, 255, .15); }
.li-cancel { border: 0; background: none; font: 700 17px Inter, system-ui, sans-serif; color: var(--ink); padding: 14px; border-radius: 999px; cursor: pointer; margin-top: 4px; }
.li-cancel:hover { background: var(--bg); }
@media (max-width: 520px) { .li-dlg { padding: 26px 20px 18px; } .li-dot { width: 42px; height: 42px; } }

/* ---------- Use this logo? step 2: how should we save it ---------- */
.li-intents { display: grid; gap: 12px; margin: 4px 0 24px; text-align: left; }
.li-intent { position: relative; display: grid; gap: 4px; padding: 16px 22px; border-radius: 18px; border: 1.5px solid #E1E2E3; background: #F3F4F4; cursor: pointer; margin: 0; transition: background .2s var(--ease), border-color .2s var(--ease); }
.li-intent input { position: absolute; opacity: 0; pointer-events: none; }
.li-intent strong { font-size: 17px; letter-spacing: -.01em; }
.li-intent span { font-size: 13.5px; color: var(--muted); }
.li-intent:hover { border-color: #C5C6C8; }
.li-intent:has(input:checked) { background: #fde8ea; border-color: #f07a6e; }
.li-intent:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }

/* ---------- Exploration: the image being locked ---------- */
.shot.locking { pointer-events: none; }
.shot-locking { position: absolute; inset: 0; z-index: 4; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 20px;
  background: rgba(39, 45, 50, .55); backdrop-filter: blur(3px); color: #fff; animation: fade-in .3s var(--ease); }
.shot-locking .ai-star { --star: #fff; --star-off: rgba(255, 255, 255, .5); width: 36px; height: 36px; filter: none; }
.shot-locking strong { font-size: 15px; letter-spacing: .18em; text-transform: uppercase; }
.shot-locking span { font-size: 13.5px; opacity: .92; }

/* ---------- Brand kit: rebuilding ---------- */
.kit-rebuild { min-height: 62vh; display: grid; place-items: center; background: #fff; border-radius: 36px; padding: 48px 24px; text-align: center; animation: fade-in .3s var(--ease); }
.kit-rebuild > div { max-width: 560px; }
.kit-rebuild .ai-star { --star: #f3a596; --star-off: #ABAEAF; width: 52px; height: 52px; filter: none; }
.kit-rebuild h2 { font-size: 28px; letter-spacing: -.025em; margin: 26px 0 10px; }
.kit-rebuild p { color: var(--muted); font-size: 16.5px; line-height: 1.55; margin: 0; }

/* The ⋯ menu on an image opens to the right, inside the image, so the card never clips it. */
.shot-menu { z-index: 6; }
.shot-menu .menu { left: 0; right: auto; top: 54px; min-width: 260px; }
.shot:has(.shot-menu .menu:not([hidden])) .shot-ctas, .shot:has(.shot-menu .menu:not([hidden])) .shot-pill { opacity: 0 !important; pointer-events: none !important; }

/* ---------- Exploration: Locked, and More like this with context ---------- */

.more-wrap { position: absolute; z-index: 3; top: 12px; right: 12px; left: 64px; display: flex; justify-content: flex-end; align-items: center; gap: 8px; margin: 0; pointer-events: none; }
.more-wrap .shot-pill.more { position: static; pointer-events: auto; flex: none; }
.more-ctx { width: 0; min-width: 0; height: 40px; padding: 0; border: 0; border-radius: 12px; background: #fff; font: 500 14px Inter, system-ui, sans-serif; opacity: 0; pointer-events: none;
  box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .45); transition: width .3s var(--ease), opacity .2s var(--ease), padding .3s var(--ease); }
.shot:hover .more-ctx, .more-wrap:focus-within .more-ctx, .more-ctx:not(:placeholder-shown) { width: min(320px, 100%); flex: 1 1 auto; padding: 0 14px; opacity: 1; pointer-events: auto; }
.more-ctx:focus { outline: 2px solid var(--ink); outline-offset: 0; }
.shot:has(.more-wrap:hover) .shot-ctas, .shot:has(.more-ctx:hover) .shot-ctas, .shot:has(.more-ctx:focus) .shot-ctas { opacity: 0; pointer-events: none; }
.shot-cta.unlock { background: var(--teal); color: var(--ink); }
.shot-cta.unlock:hover { background: #9fdcd4; transform: translateY(-1px); }
.logo-chip { position: absolute; z-index: 2; left: 12px; bottom: 56px; display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px; background: var(--teal); color: var(--ink); font: 700 11px/1 Inter, system-ui, sans-serif; letter-spacing: .14em; text-transform: uppercase; box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .35); pointer-events: none; }
.logo-chip .fa-lock { font-size: 10px; }
.shot:not(:has(.shot-pin)) .logo-chip { bottom: 12px; }

/* Extract: the image fills the full height of the window, edge to edge, like a full-screen editor. */
.xt { background: rgba(27, 32, 36, .86); }
.xt-stage { padding: 0; }
.xt-canvas { height: 100vh; display: flex; align-items: center; animation: fade-in .3s var(--ease); }
.xt-canvas img { max-height: 100vh; max-width: calc(100vw - 320px); border-radius: 0; }
.xt-hint { bottom: auto; top: 50%; transform: translate(-50%, -50%); background: rgba(27, 32, 36, .62); backdrop-filter: blur(4px); padding: 10px 16px; }
.xt-layer:has(.xt-box) + .xt-hint, .xt-canvas:has(.xt-box) .xt-hint { display: none; }
@media (max-width: 860px) { .xt-canvas { height: auto; } .xt-canvas img { max-width: 100vw; max-height: 55vh; } }
/* Scale the image up to fill the window height (images are smaller than most screens), keeping its shape. */
.xt-canvas { height: auto; }
.xt-canvas img { --ar: 1; max-width: none; max-height: none; width: auto; height: min(100vh, calc((100vw - 320px) / var(--ar))); }
@media (max-width: 860px) { .xt-canvas img { height: min(55vh, calc(100vw / var(--ar))); } }

/* ---------- Kit swatch popover: Solid or Gradient ---------- */
.swc-badge.swc-grad { left: auto; right: 12px; }
.sw-pop { position: fixed; z-index: 90; width: 320px; max-width: calc(100vw - 24px); max-height: calc(100vh - 24px); overflow: auto; background: #fff; border-radius: 22px; padding: 12px; box-shadow: 0 24px 60px rgba(39, 45, 50, .22), 0 2px 8px rgba(39, 45, 50, .08); border: 1px solid #E9E9EA; animation: sw-in .18s var(--ease); }
@keyframes sw-in { from { opacity: 0; transform: translateY(-4px) scale(.98); } }
.sw-prev { height: 84px; border-radius: 14px; position: relative; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06); }
.sw-name { position: absolute; left: 12px; bottom: 10px; font-size: 13px; font-weight: 700; color: var(--ink); }
.sw-name.on-dark { color: #fff; }
.sw-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: #EFF0F0; border-radius: 999px; padding: 4px; margin: 12px 0; }
.sw-seg button { border: 0; background: transparent; border-radius: 999px; padding: 8px 0; font: 700 11px/1 Inter, system-ui, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); cursor: pointer; transition: background .2s var(--ease), color .2s var(--ease); }
.sw-seg button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .1); }
.sw-pop .pal-sv { height: 150px; }
.sw-pop input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 22px; background: transparent; margin: 10px 0 4px; padding: 0; border: 0; }
.sw-pop input[type=range]::-webkit-slider-runnable-track { height: 12px; border-radius: 999px; background: #E6E7E7; }
.sw-pop input[type=range]::-moz-range-track { height: 12px; border-radius: 999px; background: #E6E7E7; }
.sw-pop input[type=range].pal-hue::-webkit-slider-runnable-track { background: linear-gradient(to right, #f00, #ff0, #0f0, #0ff, #00f, #f0f, #f00); }
.sw-pop input[type=range].pal-hue::-moz-range-track { background: linear-gradient(to right, #f00, #ff0, #0f0, #0ff, #00f, #f0f, #f00); }
.sw-pop input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; margin-top: -4px; width: 20px; height: 20px; border-radius: 50%; border: 3px solid #fff; background: transparent; box-shadow: 0 1px 4px rgba(0, 0, 0, .45); cursor: pointer; }
.sw-pop input[type=range]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; border: 3px solid #fff; background: transparent; box-shadow: 0 1px 4px rgba(0, 0, 0, .45); cursor: pointer; }
.sw-pop .sw-angle input[type=range]::-webkit-slider-thumb { background: var(--ink); }
.sw-pop .sw-angle input[type=range]::-moz-range-thumb { background: var(--ink); }
.sw-grad { display: none; }
.sw-pop.grad .sw-grad { display: block; }
.sw-pop.grad .sw-solid { display: none; }
.sw-stops { display: grid; gap: 4px; margin-top: 6px; }
.sw-stop { display: grid; grid-template-columns: 26px 1fr 96px; gap: 10px; align-items: center; padding: 6px 8px; border-radius: 12px; cursor: pointer; transition: background .2s var(--ease); }
.sw-stop:hover { background: #F7F7F8; }
.sw-stop.on { background: #EFF0F0; }
.sw-dot { width: 26px; height: 26px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.sw-stop.on .sw-dot { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--ink); }
.sw-lbl { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.sw-hex { height: 32px; padding: 0 8px; font: 600 13px/1 Inter, system-ui, sans-serif; letter-spacing: .03em; border-radius: 9px; border: 1px solid #E6E7E7; min-width: 0; width: 100%; }
.sw-solid { margin-top: 6px; }
.sw-solid .sw-stop { cursor: default; }
.sw-mid { margin: 6px 8px 2px; font-size: 13px; }
.sw-angle { display: grid; grid-template-columns: auto 1fr 44px; gap: 10px; align-items: center; padding: 4px 8px 0; }
.sw-angle input[type=range] { margin: 0; }
.sw-angle output { font-size: 13px; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.sw-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px solid #EEEEEE; }
.sw-actions .btn { height: 40px; padding: 0 20px; border-radius: 999px; }
.swc-hex { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }

/* ---------- Server needs a restart ---------- */
.stale-bar { position: sticky; top: 0; z-index: 200; display: flex; gap: 10px; align-items: center; justify-content: center; padding: 12px 20px; background: #fff6c2; color: var(--ink); font-size: 14px; border-bottom: 1px solid #efe2a0; }
.stale-bar code { background: #fff; padding: 2px 6px; border-radius: 6px; font-size: 13px; }
/* Ideas footer: one Random row, label left and cost right (like Branda). */
.ideas-foot { grid-template-columns: 1fr; }
.ideas-foot .ideas-random { flex-direction: row; justify-content: space-between; align-items: center; width: 100%; }
.ideas-foot .ideas-random:disabled { opacity: .6; cursor: default; }

/* ---------- Dashboard: project cards ---------- */
.dash-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin: 8px 0 28px; }
.dash-pill { display: inline-block; background: var(--yellow); color: var(--ink); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; }
.dash-title { font-size: clamp(40px, 6vw, 64px); margin: 14px 0 0; }
.dash-new { padding: 14px 24px; font-size: 15px; }
.dash-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 1000px) { .dash-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pcard { background: #fff; border-radius: 28px; padding: 12px; display: flex; flex-direction: column; cursor: pointer; text-decoration: none; color: inherit; box-shadow: 0 1px 0 rgba(0, 0, 0, .03); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.pcard:hover, .pcard:focus-visible { transform: translateY(-3px); box-shadow: var(--lift); outline: none; }
.pc-banner { height: 200px; border-radius: 20px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.pc-banner svg { height: 50%; max-width: 46%; transition: transform .6s var(--ease); }
.pc-banner img { max-height: 60%; max-width: 60%; object-fit: contain; }
.pcard:hover .pc-banner svg { transform: scale(1.06) rotate(-3deg); }
.pc-letter { font-size: 52px; font-weight: 800; letter-spacing: -.02em; }
.pc-body { padding: 16px 12px 6px; display: flex; flex-direction: column; flex: 1; }
.pc-title { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.pc-title h3 { min-width: 0; font-size: 21px; letter-spacing: -.02em; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc-badge { flex: none; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.pc-badge.strategy { background: var(--teal); }
.pc-badge.logo { background: #f26f5a; color: #fff; }
.pc-desc { color: var(--muted); margin: 8px 0 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 3em; }
.pc-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 14px; }
.pc-more { position: relative; }
.pc-dots { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; display: grid; place-items: center; font-size: 14px; }
.pc-dots:hover { border-color: var(--ink); }
.pc-more .menu { top: 44px; min-width: 180px; }
.pc-new { border: 2px dashed #CFD0D2; background: transparent; box-shadow: none; align-items: center; justify-content: center; text-align: center; min-height: 320px; gap: 6px; }
.pc-new:hover { background: #fff; }
.pc-folder { width: 72px; height: 64px; margin-bottom: 10px; transition: transform .4s var(--ease); }
.pc-new:hover .pc-folder { transform: translateY(-3px) rotate(-4deg); }
.pc-new strong { font-size: 21px; letter-spacing: -.02em; }
.pc-new-txt { display: flex; flex-direction: column; gap: 6px; }
.pc-new-txt span { color: var(--muted); }
@media (max-width: 600px) { .dash-grid { grid-template-columns: minmax(0, 1fr); } .pc-banner { height: 140px; } }

/* ---------- New project modal ---------- */
body.np-lock { overflow: hidden; }
.np-overlay { position: fixed; inset: 0; z-index: 50; background: rgba(29, 27, 25, .5); display: flex; align-items: center; justify-content: center; padding: 24px; overflow-y: auto; opacity: 0; transition: opacity .25s var(--ease); }
.np-overlay.in { opacity: 1; }
.np-modal { background: #F3F4F4; border-radius: 36px; padding: 44px 40px 32px; width: min(1080px, 100%); margin: auto; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .45); transform: translateY(24px) scale(.97); opacity: 0; transition: transform .35s var(--ease), opacity .25s var(--ease); }
.np-overlay.in .np-modal { transform: none; opacity: 1; }
.np-modal h1 { font-size: clamp(30px, 4vw, 44px); margin: 16px 0 28px; }
.np-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.np-card { background: #fff; border-radius: 26px; padding: 32px; display: flex; flex-direction: column; gap: 8px; min-height: 400px; }
.np-card .grow { flex: 1; }
.np-card .btn { align-self: flex-start; margin-top: 16px; }
.np-card .big-drop { margin-top: 12px; }
.np-cancel { margin-top: 20px; border: 0; background: transparent; color: var(--muted); font: 600 15px Inter, system-ui, sans-serif; padding: 12px 24px; border-radius: 16px; cursor: pointer; transition: background-color .2s var(--ease), box-shadow .2s var(--ease), color .2s var(--ease); }
.np-cancel:hover, .np-cancel:focus-visible { background: #fff; color: var(--ink); box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .3); outline: none; }
@media (max-width: 760px) { .np-grid { grid-template-columns: 1fr; } .np-modal { padding: 28px 18px 20px; border-radius: 26px; } .np-card { min-height: 0; padding: 24px; } }
@media (prefers-reduced-motion: reduce) { .np-overlay, .np-modal { transition: none; } }

/* ---------- Account: header pill and menu ---------- */
.top-right { display: flex; align-items: center; gap: 10px; }
.credit-pill { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border-radius: 999px; background: #EBECEC; color: var(--ink); font-weight: 700; font-size: 14px; text-decoration: none; transition: background .2s var(--ease), transform .2s var(--ease); }
.credit-pill:hover { background: #E1E2E3; transform: translateY(-1px); }
/* Owner meter: the month as a Plus member would see it (owner only). */
.own-meter { position: relative; }
.own-pills { display: inline-flex; gap: 8px; border: 0; background: none; padding: 0; cursor: pointer; font: inherit; }
.own-pill { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 999px; background: #EBECEC; color: var(--ink); font-weight: 700; font-size: 14px; white-space: nowrap; transition: transform .2s var(--ease), filter .2s var(--ease); }
.own-pill small { font-weight: 600; color: #6F7377; font-size: 12px; }
.own-pill .spark-ico { width: 14px; height: 14px; fill: currentColor; }
.own-pill.over { background: #fde8e4; color: #a1321c; }
.own-pill.member { background: #e9f1ea; color: #1f5a35; }
.own-pill.cost { background: #1B2024; color: #fff; }
.own-pill.cost small { color: #C8C9CB; }
.own-pills:hover .own-pill { filter: brightness(.97); transform: translateY(-1px); }
.own-pop { position: absolute; right: 0; top: 46px; width: 400px; max-height: calc(100vh - 80px); overflow-y: auto; max-width: calc(100vw - 32px); background: #fff; border-radius: 20px; box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .35); padding: 20px; font-size: 14px; z-index: 60; text-align: left; }
.own-pop h4 { margin: 0 0 4px; font-size: 15px; }
.own-pop p { margin: 0 0 12px; color: #6F7377; font-size: 12.5px; line-height: 1.45; }
.own-pop .own-note { margin: 12px 0 0; }
.own-pop table { width: 100%; border-collapse: collapse; }
.own-pop td { padding: 7px 0; border-top: 1px solid #E8E8E9; }
.own-pop td:not(:first-child) { text-align: right; font-weight: 700; }
.own-pop td.bad { color: #a1321c; }
.own-pop th { text-align: right; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 700; padding-bottom: 4px; }
.own-pop th:first-child { text-align: left; }
.own-plans { display: flex; background: #EDEDED; border-radius: 999px; padding: 3px; margin-bottom: 14px; }
.own-plans button { flex: 1; border: 0; background: none; border-radius: 999px; padding: 7px 10px; font: 600 13px Inter, system-ui, sans-serif; cursor: pointer; color: var(--ink); }
.own-plans button.on { background: #272D32; color: #fff; }
.own-pop .own-sub { margin: 14px 0 4px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.own-pop .own-cmp td { padding: 6px 0; }
.own-pop .own-cmp td:not(:first-child) { white-space: nowrap; padding-left: 8px; }
.own-pop .own-cmp td small { color: var(--muted); font-size: 11.5px; font-weight: 500; margin-left: 4px; }
.own-pop .own-cmp tr.cur td:first-child { font-weight: 700; }
.own-best { margin-left: 6px; vertical-align: 1px; }
.top:has(.own-pop:not([hidden])) { z-index: 40; }
.own-proj { display: inline-flex; gap: 6px; align-items: center; font-size: 13px; color: #55595D; white-space: nowrap; }
.own-proj .chip { background: #EFF0F0; border-radius: 999px; padding: 5px 10px; }
.own-proj b { color: var(--ink); }
@media (max-width: 900px) { .own-proj .own-wide { display: none; } }
@media (max-width: 600px) { .own-pill small, .own-pill.member { display: none; } .own-pill { padding: 0 10px; } .own-pop { position: fixed; left: 16px; right: 16px; top: 64px; width: auto; } }
.spark-ico { width: 14px; height: 14px; fill: currentColor; flex: none; }
.acct { position: relative; }
.acct-btn { border: 0; padding: 0; background: none; cursor: pointer; border-radius: 50%; display: block; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.acct-btn:hover { transform: translateY(-1px); box-shadow: var(--lift); }
.avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; display: inline-flex; align-items: center; justify-content: center; background: var(--ink); color: #fff; font-weight: 700; font-size: 14px; letter-spacing: .02em; flex: none; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); }
.avatar.md { width: 72px; height: 72px; font-size: 22px; }
.avatar.lg { width: 96px; height: 96px; font-size: 30px; border-width: 3px; }
.acct-menu { top: 52px; min-width: 280px; padding: 0; overflow: hidden; opacity: 0; transform: translateY(-6px); transition: opacity .18s var(--ease), transform .18s var(--ease); }
.acct-menu.in { opacity: 1; transform: none; }
.acct-menu > * { border-radius: 0; padding: 14px 20px; border-top: 1px solid #EBECEC; font-size: 15px; justify-content: flex-start; align-items: center; gap: 8px; }
.acct-menu > .acct-who { display: grid; gap: 2px; background: #F8F9F9; border-top: 0; cursor: default; }
.acct-menu > .acct-who:hover { background: #F8F9F9; }
.acct-who strong { font-size: 16px; }
.acct-who span { color: var(--muted); font-size: 13.5px; }
.acct-menu .acct-out { color: #a8321f; font-weight: 600; }

/* ---------- Account: Settings (two columns; the left one stays in view) ---------- */
.set-grid { display: grid; grid-template-columns: minmax(280px, 520px) minmax(0, 1fr); gap: 72px; align-items: start; max-width: 1400px; margin: 0 auto; }
.set-side { position: sticky; top: 104px; max-height: calc(100vh - 124px); overflow-y: auto; scrollbar-width: none; }
.set-side::-webkit-scrollbar { display: none; }
.set-head { display: flex; align-items: center; gap: 24px; margin: 4px 0 40px; }
.set-head h2 { font-size: 22px; margin: 0 0 10px; letter-spacing: -.02em; }
.set-badge { display: inline-block; background: var(--yellow); color: var(--ink); font-size: 14px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; padding: 7px 16px; border-radius: 999px; }
.set-title { font-size: clamp(36px, 4.2vw, 52px); letter-spacing: -.035em; margin: 0 0 12px; line-height: 1.05; }
.set-sub { font-size: 19px; line-height: 1.55; margin: 0 0 40px; color: #31363B; }
.set-credits { background: #272D32; color: #fff; border-radius: 36px; padding: 40px 44px 44px; }
.set-balance { display: inline-flex; align-items: center; gap: 14px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .08); border-radius: 26px; padding: 14px 26px; font-size: 44px; font-weight: 800; letter-spacing: -.03em; margin-bottom: 26px; }
.set-balance .spark-ico { width: 34px; height: 34px; fill: #DAFE99; }
.set-credits p { margin: 0 0 26px; color: #E1E2E2; font-size: 17px; line-height: 1.6; }
.set-credits .set-small { color: #B0B2B4; margin: -14px 0 24px; }
.set-main { min-width: 0; }
/* Jump links to each settings section: a list in the left column, a sticky chip bar on smaller screens. */
.set-nav button { all: unset; box-sizing: border-box; cursor: pointer; }
.set-nav button:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 8px; }
.set-nav-side { display: flex; flex-direction: column; margin: -12px 0 40px; border-left: 2px solid rgba(39, 45, 50, .1); }
.set-nav-side button { padding: 7px 0 7px 20px; margin-left: -2px; border-left: 2px solid transparent; font-size: 16px; color: var(--ink2, #52565B); transition: color .2s var(--ease), border-color .2s var(--ease); }
.set-nav-side button:hover { color: var(--ink); }
.set-nav-side button.on { color: var(--ink); font-weight: 600; border-left-color: var(--ink); }
.set-nav-bar { display: none; }
.set-card { background: #fff; border-radius: 36px; padding: 40px 34px 34px; margin-bottom: 34px; scroll-margin-top: 100px; }
.set-card h3 { font-size: 26px; letter-spacing: -.02em; margin: 6px 0 22px; }
.set-eyebrow { font-size: 13px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink2, #52565B); margin: 0; }
.set-subhead { margin-top: 30px; margin-bottom: 4px; }
.set-lead { color: var(--muted); font-size: 17px; margin: -12px 0 26px; }
.set-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid #E9E9EA; font-size: 17px; }
.set-row > span:first-child { color: var(--muted); }
.set-row > span:last-child { display: inline-flex; align-items: center; gap: 12px; text-align: right; }
.set-list .set-row > span:first-child { color: var(--ink); }
.set-row strong { color: var(--ink); font-weight: 600; }
.set-row small { display: block; color: var(--muted); font-size: 14px; font-weight: 400; }
.set-chip { display: inline-block; padding: 7px 16px; border-radius: 999px; background: #eef1e6; color: #4a5a2c; font-size: 14px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.set-chip.teal { background: #EEFBD6; color: #134b42; }
.set-chip.small { font-size: 11px; padding: 4px 10px; }
.set-pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 26px; border-radius: 999px; font: 700 15px Inter, system-ui, sans-serif; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; cursor: pointer; border: 1.5px solid transparent; transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease); }
.set-pill:hover:not([disabled]) { transform: translateY(-1px); box-shadow: var(--lift); }
.set-pill.dark { background: #272D32; color: #fff; }
.set-pill.light { background: #fff; color: var(--ink); height: 46px; font-size: 14px; }
.set-pill.outline { background: #fff; color: var(--ink); border-color: #E3E6E1; }
.set-pill.outline:hover { border-color: var(--ink); }
.set-pill.danger { color: #9b2c1c; margin-top: 30px; }
.set-pill.small { height: 38px; padding: 0 18px; font-size: 12px; }
.set-pill[disabled] { background: #949699; color: #F1F1F2; cursor: default; }
.set-avatar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.set-avatar .avatar { margin-right: 14px; }
.set-small { font-size: 15px; color: var(--muted); margin: 26px 0 0; }
.set-label { display: block; font-size: 13px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink2, #52565B); margin: 34px 0 12px; }
.set-inline { display: flex; gap: 12px; flex-wrap: wrap; }
.set-input { flex: 1 1 200px; height: 62px; border: 1.5px solid #E3E6E1; border-radius: 16px; padding: 0 22px; background: #F4F3F4; font-size: 18px; outline: none; transition: border-color .2s var(--ease), background .2s var(--ease); }
.set-input:focus { border-color: var(--ink); background: #fff; }
.set-save { height: 62px; padding: 0 28px; border-radius: 18px; }
.set-check { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid #E9E9EA; cursor: pointer; }
.set-check strong { display: block; font-size: 17px; font-weight: 600; }
.set-check small { color: var(--muted); font-size: 15px; }
.set-check input { position: absolute; opacity: 0; pointer-events: none; }
.set-check > i { width: 28px; height: 28px; border-radius: 8px; border: 2px solid #C6C8C9; background: #fff; display: grid; place-items: center; color: transparent; font-size: 14px; flex: none; transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease); }
.set-check input:checked + i { background: #272D32; border-color: #272D32; color: #fff; }
.set-check > i > i { width: auto; height: auto; border: 0; background: none; color: inherit; font-size: 14px; }
.set-check:hover > i { border-color: #272D32; }
.set-check input:focus-visible + i { outline: 2px solid var(--ink); outline-offset: 2px; }
.set-link { text-decoration: none; color: inherit; padding: 18px 14px; margin: 0 -14px; border-radius: 14px; border-bottom-color: transparent; box-shadow: 0 1px 0 #E9E9EA; transition: background .2s var(--ease); }
.set-link:hover { background: #F4F3F4; }
.set-link > span:last-child { color: var(--muted); font-size: 15px; gap: 6px; }
.set-seg { display: inline-flex; background: #EDEDED; border-radius: 999px; padding: 4px; }
.set-seg button { border: 0; background: none; border-radius: 999px; padding: 11px 22px; font-weight: 600; font-size: 15px; cursor: pointer; transition: background .2s var(--ease), color .2s var(--ease); }
.set-seg button.on { background: #272D32; color: #fff; }
.set-seg + .set-small { margin-top: 14px; }
.set-users { margin-top: 26px; }
.set-user { display: flex; align-items: center; gap: 14px; }
.set-user .avatar { width: 40px; height: 40px; font-size: 13px; }
.set-user-r { display: flex; align-items: center; gap: 14px; }
.set-row.off { opacity: .55; }
.set-fb > span { display: grid; gap: 2px; }
.set-fb-msg { color: var(--ink); white-space: pre-wrap; margin-top: 6px; }
.set-fb-shot { margin-top: 12px; max-width: 280px; border-radius: 14px; border: 1px solid var(--line); cursor: zoom-in; }
@media (max-width: 1100px) {
  .set-grid { grid-template-columns: 1fr; gap: 34px; max-width: 760px; } .set-side { position: static; max-height: none; overflow: visible; }
  .set-nav-side { display: none; }
  .set-nav-bar { display: flex; gap: 8px; position: sticky; top: var(--set-bar-top, 61px); z-index: 4; margin: -14px 0 -20px; padding: 12px 0; overflow-x: auto; scrollbar-width: none; background: rgba(244, 243, 244, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
  .set-nav-bar::-webkit-scrollbar { display: none; }
  .set-nav-bar button { flex: none; padding: 9px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 14.5px; font-weight: 500; white-space: nowrap; transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); }
  .set-nav-bar button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
  .set-card { scroll-margin-top: calc(var(--set-bar-top, 61px) + 80px); }
}
@media (max-width: 600px) { .set-card { padding: 28px 20px; border-radius: 26px; } .set-credits { padding: 28px 24px; border-radius: 26px; } .set-row { flex-wrap: wrap; } .credit-pill { padding: 0 10px; } .set-balance { font-size: 34px; } }

/* ---------- Send feedback ---------- */
.fb-overlay { position: fixed; inset: 0; z-index: 60; background: rgba(27, 32, 36, .78); display: flex; align-items: center; justify-content: center; padding: 24px; overflow-y: auto; opacity: 0; transition: opacity .25s var(--ease); }
.fb-overlay.in { opacity: 1; }
.fb-modal { position: relative; background: #F4F3F4; border-radius: 30px; padding: 36px 36px 34px; width: min(600px, 100%); margin: auto; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55); transform: translateY(20px) scale(.97); opacity: 0; transition: transform .35s var(--ease), opacity .25s var(--ease); }
.fb-overlay.in .fb-modal { transform: none; opacity: 1; }
.fb-x { position: absolute; top: 22px; right: 22px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: var(--ink2, #52565B); font-size: 18px; cursor: pointer; transition: background .2s var(--ease), color .2s var(--ease); }
.fb-x:hover { background: rgba(0, 0, 0, .06); color: var(--ink); }
.fb-modal h3 { font-size: 26px; letter-spacing: -.02em; margin: 0 0 6px; }
.fb-sub { color: var(--muted); font-size: 17px; margin: 0 0 22px; padding-right: 30px; }
.fb-label { display: block; font-size: 15px; font-weight: 600; color: var(--ink2, #52565B); margin: 16px 0 10px; }
.fb-field { width: 100%; height: 54px; border: 1.5px solid #E2E3E3; border-radius: 999px; background: #fff; padding: 0 22px; font-size: 16px; outline: none; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.fb-field:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(17, 17, 17, .06); }
.fb-msg { height: auto; min-height: 150px; border-radius: 26px; padding: 16px 22px; resize: vertical; line-height: 1.5; }
.fb-shot { display: flex; align-items: center; gap: 12px; }
.fb-attach { display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 26px; border: 2px solid var(--ink); border-radius: 999px; background: #fff; font-weight: 700; font-size: 17px; cursor: pointer; transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease); }
.fb-attach:hover { background: var(--ink); color: #fff; transform: translateY(-1px); }
.fb-thumb { position: relative; width: 120px; height: 80px; border-radius: 14px; overflow: hidden; border: 1.5px solid #E2E3E3; background: #fff; }
.fb-thumb img { width: 100%; height: 100%; object-fit: cover; }
.fb-thumb button { position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; border: 0; border-radius: 50%; background: rgba(17, 17, 17, .75); color: #fff; font-size: 12px; cursor: pointer; }
.fb-err { color: #c8372a; font-size: 14px; margin: 14px 0 0; }
.fb-actions { display: flex; justify-content: flex-end; align-items: center; gap: 12px; margin-top: 30px; }
.fb-cancel { border: 0; background: none; color: var(--ink2, #52565B); font-size: 17px; font-weight: 600; padding: 14px 20px; border-radius: 999px; cursor: pointer; transition: background .2s var(--ease), color .2s var(--ease); }
.fb-cancel:hover { background: rgba(0, 0, 0, .05); color: var(--ink); }
.fb-send { border: 0; background: #272D32; color: #fff; font-size: 17px; font-weight: 700; height: 58px; padding: 0 28px; border-radius: 999px; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), opacity .2s; }
.fb-send:hover:not([disabled]) { transform: translateY(-1px); box-shadow: var(--lift); }
.fb-send[disabled] { opacity: .6; cursor: default; }
@media (max-width: 600px) { .fb-modal { padding: 28px 20px 24px; border-radius: 24px; } .fb-actions { flex-direction: column-reverse; align-items: stretch; } .fb-send { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .fb-overlay, .fb-modal { transition: none; } }
.set-subhead + .set-lead { margin: 12px 0 0; }
.set-kit { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 12px; margin-top: 22px; padding: 16px 18px; border-radius: 18px; background: #F4F3F4; font-size: 15px; color: var(--ink2, #52565B); }
.set-kit .missing { color: #9b2c1c; }
.set-chip.warn { background: #fbe3dc; color: #8a2a1a; font-size: 11px; padding: 4px 10px; }

/* Credits: the invite row, the give-credits dialog and the transactions list */
.set-inv-credits { margin-top: 12px; }
.set-inv-credits select.set-input { flex: 0 1 200px; appearance: none; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, #5B7177 50%), linear-gradient(135deg, #5B7177 50%, transparent 50%); background-position: calc(100% - 26px) 50%, calc(100% - 20px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.set-inv-credits + .set-small { margin-top: 12px; }
.set-plus { color: #1d7a5f; }
.set-user-r .set-pill.small + .set-pill.small { margin-left: -6px; }
.set-seg-wrap { display: flex; flex-wrap: wrap; gap: 4px; border-radius: 26px; }
.set-seg-wrap button { padding: 10px 18px; font-size: 14px; }
.fb-modal .set-small { margin-top: 12px; }
.fb-danger { color: #9b2c1c; }
.fb-danger:hover { background: rgba(155, 44, 28, .07); color: #9b2c1c; }
.fb-gap { flex: 1; }
@media (max-width: 600px) { .fb-gap { display: none; } .set-user-r { flex-wrap: wrap; justify-content: flex-end; } }
/* Credit time limits: presets, or a custom days / hours / minutes */
.dur-custom { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.dur-f { position: relative; flex: 1 1 120px; }
.dur-f input { width: 100%; height: 54px; border: 1.5px solid #E2E3E3; border-radius: 16px; background: #fff; padding: 0 86px 0 18px; font-size: 18px; font-weight: 600; outline: none; transition: border-color .2s var(--ease); -moz-appearance: textfield; }
.dur-f input::-webkit-outer-spin-button, .dur-f input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.dur-f input:focus { border-color: var(--ink); }
.dur-f span { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 15px; pointer-events: none; }
.dur .dur-note { margin-top: 12px; }
.set-inv-dur { margin-top: 18px; }
.set-inv-dur .set-label { margin-top: 0; }
.set-inv-send { margin-top: 16px; }
.fb-modal .dur-all { margin-top: 16px; }
.set-card > .set-row + .set-pill { margin-top: 26px; }

.set-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.set-card > .set-row + .set-btns .set-pill { margin-top: 0; }
.set-note { display: block; color: var(--muted); font-size: 13px; text-align: right; }

/* Pricing: plans, credit packs and the download unlock */
.pr-wrap { max-width: 1240px; margin: 0 auto; padding: 44px 28px 110px; }
.pr-note { background: #fff4d6; border-radius: 16px; padding: 12px 18px; font-size: 14px; color: #5c4a1c; margin: 0 0 22px; display: inline-block; }
.pr-note.test { background: #e6f4ff; color: #1d4a6e; }
.pr-pill { display: inline-block; background: #DAFE99; color: #272D32; border-radius: 999px; padding: 8px 16px; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.pr-title { font-size: clamp(42px, 5.6vw, 72px); font-weight: 800; letter-spacing: -.045em; line-height: .98; margin: 22px 0 22px; max-width: 15ch; }
.pr-lede { font-size: 20px; color: var(--ink2, #41464B); margin: 0 0 18px; }
.pr-perk { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 16px; margin: 0; }
.pr-perk .spark-ico { width: 14px; height: 14px; fill: #272D32; }
.pr-perk .pr-code { background: #DAFE99; border-radius: 999px; padding: 6px 14px; font-weight: 800; }
.pr-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 56px; align-items: stretch; }
.pr-plan { position: relative; background: #fff; border-radius: 32px; padding: 44px 42px 42px; display: flex; flex-direction: column; border: 1.5px solid #E9E9EA; }
.pr-plan.hl { background: #272D32; color: #fff; border-color: #272D32; }
.pr-tag { position: absolute; top: -16px; left: 42px; background: #DAFE99; color: #272D32; border-radius: 999px; padding: 8px 15px; font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.pr-plan h3 { font-size: 24px; font-weight: 800; letter-spacing: -.02em; margin: 0 0 10px; }
.pr-price { display: flex; align-items: baseline; gap: 12px; margin: 0 0 14px; }
.pr-price strong { font-size: 52px; font-weight: 800; letter-spacing: -.045em; line-height: 1; }
.pr-price span { font-size: 14px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.pr-plan.hl .pr-price span { color: #AFB2B3; }
.pr-credits { font-size: 18px; font-weight: 600; color: var(--ink2, #41464B); margin: 0 0 22px; }
.pr-credits em { font-style: normal; color: #a88a52; margin-left: 6px; }
.pr-plan.hl .pr-credits { color: #E2E3E3; }
.pr-plan.hl .pr-credits em { color: #DAFE99; }
.pr-list { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 12px; font-size: 18px; }
.pr-list li { display: flex; align-items: center; gap: 12px; }
.pr-list li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; }
.pr-plan.hl .pr-list li::before { background: #DAFE99; }
.pr-btn { margin-top: auto; height: 58px; border-radius: 999px; border: 0; background: #272D32; color: #fff; font: 700 17px Inter, system-ui, sans-serif; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), opacity .2s; }
.pr-plan.hl .pr-btn { background: #DAFE99; color: #272D32; }
.pr-btn:hover:not([disabled]) { transform: translateY(-1px); box-shadow: var(--lift); }
.pr-btn[disabled] { opacity: .55; cursor: default; }
.pr-btn.ghost { background: transparent; color: inherit; border: 1.5px solid currentColor; opacity: .7; }
.pr-sub { font-size: 15px; color: var(--muted); margin: 22px 0 0; }
.pr-sub .linkbtn { font-size: inherit; }
.pr-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin: 64px 0 22px; }
.pr-head h2 { font-size: 26px; font-weight: 800; letter-spacing: -.025em; margin: 0; }
.pr-head small { font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.pr-packs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.pr-pack { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: #fff; border: 1.5px solid #E9E9EA; border-radius: 26px; padding: 26px 32px; text-align: left; font: inherit; color: inherit; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease); }
.pr-pack:hover:not([disabled]) { transform: translateY(-2px); box-shadow: var(--lift); border-color: #272D32; }
.pr-pack[disabled] { cursor: default; }
.pr-pack strong { display: block; font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
.pr-pack small { font-size: 17px; color: var(--muted); font-weight: 500; }
.pr-pack b { font-size: 34px; font-weight: 800; letter-spacing: -.03em; }
.pr-unlock { display: flex; align-items: center; justify-content: space-between; gap: 24px; background: #fff; border: 1.5px solid #E9E9EA; border-radius: 26px; padding: 26px 32px; }
.pr-unlock strong { display: block; font-size: 20px; font-weight: 800; }
.pr-unlock span { color: var(--muted); font-size: 16px; }
.pr-unlock .pr-btn { margin: 0; padding: 0 28px; flex: none; height: 52px; }
.pr-unlocks { display: grid; gap: 14px; }
.pr-unlock strong em { margin-left: 10px; font-style: normal; font-size: 15px; font-weight: 700; color: #a88a52; }
.pr-unlock .ld-soon { flex: none; margin: 0; }
@media (max-width: 960px) { .pr-plans, .pr-packs { grid-template-columns: 1fr; } .pr-plans { gap: 40px; } .pr-unlock { flex-direction: column; align-items: stretch; } .pr-head { flex-direction: column; } }
.pr-credits em { display: inline-block; white-space: nowrap; font-size: 15px; }
@media (max-width: 600px) { .pr-wrap { padding: 28px 16px 80px; } .pr-plan { padding: 36px 26px 28px; } .pr-tag { left: 26px; } .pr-pack, .pr-unlock { padding: 22px 24px; } .pr-btn { width: 100%; } }
/* Credit packs: clearly clickable, open to everyone */
.pr-pack { position: relative; overflow: hidden; }
.pr-pack-r { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.pr-buy { font-style: normal; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; transition: color .2s var(--ease); }
.pr-buy i { font-size: 11px; transition: transform .2s var(--ease); }
.pr-pack:not([disabled]):hover { background: #272D32; color: #fff; border-color: #272D32; }
.pr-pack:not([disabled]):hover small { color: #C1C2C4; }
.pr-pack:not([disabled]):hover .pr-buy { color: #DAFE99; }
.pr-pack:not([disabled]):hover .pr-buy i { transform: translateX(4px); }
.pr-pack:focus-visible { outline: 3px solid #272D32; outline-offset: 3px; }
.pr-pack[disabled] .pr-buy { visibility: hidden; }
.pr-pack { transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease), color .2s var(--ease); }
a.pr-btn { display: flex; align-items: center; justify-content: center; text-decoration: none; }
a.pr-pack { text-decoration: none; }

/* ---------- Public pages: marketing page, guest pricing ---------- */
body.public header.top { display: none; }
body.public { background: #F4F3F4; }
.ld-nav { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 16px 32px; background: rgba(244, 243, 244, .86); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(39, 45, 50, .06); }
.ld-logo { text-decoration: none; color: var(--ink); }
.ld-word { font-weight: 800; font-size: 24px; letter-spacing: -.045em; white-space: nowrap; }
.ld-spark { width: 13px; height: 13px; fill: #e8604a; vertical-align: top; position: relative; top: -2px; margin-left: 1px; }
.ld-tm { font-size: .3em; font-weight: 700; letter-spacing: 0; vertical-align: top; position: relative; top: .95em; margin-left: .1em; }
.ld-links { display: flex; align-items: center; gap: 6px; }
.ld-links a, .ld-in { white-space: nowrap; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.ld-links a:hover, .ld-in:hover { text-decoration: underline; text-underline-offset: 4px; }
.ld-acts { display: flex; align-items: center; gap: 18px; }
.ld-cta { display: inline-flex; align-items: center; gap: 10px; background: #272D32; color: #fff; text-decoration: none; font-weight: 700; font-size: 15px; height: 44px; padding: 0 22px; border-radius: 999px; transition: transform .2s var(--ease), box-shadow .2s var(--ease); white-space: nowrap; }
.ld-cta:hover { transform: translateY(-1px); box-shadow: var(--lift); }
.ld-cta.big { height: 58px; padding: 0 30px; font-size: 17px; }
.ld-cta.yellow { background: #DAFE99; color: #272D32; }
.ld-cta i { transition: transform .2s var(--ease); } .ld-cta:hover i { transform: translateX(3px); }
.ld-ghost { display: inline-flex; align-items: center; height: 58px; padding: 0 28px; border-radius: 999px; border: 1.5px solid #272D32; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 17px; }
.ld-ghost:hover { background: #fff; }
.ld { overflow: hidden; }
.ld-hero { max-width: 1280px; margin: 0 auto; padding: 72px 32px 64px; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.ld-hero h1 { font-size: clamp(46px, 6.2vw, 88px); font-weight: 800; letter-spacing: -.05em; line-height: .96; margin: 24px 0 24px; }
.ld-hero-copy > p { font-size: 21px; line-height: 1.5; color: var(--ink2, #41464B); max-width: 34ch; margin: 0 0 32px; }
.ld-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.ld-proof { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: 15px; font-weight: 600; }
.ld-proof li::before { content: '✓'; color: #1d7a5f; margin-right: 8px; }
.ld-collage { display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px; aspect-ratio: 1 / 1; }
.ld-collage figure { margin: 0; border-radius: 28px; overflow: hidden; background: #fff; box-shadow: 0 30px 60px -36px rgba(6, 39, 44, .45); }
.ld-collage img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ld-collage .c1 { grid-row: 1 / 3; }
.ld-collage .c4 { position: absolute; }
.ld-collage { position: relative; }
.ld-collage .logo-tile { width: 30%; aspect-ratio: 1; left: 34%; bottom: -24px; border-radius: 26%; box-shadow: 0 24px 50px -20px rgba(6, 39, 44, .5); background: none; }
.ld-strip { margin: 40px 0 0; overflow: hidden; }
.ld-strip-in { display: flex; gap: 16px; width: max-content; animation: ld-scroll 60s linear infinite; }
.ld-strip img { height: 240px; width: 240px; object-fit: cover; border-radius: 22px; }
@keyframes ld-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ld-strip-in { animation: none; } }
.ld-sec { max-width: 1280px; margin: 0 auto; padding: 120px 32px 0; scroll-margin-top: 60px; }
.ld-sec > h2, .ld-kit h2, .ld-end h2 { font-size: clamp(36px, 4.6vw, 64px); font-weight: 800; letter-spacing: -.045em; line-height: 1; margin: 18px 0 18px; max-width: 18ch; }
.ld-eyebrow { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.ld-eyebrow.light { color: #AFB2B3; }
.ld-lede { font-size: 20px; color: var(--ink2, #41464B); margin: 0; }
.ld-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; margin-top: 48px; }
.ld-steps article { background: #fff; border-radius: 28px; padding: 24px 24px 28px; border: 1.5px solid #E9E9EA; }
.ld-steps img, .ld-dials { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 18px; display: block; margin: 14px 0 20px; }
.ld-n { font-size: 13px; font-weight: 800; letter-spacing: .14em; color: #a88a52; }
.ld-steps h3 { font-size: 22px; letter-spacing: -.02em; margin: 0 0 8px; }
.ld-steps p { margin: 0; color: var(--ink2, #41464B); font-size: 16px; line-height: 1.55; }
.ld-dials { background: #272D32; display: flex; flex-direction: column; justify-content: center; gap: 22px; padding: 26px; box-sizing: border-box; }
.ld-dials div { display: grid; grid-template-columns: 58px 1fr 58px; align-items: center; gap: 10px; color: #E2E3E3; font-size: 12px; font-weight: 600; }
.ld-dials div span:last-child { text-align: right; }
.ld-dials i { position: relative; height: 4px; border-radius: 4px; background: #4D5256; }
.ld-dials b { position: absolute; top: 50%; width: 16px; height: 16px; border-radius: 50%; background: #DAFE99; transform: translate(-50%, -50%); box-shadow: 0 0 0 4px rgba(238, 241, 126, .2); }
.ld-bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 48px; }
.ld-bento article { background: #fff; border-radius: 28px; overflow: hidden; border: 1.5px solid #E9E9EA; display: flex; flex-direction: column; }
.ld-bento article > img, .ld-vec { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.ld-bento article.wide { grid-column: span 2; flex-direction: row; }
.ld-bento article.wide > img { width: 58%; aspect-ratio: auto; }
.ld-bento article > div { padding: 26px 28px 30px; }
.ld-bento article.wide > div { align-self: center; }
.ld-bento h3 { font-size: 22px; letter-spacing: -.02em; margin: 0 0 8px; }
.ld-bento p { margin: 0; color: var(--ink2, #41464B); font-size: 16px; line-height: 1.55; }
.ld-bento .txt { padding: 30px 28px; }
.ld-ico { width: 50px; height: 50px; border-radius: 16px; background: #DAFE99; display: grid; place-items: center; font-size: 20px; margin-bottom: 18px; }
.ld-vec { position: relative; background: #F4F3F4; display: grid; place-items: center; overflow: hidden; }
.ld-vec img { width: 62%; transition: transform .6s var(--ease); }
.ld-bento .vec:hover .ld-vec img { transform: scale(2.4); }
.ld-kit { background: #272D32; color: #fff; margin-top: 120px; padding: 110px 32px; scroll-margin-top: 60px; }
.ld-kit-in { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.ld-checks { list-style: none; padding: 0; margin: 26px 0 38px; display: grid; gap: 16px; }
.ld-checks li { color: #C1C2C4; font-size: 17px; line-height: 1.5; padding-left: 34px; position: relative; }
.ld-checks li::before { content: ''; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: #DAFE99; }
.ld-checks strong { color: #fff; margin-right: 6px; }
.ld-kit-board { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: auto auto auto; gap: 16px; }
.ld-kit-board > div { border-radius: 24px; overflow: hidden; }
.kb-logo { background: #111; display: grid; place-items: center; padding: 30px; }
.kb-logo img { width: 100%; }
.kb-icon { background: #fff; display: grid; place-items: center; padding: 22px; }
.kb-icon img { width: 100%; border-radius: 24%; }
.kb-pal { grid-column: 1 / 3; display: grid; grid-template-columns: repeat(5, 1fr); height: 130px; }
.kb-pal span { display: flex; flex-direction: column; justify-content: flex-end; padding: 12px; color: #fff; font-size: 12px; }
.kb-pal span:last-child { color: var(--ink); }
.kb-pal small { opacity: .85; }
.kb-shot { grid-column: 1 / 3; aspect-ratio: 16 / 7; }
.kb-shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ld-faq { max-width: 980px; }
.ld-qs { margin-top: 36px; display: grid; gap: 12px; }
.ld-qs details { background: #fff; border-radius: 22px; border: 1.5px solid #E9E9EA; padding: 0 28px; }
.ld-qs summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 24px 0; font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.ld-qs summary::-webkit-details-marker { display: none; }
.ld-qs summary i { transition: transform .25s var(--ease); flex: none; }
.ld-qs details[open] summary i { transform: rotate(45deg); }
.ld-qs details p { margin: -6px 0 26px; color: var(--ink2, #41464B); font-size: 17px; line-height: 1.6; max-width: 70ch; }
.ld-end { max-width: 1280px; margin: 120px auto 0; padding: 90px 32px; text-align: center; background: #272D32; color: #fff; border-radius: 44px; width: calc(100% - 64px); box-sizing: border-box; }
.ld-end h2 { margin-left: auto; margin-right: auto; }
.ld-end p { color: #C1C2C4; font-size: 20px; margin: 0 0 30px; }
.ld-foot { padding: 70px 32px 50px; }
.ld-foot-in { max-width: 1280px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 26px; }
.ld-foot p { color: var(--muted); margin: 8px 0 0; font-size: 15px; }
.ld-foot nav { display: flex; flex-wrap: wrap; gap: 22px; }
.ld-foot nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.ld-foot small { width: 100%; color: var(--muted); font-size: 13px; }
.ld .pr-plans { margin-top: 44px; }
@media (max-width: 1280px) { .ld-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1080px) { .ld-steps { grid-template-columns: repeat(2, 1fr); } .ld-bento { grid-template-columns: repeat(2, 1fr); } .ld-bento article.wide { grid-column: span 2; } }
@media (max-width: 860px) {
  .ld-nav { padding: 12px 16px; } .ld-in { font-size: 14px; } .ld-cta { height: 40px; padding: 0 16px; font-size: 14px; }
  .ld-hero { grid-template-columns: 1fr; padding: 40px 16px 40px; gap: 40px; }
  .ld-sec { padding: 90px 16px 0; } .ld-kit { padding: 80px 16px; } .ld-kit-in { grid-template-columns: 1fr; gap: 44px; }
  .ld-steps, .ld-bento { grid-template-columns: 1fr; } .ld-bento article.wide { grid-column: auto; flex-direction: column; } .ld-bento article.wide > img { width: 100%; aspect-ratio: 4 / 3; }
  .ld-strip img { height: 160px; width: 160px; }
  .ld-end { width: calc(100% - 32px); padding: 64px 22px; border-radius: 32px; margin-top: 90px; } .ld-foot { padding: 50px 16px 40px; }
  .ld-cta.big, .ld-ghost { height: 54px; }
}
body.public main { max-width: none; padding: 0; }
.ld-stack { display: grid; gap: 22px; }
.ld-stack .txt { border-radius: 28px; }

/* ---------- About, Privacy and Terms ---------- */
.doc { max-width: 760px; margin: 0 auto; padding: 80px 32px 0; color: var(--ink); }
.doc h1 { font-size: clamp(42px, 5.6vw, 72px); font-weight: 800; letter-spacing: -.05em; line-height: 1; margin: 22px 0 14px; }
.doc .doc-lede { font-size: 21px; line-height: 1.55; color: var(--ink); margin: 0 0 12px; }
.doc h2 { font-size: 26px; font-weight: 800; letter-spacing: -.03em; line-height: 1.15; margin: 54px 0 14px; padding-top: 30px; border-top: 1px solid rgba(39, 45, 50, .1); }
.doc p, .doc li { font-size: 17px; line-height: 1.65; color: var(--ink2, #41464B); }
.doc p { margin: 0 0 14px; }
.doc ul, .doc ol { margin: 0 0 14px; padding-left: 22px; }
.doc li { margin: 0 0 10px; padding-left: 4px; }
.doc li::marker { color: #e8604a; font-weight: 800; }
.doc strong { color: var(--ink); }
.doc a { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(232, 96, 74, .55); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.doc a:hover { text-decoration-color: #e8604a; }
.doc .doc-link { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; border-bottom: 2px solid #e8604a; padding-bottom: 2px; }
.doc + .ld-end { margin-top: 100px; }
.doc + .ld-foot { margin-top: 60px; border-top: 1px solid rgba(39, 45, 50, .08); }
.ld-end .doc-in { font-size: 16px; margin: 22px 0 0; }
.ld-end .doc-in a { color: #fff; font-weight: 700; text-underline-offset: 4px; }
@media (max-width: 860px) { .doc { padding: 48px 16px 0; } .doc .doc-lede { font-size: 19px; } .doc h2 { font-size: 23px; margin-top: 44px; } }

/* Settings: recent spend / transactions fold away */
.set-acc { margin-top: 26px; border-top: 1px solid #E9E9EA; }
.set-acc > summary { list-style: none; display: flex; align-items: center; gap: 14px; padding: 18px 0 4px; cursor: pointer; user-select: none; }
.set-acc > summary::-webkit-details-marker { display: none; }
.set-acc > summary .set-eyebrow { flex: none; }
.set-acc-meta { margin-left: auto; color: var(--muted); font-size: 14px; font-weight: 600; }
.set-acc > summary i { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: #EFF0F0; color: var(--ink); font-size: 12px; transition: transform .25s var(--ease), background .2s; }
.set-acc > summary:hover i { background: #E5E5E6; }
.set-acc[open] > summary i { transform: rotate(180deg); }
.set-acc > summary:focus-visible { outline: 3px solid #272D32; outline-offset: 4px; border-radius: 8px; }
.set-acc-list { max-height: 420px; overflow-y: auto; margin-top: 6px; padding-right: 6px; }
.set-user-r .set-pill.danger { margin-top: 0; border-color: #e9c9c2; }
.set-user-r .set-pill.danger:hover { background: #fbe9e6; border-color: #b93a2b; }
.set-user-r .set-pill { white-space: nowrap; }
.set-row.off { opacity: 1; }
.set-row.off .set-user > span, .set-row.off .set-user-r small, .set-row.off .avatar { opacity: .55; }
.doc h1 + .doc-lede { margin-top: 26px; }
/* Contact page */
.ct-form { display: flex; flex-direction: column; margin-top: 30px; background: #fff; border: 1px solid rgba(39, 45, 50, .08); border-radius: 30px; padding: 12px 32px 32px; }
.ct-form[hidden], .ct-done[hidden] { display: none; }
.ct-row { display: flex; gap: 16px; }
.ct-row > div { flex: 1 1 0; min-width: 0; }
.ct-form .fb-field { background: #F4F3F4; }
.ct-form .fb-field:focus { background: #fff; }
.ct-select { position: relative; display: flex; align-items: center; }
.ct-select select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 52px; color: var(--ink); }
.ct-select i { position: absolute; right: 22px; pointer-events: none; font-size: 14px; color: var(--muted); }
.ct-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ct-actions { display: flex; justify-content: flex-end; margin-top: 26px; }
.ct-done { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; margin-top: 30px; background: #fff; border: 1px solid rgba(39, 45, 50, .08); border-radius: 30px; padding: 36px 32px; outline: none; }
.ct-done h2 { border: 0; padding: 0; margin: 14px 0 6px; }
.ct-done p { margin: 0; }
.ct-check { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: var(--yellow); color: #272D32; font-size: 22px; }
@media (max-width: 640px) {
  .ct-row { flex-direction: column; gap: 0; }
  .ct-form { padding: 6px 20px 24px; border-radius: 24px; }
  .ct-actions .fb-send { width: 100%; }
}

/* ---------- Public feature and audience pages (server/marketing.js) ---------- */
.mk-hero { padding-bottom: 40px; }
.mk-hero h1 { font-size: clamp(42px, 5.4vw, 76px); }
.mk-hero-img { margin: 0; border-radius: 32px; overflow: hidden; box-shadow: 0 30px 60px -36px rgba(6, 39, 44, .45); aspect-ratio: 1 / 1; background: #fff; }
.mk-hero-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mk-pal { max-width: 1280px; margin: 10px auto 0; padding: 0 32px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; box-sizing: border-box; }
.mk-pal span { height: 120px; border-radius: 20px; display: flex; flex-direction: column; justify-content: flex-end; padding: 14px 16px; color: #fff; box-sizing: border-box; }
.mk-pal span:nth-child(5) { color: var(--ink); }
.mk-pal b { font-size: 15px; } .mk-pal small { font-size: 12px; opacity: .85; font-weight: 600; }
.mk-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin-top: 48px; }
.mk-steps article { background: #fff; border-radius: 28px; padding: 26px 24px 28px; border: 1.5px solid #E9E9EA; }
.mk-steps h3 { font-size: 22px; letter-spacing: -.02em; margin: 14px 0 8px; }
.mk-steps p, .mk-points p, .mk-card p { margin: 0; color: var(--ink2, #41464B); font-size: 16px; line-height: 1.55; }
.mk-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 48px; }
.mk-points article { background: #fff; border-radius: 28px; padding: 28px 26px 30px; border: 1.5px solid #E9E9EA; }
.mk-points h3 { font-size: 21px; letter-spacing: -.02em; margin: 0 0 8px; }
.mk-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.mk-gallery figure { margin: 0; border-radius: 24px; overflow: hidden; aspect-ratio: 1; background: #fff; }
.mk-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease); }
.mk-gallery figure:hover img { transform: scale(1.04); }
.mk-more { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 24px; }
.mk-card { position: relative; display: block; background: #fff; border-radius: 28px; padding: 26px 26px 60px; border: 1.5px solid #E9E9EA; text-decoration: none; color: var(--ink); transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s; }
.mk-card:hover { transform: translateY(-2px); box-shadow: var(--lift); border-color: #272D32; }
.mk-card h3 { font-size: 22px; letter-spacing: -.02em; margin: 10px 0 8px; }
.mk-go { position: absolute; left: 26px; bottom: 24px; transition: transform .2s var(--ease); }
.mk-card:hover .mk-go { transform: translateX(4px); }
.ld-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; color: var(--ink); font-weight: 700; font-size: 15px; text-decoration: none; border-bottom: 2px solid #e8604a; padding-bottom: 2px; }
.ld-more i { font-size: 12px; transition: transform .2s var(--ease); } .ld-more:hover i { transform: translateX(3px); }
.ld-more.light { color: #fff; margin: 0 0 0 22px; }

/* The public footer: brand on the left, four link columns */
.ld-foot-in { align-items: flex-start; }
.ld-foot-brand { flex: 1 1 240px; }
.ld-foot-cols { display: grid; grid-template-columns: repeat(5, auto); gap: 18px 48px; }
.ld-foot .ld-foot-cols nav { display: flex; flex-direction: column; gap: 10px; }
.ld-foot-cols h4 { margin: 0 0 4px; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.ld-foot .ld-foot-cols a { font-weight: 600; font-size: 15px; color: var(--ink); text-decoration: none; }
.ld-foot .ld-foot-cols a:hover { text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 1180px) { .ld-foot-cols { grid-template-columns: repeat(3, auto); } }
@media (max-width: 1080px) { .mk-steps { grid-template-columns: repeat(2, 1fr); } .mk-points { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) {
  .mk-hero-img { aspect-ratio: 4 / 3; }
  .mk-pal { padding: 0 16px; grid-template-columns: repeat(5, 1fr); gap: 8px; } .mk-pal span { height: 90px; padding: 10px; } .mk-pal small { display: none; }
  .mk-steps, .mk-points, .mk-more { grid-template-columns: 1fr; }
  .mk-gallery { grid-template-columns: repeat(2, 1fr); }
  .ld-foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; width: 100%; }
  .ld-more.light { margin: 18px 0 0; display: flex; width: max-content; }
}

/* Compare pages */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mk-table-wrap { margin-top: 44px; background: #fff; border: 1.5px solid #E9E9EA; border-radius: 28px; overflow-x: auto; }
.mk-table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.5; min-width: 640px; }
.mk-table th, .mk-table td { text-align: left; vertical-align: top; padding: 18px 22px; border-bottom: 1px solid #E9E9EA; }
.mk-table tbody tr:last-child th, .mk-table tbody tr:last-child td { border-bottom: 0; }
.mk-table thead th { font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); background: #FAFAFB; }
.mk-table thead th:nth-child(2) { color: var(--ink); background: #f6f8c8; }
.mk-table tbody th { width: 22%; font-weight: 700; color: var(--ink); }
.mk-table td { width: 39%; color: var(--ink2, #41464B); }
.mk-table td:nth-of-type(1) { background: #fbfcea; color: var(--ink); }
.mk-note { margin: 16px 4px 0; color: var(--muted); font-size: 14px; line-height: 1.55; max-width: 92ch; }
.mk-fit { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 44px; }
.mk-fit article { background: #fff; border: 1.5px solid #E9E9EA; border-radius: 28px; padding: 30px 30px 26px; }
.mk-fit article.ours { background: #272D32; border-color: #272D32; color: #fff; }
.mk-fit h3 { font-size: 22px; letter-spacing: -.02em; margin: 0 0 14px; }
.mk-fit ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.mk-fit li { position: relative; padding-left: 28px; font-size: 16px; line-height: 1.55; color: var(--ink2, #41464B); }
.mk-fit li::before { content: '✓'; position: absolute; left: 0; color: #1d7a5f; font-weight: 800; }
.mk-fit .ours li { color: #E2E3E3; } .mk-fit .ours li::before { color: #DAFE99; }
@media (max-width: 860px) { .mk-fit { grid-template-columns: 1fr; } .mk-table th, .mk-table td { padding: 14px 16px; font-size: 15px; } }
@media (max-width: 640px) {
  .mk-table { min-width: 0; }
  .mk-table thead { display: none; }
  .mk-table tr { display: block; border-bottom: 1px solid #E9E9EA; padding: 6px 0; }
  .mk-table tbody tr:last-child { border-bottom: 0; }
  .mk-table th, .mk-table td { display: block; width: auto; border: 0; padding: 8px 18px; }
  .mk-table tbody th { padding-top: 14px; font-size: 16px; width: auto; }
  .mk-table td { width: auto; }
  .mk-table td::before { content: attr(data-label); display: block; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
  .mk-table td:nth-of-type(1) { background: #fbfcea; border-radius: 14px; margin: 0 10px; }
}

/* Every link eases between states (color, underline, background, border) instead of snapping */
a { transition: color .2s ease, background-color .2s ease, border-color .2s ease, text-decoration-color .2s ease, opacity .2s ease, box-shadow .2s ease; }
.ld-links a, .ld-in, .ld-foot .ld-foot-cols a { text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.ld-links a:hover, .ld-in:hover, .ld-foot .ld-foot-cols a:hover { text-decoration-color: #e8604a; }
.ld-more { transition: border-color .2s ease, color .2s ease; } .ld-more:hover { border-color: #272D32; }
.ld-more.light:hover { border-color: #fff; }

/* Sketch and mark grids have their own square frame: give them room so rounded corners don't clip it */
/* (The image is pinned inside the card with even space on every side, so it stays centered at any card shape.) */
.mk-hero-img:has(img[src$="sketches.jpg"]), .mk-hero-img:has(img[src$="marks.jpg"]),
.mk-gallery figure:has(img[src$="sketches.jpg"]), .mk-gallery figure:has(img[src$="marks.jpg"]) { position: relative; }
.mk-hero-img img[src$="sketches.jpg"], .mk-hero-img img[src$="marks.jpg"],
.mk-gallery img[src$="sketches.jpg"], .mk-gallery img[src$="marks.jpg"] { position: absolute; inset: 7%; width: 86%; height: 86%; object-fit: contain; border-radius: 4px; }
.mk-gallery figure:hover img[src$="sketches.jpg"], .mk-gallery figure:hover img[src$="marks.jpg"] { transform: none; }
.ld-steps img[src$="sketches.jpg"], .ld-steps img[src$="marks.jpg"] { border-radius: 4px; object-fit: contain; }

/* Compare pages: say the hero image was made with Emblo Studio */
.mk-hero-media { min-width: 0; }
.mk-cap { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 16px 0 0; color: var(--muted); font-size: 14px; font-weight: 600; }
.mk-cap .ld-spark { position: static; width: 12px; height: 12px; margin: 0; }

/* ---------- Public top bar: dropdown menus (public/nav.js) ---------- */
.ld-plain { padding: 8px 12px; }
.ld-dd { position: relative; }
.ld-dd-btn { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border: 0; border-radius: 999px; background: transparent; color: var(--ink); font: inherit; font-weight: 600; font-size: 15px; cursor: pointer; white-space: nowrap; transition: background-color .2s ease, color .2s ease; }
.ld-dd-btn:hover, .ld-dd.open .ld-dd-btn { background: rgba(39, 45, 50, .06); }
.ld-dd-btn:focus-visible { outline: 2px solid #e8604a; outline-offset: 2px; }
.ld-dd-chev { width: 12px; height: 12px; transition: transform .25s var(--ease); }
.ld-dd.open .ld-dd-chev { transform: rotate(180deg); }
.ld-dd-menu { position: absolute; top: calc(100% + 10px); left: 0; min-width: 240px; display: grid; gap: 2px; padding: 8px; background: #fff; border: 1px solid rgba(39, 45, 50, .08); border-radius: 18px; box-shadow: 0 18px 40px -12px rgba(39, 45, 50, .25);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s ease, transform .2s var(--ease), visibility 0s linear .2s; z-index: 30; }
.ld-dd-menu::before { content: ''; position: absolute; left: 0; right: 0; top: -12px; height: 12px; } /* a bridge, so the menu stays open on the way down */
.ld-dd:last-child .ld-dd-menu { left: auto; right: 0; }
.ld-dd.open .ld-dd-menu { opacity: 1; visibility: visible; transform: none; transition: opacity .2s ease, transform .2s var(--ease), visibility 0s; }
.ld-links .ld-dd-menu a { display: block; padding: 10px 14px; border-radius: 12px; font-size: 15px; font-weight: 600; color: var(--ink); text-decoration: none; white-space: nowrap; transition: background-color .2s ease, color .2s ease; }
.ld-links .ld-dd-menu a:hover, .ld-links .ld-dd-menu a:focus-visible { background: #F4F3F4; color: #e8604a; outline: none; }
@media (hover: hover) and (min-width: 1100px) {
  .ld-dd:hover .ld-dd-menu { opacity: 1; visibility: visible; transform: none; transition: opacity .2s ease, transform .2s var(--ease), visibility 0s; }
  .ld-dd:hover .ld-dd-btn { background: rgba(39, 45, 50, .06); }
  .ld-dd:hover .ld-dd-chev { transform: rotate(180deg); }
}
.ld-burger { display: none; width: 42px; height: 42px; padding: 9px; border: 0; border-radius: 999px; background: rgba(39, 45, 50, .06); color: var(--ink); cursor: pointer; }
.ld-burger svg { width: 24px; height: 24px; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.ld-burger path { transition: transform .25s var(--ease), opacity .2s ease; transform-origin: 12px 12px; }
.ld-nav.menu-open .ld-burger .l1 { transform: translateY(5px) rotate(45deg); }
.ld-nav.menu-open .ld-burger .l2 { opacity: 0; }
.ld-nav.menu-open .ld-burger .l3 { transform: translateY(-5px) rotate(-45deg); }

/* Below 1100px the menus fold into the Menu button: a panel under the bar, each menu opening in place */
@media (max-width: 1099px) {
  .ld-burger { display: inline-flex; align-items: center; justify-content: center; }
  .ld-links { position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 24px; max-height: calc(100vh - 64px); overflow-y: auto; background: #F4F3F4; border-bottom: 1px solid rgba(39, 45, 50, .08); box-shadow: 0 24px 40px -24px rgba(39, 45, 50, .3); }
  .ld-nav.menu-open .ld-links { display: flex; }
  .ld-dd { border-bottom: 1px solid rgba(39, 45, 50, .08); }
  .ld-dd-btn { width: 100%; justify-content: space-between; height: 54px; padding: 0 4px; border-radius: 0; font-size: 17px; }
  .ld-dd-btn:hover, .ld-dd.open .ld-dd-btn { background: transparent; }
  .ld-dd-menu, .ld-dd:last-child .ld-dd-menu { position: static; display: none; min-width: 0; padding: 0 0 12px; border: 0; box-shadow: none; background: transparent; opacity: 1; visibility: visible; transform: none; transition: none; }
  .ld-dd.open .ld-dd-menu { display: grid; }
  .ld-dd-menu::before { display: none; }
  .ld-links .ld-dd-menu a { padding: 10px 4px; font-weight: 500; }
  .ld-plain { padding: 14px 4px; font-size: 17px; }
  body.ld-locked { overflow: hidden; }
}
.ld-mobile-in { display: none; }
/* Signed in, the bar has just About and Pricing: they stay in the bar down to 861px, as before */
@media (min-width: 861px) and (max-width: 1099px) { .ld-links.plain { position: static; display: flex; flex-direction: row; padding: 0; max-height: none; background: none; border: 0; box-shadow: none; } }
@media (max-width: 560px) { .ld-in { display: none; } .ld-links .ld-mobile-in { display: block; } }

/* "Coming soon" tag for stationery, slides and the brand book (OUTPUTS_LIVE in public/outputs.js) */
.ld-soon { display: inline-block; margin-left: 10px; padding: 3px 10px; border-radius: 999px; background: #DAFE99; color: #272D32; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; vertical-align: 1px; }
.ld-checks .ld-soon { margin-left: 8px; }

/* "You need Figma" wherever stationery, slides and the brand book are sold. */
.pr-req { display: block; margin-top: 8px; font-weight: 600; color: var(--ink); }
.fb-sub .pr-req { display: inline; margin: 0; }
.fb-check { margin: -6px 0 18px; border-top: 1px solid #E9E9EA; }
.fb-check strong { font-size: 16px; }
.fb-check small { font-size: 14px; }

/* Archetype picker: two-tone icons, brand names in pills, the chosen card turns dark. Compact, so all twelve fit on
   a desktop screen without scrolling: four across on wide screens, three on laptops, two on tablets, one on phones. */
.arch-eyebrow { color: #B1B3B5; margin-bottom: 4px; }
.arch-title { font-size: clamp(24px, 3vw, 32px); letter-spacing: -.03em; line-height: 1.05; margin: 0 0 6px; }
.arch-lede { font-size: 15px; margin: 0 0 14px; }
.arch-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 0; }
@media (max-width: 1100px) { .arch-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 820px) { .arch-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .arch-grid { grid-template-columns: 1fr; gap: 10px; } }
.modal .arch { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 12px 16px 13px; border: 1.5px solid var(--line); border-radius: 16px; background: #fff; outline: none; text-align: left; }
.modal .arch:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: var(--lift); }
.modal .arch:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.arch-art { display: flex; align-items: center; height: 40px; margin-bottom: 4px; }
.arch-art .duo { display: block; }
.arch-label { font-size: 17px; letter-spacing: -.02em; color: var(--ink); }
.arch-traits { font-size: 13px; color: var(--muted); }
.arch-pills { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 7px; }
.arch-pills .pill { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 999px; background: #F0F0F1; color: #55595D; font-size: 11.5px; font-weight: 600; line-height: 1.25; letter-spacing: 0; white-space: nowrap; }
.modal .arch.on { background: #272D32; border-color: #272D32; outline: none; }
.modal .arch.on .arch-label { color: #fff; }
.modal .arch.on .arch-traits { color: rgba(255, 255, 255, .72); }
.modal .arch.on .pill { background: rgba(255, 255, 255, .14); color: #fff; }
.modal .box:has(.arch-grid) { padding: 20px 28px 16px; }
.modal .box:has(.arch-grid) > .row { margin-top: 12px !important; }
.arch-clear { margin: 12px 0 0; }
.modal .arch.on[data-arch="magician"] .duo path:nth-of-type(2), .modal .arch.on[data-arch="rebel"] .duo path:nth-of-type(3) { fill: #fff; }

/* Personality scales: smooth from 0 to 10. Faint ticks mark each whole step and a darker one marks the middle; the
   ticks sit between the thumb's two end positions (12px in from each side). */
.slider input[type=range] { --ticks: linear-gradient(to right, transparent calc(50% - 1px), rgba(6, 39, 44, .4) calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px)),
    repeating-linear-gradient(to right, rgba(6, 39, 44, .16) 0 2px, transparent 2px calc((100% - 3px) / 10)) 11px 0 / calc(100% - 21px) 100% no-repeat, #EAEAEB; }
.slider input[type=range]::-webkit-slider-runnable-track { background: var(--ticks); }
.slider input[type=range]::-moz-range-track { background: var(--ticks); }

/* Project menus: a divider before Delete, which is red. The brand name in the project header shows a pencil on hover. */
.menu .menu-sep { border: 0; border-top: 1px solid var(--line); margin: 4px 6px; padding: 0; height: 0; }
.menu .danger { color: #c0392b; }
.pname-pen { font-size: 11px; opacity: 0; margin-left: 4px; transition: opacity .15s var(--ease); }
.pname:hover .pname-pen, .pname:focus-visible .pname-pen { opacity: .55; }
/* Colors locked is a button: click to unlock and pick different colors. */
button.colors-chip { border: 0; cursor: pointer; font-family: inherit; font-weight: 700; color: inherit; }
button.colors-chip:hover { box-shadow: 0 0 0 2px var(--ink); }
/* The pill on an Exploration image sits level with the copy and save buttons, with room below it. */
.shot-pin { left: 16px; bottom: 20px; }
/* Save to brand in the large image view: the heart turns coral once saved, like the card's heart. */
.lb-save.on { background: #f26f5a; color: #fff; border-color: #f26f5a; }
.lb-save .fa-heart { margin-right: 2px; }
/* Extract: the model menu opens out over the image (as Branda's does) instead of being clipped by the side panel. */
@media (min-width: 861px) { .xt-panel { overflow: visible; position: relative; z-index: 2; } }
/* A saved image keeps its dark frame on hover: the frame sits above the image (which zooms on hover), under the buttons. */
.shot.liked { outline: none; }
.shot.liked::after { content: ''; position: absolute; inset: 0; border: 3px solid var(--ink); border-radius: inherit; pointer-events: none; z-index: 1; }
.shot .shot-acts, .shot .shot-pin, .shot .logo-chip { z-index: 2; }
/* Extract: the box panel is placed beside the box in screen coordinates (see extractTool), so it never gets clipped. */
.xt > .xt-pop { position: fixed; transform: none; width: 260px; z-index: 6; }
/* Choices in a box's panel (Which logo, Size) fill its width, so three fit without spilling out. */
.xt-pop .seg { display: flex; width: 100%; box-sizing: border-box; }
.xt-pop .seg button { flex: 1 1 0; padding: 7px 6px; font-size: 13px; white-space: nowrap; }
.xt-pop p { overflow-wrap: anywhere; }

/* ---------- Kit tabs and stationery (layouts drawn by public/layout.js) ---------- */
.kit-tabs { display: flex; gap: 4px; padding: 4px; background: #fff; border: 1px solid var(--line); border-radius: 999px; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.kit-tabs::-webkit-scrollbar { display: none; }
.kit-tabs a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: 14px; text-decoration: none; white-space: nowrap; color: var(--muted); transition: background .2s, color .2s; }
.kit-tabs a:hover { color: var(--ink); background: var(--field); }
.kit-tabs a.on { background: var(--ink); color: #fff; }
.kit-tabs small { font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 2px 6px; border-radius: 999px; background: var(--teal); color: var(--ink); }
/* Kit tab pages (Stationery, Presentation, Brand book): the header shrinks like the Brand kit page's, but keeps the kit tabs. */
.kit-head-tab + #kit-tab { padding-top: 36px; }

.ko { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }
.ko-pv { background: #fff; border: 1px solid #EAEAEB; border-radius: 28px; padding: 32px; overflow: hidden; display: flex; align-items: center; justify-content: center; min-height: 360px; }
.ko-pv > img { border-radius: 16px; }
.ko-sheet { display: flex; gap: 20px; align-items: center; width: 100%; }
.ko-a { flex: 1 1 0; min-width: 0; box-shadow: 0 18px 40px -24px rgba(17, 17, 17, .45); }
.ko-b { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.ko-b > div { box-shadow: 0 14px 30px -22px rgba(17, 17, 17, .5); }
/* The Presentation preview on the Brand kit page: four of the brand's own slides, two by two. */
.ko-deck { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; width: 100%; }
.ko-deck > div { min-width: 0; box-shadow: 0 14px 30px -22px rgba(17, 17, 17, .5); }
@media (max-width: 640px) { .ko-deck { gap: 10px; } }
/* The website preview: the top of each look (hero and about), side by side. */
.ko-site { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; width: 100%; align-items: start; }
.ko-site > div { min-width: 0; border-radius: 6px; box-shadow: 0 14px 30px -22px rgba(17, 17, 17, .5); }
.ko-steps { list-style: none; margin: 0; padding: 0; counter-reset: ko; display: flex; flex-direction: column; gap: 18px; }
.ko-steps li { counter-increment: ko; display: grid; grid-template-columns: 34px 1fr; column-gap: 14px; }
.ko-steps li::before { content: counter(ko); grid-row: span 2; width: 34px; height: 34px; border-radius: 50%; background: var(--yellow); display: flex; align-items: center; justify-content: center; font-weight: 800; }
.ko-steps strong { font-size: 16px; }
.ko-steps span { color: var(--muted); }
.ko-steps a { color: var(--ink); font-weight: 600; }
@media (max-width: 1000px) { .ko { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .ko-pv { padding: 20px; border-radius: 22px; } .ko-pv { min-height: 0; } .ko-sheet { gap: 12px; } .ko-b { gap: 10px; } }

.lay-fit { position: relative; overflow: hidden; background: #fff; }
.lay { position: absolute; top: 0; left: 0; }
.lay [data-edit] { cursor: text; border-radius: 1px; outline: 1px dashed transparent; outline-offset: 1px; transition: outline-color .15s, background .15s; }
.lay [data-edit]:hover { outline-color: rgba(17, 17, 17, .35); }
.lay [data-edit]:focus { outline: 1px solid #2f6fed; background: rgba(47, 111, 237, .06); }
.lay .lay-ph { text-decoration: underline dotted rgba(17, 17, 17, .35); text-underline-offset: 2px; }
.lay[inert] [data-edit], .lay[inert] .lay-ph { outline: 0; text-decoration: none; }
.lay-offscreen { position: fixed; left: -30000px; top: 0; pointer-events: none; }
.lay [data-hide] { display: none !important; } /* a layer left out at this size (the website's menu links on a phone) */
.lay-offscreen .lay { position: relative; }
.lay-offscreen .lay + .lay { margin-top: 20px; }

.st-loading { padding: 80px 0; text-align: center; color: var(--muted); display: flex; gap: 10px; justify-content: center; align-items: center; }
.st-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 24px; }
.st-top .sec-lede { max-width: 620px; }
.st-acts { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.st-print { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; cursor: pointer; }
.st-print input { width: 18px; height: 18px; accent-color: var(--ink); }
.st-details { padding: 0; }
.st-details summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 20px 24px; }
.st-details summary::-webkit-details-marker { display: none; }
.st-details summary span { display: flex; flex-direction: column; }
.st-details summary small { color: var(--muted); }
.st-details summary i { transition: transform .2s; }
.st-details[open] summary i { transform: rotate(180deg); }
.st-form { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; padding: 0 24px 24px; }
.st-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; }
.st-piece { padding: 40px 0 8px; border-top: 1px solid var(--line); margin-top: 32px; scroll-margin-top: calc(120px + var(--pb-h, 0px)); }
.st-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.st-head h3 { font-size: 22px; letter-spacing: -.02em; margin: 0; }
.st-picks { display: flex; gap: 12px; margin-bottom: 20px; overflow-x: auto; padding: 4px 2px 8px; }
.st-pick { flex: 0 0 auto; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; padding: 12px; background: #fff; border: 1.5px solid var(--line); border-radius: 16px; cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.st-pick:hover { border-color: #C6C8C9; }
.st-pick.on { border-color: var(--ink); box-shadow: 0 0 0 2px var(--ink) inset; }
.st-thumbs { display: flex; gap: 8px; }
.st-thumb { display: block; width: 132px; box-shadow: 0 0 0 1px rgba(17, 17, 17, .08); }
.st-picks:has([data-thumb="letterhead"]) .st-thumb, .st-picks:has([data-thumb="invoice"]) .st-thumb { width: 96px; }
.st-picks:has([data-thumb="envelope"]) .st-thumb { width: 170px; }
.st-pick-name { font-size: 13px; font-weight: 600; }
.st-pick-name b { display: inline-flex; width: 20px; height: 20px; border-radius: 50%; background: var(--field); align-items: center; justify-content: center; font-size: 11px; margin-right: 4px; }
.st-pick.on .st-pick-name b { background: var(--ink); color: #fff; }
.st-stage { display: flex; gap: 24px; flex-wrap: wrap; padding: 32px; background: #E9EAEA; border-radius: 28px; justify-content: center; }
.st-page { flex: 1 1 0; min-width: 0; box-shadow: 0 18px 40px -24px rgba(17, 17, 17, .5); }
.st-stage-card .st-page { max-width: 460px; }
.st-stage-letterhead .st-page, .st-stage-invoice .st-page { max-width: 640px; }
.st-stage-envelope .st-page { max-width: 820px; }
.st-tip { margin: 32px 0 0; display: flex; gap: 8px; align-items: center; }
.st-soon { gap: 12px; }
.st-soon .row { justify-content: center; margin-top: 8px; }
@media (max-width: 760px) {
  .st-stage { padding: 16px; gap: 16px; border-radius: 20px; }
  .st-stage-card { flex-direction: column; }
  .st-stage-card .st-page { flex: none; width: 100%; }
  .st-thumb { width: 104px; }
  .st-picks:has([data-thumb="letterhead"]) .st-thumb, .st-picks:has([data-thumb="invoice"]) .st-thumb { width: 84px; }
  .st-picks:has([data-thumb="envelope"]) .st-thumb { width: 150px; }
  .st-acts { width: 100%; justify-content: space-between; }
  .st-head h3 { font-size: 19px; }
}
.kit-tabs-row { order: 3; flex: 0 0 100%; display: flex; min-width: 0; }
.kit-head > .kit-actions { order: 2; }
.kit-head.stuck .kit-tabs a { padding: 6px 14px; }
.kit-jump { display: none; }
/* Shrunk header: one slim row, brand on the left, jump links in the middle, actions on the right. The kit tabs show only at the top. */
.kit-head.stuck { flex-wrap: nowrap; gap: 16px; }
.kit-head.stuck .kit-tabs-row { display: none; }
.kit-head.stuck .kit-id { flex: 0 1 auto; flex-wrap: nowrap; min-width: 0; gap: 12px; }
.kit-head.stuck .kit-id > div { min-width: 0; }
.kit-head.stuck .kit-name { font-size: 20px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 220px; }
.kit-head.stuck .kit-icon { width: 34px; height: 34px; flex: 0 0 auto; max-width: none; }
.kit-head.stuck .kit-jump { display: flex; order: 1; flex: 1 1 auto; min-width: 0; gap: 2px; padding: 4px; background: #fff; border: 1px solid var(--line); border-radius: 999px; overflow-x: auto; scrollbar-width: none; scroll-behavior: smooth; }
.kit-jump::-webkit-scrollbar { display: none; }
.kit-jump a { flex: 0 0 auto; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--muted); text-decoration: none; white-space: nowrap; transition: background .2s var(--ease), color .2s var(--ease); }
.kit-jump a:hover { color: var(--ink); background: var(--field); }
.kit-jump a.on { background: var(--ink); color: #fff; }
.kit-head.stuck > .kit-actions { order: 2; flex: 0 0 auto; flex-wrap: nowrap; gap: 8px; }
.kit-head.stuck .kit-actions .btn { padding: 10px 16px; font-size: 14px; }
.kit-head.stuck .kit-actions #get-plus { display: none; }
@media (max-width: 1100px) { .kit-head.stuck .kit-actions { display: none; } }
@media (max-width: 760px) {
  .kit-head.stuck { gap: 10px; }
  .kit-head.stuck .kit-id { flex: 0 0 auto; }
  .kit-head.stuck .kit-id > div { display: none; }
}
@media (max-width: 760px) { .kit-head.stuck .kit-tabs-row { display: none; } .kit-tabs a { padding: 7px 12px; font-size: 13px; } }
/* Kit tab pages keep the kit tabs in the shrunk header, right beside the brand name, with the tab's download buttons on the right on wide screens. */
.kit-head-tab > .kit-actions { display: none; }
.kit-head-tab.stuck .kit-tabs-row { display: flex; order: 1; flex: 1 1 auto; justify-content: flex-start; min-width: 0; }
.kit-head-tab.stuck > .kit-actions { display: flex; }
@media (max-width: 1100px) { .kit-head-tab.stuck > .kit-actions { display: none; } }

/* Brand kit: the outputs section, two clearly separate ways (edit here, or Figma) */
.ko-chip { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: var(--field); color: var(--ink); }
.ko-chip.ok { background: var(--teal); }
.ko-card { background: #fff; border: 1px solid #EAEAEB; border-radius: 28px; padding: 32px; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.ko-card h3 { font-size: 24px; letter-spacing: -.02em; margin: 0; }
.ko-card p { margin: 0; color: var(--muted); }
.ko-two { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.ko-card-main { border: 2px solid var(--ink); }
.ko-card .ko-pv { padding: 24px; min-height: 0; background: #E9EAEA; border: 0; border-radius: 20px; }
.ko-soon { margin: 0; }
@media (max-width: 640px) { .ko-card { padding: 20px; border-radius: 22px; } .ko-card h3 { font-size: 21px; } }
@media (max-width: 1000px) { .ko.ko-two { grid-template-columns: 1fr; } }
.ko-pv-img { position: relative; flex-direction: column; gap: 8px; }
.ko-pv-img img { border-radius: 12px; }
.ko-sample { font-size: 12px; color: var(--muted); }
.ko-card-soon .ko-chip { background: #272D32; color: var(--yellow); } /* coming soon: an ink badge that stands out on the card */
.st-soon-img { width: min(560px, 100%); border-radius: 18px; margin-top: 8px; }
.st-soon-pv { width: min(880px, 100%); display: flex; justify-content: center; }
.st-soon-pv.ko-pv { padding: 24px; min-height: 0; background: #E9EAEA; border: 0; border-radius: 20px; margin-top: 8px; }
.ko-pv-img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

/* Pull my brand in: the optional symbol beside the logo */
.sym-drop { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding: 12px 14px; border: 1.5px dashed #c9c9c9; border-radius: 10px; background: var(--bg); cursor: pointer; font-size: 14px; text-align: left; }
.sym-drop:hover, .sym-drop.over { border-color: var(--ink); background: #fff; }
.sym-has { display: flex; align-items: center; gap: 12px; }
.sym-has img { width: 52px; height: 52px; object-fit: contain; background: #fff; border-radius: 8px; padding: 4px; }
.sym-has > span { display: flex; flex-wrap: wrap; gap: 4px 6px; align-items: center; }
.sym-has strong { width: 100%; }
.intro-logos { display: flex; flex-wrap: wrap; gap: 8px; width: 132px; }
.intro-logos img { width: 120px; border: 1px solid var(--line); border-radius: 8px; padding: 8px; background: #fff; }
.intro-logos img + img { width: 64px; }
.intro-logos small { width: 100%; color: var(--muted); font-size: 12px; }
@media (max-width: 640px) { .proj-bar { margin: -8px -16px 24px; padding: 10px 16px; } .proj-bar.stuck { padding: 6px 16px; } }
@media (max-width: 760px) {
  .proj-bar .steps { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
  .proj-bar .steps::-webkit-scrollbar { display: none; }
  .proj-bar .steps a { white-space: nowrap; }
  .proj-bar.stuck > .row { display: none; }
}

/* Settings, owner only: Monthly spend, a card per month */
.set-nav-n { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; margin-left: 6px; border-radius: 999px; background: #e0552f; color: #fff; font-size: 11px; font-weight: 700; vertical-align: 1px; }
.spend-open { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; font-weight: 700; }
.spend-open i { font-size: 11px; transition: transform .2s var(--ease); color: var(--muted); }
.spend-open[aria-expanded="true"] i { transform: rotate(90deg); }
.spend-open:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.spend-cards { display: grid; gap: 14px; }
.spend-mo { border: 1px solid #E8E8E9; border-radius: 18px; padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; }
.spend-mo-head { display: flex; align-items: baseline; gap: 4px 10px; flex-wrap: wrap; font-size: 17px; }
.spend-bar { height: 8px; border-radius: 999px; background: #EBECEC; overflow: hidden; }
.spend-bar i { display: block; height: 100%; border-radius: inherit; background: #272D32; }
.spend-bar.over i { background: #c4492a; }
.spend-bar-cap { margin: 0; font-size: 13px; color: var(--muted); font-weight: 600; }
.spend-stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.spend-stats > div { background: #F4F3F4; border-radius: 14px; padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.spend-stats small { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.spend-stats strong { font-size: 19px; }
.spend-stats em { font-style: normal; font-size: 12px; color: var(--muted); }
.spend-mo .spend-over { color: #a1321c; }
.spend-tools { display: flex; justify-content: flex-end; margin: -6px 0 12px; }
.spend-tools .set-pill i { margin-right: 4px; }
.spend-mo { gap: 0; }
.spend-mo-toggle { all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; width: 100%; }
.spend-mo-toggle:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: 8px; }
.spend-mo-title { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; font-size: 17px; }
.spend-mo-title > i, .spend-open > i { font-size: 11px; color: var(--muted); transition: transform .2s var(--ease); }
.spend-mo-toggle[aria-expanded="true"] .spend-mo-title > i, .spend-open[aria-expanded="true"] > i { transform: rotate(90deg); }
.spend-mo-sum { display: inline-flex; gap: 14px; flex-wrap: wrap; font-size: 13.5px; color: var(--muted); }
.spend-mo-sum b { color: var(--ink); }
.spend-mo-sum em { font-style: normal; font-weight: 600; }
.spend-mo.open .spend-mo-sum { display: none; }
.spend-mo-body { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.spend-mo-body[hidden] { display: none; }
.spend-pwrap { display: flex; flex-direction: column; gap: 4px; }
.spend-mo:not(.open) { padding-top: 14px; padding-bottom: 14px; }
.spend-mo:not(.open):hover { border-color: #D2D3D5; }
.spend-mo-sub { font-size: 13px; color: var(--muted); font-weight: 600; }
.spend-all { background: #F4F3F4; border-color: transparent; gap: 10px; }
.spend-all .spend-stats > div { background: #fff; }
.spend-sub { margin: 4px 0 -2px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.spend-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.spend-plans > button { all: unset; box-sizing: border-box; cursor: pointer; border: 1px solid #E8E8E9; border-radius: 14px; padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; min-width: 0; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.spend-plans > button:hover { border-color: #C3C5C7; }
.spend-plans > button.cur { border-color: #272D32; box-shadow: inset 0 0 0 1px #272D32; }
.spend-plans > button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.spend-sub span { text-transform: none; letter-spacing: 0; font-weight: 500; margin-left: 6px; }
.spend-on { white-space: nowrap; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: #272D32; color: #fff; }
.spend-plans span { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 13px; }
.spend-plans strong { font-size: 17px; }
.spend-plans em { font-style: normal; font-size: 12px; color: var(--muted); font-weight: 600; }
.spend-best, .own-best { display: inline-block; padding: 2px 7px; border-radius: 999px; background: #e9f1ea; color: #1f5a35; font-size: 10px; font-style: normal; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.spend-plist { display: flex; flex-direction: column; }
.spend-prow { display: flex; align-items: baseline; gap: 6px 14px; flex-wrap: wrap; padding: 10px 0; border-top: 1px solid #E8E8E9; color: inherit; text-decoration: none; font-size: 13.5px; }
.spend-prow strong { flex: 1 1 160px; font-size: 15px; }
.spend-prow span { color: var(--muted); white-space: nowrap; }
.spend-prow span b { color: var(--ink); }
.spend-prow strong { text-decoration: underline transparent; text-underline-offset: 5px; transition: text-decoration-color .25s ease, text-underline-offset .25s ease; }
.spend-prow:hover strong { text-decoration-color: currentColor; text-underline-offset: 3px; }
@media (max-width: 600px) { .spend-mo-sum { gap: 4px 12px; padding-left: 21px; } .spend-sum-v { display: none; } .spend-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .spend-stats > div:first-child { grid-column: 1 / -1; } .spend-mo { padding: 16px; } .spend-plans { gap: 6px; } .spend-plans > button { padding: 8px 9px; } .spend-sub span { display: block; margin: 2px 0 0; } .spend-plans strong { font-size: 15px; } .spend-prow strong { flex-basis: 100%; } }

/* Settings, owner only: Feedback inbox */
.inb-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.inb-tabs button { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; font-size: 14px; }
.inb-n { font-size: 12px; font-weight: 700; opacity: .65; }
.inb-filters { display: flex; gap: 8px; flex: 1 1 320px; justify-content: flex-end; }
.inb-filters .set-input { height: 42px; font-size: 14px; border-radius: 999px; padding: 0 16px; }
.inb-filters select.set-input { flex: 0 0 150px; appearance: none; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, #5B7177 50%), linear-gradient(135deg, #5B7177 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 34px; }
.inb-filters input.set-input { flex: 1 1 180px; min-width: 0; }
.inb-unread { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; border-radius: 14px; background: #EEFBD6; font-size: 14px; margin-bottom: 12px; }
.inb-list { display: flex; flex-direction: column; border: 1px solid #E8E8E9; border-radius: 16px; overflow: hidden; }
.inb-item { display: flex; flex-direction: column; border-top: 1px solid #E8E8E9; }
.inb-item:first-child { border-top: 0; }
.inb-item.open { background: #FAFAFB; }
.inb-row { display: flex; align-items: center; }
.inb-toggle { all: unset; box-sizing: border-box; cursor: pointer; flex: 1; min-width: 0; display: grid; grid-template-columns: 8px minmax(120px, auto) minmax(0, 1fr) auto auto 14px; align-items: center; gap: 12px; padding: 12px 6px 12px 14px; }
.inb-toggle:hover { background: #F4F3F4; }
.inb-toggle:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }
.inb-who { display: inline-flex; align-items: center; gap: 8px; min-width: 0; white-space: nowrap; }
.inb-who strong { font-size: 14.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
.inb-item.unread .inb-who strong { font-weight: 800; }
.inb-preview { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); font-size: 14px; }
.inb-item.unread .inb-preview { color: var(--ink); }
.inb-clip { color: var(--muted); font-size: 12px; }
.inb-toggle time { font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.inb-chev { color: var(--muted); font-size: 11px; transition: transform .2s var(--ease); }
.inb-item.open .inb-chev { transform: rotate(180deg); }
.inb-dot { width: 8px; height: 8px; border-radius: 50%; background: transparent; }
.inb-item.unread .inb-dot { background: #e0552f; }
.inb-item.archived .inb-who, .inb-item.archived .inb-preview { opacity: .7; }
.inb-quick { flex: none; width: 36px; height: 36px; margin-right: 8px; border: 0; border-radius: 50%; background: none; color: var(--muted); cursor: pointer; display: grid; place-items: center; transition: background .2s var(--ease), color .2s var(--ease); }
.inb-quick:hover { background: #EBECEC; color: var(--ink); }
.inb-body { display: flex; flex-direction: column; gap: 8px; padding: 0 22px 16px 34px; }
.inb-body[hidden] { display: none; }
.inb-topic { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; background: #eef1e6; color: #4a5a2c; }
.inb-topic.bug { background: #fbe3dc; color: #8a2a1a; }
.inb-from { margin: 0; font-size: 13px; color: var(--muted); }
.inb-msg { margin: 0; white-space: pre-wrap; line-height: 1.5; color: var(--ink); }
.inb-item .set-fb-shot { margin: 4px 0 0; max-width: 260px; }
.inb-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.inb-actions .set-pill i { margin-right: 4px; }
.inb-older { margin-top: 12px; }
.inb-empty { margin: 8px 0; }
@media (max-width: 600px) { .inb-filters { flex-direction: column; } .inb-filters input.set-input, .inb-filters select.set-input { flex: none; width: 100%; } .inb-actions .set-pill.small { padding: 0 12px; letter-spacing: .08em; } .inb-tabs { width: 100%; } .inb-tabs button { flex: 1; justify-content: center; padding: 9px 8px; } .inb-toggle { grid-template-columns: 8px minmax(0, 1fr) auto 14px; gap: 4px 10px; padding: 12px 4px 12px 12px; } .inb-who { grid-column: 2 / 4; grid-row: 1; } .inb-chev { grid-column: 4; grid-row: 1; } .inb-preview { grid-column: 2; grid-row: 2; } .inb-toggle time { grid-column: 3 / 5; grid-row: 2; justify-self: end; font-size: 12px; } .inb-clip { display: none; } .inb-body { padding: 0 16px 14px 30px; } .inb-quick { margin-right: 4px; } }

/* Intro: name suggestions to save, cross off and use */
#name-box { display: flex; flex-direction: column; gap: 14px; margin-top: 12px; }
.nm-group { display: flex; flex-direction: column; gap: 8px; }
.nm-group .eyebrow { display: inline-flex; align-items: center; gap: 6px; }
.nm-group .eyebrow i { color: #e0552f; }
.nm-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.nm-chip { display: inline-flex; align-items: center; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 2px 4px 2px 2px; transition: border-color .2s var(--ease), background .2s var(--ease); }
.nm-chip:hover { border-color: #C3C5C7; }
.nm-chip.saved { background: #EEFBD6; border-color: #f3c9b7; }
.nm-chip.on { background: var(--ink); border-color: var(--ink); }
.nm-chip.on .nm-use, .nm-chip.on .nm-act { color: #fff; }
.nm-use { border: 0; background: none; font: 600 14px Inter, system-ui, sans-serif; color: var(--ink); padding: 6px 8px 6px 12px; cursor: pointer; border-radius: 999px; }
.nm-act { border: 0; background: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); cursor: pointer; font-size: 12px; transition: background .2s var(--ease), color .2s var(--ease); }
.nm-act:hover { background: #EBECEC; color: var(--ink); }
.nm-act[data-save]:hover { color: #e0552f; }
.nm-chip.on .nm-act:hover { background: rgba(255, 255, 255, .15); }
.nm-use:focus-visible, .nm-act:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; }
.nm-foot { gap: 12px; align-items: center; flex-wrap: wrap; }
.nm-skel span { display: inline-block; width: 110px; height: 34px; border-radius: 999px; background: linear-gradient(90deg, #EBECEC 0%, #F4F3F4 50%, #EBECEC 100%); background-size: 200% 100%; animation: nm-shimmer 1.2s linear infinite; }
.nm-skel span:nth-child(3n) { width: 90px; } .nm-skel span:nth-child(4n) { width: 130px; }
@keyframes nm-shimmer { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .nm-skel span { animation: none; } }
.nm-err { margin: 0; color: #a1321c; font-size: 14px; }

/* Intro on phones: tighter cards, label rows that don't wrap the counter, full-width stacked buttons. */
.logo { white-space: nowrap; flex-shrink: 0; }
@media (max-width: 640px) {
  .top { padding: 12px 16px; gap: 10px; }
  .intro { margin-top: 8px; }
  .intro .card { padding: 22px 18px; }
  .intro .intro-label { flex-wrap: nowrap; gap: 10px; }
  .intro .intro-label .mono { letter-spacing: .1em; }
  .intro #in-count { white-space: nowrap; }
  .intro textarea.big-text { font-size: 17px; }
  .intro input.huge { font-size: 32px; }
  .intro-actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .intro-actions .btn { width: 100%; justify-content: center; padding: 16px 20px; font-size: 17px; }
  #ref-row { gap: 8px 12px; }
}
@media (max-width: 440px) {
  .top { padding: 10px 14px; }
  .logo { font-size: 16px; gap: 5px; }
  .top-right { gap: 6px; }
  .own-pills { gap: 5px; }
  .own-pill { height: 32px; padding: 0 9px; font-size: 13px; }
  .ai-badge { width: 32px; height: 32px; }
  .top .avatar { width: 34px; height: 34px; font-size: 13px; }
  .credit-pill { height: 32px; padding: 0 10px; font-size: 13px; }
}
@media (max-width: 380px) { .logo .dot { display: none; } .own-pill .spark-ico { display: none; } }

/* Crossed-off names: a collapsible box of struck-through pills, each with Bring back. */
.nm-crossed { border: 1px dashed #CFD0D2; border-radius: 18px; padding: 4px 14px; background: #F8F9F9; }
.nm-crossed[open] { padding-bottom: 14px; }
.nm-crossed summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; cursor: pointer; }
.nm-crossed summary::-webkit-details-marker { display: none; }
.nm-crossed .nm-count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; margin-left: 6px; border-radius: 999px; background: #E5E5E6; font-size: 11px; letter-spacing: 0; }
.nm-caret { color: var(--muted); transition: transform .2s var(--ease); }
.nm-crossed[open] .nm-caret { transform: rotate(180deg); }
.nm-crossed > p { margin: 0 0 10px; }
.nm-crossed > .linkbtn { margin-top: 10px; }
.nm-chip.crossed { background: transparent; border-style: dashed; }
.nm-gone { font: 600 14px Inter, system-ui, sans-serif; color: #919497; padding: 6px 6px 6px 12px; text-decoration: line-through; text-decoration-thickness: 2px; text-decoration-color: #c9563a; }
.nm-chip.crossed .nm-act[data-unreject]:hover { color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .nm-caret { transition: none; } }
@media (max-width: 640px) {
  .intro textarea.big-text { min-height: 172px; }
  .intro .switch { white-space: nowrap; flex: none; }
}
@media (max-width: 400px) { .intro .intro-label:has(.switch) { flex-wrap: wrap; row-gap: 12px; } }

/* Dashboard on phones: cards never grow wider than the screen, long names wrap to two lines,
   the title and New project share a row, and the New project card is a short row. */
@media (max-width: 600px) {
  .dash-head { flex-wrap: nowrap; align-items: flex-end; margin: 0 0 20px; }
  .dash-head > div { min-width: 0; }
  .dash-title { font-size: 36px; }
  .dash-new { flex: none; padding: 12px 18px; font-size: 15px; }
  .dash-grid { gap: 16px; }
  .pcard { border-radius: 24px; padding: 10px; }
  .pc-banner { border-radius: 16px; }
  .pc-body { padding: 14px 10px 4px; }
  .pc-title { align-items: flex-start; }
  .pc-title h3 { font-size: 19px; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: anywhere; }
  .pc-desc { margin: 6px 0 10px; min-height: 0; }
  .pc-new { min-height: 0; flex-direction: row; gap: 14px; padding: 18px; text-align: left; justify-content: flex-start; }
  .pc-new .pc-folder { width: 48px; height: 42px; margin: 0; }
  .pc-new strong { font-size: 18px; }
  .pc-new-txt { gap: 2px; }
}
@media (max-width: 380px) { .dash-title { font-size: 32px; } .dash-new { padding: 11px 14px; } }

/* Jump to any batch: a strip of batch thumbnails under the pager. */
.pg-thumbs { display: flex; gap: 10px; overflow-x: auto; padding: 18px 2px 6px; margin-top: 14px; scrollbar-width: thin; }
.pg-thumb { position: relative; flex: 0 0 auto; width: 76px; height: 76px; padding: 0; border-radius: 12px; border: 2px solid #E6E7E7; background: #fff; overflow: hidden; cursor: pointer; transition: border-color .2s var(--ease), transform .2s var(--ease); }
.pg-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pg-thumb b { position: absolute; left: 4px; bottom: 4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: rgba(39, 45, 50, .85); color: #fff; font-size: 11px; display: grid; place-items: center; }
.pg-thumb:hover { border-color: #AEB1B2; transform: translateY(-2px); }
.pg-thumb.on { border-color: var(--ink); box-shadow: 0 0 0 2px var(--ink); }
.pg-thumb-wait { display: block; width: 100%; height: 100%; background: #EEEEEF; }

/* The pager and its thumbnails stay docked to the bottom of the screen while you look through a batch. */
.pager-dock { position: sticky; bottom: 0; z-index: 5; margin: 0 -12px; padding: 4px 12px 12px; background: rgba(255, 255, 255, .96); backdrop-filter: blur(6px); border-radius: 18px 18px 0 0; box-shadow: 0 -10px 24px -18px rgba(0, 0, 0, .35); }
.pager-dock .pager { margin-top: 12px; }
.pager-dock .pg-thumbs { margin-top: 8px; padding-top: 8px; }
@media (max-width: 560px) { .pg-thumb { width: 56px; height: 56px; } .pager-dock .pager-btn, .pager-dock .pager-del { width: 42px; height: 42px; } }

/* Vectorize folded to one line while you change your sketch. */
.vx-fold { padding: 0; }
.vx-fold-btn { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 28px; border: 0; background: none; text-align: left; cursor: pointer; border-radius: inherit; }
.vx-fold-btn > span:first-child { display: flex; flex-direction: column; gap: 4px; }
.vx-fold-btn .eyebrow { margin: 0; }
.vx-fold-btn .card-title { margin: 0; }
.vx-fold-cue { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; white-space: nowrap; border: 1.5px solid var(--ink); border-radius: 999px; padding: 10px 16px; }
.vx-fold-btn:hover .vx-fold-cue { background: var(--ink); color: #fff; }
.vx-fold-btn:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.vx-open-row { align-items: center; margin-bottom: 4px; }
.vx-open-row .eyebrow { margin: 0; }

/* Vectorize shows one mark per version, big and centered. */
.ltiles.one { grid-template-columns: minmax(0, 460px); justify-content: center; }
.ltile-badge { pointer-events: none; }
.ltile-badge-x { display: none; font-weight: 600; text-transform: none; letter-spacing: 0; opacity: .75; }
.ltile:hover .ltile-badge-x { display: inline; } /* the hint shows on hover; a tap or click on the tile unselects either way */

/* ---------- Help: the button in the bottom right of every page, and its panel ---------- */
.sup-btn { position: fixed; right: 20px; bottom: 20px; z-index: 25; height: 52px; min-width: 52px; padding: 0; border: 0; border-radius: 999px; background: var(--ink); color: #fff;
  display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; font-size: 15px; cursor: pointer;
  box-shadow: 0 14px 32px -14px rgba(17, 17, 17, .6); transition: bottom .2s var(--ease), right .2s var(--ease), transform .15s var(--ease); white-space: nowrap; }
.sup-btn i { font-size: 22px; }
.sup-btn.pill { padding: 0 18px 0 15px; }
.sup-btn.pill i { font-size: 20px; }
.sup-btn:hover { transform: translateY(-2px); }
.sup-btn:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.sup-dot { position: absolute; top: 0; right: 0; width: 14px; height: 14px; border-radius: 50%; background: #DAFE99; border: 2.5px solid var(--bg); }
.sup-panel { position: fixed; right: 20px; bottom: 84px; z-index: 26; width: 360px; max-height: min(600px, calc(100vh - 24px)); display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: 0 30px 60px -28px rgba(17, 17, 17, .55);
  opacity: 0; transform: translateY(8px); transition: opacity .18s var(--ease), transform .18s var(--ease), bottom .2s var(--ease); }
.sup-panel.in { opacity: 1; transform: none; }
.sup-head { background: var(--ink); color: #fff; padding: 16px 14px 14px 18px; display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.sup-head h3 { margin: 0; font-size: 17px; }
.sup-head p { margin: 2px 0 0; font-size: 13px; color: #c9c9c9; }
.sup-x { border: 0; background: rgba(255, 255, 255, .12); color: #fff; width: 30px; height: 30px; border-radius: 50%; cursor: pointer; flex: none; }
.sup-tabs { display: flex; border-bottom: 1px solid var(--line); flex: none; }
.sup-tabs button { flex: 1; border: 0; background: none; padding: 11px 6px; font-weight: 600; font-size: 13.5px; color: var(--muted); cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 6px; }
.sup-tabs button.on { color: var(--ink); box-shadow: inset 0 -2px 0 var(--ink); }
.sup-tabs b { background: #DAFE99; color: var(--ink); font-size: 11px; padding: 1px 7px; border-radius: 999px; }
.sup-tabs small { font-size: 11px; color: var(--muted); background: var(--field); padding: 1px 7px; border-radius: 999px; }
.sup-body { padding: 14px 18px; overflow-y: auto; flex: 1; }
.sup-form { display: flex; flex-direction: column; gap: 8px; }
.sup-lbl { margin: 4px 0 0; font-size: 12.5px; font-weight: 700; display: flex; justify-content: space-between; }
.sup-lbl span { font-weight: 500; color: var(--muted); }
.sup-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.sup-chips button { border: 1.5px solid var(--ink); background: #fff; border-radius: 999px; padding: 4px 11px; font-size: 13px; font-weight: 600; cursor: pointer; }
.sup-chips button.on { background: var(--ink); color: #fff; }
.sup-field { width: 100%; border: 1px solid transparent; background: var(--field); border-radius: 12px; padding: 9px 11px; font-size: 14px; resize: vertical; }
.sup-field:focus { outline: none; border-color: var(--ink); background: #fff; }
textarea.sup-field { min-height: 78px; }
.sup-attach { display: flex; flex-direction: column; gap: 6px; margin-top: 4px; }
.sup-add { display: flex; align-items: center; gap: 8px; border: 1.5px dashed #C6C8C9; border-radius: 12px; padding: 8px 11px; font-size: 13px; font-weight: 600; background: #fff; cursor: pointer; text-align: left; }
.sup-add:hover { border-color: var(--ink); }
.sup-thumb { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 12px; padding: 6px 6px 6px 6px; font-size: 13px; }
.sup-thumb img { width: 40px; height: 40px; object-fit: cover; border-radius: 8px; flex: none; }
.sup-thumb span { flex: 1; }
.sup-thumb button { border: 0; background: var(--field); width: 28px; height: 28px; border-radius: 50%; cursor: pointer; }
.sup-ctx { display: flex; flex-wrap: wrap; gap: 5px; }
.sup-ctx span { font-size: 12px; background: var(--field); border-radius: 6px; padding: 2px 8px; color: #444; }
.sup-err { margin: 0; color: #b42318; font-size: 13px; }
.sup-foot { flex: none; padding: 12px 18px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; color: var(--muted); }
.sup-send { border: 0; background: var(--ink); color: #fff; border-radius: 999px; padding: 9px 18px; font-weight: 700; font-size: 14px; cursor: pointer; }
.sup-send:disabled { opacity: .6; cursor: default; }
.sup-ghost { border: 1.5px solid var(--ink); background: #fff; border-radius: 999px; padding: 8px 16px; font-weight: 700; font-size: 14px; cursor: pointer; }
.sup-row { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.sup-done { text-align: center; padding: 18px 4px 8px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.sup-done h4 { margin: 4px 0 0; font-size: 17px; }
.sup-done p { margin: 0 0 10px; color: var(--muted); font-size: 13.5px; }
.sup-done-ico { width: 44px; height: 44px; border-radius: 50%; background: #DAFE99; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.sup-list { display: flex; flex-direction: column; gap: 10px; }
.sup-rep { border: 1px solid var(--line); border-radius: 14px; padding: 11px 12px; display: flex; flex-direction: column; gap: 4px; }
.sup-rep.new { border-color: var(--ink); }
.sup-rep-t { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; font-size: 13.5px; }
.sup-rep-m { margin: 0; font-size: 12px; color: var(--muted); }
.sup-st { flex: none; font-size: 11px; font-weight: 700; border-radius: 999px; padding: 2px 8px; background: #EDEDEE; white-space: nowrap; }
.sup-st.looking { background: #fff1c2; }
.sup-st.fixed { background: #DAFE99; }
.sup-reply { background: var(--field); border-radius: 10px; padding: 8px 10px; font-size: 13px; white-space: pre-wrap; }
.sup-empty { color: var(--muted); font-size: 14px; text-align: center; padding: 24px 8px; margin: 0; }
/* Picking an image on the page */
.sup-pickbar { position: fixed; top: 16px; left: 50%; transform: translateX(-50%); z-index: 200; background: var(--ink); color: #fff; border-radius: 999px; padding: 8px 8px 8px 18px;
  display: flex; align-items: center; gap: 14px; font-weight: 600; font-size: 14px; box-shadow: 0 14px 32px -14px rgba(17, 17, 17, .6); }
.sup-pickbar button { border: 0; background: #fff; color: var(--ink); border-radius: 999px; padding: 6px 14px; font-weight: 700; cursor: pointer; }
body.sup-picking img[data-zoom] { cursor: pointer; outline: 3px solid transparent; outline-offset: -3px; transition: outline-color .12s; }
body.sup-picking img[data-zoom]:hover { outline-color: #DAFE99; }
/* Phones: the panel is a sheet across the bottom */
@media (max-width: 600px) {
  .sup-btn { right: 14px; height: 48px; min-width: 48px; }
  .sup-panel { left: 8px; right: 8px; width: auto; max-height: calc(100vh - 24px); }
}
/* Owner inbox: a report's details, status and reply */
.inb-kind { font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 999px; background: #EDEDEE; }
.inb-st { font-size: 11px; font-weight: 700; border-radius: 999px; padding: 1px 7px; background: #EDEDEE; white-space: nowrap; }
.inb-st.looking { background: #fff1c2; } .inb-st.fixed { background: #DAFE99; }
.inb-detail { margin: 0 0 8px; font-size: 14px; }
.inb-detail b { display: block; font-size: 12px; color: var(--muted); }
.inb-pick { display: flex; gap: 10px; align-items: center; margin: 0 0 10px; font-size: 13px; color: var(--muted); }
.inb-pick img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; cursor: zoom-in; }
.inb-ctx { display: flex; flex-wrap: wrap; gap: 5px; margin: 0 0 10px; }
.inb-ctx span { font-size: 12px; background: var(--field); border-radius: 6px; padding: 2px 8px; color: #444; }
.inb-ctx span.err { background: #fde7e4; color: #8a1c10; }
.inb-status { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; margin: 0 0 10px; font-size: 13px; }
.inb-status button { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 3px 10px; font-size: 12.5px; font-weight: 600; cursor: pointer; }
.inb-status button.on { border-color: var(--ink); background: var(--ink); color: #fff; }
.inb-reply-was { background: var(--field); border-radius: 10px; padding: 8px 10px; font-size: 13px; margin: 0 0 8px; white-space: pre-wrap; }
.inb-reply { display: flex; flex-direction: column; gap: 6px; margin: 0 0 10px; }
.inb-reply textarea.set-input { flex: none; height: 84px; min-height: 64px; padding: 10px 14px; font-size: 15px; border-radius: 14px; resize: vertical; }
body.sup-picking .shot-ctas, body.sup-picking .shot-tools, body.sup-picking .ltile-tools, body.sup-picking .shot-acts { pointer-events: none; opacity: .25; }

/* ---------- Presentation tab (dk-) ---------- */
.dk-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 0 0 20px; }
.dk-seg { display: inline-flex; padding: 4px; background: #fff; border: 1px solid var(--line); border-radius: 999px; gap: 2px; }
.dk-seg button { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; font: inherit; font-weight: 600; font-size: 14px; color: var(--muted); cursor: pointer; transition: background .2s, color .2s; }
.dk-seg button:hover { color: var(--ink); }
.dk-seg button.on { background: var(--ink); color: #fff; }
.dk-swatch { width: 14px; height: 14px; border-radius: 4px; box-shadow: 0 0 0 1px rgba(17, 17, 17, .15); }
.dk-swatch-a { background: var(--color-neutral-light, #f4f4f3); }
.dk-swatch-b { background: var(--color-neutral-dark, #23282d); }
.dk-a { display: grid; grid-template-columns: 184px minmax(0, 1fr); gap: 28px; align-items: start; }
.dk-strip { display: flex; flex-direction: column; gap: 14px; max-height: calc(100vh - var(--top-h, 61px) - var(--pb-h, 0px) - var(--kh-h, 0px) - 40px); overflow-y: auto; position: sticky; top: calc(var(--top-h, 61px) + var(--pb-h, 0px) + var(--kh-h, 0px) + 20px); padding: 3px 6px 8px 3px; }
.dk-th { display: flex; flex-direction: column; gap: 6px; }
.dk-th-pick { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 8px; }
.dk-th-pick:focus-visible { outline: 2px solid #2f6fed; outline-offset: 3px; }
.dk-th-img { display: block; border-radius: 6px; overflow: hidden; box-shadow: 0 0 0 1px rgba(17, 17, 17, .1); transition: box-shadow .2s, opacity .2s; }
.dk-th-pick:hover .dk-th-img { box-shadow: 0 0 0 1px rgba(17, 17, 17, .35); }
.dk-th.on .dk-th-img { box-shadow: 0 0 0 2.5px var(--ink); }
.dk-th-name { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 600; }
.dk-th-n { display: inline-block; min-width: 22px; color: var(--muted); font-weight: 600; }
.dk-th.off .dk-th-img, .dk-slide.off { opacity: .4; }
.dk-th.off .dk-th-name > span { color: var(--muted); text-decoration: line-through; }
.dk-eye { border: 0; background: none; padding: 4px 6px; border-radius: 6px; color: var(--muted); cursor: pointer; transition: background .2s, color .2s; }
.dk-eye:hover { background: var(--field); color: var(--ink); }
.dk-stage { padding: 32px; background: #E9EAEA; border-radius: 28px; }
.dk-slide { width: 100%; box-shadow: 0 18px 40px -24px rgba(17, 17, 17, .5); transition: opacity .2s; }
.dk-under { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 14px 0 6px; }
.dk-under .btn:disabled { opacity: .35; cursor: default; }
@media (max-width: 860px) {
  .dk-a { grid-template-columns: 1fr; gap: 16px; }
  .dk-strip { position: static; flex-direction: row; max-height: none; overflow-x: auto; order: 2; padding: 3px 3px 10px; }
  .dk-strip .dk-th { flex: 0 0 132px; }
  .dk-stage { padding: 12px; border-radius: 18px; }
}
.dk-photo-row { display: flex; align-items: center; gap: 14px; margin-top: 16px; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.dk-photo-now { flex: 0 0 auto; width: 64px; height: 44px; border-radius: 8px; overflow: hidden; background: var(--field); display: flex; align-items: center; justify-content: center; }
.dk-photo-now img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dk-photo-empty { color: var(--muted); }
.dk-photo-what { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.dk-photo-what small { color: var(--muted); }
.dk-pick-opts { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.dk-pick-opt { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 7px 14px; text-align: left; line-height: 1.3; border: 1px solid var(--line); border-radius: 999px; background: #fff; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: border-color .2s, background .2s; }
.dk-pick-opt:hover { border-color: #C6C8C9; }
.dk-pick-opt.on { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink) inset; }
.dk-pick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); grid-auto-rows: auto; align-items: start; gap: 10px; max-height: 340px; overflow-y: auto; padding: 4px; }
/* Square thumbnails sized by padding, not aspect-ratio: Safari collapsed aspect-ratio buttons in the scrolling grid. */
.dk-pick { position: relative; display: block; width: 100%; min-width: 0; padding: 0; border: 0; border-radius: 10px; overflow: hidden; background: var(--field); cursor: pointer; box-shadow: 0 0 0 1px rgba(17, 17, 17, .08); transition: box-shadow .2s; -webkit-appearance: none; appearance: none; }
.dk-pick:hover { box-shadow: 0 0 0 1px rgba(17, 17, 17, .35); }
.dk-pick.on { box-shadow: 0 0 0 3px var(--ink); }
.dk-pick:focus-visible { outline: 2px solid #2f6fed; outline-offset: 2px; }
.dk-pick-img { position: relative; display: block; width: 100%; height: 0; padding-top: 100%; border-radius: inherit; overflow: hidden; }
.dk-pick-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.dk-pick-tag { position: absolute; top: 5px; right: 5px; width: 20px; height: 20px; border-radius: 50%; background: rgba(255, 255, 255, .92); display: flex; align-items: center; justify-content: center; font-size: 10px; font-style: normal; color: var(--ink); }
.dlg.dk-pick-dlg { width: min(760px, 100%); }
.dk-pick-dlg h3 { margin: 0 0 6px; font-size: 22px; letter-spacing: -.01em; }
.dk-pick-dlg .dlg-actions .btn { justify-content: center; }
.dk-pick-dlg .dk-pick-grid { max-height: 52vh; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
@media (max-width: 860px) { .dk-photo-row { flex-wrap: wrap; } .dk-photo-row .btn { width: 100%; justify-content: center; } }

/* ---------- Website tab (ws-): sections on the left, the page on the right at desktop or phone size ---------- */
.ws-owner { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 7px 14px; border-radius: 999px; background: var(--field); font-size: 13px; font-weight: 600; color: var(--muted); }
.ws-a { display: grid; grid-template-columns: 272px minmax(0, 1fr); gap: 28px; align-items: start; }
.ws-side { position: sticky; top: calc(var(--top-h, 61px) + var(--pb-h, 0px) + var(--kh-h, 0px) + 20px); max-height: calc(100vh - var(--top-h, 61px) - var(--pb-h, 0px) - var(--kh-h, 0px) - 40px); overflow-y: auto; display: flex; flex-direction: column; gap: 14px; padding: 3px 4px 8px 3px; }
.ws-looks { align-self: flex-start; }
.ws-secs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ws-sec { display: flex; flex-direction: column; gap: 10px; padding: 10px 8px 10px 14px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.ws-sec.off { background: transparent; border-style: dashed; }
.ws-sec-head { display: flex; align-items: center; gap: 6px; }
.ws-go { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 2px 0; border: 0; background: none; font: inherit; color: var(--ink); text-align: left; cursor: pointer; }
.ws-go b { font-size: 14px; }
.ws-go small { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); }
.ws-go small .fa-circle-check { color: #2e8b57; }
.ws-go small.ws-todo { color: #8a5300; }
.ws-go b { text-decoration: underline transparent; text-underline-offset: 6px; transition: text-decoration-color .25s ease, text-underline-offset .25s ease; }
.ws-go:hover:not(:disabled) b { text-decoration-color: currentColor; text-underline-offset: 3px; }
.ws-go:disabled { cursor: default; }
.ws-sec.off .ws-go b { color: var(--muted); text-decoration: line-through; }
.ws-always { padding: 4px 8px; font-size: 12px; color: #BABCBD; }
.ws-photo { display: flex; align-items: center; gap: 10px; }
.ws-photo .dk-photo-now { width: 52px; height: 36px; }
.ws-photo .dk-photo-what strong { font-size: 13px; }
.ws-photo .dk-photo-what small { font-size: 12px; }
.ws-stage { padding: 28px; background: #E9EAEA; border-radius: 28px; }
.ws-page { width: 100%; }
.ws-page .lay-fit { box-shadow: 0 18px 40px -24px rgba(17, 17, 17, .5); }
/* Phone size: the page at 390 points in a phone's frame, scrolling inside it. */
.ws-stage.phone { height: min(880px, calc(100vh - var(--top-h, 61px) - var(--pb-h, 0px) - var(--kh-h, 0px) - 110px)); overflow-y: auto; padding: 28px 16px; }
.ws-stage.phone .ws-page { width: 390px; max-width: 100%; margin: 0 auto; border-radius: 30px; overflow: hidden; box-shadow: 0 0 0 10px #1d1d1f, 0 28px 48px -20px rgba(0, 0, 0, .55); }
.ws-stage.phone .ws-page .lay-fit { box-shadow: none; }
/* The spot above each service: color square, icon or photo, with its buttons. */
.ws-spots { display: flex; flex-direction: column; gap: 8px; padding-top: 2px; border-top: 1px solid var(--line); }
.ws-spots-h { margin: 8px 0 0; font-size: 12px; font-weight: 600; color: var(--muted); }
.ws-spot { display: flex; align-items: center; gap: 10px; }
.ws-spot .dk-photo-now { width: 40px; height: 40px; flex: none; }
.ws-spot .dk-photo-what { min-width: 0; }
.ws-spot .dk-photo-what strong { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ws-spot .dk-photo-what small { font-size: 12px; }
.ws-spot-ico { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; background: var(--color-primary, var(--ink)); color: #fff; }
.ws-spot-ico svg { width: 22px; height: 22px; display: block; }
.ws-spot-sq { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; background: var(--color-primary, var(--ink)); color: #fff; font-size: 13px; font-weight: 700; }
.ws-spot-acts { display: flex; align-items: center; gap: 4px; margin-left: auto; flex: none; }
.ws-spot-acts .btn.small { width: 34px; height: 34px; min-height: 0; padding: 0; justify-content: center; }
/* The icon picker. */
.dlg.ws-icon-dlg { width: min(760px, 100%); }
.ws-icon-dlg h3 { margin: 0 0 12px; font-size: 22px; letter-spacing: -.01em; }
.ws-icon-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 12px; }
.ws-icon-bar .dk-seg { flex-wrap: wrap; border-radius: 22px; }
.ws-icon-q { flex: 1 1 200px; min-width: 0; height: 44px; }
.ws-icon-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(56px, 1fr)); gap: 8px; max-height: 50vh; overflow-y: auto; padding: 4px; }
.ws-ico { display: flex; align-items: center; justify-content: center; aspect-ratio: 1; min-height: 56px; padding: 0; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); cursor: pointer; transition: border-color .15s, background .15s; }
.ws-ico:hover { border-color: var(--ink); background: var(--field); }
.ws-ico:focus-visible { outline: 2px solid #2f6fed; outline-offset: 2px; }
.ws-ico svg { width: 26px; height: 26px; display: block; }
.ws-icon-more { margin: 10px 0 0; }
/* What you get when you download the website. */
.ws-get { margin-top: 24px; padding: 22px 24px; background: #fff; border: 1px solid var(--line); border-radius: 20px; }
.ws-get h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 18px; }
.ws-get h4 { margin: 0 0 8px; font-size: 14px; }
.ws-get-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.ws-get ul, .ws-get ol { margin: 0 0 10px; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; line-height: 1.45; }
.ws-get code { font-size: 13px; background: var(--field); padding: 1px 6px; border-radius: 6px; margin-right: 4px; }
.ws-get p { margin: 0; }
@media (max-width: 760px) { .ws-get-cols { grid-template-columns: 1fr; gap: 16px; } .ws-get { padding: 18px; } }
.lay .ws-flash { animation: ws-flash 1.4s ease; }
@keyframes ws-flash { 0%, 55% { outline: 6px solid #2f6fed; outline-offset: -6px; } 100% { outline: 6px solid transparent; outline-offset: -6px; } }
@media (max-width: 960px) {
  .ws-a { grid-template-columns: 1fr; gap: 16px; }
  .ws-side { position: static; max-height: none; overflow: visible; padding: 0; }
  .ws-stage { padding: 12px; border-radius: 18px; }
  .ws-stage.phone { height: 78vh; padding: 20px 12px; }
}

/* Pull my brand in from a website: the address field in the New project modal, and what we found on the Intro step. */
.np-grid:has(.np-site) { grid-template-columns: repeat(3, 1fr); }
/* The website card: a globe chip over the eyebrow, what we pull in as colored tags, and the address as one rounded
   field with its button inside. */
.np-eyebrow { display: flex; align-items: center; gap: 10px; margin: 0; }
.np-ico { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--teal); color: var(--ink); font-size: 16px; }
.np-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.np-tag { font: 600 10.5px/1 Inter, system-ui, sans-serif; letter-spacing: .12em; text-transform: uppercase; padding: 7px 10px; border-radius: 999px; color: var(--ink); }
.np-tag--logo { background: #ddd5f6; }
.np-tag--colors { background: var(--teal); }
.np-tag--type { background: var(--yellow); }
.np-tag--words { background: #fdd6c0; }
.np-modal:has(.np-site) { width: min(1180px, 100%); }
.np-site { display: flex; align-items: center; gap: 6px; margin-top: 14px; padding: 5px 5px 5px 14px; border: 1px solid var(--line); border-radius: 999px; background: #F4F3F4; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.np-site:focus-within { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(29, 27, 25, .08); }
.np-site-ico { color: var(--muted); font-size: 15px; }
.np-site input { flex: 1; min-width: 0; margin: 0; padding: 8px 0; border: 0; background: transparent; box-shadow: none; font-size: 16px; outline: none; }
.np-site input::placeholder { color: #929598; }
.np-card .np-site .btn { margin-top: 0; align-self: auto; white-space: nowrap; padding: 10px 14px; font-size: 14px; gap: 6px; }
.np-site-msg { margin: 10px 0 0; }
.np-site-msg.err { color: #b2402c; }
.site-host { text-decoration: none; letter-spacing: .04em; }
.site-host:hover { color: var(--ink); }
.site-h { font-size: 17px; margin: 14px 0 10px; }
.site-logos { display: flex; flex-wrap: wrap; gap: 10px; }
.site-logo { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; width: 132px; height: 112px; padding: 10px; margin: 0; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; font: inherit; color: var(--muted); }
.site-logo img { flex: 1; min-height: 0; max-width: 100%; object-fit: contain; background: repeating-conic-gradient(#EFF0F0 0 25%, #fff 0 50%) 0 0 / 12px 12px; border-radius: 6px; padding: 6px; }
.site-logo small { font-size: 12px; }
.site-logo.light img { background: #272D32; }
.intro .site-card .intro-label { flex-wrap: wrap; gap: 4px 12px; }
.in-explore { max-width: 560px; margin: 14px auto 0; font-size: 14px; }
.in-explore:empty { display: none; }
.site-logo.on { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); color: var(--ink); }
.site-logo:not(.on):hover { border-color: #b9b9b9; }
.site-up, .site-none { font-size: 20px; }
.site-keep { margin-top: 14px; }
.site-check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; margin: 0; cursor: pointer; }
.site-check input { margin-top: 4px; }
.site-check:has(input:disabled) { cursor: default; }
.site-swatches { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 12px; transition: opacity .2s var(--ease); }
.site-swatches.off { opacity: .4; }
.site-sw { position: relative; display: flex; flex-direction: column; gap: 4px; margin: 0; font-weight: 400; cursor: pointer; }
.site-sw input { position: absolute; inset: 0 0 auto; width: 100%; height: 64px; opacity: 0; cursor: pointer; }
.site-sw i { display: block; height: 64px; border-radius: 10px; border: 1px solid rgba(0, 0, 0, .08); }
.site-sw small { font-size: 12px; color: var(--muted); }
.site-sw code { font-size: 12px; }
.site-notes { margin: 16px 0 0; padding-left: 18px; color: var(--muted); font-size: 13px; }
.site-notes li + li { margin-top: 4px; }
@media (max-width: 1000px) { .np-grid:has(.np-site) { grid-template-columns: 1fr 1fr; } .np-grid:has(.np-site) > .np-card:last-child { grid-column: 1 / -1; min-height: 0; } }
@media (max-width: 760px) {
  .np-grid:has(.np-site) { grid-template-columns: 1fr; }
  .np-site-ico { display: none; }
  .np-tags { gap: 5px; }
  .np-tag { font-size: 10px; padding: 6px 8px; letter-spacing: .1em; }
  .site-logo { width: calc(50% - 5px); }
  .site-swatches { grid-template-columns: repeat(3, 1fr); }
}

/* Photos on a slide or brand book page: one row per photo spot, with Remove and Change photo; Upload in the picker. */
.dk-photo { display: flex; flex-direction: column; }
.dk-photo-acts { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; margin-left: auto; }
.dk-pick-up { cursor: pointer; }
.dk-pick-up.busy { opacity: .7; pointer-events: none; }
