/* Content-Tool: Ergänzungen zu app.css (aus dem Check übernommen) */
:root, [data-theme=light] { --blue: #2f6fb3; --purple: #7a4fc4; --pill-blue: #e2ecf8; --pill-purple: #eee6fb; --hl: rgba(255, 196, 0, .32); --hl-sug: rgba(122, 79, 196, .22); }
[data-theme=dark] { --blue: #7fb0ea; --purple: #b79af0; --pill-blue: #1d2d42; --pill-purple: #2e2342; --hl: rgba(255, 196, 0, .25); --hl-sug: rgba(183, 154, 240, .25); }

.wrap.wide { max-width: 1680px; }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 6px; }
.crumbs a { color: var(--muted); }
.inline { display: inline; }
.iconbtn { border: 0; background: transparent; color: var(--muted); cursor: pointer; font-size: 1rem; padding: 0 5px; line-height: 1.4; border-radius: 4px; }
.iconbtn:hover { color: var(--ink); background: var(--soft2); }
.iconbtn:disabled { opacity: .3; cursor: default; }
.proj-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 18px; align-items: start; }
@media (max-width: 960px) { .proj-grid { grid-template-columns: 1fr; } }
.tree td { padding-top: 7px; padding-bottom: 7px; }
.tree .branch { color: var(--grey); margin-right: 4px; }
.contact-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.contact-row .pill { border: 0; cursor: pointer; }
.statbar { display: flex; gap: 5px; flex-wrap: wrap; }
details > summary.button { list-style: none; }
details > summary.button::-webkit-details-marker { display: none; }
.note { background: var(--note-bg); border: 1px solid var(--note-line); border-radius: 8px; padding: 10px 13px; }

/* Status */
.st { display: inline-block; padding: 2px 9px; border-radius: 99px; font-size: .74rem; font-weight: 600; background: var(--soft2); color: var(--pill-ink); white-space: nowrap; }
.st-grey { background: var(--soft2); color: var(--muted); }
.st-blue { background: var(--pill-blue); color: var(--blue); }
.st-orange { background: var(--pill-orange); color: var(--pill-orange-ink); }
.st-purple { background: var(--pill-purple); color: var(--purple); }
.st-red { background: var(--pill-red); color: var(--red); }
.st-green { background: var(--pill-green); color: var(--green); }
.st-dark { background: var(--ink); color: var(--card); }
.dot.blue { background: var(--blue); } .dot.purple { background: var(--purple); }
i.dot { width: 7px; height: 7px; vertical-align: middle; margin-left: 3px; }

/* Semantik-Marken */
.sem { display: inline-block; font: 600 .62rem/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .02em; padding: 0 5px; border-radius: 4px; background: var(--soft2); color: var(--muted); vertical-align: middle; margin-right: 5px; user-select: none; -webkit-user-select: none; text-transform: none; }
.sem.schema { background: var(--pill-purple); color: var(--purple); }
.sem.hl { background: var(--pill-blue); color: var(--blue); }
.sem.warn { background: var(--pill-red); color: var(--red); }
.sem.type { background: var(--ink); color: var(--card); }

