/* ==========================================================================
   Investor Brain -- Sectors tab (1-Oct-2026: "sector wise summary and
   comparison"). Used by /brain/sectors (workspace shell, linked from the
   page) and /brain/briefing/sectors (linked by
   brain_briefing/base.html.jinja). Markup:
   templates/brain_v2/_sectors.html.jinja. Colours: tokens.css custom
   properties only (light + dark).
   ========================================================================== */

.sec-page { min-width: 0; }
/* briefing shell: .bf-main (briefing.css) sets the width and padding */

/* ---------- Universe switch + Summary | Comparison (plain links) ---------- */
.sec-controls { display: grid; gap: var(--s3); margin-bottom: var(--s4); }
.sec-universe {
  display: inline-flex; width: max-content; max-width: 100%; gap: 2px; padding: 3px;
  background: var(--panel-3); border-radius: var(--r-md);
}
.sec-seg {
  padding: 6px 14px; border-radius: var(--r-sm); white-space: nowrap;
  font-size: var(--text-sm); font-weight: 700; color: var(--muted);
}
.sec-seg:hover { color: var(--text); }
.sec-seg[aria-current="true"] { background: var(--panel); color: var(--text); box-shadow: var(--shadow-sm); }
.sec-seg .sec-n { font-weight: 500; font-variant-numeric: tabular-nums; }

.sec-tabs {
  display: flex; gap: var(--s1); border-bottom: 1px solid var(--border);
  overflow-x: auto; scrollbar-width: thin;
}
.sec-tab {
  display: inline-flex; align-items: center; white-space: nowrap;
  padding: var(--s3) var(--s4); margin-bottom: -1px;
  border-bottom: 2px solid transparent; border-radius: var(--r-sm) var(--r-sm) 0 0;
  font-weight: 700; font-size: var(--text-sm); color: var(--muted);
}
.sec-tab:hover { color: var(--text); background: var(--panel-2); }
.sec-tab:focus-visible { outline-offset: -2px; }
.sec-tab[aria-current="page"] { color: var(--accent-text); border-bottom-color: var(--accent); }

/* ---------- How to read this ---------- */
.sec-how { margin-bottom: var(--s4); border: 1px solid var(--border); border-radius: var(--r-md); background: var(--panel); }
.sec-how > summary {
  cursor: pointer; padding: var(--s2) var(--s4); border-radius: var(--r-md);
  font-size: var(--text-sm); font-weight: 700; color: var(--accent-text);
}
.sec-how[open] > summary { border-bottom: 1px solid var(--border); border-radius: var(--r-md) var(--r-md) 0 0; }
.sec-defs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4) var(--s6); padding: var(--s4); }
.sec-defs dt { font-size: var(--text-sm); font-weight: 700; }
.sec-defs dd { margin-top: 2px; font-size: var(--text-sm); line-height: 1.55; color: var(--muted); }
.sec-defs dd b { color: var(--text); }

/* ---------- Headline tiles + lean lines ---------- */
.sec-tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s3); list-style: none; }
.sec-tile {
  display: grid; align-content: start; gap: 2px; padding: var(--s3) var(--s4);
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--r-md);
}
.sec-tile b { font: 700 26px/1.15 var(--font-display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.sec-tile span { font-size: var(--text-xs); line-height: 1.35; color: var(--muted); }
.sec-lean { margin-top: var(--s3); font-size: var(--text-sm); line-height: 1.5; color: var(--muted); overflow-wrap: anywhere; }
.sec-lean + .sec-lean { margin-top: var(--s1); }
.sec-lean b { color: var(--text); }
.sec-lean.meta { font-size: var(--text-xs); }

/* ---------- Filter chips (links) ---------- */
.sec-filterbar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: var(--s2) var(--s4); margin: var(--s4) 0 var(--s2);
}
.sec-chips { display: flex; flex-wrap: wrap; gap: var(--s2); list-style: none; }
.sec-chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 var(--s3);
  border: 1px solid var(--border); border-radius: 999px; background: var(--panel);
  color: var(--muted); font-size: var(--text-xs); font-weight: 600;
}
a.sec-chip:hover { color: var(--text); border-color: var(--border-strong); }
.sec-chip[aria-current="true"] { background: var(--text); border-color: var(--text); color: var(--panel); }
.sec-chip[aria-disabled="true"] { background: transparent; border-style: dashed; color: var(--faint); cursor: not-allowed; }
.sec-chip-n { font-weight: 700; font-variant-numeric: tabular-nums; }
.sec-showing { color: var(--muted); }

