:root { color-scheme: light; font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #22334c; background: #f3f6fb; line-height: 1.7; }
* { box-sizing: border-box; }
body { margin: 0; }
a { color: #1755aa; text-underline-offset: 3px; }
a:focus-visible, summary:focus-visible { outline: 3px solid #e3a400; outline-offset: 4px; border-radius: 3px; }
.skip-link { position: fixed; left: 1rem; top: -5rem; background: white; padding: .7rem; z-index: 5; }
.skip-link:focus { top: 1rem; }
.guide-header { padding: 1rem max(1rem, calc((100vw - 1280px) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-bottom: 1px solid #dce4ef; background: white; }
.brand { font-size: 1.2rem; font-weight: 800; text-decoration: none; color: #17335e; }
.guide-header span { font-size: .9rem; color: #5b6e87; }
.guide-layout { max-width: 1280px; margin: 2rem auto; padding: 0 1rem; display: grid; grid-template-columns: 255px minmax(0, 1fr); gap: 2rem; align-items: start; }
.guide-sidebar { position: sticky; top: 1rem; max-height: calc(100vh - 2rem); overflow: auto; }
.contents { padding: 1rem; border-radius: 16px; border: 1px solid #d9e3f0; background: white; }
.contents summary { font-weight: 800; color: #17335e; cursor: pointer; }
.contents nav { display: grid; gap: .25rem; margin-top: .8rem; }
.contents nav a { padding: .4rem .5rem; border-radius: 7px; text-decoration: none; font-size: .92rem; }
.contents nav a:hover { background: #edf4ff; }
.sidebar-note, .small { font-size: .9rem; color: #52657e; }
.sidebar-note { padding: 0 .8rem; }
#guide-main { min-width: 0; }
#guide-main section { background: white; border: 1px solid #dce4ef; border-radius: 20px; padding: clamp(1.2rem, 3vw, 2rem); margin-bottom: 1.25rem; scroll-margin-top: 1rem; }
h1, h2, h3 { color: #172f53; line-height: 1.3; }
h1 { font-size: clamp(1.8rem, 3vw, 2.7rem); margin: .4rem 0 1rem; letter-spacing: -.035em; }
h2 { font-size: 1.45rem; margin: 0 0 1rem; }
h3 { font-size: 1.05rem; margin: 0 0 .5rem; }
p { margin: .6rem 0 1rem; }
li { padding-left: .2rem; margin: .5rem 0; }
ol, ul { padding-left: 1.4rem; }
.eyebrow { color: #1c62ad; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; font-size: .8rem; }
.lead { font-size: 1.1rem; }
.notice { background: #eaf3ff; border-left: 4px solid #2b74c0; padding: 1rem 1.1rem; border-radius: 0 12px 12px 0; margin: 1rem 0; }
figure { margin: 1.3rem 0 0; }
figure img { display: block; width: 100%; height: auto; border: 1px solid #dbe4f1; border-radius: 12px; }
figcaption { font-size: .88rem; color: #52657e; margin: .6rem 0; }
.definitions { display: grid; grid-template-columns: minmax(100px, 180px) minmax(0, 1fr); gap: .8rem 1.2rem; }
.definitions dt { font-weight: 750; color: #17335e; }
.definitions dd { margin: 0; }
.control-demo { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .65rem; padding: 1.3rem .8rem; border-radius: 14px; background: #132745; margin: .8rem 0; color: white; }
.control-demo span { padding: .45rem .75rem; border: 1px solid #91b0db; border-radius: 8px; font-size: .92rem; }
.control-demo b { font-size: .9rem; font-weight: 500; }
.help-cards { display: grid; gap: 1rem; }
.help-cards article { border: 1px solid #dbe5f2; border-radius: 12px; padding: 1rem; background: #f8fbff; }
.help-cards article p { margin-bottom: 0; }
.practice-list { display: grid; gap: 1rem; }
.practice-list article { display: flex; gap: 1rem; padding: 1.1rem; border: 1px solid #dbe5f2; border-radius: 14px; }
.number { flex-shrink: 0; display: grid; place-content: center; background: #dfeeff; color: #184f8f; border-radius: 10px; width: 34px; height: 34px; font-weight: 800; }
.practice-list p { margin-bottom: 0; }
.guide-footer { padding: 1rem; text-align: center; color: #52657e; font-size: .92rem; }
.access-message { max-width: 650px; margin: 3rem auto; padding: 2rem; background: white; border-radius: 20px; }
@media (max-width: 850px) { .guide-layout { grid-template-columns: minmax(0, 1fr); gap: 1rem; margin-top: 1rem; } .guide-sidebar { position: static; max-height: none; } .sidebar-note { display: none; } }
@media (max-width: 480px) { .definitions { grid-template-columns: minmax(0, 1fr); gap: .2rem; } .definitions dd { margin-bottom: .8rem; } .practice-list article { padding: .8rem; gap: .65rem; } .guide-header { flex-wrap: wrap; } .control-demo { gap: .4rem; } .control-demo span { padding: .4rem; } }
@media print { .guide-sidebar, .guide-header, .skip-link { display: none; } .guide-layout { display: block; margin: 0; padding: 0; } #guide-main section { break-inside: avoid; border: 0; } }
