body.jws-guide-surface { margin: 0; background: #f5f7fa; }
body.jws-guide-surface::before, body.jws-guide-surface::after { content: none; }
.jws-guide-surface, .jws-guide-surface * { box-sizing: border-box; }
.jws-guide-surface > .navline a, .jws-guide-surface > .footer a { text-decoration: none; }
.jws-guide-surface .chat-float, .jws-guide-surface .ai-chat-float, .jws-guide-surface .evo-ai-chat-toggle { display: none !important; }
.jws-guide-host { position: relative; z-index: 1; width: min(var(--store-width, 1040px), calc(100% - var(--store-gutter, 120px))); margin: 0 auto; }
.jws-guide-host > .jws-guide, .jws-guide-host > .jws-guide-return { padding-inline: 0; }
.jws-guide-return { max-width: 1376px; margin: 0 auto; padding: 12px clamp(20px, 4vw, 64px) 0; font: 14px/1.6 "Plus Jakarta Sans", system-ui, sans-serif; color: #17324d; }
.jws-guide-return a { display: inline-flex; align-items: center; min-height: 44px; color: #275caa; text-underline-offset: 4px; }
.jws-guide-return a:focus-visible { outline: 3px solid #275caa; outline-offset: 4px; }
.jws-guide-return p { margin: 8px 0; }
.jws-guide {
  --jws-paper: #f5f7fa;
  --jws-navy: #17324d;
  --jws-blue: #275caa;
  --jws-teal: #116c72;
  --jws-muted: #596b7d;
  --jws-line: #dce5ed;
  --jws-control: #7c8fa2;
  box-sizing: border-box;
  min-height: 100vh;
  padding: 0 clamp(20px, 4vw, 64px);
  background: var(--jws-paper);
  color: var(--jws-navy);
  font: 17px/1.75 "Plus Jakarta Sans", system-ui, sans-serif;
  text-align: left;
  overflow-wrap: anywhere;
  color-scheme: light;
  caret-color: var(--jws-blue);
  scrollbar-color: var(--jws-muted) var(--jws-paper);
}
.jws-guide *, .jws-guide *::before, .jws-guide *::after { box-sizing: border-box; }
.jws-guide ::selection { background: #dbeef0; color: var(--jws-navy); }
.jws-guide * { font-family: inherit; }
.jws-guide [hidden] { display: none !important; }
.jws-guide a { color: var(--jws-blue); text-decoration-thickness: 1px; text-underline-offset: 4px; }
.jws-guide button, .jws-guide input, .jws-guide select { font: inherit; }
.jws-guide button, .jws-guide select { cursor: pointer; }
.jws-guide button { color: var(--jws-navy); }
.jws-guide :focus-visible { outline: 3px solid var(--jws-blue); outline-offset: 4px; }
.jws-guide p { margin: 0 0 1em; text-wrap: pretty; }
.jws-guide h1, .jws-guide h2, .jws-guide h3 { color: var(--jws-navy); line-height: 1.2; text-wrap: balance; }
.jws-guide h1, .jws-guide h2, .jws-guide h3, .jws-guide figure { margin: 0; }
.jws-guide h2:focus { outline: none; }
.jws-guide h2:focus-visible { outline: 3px solid var(--jws-blue); outline-offset: 6px; }
.jws-guide .jws-guide-skip { position: absolute; z-index: 5; left: 20px; top: 12px; padding: 10px 20px; background: #fff; transform: translateY(-180%); }
.jws-guide .jws-guide-skip:focus { transform: none; }
.jws-guide .jws-guide-masthead, .jws-guide .jws-guide-layout, .jws-guide .jws-guide-footer { max-width: 1376px; margin: 0 auto; }
.jws-guide .jws-guide-masthead { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; padding: 44px 0 32px; border-bottom: 1px solid var(--jws-line); }
.jws-guide .jws-guide-identity h1 { font: 700 clamp(42px, 4.8vw, 64px)/1.1 "Plus Jakarta Sans", system-ui, sans-serif; letter-spacing: -.035em; }
.jws-guide .jws-guide-description { max-width: 65ch; margin: 16px 0 0; font-size: 16px; color: var(--jws-muted); }
.jws-guide .jws-guide-edition { flex-shrink: 0; padding-bottom: 3px; font-size: 13px; color: var(--jws-muted); }
.jws-guide .jws-guide-edition p { margin: 3px 0; }
.jws-guide .jws-guide-preview { display: inline-block; padding: 5px 10px; border: 1px solid var(--jws-line); border-radius: 4px; background: #fff; color: var(--jws-navy); }
.jws-guide .jws-guide-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); align-items: start; gap: clamp(24px, 4vw, 58px); padding: 34px 0 58px; }
.jws-guide .jws-guide-sidebar { position: sticky; top: 24px; max-height: calc(100vh - 48px); overflow-y: auto; padding: 4px 5px 5px 0; }
.jws-guide .jws-guide-toc h2 { margin-bottom: 16px; font-size: 15px; font-weight: 700; }
.jws-guide .jws-guide-toc ul, .jws-guide .jws-guide-search-results ul { list-style: none; margin: 0; padding: 0; }
.jws-guide .jws-guide-toc li + li { margin-top: 5px; }
.jws-guide .jws-guide-toc a { display: block; min-height: 44px; padding: 10px 12px; border-left: 1px solid transparent; color: var(--jws-muted); line-height: 1.5; text-decoration: none; font-size: 15px; }
.jws-guide .jws-guide-toc a:hover { color: var(--jws-blue); background: #eaf0f6; }
.jws-guide .jws-guide-toc a[aria-current="page"] { border-color: var(--jws-teal); background: #e8f0f2; color: var(--jws-navy); font-weight: 700; }
.jws-guide .jws-guide-mobile-nav { display: none; }
.jws-guide .jws-guide-tools { margin-top: 30px; padding-top: 25px; border-top: 1px solid var(--jws-line); }
.jws-guide .jws-guide-tools label, .jws-guide .jws-guide-mobile-nav label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 700; }
.jws-guide .jws-guide-tools input, .jws-guide .jws-guide-mobile-nav select { display: block; min-height: 44px; min-width: 0; width: 100%; padding: 10px; border: 1px solid var(--jws-control); border-radius: 5px; background: #fff; color: var(--jws-navy); font-size: 16px; }
.jws-guide .jws-guide-tools input::placeholder { color: var(--jws-muted); opacity: 1; }
.jws-guide .jws-guide-text-button { min-height: 44px; padding: 8px 0; border: 0; background: transparent; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.jws-guide .jws-guide-print { min-height: 44px; width: 100%; margin-top: 16px; padding: 10px 12px; border: 1px solid var(--jws-control); border-radius: 5px; background: #fff; font-size: 14px; font-weight: 700; }
.jws-guide .jws-guide-print:hover { border-color: var(--jws-blue); color: var(--jws-blue); }
.jws-guide .jws-guide-tool-note { margin: 8px 0 0; color: var(--jws-muted); font-size: 13px; line-height: 1.6; }
.jws-guide .jws-guide-search-results { margin-top: 8px; font-size: 15px; }
.jws-guide .jws-guide-search-results p { color: var(--jws-muted); }
.jws-guide .jws-guide-search-results a { display: block; padding: 8px 0; }
.jws-guide .jws-guide-reading { min-width: 0; }
.jws-guide .jws-guide-reading-bar { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 12px; color: var(--jws-muted); font-size: 13px; }
.jws-guide .jws-guide-reading-bar p { margin: 0; }
.jws-guide .jws-guide-page { padding: clamp(24px, 3.3vw, 46px); border: 1px solid var(--jws-line); border-radius: 7px; background: #fff; scroll-margin-top: 24px; }
.jws-guide .jws-guide-page + .jws-guide-page { margin-top: 30px; }
.jws-guide.is-enhanced .jws-guide-page { margin-top: 0; }
.jws-guide .jws-guide-page-header { margin-bottom: 32px; }
.jws-guide .jws-guide-page-number { margin-bottom: 12px; color: var(--jws-teal); font-size: 12px; }
.jws-guide.is-enhanced .jws-guide-page-number { display: none; }
.jws-guide .jws-guide-page-header h2 { max-width: 27ch; font-size: clamp(28px, 3vw, 38px); letter-spacing: -.7px; }
.jws-guide .jws-guide-intro { max-width: 65ch; margin: 20px 0 0; color: var(--jws-muted); font-size: 1em; }
.jws-guide .jws-guide-figure { min-width: 0; margin: 24px 0 0; }
.jws-guide .jws-guide-image-link { display: block; width: fit-content; max-width: 100%; border: 1px solid var(--jws-line); border-radius: 5px; padding: 12px; background: var(--jws-paper); text-decoration: none; }
.jws-guide .jws-guide-image-link:hover { border-color: var(--jws-teal); }
.jws-guide .jws-guide-image-link img { display: block; width: auto; height: auto; max-width: 100%; margin: 0 auto; border: 0; border-radius: 2px; }
.jws-guide .jws-guide-zoom-hint { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; color: var(--jws-blue); font-size: 14px; line-height: 1.5; }
.jws-guide .jws-guide-zoom-hint span { font-size: 17px; line-height: 1; }
.jws-guide .jws-guide-figure figcaption { max-width: 72ch; margin-top: 12px; color: var(--jws-muted); font-size: 14px; line-height: 1.65; }
.jws-guide .jws-guide-tv { margin: 0 0 32px; }
.jws-guide .jws-guide-steps { margin: 0; padding-left: 1.5em; }
.jws-guide .jws-guide-step { padding-left: .375em; }
.jws-guide .jws-guide-step::marker { color: var(--jws-teal); font-weight: 700; font-size: 1em; font-variant-numeric: tabular-nums; }
.jws-guide .jws-guide-step + .jws-guide-step { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--jws-line); }
.jws-guide .jws-guide-step h3 { margin-bottom: 12px; font-size: 21px; line-height: 1.35; }
.jws-guide .jws-guide-step-text > p { max-width: 68ch; margin-bottom: 0; }
.jws-guide .jws-guide-overview { list-style: none; padding-left: 0; }
.jws-guide .jws-guide-overview > li { padding-left: 0; }
.jws-guide .jws-guide-warning { margin: 16px 0; padding: 16px 20px; border-left: 1px solid #a65e13; background: #fff7e9; color: #70400d; font-size: 16px; }
.jws-guide .jws-guide-warning p, .jws-guide .jws-guide-note p { margin: 8px 0 0; }
.jws-guide .jws-guide-note { margin-top: 32px; padding: 20px; border-left: 1px solid var(--jws-teal); background: #edf5f5; font-size: 16px; }
.jws-guide .jws-guide-details { max-width: 72ch; margin-top: 24px; padding: 8px 0; border-top: 1px solid var(--jws-line); border-bottom: 1px solid var(--jws-line); font-size: 16px; }
.jws-guide .jws-guide-details summary { min-height: 44px; padding: 10px 0; cursor: pointer; color: var(--jws-blue); font-weight: 700; line-height: 1.5; }
.jws-guide .jws-guide-details p { margin: 8px 0 12px; }
.jws-guide .jws-guide-image-compact .jws-guide-figure { max-width: 540px; }
.jws-guide .jws-guide-pagination { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }
.jws-guide .jws-guide-pagination a { display: flex; flex-direction: column; align-items: flex-start; padding: 14px 0; text-decoration: none; }
.jws-guide .jws-guide-pagination a:last-child { grid-column: 2; text-align: right; align-items: flex-end; }
.jws-guide .jws-guide-pagination a span { color: var(--jws-muted); font-size: 12px; }
.jws-guide .jws-guide-pagination a strong { margin-top: 5px; font-size: 15px; }
.jws-guide .jws-guide-pagination a:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.jws-guide .jws-guide-footer { display: flex; justify-content: space-between; gap: 16px; padding: 23px 0 30px; border-top: 1px solid var(--jws-line); color: var(--jws-muted); font-size: 12px; }
.jws-guide .jws-guide-footer p { margin: 0; }
.jws-guide .jws-guide-footer span { padding: 0 8px; color: #9aafbf; }
.jws-guide .jws-guide-dialog { width: min(1300px, calc(100vw - 32px)); max-width: calc(100vw - 32px); max-height: calc(100dvh - 32px); margin: auto; padding: 22px; border: 1px solid var(--jws-line); border-radius: 8px; background: #fff; color: var(--jws-navy); overflow: auto; }
.jws-guide .jws-guide-dialog::backdrop { background: rgb(13 30 47 / 82%); }
.jws-guide .jws-guide-dialog-toolbar { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.jws-guide .jws-guide-dialog-toolbar h2 { flex: 1; font-size: 18px; }
.jws-guide .jws-guide-dialog-toolbar button { min-height: 44px; padding: 8px 14px; border: 1px solid var(--jws-control); border-radius: 5px; background: #fff; font-size: 14px; }
.jws-guide .jws-guide-dialog-toolbar button[aria-pressed="true"] { border-color: var(--jws-blue); background: #eaf1fa; }
.jws-guide .jws-guide-image-stage { max-height: 65dvh; overflow: auto; background: var(--jws-paper); }
.jws-guide .jws-guide-image-stage img { display: block; width: auto; height: auto; max-width: 100%; max-height: 65dvh; margin: 0 auto; object-fit: contain; }
.jws-guide .jws-guide-image-stage.is-original img { max-width: none; max-height: none; margin: 0; }
.jws-guide .jws-guide-dialog-caption { margin: 16px 0 9px; font-size: 14px; }
.jws-guide .jws-guide-original-link { font-size: 13px; }

@media (min-width: 1200px) {
  .jws-guide .jws-guide-image-side .jws-guide-step-content { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: start; gap: 28px; }
  .jws-guide .jws-guide-image-side .jws-guide-figure { margin-top: 0; }
}
@media (max-width: 900px) {
  .jws-guide .jws-guide-layout { grid-template-columns: 180px minmax(0, 1fr); gap: 24px; }
  .jws-guide .jws-guide-masthead { align-items: flex-start; gap: 24px; }
  .jws-guide .jws-guide-page { padding: 28px; }
  .jws-guide .jws-guide-reading-bar span { display: none; }
}
@media (max-width: 680px) {
  .jws-guide { padding: 0 18px; font-size: 16px; }
  .jws-guide .jws-guide-masthead { display: block; padding: 28px 0 24px; }
  .jws-guide .jws-guide-edition { margin-top: 20px; }
  .jws-guide .jws-guide-edition p:not(.jws-guide-preview) { display: inline; margin-right: 12px; }
  .jws-guide .jws-guide-preview { display: block; width: fit-content; margin-bottom: 9px; }
  .jws-guide .jws-guide-layout { display: block; padding: 24px 0 32px; }
  .jws-guide .jws-guide-sidebar { position: static; max-height: none; overflow: visible; margin-bottom: 26px; padding: 0; }
  .jws-guide .jws-guide-toc ul { display: flex; flex-wrap: wrap; gap: 3px 12px; }
  .jws-guide .jws-guide-toc h2 { margin-bottom: 10px; }
  .jws-guide .jws-guide-toc li + li { margin-top: 0; }
  .jws-guide .jws-guide-toc a { padding: 8px 0; border-left: 0; }
  .jws-guide.is-enhanced .jws-guide-toc { display: none; }
  .jws-guide.is-enhanced .jws-guide-mobile-nav { display: block; }
  .jws-guide .jws-guide-tools { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 0 12px; margin-top: 20px; padding-top: 20px; }
  .jws-guide .jws-guide-tools label, .jws-guide .jws-guide-search-results, .jws-guide .jws-guide-tool-note { grid-column: 1 / -1; }
  .jws-guide .jws-guide-print { grid-column: 1 / -1; margin-top: 14px; }
  .jws-guide .jws-guide-page { padding: 25px 19px; }
  .jws-guide .jws-guide-page-header h2 { font-size: 28px; }
  .jws-guide .jws-guide-page-header { margin-bottom: 24px; }
  .jws-guide .jws-guide-image-link { padding: 8px; }
  .jws-guide .jws-guide-steps { padding-left: 1.25em; }
  .jws-guide .jws-guide-step { padding-left: 4px; }
  .jws-guide .jws-guide-overview { padding-left: 0; }
  .jws-guide .jws-guide-step h3 { font-size: 20px; }
  .jws-guide .jws-guide-warning, .jws-guide .jws-guide-note { padding: 16px; }
  .jws-guide .jws-guide-footer { display: block; }
  .jws-guide .jws-guide-footer p + p { margin-top: 4px; }
  .jws-guide .jws-guide-dialog { padding: 14px; }
  .jws-guide .jws-guide-dialog-toolbar { flex-wrap: wrap; gap: 10px; }
  .jws-guide .jws-guide-dialog-toolbar h2 { flex-basis: 100%; font-size: 17px; }
  .jws-guide .jws-guide-pagination { gap: 16px; }
  .jws-guide .jws-guide-pagination a strong { font-size: 14px; }
}
/* P5 shares the chapter reader, with tools kept above its longer table of contents. */
.p5-guide .jws-guide-identity h1 { max-width: 23ch; font-size: clamp(32px, 3.8vw, 48px); }
.p5-guide figcaption { text-wrap: pretty; }
.p5-guide .jws-guide-tools { margin: 0 0 24px; padding: 0 0 24px; border-top: 0; border-bottom: 1px solid var(--jws-line); }
.p5-guide .jws-guide-mobile-nav { margin-bottom: 20px; }
.p5-guide .p5-guide-toc-group { margin: 22px 0 7px; padding-inline: 12px; color: var(--jws-navy); font-size: 13px; font-weight: 700; }
.p5-guide .p5-guide-toc-group:first-child { margin-top: 0; }
.p5-guide .jws-guide-image-side .jws-guide-step-content { display: block; }
.p5-guide .jws-guide-image-side .jws-guide-figure { margin-top: 24px; }
.p5-guide .jws-guide-image-link img { max-width: min(100%, 320px); }

/* Native control screenshots share the long-guide reading rhythm. */
:is(.galatama-guide, .tetkring-guide) .jws-guide-identity h1 { max-width: 24ch; font-size: clamp(32px, 3.8vw, 48px); }
:is(.galatama-guide, .tetkring-guide) .jws-guide-tools { margin: 0 0 24px; padding: 0 0 24px; border-top: 0; border-bottom: 1px solid var(--jws-line); }
:is(.galatama-guide, .tetkring-guide) .jws-guide-mobile-nav { margin-bottom: 20px; }
:is(.galatama-guide, .tetkring-guide) .p5-guide-toc-group { margin: 22px 0 7px; padding-inline: 12px; color: var(--jws-navy); font-size: 13px; font-weight: 700; }
:is(.galatama-guide, .tetkring-guide) .p5-guide-toc-group:first-child { margin-top: 0; }
:is(.galatama-guide, .tetkring-guide) .jws-guide-image-side .jws-guide-step-content { display: block; }
:is(.galatama-guide, .tetkring-guide) .jws-guide-image-side .jws-guide-figure { margin-top: 24px; }
:is(.galatama-guide, .tetkring-guide) figcaption { text-wrap: pretty; }
.jws-guide .wiki-lcd-transcript { margin-top: 20px; break-inside: avoid; }
.jws-guide .wiki-lcd-transcript p { margin: 0 0 8px; font-size: 14px; font-weight: 600; }
.jws-guide .wiki-lcd-transcript pre { width: fit-content; max-width: 100%; box-sizing: border-box; margin: 0; padding: 12px; overflow-x: auto; white-space: pre; font-family: ui-monospace, Consolas, monospace; font-size: 14px; line-height: 1.7; color: var(--jws-navy); background: var(--jws-paper); border: 1px solid var(--jws-line); border-radius: 6px; }
.jws-guide .wiki-comparison { width: 100%; table-layout: fixed; border-collapse: collapse; margin: 0 0 32px; font-size: 14px; line-height: 1.6; }
.jws-guide .wiki-comparison caption { padding-bottom: 12px; text-align: left; font-weight: 700; }
.jws-guide .wiki-comparison th, .jws-guide .wiki-comparison td { padding: 12px 8px; border-bottom: 1px solid var(--jws-line); vertical-align: top; text-align: left; overflow-wrap: anywhere; }
.jws-guide .wiki-comparison thead { background: #edf5f5; }
.jws-guide .wiki-comparison tbody th { font-weight: 600; }

@media print {
  .jws-guide-host { width: 100%; margin: 0; }
  .jws-guide-surface > .navline, .jws-guide-surface > .footer,
  .jws-guide-surface > .mobile-bottom, .jws-guide-surface > .chat-panel,
  .jws-guide-surface > .ai-chat-panel { display: none !important; }
  .jws-guide-return { display: none; }
  .jws-guide { padding: 0; min-height: 0; background: #fff; color: #17324d; font-size: 11pt; }
  .jws-guide .jws-guide-intro, .jws-guide .jws-guide-details, .jws-guide .jws-guide-note, .jws-guide .jws-guide-warning { font-size: 11pt; }
  .jws-guide .jws-guide-skip, .jws-guide .jws-guide-sidebar, .jws-guide .jws-guide-reading-bar,
  .jws-guide .jws-guide-pagination, .jws-guide .jws-guide-zoom-hint, .jws-guide .jws-guide-dialog,
  .jws-guide .jws-guide-footer { display: none !important; }
  .jws-guide .jws-guide-masthead { padding: 0 0 20px; margin-bottom: 24px; }
  .jws-guide .jws-guide-identity h1 { font-size: 36pt; }
  .jws-guide .jws-guide-layout { display: block; padding: 0; }
  .jws-guide .jws-guide-page, .jws-guide .jws-guide-page[hidden] { display: block !important; border: 0; border-radius: 0; padding: 0; margin: 0; }
  .jws-guide .jws-guide-page + .jws-guide-page { break-before: page; margin: 0; }
  .jws-guide.is-enhanced .jws-guide-page-number { display: block; }
  .jws-guide .jws-guide-page-header h2 { font-size: 25pt; }
  .jws-guide .jws-guide-step h3 { font-size: 14pt; break-after: avoid; }
  .jws-guide .jws-guide-step-content { display: block; }
  .jws-guide .jws-guide-figure { break-inside: avoid; }
  .jws-guide .jws-guide-image-link { padding: 6px; border: 1px solid #dce5ed; background: #fff; }
  .jws-guide .jws-guide-image-link img { max-height: 180mm; object-fit: contain; }
  .jws-guide .jws-guide-figure figcaption { font-size: 9pt; }
  .jws-guide .jws-guide-details > :not(summary) { display: block !important; }
  .jws-guide .jws-guide-details::details-content { display: block !important; content-visibility: visible !important; }
  .jws-guide .jws-guide-details summary { min-height: 0; padding: 0; list-style: none; color: #17324d; }
  .jws-guide .jws-guide-details summary::-webkit-details-marker { display: none; }
  .jws-guide .jws-guide-note, .jws-guide .jws-guide-warning { break-inside: avoid; print-color-adjust: exact; }
  .jws-guide a { color: inherit; text-decoration: none; }
}
