.workspace{grid-template-columns:minmax(0,640px);justify-content:center;max-width:740px}.app-shell{max-width:640px}.pilot-screen{padding:30px}.p-heading{margin-bottom:26px}.p-heading h1{font-size:38px;line-height:1.12;letter-spacing:-1.2px;margin:10px 0 14px}.p-heading>p{max-width:390px;font-size:16px}.p-form{padding:22px;border:1px solid var(--line);background:#fff;border-radius:20px}.p-place{display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--line);padding-bottom:16px}.p-place>span{font-size:26px;color:var(--plum)}.p-place>div{flex:1}.p-place strong{font-size:16px}.p-place small{display:block;color:var(--muted);font-size:12px;margin-top:4px}.p-place button{font-size:12px;max-width:120px}.p-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:18px}.p-fields label{font-size:12px;font-weight:750;min-width:0}.p-fields select{font-size:14px;text-overflow:ellipsis}.p-options summary{font-size:12px}.p-options p{font-size:12px}.p-options .check{margin:16px 0 8px}.p-form .primary{display:flex;justify-content:space-between;align-items:center;gap:14px}.p-form .primary span{font-size:21px}.p-intro{padding:26px 4px}.p-intro p{font-size:14px;margin:9px 0 15px}.p-intro-tags{display:flex;gap:16px;flex-wrap:wrap;font-size:13px;color:var(--plum)}.p-result-head{display:flex;align-items:flex-end;justify-content:space-between;gap:15px;margin-top:30px}.p-result-head h2{font-size:25px;margin:5px 0 0}.p-sort{font-size:11px;max-width:180px;color:var(--muted)}.p-sort select{font-size:12px;min-height:42px;padding:8px}.p-results-note{font-size:12px;margin:15px 0;color:var(--muted)}.p-card{background:white;border:1px solid var(--line);padding:20px;border-radius:18px;margin:14px 0}.p-card-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.p-pill{font-size:12px;background:#f0e6ed;color:var(--plum);padding:6px 11px;border-radius:30px;font-weight:800}.p-heart{font-size:25px;border:none;background:transparent;min-height:44px;padding:4px 9px;color:var(--plum)}.p-card h3{font-size:21px;line-height:1.2;overflow-wrap:anywhere;margin-bottom:8px}.p-pair-line{display:flex;gap:12px;align-items:center;margin:17px 0 14px}.p-charge-icon{color:var(--plum);font-size:25px;width:35px;height:42px;background:var(--soft);border-radius:9px;display:grid;place-items:center;flex-shrink:0}.p-pair-line strong{font-size:14px}.p-pair-line p{font-size:12px;margin:4px 0 0}.p-facts{display:flex;gap:10px 20px;flex-wrap:wrap;font-size:12px;font-weight:700;padding:12px 0;border-top:1px solid var(--line)}.p-detail-button{display:flex;justify-content:space-between;gap:10px;width:100%;color:var(--plum);background:var(--soft);border:0;font-size:13px;margin-top:7px;text-align:left}.p-small{font-size:12px!important;color:var(--muted);line-height:1.5;margin:8px 0}.p-empty{padding:24px;border:1px dashed var(--line);border-radius:15px;margin-top:15px}.p-empty p{font-size:14px;margin:12px 0}.p-error,.p-uncertain{background:#fff2d9;color:#785020;border-radius:12px;padding:12px;font-size:13px;margin:15px 0}.p-error button{display:block;margin-top:10px}.p-sources{border-top:1px solid var(--line);padding-top:15px;margin-top:22px}.p-sources a{font-size:12px;color:var(--plum)}.p-sources p{font-size:12px}.p-detail-heading{margin:24px 0}.p-detail-heading h1{font-size:30px;margin:9px 0;overflow-wrap:anywhere}.p-detail-heading p{font-size:14px}.p-detail-stats{display:grid;grid-template-columns:1fr 1fr 1fr;gap:10px}.p-detail-stats strong{display:block;font-size:20px}.p-detail-stats span{font-size:11px;color:var(--muted)}.p-route{margin:22px 0;background:#efeae4;border:1px solid var(--line);border-radius:16px;overflow:hidden}.p-route svg{display:block;width:100%;height:auto;aspect-ratio:360/260}.p-route figcaption{font-size:10px;text-align:center;padding:0 10px 13px;color:var(--muted)}.p-route-line{fill:none;stroke:var(--plum);stroke-width:3;stroke-linejoin:round}.p-route-gap{fill:none;stroke:#ad8153;stroke-width:3;stroke-dasharray:4 3}.p-route-dot{fill:var(--plum)}.p-route-end{fill:#53785c}.p-route-label{text-anchor:middle;font-size:11px;font-weight:800;fill:white}.p-access{font-size:13px;margin:20px 0}.p-access p{font-size:12px;margin:8px 0;line-height:1.55}.p-map-actions{display:grid;gap:10px}.p-link-button{display:block;border:1px solid var(--line);padding:14px 16px;text-align:center;border-radius:12px;font-size:14px;font-weight:800;color:var(--plum);text-decoration:none}.p-link-button.primary{color:white;background:var(--plum)}.p-cost{padding:18px;border:1px solid var(--line);border-radius:14px;margin:23px 0}.p-cost output{display:block;font-weight:800;margin-top:16px}.prototype-bar{font-size:11px}.p-sources summary{min-height:30px}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid #a1658b;outline-offset:3px}@media(max-width:500px){.workspace{padding:0;margin:0}.app-shell{border-radius:0;border-left:0;border-right:0}.pilot-screen{padding:24px 20px}.p-heading h1{font-size:33px}.p-form{padding:17px}.p-fields{gap:10px}.p-fields label{font-size:11px}.p-fields select{font-size:13px;padding:10px}.p-result-head h2{font-size:23px}.p-sort{max-width:153px}.p-place button{padding:5px;max-width:92px;min-height:44px}.prototype-bar{padding:7px 12px}.p-detail-stats strong{font-size:18px}.p-card{padding:17px}.app-header{padding:18px 20px}.p-place small{font-size:11px}.nav{position:sticky;bottom:0;background:var(--paper);z-index:2}}
.p-route svg{height:auto;aspect-ratio:360/260;}
.sn-journey .p-search-explainer{margin:0;}
.p-search-explainer>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:62px;padding:7px 0;list-style:none;color:var(--plum);border-bottom:1px solid var(--line);}
.p-search-explainer>summary::-webkit-details-marker{display:none;}
.p-search-promise{min-width:0;}
.p-search-promise strong{display:block;font-size:15px;line-height:23px;font-weight:750;}
.p-search-promise small{display:block;font-size:14px;line-height:22px;color:var(--muted);font-weight:500;}
.p-search-explain-label{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:700;flex:none;}
.p-search-explain-label>span{font-size:22px;font-weight:500;line-height:1;}
.p-search-explainer[open] .p-search-explain-label>span{transform:rotate(45deg);}
.p-search-explainer>summary:focus-visible{outline:2px solid var(--plum);outline-offset:3px;border-radius:4px;}
.p-search-explainer-body{padding:16px;border:1px solid var(--line);border-radius:14px;background:var(--paper);margin:2px 0 12px;}
.p-search-explainer-body ol{list-style:decimal;margin:0;padding-left:20px;}
.p-search-explainer-body li{padding-left:8px;margin:0 0 18px;}
.p-search-explainer-body li:last-child{margin-bottom:0;}
.p-search-explainer-body li::marker{color:var(--plum);font-size:13px;font-weight:800;}
.p-search-explainer-body strong{display:block;font-size:14px;line-height:1.5;}
.p-search-explainer-body li p{font-size:13px;line-height:1.55;margin:4px 0 0;color:var(--muted);}
.p-search-explainer-body dl{margin:18px 0 0;border-top:1px solid var(--line);padding-top:12px;}
.p-search-explainer-body dl>div+div{margin-top:9px;}
.p-search-explainer-body dt{font-size:11px;color:var(--muted);}
.p-search-explainer-body dd{font-size:12px;line-height:1.5;margin:2px 0 0;font-weight:650;}
.p-route{background:#efeae4;}
.p-map-paper{fill:#efeae4;}
.p-map-green{fill:#dbe4d4;stroke:#c9d5bf;stroke-width:.6;}
.p-map-road-edge,.p-map-path-edge,.p-map-road,.p-map-path{fill:none;stroke-linecap:round;stroke-linejoin:round;}
.p-map-road-edge{stroke:#d3cbc2;stroke-width:7;}
.p-map-road{stroke:#fffdf8;stroke-width:5;}
.p-map-path-edge{stroke:#d2cbc2;stroke-width:2.3;}
.p-map-path{stroke:#faf7f1;stroke-width:1.4;}
.p-map-street-label{fill:#766b62;font-size:9px;font-weight:600;text-anchor:middle;paint-order:stroke;stroke:#fffdf8;stroke-width:2.5;stroke-linejoin:round;}
.p-map-route-casing{fill:none;stroke:#fff;stroke-width:7;stroke-linecap:round;stroke-linejoin:round;}
.p-map-north{fill:#766b62;font-size:10px;text-anchor:middle;}
.p-route figcaption{padding-top:10px;}
.p-route figcaption a{color:var(--plum);}
.p-navigation-choice{margin:16px 0 12px;}

.p-search-modes{display:grid;grid-template-columns:1fr 1fr;gap:5px;padding:5px;border:1px solid var(--line);background:var(--cream);border-radius:15px;margin-bottom:18px}.p-search-modes button{margin:0;min-height:46px;border:0;background:transparent;padding:10px 6px;font-size:14px}.p-search-modes button[aria-pressed="true"]{background:var(--plum);color:white}.p-route-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}.p-route-fields>button,.p-route-fields>label:last-child{grid-column:1/-1}.p-route-fields>button{justify-self:start;padding:3px 0;min-height:36px}.p-route-fields .field{margin:0}.p-route-fields input[readonly]{background:var(--cream);color:var(--ink)}.p-distance-field{display:flex;align-items:center;gap:12px}.p-distance-field input{width:100%;min-width:0}.p-distance-field span{flex:0 0 auto}.p-journey-facts{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px;padding:12px 0;color:var(--plum);font-size:14px}.p-route-alternatives{margin-top:18px}
.p-place-search{padding:16px;border:1px solid var(--line,#dfd9d4);border-radius:16px;background:var(--paper,#fff);margin-bottom:16px}
.p-drive-range{grid-column:1/-1;min-width:0;padding:0;margin:0;border:0}.p-drive-range legend{padding:0;margin:0 0 8px;font-size:inherit;font-weight:700}.p-drive-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.p-drive-options label{position:relative;display:block;min-width:0;margin:0;cursor:pointer}.p-drive-options input{position:absolute;inset:0;opacity:0;width:100%;height:100%;min-height:0;margin:0;padding:0;cursor:pointer}.p-drive-options span{display:flex;align-items:center;justify-content:center;min-height:44px;padding:10px 4px;border:1px solid var(--line);border-radius:10px;background:var(--paper);color:var(--ink);font-size:14px;font-weight:700;white-space:nowrap}.p-drive-options input:checked+span{background:var(--plum);border-color:var(--plum);color:white}.p-drive-options input:focus-visible+span{outline:2px solid var(--plum);outline-offset:3px}.p-drive-options input:hover:not(:checked)+span{background:var(--soft)}
.p-place-input{display:flex;gap:8px;align-items:center;min-width:0}.p-place-input input{min-width:0;flex:1;width:100%}.p-place-input button{flex-shrink:0}
.p-place-current{display:flex;gap:12px;align-items:center;justify-content:space-between;font-size:13px;margin-top:8px}.p-place-current span{overflow-wrap:anywhere}
.p-place-search [role="listbox"] ul{list-style:none;padding:0;margin:8px 0}.p-place-search [role="listbox"] button{display:flex;flex-direction:column;gap:3px;width:100%;text-align:left;padding:10px 12px;border:0;border-radius:8px;background:transparent;font:inherit;cursor:pointer}.p-place-search [role="listbox"] button:hover,.p-place-search [role="listbox"] button:focus-visible{background:#ede5df}.p-place-search [role="listbox"] span{font-size:12px;color:#6b625e}.p-place-search p{font-size:13px;margin:8px 0}

.p-route-fields .p-place-search{padding:0;border:0;border-radius:0;background:none;margin-bottom:0;min-width:0}.p-route-fields input[type="search"]{width:100%;min-width:0}
@media(max-width:480px){.p-route-fields{grid-template-columns:minmax(0,1fr)}}
.p-location-control{margin:0 0 14px;min-width:0}.p-location-button{display:flex;align-items:center;gap:12px;width:100%;min-height:76px;margin:0;padding:14px;text-align:left;background:var(--plum);color:white;border:1px solid var(--plum);border-radius:13px}.p-location-button svg{flex:0 0 24px;fill:none;stroke:currentColor;stroke-width:1.7}.p-location-button>span:first-of-type{flex:1;min-width:0}.p-location-button strong{display:block;font-size:15px;line-height:1.4}.p-location-button small{display:block;margin-top:3px;font-size:12px;font-weight:500;line-height:1.4;opacity:.85}.p-location-arrow{flex:0 0 auto;font-size:22px}.p-location-button[data-active="true"]{background:var(--soft);color:var(--plum);border-color:var(--line)}.p-location-button:disabled{opacity:.7;cursor:wait}.p-location-error{font-size:13px!important;color:#785020;margin:10px 0 0!important}.p-location-picker{margin-bottom:18px}.p-location-picker>.p-place-search{border:0;padding:0;margin:0;background:none}.p-location-control--compact{margin-top:12px}.p-location-control--compact .p-location-button{min-height:48px;padding:10px 12px}.p-location-control--compact strong{font-size:13px}.p-route-origin{grid-column:1/-1;min-width:0}.p-location-label{display:block;font-size:13px;font-weight:750;margin:0 0 8px}.p-route-origin>.text-button{padding:0;margin:0;min-height:44px}.p-route-origin .p-place-search label{font-size:13px}.p-route-origin+ .p-place-search{grid-column:1/-1}.p-location-picker input{width:100%;min-width:0}
.p-location-button:hover:not(:disabled){background:#462137;color:white}.p-location-button[data-active="true"]:hover:not(:disabled){background:var(--soft);color:var(--plum)}
.p-location-selected{display:flex;flex-direction:column;gap:3px;margin-top:10px;padding:10px 12px;border-left:3px solid var(--plum);border-radius:0 8px 8px 0;background:var(--soft);color:var(--plum);font-size:13px;line-height:1.45}.p-location-selected strong{font-weight:750}.p-location-selected span{font-size:12px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.p-place-search ul[role="listbox"]{list-style:none;padding:0;margin:8px 0}

/* Search allowance stays a small account status; only the limit gets a panel. */
.p-search-access{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:12px;color:var(--text-secondary);margin:0 0 14px}.p-search-access a{color:var(--blue);font-weight:800;white-space:nowrap}.p-search-gate{padding:22px;border:1px solid var(--border);border-radius:18px;background:var(--bg-surface);margin-bottom:22px}.p-search-gate h2{font-size:22px;margin:0 0 10px}.p-search-gate p{margin:0 0 18px;line-height:1.5}.p-search-gate .primary{width:100%;text-align:center}

.p-saved-heading{margin:12px 0 18px}.p-saved-heading h1{font-size:clamp(28px,6vw,36px);letter-spacing:-1px;line-height:1.15;margin:0 0 8px}.p-saved-heading p{font-size:14px;color:var(--muted);margin:0}.p-saved-sort{margin:12px 0 18px;max-width:220px}.p-saved-card h2{font-size:22px;line-height:1.25;margin:12px 0;overflow-wrap:anywhere}.p-saved-remove{flex:0 0 auto;min-height:44px;margin:0;padding:8px;font-size:13px}.p-saved-card .p-card-top{gap:8px;flex-wrap:wrap}.p-saved-card .p-pill{font-size:12px}.p-saved-undo{display:flex;align-items:center;justify-content:space-between;gap:12px;background:var(--soft);border:1px solid var(--line);border-radius:12px;padding:10px 14px;margin:14px 0;font-size:13px}.p-saved-undo button{min-height:44px;margin:0;white-space:nowrap}.p-saved-unavailable{border:1px dashed var(--line);border-radius:15px;margin:18px 0;padding:16px}.p-saved-unavailable h2{font-size:18px;margin:0 0 8px}.p-saved-unavailable ul{list-style:none;padding:0;margin:0}.p-saved-unavailable li{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:13px}.p-saved-unavailable button{min-height:44px;flex-shrink:0}.p-saved-card .p-stop-actions>a,.p-saved-card .p-stop-actions>button{min-height:48px}

.p-sources>h2{font-size:14px;line-height:20px;font-weight:750;margin:0 0 12px}.p-sources{overflow-wrap:anywhere}
.p-pause-place{margin:22px 0;padding:20px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);overflow-wrap:anywhere}.p-pause-place h2{font-size:14px;line-height:1.4;margin:0 0 12px;color:var(--muted)}.p-pause-place h3{font-size:21px;line-height:1.25;margin:0 0 6px}.p-pause-place-kind{font-size:12px;margin:0 0 14px;color:var(--muted)}.p-pause-place-facts{margin:0 0 16px;font-size:13px}.p-pause-place-facts>div{display:grid;grid-template-columns:minmax(90px,1fr) minmax(0,1.3fr);gap:12px;padding:8px 0}.p-pause-place-facts dt{color:var(--muted)}.p-pause-place-facts dd{margin:0;text-align:right;white-space:pre-line}.p-pause-place .p-link-button{font-size:13px;min-height:44px}.p-pause-place-date{margin-bottom:0}
.p-search-gate{scroll-margin-top:100px}

.p-auth-status{margin:18px 0 0;padding:14px;border-radius:12px;background:var(--soft);font-size:14px;line-height:1.5}.p-auth-status p{margin:5px 0 0}.p-auth-register{display:block;text-align:center;margin-top:14px;min-height:44px;padding:10px 0;font-size:14px;color:var(--plum)}

/* Driving and walking form one sequence; source details remain secondary. */
.sn-journey .p-detail-navigation{margin:22px 0 18px}
.sn-journey .p-navigation-steps{display:grid;gap:10px}
.sn-journey .p-navigation-steps>.p-link-button{display:flex;align-items:center;gap:12px;min-height:82px;margin:0;padding:16px;text-align:left;line-height:1.4}
.sn-journey .p-navigation-steps>#pilot-drive-link{margin:0;min-height:82px}
.sn-journey .p-navigation-steps>.p-navigation-walk{background:var(--paper);border-color:var(--plum)}
.sn-journey .p-navigation-step{display:grid;place-items:center;flex:0 0 28px;width:28px;height:28px;border-radius:50%;background:var(--soft);color:var(--plum);font-size:13px;font-weight:800}
.sn-journey .primary .p-navigation-step{background:rgba(255,255,255,.16);color:inherit}
.sn-journey .p-navigation-text{flex:1;min-width:0}
.sn-journey .p-navigation-text strong{display:block;font-size:15px;font-weight:800;overflow-wrap:anywhere}
.sn-journey .p-navigation-text small{display:block;margin-top:4px;font-size:12px;font-weight:500;overflow-wrap:anywhere}
.sn-journey .p-navigation-drive .p-navigation-text small{color:rgba(255,255,255,.84)}
.sn-journey .p-navigation-walk .p-navigation-text small{color:var(--muted)}
.sn-journey .p-navigation-steps>.p-link-button>svg{flex:0 0 20px}
.sn-journey .p-detail-navigation .p-navigation-settings{margin:4px 0 0}
.sn-journey .p-pause-place .p-pause-source-link{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:6px 0;color:var(--plum);font-size:13px;font-weight:650;line-height:1.5;text-decoration:underline;text-underline-offset:3px}
.sn-journey .p-pause-source-link>span{flex:0 0 auto}

/* Compact list actions use the same sequence as the full detail view. */
.sn-journey .p-card-navigation{margin-top:14px}
.sn-journey .p-navigation-steps--compact{gap:8px}
.sn-journey .p-navigation-steps--compact>.p-link-button{min-height:70px;padding:12px;gap:10px}
.sn-journey .p-navigation-steps--compact .p-navigation-step{flex-basis:24px;width:24px;height:24px;font-size:12px}
.sn-journey .p-navigation-steps--compact .p-navigation-text strong{font-size:14px}
.sn-journey .p-stop-details{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:44px;margin:8px 0 0;padding:8px 0;text-align:left;font-size:13px;line-height:1.5;border:0;box-shadow:none}
.sn-journey .p-stop-details small{display:block;font-size:12px;font-weight:500;color:var(--muted)}

/* Direct pause selection; keep the existing Stromnachbar palette and font. */
.p-pause-choices{border:0;padding:0;margin:0;min-width:0}.p-pause-choices legend{font-weight:800;margin-bottom:10px}.p-pause-choices>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:12px}.p-pause-choices button{min-height:48px;text-align:left;white-space:normal;line-height:1.3;padding:12px;border:1px solid var(--line,#d9ccc3);background:var(--paper,#f4eeea);color:var(--plum,#5b2d4f);border-radius:14px;font:inherit;font-weight:750}.p-pause-choices button[aria-pressed=true]{background:var(--plum,#5b2d4f);color:white}.p-pause-choices button:focus-visible{outline:3px solid #a67b5b;outline-offset:3px}.p-stop-station{margin:0 0 8px;font-weight:700}@media(max-width:350px){.p-pause-choices>div{grid-template-columns:1fr}}
