/* Tutorial-only additions. Existing site assets remain unchanged. */
.guide-page .guide-width{width:min(860px,calc(100% - 64px))}
.guide-page .doc-hero{padding:30px 0 52px}
.guide-page .doc-hero h1{font-size:clamp(38px,5.5vw,62px);letter-spacing:-.058em;margin-top:16px}
.guide-page .doc-hero p{max-width:740px}
.guide-breadcrumb{margin:0 0 28px;font-size:12px;color:var(--muted)}
.guide-breadcrumb ol{display:flex;flex-wrap:wrap;gap:8px;list-style:none;padding:0;margin:0;align-items:center}
.guide-breadcrumb li+li::before{content:'/';margin-right:8px;color:var(--quiet)}
.guide-breadcrumb a{display:inline-flex;align-items:center;min-height:44px;text-decoration:underline;text-underline-offset:3px}
.guide-actions{display:flex;gap:18px;flex-wrap:wrap;align-items:center;margin-top:26px}
.guide-manual{display:inline-flex;align-items:center;min-height:44px;font-size:13px;font-weight:700;color:var(--accent-strong);text-decoration:underline;text-underline-offset:4px}
.guide-contents{padding:20px 24px;background:var(--panel);border:1px solid var(--border);border-radius:14px;margin-bottom:42px}
.guide-contents strong{display:block;font-size:12px;color:var(--quiet);letter-spacing:.09em;text-transform:uppercase;margin-bottom:10px}
.guide-contents ul{display:flex;flex-wrap:wrap;gap:0 18px;padding:0;margin:0;list-style:none}
.guide-contents a{display:inline-flex;min-height:44px;align-items:center;color:var(--accent-strong);font-size:13px;text-decoration:underline;text-underline-offset:3px}
.guide-article{max-width:none}
.guide-article p,.guide-article li{font-size:16px;line-height:1.85}
.guide-article h2{font-size:clamp(25px,3vw,31px);letter-spacing:-.035em}
.guide-article h3{font-size:20px;line-height:1.4}
.guide-article code{font-size:.86em;overflow-wrap:anywhere}
.guide-article .guide-table{table-layout:fixed;margin:20px 0 26px;font-size:14px;line-height:1.65}
.guide-table caption{text-align:left;font-size:13px;color:var(--muted);padding:0 0 12px;font-weight:650}
.guide-table th[scope="row"]{background:transparent;font-weight:700}
.guide-table tr>*:first-child{width:24%}
.guide-input,.guide-example{padding:18px 22px;margin:20px 0;border:1px solid var(--border);border-radius:12px;background:var(--panel)}
.guide-input span,.guide-example figcaption{display:block;font-size:12px;line-height:1.7;font-weight:700;color:var(--muted);margin-bottom:8px}
.guide-input code{background:transparent;padding:0;font-size:15px}
.guide-example pre{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:14px;line-height:1.8;margin:0;white-space:pre-wrap;overflow-wrap:anywhere;color:var(--ink)}
.example-text{color:var(--ink);font-weight:650}
.guide-word-list{padding:15px 18px;background:var(--canvas-2);border-radius:10px}
.guide-word-list code{padding:0;background:transparent}
.guide-article .note{font-size:15px;line-height:1.8}
.guide-practice{margin:20px 0;padding:20px 24px;border:1px solid var(--border);border-radius:12px;background:var(--panel)}
.guide-practice h3{margin:0 0 10px;font-size:18px}
.guide-practice p{font-size:15px}
.guide-practice summary{min-height:44px;display:list-item;cursor:pointer;font-size:14px;font-weight:700;color:var(--accent-strong);padding:10px 4px}
.guide-practice details[open] summary{margin-bottom:10px}
.guide-practice details p:last-child{margin-bottom:0}
.guide-sources li{margin:0 0 12px}
.guide-article .guide-end{padding:30px;background:var(--panel);border:1px solid var(--border);border-radius:14px}
.guide-end .btn{color:var(--panel);text-decoration:none}
:root[data-theme="dark"] .guide-page .btn.btn-ink:not(:disabled):hover{color:#202621}
.guide-end .guide-manual{margin-left:18px}
.guide-page section{scroll-margin-top:24px}
@media(max-width:760px){.guide-page .guide-width{width:calc(100% - 36px)}.guide-page .doc-hero{padding:18px 0 38px}.guide-page .doc-main{padding-top:30px}.guide-breadcrumb{margin-bottom:16px}.guide-contents{padding:16px 18px}.guide-article p,.guide-article li{font-size:15px}.guide-article .guide-table{font-size:13px}.guide-table th,.guide-table td{padding:12px 7px!important}.guide-example,.guide-input,.guide-practice{padding:16px}.guide-article .guide-end{padding:22px}}
@media(max-width:420px){.guide-page .guide-width{width:calc(100% - 28px)}.guide-contents ul{display:block}.guide-contents a{width:100%}.guide-table tr>*:first-child{width:25%}.guide-article .guide-table{font-size:12px}.guide-end .guide-manual{display:flex;margin-left:0;margin-top:10px}}
.guide-table tr>*{overflow-wrap:anywhere}
.guide-cards{display:grid;grid-template-columns:1fr;gap:18px;margin:24px 0}
.guide-card{padding:24px;border:1px solid var(--border);border-radius:14px;background:var(--panel)}
.guide-card h2{margin:8px 0 12px}.guide-card p{margin-bottom:14px}
.guide-card .guide-manual{font-size:14px}
.guide-category{font-size:12px;font-weight:700;letter-spacing:.06em;color:var(--quiet)}
.guide-related{padding:24px;background:var(--panel);border:1px solid var(--border);border-radius:14px}
.guide-related li{margin:8px 0}.guide-related a{display:inline-flex;align-items:center;min-height:44px}
.guide-hub .doc-hero h1{max-width:750px}
@media(max-width:420px){.guide-card,.guide-related{padding:18px}}
