/* Freestanding guide drawings share their ink and paper with the article and enlarged view. */
.g-art, .g-figure {
  --g-ink: #252a2c;
  --g-muted: #535d5e;
  --g-line: #c8cecb;
  --g-line-strong: #949e9c;
  --g-lime: #447568;
  --g-lime-hi: #255e50;
  --g-lime-edge: #6e9287;
  --g-lime-soft: #dce7e1;
}
/* picture vocabulary: voxels (d dark, l light, g lime glass), lines, fills, labels */
.g-art polygon{stroke:none;stroke-width:1;stroke-linejoin:round}
.g-art .vdt{fill:#535b63;stroke:rgba(52,68,65,.17)}.g-art .vdl{fill:#2b3036;stroke:rgba(52,68,65,.12)}.g-art .vdr{fill:#3c434a;stroke:rgba(52,68,65,.14)}
.g-art .vlt{fill:#fdfdfb;stroke:rgba(8,9,11,.3)}.g-art .vll{fill:#aeb7b6;stroke:rgba(8,9,11,.3)}.g-art .vlr{fill:#d4dad6;stroke:rgba(8,9,11,.3)}
.g-art .vgt{fill:rgba(105,147,133,.34);stroke:rgba(77,117,103,.7)}.g-art .vgl{fill:rgba(105,147,133,.12);stroke:rgba(77,117,103,.5)}.g-art .vgr{fill:rgba(105,147,133,.2);stroke:rgba(77,117,103,.6)}
.g-art .s-wire{fill:none;stroke:rgba(52,68,65,.46);stroke-width:1}
.g-art .s-flow{fill:none;stroke:var(--g-lime-hi);stroke-width:2;stroke-linecap:square;stroke-dasharray:8 120}
.g-art .s-flow-bold{stroke-width:3}
.g-art .s-ink{stroke:#3a3f45;stroke-width:2.2;stroke-linecap:square}
.g-art .s-ink-dark{stroke:#293331;stroke-width:2.4;stroke-linecap:square}
.g-art .s-lime{stroke:var(--g-lime);stroke-width:2.2;stroke-linecap:square}
.g-art .s-lime-bold{stroke:var(--g-lime-hi);stroke-width:3;stroke-linecap:square}
.g-art .s-head{stroke-width:3.6}
.g-art .s-soft{stroke:rgba(52,68,65,.3);stroke-width:2;stroke-linecap:square}
.g-art .s-soft-thin{stroke:rgba(52,68,65,.24);stroke-width:1.2}
.g-art .s-dash{fill:none;stroke:rgba(52,68,65,.34);stroke-width:1;stroke-dasharray:4 5}
.g-art .s-node{fill:var(--g-lime)}
.g-art .f-lime{fill:var(--g-lime)}.g-art .f-hi{fill:var(--g-lime-hi)}.g-art .f-hi-glow{fill:rgba(77,117,103,.2)}
.g-art .f-white-soft{fill:rgba(105,147,133,.45)}
.g-art .f-lime-band{fill:rgba(105,147,133,.2)}
.g-art .f-page{fill:#fdfdfb;stroke:#232623}
.g-art .f-hole{fill:#050608}
.g-art .f-zone{fill:rgba(105,147,133,.12);stroke:rgba(77,117,103,.55)}
.g-art .f-zone-private{fill:rgba(52,68,65,.03);stroke:rgba(52,68,65,.45);stroke-dasharray:4 4}
.g-art .o-line{fill:none;stroke:rgba(52,68,65,.42);stroke-width:1}
.g-art .o-dash{fill:none;stroke:rgba(52,68,65,.16);stroke-dasharray:3 6}
.g-art .o-chev{fill:none;stroke:var(--g-lime-hi);stroke-width:1.6}
.g-art .o-node{fill:#232623;stroke:var(--g-lime-hi);stroke-width:1.5}
.g-art .w-frame{fill:#fafaf7;stroke:rgba(52,68,65,.3)}
.g-art .w-dot{fill:rgba(52,68,65,.26)}
.g-art .w-url{fill:rgba(52,68,65,.07)}
.g-art .w-app{fill:#263031}
.g-art .w-bubble-q{fill:#e1e5e3}
.g-art .w-bubble-a{fill:#f9fbf8;stroke:rgba(52,68,65,.26)}
.g-art .w-chip{fill:rgba(105,147,133,.1);stroke:rgba(77,117,103,.6)}
.g-art .w-stop{fill:rgba(52,68,65,.04);stroke:rgba(52,68,65,.42);stroke-dasharray:4 4}
.g-art .w-slot{fill:none;stroke:rgba(77,117,103,.55);stroke-dasharray:4 4}
.g-art .d-page{fill:#fcfcfa;stroke:#929d99;stroke-width:1}
.g-art .d-fold{fill:none;stroke:#232623}
.g-art .c-box{fill:#fafaf7;stroke:var(--g-lime-hi);stroke-width:1.2}
.g-art .t-tile{fill:#e1e6e3;stroke:rgba(52,68,65,.2)}
.g-art .t-tile-dim{opacity:.72}
.g-art .t-card{fill:#fdfdfa;stroke:var(--g-lime)}
.g-art .t-check{fill:none;stroke:rgba(52,68,65,.5)}
.g-art .t-check.is-done{fill:var(--g-lime);stroke:var(--g-lime)}
.g-art .m-ghost{fill:rgba(52,68,65,.07)}
.g-art .l-body{fill:#263031}
.g-art .l-arc{fill:none;stroke:#263031;stroke-width:2}
.g-art text{font-family:Pretendard,Arial,sans-serif;fill:#31393a}
.g-art .t-name{font-size:16px;font-weight:650;letter-spacing:-.01em;fill:#263031}
.g-art .t-small{font-size:14px}
.g-art .t-big{font-size:22px;font-weight:750;letter-spacing:-.03em;fill:#263031}
.g-art .t-mono{font-family:'Courier New',monospace;font-size:12px;letter-spacing:.1em;fill:#535e60}
.g-art .t-node{font-family:'Courier New',monospace;font-size:17px;font-weight:700;fill:#fff}
.g-art .c-glyph{font-family:'Courier New',monospace;font-size:36px;font-weight:700;fill:var(--g-lime-hi)}
.g-art .t-plus{font-family:'Courier New',monospace;font-size:22px;fill:var(--g-lime-hi)}
.g-art .t-diff-old{font-size:16px;fill:#606970;text-decoration:line-through}
.g-art .t-diff-new{font-size:16px;font-weight:650;fill:var(--g-lime-hi)}
.g-art .t-arrow{font-size:17px}
.g-art .t-lime{fill:var(--g-lime-hi)}.g-art .t-white{fill:#263031}.g-art .t-ink{fill:#fff}.g-art .t-dim{fill:#535e60}
/* figures */
.g-figure-head{display:flex;justify-content:space-between;gap:16px;padding:13px 18px;border-bottom:1px solid var(--g-line);font-size:10px;letter-spacing:.12em;color:#5b6766}
.g-figure>figcaption{display:flex;flex-wrap:wrap;align-items:center;gap:8px 22px;padding:13px 18px;border-top:1px solid var(--g-line);font-size:12px;line-height:1.6;color:var(--g-muted);word-break:keep-all}
.g-status{display:inline-flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px;font-size:12px;color:var(--g-lime-hi)}
.g-status .mono{font-size:10px;letter-spacing:.12em}
.g-figure>figcaption .status-dot{margin-right:0}
.g-arch-key{display:block;font-size:10px;letter-spacing:.12em;color:#5c6767}
/* 01 canonical document */
.g-doc-wrap{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,.55fr);gap:clamp(24px,4vw,64px);align-items:center;padding:clamp(24px,3.4vw,52px)}
.g-doc{position:relative;padding:12px 30px 18px;border:1px solid var(--g-line-strong);background:#fbfbf8;box-shadow:0 30px 60px rgba(22,32,29,.09)}
.g-doc-sec{position:relative;padding:16px 0;border-top:1px dashed rgba(52,68,65,.12)}
.g-doc-sec:first-child{border-top:0}
.g-doc-title{margin-bottom:7px;font-size:14px;font-weight:700;color:#242a2a}
.g-doc-title .mono{font-size:13px;color:var(--g-lime)}
.g-doc-sec p{font-size:15px;line-height:1.62;color:#404a4b;word-break:keep-all}
.g-doc-sec .g-doc-hl{display:inline-block;padding:6px 10px;background:rgba(154,173,159,.14);box-shadow:inset 2px 0 0 var(--g-lime);color:#223e34;font-weight:600}
.g-doc-sec .g-doc-why{margin-top:7px;font-size:13px;color:#5b6665}
.g-doc-sec .g-doc-archive{margin-top:6px;font-size:12px;color:#5c6766}
.g-doc-sec .g-doc-archive::before{content:"→ ";color:var(--g-lime)}
.g-pin{position:absolute;right:-41px;top:18px;display:grid;place-items:center;width:22px;height:22px;border:1px solid var(--g-lime);color:var(--g-lime-hi);font-size:10px;background:var(--paper)}
.g-doc>.g-pin-a{right:-11px;top:22px}
.g-notes{margin:0;padding:0;list-style:none}
.g-notes li{display:grid;grid-template-columns:30px 1fr;align-items:center;padding:14px 0;border-top:1px solid var(--g-line);font-size:14px;line-height:1.5;color:#354041;word-break:keep-all}
.g-notes li:first-child{border-top:0}
.g-notes .mono{display:grid;place-items:center;width:22px;height:22px;border:1px solid var(--g-lime);color:var(--g-lime-hi);font-size:10px}
/* 03 read */
.g-read{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:clamp(24px,4.5vw,72px);align-items:center;padding:clamp(24px,3.4vw,52px)}
.g-strip{margin:0;padding:0;list-style:none}
.g-strip li{padding:16px 0 16px 18px;border-left:1px solid var(--g-line);font-size:17px;font-weight:650;color:#252e2e;word-break:keep-all}
.g-strip li:first-child{border-left-color:var(--g-lime)}
.g-strip li:nth-child(2){border-left-color:rgba(154,173,159,.6)}
.g-strip .mono{display:block;margin-bottom:6px;font-size:10px;font-weight:400;letter-spacing:.12em;color:var(--g-lime-hi)}
.g-chat{display:flex;flex-direction:column;gap:14px;width:100%;max-width:540px;justify-self:end}
.g-bubble{max-width:86%;padding:14px 18px;font-size:15px;line-height:1.55;word-break:keep-all}
.g-bubble-q{align-self:flex-end;background:#dfe6e1;color:#252e2e}
.g-bubble-a{align-self:flex-start;border:1px solid var(--g-line-strong);background:#fbfbf8;color:#2b3535}
.g-bubble-a>p:first-child{font-size:17px;font-weight:650}
.g-cite{display:inline-block;margin-top:12px;padding:6px 10px;border:1px solid var(--g-lime-edge);font-size:12px;font-weight:500;letter-spacing:.01em;color:var(--g-lime-hi);word-break:break-word}
.g-gap{font-size:12px;color:#5b6766}
/* 04 write pipeline */
.g-pipe{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:18px;margin:0;padding:clamp(24px,3.4vw,52px) clamp(24px,3.4vw,52px) 0;list-style:none}
.g-pipe li{position:relative;padding:18px;border:1px solid var(--g-line-strong);background:transparent}
.g-pipe li:not(:last-child)::after{content:"→";position:absolute;right:-15px;top:50%;width:12px;margin-top:-11px;color:var(--g-lime-hi);font-size:13px;line-height:22px;text-align:center}
.g-pipe .mono{display:block;font-size:9px;letter-spacing:.12em;color:#5b6766}
.g-pipe h3{margin:10px 0 8px;font-size:18px;font-weight:750;letter-spacing:-.025em;color:var(--g-ink)}
.g-pipe p{font-size:13px;line-height:1.55;color:#475254;word-break:keep-all}
.g-pipe .g-diff{display:flex;gap:8px;margin-top:6px;padding:5px 8px;font-size:13px}
.g-pipe .g-diff b{font:700 12px/1.55 'Courier New',monospace}
.g-diff-old{background:rgba(52,68,65,.04);color:#586260;text-decoration:line-through;text-decoration-color:rgba(52,68,65,.35)}
.g-diff-new{background:rgba(154,173,159,.13);color:var(--g-lime-hi)}
.g-pipe .g-rev{margin-top:12px;font-size:10px;letter-spacing:.06em;color:var(--g-lime-hi)}
.g-pipe-preview{border-color:var(--g-lime-edge)!important}
.g-stale{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px 18px;margin:18px clamp(24px,3.4vw,52px) clamp(24px,3.4vw,52px);padding:14px 18px;border:1px dashed rgba(52,68,65,.28);background:rgba(52,68,65,.03)}
.g-stale .mono{font-size:10px;letter-spacing:.12em;color:#293333}
.g-stale p{font-size:14px;line-height:1.6;color:#404a4b;word-break:keep-all}
.g-stale b{color:#293333;font-weight:650}
/* 05 task */
.g-task{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(24px,4.5vw,72px);align-items:center;padding:clamp(24px,3.4vw,52px)}
.g-task-card{padding:24px;border:1px solid var(--g-lime-edge);background:transparent}
.g-task-card .g-arch-key{color:var(--g-lime-hi)}
.g-task-card h3{margin:10px 0 18px;font-size:22px;font-weight:750;letter-spacing:-.03em;color:var(--g-ink);word-break:keep-all}
.g-task-label{font-size:12px;font-weight:600;color:#5b6766}
.g-checks{margin:8px 0 0;padding:0;list-style:none}
.g-checks li{display:flex;align-items:center;gap:12px;padding:10px 0;border-top:1px solid var(--g-line);font-size:14px;color:#293536}
.g-checks li::before{content:"";flex:none;width:12px;height:12px;border:1px solid #5b6766}
.g-checks li.is-done::before{border-color:var(--g-lime);background:var(--g-lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2 5 8.5l4.5-5' fill='none' stroke='%23ffffff' stroke-width='1.6'/%3E%3C/svg%3E") center/10px no-repeat}
.g-checks li.is-done{color:#5b6462}
.g-timeline{margin:0;padding:0;list-style:none}
.g-timeline li{position:relative;padding:0 0 26px 26px;border-left:1px solid var(--g-line-strong);font-size:16px;font-weight:600;color:#252e2e}
.g-timeline li:last-child{padding-bottom:0;border-left-color:transparent}
.g-timeline li::before{content:"";position:absolute;left:-5px;top:2px;width:9px;height:9px;background:var(--paper);border:1px solid var(--g-lime)}
.g-timeline li:last-child::before{background:var(--g-lime)}
.g-timeline .mono{display:block;margin-bottom:6px;font-size:10px;font-weight:400;letter-spacing:.1em;color:#5b6766}
.g-states{display:flex;flex-wrap:wrap;align-items:center;gap:10px 0;margin:0;padding:0 clamp(24px,3.4vw,52px) clamp(24px,3.4vw,52px);list-style:none}
.g-states li{padding:7px 11px;border:1px solid var(--g-line-strong);font-size:13px;color:#424d4c}
.g-states li:not(:last-child)::after{content:"→";margin:0 10px 0 21px;color:var(--g-lime-hi)}
.g-states li:not(:last-child){border-right:0;padding-right:0;border-color:transparent;padding-left:0}
.g-states li:last-child{border-color:var(--g-lime);color:var(--g-lime-hi)}
/* 06 control */
.g-zones{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(0,.75fr);gap:clamp(18px,3vw,40px);align-items:stretch;padding:clamp(24px,3.4vw,52px) clamp(24px,3.4vw,52px) 0}
.g-storage{padding:22px;border:1px solid var(--g-line-strong);background:transparent}
.g-storage-p{margin:10px 0 18px;font-size:14px;color:#354041;word-break:keep-all}
.g-zone-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.g-zone{padding:16px;border:1px solid var(--g-line);font-size:15px;font-weight:650;color:#252e2e;word-break:keep-all}
.g-zone .mono{display:block;margin-bottom:10px;font-size:9px;font-weight:400;letter-spacing:.12em;color:var(--g-lime-hi)}
.g-zone-private{border-style:dashed;border-color:rgba(52,68,65,.3)}
.g-zone-private .mono{color:#56635f}
.g-server{display:flex;flex-direction:column;justify-content:center;padding:22px;border:1px dashed var(--g-line-strong);color:var(--g-muted)}
.g-server p{margin-top:10px;font-size:13px;line-height:1.55;word-break:keep-all}
.g-ask{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;padding:18px clamp(24px,3.4vw,52px) clamp(24px,3.4vw,52px)}
.g-ask>.mono{font-size:10px;letter-spacing:.12em;color:var(--g-lime-hi)}
.g-ask ul{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none}
.g-ask li{padding:7px 11px;border:1px solid var(--g-line-strong);font-size:13px;color:#293536}
/* 07 ladder */
.g-ladder{margin:0;padding:clamp(14px,2vw,26px) clamp(24px,3.4vw,52px);list-style:none}
.g-ladder li{display:grid;grid-template-columns:96px minmax(0,.9fr) minmax(0,1.6fr) 78px;align-items:center;gap:18px;padding:15px 18px;border-top:1px solid var(--g-line)}
.g-ladder li:first-child{border-top:0}
.g-ladder .mono{font-size:10px;letter-spacing:.12em;color:#5b6766}
.g-ladder h3{font-size:17px;font-weight:700;color:#252e2e;word-break:keep-all}
.g-ladder p{font-size:14px;line-height:1.5;color:var(--g-muted);word-break:keep-all}
.g-ladder em{justify-self:end;padding:5px 8px;border:1px solid var(--g-line-strong);font:500 10px/1 'Courier New',monospace;letter-spacing:.08em;font-style:normal;color:#4e5a58;white-space:nowrap}
.g-ladder li.is-core{background:var(--g-lime-soft);border-top-color:transparent}
.g-ladder li.is-core .mono,.g-ladder li.is-core h3,.g-ladder li.is-core p{color:var(--g-ink)}
.g-ladder li.is-core em{border-color:var(--g-lime-edge);color:var(--g-ink)}

.g-art, .g-figure { margin:clamp(24px,3.5vw,56px) 0; color:var(--g-ink); }
.g-art-frame { padding:clamp(4px,1.2vw,18px) 0; }
.g-art svg { display:block; width:100%; max-width:760px; height:auto; max-height:420px; margin:auto; }
.g-art figcaption { display:flex; align-items:baseline; justify-content:space-between; gap:16px; color:var(--g-muted); font-size:13px; line-height:1.55; }
.g-art .wk-fly,.g-art .wk-halo,.g-art .wk-halo-f,.g-art .wk-b1p {opacity:0}
.g-figure { font-size:15px; }
.g-figure :is(p,li,h3,h4,strong) { margin:0; }
.g-figure :is(ol,ul) { list-style:none; padding-inline-start:0; }
.g-figure .mono {font:550 11px/1.5 ui-monospace,monospace;letter-spacing:.045em;}
.g-art figcaption > .status-dot { display:none; }
@media(max-width:920px) {
 .g-figure .g-pipe,.g-figure .g-ladder {grid-template-columns:repeat(2,minmax(0,1fr));}
 .g-figure .g-doc-wrap,.g-figure .g-read,.g-figure .g-task,.g-figure .g-zones {grid-template-columns:1fr;}
}
@media(max-width:600px) {
 .g-art-frame {padding:8px 0;} .g-art figcaption {gap:10px;}
 .g-figure .g-doc,.g-figure .g-task-card,.g-figure .g-read,.g-figure .g-zones,.g-figure .g-task {padding:16px;}
 .g-figure .g-doc-wrap {padding:14px;}
 .g-figure .g-figure-head {padding:10px 12px;letter-spacing:.04em;}
 .g-figure :is(.g-pipe,.g-ladder,.g-strip) li {min-width:0;}
}
@media(max-width:920px){.g-doc-sec .g-pin{right:-11px}.g-doc-sec{padding-right:18px}}

/* Captions and process steps align to the same article edge. */
.g-figure .g-figure-head, .g-figure > figcaption { padding:8px 0; border:0; color:var(--g-muted); }
.g-figure :is(.g-doc-wrap,.g-read,.g-task,.g-zones,.g-pipe,.g-ladder,.g-states,.g-ask) { padding-inline:0; }
.g-doc { border-color:#d8dcd6; box-shadow:0 8px 18px -12px #52605855; }
.g-figure :is(.g-pipe li,.g-task-card,.g-storage,.g-server,.g-zone) { border:0; background:transparent; padding-inline:0; }
.g-figure .g-zone-private { border-inline-start:1px dashed var(--g-line-strong); padding-inline-start:12px; }
.g-figure .g-stale { margin-inline:0; border:0; border-inline-start:2px solid var(--g-lime-edge); }
.g-figure .g-ladder li { padding-inline:0; }
.g-figure .g-ladder li.is-core { background:transparent; }
.g-figure .g-ladder li.is-core :is(h3,em) { color:var(--g-lime-hi); }
.g-figure .g-pipe { column-gap:24px; }
.g-figure .g-pipe li:not(:last-child)::after { right:-17px; }
.g-figure .g-pipe li + li { margin-top:0; }
@media(max-width:920px) {
  .g-figure .g-ladder li { grid-template-columns:74px minmax(0,1fr) auto; column-gap:10px; }
  .g-figure .g-ladder li p { grid-column:2; }
  .g-figure .g-ladder li em { grid-column:3; grid-row:1 / span 2; }
  .g-figure .g-pipe { grid-template-columns:1fr; gap:0; }
  .g-figure .g-pipe li { padding:12px 0 16px 18px; border-inline-start:1px solid var(--g-line); }
  .g-figure .g-pipe li:not(:last-child)::after { content:none; }
}
@media(max-width:600px) {
  .g-figure .g-ladder li { grid-template-columns:minmax(0,1fr) auto; }
  .g-figure .g-ladder li :is(h3,p) { grid-column:1 / -1; }
  .g-figure .g-ladder li em { grid-column:2; grid-row:1; }
  .g-figure .g-zone-private { padding-inline-start:0; border:0; }
}

/* Typeset dense figures for the available article width, including beside the tablet contents menu. */
.articles { container: handbook-article / inline-size; }
@container handbook-article (max-width: 690px) {
  .g-figure { font-size:16px; }
  .g-figure .g-figure-head { flex-wrap:wrap; gap:3px 14px; }
  .g-figure .g-figure-head, .g-figure .g-figure-head span,
  .g-figure figcaption, .g-figure .g-status, .g-figure .mono,
  .g-figure .g-gap, .g-figure .g-stale .mono, .g-figure .g-task-label,
  .g-figure .g-cite, .g-figure .g-rev, .g-figure .g-ladder em, .g-figure .g-diff b {
    font-size:14px; line-height:1.5; letter-spacing:0;
  }
  .g-figure .g-doc-sec p, .g-figure .g-pipe p,
  .g-figure .g-server p, .g-figure .g-ask li, .g-figure .g-ladder p,
  .g-figure .g-pipe .g-diff, .g-figure .g-states li, .g-figure .g-stale p {
    font-size:15px; line-height:1.55;
  }
  .g-figure .g-doc-title,
  .g-figure .g-checks li, .g-figure .g-notes li { font-size:16px; }
  .g-figure .g-doc-sec :is(.g-doc-why,.g-doc-archive) { font-size:14px; }
}

@container handbook-article (max-width: 690px) {
  .g-figure .g-doc > .g-pin-a { right:6px; }
  .g-figure .g-doc-sec { padding-inline-end:24px; }
}
