/* Gaffneys Bathroom Services: New Bathrooms page layer (Phase 2).
   Loads after site.css and service.css. Every rule is scoped to nb- classes or .page-newbath,
   so the approved homepage and Bathroom Renovation page are unaffected.
   Theme: the drawing board. Blueprint grid, dimension lines, a drawing title block and an annotated plan. */

.nb .qa p a { color: var(--blue-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.nb .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.page-newbath { --grid-line: rgba(21,102,180,.075); }

/* ---------- A. Hero ---------- */
.nb-hero { padding: calc(var(--nav-top) + var(--nav-h) + 44px) 0 88px; background-color: var(--ice);
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 32px 32px; background-position: -1px -1px; }
.nb-hero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 72px; align-items: center; }
.nb-hero h1 { margin: 18px 0 22px; font-size: clamp(2.2rem, 1.3rem + 2.4vw, 3.4rem); line-height: 1.04; letter-spacing: -.012em; text-wrap: balance; }
.nb-hero h1 span { display: block; color: var(--blue-ink); }
.nb-hero__lede { max-width: 36em; font-size: 1.125rem; line-height: 1.6; }
.nb-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* Drawing title block */
.nb-tblock { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); max-width: 560px; margin: 36px 0 0; background: #fff; border: 1.5px solid var(--ink); }
.nb-tblock > div { padding: 11px 16px 12px; border-right: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.nb-tblock > div:nth-child(3), .nb-tblock__wide { border-right: 0; }
.nb-tblock > div:last-child { border-bottom: 0; }
.nb-tblock__wide { grid-column: 1 / -1; }
.nb-tblock dt { font: 600 .625rem/1.2 var(--ui); letter-spacing: .14em; text-transform: uppercase; color: var(--grey); }
.nb-tblock dd { margin: 5px 0 0; font: 500 .9375rem/1.35 var(--ui); color: var(--ink); }

/* Dimensioned image */
.nb-hero__media { position: relative; padding: 30px 30px 0 0; }
.nb-hero__frame { position: relative; overflow: hidden; border-radius: 6px var(--arc) 6px var(--arc); background: #CDD4DB; box-shadow: 0 40px 80px -50px rgba(16,28,42,.55); }
.nb-hero__frame img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 60%; }
.nb-hero__frame .tag { position: absolute; left: 16px; bottom: 16px; }
.nb-dim { position: absolute; background: var(--blue); opacity: .8; }
.nb-dim::before, .nb-dim::after { content: ""; position: absolute; background: var(--blue); }
.nb-dim--top { top: 10px; left: 0; right: 30px; height: 1px; }
.nb-dim--top::before, .nb-dim--top::after { top: -6px; width: 1px; height: 13px; }
.nb-dim--top::before { left: 0; } .nb-dim--top::after { right: 0; }
.nb-dim--side { right: 10px; top: 30px; bottom: 0; width: 1px; }
.nb-dim--side::before, .nb-dim--side::after { left: -6px; height: 1px; width: 13px; }
.nb-dim--side::before { top: 0; } .nb-dim--side::after { bottom: 0; }

/* ---------- B. Renovation or new bathroom ---------- */
.nb-vs { padding: var(--sec) 0; background: var(--mist); }
.nb-vs__head { max-width: 760px; }
.nb-vs__head .h2 { margin: 18px 0 18px; }
.nb-vs__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; margin-top: 48px; }
.nb-vs__card { display: flex; flex-direction: column; padding: 40px 40px 30px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.nb-vs__card--this { border: 1.5px solid var(--blue-ink); border-radius: var(--r) var(--arc) var(--r) var(--r); box-shadow: 0 30px 60px -44px rgba(15,78,140,.55); }
.nb-vs__kicker { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; font: 600 .75rem/1.3 var(--ui); letter-spacing: .14em; text-transform: uppercase; color: var(--grey); }
.nb-vs__card--this .nb-vs__kicker { color: var(--blue-ink); }
.nb-vs__kicker span { padding: 4px 8px; border-radius: 2px; background: var(--blue-ink); color: #fff; font-size: .625rem; letter-spacing: .12em; }
.nb-vs__card h3 { margin: 14px 0 22px; font-size: var(--t-h4); line-height: 1.2; }
.nb-vs__card dl { margin: 0 0 22px; }
.nb-vs__card dl > div { display: grid; grid-template-columns: 124px minmax(0, 1fr); gap: 4px 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.nb-vs__card dt { font: 600 .6875rem/1.6 var(--ui); letter-spacing: .12em; text-transform: uppercase; color: var(--grey); }
.nb-vs__card dd { margin: 0; font-size: var(--t-small); color: var(--ink); }
.nb-vs__card .link { margin-top: auto; align-self: flex-start; }

/* ---------- C. Project types ---------- */
.nb-types { padding: var(--sec) 0; }
.nb-types__head { max-width: 780px; margin-bottom: 40px; }
.nb-types__head .h2 { margin: 18px 0 16px; }
.nb-types__head p { max-width: 40em; }
.nb-type { display: grid; grid-template-columns: 120px minmax(0, 1fr) minmax(0, 360px); gap: 0 40px; align-items: center; padding: 34px 0; border-top: 1px solid var(--line); }
.nb-type:last-child { border-bottom: 1px solid var(--line); }
.nb-type__n { font: 400 3.6rem/1 var(--display); color: var(--blue); }
.nb-type h3 { font-size: var(--t-h3); line-height: 1.1; }
.nb-type p { max-width: 34em; margin-top: 12px; }
.nb-type__img { position: relative; overflow: hidden; border-radius: var(--r); background: #CDD4DB; }
.nb-type:first-child .nb-type__img { border-radius: var(--r) var(--arc) var(--r) var(--r); }
.nb-type:last-child .nb-type__img { border-radius: var(--r) var(--r) var(--r) var(--arc); }
.nb-type__img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.nb-type__img .tag { position: absolute; top: 12px; left: 12px; }

/* ---------- D. Room planner ---------- */
.nb-plan { padding: 0 0 var(--sec); }
.nb-plan__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: end; margin-bottom: 44px; padding-top: var(--sec); border-top: 0; }
.nb-plan__head .h2 { margin-top: 18px; }
.nb-plan__body { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: start; }
.nb-plan__drawing { position: relative; padding: 22px 26px 28px; background-color: var(--ice); border-radius: var(--arc) var(--r) var(--arc) var(--r);
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px); background-size: 24px 24px; }
.nb-plan__note { margin-bottom: 10px; font: 500 .75rem/1.3 var(--ui); color: var(--grey); }
.nb-plan__canvas { position: relative; }
.nb-plan__canvas svg { display: block; width: 100%; height: auto; }
/* Plan points: a 48px invisible tap area around the visible numbered dot (44px on phones) */
.nb-pt { position: absolute; z-index: 2; width: 48px; height: 48px; display: grid; place-items: center; transform: translate(-50%, -50%); padding: 0; border: 0; border-radius: 50%; background: none; -webkit-tap-highlight-color: transparent; }
.nb-pt__dot { display: grid; place-items: center; width: 42px; height: 42px; border: 3px solid #fff; border-radius: 50%; background: var(--ink); color: #fff; font: 600 .9375rem/1 var(--ui); box-shadow: 0 8px 18px -8px rgba(16,28,42,.6); transition: background-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease); }
.nb-pt:hover .nb-pt__dot { background: var(--blue-ink); transform: scale(1.08); }
.nb-pt[aria-pressed="true"] .nb-pt__dot { background: var(--blue-ink); box-shadow: 0 0 0 6px rgba(21,102,180,.25), 0 8px 18px -8px rgba(16,28,42,.6); }
.nb-pt:focus-visible { outline: none; }
.nb-pt:focus-visible .nb-pt__dot { outline: 2px solid var(--ink); outline-offset: 3px; }

/* Notes: all listed without JS; one at a time with JS */
.nb-plan__notes { display: grid; gap: 10px; }
.nb-note { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 0 16px; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.nb-note__n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; font: 600 .9375rem/1 var(--ui); }
.nb-note h3 { font-size: 1.35rem; line-height: 1.2; }
.nb-note p { margin-top: 8px; font-size: var(--t-small); }
.nb-note__tip { padding: 10px 12px; background: var(--ice); border-radius: var(--r); color: var(--ink); }
.nb-plan__go { display: none; }
[data-planner].is-ready .nb-plan__notes { position: sticky; top: 112px; }
[data-planner].is-ready .nb-note { padding: 34px 34px 26px; border-radius: var(--r) var(--arc) var(--r) var(--r); box-shadow: 0 30px 60px -48px rgba(16,28,42,.5); animation: fadeUp .35s var(--ease); }
[data-planner].is-ready .nb-note__n { background: var(--blue-ink); }
[data-planner].is-ready .nb-note h3 { font-size: var(--t-h4); margin-top: 6px; }
[data-planner].is-ready .nb-note p { font-size: 1rem; margin-top: 12px; }
[data-planner].is-ready .nb-note__tip { margin-top: 18px; }
[data-planner].is-ready .nb-plan__go { display: flex; align-items: center; justify-content: space-between; gap: 12px; grid-column: 1 / -1; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); }
.nb-plan__go button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0; background: none; border: 0; font: 600 var(--t-small)/1 var(--ui); color: var(--ink); }
.nb-plan__go button:hover { color: var(--blue-ink); }
.nb-plan__go span { font-size: var(--t-xs); color: var(--grey); white-space: nowrap; }

/* ---------- E. Genuine work, up close ---------- */
.nb-detail { padding: var(--sec) 0; background: var(--mist); }
.nb-detail__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 370px); grid-template-areas: "head stage" "nav stage"; grid-template-rows: auto 1fr; gap: 0 96px; }
.nb-detail__head { grid-area: head; max-width: 620px; }
.nb-detail__head .h2 { margin: 18px 0 18px; }
.nb-detail__nav { grid-area: nav; max-width: 620px; margin-top: 32px; }
.nb-detail__stage { grid-area: stage; align-self: start; position: sticky; top: 112px; }
.nb-detail__list { margin-bottom: 26px; border-top: 1px solid var(--line-2); }
.nb-detail__list button { position: relative; display: grid; width: 100%; min-height: 66px; padding: 14px 40px 14px 0; background: none; border: 0; border-bottom: 1px solid var(--line-2); text-align: left; transition: padding .3s var(--ease); }
.nb-detail__list button span { font: 400 1.3rem/1.25 var(--display); color: var(--ink); }
.nb-detail__list button small { margin-top: 3px; font-size: var(--t-xs); color: var(--grey); }
.nb-detail__list button::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; background: var(--blue); transform: scaleY(0); transition: transform .3s var(--ease); }
.nb-detail__list button::after { content: ""; position: absolute; right: 6px; top: 50%; width: 9px; height: 9px; border-top: 1.5px solid var(--grey); border-right: 1.5px solid var(--grey); transform: translateY(-50%) rotate(45deg); }
.nb-detail__list button:hover span { color: var(--blue-ink); }
.nb-detail__list button[aria-pressed="true"] { padding-left: 18px; }
.nb-detail__list button[aria-pressed="true"]::before { transform: scaleY(1); }
.nb-detail__list button[aria-pressed="true"] span { color: var(--blue-ink); }
.nb-detail__list button[aria-pressed="true"]::after { border-color: var(--blue-ink); }
.nb-detail__stage { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.nb-detail__stage figure { position: relative; }
.nb-detail__stage img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r); background: #DDE3E8; }
.nb-detail__stage figcaption { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding-top: 8px; font: 500 var(--t-xs)/1.35 var(--ui); color: var(--ink); }
[data-details-ready] .nb-detail__stage { display: block; }
[data-details-ready] .nb-detail__stage img { border-radius: var(--arc) var(--r) var(--arc) var(--r); box-shadow: 0 30px 60px -40px rgba(16,28,42,.5); animation: fadeUp .35s var(--ease); }
[data-details-ready] .nb-detail__stage figcaption { flex-direction: row; align-items: center; gap: 12px; padding-top: 14px; font-size: var(--t-small); }

