/* Generated by docsite/build.mjs from info.html (td-window markers). Edit it there. */
/* ----------------------------------------------- the drawn window
       Every colour here is one of the app's own theme values, read from
       app/themes/*.toml. Picking a chip swaps the whole set. */
    .win {
      --w-bg: #03100a; --w-surface: #071a10; --w-text: #86efac; --w-acc: #22c55e; --w-faint: #14401f; --w-cur: #4ade80; --w-you: #7aa5ff; --w-warn: #f5c542;
      /* the chrome's status marks keep their meaning whatever the palette */
      --w-red: #e5484d; --w-green: #3fb950; --w-blue: #4f8ff7;
      margin: 46px auto 0; max-width: 1020px; text-align: left;
      font: 11px/1.4 var(--sans); color: var(--w-text);
      background: var(--w-bg); border: 1px solid color-mix(in srgb, var(--w-acc) 45%, var(--w-faint)); border-radius: 14px;
      box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .85), 0 0 0 1px rgba(0, 0, 0, .3);
      overflow: hidden; transition: background .35s, color .35s, border-color .35s;
    }
    :root[data-theme="glass"] .win { box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .85), 0 0 60px -30px color-mix(in srgb, var(--w-acc) 60%, transparent); }
    .win[data-wear="deco"] { --w-bg: #0a0e10; --w-surface: #141a1d; --w-text: #e8e4d8; --w-acc: #c2a34f; --w-faint: #2b3338; --w-cur: #c2a34f; --w-you: #7fd1b9; --w-warn: #d99a3c; }
    .win[data-wear="field-command"] { --w-bg: #0e1214; --w-surface: #172024; --w-text: #e8f0f2; --w-acc: #8fa85f; --w-faint: #2b3a40; --w-cur: #a8bd76; --w-you: #7aa5ff; --w-warn: #e0b85a; }
    .win[data-wear="gamba"] { --w-bg: #1c1206; --w-surface: #2a1c0a; --w-text: #ffe9b8; --w-acc: #ffc01e; --w-faint: #5a3a16; --w-cur: #ff7a1a; --w-you: #43c6c3; --w-warn: #ff7a1a; }
    .win[data-wear="quiet-command"] { --w-bg: #f3f6f9; --w-surface: #ffffff; --w-text: #101828; --w-acc: #2f6fdd; --w-faint: #d9e1ea; --w-cur: #2f6fdd; --w-you: #2f6fdd; --w-warn: #b7791f; }
    .win[data-wear="tactical-overdrive"] { --w-bg: #061015; --w-surface: #101f26; --w-text: #eefaff; --w-acc: #31d7ff; --w-faint: #1b3947; --w-cur: #7df2ff; --w-you: #ffb86b; --w-warn: #ffd166; }

    /* Drawn from the app as it looks after the chrome rework (Parker's
       captures of 2026-09-25): the worktree chip and activity strip across
       the top, the grouped task tree with its status marks and vitals, the
       pane with TERM/BENCH, the bench's strip, WOKEN card, response card and
       composer, the STANDS NOW rail, and the counters along the foot. The
       content is staged; the anatomy and the strings are the app's. */
    .w-top { display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 12px; border-bottom: 1px solid var(--w-faint); white-space: nowrap; }
    .w-mark { width: 14px; height: 14px; flex: none; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 1.5px; }
    .w-mark i { border-radius: 1.5px; }
    .w-mark i:nth-child(1) { grid-row: span 2; background: #39ff7a; } .w-mark i:nth-child(2) { background: #ffb84d; } .w-mark i:nth-child(3) { background: #57d6ff; }
    .w-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 7px; border: 1px solid var(--w-faint); border-radius: 5px; font: 600 9.5px/1 var(--mono); letter-spacing: .04em; }
    .w-chip .red { color: var(--w-red); background: color-mix(in srgb, var(--w-red) 16%, transparent); padding: 2px 5px; border-radius: 3px; }
    .w-spark { display: flex; align-items: flex-end; gap: 1.5px; height: 12px; }
    .w-spark i { width: 2px; background: var(--w-warn); border-radius: 1px; }
    .w-sep { width: 1px; height: 16px; background: var(--w-faint); }
    .w-dots { display: flex; align-items: center; gap: 4px; }
    .w-dots i { width: 5px; height: 5px; border-radius: 50%; background: color-mix(in srgb, var(--w-text) 25%, transparent); }
    .w-dots i.r { background: var(--w-red); } .w-dots i.pill { width: 14px; border-radius: 3px; background: var(--w-warn); }
    .w-count { margin-left: auto; display: inline-flex; gap: 7px; padding: 4px 8px; border: 1px solid var(--w-faint); border-radius: 5px; font: 600 9.5px/1 var(--mono); }
    .w-count .a { color: var(--w-warn); } .w-count .ok { color: var(--w-green); } .w-count .q { opacity: .5; }

    .w-body { display: grid; grid-template-columns: 196px minmax(0, 1fr) 14px; gap: 8px; padding: 8px 8px 0; height: 452px; }
    .w-side { display: flex; flex-direction: column; min-width: 0; padding: 8px 6px; border: 1px solid var(--w-faint); border-radius: 8px; background: var(--w-surface); }
    .w-side .ctl { display: flex; justify-content: flex-end; gap: 7px; align-items: center; margin: 0 4px 6px; font-size: 9px; opacity: .8; }
    .w-side .ctl b { display: grid; place-items: center; width: 15px; height: 15px; border: 1px solid var(--w-warn); border-radius: 4px; font-weight: 400; }
    .w-row { display: flex; align-items: center; gap: 6px; height: 19px; padding: 0 6px; border-radius: 4px; white-space: nowrap; font-size: 10.5px; color: color-mix(in srgb, var(--w-text) 88%, transparent); }
    .w-row .tw { width: 8px; flex: none; font-size: 7px; opacity: .55; }
    .w-row .g { width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--c); }
    .w-row .rail { width: 2px; height: 12px; flex: none; background: var(--c); border-radius: 1px; }
    .w-row.grp { font-weight: 600; font-size: 10px; letter-spacing: .05em; text-transform: uppercase; }
    .w-row.grp.open { background: color-mix(in srgb, var(--w-text) 7%, transparent); }
    .w-row.l1 { padding-left: 16px; } .w-row.l2 { padding-left: 26px; }
    .w-row.l1.grp { letter-spacing: .04em; }
    .w-row.here { box-shadow: inset 0 0 0 1px var(--w-blue); background: color-mix(in srgb, var(--w-blue) 12%, transparent); }
    .w-row .st { margin-left: auto; display: flex; gap: 4px; align-items: center; font-size: 8.5px; }
    .w-row .up { color: var(--w-green); } .w-row .bot { color: var(--w-blue); } .w-row .pin { color: var(--w-red); }
    .w-row .ok { color: var(--w-bg); background: var(--w-green); border-radius: 2px; padding: 0 2px; font-size: 8px; }
    .w-unfiled { margin: 6px 6px 0; font-size: 9px; letter-spacing: .08em; opacity: .35; display: flex; gap: 6px; align-items: center; }
    .w-unfiled::after { content: ""; flex: 1; height: 1px; background: currentColor; }
    .w-vit { margin-top: auto; display: grid; gap: 7px; padding: 0 2px; }
    .w-vit > div { display: grid; grid-template-columns: 18px minmax(0, 1fr) 30px; gap: 7px; align-items: center; font-size: 10px; }
    .w-vit .ic { width: 18px; height: 18px; display: grid; place-items: center; border: 1px solid var(--w-faint); border-radius: 4px; font: 700 9px/1 var(--mono); }
    .w-vit .bars { display: grid; gap: 2px; }
    .w-vit .bars i { height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--k, var(--w-green)) var(--v), color-mix(in srgb, var(--w-text) 12%, transparent) var(--v)); }

    .w-pane { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1.5px solid var(--w-acc); border-radius: 9px; background: var(--w-bg); }
    .w-head { display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 10px; border-bottom: 1px solid var(--w-faint); background: var(--w-surface); white-space: nowrap; overflow: hidden; }
    .w-tile { width: 18px; height: 18px; flex: none; border-radius: 4px; border: 1px solid var(--w-faint); display: grid; place-items: center; background: var(--w-bg); }
    .w-tile .w-mark { width: 10px; height: 10px; }
    .w-head .who { color: var(--w-blue); font-size: 10.5px; }
    .w-head .sp { flex: 1; }
    .w-seg { display: inline-flex; border: 1px solid var(--w-faint); border-radius: 5px; overflow: hidden; font: 600 9px/1 var(--sans); letter-spacing: .03em; }
    .w-seg span, .w-seg label { padding: 4px 7px; opacity: .55; }
    .w-seg span.on { opacity: 1; background: color-mix(in srgb, var(--w-text) 16%, transparent); }
    .w-ib { width: 22px; height: 16px; flex: none; display: grid; place-items: center; border: 1px solid var(--w-acc); border-radius: 4px; font-size: 9px; line-height: 1; }
    .w-head .live, .w-head .x { color: var(--w-blue); font-size: 10px; }

    .w-bench { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) 168px; gap: 10px; padding: 10px; min-height: 0; }
    .w-bench > .main { display: flex; flex-direction: column; gap: 8px; min-width: 0; min-height: 0; }
    .w-strip { display: flex; align-items: center; gap: 7px; padding: 5px 8px; border: 1px solid var(--w-faint); border-radius: 6px; background: color-mix(in srgb, var(--w-acc) 6%, transparent); white-space: nowrap; }
    .w-strip .st { font-size: 15px; }
    .w-strip .st.wait { color: var(--w-warn); }
    .w-strip .ago { font-size: 8.5px; opacity: .55; }
    .w-strip .sp { flex: 1; }
    .w-strip .b { padding: 4px 7px; border: 1px solid var(--w-faint); border-radius: 4px; font: 600 8.5px/1 var(--sans); letter-spacing: .04em; }
    .w-woken { padding: 6px 10px; border: 1px solid var(--w-warn); border-radius: 7px; }
    .w-woken .k { font: italic 600 8.5px/1.3 var(--sans); letter-spacing: .07em; text-transform: uppercase; color: var(--w-warn); }
    .w-woken p { margin: 2px 0 0; font-size: 10.5px; opacity: .85; }
    .w-resp { padding: 8px 11px 10px; border: 1px solid var(--w-acc); border-radius: 7px; min-height: 0; overflow: hidden; }
    .w-resp.ask { border-color: var(--w-warn); }
    .w-resp .hd { display: flex; align-items: center; gap: 7px; }
    .w-resp .chip { padding: 1px 5px; border: 1px solid var(--w-acc); border-radius: 3px; font-size: 8.5px; color: var(--w-warn); }
    .w-resp.ask .chip { border-color: var(--w-warn); }
    .w-resp .t { font-size: 14px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .w-resp .prov { margin-top: 3px; font-size: 8.5px; opacity: .4; }
    .w-resp .wt { margin-top: 5px; font-size: 9px; opacity: .45; }
    .w-resp p { margin: 7px 0 0; font-size: 10.5px; line-height: 1.5; opacity: .88; }
    .w-resp .opts { display: flex; gap: 6px; margin-top: 8px; }
    .w-resp .opts span { padding: 3px 8px; border: 1px solid var(--w-faint); border-radius: 4px; font-size: 9.5px; }
    .w-resp .opts span.rec { border-color: var(--w-green); color: var(--w-green); }
    .w-compose { margin-top: auto; padding: 8px 11px; border: 1px solid var(--w-blue); border-radius: 8px; font-size: 10px; opacity: .9; }
    .w-compose small { display: block; margin-top: 3px; font-size: 7.5px; letter-spacing: .08em; color: var(--w-blue); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .w-rail { display: flex; flex-direction: column; gap: 7px; min-width: 0; padding: 7px; overflow: hidden; border: 1px solid var(--w-acc); border-radius: 8px; }
    .w-rail .tabs { display: flex; flex-wrap: wrap; gap: 3px; font-size: 8.5px; }
    .w-rail .tabs span { padding: 2px 5px; border: 1px solid var(--w-faint); border-radius: 4px; opacity: .75; }
    .w-rail .tabs span.on { opacity: 1; color: var(--w-blue); border-color: var(--w-blue); background: color-mix(in srgb, var(--w-blue) 12%, transparent); }
    .w-rail .tabs span.art { color: var(--w-warn); opacity: 1; }
    .w-stand { padding: 6px 8px; border-left: 2px solid var(--w-warn); border-radius: 3px; font-size: 10px; line-height: 1.35; background: color-mix(in srgb, var(--w-text) 5%, transparent); }
    .w-stand.now { background: color-mix(in srgb, var(--w-text) 11%, transparent); }
    .w-stand .k { display: block; margin-bottom: 3px; text-align: center; font-size: 7.5px; letter-spacing: .1em; color: var(--w-warn); }
    .w-stand small { display: block; margin-top: 3px; font-size: 8.5px; opacity: .4; }
    .w-mini { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 6px 0; border: 1px solid var(--w-faint); border-radius: 6px; font: 600 8.5px/1 var(--mono); }
    .w-mini .n { color: var(--w-green); }
    .w-term { flex: 1; padding: 9px 11px; white-space: pre; overflow: hidden; font: 10.5px/1.5 var(--mono); }
    .w-term .p { color: var(--w-acc); }
    .w-term .d { opacity: .55; }
    .w-term .cur { display: inline-block; width: .6em; height: 1.1em; vertical-align: -2px; background: var(--w-cur); animation: td-blink 1.06s steps(1) infinite; }
    .w-foot { display: flex; align-items: center; justify-content: flex-end; gap: 6px; height: 36px; padding: 0 10px; font-size: 10px; white-space: nowrap; }
    .w-foot .w-ib { width: 24px; height: 18px; font-size: 10px; }
    .w-foot .bat { display: inline-flex; gap: 5px; align-items: center; padding: 2px 7px; border: 1px solid var(--w-faint); border-radius: 4px; font-size: 9.5px; }
    .w-foot .lay { width: 18px; height: 18px; display: grid; place-items: center; border: 1px solid var(--w-faint); border-radius: 4px; font-size: 9px; }

    /* The hero: one agent terminal in focus, two quieter panes, and the list
       of what needs you. Each pane body carries data-warp, and
       assets/td-panes.js bends every one of them on its own, the way the app
       bends a pane; the chrome between them stays flat. */
    .shot { position: relative; max-width: 1020px; margin: 46px auto 0; }
    .shot > .win { margin: 0; max-width: none; }
    .shot > canvas.pane-warp { position: absolute; left: 0; top: 0; pointer-events: none; border-radius: 14px; }
    .w-say { min-width: 0; overflow: hidden; text-overflow: ellipsis; opacity: .8; }
    .w-chip .dia { color: var(--w-warn); }
    .w-body.calm { position: relative; grid-template-columns: 180px minmax(0, 1.25fr) minmax(0, 1fr) 14px; height: 540px; }
    .w-col { display: grid; grid-template-rows: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; min-width: 0; min-height: 0; }
    .w-pane.focus { border-width: 2px; box-shadow: 0 0 0 1px color-mix(in srgb, var(--w-acc) 30%, transparent), 0 0 26px -10px color-mix(in srgb, var(--w-acc) 70%, transparent); }
    .w-pane.dim { border-color: color-mix(in srgb, var(--w-text) 18%, transparent); }
    .w-pane.dim > * { opacity: .42; }
    .w-tx { position: relative; flex: 1; min-height: 0; overflow: hidden; padding: 14px 16px; font: 9.5px/1.62 var(--mono); }
    .w-tx > div { white-space: pre; overflow: hidden; text-overflow: ellipsis; }
    .w-tx > p { margin: 0 0 9px; white-space: normal; opacity: .86; }
    .w-tx .h { margin: 4px 0 10px; font-weight: 700; opacity: .95; }
    .w-tx .tg { color: var(--w-warn); } .w-tx .dim { opacity: .5; } .w-tx .lk { color: var(--w-blue); text-decoration: underline; }
    .w-tx .fl { color: var(--w-green); } .w-tx .warn { color: var(--w-warn); }
    .w-tx .rule { height: 0; margin: 6px 0; border-top: 1px solid color-mix(in srgb, var(--w-text) 25%, transparent); }
    .w-tx .gap { height: 8px; }
    .w-tx .cur { display: inline-block; width: .6em; height: 1.1em; vertical-align: -2px; background: var(--w-cur); }
    .w-tx .right { text-align: right; }
    .w-side .w-recover { margin: auto 2px 10px; padding: 14px 0; border: 1px solid var(--w-faint); border-radius: 6px; text-align: center; font-size: 8.5px; opacity: .6; }
    .w-side .w-recover + .w-vit { margin-top: 0; }
    .w-needs {
      position: absolute; top: 2px; right: 24px; width: 318px; z-index: 2;
      background: var(--w-bg); border: 2px solid var(--w-warn); border-radius: 9px;
      box-shadow: 0 18px 40px -14px rgba(0, 0, 0, .9), 0 0 22px -12px var(--w-warn);
      font: 9px/1.35 var(--sans);
    }
    .w-needs .nh { display: flex; gap: 8px; padding: 8px 11px; font: 600 8.5px/1 var(--sans); letter-spacing: .04em; opacity: .85; white-space: nowrap; }
    .w-needs .nh .sp { flex: 1; } .w-needs .nh span:not(.sp):not(:first-child) { opacity: .7; font-weight: 400; }
    .w-needs .it { margin: 0 7px 7px; padding: 7px 9px; border-left: 3px solid var(--w-green); border-radius: 4px; background: color-mix(in srgb, var(--w-text) 6%, transparent); }
    .w-needs .it.open { background: color-mix(in srgb, var(--w-text) 11%, transparent); }
    .w-needs .row { display: flex; gap: 6px; align-items: center; white-space: nowrap; font-size: 8px; }
    .w-needs .row .rv { color: var(--w-green); font-weight: 700; letter-spacing: .06em; }
    .w-needs .row .up { color: var(--w-green); }
    .w-needs .row .t { margin-left: auto; opacity: .6; }
    .w-needs .what { margin-top: 3px; font-size: 10.5px; font-weight: 500; }
    .w-needs .bell { margin-top: 1px; font-size: 7.5px; opacity: .55; }
    .w-needs dl { display: grid; grid-template-columns: 76px 1fr; gap: 2px 8px; margin: 7px 0 0; padding-top: 6px; border-top: 1px solid color-mix(in srgb, var(--w-text) 15%, transparent); font-size: 8px; }
    .w-needs dt { opacity: .6; } .w-needs dd { margin: 0; opacity: .5; } .w-needs dd.b { opacity: .9; }
    .w-stand .kind { display: block; margin-bottom: 3px; text-align: center; font-size: 7.5px; letter-spacing: .06em; opacity: .55; }

    .wear { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 18px auto 0; }
    .wear button {
      display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; cursor: pointer;
      font: 500 12.5px/1 var(--mono); color: var(--ink-2); background: var(--bg-2); border: 1px solid var(--line); border-radius: 999px;
    }
    .wear button i { width: 12px; height: 12px; border-radius: 50%; background: linear-gradient(135deg, var(--c1) 0 50%, var(--c2) 50%); box-shadow: 0 0 0 1px rgba(0,0,0,.25); }
    .wear button:hover { color: var(--ink); border-color: var(--line-2); }
    .wear button[aria-pressed="true"] { color: var(--ink); border-color: var(--acc); background: var(--bg-3); }
    .cap { margin: 14px auto 0; max-width: 620px; text-align: center; font-size: 13.5px; color: var(--ink-3); }
    .cap.left { text-align: left; margin-left: 0; }

/* The drawn windows answer to their own width, not the viewport's: the
       space they get depends on the spine beside the page as much as on the
       window, so a viewport rule leaves them cramped at one width and sparse
       at another. */
    .win { container-type: inline-size; }
    .w-strip { overflow: hidden; }
    @container (max-width: 980px) {
      .w-body.calm { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
      .w-body > .w-side, .w-body > .w-mini { display: none; }
      .w-say { display: none; }
      .flip .face.bench .w-bench { grid-template-columns: minmax(0, 1fr) 150px; }
    }
    @container (max-width: 720px) {
      .w-body.calm { grid-template-columns: minmax(0, 1fr); height: 460px; }
      .w-body.calm > .w-col, .w-needs { display: none; }
    }
    @container (max-width: 600px) {
      .w-body.calm { height: 420px; padding: 8px; }
      .w-bench, .flip .face.bench .w-bench { grid-template-columns: minmax(0, 1fr); }
      .w-rail, .w-spark, .w-dots, .w-sep, .w-woken, .w-strip .b, .w-head .w-ib, .w-count .q { display: none; }
      .w-foot .w-ib { display: none; }
    }