/* Expand all / Collapse all: shown by sectors.js only */
.sec-bulk { display: flex; justify-content: flex-end; gap: var(--s2); margin: var(--s2) 0 0; }
.sec-bulk .ghost { min-height: 34px; font-size: var(--text-xs); }

/* ---------- Families + sector cards ---------- */
.sec-family { margin-top: var(--s5); }
.sec-fam {
  display: flex; align-items: center; gap: var(--s2); margin-bottom: var(--s2);
  font: 700 var(--text-xs)/1.3 var(--font-body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
}
.sec-fam .count, .sec-nolive .count, .sec-only .count {
  padding: 1px 7px; border-radius: 999px; background: var(--panel-3); color: var(--muted);
  font: 700 var(--text-2xs)/1.5 var(--font-body); letter-spacing: 0; font-variant-numeric: tabular-nums;
}
.sec-list { display: grid; gap: var(--s2); }
.sec-card { min-width: 0; background: var(--panel); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.sec-card[open] { border-color: var(--border-strong); }
.sec-card:target { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 18%, transparent); }

.sec-sum {
  display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; column-gap: var(--s3); row-gap: 8px;
  align-items: start; padding: var(--s3) var(--s4); cursor: pointer; list-style: none; border-radius: var(--r-lg);
}
.sec-sum::-webkit-details-marker { display: none; }
.sec-sum::marker { content: ""; }
.sec-sum:hover { background: var(--panel-2); }
.sec-sum:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.sec-card[open] > .sec-sum { border-radius: var(--r-lg) var(--r-lg) 0 0; }
.sec-chev { grid-column: 1; grid-row: 1; display: grid; place-items: center; height: 24px; color: var(--faint); transition: transform 0.15s var(--ease-out); }
.sec-card[open] > .sec-sum .sec-chev { transform: rotate(90deg); }
.sec-sum-main { grid-column: 2; grid-row: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 6px var(--s3); min-width: 0; }
.sec-name { font-weight: 700; font-size: var(--text-base); overflow-wrap: anywhere; }
.sec-due { grid-column: 3; grid-row: 1; white-space: nowrap; line-height: 24px; }
.sec-sum-views { grid-column: 2 / -1; grid-row: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-width: 0; }
.sec-claims { margin-left: var(--s1); }
.sec-badge {
  display: inline-flex; align-items: center; gap: 4px; padding: 1px 7px; border-radius: 999px;
  background: var(--blue-soft); color: var(--blue);
  font: 700 var(--text-2xs)/1.5 var(--font-body); letter-spacing: 0.02em;
}

/* One chip per current view: "Adviser · Positive", tone on the left edge */
.sec-vchip {
  display: inline-flex; align-items: baseline; gap: 4px; max-width: 100%; padding: 3px 9px;
  border: 1px solid var(--border); border-left-width: 3px; border-radius: var(--r-md);
  background: var(--panel); font-size: var(--text-xs); color: var(--muted);
}
.sec-vchip-adv { min-width: 0; color: var(--text); font-weight: 600; overflow-wrap: anywhere; }
.sec-vchip b { flex: none; font-weight: 700; }
.sec-vchip.bull { border-left-color: var(--accent); }
.sec-vchip.bull b { color: var(--accent-text); }
.sec-vchip.bear { border-left-color: var(--red); }
.sec-vchip.bear b { color: var(--red); }
.sec-vchip.mixed { border-left-color: var(--amber); }
.sec-vchip.mixed b { color: var(--amber); }
.sec-vchip.neutral { border-left-color: var(--border-strong); }
.sec-vchip.neutral b { color: var(--text); }

/* ---------- Expanded card ---------- */
.sec-body { min-width: 0; margin: 0 var(--s4); padding: var(--s4) 0 var(--s4) calc(20px + var(--s3)); border-top: 1px solid var(--border); }
.sec-views { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: var(--s3); list-style: none; }
.sec-view {
  min-width: 0; padding: var(--s3) var(--s4); background: var(--panel-2);
  border: 1px solid var(--border); border-left-width: 3px; border-radius: var(--r-md);
}
.sec-view.bull { border-left-color: var(--accent); }
.sec-view.bear { border-left-color: var(--red); }
.sec-view.mixed { border-left-color: var(--amber); }
.sec-view.neutral { border-left-color: var(--border-strong); }
.sec-view-head { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s1) var(--s2); }
.sec-adv { font-weight: 700; overflow-wrap: anywhere; }
a.sec-adv:hover { color: var(--accent-text); text-decoration: underline; text-underline-offset: 2px; }
.sec-own { min-width: 0; font-size: var(--text-sm); font-weight: 600; overflow-wrap: anywhere; }
.sec-view-meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s1) var(--s2); margin-top: var(--s2); }
.sec-view-meta:empty { display: none; }
.sec-tag {
  display: inline-flex; padding: 1px 7px; border: 1px solid var(--border-strong); border-radius: 999px;
  color: var(--muted); font: 700 var(--text-2xs)/1.5 var(--font-body); white-space: nowrap; cursor: help;
}
.sec-summary { margin-top: var(--s2); font-size: var(--text-sm); line-height: 1.5; overflow-wrap: anywhere; }
.sec-quote { margin: var(--s2) 0 0; padding: var(--s1) 0 var(--s1) var(--s3); border-left: 2px solid var(--border-strong); }
.sec-quote p { font-size: var(--text-sm); line-height: 1.55; color: var(--muted); overflow-wrap: anywhere; }
.sec-quote footer, .sec-from { margin-top: var(--s1); font-size: var(--text-xs); line-height: 1.45; color: var(--faint); overflow-wrap: anywhere; }
a.sec-src { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
a.sec-src:hover { color: var(--accent-text); }
.sec-change { margin-top: var(--s2); font-size: var(--text-xs); line-height: 1.6; color: var(--muted); overflow-wrap: anywhere; }
.sec-change-k {
  display: inline-block; margin-right: 6px; padding: 1px 7px; border-radius: 999px;
  background: var(--blue-soft); color: var(--blue); font: 700 var(--text-2xs)/1.5 var(--font-body); letter-spacing: 0.02em;
}
a.sec-prev { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }
a.sec-prev:hover { color: var(--accent-text); }
.sec-warn {
  display: flex; align-items: flex-start; gap: 6px; margin-top: var(--s2); padding: var(--s2) var(--s3);
  border-radius: var(--r-md); background: var(--amber-soft); color: var(--amber);
  font-size: var(--text-xs); font-weight: 600; line-height: 1.45;
}
.sec-warn .icon { margin-top: 1px; }
.sec-claim-line { margin-top: var(--s3); font-size: var(--text-sm); line-height: 1.5; color: var(--muted); overflow-wrap: anywhere; }
.sec-claim-line b { color: var(--text); }
.sec-off-list { display: grid; gap: var(--s2); margin-top: var(--s1); list-style: none; }
.sec-off-list li { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s1) var(--s2); font-size: var(--text-sm); color: var(--muted); }
.sec-off .sec-off-list { margin-top: 0; }
.sec-off-pill { background: transparent; color: var(--faint); border: 1px dashed var(--border-strong); padding: 3px 8px; }

