/* Noodle app: brutalist-clean mono UI. Black sidebar, white work area, yellow highlight,
   the campaign's partner colour (orange / green / blue) as accent. Square corners, 1px hairlines. */
:where(svg[viewBox="0 0 7 7"]) { width: 14px; height: 14px; flex: none; }
:root {
  --ink: #0A0A0A; --ink2: #161616; --ink3: #242424;
  --paper: #F4F4F2; --paper2: #EBEBE7; --white: #fff;
  --line: #E2E2DC; --line2: #CBCBC4; --mute: #64645F; --mute2: #8E8E88;
  --yellow: #FFD004; --yellow2: #F2C300; --orange: #F64E0D; --green: #4DA626; --blue: #2A60E6;
  --acc: var(--orange);
  --side: 236px; --top: 56px;
  --f: 'Red Hat Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { height: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 13.5px/1.5 var(--f); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow: hidden; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
img { display: block; max-width: 100%; }
svg { display: block; }
::selection { background: var(--yellow); color: var(--ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
kbd { font: 500 11px/1 var(--f); padding: 3px 5px; border: 1px solid var(--line2); background: var(--white); color: var(--mute); display: inline-block; min-width: 18px; text-align: center; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[data-i] svg, .ic svg, button svg, a svg, .tag svg, .ib svg { width: 14px; height: 14px; flex: none; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- shell ---------- */
.app { display: grid; grid-template-columns: var(--side) 1fr; height: 100vh; height: 100dvh; }
.side { background: var(--ink); color: #C9C9C3; display: flex; flex-direction: column; min-height: 0; border-right: 1px solid var(--ink); z-index: 30; }
.side-top { display: flex; align-items: center; padding: 10px 10px 8px; border-bottom: 1px solid var(--ink3); }
.ws { flex: 1; display: flex; align-items: center; gap: 10px; padding: 6px 8px; text-align: left; min-width: 0; }
.ws:hover { background: var(--ink2); }
.ws-mark { width: 38px; color: var(--yellow); flex: none; }
.ws .ws-mark svg { width: 38px; height: auto; overflow: visible; }
.ws-txt { min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.ws-txt b { color: #fff; font-weight: 500; font-size: 14px; }
.ws-txt small { color: #85857F; font-size: 11.5px; white-space: nowrap; }
.ws-chev { margin-left: auto; color: #85857F; }
.side-x { display: none; color: #fff; padding: 8px; }
.nav { padding: 8px 10px; overflow-y: auto; flex: 1; }
.nav-h { font-size: 11.5px; color: #77776F; padding: 14px 10px 6px; }
.nav a { display: flex; align-items: center; gap: 11px; height: 34px; padding: 0 10px; color: #C9C9C3; position: relative; }
.nav a em { font-style: normal; flex: 1; white-space: nowrap; }
.nav a small { font-size: 11.5px; color: #77776F; }
.nav a:hover { background: var(--ink2); color: #fff; }
.nav a.on { background: var(--yellow); color: var(--ink); }
.nav a.on small { color: var(--ink); }
.nav a:focus-visible { outline: 2px solid var(--yellow); outline-offset: -2px; }
.side-foot { padding: 12px 12px 14px; border-top: 1px solid var(--ink3); display: flex; flex-direction: column; gap: 12px; }
.dots-card { padding: 10px 10px 9px; border: 1px solid var(--ink3); }
.dots-card p { font-size: 11.5px; color: #9B9B95; margin-bottom: 7px; }
.dots-row { display: flex; gap: 3px; }
.dots-row i { width: 12px; height: 12px; background: var(--yellow); }
.dots-row i.used { background: transparent; box-shadow: inset 0 0 0 1px #4A4A45; }
.dots-card small { display: block; font-size: 11.5px; color: #C9C9C3; margin-top: 6px; }
.ariadne { position: static; align-self: flex-start; font: 500 12.5px/1 system-ui, -apple-system, 'Segoe UI', sans-serif; padding: 7px 11px; border-radius: 999px; background: rgba(20, 22, 26, .88); color: #fff; letter-spacing: .01em; box-shadow: 0 0 0 1px rgba(255, 255, 255, .14); opacity: .92; }
.ariadne b { font-weight: 600; color: #ff8a3d; }
.scrim { position: fixed; inset: 0; background: rgba(10, 10, 10, .45); z-index: 25; }

.main { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.top { height: var(--top); flex: none; display: flex; align-items: center; gap: 12px; padding: 0 20px 0 24px; border-bottom: 1px solid var(--line); background: var(--white); }
.icon-btn.burger { display: none; }
.crumbs { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 13px; color: var(--mute); white-space: nowrap; overflow: hidden; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.crumbs b { font-weight: 500; color: var(--ink); overflow: hidden; text-overflow: ellipsis; }
.crumbs i { color: var(--line2); font-style: normal; }
.top-r { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.search { display: flex; align-items: center; gap: 10px; height: 34px; padding: 0 6px 0 11px; width: 270px; border: 1px solid var(--line2); color: var(--mute); background: var(--white); }
.search em { font-style: normal; flex: 1; text-align: left; font-size: 13px; }
.search:hover { border-color: var(--ink); color: var(--ink); }
.icon-btn { width: 34px; height: 34px; display: grid; place-items: center; position: relative; color: var(--ink); border: 1px solid transparent; }
.icon-btn:hover { border-color: var(--line2); }
.bell-n { position: absolute; top: 3px; right: 2px; min-width: 15px; height: 15px; padding: 0 3px; background: var(--yellow); color: var(--ink); font: 600 10px/15px var(--f); text-align: center; box-shadow: 0 0 0 1px var(--ink); }
.bell-n:empty, .bell-n[data-n="0"] { display: none; }
.avatar-btn { width: 34px; height: 34px; border: 1px solid var(--ink); overflow: hidden; }
.avatar-btn img, .avatar-btn .av { width: 100%; height: 100%; }

.view { flex: 1; overflow: auto; min-height: 0; position: relative; outline: none; background: var(--white); }
.page { padding: 26px 32px 64px; max-width: 1480px; }
.page.full { max-width: none; }

/* ---------- atoms ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 34px; padding: 0 14px; border: 1px solid var(--ink); background: var(--white); color: var(--ink); font-weight: 500; font-size: 13px; white-space: nowrap; }
.btn:hover { background: var(--paper); }
.btn em { font-style: normal; }
.idea .cm { display: inline-flex; align-items: center; gap: 4px; }
.idea .cm svg { width: 10px; height: 10px; }
.btn-y { background: var(--yellow); }
.btn-y:hover { background: var(--yellow2); }
.btn-k { background: var(--ink); color: #fff; }
.btn-k:hover { background: #2a2a2a; }
.btn-q { border-color: var(--line2); }
.btn-q:hover { border-color: var(--ink); background: var(--white); }
.btn-s { height: 28px; padding: 0 10px; font-size: 12.5px; gap: 6px; }
.btn[disabled] { opacity: .4; pointer-events: none; }
.btn kbd { border-color: rgba(10, 10, 10, .25); background: transparent; color: inherit; padding: 2px 4px; }
.link { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line2); }
.link:hover { text-decoration-color: var(--ink); }
.muted { color: var(--mute); }
.tag { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 7px; border: 1px solid var(--line2); font-size: 12px; white-space: nowrap; background: var(--white); }
.tag i { width: 8px; height: 8px; background: currentColor; flex: none; }
.tag.k { background: var(--ink); color: #fff; border-color: var(--ink); }
.tag.y { background: var(--yellow); border-color: var(--ink); }
.tag.o { border-color: var(--ink); }
.tag.dash { border-style: dashed; }
.av { display: grid; place-items: center; background: var(--yellow); color: var(--ink); font: 600 10px/1 var(--f); overflow: hidden; flex: none; position: relative; }
.av b { font-weight: 600; }
.av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.av-s { width: 20px; height: 20px; font-size: 9px; }
.av-m { width: 28px; height: 28px; }
.av-l { width: 40px; height: 40px; font-size: 13px; }
.avs { display: flex; }
.avs .av { box-shadow: 0 0 0 1.5px var(--white); }
.avs .av + .av { margin-left: -4px; }
.combo { display: inline-block; position: relative; width: 20px; height: 16px; flex: none; }
.combo::before, .combo::after { content: ''; position: absolute; width: 11px; height: 13px; }
.combo::after { left: 0; bottom: 0; background: var(--yellow); box-shadow: 0 0 0 1px rgba(10, 10, 10, .12); }
.combo::before { right: 1px; top: 0; background: var(--c, var(--orange)); }
.stage { display: inline-flex; gap: 2px; vertical-align: middle; }
.stage i { width: 6px; height: 10px; background: var(--paper2); }
.stage i.f { background: var(--ink); }
.stage i.c { background: var(--yellow); box-shadow: inset 0 0 0 1px var(--ink); }
.icob { display: grid; place-items: center; width: 26px; height: 26px; background: var(--acc); color: #fff; flex: none; }
.icob svg { width: 14px; height: 14px; }
.seg { display: inline-flex; border: 1px solid var(--line2); background: var(--white); }
.seg button { height: 30px; padding: 0 11px; font-size: 12.5px; color: var(--mute); border-right: 1px solid var(--line2); white-space: nowrap; }
.seg button:last-child { border-right: 0; }
.seg button:hover { color: var(--ink); background: var(--paper); }
.seg button.on { background: var(--ink); color: #fff; }
.chip { display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 10px; border: 1px solid var(--line2); font-size: 12.5px; background: var(--white); color: var(--ink); white-space: nowrap; }
.chip:hover { border-color: var(--ink); }
.chip.on { background: var(--yellow); border-color: var(--ink); }
.chip small { color: var(--mute); font-size: 11.5px; }
.chip.on small { color: var(--ink); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span { font-size: 12px; color: var(--mute); }
.inp, .sel, textarea.inp { height: 34px; padding: 0 10px; border: 1px solid var(--line2); background: var(--white); width: 100%; font-size: 13px; border-radius: 0; }
textarea.inp { height: auto; min-height: 84px; padding: 9px 10px; resize: vertical; line-height: 1.5; }
.sel { appearance: none; -webkit-appearance: none; padding-right: 28px; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 15px) 15px, calc(100% - 10px) 15px; background-size: 5px 5px; background-repeat: no-repeat; }
.inp:focus, .sel:focus { outline: none; border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.sel-s { height: 30px; font-size: 12.5px; width: auto; }
.check { display: flex; align-items: center; gap: 9px; font-size: 13px; cursor: pointer; }
.check input { appearance: none; -webkit-appearance: none; width: 16px; height: 16px; border: 1px solid var(--ink); margin: 0; display: grid; place-items: center; flex: none; background: var(--white); }
.check input:checked { background: var(--yellow); }
.check input:checked::after { content: ''; width: 6px; height: 6px; background: var(--ink); }

/* page header */
.ph { display: flex; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 22px; }
.ph h1 { font-size: 28px; font-weight: 400; letter-spacing: -.025em; line-height: 1.15; }
.ph p { color: var(--mute); margin-top: 6px; max-width: 70ch; }
.ph-a { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.ph-t { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.toolbar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.toolbar .sp { flex: 1; }
.toolbar > .muted { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 0 1 auto; }
.box { border: 1px solid var(--line2); background: var(--white); }
.box-h { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); min-height: 48px; }
.box-h h2, .box-h h3 { font-size: 14px; font-weight: 500; }
.box-h .sp { flex: 1; }
.box-b { padding: 16px; }
.h2 { font-size: 15px; font-weight: 500; margin-bottom: 12px; }

/* stat tiles */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line2); margin-bottom: 20px; }
.stat { padding: 14px 16px 15px; border-right: 1px solid var(--line); min-width: 0; }
.stat:last-child { border-right: 0; }
.stat p { font-size: 12px; color: var(--mute); }
.stat b { display: block; font-size: 30px; font-weight: 300; letter-spacing: -.03em; line-height: 1.1; margin-top: 8px; font-variant-numeric: tabular-nums; }
.stat small { display: block; font-size: 12px; color: var(--mute); margin-top: 4px; }
.stat small em { font-style: normal; color: var(--ink); background: var(--yellow); padding: 0 3px; }

/* tables */
.tw { overflow-x: auto; border: 1px solid var(--line2); background: var(--white); }
table.t { width: 100%; border-collapse: collapse; font-size: 13px; }
.t th { text-align: left; font-weight: 500; font-size: 12px; color: var(--mute); padding: 0 12px; height: 38px; border-bottom: 1px solid var(--line2); white-space: nowrap; background: var(--white); position: sticky; top: 0; z-index: 1; }
.t th button { display: inline-flex; align-items: center; gap: 5px; color: inherit; font-weight: 500; }
.t th button:hover { color: var(--ink); }
.t th button.on { color: var(--ink); }
.t td { padding: 0 12px; height: 52px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.t tr:last-child td { border-bottom: 0; }
.t tbody tr { cursor: pointer; }
.t tbody tr:hover td { background: var(--paper); }
.t .r { text-align: right; }
.t td.wrap { white-space: normal; }
.cell-t { display: flex; flex-direction: column; line-height: 1.3; }
.cell-t b { font-weight: 500; }
.cell-t small { color: var(--mute); font-size: 12px; }
.cell-p { display: flex; align-items: center; gap: 8px; }
.empty { padding: 48px 20px; text-align: center; color: var(--mute); display: flex; flex-direction: column; align-items: center; gap: 12px; }
.empty svg.em { width: 64px; height: auto; color: var(--ink); }
.empty b { color: var(--ink); font-weight: 500; font-size: 15px; }

/* bars */
.bar { height: 8px; background: var(--paper2); position: relative; overflow: hidden; }
.bar i { position: absolute; left: 0; top: 0; bottom: 0; width: var(--w); background: var(--ink); }
.bar.acc i { background: var(--acc); }
.bar.y i { background: var(--yellow); box-shadow: inset 0 0 0 1px var(--ink); }
.anim .bar i { animation: grow .9s var(--ease) both; }
@keyframes grow { from { width: 0; } }

/* tabs */
.tabs { display: flex; gap: 0; border-bottom: 1px solid var(--line2); margin-bottom: 22px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a { display: flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px; color: var(--mute); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs a:hover { color: var(--ink); }
.tabs a.on { color: var(--ink); border-bottom-color: var(--ink); font-weight: 500; }
.tabs a small { font-size: 11.5px; padding: 1px 5px; background: var(--paper2); color: var(--ink); }
.tabs a.on small { background: var(--yellow); }

/* ---------- briefs ---------- */
.brief-h { display: flex; gap: 14px; align-items: flex-start; }
.brief-h .icob { width: 44px; height: 44px; }
.brief-h .icob svg { width: 22px; height: 22px; }
.meta-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 10px; color: var(--mute); font-size: 12.5px; }
.ov { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
.ov-col { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.bf { display: grid; grid-template-columns: 130px 1fr; border-top: 1px solid var(--line); }
.bf:first-child { border-top: 0; }
.bf dt { padding: 12px 16px; color: var(--mute); font-size: 12.5px; }
.bf dd { margin: 0; padding: 12px 16px 12px 0; }
.bf dd[contenteditable="true"] { outline: 1px solid var(--ink); outline-offset: -1px; padding-left: 8px; background: #FFFBE5; }
.pipe { display: grid; grid-template-columns: repeat(7, 1fr); }
.pipe li { list-style: none; padding: 12px 10px 12px 0; border-top: 3px solid var(--paper2); font-size: 12.5px; min-width: 0; }
.pipe li b { display: block; font-weight: 500; }
.pipe li small { color: var(--mute); font-size: 11.5px; display: block; }
.pipe li.f { border-top-color: var(--ink); }
.pipe li.c { border-top-color: var(--yellow); }
.pipe li.c b::after { content: ' ●'; color: var(--acc); font-size: 10px; vertical-align: 2px; }
.pipe-w { padding: 4px 16px 6px; }
.top-list li { list-style: none; display: grid; grid-template-columns: 22px minmax(0, 1fr) 120px 34px; gap: 12px; align-items: center; padding: 10px 16px; border-top: 1px solid var(--line); cursor: pointer; }
.top-list li:first-child { border-top: 0; }
.top-list li:hover { background: var(--paper); }
.top-list li > span { color: var(--mute); font-size: 12px; }
.top-list li b { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.top-list ol, ol.top-list { margin: 0; padding: 0; }
.feed li { list-style: none; display: flex; gap: 10px; padding: 11px 16px; border-top: 1px solid var(--line); font-size: 12.5px; line-height: 1.45; }
.feed li:first-child { border-top: 0; }
.feed ul, ul.feed { margin: 0; padding: 0; }
.feed small { display: block; color: var(--mute); font-size: 11.5px; margin-top: 2px; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 9px 16px; padding: 14px 16px; font-size: 13px; }
.kv dt { color: var(--mute); }
.kv dd { margin: 0; text-align: right; }
.winner { padding: 16px; background: var(--ink); color: #fff; }
.winner p { font-size: 12px; color: #A6A6A0; }
.winner h3 { font-size: 22px; font-weight: 400; letter-spacing: -.02em; margin: 8px 0 12px; line-height: 1.2; }
.winner .wl { display: flex; align-items: baseline; gap: 10px; }
.winner .wl b { font-size: 38px; font-weight: 300; color: var(--yellow); letter-spacing: -.03em; line-height: 1; }
.winner .btn { margin-top: 14px; }

/* ---------- idea wall ---------- */
.wall-page { display: flex; flex-direction: column; height: 100%; }
.wall-head { padding: 22px 28px 0; flex: none; }
.wall-head .tabs { margin-bottom: 14px; }
.wall-tools { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; padding: 0 28px 12px; flex: none; }
.wall-tools .sp { flex: 1; }
.wall-tools .inp { width: 180px; height: 30px; font-size: 12.5px; }
.dotsleft { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--mute); }
.dotsleft .dots-row i { width: 9px; height: 9px; }
.dotsleft .dots-row i.used { box-shadow: inset 0 0 0 1px var(--line2); }
.canvas { flex: 1; min-height: 0; overflow: auto; background-color: var(--paper); background-image: radial-gradient(#CFCFC8 1px, transparent 1.2px); background-size: 16px 16px; border-top: 1px solid var(--line2); }
.cols { display: flex; gap: 14px; padding: 18px 28px 40px; align-items: flex-start; width: max-content; }
.col { width: 268px; flex: none; display: flex; flex-direction: column; }
.col-h { display: flex; align-items: center; gap: 8px; padding: 9px 10px; background: var(--white); border: 1px solid var(--line2); border-top: 3px solid var(--ink); position: sticky; top: 0; z-index: 2; }
.col-h b { font-weight: 500; flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.col-h span { font-size: 11.5px; color: var(--mute); }
.col-h .n { font-size: 11.5px; color: var(--mute); min-width: 18px; }
.col.unsorted .col-h { border-top-color: var(--line2); border-top-style: dashed; }
.col-b { display: flex; flex-direction: column; gap: 8px; padding: 8px 0 0; min-height: 80px; }
.col.over .col-b { outline: 2px solid var(--ink); outline-offset: 2px; background: rgba(255, 208, 4, .25); }
.col-add { height: 34px; border: 1px dashed var(--line2); color: var(--mute); font-size: 12.5px; display: flex; align-items: center; gap: 8px; justify-content: center; background: rgba(255, 255, 255, .6); }
.col-add:hover { border-color: var(--ink); color: var(--ink); background: var(--white); }
.idea { background: var(--white); border: 1px solid var(--line2); padding: 11px 11px 9px; display: flex; flex-direction: column; gap: 8px; position: relative; cursor: grab; user-select: none; -webkit-user-select: none; }
.idea:hover { border-color: var(--ink); }
.idea:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; }
.idea.top1 { box-shadow: inset 0 3px 0 var(--yellow); }
.idea .it { display: flex; gap: 10px; align-items: flex-start; }
.idea h4 { font-size: 13.5px; font-weight: 500; line-height: 1.3; letter-spacing: -.005em; }
.idea p { font-size: 12px; color: var(--mute); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.idea .ib { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--mute); }
.idea .ib .sp { flex: 1; }
.idea .rank { position: absolute; top: -1px; right: -1px; background: var(--yellow); color: var(--ink); font: 600 10.5px/1 var(--f); padding: 4px 5px; box-shadow: 0 0 0 1px var(--ink); }
.idea .grip { position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; display: none; place-items: center; color: var(--mute2); touch-action: none; }
.idea.has-rank .grip { right: 30px; }
.vote { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 7px; border: 1px solid var(--line2); font: 500 12px/1 var(--f); color: var(--ink); background: var(--white); }
.vote i { width: 8px; height: 8px; box-shadow: inset 0 0 0 1px var(--ink); }
.vote:hover { border-color: var(--ink); }
.vote.on { background: var(--yellow); border-color: var(--ink); }
.vote.on i { background: var(--ink); }
.vote.pop { animation: pop .32s steps(3) both; }
@keyframes pop { 50% { transform: translateY(-3px); } }
.idea.ghost { position: fixed; z-index: 80; pointer-events: none; width: 268px; border-color: var(--ink); box-shadow: 6px 6px 0 var(--ink); transform: rotate(-1.5deg); cursor: grabbing; }
.idea.placeholder { opacity: .35; border-style: dashed; }
.idea.new { animation: snapin .4s steps(4) both; }
@keyframes snapin { from { transform: translate(-16px, -16px); opacity: 0; } }
body.dragging, body.dragging * { cursor: grabbing !important; }
.composer { background: var(--white); border: 1px solid var(--ink); padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.composer input, .composer textarea { border: 0; padding: 0; outline: none; width: 100%; background: transparent; }
.composer input { font-weight: 500; font-size: 13.5px; }
.composer textarea { font-size: 12.5px; color: var(--mute); resize: none; min-height: 36px; }
.composer .ca { display: flex; gap: 6px; align-items: center; }
.composer .ca .sp { flex: 1; }
.composer .ca small { color: var(--mute); font-size: 11px; }
.ranked { padding: 18px 28px 40px; }

/* ---------- concepts ---------- */
.boards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.board { border: 1px solid var(--line2); background: var(--white); display: flex; flex-direction: column; cursor: pointer; text-align: left; }
.board:hover { border-color: var(--ink); }
.board .poster { aspect-ratio: 4 / 5; background: var(--paper); position: relative; overflow: hidden; border-bottom: 1px solid var(--line2); }
.board .poster img { width: 100%; height: 100%; object-fit: cover; }
.board .poster .combo { position: absolute; left: 10px; top: 10px; }
.noposter { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: var(--mute); font-size: 12px; background-color: var(--paper); background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 20px 20px; text-align: center; padding: 20px; }
.noposter svg { width: 70px; height: auto; color: var(--line2); }
.board .bb { padding: 12px 14px 13px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.board h3 { font-size: 15px; font-weight: 500; line-height: 1.25; letter-spacing: -.01em; }
.board p { font-size: 12.5px; color: var(--mute); line-height: 1.45; }
.board .bf2 { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--mute); margin-top: auto; padding-top: 6px; }
.board .bf2 .sp { flex: 1; }
.sheet-grid { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 22px; }
.sheet-grid .poster { aspect-ratio: 4 / 5; border: 1px solid var(--line2); overflow: hidden; background: var(--paper); }
.sheet-grid .poster img { width: 100%; height: 100%; object-fit: cover; }
.notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.note { background: var(--yellow); padding: 10px 11px 30px; font-size: 12.5px; line-height: 1.45; position: relative; min-height: 84px; }
.note button { position: absolute; right: 6px; bottom: 6px; font-size: 11px; color: rgba(10, 10, 10, .6); }
.note button:hover { color: var(--ink); text-decoration: underline; }
.note.add { background: var(--white); border: 1px dashed var(--line2); padding: 8px; }
.note.add textarea { border: 0; outline: none; width: 100%; resize: none; font-size: 12.5px; min-height: 60px; background: transparent; }
h2.editable[contenteditable="true"], .editable[contenteditable="true"] { outline: 1px solid var(--ink); outline-offset: 3px; background: #FFFBE5; }

/* ---------- test ---------- */
.lines { border: 1px solid var(--line2); }
.line { display: grid; grid-template-columns: 54px minmax(0, 1fr) 200px 90px; align-items: center; gap: 18px; padding: 18px 20px; border-top: 1px solid var(--line); }
.line:first-child { border-top: 0; }
.line .lk { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--ink); font-size: 16px; font-weight: 500; }
.line.win .lk { background: var(--yellow); }
.line h3 { font-size: 19px; font-weight: 400; letter-spacing: -.02em; line-height: 1.25; }
.line h3 small { display: block; font-size: 12px; color: var(--mute); letter-spacing: 0; margin-top: 4px; }
.line .bar { height: 14px; }
.line .pct { font-size: 32px; font-weight: 300; text-align: right; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.line.win { background: #FFFBE5; }
.disclaim svg { width: 13px; height: 13px; flex: none; }
.disclaim { display: flex; gap: 10px; align-items: center; font-size: 12.5px; color: var(--mute); padding: 10px 14px; border: 1px dashed var(--line2); margin-bottom: 18px; }
.seg-t td .mini { display: flex; align-items: center; gap: 8px; }
.seg-t td .mini .bar { width: 56px; height: 6px; flex: none; }
.seg-t td .mini .num { min-width: 30px; }
.seg-t th, .seg-t td { padding-left: 10px; padding-right: 10px; }
.seg-t td.hi { background: #FFF6C7 !important; font-weight: 500; }
.quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; }
.quote { padding: 16px; border-top: 1px solid var(--line); border-right: 1px solid var(--line); font-size: 13px; line-height: 1.5; }
.quote:nth-child(2n) { border-right: 0; }
.quote:nth-child(-n+2) { border-top: 0; }
.quote small { display: flex; gap: 8px; align-items: center; margin-top: 10px; color: var(--mute); font-size: 11.5px; }
.saved { display: flex; align-items: center; gap: 16px; padding: 16px 18px; background: var(--ink); color: #fff; }
.saved b { font-size: 28px; font-weight: 300; color: var(--yellow); letter-spacing: -.03em; }
.saved p { font-size: 12.5px; color: #B9B9B3; max-width: 44ch; }
.grid2 { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.progress { height: 10px; background: var(--paper2); position: relative; overflow: hidden; margin: 14px 0 8px; }
.progress i { position: absolute; inset: 0 auto 0 0; background: var(--yellow); box-shadow: inset 0 0 0 1px var(--ink); width: 0; }

/* ---------- generator ---------- */
.gen { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 22px; align-items: start; }
.gen-c { display: flex; flex-direction: column; gap: 16px; }
.gen-c .box-b { display: flex; flex-direction: column; gap: 14px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.hist li { list-style: none; padding: 11px 16px; border-top: 1px solid var(--line); font-size: 12.5px; cursor: pointer; }
.hist li:hover { background: var(--paper); }
.hist li:first-child { border-top: 0; }
.hist li small { display: block; color: var(--mute); font-size: 11.5px; margin-top: 3px; }
.hist ul, ul.hist { margin: 0; padding: 0; }
.stream { min-height: 420px; }
.stream-h { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); min-height: 52px; flex-wrap: wrap; }
.stream-h .sp { flex: 1; }
.stream-h .pr { font-size: 12.5px; color: var(--mute); max-width: 60ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ang { display: grid; grid-template-columns: 30px 26px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 14px 16px; border-top: 1px solid var(--line); }
.ang:first-child { border-top: 0; }
.ang .n { font-size: 12px; color: var(--mute); padding-top: 4px; }
.ang h4 { font-size: 14px; font-weight: 500; min-height: 1.4em; }
.ang p { font-size: 12.5px; color: var(--mute); margin-top: 3px; min-height: 1.45em; }
.ang .aa { display: flex; gap: 6px; }
.ang.kept { background: #FFFBE5; }
.ang.kept .aa .btn-y { pointer-events: none; }
.ang.gone h4, .ang.gone p { text-decoration: line-through; color: var(--mute2); }
.ang.gone .icob { background: var(--line2); }
.caret::after { content: ''; display: inline-block; width: 7px; height: 13px; background: var(--ink); vertical-align: -2px; margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- brand kit ---------- */
.kit { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 26px; align-items: start; }
.kit-list { border: 1px solid var(--line2); position: sticky; top: 0; }
.kit-list button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 11px 12px; border-top: 1px solid var(--line); text-align: left; font-size: 13px; }
.kit-list button:first-child { border-top: 0; }
.kit-list button:hover { background: var(--paper); }
.kit-list button.on { background: var(--yellow); }
.kit-sec { margin-bottom: 34px; }
.kit-sec > h2 { font-size: 13px; font-weight: 500; color: var(--mute); margin-bottom: 4px; }
.kit-sec > h3 { font-size: 24px; font-weight: 400; letter-spacing: -.02em; margin-bottom: 16px; }
.logos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.logo-t { aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; border: 1px solid var(--line2); }
.logo-t .lock { display: flex; align-items: center; gap: 4%; width: 62%; position: relative; z-index: 1; }
.logo-t .lock svg { width: 34%; height: auto; flex: none; }
.logo-t .lock span { font-weight: 300; font-size: clamp(22px, 3.2vw, 46px); letter-spacing: -.03em; line-height: 1; }
.logo-t.k { background: var(--ink); color: #fff; }
.logo-t.k svg { color: var(--yellow); }
.logo-t.w { background: #fff; color: var(--ink); }
.logo-t.w svg { color: var(--yellow); }
.logo-t.y { background: var(--yellow); color: var(--ink); }
.logo-t.ph { background: var(--ink); color: #fff; }
.logo-t.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.logo-t .dl { position: absolute; right: 8px; bottom: 8px; z-index: 2; display: flex; gap: 4px; opacity: 0; }
.logo-t:hover .dl, .logo-t:focus-within .dl { opacity: 1; }
.logo-t small { position: absolute; left: 10px; top: 8px; font-size: 11.5px; z-index: 2; opacity: .7; }
.construct { background: #141414; position: relative; aspect-ratio: 16 / 7; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--ink); }
.construct svg { width: 46%; height: auto; overflow: visible; }
.combos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.combo-c { border: 1px solid var(--line2); background: var(--paper); }
.combo-c .stack { position: relative; height: 200px; overflow: hidden; }
.combo-c .stack i { position: absolute; width: 46%; }
.combo-c .stack i.p { left: 38%; top: 16px; height: 150px; background: var(--c); }
.combo-c .stack i.y { left: 14%; top: 56px; height: 170px; background: var(--yellow); }
.combo-c .stack i span { position: absolute; left: 10px; top: 8px; font-size: 12px; color: var(--ink); }
.combo-c .stack i.p span { color: #fff; }
.combo-c .cb { padding: 12px 14px; border-top: 1px solid var(--line2); background: var(--white); display: flex; flex-direction: column; gap: 8px; }
.combo-c .cb b { font-weight: 500; }
.hexes { display: flex; gap: 6px; flex-wrap: wrap; }
.hex { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 7px; border: 1px solid var(--line2); font-size: 11.5px; background: var(--white); }
.hex i { width: 10px; height: 10px; background: var(--c); box-shadow: 0 0 0 1px rgba(0, 0, 0, .1); }
.hex:hover { border-color: var(--ink); }
.type-row { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 20px; align-items: baseline; padding: 16px 0; border-top: 1px solid var(--line); }
.type-row small { color: var(--mute); font-size: 12px; }
.type-row p { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.client-wm { height: 150px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line2); font-size: 42px; letter-spacing: -.03em; }
.pal { display: flex; border: 1px solid var(--line2); }
.pal div { flex: 1; height: 90px; padding: 8px; font-size: 11.5px; display: flex; align-items: flex-end; }
.dd { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dd ul { margin: 0; padding: 0; }
.dd li { list-style: none; padding: 8px 0; border-top: 1px solid var(--line); font-size: 13px; }

/* ---------- calendar ---------- */
.cal { border: 1px solid var(--line2); }
.cal-h { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-bottom: 1px solid var(--line2); }
.cal-h span { padding: 8px 10px; font-size: 12px; color: var(--mute); }
.cal-g { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.day { min-height: 118px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 6px 6px 14px; position: relative; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.day:nth-child(7n) { border-right: 0; }
.day.out { background: var(--paper); }
.day.out .dn { color: var(--mute2); }
.day .dn { font-size: 12px; display: flex; align-items: center; justify-content: space-between; }
.day .dn b { font-weight: 500; width: 22px; height: 22px; display: grid; place-items: center; }
.day.today .dn b { background: var(--yellow); box-shadow: inset 0 0 0 1px var(--ink); }
.day .add { opacity: 0; width: 22px; height: 22px; display: grid; place-items: center; color: var(--mute); }
.day:hover .add, .day .add:focus-visible { opacity: 1; }
.day .add:hover { color: var(--ink); background: var(--paper2); }
.ev { display: flex; align-items: center; gap: 5px; font-size: 11.5px; line-height: 1.25; padding: 3px 5px; text-align: left; width: 100%; min-width: 0; border: 1px solid transparent; }
.ev span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ev i { width: 7px; height: 7px; flex: none; background: var(--c); }
.ev.launch { background: var(--c); color: #fff; }
.ev.launch i { background: var(--yellow); }
.ev.test { background: var(--yellow); }
.ev.review, .ev.due { border-color: var(--line2); background: var(--white); }
.ev:hover { outline: 1px solid var(--ink); }
.flights { position: absolute; left: 0; right: 0; bottom: 3px; display: flex; flex-direction: column; gap: 2px; }
.flights i { height: 3px; background: var(--c); opacity: .9; }
.legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: 12px; color: var(--mute); align-items: center; }
.legend span { display: inline-flex; gap: 6px; align-items: center; }
.legend i { width: 12px; height: 10px; display: inline-block; }
.agenda .wk { font-size: 12px; color: var(--mute); padding: 18px 0 8px; }
.agenda .ar { display: grid; grid-template-columns: 110px 90px minmax(0, 1fr) 160px; gap: 14px; align-items: center; padding: 12px 14px; border: 1px solid var(--line2); margin-top: -1px; background: var(--white); cursor: pointer; }
.agenda .ar:hover { background: var(--paper); }

/* ---------- library ---------- */
.lib { columns: 4 230px; column-gap: 16px; }
.asset { break-inside: avoid; margin-bottom: 16px; border: 1px solid var(--line2); background: var(--white); cursor: pointer; display: block; width: 100%; text-align: left; }
.asset:hover { border-color: var(--ink); }
.asset .ai { background: var(--paper); overflow: hidden; }
.asset .ai img { width: 100%; height: auto; }
.asset .ab { padding: 10px 12px 11px; display: flex; flex-direction: column; gap: 4px; }
.asset .ab b { font-weight: 500; font-size: 13px; }
.asset .ab small { font-size: 11.5px; color: var(--mute); display: flex; gap: 8px; align-items: center; }
.asset.hl .ai { padding: 22px 18px 26px; background: var(--c); color: #fff; min-height: 150px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.asset.hl .ai p { font-size: 22px; font-weight: 400; letter-spacing: -.02em; line-height: 1.15; }
.asset.hl .ai .y { background: var(--yellow); color: var(--ink); align-self: flex-start; font-size: 11.5px; padding: 2px 6px; }
.lightbox { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 0; }
.lightbox .li { background: var(--paper); display: grid; place-items: center; min-height: 300px; }
.lightbox .li img { max-height: 70vh; width: auto; }
.lightbox .lm { padding: 22px; display: flex; flex-direction: column; gap: 14px; }

/* ---------- team ---------- */
.people-load .bar { width: 120px; }
.load-hi i { background: var(--orange) !important; }
.st { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; }
.st i { width: 8px; height: 8px; }
.st.online i { background: var(--green); }
.st.away i { background: transparent; box-shadow: inset 0 0 0 1px var(--mute2); }
.st.busy i { background: var(--orange); }
.prof { display: flex; gap: 16px; align-items: center; margin-bottom: 18px; }
.prof .av { width: 84px; height: 84px; font-size: 22px; }

/* ---------- overlays ---------- */
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(520px, 100vw); background: var(--white); z-index: 60; border-left: 1px solid var(--ink); display: flex; flex-direction: column; box-shadow: -8px 0 0 rgba(10, 10, 10, .06); }
.drawer.wide { width: min(860px, 100vw); }
.drawer-h { display: flex; align-items: center; gap: 10px; padding: 0 12px 0 20px; height: 56px; border-bottom: 1px solid var(--line2); flex: none; }
.drawer-h h2 { font-size: 14px; font-weight: 500; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.drawer-b { flex: 1; overflow: auto; padding: 20px; display: flex; flex-direction: column; gap: 20px; }
.drawer-f { padding: 12px 20px; border-top: 1px solid var(--line2); display: flex; gap: 8px; flex: none; flex-wrap: wrap; }
.drawer-f .sp { flex: 1; }
.drawer.open { animation: slidein .26s var(--ease) both; }
@keyframes slidein { from { transform: translateX(24px); opacity: 0; } }
.dsec h3 { font-size: 12px; font-weight: 500; color: var(--mute); margin-bottom: 8px; }
.big-title { font-size: 22px; font-weight: 400; letter-spacing: -.02em; line-height: 1.25; }
.modal-wrap { position: fixed; inset: 0; z-index: 70; background: rgba(10, 10, 10, .5); display: grid; place-items: center; padding: 20px; }
.modal { background: var(--white); width: min(560px, 100%); max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px); display: flex; flex-direction: column; border: 1px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); animation: mod .2s steps(3) both; }
.modal.wide { width: min(980px, 100%); }
@keyframes mod { from { transform: translate(-6px, -6px); box-shadow: 2px 2px 0 var(--ink); } }
.modal-h { display: flex; align-items: center; padding: 0 12px 0 20px; height: 54px; border-bottom: 1px solid var(--line2); flex: none; }
.modal-h h2 { font-size: 15px; font-weight: 500; flex: 1; }
.modal-b { padding: 20px; overflow: auto; display: flex; flex-direction: column; gap: 14px; }
.modal-f { padding: 12px 20px; border-top: 1px solid var(--line2); display: flex; gap: 8px; justify-content: flex-end; flex: none; align-items: center; }
.modal-f .sp { flex: 1; }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.combo-pick { display: flex; gap: 8px; }
.combo-pick button { display: flex; align-items: center; gap: 8px; padding: 0 10px; height: 34px; border: 1px solid var(--line2); font-size: 12.5px; }
.combo-pick button.on { border-color: var(--ink); background: var(--paper); box-shadow: inset 0 -3px 0 var(--yellow); }
.pop { position: fixed; z-index: 65; background: var(--white); border: 1px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); min-width: 220px; max-width: calc(100vw - 16px); }
.pop .ph2 { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; border-bottom: 1px solid var(--line2); font-weight: 500; }
.menu { padding: 4px 0; }
.menu button, .menu a { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 14px; font-size: 13px; text-align: left; }
.menu button:hover, .menu a:hover, .menu .act { background: var(--paper); }
.menu kbd { margin-left: auto; }
.menu hr { border: 0; border-top: 1px solid var(--line); margin: 4px 0; }
.menu .lbl { padding: 8px 14px 4px; font-size: 11.5px; color: var(--mute); }
.menu .ck { margin-left: auto; width: 10px; height: 10px; background: var(--yellow); box-shadow: inset 0 0 0 1px var(--ink); }
.notifs { width: 380px; }
.notifs li { list-style: none; display: flex; gap: 10px; padding: 11px 14px; border-top: 1px solid var(--line); font-size: 12.5px; line-height: 1.45; cursor: pointer; }
.notifs li:hover { background: var(--paper); }
.notifs li.u { background: #FFFBE5; }
.notifs li small { display: block; color: var(--mute); font-size: 11.5px; }
.notifs li .ud { width: 8px; height: 8px; background: var(--yellow); box-shadow: inset 0 0 0 1px var(--ink); flex: none; margin-top: 5px; margin-left: auto; }
.notifs ul { margin: 0; padding: 0; max-height: 380px; overflow: auto; }
.me-ariadne { display: none; padding: 10px 14px 12px; border-top: 1px solid var(--line); }
.me-ariadne .ariadne { display: inline-block; }

.palette-wrap { position: fixed; inset: 0; z-index: 75; background: rgba(10, 10, 10, .45); display: flex; justify-content: center; align-items: flex-start; padding: 12vh 16px 16px; }
.palette { width: min(620px, 100%); background: var(--white); border: 1px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); display: flex; flex-direction: column; max-height: 70vh; }
.pal-in { display: flex; align-items: center; gap: 10px; padding: 0 14px; height: 52px; border-bottom: 1px solid var(--line2); flex: none; }
.pal-in input { flex: 1; border: 0; outline: none; font-size: 15px; background: transparent; min-width: 0; }
.pal-list { list-style: none; margin: 0; padding: 6px 0; overflow: auto; flex: 1; }
.pal-list .g { padding: 10px 16px 4px; font-size: 11.5px; color: var(--mute); }
.pal-list .it { display: flex; align-items: center; gap: 12px; padding: 0 16px; height: 38px; cursor: pointer; font-size: 13px; }
.pal-list .it small { color: var(--mute); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pal-list .it kbd { margin-left: auto; white-space: nowrap; flex: none; }
.pal-list .it svg { width: 13px; height: 13px; flex: none; }
.pal-list .it span { white-space: nowrap; }
.pal-list .it small { min-width: 0; }
.pal-list .it.on { background: var(--yellow); }
.pal-list .it.on small { color: var(--ink); }
.pal-foot { display: flex; gap: 16px; padding: 9px 14px; border-top: 1px solid var(--line2); font-size: 11.5px; color: var(--mute); flex-wrap: wrap; }
.pal-foot kbd { margin-right: 3px; }
.toasts { position: fixed; right: 18px; bottom: 18px; z-index: 90; display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.toast { display: flex; align-items: center; gap: 14px; background: var(--ink); color: #fff; padding: 0 8px 0 14px; min-height: 42px; font-size: 13px; max-width: min(440px, calc(100vw - 32px)); animation: tin .22s steps(3) both; }
.toast b { color: var(--yellow); font-weight: 500; }
.toast button { color: var(--yellow); font-weight: 500; height: 30px; padding: 0 8px; border: 1px solid #3a3a3a; flex: none; }
.toast button:hover { border-color: var(--yellow); }
@keyframes tin { from { transform: translateY(8px); opacity: 0; } }
.tip { position: fixed; z-index: 95; background: var(--ink); color: #fff; font-size: 11.5px; padding: 5px 8px; pointer-events: none; white-space: nowrap; }
.shortcuts { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.shortcuts div { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); font-size: 13px; gap: 10px; }
.shortcuts kbd + kbd { margin-left: 3px; }

/* ---------- responsive ---------- */
@media (max-width: 1280px) {
  .ov { grid-template-columns: minmax(0, 1fr) 300px; }
  .gen { grid-template-columns: 330px minmax(0, 1fr); }
  .line { grid-template-columns: 48px minmax(0, 1fr) 150px 80px; }
}
@media (max-width: 1199px) {
  :root { --side: 64px; }
  .ws { justify-content: center; padding: 6px 0; }
  .ws-txt, .ws-chev, .nav a em, .nav a small, .nav-h, .dots-card, .side-foot .ariadne { display: none; }
  .ws-mark, .ws .ws-mark svg { width: 34px; }
  .nav { padding: 8px; }
  .nav a { justify-content: center; padding: 0; height: 40px; }
  .nav-h + a { margin-top: 0; }
  .nav p.nav-h { display: block; height: 1px; padding: 0; margin: 8px 6px; background: var(--ink3); font-size: 0; }
  .side-foot { padding: 0; border: 0; }
  .me-ariadne { display: block; }
  .search { width: 210px; }
  .ov { grid-template-columns: minmax(0, 1fr); }
  .gen { grid-template-columns: minmax(0, 1fr); }
  .kit { grid-template-columns: minmax(0, 1fr); }
  .kit-list { position: static; display: flex; overflow-x: auto; }
  .kit-list button { border-top: 0; border-left: 1px solid var(--line); white-space: nowrap; width: auto; }
  .kit-list button:first-child { border-left: 0; }
  .grid2 { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .sheet-grid { grid-template-columns: 220px minmax(0, 1fr); }
}
@media (max-width: 760px) {
  body { font-size: 13.5px; }
  .app { grid-template-columns: 1fr; }
  :root { --side: 280px; }
  .side { position: fixed; top: 0; bottom: 0; left: 0; width: 280px; transform: translateX(-100%); transition: transform .24s var(--ease); }
  .side.open { transform: none; }
  .side-x { display: grid; }
  .ws { justify-content: flex-start; padding: 6px 8px; }
  .ws-txt, .ws-chev, .nav a em, .nav a small, .dots-card { display: flex; }
  .ws-txt { display: flex; } .nav a small { display: inline; }
  .ws-mark, .ws .ws-mark svg { width: 38px; }
  .nav { padding: 8px 10px; }
  .nav a { justify-content: flex-start; padding: 0 12px; height: 42px; }
  .nav p.nav-h { display: block; height: auto; padding: 14px 10px 6px; margin: 0; background: none; font-size: 11.5px; }
  .side-foot { padding: 12px; border-top: 1px solid var(--ink3); }
  .dots-card { display: block; }
  .icon-btn.burger { display: grid; margin-left: -8px; }
  .top { padding: 0 12px; gap: 6px; }
  .search { width: 34px; padding: 0; justify-content: center; border-color: transparent; }
  .search em, .search kbd { display: none; }
  .hide-s { display: none; }
  .new-brief { width: 34px; padding: 0; }
  .new-brief em { display: none; }
  .crumbs > *:not(:last-child) { display: none; }
  .page { padding: 18px 16px 48px; }
  .ph h1 { font-size: 23px; }
  .ph-a { margin-left: 0; width: 100%; }
  .wall-head { padding: 16px 16px 0; }
  .wall-tools { padding: 0 16px 10px; }
  .wall-tools .inp { width: 100%; order: 9; }
  .cols { padding: 14px 16px 30px; gap: 10px; }
  .col { width: min(80vw, 300px); }
  .idea .grip { display: grid; }
  .idea.has-rank .grip { right: 30px; }
  .ranked { padding: 14px 16px 30px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat b { font-size: 25px; }
  .pipe { grid-template-columns: repeat(4, 1fr); }
  .top-list li { grid-template-columns: 22px minmax(0, 1fr) 34px; }
  .top-list li .bar { display: none; }
  .bf { grid-template-columns: 1fr; }
  .bf dd { padding: 0 16px 12px; }
  .bf dt { padding-bottom: 4px; }
  .line { grid-template-columns: 40px minmax(0, 1fr) 64px; gap: 12px; padding: 14px; }
  .line .bar { grid-column: 2 / 4; grid-row: 2; }
  .line .lk { width: 34px; height: 34px; }
  .line h3 { font-size: 16px; }
  .line .pct { font-size: 24px; }
  .quotes { grid-template-columns: 1fr; }
  .quote { border-right: 0 !important; border-top: 1px solid var(--line) !important; }
  .quote:first-child { border-top: 0 !important; }
  .saved { flex-direction: column; align-items: flex-start; gap: 6px; }
  .logos { grid-template-columns: 1fr; }
  .combos { grid-template-columns: 1fr; }
  .type-row { grid-template-columns: 1fr; gap: 4px; }
  .dd { grid-template-columns: 1fr; }
  .boards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .board .bb { padding: 10px; }
  .board h3 { font-size: 13.5px; }
  .board p { display: none; }
  .sheet-grid { grid-template-columns: 1fr; }
  .sheet-grid .poster { max-width: 260px; }
  .notes { grid-template-columns: 1fr 1fr; }
  .day { min-height: 74px; padding: 4px 3px 10px; }
  .ev span { display: none; }
  .ev { justify-content: center; padding: 4px 2px; }
  .cal-h span { padding: 6px 4px; font-size: 11px; }
  .day .add { display: none; }
  .agenda .ar { grid-template-columns: 1fr auto; gap: 6px 10px; }
  .agenda .ar > :nth-child(4) { display: none; }
  .lib { columns: 2 140px; column-gap: 10px; }
  .asset { margin-bottom: 10px; }
  .asset.hl .ai p { font-size: 17px; }
  .lightbox { grid-template-columns: 1fr; }
  .f2 { grid-template-columns: 1fr; }
  .notifs { width: calc(100vw - 16px); }
  .shortcuts { grid-template-columns: 1fr; }
  .toasts { left: 12px; right: 12px; bottom: 12px; align-items: stretch; }
  .toast { max-width: none; }
  .modal-wrap { padding: 10px; align-items: end; }
  .modal { box-shadow: 4px 4px 0 var(--ink); }
  .palette-wrap { padding-top: 10px; }
  .side-foot .ariadne { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
html.rm *, html.rm *::before, html.rm *::after { animation: none !important; transition: none !important; }