/* ---------- F. Enquiry checklist ---------- */
.nb-brief { padding: var(--sec) 0; background-color: var(--slate); color: rgba(255,255,255,.78);
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 32px 32px; }
.nb-brief .label { color: #BFDDF8; }
.nb-brief .h2 { margin: 18px 0 18px; color: #fff; }
.nb-brief .h2 em { color: var(--blue-soft); }
.nb-brief__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 96px; align-items: start; }
.nb-brief__acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.nb-brief__list li { display: grid; grid-template-columns: 34px minmax(0, 220px) minmax(0, 1fr); gap: 4px 18px; align-items: baseline; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.16); }
.nb-brief__list li:last-child { border-bottom: 1px solid rgba(255,255,255,.16); }
.nb-brief__list li::before { content: ""; width: 22px; height: 22px; border-radius: 50%; align-self: center; background: rgba(255,255,255,.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239CC8F0' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat; }
.nb-brief__list b { font: 400 1.3rem/1.25 var(--display); color: #fff; }
.nb-brief__list span { font-size: var(--t-small); }

/* ---------- H. Related services ---------- */
.nb-next { padding: var(--sec) 0 calc(var(--sec) * .8); }
.nb-next__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 24px; }
.nb-next__list a { position: relative; display: block; min-height: 120px; padding: 22px 56px 22px 0; border-top: 2px solid var(--ink); transition: border-color .3s var(--ease); }
.nb-next__k { display: block; font-size: var(--t-small); color: var(--grey); }
.nb-next__list b { display: block; margin-top: 8px; font: 400 1.75rem/1.15 var(--display); color: var(--ink); }
.nb-next__list .ic { position: absolute; right: 4px; top: 26px; width: 22px; height: 22px; transition: transform .3s var(--ease); }
.nb-next__list a:hover { border-color: var(--blue); }
.nb-next__list a:hover b { color: var(--blue-ink); }
.nb-next__list a:hover .ic { transform: translateX(4px); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1240px) {
  .nb-hero__grid { gap: 48px; }
  .nb-hero__ctas .btn { padding: 0 20px; }
  .nb-detail__grid { gap: 0 56px; }
  .nb-brief__grid { gap: 56px; }
  .nb-brief__list li { grid-template-columns: 34px minmax(0, 1fr); }
  .nb-brief__list li span { grid-column: 2; }
}

@media (max-width: 1080px) {
  .nb-type { grid-template-columns: 90px minmax(0, 1fr) minmax(0, 280px); gap: 0 28px; }
  .nb-plan__body { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; }
}

@media (max-width: 1023px) {
  .nb-hero { padding: calc(var(--nav-top) + var(--nav-h) + 40px) 0 64px; }
  .nb-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .nb-hero__copy { max-width: 680px; }
  .nb-hero__media { max-width: 560px; }
  .nb-hero__frame img { aspect-ratio: 4 / 3.6; object-position: 50% 55%; }

  .nb-type { grid-template-columns: 72px minmax(0, 1fr) minmax(0, 240px); gap: 0 24px; padding: 28px 0; }
  .nb-type__n { font-size: 2.8rem; }

  .nb-plan__head { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-bottom: 32px; }
  .nb-plan__body { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .nb-plan__drawing { max-width: 720px; }
  [data-planner].is-ready .nb-plan__notes { position: static; max-width: 720px; }

  .nb-detail__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "stage" "nav"; grid-template-rows: none; }
  .nb-detail__stage { position: static; max-width: 370px; margin-top: 32px; }
  .nb-detail__nav { margin-top: 28px; }

  .nb-brief__grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .nb-brief__head { max-width: 680px; }

  .nb-next__list { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .nb-next__list a { min-height: 0; border-top-width: 1px; border-top-color: var(--line-2); }
  .nb-next__list li:last-child a { border-bottom: 1px solid var(--line-2); }
}

@media (max-width: 760px) {
  .nb-hero { padding: calc(var(--nav-top) + var(--nav-h) + 22px) 0 48px; background-size: 24px 24px; }
  .nb-hero h1 { margin: 14px 0 14px; font-size: 2.15rem; line-height: 1.06; }
  .nb-hero__lede { font-size: 1rem; line-height: 1.55; }
  .nb-hero__ctas { flex-direction: column; gap: 8px; margin-top: 22px; }
  .nb-hero__ctas .btn { width: 100%; white-space: normal; }
  .nb-tblock { margin-top: 24px; }
  .nb-tblock > div { padding: 9px 12px 10px; }
  .nb-tblock dd { font-size: .875rem; }
  .nb-hero__grid { gap: 30px; }
  .nb-hero__media { padding: 22px 22px 0 0; }
  .nb-dim--top { top: 7px; right: 22px; }
  .nb-dim--side { right: 7px; top: 22px; }
  .nb-hero__frame img { aspect-ratio: 4 / 3.4; }
  .nb-hero__frame .tag { left: 12px; bottom: 12px; font-size: .5625rem; }

  .nb-vs__grid { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 32px; }
  .nb-vs__card { padding: 22px 18px 14px; }
  .nb-vs__card h3 { margin: 10px 0 12px; font-size: 1.3rem; }
  .nb-vs__card dl { margin-bottom: 8px; }
  .nb-vs__card dl > div { grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 10px 0; }
  .nb-vs__card dt { font-size: .625rem; }
  /* The card for this page leads on phones */
  .nb-vs__card--this { order: -1; }

  .nb-types__head { margin-bottom: 24px; }
  .nb-type { grid-template-columns: 48px minmax(0, 1fr); gap: 0 14px; align-items: start; padding: 24px 0; }
  .nb-type__n { font-size: 2rem; padding-top: 2px; }
  .nb-type h3 { font-size: 1.6rem; }
  .nb-type p { margin-top: 8px; }
  .nb-type__img { grid-column: 1 / -1; margin-top: 16px; }
  .nb-type__img img { aspect-ratio: 2 / 1; }
  .nb-type__img .tag { font-size: .5625rem; }

  .nb-plan__head { margin-bottom: 24px; }
  .nb-plan__drawing { margin: 0 calc(var(--pad) * -1 + 8px); padding: 12px 6px 14px; border-radius: var(--arc) var(--r) var(--r) var(--r); }
  .nb-plan__note { margin: 0 0 6px 4px; font-size: .6875rem; }
  .nb-pt { width: 44px; height: 44px; }
  .nb-pt__dot { width: 34px; height: 34px; border-width: 2px; font-size: .8125rem; }
  .nb-note, [data-planner].is-ready .nb-note { grid-template-columns: 36px minmax(0, 1fr); gap: 0 12px; padding: 20px 18px 18px; }
  .nb-note__n { width: 34px; height: 34px; font-size: .875rem; }
  [data-planner].is-ready .nb-note h3 { font-size: 1.4rem; margin-top: 4px; }
  [data-planner].is-ready .nb-note p { font-size: .9375rem; }

  .nb-detail__stage { margin-top: 24px; }
  .nb-detail__list button { min-height: 60px; padding: 12px 34px 12px 0; }
  .nb-detail__list button span { font-size: 1.15rem; }
  .nb-detail__list button[aria-pressed="true"] { padding-left: 14px; }
  [data-details-ready] .nb-detail__stage figcaption { font-size: var(--t-xs); gap: 8px; flex-wrap: wrap; }

  .nb-brief__acts { flex-direction: column; }
  .nb-brief__acts .btn { width: 100%; }
  .nb-brief__list li { grid-template-columns: 30px minmax(0, 1fr); gap: 2px 12px; padding: 16px 0; }
  .nb-brief__list b { font-size: 1.15rem; }

  .nb-next__list a { padding: 18px 44px 18px 0; }
  .nb-next__list b { font-size: 1.45rem; margin-top: 4px; }
  .nb-next__list .ic { top: 50%; transform: translateY(-50%); }
  .nb-next__list a:hover .ic { transform: translate(4px, -50%); }
}

@media (max-width: 359px) {
  .nb-hero h1 { font-size: 1.95rem; }
  .nb-tblock dd { font-size: .8125rem; }
  .nb-pt__dot { width: 32px; height: 32px; font-size: .75rem; }
  .nb-plan__go { gap: 8px; }
  .nb-plan__go button { gap: 6px; font-size: .875rem; }
}

@media (max-height: 500px) and (orientation: landscape) and (max-width: 1023px) {
  .nb-hero__ctas { flex-direction: row; }
  .nb-hero__ctas .btn { width: auto; flex: 1; }
  .nb-hero__frame img { aspect-ratio: 16 / 8; }
}

/* Photo selector on narrow screens: the chosen photo opens directly under the detail you tapped,
   so you never lose your place in the list (service JS moves the figures; without JS the stage grid shows). */
[data-details-inline] .nb-detail__stage { display: none; }
[data-details-inline] .nb-detail__list figure { padding: 4px 0 18px; animation: fadeUp .3s var(--ease); }
[data-details-inline] .nb-detail__list img { width: 100%; max-width: 370px; aspect-ratio: 1; object-fit: cover; border-radius: var(--arc) var(--r) var(--arc) var(--r); background: #DDE3E8; }
[data-details-inline] .nb-detail__list figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding-top: 10px; font: 500 var(--t-xs)/1.35 var(--ui); color: var(--ink); }
[data-details-inline] .nb-detail__list li { border-bottom: 1px solid var(--line-2); }
[data-details-inline] .nb-detail__list button { border-bottom: 0; }
[data-details-inline] .nb-detail__list button[aria-pressed="true"]::after { transform: translateY(-70%) rotate(135deg); }

@media (prefers-reduced-motion: reduce) {
  [data-details-inline] .nb-detail__list figure { animation: none; }
  [data-planner].is-ready .nb-note, [data-details-ready] .nb-detail__stage img { animation: none; }
}
