body:has(dialog[open] .bookmark-guide){overflow:hidden}
dialog:has(.bookmark-guide){width:min(820px,calc(100% - 32px));max-width:none;background:#fff}
.guide-first-copy{margin-bottom:20px;max-width:350px}
.bookmark-quick-setup{padding-top:22px}
.bookmark-quick-setup .guide-heading{margin-bottom:10px}
.quick-lead{font-size:13px;color:#637266;margin:0 0 16px;line-height:1.8;word-break:keep-all}
.quick-name{font-size:11px;color:#768778;margin:8px 0 22px;line-height:1.7}
.quick-steps{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.quick-step{min-width:0;border:1px solid #dce5dc;border-radius:12px;padding:16px;background:#fbfcfa}
.quick-step h4{display:flex;align-items:center;gap:8px;font-size:14px;line-height:1.6;margin:0 0 14px;letter-spacing:-.02em}
.quick-step h4>span{width:23px;height:23px;display:grid;place-items:center;flex-shrink:0;background:#35654b;color:#fff;font-size:11px;border-radius:50%}
.quick-step-row{display:grid;grid-template-columns:128px minmax(0,1fr);gap:14px;align-items:start}
.quick-step-row p{font-size:12px;line-height:1.8;margin:0 0 10px;word-break:keep-all;overflow-wrap:anywhere}
.quick-step-row p:last-child{margin-bottom:0}.quick-step-row b{font-weight:650;color:#264d34}
.quick-image{margin:0;width:100%;min-width:0}.quick-image button{display:block;width:100%;padding:0;border:1px solid #d7e1d6;border-radius:8px;overflow:hidden}.quick-image img{display:block;width:100%;height:auto}.quick-image figcaption{font-size:9px;text-align:center;color:#718271;margin-top:5px;white-space:nowrap}
.quick-step-row .quick-small{font-size:11px;color:#728170;line-height:1.7}
.quick-caution{font-size:12px;line-height:1.8;margin:16px 0;color:#795931;background:#fff7eb;border-radius:7px;padding:10px 12px;word-break:keep-all}
.quick-fallback{border-top:1px solid #e0e7de;border-bottom:1px solid #e0e7de;padding:13px 0;font-size:12px;color:#627664;line-height:1.8}.quick-fallback summary{cursor:pointer;font-weight:600;min-height:26px;display:list-item}.quick-fallback p{margin:12px 0}.quick-fallback .quick-image{max-width:260px;margin:15px auto 0}
.quick-finish{margin-top:18px}.quick-finish .btn.primary{flex:1;margin:0}
@media(max-width:780px){.quick-steps{grid-template-columns:1fr;gap:14px}.quick-step-row{grid-template-columns:132px minmax(0,1fr)}.quick-step-row p{font-size:13px}.quick-step-row .quick-small{font-size:12px}}
@media(max-width:600px){.bookmark-quick-setup{padding-top:18px}.quick-step{padding:14px}.quick-step-row{grid-template-columns:96px minmax(0,1fr);gap:12px}.quick-step h4{font-size:14px;margin-bottom:12px}.quick-name{margin-bottom:16px}.quick-step-row p{font-size:12px}.quick-step-row .quick-small{font-size:11px}.quick-step-row .quick-image figcaption{font-size:8px}.quick-lead{font-size:12px}}
dialog:has(.bookmark-guide) .modal-body{padding:22px 26px 12px}
.bookmark-guide{color:#263d30;font-size:14px;line-height:1.7}
.guide-devices{display:flex;background:#f0f3f0;padding:4px;border-radius:10px;gap:4px}
.guide-devices button{flex:1;border-radius:7px;min-height:44px;padding:8px 10px;color:#657268;font-size:13px}
.guide-devices button[aria-pressed=true]{background:white;color:#233f2f;box-shadow:0 1px 4px #182d1d12;font-weight:700}
.guide-modes{display:flex;gap:22px;border-bottom:1px solid #dfe7df;margin-top:14px}
.guide-modes button{padding:12px 2px 11px;color:#758276;font-size:13px;border-bottom:2px solid transparent}
.guide-modes button[aria-pressed=true]{border-color:#357554;color:#2a6042;font-weight:700}
.guide-progress{display:flex;gap:6px;margin:20px 0 24px}
.guide-progress button{display:flex;align-items:center;gap:7px;text-align:left;font-size:12px;flex:1;padding:7px 4px;color:#737f76;min-height:42px;white-space:nowrap}
.guide-progress span{display:grid;place-items:center;border:1px solid #d8e2d9;background:#fafcf9;width:24px;height:24px;border-radius:50%;font-size:11px;flex-shrink:0}
.guide-progress button[aria-current]{color:#245437;font-weight:700}
.guide-progress button[aria-current] span{background:#35654b;border-color:#35654b;color:#fff}
.guide-heading{margin-bottom:20px}.guide-heading>p{font-size:11px;color:#5e8068;letter-spacing:.04em;margin-bottom:6px;font-weight:600}
.guide-heading h3{font-size:22px;line-height:1.5;letter-spacing:-.04em;font-weight:700;word-break:keep-all;overflow-wrap:anywhere}
.guide-heading h3:focus{outline:none}
.guide-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:26px;align-items:start}
.guide-figure{margin:0;min-width:0}.guide-figure>button{display:block;padding:0;width:100%;border-radius:14px;overflow:hidden;border:1px solid #dce5de;background:#f0f4f1}
.guide-figure img{display:block;width:100%;height:auto}.guide-figure figcaption{color:#758276;font-size:11px;margin-top:8px;text-align:center}.guide-figure figcaption span{border:1px solid #dce5de;border-radius:4px;padding:1px 5px;margin-right:3px}
.guide-description{min-width:0}.guide-description p{margin:0 0 15px;word-break:keep-all;overflow-wrap:anywhere}.guide-description b{font-weight:650;color:#203c2b}
.guide-instructions{list-style:decimal;margin:0 0 17px;padding-left:22px}.guide-instructions li{padding-left:3px;margin-bottom:12px;word-break:keep-all;overflow-wrap:anywhere}.guide-instructions li::marker{color:#668271;font-weight:600}
.bookmark-guide .guide-tip{border-left:3px solid #9eb6a4;padding:10px 12px;background:#f2f6f1;border-radius:0 6px 6px 0;color:#4d6254;font-size:12px;line-height:1.8}
.bookmark-guide code{background:#edf1ec;border-radius:3px;padding:1px 4px;font-size:.93em;overflow-wrap:anywhere}
.guide-copy{width:100%;min-height:46px;text-align:center;justify-content:center;text-decoration:none}
.bookmark-guide .guide-feedback{font-size:12px;color:#2b694a;margin:8px 0 14px;line-height:1.7}.guide-feedback:empty{display:none}
.guide-manual{font-size:12px;margin-top:12px}.guide-manual summary{cursor:pointer;padding:8px 0}.guide-manual label{display:block;margin:8px 0}.guide-manual textarea{width:100%;min-height:100px;resize:vertical;padding:10px;border:1px solid #b8c9ba;border-radius:8px;font-size:16px;word-break:break-all}
.guide-important{background:#fff7eb;border:1px solid #edd9b8;border-radius:8px;padding:12px 14px;margin-bottom:16px;font-size:12px;color:#765526}.guide-important>b{color:#745224}.guide-important p{margin:7px 0 0}.bookmark-guide .guide-small{font-size:12px;line-height:1.8;color:#6a776c;margin-top:12px}
.guide-navigation{position:sticky;bottom:-12px;background:#fff;display:flex;gap:10px;margin:24px -1px 0;padding:14px 0;border-top:1px solid #e0e7de;z-index:1}.guide-navigation .btn{min-height:46px}.guide-navigation .btn.primary{margin-left:auto;flex:0 1 auto;white-space:normal}.guide-navigation .btn[disabled]{opacity:.35;cursor:default}
.guide-resume{font-size:11px;text-align:right;color:#839184;margin:0 0 20px}.guide-help{border-top:1px solid #e0e7de;padding-top:4px}.guide-help details{border-bottom:1px solid #e7ece5;padding:13px 0;font-size:12px;line-height:1.85}.guide-help summary{cursor:pointer;color:#46614e;font-size:13px;font-weight:600;min-height:24px}.guide-help p{margin:12px 0}.guide-help ol{padding-left:20px;margin:12px 0}.guide-help li{margin:9px 0}.guide-help .btn{margin-top:4px;white-space:normal}.guide-source{font-size:10px;color:#839084;line-height:1.8;margin:17px 0 0!important}.guide-source a{color:#5a7763;text-decoration:underline;text-underline-offset:3px}
.guide-zoom{margin:20px auto;max-width:620px}.guide-zoom img{width:100%;height:auto;border-radius:12px;border:1px solid #dbe5dd}.guide-zoom figcaption{font-size:11px;color:#738176;text-align:center;margin-top:8px}.is-zoomed>.btn{margin-top:16px}
.bookmark-guide button:focus-visible,.bookmark-guide a:focus-visible{outline:2px solid #316f4e;outline-offset:3px}
@media(max-width:600px){dialog:has(.bookmark-guide){width:100%;height:100dvh;max-height:100dvh;max-width:100%;margin:0;border:0;border-radius:0}dialog:has(.bookmark-guide) .modal-head{padding:14px 18px}dialog:has(.bookmark-guide) .modal-head h2{font-size:15px}dialog:has(.bookmark-guide) .modal-body{padding:14px 18px max(16px,env(safe-area-inset-bottom))}.guide-devices button{font-size:12px}.guide-modes{margin-top:6px}.guide-progress{gap:2px;margin:12px 0 15px}.guide-progress button{flex-direction:column;gap:4px;font-size:10px;padding:4px 0}.guide-progress span{width:23px;height:23px}.guide-heading{margin-bottom:14px}.guide-heading h3{font-size:20px}.guide-layout{grid-template-columns:1fr;gap:20px}.guide-figure{max-width:310px;margin:0 auto;width:100%}.guide-description{font-size:14px}.guide-navigation{bottom:calc(-1 * max(16px,env(safe-area-inset-bottom)));padding-bottom:max(14px,env(safe-area-inset-bottom));margin-top:20px;gap:8px}.guide-navigation .btn{font-size:12px;padding-left:13px;padding-right:13px}.guide-navigation .btn.primary{flex:1}.guide-heading>p{margin-bottom:3px}}
@media(prefers-reduced-motion:reduce){.bookmark-guide *{scroll-behavior:auto}}
