/* Earnings page — Attio draft (html.at-done, ?tbl=attio-full; 2026-10-25). Loaded by earnings/index.html.
   Uses Attio's radii (8px controls, 16px kanban columns), so scripts/square_corners.py excludes this file. */
/* ── Attio draft (html.at-done, ?tbl=attio-full; 2026-10-25) — measured spec: .claude/skills/attio-style ──
   One flush 48px toolbar: [view ⌄] [Filter] [chips] … [search] [week ‹ ›] [⋯]; My stocks folds into the view menu,
   sector / report time into Filter (chips show what's on). Board = Attio kanban columns, tiles = record chips; the day
   tables run edge to edge with Reported / Upcoming as grey group bands. */
html:not(.at-done) .ec-at-btn { display:none !important; }
html.at-shell.at-done .app-shell > main:has(.ec) { padding:0 !important; background:var(--a-bg) !important; }
html.at-done .ec { max-width:none; margin:0; color:var(--a-ink); font:500 14px/20px Inter, system-ui, sans-serif; letter-spacing:-0.07px; }
html.at-done .ec :is(.ec-title, .ec-uni) { display:none !important; }
html.at-done .ec-more-pop > :is(label, hr) { display:none; }
html.at-done .ec-wk-head { min-height:48px; margin:0; padding:0 12px; gap:8px; flex-wrap:nowrap; border-bottom:1px solid var(--a-line); background:var(--a-bg); }
html.at-done .ec-wk-head > .ec-vbtn { order:1; } html.at-done .ec-wk-head > .ec-fbtn { order:2; }
html.at-done .ec-wk-head > .ec-chips { order:3; display:inline-flex; gap:6px; margin:0; flex-wrap:nowrap; min-width:0; overflow:hidden; }
html.at-done .ec-wk-head > .ec-bbar { order:4; margin-left:auto; flex-wrap:nowrap; gap:8px; }
html.at-done .ec-wk-head > .ec-wk-lbl { order:5; } html.at-done .ec-wk-head > #ec-prev { order:6; } html.at-done .ec-wk-head > #ec-next { order:7; }
/* the ⋯ button goes last, after the week */
html.at-done .ec-wk-head .ec-ctls { gap:8px; flex-wrap:nowrap; }
html.at-done .ec-wk-head > .ec-more { order:8; }
html.at-done .ec-at-btn { all:unset; box-sizing:border-box; height:28px; display:inline-flex; align-items:center; gap:6px; padding:0 8px; border-radius:8px;
  background:var(--a-bg); box-shadow:inset 0 0 0 1px var(--a-ring), var(--a-btn-shadow); color:var(--a-ink); font:500 14px/20px Inter, system-ui, sans-serif;
  letter-spacing:-0.07px; white-space:nowrap; cursor:pointer; flex:none; }
