.before-walk-entry{width:100%;min-height:48px;margin:12px 0;padding:12px 14px;border:1px solid var(--green);border-radius:12px;text-align:left;background:var(--paper);color:var(--ink);font:inherit;font-weight:700}
.before-walk-entry small{display:block;margin-top:4px;font-weight:400;color:var(--muted);line-height:1.4}
.safety-list{display:grid;gap:12px;margin:16px 0;padding:0;list-style:none}
.safety-list li{padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:var(--paper);color:var(--ink)}
.safety-list strong,.safety-list span{display:block;line-height:1.45}
.safety-list span{margin-top:5px;font-size:.94rem}
.safety-list .safety-caution{border-left:4px solid #b77a17}
.safety-list .safety-unknown{border-left:4px solid var(--muted)}
.safety-note{color:var(--muted);font-size:.9rem;line-height:1.5}
.safety-actions,.exit-options{display:grid;gap:10px;margin:14px 0}
.safety-actions button,.exit-options button,.exit-back{min-height:48px;padding:12px;border:1px solid var(--green);border-radius:10px;background:var(--paper);color:var(--ink);font:inherit;text-align:left;line-height:1.4}
.exit-options strong,.exit-options small{display:block}.exit-options small{margin-top:5px;color:var(--muted)}
.exit-options button[aria-pressed=true]{outline:2px solid var(--green);outline-offset:1px}
.exit-options button:disabled{opacity:.6;cursor:wait}
.exit-preview-map{height:240px;min-height:180px;border:1px solid var(--line);border-radius:12px;margin-top:12px;isolation:isolate}
.exit-lighting-option{display:flex;align-items:flex-start;gap:10px;margin:14px 0;line-height:1.5}.exit-lighting-option input{margin-top:5px;min-width:20px;min-height:20px}
.map-walk-actions #end-walk-early{flex-basis:100%;min-height:44px;border-color:var(--green)}
.safety-summary{padding:12px 0;border-bottom:1px solid var(--line);line-height:1.5}
.safety-summary strong{display:block;font-size:1.25rem}
[data-theme=dark] .safety-list .safety-caution{border-left-color:#edbc69}
@media(max-height:500px){.exit-preview-map{height:180px}}
.safety-level-ok{--notice-bg:#edf8f0;--notice-accent:#216b43}
.safety-level-caution{--notice-bg:#fff9df;--notice-accent:#795c00}
.safety-level-action{--notice-bg:#fff0df;--notice-accent:#9a490a}
.safety-level-danger{--notice-bg:#fff0f0;--notice-accent:#a32d36}
.safety-level-extreme{--notice-bg:#f5edff;--notice-accent:#74399d}
.safety-level-unknown{--notice-bg:#f2f4f3;--notice-accent:#56655d}
.dialog-notice{display:flex;align-items:flex-start;gap:10px;padding:12px 14px;margin:12px 0;border:1px solid color-mix(in srgb,var(--notice-accent) 35%,var(--line));border-left:4px solid var(--notice-accent);border-radius:10px;background:var(--notice-bg);color:var(--ink);font-size:.9rem;line-height:1.45}
.dialog-notice p{margin:0}.dialog-notice[hidden]{display:none}
.dialog-notice-icon{display:grid;place-items:center;flex:0 0 20px;width:20px;height:20px;margin-top:1px;border:1.5px solid currentColor;border-radius:50%;color:var(--notice-accent);font-size:14px;line-height:1;font-weight:750}
.safety-list>li{background:var(--notice-bg,var(--paper));border-left:5px solid var(--notice-accent,var(--line))}
.safety-title{display:flex;flex-direction:column;align-items:flex-start;gap:6px}
.safety-status{display:inline-flex;align-items:center;gap:5px;color:var(--notice-accent);font-size:.75rem;font-weight:700;line-height:1.4}
.safety-status b,.weather-symbol{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:18px;height:18px;border:1.5px solid currentColor;border-radius:50%;font-weight:800}
.safety-body{margin-top:6px;font-size:.94rem;line-height:1.45;overflow-wrap:anywhere}.safety-body p{margin:3px 0}
.safety-body>p:first-child{margin-top:0}.safety-body>p:last-child{margin-bottom:0}
.safety-body .weather-meta{font-size:.8rem;color:var(--muted);line-height:1.45;margin-top:5px}
.safety-body .safety-meta{font-size:.875rem;color:var(--muted);line-height:1.45;margin-top:6px}
.weather-timeline{margin:5px 0}.weather-timeline summary,.official-warning summary{min-height:32px;cursor:pointer;font-weight:650}
.weather-timeline>summary{display:flex;align-items:center;gap:12px;min-height:44px;padding:10px 12px;border:1px solid var(--mode-border);border-radius:8px;background:var(--mode-surface);color:var(--mode-ink);list-style:none;line-height:1.4}
.weather-timeline>summary::-webkit-details-marker{display:none}
.weather-timeline>summary::marker{content:""}
.weather-timeline>summary:after{content:"";flex:none;width:8px;height:8px;margin-left:auto;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg)}
.weather-timeline[open]>summary:after{transform:rotate(225deg)}
.weather-timeline>summary:hover{background:var(--mode-hover)}
.weather-timeline>summary:focus-visible,#refresh-weather:focus-visible{outline:2px solid var(--green);outline-offset:2px}
.weather-timeline ul{list-style:none;padding:0;margin:4px 0;max-height:220px;overflow:auto}
.weather-timeline li{display:flex;justify-content:space-between;gap:8px;padding:7px 0;background:transparent;border:0;border-bottom:1px solid var(--line);border-radius:0;font-size:.8rem}
.weather-timeline li span{margin:0;font-size:inherit}.weather-timeline time{white-space:nowrap}
.official-warning{padding:10px;margin:10px 0;background:var(--notice-bg);border:1px solid var(--line);border-left:4px solid var(--notice-accent);border-radius:8px}.official-warning p{white-space:pre-line}
.map-weather-card{display:flex;align-items:center;gap:10px;min-height:52px;width:min(100%,460px);padding:9px 11px;border:1px solid var(--line);border-left:4px solid var(--notice-accent);border-radius:12px;background:var(--notice-bg,var(--paper));color:var(--ink);font:inherit;text-align:left;line-height:1.35;box-shadow:0 3px 12px #163b241c;cursor:pointer}
.map-weather-card{justify-self:center}.map-weather-card strong{display:block;font-size:.875rem}.map-weather-card small{display:block;margin-top:3px;font-size:.75rem;color:var(--muted)}
.map-weather-notice{position:relative;justify-self:center;width:min(100%,460px);color:var(--ink)}
.map-weather-notice .map-weather-card{width:100%;padding-right:46px}
.map-weather-notice[hidden],body.picking .map-weather-notice{display:none}
.weather-symbol{width:24px;height:24px;color:var(--notice-accent)}
.map-weather-card[hidden],.critical-weather[hidden],body.picking .map-weather-card{display:none}
.critical-weather{padding:12px;margin:10px 0;border:2px solid var(--notice-accent);border-radius:10px;background:var(--notice-bg);line-height:1.5}.critical-weather p{margin:6px 0 0}
.exit-status,.weather-refresh-status{margin:10px 0;padding:12px;border:1px solid var(--notice-accent);border-left-width:4px;border-radius:10px;background:var(--notice-bg);color:var(--ink);font-size:.9rem;line-height:1.45}
.exit-status{display:flex;align-items:flex-start;gap:10px}.exit-status p{margin:0}.exit-status b{color:var(--notice-accent);font-size:1.2rem}.exit-status:focus-visible{outline:2px solid var(--notice-accent);outline-offset:2px}
.exit-status[hidden],.weather-refresh-status[hidden]{display:none}
#refresh-weather{display:inline-flex;align-items:center;gap:8px;min-height:44px;border-color:var(--mode-border);background:var(--mode-surface);color:var(--mode-ink);font-weight:650;transition:background-color .12s,color .12s;cursor:pointer}
#refresh-weather:hover{background:var(--mode-hover)}
#refresh-weather:active,#refresh-weather[aria-busy=true]{background:var(--mode-hover);color:var(--mode-ink)}
#refresh-weather[aria-busy=true]{cursor:wait;opacity:1}
#refresh-weather[aria-busy=true]:before{content:"";width:15px;height:15px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:weather-refresh-spin .8s linear infinite}
@keyframes weather-refresh-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){#refresh-weather{transition:none}#refresh-weather[aria-busy=true]:before{animation:none}}
[data-theme=dark] .safety-level-ok{--notice-bg:#1b392a;--notice-accent:#9ce2b7}
[data-theme=dark] .safety-level-caution{--notice-bg:#3a321c;--notice-accent:#f3d56c}
[data-theme=dark] .safety-level-action{--notice-bg:#412d20;--notice-accent:#ffbc7c}
[data-theme=dark] .safety-level-danger{--notice-bg:#40262b;--notice-accent:#ffb2b8}
[data-theme=dark] .safety-level-extreme{--notice-bg:#35283f;--notice-accent:#ddafff}
[data-theme=dark] .safety-level-unknown{--notice-bg:#26332d;--notice-accent:#c5d1ca}
@media(max-width:700px){.map-weather-card{width:100%}}
@media(forced-colors:active){.safety-list>li,.map-weather-card,.critical-weather{border-color:CanvasText}.safety-status,.weather-symbol{color:CanvasText}}
