.page-hero .h1 { max-width: 18ch; }
.sec-head .body { max-width: 46rem; font-size: var(--fs-lede); line-height: 1.6; }
.sec-head .lede code, .sec-head .body code { white-space: nowrap; }

.st-w { font-weight: 600; color: var(--waiting); }
.kk { height: 1.75rem; min-width: 0; vertical-align: middle; font-size: .75rem; }

.w-side-wide { width: 21rem; }
.w-stack { flex: 1; min-height: 0; display: grid; grid-template-rows: minmax(0, 1fr); gap: 12px; }
.w-stack-2 { grid-template-rows: minmax(0, .8fr) minmax(0, 1fr); }
.w-stack .w-pane, .w-panes .w-pane { transition: box-shadow .3s; }
.w-pane.fail { box-shadow: 0 0 0 1px color-mix(in srgb, var(--w-failed) 55%, transparent); }
.w-pane.kept { box-shadow: 0 0 0 1px var(--w-line2); }
.w-chip.fc { background: color-mix(in srgb, var(--w-failed) 12%, transparent); color: var(--w-failed); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--w-failed) 30%, transparent); }
.w-chip.kept { margin-left: auto; padding: 0 6px; color: var(--w-muted); }
.w-ph > .w-chip { min-width: 0; }
.ask { display: inline-block; padding: .375rem .75rem; border-radius: 8px; color: var(--w-waiting); box-shadow: inset 0 0 0 1px var(--w-wait-ring), inset 0 0 0 100px var(--w-waitwash); }

.w-row.l3 { padding-left: 92px; background: linear-gradient(var(--w-guide), var(--w-guide)) 47px -2px / 1px calc(100% + 4px) no-repeat; }
.w-row.l3::before { content: ""; position: absolute; top: -2px; bottom: -2px; left: 75px; width: 1px; background: var(--w-guide); }
.w-row.l3::after { content: ""; position: absolute; top: 4px; left: 75px; width: 9px; height: 9px; border-left: 1px solid var(--w-guide); border-bottom: 1px solid var(--w-guide); border-bottom-left-radius: 7px; }
.w-row.l3.last::before { bottom: auto; height: 12px; }

@media (max-width: 900px) { .frame.tall { min-height: clamp(34rem, 30rem + 4vw, 36rem); } }
.dlg-wide { width: min(100%, 35rem); }
.agfiles { display: grid; grid-template-columns: auto auto minmax(0, 1fr); gap: .25rem .875rem; align-items: center; padding: .75rem .875rem; border-radius: 10px; background: var(--w-field); box-shadow: inset 0 0 0 1px var(--w-line); font-size: 12.5px; }
.agf-who { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--w-text); }
.agf-gap { margin-top: .5rem; }
.agf-path { font-family: var(--mono); font-size: 11.5px; color: var(--w-text2); overflow-wrap: anywhere; }
.dlg-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.dlg-never { margin-right: auto; }

.w-tiles { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 12px; }
.w-tiles .w-ph { padding-right: 8px; }
.w-tiles .w-pn { overflow: hidden; mask-image: linear-gradient(90deg, #000 calc(100% - 18px), transparent); }
.w-tiles .tile-x { margin-left: auto; flex: none; }
.w-tiles .w-body { padding: 10px 12px; font-size: 11px; }
.w-tiles .w-pane { animation: tile-in .6s var(--ease) both; }
.w-tiles .w-pane:nth-child(2) { animation-delay: .05s; }
.w-tiles .w-pane:nth-child(3) { animation-delay: .1s; }
.w-tiles .w-pane:nth-child(4) { animation-delay: .15s; }
.w-tiles .w-pane:nth-child(5) { animation-delay: .2s; }
.w-tiles .w-pane:nth-child(n+6) { animation-delay: .3s; }
@keyframes tile-in { from { opacity: 0; transform: translate3d(0, 10px, 0) scale(.97); } to { opacity: 1; transform: none; } }

.toast { position: absolute; z-index: 3; top: 18px; right: 18px; width: min(21rem, calc(100% - 36px)); display: flex; gap: .875rem; padding: 14px 16px; border-radius: 16px; background: var(--w-sheet); backdrop-filter: blur(32px) var(--w-sat); box-shadow: var(--w-shadow), 0 0 0 1px var(--w-line2); color: var(--w-text); }
.toast img { flex: none; align-self: flex-start; }
.toast p { margin: 0; }
.toast-app { font-size: 11.5px; color: var(--w-muted); }
.toast-t { font-size: 14.5px; font-weight: 600; margin-bottom: 2px !important; }
.toast-l { font-size: 12.5px; color: var(--w-text2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.toast.bob { animation: toast-bob 5s ease-in-out infinite; }
@keyframes toast-bob { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(0, -5px, 0); } }

.agfilm { display: grid; gap: 1rem; max-width: 62rem; }
.agfilm .film { border-radius: var(--r-panel); border: 1px solid var(--line); box-shadow: var(--shadow); }
.js .agfilm .film-play { align-items: center; justify-content: center; padding: 0; background: linear-gradient(180deg, rgba(4, 8, 14, .05) 30%, rgba(4, 8, 14, .72)); }
.agfilm-note { font-size: var(--fs-small); color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  .toast.bob, .w-tiles .w-pane { animation: none; }
}

@media (max-width: 640px) {
  .frame.tall { min-height: 49rem; }
  .frame .w-side { min-width: 0; }
  .dlg-wide { padding: 18px; gap: 12px; }
  .agf-path { font-size: 10.5px; }
  .agfiles { grid-template-columns: auto minmax(0, 1fr); }
  .agf-path { grid-column: 1 / -1; }
  .w-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; grid-auto-rows: 5.5rem; }
  .w-tiles .w-body { display: none; }
  .toast { top: 12px; right: 12px; }
}

.w-row.two .w-txt > :first-child { margin-right: 3.25rem; overflow: hidden; mask-image: linear-gradient(90deg, #000 calc(100% - 18px), transparent); }
.nw { white-space: nowrap; }
@media (max-width: 900px) {
  .frame.deep { min-height: clamp(31rem, 27rem + 4vw, 34rem); }
}
@media (max-width: 640px) {
  .frame.deep { min-height: 26rem; }
  .frame.short { min-height: 22rem; }
}
