:root{--jbg-bg:#f6f7fb;--jbg-surface:#fff;--jbg-soft:#f0f2f6;--jbg-text:#151b26;--jbg-muted:#667085;--jbg-line:#e1e5ec;--jbg-accent:#1f5eff;--jbg-on-accent:#fff;color-scheme:light}
:root[data-theme=dark]{--jbg-bg:#10141c;--jbg-surface:#1a202b;--jbg-soft:#252d3a;--jbg-text:#edf2f7;--jbg-muted:#aab5c6;--jbg-line:#354052;--jbg-accent:#78a0ff;--jbg-on-accent:#101827;color-scheme:dark}
body{background:var(--jbg-bg);color:var(--jbg-text)}
button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #78a0ff;outline-offset:3px}
button{touch-action:manipulation}button:disabled{opacity:.45;cursor:not-allowed}
#jbg-dialog{background:var(--jbg-surface);color:var(--jbg-text);border:1px solid var(--jbg-line);border-radius:26px;padding:0;width:calc(100% - 24px);max-width:480px;max-height:90dvh;margin:auto;box-shadow:0 28px 100px #0005}
#app-update-banner{z-index:40;bottom:94px;padding:12px 16px}#app-update-banner .jbg-muted{font-size:11px}#app-update-banner .jbg-between{flex-wrap:wrap}#app-update-banner button{padding:8px 14px}
.jbg-drag-over{outline:0!important}.jbg-schedule-tools [data-drag]{touch-action:none;cursor:grab}
#jbg-dialog::backdrop{background:#0c1829a8;backdrop-filter:blur(5px)}.jbg-dialog-head{display:flex;justify-content:space-between;align-items:center;padding:18px 22px;border-bottom:1px solid var(--jbg-line);position:sticky;top:0;background:var(--jbg-surface);z-index:2}.jbg-dialog-head h2{font-size:20px;font-weight:750;letter-spacing:-.5px}.jbg-dialog-body{padding:22px;overflow:auto}.jbg-dialog-body form,.jbg-stack{display:flex;flex-direction:column;gap:16px}.jbg-dialog-body label,.jbg-field{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:650}.jbg-dialog-body input:not([type=checkbox]),.jbg-dialog-body select,.jbg-dialog-body textarea,.jbg-input{width:100%;border:1px solid var(--jbg-line);border-radius:12px;background:var(--jbg-bg);color:var(--jbg-text);padding:12px;font:inherit;min-width:0}.jbg-dialog-body textarea{min-height:100px;resize:vertical}.jbg-dialog-body input[type=checkbox]{width:20px;height:20px;accent-color:var(--jbg-accent)}.jbg-check{flex-direction:row!important;align-items:flex-start;gap:12px!important;padding:14px;background:var(--jbg-soft);border-radius:14px}.jbg-check span{flex:1}.jbg-primary,.jbg-secondary,.jbg-chip{display:inline-flex;justify-content:center;align-items:center;gap:8px;border-radius:999px;padding:12px 18px;font-size:14px;font-weight:650;transition:transform .15s,background .15s;text-align:center}.jbg-primary{background:var(--jbg-accent);color:var(--jbg-on-accent);border:1px solid transparent}.jbg-secondary,.jbg-chip{background:var(--jbg-surface);color:var(--jbg-text);border:1px solid var(--jbg-line)}.jbg-chip{padding:8px 14px;white-space:nowrap;font-size:12px}.jbg-chip.active{background:var(--jbg-text);color:var(--jbg-surface)}.jbg-primary:active,.jbg-secondary:active{transform:scale(.98)}.jbg-icon{background:var(--jbg-soft);border-radius:50%;width:36px;height:36px;font-size:22px;display:grid;place-items:center}.jbg-muted{color:var(--jbg-muted);font-size:13px;line-height:1.6}.jbg-error{color:#d85858;font-size:13px}.jbg-card{background:var(--jbg-surface);border:1px solid var(--jbg-line);border-radius:22px;padding:18px;box-shadow:0 3px 12px #0b1b3010}.jbg-row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.jbg-between{display:flex;justify-content:space-between;align-items:center;gap:12px}.jbg-heading{font-size:20px;font-weight:750;letter-spacing:-.5px}.jbg-eyebrow{font-size:10px;font-weight:700;letter-spacing:1.4px;text-transform:uppercase;color:var(--jbg-muted)}.jbg-divider{display:flex;justify-content:space-between;align-items:center;margin:20px 2px 8px;padding-top:12px;border-top:1px solid var(--jbg-line);font-weight:700;font-size:14px}.jbg-badge{display:inline-block;font-size:11px;font-weight:650;border-radius:7px;padding:4px 8px;background:var(--jbg-soft);color:var(--jbg-muted)}.jbg-badge.live{color:#116858;background:#d6f4e8}.jbg-note{background:var(--jbg-soft);border-radius:14px;padding:14px;font-size:13px;line-height:1.6}.jbg-note h3{font-size:18px;font-weight:750;margin:10px 0}.jbg-note h4{font-size:15px;font-weight:700;margin:8px 0}.jbg-note p{margin:3px 0;overflow-wrap:anywhere}.jbg-bullet:before{content:'•';margin-right:9px}.jbg-cover{width:100%;height:150px;object-fit:cover;border-radius:16px}.jbg-cover-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.jbg-cover-grid img{width:100%;height:100px;object-fit:cover;border-radius:12px}.jbg-member{display:flex;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid var(--jbg-line)}.jbg-avatar{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:var(--jbg-soft);font-weight:700;overflow:hidden}.jbg-avatar img{width:100%;height:100%;object-fit:cover}.jbg-section{padding:24px 20px}.jbg-section h1{font-size:32px;font-weight:750;letter-spacing:-1.1px}.jbg-section h2{font-size:20px;font-weight:700}.jbg-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.jbg-grid .jbg-card{padding:12px}.jbg-places{display:flex;flex-direction:column;gap:12px}.jbg-places h3{font-size:17px;font-weight:700}.jbg-wrap{overflow-wrap:anywhere}.jbg-highlight{animation:jbg-flash 2s ease-out}.jbg-tour-target{outline:4px solid #1ba591!important;outline-offset:5px!important;position:relative;z-index:5}.jbg-tour-card{position:fixed;bottom:90px;left:50%;transform:translateX(-50%);z-index:1000;width:calc(100% - 32px);max-width:430px;box-shadow:0 15px 80px #0005}.jbg-tour-dots{display:flex;gap:5px}.jbg-tour-dots i{width:7px;height:7px;border-radius:50%;background:var(--jbg-line)}.jbg-tour-dots i.on{background:var(--jbg-accent)}#jbg-toast{position:fixed;left:50%;bottom:100px;transform:translate(-50%,20px);background:var(--jbg-text);color:var(--jbg-surface);border-radius:16px;padding:13px 18px;max-width:430px;width:max-content;max-width:min(430px,90vw);z-index:3000;opacity:0;pointer-events:none;font-size:13px;transition:.2s}#jbg-toast.visible{opacity:1;transform:translate(-50%,0)}#sync-status{font-size:11px;color:var(--jbg-muted)}#sync-status[data-error=true]{color:#c96045}.jbg-schedule-tools{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}.jbg-schedule-tools button{font-size:11px;padding:6px 10px;border:1px solid var(--jbg-line);border-radius:8px;background:var(--jbg-surface)}
/* Integrate the existing utility-based design with semantic theme surfaces. */
[data-theme=dark] :is(.bg-white,.bg-gray-50,.bg-gray-100,.bg-\[\#F9FAFB\],.bg-\[\#f9fafb\]){background-color:var(--jbg-surface)!important}
[data-theme=dark] :is([class*="bg-white/"],[class*="bg-[#F9FAFB]/"]){background-color:#1b222be8!important}
[data-theme=dark] :is(.bg-gray-200,.bg-gray-200\/60){background-color:var(--jbg-soft)!important}
[data-theme=dark] :is(.text-black,.text-gray-900,.text-gray-800,.text-gray-700){color:var(--jbg-text)!important}
[data-theme=dark] :is(.text-gray-600,.text-gray-500,.text-gray-400){color:var(--jbg-muted)!important}
[data-theme=dark] :is(.border-gray-100,.border-gray-200,.border-gray-300,.border-white\/50,.border-white\/60){border-color:var(--jbg-line)!important}
[data-theme=dark] :is(input,textarea,select){color:var(--jbg-text)}[data-theme=dark] .bg-black.text-white{background-color:#e4edf4!important;color:#101923!important}[data-theme=dark] .bg-blue-50{background-color:#213449!important}[data-theme=dark] .text-blue-600{color:#8fbfff!important}
[onclick*="calculateTransit"],.jbg-transit-disabled{display:none!important}
@keyframes jbg-flash{0%,30%{box-shadow:0 0 0 4px #40b6aa}100%{box-shadow:none}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* New features live inside the original itinerary header without creating a
   second, randomly spaced navigation row. */
.jbg-trip-tools{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:14px;padding-top:14px;border-top:1px solid #dfe4eb}
.jbg-trip-tools button{display:flex;align-items:center;justify-content:center;gap:7px;min-width:0;padding:9px 10px;border:1px solid #dce2ea;border-radius:12px;background:#fff;color:#293241;font-size:12px;font-weight:750;box-shadow:0 2px 8px #15213a0a}
.jbg-trip-tools button:active{transform:scale(.98)}.jbg-tool-icon{color:#1f5eff;font-size:14px}
.jbg-trip-tools #sync-status{grid-column:1/-1;display:flex;align-items:center;justify-content:center;gap:6px;padding-top:2px;font-size:10px;letter-spacing:.04em}
.jbg-trip-tools #sync-status i{width:6px;height:6px;border-radius:50%;background:#1f5eff;box-shadow:0 0 0 3px #dfe8ff}

/* Drag affordances: holding a handle reveals every legal landing area, then
   the nearest edge becomes a strong insertion line. */
.jbg-drag-mode{cursor:grabbing!important}.jbg-drag-mode .jbg-drop-candidate{position:relative;transition:transform .15s,box-shadow .15s}
.jbg-drag-mode .jbg-drop-candidate:before,.jbg-drag-mode .jbg-drop-candidate:after{content:'';position:absolute;left:12px;right:12px;height:3px;border-radius:999px;background:#c7d5fb;opacity:.75;z-index:80;pointer-events:none}
.jbg-drag-mode .jbg-drop-candidate:before{top:-7px}.jbg-drag-mode .jbg-drop-candidate:after{bottom:-7px}
.jbg-drag-mode .jbg-drop-before:before,.jbg-drag-mode .jbg-drop-after:after{height:5px;background:#1f5eff;opacity:1;box-shadow:0 0 0 4px #dfe8ff}
.jbg-drag-mode .jbg-drop-before:before{content:'Drop here';height:24px;top:-17px;color:#fff;font-size:10px;font-weight:800;display:flex;align-items:center;justify-content:center;letter-spacing:.05em}
.jbg-drag-mode .jbg-drop-after:after{content:'Drop here';height:24px;bottom:-17px;color:#fff;font-size:10px;font-weight:800;display:flex;align-items:center;justify-content:center;letter-spacing:.05em}
.jbg-drag-ghost{position:fixed;left:50%;bottom:104px;transform:translateX(-50%);z-index:3000;background:#111827;color:#fff;border-radius:999px;padding:10px 16px;font-size:12px;font-weight:750;box-shadow:0 12px 30px #0004;pointer-events:none}

/* Explore */
.explore-screen{background:#f6f7fb!important;color:#151b26}.explore-hero{position:relative;overflow:visible;padding:36px 20px 88px;background:linear-gradient(145deg,#0d1830 0%,#172a55 55%,#244989 100%);color:#fff}
.explore-orbit{position:absolute;border:1px solid #ffffff1f;border-radius:50%;pointer-events:none}.explore-orbit-one{width:250px;height:250px;right:-90px;top:-85px}.explore-orbit-two{width:170px;height:170px;right:-42px;top:-44px;box-shadow:0 0 0 34px #ffffff08,0 0 0 68px #ffffff06}
.explore-hero-copy{position:relative;z-index:1}.explore-kicker{font-size:9px;font-weight:800;letter-spacing:.22em;color:#9eb9ff}.explore-hero h1{font-size:35px;line-height:1.02;letter-spacing:-1.6px;font-weight:800;margin:10px 0 12px;max-width:330px}.explore-hero-copy p{font-size:13px;line-height:1.5;color:#c5d2ec;max-width:300px}
.explore-search-card{position:relative;z-index:2;display:grid;grid-template-columns:1fr 1fr;gap:1px;margin:28px 0 -142px;background:#dfe4ec;border:1px solid #ffffff66;border-radius:20px;overflow:hidden;box-shadow:0 18px 50px #06102755}.explore-search-card label{display:flex;flex-direction:column;gap:3px;padding:12px 14px;background:#fff;min-width:0}.explore-search-card label span{font-size:9px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:#8390a3}.explore-search-card input{width:100%;min-width:0;background:transparent;color:#151b26;font-size:13px;font-weight:650;outline:0}.explore-search-card input::placeholder{color:#a7afbb}.explore-query-field{grid-column:1/-1}.explore-search-button{grid-column:1/-1;display:flex;align-items:center;justify-content:center;gap:8px;padding:12px;background:#111827;color:#fff;font-size:13px;font-weight:750}.explore-search-button:active{background:#1f5eff}
.explore-categories{display:flex;gap:8px;padding:72px 20px 14px;overflow-x:auto;background:#f6f7fb;scrollbar-width:none}.explore-categories::-webkit-scrollbar{display:none}.explore-categories button{display:flex;align-items:center;gap:7px;white-space:nowrap;padding:9px 13px;border:1px solid #dfe4eb;border-radius:999px;background:#fff;color:#556174;font-size:12px;font-weight:700}.explore-categories button span{font-size:13px}.explore-categories button.active{background:#111827;color:#fff;border-color:#111827;box-shadow:0 7px 16px #11182720}
.explore-results{padding:10px 20px 28px}.explore-results-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin:8px 0 16px}.explore-results-head>div>span{display:block;color:#758196;font-size:9px;font-weight:800;letter-spacing:.15em;margin-bottom:4px}.explore-results-head h2{font-size:20px;line-height:1.15;font-weight:800;letter-spacing:-.45px}.explore-results-head>strong{font-size:10px;color:#69768a;background:#e9edf3;border-radius:8px;padding:6px 8px;white-space:nowrap}
.explore-trip-list,.explore-place-list{display:flex;flex-direction:column;gap:12px}.explore-trip-card{display:grid;grid-template-columns:124px 1fr;text-align:left;background:#fff;border:1px solid #dfe4eb;border-radius:20px;overflow:hidden;min-height:124px;box-shadow:0 6px 20px #17233a0c;transition:transform .18s,box-shadow .18s}.explore-trip-card:active{transform:scale(.985)}.explore-trip-image{position:relative;min-height:124px;overflow:hidden}.explore-trip-image img{width:100%;height:100%;object-fit:cover}.explore-trip-image span{position:absolute;left:9px;bottom:9px;padding:5px 7px;border-radius:7px;background:#101827cc;color:#fff;font-size:9px;font-weight:800;backdrop-filter:blur(8px)}.explore-trip-copy{display:flex;flex-direction:column;padding:15px 14px;min-width:0}.explore-trip-copy>p{font-size:9px;font-weight:800;letter-spacing:.13em;text-transform:uppercase;color:#4773d9}.explore-trip-copy h3{font-size:17px;line-height:1.18;font-weight:800;letter-spacing:-.3px;margin:7px 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.explore-trip-copy>div{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:auto;color:#7b8799;font-size:11px}.explore-trip-copy svg{color:#111827}
.explore-place-card{display:flex;gap:13px;padding:16px;background:#fff;border:1px solid #dfe4eb;border-radius:20px;box-shadow:0 6px 20px #17233a0b}.explore-place-icon{display:grid;place-items:center;flex:0 0 42px;height:42px;border-radius:13px;background:#edf2ff;font-size:21px}.explore-place-copy{min-width:0;flex:1}.explore-place-meta{display:flex;justify-content:space-between;gap:10px;color:#6680bb;text-transform:uppercase;letter-spacing:.1em;font-size:8px;font-weight:800}.explore-place-copy h3{font-size:17px;font-weight:800;margin:5px 0 3px}.explore-place-address{font-size:11px;color:#7b8799}.explore-place-description{font-size:12px;line-height:1.55;color:#4e596a;margin:10px 0}.explore-place-actions{display:flex;gap:7px}.explore-place-actions button{flex:1;padding:8px 9px;border:1px solid #dce2eb;border-radius:10px;font-size:10px;font-weight:750;color:#3f4a5b}.explore-place-actions .primary{background:#111827;color:#fff;border-color:#111827}
.explore-empty{padding:38px 26px;text-align:center;background:#fff;border:1px dashed #ced5df;border-radius:22px}.explore-empty-mark{display:grid;place-items:center;width:48px;height:48px;border-radius:16px;margin:0 auto 14px;background:#edf2ff;color:#1f5eff;font-size:21px;font-weight:800}.explore-empty h2{font-size:18px;font-weight:800}.explore-empty p{color:#748094;font-size:12px;line-height:1.55;margin-top:6px}.explore-retry{margin-top:15px;padding:9px 15px;border-radius:999px;background:#111827;color:#fff;font-size:12px;font-weight:750}.explore-loading{display:flex;align-items:center;justify-content:center;gap:10px;padding:45px;color:#748094;font-size:12px;font-weight:700}.explore-loading span{width:18px;height:18px;border:2px solid #dbe2ee;border-top-color:#1f5eff;border-radius:50%;animation:jbg-spin .8s linear infinite}@keyframes jbg-spin{to{transform:rotate(360deg)}}

/* Profile */
.profile-screen{background:#f5f7fb!important}.profile-hero{position:relative;overflow:hidden;padding:22px 20px 28px;background:linear-gradient(145deg,#0e172a,#172849 64%,#224786);color:#fff}.profile-contour{position:absolute;border:1px solid #ffffff18;border-radius:50%}.profile-contour-a{width:230px;height:230px;right:-110px;top:-105px;box-shadow:0 0 0 30px #ffffff08,0 0 0 60px #ffffff06}.profile-contour-b{width:140px;height:140px;left:-85px;bottom:-95px}.profile-topline{position:relative;z-index:1;display:flex;justify-content:space-between;align-items:center}.profile-topline>span{font-size:9px;font-weight:800;letter-spacing:.2em;color:#aebfe1}.profile-topline button{display:grid;place-items:center;width:38px;height:38px;border:1px solid #ffffff33;border-radius:50%;background:#ffffff12;color:#fff;backdrop-filter:blur(8px)}.profile-identity{position:relative;z-index:1;display:flex;align-items:center;gap:16px;margin-top:26px}.profile-avatar{display:grid;place-items:center;width:72px;height:72px;border-radius:23px;background:#fff;color:#172849;font-size:28px;font-weight:850;overflow:hidden;box-shadow:0 12px 30px #02081755;border:3px solid #ffffff22}.profile-avatar img{width:100%;height:100%;object-fit:cover}.profile-identity p{font-size:8px;font-weight:800;letter-spacing:.18em;color:#95b0ec}.profile-identity h1{font-size:27px;line-height:1.1;font-weight:800;letter-spacing:-.8px;margin:4px 0}.profile-identity span{font-size:11px;color:#c3cde0}
.profile-content{padding:18px 20px 28px}.profile-stats{display:grid;grid-template-columns:repeat(3,1fr);margin-bottom:25px;background:#fff;border:1px solid #e0e5ed;border-radius:19px;box-shadow:0 7px 20px #17233a0b}.profile-stats div{display:flex;flex-direction:column;align-items:center;padding:15px 5px;position:relative}.profile-stats div:not(:last-child):after{content:'';position:absolute;right:0;top:15px;bottom:15px;width:1px;background:#e6e9ef}.profile-stats strong{font-size:20px;font-weight:850}.profile-stats span{font-size:9px;color:#7e8a9c;text-transform:uppercase;letter-spacing:.08em;margin-top:2px}
.profile-section{margin-bottom:25px}.profile-section-title{display:flex;align-items:center;justify-content:space-between;margin:0 2px 10px}.profile-section-title>span{font-size:9px;font-weight:850;letter-spacing:.16em;color:#788497}.profile-section-title button{font-size:11px;font-weight:750;color:#1f5eff}.profile-section-title>strong{font-size:10px;color:#667085;background:#e8ecf2;border-radius:7px;padding:4px 7px}
.profile-ticket{position:relative;display:block;width:100%;height:166px;overflow:hidden;border-radius:22px;text-align:left;color:#fff;background:#172849;box-shadow:0 14px 30px #17284928}.profile-ticket>img,.profile-ticket-shade{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.profile-ticket-shade{background:linear-gradient(90deg,#07101ee8 0%,#0b183bb8 58%,#08112630)}.profile-ticket-copy{position:absolute;left:20px;top:20px;bottom:20px;z-index:2;display:flex;flex-direction:column;justify-content:center;max-width:70%}.profile-ticket-copy span{font-size:8px;font-weight:850;letter-spacing:.18em;color:#b9cbf1}.profile-ticket-copy h2{font-size:24px;line-height:1.05;font-weight:850;letter-spacing:-.7px;margin:8px 0}.profile-ticket-copy p{font-size:11px;color:#d3dced}.profile-ticket-code{position:absolute;right:17px;top:25px;bottom:25px;display:flex;gap:3px;align-items:stretch;opacity:.65;z-index:2}.profile-ticket-code i:nth-child(odd){width:2px;background:#fff}.profile-ticket-code i:nth-child(even){width:1px;background:#fff}.profile-ticket-empty{background:linear-gradient(135deg,#1a2b52,#2558be);border:1px dashed #ffffff55}.profile-ticket-empty>strong{position:absolute;right:23px;top:50%;transform:translateY(-50%);font-size:33px;font-weight:300}
.profile-quick-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-bottom:26px}.profile-quick-grid button{display:flex;flex-direction:column;align-items:flex-start;min-width:0;padding:13px 10px;background:#fff;border:1px solid #e0e5ed;border-radius:16px;text-align:left}.profile-quick-icon{display:grid;place-items:center;width:28px;height:28px;border-radius:9px;background:#edf2ff;color:#1f5eff;font-size:13px;font-weight:850;margin-bottom:10px}.profile-quick-grid strong{font-size:11px;font-weight:800}.profile-quick-grid small{font-size:8.5px;color:#8993a3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:100%;margin-top:2px}
.profile-journey-list{display:flex;flex-direction:column;gap:9px}.profile-journey-list>button{display:flex;align-items:center;gap:11px;width:100%;padding:10px;background:#fff;border:1px solid #e0e5ed;border-radius:17px;text-align:left}.profile-journey-thumb{flex:0 0 49px;height:49px;border-radius:12px;overflow:hidden;background:#eef1f5}.profile-journey-thumb img{width:100%;height:100%;object-fit:cover}.profile-journey-copy{min-width:0;flex:1}.profile-journey-copy>span{display:block;font-size:7.5px;font-weight:850;letter-spacing:.12em;color:#6680bb;text-transform:uppercase}.profile-journey-copy h3{font-size:13px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:2px 0}.profile-journey-copy p{font-size:9px;color:#8893a4}.profile-journey-list em{font-style:normal;font-size:8px;font-weight:800;border-radius:7px;padding:5px 7px;white-space:nowrap}.profile-journey-list .status-planning{background:#eaf0ff;color:#315fcb}.profile-journey-list .status-booked{background:#e8f2ff;color:#175aa6}.profile-journey-list .status-past{background:#eff1f4;color:#657083}.profile-journey-list svg{color:#a0a8b4;flex:none}.profile-empty{padding:25px;text-align:center;color:#7e8998;font-size:12px;background:#fff;border:1px dashed #d5dae2;border-radius:17px}

[data-theme=dark] .explore-screen,[data-theme=dark] .profile-screen{background:var(--jbg-bg)!important;color:var(--jbg-text)!important}[data-theme=dark] :is(.explore-search-card label,.explore-categories,.explore-categories button,.explore-trip-card,.explore-place-card,.explore-empty,.profile-stats,.profile-quick-grid button,.profile-journey-list>button){background:var(--jbg-surface);border-color:var(--jbg-line);color:var(--jbg-text)}[data-theme=dark] .explore-search-card input{color:var(--jbg-text)}[data-theme=dark] :is(.explore-results-head h2,.explore-trip-copy h3,.explore-place-copy h3,.explore-empty h2,.profile-quick-grid strong,.profile-journey-copy h3,.profile-stats strong){color:var(--jbg-text)}[data-theme=dark] :is(.explore-place-description,.explore-trip-copy>div,.profile-journey-copy p,.profile-quick-grid small){color:var(--jbg-muted)}
.jbg-badge.live{color:#8a4b08;background:#fff0d7}.jbg-tour-target{outline-color:#477cf0!important}

/* Shared media, theme access and richer discovery cards */
.public-theme-toggle{position:fixed;right:max(16px,calc((100vw - 600px)/2 + 16px));bottom:92px;z-index:950;width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#fff;color:#182235;border:1px solid #dce2eb;box-shadow:0 8px 24px #0f172a2b;font-size:19px}.explore-hero>video,.profile-hero-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.explore-video-shade,.profile-video-shade{position:absolute;inset:0;background:linear-gradient(100deg,#081226e8,#0b193ca8 65%,#112b5a70)}.explore-hero{overflow:visible;background:#112347}.profile-hero{min-height:178px}.profile-hero-video,.profile-video-shade{z-index:0}.profile-topline,.profile-identity{z-index:2}
.explore-place-card{display:block;padding:0;overflow:hidden}.explore-place-media{display:block;position:relative;width:100%;height:168px;overflow:hidden;text-align:left}.explore-place-media>img{width:100%;height:100%;object-fit:cover;transition:transform .35s}.explore-place-media:active>img{transform:scale(1.025)}.explore-place-media:after{content:'';position:absolute;inset:40% 0 0;background:linear-gradient(transparent,#101827b8)}.explore-place-media .explore-place-icon{position:absolute;left:13px;bottom:13px;z-index:2;width:38px;height:38px;background:#fffffff0;box-shadow:0 6px 16px #0003}.explore-place-type{position:absolute;right:13px;bottom:17px;z-index:2;color:#fff;font-size:9px;font-weight:850;letter-spacing:.13em;text-transform:uppercase}.explore-place-copy{padding:16px}.explore-preview-strip{display:flex;gap:6px;margin:12px 0}.explore-preview-strip img{width:48px;height:36px;object-fit:cover;border-radius:9px;border:2px solid #fff;box-shadow:0 1px 5px #17233a25}.explore-place-actions .primary i,#discovery-add.is-loading i{width:13px;height:13px;border:2px solid #ffffff55;border-top-color:#fff;border-radius:50%;animation:jbg-spin .7s linear infinite}.explore-place-actions button:disabled,#discovery-add:disabled{opacity:.8;cursor:wait}.explore-trip-card{grid-template-columns:138px 1fr;min-height:154px}.explore-trip-image{min-height:154px}.explore-trip-copy>div.explore-trip-previews{justify-content:flex-start;margin:4px 0 8px}.explore-trip-previews img{width:30px;height:30px;border-radius:8px;object-fit:cover;margin-right:-5px;border:2px solid #fff}.explore-trip-previews span{margin-left:8px;font-size:9px;color:#738095}.explore-trip-copy>div.explore-trip-byline{margin-top:auto}.explore-inspiration-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.explore-inspiration-grid button{position:relative;overflow:hidden;min-height:138px;border-radius:18px;text-align:left;color:#fff;background:#172849;box-shadow:0 8px 18px #17233a18}.explore-inspiration-grid img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.explore-inspiration-grid button:after{content:'';position:absolute;inset:25% 0 0;background:linear-gradient(transparent,#08111de8)}.explore-inspiration-grid span,.explore-inspiration-grid strong{position:absolute;left:13px;z-index:2}.explore-inspiration-grid span{bottom:31px;font-size:8px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.explore-inspiration-grid strong{bottom:12px;font-size:15px}.explore-inspiration-note{font-size:11px;color:#7b8799;text-align:center;margin:14px 0}.discovery-detail-hero{position:relative;height:210px;overflow:hidden;border-radius:20px}.discovery-detail-hero img{width:100%;height:100%;object-fit:cover}.discovery-detail-hero:after{content:'';position:absolute;inset:45% 0 0;background:linear-gradient(transparent,#08111db8)}.discovery-detail-hero span{position:absolute;left:15px;bottom:14px;z-index:2;color:#fff;font-size:9px;font-weight:850;letter-spacing:.13em;text-transform:uppercase}.discovery-detail-location{display:flex;gap:11px;align-items:center;padding:12px 14px;background:var(--jbg-soft);border-radius:14px}.discovery-detail-location>span{font-size:22px}.discovery-detail-location div{display:flex;flex-direction:column;min-width:0}.discovery-detail-location strong{font-size:13px}.discovery-detail-location small{color:var(--jbg-muted);font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.discovery-detail-copy{font-size:14px;line-height:1.65}.discovery-detail iframe{width:100%;height:220px;border:0;border-radius:18px}.discovery-detail-links{display:grid;grid-template-columns:1fr 1fr;gap:9px}.discovery-detail-links a{padding:11px;border:1px solid var(--jbg-line);border-radius:12px;text-align:center;font-size:12px;font-weight:750}.discovery-source{padding:13px 14px;border-left:3px solid var(--jbg-accent);background:var(--jbg-soft);border-radius:0 12px 12px 0}.discovery-source strong{font-size:11px}.discovery-source p{font-size:11px;color:var(--jbg-muted);margin-top:3px;line-height:1.5}
.explore-clear-location{display:inline-flex;margin:4px 20px 0;padding:7px 11px;border:1px solid #dfe4eb;border-radius:999px;background:#fff;color:#637086;font-size:10px;font-weight:750}.explore-clear-location:active{background:#edf3ff;color:#2659ca}

/* Activities and itinerary editor hierarchy */
#dashboard-content>.jbg-between{padding:4px 2px 2px}#dashboard-content>section{margin-top:6px}#dashboard-content>section>.jbg-divider{font-size:12px;letter-spacing:.04em;text-transform:uppercase;color:var(--jbg-muted)}#dashboard-content>section .jbg-card{position:relative;overflow:hidden;border-radius:24px;padding:20px;background:linear-gradient(145deg,var(--jbg-surface),color-mix(in srgb,var(--jbg-soft) 45%,var(--jbg-surface)));box-shadow:0 10px 28px #17233a12}#dashboard-content>section .jbg-card:before{content:'';position:absolute;width:110px;height:110px;border-radius:50%;right:-52px;top:-58px;background:#2c64ef12;box-shadow:0 0 0 18px #2c64ef08}#dashboard-content>section .jbg-card .jbg-heading{font-size:21px;letter-spacing:-.65px}.jbg-schedule-tools{gap:8px;margin-top:12px}.jbg-schedule-tools button{padding:8px 11px;border-radius:10px;font-weight:700;background:var(--jbg-surface);color:var(--jbg-text)}.jbg-schedule-tools button:disabled{opacity:.35}.jbg-activity-note{background:transparent;padding:4px 0;font-size:13px;color:var(--jbg-muted)}.jbg-activity-note h3{font-size:18px;color:var(--jbg-text);line-height:1.3}.jbg-activity-note h4{font-size:14px;color:var(--jbg-text)}.jbg-small-copy{font-size:11px!important;color:var(--jbg-muted);line-height:1.55}.jbg-auto-meta,.jbg-source-meta{display:flex;gap:8px;margin-top:10px}.jbg-auto-meta{flex-direction:column;align-items:flex-start;padding:10px 12px;border-radius:12px;background:#edf3ff;border-left:3px solid #477cf0}.jbg-auto-meta span,.jbg-source-meta span{font-size:8px;font-weight:850;text-transform:uppercase;letter-spacing:.13em;color:#6680bb}.jbg-auto-meta strong,.jbg-source-meta strong{font-size:11px;color:var(--jbg-text)}.jbg-source-meta>div,.jbg-source-meta>a{display:flex;flex:1;min-width:0;flex-direction:column;gap:3px;padding:10px 11px;background:var(--jbg-soft);border-radius:12px}.jbg-source-meta strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.notes-dialog .jbg-dialog-body,.schedule-dialog .jbg-dialog-body{background:linear-gradient(180deg,var(--jbg-surface),var(--jbg-bg))}.notes-dialog .jbg-row{padding-bottom:4px;overflow-x:auto;flex-wrap:nowrap}.notes-dialog #note-preview{border:1px solid var(--jbg-line);padding:18px}.schedule-dialog form{gap:18px}.schedule-dialog .jbg-check{border:1px solid var(--jbg-line)}

/* Cohesive dark surfaces: subtle separators, no bright outlines. */
[data-theme=dark]{--jbg-bg:#101722;--jbg-surface:#18212e;--jbg-soft:#222e3d;--jbg-text:#f1f5f9;--jbg-muted:#aeb9c8;--jbg-line:#334155}[data-theme=dark] body{background:#0b111a;color:var(--jbg-text)}[data-theme=dark] :is(.border-white,.border-white\/50,.border-white\/60){border-color:#ffffff26!important}[data-theme=dark] :is(.shadow-sm,.shadow-md,.shadow-xl){box-shadow:0 10px 28px #0003!important}[data-theme=dark] .public-theme-toggle{background:#202b39;color:#f5f7fa;border-color:#39475a}[data-theme=dark] .explore-video-shade,[data-theme=dark] .profile-video-shade{background:linear-gradient(100deg,#080e18e8,#111b2cc7 68%,#17243d99)}[data-theme=dark] .explore-categories{background:var(--jbg-bg)}[data-theme=dark] .explore-search-card{background:#334155;border-color:#ffffff20}[data-theme=dark] .explore-preview-strip img,[data-theme=dark] .explore-trip-previews img{border-color:var(--jbg-surface)}[data-theme=dark] .jbg-auto-meta{background:#1e3152;border-left-color:#78a0ff}[data-theme=dark] .jbg-badge.live{background:#3d2d19;color:#ffd69d}
#jbg-dialog:has(#activity-form) .jbg-dialog-head,#jbg-dialog:has(#rsvp-form) .jbg-dialog-head{padding:22px 24px;background:linear-gradient(135deg,#101b31,#244d91);color:#fff;border:0}#jbg-dialog:has(#activity-form) .jbg-dialog-head .jbg-icon,#jbg-dialog:has(#rsvp-form) .jbg-dialog-head .jbg-icon{background:#ffffff18;color:#fff}#activity-form{gap:18px!important}#activity-form label{padding:12px 14px;border:1px solid var(--jbg-line);border-radius:15px;background:var(--jbg-surface)}#activity-form label input:not([type=checkbox]),#activity-form label textarea,#activity-form label select{border:0!important;padding:7px 0 0!important;background:transparent!important}#activity-form>.jbg-row{align-items:stretch}#jbg-dialog:has(#rsvp-form) .jbg-dialog-body>.jbg-stack>div:first-child{padding:17px;border-radius:18px;background:linear-gradient(145deg,var(--jbg-soft),var(--jbg-surface));border-left:4px solid var(--jbg-accent)}#rsvp-form{padding:17px;border:1px solid var(--jbg-line);border-radius:18px;background:var(--jbg-soft)}
#jbg-dialog:has(.save-place-onboarding){max-width:430px}.save-place-onboarding{display:flex;flex-direction:column;gap:15px}.save-place-hero{height:150px;position:relative;overflow:hidden;border-radius:18px}.save-place-hero img{width:100%;height:100%;object-fit:cover}.save-place-hero:after{content:'';position:absolute;inset:35% 0 0;background:linear-gradient(transparent,#07111de0)}.save-place-hero span{position:absolute;left:14px;bottom:12px;z-index:2;color:#fff;font-size:9px;font-weight:850;letter-spacing:.14em}.save-place-copy h3{font-size:22px;margin:4px 0}.save-place-copy>p:last-child{font-size:13px;line-height:1.55;color:var(--jbg-muted)}.save-place-suggestions{display:flex;flex-wrap:wrap;gap:7px;padding:13px;background:var(--jbg-soft);border-radius:15px}.save-place-suggestions .jbg-eyebrow{width:100%}.save-place-suggestions>span:not(.jbg-eyebrow){font-size:11px;color:var(--jbg-muted);border:1px solid var(--jbg-line);border-radius:999px;padding:6px 9px}.jbg-trip-tools{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.jbg-trip-tools button{font-size:10px!important;padding:7px 9px!important}.jbg-trip-tools .is-loading{opacity:.65;cursor:wait}.schedule-review-dialog{max-width:500px}.schedule-ai-loading{display:grid;place-items:center;text-align:center;padding:28px 8px}.schedule-ai-loading span,.jbg-tips-loading span{width:30px;height:30px;border:3px solid var(--jbg-line);border-top-color:var(--jbg-accent);border-radius:50%;animation:jbg-spin .8s linear infinite}.schedule-ai-loading h3{margin-top:16px;font-size:18px}.schedule-ai-loading p{margin-top:6px;color:var(--jbg-muted);font-size:13px;line-height:1.55}.schedule-review{display:flex;flex-direction:column;gap:12px}.schedule-review-summary{padding:16px;border-radius:16px;background:linear-gradient(135deg,#eef4ff,var(--jbg-soft))}.schedule-review-summary h3{font-size:17px;line-height:1.35;margin:5px 0}.schedule-review-summary p{font-size:12px;color:var(--jbg-muted)}.schedule-change{display:flex;gap:11px;padding:13px;border:1px solid var(--jbg-line);border-radius:14px}.schedule-change-index{display:grid;place-items:center;flex:0 0 26px;height:26px;border-radius:9px;background:#edf3ff;color:#3766d6;font-size:10px;font-weight:850}.schedule-change span{font-size:8px;text-transform:uppercase;letter-spacing:.11em;color:#6680bb;font-weight:850}.schedule-change h3{font-size:14px;margin:3px 0}.schedule-change p{font-size:11px;color:var(--jbg-muted)}.schedule-change small{display:block;margin-top:5px;font-size:11px;line-height:1.45;color:var(--jbg-muted)}.schedule-review-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:5px}.schedule-empty{padding:24px;text-align:center;border:1px dashed var(--jbg-line);border-radius:14px}.schedule-empty p{font-size:12px;color:var(--jbg-muted);margin-top:4px}.jbg-module-image{display:block;width:100%;max-height:170px;object-fit:cover;border-radius:14px;margin:4px 0 10px;border:1px solid var(--jbg-line)}.jbg-source-meta{gap:5px;margin-top:6px}.jbg-source-meta>div,.jbg-source-meta>a{padding:5px 7px;gap:1px;border-radius:8px;white-space:nowrap}.jbg-source-meta span{font-size:7px}.jbg-source-meta strong{font-size:9px}.jbg-schedule-tools{gap:5px;margin-top:7px}.jbg-schedule-tools button{padding:5px 8px;font-size:10px}.jbg-auto-meta{padding:5px 7px;margin-top:6px;gap:1px;border-radius:8px}.jbg-auto-meta span{font-size:7px}.jbg-auto-meta strong{font-size:9px}.jbg-tips-shell{padding:20px;background:var(--jbg-bg);min-height:420px}.jbg-tips-intro{padding:18px;border-radius:18px;background:linear-gradient(135deg,#eaf1ff,var(--jbg-soft));margin-bottom:12px}.jbg-tips-intro h2{font-size:21px;line-height:1.2;margin:5px 0}.jbg-tips-intro p{font-size:12px;color:var(--jbg-muted);line-height:1.5}.jbg-tips-results{display:flex;flex-direction:column;gap:8px}.jbg-tip-card{display:grid;grid-template-columns:32px 1fr;gap:11px;padding:14px;border:1px solid var(--jbg-line);border-radius:15px;background:var(--jbg-surface)}.jbg-tip-number{font-size:11px;font-weight:850;color:var(--jbg-accent);padding-top:2px}.jbg-tip-card span{font-size:8px;text-transform:uppercase;letter-spacing:.12em;font-weight:850;color:#6680bb}.jbg-tip-card h3{font-size:14px;margin:3px 0}.jbg-tip-card p{font-size:12px;line-height:1.5;color:var(--jbg-muted)}.jbg-tip-card a{display:inline-block;margin-top:7px;font-size:10px;font-weight:750;color:var(--jbg-accent)}.jbg-tips-loading{display:grid;place-items:center;text-align:center;padding:45px}.jbg-tips-loading p{font-size:12px;color:var(--jbg-muted);margin-top:10px}.jbg-tip-error{display:flex;flex-direction:column;align-items:center;gap:12px;padding:28px;text-align:center}

/* Compact activity controls and editor-safe media interactions. */
.jbg-icon-tool{display:grid!important;place-items:center;width:29px;height:29px;padding:0!important;border:1px solid var(--jbg-line)!important;border-radius:9px!important;background:var(--jbg-surface)!important;color:var(--jbg-muted);box-shadow:none!important}
.jbg-icon-tool:hover{color:var(--jbg-accent);border-color:#b9c9ee!important;background:#f4f7ff!important}.jbg-icon-tool:disabled{opacity:.3!important}.jbg-icon-tool svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.jbg-icon-tool .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.jbg-schedule-tools{align-items:center!important}.jbg-source-meta{display:flex;max-width:100%;overflow:hidden}.jbg-source-meta>a{min-width:0;overflow:hidden}.jbg-source-meta span{line-height:1}.jbg-source-meta strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.jbg-source-meta .jbg-source-link strong{color:var(--jbg-accent)}.jbg-location-link:hover,.jbg-source-link:hover{background:#eaf0ff!important}.jbg-module-image{cursor:pointer;max-height:210px;transition:filter .18s,transform .18s}.jbg-module-image:hover{filter:brightness(.96);transform:translateY(-1px)}
.jbg-notes-editor{display:flex;flex-direction:column;gap:12px}.jbg-notes-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.jbg-notes-toolbar .jbg-row{gap:6px;overflow-x:auto;flex:1}.jbg-notes-toolbar .jbg-chip{padding:7px 10px;font-size:11px}.jbg-insert-image{padding:8px 12px;font-size:11px;white-space:nowrap}.jbg-notes-editor textarea{min-height:150px!important;font-size:13px!important;line-height:1.55!important}.jbg-notes-image,.jbg-media-actions img{display:block;width:100%;max-height:210px;object-fit:cover;border-radius:14px;border:1px solid var(--jbg-line)}.jbg-media-actions{display:flex;flex-direction:column;gap:12px}.jbg-danger-button{color:#b94d58}.jbg-activity-note{margin-top:3px}

/* The planner keeps the logistics implementation available but out of the UI. */
[id^="interday-container-"]{display:none!important}

/* Auto replanner: smaller type, clear selection affordance, and calmer hierarchy. */
#jbg-dialog.schedule-review-dialog{max-width:560px;border-radius:24px}.schedule-review-dialog .jbg-dialog-head{padding:16px 20px}.schedule-review-dialog .jbg-dialog-head h2{font-size:17px;letter-spacing:-.25px}.schedule-review-dialog .jbg-dialog-body{padding:16px;background:linear-gradient(180deg,var(--jbg-surface),var(--jbg-bg))}.schedule-review{gap:9px}.schedule-review-summary{padding:15px 16px;border:1px solid #dce6fb;background:linear-gradient(135deg,#f0f5ff,#f8faff)}.schedule-review-summary .jbg-eyebrow{font-size:9px;color:#5a78b4}.schedule-review-summary h3{font-size:16px;line-height:1.3;margin:6px 0 4px;color:#18263c}.schedule-review-summary p{font-size:11px;line-height:1.45}.schedule-change{align-items:flex-start;gap:10px;padding:11px 12px;background:var(--jbg-surface);border-radius:14px}.schedule-change-select{display:flex;align-items:flex-start;gap:9px;cursor:pointer}.schedule-change-select input{width:16px!important;height:16px;margin:5px 0 0;accent-color:var(--jbg-accent)}.schedule-change-index{width:24px;height:24px;flex-basis:24px;border-radius:8px;font-size:9px}.schedule-change-copy{min-width:0;flex:1}.schedule-change-copy>span{font-size:8px}.schedule-change-copy h3{font-size:13px;line-height:1.25;margin:3px 0}.schedule-change-copy p{font-size:10px;line-height:1.4}.schedule-change-copy small{font-size:10px;line-height:1.4;margin-top:5px}.schedule-review-actions{position:sticky;bottom:-16px;margin:3px -16px -16px;padding:12px 16px;background:color-mix(in srgb,var(--jbg-surface) 94%,transparent);border-top:1px solid var(--jbg-line);justify-content:stretch}.schedule-review-actions button{flex:1;padding:10px 12px;font-size:12px}
.jbg-preview-mode{color:var(--jbg-text)}.jbg-preview-kicker{margin-bottom:8px;color:var(--jbg-accent);font-size:10px;font-weight:800;letter-spacing:.16em;text-transform:uppercase}.jbg-preview-notes{font-size:13px;line-height:1.65;color:#68758b}.jbg-preview-notes h3{font-size:17px;color:#1e293b;margin:6px 0}.jbg-preview-notes h4{font-size:14px;color:#334155;margin:5px 0}.jbg-preview-notes p{margin:3px 0}.jbg-preview-image{display:block;width:100%;max-height:180px;object-fit:cover;border-radius:12px;margin:8px 0 10px;border:1px solid #e4e8ef}

/* Explore destination search */
.explore-hero{padding:30px 20px 82px;background:#263b36;color:#fff}.explore-video-shade{background:linear-gradient(100deg,#142620e8,#283c35bb 68%,#17251c80)}.explore-hero-copy{max-width:420px}.explore-kicker{color:#e0c68c;font-size:9px;letter-spacing:.16em}.explore-hero h1{font-size:clamp(27px,7vw,34px);line-height:1.08;letter-spacing:-1px;font-weight:740;margin:9px 0 10px;max-width:340px}.explore-hero-copy p{max-width:310px;color:#e2e6df;font-size:13px;line-height:1.5}.explore-search-card{background:#e2e4dc;border-color:#ffffff88;border-radius:19px;box-shadow:0 14px 36px #131d1950}.explore-search-card label{background:#fbfaf6;padding:11px 14px}.explore-search-card label span{color:#72796e;letter-spacing:.08em}.explore-search-card label span small{font-size:8px;letter-spacing:0;text-transform:none;font-weight:600}.explore-search-card input{color:#29332e}.explore-search-card input::placeholder{color:#a3a79f;font-weight:500}.explore-search-button{background:#36534a;color:#fff;padding:13px;font-size:13px;transition:background .18s}.explore-search-button:hover,.explore-search-button:active{background:#273f38}.explore-categories button.active{background:#36534a;border-color:#36534a;box-shadow:0 5px 14px #273f3825}.explore-location-prompt{display:flex;align-items:center;gap:12px;padding:17px;border:1px solid #e1e4dc;background:#fff;border-radius:16px;color:#3b5148}.explore-location-prompt>span{display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:#eff2eb;font-size:18px}.explore-location-prompt strong{font-size:13px}.explore-location-prompt p{margin-top:3px;color:#7b8279;font-size:11px}

/* Keep the theme control in the profile header inside the app frame. */
.profile-header-actions{display:flex;align-items:center;gap:8px}.jbg-theme-toggle{display:grid;place-items:center;width:40px;height:40px;border:1px solid var(--jbg-line);border-radius:50%;background:var(--jbg-surface);color:var(--jbg-text);box-shadow:0 3px 12px #0f172a12;font-size:17px}.jbg-theme-toggle:active{transform:scale(.96)}.jbg-theme-toggle-guest{position:absolute;top:18px;right:18px;background:#ffffff20;border-color:#ffffff45;color:#fff;backdrop-filter:blur(8px)}

/* Cover chooser */
#jbg-dialog.cover-picker-dialog{max-width:500px;border-radius:24px}.cover-picker{display:flex;flex-direction:column;gap:16px}.cover-picker>p{margin:0;color:var(--jbg-muted);font-size:12px;line-height:1.5}.cover-picker-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px}.cover-choice{position:relative;overflow:hidden;padding:0;border:2px solid transparent;border-radius:16px;background:var(--jbg-soft);text-align:left}.cover-choice img{display:block;width:100%;height:112px;object-fit:cover;transition:transform .2s}.cover-choice:hover img{transform:scale(1.035)}.cover-choice>span{display:block;padding:9px 11px;font-size:12px;font-weight:750;color:var(--jbg-text)}.cover-choice.selected{border-color:var(--jbg-accent);box-shadow:0 0 0 3px #1f5eff1c}.cover-choice i{display:none;position:absolute;right:9px;top:9px;width:24px;height:24px;border-radius:50%;background:#fff;color:#1f5eff;font-style:normal;font-weight:900;text-align:center;line-height:24px;box-shadow:0 2px 8px #0002}.cover-choice.selected i{display:block}.cover-upload{display:flex!important;flex-direction:row!important;align-items:center;gap:11px!important;padding:12px;border:1px dashed #cbd2c8;border-radius:14px;background:#f7f8f4;cursor:pointer}.cover-upload-mark{display:grid;place-items:center;width:36px;height:36px;border-radius:11px;background:#e9eee7;color:#405c4f;font-size:21px}.cover-upload strong,.cover-upload small{display:block}.cover-upload strong{font-size:12px}.cover-upload small{margin-top:2px;color:var(--jbg-muted);font-size:10px}.cover-upload input{display:none!important}

.jbg-notes-image-wrap{position:relative}.jbg-notes-image-button{position:relative;display:block;width:100%;padding:0;border:0;background:transparent;text-align:left}.jbg-notes-image-button img{margin:0}.jbg-notes-image-button>span{position:absolute;right:9px;bottom:9px;padding:5px 8px;border-radius:999px;background:#101827c9;color:#fff;font-size:9px;font-weight:700}.jbg-image-confirm{display:flex;align-items:center;gap:7px;margin-top:7px;padding:8px 10px;border:1px solid var(--jbg-line);border-radius:11px;background:var(--jbg-soft);font-size:11px}.jbg-image-confirm span{flex:1}.jbg-image-confirm button{padding:5px 8px;border-radius:8px;background:#fff;font-size:10px;font-weight:750}.jbg-image-confirm [data-confirm-remove]{color:#b44949}

/* Explore keeps its familiar video hero + search card + category rail, with a calmer editorial finish. */
.explore-screen{background:#f7f8fa!important;color:#151b26}.explore-hero{padding:34px 20px 84px;background:#132342;color:#fff}.explore-hero>video{filter:saturate(.82)}.explore-video-shade{background:linear-gradient(100deg,#091426e8 0%,#10213bc2 57%,#152b4d70 100%)}.explore-hero-copy{max-width:390px}.explore-kicker{color:#b7c8e7;font-size:9px;letter-spacing:.18em}.explore-hero h1{max-width:360px;font-size:clamp(31px,8vw,39px);line-height:1.04;letter-spacing:-1.35px;font-weight:780;margin:11px 0 13px}.explore-hero-copy p{max-width:320px;color:#d3dced;font-size:14px;line-height:1.5}.explore-search-card{grid-template-columns:1fr 1fr;gap:1px;margin:30px 0 -145px;background:#e3e7ee;border:1px solid #ffffffa8;border-radius:20px;box-shadow:0 18px 48px #09142638}.explore-search-card label{padding:13px 15px;background:#fff}.explore-search-card label span{color:#77859b;font-size:9px;letter-spacing:.1em}.explore-search-card label span small{font-size:9px;letter-spacing:0;text-transform:none}.explore-search-card input{color:#1c2636;font-size:14px;font-weight:650}.explore-search-card input::placeholder{color:#a6afbd;font-weight:550}.explore-search-button{background:#121b2b;color:#fff;padding:13px;font-size:13px;font-weight:750;transition:background .18s}.explore-search-button:hover,.explore-search-button:active{background:#263c61}.explore-categories{gap:8px;padding:74px 20px 13px;background:#f7f8fa;border-bottom:1px solid #e8ebf0}.explore-categories button{padding:9px 14px;border-color:#e0e4eb;background:#fff;color:#596579;font-size:12px}.explore-categories button.active{background:#121b2b;border-color:#121b2b;box-shadow:0 4px 12px #121b2b20}.explore-results{padding:10px 20px 30px}.explore-results-head{margin:9px 0 14px}.explore-results-head>div>span{color:#8792a3}.explore-results-head h2{font-size:19px;letter-spacing:-.35px}.explore-results-head>strong{background:#eceff3;color:#667286}.explore-trip-list{display:grid;grid-auto-columns:minmax(210px,72%);grid-auto-flow:column;gap:12px;overflow-x:auto;margin-right:-20px;padding:0 20px 12px 0;scroll-snap-type:x mandatory;scrollbar-width:none}.explore-trip-list::-webkit-scrollbar{display:none}.explore-trip-card{display:flex;flex-direction:column;min-height:0;border-color:#e2e6ed;border-radius:18px;scroll-snap-align:start;box-shadow:0 4px 15px #17233a0b}.explore-trip-image{height:165px;min-height:165px}.explore-trip-image img{object-fit:cover}.explore-trip-copy{min-height:132px;padding:12px 13px}.explore-trip-copy h3{font-size:16px;margin:5px 0}.explore-trip-copy>div.explore-trip-previews{margin:5px 0 8px}.explore-place-card{border-color:#e2e6ed;border-radius:18px;box-shadow:0 4px 16px #17233a0a}.explore-place-media{height:190px}.explore-place-copy{padding:14px}.explore-place-copy h3{font-size:17px;letter-spacing:-.25px}.explore-place-description{font-size:13px;color:#5c6676}.explore-place-actions button{padding:9px 11px;border-radius:11px;font-size:11px}.explore-place-actions .primary{background:#121b2b;border-color:#121b2b}.explore-clear-location{margin:5px 20px 0;border-color:#e0e4eb;background:#fff;color:#647187}.explore-location-prompt,.explore-empty{border-color:#e2e6ed;background:#fff;color:#27344a}.jbg-source-meta{align-items:center;flex-wrap:wrap;gap:7px}.jbg-source-meta>.jbg-source-link{display:inline-flex;flex:0 0 auto;flex-direction:row;align-items:center;width:max-content;max-width:100%;padding:4px 0;background:transparent!important;border:0;border-radius:0;color:#2864e8;font-size:10px;font-weight:750;line-height:1.2}.jbg-source-meta>.jbg-source-link:hover{background:transparent!important;color:#174fc5;text-decoration:underline}.jbg-activity-note{color:#687386;font-size:13px;line-height:1.55}.jbg-activity-note p{margin:3px 0}.jbg-activity-note h3{margin:4px 0 6px;font-size:16px;line-height:1.35;font-weight:750;letter-spacing:-.2px}.jbg-activity-note h4{margin:4px 0;font-size:14px;line-height:1.4;font-weight:700}.jbg-activity-note .jbg-small-copy{margin:3px 0;font-size:11px!important}
[data-theme=dark] .explore-screen{background:var(--jbg-bg)!important}[data-theme=dark] .explore-categories{background:var(--jbg-bg);border-color:var(--jbg-line)}[data-theme=dark] .explore-search-card label,[data-theme=dark] .explore-clear-location{background:var(--jbg-surface);color:var(--jbg-text)}[data-theme=dark] .explore-search-card input{color:var(--jbg-text)}[data-theme=dark] .explore-search-card{background:var(--jbg-line);border-color:#ffffff24}[data-theme=dark] .explore-categories button{background:var(--jbg-surface);color:var(--jbg-muted);border-color:var(--jbg-line)}[data-theme=dark] .explore-categories button.active{background:#263c61;color:#fff;border-color:#263c61}[data-theme=dark] .explore-trip-card,[data-theme=dark] .explore-place-card,[data-theme=dark] .explore-location-prompt,[data-theme=dark] .explore-empty{background:var(--jbg-surface);border-color:var(--jbg-line);color:var(--jbg-text)}
.jbg-inline-note-view{min-height:22px;padding:2px 0;cursor:text;border-radius:6px;transition:background .15s}.jbg-inline-note-view:hover{background:#64748b08}.jbg-inline-note-view:focus-visible{outline:2px solid #3267e8;outline-offset:3px}.jbg-inline-note-placeholder{color:#a0a8b5!important;font-weight:500}.jbg-inline-note-editor{width:100%;min-height:46px;resize:vertical;color:#596579;font-size:13px;line-height:1.55}.jbg-inline-note-wrap{min-width:0;width:100%}
