:root{--pine:#164a3c;--ink:#18352d;--muted:#6d7771;--cream:#f6f5ee;--gold:#b68740;--line:#e2e7dd}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--cream);font-family:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-size:14px}button,input,select{font:inherit}button{cursor:pointer;color:inherit}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #b68740;outline-offset:3px}header{height:76px;background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 30px;border-bottom:1px solid var(--line);gap:22px}.brand{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:3px;width:205px;flex-shrink:0;border:0;background:none;text-align:left;padding:0}.brand .brand-logo{display:block;width:205px;height:auto}.brand span{font-size:7px;line-height:9px;letter-spacing:1.5px;color:var(--muted);font-weight:600;margin-left:50px}.account,nav{display:flex;align-items:center;gap:14px}.nav{height:76px;background:none;border:0;font-size:13px;font-weight:600;color:var(--muted);padding:0 13px}.nav.active{color:var(--pine);border-bottom:3px solid var(--pine)}.nav span{background:#eaf0e8;padding:2px 6px;border-radius:20px;font-size:10px}.button{border:0;border-radius:7px;padding:12px 17px;font-weight:600;display:inline-flex;justify-content:center;align-items:center;gap:6px;text-decoration:none}.primary{background:var(--pine);color:white}.secondary{background:#edf1e9;color:var(--pine)}.avatar{border:1px solid #d4ddd0;background:#eff3eb;border-radius:50%;height:36px;width:36px;font-size:19px}main{display:flex;height:calc(100dvh - 76px)}aside{width:370px;flex-shrink:0;padding:26px 23px 12px;background:#fff;overflow-y:auto;position:relative;z-index:2}.eyebrow{font-size:9px;letter-spacing:1.8px;font-weight:700;color:var(--muted)}h1{font-family:Georgia,serif;font-weight:400;font-size:36px;line-height:1.13;margin:15px 0 9px;letter-spacing:-1px}h1 em{color:var(--pine);font-style:normal}p{color:var(--muted);line-height:1.6}.intro p{font-size:12px;margin:0 0 22px}.search{display:flex;border:1px solid #dbe1d5;border-radius:8px;padding:10px;background:#f9faf6;align-items:center;gap:8px}.search span{font-size:24px;color:var(--pine);line-height:20px}.search input{width:100%;border:0;background:none;outline-offset:4px;min-width:0;font-size:12px}.search button{border:0;background:none;font-size:20px;color:var(--muted)}.chips{display:flex;gap:6px;flex-wrap:wrap;margin:14px 0}.chip{border:1px solid var(--line);background:white;padding:7px 10px;border-radius:20px;font-size:10px}.chip.selected{background:var(--pine);border-color:var(--pine);color:white}.filters{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:16px 0 20px}.filters label{font-size:9px;font-weight:650;letter-spacing:.5px;color:var(--muted)}.filters select{width:100%;margin-top:6px;border:1px solid var(--line);padding:8px 4px;border-radius:6px;background:white;font-size:10px;color:var(--ink)}.results-head{display:flex;justify-content:space-between;align-items:center;margin:17px 0 13px}.results-head strong{font-size:12px}.results-head span{font-size:9px;color:var(--muted)}.route-card{border:1px solid var(--line);border-radius:10px;margin-bottom:12px;overflow:hidden;background:#fff;position:relative}.card-art{height:91px;position:relative;overflow:hidden;background:#dce6d0}.card-art svg{width:100%;height:100%}.card-art .tag{position:absolute;left:10px;top:9px;background:#fffef2e6;font-size:8px;padding:4px 7px;border-radius:4px}.fav{position:absolute;right:9px;top:9px;background:#fffffff0;border:0;border-radius:50%;height:28px;width:28px;color:var(--pine);font-size:19px}.fav.on{background:var(--pine);color:white}.card-content{display:block;width:100%;border:0;text-align:left;background:white;padding:13px}.card-content .kicker{font-size:8px;letter-spacing:1px;text-transform:uppercase;color:var(--muted)}.card-content h3{font-size:14px;margin:7px 0 4px}.card-content p{font-size:10px;margin:0 0 12px}.metrics{display:flex;gap:16px;font-size:11px;align-items:center}.metrics span:last-child{margin-left:auto;font-size:9px;color:var(--muted)}.card-content:hover{background:#f7f9f2}.sidebar-foot{font-size:9px;color:var(--muted);padding:15px 0;display:flex;gap:8px;align-items:center}.status-dot{width:5px;height:5px;background:#739679;border-radius:50%}.map-wrap{position:relative;flex:1;min-width:0;background:#e6ecd9}#map{position:absolute;inset:0}.map-title{position:absolute;left:28px;top:23px;background:#fffffff0;border:1px solid #ffffff;border-radius:8px;padding:13px 17px;box-shadow:0 3px 18px #48603c15;max-width:calc(100% - 110px)}.map-title strong{display:block;margin-top:6px;font-size:13px;font-weight:500}.map-tools{position:absolute;right:20px;top:23px;display:flex;flex-direction:column;gap:8px}.map-button{border:1px solid #dce3d5;background:#fff;height:39px;width:39px;border-radius:7px;font-size:24px;box-shadow:0 2px 9px #37553715}.layer-panel{position:absolute;right:68px;top:68px;width:238px;background:#fff;padding:18px;border-radius:8px;box-shadow:0 8px 30px #24452f25;z-index:5}.layer-panel strong{display:block;margin-bottom:12px}.layer-panel label{display:flex;gap:8px;margin:12px 0;font-size:12px}.layer-panel small{font-size:10px;line-height:1.6;display:block;color:var(--muted)}.map-legend{position:absolute;bottom:42px;left:24px;background:#fffffff0;padding:10px 15px;border-radius:7px;display:flex;gap:17px;font-size:9px}.map-legend span{display:flex;align-items:center;gap:6px}.dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--pine)}.gold{background:var(--gold)}.line{width:15px;height:3px;background:var(--pine);border-radius:5px}.demo-note{position:absolute;bottom:17px;left:26px;font-size:8px;letter-spacing:1px;color:#425443;background:#eef2e6d9;padding:4px 7px;border-radius:4px}dialog{border:1px solid var(--line);border-radius:14px;background:#fff;color:var(--ink);padding:25px;width:min(570px,calc(100% - 28px));max-height:90dvh;box-shadow:0 25px 90px #102c3430}dialog::backdrop{background:#153b3559;backdrop-filter:blur(2px)}.dialog-top{display:flex;justify-content:space-between;align-items:center}.close{border:0;background:#f3f5ef;border-radius:50%;font-size:22px;width:32px;height:32px}h2{font-family:Georgia,serif;font-weight:400;font-size:31px;line-height:1.2;margin:15px 0 10px}dialog p{font-size:13px}form>label{display:block;font-size:12px;font-weight:600;margin:17px 0}form input:not([type=checkbox]),form select{display:block;width:100%;padding:12px;border:1px solid #d5ded1;border-radius:7px;margin-top:8px;background:#fafbf7}form small{font-size:10px;color:var(--muted);font-weight:400;display:block;margin-top:8px}form .button{width:100%;margin-top:15px}.file-zone{border:1px dashed #a6b69e;padding:18px;border-radius:10px;background:#f4f7ee}.notice{padding:14px;background:#f5f3e6;border:1px solid #e7e1c7;border-radius:7px;font-size:11px;color:#625537;line-height:1.6}.error{color:#a84428;font-size:12px;min-height:10px}.auth-tabs{display:flex;gap:10px;margin:15px 0}.auth-tabs button{background:white;border:0;border-bottom:2px solid var(--line);padding:10px;font-size:12px}.auth-tabs button.selected{border-color:var(--pine);font-weight:700}.detail-metrics{display:grid;grid-template-columns:repeat(3,1fr);margin:20px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:16px 0;gap:12px}.detail-metrics strong{display:block;font-size:22px;font-weight:500}.detail-metrics small{color:var(--muted);font-size:10px}.profile-chart{height:105px;background:#f6f8f0;border-radius:8px;width:100%;margin:10px 0}.detail-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:20px}.about-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:24px 0}.about-grid strong{color:var(--gold);font-family:Georgia,serif;font-size:27px}.about-grid h3{font-size:13px}.about-grid p{font-size:11px}.small{font-size:10px!important}.empty{padding:30px 10px;text-align:center;color:var(--muted);line-height:1.7}.marker{border:2px solid white;border-radius:50%;height:26px;width:26px;color:white;background:var(--pine);font-size:10px;box-shadow:0 2px 10px #34493050;font-weight:700}.marker.place{background:var(--gold)}#toast{position:fixed;bottom:30px;left:50%;transform:translateX(-50%);background:#153e32;color:#fff;border-radius:7px;padding:12px 20px;z-index:50;max-width:90%;font-size:12px;box-shadow:0 10px 35px #153e3240;visibility:hidden}#toast.show{visibility:visible}.mobile-switch{display:none}.maplibregl-ctrl-attrib{font-size:8px}.maplibregl-ctrl-group button{height:33px;width:33px}button[disabled]{opacity:.5;cursor:wait}[hidden]{display:none!important}
@media(min-width:1500px){aside{width:400px;padding:30px}h1{font-size:41px}.card-art{height:105px}}
@media(max-width:850px){header{padding:0 16px;gap:10px;height:65px}.brand{font-size:20px;grid-template-columns:32px 1fr;letter-spacing:2px}.brand span{font-size:6px}.brand svg{width:26px}nav{gap:0}.nav{padding:0 9px;height:65px;font-size:11px}#aboutNav{display:none}.account{gap:8px}.account .button{padding:9px 11px;font-size:11px}main{height:calc(100dvh - 65px)}aside{width:320px;padding:22px 18px}h1{font-size:32px}.map-title{left:16px;top:17px;padding:11px}.map-title strong{font-size:11px}.map-tools{right:14px;top:17px}}
@media(max-width:620px){header{height:61px;padding:0 13px}.brand{font-size:17px;letter-spacing:1.5px;grid-template-rows:23px 11px;grid-template-columns:28px 1fr}.brand svg{width:23px}.brand span{font-size:5px;letter-spacing:1.3px}.account .button{font-size:0;padding:0;width:31px;height:31px}.account .button:after{content:'＋';font-size:22px}.avatar{width:30px;height:30px;font-size:16px}.nav{height:61px;font-size:10px;padding:0 7px}.nav span{display:none}main{height:calc(100dvh - 61px);position:relative}aside{display:none;position:absolute;inset:0 0 0 0;width:100%;z-index:8;padding:22px 20px 75px}.show-list aside{display:block}.map-wrap{width:100%}.map-title{max-width:calc(100% - 90px)}.map-title .eyebrow{font-size:8px}.map-title strong{font-size:10px}.mobile-switch{display:block;position:fixed;bottom:38px;left:50%;transform:translateX(-50%);z-index:10;border:0;padding:12px 23px;border-radius:30px;background:var(--pine);color:white;font-weight:600;box-shadow:0 5px 25px #24452f40}.map-legend{bottom:95px;left:14px;gap:12px}.demo-note{left:13px;bottom:13px;font-size:6px}.layer-panel{right:60px;width:220px}.show-list .intro{display:none}.show-list .search{margin-top:0}.card-art{height:106px}.about-grid{gap:10px}.detail-metrics strong{font-size:19px}dialog{padding:20px}.detail-actions .button{flex:1}h2{font-size:27px}}

.area-search{position:absolute;top:98px;left:50%;transform:translateX(-50%);z-index:3;display:grid;grid-template-columns:auto auto;gap:10px 13px;align-items:center;padding:11px;background:#fffffff0;border:1px solid #dce3d5;border-radius:9px;box-shadow:0 3px 16px #36512e15;max-width:calc(100% - 115px)}.area-search .button{font-size:11px;padding:10px 12px;white-space:nowrap}.area-search label{font-size:10px;display:flex;gap:6px;align-items:center;white-space:nowrap}.area-search small{grid-column:span 2;font-size:9px;color:var(--muted);line-height:1.5}.result-summary{display:flex;justify-content:space-between;align-items:center;font-size:9px;color:var(--muted);margin:-5px 0 8px}.result-summary button,.retry{border:0;background:#edf1e9;padding:6px 8px;border-radius:5px;font-size:9px;color:var(--pine)}.search-status{font-size:10px;line-height:1.5;margin:6px 0 12px;min-height:15px}.search-status.error{color:#944229}.retry{margin:0 0 12px}.load-more{width:100%;margin:6px 0 14px}.layer-panel{z-index:6}
@media(max-width:1050px){.area-search{grid-template-columns:1fr;gap:8px;max-width:calc(100% - 95px)}.area-search small{grid-column:1}.area-search label{justify-content:center}}
@media(max-width:620px){.area-search{top:88px;left:14px;transform:none;max-width:calc(100% - 79px);grid-template-columns:1fr;gap:7px;padding:9px}.area-search .button{font-size:10px;padding:9px 10px}.area-search label{font-size:9px;justify-content:flex-start}.area-search small{font-size:8px}.map-legend{gap:10px}.show-list .area-search{visibility:hidden}}

.map-status{position:absolute;left:24px;top:46%;max-width:min(460px,calc(100% - 96px));padding:14px 17px;border:1px solid #dce3d5;border-radius:9px;background:#fffffff5;box-shadow:0 4px 24px #24452f20;z-index:7;font-size:12px;line-height:1.6;color:var(--ink)}.map-status.error{color:#944229;border-color:#dcc5b4}.map-status .button{display:block;margin-top:10px;padding:9px 12px;font-size:11px}.maplibregl-ctrl-attrib{max-width:calc(100vw - 28px)}
@media(max-width:620px){.map-status{left:14px;max-width:calc(100% - 74px);font-size:11px;top:45%}.maplibregl-ctrl-attrib{font-size:8px;max-width:calc(100vw - 74px)}}

.route-card.selected{border-color:#b68740;box-shadow:0 0 0 1px #b68740}.marker.selected{background:#c06d27}.profile-chart{height:auto;aspect-ratio:600/178;display:block;touch-action:pan-y}.profile-chart text{font-family:system-ui,sans-serif;font-size:11px;fill:#65776b}.profile-grid{stroke:#dbe3d4;stroke-width:1}.profile-run{fill:none;stroke:#4f7454;stroke-width:2.5;stroke-linejoin:round;stroke-linecap:round}.profile-sample{fill:#4f7454}.profile-cursor{stroke:#c06d27;stroke-width:1.5;stroke-dasharray:4 3}.profile-active{fill:#c06d27;stroke:#fff;stroke-width:1.5}.profile-inspector{display:grid;grid-template-columns:1fr auto;gap:8px 12px;align-items:center;margin:12px 0}.profile-inspector label{grid-column:span 2;font-size:11px;font-weight:600}.profile-inspector input{width:100%;grid-column:span 2;accent-color:#b68740;cursor:pointer}.profile-inspector output{font-size:11px;line-height:1.6}.profile-inspector .button{font-size:10px;padding:9px 12px}.profile-location{width:25px;height:25px;border:3px solid #fff;background:#c06d27;color:#fff;border-radius:50%;box-shadow:0 0 0 3px #c06d2760;font-size:17px;line-height:17px}.selected-route{position:absolute;left:24px;bottom:91px;max-width:calc(100% - 95px);background:#fffffff5;border:1px solid #d8d7c1;border-radius:9px;padding:10px 12px;display:flex;align-items:center;gap:12px;z-index:4;box-shadow:0 3px 16px #36512e15}.selected-route div{min-width:0}.selected-route small{display:block;font-size:7px;letter-spacing:1px;color:#8b6333}.selected-route strong{display:block;font-size:11px;margin:3px 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.selected-route span{display:block;font-size:9px;color:var(--muted)}.selected-route .button{font-size:10px;padding:8px 10px;white-space:nowrap}.selected-route .close{width:25px;height:25px;font-size:18px;flex-shrink:0}
@media(max-width:620px){.selected-route{left:14px;bottom:145px;max-width:calc(100% - 74px);gap:8px;padding:9px}.selected-route strong{font-size:10px}.selected-route span{font-size:8px}.selected-route .button{font-size:9px;padding:8px}.profile-inspector{grid-template-columns:1fr}.profile-inspector label,.profile-inspector input{grid-column:1}.profile-inspector .button{justify-self:start}}

@media(max-width:850px){.brand{width:178px}.brand .brand-logo{width:178px}.brand span{margin-left:44px;font-size:6.5px;line-height:8px;letter-spacing:1.2px}}
@media(max-width:620px){.brand{width:124px;gap:2px}.brand .brand-logo{width:124px}.brand span{margin-left:30px;font-size:6px;line-height:7px;letter-spacing:.6px}header{gap:8px}}

.map-title{z-index:8;width:410px;max-width:calc(100% - 104px);padding:12px 14px}.map-title form>label{display:block;font-size:10px;font-weight:650;margin:0 0 6px;color:var(--pine)}.place-search-row{display:flex;align-items:center;gap:7px}.place-search-row input{margin:0!important;padding:9px!important;font-size:11px;min-width:0;flex:1;width:0!important;background:#f8faf4!important}.place-search-row .button{font-size:10px;padding:10px 12px;margin:0;width:auto}.place-search-row .close{width:23px;height:23px;flex-shrink:0;font-size:17px}.map-title #placeHint{font-size:8px;color:var(--muted);line-height:1.5;display:block;margin-top:7px}.place-source{font-size:8px;margin:7px 0 0;line-height:1.6}.place-source a{color:var(--pine)}#placeSearchPanel{border-top:1px solid var(--line);margin-top:9px;padding-top:6px}#placeStatus{font-size:10px;line-height:1.6;margin:0 0 6px;color:var(--muted)}#placeStatus.error{color:#944229}#placeResults{list-style:none;margin:0;padding:0;max-height:210px;overflow-y:auto}#placeResults button{width:100%;border:0;border-top:1px solid var(--line);background:white;text-align:left;padding:10px 5px;font-size:11px;line-height:1.6}#placeResults button:hover{background:#f0f5e9}#placeResults small{display:block;color:var(--muted);font-size:9px}.geocode-location{width:23px;height:23px;border-radius:4px;background:#b68740;color:white;border:2px solid white;box-shadow:0 2px 9px #163c3250;font-size:14px;line-height:16px}.area-search{top:145px;left:28px;transform:none}
@media(max-width:850px){.map-title{left:16px;top:17px;padding:10px;max-width:calc(100% - 86px)}.area-search{left:16px;top:145px}}
@media(max-width:620px){.map-title{left:14px;width:auto;right:65px;max-width:none;padding:9px}.map-title form>label{font-size:9px}.place-search-row{gap:5px}.place-search-row input{font-size:10px;padding:8px!important}.place-search-row .button{font-size:9px;padding:9px 10px}.map-title #placeHint{font-size:7px}.area-search{left:14px;top:137px}.show-list .map-title{visibility:hidden}#placeResults{max-height:170px}}

#placeSearchPanel{position:absolute;left:0;right:0;top:calc(100% + 6px);padding:11px 12px;background:#fff;border:1px solid #dce3d5;border-radius:8px;box-shadow:0 7px 24px #24452f25;margin-top:0}

.map-title #placeHint a{color:var(--pine)}
/* Source declarations remain legible with long GPX titles and links. */
.route-provenance{margin:22px 0;padding:16px;border:1px solid var(--line,#dce4d8);border-radius:12px;background:#f7f7f0;overflow-wrap:anywhere}
.route-provenance dl{display:grid;grid-template-columns:minmax(100px,1fr) minmax(0,2fr);gap:8px 16px;font-size:.86rem}
.route-provenance dt{color:#52685c}.route-provenance dd{margin:0}
@media(max-width:480px){.route-provenance dl{grid-template-columns:1fr;gap:4px}.route-provenance dd{margin-bottom:10px}}
textarea{font:inherit;width:100%;resize:vertical;border:1px solid var(--line);border-radius:8px;padding:11px;background:white;color:var(--ink)}
textarea:focus-visible{outline:3px solid var(--gold);outline-offset:3px}
button:disabled{cursor:default;opacity:.6}
@media(max-width:1050px){#aboutNav{display:none}}
@media(max-width:620px){header{height:99px;flex-wrap:wrap;align-content:center;row-gap:0}header nav{order:3;width:100%;height:32px;justify-content:center;gap:14px}.nav{height:32px;font-size:11px;padding:0 8px}main{height:calc(100dvh - 99px)}}
:root{--rutoria-brand-image:url('/assets/brand/rutoria-identity-approved.png')}
.logo-crop{display:block;flex-shrink:0;background-image:var(--rutoria-brand-image);background-repeat:no-repeat;overflow:hidden}
.identity-full{aspect-ratio:1225 / 337;background-size:125.387755% 303.857567%;background-position:51.768489% 31.586608%}
.identity-compact{aspect-ratio:588 / 145;background-size:261.22449% 706.206897%;background-position:73.628692% 81.001138%}
.identity-icon{aspect-ratio:1;background-size:586.259542% 390.839695%;background-position:21.742543% 86.220472%}
.brand{gap:0}.brand .brand-picture{width:100%;margin:0}.brand>span{display:none}
.brand-showcase{background:#fff;border-radius:14px;margin:4px 0 22px;padding:16px}
.brand-showcase>.identity-full{width:100%}.brand-variants{display:flex;align-items:center;justify-content:center;gap:26px;margin-top:18px}
.brand-variants .identity-icon{width:64px}.brand-variants .identity-compact{width:min(260px,65%)}
@media(max-width:620px){.brand .brand-picture{aspect-ratio:588 / 145;background-size:261.22449% 706.206897%;background-position:73.628692% 81.001138%}.brand>span{display:block;margin-top:2px}.brand-showcase{padding:10px}.brand-variants{gap:18px}.brand-variants .identity-icon{width:48px}}
.layer-panel .basemap-label{display:flex;flex-direction:column;align-items:stretch;gap:6px;padding-bottom:7px}.basemap-label select{width:100%;padding:7px;border:1px solid var(--line);border-radius:6px;background:white}
.google-credit{position:absolute;bottom:0;left:10px;right:10px;z-index:6;padding:9px 10px;background:#fff;color:#222;border-radius:7px 7px 0 0;box-shadow:0 -1px 5px #0002;display:flex;align-items:center;gap:12px;font-family:Arial,sans-serif;flex-wrap:wrap;overflow-wrap:anywhere}
.google-credit[hidden]{display:none}.google-credit>strong{font-size:14px;font-weight:500;white-space:nowrap;flex-shrink:0}.google-credit>span{font-size:11px;line-height:1.5;flex:1;min-width:120px}.google-credit>small{font-size:9px;width:100%}
.google-background .maplibregl-ctrl-bottom-right{bottom:100px}.google-background .map-legend{bottom:120px}.google-background .demo-note{bottom:100px}.google-background .selected-route{bottom:170px}
 #googleCopyright{max-height:48px;overflow-y:auto;scrollbar-width:thin}
@media(max-width:620px){.google-background .mobile-switch{bottom:130px}.google-background .selected-route{bottom:230px}.google-credit{left:4px;right:4px;gap:6px}.google-credit>span{font-size:10px}}

.google-credit .google-maps-logo{height:18px;width:auto;padding:5px 10px;box-sizing:content-box;flex:none}

#googleMap{position:absolute;inset:0}#googleMap[hidden],#map[hidden]{display:none!important}.google-route-marker{position:absolute;transform:translate(-50%,-50%)}.google-js-background .map-legend{bottom:35px}.google-js-background .demo-note{bottom:70px}.google-js-background .selected-route{bottom:130px}.google-js-background .mobile-switch{bottom:110px}

.nav.home-link{display:inline-flex;align-items:center;justify-content:center;text-decoration:none}

.extra-activities{margin:8px 0 16px;font-size:11px;color:var(--pine)}.extra-activities summary{cursor:pointer;font-weight:650;padding:7px 0}.extra-activities .chips{margin-top:8px}

.catalog-origin{padding:13px;margin-bottom:19px;border:1px solid #d9e3d1;border-radius:8px;background:#f1f6e9;font-size:11px;line-height:1.8}.catalog-origin strong,.catalog-origin a{display:block}.catalog-origin a{color:var(--pine);text-underline-offset:3px}.catalog-origin button{border:0;background:none;padding:5px 0 0;color:var(--pine);font-size:10px;text-decoration:underline}.route-location-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.route-location-fields label{font-size:11px;margin-top:10px}.route-location-fields input{width:100%;min-width:0}@media(max-width:420px){.route-location-fields{grid-template-columns:1fr;gap:3px}}

/* Route dossier additions: compact statistics and owner photo gallery. */
#detailDialog{width:min(860px,calc(100% - 28px))}
.route-author{color:var(--muted);font-size:12px}
.route-statistics,.route-photos,.route-arrival{margin-top:26px;border-top:1px solid var(--line);padding-top:16px}
.route-statistics dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:18px 0}
.route-statistics dt{font-size:11px;color:var(--muted)}
.route-statistics dd{margin:5px 0 0;font-size:15px;font-weight:600;overflow-wrap:anywhere}
.photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.photo-grid figure{margin:0;border:1px solid var(--line);border-radius:9px;overflow:hidden}
.photo-grid a{display:block;background:#f3f5ef}
.photo-grid img{display:block;width:100%;height:150px;object-fit:cover}
.photo-grid figcaption{padding:10px;font-size:12px;overflow-wrap:anywhere}
.photo-delete{margin:0 10px 10px;border:0;background:none;color:#954322;font-size:11px;text-decoration:underline}
#photoStatus{min-height:20px}#photoForm{padding:0 16px 16px;background:#f6f8f1;border-radius:8px}
#arrivalForm{display:grid;grid-template-columns:2fr 1fr;gap:12px;align-items:end}
#arrivalForm label{margin:8px 0}#arrivalLink{grid-column:1/-1;text-align:center;text-decoration:none}
#arrivalError{grid-column:1/-1;margin:0}
@media(max-width:620px){.photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.photo-grid img{height:125px}#arrivalForm{grid-template-columns:1fr}.route-statistics dl{gap:14px}}
