/* Plan my day (#561): the one-tap question card and the timeline card. Theme tokens from ripa-tokens.css (light and
   dark looks), with the Glacier colours as fallback. One card, low on the screen, above the bottom navigation. */
.dp-card{position:fixed;left:0;right:0;bottom:var(--dp-bottom,64px);z-index:60;display:flex;flex-direction:column;max-height:min(64vh,calc(100vh - var(--dp-bottom,64px) - 96px));padding:8px 16px 12px;border-radius:22px 22px 0 0;background:var(--card,#f3f9fc);color:var(--text,#183746);box-shadow:0 -10px 30px rgba(18,56,75,.16);font-family:var(--ripa-font-text,Inter,system-ui,sans-serif);-webkit-font-smoothing:antialiased}
.dp-card[hidden],.dp-pick[hidden]{display:none!important}
.dp-card[data-view="day"]{max-height:min(56vh,calc(100vh - var(--dp-bottom,64px) - 160px))}
.dp-card svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round;flex:none}
.dp-grab{flex:none;width:36px;height:4px;margin:0 auto 10px;border-radius:99px;background:var(--line,rgba(24,55,70,.18))}
.dp-head{flex:none;display:flex;align-items:flex-start;gap:10px;margin-bottom:10px}
.dp-head>div{flex:1;min-width:0}
.dp-head h2{margin:0;font:600 21px/1.15 var(--ripa-font-display,Outfit,Inter,sans-serif);color:var(--ink,var(--text,#183746))}
.dp-head p{margin:3px 0 0;font-size:13px;color:var(--mut,#526e7b)}
.dp-x{flex:none;width:36px;height:36px;border-radius:999px;border:0;background:var(--soft,rgba(24,55,70,.07));display:grid;place-items:center;color:inherit;padding:0}
.dp-body{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;display:flex;flex-direction:column;gap:12px}
.dp-label{font-size:11px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--mut,#526e7b)}
.dp-q{display:grid;gap:7px}
.dp-chips{display:flex;flex-wrap:wrap;gap:7px}
.dp-chip{display:inline-flex;align-items:center;gap:6px;min-height:34px;padding:0 13px;border:0;border-radius:999px;background:var(--soft,rgba(24,55,70,.065));color:inherit;font:500 14px var(--ripa-font-text,Inter,sans-serif);white-space:nowrap}
.dp-chip.on{background:var(--btn,#186676);color:var(--btnink,#fff)}
.dp-chip i{font-style:normal;opacity:.55}
.dp-seg{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.dp-tile{display:grid;gap:3px;padding:11px 12px;border-radius:14px;background:var(--soft,rgba(24,55,70,.05));border:1.5px solid transparent;text-align:left;color:inherit;font-family:inherit}
.dp-tile b{display:flex;align-items:center;gap:7px;font-size:15px;font-weight:600}
.dp-tile small{font-size:12px;line-height:1.35;color:var(--mut,#526e7b)}
.dp-tile.on{border-color:var(--btn,#186676)}
.dp-place{display:flex;align-items:center;gap:10px;padding:9px 12px;border-radius:14px;background:var(--soft,rgba(24,55,70,.05))}
.dp-place .dp-ic{flex:none;width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:var(--ripa-navy,#00284d);color:#fff}
.dp-place .dp-ic svg{width:17px;height:17px}
.dp-place>span:nth-child(2){flex:1;min-width:0;display:grid;gap:1px}
.dp-place b{font-size:14px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dp-place small{font-size:12px;color:var(--mut,#526e7b)}
.dp-place button{border:0;background:none;color:var(--acc,#186676);font:600 14px var(--ripa-font-text,Inter,sans-serif);padding:6px}
.dp-edit{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:8px 10px;border-radius:14px;background:var(--soft,rgba(24,55,70,.05));font-size:13px}
.dp-edit label{display:flex;align-items:center;gap:6px}
.dp-edit input{font:inherit;color:inherit;background:var(--card,#fff);border:1px solid var(--line,rgba(24,55,70,.16));border-radius:10px;padding:5px 8px}
.dp-note,.dp-notes p{margin:0;font-size:12px;line-height:1.45;color:var(--mut,#526e7b)}
.dp-notes{display:grid;gap:4px;padding-bottom:4px}
.dp-problem{margin:0;padding:9px 11px;border-radius:14px;background:var(--warmsoft,#fdeee0);font-size:13px;line-height:1.4}
.dp-foot{flex:none;display:flex;gap:8px;padding-top:10px}
.dp-btn{flex:1;display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:48px;border:0;border-radius:999px;background:var(--soft,rgba(24,55,70,.07));color:inherit;font:600 15px var(--ripa-font-text,Inter,sans-serif)}
.dp-btn.primary{background:var(--btn,#186676);color:var(--btnink,#fff)}
.dp-btn:disabled{opacity:.55}
.dp-stats{display:grid;grid-template-columns:repeat(3,1fr)}
.dp-stats span{display:grid;gap:2px;padding:0 10px;border-left:1px solid var(--line,rgba(24,55,70,.08))}
.dp-stats span:first-child{border-left:0;padding-left:2px}
.dp-stats b{font-size:20px;font-weight:600;line-height:1.1;white-space:nowrap}
.dp-stats small{font-size:12px;color:var(--mut,#526e7b)}
.dp-alert{display:flex;align-items:center;gap:9px;padding:9px 11px;border-radius:14px;background:var(--soft,rgba(24,55,70,.045));font-size:13px;line-height:1.35}
.dp-alert .d{flex:none;display:grid;place-items:center;width:22px;height:22px;border-radius:5px;background:#e4161c;color:#fff;font-weight:700;font-size:13px}
.dp-tl{display:grid}
.dp-row{display:grid;grid-template-columns:44px 30px 1fr;column-gap:8px;align-items:start;padding:7px 0}
.dp-row+.dp-row{border-top:1px solid var(--line,rgba(24,55,70,.06))}
.dp-row time{font-size:13px;font-weight:600;font-variant-numeric:tabular-nums;padding-top:6px}
.dp-row-ic{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:var(--soft,rgba(24,55,70,.07))}
.dp-row-ic svg{width:17px;height:17px}
.dp-row-ic.lift,.dp-row-ic.skin{background:#111820;color:#fff}
.dp-row-ic.ski{background:#20a86b;color:#fff}
.dp-row-ic.offpiste{background:#0d6b49;color:#fff}
.dp-row-ic.pin,.dp-row-ic.flag{background:var(--ripa-navy,#00284d);color:#fff}
.dp-row>span:last-child{display:grid;gap:1px;padding-top:1px;min-width:0}
.dp-row b{font-size:14px;font-weight:600;line-height:1.3}
.dp-row small{font-size:12px;line-height:1.35;color:var(--mut,#526e7b)}
.dp-risk{display:inline-block;width:9px;height:9px;border-radius:50%;margin-right:6px;vertical-align:1px}
.dp-pick{position:fixed;left:12px;right:12px;bottom:calc(var(--dp-bottom,64px) + 12px);z-index:61;display:flex;align-items:center;gap:10px;padding:10px 12px 10px 16px;border-radius:14px;background:var(--card,#f3f9fc);color:var(--text,#183746);box-shadow:0 6px 22px rgba(18,56,75,.22);font:500 14px var(--ripa-font-text,Inter,sans-serif)}
.dp-pick span{flex:1}
.dp-pick button{border:0;border-radius:999px;padding:8px 14px;background:var(--soft,rgba(24,55,70,.07));color:inherit;font:600 14px inherit}
.dp-pick button.go{background:var(--btn,#0F2A4A);color:var(--btn-text,#fff)}
.dp-pick{flex-wrap:wrap}.dp-pick span{flex:1 1 100%;margin-bottom:2px}.dp-pick button{flex:1}
.dp-aim{position:fixed;z-index:59;width:36px;height:46px;transform:translate(-50%,-44px);pointer-events:none;filter:drop-shadow(0 3px 5px rgba(0,0,0,.35))}
.dp-aim path{fill:var(--ripa-navy,#00284d);stroke:#fff;stroke-width:2}.dp-aim circle{fill:#fff}
.dp-mk{position:fixed;z-index:55;transform:translate(-15px,-50%);display:flex;align-items:center;gap:5px;pointer-events:none}
.dp-mk[hidden]{display:none}
.dp-mk .b{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;border:2px solid #fff;box-shadow:0 2px 6px rgba(0,0,0,.25);background:#186676;color:#fff}
.dp-mk.navy .b{background:var(--ripa-navy,#00284d)}
.dp-mk .b svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.dp-mk .t{padding:3px 8px;border-radius:999px;background:rgba(243,249,252,.95);box-shadow:0 1px 4px rgba(0,0,0,.18);font:600 12px var(--ripa-font-text,Inter,sans-serif);color:#183746;white-space:nowrap}
/* The Today tab's button (src/redesign-today.js). */
.m-planday{display:flex;align-items:center;gap:12px;width:100%;margin:12px 0 4px;padding:12px 14px;border:0;border-radius:14px;background:var(--btn,#186676);color:var(--btnink,#fff);text-align:left;font-family:var(--ripa-font-text,Inter,sans-serif)}
.m-planday svg{flex:none;width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}
.m-planday span{flex:1;display:grid;gap:2px}
.m-planday b{font-size:15px;font-weight:600}
.m-planday small{font-size:12px;opacity:.85}
.m-planday em{font-style:normal;font-size:18px;opacity:.8}
/* The Today tab's own text colours would win over the button's: keep its words on the button colour. */
.rdt .m-planday,.rdt .m-planday b,.rdt .m-planday small,.rdt .m-planday em{color:var(--btnink,#fff)!important}
.dp-btn.icon{flex:none;width:48px;padding:0;color:#e4161c}
/* Following a day (#563): running late rings the Way down button. */
#activeWayDown.day-late{box-shadow:0 0 0 3px #e0a400;border-radius:999px}
/* Small phones (375×667): the day's map keeps room above the timeline, which scrolls. */
@media (max-height:700px){.dp-card[data-view="day"]{max-height:min(46vh,calc(100vh - var(--dp-bottom,64px) - 160px))}}
/* The place's pin (src/place-pin.js) stays out of the day's map: its markers and lines are what count there. */
html:has(.dp-card:not([hidden])) .maplibregl-marker.place-pin{visibility:hidden}
/* ---------- Design A (Ludwig 2026-11-22): conditions, pictures, icon grid, coloured timeline ---------- */
.dp-conds{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
.dp-cond{display:flex;align-items:center;gap:7px;min-width:0;padding:7px 8px;border-radius:12px;background:var(--soft,#eaf0f4)}
.dp-cond>span{display:grid;min-width:0}
.dp-cond b{font-size:13px;font-weight:600;line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dp-cond small{font-size:10.5px;line-height:1.2;color:var(--mut,#526e7b);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dp-d{flex:none;width:24px;height:24px;border-radius:7px;display:grid;place-items:center;font:700 14px var(--ripa-font-display,Outfit,sans-serif);font-style:normal;color:#10181c}
.dp-d[data-level="1"]{background:var(--ripa-danger-1,#cf6)}.dp-d[data-level="2"]{background:var(--ripa-danger-2,#ff0)}.dp-d[data-level="3"]{background:var(--ripa-danger-3,#f90)}
.dp-d[data-level="4"]{background:var(--ripa-danger-4,#f00);color:#fff}.dp-d[data-level="5"]{background:var(--ripa-danger-5,#7a0000);color:#fff}
.dp-ci{flex:none;display:grid;place-items:center;font-style:normal}
.dp-ci svg{width:19px;height:19px}.dp-ci.snow{color:#2a8fd6}.dp-ci.sun{color:#e3a21a}
.dp-pics{display:grid;grid-template-columns:1fr 1fr 1fr;gap:7px}
.dp-pics .dp-picture>span{padding:7px 9px 8px}.dp-pics .dp-picture b{font-size:13.5px}.dp-pics .dp-picture small{font-size:11px}
.dp-picture{display:grid;padding:0;border-radius:16px;overflow:hidden;background:var(--soft,#eaf0f4);border:2px solid transparent;text-align:left;color:inherit;font-family:inherit}
.dp-picture.on{border-color:var(--btn,#12202c)}
.dp-picture>span{display:grid;gap:1px;padding:6px 10px 9px}
.dp-picture b{font-size:14.5px;font-weight:600}
.dp-picture small{font-size:11.5px;line-height:1.3;color:var(--mut,#526e7b)}
.dp-art{display:block;width:100%;height:58px}
.dp-art .sky{fill:#dceaf3}.dp-art .snow{fill:#f7fbfd}.dp-art .cable{stroke:#0f2a4a;stroke-width:1.5;fill:none}
.dp-art .cabin{fill:#186676}.dp-art .glass{fill:#cfe7ee}.dp-art .track{stroke:#186676;stroke-width:2;stroke-dasharray:3 3;fill:none}
.dp-ter{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}
.dp-terrain{display:grid;justify-items:center;gap:3px;padding:7px 4px 7px;border:0;border-radius:12px;background:var(--soft,#eaf0f4);color:inherit;font:600 12px var(--ripa-font-text,Inter,sans-serif)}
.dp-terrain svg{width:34px;height:26px}
.dp-terrain .mt{fill:none;stroke:currentColor;stroke-width:1.5}.dp-terrain .tr{fill:none;stroke:currentColor;stroke-width:1.5}
.dp-terrain .pi{fill:none;stroke:#d6452f;stroke-width:2}.dp-terrain .bird{fill:currentColor;stroke:none}
.dp-terrain.on{background:var(--btn,#12202c);color:var(--btnink,#fff)}
.dp-terrain.on .pi{stroke:#ff8a75}
.dp-prefs{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.dp-pref{display:flex;align-items:center;gap:9px;min-width:0;padding:8px 10px;border:0;border-radius:12px;background:var(--soft,#eaf0f4);color:inherit;text-align:left;font-family:inherit}
.dp-pref.wide{grid-column:span 2}
.dp-pref>span{display:grid;min-width:0}
.dp-pref b{font-size:13.5px;font-weight:600;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dp-pref small{font-size:11px;line-height:1.25;color:var(--mut,#526e7b);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dp-pi{flex:none;width:30px;height:30px;border-radius:9px;display:grid;place-items:center;background:var(--card,#fff);color:var(--acc,#186676);font-style:normal}
.dp-pi svg{width:18px;height:18px}
.dp-pref.warn .dp-pi{background:#fde9e5;color:#d6452f}
.dp-pref.warn b{color:#b3321e}
.dp-lvl{width:5px;height:18px;border-radius:3px;background:#d6452f}.dp-lvl.b{background:#2a6fd6}.dp-lvl.k{background:#111820}
/* The day: stats as tiles, a rail per row in the map's colour. */
.dp-stats{gap:6px}
.dp-stats span{padding:8px 10px;border:0;border-radius:12px;background:var(--soft,#eaf0f4)}
.dp-stats span:first-child{padding-left:10px}
.dp-stats b{font:600 18px/1.1 var(--ripa-font-display,Outfit,Inter,sans-serif)}
.dp-stats small{font-size:11px;line-height:1.3}
.dp-offm{font-style:normal;font-weight:600;color:#b07a00}
.dp-row{grid-template-columns:42px 26px 1fr;padding:0;min-height:46px}
.dp-row+.dp-row{border-top:0}
.dp-row time{padding-top:4px}
.dp-rail{position:relative;display:flex;justify-content:center;align-self:stretch}
.dp-rail i{position:relative;z-index:1;width:26px;height:26px;border-radius:8px;display:grid;place-items:center;background:var(--c);color:#fff;font-style:normal}
.dp-rail i svg{width:15px;height:15px}
.dp-rail:after{content:"";position:absolute;top:28px;bottom:-2px;left:50%;width:4px;margin-left:-2px;border-radius:2px;background:var(--c);opacity:.55}
.dp-row.k-lift .dp-rail:after{background:repeating-linear-gradient(var(--c) 0 4px,transparent 4px 7px);opacity:.8}
.dp-row.k-walk .dp-rail:after,.dp-row.k-food .dp-rail:after,.dp-row.k-break .dp-rail:after,.dp-row.k-apres .dp-rail:after,.dp-row.k-start .dp-rail:after{background:var(--line,#cdd9e1);opacity:1}
.dp-row.last .dp-rail:after{display:none}
.dp-row>span:last-child{padding:3px 0 9px}
.dp-tag{display:inline-block;margin-left:4px;padding:1px 6px;border-radius:6px;font:600 10.5px/1.5 var(--ripa-font-text,Inter,sans-serif);font-style:normal;vertical-align:1px}
.dp-tag.fits{background:#dff3e7;color:#1d6b3c}.dp-tag.careful{background:#fff1cf;color:#8a5a00}.dp-tag.unrated{background:var(--soft,#eaf0f4);color:var(--mut,#526e7b)}
html[data-theme="t"] .dp-tag.fits,html[data-theme="t"] .dp-tag.careful{filter:saturate(.9) brightness(.95)}
.dp-card svg.dp-art{width:100%;height:58px}
@media (max-height:700px){.dp-card svg.dp-art{height:40px}.dp-picture small{display:none}}
.dp-art .sky,.dp-art .snow,.dp-art .cabin,.dp-art .glass{stroke:none}
/* The questions take the height they need (the map matters on the day, not while answering). */
.dp-card[data-view="questions"]{max-height:min(80vh,calc(100vh - var(--dp-bottom,64px) - 96px))}
/* Start and finish in the theme's own button colours (the navy fallback was white on white in the dark look). */
.dp-row.k-start .dp-rail i,.dp-row.k-finish .dp-rail i{color:var(--btnink,#fff)}
.dp-place .dp-ic{background:var(--btn,#0F2A4A);color:var(--btnink,#fff)}
/* On the map the start pin is navy in both looks (the map itself does not change with the theme). */
.dp-mk.navy .b{background:#0F2A4A}
/* How many days (Plan my trip): five small tiles. */
.dp-days{display:grid;grid-template-columns:1.3fr repeat(4,1fr);gap:6px}
.dp-dayn{display:grid;justify-items:center;gap:0;padding:6px 2px;border:0;border-radius:12px;background:var(--soft,#eaf0f4);color:inherit;font-family:inherit}
.dp-dayn b{font:600 16px/1.15 var(--ripa-font-display,Outfit,Inter,sans-serif)}
.dp-dayn small{font-size:10.5px;color:var(--mut,#526e7b)}
.dp-dayn.on{background:var(--btn,#12202c);color:var(--btnink,#fff)}
.dp-dayn.on small{color:inherit;opacity:.75}
/* The trip: one card per day, the kind of day coloured, the best days badged. */
.dp-trip{display:grid;gap:8px}
.dp-tday{display:grid;gap:5px;padding:11px 12px;border-radius:16px;background:var(--soft,#eaf0f4);border-left:5px solid var(--k,#8a97a3)}
.dp-tday.k-powder,.dp-tday.k-powder-grey{--k:#2a8fd6}.dp-tday.k-sunny{--k:#e3a21a}.dp-tday.k-corn{--k:#e07b18}
.dp-tday.k-storm{--k:#5b6876}.dp-tday.k-flat{--k:#8a97a3}.dp-tday.k-windy{--k:#6c7fa0}
.dp-tday-h{display:flex;align-items:center;flex-wrap:wrap;gap:6px}
.dp-tday-h b{font:600 16px/1.2 var(--ripa-font-display,Outfit,Inter,sans-serif);margin-right:auto}
.dp-tbadge{padding:2px 8px;border-radius:8px;background:#dff3e7;color:#1d6b3c;font:600 11px/1.5 var(--ripa-font-text,Inter,sans-serif);font-style:normal}
.dp-tbadge.rest{background:var(--card,#fff);color:var(--mut,#526e7b)}
.dp-tday-k{display:flex;align-items:center;gap:7px;font-weight:600;font-size:14px}
.dp-tday-k i{display:grid;place-items:center;width:26px;height:26px;border-radius:8px;background:var(--k);color:#fff;font-style:normal}
.dp-tday-k i svg{width:16px;height:16px}
.dp-tday-n{font-size:12px;color:var(--mut,#526e7b)}
.dp-tday p{margin:0;font-size:13px;line-height:1.4}
.dp-tday-later{font-size:11.5px;color:var(--mut,#526e7b)}
.dp-btn.sm{min-height:38px;font-size:14px;justify-self:start;padding:0 14px}
.dp-btn i{font-style:normal;opacity:.7}
.dp-tdanger{display:flex;align-items:center;gap:7px;font-size:12.5px;font-weight:600}
.dp-tdanger .dp-d{width:20px;height:20px;border-radius:6px;font-size:12px}
.dp-cond small{white-space:normal}
/* A block of laps (Bjorn: "stay in the area until 11"): one row, a tap shows its runs and rides. */
.dp-block{display:grid;gap:1px;padding:3px 0 9px;border:0;background:none;color:inherit;text-align:left;font-family:inherit;min-width:0}
.dp-block b{font-size:14px;font-weight:600;line-height:1.3}
.dp-block small{font-size:12px;line-height:1.35;color:var(--mut,#526e7b)}
.dp-block em{font-style:normal;font-size:12px;font-weight:600;color:var(--acc,#186676);margin-top:2px}
.dp-row.k-block .dp-rail i{border-radius:50%}
.dp-sub{margin-left:20px;padding-left:10px;border-left:2px dashed var(--line,#cdd9e1)}
.dp-row.sub{min-height:38px}
.dp-row.sub .dp-rail i{width:20px;height:20px;border-radius:6px}
.dp-row.sub .dp-rail i svg{width:12px;height:12px}
.dp-row.sub .dp-rail:after{top:22px}
.dp-row.sub b{font-size:13px}
/* The day on the map: the card folds to a bar. */
.dp-card[data-peek="1"]{max-height:none}
.dp-card[data-peek="1"] .dp-head{margin-bottom:4px}
.dp-btn.icon{flex:0 0 48px}
.dp-btn.icon.map{color:inherit}
.dp-card[data-view="day"] .dp-foot .dp-btn{white-space:nowrap;font-size:14px;padding:0 10px}
/* A row is a button: a tap shows that piece on the map. */
.dp-rowbtn{display:grid;gap:1px;padding:3px 0 9px;border:0;background:none;color:inherit;text-align:left;font-family:inherit;min-width:0;cursor:pointer}
.dp-rowbtn b{font-size:14px;font-weight:600;line-height:1.3}
.dp-rowbtn small{font-size:12px;line-height:1.35;color:var(--mut,#526e7b)}
.dp-row.sub .dp-rowbtn b{font-size:13px}
.dp-blinks{display:flex;gap:14px;margin-top:2px}
.dp-blinks button{border:0;background:none;padding:2px 0;color:var(--acc,#186676);font:600 12px var(--ripa-font-text,Inter,sans-serif)}
.dp-chip.fixed{opacity:.85}
.dp-chip:disabled{opacity:.45}
.dp-tday-move{display:flex;align-items:center;gap:6px;font-size:12.5px;font-weight:600;color:var(--acc,#186676)}
.dp-tday-move svg{width:15px;height:15px}
.dp-link{margin-left:auto;border:0;background:none;color:var(--acc,#186676);font:600 13px var(--ripa-font-text,Inter,sans-serif);padding:4px 2px;flex:none}
.dp-lvl.g{background:#2f9e5b}
.dp-ways{display:flex;flex-wrap:wrap;gap:8px}.dp-ways .dp-btn{flex:none}
/* The skier's own call: consent, the red own-call note, lines the bulletin rates Avoid. */
.dp-alert.risk{background:#fde9e5;color:#7a1f12;align-items:flex-start}
.dp-alert.risk b{font-weight:700}
html[data-theme="t"] .dp-alert.risk{background:#4a1d17;color:#ffd9d2}
.dp-anyway{align-self:flex-start;flex:none}
.dp-ticks{display:grid;gap:8px}
.dp-tick{display:flex;align-items:flex-start;gap:10px;padding:11px 12px;border:0;border-radius:14px;background:var(--soft,#eaf0f4);color:inherit;text-align:left;font:500 14px/1.35 var(--ripa-font-text,Inter,sans-serif)}
.dp-tick i{flex:none;width:22px;height:22px;border-radius:7px;border:2px solid var(--mut,#526e7b);display:grid;place-items:center;font-style:normal;font-weight:700;font-size:14px}
.dp-tick.on i{background:var(--btn,#12202c);border-color:var(--btn,#12202c);color:var(--btnink,#fff)}
.dp-tag.avoid{background:#fde0db;color:#a3281a}

/* Your day as rows of choices (Ludwig 2026-11-23: every option in view, the chosen one filled). */
.dp-sets{display:grid;gap:8px}
.dp-set{display:grid;grid-template-columns:62px 1fr;align-items:center;gap:8px}
.dp-sl{font-size:12.5px;font-weight:600;color:var(--mut,#526e7b)}
.dp-seg{display:flex;gap:3px;padding:3px;border-radius:12px;background:var(--soft,#eaf0f4)}
.dp-seg button{flex:1;display:flex;align-items:center;justify-content:center;gap:6px;min-height:36px;padding:0 6px;border:0;border-radius:9px;background:none;color:var(--text,#183746);font:600 13.5px/1.1 var(--ripa-font-text,Inter,sans-serif);white-space:nowrap;transition:background-color .12s,color .12s}
.dp-seg button.on{background:var(--btn,#012F56);color:var(--btnink,#fff);box-shadow:0 1px 3px rgba(11,36,64,.18)}
.dp-dot{width:9px;height:9px;border-radius:50%;flex:none;box-shadow:0 0 0 1.5px rgba(255,255,255,.8)}
.dp-dot.g{background:#2f9e5b}.dp-dot.b{background:#2a6fd6}.dp-dot.r{background:#d6452f}.dp-dot.k{background:#111820}
.dp-time{display:flex;align-items:center;gap:8px;min-height:42px;padding:0 12px;border:0;border-radius:12px;background:var(--soft,#eaf0f4);color:var(--text,#183746);font-family:inherit;text-align:left}
.dp-time svg{width:18px;height:18px}
.dp-time b{flex:1;font-size:13.5px}
.dp-time small{font-size:12px;font-weight:600;color:var(--acc,#1D4E89)}
.dp-time.on{box-shadow:inset 0 0 0 2px var(--btn,#012F56)}
.dp-setnote{margin:-2px 0 0 70px;font-size:12px;color:var(--mut,#526e7b)}
.dp-kit{display:flex;align-items:center;gap:10px;width:100%;margin-top:4px;padding:10px 12px;border:0;border-radius:12px;background:var(--soft,#eaf0f4);color:inherit;text-align:left;font-family:inherit}
.dp-kit>span{flex:1;display:grid;min-width:0}
.dp-kit b{font-size:13.5px;font-weight:600}
.dp-kit small{font-size:11.5px;line-height:1.3;color:var(--mut,#526e7b)}
.dp-kit.warn .dp-pi{background:#fde9e5;color:#d6452f}.dp-kit.warn b{color:#b3321e}
.dp-kit .dp-check{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;font-style:normal;font-weight:700;font-size:13px;box-shadow:inset 0 0 0 2px var(--line,#cbd6df)}
.dp-kit.ok .dp-check{background:var(--btn,#012F56);color:var(--btnink,#fff);box-shadow:none}
.dp-card .dp-tile,.dp-card .dp-terrain{transition:box-shadow .12s,background-color .12s}

html.dp-open .place-pin{display:none!important}
.dp-foot-q{flex-direction:column}
.dp-answer{display:grid;gap:8px;max-height:34vh;overflow-y:auto;animation:dp-answer .28s ease-out}
.dp-answer .dp-problem{margin:0}
.dp-answer .dp-ways{margin:0}
@keyframes dp-answer{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}

/* Ski down (Plan): pins A and B, the ways between them. */
.sd-way{display:flex;align-items:center;gap:10px;width:100%;padding:11px 12px;border:2px solid transparent;border-radius:14px;background:var(--soft,#eaf0f4);color:inherit;text-align:left;font-family:inherit}
.sd-way+.sd-way{margin-top:6px}
.sd-way.on{border-color:var(--btn,#012F56);background:var(--card,#fff)}
.sd-way>i{flex:none;width:6px;align-self:stretch;border-radius:3px}
.sd-way>span{flex:1;display:grid;min-width:0}
.sd-way b{font-size:14.5px;font-weight:600}
.sd-way small{font-size:12.5px;color:var(--mut,#526e7b)}
.sd-busy{margin:6px 0;font-size:14px;color:var(--mut,#526e7b)}
.sd-pin{transform:translate(-50%,-50%)}
.sd-pin .b{font:800 13px var(--ripa-font-text,Inter,sans-serif)}
.sd-pin.end .b{background:#FA8C1F}
.sd-aim.b path{fill:#FA8C1F}
.dp-pick b{display:block;font-size:12px;letter-spacing:.04em;text-transform:uppercase;color:var(--mut,#526e7b);margin-bottom:2px}
