.ss-wayland-page .wl-intro { padding-block: 36px 24px; }
.ss-wayland-page h1 { font-size: 26px; }
.wl-intro > p { max-width: 780px; margin-top: 10px !important; color: var(--muted); }
.wl-prerequisite { display: flex; gap: 14px; align-items: flex-start; padding: 18px 0; margin-top: 24px; border-block: 1px solid var(--line); font-size: 14px; }
.wl-prerequisite .ss-icon { color: var(--green); margin-top: 3px; }
.wl-prerequisite p { max-width: 1000px; color: var(--muted); }
.wl-prerequisite strong { color: var(--ink); }
.wl-tabs { display: flex; border-bottom: 1px solid var(--line); gap: 12px; margin-bottom: 28px; }
.wl-tabs button { border: 0; border-bottom: 3px solid transparent; background: transparent; color: var(--muted); padding: 12px 16px; font-size: 14px !important; min-height: 48px; }
.wl-tabs button:hover { background: var(--paper); }
.wl-tabs button[aria-selected="true"] { color: var(--blue); border-bottom-color: var(--blue); font-weight: 600; }
.wl-workspace { display: grid; grid-template-columns: minmax(280px, 340px) minmax(0, 1fr); gap: 40px; align-items: start; padding-bottom: 36px; }
.wl-instructions { display: flex; flex-direction: column; min-width: 0; }
.wl-step { scroll-margin-top: 20px; }
.wl-step + .wl-step { margin-top: 32px; }
.wl-enhanced .wl-step { margin-top: 0; min-height: 400px; }
.ss-wayland-page .wl-step h2 { font-size: 20px; margin-bottom: 14px; }
.ss-wayland-page .wl-step p { font-size: 15px; color: var(--muted); margin-bottom: 16px; }
.wl-step strong { color: var(--ink); }
.wl-note { border-left: 3px solid #a1b9d4; padding-left: 14px; font-size: 14px !important; }
.wl-step-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding-top: 16px; margin-top: 8px; }
.wl-step-actions > span { color: var(--muted); font-size: 13px; }
.wl-step-actions button:disabled { opacity: .35; cursor: default; }
.wl-image { position: relative; width: 100%; aspect-ratio: 1174 / 894; }
.wl-image img { display: block; width: 100%; height: auto; }
.wl-highlight { position: absolute; border: 3px solid #0964d3; outline: 2px solid #fff; border-radius: 6px; pointer-events: none; transition: left .25s ease, top .25s ease, width .25s ease, height .25s ease; }
.wl-image[data-wayland-target="display"] .wl-highlight { left: 38.5%; top: 61.8%; width: 22.7%; height: 19.5%; }
.wl-image[data-wayland-target="remember"] .wl-highlight { left: 34.4%; top: 16.5%; width: 32%; height: 6.5%; }
.wl-image[data-wayland-target="input"] .wl-highlight { left: 7%; top: 27%; width: 85.6%; height: 11%; }
.wl-image[data-wayland-target="share"] .wl-highlight { left: 86.2%; top: 2.1%; width: 12.3%; height: 8.4%; }
.wl-evidence figcaption { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding-top: 14px; font-size: 13px; min-height: 76px; }
.wl-evidence figcaption p { color: var(--muted); margin-top: 3px; }
.wl-evidence .ss-icon-button { flex-shrink: 0; }
.wl-checks { padding: 12px 0 0; margin: 0 0 14px; border: 0; border-top: 1px solid var(--line); }
.wl-checks legend { font-size: 14px; font-weight: 600; padding-right: 12px; }
.wl-checks label { display: flex; gap: 10px; align-items: flex-start; padding: 7px 0; font-size: 14px; cursor: pointer; }
.wl-checks input { width: 17px; height: 17px; flex: 0 0 17px; margin: 3px 0 0; accent-color: var(--green); }
.ss-wayland-page .wl-check-result { color: var(--green); font-size: 14px; }
.wl-followup { border-top: 1px solid var(--line); background: var(--paper); padding: 32px 0 40px; }
.wl-followup-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.ss-wayland-page .wl-followup h2 { font-size: 20px; }
.wl-followup p { color: var(--muted); font-size: 14px; margin-block: 14px !important; }
.wl-followup .ss-text-link { font-size: 14px; }
.wl-help details { padding: 15px 0; border-bottom: 1px solid var(--line); }
.wl-help details:first-child { padding-top: 0; }
.wl-help summary { font-size: 15px; font-weight: 600; cursor: pointer; }
.wl-reference a { font-size: 12px; display: inline-flex; align-items: center; gap: 6px; text-underline-offset: 3px; }
@media(max-width:1020px) { .wl-tabs { gap: 0; } .wl-tabs button { padding-inline: 12px; } .wl-workspace { gap: 24px; grid-template-columns: minmax(240px, .85fr) minmax(0, 1.15fr); } .wl-followup-layout { gap: 32px; } }
@media(max-width:760px) {
  .ss-wayland-page .ss-nav-action { font-size: 12px !important; }
  .ss-wayland-page .wl-intro { padding-top: 24px; }
  .ss-wayland-page h1 { font-size: 26px; }
  .wl-intro > p { font-size: 15px; }
  .wl-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 20px; }
  .wl-tabs button { padding: 10px 6px; font-size: 13px !important; }
  .wl-workspace { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .wl-enhanced .wl-step { min-height: 0; }
  .wl-evidence { grid-row: 1; }
  .wl-evidence figcaption { min-height: 76px; gap: 10px; }
  .wl-highlight { border-width: 2px; outline-width: 1px; border-radius: 3px; }
  .wl-followup-layout { grid-template-columns: 1fr; gap: 28px; }
}
@media print {
  body > .ss-wayland-page { display: block !important; }
  .ss-wayland-page .wl-tabs, .ss-wayland-page .wl-step-actions, .ss-wayland-page .ss-icon-button { display: none !important; }
  .ss-wayland-page .wl-step[hidden] { display: block !important; min-height: 0; margin-bottom: 24px; }
  .wl-workspace, .wl-followup-layout { display: block; }
  .wl-image { max-width: 560px; }
  .wl-highlight { display: none !important; }
  .wl-help details > * { display: block; }
}
