/* The Burgal client app. Same look as burgalstudio.com (nawu-site/public/burgal.css, pass 3): white page, black ink and
   buttons, the black and white mark, block letters, Inter with Georgia italic accents, a faint dot pattern. */
:root { --paper: #ffffff; --sand: #f6f6f5; --ink: #111111; --muted: #555b60; --line: #e7e7e5; --soft: #f0f0ef; --ok: #1f7a4d; }
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--paper); color: var(--ink); font: 16px/1.55 "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { margin: 0; letter-spacing: -.02em; line-height: 1.15; }
.serif { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-weight: 400; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
button, input, textarea { font: inherit; color: inherit; }
a { color: inherit; }
.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo img { width: 34px; height: auto; }
.logo span { font: 900 12px/1.05 "Arial Black", Arial, sans-serif; letter-spacing: 2px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--ink); border-radius: 999px; padding: 11px 20px;
  font-weight: 600; font-size: 15px; line-height: 1; cursor: pointer; text-decoration: none; background: var(--ink); color: #fff; transition: transform .12s, background .12s; }
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: .5; cursor: default; transform: none; }
.btn-light { background: #fff; color: var(--ink); border-color: #d9d9d7; }
.btn-white { background: #fff; color: var(--ink); border-color: #fff; }
.link { background: none; border: 0; padding: 0; margin-top: 4px; font-weight: 600; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

/* the frame: top bar, left menu, the screen */
.shell { display: grid; grid-template-columns: 232px 1fr; grid-template-rows: 64px 1fr; min-height: 100vh; }
.bar { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; padding: 0 22px; border-bottom: 1px solid var(--line); background: #fffffff0; position: sticky; top: 0; z-index: 5; backdrop-filter: blur(8px); }
.biz { font-weight: 700; padding-left: 16px; border-left: 1px solid var(--line); }
.demo { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--soft); color: var(--muted); }
.me { margin-left: auto; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 700; }
.side { padding: 18px 12px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; position: sticky; top: 64px; height: calc(100vh - 64px); }
.nav-item { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; border: 0; border-radius: 10px; background: none; color: var(--muted); font-weight: 600; font-size: 15px; cursor: pointer; text-align: left; }
.nav-item:hover { background: var(--sand); color: var(--ink); }
.nav-item[aria-current="page"] { background: var(--ink); color: #fff; }
.badge { margin-left: auto; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12px; display: grid; place-items: center; }
.nav-item[aria-current="page"] .badge { background: #fff; color: var(--ink); }
.nav-foot { margin: auto 12px 0; font-size: 12px; color: var(--muted); }
.main { padding: 34px 40px 80px; max-width: 1080px; width: 100%; outline: none; }

.head { margin-bottom: 24px; }
.head h1 { font-size: clamp(30px, 4vw, 42px); font-weight: 800; }
.head p { margin: 8px 0 0; color: var(--muted); font-size: 17px; max-width: 620px; }

.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-bottom: 18px; }
.tile { text-align: left; border: 1px solid var(--line); background: #fff; border-radius: 16px; padding: 16px 18px; cursor: pointer; }
.tile:hover { border-color: var(--ink); }
.tile small { display: block; color: var(--muted); font-size: 13px; font-weight: 600; }
.tile b { display: block; font-size: 32px; letter-spacing: -.03em; margin-top: 4px; }

.card { border: 1px solid var(--line); border-radius: 20px; padding: 22px; background: #fff; margin-bottom: 18px; }
.card h2 { font-size: 19px; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.count { font-size: 13px; padding: 2px 9px; border-radius: 999px; background: var(--ink); color: #fff; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.two .card { margin-bottom: 0; }
.empty { color: var(--muted); margin: 0; }
.note { color: var(--muted); font-size: 14px; margin: 12px 0 0; }

/* a video stand-in: black, the play mark, the kind */
.thumb { position: relative; display: grid; place-items: center; flex: none; width: 64px; height: 64px; border-radius: 12px; background: var(--ink); color: #fff; overflow: hidden; }
.thumb::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(#ffffff 1px, transparent 1.4px); background-size: 12px 12px; opacity: .12; }
.thumb .i { width: 26px; height: 26px; fill: #fff; stroke: none; }
.thumb small { position: absolute; bottom: 6px; left: 0; right: 0; text-align: center; font-size: 10px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; opacity: .8; }
.thumb:not(.tall) small { display: none; }
.thumb.tall { width: 100%; height: auto; aspect-ratio: 9 / 16; border-radius: 14px; }
.thumb.tall .i { width: 40px; height: 40px; }

.oks { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 210px)); gap: 18px; }
.ok { display: flex; flex-direction: column; gap: 10px; }
.ok-body { display: flex; flex-direction: column; gap: 8px; }
.ok-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.ok-btns .btn { flex: 1 1 auto; padding: 10px 12px; font-size: 14px; white-space: nowrap; }
.ok-change { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.ok-change textarea, .in-form input { width: 100%; padding: 10px 12px; border: 1px solid #d9d9d7; border-radius: 12px; background: var(--sand); font-weight: 400; resize: vertical; }
.chips { display: flex; flex-wrap: wrap; gap: 4px; }
.chip { font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: var(--soft); color: var(--muted); }

.row { display: flex; gap: 14px; align-items: flex-start; padding: 10px 0; border-top: 1px solid var(--line); }
.row:first-of-type { border-top: 0; padding-top: 0; }
.row > span:last-child { display: flex; flex-direction: column; gap: 4px; }
.row small { color: var(--muted); font-size: 14px; }

.plan-item { display: flex; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.plan-item:first-of-type { border-top: 0; padding-top: 0; }
.plan-item p { margin: 6px 0; color: var(--muted); }
.state { font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--ink); color: #fff; margin-left: 6px; }
.hook { color: var(--ink) !important; }

.tbl { width: 100%; border-collapse: collapse; font-size: 15px; }
.tbl th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); font-weight: 700; padding: 0 8px 8px 0; }
.tbl td { padding: 10px 8px 10px 0; border-top: 1px solid var(--line); vertical-align: top; }
.tbl .n { text-align: right; }
.tbl abbr { text-decoration: none; cursor: help; font-weight: 700; }

.extras { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.extra { border: 1px solid var(--line); border-radius: 18px; padding: 18px; display: flex; flex-direction: column; gap: 8px; background: #fff; }
.extra h3 { font-size: 17px; }
.extra p { margin: 0 0 6px; color: var(--muted); font-size: 15px; flex: 1; }
.extra .btn { align-self: flex-start; }
.extra.dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.extra.dark p { color: #cfcfcf; }
.asked { font-size: 14px; font-weight: 600; color: var(--ok); }

.soon .tag, .drop small { font-size: 12px; font-weight: 700; }
.soon .tag { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--soft); color: var(--muted); margin-bottom: 10px; }
.soon ul { margin: 0; padding-left: 20px; color: var(--muted); }
.soon li { margin: 4px 0; }
.drop { border: 2px dashed #d0d0ce; border-radius: 20px; padding: 46px 20px; display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--muted); margin-bottom: 18px; background: var(--sand); }
.drop .i { width: 34px; height: 34px; }
.drop b { color: var(--ink); font-size: 18px; }

.facts { display: grid; grid-template-columns: 140px 1fr; gap: 10px 16px; margin: 0 0 6px; }
.facts dt { color: var(--muted); font-weight: 600; }
.facts dd { margin: 0; font-weight: 600; }
.card > .btn { margin-top: 16px; }

dialog { border: 0; border-radius: 22px; padding: 28px; width: min(560px, calc(100% - 32px)); box-shadow: 0 30px 90px #0004; color: var(--ink); }
dialog::backdrop { background: #0006; }
dialog h2 { font-size: 22px; margin-bottom: 8px; }
.scenes { padding-left: 20px; }
.scenes li { margin: 12px 0; }
.scenes p { margin: 4px 0; }
.scenes small { color: var(--muted); }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 999px; font-weight: 600; transition: .2s; pointer-events: none; z-index: 20; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* the login page */
.in-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }
.in-form { padding: 36px clamp(20px, 6vw, 80px); display: flex; flex-direction: column; justify-content: center; gap: 18px; max-width: 620px; }
.in-form .logo { position: absolute; top: 28px; }
.in-form h1 { font-size: clamp(32px, 4.4vw, 48px); font-weight: 800; }
.in-lead { color: var(--muted); font-size: 18px; margin: 10px 0 18px; }
.in-form form { display: flex; flex-direction: column; gap: 14px; }
.in-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 14px; }
.in-form input { padding: 14px 16px; font-size: 16px; }
.in-form .btn { padding: 15px 24px; font-size: 16px; align-self: flex-start; }
.in-say { min-height: 1.5em; margin: 0; font-weight: 600; }
.in-foot { color: var(--muted); font-size: 14px; margin: 0; }
.in-side { position: relative; background: var(--ink); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; overflow: hidden; padding: 40px; }
.in-side .dots { position: absolute; inset: 0; background-image: radial-gradient(#fff 1.4px, transparent 1.8px); background-size: 22px 22px; opacity: .12; }
.in-card { position: relative; background: #fff; color: var(--ink); border-radius: 22px; padding: 18px; width: min(340px, 100%); box-shadow: 0 30px 80px #0008; }
.in-card-top { display: flex; align-items: center; gap: 8px; font-weight: 700; margin: 0 0 10px; }
.in-card-top img { width: 22px; }
.in-row { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.in-row .thumb { width: 40px; height: 52px; border-radius: 8px; }
.in-row span:last-child { display: flex; flex-direction: column; }
.in-row small { color: var(--muted); }
.in-quote { position: relative; font-size: 26px; font-weight: 800; letter-spacing: -.02em; margin: 0; }

@media (max-width: 860px) {
  .shell { grid-template-columns: 1fr; grid-template-rows: 58px auto 1fr; }
  .bar { padding: 0 16px; gap: 10px; }
  .logo span { display: none; }
  .biz { padding-left: 10px; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .demo { display: none; }
  .side { position: sticky; top: 58px; height: auto; flex-direction: row; overflow-x: auto; padding: 8px 12px; border-right: 0; border-bottom: 1px solid var(--line); background: #fff; z-index: 4; }
  .nav-item { width: auto; flex: none; padding: 8px 12px; font-size: 14px; gap: 8px; }
  .nav-item .i { width: 18px; height: 18px; }
  .nav-foot { display: none; }
  .main { padding: 22px 16px 60px; }
  .tiles { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tile { padding: 12px 14px; }
  .tile b { font-size: 26px; }
  .two { grid-template-columns: 1fr; }
  .two .card { margin-bottom: 18px; }
  .oks { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .ok .btn { font-size: 14px; }
  .tbl th:nth-child(2), .tbl td:nth-child(2) { display: none; }
  .facts { grid-template-columns: 1fr; gap: 2px; }
  .facts dd { margin-bottom: 10px; }
  .in-split { grid-template-columns: 1fr; }
  .in-side { display: none; }
  .in-form { padding-top: 100px; justify-content: flex-start; }
  .in-form .logo span { display: inline; }
}

/* uploads */
.kinds { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--sand); margin-bottom: 14px; }
.kinds button { border: 0; background: none; padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: 14px; color: var(--muted); cursor: pointer; }
.kinds button[aria-checked="true"] { background: var(--ink); color: #fff; }
.drop { cursor: pointer; transition: border-color .15s, background .15s; }
.drop:hover, .drop.over { border-color: var(--ink); background: #fff; }
.drop:focus-within { outline: 2px solid var(--ink); outline-offset: 2px; }
.row.up { align-items: center; }
.row.up > span:nth-child(2) { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.row.up > .pill { display: inline-block; }
.row.up b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
progress { width: 100%; height: 6px; margin-top: 6px; appearance: none; border: 0; border-radius: 99px; background: var(--soft); overflow: hidden; }
progress::-webkit-progress-bar { background: var(--soft); }
progress::-webkit-progress-value { background: var(--ink); }
progress::-moz-progress-bar { background: var(--ink); }
.pill { flex: none; font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--soft); color: var(--muted); max-width: 46%; text-align: right; }
.pill.go { background: var(--ink); color: #fff; }
.pill.ok { background: #e6f2eb; color: var(--ok); }
.pill.bad { background: #fbeaea; color: #a32020; }
.strip { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; border: 1px solid var(--line); background: var(--sand); border-radius: 16px; padding: 14px 18px; margin-bottom: 18px; cursor: pointer; font-size: 15px; }
.strip:hover { border-color: var(--ink); }
@media (max-width: 860px) { .row.up { flex-wrap: wrap; } .row.up .pill { max-width: calc(100% - 78px); margin-left: 78px; text-align: left; } }

/* clips for the client's OK */
.clip { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: contain; background: #000; border-radius: 14px; }
.thumb.pic { background: #000; }
.thumb.pic::before { display: none; }
.thumb.pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fixed { align-self: flex-start; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: #e6f2eb; color: var(--ok); }
.secs { color: var(--muted); font-size: 13px; }
.cap summary { cursor: pointer; font-size: 13px; font-weight: 600; color: var(--muted); }
.cap p { margin: 6px 0 0; font-size: 14px; white-space: pre-wrap; }

/* your plan */
.plan-body { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 0; }
.plan-body p { margin: 0; }
.plan-body > b { font-size: 17px; }
.plan-body .pill { align-self: flex-start; }
.said { color: var(--muted); font-size: 14px; }
.strip.for { cursor: default; flex-wrap: wrap; }
.strip.for .link { margin: 0 0 0 auto; }

/* your brain */
.brain { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; align-items: start; }
.brain .card { margin: 0; }
.brain .card h2 { margin-bottom: 2px; }
.brain .card > .note { margin: 0 0 12px; }
.lines { list-style: none; margin: 0 0 10px; padding: 0; display: flex; flex-direction: column; }
.lines li { display: flex; gap: 8px; align-items: flex-start; padding: 9px 0; border-top: 1px solid var(--line); font-size: 15px; }
.lines li:first-child { border-top: 0; }
.lines li > span:first-child { flex: 1; }
.lines li.edit, .brain .edit { flex-direction: column; align-items: stretch; gap: 8px; }
.brain textarea { width: 100%; padding: 10px 12px; border: 1px solid #d9d9d7; border-radius: 12px; background: var(--sand); resize: vertical; }
.you { font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 999px; background: var(--soft); color: var(--muted); white-space: nowrap; }
.line-acts { display: flex; gap: 2px; opacity: .45; transition: opacity .15s; }
.lines li:hover .line-acts, .line-acts:focus-within { opacity: 1; }
.icon { border: 0; background: none; padding: 4px; border-radius: 8px; cursor: pointer; color: var(--ink); display: grid; place-items: center; }
.icon:hover { background: var(--sand); }
.icon .i { width: 16px; height: 16px; }
.tile-working { background: var(--ink); color: #fff; border-color: var(--ink); }
.tile-working .note, .tile-working .empty { color: #cfcfcf; }
.tile-working .lines li { border-color: #333; }
.remember { display: flex; gap: 8px; align-items: center; font-size: 14px; font-weight: 600; cursor: pointer; }
@media (max-width: 860px) { .brain { grid-template-columns: 1fr; } .line-acts { opacity: 1; } }
.plan-body .ok-btns .btn { flex: 0 0 auto; padding: 9px 16px; }
.plan-body .pill { max-width: none; text-align: left; white-space: nowrap; }

/* results: their pages */
.pages { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.page-card { border: 1px solid var(--line); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.page-card header { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.page-card header b { font-size: 15px; }
.page-card header small { width: 100%; color: var(--muted); font-size: 13px; }
.page-nums { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.page-nums b { display: block; font-size: 24px; letter-spacing: -.02em; }
.page-nums small { color: var(--muted); font-size: 12px; }
i.up, small.up { color: var(--ok); font-style: normal; font-weight: 700; }   /* the growth number only: .row.up is the upload row */
i.down, small.down { color: #a32020; font-style: normal; font-weight: 700; }
.tile small.up, .tile small.down { display: inline; font-size: 14px; }
.bars { display: flex; align-items: flex-end; gap: 4px; height: 54px; }
.bars span { flex: 1; background: var(--ink); border-radius: 4px 4px 0 0; min-height: 3px; opacity: .85; }

/* extras that are on */
.extra.on { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.on-tag { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: #e6f2eb; color: var(--ok); vertical-align: middle; }
.extra .btn:disabled { opacity: .5; }

/* messages */
.chat { display: flex; flex-direction: column; gap: 14px; }
.thread { display: flex; flex-direction: column; gap: 10px; max-height: 60vh; overflow-y: auto; padding: 4px; }
.bubble { max-width: 78%; padding: 12px 14px; border-radius: 16px; background: var(--sand); align-self: flex-start; }
.bubble.client { align-self: flex-end; background: var(--ink); color: #fff; }
.bubble.client small { color: #cfcfcf; }
.bubble p { margin: 0; white-space: pre-wrap; }
.bubble small { display: block; margin-top: 6px; font-size: 12px; color: var(--muted); }
.bubble.weekly { border: 1px solid var(--line); background: #fff; max-width: 92%; }
.bubble.weekly b { display: block; margin-bottom: 6px; font-family: Georgia, serif; font-style: italic; font-weight: 400; font-size: 18px; }
.send { display: flex; gap: 10px; align-items: flex-end; }
.send textarea { flex: 1; padding: 12px 14px; border: 1px solid #d9d9d7; border-radius: 14px; background: var(--sand); resize: vertical; }

/* the free trial */
.trial { display: flex; gap: 10px; align-items: center; margin: 0 0 20px; padding: 12px 16px; border-radius: 14px; background: var(--ink); color: #fff; font-size: 15px; }
.trial .i { flex: none; }
@media (max-width: 860px) { .bubble { max-width: 92%; } .send { flex-direction: column; align-items: stretch; } }

/* Wade looking at a client's app from the office */
.look { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 0 0 16px; padding: 12px 16px; border-radius: 14px; background: #fff7d6; border: 1px solid #e8d48a; font-size: 15px; }
.look .i { flex: none; }
.look a { margin-left: auto; font-weight: 700; }
.look span { flex: 1; min-width: 200px; }
.group-head { font-size: 18px; margin: 26px 0 12px; }
.group-head:first-of-type { margin-top: 0; }
.soon-tag { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--soft); color: var(--muted); vertical-align: middle; white-space: nowrap; }

/* the month calendar */
.plan-top { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.plan-top .kinds { margin: 0; }
.cal-sum { margin: 0 0 12px; font-size: 15px; }
.mix { display: flex; border-radius: 999px; overflow: hidden; font-size: 12px; font-weight: 700; margin-bottom: 4px; }
.mix span { padding: 6px 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mix-grow { background: #fff; border: 1px solid var(--ink); border-radius: 999px 0 0 999px; }
.mix-sell { background: var(--ink); color: #fff; }
.cal-head, .cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cal-head { margin: 14px 0 6px; font-size: 12px; font-weight: 700; color: var(--muted); text-align: center; }
.cal-day { min-height: 92px; border: 1px solid var(--line); border-radius: 12px; padding: 6px; display: flex; flex-direction: column; gap: 4px; background: #fff; min-width: 0; }
.cal-day.blank { border: 0; background: none; }
.cal-day.past { opacity: .5; }
.cal-day.today { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.cal-day > b { font-size: 13px; }
.cal-date { font-size: 10px; font-weight: 700; color: #8a6d00; line-height: 1.2; }
.cal-chip { display: inline-block; border-radius: 999px; padding: 2px 8px; font-size: 11px; font-weight: 700; border: 1px solid var(--ink); background: #fff; color: var(--ink); cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: left; }
.cal-chip.sell { background: var(--ink); color: #fff; }
.cal-chip.open { border-style: dashed; background: var(--sand); color: var(--muted); }
.cal-legend { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 12px 0 0; font-size: 13px; color: var(--muted); }
.cal-legend .cal-chip { cursor: default; }

/* ideas */
.filters { display: flex; flex-wrap: wrap; gap: 8px 12px; margin-bottom: 16px; }
.filters .kinds { margin: 0; }
.ideas { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.idea { border: 1px solid var(--line); border-radius: 18px; padding: 18px; background: #fff; display: flex; flex-direction: column; gap: 8px; }
.idea h3 { font-size: 17px; }
.idea p { margin: 0; }
.idea-tags { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.strength { font-size: 12px; font-weight: 700; color: var(--ok); }
.idea .ok-btns { margin-top: auto; padding-top: 6px; }
.small-link { font-size: 13px; color: var(--muted); }

/* the long video builder */
.steps-top { display: flex; gap: 14px; font-size: 13px; color: var(--muted); margin: 0 0 10px; }
.steps-top .on { color: var(--ink); font-weight: 700; }
.fmts, .picks { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; margin-bottom: 12px; }
.fmt, .pick { text-align: left; border: 1px solid var(--line); background: #fff; border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 6px; cursor: pointer; font: inherit; color: inherit; }
.fmt:hover, .pick:hover { border-color: var(--ink); }
.fmt small, .pick small { color: var(--muted); font-size: 13px; }
.fmt .cal-chip { align-self: flex-start; cursor: inherit; }
.pick.on { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); background: var(--sand); }
.pick:disabled { opacity: .45; cursor: default; }
.own { margin: 4px 0; font-weight: 600; }
dialog .send input, dialog .ok-change input, dialog .ok-change select, #use-other { width: 100%; padding: 10px 12px; border: 1px solid #d9d9d7; border-radius: 12px; background: var(--sand); font: inherit; }
dialog .ok-change { margin: 10px 0; }
dialog { max-height: 88vh; overflow-y: auto; }
@media (max-width: 860px) {
  .cal-head, .cal { gap: 3px; }
  .cal-day { min-height: 64px; padding: 3px; border-radius: 8px; }
  .cal-chip { font-size: 9px; padding: 1px 4px; }
  .cal-date { font-size: 8px; }
}
.cal-chip .n { display: none; }
@media (max-width: 860px) { .cal .cal-chip .w { display: none; } .cal .cal-chip .n { display: inline; } .cal .cal-chip { text-align: center; } }

/* the questionnaire */
.strip.ask-q { background: var(--ink); color: #fff; border-color: var(--ink); }
.qcard { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.qcard h2 { margin-bottom: 4px; }
.qcard .note { margin: 0; }
.market-text { white-space: pre-wrap; font-size: 15px; line-height: 1.6; }
.qtop { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.qtop .kinds { margin: 0; flex-wrap: wrap; border-radius: 16px; }
.q { padding: 14px 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.q:first-of-type { border-top: 0; padding-top: 0; }
.q label { display: flex; flex-direction: column; gap: 2px; }
.q label small { color: var(--muted); font-size: 14px; }
.q textarea { width: 100%; padding: 10px 12px; border: 1px solid #d9d9d7; border-radius: 12px; background: var(--sand); resize: vertical; }
.q-foot { display: flex; gap: 10px; align-items: center; justify-content: flex-end; flex-wrap: wrap; }
.q-src { margin-right: auto; color: #8a6d00; font-weight: 600; font-size: 13px; }
.mic { padding: 8px 14px; font-size: 14px; }
.mic .i { width: 16px; height: 16px; }
.mic.on { background: #a32020; border-color: #a32020; color: #fff; animation: pulse 1.2s infinite; }
@keyframes pulse { 50% { opacity: .7; } }

/* frame cards */
.why { background: var(--sand); border-radius: 14px; padding: 12px 14px; margin: 8px 0 14px; }
.why p { margin: 4px 0 0; }
.frame > p { margin: 12px 0; }
.frame > p > b { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); margin-bottom: 2px; }
.frame .serif { font-size: 18px; }
.full summary { cursor: pointer; font-weight: 700; margin: 10px 0; }
.full-text { white-space: pre-wrap; background: var(--sand); border-radius: 12px; padding: 12px 14px; }
/* The video grade (the audit, 2026-10-24): a letter in a round badge, shared by the client app and the office. */
.grade { flex: none; display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font-weight: 800; font-size: 17px; background: var(--ink); color: #fff; }
.grade.gA, .grade.gB { background: var(--ok); }
.grade.gC { background: #c98a12; }
.grade.gD, .grade.gE { background: #a32020; }
.grade-box { display: flex; gap: 12px; align-items: flex-start; background: var(--sand); border-radius: 14px; padding: 12px 14px; margin-top: 10px; }
.grade-box p { margin: 0 0 4px; font-size: 14px; }
.grade-box .tip b { font-weight: 700; }
.grade.sm { width: 24px; height: 24px; font-size: 13px; vertical-align: middle; }
.main { min-width: 0; }   /* a grid column: without it one long video name (nowrap, ellipsis) widens the whole page on a phone */

/* A file deleted after 7 days (keep.mjs): said quietly. */
small.gone { color: var(--muted); font-style: italic; }

/* The idle cover (app.js): 30 minutes with nobody there. */
.idle { position: fixed; inset: 0; z-index: 99; display: grid; place-items: center; border: 0; background: rgba(255,255,255,.94); cursor: pointer; font: inherit; color: var(--ink); }
.idle span { display: grid; gap: 8px; max-width: 320px; padding: 24px; text-align: center; font-size: 17px; }
.idle b { font-size: 24px; }
.idle em { font-style: normal; font-weight: 600; text-decoration: underline; }