html.at-done .ec-at-btn:hover { background:var(--a-hover); }
html.at-done .ec-at-btn:focus-visible { outline:2px solid var(--a-blue); outline-offset:1px; }
html.at-done .ec-at-btn svg { width:15px; height:15px; color:var(--a-mute); flex:none; }
html.at-done .ec-at-btn svg.cd { width:12px; height:12px; margin-left:-2px; }
html.at-done .ec-vbtn > span { max-width:200px; overflow:hidden; text-overflow:ellipsis; }
/* the view icon sits in an Attio colour tile (user, 2026-10-29): blue table for an index, amber star for My stocks */
html.at-done .ec-vbtn > svg:first-child { box-sizing:border-box; width:20px; height:20px; padding:3px; margin-left:-3px; border-radius:6px;
  background:rgba(69,93,220,.12); color:#3550D0; }
html.at-done .ec-vbtn.is-my > svg:first-child { background:rgba(255,170,40,.16); color:#B7700C; }
html.at-done[data-theme="dark"] .ec-vbtn > svg:first-child { background:rgba(69,93,220,.38); color:#B4C1FF; }
html.at-done[data-theme="dark"] .ec-vbtn.is-my > svg:first-child { background:rgba(255,170,40,.28); color:#FFC266; }
/* Filter: Attio's faint filled button; tinted when a filter is on */
html.at-done .ec-fbtn { box-shadow:none; background:var(--a-fill); color:var(--a-mute); }
html.at-done .ec-fbtn.is-on { background:rgba(38,109,240,.08); color:var(--a-blue); }
html.at-done .ec-fbtn.is-on svg { color:var(--a-blue); }
html.at-done .ec-chip { height:28px; gap:4px; padding:0 4px 0 8px; border:0; border-radius:8px; background:rgba(38,109,240,.08); color:var(--a-blue);
  font:500 13px/20px Inter, system-ui, sans-serif; white-space:nowrap; }
html.at-done .ec-chip .k { display:inline; color:color-mix(in srgb, var(--a-blue) 70%, transparent); margin-right:2px; }
html.at-done .ec-chip button { width:18px; height:18px; padding:0; border-radius:5px; color:inherit; display:grid; place-items:center; font-size:15px; }
html.at-done .ec-chip button:hover { background:rgba(38,109,240,.12); }
/* week: the label then quiet ‹ › (Attio's "Today, Oct 25 ‹ ›") */
html.at-done .ec-wk-lbl { flex:none; margin:0 2px 0 8px; min-width:0; font:500 14px/20px Inter, system-ui, sans-serif; color:var(--a-ink); white-space:nowrap; }
html.at-done .ec-wk-head .ec-ib { width:28px; height:28px; border:0; border-radius:8px; background:transparent; color:var(--a-mute); }
html.at-done .ec-wk-head .ec-ib:hover:not(:disabled) { background:var(--a-hover); color:var(--a-ink); }
html.at-done .ec-wk-head #ec-more-btn { width:28px; height:28px; }
/* search: a quiet field, not a boxed input */
html.at-done .ec-bbar .ec-search input { height:28px; width:clamp(110px, 14vw, 170px); border:0; border-radius:8px; background:transparent; color:var(--a-ink);
  font:500 14px/20px Inter, system-ui, sans-serif; padding-left:30px; }
html.at-done .ec-bbar .ec-search input:focus { background:var(--a-fill); }
html.at-done .ec-bbar .ec-search input::placeholder { color:var(--a-faint); }
html.at-done .ec-bbar .ec-search svg { width:15px; height:15px; left:8px; color:var(--a-mute); }
html.at-done .ec-kbd { border:0; box-shadow:inset 0 0 0 1px var(--a-ring); border-radius:4px; color:var(--a-faint); }
/* the view / Filter menus */
.ec-at-menu { min-width:220px; max-height:min(420px, 70vh); overflow:auto; }
.ec-at-menu .aiq-mi .nm { flex:1; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; text-align:left; }
.ec-at-menu .aiq-mi .ct { color:var(--a-faint, var(--pop-sub)); font-size:12px; font-weight:500; font-variant-numeric:tabular-nums; margin-left:8px; }
.ec-at-menu .aiq-mi .ct + svg { margin-left:4px !important; }
.ec-at-menu .ec-at-hint { padding:6px 10px 8px; max-width:240px; font-size:13px; color:var(--pop-sub); line-height:1.45; }
.ec-at-menu .ec-at-hint a { color:var(--pop-blue-ink); }

/* the week = ONE Attio table: one header row, a grey 32px group band per day, logo · ticker · company in the first cell */
html.at-done .ec-grp { margin:0; }
html.at-done .ec-at-tbl { width:100%; table-layout:fixed; border-top:1px solid var(--a-line); }
html.at-done .ec-at-tbl col.c-time { width:130px; } html.at-done .ec-at-tbl col.c-n { width:112px; } html.at-done .ec-at-tbl col.c-res { width:250px; }
html.at-done .ec .ec-at-tbl tr.ec-gr > th:not(#_):not(#_):not(#_) { height:32px !important; padding:0 12px !important; vertical-align:middle !important; text-align:left; background:var(--a-fill) !important;
  border-bottom:1px solid var(--a-line) !important; border-right:0 !important; font:500 12px/16px Inter, system-ui, sans-serif !important; color:var(--a-label) !important; }
html.at-done .ec-at-tbl tr.ec-gr .ec-rel { margin-left:4px; color:var(--a-blue); font-weight:500; }
html.at-done .ec .ec-st td, html.at-done .ec .ec-st th[scope="row"] { font-weight:500; }
html.at-done .ec-at-tbl .ec-rec { display:flex; align-items:center; gap:8px; min-width:0; }
html.at-done .ec-at-tbl .ec-rec .ec-logo, html.at-done .ec-at-tbl .ec-rec .ec-mono { width:20px; height:20px; border-radius:6px; }
html.at-done .ec-st .ec-tk { flex:none; font-weight:500; color:var(--a-ink); }
html.at-done .ec-st .ec-tk:hover { color:var(--a-blue); text-decoration:none; }
html.at-done .ec-st .ec-co { margin-left:0; color:var(--a-mute); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; min-width:0; }
html.at-done .ec-at-tbl th:first-child, html.at-done .ec-at-tbl td:first-child { padding-left:12px !important; }
html.at-done .ec-at-tbl .ec-na { color:var(--a-faint); }
html.at-done .ec .ec-at-tbl td.ec-wait:not(#_):not(#_) { color:var(--a-faint) !important; }
html.at-done .ec-note { margin:0; padding:16px 12px 24px; font:500 12px/16px Inter, system-ui, sans-serif; color:var(--a-faint); }
html.at-done .ec-panel.ec-empty { border:0; border-top:1px solid var(--a-line); border-radius:0; padding:64px 16px; color:var(--a-mute); font-size:14px; }
@container (max-width:900px) { html.at-done .ec-at-tbl col.c-res { width:190px; } html.at-done .ec-at-tbl col.c-time { width:104px; } }
html.at-done .ec { container-type:inline-size; }

/* Result / Last quarter stay plain green / red words, no tinted pill (user, 2026-10-15: "Don't bring back the pills") —
   the shared Attio table rules tint .pos / .neg cells */
html.at-done .ec .ec-st td :is(.pos, .neg):not(#_):not(#_):not(#_) { background:none !important; padding:0 !important; border-radius:0 !important; box-shadow:none !important; }
html.at-done .ec .ec-st td .pos:not(#_):not(#_):not(#_) { color:var(--tb-pos) !important; }
html.at-done .ec .ec-st td .neg:not(#_):not(#_):not(#_) { color:var(--tb-neg) !important; }
/* the search field is a box of its own, so the "/" key sits inside it */
html.at-done .ec-bbar .ec-search { display:inline-flex; align-items:center; }

/* Colour pass (user, 2026-10-26: "add some additional styling/color to this table") — Attio tag pills: report time
   (amber Before open, violet After close, grey Not announced) and result (green Beat, rose Missed, grey Upcoming,
   orange Awaiting results), each with a small Phosphor glyph; EPS takes the beat/miss colour; today's band is tinted blue. */
html.at-done .ec .ec-at-tbl .ec-tag:not(#_):not(#_) { height:22px; gap:5px; padding:0 7px 0 6px; border-radius:7px; font:500 12.5px/16px Inter, system-ui, sans-serif;
  color:var(--tn) !important; background:var(--tb) !important; box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--tn) 14%, transparent); font-variant-numeric:tabular-nums; vertical-align:middle; }
html.at-done .ec-at-tbl .ec-tag i { font-size:13px; line-height:1; }
html.at-done .ec .ec-at-tbl td.ec-up:not(#_):not(#_) { color:var(--tb-pos) !important; }
html.at-done .ec .ec-at-tbl td.ec-dn:not(#_):not(#_) { color:var(--tb-neg) !important; }
/* no blue left edge (user, 2026-10-26: "I don't like the way that you highlight on the left with a blue line"): tint only */
html.at-done .ec .ec-at-tbl tr.ec-gr.is-today > th:not(#_):not(#_):not(#_) { background:color-mix(in srgb, var(--a-blue) 6%, var(--a-bg)) !important; color:var(--a-blue) !important; }
html.at-done .ec-at-tbl tr.ec-gr .ec-rel { display:inline-flex; align-items:center; height:18px; padding:0 6px; border-radius:6px; background:rgba(38,109,240,.10); font-size:11.5px; }
html.at-shell[data-theme="dark"] .ec-at-tbl .at-t-amber  { --tn:#F2B45A; --tb:rgba(255,170,40,.14); }
html.at-shell[data-theme="dark"] .ec-at-tbl .at-t-violet { --tn:#B98CF6; --tb:rgba(150,70,239,.18); }
html.at-shell[data-theme="dark"] .ec-at-tbl .at-t-green  { --tn:#43D1A7; --tb:rgba(67,209,167,.14); }
html.at-shell[data-theme="dark"] .ec-at-tbl .at-t-rose   { --tn:#F7627F; --tb:rgba(247,52,99,.16); }
html.at-shell[data-theme="dark"] .ec-at-tbl .at-t-orange { --tn:#FF9F5A; --tb:rgba(255,134,46,.15); }
html.at-shell[data-theme="dark"] .ec-at-tbl .at-t-grey   { --tn:rgba(255,255,255,.6); --tb:rgba(255,255,255,.06); }
/* narrow: the time tag drops its glyph so "Before open" fits the 104px column */
@container (max-width:900px) { html.at-done .ec-at-tbl td:nth-child(2) .ec-tag i { display:none; } html.at-done .ec .ec-at-tbl td:nth-child(2) .ec-tag:not(#_):not(#_) { padding:0 6px; } }

/* Attio table polish (user, 2026-10-30, the /government + /screener recipe). Widths follow content: Company (the one
   long text column) takes every spare pixel, the tag / number columns are set a little wider than what they hold.
   Tint from B2: header, first column and the day bands stay as they are; every other body cell gets --at-cell, hover
   on the cells. A thin grey type icon starts each heading (HIC in earnings/index.html). Values in ink. Desktop only: html.aiq-desk
   (_phone.html), so a narrow workspace-tab iframe gets it too; phones keep their table. */
.ec-at-tbl .ec-hic { display:none; }
html.aiq-desk.at-done .ec { --at-cell: #FAFAFE; --at-hov: #F3F4FB; }
html.aiq-desk.at-done[data-theme="dark"] .ec { --at-cell: color-mix(in srgb, #fff 1.8%, var(--a-bg)); --at-hov: color-mix(in srgb, #fff 4.5%, var(--a-bg)); }
html.aiq-desk.at-done .ec-at-tbl col.c-time { width:136px; } html.aiq-desk.at-done .ec-at-tbl col.c-cap { width:124px; } html.aiq-desk.at-done .ec-at-tbl col.c-res { width:160px; }
html.aiq-desk.at-done .ec-at-tbl col.c-n:not(.c-cap) { width:108px; } html.aiq-desk.at-done .ec-at-tbl col.c-n:not(.c-cap) + col.c-n { width:88px; }
@container (max-width:900px) {
  html.aiq-desk.at-done .ec-at-tbl col.c-time { width:116px; } html.aiq-desk.at-done .ec-at-tbl col.c-cap { width:120px; } html.aiq-desk.at-done .ec-at-tbl col.c-res { width:136px; }
  html.aiq-desk.at-done .ec-at-tbl col.c-n:not(.c-cap) { width:104px; } html.aiq-desk.at-done .ec-at-tbl col.c-n:not(.c-cap) + col.c-n { width:80px; }
  /* the result tag drops its glyph too, so "Missed −61.9%" fits */
  html.aiq-desk.at-done .ec-at-tbl td:last-child .ec-tag i { display:none; } html.aiq-desk.at-done .ec .ec-at-tbl td:last-child .ec-tag:not(#_):not(#_) { padding:0 6px; }
}
html.aiq-desk.at-done .ec .ec-at-tbl:not(#_):not(#_):not(#_) > tbody > tr:not(.ec-gr) > td { background:var(--at-cell) !important; }
html.aiq-desk.at-done .ec .ec-at-tbl:not(#_):not(#_):not(#_) > tbody > tr:not(.ec-gr):hover > :is(td, th) { background:var(--at-hov) !important; }
html.aiq-desk.at-done .ec-at-tbl thead th .ec-hic { display:inline-flex; vertical-align:-2px; margin-right:6px; color:var(--a-mute); }
html.aiq-desk.at-done .ec-at-tbl thead th { position:relative; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
/* the column menu's ⌄ floats over the cell edge on hover instead of holding 22px in every heading (it pushed the
   numeric labels off their figures and squeezed Company at ~1000px) */
html.aiq-desk.at-done .ec-at-tbl thead th .atc-btn:not(#_):not(#_) { position:absolute; top:11px; right:4px; margin:0; }   /* 40px heading, 18px button */
html.aiq-desk.at-done .ec-at-tbl thead th.num .atc-btn:not(#_):not(#_) { right:auto; left:4px; }
/* whole-pixel edges: the toolbar is content-box 48px + its 1px rule (border-box left 47px, so the 28px buttons sat
   on .5px), and the 22px tags sit 7px from the row's top instead of riding the baseline (.18px off, blurry ring) */
html.aiq-desk.at-done .ec-wk-head:not(#_) { box-sizing:content-box; height:48px; min-height:0; }
html.aiq-desk.at-done .ec .ec-at-tbl td .ec-tag:not(#_):not(#_) { vertical-align:top; margin-top:-1px; }

/* tick boxes (user, 2026-10-31: "the same tick boxes as My stocks"): one before each company + select-all in the heading;
   ticked rows get the lists' tint and the .msa-bulk bar under the table offers Add to calendar. A copy of My stocks'
   box (aiq-table-attio.css .msa-ck): 16px, radius 5, no border (base input styles add one), inset ring, 8px to the logo. */
html.at-done .ec-at-tbl:not(#_):not(#_):not(#_) input.ec-ck[type="checkbox"] { appearance:none; -webkit-appearance:none; flex:none; display:inline-block; vertical-align:-3px; width:16px; height:16px; margin:0 8px 0 0; padding:0; border:0 !important; border-radius:5px !important; cursor:pointer;
  background:var(--a-card, var(--a-bg)) !important; box-shadow:inset 0 0 0 1px rgba(0,0,0,.18); }
html.at-done:not([data-theme="light"]) .ec-at-tbl:not(#_):not(#_):not(#_) input.ec-ck[type="checkbox"] { box-shadow:inset 0 0 0 1px rgba(255,255,255,.22); }
html.at-done .ec-at-tbl:not(#_):not(#_):not(#_) input.ec-ck[type="checkbox"]:checked { box-shadow:none; background:var(--a-blue) center/16px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-4.9' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important; }
html.at-done .ec-at-tbl:not(#_):not(#_):not(#_) input.ec-ck[type="checkbox"]:indeterminate { box-shadow:none; background:var(--a-blue) center/16px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8h7' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") !important; }
html.at-done .ec-at-tbl .ec-rec input.ec-ck:not(#_):not(#_):not(#_) { margin-right:0; }   /* .ec-rec's 8px gap does it */
html.at-done .ec .ec-at-tbl tr.sel > :is(th, td):not(#_):not(#_) { background:color-mix(in srgb, var(--a-blue) 7%, var(--a-bg)) !important; }
/* ── One row on desktop (2026-10-31, the site standard: docs/features/tables.md "Header button kinds"; as Congress /
   Insiders). The row is rendered in place by earnings/index.html (no script moves it) and every rule gates on
   html.aiq-desk, set before paint, so the first paint is already one row; phones keep the bordered controls + chips.
   Left: which companies — still one dropdown (universe tabs stay banned, 2026-10-15), now a plain word with its colour
   tile (2026-10-29 pick). Right: Filter (+ count, blue when on) · search icon that opens · the week with ‹ › · View
   settings, all plain words. No blue button: the page creates nothing. ── */
html:not(.aiq-desk) .ec-fn { display:none !important; }
html.aiq-desk.at-done .ec-wk-head:not(#_) { gap:2px; padding:0 12px; container-type:inline-size; }
html.aiq-desk.at-done .ec-wk-head > .ec-chips:not(#_) { display:none !important; }
html.aiq-desk.at-done .ec-wk-head > .ec-fbtn { order:2; margin-left:auto; }
html.aiq-desk.at-done .ec-wk-head > .ec-bbar { order:3; margin-left:0; }
html.aiq-desk.at-done .ec-wk-head > .ec-wk-lbl { order:4; } html.aiq-desk.at-done .ec-wk-head > #ec-prev { order:5; }
html.aiq-desk.at-done .ec-wk-head > #ec-next { order:6; } html.aiq-desk.at-done .ec-wk-head > .ec-more { order:7; }
/* plain borderless ink words, hover = light fill */
html.aiq-desk.at-done .ec-wk-head :is(.ec-vbtn, .ec-fbtn):not(#_) { box-shadow:none; background:transparent; color:var(--a-ink); padding:0 9px; }
html.aiq-desk.at-done .ec-wk-head .ec-vbtn:not(#_) { margin-left:-2px; }
/* the companies dropdown is a button (user, 2026-10-31: as My stocks' "Overview ⌄", .at-btn.msa-view): white, inset
   ring + soft shadow, 28px, 8px corners */
html.aiq-desk.at-done .ec-wk-head .ec-vbtn:not(#_):not(#_) { height:28px; gap:6px; padding:0 8px 0 7px; margin-left:0; border-radius:8px; background:var(--a-bg);
  box-shadow:inset 0 0 0 1px var(--a-ring), var(--a-btn-shadow); }
html.aiq-desk.at-done .ec-wk-head .ec-vbtn:hover:not(#_):not(#_) { background:var(--a-hover); }
/* Filter: far right, after the week's ‹ ›, a solid blue button with white text and its icon (user, 2026-10-31, as the
   blue buttons on the other pages); the count of filters on shows inside it */
html.aiq-desk.at-done .ec-wk-head > .ec-fbtn:not(#_) { order:8; margin-left:8px; }
html.aiq-desk.at-done .ec-wk-head .ec-fbtn:not(#_):not(#_) { gap:6px; height:28px; padding:0 10px; border-radius:8px; background:#455DDC; color:#FFFFFF; }
html.aiq-desk.at-done .ec-wk-head .ec-fbtn:is(:hover, .is-on):not(#_):not(#_) { background:#3A50C4; }
html.aiq-desk.at-done .ec-wk-head .ec-fbtn > svg:not(#_) { display:inline-block; color:#FFFFFF; }
html.aiq-desk.at-done .ec-wk-head > .ec-bbar:not(#_) { margin-left:auto; }
/* no View settings on desktop (user, 2026-10-31): companies = the left dropdown, sector / report time = Filter.
   The pop-up stays in the DOM because the script reads its selects. */
html.aiq-desk.at-done .ec-wk-head > .ec-more:not(#_) { display:none; }
/* the rule under the toolbar is a hairline */
html.aiq-desk.at-done .ec-wk-head:not(#_):not(#_) { border-bottom-width:.5px; }
html.aiq-desk.at-done .ec-wk-head .ec-fn:empty { display:none; }
html.aiq-desk.at-done .ec-wk-head .ec-vbtn > svg.cd { color:var(--a-mute); }
/* View settings: the shared sliders + label + ⌄, as a plain word (no outline, never blue on desktop) */
html.at-shell.at-done.aiq-desk main .ec-wk-head #ec-more-btn:not(#_):not(#_) { width:auto; height:28px !important; padding:0 9px !important; gap:6px; margin-left:4px;
  border:0 !important; border-radius:8px !important; box-shadow:none !important; background:transparent !important; color:var(--a-ink) !important;
  font:500 14px/20px Inter, system-ui, sans-serif !important; white-space:nowrap; }
html.at-shell.at-done.aiq-desk main .ec-wk-head #ec-more-btn:hover:not(#_):not(#_) { background:var(--a-fill) !important; }
html.aiq-desk.at-done .ec-wk-head #ec-more-btn .at-bic { display:none; }
html.aiq-desk.at-done .ec-wk-head #ec-more-btn .at-car { font-size:11px; color:var(--a-mute); }
html.aiq-desk.at-done .ec-more-pop:not(#_) { right:0; left:auto; }
/* the week: plain ink words with quiet ‹ › */
html.aiq-desk.at-done .ec-wk-head .ec-wk-lbl:not(#_) { margin:0 2px 0 6px; }
/* search: an icon that opens into a field, stays open while it holds a query (Insiders' recipe) */
html.aiq-desk.at-done .ec-bbar .ec-search { position:relative; }
html.aiq-desk.at-done .ec-bbar .ec-search .ec-kbd { display:none; }
html.aiq-desk.at-done .ec-bbar .ec-search svg { position:absolute; pointer-events:none; }
html.aiq-desk.at-done .ec-bbar .ec-search input:not(#_) { width:30px; padding:0 0 0 28px; cursor:pointer; transition:width .16s ease; }
html.aiq-desk.at-done .ec-bbar .ec-search input:not(#_)::placeholder { color:transparent; }
html.aiq-desk.at-done .ec-bbar .ec-search:hover input:not(#_) { background:var(--a-fill); }
html.aiq-desk.at-done .ec-bbar .ec-search input:is(:focus, :not(:placeholder-shown)):not(#_) { width:170px; cursor:text; background:var(--a-fill); }
html.aiq-desk.at-done .ec-bbar .ec-search input:focus:not(#_)::placeholder { color:var(--a-faint); }
/* a narrow desktop table (768px window, sidebar open: ~490px box): the fixed number columns left Company 0px (and the old
   viewport rule in the template hid the Market cap header but not its cells, so every heading sat one column off). It
   keeps every column and scrolls in its own box */
@container (max-width: 640px) {
  html.aiq-desk.at-done #ec-table { overflow-x:auto; }
  html.aiq-desk.at-done .ec-at-tbl { min-width:680px; }
}
/* narrow rows (a workspace tab, sidebar open): View settings keeps its sliders icon only */
@container (max-width: 640px) {
  html.at-shell.at-done.aiq-desk main .ec-wk-head #ec-more-btn:not(#_):not(#_) { font-size:0 !important; width:28px; padding:0 !important; justify-content:center; }
  html.aiq-desk.at-done .ec-wk-head #ec-more-btn .at-bic { display:inline-block; font-size:15px; }
  html.aiq-desk.at-done .ec-wk-head #ec-more-btn .at-car { display:none; }
}

/* the line under the toolbar was two: its .5px rule + the table's own 1px top border stacked under it — keep only the hairline */
html.aiq-desk.at-done .ec .ec-at-tbl:not(#_):not(#_) { border-top:0 !important; }
