
/* attestation block — deliberately plain and readable. Legal wording
   set in small grey italics is wording nobody read. */
/* ── setup chip ──
   Glows only while the work is outstanding. #ffcc33 at low opacity so
   it reads as a reminder, not an alarm. */
.setupchip{display:flex;align-items:center;gap:10px;width:100%;margin:14px 0 4px;
  padding:13px 16px;background:rgba(255,204,51,.07);border:1px solid rgba(255,204,51,.45);
  border-radius:10px;color:#f0f0f4;font-family:inherit;font-size:14px;font-weight:600;
  cursor:pointer;text-align:left;animation:scGlow 2.6s ease-in-out infinite}
@keyframes scGlow{
  0%,100%{box-shadow:0 0 0 0 rgba(255,204,51,.24);border-color:rgba(255,204,51,.45)}
  50%    {box-shadow:0 0 18px 2px rgba(255,204,51,.20);border-color:rgba(255,204,51,.85)}}
@media (prefers-reduced-motion: reduce){ .setupchip{animation:none} }
/* Past halfway: same control, no pulse, no urgency color. */
.setupchip.calm{animation:none;background:rgba(255,255,255,.03);
  border-color:rgba(255,255,255,.12)}
.setupchip.calm:hover{border-color:rgba(255,204,51,.4)}
.setupchip .sc-dot.calm{background:rgba(240,240,244,.35)}
.setupchip .sc-t.calm{color:#f0f0f4}
.setupchip .sc-dot{width:8px;height:8px;border-radius:50%;background:#ffcc33;flex:none}
.setupchip .sc-t{color:#ffcc33}
.setupchip .sc-n{margin-left:auto;font-weight:400;font-size:14.5px;
  color:rgba(240,240,244,.62)}
.setupchip .sc-go{color:#ffcc33;font-size:16px}
.su-list{margin:14px 0 0;border-top:1px solid rgba(255,255,255,.08)}
.su-row{display:flex;align-items:center;gap:10px;padding:10px 2px;
  border-bottom:1px solid rgba(255,255,255,.08);font-size:14px;color:#f0f0f4}
.su-row.done{color:rgba(240,240,244,.5);text-decoration:line-through}
.su-tick{width:18px;height:18px;border-radius:50%;border:1px solid rgba(255,204,51,.5);
  color:#ffcc33;font-size:13px;line-height:16px;text-align:center;flex:none}
.su-row.done .su-tick{background:rgba(255,204,51,.18)}
.nummini{position:absolute;top:-4px;right:-4px;width:15px;height:15px;border-radius:50%;
  background:rgba(255,204,51,.18);border:1px solid rgba(255,204,51,.5);color:#ffcc33;
  font-size:13px;font-weight:700;line-height:13px;text-align:center;z-index:3}
.ngrow{display:flex;gap:8px;margin-top:10px}
.nginput{flex:1;min-width:0;background:rgba(0,0,0,.35);color:#f0f0f4;
  border:1px solid rgba(255,204,51,.35);border-radius:5px;padding:11px 12px;
  font-size:15px;font-family:inherit;outline:none}
.nginput:focus{border-color:#ffcc33}
.nginput::placeholder{color:rgba(240,240,244,.68)}
.mx-side{margin-top:16px;padding:14px 16px;border:1px solid rgba(255,255,255,.10);
  border-radius:6px;background:rgba(255,255,255,.02)}
.mx-side-t{font-family:var(--display,inherit);font-weight:700;font-size:14px;
  color:#ffcc33;margin-bottom:8px}
.mx-link{display:inline-block;margin:2px 14px 2px 0;font-size:14.5px;color:#ffcc33;
  text-decoration:none;border-bottom:1px solid rgba(255,204,51,.42);padding-bottom:1px}
.mx-link:hover{border-bottom-color:#ffcc33}
.mx-att{background:rgba(255,255,255,.04);border:1px solid rgba(255,204,51,.28);
  border-radius:6px;padding:14px 16px;margin:14px 0;font-size:14.5px;
  line-height:1.65;color:#e8e8ee;max-height:190px;overflow-y:auto}
.mx-check{display:flex;align-items:flex-start;gap:10px;font-size:14px;
  color:#f0f0f4;cursor:pointer;margin-top:6px}
.mx-check input{margin-top:3px;width:17px;height:17px;accent-color:#ffcc33;flex:none}
.mx-p{font-size:14.5px;line-height:1.6;margin-bottom:10px}
.mx-dim{color:rgba(240,240,244,.62)}
.mx-btn[disabled]{opacity:.45;cursor:default}
.mx-mask{position:fixed;inset:0;background:rgba(6,6,8,.72);backdrop-filter:blur(3px);
  z-index:9998;display:none;align-items:center;justify-content:center;padding:20px}
.mx-mask.on{display:flex}
.mx-modal{background:#101012;border:1px solid rgba(255,255,255,.13);border-radius:6px;
  width:100%;max-width:440px;max-height:88vh;overflow:auto;color:#f5f5f3;
  font-family:'Sora',sans-serif;box-shadow:0 24px 70px rgba(0,0,0,.6)}
.mx-hd{padding:17px 20px;border-bottom:1px solid rgba(255,255,255,.08);
  display:flex;justify-content:space-between;align-items:center;gap:12px}
.mx-hd h3{font-family:'Archivo',sans-serif;font-weight:600;font-size:16px;margin:0}
.mx-x{background:none;border:none;color:rgba(255,255,255,.78);font-size:22px;cursor:pointer;line-height:1;padding:0 2px}
.mx-x:hover{color:#f5f5f3}
.mx-bd{padding:18px 20px}
.mx-lb{font-size:12px;color:rgba(255,255,255,.78);margin:14px 0 6px;
  font-family:'JetBrains Mono',monospace;letter-spacing:.14em;text-transform:uppercase}
.mx-lb:first-child{margin-top:0}
.mx-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.mx-opt{background:#17171a;border:1px solid rgba(255,255,255,.11);border-radius:5px;
  padding:11px 12px;color:#f5f5f3;font-family:'Sora',sans-serif;font-size:14.5px;
  cursor:pointer;text-align:left;transition:border-color .15s,background .15s}
.mx-opt:hover{border-color:#ffcc33;color:#ffcc33}
.mx-opt.sel{border-color:#ffcc33;background:rgba(255,204,51,.1);color:#ffcc33}
.mx-opt .s{display:block;font-size:13px;color:rgba(255,255,255,.68);margin-top:2px}
.mx-opt.sel .s{color:rgba(255,204,51,.6)}
.mx-in,.mx-ta{width:100%;background:#0a0a0c;border:1px solid rgba(255,255,255,.14);
  border-radius:5px;padding:10px 12px;color:#f5f5f3;font-family:'Sora',sans-serif;font-size:14px}
.mx-in:focus,.mx-ta:focus{outline:none;border-color:#ffcc33}
.mx-ta{min-height:82px;resize:vertical;line-height:1.55}
.mx-ft{padding:15px 20px;border-top:1px solid rgba(255,255,255,.08);
  display:flex;gap:10px;justify-content:flex-end}
.mx-btn{background:#ffcc33;color:#0a0a0a;border:none;border-radius:5px;padding:10px 18px;
  font-family:'Sora',sans-serif;font-weight:700;font-size:14px;cursor:pointer}








.mx-btn[disabled]{opacity:.5;cursor:default}
.mx-btn.g{background:none;color:#f5f5f3;border:1px solid rgba(255,255,255,.16)}
.mx-btn.g:hover{border-color:#ffcc33;color:#ffcc33}
.mx-note{font-size:14px;color:rgba(255,255,255,.68);line-height:1.55;margin-top:12px}
.mx-note b{color:rgba(255,255,255,.85);font-weight:400}
.mx-tpl{border:1px solid rgba(255,255,255,.11);border-radius:5px;padding:12px 13px;
  margin-bottom:8px;cursor:pointer;transition:border-color .15s}
.mx-tpl:hover,.mx-tpl.sel{border-color:#ffcc33}
.mx-tpl .t{font-size:14.5px;font-weight:700;color:#ffcc33}
.mx-tpl .p{font-size:13px;color:rgba(255,255,255,.72);margin-top:4px;line-height:1.5;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.mx-more{font-size:14px;color:rgba(255,255,255,.68);text-align:center;padding:8px 0}
.dncbox{border-radius:5px;padding:14px 16px;margin-bottom:4px}
.dncbox.ok{background:rgba(76,175,114,.1);box-shadow:inset 0 0 0 1px rgba(76,175,114,.4)}
.dncbox.warn{background:rgba(255,176,32,.1);box-shadow:inset 0 0 0 1px rgba(255,176,32,.4)}
.dncbox.warn .dnch{color:#ffb020}
.dncbox.bad{background:rgba(224,82,82,.1);box-shadow:inset 0 0 0 1px rgba(224,82,82,.45)}
.dncbox.lit{background:rgba(224,82,82,.18);box-shadow:inset 0 0 0 2px #e05252}
.dncbox.lit .dnch{color:#ff7a7a}
.dncbox.lit .dncr{color:#ff9a9a}
/* ⚠ Visibly dead, not merely unstyled. An action that looks live and
   does nothing is worse than one that looks disabled. */
.act.blocked{opacity:.38;cursor:not-allowed;position:relative}
/* Absent, not forbidden. No padlock — there is nothing to unlock. */
/* 🔴 WAS opacity:.3; cursor:default — a button that looked broken.
 *    It is not broken: clicking it now explains why there is no number
 *    and lets the agent add one they already have. A control that does
 *    something must LOOK like it does something, or nobody presses it
 *    and the whole path stays unused.
 * ⚠ Still visibly quieter than a live action, because there is no
 *   number behind it yet — dimmed, not disabled. */
.act.nonum{opacity:1;cursor:pointer}
.act.nonum:hover{opacity:.85;border-color:rgba(255,204,51,.35)}
.iopt.nonumrow{opacity:.32;cursor:default}
.iopt.nonumrow:hover{background:transparent}




.act.blocked:after{content:'\26A0';position:absolute;top:2px;right:4px;
  font-size:13px;color:#ff5c5c}
.act.blocked:hover{border-color:rgba(255,92,92,.5)}
.dnch{font-family:'Archivo',sans-serif;font-weight:700;font-size:17px}
.dncbox.ok .dnch{color:rgba(255,255,255,.68)}.dncbox.warn .dnch{color:#ffb020}.dncbox.bad .dnch{color:#e05252}
.dncs{font-size:14.5px;color:rgba(255,255,255,.82);margin-top:3px;line-height:1.5}
.dncr{font-family:'JetBrains Mono',monospace;font-size:13px;color:rgba(255,255,255,.72);margin-top:7px}
.mx-busy{text-align:center;padding:26px 0;color:rgba(255,255,255,.72);font-size:14px}
/* 23 Oct 2026: one primary per dialog; the rest are outlined. */
.mx-btn.ghost,.mx-btn.ghost:hover{background:transparent;color:var(--text,#f5f5f3);border:1px solid rgba(255,255,255,.18);box-shadow:none;transform:none}
[data-theme="light"] .mx-btn.ghost{color:#0a0a0a;border-color:rgba(0,0,0,.2)}
@media (max-width:480px){.mx-ft{flex-wrap:wrap}.mx-ft .mx-btn{flex:1 1 auto}}
/* 23 Oct 2026: Insert field picker in the composer. */
.fieldins{margin:0 0 8px}
.fieldins select{width:auto;max-width:100%;padding:8px 12px;border-radius:8px;cursor:pointer;
  background:rgba(255,204,51,.08);border:1px solid rgba(255,204,51,.35);color:#ffcc33;font:600 14px 'Sora',sans-serif}
[data-theme="light"] .fieldins select{color:#000}