/* Due-date basis (the operator's controls: .due-edit in components.css) */
.sec-basis { font-size: var(--text-2xs); font-weight: 600; color: var(--faint); cursor: help; white-space: nowrap; }
.sec-off-list .due-edit { flex-basis: 100%; margin-top: 0; }

/* No live adviser view */
.sec-nolive { margin-top: var(--s6); background: var(--panel); border: 1px solid var(--border); border-radius: var(--r-lg); }
.sec-nolive > summary { cursor: pointer; padding: var(--s3) var(--s4); border-radius: var(--r-lg); font-size: var(--text-sm); font-weight: 700; color: var(--muted); }
.sec-nolive > summary:hover { color: var(--text); }
.sec-nolive[open] > summary { border-bottom: 1px solid var(--border); border-radius: var(--r-lg) var(--r-lg) 0 0; }
.sec-nolive-list { list-style: none; }
.sec-nolive-list > li { padding: var(--s3) var(--s4); border-top: 1px solid var(--border); }
.sec-nolive-list > li:first-child { border-top: 0; }
.sec-nolive-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s1) var(--s3); }
.sec-nolive-list .sec-off-list { margin-top: var(--s2); }
.sec-nolive-list .sec-name { font-size: var(--text-sm); }
.sec-none { margin-top: var(--s4); }
.sec-empty { margin-top: var(--s2); }

/* ---------- Comparison: matrix + head to head blocks ---------- */
.sec-block { min-width: 0; margin-top: var(--s4); padding: var(--s5); }
.sec-block-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: var(--s3) var(--s5); margin-bottom: var(--s4); }
.sec-block-head > div { min-width: 0; flex: 1 1 320px; }
.sec-block-head h2 { font-size: var(--text-lg); }
.sec-block-head .meta { max-width: 80ch; margin-top: var(--s1); line-height: 1.45; color: var(--muted); }

