/* THE CALM SEQUENCES, INSIGHTS, ADMIN AND FIND LEADS WINDOW, IN THE PREVIEW (R-2145, R-2148, R-2150, R-2144; the owner, 3 Dec
   2026, D-1023: "okay build this now", and 4 Dec, D-1025: "Now do the rest"). Drawings: docs/design/CALM_SCREENS.md, pictures 24,
   30, 34 and 22. Every rule starts html[data-new-pace][data-calm], so nothing here reaches a person who has not switched the calm
   screens on, and nothing reaches a phone (99zzzz5 sets data-calm on a computer only). No transition: all; sizes on the scale.
   What each screen keeps: every number, every word a person acts on and every button; they are drawn smaller, on fewer lines.
   The one thing CSS cannot do — a sequence's numbers in columns — is public/js/99zzzza-calm-more.js. Guard: test/calm-more-smoke.mjs. */

/* ── 1. Sequences: numbers in columns, 51px rows, the open row's buttons as quiet words, the explaining sentence under the list ── */
html[data-new-pace][data-calm] .np-pl-sequences :has(> .wf-seq-head){display:flex;flex-direction:column}
html[data-new-pace][data-calm] .np-pl-sequences .wf-seq-head{order:9;margin:var(--np-space-3) 0 0}
html[data-new-pace][data-calm] .np-pl-sequences .wf-seq-head > .fs-13{font-size:var(--np-text-md)}
html[data-new-pace][data-calm] .np-pl-sequences .wf-seq-head .btn{min-height:32px;border-color:transparent;background:transparent;box-shadow:none}
html[data-new-pace][data-calm] .np-seq-list{--calm-seq-cols:minmax(0,1fr) repeat(4,96px) 168px 36px}
html[data-new-pace][data-calm] .np-list > .wf-seq{padding:var(--np-space-1_5) var(--np-space-5)}
html[data-new-pace][data-calm] .np-seq-list .calm-seq-cols{display:grid;grid-template-columns:var(--calm-seq-cols);gap:0 var(--np-space-4);padding:var(--np-space-2) var(--np-space-5);
  font:700 var(--np-text-min)/1.4 var(--font);letter-spacing:.6px;text-transform:uppercase;color:var(--fx-text2)}
