/* Spektr Toolbox · site/shared/toolbox.css (v1.10, 27 Nov 2026: Go To puts a production's name on its own line above its links, so a long row of links never covers the name; v1.9, 16 Nov 2026: one drop area for every tool, `tb-drop`; v1.8, 16 Nov 2026: `tb-ownhead`, a heading in a choice list; v1.7, 14 Nov 2026: `tb-test`, the word TEST beside the tool name on a test address; v1.6, 13 Nov 2026: cleanup, the unused `tb-title` and the Google-era notes are gone; v1.5, 13 Nov 2026: Delete the same in every tool, `tb-again`, `tb-ico`; v1.4, 11 Nov 2026: a date field that isn't a date; v1.3, 10 Nov 2026: the choice list above panels; v1.2, 8 Nov 2026; v1 the same day)
   The shared look for every tool page on launch.spektr.nl: fonts, colours, frame (header and page column),
   the same-in-every-tool classes, the Team panel and Go To. Ported from toolbox/shared/Look.html v1.15,
   TeamPanel.html v1.2 and GoTo.html v1.2 (the Google versions, which stay until switch day). Rules: toolbox/framework.md.
   A tool page includes this file first and never redefines what's in it. Changes go through the toolbox chat. */

@font-face{font-family:"Telegraf";src:url("/fonts/Telegraf-Regular.woff2") format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:"Telegraf";src:url("/fonts/Telegraf-Bold.woff2") format("woff2");font-weight:700;font-display:swap}
html:root{--f-display:"Telegraf",system-ui,-apple-system,"Segoe UI",sans-serif;--f-body:system-ui,-apple-system,"Segoe UI",sans-serif;--f-mono:ui-monospace,"SF Mono",Menlo,Consolas,monospace;--f-num:system-ui,-apple-system,"Segoe UI",sans-serif}
*{box-sizing:border-box}
/* hidden always hides: the Team panel, scrim, toast and health line rely on it (the Google pages each had this rule). */
[hidden]{display:none!important}
html,body{margin:0;background:var(--bg);color:var(--ink)}
body{font:14px/1.45 var(--f-body);-webkit-font-smoothing:antialiased}
/* v1.1 (UI audit 8 Nov 2026, toolbox/plans/2026-11-08-ui-audit.md). Telegraf everywhere (Laurens): a tool switches with
   class "tb-telegraf" on <html> at its next version, once its columns of amounts carry tb-num (Telegraf has no
   equal-width digits, so amounts that must line up keep the system font with tabular figures: --f-num, .tb-num).
   Controls never fall back to the browser's Arial: they take the family of what they sit in (zero strength, so a
   tool's own font rules still win). */
html.tb-telegraf:root{--f-body:"Telegraf",system-ui,-apple-system,"Segoe UI",sans-serif}
:where(button,input,select,textarea){font-family:inherit}
.tb-num{font-family:var(--f-num);font-variant-numeric:tabular-nums}
/* The sign-in screen (auth.js) */
.tb-signin{max-width:720px;padding:56px 0 80px}
.tb-signin h1{font-family:var(--f-display);font-weight:700;font-size:40px;line-height:1.05;letter-spacing:-.02em;margin:0 0 10px}
.tb-signin .lead{color:var(--muted);margin:0 0 28px;font-size:15px}
.tb-signin .err{color:var(--danger);margin:0 0 20px}
.tb-spin{width:12px;height:12px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:tb-spin .7s linear infinite;display:inline-block;vertical-align:-1px}
@keyframes tb-spin{to{transform:rotate(360deg)}}
/* The health line (health.js): admins only, under the header. */
.tb-health{font-size:13px;color:var(--warn);padding:10px 0;border-bottom:1px solid var(--line)}
.tb-health b{font-weight:600}
.tb-health .steps{display:block;color:var(--muted);margin-top:2px}
.tb-health-copy{all:unset;cursor:pointer;margin-left:6px;font-size:12px;font-weight:700;color:var(--accent)}
.tb-health-copy:hover{text-decoration:underline}
@media (max-width:760px){.tb-signin h1{font-size:32px}.tb-signin{padding-top:36px}}

/* ───────── Look ───────── */
/* Spektr Toolbox: the look. The same in every tool; don't redo it inside a tool. Rules: framework.md, "Look". */

/* White page, light only. html:root wins over the tool's own :root. --fill is for inputs.
   Cool grey since v1.8 (Laurens, 3 Nov 2026; was a warm beige): one light grey for bands and fields, lines to match. */
