:root{--bg:#f7f5ef;--paper:#fffefa;--ink:#25322c;--muted:#5d6861;--line:#dedfd5;--red:#375e4d;--green:#375e4d;--red-light:#e4eadf;--soft:#edf0e8;--serif:var(--sans);--sans:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei","Segoe UI",sans-serif;--glass:rgba(255,254,250,.88);--shadow:0 9px 32px #343c3210;--rail:96px}
body.pocket-site{background:var(--bg);font:15px/1.65 var(--sans)}h1,h2,h3,h4{color:var(--ink)}.skip-link{position:fixed;top:8px;left:12px;z-index:1000;background:white;padding:8px;transform:translateY(-180%)}.skip-link:focus{transform:none}
.pocket-site .site-header{position:fixed;inset:0 auto 0 0;width:var(--rail);background:rgba(255,254,250,.82);backdrop-filter:blur(20px);border:0;border-right:1px solid #fff;z-index:20}.pocket-site .nav-shell{padding:25px 10px;display:flex;flex-direction:column;gap:64px;align-items:stretch}.pocket-site .brand{font:700 25px/1.15 var(--sans);letter-spacing:0;text-align:center}.pocket-site .brand span{font-size:9px;letter-spacing:.5px;margin-top:5px}.pocket-site .nav-shell nav{display:grid;gap:10px}.pocket-site .nav-link{display:flex;justify-content:center;gap:7px;align-items:center;border-radius:14px;min-height:48px;font-size:14px}.pocket-site .nav-link.active{background:#e4eadf;color:#375e4d;font-weight:700}.pocket-site .nav-link.active:after{display:none}.nav-link svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}.pocket-site #saved-count{display:none}
.pocket-site #app,.pocket-site .site-footer{margin-left:var(--rail);max-width:none}.pocket-site #app{padding:0 22px 36px;min-height:calc(100vh - 72px)}.pocket-site .site-footer{display:flex;justify-content:space-between;gap:12px;padding:12px 24px;border-color:var(--line);background:transparent}.site-footer button{border:0;background:none;color:var(--green)}
.site-hero{min-height:228px;position:relative;margin:0 -22px 18px;padding:25px 22px 18px;isolation:isolate;display:grid;grid-template-columns:minmax(0,1fr) minmax(250px,32%);gap:18px;align-items:center}.site-hero:before,.page-hero:before{content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(0deg,var(--bg),transparent 62%),linear-gradient(90deg,var(--bg) 34%,#f7f5ef75 58%,transparent 90%),var(--scenery);background-size:cover;background-position:center,center,center 54%;pointer-events:none}.site-hero h1,.page-hero h1{font:700 clamp(28px,3.1vw,46px)/1.25 var(--sans);margin:6px 0 9px;letter-spacing:-.035em}.site-kicker{font-size:12px;font-weight:650;color:var(--green);letter-spacing:.07em}.site-hero p,.page-hero p{margin:0;color:var(--muted)}.hero-request{display:flex;gap:8px;align-items:center;margin:16px 0 8px;padding:7px;background:var(--glass);border:1px solid white;box-shadow:var(--shadow);border-radius:18px;backdrop-filter:blur(18px)}.hero-request textarea{min-height:45px;height:45px;flex:1;resize:vertical;border:0;background:transparent;padding:9px 10px}.hero-request button{flex-shrink:0}.hero-options{width:fit-content;padding:3px 9px;background:#fffefaeb;border-radius:10px}.hero-options summary{cursor:pointer;font-size:13px;color:var(--green)}.hero-options .discovery-policy{margin:8px 0;display:grid;gap:8px;grid-template-columns:1fr 1fr}.hero-options label{font-size:12px;color:var(--muted)}.hero-options p{grid-column:1/-1;font-size:12px}.hero-weather .weather-strip{display:flex;flex-direction:column;border:1px solid white;border-radius:22px;margin:0;background:#fffefaeb;box-shadow:var(--shadow);backdrop-filter:blur(24px);min-height:0}.hero-weather .weather-current{padding:10px 15px}.hero-weather .weather-hours{margin:0 12px;padding:8px 0;border:0;border-top:1px solid var(--line)}.hero-weather .weather-advice{margin:0;padding:3px 14px 8px;border:0}.hero-weather .weather-advice p{font-size:11px}
.pocket-site .workbench{grid-template-columns:minmax(220px,256px) minmax(320px,1fr) minmax(370px,1.12fr);gap:15px}.condition-panel,.results-panel,.route-panel,.glass,.live-all-sources{background:var(--glass);border:1px solid #fff;border-radius:24px;box-shadow:var(--shadow);min-width:0}.condition-panel{padding:16px}.results-panel{padding:15px}.route-panel{overflow:hidden}.route-panel-top{padding:16px}.condition-panel .panel-title h2,.results-head h2,.route-panel h2{font:700 19px/1.35 var(--sans)}.panel-title span{display:none}.field-label,.place-sub,.panel-note,.place-bottom,.live-source-meta{font-size:12px}.results-head{flex-wrap:wrap}.result-tools{flex-wrap:wrap}.place-card{border-radius:19px;border-color:#e8e8df;background:var(--paper);box-shadow:0 3px 12px #25322c08}.place-heading h3{font:700 21px/1.3 var(--sans)}.place-cover,.live-place-cover,.place-carousel .carousel-viewport{height:auto;aspect-ratio:2.02;min-height:140px}.place-carousel .carousel-slide img{cursor:zoom-in}.place-copy,.live-claims p{font-size:14px}.clue-groups{display:grid;grid-template-columns:1fr;gap:8px}.clue-module,.evidence-module,.merchant-info,.enrich-box,.place-meta{border-radius:12px}.clue-module{padding:10px 12px}.clue-module h4{font-size:14px;margin:0 0 4px}.clue-item p{overflow-wrap:anywhere}.empty-block,.route-empty,.live-progress{border-radius:18px}.empty-block{background:#f6f7f1;padding:22px;border-color:#e4e7dd}.tag,.saved-status,.cover-label,.carousel-source-badge,.carousel-count{border-radius:8px}.route-switch{flex-wrap:wrap}.route-switch button,.segments button,.origin-tabs button,.route-add,.travel-alternatives button,.drawer-mode-tabs button,.origin-entry button,.chip,.quiet,.secondary,.primary,.secondary-link,select,input[type=text],input[type=search],input[type=email],input[type=password],input[type=time],input[type=date],input[type=number],textarea{border-radius:12px}.chip.active,.origin-tabs button.active,.route-add.selected,.route-switch .active,.travel-alternatives .active{background:#e4eadf;border-color:#adbdad;color:#375e4d}.pocket-site .primary{min-height:44px;background:#375e4d;border-color:#375e4d}.pocket-site .primary:hover{background:#2d5040;filter:none}.pocket-site .secondary,.pocket-site .secondary-link{background:#fffefa;min-height:40px}.pocket-site :focus-visible{outline:2px solid #375e4d;outline-offset:3px}.danger{background:#ab3e34;color:white;border:0;border-radius:12px;padding:10px 14px}.warning{color:#8a5a20}.timeline .stop-head>strong{display:flex;align-items:center;gap:8px;min-width:0}.route-thumb{display:inline-grid;place-items:center;width:42px;height:42px;border-radius:10px;object-fit:cover;background:#e4eadf;color:#375e4d;flex:none}.timeline .stop-head{flex-wrap:wrap;row-gap:5px}.stop-tools button{min-width:32px;min-height:34px}.route-panel .interactive-map,.route-panel .real-map{border-radius:16px;margin:0 8px}.route-body{padding:12px 15px}.route-stats{font-variant-numeric:tabular-nums}.route-stats b{font-family:var(--sans)}.mobile-sticky{border-radius:18px 18px 0 0}
#modal,#route-drawer,#picture-viewer,#origin-dialog{border:1px solid white;border-radius:24px;background:#fffefa;box-shadow:0 16px 64px #25322c33;color:var(--ink)}dialog::backdrop{background:#26322945;backdrop-filter:blur(3px)}#modal.detail-drawer{margin:0 0 0 auto;height:100dvh;max-height:100dvh;width:min(660px,100vw);max-width:100vw}#route-drawer{width:min(710px,100vw);max-width:100vw}.modal-head,.drawer-head{border-bottom-color:var(--line)}.modal-head button,.drawer-head button,.icon-close{border:1px solid var(--line);border-radius:50%;width:40px;height:40px;background:#fffefa;flex:none}.modal-content{overflow-wrap:anywhere}.dialog-image{display:block;max-width:100%;border-radius:15px}
.page-hero{position:relative;isolation:isolate;min-height:162px;margin:0 -22px 18px;padding:27px 22px 20px;display:flex;align-items:flex-end;justify-content:space-between;gap:14px}.page-hero .page-actions{display:flex;gap:8px;flex-wrap:wrap}.page-hero h1{font-size:clamp(30px,3.2vw,45px)}.section-note{background:#eef1e9;border:1px solid #e4e8dd;border-radius:14px;padding:11px 15px;margin:0 0 16px;color:#4b5b50}.community-filters{padding:14px 16px;margin-bottom:17px;display:grid;gap:12px}.search-line{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.filters-line,.page-actions,.tag-row,.form-actions,.photo-controls{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.filters-line select{width:auto;min-width:115px}.post-grid,.account-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.post-card{overflow:hidden;display:flex;flex-direction:column;text-align:left;padding:0;cursor:pointer;background:var(--glass);border:1px solid #fff;border-radius:20px;box-shadow:var(--shadow);color:inherit}.post-card img{display:block;width:100%;aspect-ratio:3/2;object-fit:cover}.post-card .post-text-cover{display:grid;min-height:130px;place-items:center;background:#e9ede3;color:var(--green);font-size:29px}.post-card-body{padding:12px 14px}.post-card h2,.record-row h2{font-size:18px;line-height:1.35;margin:0 0 5px;overflow-wrap:anywhere}.post-meta{color:var(--muted);font-size:13px}.post-card p{margin:4px 0 0;overflow-wrap:anywhere}.label-chip{display:inline-flex;align-items:center;gap:4px;background:#e4eadf;border-radius:8px;color:#375e4d;font-size:12px;padding:3px 8px}.post-card .tag-row{margin-top:8px}.record-list{display:grid;gap:12px}.record-row{display:grid;grid-template-columns:clamp(100px,20vw,250px) minmax(0,1fr) auto;gap:16px;padding:14px;align-items:center}.record-row img,.record-placeholder{display:block;width:100%;height:120px;object-fit:cover;border-radius:14px}.record-placeholder{display:grid;place-items:center;background:#e9ede3;color:var(--green);font-size:24px}.record-row p{margin:5px 0;overflow-wrap:anywhere}.record-row .page-actions{justify-content:flex-end}.account-card{padding:20px}.account-card h2{font-size:20px;margin:0 0 6px}.account-card p{margin:0 0 12px}.account-identity{padding:20px;margin-bottom:16px;display:flex;gap:16px;align-items:center}.account-identity h2,.account-identity p{margin:0}.avatar{width:58px;height:58px;background:#e4eadf;border-radius:50%;display:grid;place-items:center;color:var(--green);font-weight:700;flex:none}.editor-grid,.post-detail-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:16px}.editor-grid>section,.post-detail-grid>section{padding:20px;min-width:0}.editor-grid h2{margin:0 0 12px;font-size:18px}.editor-grid label{display:block;margin:12px 0 4px;font-weight:600}.editor-grid textarea{min-height:155px}.editor-grid input,.editor-grid select{min-height:44px}.photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:10px 0}.photo-tile{min-width:0;border:1px solid var(--line);border-radius:13px;overflow:hidden;background:#f4f5ef}.photo-tile img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover}.photo-controls{padding:5px;gap:4px;justify-content:center}.photo-controls button,.place-pill{border:1px solid var(--line);background:#fffefa;border-radius:8px;min-height:32px;padding:3px 6px}.photo-add{border:1px dashed #a6b3a5;min-height:94px;border-radius:13px;background:#f5f7f1;color:var(--green);width:100%}.form-actions{justify-content:flex-end;padding:12px 0}.form-note{color:var(--muted);font-size:13px;margin:8px 0}.form-error{color:#a5382e;min-height:20px}.post-detail-grid h2{margin:0 0 8px;font-size:clamp(22px,3vw,34px);line-height:1.25;overflow-wrap:anywhere}.post-copy{white-space:pre-wrap;overflow-wrap:anywhere}.post-photo-button{border:0;background:none;padding:0;width:100%;cursor:zoom-in}.post-photo-button img{width:100%;max-height:520px;display:block;object-fit:contain;border-radius:15px;background:#e9ede3}.post-filmstrip{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}.post-filmstrip button{padding:0;border:2px solid transparent;border-radius:8px;background:none}.post-filmstrip button.active{border-color:#375e4d}.post-filmstrip img{width:68px;height:48px;object-fit:cover;display:block;border-radius:6px}#picture-viewer{width:min(1080px,94vw);padding:14px}#picture-viewer header,#origin-dialog header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.viewer-stage{overflow:auto;max-height:66vh;text-align:center;background:#f0f0e9;border-radius:14px}.viewer-stage img{display:block;margin:auto;max-width:100%;max-height:66vh;object-fit:contain}.viewer-stage.zoom img{max-width:none;max-height:none;width:145%}.viewer-controls{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin-top:8px}#origin-dialog{width:min(610px,94vw);padding:20px}#origin-dialog h2{margin:0}.origin-dialog-tabs{display:flex;gap:8px;margin:10px 0}.origin-choice{width:100%;display:block;text-align:left;margin-top:7px}.origin-choice small{display:block;color:var(--muted)}
@media(max-width:1250px){.pocket-site .workbench{grid-template-columns:220px minmax(270px,1fr) minmax(315px,1.08fr);gap:12px}}
@media(max-width:1080px){.pocket-site .workbench{grid-template-columns:minmax(220px,.75fr) minmax(300px,1.25fr)}.pocket-site .route-panel{grid-column:1/-1}.post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.record-row{grid-template-columns:140px minmax(0,1fr)}.record-row .page-actions{grid-column:2;justify-content:flex-start}}
@media(max-width:760px){:root{--rail:0px}.pocket-site .site-header{inset:auto 0 0;width:auto;border-top:1px solid #fff}.pocket-site .nav-shell{padding:5px 6px}.pocket-site .brand{display:none}.pocket-site .nav-shell nav{grid-template-columns:repeat(4,1fr);gap:4px}.pocket-site .nav-link{font-size:12px;min-height:46px;gap:4px}.pocket-site #app{padding:0 12px 30px}.pocket-site .site-footer{padding:10px 12px 66px;font-size:12px}.site-hero,.page-hero{margin-left:-12px;margin-right:-12px;padding:18px 12px 14px;display:block;min-height:0}.site-hero:before,.page-hero:before{background-position:center,center,67% center}.hero-weather{margin-top:12px}.hero-weather .weather-advice{padding:0 12px 6px}.hero-request{flex-wrap:wrap}.hero-request textarea{min-width:100%}.hero-request .primary{margin-left:auto}.hero-options{max-width:100%}.hero-options .discovery-policy{grid-template-columns:1fr}.page-hero .page-actions{margin-top:10px}.pocket-site .workbench,.editor-grid,.post-detail-grid,.account-grid{grid-template-columns:minmax(0,1fr)}.pocket-site .mobile-sticky{bottom:55px}.pocket-site .route-panel{grid-column:auto}.post-grid{gap:8px}.post-card h2{font-size:15px}.post-card-body{padding:9px}.post-meta{font-size:12px}.record-row{grid-template-columns:82px minmax(0,1fr);gap:8px}.record-row img,.record-placeholder{height:80px}.record-row .page-actions{grid-column:1/-1}.editor-grid>section,.post-detail-grid>section{padding:14px}#route-drawer{max-height:100dvh}.pocket-site #toast{bottom:112px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}

:root { --scenery: url("assets/autumn-lake.webp"); }
.site-hero::before,
.page-hero::before {
  inset: 0 0 auto auto;
  width: min(68%, 810px);
  aspect-ratio: 3 / 1;
  background: var(--scenery) no-repeat right top / contain;
  mask-image: linear-gradient(90deg, transparent, #000 37%),
    linear-gradient(0deg, transparent, #000 23%);
  mask-composite: intersect;
}
.site-hero, .page-hero { overflow: clip; }
@media (min-width: 761px) {
  .site-hero { grid-template-columns: minmax(0, 1fr) minmax(240px, 355px); }
  .site-hero::before {
    width: min(72%, 900px);
    mask-image: linear-gradient(90deg, transparent, #000 34%),
      linear-gradient(0deg, transparent, #000 23%);
  }
  .hero-request { max-width: 900px; }
}
.hero-weather .weather-strip {
  color: #1e3026;
  background: rgba(255, 254, 249, .9);
  border: 1px solid rgba(255, 255, 255, .82);
  box-shadow: 0 9px 25px rgba(24, 39, 32, .13), inset 0 1px 0 rgba(255,255,255,.48);
}
@supports (backdrop-filter: blur(14px)) {
  .hero-weather .weather-strip {
    background: linear-gradient(145deg, rgba(255, 254, 249, .59), rgba(255, 254, 249, .45));
    backdrop-filter: blur(14px) saturate(1.05);
  }
}
.hero-weather .weather-strip :is(.hour, .hour b, .hour.return, .label, .muted, .quiet, .weather-advice p) { color: #1e3026; }
.hero-weather .weather-glyph { color: #865200; }
.hero-weather .weather-hours { border-color: rgba(53, 73, 60, .28); }
.hero-weather .weather-advice .quiet { text-decoration: underline; text-underline-offset: 3px; margin-right: 5px; }
.hero-weather .weather-advice p { font-size: 12px; }
@media (max-width: 760px) {
  .site-hero::before,
  .page-hero::before {
    width: 100%;
    mask-image: linear-gradient(90deg, transparent, #000 85%),
      linear-gradient(0deg, transparent, #000 70%);
  }
}
@media (prefers-reduced-transparency: reduce) {
  .hero-weather .weather-strip { background: #fffefa; backdrop-filter: none; }
}

/* C2 dialogs and route drawers */
#origin-dialog {
 width:min(930px,94vw); max-width:none; max-height:92dvh;
 padding:24px 32px 22px; background:rgba(250,248,243,.97);
}
#origin-dialog.metro-dialog {width:min(830px,94vw)}
#origin-dialog h2,.overlay-head h2 {font-size:clamp(22px,2.2vw,31px);margin:0;line-height:1.25}
.origin-dialog-tabs {
 display:inline-flex; gap:3px; padding:3px; margin:8px 0 16px;
 border:1px solid var(--line); border-radius:14px; background:#fffefa80;
}
.origin-dialog-tabs button {border:0;min-height:42px;padding:0 17px;border-radius:11px;background:none;font-weight:650}
.origin-dialog-tabs .active {background:#e4eadf;color:#26563f}
.metro-dialog .origin-dialog-tabs .active {background:var(--green);color:white}
.origin-search-bar {display:grid;grid-template-columns:minmax(85px,114px) minmax(0,1fr) auto;gap:10px;margin-bottom:17px}
.origin-search-bar :is(input,select,button) {min-height:44px}
.origin-query-field input {width:100%;border:1px solid var(--line);background:#fffefa;padding:8px 14px}
.origin-direction {display:grid;grid-template-columns:auto minmax(0,1fr);gap:14px;align-items:center;margin-bottom:14px}
.origin-panes {display:grid;grid-template-columns:minmax(0,1.04fr) minmax(0,1fr);gap:16px;min-height:290px}
.origin-candidates,.metro-schematic,.origin-map {min-width:0;border:1px solid var(--line);border-radius:17px;background:#fffefa90;overflow:hidden}
.origin-candidates {padding:9px}
.origin-candidates h3,.metro-schematic h3 {margin:1px 0 6px;padding:5px 8px;font-size:16px}
.origin-candidates h3 small,.metro-schematic h3 small {font-weight:400;color:var(--muted)}
.origin-list-scroll,.metro-scroll {max-height:min(305px,38dvh);overflow:auto;overscroll-behavior:contain}
.origin-choice {
 display:grid;grid-template-columns:24px minmax(0,1fr) 24px;gap:12px;align-items:center;
 padding:11px 13px;min-height:65px;margin:4px 0 9px;border:1px solid var(--line);
 background:#fffefa;border-radius:12px;
}
.origin-choice strong {overflow-wrap:anywhere}
.origin-choice.selected {background:#e9eee3;border-color:#4f7e62}
.choice-icon {font-size:22px;color:var(--green)}
.choice-check {display:grid;place-items:center;width:20px;height:20px;border:1px solid #919c90;border-radius:50%;font-size:13px}
.origin-choice.selected .choice-check {background:var(--green);color:white;border-color:var(--green)}
.origin-choice.metro-choice {grid-template-columns:20px auto minmax(0,1fr);min-height:42px;border:0;margin:0 0 3px;padding:8px}
.metro-badge {font-size:12px;padding:2px 6px;border-radius:5px;background:#dcebe7;color:#255a50}
.metro-schematic {padding:10px}
.metro-scroll {padding:5px 10px}
.metro-node {position:relative;display:flex;align-items:center;gap:12px;min-height:35px;border:0;background:none;padding:0 8px;text-align:left;width:100%}
.metro-node i {width:14px;height:14px;border:2px solid #4a8e79;border-radius:50%;background:#fffefa;flex:none;position:relative;z-index:1}
.metro-node:not(:last-child)::after {content:"";position:absolute;left:14px;top:50%;width:2px;height:100%;background:#74a899}
.metro-node.selected span {font-weight:700;background:#e4eadf;padding:2px 8px;border-radius:8px}
.metro-node.selected i {background:#375e4d;box-shadow:0 0 0 3px #dbe8dc}
.origin-map {position:relative;display:grid;background:#e9eee4}
.origin-map iframe {width:100%;height:100%;min-height:285px;border:0}
.origin-map>img {width:100%;height:100%;position:absolute;inset:0;object-fit:cover}
.origin-map-caption {position:absolute;top:calc(50% - 40px);left:50%;transform:translateX(-50%);max-width:80%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#fff;background:var(--green);border:1px solid white;border-radius:16px;padding:3px 9px;font-size:12px}
.origin-map [hidden] {display:none}
.origin-map-live {position:absolute;inset:0;visibility:hidden}
.origin-map-live.ready {visibility:visible}
.origin-map-fallback,.origin-empty,.source-photo-empty {display:grid;place-content:center;text-align:center;padding:18px;color:var(--muted)}
.origin-selected {display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding:10px 14px;margin:16px 0 0;border-radius:12px;background:#e8ece1}
.origin-selected span {color:var(--muted);font-size:13px}
.origin-actions,.overlay-footer,.detail-footer,.overview-footer {display:flex;gap:12px;align-items:center;justify-content:space-between;border-top:1px solid var(--line);margin-top:16px;padding-top:13px}
.origin-actions>div,.overview-footer>div {display:flex;gap:8px;flex-wrap:wrap}
.origin-actions button {min-width:94px}
#sources-dialog {
 width:min(1160px,94vw);max-width:none;max-height:91dvh;padding:24px;
 color:var(--ink);border:1px solid white;border-radius:24px;background:#f9f7f1;
 box-shadow:0 16px 64px #25322c33;
}
.overlay-head {display:flex;align-items:center;justify-content:space-between;gap:12px}
.sources-tabs {display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:10px 0 14px}
.sources-tabs button {min-height:36px}
.sources-grid {display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:14px}
.sources-photo,.sources-text {min-width:0;padding:14px;background:#fffefa80;border:1px solid var(--line);border-radius:20px}
.sources-text h3 {margin:0;font-size:23px}
.source-feature,.viewer-picture {position:relative}
.source-feature img {width:100%;height:clamp(180px,39vh,405px);object-fit:cover}
.viewer-arrow {position:absolute;z-index:1;top:50%;transform:translateY(-50%);border:1px solid #fff;border-radius:50%;width:40px;height:40px;background:#fffefae8;box-shadow:0 2px 12px #25322c22;font-size:23px;line-height:1}
.viewer-arrow.previous {left:9px}
.viewer-arrow.next {right:9px}
.source-reading {max-height:35vh;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere}
.source-reading blockquote {margin:0;padding:10px 0;border-top:1px solid var(--line)}
.source-reading blockquote p,.source-context p {margin:4px 0 0}
.source-context {display:flex;gap:10px;align-items:baseline;justify-content:space-between;background:#e8ede3;padding:11px;border-radius:12px;margin-top:8px;overflow-wrap:anywhere}
.source-context>a {flex:none;font-size:13px}
#picture-viewer {padding:22px;background:#f9f7f1}
#picture-viewer header strong {flex:1;font-size:20px}
.viewer-footer {display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.detail-footer {position:sticky;bottom:0;z-index:2;background:#f9f7f1;padding:12px;margin-bottom:-2px}
#modal.detail-drawer .modal-content {background:#f9f7f1}
#modal.detail-drawer .carousel-viewport {max-height:232px}
#route-drawer.route-overview {width:min(900px,100vw)}
#route-drawer .drawer-head,#route-drawer .drawer-scroll {background:#f9f7f1}
#origin-dialog::backdrop,#sources-dialog::backdrop,#picture-viewer::backdrop,#route-drawer::backdrop,#modal::backdrop {background:#302c263e;backdrop-filter:blur(1px)}
#route-drawer .drawer-head .eyebrow {display:none}
#route-drawer .drawer-head h2 {font-size:25px;font-weight:700;margin:0}
#route-drawer .drawer-map {height:clamp(190px,28vh,278px)}
#route-drawer .drawer-scroll {min-height:calc(100dvh - 78px)}
#drawer-map-host {overflow:hidden;border-radius:16px}
#drawer-map-host>img {display:block;width:100%;height:100%;object-fit:cover}
.overview-summary,.overview-stop,.overview-leg,.overview-origin,.overview-footer {display:flex;align-items:center;gap:9px}
.overview-summary {justify-content:space-between;padding:12px 0;flex-wrap:wrap}
.overview-timeline {border:1px solid var(--line);border-radius:17px;padding:7px 13px;background:#fffefa80}
.overview-origin {margin:7px 0}
.overview-stop {border-top:1px solid var(--line);padding:10px 0}
.overview-stop>div {flex:1;min-width:0}
.overview-stop small,.overview-leg small {display:block;font-size:12px;color:var(--muted)}
.overview-stop label {white-space:nowrap;font-size:12px}
.overview-stop .route-thumb {width:56px;height:43px}
.overview-stop .drag-handle {touch-action:none}
.scope-switch {display:flex;gap:6px}
.scope-switch button {flex:1;min-height:36px!important;padding:6px 8px!important;font-size:12px;white-space:nowrap}
#modal.confirm-dialog {width:min(460px,92vw)}
.confirm-dialog .modal-content {text-align:center}
.confirm-dialog .page-actions {justify-content:center}
.confirm-dialog button[data-action="confirm-delete"] {background:#ad3630;border-color:#ad3630;color:white}
#modal.lead-dialog {width:min(760px,94vw)}
.lead-fields {display:grid;grid-template-columns:minmax(100px,.27fr) minmax(0,1fr);gap:12px 16px;align-items:start}
.lead-fields label {padding-top:9px;font-weight:650}
.lead-fields textarea {min-height:110px}
.lead-fields p,.lead-fields .form-actions {grid-column:1/-1}
.progress-stages {list-style:none;padding:0;margin:0}
.progress-stages li {display:flex;gap:10px;align-items:baseline;margin:7px 0;color:var(--muted)}
.progress-stages li.current {color:var(--green)}
.progress-stages li p {margin:0}
.overview-leg {width:100%;text-align:left;justify-content:space-between;border:0;border-top:1px solid var(--line);background:none;padding:9px 4px 9px 40px;font-size:13px}
.overview-leg strong {color:var(--green);white-space:nowrap}
.overview-footer {position:sticky;bottom:0;background:#f9f7f1;padding:12px 0;z-index:2}
#route-drawer .drawer-mode-tabs {background:#fffefa;padding:4px;border:1px solid var(--line);border-radius:14px}
#route-drawer .drawer-mode-tabs button.active {background:var(--green);color:#fff}
#route-drawer .drawer-mode-tabs button.active small {color:#fff}
#route-drawer .drawer-instructions {list-style:none;counter-reset:travel;padding:0}
#route-drawer .drawer-instructions li {counter-increment:travel;display:flex;align-items:baseline;gap:10px;border-bottom:1px solid var(--line);padding:10px 0}
#route-drawer .drawer-instructions li::before {content:counter(travel);width:24px;height:24px;line-height:24px;text-align:center;border-radius:50%;background:var(--green);color:#fff;flex:none}
@media(max-width:700px){
 .lead-fields {grid-template-columns:1fr;gap:4px}
 #origin-dialog,#sources-dialog,#picture-viewer {padding:15px}
 .origin-panes,.sources-grid {grid-template-columns:1fr;min-height:0;gap:9px}
 .origin-list-scroll,.metro-scroll {max-height:23dvh}
 .origin-map iframe {min-height:165px}
 .origin-actions,.overlay-footer,.overview-footer,.source-context {flex-wrap:wrap}
 .origin-search-bar {grid-template-columns:70px minmax(0,1fr) auto;gap:5px}
 .overview-stop {flex-wrap:wrap}
 .overview-stop>div {min-width:100px}
}

.ui-icon {display:inline-block;width:1.15em;height:1.15em;vertical-align:-.2em;flex:none}
.recommendation-card {overflow:hidden}
.recommendation-card .place-body {padding:12px 14px 0}
.recommendation-card .place-copy {margin:0 0 12px;color:var(--muted);line-height:1.65}
.recommendation-card .card-media,.sample-card-cover,.card-cover-empty {position:relative}
.sample-card-cover,.card-cover-empty {min-height:136px;aspect-ratio:2.02;background:#e8ede2}
.sample-card-cover img {display:block;width:100%;height:100%;position:absolute;inset:0;object-fit:cover}
.card-cover-caption {position:absolute;inset:auto 0 0;z-index:2;padding:28px 14px 13px;color:#fff;background:linear-gradient(transparent,#14231bdf);pointer-events:none}
.card-cover-caption h3 {font:700 clamp(19px,1.6vw,26px)/1.2 var(--sans);margin:0 0 4px;overflow-wrap:anywhere;color:inherit}
.card-cover-caption p {font-size:12px;line-height:1.4;margin:0;color:#fff}
.card-cover-empty .card-cover-caption {color:var(--ink);background:none}
.card-cover-empty .card-cover-caption p {color:var(--muted)}
.recommendation-card .card-add {position:absolute;top:10px;right:10px;z-index:3;min-height:34px;border:1px solid #fff;border-radius:999px;background:#fffefaf5;padding:5px 11px;font-size:12px;font-weight:700;color:#23352b;white-space:nowrap}
.recommendation-card .card-add.selected {color:#245e43;background:#eff4e9}
.recommendation-card .carousel-source-badge {right:auto;left:10px;top:10px;font-size:10px}
.recommendation-card .carousel-count {right:10px;top:auto;bottom:12px;z-index:3;font-size:10px;pointer-events:none}
.recommendation-card .carousel-image-note,.recommendation-card .carousel-original {display:none}
.recommendation-card .carousel-arrow,#modal.detail-drawer .carousel-arrow {top:50%;bottom:auto;width:34px;height:34px;transform:translateY(-50%);z-index:3}
.recommendation-card .carousel-arrow span,#modal.detail-drawer .carousel-arrow span {opacity:.94}
.recommendation-card .card-media:has(.carousel-dots) .card-cover-caption {padding-bottom:29px}
.recommendation-card .carousel-dots {position:absolute;z-index:3;bottom:5px;left:50%;width:max-content;max-width:70%;transform:translateX(-50%);background:none;padding:5px 4px;gap:5px}
.recommendation-card .carousel-dots button {background:#fff9}
.recommendation-card .carousel-dots button.active {background:#fff}
.recommendation-card .carousel-dots button:before {inset:-5px -3px}
.clue-preview {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:9px 0 10px;border-top:1px solid var(--line)}
.clue-preview>div {padding:0 9px;min-width:0}
.clue-preview>div:first-child {padding-left:0}
.clue-preview>div+div {border-left:1px solid var(--line)}
.clue-preview b {display:block;font-size:13px;line-height:1.4}
.clue-preview-text {display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere;color:var(--muted);font-size:12px;line-height:1.5;margin-top:3px}
.card-tools {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid var(--line);margin:0 -2px}
.card-tools.sample-card-tools {grid-template-columns:repeat(2,minmax(0,1fr))}
.card-tools.pocket-card-tools {grid-template-columns:1fr}
.card-tools button {border:0;border-radius:0;padding:7px 4px;min-height:41px;background:none;color:var(--green);font-size:12px;font-weight:650;line-height:1.35}
.card-tools button+button {border-left:1px solid var(--line)}
.card-tools button:hover:not(:disabled) {background:#eaf0e5}
.card-tools button:disabled {color:var(--muted);opacity:.65}
.card-enrich-notice {font-size:12px;color:var(--green);margin:0;padding:8px 0}

.compact-route {padding:8px 0 0}
.compact-route :is(.interactive-map,.static-route-map) {overflow:hidden;border:1px solid #e5e8de}
.compact-route .interactive-map-slot,.compact-route .static-map-content img {height:clamp(215px,23vw,348px);min-height:0}
.compact-route .static-map-content img {object-fit:contain;background:#edf0e7}
.static-map-content img[hidden] {display:none}
.static-map-content {position:relative}
.static-map-loading {position:absolute;top:10px;left:10px;margin:0;padding:4px 8px;border-radius:8px;background:var(--paper);font-size:12px;color:var(--muted);pointer-events:none}
.static-map-unavailable {margin:0;padding:22px 12px;text-align:center;color:var(--muted)}
.route-map-legend {display:flex;flex-wrap:wrap;gap:5px 8px;padding:8px 10px;background:#f2f3eb;font-size:11px}
.route-map-legend span {display:flex;align-items:center;gap:4px}
.route-map-legend b {display:grid;place-items:center;border-radius:50%;width:19px;height:19px;background:#2e674e;color:white}
.compact-route-head {display:flex;justify-content:space-between;align-items:flex-start;gap:8px 12px;flex-wrap:wrap;margin-bottom:13px}
.compact-route-head h2 {margin:2px 0}
.route-segment-control {display:grid;gap:4px;min-width:0;max-width:100%;margin-left:auto}
.route-segment-control select {width:100%;min-width:0;max-width:100%;min-height:32px;padding:4px 9px;border:1px solid var(--line);background:#fffefa;color:var(--ink);font-size:12px;text-overflow:ellipsis}
.route-mode-switch {display:flex;gap:2px;padding:3px;border:1px solid var(--line);border-radius:12px;background:#f7f6f0}
.route-mode-switch button {display:flex;align-items:center;justify-content:center;flex:1;gap:4px;border:0;border-radius:9px;min-height:32px;padding:4px 7px;background:transparent;color:var(--ink);white-space:nowrap;font-size:12px}
.route-mode-switch button.active {background:#e2ece1;color:#245b40;font-weight:700}
.route-mode-switch button:disabled {opacity:.42}
.compact-stats {grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;padding:0;border:0}
.compact-stats>div {min-width:0;padding:8px 9px;border:1px solid var(--line);border-radius:12px;background:#fffefa}
.compact-stats b {display:block;line-height:1.2;font-size:clamp(16px,2vw,25px);white-space:nowrap}
.compact-stats b small {display:inline}
.compact-stats>div>small {margin-top:4px;font-size:11px;line-height:1.35}
.compact-stats .accent {color:var(--green)}
.compact-route .route-status {border-radius:9px;margin:8px 0 12px}
.compact-timeline {margin:12px 0}
.compact-timeline li {grid-template-columns:25px 23px minmax(0,1fr);gap:7px;align-items:center;padding:6px 0}
.compact-timeline li:before {left:35px;top:50%;bottom:-50%;background:#cfdbcf;pointer-events:none}
.compact-timeline .compact-stop {grid-template-columns:25px 23px 44px minmax(0,1fr) auto 26px;column-gap:7px}
.compact-timeline .step-dot {position:relative;z-index:1;grid-column:2;margin:0;background:#2d6a4b;color:white}
.compact-endpoint strong {overflow-wrap:anywhere}
.compact-endpoint small {grid-column:3;margin-top:-6px;color:var(--muted)}
.compact-timeline .compact-leg {display:block;padding:3px 0 3px 55px}
.route-leg-line {display:flex;justify-content:space-between;gap:4px;align-items:center;border-top:1px solid #e8e9e0}
.route-leg-summary {border:0;border-radius:8px;background:none;color:var(--muted);min-height:32px;padding:3px 7px;text-align:left;font-size:12px}
.route-leg-summary.active {background:#e8efe4;color:#265f43;font-weight:650}
.route-leg-details {min-height:32px;white-space:nowrap;font-size:11px}
.compact-drag,.compact-remove {display:grid;place-items:center;border:0;border-radius:8px;background:none;color:var(--muted);min-height:34px;padding:0;font-size:15px}
.compact-drag {touch-action:none;cursor:grab}
.compact-remove:hover,.compact-drag:hover {background:#e9ede3;color:var(--ink)}
.compact-stop-name {min-width:0;overflow-wrap:anywhere;line-height:1.35}
.compact-stop-name small {display:block;color:var(--muted);font-size:11px;margin-top:2px}
.compact-stay {display:flex;gap:3px;align-items:center;white-space:nowrap;padding:2px 5px;border:1px solid var(--line);border-radius:999px;font-size:11px}
.compact-stay .stop-input {width:36px!important;border:0;background:transparent!important;font-weight:700}
.compact-route-footer {display:flex;justify-content:space-between;align-items:center;gap:10px;border-top:1px solid var(--line);padding-top:10px}
.compact-route-footer .primary {min-width:115px}
.route-saved:disabled {opacity:1;color:var(--green);cursor:default}
.route-save-notice {flex-basis:100%;font-size:12px;color:var(--muted)}
.route-save-notice:empty {display:none}

.live-place-detail .place-sub {font-size:13px}
#modal.detail-drawer .modal-head h2 {font-weight:700}
#modal.detail-drawer .place-carousel {border-radius:16px;overflow:hidden}
#modal.detail-drawer .place-carousel .carousel-viewport {width:100%;height:clamp(165px,29vw,232px);aspect-ratio:auto}
.live-place-detail .evidence-facts {border:0;background:none;padding:0;gap:8px}
.live-place-detail .evidence-facts>div {border:1px solid var(--line);border-radius:13px;padding:8px;background:#fffefa;overflow-wrap:anywhere}
.live-place-detail .evidence-facts .ui-icon {font-size:17px;color:var(--green)}
.live-place-detail .clue-groups {gap:0;border:1px solid var(--line);border-radius:16px;background:#fffefa80;margin-top:10px}
.live-place-detail .clue-groups .clue-module {margin:0;background:none;border-radius:0}
.live-place-detail .clue-module+.clue-module {border-top:1px solid var(--line)}
.live-place-detail .clue-module h4 {font-size:16px}
.live-place-detail .claim-evidence summary {border:1px solid var(--line);border-radius:9px;padding:4px 8px;background:#f6f4ed}
.detail-actions {margin-top:13px}
.detail-footer .primary {min-width:100px}
.source-picker .label-chip {font-size:13px;background:#e3ebdf;color:#284d3a}
.source-picker>span:not(.label-chip) {font-size:13px;color:var(--muted)}
.source-photo-count {position:absolute;bottom:8px;right:8px;border-radius:8px;padding:3px 7px;background:#1f3124b5;color:white;font-size:12px;pointer-events:none}
.source-feature .post-photo-button {display:block;overflow:hidden;border-radius:12px}
.sources-photo .post-filmstrip button {width:clamp(48px,5vw,80px);height:clamp(42px,4.5vw,70px)}
.sources-photo .post-filmstrip img {width:100%;height:100%}
.sources-text .source-reading {padding:0 4px}
.viewer-footer .post-filmstrip {flex:1 1 270px}
.viewer-footer .viewer-controls {align-items:center;margin-left:auto;flex-wrap:nowrap}
.viewer-controls button {width:40px;padding:0;border-radius:50%;font-size:18px}
.viewer-controls>span {min-width:4ch;text-align:center;font-variant-numeric:tabular-nums}
.required-mark {color:#a33f34}
.lead-text-field {position:relative}
.lead-text-field textarea {display:block;width:100%;padding-bottom:25px}
.lead-text-field output {position:absolute;right:10px;bottom:6px;color:var(--muted);font-size:11px;pointer-events:none}
.lead-fields .form-actions .primary {flex:2}
#route-drawer .drawer-back {width:auto;height:auto;padding:0 0 5px;min-height:30px;border:0;background:transparent;border-radius:0;white-space:nowrap;font-size:14px;color:var(--green)}
#route-drawer .drawer-back[hidden],#drawer-map-host[hidden],#drawer-map-status[hidden] {display:none}
#route-drawer .drawer-mode-tabs button {flex:1;min-height:40px}
#route-drawer .drawer-trip-total {border-radius:13px;background:#f0eee6;padding:10px 14px;font-weight:700}
#route-drawer .drawer-instructions {margin:15px 6px}
.drawer-leg-footer>div {width:100%}
.drawer-leg-footer :is(button,a) {flex:1;text-align:center}
.drawer-leg-footer .native-navigation {margin:0;display:grid;place-items:center;border:1px solid var(--line)}
#route-drawer .drawer-map-empty {display:grid;place-items:center;text-align:center}
#drawer-map-host .static-map-content {height:100%;display:flex;flex-direction:column}
#drawer-map-host .static-map-content img {flex:1;min-height:0;object-fit:contain;width:100%}

@media(max-width:700px){
 .recommendation-card .place-body {padding-inline:10px}
 .clue-preview>div {padding-inline:5px}
 .clue-preview b {font-size:12px}
 .clue-preview-text {font-size:11px}
 .compact-timeline .compact-stop {grid-template-columns:22px 22px 38px minmax(0,1fr) auto 23px;column-gap:5px}
 .compact-timeline li:before {left:32px}
 .compact-timeline .compact-leg {padding-left:48px}
 .compact-stop .route-thumb {width:38px;height:38px}
 .compact-stats>div {padding:7px}
 .route-segment-control {width:100%;margin:0}
 .overview-stop {display:grid;grid-template-columns:22px 20px 36px minmax(0,1fr) auto 24px;gap:5px}
 .overview-stop>div {min-width:0;overflow-wrap:anywhere}
 .overview-stop .route-thumb {width:36px;height:34px}
 .overview-stop .compact-stay {font-size:10px}
 .overview-stop .compact-stay .stop-input {width:30px!important}
}

.pocket-site .mobile-route-nav,.mobile-sheet-grip {display:none}

@media(max-width:760px){
 :root {--phone-tabs:calc(59px + env(safe-area-inset-bottom))}
 .pocket-site .site-header {z-index:24;padding-bottom:env(safe-area-inset-bottom);border-top:1px solid var(--line);background:#fffefaf4}
 .pocket-site .nav-shell {padding:4px max(10px,env(safe-area-inset-right)) 5px max(10px,env(safe-area-inset-left))}
 .pocket-site .nav-shell nav {grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
 .pocket-site .nav-link {flex-direction:column;gap:3px;min-height:48px;margin:0;padding:4px;font-size:11px}
 .pocket-site .nav-link.active svg {stroke-width:2}
 .pocket-site .mobile-route-nav {display:flex}
 .pocket-site .nav-link:is([data-page="community"],[data-page="account"]) {display:none}
 .pocket-site #app {padding:0 max(12px,env(safe-area-inset-right)) 15px max(12px,env(safe-area-inset-left));min-height:calc(100dvh - var(--phone-tabs) - 36px)}
 .pocket-site .site-footer {padding-bottom:calc(var(--phone-tabs) + 8px);font-size:11px}
 .pocket-site #toast {bottom:calc(var(--phone-tabs) + 10px);z-index:25;min-width:0;width:max-content}
 .pocket-site:has(dialog[open]) {overflow:hidden}

 .mobile-hero {
  position:relative;isolation:isolate;
  margin-inline:calc(-1 * max(12px,env(safe-area-inset-left))) calc(-1 * max(12px,env(safe-area-inset-right)));
  padding:calc(20px + env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) 0 max(16px,env(safe-area-inset-left));
 }
 .mobile-hero-scenery,.mobile-hero::before {position:absolute;inset:0;pointer-events:none}
 .mobile-hero-scenery {width:100%;height:100%;object-fit:cover;object-position:67% 10%}
 .mobile-hero::before {content:"";z-index:1;background:linear-gradient(180deg,transparent 28%,var(--bg) 97%),linear-gradient(90deg,var(--bg) 5%,#f5f3ecb0 43%,transparent 93%)}
 .mobile-hero>:not(.mobile-hero-scenery) {position:relative;z-index:2}
 .pocket-site .mobile-hero .brand {display:inline-flex;gap:9px;align-items:center}
 .pocket-site .mobile-hero .brand span {padding:0;margin:2px 0 0;text-align:left;font-size:8px;line-height:1.1;letter-spacing:.15em}
 .mobile-hero h1 {margin:24px 0 7px;font:850 clamp(25px,7.7vw,38px)/1.25 var(--sans);letter-spacing:-.05em}
 .mobile-hero>p {margin:0;color:#455d50;font-size:13px}
 .mobile-hero .hero-weather {margin-top:17px}
 .mobile-hero .weather-strip {display:grid;grid-template-columns:minmax(95px,.8fr) minmax(0,1.45fr);border-radius:17px;align-items:center}
 .mobile-hero .weather-current {padding:7px 8px;gap:6px;min-width:0}
 .mobile-hero .weather-glyph {font-size:25px}
 .mobile-hero .weather-current b {font-size:18px;line-height:1.15}
 .mobile-hero .weather-current b span {display:inline-block}
 .mobile-hero .weather-current .label {font-size:10px;line-height:1.35;overflow-wrap:anywhere}
 .mobile-hero .weather-hours {margin:0;padding:5px 5px 5px 0;border:0;grid-template-columns:repeat(3,minmax(0,1fr))}
 .mobile-hero .hour {border-left:1px solid #75847135;font-size:10px;padding:2px}
 .mobile-hero .hour b {font-size:14px;margin:3px 0 0}
 .mobile-hero .hour span {font-size:9px}
 .mobile-hero .weather-advice {grid-column:1/-1;display:flex;flex-direction:row;justify-content:space-between;align-items:center;gap:6px;padding:0 9px;border-top:1px solid #75847135}
 .mobile-hero .weather-advice :is(p,button) {font-size:10px}
 .mobile-hero .weather-advice button {margin:0;white-space:nowrap;min-height:28px;padding:2px 0}
 .mobile-hero .weather-advice span {display:none}
 .mobile-discover-content {display:grid;gap:12px;margin-top:14px}
 .mobile-quick,.mobile-planning {border:1px solid var(--line);border-radius:18px;background:var(--paper);padding:11px}
 .mobile-quick>label {display:block;margin:0 0 5px 2px;font-size:13px;font-weight:700}
 .mobile-quick .hero-request {display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;margin:0;padding:0;border:0;box-shadow:none;background:none;backdrop-filter:none;align-items:end}
 .mobile-quick textarea {min-height:47px;width:100%;height:47px;background:#f7f7f1;border:1px solid var(--line);border-radius:10px;padding:5px 8px;font-size:13px;line-height:1.4}
 .mobile-quick .primary {min-height:47px;padding:6px 9px;font-size:13px;white-space:nowrap}
 .mobile-planning {padding:13px}
 .mobile-planning h2 {font-size:19px;margin:0}
 .mobile-form-grid {display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.5fr);gap:8px;margin:10px 0;align-items:start}
 .mobile-form-grid.mobile-form-three {grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
 .mobile-form-grid.mobile-form-extra {grid-template-columns:repeat(2,minmax(0,1fr))}
 .mobile-field {display:grid;grid-template-columns:minmax(0,1fr);gap:4px;min-width:0}
 .mobile-field>span:first-child,.mobile-planning .field-label {font-size:12px;font-weight:700;line-height:1.4}
 .mobile-field :is(select,button.secondary,.mobile-native-control) {
  box-sizing:border-box;display:block;width:100%;min-width:0;max-width:100%;
  height:44px;min-height:44px;max-height:44px;margin:0;padding:0 8px;
  border:1px solid var(--line);border-radius:9px;background:#fafaf5;color:var(--ink);
  font-size:13px;font-weight:400;line-height:1.25;text-align:left
 }
 .mobile-field select {text-overflow:ellipsis}
 .mobile-field button.secondary,.mobile-field span.mobile-native-control {display:flex;align-items:center;gap:5px;overflow:hidden}
 .mobile-field button.secondary {justify-content:space-between}
 .mobile-origin-name,.mobile-native-control>span {min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .mobile-native-control {position:relative}
 .mobile-native-control:focus-within {outline:2px solid var(--green);outline-offset:2px}
 .mobile-native-control input {
  position:absolute;inset:0;box-sizing:border-box;width:100%;min-width:0;max-width:100%;
  height:100%;margin:0;padding:0;border:0;opacity:0;font-size:16px;cursor:pointer
 }
 .mobile-native-control input::-webkit-calendar-picker-indicator {position:absolute;inset:0;width:100%;height:100%;margin:0;padding:0}
 .mobile-planning .field {margin:0}
 .mobile-planning .scope-switch {display:flex;gap:6px}
 .mobile-planning .scope-switch button,.mobile-planning .chip {min-height:34px;padding:4px 9px;font-size:12px;border-radius:999px}
 .mobile-planning .scope-switch .primary {background:#e4ecdf;color:#274d39;border-color:#c6d5c3}
 .mobile-planning .segments {gap:5px}
 .mobile-planning .mobile-interests-label {justify-content:flex-start;gap:8px}
 .mobile-season-interests {margin-top:9px}
 .mobile-season-interests .field-label {color:var(--green)}
 .mobile-planning .mobile-interest-options {padding-bottom:6px;border-bottom:1px solid var(--line)}
 .mobile-planning details {margin:7px 0;color:var(--muted);font-size:12px}
 .mobile-planning summary {cursor:pointer;padding:6px 0}
 .mobile-planning .hero-options {width:auto}
 .mobile-planning>.primary {font-size:13px}

 .mobile-page {padding-top:calc(16px + env(safe-area-inset-top))}
 .mobile-heading {display:flex;justify-content:space-between;align-items:center;gap:6px;margin:0 2px 10px}
 .mobile-heading h1,.mobile-heading h2 {margin:0}
 .mobile-heading h1 {font:750 24px/1.3 var(--sans)}
 .mobile-heading span {font-size:12px;color:var(--muted)}
 .mobile-route-page .route-panel,.mobile-route-page .results-panel {display:block;width:100%;position:static;margin-bottom:12px;border-radius:18px}
 .mobile-route-card {padding:0}
 .pocket-site .mobile-route-card .real-map {margin:0;border:0;border-radius:17px 17px 0 0}
 .mobile-route-card .interactive-map-slot,.mobile-route-card .static-map-content img {height:155px}
 .mobile-route-card .map-caption {padding:3px 8px}
 .mobile-route-card .route-map-legend {padding:4px 8px;font-size:10px}
 .mobile-route-card .route-map-legend b {width:16px;height:16px}
 .mobile-route-card .route-body {padding:10px}
 .mobile-route-card .mobile-heading {margin-bottom:6px}
 .mobile-route-card .mobile-heading h2 {font-size:16px}
 .mobile-route-card .compact-stats {margin:6px 0}
 .mobile-route-card .compact-stats>div {background:#f2f5ed;border:0;border-radius:8px;padding:6px 7px}
 .mobile-route-card .compact-stats>div>small {font-size:10px;margin-top:2px}
 .mobile-route-card .route-status {margin:6px 0;font-size:11px;padding:5px 7px}
 .mobile-stops {list-style:none;margin:0;padding:0}
 .mobile-stops li {display:grid;grid-template-columns:20px minmax(0,1fr) auto;align-items:center;gap:5px;min-height:35px;border-bottom:1px solid #edf0e7;font-size:12px}
 .mobile-stops strong {overflow-wrap:anywhere}
 .mobile-stops .step-dot {display:grid;place-items:center;margin:0;width:18px;height:18px;background:#2d6a4b;color:white;font-size:10px}
 .mobile-stops :is(small,button) {font-size:11px;color:var(--green)}
 .mobile-stops button {padding:3px 1px;min-height:34px;text-align:right}
 .mobile-route-card .compact-route-footer {border-top:0;padding-top:8px}
 .mobile-route-card .compact-route-footer button {font-size:13px}
 .mobile-route-page .results-panel {padding:0;background:transparent;border:0;box-shadow:none}
 .mobile-route-page .results-head {padding:0 2px}
 .mobile-route-page .results-head h2 {font-size:19px}
 .mobile-route-page .recommendation-card .place-body {padding-inline:10px}
 .mobile-route-page .clue-preview>div {padding-inline:5px}
 .mobile-route-page .clue-preview b {font-size:12px}
 .mobile-pocket .record-row {display:block;padding:0;background:var(--paper);border-radius:18px;overflow:hidden}
 .mobile-pocket .record-row :is(img,.record-placeholder) {width:100%;height:clamp(108px,36vw,185px);border-radius:0}
 .mobile-pocket .record-copy {padding:10px 12px 4px}
 .mobile-pocket .record-row .page-actions {padding:4px 12px 12px;justify-content:space-between}
 .mobile-pocket .empty-block {background:var(--paper)}

 #origin-dialog,#origin-dialog.metro-dialog,#sources-dialog,#picture-viewer,#route-drawer,#route-drawer.route-overview,#modal,#modal.detail-drawer,#modal.confirm-dialog,#modal.lead-dialog {
  position:fixed;inset:auto 0 0;margin:0;width:100%;max-width:none;height:66.667dvh;max-height:100dvh;
  border-radius:19px 19px 0 0;overscroll-behavior:contain;
 }
 :is(#origin-dialog,#sources-dialog,#picture-viewer,#route-drawer,#modal).mobile-sheet-full {
  height:100dvh;border-radius:0;padding-top:env(safe-area-inset-top);
 }
 :is(#origin-dialog,#sources-dialog,#picture-viewer) {padding:0 max(12px,env(safe-area-inset-right)) max(14px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left))}
 #modal .modal-content {padding:12px 14px max(16px,env(safe-area-inset-bottom))}
 .mobile-sheet-grip {
  display:grid;place-items:center;position:sticky;top:0;z-index:4;
  width:100%;height:27px;flex:none;padding:0;border:0;border-radius:0;
  background:var(--paper);touch-action:none;cursor:ns-resize;
 }
 .mobile-sheet-grip::before {content:"";width:35px;height:4px;border-radius:20px;background:#aebaaa}
 #route-drawer .drawer-head,#modal .modal-head {padding:2px 12px 9px;align-items:center}
 #modal.detail-drawer .modal-head {padding:9px 14px 10px}
 #modal.detail-drawer .modal-head button {width:44px;height:44px;box-sizing:border-box}
 #route-drawer .drawer-head h2,#modal .modal-head h2 {font-size:19px;overflow-wrap:anywhere}
 #route-drawer .drawer-scroll {min-height:0;flex:1 1 auto;padding:9px 11px max(12px,env(safe-area-inset-bottom))}
 #route-drawer .drawer-map {height:156px}
 #route-drawer .drawer-map-empty {height:100%;padding:12px}
 #route-drawer #drawer-map-status {margin:4px 0}
 .mobile-route-details {margin-top:8px;border-radius:16px;background:var(--paper);padding:9px}
 .mobile-route-details .compact-route-head {margin:0;gap:5px}
 .mobile-route-details .compact-route-head h3 {font-size:16px;margin:0}
 .mobile-route-details .route-segment-control {width:100%}
 .mobile-route-details .compact-timeline {margin:4px 0}
 .mobile-route-details .compact-timeline li {gap:4px;font-size:12px}
 .mobile-route-details .compact-timeline li::before {left:33px}
 .mobile-route-details .compact-timeline .compact-stop {grid-template-columns:20px 20px 37px minmax(0,1fr) auto 30px;align-items:center;column-gap:4px}
 .mobile-route-details .compact-stop .route-thumb {width:37px;height:36px}
 .mobile-route-details .compact-timeline .compact-leg {padding-left:47px}
 .mobile-route-details .compact-timeline .step-dot {width:20px;height:20px;font-size:11px}
 .mobile-route-details .compact-stay {padding:0}
 .mobile-route-details .compact-stay select {width:auto;border:0;border-radius:999px;background:#f6f6f0;padding:5px 2px 5px 5px;font-size:11px;min-height:32px}
 .mobile-route-details .overview-footer {margin-top:8px;font-size:12px;flex-wrap:wrap}
 .origin-panes,.sources-grid {grid-template-columns:minmax(0,1fr);min-height:0}
 .origin-search-bar {grid-template-columns:minmax(58px,70px) minmax(0,1fr) auto}
 .origin-actions,.overlay-footer {flex-wrap:wrap}
 #origin-dialog .origin-query-field input {padding-inline:7px}
 #origin-dialog .origin-search-bar .primary {padding-inline:8px}
 #origin-dialog .origin-map iframe {min-height:155px}
 #picture-viewer .viewer-stage,#picture-viewer .viewer-stage img {max-height:42dvh}
 #picture-viewer.mobile-sheet-full .viewer-stage,#picture-viewer.mobile-sheet-full .viewer-stage img {max-height:72dvh}
}
