/*==============================================================================================================*/
/* BOXARR.test — operator main-tab LOOK chrome (ported layout; tokens from boxarr.cs3)                           */
/* ?v=head-1a1510-1                                                                                              */
/*==============================================================================================================*/

.page-desc { margin: 0.25rem 0 0; color: var(--textMuted); max-width: 62ch; }
.head-mark { display: flex; flex-direction: column; align-items: center; gap: 0.35rem; }
.head-mark .page-fn-icon { width: 72px; height: 72px; min-width: 72px; min-height: 72px; }
.panel-head .head-row { display: flex; gap: 1rem; align-items: flex-start; }
.panel-head .head-copy h1 { margin: 0; font-size: 1.45rem; color: var(--textColor); }
.panel-head.is-stuck { position: sticky; top: 0; z-index: 5; background: #1a1510; backdrop-filter: blur(4px); }

/* Nested card chrome (live SoT): outer sub-block + flush sub-head + inset inner-card.
   Shared margin tokens with Queue stacks: horizontal 1.25rem outer, 0.9rem inner. */
.sub-head {
  display: block;
  margin: 0 0 0.75rem;
  padding: 0.65rem 1.1rem 0.55rem;
  background: #1a1510;
  border: 0;
  border-bottom: 1px solid var(--gold);
  border-radius: 13px 13px 0 0;
}
.sub-head h2 {
  margin: 0;
  font-size: 1.12rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}
.sub-head-row { display: flex; align-items: center; gap: 0.75rem; flex: 1; }
.sub-block {
  margin: 0 1.25rem 1.1rem;
  padding: 0 0 0.85rem;
  min-height: 0;
  border: 1px solid var(--gold);
  border-radius: 14px;
  background: var(--dropFill, var(--cardBackground));
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(204, 163, 127, 0.22);
}
.sub-block[style*="--stack"] {
  border-color: color-mix(in srgb, var(--stack, var(--gold)) 55%, transparent);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45), inset 3px 0 0 var(--stack, var(--gold));
}
.inner-card {
  margin: 0 0.9rem;
  padding: 0.35rem 0.15rem 0.45rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.sub-block > :not(.sub-head):not(.inner-card):not(.action-bar) {
  padding-left: 0.9rem;
  padding-right: 0.9rem;
}
.muted, .inner-card .muted { color: var(--textMuted); }


.action-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; margin: 0.5rem 0; }
.action-bar .action-bar-end { margin-left: auto; }
.daily-ops-acts .btn[disabled] { opacity: 0.45; }

/* Date system: .qrange mirrors .range-chips (boxarr.cs3 SoT). Do not invent a second chip look. */
.qrange-window { font-size: 0.75rem; color: var(--textMuted); margin-left: 0.35rem; }