html:root{--bg:#FFFFFF;--surface:#FFFFFF;--sunk:#F1F3F6;--fill:#F1F3F6;--line:#E3E6EB;--line-soft:#EEF0F3;color-scheme:light}
/* One colour set for every tool (v1.9, framework "Same in every tool"): no tool keeps its own palette. */
html:root{--ink:#1B1E24;--muted:#5D626A;--faint:#8B9097;--accent:#2F4FA2;--accent-ink:#FFFFFF;--accent-soft:#E3E8F5;--danger:#B3261E;--danger-soft:#F7E1DE;--ok:#2F7D55;--ok-bg:#DFF1E6;--warn:#B86E12;--warn-bg:#F7EBD9}

/* Colour only where you point at something that opens (Hover Light below). Static titles and lines stay ink
   (Laurens, 2 Nov 2026). */

/* Hover Light: put tb-hov on the thing that opens something, tb-lit on its name. Ink on touch screens. */
.tb-lit{transition:color .25s ease;padding:.08em 0 .2em;margin:-.08em 0 -.2em}
@media (hover:hover){
  .tb-hov:hover .tb-lit,.tb-hov:focus-visible .tb-lit{-webkit-text-fill-color:transparent;background-image:var(--tb-frame,linear-gradient(180deg,#3F6A82,#1E3A4A));background-size:200% auto;background-position:0% 50%;-webkit-background-clip:text;background-clip:text;animation:tb-pan 7s ease-in-out infinite alternate}
}
@keyframes tb-pan{from{background-position:0% 50%}to{background-position:100% 50%}}
/* Hover Light on smaller text (v1.11, Laurens 5 Nov 2026): the same light of the hour, fitted to the height of the
   letters and moving further, so a 20–40 px name shows it as clearly as a big Launchpad name. Add tb-hov-s next to tb-hov. */
@media (hover:hover){
  .tb-hov.tb-hov-s:hover .tb-lit,.tb-hov.tb-hov-s:focus-visible .tb-lit{background-size:340% 150%;animation:tb-sun 3.6s ease-in-out infinite alternate}
}
@keyframes tb-sun{0%{background-position:0% 0%}50%{background-position:55% 100%}100%{background-position:100% 20%}}
@media (prefers-reduced-motion:reduce){.tb-hov .tb-lit,.tb-hov:hover .tb-lit{animation:none!important}}

/* Title Card (v1.4, back with quick start). The tool's page arrives at once without its data;
   ToolboxLook.quickStart() hides the page and shows the tool's name in the light of
   the hour while the data comes, then lets the tool draw and fades the card away. Drawn on the page itself
   (html::after), so it works before the body exists. The name fades in after 150 ms, so a quick answer shows none. */
html.tb-loading body{visibility:hidden}
html.tb-loading::after,html.tb-leaving::after{content:attr(data-tb-card);position:fixed;inset:0;z-index:90;display:flex;align-items:center;justify-content:center;text-align:center;padding:0 16px;font-family:var(--f-display,inherit);font-weight:700;font-size:clamp(44px,8vw,104px);line-height:.92;letter-spacing:-.025em;color:var(--ink,#1B1E24);-webkit-text-fill-color:transparent;background-color:transparent;background-image:var(--tb-frame,linear-gradient(180deg,#3F6A82,#1E3A4A));background-size:200% auto;-webkit-background-clip:text;background-clip:text;pointer-events:none}
html.tb-loading::after{animation:tb-in .3s ease .15s both,tb-pan 5s ease-in-out infinite alternate}
html.tb-leaving::after{animation:tb-out .35s ease both}
html.tb-loading::before{content:"";position:fixed;left:0;bottom:0;height:2px;z-index:91;background:var(--ink,#1B1E24);animation:tb-load 6s cubic-bezier(.2,.6,.2,1) .15s both}
html.tb-leaving body{animation:tb-in .35s ease both}
@keyframes tb-in{from{opacity:0}to{opacity:1}}
@keyframes tb-out{from{opacity:1}to{opacity:0}}
@keyframes tb-load{0%{width:0}50%{width:70%}100%{width:94%}}
.tb-fail{max-width:640px;margin:18vh auto 0;padding:0 16px;font-family:var(--f-body,inherit)}
.tb-fail b{display:block;font-family:var(--f-display,inherit);font-size:28px;line-height:1.1;margin-bottom:8px;color:var(--ink,#1B1E24)}
.tb-fail p{margin:0 0 14px;color:var(--muted,#5D626A);font-size:14px}
.tb-fail button{font:inherit;font-size:13px;font-weight:500;border:1px solid var(--line,#E3E6EB);background:var(--surface,#FFFFFF);color:var(--ink,#1B1E24);border-radius:6px;padding:6px 12px;cursor:pointer}

/* Empty Frame: the same words, big and grey, with the one button that fixes it. */
.tb-empty{display:flex;flex-direction:column;align-items:flex-start;gap:14px;padding:36px 0 28px}
.tb-empty-t{font-family:var(--f-display,inherit);font-weight:700;font-size:clamp(30px,4vw,48px);line-height:.95;letter-spacing:-.02em;color:#B9BCC0;text-wrap:balance;margin:0}
.tb-empty-s{font-size:13px;color:var(--muted,#5D626A);margin:0}

/* Year Breaks: big year headings in archive lists, newest first. */
.tb-year{margin:26px 0 0;font-family:var(--f-display,inherit);font-weight:700;font-size:clamp(30px,4vw,44px);line-height:1;letter-spacing:-.02em;padding-bottom:10px;border-bottom:1px solid var(--ink,#1B1E24)}
.tb-year:first-child{margin-top:8px}

@media print{.tb-lit{-webkit-text-fill-color:currentColor;background:none}}
@media (prefers-reduced-motion:reduce){.tb-lit{animation:none!important}}
/* Frame (v1.6, 2 Nov 2026, Laurens): one page column and one header for every tool, so switching tools never jumps.
   Column: at most 1600 px of content, centred, 24 px sides (16 px under 760 px). Put tb-page on the tool's main column.
   Header (v1.2, 8 Nov 2026, Laurens: header A "Logo first", the old one looked too technical):
   header.tb-head > div.tb-head-in > [div.tb-id > a.tb-logo + button.tb-name + span.slate (the version)]
   + [div.tb-right > span.tb-state, the tool's controls, Team, avatars]. The logo opens the line (to the Launchpad),
   then a thin line and the tool name in plain Telegraf 16 px. The version fades in when you point at the name (it
   always takes its room, so nothing moves). The save state is a quiet grey word at the left of the right side, so a
   longer state never moves Team or the avatars. Team is plain text, no box. Sticky, its line runs across the window,
   its content in the same column as the page. Rules: framework.md, "Header". */
html:root{--tb-col:1600px;--tb-gut:24px}
@media (max-width:760px){html:root{--tb-gut:16px}}
.tb-page,.tb-head-in{box-sizing:border-box;width:100%;max-width:calc(var(--tb-col) + 2 * var(--tb-gut));margin-left:auto;margin-right:auto;padding-left:max(var(--tb-gut),env(safe-area-inset-left,0px));padding-right:max(var(--tb-gut),env(safe-area-inset-right,0px))}
.tb-head{position:sticky;top:0;z-index:15;background:var(--bg,#FFFFFF);border-bottom:1px solid var(--line,#E3E6EB)}
.tb-head-in{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 24px;padding-top:10px;padding-bottom:10px;min-height:52px}
.tb-id{min-width:0;flex:1 1 280px;display:flex;align-items:center}
.tb-logo{display:flex;align-items:center;flex:none;padding-right:14px;margin-right:14px;border-right:1px solid var(--line,#E3E6EB);text-decoration:none}
.tb-logo img{height:18px;width:auto;display:block}
.tb-name{display:block;border:0;background:none;padding:0;margin:0;cursor:pointer;font-family:var(--f-display,inherit);font-weight:400;font-size:16px;line-height:1.2;letter-spacing:0;text-transform:none;color:var(--ink,#1B1E24);text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.tb-head .slate{display:inline-block;flex:none;margin:0 0 0 10px;padding:0;font-family:var(--f-display,inherit);font-size:13px;line-height:1.2;color:var(--faint,#8B9097);white-space:nowrap;opacity:0;transition:opacity .15s}
.tb-id:hover .slate,.tb-name:focus-visible+.slate{opacity:1}
/* v1.7 (14 Nov 2026, the test lane): TEST beside the tool name on a test address; a plain word in the warning colour, no box */
.tb-test{margin-left:10px;font-size:12px;font-weight:700;line-height:1.2;color:var(--warn,#B86E12);white-space:nowrap}
.tb-right{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:8px 14px;margin-left:auto}
.tb-state{font-size:13px;color:var(--faint,#8B9097);white-space:nowrap}
.tb-state:empty{display:none}
.tb-head .tbt-btn{border-color:transparent;background:none;padding:6px 8px;font-size:14px;font-weight:400}
.tb-head .tbt-btn:hover,.tb-head .tbt-btn[aria-expanded="true"]{border-color:transparent;background:var(--sunk,#F1F3F6);color:var(--ink,#1B1E24)}
@media (prefers-reduced-motion:reduce){.tb-head .slate{transition:none}}
/* Phone (under 760 px): the logo stays, 16 px; the name and logo take the first row; the save state, the tool's
   controls, Team and avatars one row under it, left-aligned, never wrapping: the row scrolls sideways when it
   doesn't fit (v1.1). */
@media (max-width:760px){.tb-logo img{height:16px}.tb-logo{padding-right:12px;margin-right:12px}.tb-name{font-size:15px}}
@media (max-width:760px){.tb-id{flex:1 1 100%}.tb-right{flex-wrap:nowrap;justify-content:flex-start;margin-left:0;max-width:100%;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;padding-bottom:1px}.tb-right::-webkit-scrollbar{display:none}.tb-right>*{flex:none}}

/* ---------- Same in every tool (v1.9, 3 Nov 2026; framework "Same in every tool"). Shared classes with the tb- prefix,
   so a tool switches its markup over at its own release and nothing changes before that. */
/* Buttons: primary blue, 6 px padding and corners; one small size; ghost. (armed: the old look of "Click again to ..."; since v1.5 that is tb-again, at the end of this file.) */
.tb-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;font:inherit;font-size:13px;font-weight:500;line-height:1.2;padding:6px 12px;border:1px solid var(--line);border-radius:6px;background:var(--surface);color:var(--ink);cursor:pointer;white-space:nowrap;text-decoration:none}
.tb-btn:hover{border-color:var(--muted)}
.tb-btn.primary{background:var(--accent);border-color:var(--accent);color:var(--accent-ink)}
.tb-btn.primary:hover{filter:brightness(1.12)}
.tb-btn.small{padding:3px 9px;font-size:12px}
.tb-btn.ghost{border-color:transparent;background:none;color:var(--muted)}
.tb-btn.ghost:hover{color:var(--ink);background:var(--sunk)}
.tb-btn.armed,.tb-btn.danger{background:var(--danger);border-color:var(--danger);color:#FFFFFF}
.tb-btn:disabled{opacity:.55;cursor:default}
.tb-btn svg{width:14px;height:14px;flex:none}
/* Text actions ("+ Post", "Compare"): blue, bold, no underline. */
.tb-act{border:0;background:none;padding:0;font:inherit;font-size:13px;font-weight:700;color:var(--accent);cursor:pointer;text-decoration:none;white-space:nowrap}
.tb-act:hover{color:var(--ink)}
/* Back to the list: a grey text link above the production title. */
.tb-back{display:inline-block;border:0;background:none;padding:0;margin:0 0 6px;font:inherit;font-size:13px;font-weight:400;color:var(--muted);cursor:pointer;text-align:left;text-decoration:none}
.tb-back:hover{color:var(--ink)}
/* Status: one chip size; the money tools use the dot and the word (tb-status). */
.tb-chip{display:inline-flex;align-items:center;gap:5px;font-size:10.5px;font-weight:600;letter-spacing:.05em;text-transform:uppercase;border-radius:999px;padding:1px 8px;line-height:17px;border:1px solid var(--line);color:var(--muted);background:var(--surface);white-space:nowrap}
.tb-chip.accent{color:var(--accent);background:var(--accent-soft);border-color:transparent}
.tb-chip.ok{color:var(--ok);background:var(--ok-bg);border-color:transparent}
.tb-chip.danger{color:var(--danger);background:var(--danger-soft);border-color:transparent}
.tb-chip.warn{color:var(--warn);background:var(--warn-bg);border-color:transparent}
.tb-chip svg{width:10px;height:10px}
.tb-status{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;font-weight:500;white-space:nowrap;color:var(--muted)}
.tb-status::before{content:"";width:7px;height:7px;border-radius:50%;background:#B8BDC6;flex:none}
.tb-status.sent{color:var(--accent)}.tb-status.sent::before{background:var(--accent)}
.tb-status.approved{color:var(--ok)}.tb-status.approved::before{background:var(--ok)}
.tb-status.rejected{color:var(--danger)}.tb-status.rejected::before{background:var(--danger)}
.tb-status.tpl{color:var(--warn)}.tb-status.tpl::before{background:var(--warn)}
.tb-status:has(svg)::before{display:none}
.tb-status svg{width:11px;height:11px}
/* Money: the euro sign in grey. */
.tb-eur{color:var(--faint);font-weight:400}
/* Section heads (an ink line above, 15 px bold, normal capitals) and column heads (12 px grey, a line under). */
.tb-sec{display:flex;align-items:baseline;justify-content:space-between;gap:12px;width:100%;border:0;border-top:1px solid var(--ink);background:none;padding:12px 0;margin:0;font-family:var(--f-display,inherit);font-size:15px;font-weight:700;letter-spacing:0;text-transform:none;color:var(--ink);text-align:left}
button.tb-sec{cursor:pointer}
button.tb-sec:hover{color:var(--accent)}
.tb-sec .tb-sum{font-family:var(--f-body,inherit);font-size:13px;font-weight:400;color:var(--muted);text-align:right;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tb-colhead{font-size:12px;font-weight:400;letter-spacing:0;text-transform:none;color:var(--muted);border-bottom:1px solid var(--line)}
/* Fields: grey fill, no border, 6 px corners; blue and white on focus. Labels above fields 12 px grey. */
.tb-input{box-sizing:border-box;border:1px solid transparent;border-radius:6px;background:var(--fill);padding:6px 8px;font:inherit;font-size:13.5px;color:var(--ink);min-width:0}
.tb-input:focus{border-color:var(--accent);background:var(--surface);outline:none}
.tb-input::placeholder{color:var(--faint);opacity:1}
.tb-label{font-size:12px;font-weight:400;color:var(--muted);letter-spacing:0;text-transform:none}
/* Lists: names at 38 px in ink (with Hover Light), rows 18 px top and bottom. */
.tb-listname{font-family:var(--f-display,inherit);font-weight:700;font-size:38px;line-height:1.05;letter-spacing:-.015em}
.tb-listrow{padding-top:18px;padding-bottom:18px}
@media (max-width:760px){.tb-listname{font-size:30px}}
/* Close: the same cross on every dialog, drawer and panel (Esc closes too). */
.tb-close{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border:0;border-radius:6px;background:none;color:var(--muted);font-size:18px;line-height:1;cursor:pointer;flex:none}
.tb-close:hover{background:var(--sunk);color:var(--ink)}
/* Busy bar: 3 px, blue, sliding along the top while the server works. */
#tb-busy{position:fixed;left:0;right:0;top:0;height:3px;z-index:95;overflow:hidden;pointer-events:none}
#tb-busy::after{content:"";position:absolute;top:0;bottom:0;width:40%;background:var(--accent);animation:tb-busy 1.1s ease-in-out infinite}
@keyframes tb-busy{from{left:-40%}to{left:100%}}
/* Toast: one for every tool, with room for an Undo button. */
#tb-toast{position:fixed;left:50%;bottom:calc(20px + env(safe-area-inset-bottom,0px));transform:translateX(-50%);z-index:96;display:flex;align-items:center;gap:14px;max-width:calc(100vw - 32px);background:var(--ink);color:#FFFFFF;border-radius:6px;padding:8px 14px;font-size:13px;line-height:1.35}
#tb-toast[hidden]{display:none}
#tb-toast button{border:0;background:none;padding:0;font:inherit;font-weight:700;color:#A9BCF0;cursor:pointer;white-space:nowrap}
#tb-toast button:hover{color:#FFFFFF}
/* Shortcut list (?). */
.tb-keys{position:fixed;inset:0;z-index:94;display:flex;align-items:flex-start;justify-content:center;padding:12vh 16px 0;background:rgba(20,22,28,.28)}
.tb-keys>div{background:var(--surface);border-radius:10px;box-shadow:0 10px 40px rgba(0,0,0,.2);padding:16px 18px 18px;width:min(440px,100%)}
.tb-keys header{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px;font-family:var(--f-display,inherit);font-weight:700;font-size:15px}
.tb-keys table{width:100%;border-collapse:collapse;font-size:13px}
.tb-keys td{padding:5px 0;border-top:1px solid var(--line-soft)}
.tb-keys td:first-child{white-space:nowrap;padding-right:16px;color:var(--muted);font-family:var(--f-mono,monospace);font-size:12px}
@media (prefers-reduced-motion:reduce){#tb-busy::after{animation-duration:2.5s}}
/* The toolbox's own choice list (v1.14, framework "Browser agnostic"): ToolboxLook.choices("select.inp") opens this
   list for every matching select instead of the browser's; the select itself stays for the keyboard and the form.
   v1.3: above every panel and dialog (it sat at 80, under a tool's dialog at 94, so a choice field in a panel opened
   a list nobody could see). */
.tb-ownlist{position:fixed;z-index:97;background:var(--surface);border:1px solid var(--line);border-radius:6px;box-shadow:0 8px 24px rgba(0,0,0,.12);max-height:300px;overflow:auto;padding:4px;display:flex;flex-direction:column}
.tb-ownlist button{display:flex;justify-content:space-between;align-items:baseline;gap:14px;width:100%;border:0;background:none;text-align:left;padding:6px 8px;border-radius:4px;font:inherit;font-size:13px;color:var(--ink);cursor:pointer;white-space:nowrap}
.tb-ownlist button small{color:var(--muted);font-size:12px}
.tb-ownlist button.on,.tb-ownlist button:hover{background:var(--sunk)}
.tb-ownhead{padding:10px 8px 4px;font-size:11px;font-weight:700;color:var(--muted);letter-spacing:.06em;text-transform:uppercase;cursor:default}

/* ───────── Team panel ───────── */
/* Spektr Toolbox: the Team panel (toolbox/shared/TeamPanel.html, v1.1). The same in every tool; each build
   puts this file in the page where its team marker stands (see README). Don't edit it inside a tool. */
.tbt-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:6px;padding:6px 12px;font:inherit;font-size:13px;font-weight:500;line-height:1.2;white-space:nowrap;cursor:pointer}
.tbt-btn:hover{border-color:var(--muted)}
.tbt-btn[aria-expanded="true"]{background:var(--ink);border-color:var(--ink);color:var(--bg)}
.tbt-btn svg{width:15px;height:15px;flex:none}
.tbt-scrim{position:fixed;inset:0;z-index:60;background:rgba(0,0,0,.18)}
.tbt{position:fixed;top:0;right:0;bottom:0;width:min(440px,100vw);z-index:61;background:var(--surface);color:var(--ink);border-left:1px solid var(--line);display:flex;flex-direction:column;box-shadow:-12px 0 32px rgba(0,0,0,.12);font-family:var(--f-body,inherit);font-size:14px;line-height:1.45}
.tbt-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:16px 20px 14px;border-bottom:1px solid var(--line)}
.tbt-eye{font-family:var(--f-display,inherit);font-size:11.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.tbt-head h3{margin:2px 0 0;font-family:var(--f-display,inherit);font-weight:700;font-size:21px;line-height:1.15}
.tbt-x{border:0;background:none;color:var(--muted);font-size:15px;padding:4px 8px;border-radius:4px;line-height:1;cursor:pointer}
.tbt-x:hover{background:var(--sunk);color:var(--ink)}
.tbt-body{flex:1;overflow-y:auto;padding:16px 20px 24px;display:flex;flex-direction:column;gap:12px}
.tbt-sec{margin:8px 0 0;font-family:var(--f-display,inherit);font-size:12.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;border-bottom:1px solid var(--line);padding-bottom:6px}
.tbt-sec:first-child{margin-top:0}
.tbt-empty{font-size:13px;color:var(--muted)}
.tbt-row{display:grid;grid-template-columns:30px minmax(0,1fr) auto 64px;gap:10px;align-items:center;padding:8px 6px;margin:0 -6px;border-bottom:1px solid var(--line-soft);border-radius:6px;transition:background .3s,opacity .3s}
.tbt-row.ro{grid-template-columns:30px minmax(0,1fr) auto}
.tbt-av{--avs:28px;width:var(--avs);height:var(--avs);border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-family:var(--f-body,inherit);font-size:calc(var(--avs) * .38);font-weight:600;line-height:1;color:#fff;letter-spacing:.02em;background:var(--avc,#5D626A);flex:none;position:relative;box-sizing:border-box}
.tbt-av.ring{box-shadow:0 0 0 2px var(--bg,#fff)}
.tbt-av.more{background:var(--sunk,#EEE);color:var(--muted,#666)}
.tbt-avs{display:inline-flex;align-items:center;border:0;background:none;padding:0 0 0 2px;font:inherit;color:inherit}
button.tbt-avs{cursor:pointer}
.tbt-avs .tbt-av+.tbt-av{margin-left:calc(var(--avs) * -.1)}
.tbt-av.all{background:var(--sunk);color:var(--muted)}
.tbt-av.all svg{width:15px;height:15px}
.tbt-av .on{position:absolute;right:-1px;bottom:-1px;width:calc(var(--avs) * .3);height:calc(var(--avs) * .3);box-sizing:content-box;border-radius:50%;background:var(--ok,#2F7D55);border:2px solid var(--surface)}
.tbt-n{font-weight:600;font-size:13.5px;display:flex;gap:6px;align-items:center;flex-wrap:wrap;min-width:0}
.tbt-e{font-family:var(--f-mono,monospace);font-size:11px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tbt-tag{font-size:10px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--muted);border:1px solid var(--line);border-radius:999px;padding:0 6px;line-height:15px;white-space:nowrap}
.tbt-r{font-size:12.5px;color:var(--muted);white-space:nowrap}
.tbt-sel,.tbt-in{border:1px solid var(--line);border-radius:5px;background:var(--bg);color:var(--ink);padding:5px 7px;font:inherit;font-size:13px;min-width:0}
.tbt-sel:focus,.tbt-in:focus{border-color:var(--accent);outline:none}
.tbt-rm{border:0;background:none;color:var(--muted);font:inherit;font-size:12px;padding:4px 6px;border-radius:4px;cursor:pointer;justify-self:end;white-space:nowrap}
.tbt-rm:hover{background:var(--sunk);color:var(--ink)}
.tbt-rm.armed{color:var(--danger,#B3261E);font-weight:600}
.tbt-row.busy{opacity:.55}
.tbt-row.busy .tbt-st{opacity:1}
.tbt-st{font-size:12px;color:var(--muted);justify-self:end;white-space:nowrap}
.tbt-row.ok{background:var(--ok-bg,#DFF1E6)}
.tbt-row.ok .tbt-st,.tbt-okt{color:var(--ok,#2F7D55);font-weight:600;font-family:var(--f-body,inherit);font-size:12px}
.tbt-row.gone{opacity:0}
.tbt-add{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px;align-items:center;margin-top:4px}
.tbt-go{border:1px solid var(--accent);background:var(--accent);color:var(--accent-ink,#fff);border-radius:6px;padding:6px 12px;font:inherit;font-size:13px;font-weight:600;cursor:pointer;white-space:nowrap}
.tbt-go:disabled{opacity:.6;cursor:default}
.tbt-msg{font-size:13px;border-radius:6px;padding:8px 10px;display:flex;gap:8px;align-items:flex-start}
.tbt-msg.ok{background:var(--ok-bg,#DFF1E6);color:var(--ok,#2F7D55)}
.tbt-msg.err{background:color-mix(in srgb,var(--danger,#B3261E) 12%,var(--surface));color:var(--danger,#B3261E)}
.tbt-spin{width:11px;height:11px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;display:inline-block;animation:tbtspin .7s linear infinite;vertical-align:-1px;margin-right:5px}
@keyframes tbtspin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.tbt-row{transition:none}.tbt-spin{animation:none}}

/* ───────── Go To ───────── */
/* Spektr Toolbox: Go To (toolbox/shared/GoTo.html, v1.2, 7 Nov 2026). Press / anywhere to jump to a production in
   any tool, or to the tool's own things (local). The same in every tool; each build puts this file where its Go To marker stands (after
   Look.html; see README). Don't edit it inside a tool. No double slashes anywhere in this file. */
.tbg-scrim{position:fixed;inset:0;z-index:80;background:var(--bg,#FFFFFF);overflow-y:auto;padding:max(28px,6vh) max(16px,env(safe-area-inset-right,0px)) 48px max(16px,env(safe-area-inset-left,0px))}
.tbg{max-width:980px;margin:0 auto;display:flex;flex-direction:column;gap:6px;color:var(--ink,#1B1E24);font-family:var(--f-body,inherit)}
.tbg-top{display:flex;align-items:center;gap:12px;border-bottom:2px solid var(--ink,#1B1E24);padding-bottom:8px}
.tbg-in{flex:1;min-width:0;border:0;outline:0;background:transparent;color:var(--ink,#1B1E24);font-family:var(--f-display,inherit);font-weight:700;font-size:clamp(34px,6vw,64px);line-height:1.05;letter-spacing:-.02em;padding:0}
.tbg-x{border:1px solid var(--line,#D9D9D1);background:var(--surface,#FFFFFF);color:var(--muted,#5D626A);border-radius:6px;font:inherit;font-size:12px;padding:4px 9px;cursor:pointer}
.tbg-x:hover{color:var(--ink,#1B1E24);border-color:var(--muted,#5D626A)}
.tbg-note{font-size:13px;color:var(--muted,#5D626A);padding:14px 0}
.tbg-p{display:flex;flex-direction:column;align-items:stretch;gap:10px;padding:16px 0;border-bottom:1px solid var(--line-soft,#EBEBE5)}
.tbg-n{font-family:var(--f-display,inherit);font-weight:700;font-size:26px;line-height:1.05;letter-spacing:-.015em;min-width:0;overflow-wrap:anywhere}
.tbg-tools{display:flex;flex-wrap:wrap;gap:6px;justify-content:flex-start}
.tbg-a{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--line,#D9D9D1);border-radius:999px;padding:4px 12px;font-size:13px;font-weight:500;color:var(--ink,#1B1E24);text-decoration:none;white-space:nowrap;background:var(--surface,#FFFFFF)}
.tbg-a:hover{border-color:var(--ink,#1B1E24)}
.tbg-a.sel{background:var(--ink,#1B1E24);border-color:var(--ink,#1B1E24);color:var(--bg,#FFFFFF)}
.tbg-a .here{font-size:10.5px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--muted,#5D626A)}
.tbg-a.sel .here{color:inherit;opacity:.7}
.tbg-g{font-size:10.5px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--muted,#5D626A);padding:18px 0 2px}
.tbg-l{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 20px;align-items:baseline;text-align:left;border:0;border-bottom:1px solid var(--line-soft,#EBEBE5);background:transparent;color:var(--ink,#1B1E24);font:inherit;padding:10px 8px;margin:0 -8px;width:calc(100% + 16px);border-radius:6px;cursor:pointer}
.tbg-l .lb{font-family:var(--f-display,inherit);font-weight:700;font-size:20px;line-height:1.1;letter-spacing:-.01em;min-width:0;overflow-wrap:anywhere}
.tbg-l .sb{font-size:13px;color:var(--muted,#5D626A);text-align:right}
.tbg-l.sel{background:var(--line-soft,#EBEBE5)}
@media (max-width:640px){.tbg-l{grid-template-columns:minmax(0,1fr)}.tbg-l .sb{text-align:left}}
/* v1.4 (11 Nov 2026): a date field (look.js, ToolboxLook.day) that holds something that isn't a date: it stays, marked */
input[data-tb-day].tb-miss{color:var(--warn);border-color:var(--warn)}

/* v1.5 (13 Nov 2026): Delete, the same in every tool (framework "Delete: two levels"; look.js v1.3).
   tb-again: the red "Click again to ..." that lies over its button (ToolboxLook.again); it is fixed on the window, so
   nothing in the page moves. One armed look for every tool; a tool keeps no .armed rule of its own.
   tb-ico: the icon of a card or row, a bin (Delete) or a cross (Remove); it shows when its card or row (tb-has-ico)
   is pointed at or has the focus, and always on a touch screen. */
.tb-again{position:fixed;z-index:97;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:6px;padding:0 12px;background:var(--danger);color:#FFFFFF;font:inherit;font-size:13px;font-weight:700;line-height:1.2;white-space:nowrap;cursor:pointer;box-shadow:0 2px 10px rgba(17,17,17,.2);animation:tb-again .12s ease-out}
.tb-again:hover{filter:brightness(1.08)}
.tb-again:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
@keyframes tb-again{from{opacity:0;transform:scale(.94)}}
@media (prefers-reduced-motion:reduce){.tb-again{animation:none}}
.tb-ico{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;padding:0;border:0;border-radius:6px;background:none;color:var(--muted);cursor:pointer;flex:none;opacity:0;transition:opacity .12s}
.tb-ico svg{width:15px;height:15px}
.tb-ico:hover{background:var(--sunk);color:var(--ink)}
.tb-ico.bin:hover{background:var(--danger-soft);color:var(--danger)}
.tb-has-ico:hover .tb-ico,.tb-has-ico:focus-within .tb-ico,.tb-ico:focus-visible{opacity:1}
@media (hover:none){.tb-ico{opacity:1}}

/* v1.9 (16 Nov 2026): one drop area for every tool (Laurens: "i want nicer drop areas unified with design we have thru
   all tools"; canvas "Toolbox · drop areas (mockup)"; framework "Same in every tool", Drop areas). The inside comes from
   ToolboxLook.drop(); the tool sets "over" on the box under the pointer. Four states: waiting · something that fits is
   dragged anywhere over the page (html.tb-drag-files for files, html.tb-drag-tiles for a tile; a box says what it takes
   with the class files or tiles) · over it · reading (busy), then the result. The size never changes. Dashes mean
   "drop here" and nothing else. */
.tb-drop{box-sizing:border-box;display:flex;align-items:center;gap:14px;min-height:72px;padding:16px 20px;border:1.5px dashed #AEB5BF;border-radius:10px;background:#FAFBFC;color:var(--muted);font-size:15px;line-height:1.35;font-weight:400;text-align:left;cursor:pointer;transition:background-color .12s,border-color .12s}
.tb-drop.center{justify-content:center}
.tb-drop-ic{flex:none;display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:8px;background:var(--line-soft);color:var(--muted)}
.tb-drop-ic svg{width:18px;height:18px}
.tb-drop-t b,.tb-drop-rel b{color:var(--ink);font-weight:700}
.tb-drop-sub{display:block;margin-top:2px;font-size:13px;color:var(--faint)}
.tb-drop-rel{display:none}
.tb-drop:hover{border-color:#8B9097}
html.tb-drag-files .tb-drop.files,html.tb-drag-tiles .tb-drop.tiles{border-color:#8FA0CF;background:#F5F7FC}
html.tb-drag-files .tb-drop.files .tb-drop-ic,html.tb-drag-tiles .tb-drop.tiles .tb-drop-ic{background:var(--accent-soft);color:var(--accent)}
.tb-drop.over,html.tb-drag-files .tb-drop.files.over,html.tb-drag-tiles .tb-drop.tiles.over{border-style:solid;border-color:var(--accent);background:var(--accent-soft)}
.tb-drop.over .tb-drop-ic{background:var(--accent);color:#FFFFFF}
.tb-drop.over .tb-drop-t{display:none}
.tb-drop.over .tb-drop-rel{display:inline}
.tb-drop.over .tb-drop-rel b{color:var(--accent)}
.tb-drop.busy{cursor:progress}
.tb-drop .tb-drop-ok{color:var(--ok)}
@media (prefers-reduced-motion:reduce){.tb-drop{transition:none}}