/* Tables never widen the page: the wrapper scrolls (a focusable region). */
.sec-scroll {
  position: relative; overflow-x: auto; max-width: 100%;
  border: 1px solid var(--border); border-radius: var(--r-md); background: var(--panel);
  /* a link focused while tabbing backwards scrolls in beside the sticky
     first column, not under it (column width + the focus ring) */
  scroll-padding-inline-start: 210px;
}
.sec-scroll:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.sec-table { width: 100%; font-size: var(--text-sm); border-collapse: separate; border-spacing: 0; }
.sec-table th, .sec-table td { text-align: left; vertical-align: top; padding: var(--s3); border-top: 1px solid var(--border); }
.sec-table thead th {
  border-top: 0; background: var(--panel-2); vertical-align: bottom;
  font-size: var(--text-xs); font-weight: 700; color: var(--text); overflow-wrap: anywhere;
}
.sec-colmeta { display: block; margin-top: 2px; font-weight: 500; color: var(--muted); }
.sec-rowhead { font-weight: 700; overflow-wrap: anywhere; }
a.sec-name:hover { color: var(--accent-text); text-decoration: underline; text-underline-offset: 2px; }

.sec-matrix { min-width: 780px; }
/* the sector column stays put while a wide table scrolls sideways */
.sec-matrix tr > :first-child { position: sticky; left: 0; z-index: 1; min-width: 180px; max-width: 240px; background: var(--panel); box-shadow: 1px 0 0 var(--border); }
.sec-matrix thead tr > :first-child { background: var(--panel-2); }
.sec-matrix tr.sec-fam-row > th {
  position: static; max-width: none; box-shadow: none; background: var(--panel-2);
  padding: var(--s2) var(--s3); border-top: 1px solid var(--border-strong);
  font-size: var(--text-2xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
}
.sec-matrix tbody:first-of-type tr.sec-fam-row > th { border-top: 0; }
.sec-cell { min-width: 150px; }
.sec-cell.bull { background: color-mix(in oklab, var(--accent) 7%, var(--panel)); }
.sec-cell.bear { background: color-mix(in oklab, var(--red) 7%, var(--panel)); }
.sec-cell.mixed { background: color-mix(in oklab, var(--amber) 8%, var(--panel)); }
.sec-cell.neutral { background: var(--panel-2); }
.sec-cell.none { color: var(--faint); }
.sec-cell-link {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  margin: calc(-1 * var(--s1)); padding: var(--s1); border-radius: var(--r-sm); color: var(--text);
}
a.sec-cell-link:hover { background: color-mix(in oklab, var(--text) 6%, transparent); }
a.sec-cell-link:hover .sec-cell-own { text-decoration: underline; text-underline-offset: 2px; }
.sec-cell-own { font-size: var(--text-xs); line-height: 1.35; color: var(--muted); overflow-wrap: anywhere; }
.sec-cons { min-width: 140px; }
.sec-chg { min-width: 170px; font-size: var(--text-xs); }
.sec-chg-item { display: block; font-weight: 600; overflow-wrap: anywhere; }
.sec-chg-item + .sec-chg-item { margin-top: 6px; }
.sec-chg-item .meta { display: block; font-weight: 500; color: var(--muted); }
.sec-chg.none { color: var(--faint); }

/* Head to head */
.sec-h2h-form { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto; gap: var(--s3); align-items: end; }
.sec-h2h-form select { min-width: 0; text-overflow: ellipsis; }
.sec-vs { display: grid; place-items: center; height: 44px; font-weight: 700; color: var(--muted); }
.sec-h2h-result { margin-top: var(--s5); padding-top: var(--s4); border-top: 1px solid var(--border); }
.sec-h2h-title { font-size: var(--text-lg); overflow-wrap: anywhere; }
.sec-vs-inline { font: 500 var(--text-sm)/1 var(--font-body); letter-spacing: 0; color: var(--muted); }
.sec-counts { display: flex; flex-wrap: wrap; gap: var(--s3); margin: var(--s3) 0 var(--s4); list-style: none; }
.sec-count {
  padding: var(--s2) var(--s4); background: var(--panel); border: 1px solid var(--border);
  border-left-width: 3px; border-radius: var(--r-md); font-size: var(--text-sm); color: var(--muted);
}
.sec-count b { margin-right: 6px; font: 700 22px/1.2 var(--font-display); font-variant-numeric: tabular-nums; color: var(--text); }
.sec-count.bull { border-left-color: var(--accent); }
.sec-count.bear { border-left-color: var(--red); }
.sec-count.mixed { border-left-color: var(--amber); }
.sec-h2h-table { min-width: 0; }
.sec-only { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s5); margin-top: var(--s5); }
.sec-only-col { min-width: 0; }
.sec-only-col h4 { margin-bottom: var(--s2); font-size: var(--text-sm); overflow-wrap: anywhere; }
.sec-only-list { display: flex; flex-wrap: wrap; gap: var(--s2); list-style: none; }
.sec-only-list li {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 4px 3px 10px;
  background: var(--panel); border: 1px solid var(--border); border-radius: 999px; font-size: var(--text-xs);
}
.sec-only-name { font-weight: 600; overflow-wrap: anywhere; }