.qbody { margin-top: 0.5rem; }
.qwrap { display: block; }
.qstack { display: flex; flex-direction: column; gap: 0.75rem; }
.qgrab-head .svc-mark, .svc-mark.q-ico { display: inline-flex; align-items: center; gap: 0.25rem; position: relative; }
.qpane-icon { width: 28px; height: 28px; object-fit: contain; }
.qhead-lamp {
    width: 8px; height: 8px; border-radius: 50%; background: #666; box-shadow: 0 0 0 1px #444;
    display: inline-block; margin-left: 2px;
}
.qsum { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.qsum th, .qsum td { border-bottom: 1px solid var(--borderColor); padding: 0.35rem 0.45rem; text-align: left; }
.qsum th { color: var(--gold); font-weight: 600; }
.qcal-stub { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.5rem; }
.qcal-chip {
    min-width: 2.4rem; text-align: center; padding: 0.35rem 0.4rem; border-radius: var(--radius);
    background: var(--dropFill); border: 1px solid var(--borderColor); color: var(--textMuted); font-size: 0.75rem;
}
.qcal-chip.is-hot { border-color: var(--stack, var(--gold)); color: var(--textColor); background: color-mix(in srgb, var(--stack, var(--gold)) 22%, var(--dropFill)); }

/* Queue: grabber color SoT (styles/grabbers/*.cs3). No inline --stack hex. */
#tab-queue .qstack-card[data-grabber]
{
    --stack: var(--grabber-title);
    --stack-bg: var(--grabber-bg);
    --stack-trim: var(--grabber-trim);
    border-color: color-mix(in srgb, var(--grabber-trim) 55%, transparent);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45), inset 3px 0 0 var(--grabber-trim);
    background: color-mix(in srgb, var(--grabber-bg) 72%, var(--dropFill, #201612));
}

#tab-queue .qstack-card[data-grabber] > .qgrab-head
{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.55rem 0.75rem;
    color: var(--grabber-title);
    background: var(--grabber-bg);
    border-bottom-color: var(--grabber-trim);
}

#tab-queue .qstack-card[data-grabber] > .qgrab-head h2
{
    color: var(--grabber-title);
}

#tab-queue .qgrab-head .svc-icon,
#tab-queue .qgrab-head .svc-icon svg,
#tab-queue .qgrab-head .svc-icon .svc-family-svg
{
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    flex: 0 0 48px;
}

#tab-queue .qstack-card[data-grabber] .qsum
{
    background: color-mix(in srgb, var(--grabber-bg) 45%, transparent);
}

#tab-queue .qstack-card[data-grabber] .qsum th
{
    color: var(--grabber-title);
    background: color-mix(in srgb, var(--grabber-bg) 80%, #000);
    border-color: color-mix(in srgb, var(--grabber-trim) 50%, transparent);
}

#tab-queue .qstack-card[data-grabber] .qsum td
{
    color: color-mix(in srgb, var(--grabber-title) 88%, #fff);
    border-color: color-mix(in srgb, var(--grabber-trim) 28%, transparent);
}

#tab-queue .qstack-card[data-grabber] .qsum td.muted
{
    color: color-mix(in srgb, var(--grabber-title) 55%, #888);
}

#tab-queue .qstack-card[data-grabber] .range-chip
{
    border-color: var(--grabber-trim);
    background: color-mix(in srgb, var(--grabber-bg) 72%, transparent);
    color: var(--grabber-title);
}

#tab-queue .qstack-card[data-grabber] .range-chip:hover
{
    background: color-mix(in srgb, var(--grabber-title) 14%, var(--grabber-bg));
}

#tab-queue .qstack-card[data-grabber] .range-chip.is-on
{
    background: color-mix(in srgb, var(--grabber-title) 28%, var(--grabber-bg));
    color: var(--grabber-title);
    border-color: var(--grabber-trim);
}

#tab-queue .subtabs .subtab
{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

#tab-queue .subtabs .subtab .svc-icon + span
{
    display: none;
}

#tab-queue .subtabs .subtab .svc-icon,
#tab-queue .subtabs .subtab .svc-icon svg,
#tab-queue .subtabs .subtab .svc-icon .svc-family-svg
{
    width: 22px;
    height: 22px;
    min-width: 22px;
    min-height: 22px;
    flex: 0 0 22px;
}

.qlight[hidden] { display: none !important; }
.qlight { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; }
.qlight-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.55); }
.qlight-panel { position: relative; z-index: 1; width: min(420px, 92vw); max-height: 70vh; overflow: auto; background: var(--popoverBackground); border: 1px solid var(--borderColor); border-radius: var(--radius); padding: 0.75rem; }
.qlight-head { display: flex; justify-content: space-between; align-items: center; }

.fetcharr-mark { position: relative; display: inline-grid; place-items: center; width: 72px; height: 72px; }
.fetcharr-mark .fetcharr-idle { width: 72px; height: 72px; }
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.35rem; }
.steps .step { padding: 0.4rem 0.55rem; border: 1px solid var(--borderColor); border-radius: var(--radius); background: var(--dropFill); }
.steps .step-id { color: var(--gold); font-family: var(--mono); margin-right: 0.4rem; }
.prio-list { list-style: none; margin: 0 0 1rem; padding: 0; }
.prio-list li { display: flex; align-items: center; gap: 0.5rem; padding: 0.45rem 0.55rem; border: 1px solid var(--borderColor); border-radius: var(--radius); margin-bottom: 0.35rem; background: var(--inputBackground); }
.prio-grip { width: 0.65rem; height: 1rem; border-left: 2px dotted var(--textMuted); border-right: 2px dotted var(--textMuted); }
.checks { border: 1px solid var(--borderColor); border-radius: var(--radius); padding: 0.65rem 0.75rem; margin: 0.75rem 0; }
.checks legend { color: var(--gold); padding: 0 0.35rem; }
.checks label { display: flex; align-items: center; gap: 0.45rem; margin: 0.25rem 0; color: var(--textColor); }
.pop-wrap { position: relative; display: inline-flex; }
.pop-menu { position: absolute; top: 100%; right: 0; z-index: 6; min-width: 10rem; background: var(--popoverBackground); border: 1px solid var(--borderColor); border-radius: var(--radius); padding: 0.25rem; }
.pop-menu[hidden] { display: none !important; }
.pop-menu button { display: block; width: 100%; text-align: left; }

/* ======================================================================================================================================================================== */
/* ======================================================================================================================================================================== */
/* [START] FLAG — Media Type / Media Forma / Database LOOK (pixel SoT from legacy shot)                                                                                     */
/* ======================================================================================================================================================================== */

#tab-flag .report-form .icon-pick
{
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0.25rem;
    min-width: 4.4rem;
    margin: 0.35rem 0.45rem;
    padding: 0.35rem 0.25rem 0.2rem;
    border: 0;
    background: transparent;
    cursor: pointer;
    color: var(--gold);
    font-size: 0.72rem;
    text-align: center;
}

#tab-flag .report-form .icon-pick input
{
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

#tab-flag .report-form .icon-pick .forma-ico,
#tab-flag .report-form .forma-ico
{
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: transparent;
    box-sizing: border-box;
    object-fit: contain;
    display: block;
}

#tab-flag .report-form .icon-pick:not(:has(input:checked)) .forma-ico
{
    opacity: 0.62;
    filter: none;
}

#tab-flag .report-form .icon-pick:hover .forma-ico
{
    background: color-mix(in srgb, var(--gold) 14%, transparent);
    filter: brightness(1.08);
}

#tab-flag .report-form .icon-pick:has(input:checked) .forma-ico
{
    opacity: 1;
    background: color-mix(in srgb, var(--gold) 28%, transparent);
    outline: 2px solid var(--gold);
    outline-offset: 3px;
    border-radius: 10px;
    filter: brightness(1.18) saturate(1.08);
    box-shadow: none;
}

#tab-flag .report-form .icon-pick:has(input:checked)
{
    color: var(--gold);
}

#tab-flag .report-form .icon-pick:has(input:checked) > span
{
    font-weight: 700;
    color: var(--gold);
}

#tab-flag .report-form .checks.report-kind label.icon-pick span,
#tab-flag .report-form .checks.report-forma-wrap label.icon-pick span
{
    display: block;
}

#tab-flag .report-db-wrap
{
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem 0.85rem;
    align-items: flex-start;
}

#tab-flag .report-db-wrap > legend
{
    width: 100%;
    flex: 0 0 100%;
}

#tab-flag .report-db-pick
{
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0.25rem;
    min-width: 4.4rem;
    max-width: 5.5rem;
    margin: 0.35rem 0.45rem;
    padding: 0.35rem 0.25rem 0.2rem;
    cursor: pointer;
    color: var(--gold);
    font-size: 0.72rem;
    text-align: center;
    user-select: none;
}

#tab-flag .report-db-pick input
{
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    pointer-events: none;
}

#tab-flag .report-db-face
{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    box-sizing: border-box;
    border: 0;
    border-radius: 8px;
    background: transparent;
}

#tab-flag .report-db-ico
{
    width: 28px;
    height: 28px;
    min-width: 28px;
    min-height: 28px;
    object-fit: contain;
    display: block;
}

#tab-flag .report-db-fallback
{
    width: 28px;
    height: 28px;
    line-height: 28px;
    font-weight: 700;
    font-size: 1rem;
    color: var(--gold);
    text-align: center;
    border-radius: 6px;
    background: color-mix(in srgb, var(--gold) 12%, transparent);
}

#tab-flag .report-db-name
{
    display: block;
    line-height: 1.15;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--gold);
    text-align: center;
    font-size: 0.72rem;
}

#tab-flag .report-db-pick:hover .report-db-face
{
    background: color-mix(in srgb, var(--gold) 14%, transparent);
}

#tab-flag .report-db-pick.is-on .report-db-face,
#tab-flag .report-db-pick:has(input:checked) .report-db-face
{
    outline: 2px solid var(--gold);
    outline-offset: 2px;
    background: color-mix(in srgb, var(--gold) 18%, transparent);
}

#tab-flag .report-db-pick:not(.is-on):not(:has(input:checked)) .report-db-face
{
    opacity: 0.85;
}

/* ======================================================================================================================================================================== */

#tab-flag .report-form .report-db-wrap .report-db-pick
{
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
}

#tab-flag .report-form .report-db-wrap .report-db-name
{
    display: block !important;
    text-align: center !important;
    width: 100%;
}

/* [END] FLAG — Media Type / Media Forma / Database LOOK                                                                                                                    */
/* ======================================================================================================================================================================== */

/* ======================================================================================================================================================================== */

.flag-recent-list { display: flex; flex-direction: column; gap: 0.35rem; }
.flag-recent-row, .review-tick { padding: 0.45rem 0.55rem; border: 1px solid var(--borderColor); border-radius: var(--radius); background: var(--dropFill); }

.logs-toolbar { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; margin-bottom: 0.75rem; }
.logs-layout { display: grid; grid-template-columns: minmax(10rem, 14rem) 1fr; gap: 0.75rem; min-height: 12rem; }
.logs-list, .logs-view { border: 1px solid var(--borderColor); border-radius: var(--radius); padding: 0.55rem; background: var(--dropFill); }
@media (max-width: 720px) { .logs-layout { grid-template-columns: 1fr; } }

/* review-logs-1 — donor Review folds + flip-box + Logs rows (LOOK pack icons) */
#tab-review .action-bar .qrange-window,
#tab-logs .action-bar .qrange-window
{
	font-size: 0.72rem;
	color: var(--muted, #9a8874);
	margin-left: 0.35rem;
	align-self: center;
}

#tab-review .review-tick-list
{
	display: grid;
	gap: 0.45rem;
}

#tab-review .review-tick-list .svc-fold
{
	margin: 0;
}

#tab-review .svc-fold,
#tab-logs .svc-fold
{
	position: relative;
	border: 1px solid var(--grabber-trim, var(--gold));
	border-radius: 10px;
	background: color-mix(in srgb, var(--grabber-bg, var(--dropFill)) 70%, #120c0a);
	overflow: hidden;
}

#tab-review .svc-fold-head,
#tab-logs .svc-fold-head
{
	display: flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.4rem 0.55rem;
	color: var(--grabber-title, var(--gold));
	border-bottom: 1px solid color-mix(in srgb, var(--grabber-trim, var(--gold)) 45%, transparent);
}

#tab-review .svc-fold:not(.is-open) .svc-fold-head,
#tab-logs .svc-fold:not(.is-open) .svc-fold-head
{
	border-bottom: 0;
}

#tab-review .svc-fold-icon,
#tab-logs .svc-fold-icon
{
	width: 28px;
	height: 28px;
	flex: 0 0 28px;
}

#tab-review .svc-fold-name,
#tab-logs .svc-fold-name
{
	font-weight: 650;
	font-size: 0.88rem;
}

#tab-review .svc-count,
#tab-logs .svc-count
{
	margin-left: auto;
	font-variant-numeric: tabular-nums;
	font-size: 0.78rem;
	opacity: 0.85;
}

#tab-review .svc-fold-chevron,
#tab-logs .svc-fold-chevron
{
	appearance: none;
	border: 0;
	background: transparent;
	color: inherit;
	cursor: pointer;
	padding: 0.15rem;
}

#tab-review .svc-fold-body,
#tab-logs .svc-fold-body
{
	display: none;
}

#tab-review .svc-fold.is-open .svc-fold-body,
#tab-logs .svc-fold.is-open .svc-fold-body
{
	display: block;
}

#tab-review .svc-fold-body ul,
#tab-logs .svc-fold-body ul
{
	list-style: none;
	margin: 0;
	padding: 0.2rem 0.45rem 0.35rem 0;
	max-height: calc(10 * 1.7rem);
	overflow-y: auto;
}

#tab-review .svc-fold-body li.rpt-row,
#tab-logs .svc-fold-body li
{
	display: flex;
	align-items: flex-start;
	gap: 0.45rem;
	padding: 0.28rem 0.5rem;
	font-size: 0.78rem;
	color: var(--grabber-title, var(--textColor));
}

#tab-review .svc-fold-body li:nth-child(odd)
{
	background: color-mix(in srgb, var(--grabber-title, var(--gold)) 10%, transparent);
}

.rpt-copy { min-width: 0; flex: 1; }

.flip-box
{
	appearance: none;
	position: relative;
	flex: 0 0 32px;
	width: 32px;
	min-width: 32px;
	max-width: 32px;
	height: 32px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--flip-trim, var(--flip-title, #eb481d));
	background: var(--flip-bg, #2a0e08);
	color: var(--flip-title, #eb481d);
	border-radius: 6px;
	padding: 0;
	margin: 0;
	cursor: pointer;
	font-size: 0;
	line-height: 0;
	overflow: visible;
}

.flip-box.is-static
{
	cursor: default;
}

.flip-box:hover { filter: brightness(1.18); }

.flip-box .flip-ico,
.flip-box svg
{
	width: 18px;
	height: 18px;
	flex: 0 0 18px;
	display: block;
	fill: currentColor;
	pointer-events: none;
}

.flip-box::after
{
	content: attr(data-tip);
	position: absolute;
	left: calc(100% + 8px);
	top: 50%;
	transform: translateY(-50%);
	z-index: 8;
	box-sizing: border-box;
	width: max-content;
	max-width: 16rem;
	padding: 0.28rem 0.5rem;
	border: 1px solid var(--flip-trim, var(--gold));
	border-radius: 6px;
	background: var(--flip-bg, var(--dropFill));
	color: var(--flip-title, var(--gold));
	font-size: 0.72rem;
	font-weight: 650;
	line-height: 1.25;
	opacity: 0;
	pointer-events: none;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
}

.flip-box:hover::after,
.flip-box:focus-visible::after { opacity: 1; }

.logs-row
{
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 0.4rem;
	padding: 0.4rem 0.55rem;
	border-bottom: 1px solid var(--line, var(--borderColor));
	cursor: pointer;
	font-size: 0.78rem;
}

.logs-row:hover,
.logs-row.is-on { background: var(--bg-3, color-mix(in srgb, var(--gold) 10%, transparent)); }

.logs-row small { color: var(--muted, #9a8874); }

.logs-row-ico
{
	width: 22px;
	height: 22px;
}

#tab-logs .logs-list.is-fetcharr-tree,
#tab-logs .logs-list[data-kind="fetcharr"]
{
	background: color-mix(in srgb, #3a2a18 70%, #16110e);
}

#tab-logs .logs-view
{
	overflow: auto;
	max-height: 48vh;
	font-family: var(--mono, ui-monospace, Consolas, monospace);
	font-size: 0.78rem;
}

#tab-logs .log-plain
{
	margin: 0;
	white-space: pre-wrap;
	word-break: break-word;
}

#tab-logs .log-sec
{
	margin: 0.65rem 0 0.25rem;
	font-size: 0.82rem;
	color: var(--gold);
	border-bottom: 1px solid color-mix(in srgb, var(--gold) 28%, transparent);
}

#tab-logs .log-open-cue
{
	font-style: italic;
	color: var(--muted, #9a8874);
}

#tab-logs .log-fold
{
	margin: 0.35rem 0;
}

/* Help face (1:1 from live boxarr.css Help block) */
.page-section > .sub-block .help-text {
  margin: 0 0 0.12rem;
  line-height: 1.45;
}
.page-section > .sub-block .help-example,
.page-section > .sub-block .help-aliases {
  margin: 0.08rem 0 0.12rem;
  font-size: 0.84rem;
}
.page-section > .sub-block .help-example code,
.page-section > .sub-block .help-aliases code {
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--gold);
  word-break: break-word;
}
.page-section > .sub-block .help-aliases {
  margin-bottom: 0.35rem;
}
.page-section > .sub-block .help-aliases code { margin-right: 0.4rem; }
.page-section > .sub-block .help-verbs {
  list-style: none;
  margin: 0.65rem 0 0;
  padding: 0 0 0.15rem 0.95rem;
  border-left: 1px solid rgba(204, 163, 127, 0.22);
}
.page-section > .sub-block .help-verbs li {
  padding: 0.1rem 0 0.55rem;
}
.page-section > .sub-block .help-verbs li:last-child { padding-bottom: 0.1rem; }

.page-section[data-tab="help"] .inner-card code,
.page-section[data-tab="bug"] .inner-card code {
  font-family: var(--mono);
  font-size: 0.86em;
  color: var(--gold);
  word-break: break-word;
}
.help-steps {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  margin-top: 1rem;
}
.help-step {
  padding: 0.75rem 0.85rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg-2);
  border-left: 3px solid var(--gold);
}
.help-step.is-optional {
  border-left-color: color-mix(in srgb, var(--gold) 40%, var(--borderColor));
}
.help-step h3 {
  margin: 0 0 0.35rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.55rem;
  align-items: center;
}
.help-step-opt {
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--textMuted);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0.08rem 0.35rem;
  font-weight: 650;
}
.help-core-seq {
  margin: 0 0 0.85rem;
  padding: 0.55rem 0.7rem;
  border: 1px dashed color-mix(in srgb, var(--gold) 35%, transparent);
  border-radius: 8px;
  line-height: 1.55;
  color: var(--textMuted);
}
.help-not-steps {
  margin-top: 1.15rem;
  padding: 0.75rem 0.85rem;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: var(--bg-2);
}
.help-not-steps h3 {
  margin: 0 0 0.35rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.55rem;
  align-items: center;
}
.help-not-steps ul {
  margin: 0;
  padding: 0 0 0 1.15rem;
}
.help-not-steps li {
  margin: 0 0 0.28rem;
  line-height: 1.45;
}
.help-step-ico,
.help-cmd-ico,
.help-gloss-ico {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  object-fit: contain;
  display: block;
  overflow: hidden;
}
svg.help-step-ico.is-sprite,
.help-step-ico.is-sprite {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  overflow: hidden;
}
.help-step-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.55rem;
  list-style: none;
  margin: 0 0 1rem;
  padding: 0.65rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg-2);
}
.help-step-strip li {
  margin: 0;
}
.help-step-strip a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  min-width: 3.4rem;
  color: var(--gold);
  text-decoration: none;
  position: relative;
}

.help-step-strip a[data-tip]::after
{
    content: attr(data-tip);
    position: absolute;
    left: 50%;
    bottom: calc(100% + 6px);
    transform: translateX(-50%);
    padding: 0.16rem 0.4rem;
    border-radius: 6px;
    border: 1px solid var(--gold);
    background: color-mix(in srgb, var(--dropFill) 88%, #000);
    color: #e8e0d8;
    font-size: 0.7rem;
    font-weight: 650;
    line-height: 1.2;
    letter-spacing: 0.02em;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    z-index: 40;
}

.help-step-strip a[data-tip]:hover::after,
.help-step-strip a[data-tip]:focus-visible::after
{
    opacity: 1;
}
.help-step-strip a:hover .help-step-id,
.help-step-strip a:focus-visible .help-step-id {
  text-decoration: underline;
}
.help-step-id {
  font-family: var(--mono);
  font-size: 0.86em;
  color: var(--gold);
  font-weight: 650;
}
.help-step-name {
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--textMuted);
  text-align: center;
  line-height: 1.15;
  max-width: 4.6rem;
}
.help-phase {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  margin-top: 0.35rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(204, 163, 127, 0.18);
}
.help-phase:first-of-type {
  border-top: 0;
  padding-top: 0;
}
.help-phase-title {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}
.help-phase-lead {
  margin: -0.55rem 0 0;
  color: var(--textMuted);
  line-height: 1.45;
}
.help-step-does {
  margin: 0 0 0.45rem;
  line-height: 1.5;
  font-weight: 650;
}
.help-break {
  margin: 0;
}
.help-break dt {
  margin: 0.4rem 0 0.12rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}
.help-break dd {
  margin: 0;
}
.help-step p {
  margin: 0 0 0.4rem;
  line-height: 1.5;
}
.help-step ul {
  margin: 0;
  padding: 0 0 0 1.15rem;
}
.help-step li {
  margin: 0 0 0.28rem;
  line-height: 1.45;
}
.help-verb-group {
  margin: 1.1rem 0 0;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(204, 163, 127, 0.18);
}
.help-verb-group:first-child {
  margin-top: 0.85rem;
}
.help-verb-group h3 {
  margin: 0 0 0.3rem;
  font-family: var(--mono);
  font-size: 1.02rem;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.help-glossary {
  margin: 0.85rem 0 0;
  columns: 2;
  column-gap: 2rem;
}
.help-glossary > div {
  break-inside: avoid;
  margin: 0 0 0.85rem;
}
.help-glossary dt {
  font-weight: 650;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.help-glossary dd {
  margin: 0.18rem 0 0;
  line-height: 1.5;
}
@media (max-width: 900px) {
  .help-glossary { columns: 1; }
}
/* Bug uses normal page-section is-on/is-current; QS hideBugTab -> .shell.hide-bug-tab */

/* Bug uses normal page-section is-on/is-current; QS hideBugTab -> .shell.hide-bug-tab */

.step-act-ico { width: 14px; height: 14px; fill: currentColor; }

