/* Contextual tour: real controls remain interactive through the cutout. */
.dt-tour {position:fixed;inset:0;z-index:2147483000;pointer-events:none;isolation:isolate;font:14px/1.5 system-ui,-apple-system,"Segoe UI",sans-serif;color:#173e50;--tour-bg:#fff;--tour-ink:#173e50;--tour-muted:#597382;--tour-line:#dbe7eb;--tour-soft:#f0f7f7;--tour-accent:#087f87;}
.dt-tour[hidden] {display:none!important;}
.dt-tour-pending {position:fixed;right:16px;bottom:calc(16px + env(safe-area-inset-bottom,0px));max-width:calc(100vw - 32px);display:flex;align-items:center;gap:16px;padding:12px 16px;border:1px solid var(--tour-line);border-radius:12px;background:var(--tour-bg);color:var(--tour-ink);font-size:12px;pointer-events:auto;box-shadow:0 4px 20px #02162135;}
.dt-tour-pending[hidden] {display:none!important;}
.dt-tour-pending-end {border:0;background:none;color:var(--tour-accent);font:inherit;cursor:pointer;text-decoration:underline;white-space:nowrap;}
.dt-tour-pending-end:focus-visible {outline:3px solid var(--tour-accent);outline-offset:3px;}
.dt-tour[data-loading="true"] :is(.dt-tour-ring,.dt-tour-arrow,.dt-tour-related-lines,.dt-tour-map-lines,.dt-tour-map-labels) {visibility:hidden;}
body.dark-water-theme .dt-tour {--tour-bg:#15374a;--tour-ink:#edf8fc;--tour-muted:#b5cdd8;--tour-line:#35576b;--tour-soft:#21495c;--tour-accent:#73ded6;color:var(--tour-ink);}
.dt-tour * {box-sizing:border-box;}
.dt-tour-shade {position:fixed;background:rgba(3,17,28,.67);pointer-events:auto;}
.dt-tour-shade[hidden],.dt-tour-ring[hidden],.dt-tour-arrow[hidden] {display:none!important;}
.dt-tour-ring {position:fixed;border:2px solid #9af1df;border-radius:12px;box-shadow:0 0 0 3px #d4fff222,0 0 24px #8eecd83b;pointer-events:none;}
.dt-tour-ring-related {border-radius:10px;box-shadow:0 0 0 4px #d4fff22b,0 0 26px #8eecd86b;}
.dt-tour-related-lines {position:fixed;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none;}
.dt-tour-related-lines path {fill:none;stroke:#9af1df;stroke-width:2;stroke-dasharray:5 5;filter:drop-shadow(0 0 3px #061f2e);}
@media(max-width:600px){
 .dt-tour-card.dt-tour-card-linked {padding:12px 16px;}
 .dt-tour-card-linked .dt-tour-status {display:none;}
 .dt-tour-card-linked .dt-tour-body {font-size:12px;line-height:1.5;}
}
.dt-tour-map-labels[hidden],.dt-tour-map-lines[hidden],.dt-tour-map-label[hidden],.dt-tour-map-missing[hidden] {display:none!important;}
.dt-tour-map-lines {position:fixed;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none;}
.dt-tour-map-lines path {fill:none;stroke:#0a767c;stroke-width:2.5;paint-order:stroke;filter:drop-shadow(0 0 2px #fff);}
.dt-tour-map-lines circle {fill:none;stroke:#f4b34f;stroke-width:3;filter:drop-shadow(0 0 2px #102c3b);}
.dt-tour-map-label {position:fixed;display:flex;align-items:center;gap:7px;padding:6px 10px 6px 6px;border:1px solid #7dcac4;border-radius:10px;background:var(--tour-bg);color:var(--tour-ink);font-size:12px;font-weight:650;box-shadow:0 3px 14px #02162135;white-space:nowrap;pointer-events:none;}
.dt-tour-map-number {display:grid;place-items:center;flex:none;width:23px;height:23px;border-radius:50%;background:var(--tour-accent);color:var(--tour-bg);font-size:11px;font-weight:750;}
.dt-tour-map-legend {list-style:none;padding:0;margin:14px 0 0;display:grid;gap:12px;}
.dt-tour-map-legend li {display:flex;gap:9px;align-items:flex-start;}
.dt-tour-map-legend strong {display:block;font-size:12px;line-height:1.5;}
.dt-tour-map-legend p {margin:2px 0 0;font-size:11px;line-height:1.5;color:var(--tour-muted);}
.dt-tour-map-legend .dt-tour-map-compact {display:none;}
.dt-tour-map-missing {display:block;margin-top:3px;font-size:10px;font-style:italic;color:var(--tour-muted);}
body.dark-water-theme .dt-tour-map-lines path {stroke:#9af1df;filter:drop-shadow(0 0 2px #082538);}
.dt-tour-arrow {position:fixed;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none;}
.dt-tour-arrow .dt-tour-line {fill:none;stroke:#eafff8;stroke-width:2;stroke-dasharray:5 5;}
.dt-tour-arrow marker path {fill:#eafff8;}
.dt-tour-card {position:fixed;width:min(348px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;overscroll-behavior:contain;padding:18px 20px 14px;border:1px solid var(--tour-line);border-radius:16px;background:var(--tour-bg);color:var(--tour-ink);box-shadow:0 16px 52px #02162155;pointer-events:auto;scrollbar-width:thin;}
.dt-tour-card button,.dt-tour-card select {font:inherit;cursor:pointer;}
.dt-tour-card button:focus-visible,.dt-tour-card select:focus-visible {outline:3px solid var(--tour-accent);outline-offset:3px;}
.dt-tour-card h2:focus {outline:none;}
.dt-tour-head {display:flex;align-items:center;gap:9px;margin-bottom:8px;}
.dt-tour-progress {font-size:11px;letter-spacing:.8px;text-transform:uppercase;font-weight:700;color:var(--tour-accent);}
.dt-tour-languages {display:flex;margin-left:auto;gap:3px;}
.dt-tour-languages button {border:0;background:transparent;color:var(--tour-muted);font-size:10px;border-radius:5px;padding:5px;min-height:28px;}
.dt-tour-languages button[aria-pressed=true] {background:var(--tour-soft);color:var(--tour-accent);font-weight:750;}
.dt-tour-close {border:0;background:transparent;color:var(--tour-muted);padding:0;width:28px;height:28px;font-size:24px!important;line-height:1;}
.dt-tour-chapters {display:block;max-width:100%;border:0;background:transparent;color:var(--tour-muted);font-size:11px!important;padding:0 18px 0 0;margin:0 0 11px;}
.dt-tour-chapters option {background:var(--tour-bg);color:var(--tour-ink);}
.dt-tour-card h2 {font-size:20px;line-height:1.25;letter-spacing:-.3px;font-weight:650;margin:0 0 10px;}
.dt-tour-body {font-size:13px;line-height:1.65;margin:0;}
.dt-tour-hint {font-size:11px;line-height:1.55;color:var(--tour-muted);border-left:2px solid var(--tour-accent);padding-left:9px;margin:12px 0 0;}
.dt-tour-status,.dt-tour-unavailable {font-size:11px;line-height:1.5;border-radius:7px;background:var(--tour-soft);padding:8px 10px;color:var(--tour-muted);margin:12px 0 0;}
.dt-tour-status:empty {display:none;}
.dt-tour-unavailable {border:1px dashed var(--tour-line);}
.dt-tour-footer {display:flex;align-items:center;gap:8px;margin-top:17px;}
.dt-tour-footer button {min-height:38px;border-radius:8px;padding:8px 14px;font-size:12px;font-weight:650;}
.dt-tour-retry {margin-right:auto;border:0;background:transparent;color:var(--tour-muted);font-size:19px!important;padding:4px 8px!important;}
.dt-tour-back {border:1px solid var(--tour-line);background:var(--tour-bg);color:var(--tour-ink);}
.dt-tour-back:disabled {opacity:.4;cursor:default;}
.dt-tour-next {border:1px solid var(--tour-accent);background:var(--tour-accent);color:var(--tour-bg);min-width:82px;}
.dt-tour-bottom {display:flex;gap:10px;justify-content:space-between;align-items:center;margin-top:12px;color:var(--tour-muted);font-size:10px;}
.dt-tour-end {flex-shrink:0;padding:0;background:none;border:0;color:inherit;font-size:10px!important;text-decoration:underline;text-underline-offset:3px;}
#app .sidebar-container > .dt-onboarding-help {position:absolute;left:calc(var(--dt-rail-center,36px) - 20px);bottom:calc(286px + env(safe-area-inset-bottom,0px));display:grid;place-items:center;width:40px;height:40px;padding:0;border:1px solid var(--dt-rail-line,#d8e7f2);border-radius:12px;background:var(--dt-rail-track,#e5eef6);color:var(--dt-rail-ink,#56748c);font:700 20px system-ui;cursor:pointer;z-index:3;}
#app .sidebar-container:has(>.dt-onboarding-help) .el-scrollbar {height:calc(100% - 348px - env(safe-area-inset-bottom,0px))!important;}
#app .sidebar-container.has-logo:has(>.dt-onboarding-help) .el-scrollbar {height:calc(100% - 420px - env(safe-area-inset-bottom,0px))!important;}
.dark-water-theme #app .sidebar-container > .dt-onboarding-help {background:#18364f;color:#b9d4e7;border-color:#31546b;}
.dt-onboarding-help:focus-visible {outline:3px solid #087c83;outline-offset:3px;}
body:is(.dt-mobile-shell,.dt-mobile-navigation) .dt-onboarding-help {display:none!important;}
@media(max-width:650px){.dt-tour-card {width:min(330px,calc(100vw - 24px));padding:13px 16px 12px;border-radius:13px;max-height:min(440px,calc(100dvh - 24px));}.dt-tour-card h2 {font-size:18px;}.dt-tour-body {font-size:12px;}.dt-tour-hint {font-size:10px;margin-top:8px;}.dt-tour-head {margin-bottom:4px;}.dt-tour-chapters {margin-bottom:8px;}.dt-tour-footer {margin-top:12px;}.dt-tour-footer button {min-height:42px;}.dt-tour-bottom {font-size:9px;}}
@media(prefers-reduced-motion:reduce){.dt-tour * {scroll-behavior:auto!important;}}
@media(max-width:650px){.dt-tour-card-map .dt-tour-body,.dt-tour-card-map .dt-tour-map-description{display:none;}.dt-tour-card-map .dt-tour-map-compact{display:block;font-size:10px;line-height:1.35;}.dt-tour-card-map .dt-tour-map-legend{gap:8px;margin-top:9px;}.dt-tour-card-map .dt-tour-map-legend strong{font-size:11px;}.dt-tour-card-map .dt-tour-hint{font-size:9px;}.dt-tour-card-map .dt-tour-map-missing{font-size:9px;}}