/* ---------- Editor ---------- */
.ed-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 10px; }
.ed-title { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
.ed-title h1 { font-size: 1.45rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 520px; }
.st-select { border: 0; border-radius: 99px; padding: 4px 10px; font-weight: 600; font-size: .8rem; cursor: pointer; font-family: inherit; }
.st-select.st-grey { background: var(--soft2); color: var(--muted); }
.ed-save { font-size: .8rem; color: var(--muted); }
.ed-save.bad { color: var(--red); font-weight: 600; }
.ed-actions { margin-left: auto; display: flex; gap: 6px; flex-wrap: wrap; }
.button.is-on { background: var(--btn-on); border-color: var(--btn-on-line); }
.ed-banner { border-radius: 8px; padding: 9px 14px; margin-bottom: 12px; font-size: .88rem; border: 1px solid var(--line); background: var(--soft); }
.ed-banner.empty { display: none; }
.ed-banner.purple { background: var(--pill-purple); border-color: transparent; }
.ed-banner.red { background: var(--pill-red); border-color: transparent; }
.ed-banner.green { background: var(--pill-green); border-color: transparent; }
.ed-banner.orange { background: var(--pill-orange); border-color: transparent; }
.ed-banner.blue { background: var(--pill-blue); border-color: transparent; }
.ed-body { display: grid; grid-template-columns: 340px minmax(0, 1fr) 330px; gap: 16px; align-items: start; }
@media (max-width: 1280px) { .ed-body { grid-template-columns: 300px minmax(0, 1fr); } .ed-comments { grid-column: 1 / -1; } }
@media (max-width: 860px) { .ed-body { grid-template-columns: 1fr; } }
.ed-side, .ed-comments { background: var(--card); border: 1px solid var(--line); border-radius: 10px; position: sticky; top: 70px; max-height: calc(100vh - 86px); overflow: auto; }
.ed-comments { padding: 12px 14px; }
.side-body { padding: 12px 14px 18px; }
.side-body h4 { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin: 18px 0 8px; }
.tabs-x { display: flex; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--card); z-index: 2; }
.tabs-x button, .tabs-x a { flex: 1; border: 0; background: transparent; padding: 10px 6px; font-weight: 600; font-size: .82rem; color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; text-decoration: none; text-align: center; }
.tabs-x .on { color: var(--ink); border-bottom-color: var(--brand); }
.tabs-x button { white-space: nowrap; }
.button.is-success { background: var(--green); color: #fff; border: 0; font-weight: 600; }
.button.is-success:hover { filter: brightness(.95); color: #fff; }
.tabs-x.big { border: 0; position: static; background: transparent; gap: 4px; }
.tabs-x.big a { flex: none; padding: 8px 16px; font-size: .95rem; }

.blk-ed { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px 10px; transition: box-shadow .3s; }
.blk-ed.flash-b { box-shadow: 0 0 0 3px var(--brand); }
.blk-head { display: flex; align-items: center; gap: 4px; margin-bottom: 8px; }
.blk-type { font-weight: 700; font-size: .85rem; margin-right: 6px; }
.blk-type i, .ins-menu i, .outline i { font-style: normal; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 5px; background: var(--soft2); margin-right: 7px; font-size: .8rem; }
.blk-tools { margin-left: auto; display: inline-flex; gap: 2px; }
.blk-tools button { border: 0; background: transparent; cursor: pointer; color: var(--muted); padding: 1px 6px; border-radius: 4px; font-size: .9rem; }
.blk-tools button:hover:not(:disabled) { background: var(--soft2); color: var(--ink); }
.blk-tools button:disabled { opacity: .25; cursor: default; }
.blk-tools sup { color: var(--brand); font-weight: 700; }
.fld { margin-bottom: 10px; }
.fld > label { display: flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 600; color: var(--muted); margin-bottom: 3px; }
.fld > label .sem { margin: 0; }
.hl-row { display: flex; gap: 8px; }
.hl-select { border: 1px solid var(--line); border-radius: 6px; background: var(--pill-blue); color: var(--blue); font: 700 .8rem ui-monospace, monospace; padding: 0 6px; }
.hl-input { font-weight: 700; font-size: 1.05rem; }
.input.is-h1 { font-weight: 800; font-size: 1.35rem; height: auto; padding: 6px 10px; }
.blk-ed .input, .blk-ed .textarea, .side-body .input, .side-body .textarea { background: var(--card); border-color: var(--line); color: var(--ink); box-shadow: none; }
.items { border-left: 2px solid var(--soft2); padding-left: 12px; margin: 6px 0 4px; }
.item { padding: 8px 0 4px; border-bottom: 1px dashed var(--line); }
.item-head { display: flex; align-items: center; font-size: .72rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 4px; }
.items > .button { margin-top: 8px; }
.blk-more { font-size: .78rem; color: var(--muted); margin-top: 4px; }
.blk-more summary { cursor: pointer; }
.url-row { display: flex; gap: 6px; }
.filebox { display: flex; gap: 10px; align-items: flex-start; flex-wrap: wrap; }
.filebox img { width: 110px; height: 74px; object-fit: cover; border-radius: 6px; border: 1px solid var(--line); }
.filebox > .input { flex: 1 1 100%; }
.empty-hint { padding: 30px; text-align: center; }

.ins { position: relative; height: 22px; display: flex; justify-content: center; align-items: center; }
.ins::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px dashed transparent; }
.ins:hover::before, .ins.open::before { border-top-color: var(--line); }
.ins-btn { position: relative; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--muted); cursor: pointer; line-height: 1; font-size: 1rem; opacity: .55; }
.ins:hover .ins-btn, .ins.open .ins-btn { opacity: 1; color: var(--brand); border-color: var(--brand); }
.ins-menu { display: none; position: absolute; top: 26px; z-index: 20; background: var(--card); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); padding: 6px; grid-template-columns: repeat(2, minmax(200px, 1fr)); gap: 2px; }
.ins.open .ins-menu { display: grid; }
.ins.open { z-index: 21; }
.ins-menu button { border: 0; background: transparent; text-align: left; padding: 6px 8px; border-radius: 6px; cursor: pointer; font-size: .85rem; color: var(--ink); display: flex; align-items: center; }
.ins-menu button:hover { background: var(--soft); }