html[data-new-pace][data-calm] .np-seq-list .calm-seq-cols > :not(:first-child){text-align:right}
html[data-new-pace][data-calm] .np-seq-list > .wf-seq:nth-child(2){border-top:1px solid var(--line)}
html[data-new-pace][data-calm] .np-seq-list .wf-seq-top{grid-template-columns:var(--calm-seq-cols);gap:0 var(--np-space-4)}
html[data-new-pace][data-calm] .np-seq-list .wf-seq-top > :first-child{grid-column:1}
html[data-new-pace][data-calm] .np-seq-list .wf-seq-top:not(:has(> .calm-seq-n)) > :first-child{grid-column:1 / 6}
html[data-new-pace][data-calm] .np-seq-list .wf-seq-top > .np-st{grid-column:6;justify-self:end}
html[data-new-pace][data-calm] .np-seq-list .wf-seq-top > .np-seq-chev{grid-column:7;grid-row:1;width:36px;height:36px}
html[data-new-pace][data-calm] .np-seq-list .wf-seq-top:not(:has(> .np-st)) > .wf-seq-acts{grid-column:6 / -1;grid-row:1}
html[data-new-pace][data-calm] .np-seq-list .calm-seq-n{text-align:right;white-space:nowrap;font:600 var(--np-text-lg)/1.3 var(--font);font-variant-numeric:tabular-nums;color:var(--fx-text)}
html[data-new-pace][data-calm] .np-seq-list .calm-seq-n small{font:400 var(--np-text-sm)/1.3 var(--font);color:var(--fx-text2)}
html[data-new-pace][data-calm] .np-seq-list .calm-seq-n.is-zero{font-weight:400;color:var(--fx-text3)}
html[data-new-pace][data-calm] .np-seq-list .calm-seq-said{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
html[data-new-pace][data-calm] .np-list .np-seq-onoff{padding:0;background:transparent}
html[data-new-pace][data-calm] .np-seq-list .np-seq-row.is-open .wf-seq-acts{justify-content:flex-end;gap:var(--np-space-1);padding-top:var(--np-space-1)}
html[data-new-pace][data-calm] .np-list .wf-seq-acts .btn{min-height:32px;padding:0 var(--np-space-2_5);border-color:transparent;background:transparent;box-shadow:none;font-weight:600;color:var(--fx-text)}
html[data-new-pace][data-calm] .np-seq-gone .wf-seq-top > :first-child{display:flex;flex-wrap:wrap;align-items:baseline;gap:0 var(--np-space-2)}
html[data-new-pace][data-calm] .np-seq-gone .wf-seq-acts .btn{color:var(--accent)}

/* ── 2. Insights (Lead insights): the heading one line, each tile two lines, a lower chart, the two splits side by side ── */
/* as drawn (R-2157, picture 30): the page's name is already in the top line, so the heading and its sentence are kept for a screen
   reader only; the filters are a part of the top line (the frame lifts .oi-controls, 99zzzz5), or one quiet row where they do not fit
   (as high as its fields, so the page starts no lower than it did) */
html[data-new-pace][data-calm] .np-pl-insights .oi-head{align-items:center;margin:0}
html[data-new-pace][data-calm] .np-pl-insights .oi-head > :first-child{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
html[data-new-pace][data-calm] #content .calm-lift.oi-controls{justify-content:flex-end}
html[data-new-pace][data-calm] #content .calm-row.oi-controls{min-height:var(--np-space-9)}
html[data-new-pace][data-calm] #content :is(.calm-lift,.calm-row).oi-controls{column-gap:var(--np-space-3)}
html[data-new-pace][data-calm] #content :is(.calm-lift,.calm-row).oi-controls .oi-f{flex:none;gap:var(--np-space-0_5);font-size:var(--np-text-sm);font-weight:500;white-space:nowrap}
html[data-new-pace][data-calm] #content :is(.calm-lift,.calm-row).oi-controls :is(.sel,.inp){width:auto;max-width:14em;padding:0 var(--np-space-1_5);background:transparent;border-color:transparent;box-shadow:none;font:600 var(--np-text-sm)/1 var(--font);color:var(--text)}
html[data-new-pace][data-calm] #content :is(.calm-lift,.calm-row).oi-controls :is(.sel,.inp):hover{background:var(--hover)}
html[data-new-pace][data-calm] .np-pl-insights .oi-f{flex-direction:row;align-items:center;gap:var(--np-space-1_5)}
html[data-new-pace][data-calm] .np-pl-insights .oi-f :is(.sel,.inp){height:36px;min-height:36px}
html[data-new-pace][data-calm] .np-pl-insights .oi-tiles{margin-bottom:var(--np-space-3)}
html[data-new-pace][data-calm] .np-pl-insights .oi-tile{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:baseline;gap:0 var(--np-space-2);padding:var(--np-space-2) var(--np-space-4)}
html[data-new-pace][data-calm] .np-pl-insights .oi-tile .oi-n,html[data-new-pace][data-calm] .np-pl-insights .oi-tile:first-child .oi-n{font-size:var(--np-text-3xl)}
html[data-new-pace][data-calm] .np-pl-insights .oi-tile .oi-l{margin:0}
html[data-new-pace][data-calm] .np-pl-insights .oi-tile .oi-s{grid-column:1 / -1}
html[data-new-pace][data-calm] .np-pl-insights .oi-card{gap:var(--np-space-2);margin-bottom:var(--np-space-3);padding:var(--np-space-3) var(--np-space-4)}
/* as drawn (R-2157): the zoom buttons stand in the chart's head, after Daily and Weekly. They stay in the chart's own box (16-insights
   draws them with the chart); the box gives its place to its two children, so the buttons can take the head's row. "Scroll or pinch the
   chart to zoom" is kept for a screen reader; the dates a zoomed chart shows stay in sight */
html[data-new-pace][data-calm] .np-pl-insights .oi-card:has(> .oi-chart-wrap){display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:var(--np-space-2)}
html[data-new-pace][data-calm] .np-pl-insights .oi-card > .oi-chart-head{grid-column:1;grid-row:1}
html[data-new-pace][data-calm] .np-pl-insights .oi-card > .oi-chart-wrap{display:contents}
html[data-new-pace][data-calm] .np-pl-insights .oi-card > .oi-chart-wrap > .oi-chart{grid-column:1 / -1;grid-row:2}
html[data-new-pace][data-calm] .np-pl-insights .oi-card > .oi-chart-wrap > .oi-zoombar{grid-column:2;grid-row:1;gap:var(--np-space-0_5);margin-top:0}
html[data-new-pace][data-calm] .np-pl-insights .oi-zbtn{min-width:var(--np-space-8);height:var(--np-space-8);padding:0 var(--np-space-2);background:transparent;border-color:transparent;box-shadow:none;border-radius:var(--np-round-sm);font-size:var(--np-text-body);color:var(--text2)}
html[data-new-pace][data-calm] .np-pl-insights .oi-zbtn:not(:disabled):hover{background:var(--hover);color:var(--text)}
html[data-new-pace][data-calm] .np-pl-insights .oi-zbtn.oi-zreset{font-size:var(--np-text-sm);font-weight:600}
html[data-new-pace][data-calm] .np-pl-insights .oi-zoombar:not(:has(.oi-zreset)) .oi-zhint{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
/* the axis words stay the look's small text however wide the chart is stretched (--calm-ax: 99zzzza calmChartWords) */
html[data-new-pace][data-calm] .np-pl-insights .oi-ax{font-size:calc(var(--np-text-min) * var(--calm-ax,1))}
html[data-new-pace][data-calm] .np-pl-insights .oi-card > .td-h{font-size:var(--np-text-body)}
html[data-new-pace][data-calm] .np-pl-insights .oi-table :is(th,td){padding-top:var(--np-space-1_5);padding-bottom:var(--np-space-1_5)}
html[data-new-pace][data-calm] .np-pl-insights .oi-splits{grid-template-columns:repeat(auto-fit,minmax(480px,1fr));gap:0 var(--np-space-3)}

/* ── 3. Admin: its twelve parts as quiet words on one line, the role cards two lines high ── */
html[data-new-pace][data-calm] .admin-sections{margin:0 0 var(--np-space-3)}
html[data-new-pace][data-calm] .admin-sections .np-chips{gap:var(--np-space-0_5);padding-bottom:var(--np-space-1_5);border-bottom:1px solid var(--line)}
html[data-new-pace][data-calm] .admin-sections .np-chip{min-height:32px;padding:0 var(--np-space-2_5);border-color:transparent;border-radius:var(--np-round-sm);background:transparent;box-shadow:none;
  font:600 var(--np-text-md)/1 var(--font);color:var(--fx-text2)}
html[data-new-pace][data-calm] .admin-sections .np-chip[aria-pressed="true"]{background:var(--accent-l);color:var(--accent)}
/* as drawn (R-2157, picture 34): how many users there are, the view switch and "Deactivated users" stand on
   the search row as quiet words (99zzzza calmAdminRow); a role card says only how many are NOT active; in a role's tab the role is not
   repeated, "Active" is not written ("Inactive" is) and Auto RA / Manual RA are quiet words that still switch. A person's row is old
   markup with its own inline styling, so the two things taken off it need !important (shortcut: until the row is drawn in the one look) */
html[data-new-pace][data-calm] .adm-rowtools .adm-said{font-size:var(--np-text-sm);color:var(--text3);white-space:nowrap}
html[data-new-pace][data-calm] #content div:has(> .adm-rowtools){display:flex;justify-content:space-between;gap:var(--np-space-3)}
html[data-new-pace][data-calm] .adm-rowtools{display:flex;align-items:center;gap:var(--np-space-3)}
html[data-new-pace][data-calm] .adm-rowtools .np-seg{padding:0;background:transparent}
html[data-new-pace][data-calm] .adm-rowtools :is(.np-seg > button,.btn){min-height:var(--np-space-8);padding:0 var(--np-space-2_5);border:0;border-radius:var(--np-round-sm);background:transparent;box-shadow:none;font:600 var(--np-text-sm)/1 var(--font);color:var(--text2)}
html[data-new-pace][data-calm] .adm-rowtools .np-seg > button[aria-pressed="true"]{background:var(--accent-l);color:var(--accent)}
html[data-new-pace][data-calm] body.ui-kit .adm-role-card .adm-act{display:none}
html[data-new-pace][data-calm] #content .adm-row-state.is-active{display:none}
html[data-new-pace][data-calm] .adm-role-tab .adm-row-role{display:none}
html[data-new-pace][data-calm] #content .adm-ra{padding:0 !important;background:transparent !important}
html[data-new-pace][data-calm] #content .adm-ra:not(.is-manual){color:var(--text2) !important}
html[data-new-pace][data-calm] #content .adm-ra:hover{text-decoration:underline}
html[data-new-pace][data-calm] #content .adm-ra-g{display:none}
html[data-new-pace][data-calm] body.ui-kit .adm-role-grid{gap:var(--np-space-2)}
html[data-new-pace][data-calm] body.ui-kit .adm-role-card{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:baseline;gap:0 var(--np-space-2);padding:var(--np-space-2_5) var(--np-space-3_5)}
html[data-new-pace][data-calm] body.ui-kit .adm-role-card > :first-child{grid-column:1 / -1}
html[data-new-pace][data-calm] body.ui-kit .adm-role-card .fs-28{font-size:var(--np-text-3xl);line-height:1.2}

/* ── 4. The Find leads window (Market job search, At a company, I already have one): Back and Close quiet words; on a wide screen
      the steps stand in the head's own line; the first step's search and its days on one line; shorter rows ── */
html[data-new-pace][data-calm] .fl-win:is([data-win="market"],[data-win="company"],[data-win="have"]) .fl-win-head{min-height:52px;padding:0 var(--np-space-4)}
html[data-new-pace][data-calm] .fl-win:is([data-win="market"],[data-win="company"],[data-win="have"]) .fl-win-head .btn{min-height:36px;padding:0 var(--np-space-2_5);border-color:transparent;background:transparent;box-shadow:none;font-weight:600}
html[data-new-pace][data-calm] .fl-win:is([data-win="market"],[data-win="company"]) .fl-win-steps{padding:var(--np-space-2) var(--np-space-5)}
@media (min-width:1400px){
  html[data-new-pace][data-calm] .fl-win:is([data-win="market"],[data-win="company"]) .fl-win-title{flex:0 1 300px;text-align:left}
  html[data-new-pace][data-calm] .fl-win:is([data-win="market"],[data-win="company"]) .fl-win-title b{font-size:var(--np-text-body)}
  html[data-new-pace][data-calm] .fl-win:is([data-win="market"],[data-win="company"]) .fl-win-title small{font-size:var(--np-text-sm)}
  html[data-new-pace][data-calm] .fl-win:is([data-win="market"],[data-win="company"]) .fl-win-close{margin-left:auto}
  html[data-new-pace][data-calm] .fl-win:is([data-win="market"],[data-win="company"]) .fl-win-steps{position:absolute;top:0;left:50%;transform:translateX(-50%);height:52px;flex-wrap:nowrap;align-items:center;padding:0;border-bottom:0}
}
html[data-new-pace][data-calm] .fl-win[data-win="market"] .fl-win-in{padding-top:var(--np-space-3)}
html[data-new-pace][data-calm] .fl-win[data-win="market"] .fl-step-1{flex-direction:row;flex-wrap:wrap;align-items:center;gap:var(--np-space-2) var(--np-space-4);border:0;background:transparent;box-shadow:none}
html[data-new-pace][data-calm] .fl-win[data-win="market"] .fl-step-1 > .fl-h{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%)}
html[data-new-pace][data-calm] .fl-win[data-win="market"] .fl-step-1 > .fl-find{flex:1 1 320px;max-width:540px;height:var(--np-h-control-sm);margin:0}
html[data-new-pace][data-calm] .fl-win[data-win="market"] .fl-step-1 > .fl-when{flex:0 1 auto;margin:0 0 0 auto;padding:0;background:transparent;box-shadow:none}
html[data-new-pace][data-calm] .fl-win[data-win="market"] .fl-step-1 > .fl-when > .fc{min-height:32px;border-radius:var(--np-round-sm);font-weight:600;color:var(--fx-text2)}
html[data-new-pace][data-calm] .fl-win[data-win="market"] .fl-step-1 > .fl-when > .fc[aria-pressed="true"]{background:var(--accent-l);color:var(--accent)}
html[data-new-pace][data-calm] .fl-win[data-win="market"] .fl-step-1 > :not(.fl-h):not(.fl-find):not(.fl-when){flex:1 1 100%;min-width:0}
html[data-new-pace][data-calm] .fl-win[data-win="market"] .fl-step-1 .fl-group{padding:var(--np-space-1_5) 0 var(--np-space-1);background:transparent;font-size:var(--np-text-min)}
html[data-new-pace][data-calm] .fl-win[data-win="market"] .fl-step-1 .fl-opt-pick{padding:var(--np-space-2) 0}
html[data-new-pace][data-calm] .fl-win[data-win="market"] .fl-step-1 :is(.fl-foot,.fl-more){padding:var(--np-space-2) 0;font-size:var(--np-text-sm)}
html[data-new-pace][data-calm] .fl-win[data-win="market"] .fl-step-1 :is(.fl-foot,.fl-more) .btn-outline{min-height:32px;padding:0 var(--np-space-2_5);border-color:transparent;background:transparent;box-shadow:none;font-weight:600;color:var(--accent)}

@media (hover:hover) and (pointer:fine){
  html[data-new-pace][data-calm] .np-list .wf-seq-acts .btn:hover,html[data-new-pace][data-calm] .np-pl-sequences .wf-seq-head .btn:hover,
  html[data-new-pace][data-calm] .admin-sections .np-chip:not([aria-pressed="true"]):hover,
  html[data-new-pace][data-calm] .fl-win:is([data-win="market"],[data-win="company"],[data-win="have"]) .fl-win-head .btn:hover,
  html[data-new-pace][data-calm] .fl-win[data-win="market"] .fl-step-1 > .fl-when > .fc:not([aria-pressed="true"]):hover{background:var(--hover);filter:none;color:var(--fx-text)}
  html[data-new-pace][data-calm] .fl-win[data-win="market"] .fl-step-1 :is(.fl-foot,.fl-more) .btn-outline:hover{background:var(--hover);filter:none}
}
