/* The approved navy/silver travel atlas, scoped to a profile section. */
.neoes-travel{--travel-ink:#edf5f8;--travel-muted:#b9cfda;--travel-gold:#e0c68e;color:var(--travel-ink);background:radial-gradient(ellipse at 90% 0,#153c50,transparent 65%),#061d2d;border:1px solid #678292;border-radius:13px;padding:6px 5px 8px;font:14px/1.35 Arial,sans-serif;color-scheme:dark;min-width:0;max-width:100%;overflow:hidden;box-sizing:border-box}
.neoes-travel *{box-sizing:border-box}
.neoes-travel button,.neoes-travel input{font:inherit}
.neoes-travel button{cursor:pointer;color:inherit}
.neoes-travel button:focus-visible,.neoes-travel input:focus-visible{outline:2px solid var(--travel-gold);outline-offset:2px}
.neoes-travel-head{display:flex;align-items:center;gap:8px;min-height:44px;padding:0 4px}
.neoes-travel-head h3{font:500 22px/1.1 Georgia,serif;margin:0;flex:1;white-space:nowrap}
.neoes-travel-audience:not(.profile-audience-pill){display:grid;grid-template-columns:1fr 1fr;background:#173a4e;border:1px solid #9bb8c5;border-radius:22px;overflow:hidden;min-width:0;max-width:70%}
.neoes-travel-audience:not(.profile-audience-pill) button{border:0;border-radius:0;background:none;min-width:0;min-height:36px;padding:4px 8px;color:#a9c1ce;white-space:normal;overflow-wrap:anywhere;font-size:11px}
.neoes-travel-audience:not(.profile-audience-pill) button+button{border-left:1px solid #9bb8c5}
.neoes-travel-audience:not(.profile-audience-pill) button[aria-pressed=true]{color:#eef5f8;background:#38647a}
.neoes-travel-map{position:relative;isolation:isolate;margin:1px 1px 0;overflow:hidden;border-radius:11px;background:radial-gradient(ellipse at 45% 42%,#315d73 0,#12384d 56%,#051b2a 88%);box-shadow:inset 0 0 0 1px #a8c9d540;touch-action:pan-y;user-select:none}
.neoes-travel-gesture{position:absolute;inset:0;z-index:1;touch-action:none;clip-path:circle(0);background:transparent}
.neoes-travel-map::after{content:'';position:absolute;inset:0;border-radius:inherit;box-shadow:inset 0 0 30px #0003;pointer-events:none}
.neoes-travel-canvas{display:block;width:100%;height:min(450px,max(300px,calc(100dvh - 225px)))}
.neoes-travel-flat .neoes-travel-canvas{height:min(450px,max(300px,calc(100dvh - 225px)))}
.neoes-travel-switch{position:absolute;z-index:3;top:6px;left:7px;right:7px;display:flex;align-items:center;justify-content:center;gap:3px;min-height:38px;pointer-events:none}
.neoes-travel-switch button{border:1px solid #88aab74d;background:#08283bdc;border-radius:6px;min-height:40px;max-width:50%;padding:0 8px;display:flex;align-items:center;justify-content:center;color:#c1d3dc;white-space:nowrap;font-size:11px;pointer-events:auto}
.neoes-travel-switch button[aria-pressed=true]{color:#f0f8fb;background:#205a76f2;border-color:#acd0df99;box-shadow:inset 0 1px 1px #ffffff24}
.neoes-travel-phrase{overflow:hidden;text-overflow:ellipsis}
.neoes-travel-tools{position:absolute;z-index:4;top:55px;right:8px;display:flex;flex-direction:column;align-items:center;gap:4px;pointer-events:auto}
.neoes-travel-tools button{display:flex;align-items:center;justify-content:center;border:1px solid #81a5b688;border-radius:50%;background:radial-gradient(circle at 32% 20%,#356077,#12374d 75%);width:44px;height:44px;padding:0;font-size:21px;line-height:1;box-shadow:inset 0 1px 1px #ddf4ff30,0 1px 3px #00132088;touch-action:manipulation}
.neoes-travel-tools button:active{background:#3c7891}
.neoes-travel-tools .neoes-travel-projection{background:radial-gradient(circle at 30% 20%,#527a8e,#21495e 75%);border-color:#9abed3bd}
.neoes-travel-projection svg{width:21px;height:21px;fill:none;stroke:#e0edf3;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 1px 1px #031b2c)}
.neoes-travel-selected{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;min-width:0;color:#dcecf3;margin:5px 8px 0;font-size:12px;line-height:1.2;pointer-events:none}
.neoes-travel-legend{margin:5px 8px 0;display:flex;align-items:center;gap:8px;font-size:11px;color:#c6dbe7}
.neoes-travel-heat-bar{height:6px;border-radius:4px;flex:1;background:linear-gradient(90deg,#799bab,#367797,#269dc0,#8dd6db,#f0d06f)}
.neoes-travel-action-row{text-align:right;min-height:3px;padding:0 7px}
.neoes-travel-choice{border:1px solid #92b8c8;border-radius:6px;background:#21485f;padding:6px 10px;margin-top:4px;min-height:36px;font-size:12px!important}
.neoes-travel-search{position:relative;margin:5px 8px 1px}
.neoes-travel-search input{width:100%;height:42px;border:1px solid #6b94a7;border-radius:7px;background:#12354a;color:#f4f8fa;padding:0 12px;font-size:14px}
.neoes-travel-search input::placeholder{color:#b0cad5}
.neoes-travel-search-results{position:absolute;z-index:6;top:43px;left:0;right:0;max-height:250px;overflow-y:auto;background:#092638;border:1px solid #7ca4b7;border-radius:7px;box-shadow:0 12px 25px #0008}
.neoes-travel-search-results button{display:flex;justify-content:space-between;align-items:center;gap:8px;width:100%;min-height:40px;padding:6px 10px;text-align:left;border:0;border-bottom:1px solid #90b4c12b;background:none;font-size:13px}
.neoes-travel-search-results button:active{background:#24506a}
.neoes-travel-search-results small{font-size:11px;color:#a6bfce;white-space:nowrap}
.neoes-travel-search-results p{margin:8px;color:#b9d1de}
.neoes-travel-lists{margin:3px 8px 0}
.neoes-travel-group{padding:3px 0 2px;border-bottom:1px solid #afced32b}
.neoes-travel-group h4,.neoes-travel-unresolved h4{font:500 14px/1.3 Georgia,serif;margin:1px 0 2px;color:#cfdee7}
.neoes-travel-group-head{display:flex;align-items:baseline;justify-content:space-between;gap:5px}
.neoes-travel-list-frame{position:relative;min-width:0}
.neoes-travel-list-frame::before,.neoes-travel-list-frame::after{content:'';position:absolute;z-index:1;top:0;bottom:0;width:19px;pointer-events:none;opacity:0;transition:opacity .15s}
.neoes-travel-list-frame::before{left:0;background:linear-gradient(90deg,#071f30e8,transparent)}
.neoes-travel-list-frame::after{right:0;background:linear-gradient(270deg,#071f30e8,transparent)}
.neoes-travel-list-frame.has-left-edge::before,.neoes-travel-list-frame.has-right-edge::after{opacity:1}
.neoes-travel-links{display:grid;grid-auto-flow:column;grid-template-rows:repeat(var(--travel-rows,1),26px);grid-auto-columns:max-content;column-gap:6px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;touch-action:pan-x pan-y;padding-bottom:1px}
.neoes-travel-links::-webkit-scrollbar{display:none}
.neoes-travel-links button{background:none;border:0;border-radius:0;padding:0 1px;min-width:0;text-align:left;display:flex;align-items:center;gap:4px;white-space:nowrap;text-decoration:underline;text-decoration-color:#86b3c44d;text-underline-offset:3px;font-size:12.5px}
.neoes-travel-flag{font:15px/1 sans-serif;width:19px;height:15px;object-fit:cover;text-align:center;display:inline-block;flex:none;border:1px solid #d9eaf077;border-radius:2px;box-shadow:0 1px 2px #00142188;text-decoration:none}
.neoes-travel-state-icon{width:24px;height:20px;flex:none;fill:#75b4ca4d;stroke:#a6d5e2;stroke-width:.85;stroke-linejoin:round;overflow:visible}
.neoes-travel-links button:not(:last-of-type)::after{content:'•';margin-left:4px;color:#8eb7c9;text-decoration:none}
.neoes-travel-links button.travel-row-end::after{display:none}
.neoes-travel-links button small{font:11px Arial,sans-serif;color:#a8cad9;text-decoration:none}
.neoes-travel-links p{margin:3px 0;color:#bdd3df;font-size:12px}
.neoes-travel-unresolved{margin:5px 8px 0;padding:6px 0;border-top:1px solid #afced32b}
.neoes-travel-unresolved-list{display:flex;gap:6px;overflow-x:auto;padding:3px 0}
.neoes-travel-unresolved-list button{flex:none;border:1px solid #7ea2b3;border-radius:15px;background:#16394c;padding:5px 9px;min-height:34px;font-size:12px}
.neoes-travel-unresolved p{font-size:11px;color:#b9cfd9;margin:3px 0}
.neoes-travel-error{margin:6px 9px 2px;color:#ffe6bb;font-size:12px}
.neoes-travel-loading,.neoes-travel-fallback{padding:18px 12px;color:#d9e7ed}
.neoes-travel-fallback p{margin:4px 0;font-size:12px}
.neoes-travel [hidden]{display:none!important}
@media(max-width:374px){.neoes-travel-head h3{font-size:20px}.neoes-travel-canvas{height:min(430px,max(290px,calc(100dvh - 225px)))}.neoes-travel-switch button{padding:0 6px;font-size:10.5px}}
.neoes-travel.neoes-travel-wide{display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,245px);grid-template-rows:auto auto auto 1fr;column-gap:5px}
.neoes-travel-wide .neoes-travel-head{grid-column:1/3;min-height:42px}
.neoes-travel-wide .neoes-travel-map{grid-column:1;grid-row:2/6}
.neoes-travel-wide .neoes-travel-canvas{height:min(410px,max(180px,calc(100dvh - 230px)))}
.neoes-travel-wide .neoes-travel-selected,.neoes-travel-wide .neoes-travel-legend,.neoes-travel-wide .neoes-travel-action-row,.neoes-travel-wide .neoes-travel-search,.neoes-travel-wide .neoes-travel-lists,.neoes-travel-wide .neoes-travel-unresolved{grid-column:2;margin-left:2px;margin-right:4px}
.neoes-travel-wide .neoes-travel-lists{overflow-y:auto;max-height:calc(100dvh - 115px)}

/* The continuous profile uses this same live map, with the exploratory controls
   and full travel lists available in its deeper Travel view. */
[data-profile-travel-overview]{min-width:0;min-height:230px}
[data-profile-travel-overview]>[data-profile-travel-status]{margin:0;min-height:230px;display:flex;align-items:center;justify-content:center;color:#adcbdc;font-size:13px}
[data-profile-travel-overview]>[data-profile-travel-status][hidden]{display:none!important}
.neoes-travel.neoes-travel-overview{border:0;border-radius:0;padding:0;background:none;box-shadow:none;overflow:visible}
[data-profile-travel-overview] .neoes-travel-loading{min-height:230px;margin:0;display:flex;align-items:center;justify-content:center;font-size:13px}
.neoes-travel-overview .neoes-travel-head,.neoes-travel-overview .neoes-travel-switch,.neoes-travel-overview .neoes-travel-action-row,.neoes-travel-overview .neoes-travel-legend{display:none!important}
.neoes-travel-overview .neoes-travel-map{margin:0;border-radius:10px;background:radial-gradient(ellipse at 49% 50%,#123b52,transparent 71%),#031c2c;box-shadow:inset 0 0 0 1px #73bbd340}
.neoes-travel-overview .neoes-travel-canvas,.neoes-travel-overview.neoes-travel-flat .neoes-travel-canvas{height:230px}
.neoes-travel-overview .neoes-travel-tools{top:20px;left:5px;right:auto;gap:4px}
.neoes-travel-overview .neoes-travel-tools button{width:44px;height:44px;border-color:#86bed394;background:radial-gradient(circle at 35% 20%,#21485c,#08273c 76%);box-shadow:inset 0 1px 1px #ddf4ff1f,0 1px 3px #00132088}
.neoes-travel-overview-summary{position:absolute;z-index:2;right:8px;bottom:9px;display:grid;gap:2px;max-width:53%;color:#d4e7f0;font-size:11px;line-height:1.15;text-align:right;text-shadow:0 1px 4px #00131f,0 0 5px #00131f;pointer-events:none}
.neoes-travel-overview-summary strong{font:600 17px/1.1 'EB Garamond',Georgia,serif;color:#f0f8fc}
.neoes-travel-overview .neoes-travel-lists{margin:7px 0 0}
.neoes-travel-overview .neoes-travel-lists:empty{margin:0}
.neoes-travel-overview .neoes-travel-links{grid-template-rows:32px;column-gap:5px;padding:0}
.neoes-travel-overview .neoes-travel-links button{border:1px solid #608fa868;border-radius:6px;padding:0 6px;gap:4px;font-size:10.5px;text-decoration:none;background:#08263a;min-height:32px}
.neoes-travel-overview .neoes-travel-links button::after{display:none}
.neoes-travel-overview .neoes-travel-links .neoes-travel-flag{width:19px;height:14px}
.neoes-travel-overview .neoes-travel-links .neoes-travel-state-icon{width:21px;height:18px}
.neoes-travel-overview .neoes-travel-selected{margin:5px 1px 0;font-size:12px;line-height:1.35}
.neoes-travel-overview .neoes-travel-error{margin:6px 1px 0}

/* Travel and Atlas share one quiet projection control outside the default
   globe disc. It stays in the same usable corner when the globe is zoomed. */
.neoes-travel .neoes-travel-control-strip{position:absolute;z-index:4;left:12px;right:66px;top:8px;display:flex;justify-content:flex-start;min-height:44px;padding:0;pointer-events:none;touch-action:pan-y}
:is(.neoes-travel,.neoes-geography-map) .neoes-travel-map>.neoes-travel-profile-tools{top:12px;right:12px;left:auto}
:is(.neoes-travel,.neoes-geography-map) .neoes-travel-profile-tools button{width:44px;height:44px;min-height:44px;padding:0;border:1px solid #a8cee299;border-radius:50%;background:transparent;box-shadow:none}
:is(.neoes-travel,.neoes-geography-map) .neoes-travel-profile-tools button:active{background:#21658a;box-shadow:0 0 9px #62d3ff80}
.neoes-travel-zoom-hint{position:absolute;z-index:2;left:8px;right:8px;bottom:1px;height:12px;text-align:center;font:10px/12px Arial,sans-serif;color:#b9cfda;text-shadow:0 1px 3px #001421;pointer-events:none}
.neoes-travel .neoes-travel-control-strip .neoes-travel-switch{position:static;display:flex!important;gap:11px;width:auto;max-width:100%;min-width:0;min-height:44px;pointer-events:none}
.neoes-travel .neoes-travel-control-strip .neoes-travel-switch button{position:relative;flex:none;min-width:44px;max-width:none;min-height:44px;padding:0 2px;font-size:12px;line-height:1.1;border:0;border-radius:0;background:none;color:#bed3df;box-shadow:none;pointer-events:auto;text-shadow:0 1px 3px #001421,0 0 5px #001421}
.neoes-travel .neoes-travel-control-strip .neoes-travel-switch button[aria-pressed=true]{background:none;color:#f1f8fc;border:0;box-shadow:none}
.neoes-travel .neoes-travel-control-strip .neoes-travel-switch button[aria-pressed=true]::after{content:'';position:absolute;left:1px;right:1px;bottom:6px;height:2px;border-radius:1px;background:#b8d9eb;box-shadow:0 1px 2px #001421}
.neoes-travel .neoes-travel-control-strip .neoes-travel-phrase{white-space:normal;overflow:visible}

/* One profile-only height budget, shared by both projections and bottom views. */
.profile-overview-travel{display:grid}
.profile-overview-travel>[data-profile-travel-status],.profile-overview-travel>[data-profile-travel-mount]{grid-area:1/1;min-width:0}
.neoes-travel,.profile-overview-travel{--profile-travel-map-height:clamp(180px,calc(100dvh - 310px - env(safe-area-inset-bottom,0px)),480px);--profile-travel-results-height:0px}
.neoes-travel .neoes-travel-canvas,.neoes-travel.neoes-travel-flat .neoes-travel-canvas{height:var(--profile-travel-map-height);min-height:0}
.neoes-travel .neoes-travel-results{position:relative;height:auto;min-height:0;overflow:visible;overscroll-behavior:auto;touch-action:pan-x pan-y;margin-top:2px}
.neoes-travel .neoes-travel-lists.is-measuring{position:absolute;inset:0 0 auto;visibility:hidden;pointer-events:none}
.neoes-travel .neoes-travel-lists{margin:0 1px}
.neoes-travel .neoes-travel-group{padding:1px 0 2px;border:0}
.neoes-travel .neoes-travel-group h4{font:600 16px/20px 'EB Garamond',Georgia,serif;margin:0;color:#bad2e3}
.neoes-travel .neoes-travel-links{grid-template-rows:repeat(var(--travel-rows,1),32px);padding:0}
.neoes-travel .neoes-travel-links:has(>p){grid-template-rows:auto;min-height:22px}
.neoes-travel .neoes-travel-links button{min-height:32px;min-width:44px;font-size:14px}
.neoes-travel .neoes-travel-links,.neoes-travel .neoes-travel-people-rail,.neoes-travel .neoes-travel-unresolved-list{overflow-y:hidden;overscroll-behavior:auto;touch-action:pan-x pan-y}
.neoes-travel .neoes-travel-legend{display:flex;align-items:center;justify-content:center;gap:8px;min-height:22px;height:22px;width:75%;margin:1px auto 0;font-size:11px}
.neoes-travel .neoes-travel-legend:not(.is-everyone) .neoes-travel-scale-zero,.neoes-travel .neoes-travel-legend:not(.is-everyone) .neoes-travel-heat-bar,.neoes-travel .neoes-travel-legend:not(.is-everyone) .neoes-travel-legend-max,.neoes-travel .neoes-travel-legend.is-everyone .neoes-travel-own-legend,.neoes-travel .neoes-travel-legend.is-everyone .neoes-travel-other-legend{display:none}
.neoes-travel-own-legend,.neoes-travel-other-legend{display:inline-flex;align-items:center;gap:4px;white-space:nowrap}
.neoes-travel-own-legend::before,.neoes-travel-other-legend::before{content:'';width:10px;height:8px;border:1px solid #b3cfdb8c;border-radius:2px;background:var(--travel-selection-color,#66c9d2)}
.neoes-travel-other-legend::before{background:#a3c1ca}
.neoes-travel .neoes-travel-action-row{min-height:0;margin:0;padding:0}
.neoes-travel-people-heading{display:flex;align-items:center;gap:6px;min-height:44px;margin:0 1px}
.neoes-travel-place-title{display:flex;align-items:center;gap:5px;min-width:0;flex:1}
.neoes-travel-place-title strong{font:600 15px/1.1 Georgia,serif;overflow-wrap:anywhere}
.neoes-travel-people-count{font-size:11px;white-space:nowrap;color:#bdd4df}
.neoes-travel-people-heading button{width:44px;height:44px;flex:none;border:0;background:none;font-size:23px;color:#c3dce7}
.neoes-travel-people-rail{display:flex;gap:7px;overflow-x:auto;scrollbar-width:none;overscroll-behavior-x:contain;touch-action:pan-x pan-y;padding:0 1px 2px}
.neoes-travel-people-rail::-webkit-scrollbar{display:none}
.neoes-travel .neoes-travel-person{display:flex;flex:none;flex-direction:column;align-items:center;gap:3px;width:calc((100% - 21px)/4.4);min-width:61px;min-height:80px;border:0;border-radius:0;background:none;padding:0 1px;color:#e1eef4}
.neoes-travel-person-photo{position:relative;display:flex;align-items:center;justify-content:center;flex:none;width:48px;height:48px;overflow:hidden;border-radius:5px;background:linear-gradient(145deg,var(--g1,#205570),var(--g2,#163348));font:600 18px Arial,sans-serif}
.neoes-travel-person-photo img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:contain;object-position:center}
.neoes-travel-person-name{font-size:11px;line-height:1.15;white-space:normal;overflow-wrap:anywhere;text-align:center}
.neoes-travel-people-rail>p{margin:12px 0;font-size:12px;color:#bdd3df}

/* Editor-only presentation: the ordinary Travel view keeps its own budget. */
[data-profile-travel-editor-preview]{display:block;flex:none;width:64px;height:64px;overflow:hidden;pointer-events:none;border-radius:50%}
[data-profile-travel-editor-preview].neoes-travel{padding:0;border:0;background:none;box-shadow:none}
[data-profile-travel-editor-preview] .neoes-travel-map{margin:0;border-radius:50%;box-shadow:none;background:none}
[data-profile-travel-editor-preview] .neoes-travel-canvas{height:64px!important;width:64px}
[data-profile-travel-editor-preview] .neoes-travel-head,[data-profile-travel-editor-preview] .neoes-travel-control-strip,[data-profile-travel-editor-preview] .neoes-travel-tools,[data-profile-travel-editor-preview] .neoes-travel-zoom-hint,[data-profile-travel-editor-preview] .neoes-travel-results,[data-profile-travel-editor-preview] .neoes-travel-overview-summary,[data-profile-travel-editor-preview] .neoes-travel-selected,[data-profile-travel-editor-preview] .neoes-travel-lists{display:none!important}
.profile-travel-editor-overlay{position:fixed;inset:0;z-index:9400;display:flex;align-items:center;justify-content:center;padding:calc(env(safe-area-inset-top,0px) + 10px) 10px calc(env(safe-area-inset-bottom,0px) + 10px);background:#00111fc2;overscroll-behavior:contain}
.profile-travel-editor-dialog{display:flex;flex-direction:column;min-width:0;width:min(100%,410px);max-height:100%;border:1px solid #7a9bad;border-radius:15px;background:#09283d;color:#e1edf4;box-shadow:0 12px 40px #00111f80;overflow:hidden}
.profile-travel-editor-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:7px;flex:none;padding:3px 7px;border-bottom:1px solid #7799ac55}
.profile-travel-editor-dialog>header h3{margin:0;font:600 23px/1.2 'EB Garamond',Georgia,serif}
.profile-travel-editor-dialog>header button{min-height:44px;min-width:44px;padding:3px 7px;border:0;background:none;color:#d5e7f2;font:inherit}
.profile-travel-editor-content{min-height:0;overflow:auto;overscroll-behavior:contain;touch-action:pan-y;padding:3px}
.profile-travel-editor-note{flex:none;margin:0;padding:5px 12px 9px;font-size:11px;line-height:1.35;color:#b5ccda}
[data-profile-travel-editor-status]{padding:16px 9px;font-size:13px;color:#c6dce9}
[data-profile-travel-editor-status][hidden]{display:none}
[data-profile-travel-editor-status] button{min-height:44px;min-width:44px;border:0;background:none;color:#d5edf9;text-decoration:underline}
.profile-travel-editor-dialog .neoes-travel{padding:0;border:0;background:none;box-shadow:none;--profile-travel-map-height:clamp(180px,calc(100dvh - 365px),290px)!important}
.profile-travel-editor-dialog .neoes-travel-head,.profile-travel-editor-dialog .neoes-travel-legend{display:none!important}
.profile-travel-editor-dialog .neoes-travel-map{margin:0 2px}
.profile-travel-editor-dialog .neoes-travel-canvas{height:var(--profile-travel-map-height)!important}
.profile-travel-editor-dialog .neoes-travel-search{margin:6px 4px}
.profile-travel-editor-dialog .neoes-travel-search-results{max-height:min(210px,35dvh)}
.profile-travel-editor-dialog .neoes-travel-links button{min-height:44px}
.profile-travel-editor-dialog .neoes-travel-links{grid-template-rows:repeat(var(--travel-rows,1),44px)}
.profile-travel-editor-dialog .neoes-travel-lists{margin:4px}

/* Existing action space explains the active batch without a per-place prompt. */
.neoes-travel-edit-hint{margin:4px 8px 2px;color:#dcecf3;font-size:12px;line-height:1.35}
.neoes-travel-edit-hint[hidden]{display:none}