/* Rich-Text */
.rich-ed { border: 1px solid var(--line); border-radius: 6px; background: var(--card); }
.rich-ed:focus-within { border-color: var(--brand); }
.rich-bar { display: flex; flex-wrap: wrap; gap: 1px; padding: 3px; border-bottom: 1px solid var(--line); background: var(--soft); border-radius: 6px 6px 0 0; }
.rich-bar button { border: 0; background: transparent; padding: 2px 7px; font-size: .74rem; font-weight: 600; border-radius: 4px; cursor: pointer; color: var(--text2); }
.rich-bar button:hover { background: var(--soft2); }
.rich-bar button.on { background: var(--ink); color: var(--card); }
.ProseMirror { padding: 8px 11px; min-height: 2.4em; outline: none; line-height: 1.55; }
.rich-inline .ProseMirror { min-height: 1.6em; }
.ProseMirror p { margin: 0 0 .55em; }
.ProseMirror p:last-child { margin-bottom: 0; }
.ProseMirror ul, .ProseMirror ol, .pageview ul, .pageview ol, .rich-view ul, .rich-view ol { padding-left: 1.4em; margin: 0 0 .6em; }
.ProseMirror ul, .pageview ul, .rich-view ul { list-style: disc; }
.ProseMirror ol, .pageview ol, .rich-view ol { list-style: decimal; }
.ProseMirror li p { margin: 0; }
.ProseMirror h2, .ProseMirror h3, .ProseMirror h4, .ProseMirror h5, .ProseMirror h6 { font-weight: 700; margin: .7em 0 .3em; }
.ProseMirror h2 { font-size: 1.2rem; } .ProseMirror h3 { font-size: 1.08rem; } .ProseMirror h4, .ProseMirror h5, .ProseMirror h6 { font-size: 1rem; }
.rich-ed:not(.client-ed) .ProseMirror :is(h2, h3, h4, h5, h6)::before { font: 600 .62rem/1.5 ui-monospace, monospace; padding: 0 5px; border-radius: 4px; background: var(--pill-blue); color: var(--blue); margin-right: 6px; vertical-align: middle; }
.rich-ed:not(.client-ed) .ProseMirror h2::before { content: 'H2'; } .rich-ed:not(.client-ed) .ProseMirror h3::before { content: 'H3'; } .rich-ed:not(.client-ed) .ProseMirror h4::before { content: 'H4'; } .rich-ed:not(.client-ed) .ProseMirror h5::before { content: 'H5'; } .rich-ed:not(.client-ed) .ProseMirror h6::before { content: 'H6'; }
.ProseMirror blockquote { border-left: 3px solid var(--line); padding-left: 10px; color: var(--text2); }
.ProseMirror a { color: var(--blue); }
.ProseMirror table, .pageview table, .rich-view table { border-collapse: collapse; width: 100%; margin: .4em 0; }
.ProseMirror td, .ProseMirror th, .pageview td, .pageview th, .rich-view td, .rich-view th { border: 1px solid var(--line); padding: 4px 8px; vertical-align: top; min-width: 40px; }
.ProseMirror th, .pageview th, .rich-view th { background: var(--soft); font-weight: 700; text-align: left; }
.ProseMirror .selectedCell { background: var(--pill-blue); }
.ProseMirror p.is-editor-empty:first-child::before { content: attr(data-placeholder); color: var(--grey); float: left; height: 0; pointer-events: none; }
.hl-c { background: var(--hl); border-bottom: 2px solid #e0a800; cursor: pointer; }
.hl-c.sug { background: var(--hl-sug); border-bottom-color: var(--purple); }

/* Seitenleiste */
.mq-item { margin-bottom: 12px; }
.mq-row { display: flex; gap: 6px; align-items: center; }
.mq-n { font-weight: 700; color: var(--muted); font-size: .8rem; width: 18px; }
.answer { margin: 4px 0 0 24px; font-size: .86rem; background: var(--soft); border-radius: 6px; padding: 7px 10px; }
.answer.empty { color: var(--grey); font-style: italic; }
.mq-take { margin: 4px 0 0 24px; display: flex; gap: 4px; }
.flist { margin: 0 0 8px; font-size: .86rem; }
.flist li { padding: 2px 0; }
.counter { font-weight: 600; font-size: .7rem; }
.qcheck label { display: block; font-size: .84rem; margin-bottom: 5px; line-height: 1.35; }
.warns { background: var(--pill-orange); color: var(--pill-orange-ink); border-radius: 8px; padding: 8px 12px 8px 26px; font-size: .82rem; list-style: disc; margin-bottom: 10px; }
.outline { font-size: .85rem; }
.outline li { padding: 3px 0; cursor: pointer; list-style: none; }
.outline li:hover { color: var(--brand); }
.outline .lv2 { padding-left: 14px; } .outline .lv3 { padding-left: 28px; } .outline .lv4 { padding-left: 42px; } .outline .lv5 { padding-left: 56px; } .outline .lv6 { padding-left: 70px; }
.outline li.skip .sem { background: var(--pill-red); color: var(--red); }
.vlist li { padding: 7px 0; border-bottom: 1px solid var(--line); }
.vlist li.on a { font-weight: 700; }
.vlist .st { margin-left: 6px; }
.events { font-size: .82rem; }
.events li { padding: 3px 0; }

/* Kommentare */
.c-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.c-head h3 { font-weight: 700; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 99px; padding: 2px; }
.seg button { border: 0; background: transparent; border-radius: 99px; font-size: .74rem; padding: 2px 9px; cursor: pointer; color: var(--muted); }
.seg button.on { background: var(--btn-on); color: var(--ink); }
.c-new { border: 1px solid var(--line); border-radius: 8px; padding: 8px; margin-bottom: 12px; background: var(--soft); }
.c-new .textarea { margin: 6px 0; }
.c-anchor { font-size: .78rem; display: flex; gap: 4px; align-items: baseline; flex-wrap: wrap; }
.c-anchor q { font-style: italic; color: var(--text2); }
.c-card { border: 1px solid var(--line); border-radius: 8px; padding: 9px 11px; margin-bottom: 9px; font-size: .86rem; background: var(--card); }
.c-card.st-erledigt, .c-card.st-uebernommen, .c-card.st-abgelehnt { opacity: .62; }
.c-card.sug { border-left: 3px solid var(--purple); }
.c-who { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; margin-bottom: 3px; }
.c-ref { font-size: .74rem; color: var(--muted); cursor: pointer; }
.c-ref:hover, .c-quote:hover { color: var(--brand); }
.c-quote { display: block; font-style: italic; color: var(--text2); background: var(--hl); padding: 2px 6px; border-radius: 4px; margin: 4px 0; cursor: pointer; }
.c-text { white-space: pre-wrap; margin: 4px 0; }
.diff { margin: 5px 0; font-size: .85rem; }
.diff del { display: block; background: var(--pill-red); color: var(--red); padding: 2px 6px; border-radius: 4px 4px 0 0; }
.diff ins { display: block; background: var(--pill-green); color: var(--green); padding: 2px 6px; border-radius: 0 0 4px 4px; text-decoration: none; }
.c-reply { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 5px; font-size: .82rem; }
.c-tools { display: flex; gap: 5px; align-items: center; margin-top: 6px; flex-wrap: wrap; }
.c-replyform { display: flex; gap: 6px; align-items: center; margin-top: 6px; }
.c-replyform label { white-space: nowrap; color: var(--muted); }

/* Dialoge */
.dlg-bg { position: fixed; inset: 0; background: rgba(20, 15, 10, .4); display: grid; place-items: center; z-index: 100; padding: 16px; }
.dlg { background: var(--card); border-radius: 12px; padding: 20px 22px; width: min(480px, 100%); box-shadow: var(--shadow); max-height: 90vh; overflow: auto; }
.dlg.wide { width: min(760px, 100%); }
.dlg h3 { font-weight: 700; font-size: 1.1rem; margin-bottom: 10px; }
.dlg p { margin-bottom: 10px; }
.dlg-btns { display: flex; justify-content: flex-end; gap: 6px; margin-top: 16px; }
.file-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; margin-top: 10px; }
.file-tile { border: 1px solid var(--line); background: var(--card); border-radius: 8px; padding: 6px; cursor: pointer; display: flex; flex-direction: column; gap: 4px; font-size: .74rem; text-align: left; color: var(--ink); overflow: hidden; }
.file-tile:hover { border-color: var(--brand); }
.file-tile img { width: 100%; height: 80px; object-fit: cover; border-radius: 4px; }
.file-tile .ext { height: 80px; display: grid; place-items: center; background: var(--soft); border-radius: 4px; font-weight: 700; color: var(--muted); }
.file-tile small { color: var(--orange); }
.toast { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); background: var(--ink); color: var(--card); padding: 9px 18px; border-radius: 99px; font-size: .88rem; z-index: 200; box-shadow: var(--shadow); transition: opacity .5s; }
.toast.bad { background: var(--red); color: #fff; }
.toast.out { opacity: 0; }

/* ---------- Seitenansicht (Kunde, Vorschau, Fassung) ---------- */
.pageview { padding: 28px 36px; line-height: 1.6; }
.pageview .blk { margin-bottom: 30px; position: relative; }
.pageview h1 { font-size: 2rem; font-weight: 800; line-height: 1.2; margin-bottom: 12px; }
.pageview h2 { font-size: 1.45rem; font-weight: 700; margin: 0 0 10px; }
.pageview h3 { font-size: 1.12rem; font-weight: 700; margin: 12px 0 4px; }
.pageview h4, .pageview h5, .pageview h6 { font-weight: 700; margin: 10px 0 4px; }
.pageview p { margin-bottom: .7em; }
.pageview .lead { font-size: 1.12rem; color: var(--text2); }
.pageview a { color: var(--blue); }
.pageview .btn { display: inline-block; background: var(--brand); color: #fff; padding: 8px 18px; border-radius: 6px; text-decoration: none; font-weight: 600; }
.pageview figure.img { margin: 12px 0; }
.pageview figure.img img { max-width: 100%; border-radius: 8px; display: block; }
.pageview figure.photo img { width: 120px; height: 120px; object-fit: cover; border-radius: 50%; }
.pageview figcaption { font-size: .85rem; color: var(--muted); margin-top: 4px; }
.pageview .cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.pageview .card { background: var(--soft); border-radius: 8px; padding: 12px 14px; box-shadow: none; color: inherit; }
.pageview .steps { list-style: none; counter-reset: s; padding: 0; }
.pageview .steps > li { counter-increment: s; position: relative; padding-left: 40px; margin-bottom: 10px; }
.pageview .steps > li::before { content: counter(s); position: absolute; left: 0; top: 10px; width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .85rem; }
.pageview .qa { border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.pageview .experts { display: grid; gap: 16px; }
.pageview .expert { display: flex; gap: 16px; align-items: flex-start; }
.pageview .role { color: var(--muted); font-size: .9rem; }
.pageview blockquote { border-left: 3px solid var(--brand); padding: 4px 0 4px 14px; margin: 10px 0; font-style: italic; }
.pageview blockquote footer { font-style: normal; font-size: .85rem; color: var(--muted); }
.pageview .facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.pageview .facts > div { background: var(--soft); border-radius: 8px; padding: 12px; }
.pageview .facts dt { font-size: 1.6rem; font-weight: 800; color: var(--brand); }
.pageview .facts dd.src { font-size: .75rem; color: var(--muted); }
.pageview .gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.pageview .downloads { list-style: none; padding: 0; }
.pageview .downloads li { padding: 6px 0; border-bottom: 1px solid var(--line); }
.pageview .cta { background: var(--soft); border-radius: 10px; padding: 18px; }
.pageview .kicker { text-transform: uppercase; letter-spacing: .06em; font-size: .78rem; font-weight: 700; color: var(--muted); }
.pageview .result { background: var(--pill-green); border-radius: 8px; padding: 10px 12px; margin: 8px 0; }
.pageview .empty { color: var(--red); font-size: .85rem; font-style: italic; }
.pageview .sem-row { display: none; margin-bottom: 6px; }
.pageview .tbl figcaption { margin-top: 4px; }
.pageview:not(.marks) .sem { display: none; }
.pageview.marks .sem-row { display: block; }
.pageview.marks .blk { border-left: 2px solid var(--soft2); padding-left: 14px; margin-left: -16px; }
.rich-view p { margin-bottom: .4em; }

/* ---------- Kundensicht ---------- */
body.client { background: var(--bg); }
.cbar { background: var(--brand-dark, #1f1f1f); color: #fff; border-bottom: 3px solid var(--brand); }
.cbar-in { max-width: 1680px; margin: 0 auto; padding: 12px 24px; display: flex; align-items: center; gap: 18px; }
.clogo { max-height: 34px; }
.cname { color: #fff; font-size: 1.1rem; }
.cproj { opacity: .75; font-size: .9rem; }
.cfoot { text-align: center; color: var(--muted); font-size: .8rem; padding: 30px 16px; }
.client-grid { max-width: 880px; }
.client-grid.two { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 18px; align-items: start; }
.client-grid.two aside { position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow: auto; }
@media (max-width: 960px) { .client-grid.two { grid-template-columns: 1fr; } .client-grid.two aside { position: static; max-height: none; } }
.viewbar { margin-bottom: 8px; }
.ms .label { font-size: .95rem; }
.client-ed .ProseMirror { min-height: 4.5em; }
.decide h2 { margin-bottom: 8px; }
.decide.done { background: var(--pill-green); border-color: transparent; }
.selpop { position: absolute; z-index: 50; background: var(--ink); border-radius: 8px; padding: 3px; display: flex; gap: 2px; box-shadow: var(--shadow); }
.selpop[hidden] { display: none; }
.selpop button { border: 0; background: transparent; color: var(--card); padding: 6px 10px; border-radius: 6px; font-size: .82rem; font-weight: 600; cursor: pointer; }
.selpop button:hover { background: rgba(255, 255, 255, .15); }
::highlight(c-open) { background-color: rgba(255, 196, 0, .35); }
::highlight(c-sug) { background-color: rgba(122, 79, 196, .25); }
