.guide-settings-button { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 48px; margin: 0 0 20px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--pine-tint); color: var(--pine-deep); font: inherit; font-weight: 600; text-align: left; }
.guide-settings-button span { font-size: 24px; }
#mappickGuide[hidden] { display: none; }
body:has(#mappickGuide:not([hidden])) { overflow: hidden; }
#mappickGuide { position: fixed; inset: 0; z-index: 6200; display: grid; place-items: center; padding: max(16px,env(safe-area-inset-top)) 16px max(16px,env(safe-area-inset-bottom)); background: #1922298c; }
.guide-panel { width: min(480px,100%); max-height: 100%; min-height: 0; display: flex; flex-direction: column; border-radius: 8px; background: white; color: var(--ink); box-shadow: 0 12px 48px #19222933; }
.guide-heading { display: flex; flex: 0 0 auto; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.guide-heading span { color: #007b83; font-size: 12px; font-weight: 700; }
.guide-close { width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 8px; color: var(--ink-soft); background: var(--paper); }
.guide-close svg { width: 20px; height: 20px; }
.guide-content { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 12px 24px 24px; }
.guide-brand { display: block; width: 96px; height: 96px; margin: 12px auto 20px; border-radius: 8px; }
.guide-content h2 { margin: 12px 0 16px; font-size: 24px; line-height: 1.4; }
.guide-content p, .guide-content li { font-size: 14px; line-height: 1.8; overflow-wrap: anywhere; }
.guide-content p { color: var(--ink-soft); }
.guide-content ol { padding-left: 24px; margin: 16px 0; }
.guide-content li + li { margin-top: 12px; }
.guide-warning { border-left: 3px solid #b86a05; padding-left: 12px; }
.guide-link { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; margin-top: 12px; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: 8px; color: var(--pine-deep); text-decoration: none; font-size: 14px; font-weight: 600; }
.guide-primary-link { background: var(--pine); border-color: var(--pine); color: white; }
.guide-link svg { width: 18px; height: 18px; }
.guide-shortcut-flow { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; margin: 8px 0 18px; }
.guide-shortcut-flow div { min-width: 0; padding: 12px 6px; border: 1px solid #b7e6e1; border-radius: 8px; background: #eefaf8; text-align: center; }
.guide-shortcut-flow strong { display: grid; place-items: center; width: 28px; height: 28px; margin: 0 auto 8px; border-radius: 50%; background: var(--pine); color: white; font-size: 13px; }
.guide-shortcut-flow span { display: block; color: var(--ink); font-size: 12px; font-weight: 700; line-height: 1.4; }
.guide-note { font-size: 12px !important; }
.guide-quick-steps { display: grid; gap: 8px; margin-bottom: 14px; }
.guide-quick-steps div { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 10px; background: var(--paper); }
.guide-quick-steps strong { display: grid; flex: 0 0 28px; width: 28px; height: 28px; place-items: center; border-radius: 50%; background: var(--pine); color: white; font-size: 13px; }
.guide-quick-steps span { font-size: 13px; font-weight: 700; }
.guide-shortcut-shot, .shortcut-tutorial-shot { margin: 12px 0; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); }
.guide-shortcut-shot img, .shortcut-tutorial-shot img { display: block; width: 100%; height: 250px; object-fit: cover; object-position: center 64%; }
.guide-shortcut-shot figcaption, .shortcut-tutorial-shot figcaption { padding: 10px 12px; color: var(--pine-deep); font-size: 12px; font-weight: 700; line-height: 1.5; }
.guide-prefix { display: block; padding: 12px; background: var(--paper); overflow-wrap: anywhere; font-size: 12px; line-height: 1.7; user-select: all; }
.guide-footer { display: flex; flex: 0 0 auto; gap: 12px; padding: 16px 20px; border-top: 1px solid var(--line); }
.guide-footer button { flex: 1; min-height: 44px; border: 1px solid var(--line-strong); border-radius: 8px; background: white; color: var(--ink-soft); font: inherit; font-size: 14px; font-weight: 600; }
.guide-footer button:last-child { background: var(--pine); border-color: var(--pine); color: white; }
.guide-footer button:disabled { opacity: .45; }
.guide-panel :focus-visible { outline: 2px solid var(--pine); outline-offset: 3px; }
@media (max-width: 360px) { .guide-content { padding: 8px 18px 18px; } .guide-content h2 { font-size: 21px; } .guide-heading, .guide-footer { padding: 12px 16px; } }
.shortcut-settings[hidden] { display: none; }
.shortcut-settings { padding: 20px 0; margin-bottom: 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.shortcut-settings h3 { margin: 0 0 12px; font-size: 16px; color: var(--pine-deep); }
.shortcut-status { font-size: 13px; font-weight: 600; }
.shortcut-settings input { display: block; width: 100%; min-height: 44px; padding: 10px; margin-bottom: 8px; border: 1px solid var(--line-strong); border-radius: 8px; font-size: 16px; }
.shortcut-settings .personal-apply { background: var(--pine); color: white; }
.shortcut-step { display: grid; grid-template-columns: 32px minmax(0,1fr); align-items: center; gap: 10px; padding: 12px 0; border-top: 1px solid var(--line); }
.shortcut-step-number { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 50%; background: var(--pine); color: white; font-size: 13px; font-weight: 800; }
.shortcut-step-copy { color: var(--ink); font-size: 14px; font-weight: 700; line-height: 1.5; }
.shortcut-install { grid-column: 2; display: flex; align-items: center; justify-content: center; min-height: 44px; text-decoration: none; }
.shortcut-paste-step { align-items: start; }
.shortcut-tutorial-shot { grid-column: 1 / -1; width: 100%; }
.shortcut-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 20px; }
.shortcut-warning { font-size: 12px; line-height: 1.8; color: #a24721; }
.shortcut-settings summary { cursor: pointer; min-height: 44px; padding: 12px 0; font-size: 14px; font-weight: 600; }
.shortcut-settings ol { padding-left: 24px; font-size: 13px; line-height: 1.8; }
.shortcut-settings li + li { margin-top: 12px; }
.shortcut-settings code { margin-bottom: 12px; }
