#tourismJourneyModal{z-index:2200000;color:#172033}
#tourismModal .tourism-home-shell{box-sizing:border-box;width:100%;max-width:560px;min-height:100%;padding:16px;background:#fff;color:#0f172a;box-shadow:none;border:0;border-radius:18px}
#tourismModal .tourism-home-header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:18px}
#tourismModal .tourism-home-header h3{margin:0;font-size:20px;font-weight:800;line-height:1.3}
#tourismModal .tourism-home-header .module-modal-actions{display:flex;gap:6px;flex-shrink:0}
.cf-ui #tourismModal .tourism-main-nav{display:grid;gap:8px;margin:0}
.cf-ui #tourismModal .tourism-main-nav button:nth-child(n){display:flex;align-items:center;justify-content:space-between;box-sizing:border-box;min-height:52px;width:100%;padding:10px 14px;border:1px solid var(--cf-border);border-radius:var(--cf-radius);background:#fff;color:var(--cf-text);font-size:15px;font-weight:700;line-height:1.4;text-align:left;box-shadow:none;cursor:pointer}
.cf-ui #tourismModal .tourism-main-nav button:nth-child(n)::after{content:'›';font-size:22px;font-weight:400;color:#94a3b8;line-height:1}
.cf-ui #tourismModal .tourism-main-nav button:nth-child(n):active{background:var(--cf-primary-soft);border-color:var(--cf-primary-border)}
@media(max-width:600px){#tourismModal .tourism-home-shell{border-radius:0;min-height:100%}}
#tourismHelpModal{z-index:2300000}
.tourism-main-nav{display:grid;gap:10px;margin-bottom:12px}.tourism-main-nav button{width:100%;min-height:58px;border:0;border-radius:16px;background:#4338ca;color:#fff;font-size:17px;font-weight:800;text-align:left;padding:12px 18px}.tourism-main-nav button:nth-child(2){background:#0369a1}.tourism-main-nav button:nth-child(3){background:#047857}.tourism-secondary-nav{display:flex;gap:8px;justify-content:center}.tourism-secondary-nav button{border:0;background:transparent;color:#475569;padding:9px;font-size:13px;font-weight:700}#tourismExplorePanel{z-index:2200000!important}.tourism-explore-shell{max-width:560px;min-height:100dvh;margin:auto;background:#f8fafc;padding:18px;font-family:system-ui,sans-serif;color:#172033}.tourism-explore-shell header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.tourism-explore-shell h2{margin:0;font-size:21px}.tourism-explore-panel{background:#fff;border-radius:16px;padding:16px}.tourism-help-shell{max-width:760px;min-height:100dvh;margin:auto;background:#f8fafc;padding:18px;font-family:system-ui,sans-serif;color:#172033}.tourism-help-shell header{display:flex;align-items:center;justify-content:space-between}.tourism-help-shell h2{margin:0}.tourism-help-shell section{background:#fff;border-radius:14px;padding:15px;margin:12px 0;line-height:1.65}.tourism-help-shell section h3{margin:0 0 6px}.tourism-help-shell header button,.tourism-child-actions button{border:0;border-radius:10px;background:#e2e8f0;color:#334155;padding:8px 10px;font-size:13px;font-weight:700}.tourism-child-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
#tripPlannerModal .trip-head .tourism-child-actions button,#tourismJourneyModal .journey-header .tourism-child-actions button{font-size:12px;padding:8px}
#tourismJourneyModal .journey-shell{max-width:980px;min-height:100dvh;margin:auto;background:#f7f9fc;padding:18px;font-family:system-ui,sans-serif}
.journey-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.journey-header h2{font-size:21px;font-weight:800;margin:0}.journey-header button{border:0;border-radius:12px;background:#e2e8f0;padding:8px 13px;font-size:18px}
.journey-help{font-size:13px;color:#475569;line-height:1.5}.journey-form,.journey-overview,.journey-auto,.journey-capture{background:white;border-radius:16px;padding:14px;margin:12px 0;box-shadow:0 2px 10px #0f172a10}
#journeyEditor,#tripEditor{margin:12px 0}#journeyEditor>summary,#tripEditor>summary,.journey-more>summary{cursor:pointer;list-style:none;background:#fff;border-radius:12px;padding:12px 14px;font-weight:800;color:#334155}#journeyEditor>summary::-webkit-details-marker,#tripEditor>summary::-webkit-details-marker,.journey-more>summary::-webkit-details-marker{display:none}#journeyEditor>summary:after,#tripEditor>summary:after,.journey-more>summary:after{content:'⌄';float:right}#journeyEditor[open]>summary:after,#tripEditor[open]>summary:after,.journey-more[open]>summary:after{content:'⌃'}
.journey-primary-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:12px 0}.journey-primary-actions button,.journey-primary-actions label{display:flex;align-items:center;justify-content:center;min-height:52px;text-align:center;border:0;border-radius:12px;background:#4338ca;color:white;padding:8px;font-size:13px;font-weight:800}.journey-primary-actions label{background:#047857;gap:5px;cursor:pointer}.journey-primary-actions input{width:18px;height:18px}.journey-more{margin:10px 0}.journey-more .journey-auto{margin-top:8px}
.journey-route-progress{display:block;width:100%;height:8px;margin:4px 0 10px;accent-color:#2563eb}.journey-player{background:#fff;border-radius:14px;padding:12px 14px;margin:8px 0;display:grid;gap:8px;color:#334155}.journey-player>strong{font-size:14px}.journey-player>label{display:grid;grid-template-columns:66px 1fr;align-items:center;gap:8px;font-size:12px;font-weight:700}.journey-player input[type=range]{width:100%;accent-color:#4338ca;min-width:0}.journey-player>small{justify-self:end;color:#64748b}.journey-player-buttons{display:flex;gap:8px}.journey-player-buttons button{flex:1;border:1px solid #cbd5e1;background:#f8fafc;border-radius:10px;min-height:40px;font-weight:800}.journey-player-buttons button:last-child{background:#fff1f2;border-color:#fecdd3;color:#be123c}
.journey-run-card{background:#fff;border-radius:14px;padding:12px 14px;margin:8px 0}.journey-run-card h3{margin:0 0 8px;font-size:15px}.journey-run-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;font-size:13px;color:#334155}.journey-run-summary>div{display:grid;gap:2px;background:#f8fafc;border-radius:8px;padding:8px}.journey-run-summary>div strong{color:#64748b;font-size:11px}.journey-run-summary>div:nth-child(4){grid-column:1/-1}
.journey-primary-actions button,.journey-primary-actions label{font-size:14px;min-height:56px}.journey-primary-actions button:disabled{opacity:.55;cursor:wait}
.journey-overview .journey-location{font-size:13px;color:#475569;overflow-wrap:anywhere}.journey-overview small a{color:#1d4ed8;text-decoration:underline}
.journey-refresh-needed{width:100%;margin-top:10px;border:0;border-radius:12px;background:#b45309;color:#fff;padding:12px;font-weight:800}
.journey-form,.journey-capture{display:grid;gap:12px}.journey-form label,.journey-auto label,.journey-capture label{display:grid;gap:5px;font-size:13px;font-weight:700;color:#334155}
.journey-form input,.journey-form textarea,.journey-form select,.journey-auto input,.journey-capture textarea{width:100%;padding:10px;border:1px solid #cbd5e1;border-radius:9px;font-size:14px;background:#fff}
.journey-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.journey-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:10px 0}.journey-actions button,.journey-history button,.journey-capture>button,.journey-file-button{border:0;border-radius:10px;background:#4338ca;color:white;padding:10px 13px;font-size:13px;font-weight:700;cursor:pointer}.journey-actions button:not(:first-child){background:#e0e7ff;color:#3730a3}
.journey-actions button{box-sizing:border-box;min-width:100px;min-height:42px}
.journey-actions button.generated-voice-natural{background:#eff6ff;color:#1d4ed8;border:1px solid #93c5fd}
.journey-actions button.generated-voice-machine{background:#fff7ed;color:#9a3412;border:1px solid #fdba74}
.journey-actions button.generated-voice-unknown{background:#f8fafc;color:#475569;border:1px solid #cbd5e1}
.journey-audio-line{display:flex;align-items:center;gap:8px;min-width:0}
.journey-audio-line>label{display:grid;grid-template-columns:66px minmax(0,1fr);align-items:center;gap:8px;flex:1;min-width:0;font-size:12px;font-weight:700}
.journey-audio-line>button{min-width:84px}
.journey-audio-line>button[hidden]{display:none}
.journey-player>#journeyVoiceQuality{justify-self:start;margin:0}
.journey-file-button{display:inline-flex!important;align-items:center!important;cursor:pointer}.journey-file-button input{display:none}
.journey-link-import{justify-self:start;border:0;border-radius:9px;background:#4338ca;color:#fff;padding:10px 14px;font-size:13px;font-weight:800}
#journeyLinkStatus{font-size:13px;color:#166534;margin:-6px 0 0;min-height:0;line-height:1.4;overflow-wrap:anywhere}#journeyLinkStatus:empty{display:none}#journeyLinkStatus.journey-error{color:#b91c1c}
.journey-route-options{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}
.journey-route-options button{display:grid;gap:3px;border:1px solid #cbd5e1;background:#f8fafc;color:#334155;border-radius:12px;padding:9px 12px;font-weight:600;text-align:left}
.journey-route-options button small{font-size:11px;font-weight:650;opacity:.82;white-space:nowrap}
.journey-route-options button.active{border-color:#2563eb;background:#dbeafe;color:#1d4ed8}
.journey-preparation-panel{margin:12px 0;padding:13px;border:1px solid #c7d2fe;border-radius:14px;background:#eef2ff;color:#312e81}
.journey-preparation-panel header{display:flex;align-items:center;justify-content:space-between;gap:10px}
.journey-preparation-panel progress{display:block;width:100%;height:12px;margin:9px 0 5px;accent-color:#4338ca}
.journey-preparation-panel p{margin:0;font-size:12px;line-height:1.5;color:#475569}
.journey-preparation-items{display:grid;gap:5px;max-height:220px;overflow:auto;margin-top:9px}
.journey-preparation-items>div{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:7px 9px;border-radius:9px;background:#fff;font-size:12px}
.journey-preparation-items span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.journey-preparation-items b{flex:none;font-size:11px;color:#64748b}
.journey-preparation-items button{flex:none;min-height:34px;border:1px solid #a5b4fc;border-radius:9px;background:#fff;color:#3730a3;padding:6px 9px;font-size:12px;font-weight:800}
.journey-preparation-items .ready b{color:#047857}.journey-preparation-items .preparing b{color:#1d4ed8}.journey-preparation-items .failed b{color:#b91c1c}
.journey-route-hint{margin:8px 0;padding:10px 12px;border-radius:10px;background:#fef3c7;color:#92400e}
.journey-live-progress{margin:8px 0;color:#334155;font-weight:600}
.journey-retry{justify-self:start;border:0;border-radius:9px;background:#e0e7ff;color:#3730a3;padding:9px 12px;font-size:13px;font-weight:700}
.journey-capture .journey-gps-option{display:flex;align-items:center;gap:8px}.journey-gps-option input{width:auto!important}
#journeyStatus{font-size:13px;color:#3730a3;min-height:24px;margin:10px 0}#journeyStatus.journey-error{color:#b91c1c}.journey-warning{background:#fff7ed;color:#9a3412;border-radius:8px;padding:8px;font-size:12px}
.journey-map{height:min(75dvh,850px);min-height:480px;background:#dbeafe;border-radius:16px;overflow:hidden}.journey-pin{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;border:2px solid white;color:white;font-size:12px;font-weight:800;box-shadow:0 1px 6px #33415580}.journey-pin.city{background:#2563eb}.journey-pin.attraction{background:#d97706}.journey-pin.played{background:#64748b}.journey-pin.start,.journey-pin.finish{background:#0f172a}
.journey-map-fallback{padding:22px;color:#475569;font-size:13px}
.journey-dot{display:inline-block;width:12px;height:12px;border-radius:50%;margin-right:6px}.journey-dot.city{background:#2563eb}.journey-dot.attraction{background:#d97706}
.journey-auto>label{display:flex;align-items:center;gap:8px;font-weight:800}.journey-auto>label input{width:auto}.journey-auto .journey-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
#journeyGuideList,#journeyEvents{display:grid;gap:10px}.journey-guide,.journey-event{background:white;border-radius:14px;padding:13px;box-shadow:0 2px 10px #0f172a10;font-size:13px;line-height:1.5}.journey-guide.heard{border-left:4px solid #64748b}.journey-guide header{display:flex;align-items:center;flex-wrap:wrap;gap:5px}.journey-guide header small{margin-left:auto;color:#64748b}.journey-guide p,.journey-event p{white-space:pre-wrap;overflow-wrap:anywhere}.journey-guide details{color:#475569}.journey-guide details p{margin:6px 0}.journey-guide a{color:#1d4ed8;text-decoration:underline}.journey-guide .journey-actions label{display:flex;align-items:center;gap:5px}.journey-event img{max-width:240px;max-height:240px;object-fit:contain;border-radius:10px}.journey-event audio{display:block;width:100%;margin:8px 0}.journey-event button{display:block;margin-top:8px;border:0;background:#fee2e2;color:#991b1b;border-radius:8px;padding:6px 8px;font-size:12px}.journey-history{display:grid;gap:8px}.journey-history button{text-align:left;background:white;color:#3730a3;border:1px solid #c7d2fe}
.journey-pending-item{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:8px;border:1px solid #fed7aa;border-radius:9px;background:#fff7ed;font-size:12px}.journey-pending-item span{overflow-wrap:anywhere}.journey-pending-item button{flex:none;border:0;border-radius:8px;padding:6px;background:#fee2e2;color:#991b1b}
.journey-route-options{position:sticky;top:0;z-index:5;background:#f7f9fc;padding:7px 0;overflow-x:auto;flex-wrap:nowrap}.journey-route-options button{flex:0 0 auto;min-width:110px}.journey-route-options button.active{background:#1d4ed8;color:#fff;border-color:#1d4ed8}
.journey-records-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:22px}.journey-records-head h3{margin:0}.journey-records-head small{font-size:12px;color:#64748b}.journey-records-head button,.journey-pending button{border:0;border-radius:10px;background:#4338ca;color:#fff;padding:10px 15px;font-weight:700}.journey-event summary{cursor:pointer}.journey-event summary::marker{color:#4338ca}.journey-pending{margin:12px 0;padding:10px;border:1px solid #fed7aa;border-radius:10px;background:#fff7ed}.journey-pending summary{cursor:pointer;font-weight:700}.journey-entry-modal{position:fixed;inset:0;z-index:2200002;background:#0f172ab8;display:grid;place-items:end center;padding:12px}.journey-entry-modal.hidden,.journey-pending.hidden{display:none}.journey-entry-sheet{width:min(620px,100%);max-height:90dvh;overflow:auto;background:#fff;border-radius:18px;padding:16px}.journey-entry-sheet header{display:flex;align-items:center;justify-content:space-between}.journey-entry-sheet header h3{margin:0}.journey-entry-sheet header button{border:0;background:#e2e8f0;border-radius:50%;font-size:23px;width:36px;height:36px}.journey-entry-sheet .journey-capture{box-shadow:none;margin:0;padding:12px 0}.journey-topic-picker{display:grid;gap:8px;padding:10px;border:1px solid #e2e8f0;border-radius:12px;background:#fff}.journey-topic-options{display:flex;flex-wrap:wrap;gap:8px}.journey-topic-options label{display:flex;align-items:center;gap:5px;background:#f1f5f9;border-radius:20px;padding:6px 9px}.journey-topic-options input{width:auto}.journey-overview{margin:10px 0}.journey-overview h3{margin:0 0 4px}.journey-overview p{margin:5px 0}
@media(max-width:600px){#tourismJourneyModal .journey-shell{padding:8px}.journey-map{height:calc(100dvh - 155px);min-height:420px}.journey-auto .journey-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.journey-primary-actions{grid-template-columns:1fr 1fr}.journey-primary-actions #journeyPrepareAll{grid-column:1/-1}.journey-route-options button{max-width:82vw}.journey-preparation-items{max-height:180px}}
.journey-interest-picker{display:grid;gap:8px;padding:10px;background:#fff;border:1px solid #e2e8f0;border-radius:12px}.journey-interest-picker fieldset{display:flex;flex-wrap:wrap;gap:6px;border:0;border-bottom:1px solid #e2e8f0;padding:2px 0 8px;margin:0;min-width:0}.journey-interest-picker legend{font-weight:750;color:#334155;margin-bottom:4px}.journey-interest-picker label{display:inline-flex;align-items:center;gap:4px;padding:5px 8px;border-radius:16px;background:#f1f5f9;font-size:12px}.journey-interest-picker input{width:auto}.journey-interest-picker button{border:0;border-radius:9px;padding:10px;background:#4338ca;color:#fff;font-weight:700}.journey-interest-picker .journey-interest-all{padding:5px 8px;background:#e0e7ff;color:#3730a3;font-size:12px}.journey-interest-live{margin:12px 0}#journeyInterestStatus{display:block;padding:5px 10px;color:#475569}
.journey-show-more{display:block;width:100%;margin:10px 0;padding:11px;border:1px solid #c7d2fe;border-radius:10px;background:#eef2ff;color:#3730a3;font-weight:700}
 #tourismJourneyModal [hidden]{display:none!important}
