/* W27: back office panels, step 2 inbox, clinic one-stop section, step 7 and 8 green dots. */
.w7 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; font-size: 15px; line-height: 1.45; color: var(--ink); min-width: 0; }
.w7 > *, .ibx > * { min-width: 0; }
.ibx { grid-template-columns: minmax(0, 1fr); }
/* Back office tabs: 2 columns on phones, a one-column list from 761px (tablet rail and desktop sidebar). */
@media (max-width: 760px) {
  .act .bo > .act__sw, html.pp .act.pp-flow .bo > .act__sw.act__sw { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-columns: auto; }
}
@media (min-width: 761px) and (max-width: 1100px) {
  .act--show .bo > .act__sw { display: grid; grid-auto-flow: row; grid-template-columns: minmax(0, 1fr); grid-auto-columns: auto; align-content: start; }
}
@media (min-width: 761px) {
  .act--show .bo > .act__sw > button { min-height: 44px; padding: 6px 14px; text-align: left; white-space: normal; line-height: 1.2; }
}
/* Step 2 tabs: 2 by 2 at every width (4-up clipped at 1366 and on the tablet rail). */
.act [data-step-panel="2"] .act__sw { display: grid; grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; box-sizing: border-box; }
/* Short desktop screens: keep Back and Skip in the pinned rail (1366x657). */
@media (min-width: 1101px) and (max-height: 700px) {
  .act__bar.is-rail { gap: 6px; }
  .act__bar.is-rail .steps > li.steps__div { margin: 2px 0 0; }
  .act__bar.is-rail .act__go { margin-top: 0; padding-top: 6px; }
  /* Stop cards at 1366x657 and 1280x657: two rows of caps; the full list stays in "See it in detail". */
  .stop__card .caps li:nth-child(n+5) { display: none; }
}
.w7 p { margin: 0; }
.w7 .btn--sm, .ibx .btn--sm { --h: 44px; min-height: 44px; }
.w7__k { display: flex; align-items: center; gap: 8px; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--brass-2, #f0d9a6); }
.w7__dot, .ibx__dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #6fd6a0; box-shadow: 0 0 0 3px rgba(111,214,160,.14), 0 0 10px 1px rgba(111,214,160,.55); }
.w7__flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; row-gap: 6px; margin: 0; padding: 0; list-style: none; counter-reset: w7; }
.w7__flow li { counter-increment: w7; position: relative; padding: 8px 2px 6px; border-top: 2px solid var(--line); font-size: 13px; text-align: center; color: var(--muted); }
.w7__flow li.is-done { border-top-color: rgba(111,214,160,.7); color: var(--ink); }
.w7__flow li.is-cur { border-top-color: var(--brass, #d1ad6a); color: var(--brass-2, #f0d9a6); font-weight: 600; }
.w7__line { min-height: 2.9em; }
.w7__acts { display: flex; flex-wrap: wrap; gap: 8px; }
.w7__mail { display: grid; gap: 2px; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(240,217,166,.28); background: rgba(240,217,166,.06); font-size: 14px; }
.w7__mail b { color: var(--brass-2, #f0d9a6); }
.w7__alert { padding: 8px 12px; border-radius: 10px; border: 1px solid rgba(242,193,78,.45); background: rgba(242,193,78,.08); color: #f2c14e; font-size: 14px; }
.w7__csv { display: grid; gap: 4px; padding: 10px 12px; border-radius: 10px; border: 1px dashed rgba(240,217,166,.35); font-size: 14px; overflow-wrap: anywhere; }
.w7__log { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; font-size: 14px; color: var(--muted); }
.w7__log li { padding: 6px 0; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.w7 .perk__tag { margin-left: 4px; }
.w7 .md__note .perk__tag { display: inline-block; vertical-align: middle; margin: 4px 0 0 4px; }
/* Stock: two-line rows and a short chip, no sideways scroll at any width */
.w7__st th:last-child, .w7__st td:last-child { width: 1%; white-space: nowrap; text-align: right; }
.w7__st td small { font: 13px/1.35 var(--f-mono); color: var(--muted); }
.w7__st tr.is-low td { background: rgba(240,217,166,.05); }
.w7__st tr.is-low td:first-child { box-shadow: inset 2px 0 0 var(--brass, #d1ad6a); }
.w7__ph { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.w7__pt { display: grid; gap: 6px; align-content: start; padding: 8px; border-radius: 12px; border: 1px dashed rgba(240,217,166,.3); transition: border-color .2s, background .2s; }
.w7__pt.is-over { border-color: var(--brass, #d1ad6a); background: rgba(240,217,166,.08); }
.w7__pt.is-new { border-style: solid; border-color: rgba(111,214,160,.6); }
.w7__pt b { font-size: 14px; font-weight: 600; line-height: 1.25; }
.w7__pt .btn { width: 100%; min-width: 0; height: auto; min-height: 44px; padding: 6px 4px; white-space: normal; line-height: 1.15; overflow: visible; }
.w7__th { position: relative; display: block; aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: var(--c, #3a3226); }
.w7__th img { width: 100%; height: 100%; object-fit: cover; display: block; }
.w7__nw { position: absolute; right: 4px; top: 4px; padding: 1px 6px; border-radius: 999px; background: rgba(12,12,12,.8); color: #6fd6a0; font-size: 13px; line-height: 1.2; font-style: normal; }
.w7__next { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 12px; border-radius: 12px; border: 1px solid var(--line); }
.w7__next p { flex: 1 1 180px; color: var(--muted); }
.w7__next.is-on { border-color: rgba(111,214,160,.5); }
.w7__next.is-on p { color: var(--ink); }

/* Step 2 inbox */
.ibx { display: grid; gap: 10px; font-size: 15px; line-height: 1.45; }
.ibx p { margin: 0; }
.ibx__hd { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; }
.ibx__hd b { font-size: 16px; }
.ibx__warm { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--brass-2, #f0d9a6); }
.ibx__f { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 4px; border-radius: 14px; border: 1px solid var(--line); }
.ibx__f button { min-height: 44px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); font: 500 14px/1.15 var(--f-body); cursor: pointer; }
.ibx__f button[aria-pressed="true"] { color: var(--on-brass); background: linear-gradient(180deg, #f2dca9, #c9a463); font-weight: 600; }
.ibx__list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 761px) {
  .ibx__list { max-height: 340px; overflow-y: auto; overscroll-behavior: auto; padding-bottom: 40px; -webkit-mask-image: linear-gradient(#000 calc(100% - 40px), transparent); mask-image: linear-gradient(#000 calc(100% - 40px), transparent); }
}
.ibx__c { display: grid; gap: 6px; padding: 12px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255,255,255,.03); }
.ibx__c.is-done { opacity: .7; }
.ibx__top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; }
.ibx__top time { margin-left: auto; color: var(--muted); }
.ibx__src, .ibx__b { padding: 2px 8px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; }
.ibx__src--website { border-color: rgba(140,180,255,.45); }
.ibx__b { border-color: rgba(111,214,160,.55); color: #6fd6a0; }
.ibx__sum { font-size: 15px; }
.ibx__tx summary { min-height: 44px; display: flex; align-items: center; cursor: pointer; font-size: 14px; color: var(--brass-2, #f0d9a6); }
.ibx__tx ol { display: grid; gap: 4px; margin: 0 0 4px; padding: 0; list-style: none; font-size: 14px; }
.ibx__tx li { padding: 4px 8px; border-radius: 8px; background: rgba(255,255,255,.04); }
.ibx__tx li.ai { background: rgba(240,217,166,.07); }
.ibx__c > .btn { justify-self: start; }
.ibx .perks { margin: 4px 0 0; }
.ibx__tn { display: inline-grid; place-items: center; min-width: 20px; height: 20px; margin-left: 6px; padding: 0 5px; border-radius: 999px; background: #6fd6a0; color: #0b0b0b; font-size: 13px; font-weight: 700; line-height: 1; vertical-align: middle; }
.ibx__tn[hidden] { display: none; }
@media (min-width: 1101px) {
  .act--show .bo > .act__sw > button { padding-top: 0; padding-bottom: 0; }
  .act [data-step-panel="2"] .act__sw > button { font-size: 13.5px; }
}

/* Step 7: the one-system pitch leads the copy column. Titles always show; "Show what each covers" opens the details. */
.one__t { margin: 0 0 6px; font: 600 20px/1.25 var(--f-display, var(--f-body)); color: var(--ink); }
.one__s { margin: 0 0 14px; font-size: 16px; line-height: 1.5; color: var(--muted); }
.one__g { display: grid; grid-template-columns: minmax(0, 1fr); margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.one__g li { display: grid; grid-template-columns: 8px minmax(0, 1fr); column-gap: 12px; row-gap: 2px; min-width: 0; padding: 7px 0; border-bottom: 1px solid var(--line); }
.one__g li::before { content: ""; grid-row: 1; width: 8px; height: 8px; margin-top: 8px; border-radius: 50%; background: #6fd6a0; box-shadow: 0 0 0 3px rgba(111,214,160,.14), 0 0 10px 1px rgba(111,214,160,.55); }
.one__g b { grid-column: 2; font-size: 16px; font-weight: 500; line-height: 1.4; color: var(--ink); }
.one__g li > span { grid-column: 2; font-size: 15px; line-height: 1.45; color: var(--muted); }
.one__g .perk__tag { grid-column: 2; justify-self: start; max-width: 100%; margin: 2px 0; white-space: normal; line-height: 1.3; font-style: normal; color: var(--brass-2, #f0d9a6); }
.step__copy:has(.one__d:not([open])) .one__g li > span { display: none; }
.one__d { margin: 0; }
.one__d summary { display: flex; align-items: center; min-height: 44px; cursor: pointer; font-size: 15px; color: var(--brass-2, #f0d9a6); }

@media (max-width: 700px) {
  .w7__flow { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 6px; }
  .w7__ph { gap: 6px; }
  .w7__pt { padding: 6px; }
  .w7__pt b { font-size: 13px; }
  .one__t { font-size: 18px; }
  .one__g b { font-size: 15px; }
  .one__s { font-size: 15px; }
}