/* ---------- Responsive ---------- */
@media (max-width: 1050px) {
  .sec-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .sec-h2h-form { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
  .sec-h2h-form .primary { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 760px) {
  .sec-defs { grid-template-columns: 1fr; gap: var(--s3); }
  .sec-block { padding: var(--s4) var(--s3); }
  .sec-block-head h2 { font-size: var(--text-base); }
  .sec-h2h-form { grid-template-columns: minmax(0, 1fr); }
  .sec-vs { height: auto; }
  .sec-h2h-form .primary { justify-self: stretch; }
  .sec-only { grid-template-columns: minmax(0, 1fr); gap: var(--s4); }
  .sec-table { font-size: var(--text-xs); }

  /* Stacked cards: each row = its head across the top, then its cells in a
     two-column grid, each labelled with its column (data-label) -- no
     sideways scrolling. A cell link also names its adviser and sector for
     screen readers (visually-hidden context). */
  .sec-scroll { border: 0; background: transparent; overflow: visible; }
  .sec-stack, .sec-stack tbody { display: block; width: 100%; min-width: 0; }
  .sec-stack thead { display: none; }
  .sec-stack tr {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: var(--s2); overflow: hidden;
    border: 1px solid var(--border); border-radius: var(--r-md); background: var(--panel);
  }
  .sec-stack tr > * { width: auto; min-width: 0; max-width: none; border-top: 0; }
  .sec-stack tr > :first-child {
    grid-column: 1 / -1; position: static; box-shadow: none;
    background: var(--panel-2); border-bottom: 1px solid var(--border);
  }
  .sec-stack td { padding: var(--s2) var(--s3); }
  .sec-stack td[data-label]::before {
    content: attr(data-label); display: block; margin-bottom: 3px; overflow-wrap: anywhere;
    font: 700 var(--text-2xs)/1.3 var(--font-body); letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted);
  }
  .sec-stack td.none { display: none; }
  .sec-stack .sec-cell { min-width: 0; }
  .sec-stack .sec-cons, .sec-stack .sec-chg, .sec-stack .sec-rel { grid-column: 1 / -1; min-width: 0; }
  .sec-stack .sec-cons, .sec-stack .sec-rel { border-top: 1px solid var(--border); }
  .sec-matrix tr.sec-fam-row { display: block; margin: var(--s3) 0 var(--s1); border: 0; border-radius: 0; background: transparent; overflow: visible; }
  .sec-matrix tr.sec-fam-row > th { display: block; padding: 0; border: 0; background: transparent; }
  .sec-matrix tbody:first-of-type tr.sec-fam-row { margin-top: 0; }
}

@media (max-width: 560px) {
  .sec-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sec-tile:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .sec-tile b { font-size: 24px; }
  .sec-filterbar { gap: var(--s2); }
  .sec-sum { grid-template-columns: 20px minmax(0, 1fr); column-gap: var(--s2); padding: var(--s3); }
  .sec-due { grid-column: 2; grid-row: 3; white-space: normal; line-height: 1.4; }
  .sec-sum-views { grid-column: 2; }
  .sec-body { margin: 0 var(--s3); padding-left: 0; }
  .sec-nolive > summary, .sec-nolive-list > li { padding-left: var(--s3); padding-right: var(--s3); }
}

/* Asset allocation card: the watchlist securities of the selected universe. */
.sec-alloc { padding: var(--s4); margin-bottom: var(--s4); }
.sec-alloc-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--s2) var(--s4); margin-bottom: var(--s3); }
.sec-alloc-head h2 { font: 700 var(--text-base)/1.3 var(--font-display); }
.sec-alloc-links { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3); font-size: var(--text-sm); }
.sec-alloc-role { max-width: 340px; font-size: var(--text-xs); color: var(--muted); line-height: 1.4; }
.sec-alloc > .meta { margin-top: var(--s3); }

@media print {
  .sec-universe, .sec-tabs, .sec-filterbar, .sec-bulk, .sec-h2h-form, .sec-how { display: none !important; }
  .sec-scroll { overflow: visible; border: 0; }
  .sec-matrix tr > :first-child { position: static; box-shadow: none; }
}
