/* Shared, lightweight surfaces. Keep compact calendars and event menus compact. */
dialog{--popup-ink:#224b59;--popup-accent:#2289a2;border:1px solid #dce9ec!important;border-radius:22px!important;background:#fff!important;color:var(--popup-ink)!important;box-shadow:0 24px 80px #163f5030,0 3px 12px #163f5010!important;font-family:Pretendard,sans-serif;line-height:1.6;max-height:82dvh!important;max-width:calc(100vw - 28px)!important;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#c6d8dd transparent}
dialog::backdrop{background:#173f5159!important;backdrop-filter:blur(3px)}
dialog[open]{animation:popup-reveal .16s ease-out}
@keyframes popup-reveal{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
dialog:not(.event-sheet):not(.travel-calendar){padding:20px!important;width:min(520px,calc(100vw - 28px));}
dialog h2,dialog h3{font-family:Pretendard,sans-serif!important;color:#204b5b;letter-spacing:-.025em;font-weight:700;line-height:1.45;margin:0 0 14px;font-size:19px}
dialog p{font-size:14px;line-height:1.7;color:#5a727c;margin:10px 0;overflow-wrap:anywhere}
dialog>header{position:sticky;top:-20px;z-index:5;background:#fff;padding:10px 0 12px;margin:-10px 0 12px;border-bottom:1px solid #edf2f4;gap:12px}
dialog>header h2,dialog>header h3{margin:0!important}
dialog button{border:1px solid #dfebee;border-radius:11px!important;background:#f2f7f8;color:#306473;font-family:Pretendard,sans-serif;font-size:14px;font-weight:550;line-height:1.4;padding:9px 13px;min-height:38px;cursor:pointer;transition:background .12s,color .12s}
dialog button:hover{background:#e6f2f4}dialog button:focus-visible,dialog a:focus-visible{outline:2px solid #258ba5;outline-offset:3px}
dialog .unified-close,dialog header>button.unified-close{background:#eff5f6!important;border:1px solid #e1ecef!important;border-radius:50%!important;color:#527681!important;box-shadow:none!important;width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important}
dialog>.unified-close{float:right;position:sticky;top:0;z-index:6;margin:0 0 8px 12px!important}
dialog>h2{padding-top:4px;min-height:34px;display:flex;align-items:center}
dialog input:not([type=checkbox]):not([type=radio]),dialog select,dialog textarea{box-sizing:border-box;max-width:100%;border:1px solid #dce7eb!important;border-radius:11px!important;background:#f7fafb!important;color:#244b5b;font:inherit;font-size:15px;line-height:1.5;padding:10px 12px;box-shadow:none}
dialog input:focus,dialog select:focus,dialog textarea:focus{outline:2px solid #64afc355;outline-offset:1px;border-color:#4497ac!important}
dialog label{font-size:13px;font-weight:600;color:#567580}
dialog .primary,dialog button[type=submit],dialog .dialog-actions button:last-child{background:#2588a3!important;color:#fff!important;border-color:#2588a3!important}
dialog .dialog-actions,dialog .editor-save-row{display:flex;justify-content:flex-end;gap:8px;margin-top:18px;padding-top:14px;border-top:1px solid #edf2f4}
.saved-trip-list{gap:10px}.saved-trip-list article,.personal-content article{padding:12px!important;border:1px solid #e4edef!important;background:#f8fbfc!important;border-radius:14px!important;margin-bottom:8px}.saved-trip-open strong{font-size:15px;line-height:1.5}.saved-trip-actions{border-top:1px solid #e7eff1;padding-top:9px;gap:6px}.saved-trip-actions button{background:#fff;font-size:12px;min-height:34px}.personal-content article p{margin:5px 0 10px;font-size:13px}
.personal-settings-links{gap:6px}.personal-settings-links>a,.personal-settings-links>button{background:#f2f8f9!important;border:1px solid #e5eff1!important;border-radius:12px!important;padding:12px!important;font-size:14px!important}
.place-search-dialog form{gap:8px}.place-search-dialog form>button{white-space:nowrap;background:#2588a3!important;color:#fff!important;padding:0 16px}.place-search-results{gap:0}.search-place-row{border-color:#edf2f4;padding:7px 0}.search-place-row [data-result]{background:transparent!important}.search-place-row strong{font-size:14px}.search-place-row small{font-size:12px;line-height:1.5;margin-top:3px}.search-place-row .place-heart{background:transparent!important;min-height:42px}.search-place-row .place-heart[aria-pressed=true]{color:#e65370!important}
.original-popup>header{top:-20px!important;padding:8px 0!important}.original-popup .course-body{font-size:14px;line-height:1.85;color:#496572;white-space:pre-wrap;overflow-wrap:anywhere}
.photo-credit-dialog{width:min(360px,calc(100vw - 28px))!important}.photo-credit-dialog .credit-content{clear:both;font-size:13px}.photo-credit-dialog a{color:#2588a3}
.travel-calendar{padding:16px!important}.travel-calendar header{margin-bottom:12px}.travel-calendar .calendar-grid button{padding:5px 2px!important;border-radius:10px!important}.travel-calendar .calendar-grid button[aria-pressed=true]{background:#2588a3!important;color:white!important}
@media(max-width:480px){dialog:not(.event-sheet):not(.travel-calendar){padding:17px!important}dialog>header{top:-17px}.original-popup>header{top:-17px!important}dialog h2,dialog h3{font-size:18px}.saved-trip-actions button{padding:7px 9px}}
@media(prefers-reduced-motion:reduce){dialog[open]{animation:none}dialog button{transition:none}}

[id$="map"]:has(>.map-credits)>.ol-viewport{height:calc(100% - 24px)!important}
.map-credits{position:absolute!important;left:0!important;right:0!important;bottom:0!important;top:auto!important;width:100%!important;max-width:100%!important;height:24px!important;box-sizing:border-box!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;background:#f7fafb!important;padding:2px 6px!important;font-size:10px!important;line-height:12px!important;border-radius:0!important;overflow:auto!important}
.digital-time-field{display:flex;align-items:center;gap:5px;min-width:0}.digital-time-field input{min-width:0;width:100%}.digital-time-button{flex:0 0 48px;padding:6px 3px!important;min-width:0!important;font:600 12px Pretendard,sans-serif!important;color:#207b91;background:#eef7fa;border:1px solid #cee1e6;border-radius:8px}
.digital-time-dialog{width:min(320px,90vw)}.digital-time-columns{display:flex;align-items:center;justify-content:center;gap:12px}.digital-time-columns label{display:grid;gap:6px}.digital-time-columns select{font-size:24px;width:90px;padding:10px}.digital-time-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}

#trip-context,#trip-quality{display:none!important}
.personal-menu>summary{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:1px;line-height:1.1!important}.my-face{font-size:17px;line-height:20px}
.digital-time-field input{height:46px!important;box-sizing:border-box!important;line-height:24px!important;padding:10px!important;font-size:16px!important}
.digital-time-button{height:40px;display:grid;place-items:center}.digital-time-button svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.digital-time-dialog{padding:22px!important;overflow:hidden!important}.time-wheel-labels{display:flex;justify-content:space-around;color:#6d8790;margin:10px 0}.time-wheels{position:relative;display:flex;align-items:center;justify-content:center;gap:14px}.time-wheels:before{content:'';position:absolute;top:56px;height:56px;left:0;right:0;background:#edf7fa;border-radius:12px;pointer-events:none}.time-wheel{position:relative;z-index:1;box-sizing:border-box;height:168px;width:96px;overflow-y:auto;scroll-snap-type:y mandatory;padding:56px 0;scrollbar-width:none;overscroll-behavior:contain;touch-action:pan-y}.time-wheel::-webkit-scrollbar{display:none}.time-wheel button{display:block!important;box-sizing:border-box!important;width:100%!important;min-height:56px!important;height:56px!important;padding:0!important;margin:0!important;border:0!important;background:transparent!important;box-shadow:none!important;line-height:56px!important;font:500 30px/56px Pretendard,sans-serif!important;color:#91a3ac!important;scroll-snap-align:center;flex-shrink:0}.time-wheel button[aria-selected="true"]{color:#226e8c!important;font-weight:700!important}.time-colon{z-index:1;font-size:28px;color:#226e8c}
.digital-time-dialog{width:min(340px,calc(100vw - 32px))!important;box-sizing:border-box!important}.time-wheel-labels{justify-content:center!important;gap:42px!important}.time-wheel-labels span{width:96px;text-align:center}

.hotel-route-marker{display:flex;flex-direction:column;align-items:center;overflow:visible!important}.hotel-route-marker>span{display:grid;place-items:center;background:#fff;color:#286f88;border:2px solid #286f88;border-radius:9px;box-shadow:0 2px 8px #17384633;width:32px;height:30px;font-size:20px}.hotel-route-marker>b{white-space:nowrap;background:#fffffff0;color:#275466;border-radius:4px;padding:2px 4px;font-size:11px;line-height:16px}.lodging-hotel [data-hotel-map]{display:inline-block;margin:5px 8px 5px 0;padding:6px 9px;font-size:12px;border-radius:8px;background:#edf7fa;color:#256f88;border:1px solid #c8dfe5}

/* Day selection lives above the map; keep zoom controls unobstructed. */
.map-section .map-label{display:none!important}

/* 0.17.13: shared map controls and compact, stable typography. */
.hotel-switch{display:inline-flex!important;align-items:center;justify-content:center;gap:4px;min-width:52px;min-height:36px;padding:6px 8px!important;border:1px solid #bfd5dd!important;border-radius:20px!important;background:#f4f8fa!important;color:#395b68!important}.hotel-switch svg{width:23px;height:23px;flex:none}.hotel-switch span{font:700 11px/1.2 sans-serif}.hotel-switch[data-hotel-mode="1"]{background:#dff3fa!important;color:#177c9d!important}.hotel-switch[data-hotel-mode="2"]{background:#2585a3!important;color:white!important}.hotel-picker [data-pick]{display:block;width:100%;text-align:left;padding:12px;margin:6px 0;border:1px solid #d9e7ec;border-radius:10px;background:#f4f9fb}.hotel-picker header{display:flex;justify-content:space-between;align-items:center}
#fit{font-family:inherit!important;font-size:14px!important;font-weight:600!important;line-height:1.3!important;color:#176d88!important;background:#e8f4f8!important;border:1px solid #bedde8!important;border-radius:10px!important;padding:9px 12px!important;white-space:nowrap}
.event-category-tabs{display:flex;gap:6px;padding:6px;margin:0 0 10px;background:#edf5f7;border-radius:12px}.event-category-tabs button{flex:1;border:0;border-radius:9px;background:transparent;padding:10px 6px;font-family:inherit;font-size:15px;font-weight:600;line-height:1.3;color:#4c6975}.event-category-tabs button[aria-pressed=true]{background:#2786a4;color:#fff;box-shadow:0 2px 5px #20566b18}
.quick-trip .quick-cancel{width:auto!important;min-width:76px!important;height:36px!important;padding:6px 8px!important;position:static!important;font-size:12px!important;white-space:nowrap}.quick-trip>div{flex-wrap:wrap!important;align-items:center!important}.quick-minimize{position:absolute;right:4px;top:-27px;min-width:30px;height:26px;border:1px solid #d2e3e8;border-radius:8px 8px 0 0;background:#f4f9fb;color:#287d97;padding:2px 8px}.quick-trip.quick-collapsed{min-height:0!important;height:0!important;padding:0!important;border:0!important}.quick-trip.quick-collapsed>div{display:none!important}.quick-trip.quick-collapsed .quick-minimize{top:-30px;border-radius:10px;height:28px}
.video-region{font-weight:850!important;color:inherit}#course-banner .journal-copy{min-width:0!important}#course-banner .journal-slide{min-height:166px!important;height:166px!important}#course-banner .journal-slides{min-height:166px!important;height:166px!important}
#planner-view .date-display,#planner-view #start-time,#planner-view #end-time{font-family:inherit!important;font-size:16px!important;font-weight:500!important;line-height:24px!important;letter-spacing:0!important;color:#244c5c!important;min-height:42px!important;box-sizing:border-box!important}.note-days{flex-wrap:wrap;gap:4px}.note-days button{min-height:32px;padding:5px 8px}#course-list h3{font-weight:500!important}.video-region{font-weight:850!important}
#atlas-view .atlas-main .quick-trip>div{display:grid!important;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) minmax(0,1fr) 36px!important;gap:5px!important;align-items:end!important;padding:0!important}
#atlas-view .atlas-main .quick-trip label:nth-child(1){grid-column:1/3!important;grid-row:1!important}#atlas-view .atlas-main .quick-trip label:nth-child(2){grid-column:3/5!important;grid-row:1!important}#atlas-view .atlas-main .quick-trip label:nth-child(3){grid-column:1!important;grid-row:2!important}#atlas-view .atlas-main .quick-trip .primary{grid-column:2!important;grid-row:2!important;width:100%!important;min-width:0!important;padding:0 3px!important}#atlas-view .atlas-main .quick-trip .quick-cancel{grid-column:3!important;grid-row:2!important;min-width:0!important;width:100%!important;padding:0 2px!important;margin:0!important;border-radius:7px!important}#atlas-view .atlas-main .quick-trip .quick-search{grid-column:4!important;grid-row:2!important;position:static!important;margin:0!important}#atlas-view .atlas-main .quick-trip.quick-collapsed>div{display:none!important}
.atlas-note{overflow-x:hidden!important}.atlas-note li{min-width:0;overflow-wrap:anywhere;word-break:keep-all}.hotel-route-marker svg{width:22px;height:22px}

/* 0.17.14: small two-state controls and unclipped natural title lines. */
.topbar .brand{cursor:default}
.hotel-switch{width:32px!important;min-width:32px!important;height:32px!important;min-height:32px!important;padding:5px!important;border-radius:50%!important;box-sizing:border-box!important;flex:0 0 32px!important}.hotel-switch svg{width:21px!important;height:21px!important}
.atlas-note{background:rgba(248,252,252,.79)!important;backdrop-filter:none!important}.atlas-note-footer{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px}.atlas-note-footer [data-customize]{margin:0!important;text-align:left!important;width:auto!important}.atlas-note-footer .hotel-switch{margin-left:auto!important}.atlas-note.minimized>.atlas-note-footer{display:none!important}
#atlas-view .atlas-main .quick-trip{padding-top:6px!important}.quick-minimize{position:absolute!important;top:3px!important;right:5px!important;width:18px!important;min-width:18px!important;height:18px!important;min-height:18px!important;padding:0!important;line-height:16px!important;border-radius:4px!important;font-size:14px!important}.quick-trip.quick-collapsed{height:26px!important;min-height:26px!important;padding:0!important;background:#f7fbfc!important;border:1px solid #d2e3e8!important}.quick-trip.quick-collapsed .quick-minimize{top:3px!important;right:5px!important;width:auto!important;height:18px!important;padding:0 5px!important;font-size:11px!important}
#events-view .events-heading{display:none!important}#events-view{padding-top:4px!important}.event-category-tabs{padding:3px!important;gap:4px!important;margin:0 0 6px!important;border-radius:9px!important}.event-category-tabs button{padding:7px 6px!important;min-height:32px!important;font-size:14px!important}
#planner-view .date-display,#planner-view #start-time,#planner-view #end-time{font-family:inherit!important;font-size:14px!important;font-weight:400!important;line-height:1.5!important;color:#36545d!important}
#course-banner .journal-slides,#course-banner .journal-slide{height:auto!important;min-height:166px!important;max-height:none!important}#course-banner .journal-slide{padding:14px 12px!important;box-sizing:border-box!important}.journal-slide[hidden]{display:none!important}

#planner-view .date-display,#planner-view #start-time,#planner-view #end-time{font-size:13px!important;font-weight:400!important}
#events-view .event-category-tabs{position:sticky!important;top:var(--top-menu-height,64px)!important;z-index:80;background:#edf5f7!important;box-shadow:0 3px 8px #254d6312}

/* Single title layout: native line clamping, no pixel-height clipping. */
#course-banner .journal-copy h3{display:block;flex:none;box-sizing:content-box;height:auto;min-height:0;max-height:none;overflow:visible;font-size:15px;line-height:1.65;padding:0;margin:6px 0;font-weight:400;letter-spacing:0}
#course-banner .journal-copy h3 .banner-title-text{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;font-size:inherit;line-height:inherit;min-height:3.3em;height:auto;max-height:none;padding:0;overflow:hidden;text-overflow:ellipsis;white-space:normal;word-break:normal;overflow-wrap:anywhere;-webkit-text-size-adjust:100%;text-size-adjust:100%;font-weight:400}

/* Place details: practical facts first, supporting notes secondary. */
#schedule .plan-detail{display:flex;flex-direction:column;gap:8px;padding:12px!important}#schedule .place-essential{position:relative;order:-10;margin:0!important;padding:8px 40px 8px 0!important;border:0!important;background:transparent!important}#schedule .place-essential dl{display:grid!important;gap:12px!important;margin:0!important}#schedule .place-essential dl>div{display:block!important;margin:0!important;padding:0!important;border:0!important}#schedule .place-essential dt{font-size:12px!important;font-weight:600;color:#65818b;margin:0 0 3px!important}#schedule .place-essential dd{font-size:15px!important;line-height:1.55!important;font-weight:500!important;color:#244b5c;margin:0!important;overflow-wrap:anywhere}.essential-address dd{display:flex;align-items:flex-start;gap:5px}.essential-address dd>span{flex:1}.place-save-heart,.address-copy-icon{display:grid;place-items:center;flex:none;width:34px;height:34px;border:0!important;border-radius:50%;padding:7px!important;background:#eef6f8!important;color:#438499}.place-save-heart{position:absolute;right:0;top:5px}.place-save-heart svg,.address-copy-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7}.place-save-heart[aria-pressed=true]{color:#e35472;background:#fff0f3!important}.place-save-heart[aria-pressed=true] svg{fill:currentColor}.booking-unknown{color:#71838a;font-size:13px}
#schedule .address-box,#schedule .place-hours,#schedule [data-bookmark-place]{display:none!important}#schedule .place-secondary{order:10;border-top:1px solid #e6edef;padding-top:7px}#schedule .place-secondary,#schedule .plan-meta,#schedule .transfer-note,#schedule .opening-status,#schedule .review-note,#schedule .description,#schedule .plan-source{font-size:12px!important;line-height:1.55!important;color:#72858b!important;margin:0!important}#schedule .place-secondary p{margin:3px 0!important}#schedule .place-secondary small{font-size:11px!important}#schedule .card-actions{order:5;margin:3px 0!important}
.personal-settings-links .visited-map-setting{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;border:1px solid #e5eff1;border-radius:12px;background:#f2f8f9;color:#306473;font-size:14px;font-weight:500;cursor:pointer}.visited-map-setting input{appearance:none!important;flex:0 0 36px;width:36px!important;height:22px!important;min-height:0!important;padding:0!important;border:0!important;border-radius:12px!important;background:#c3d2d7!important;position:relative;cursor:pointer}.visited-map-setting input:before{content:'';position:absolute;width:16px;height:16px;left:3px;top:3px;background:#fff;border-radius:50%;transition:transform .15s}.visited-map-setting input:checked{background:#2588a3!important}.visited-map-setting input:checked:before{transform:translateX(14px)}

#atlas-view .atlas-main .quick-trip.quick-collapsed{height:0!important;min-height:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;backdrop-filter:none!important;overflow:visible!important;pointer-events:none}.quick-trip.quick-collapsed .quick-minimize{top:auto!important;bottom:0!important;right:0!important;height:26px!important;min-height:26px!important;padding:0 9px!important;border-radius:9px!important;pointer-events:auto;white-space:nowrap}
.stop-inline-actions [data-navigate]{display:inline-grid!important;place-items:center!important;padding:3px!important}.stop-inline-actions [data-navigate] svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linejoin:round}.navigation-picker>button,.navigation-picker>a{display:block;width:100%;box-sizing:border-box;text-align:center;margin:8px 0;padding:11px;border:1px solid #d7e8ec;border-radius:11px;background:#eef7f9;color:#24748a;text-decoration:none;font:500 14px/1.5 Pretendard,sans-serif}.navigation-picker header{display:flex;justify-content:space-between;align-items:center}
.stop-search-bar{display:flex;gap:6px}.stop-search-bar input{flex:1;min-width:0}.stop-search-bar button{flex:none}.stop-search-results{max-height:240px;overflow:auto;overscroll-behavior:contain}.stop-search-row{display:flex;align-items:center;gap:6px;border-bottom:1px solid #e5edef}.stop-search-row>button{flex:1;min-width:0;text-align:left;background:transparent!important;border:0!important;padding:9px 3px!important}.stop-search-row strong,.stop-search-row small{display:block;overflow-wrap:anywhere}.stop-search-row strong{font-size:14px}.stop-search-row small{font-size:12px;color:#70818a}.stop-search-row>button[aria-pressed=true]{background:#e2f2f6!important}.stop-search-row>a{display:grid;place-items:center;flex:0 0 32px;height:32px;border-radius:50%;background:#eef7f9;color:#24748a;text-decoration:none;font-size:19px}

.stop-editor-toolbar{position:sticky;top:-20px;z-index:10;display:flex;align-items:center;justify-content:space-between;gap:8px;background:#fff;padding:10px 0;margin:0 0 10px;border-bottom:1px solid #e4edef}.stop-editor-toolbar h2{margin:0!important;font-size:17px!important}.stop-editor-toolbar>div{display:flex;gap:5px;flex:none}.stop-editor-toolbar button{padding:7px 11px!important;min-height:34px!important}.stop-editor-toolbar button[type=submit]{background:#2588a3!important;color:#fff!important}@media(max-width:480px){.stop-editor-toolbar{top:-17px}}
