/* Time away (timeaway.js; the "MODE Time Away" canvas). Theme tokens only; the trip pictures are
   drawn scenes (same in every theme, like Today's photos), the Mode colors are fixed like modes.js's. */
.ta-sheet { --ta-track: var(--bg3); --ta-soft: var(--bg3); }
.ta-sheet h2 { margin: 2px 0 12px; font-size: 21px; }
.ta-sheet h2.ta-c, .ta-lead { text-align: center; }
.ta-lead { color: var(--text2); font-size: 14.5px; margin: -4px 0 16px; }
.ta-q { font-size: 11.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--text2); font-weight: 600; margin: 16px 0 8px; }
.ta-q2 { font-size: 17px; font-weight: 800; margin: 2px 2px 10px; }
.ta-kinds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.ta-kind { display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 8px 10px; border-radius: var(--radius-sm); border: 1.5px solid transparent; background: var(--bg3); color: var(--text); font: inherit; text-align: left; cursor: pointer; }
.ta-kind b { display: block; font-size: 14px; line-height: 1.2; }
.ta-kind small { display: block; font-size: 11.5px; color: var(--text2); margin-top: 1px; line-height: 1.25; }
.ta-kind.on { border-color: var(--tc); background: color-mix(in srgb, var(--tc) 14%, var(--bg3)); }
.ta-sq { width: 12px; height: 12px; border-radius: 3px; flex-shrink: 0; background: var(--tc); }
.ta-dates { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.ta-dates label { display: block; background: var(--bg3); border-radius: var(--radius-sm); padding: 7px 10px 6px; }
.ta-dates span { display: block; font-size: 11.5px; color: var(--text2); }
.ta-dates input { width: 100%; border: 0; background: none; color: var(--text); font: inherit; font-size: 15px; font-weight: 700; padding: 2px 0; min-height: 28px; }
.ta-note { display: block; font-size: 12.5px; color: var(--text2); margin-top: 6px; }
.ta-inp { width: 100%; box-sizing: border-box; height: 44px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--bg); color: var(--text); font: inherit; font-size: 15px; padding: 0 12px; }
.ta-ta { height: 64px; padding: 10px 12px; resize: none; margin-top: 4px; }
.ta-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ta-chip { min-height: 36px; padding: 0 13px; border-radius: 18px; border: 1px solid var(--border); background: var(--bg3); color: var(--text); font: inherit; font-size: 13.5px; cursor: pointer; }
.ta-chip.on { background: var(--primary); border-color: transparent; color: var(--on-accent); font-weight: 600; }
.ta-gap { height: 6px; }
.ta-go { margin-top: 18px; }
.ta-lnk { margin-top: 8px; }
.ta-red { color: var(--red) !important; }
.ta-red-bg { background: var(--red) !important; }
.ta-why { font-size: 13px; color: var(--text2); line-height: 1.45; margin: -6px 2px 14px; }

/* The plan */
.ta-hero { position: relative; height: 168px; border-radius: var(--radius); overflow: hidden; margin: 0 0 16px; display: flex; align-items: flex-end; }
.ta-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.6) 100%); }
.ta-cap { position: relative; z-index: 1; padding: 0 16px 14px; color: #fff; min-width: 0; }
.ta-mp { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 12px; background: rgba(0,0,0,.5); color: #fff; font-weight: 700; font-size: 12px; }
.ta-mp .ta-sq { width: 8px; height: 8px; border-radius: 2px; }
.ta-h1 { font-size: 30px; font-weight: 900; letter-spacing: -.01em; line-height: 1.1; margin-top: 6px; overflow-wrap: anywhere; }
.ta-hd { font-size: 14px; font-weight: 600; opacity: .95; }
.ta-sec { font-size: 11.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--text2); font-weight: 600; margin: 0 2px 8px; }
.ta-plan { background: var(--bg3); border-radius: var(--radius); margin-bottom: 16px; }
.ta-it { display: flex; align-items: center; gap: 14px; padding: 12px 14px; width: 100%; box-sizing: border-box; border: 0; background: none; color: var(--text); font: inherit; text-align: left; }
button.ta-it { cursor: pointer; }
.ta-it + .ta-it, .ta-list + .ta-it, .ta-it + .ta-list { border-top: 1px solid var(--border); }
.ta-bub { width: 42px; height: 42px; border-radius: 21px; display: grid; place-items: center; flex-shrink: 0; }
.ta-bub svg { width: 21px; height: 21px; }
.ta-bub.lift { background: var(--green-soft); color: var(--green); }
.ta-bub.food { background: var(--accent-soft); color: var(--accent); }
.ta-bub.walk { background: var(--cardio-soft); color: var(--cardio); }
.ta-bub.rest { background: var(--bg4); color: var(--text2); }
.ta-g { flex: 1; min-width: 0; }
.ta-g b { display: block; font-size: 16px; }
.ta-g small { display: block; font-size: 12.5px; color: var(--text2); margin-top: 2px; line-height: 1.35; }
.ta-chev { color: var(--text3); font-size: 20px; }
.ta-pill b { display: inline-flex; align-items: center; gap: 6px; }
.ta-pill .ta-sq { width: 9px; height: 9px; border-radius: 2px; background: var(--tc); flex-shrink: 0; }
.ta-asks { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.ta-asks button { display: inline-flex; align-items: center; gap: 7px; min-height: 34px; padding: 0 12px; border-radius: 17px; border: 1px solid var(--border); background: none; color: var(--text); font: inherit; font-size: 13px; cursor: pointer; }
.ta-asks i { width: 9px; height: 9px; border-radius: 2px; flex-shrink: 0; }
.ta-warn { display: flex; gap: 10px; align-items: flex-start; margin-top: 10px; padding: 10px 12px; border-radius: var(--radius-sm); background: var(--accent-soft); color: var(--text); font-size: 13px; line-height: 1.4; }
.ta-warn svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--accent); margin-top: 1px; }
.ta-tog { display: inline-flex; align-items: center; gap: 6px; }
.ta-tick { font-weight: 800; }
/* The trip's week, day by day */
.ta-days { border-top: 1px solid var(--border); padding: 6px 10px 10px; display: flex; flex-direction: column; gap: 6px; }
.ta-day { display: flex; align-items: center; gap: 12px; padding: 6px 4px; }
.ta-day.wk { align-items: flex-start; background: var(--bg2); border-radius: var(--radius-sm); padding: 12px 12px 10px 4px; border-left: 3px solid var(--green); }
.ta-day.moving { border-left-color: var(--accent); }
.ta-dd { width: 46px; flex-shrink: 0; text-align: center; line-height: 1.15; }
.ta-dd b { display: block; font-size: 13px; }
.ta-dd small { display: block; font-size: 11px; color: var(--text2); }
.ta-day.wk .ta-dd b { color: var(--green); }
.ta-off { font-size: 13.5px; color: var(--text2); }
.ta-day.travel .ta-off { font-style: italic; }
.ta-db { flex: 1; min-width: 0; }
.ta-dt { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ta-dt b { font-size: 15px; min-width: 0; overflow-wrap: anywhere; }
.ta-mv { flex-shrink: 0; height: 28px; padding: 0 11px; border-radius: 14px; border: 1px solid var(--border); background: var(--bg3); color: var(--text); font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; }
.ta-mv.on { border-color: var(--accent); color: var(--accent); }
.ta-exs { list-style: none; margin: 6px 0 0; padding: 0; }
.ta-exs li { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; padding: 3px 0; }
.ta-exs li span { min-width: 0; }
.ta-exs li small { flex-shrink: 0; color: var(--text2); font-variant-numeric: tabular-nums; font-size: 12.5px; }
.ta-pick { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--border); }
.ta-pick > span { display: block; font-size: 12px; color: var(--text2); margin-bottom: 6px; }
.ta-days-ft { font-size: 12px; color: var(--text2); padding: 4px 4px 0 62px; }
.ta-list { padding: 4px 14px 10px 70px; }
.ta-list > div { padding: 6px 0; }
.ta-list b { display: block; font-size: 13.5px; }
.ta-list small { display: block; font-size: 12px; color: var(--text2); line-height: 1.35; }
.ta-cov { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 14px; }
.ta-cov > div { display: flex; align-items: center; gap: 8px; background: var(--bg3); border-radius: var(--radius-sm); padding: 10px 12px; font-size: 13.5px; font-weight: 600; }
.ta-ck { width: 20px; height: 20px; border-radius: 10px; background: var(--green-soft); color: var(--green); display: grid; place-items: center; font-size: 11px; font-weight: 800; flex-shrink: 0; }
.ta-ret { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--text2); margin: 0 2px 14px; }
.ta-ret svg { width: 18px; height: 18px; flex-shrink: 0; }

/* The check-in when you're back */
.ta-steps { display: flex; justify-content: center; gap: 4px; margin: 0 0 10px; }
.ta-steps i { width: 28px; height: 4px; border-radius: 2px; background: var(--bg4); }
.ta-steps i.on { background: var(--primary); }
.ta-recap { display: flex; justify-content: center; gap: 28px; background: var(--bg3); border-radius: var(--radius); padding: 16px 0; margin-bottom: 20px; }
.ta-ring { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12.5px; color: var(--text2); }
.ta-ring text { fill: var(--text); font-size: 16px; font-weight: 800; }
.ta-opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 20px; }
.ta-o { min-height: 90px; border-radius: var(--radius); border: 2px solid transparent; background: var(--bg3); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; font: inherit; font-size: 13.5px; font-weight: 600; color: var(--text); cursor: pointer; }
.ta-o svg { width: 28px; height: 28px; }
.ta-o.on { border-color: var(--accent); background: var(--accent-faint); }
.ta-art { display: flex; justify-content: center; margin: 8px 0 14px; }
.ta-wk { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; background: var(--bg3); border-radius: var(--radius); padding: 12px 8px; }
.ta-wk > div { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 11.5px; color: var(--text2); }
.ta-wk i { width: 26px; height: 26px; border-radius: 13px; border: 2px dashed var(--border); box-sizing: border-box; position: relative; }
.ta-wk .ok i { border: 0; background: var(--green); }
.ta-wk .ok i::after { content: ""; position: absolute; left: 9px; top: 6px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.ta-wk .ok span { color: var(--text); font-weight: 700; }
.ta-before { display: flex; justify-content: space-between; align-items: center; margin: 12px 4px 0; font-size: 14px; color: var(--text2); }
.ta-before b { color: var(--text); font-size: 16px; }
.ta-quote { background: var(--bg3); border-radius: var(--radius); padding: 18px 16px; margin: 4px 0 18px; }
.ta-who { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.ta-av { flex-shrink: 0; width: 36px; height: 36px; border-radius: 18px; background: var(--tc); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 15px; }
.ta-who b { display: block; font-size: 15px; }
.ta-who div span { display: block; font-size: 12px; color: var(--text2); }
.ta-quote p { font-size: 19px; line-height: 1.38; font-weight: 700; margin: 0; }

/* Today: the agenda's icon for time away rows */
.hm-ic.ta { background: color-mix(in srgb, #22b8c8 18%, transparent); color: #22b8c8; }

/* The trip pictures (Today's photo card: .hm-img.ta-sc-*; the plan's top: .ta-hero), drawn SVG scenes */
.ta-sc-vacation { background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 360 210%27 preserveAspectRatio=%27xMidYMid slice%27%3E%3Crect width=%27360%27 height=%27210%27 fill=%27%235bb8cf%27/%3E%3Ccircle cx=%27280%27 cy=%2758%27 r=%2730%27 fill=%27%23ffd27a%27/%3E%3Crect y=%27108%27 width=%27360%27 height=%2744%27 fill=%27%231b8aa0%27/%3E%3Cpath d=%27M0 116 q20 -6 40 0 t40 0 t40 0 t40 0 t40 0 t40 0 t40 0 t40 0 t40 0%27 stroke=%27%237fd8e6%27 stroke-width=%272%27 fill=%27none%27 opacity=%27.7%27/%3E%3Crect y=%27150%27 width=%27360%27 height=%2760%27 fill=%27%23e7cf9c%27/%3E%3Cpath d=%27M56 172 C60 136.0 68 110.0 86 88.0%27 stroke=%27%235a4330%27 stroke-width=%277.0%27 fill=%27none%27 stroke-linecap=%27round%27/%3E%3Cpath d=%27M86 88.0 c-22 -6 -40 2 -48 14 M86 88.0 c20 -12 38 -6 46 6 M86 88.0 c-6 -20 0 -32 10 -40 M86 88.0 c-18 -16 -34 -14 -44 -6%27 stroke=%27%232f7a4a%27 stroke-width=%278.0%27 fill=%27none%27 stroke-linecap=%27round%27/%3E%3C/svg%3E"); background-size: cover; background-position: center; }
.ta-sc-travel { background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 360 210%27 preserveAspectRatio=%27xMidYMid slice%27%3E%3Crect width=%27360%27 height=%27210%27 fill=%27%232b2f5e%27/%3E%3Crect y=%27120%27 width=%27360%27 height=%2790%27 fill=%27%233e4380%27/%3E%3Ccircle cx=%27292%27 cy=%2752%27 r=%2718%27 fill=%27%23f4c26b%27 opacity=%27.9%27/%3E%3Cpath d=%27M30 120 C110 30 230 20 330 60%27 stroke=%27%23ffffff%27 stroke-width=%272.5%27 stroke-dasharray=%273 8%27 fill=%27none%27 stroke-linecap=%27round%27 opacity=%27.85%27/%3E%3Cg transform=%27translate%28330 60%29 rotate%2822%29%27%3E%3Cpath d=%27M-13 0 L13 0 M2 -9 L8 0 L2 9 M-9 -4 L-11 0 L-9 4%27 stroke=%27%23fff%27 stroke-width=%273%27 fill=%27none%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27/%3E%3C/g%3E%3Cpath d=%27M0 210 V150 h26 v-30 h22 v18 h18 v-44 h30 v56 h16 v-24 h24 v34 h20 v-62 h28 v48 h18 v-20 h26 v36 h22 v-50 h30 v40 h20 v-26 h20 v74 z%27 fill=%27%23191b38%27/%3E%3Cg fill=%27%23f4c26b%27 opacity=%27.75%27%3E%3Crect x=%27104%27 y=%27104%27 width=%274%27 height=%275%27/%3E%3Crect x=%27114%27 y=%27120%27 width=%274%27 height=%275%27/%3E%3Crect x=%27186%27 y=%2796%27 width=%274%27 height=%275%27/%3E%3Crect x=%27196%27 y=%27112%27 width=%274%27 height=%275%27/%3E%3Crect x=%27278%27 y=%27130%27 width=%274%27 height=%275%27/%3E%3Crect x=%2732%27 y=%27132%27 width=%274%27 height=%275%27/%3E%3C/g%3E%3C/svg%3E"); background-size: cover; background-position: center; }
.ta-sc-recovery { background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 360 210%27 preserveAspectRatio=%27xMidYMid slice%27%3E%3Crect width=%27360%27 height=%27210%27 fill=%27%232a2238%27/%3E%3Cg fill=%27%23f3e3c3%27%3E%3Ccircle cx=%2770%27 cy=%2740%27 r=%271.6%27/%3E%3Ccircle cx=%27130%27 cy=%2722%27 r=%271.2%27/%3E%3Ccircle cx=%27200%27 cy=%2748%27 r=%271.4%27/%3E%3Ccircle cx=%27320%27 cy=%2730%27 r=%271.2%27/%3E%3Ccircle cx=%27250%27 cy=%2718%27 r=%271%27/%3E%3C/g%3E%3Ccircle cx=%27282%27 cy=%2766%27 r=%2726%27 fill=%27%23f3e3c3%27/%3E%3Ccircle cx=%27294%27 cy=%2758%27 r=%2724%27 fill=%27%232a2238%27/%3E%3Cpath d=%27M0 150 C70 110 140 120 200 140 S310 130 360 112 V210 H0 z%27 fill=%27%234b3b5c%27/%3E%3Cpath d=%27M0 176 C90 150 180 160 250 172 S330 166 360 158 V210 H0 z%27 fill=%27%233a2f4a%27/%3E%3C/svg%3E"); background-size: cover; background-position: center; }
.ta-sc-headdown { background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 360 210%27 preserveAspectRatio=%27xMidYMid slice%27%3E%3Crect width=%27360%27 height=%27210%27 fill=%27%233a2a20%27/%3E%3Crect x=%27196%27 y=%2722%27 width=%27120%27 height=%2792%27 rx=%274%27 fill=%27%2324324a%27/%3E%3Cpath d=%27M256 22 V114 M196 68 H316%27 stroke=%27%233a2a20%27 stroke-width=%275%27/%3E%3Cg fill=%27%23f4c26b%27 opacity=%27.6%27%3E%3Crect x=%27206%27 y=%2780%27 width=%278%27 height=%2710%27/%3E%3Crect x=%27226%27 y=%2792%27 width=%278%27 height=%2710%27/%3E%3Crect x=%27270%27 y=%2784%27 width=%278%27 height=%2710%27/%3E%3Crect x=%27292%27 y=%2796%27 width=%278%27 height=%2710%27/%3E%3Crect x=%27214%27 y=%2736%27 width=%276%27 height=%278%27/%3E%3Crect x=%27286%27 y=%2740%27 width=%276%27 height=%278%27/%3E%3C/g%3E%3Cpath d=%27M78 64 L118 64 L132 108 L64 108 z%27 fill=%27%23ffd27a%27 opacity=%27.22%27/%3E%3Cpath d=%27M88 44 L112 44 L118 64 L78 64 z%27 fill=%27%23c08050%27/%3E%3Cpath d=%27M100 44 V26 M100 26 L130 16%27 stroke=%27%238a5a3a%27 stroke-width=%274%27 stroke-linecap=%27round%27/%3E%3Crect y=%27150%27 width=%27360%27 height=%2760%27 fill=%27%235a3d2a%27/%3E%3Crect x=%27120%27 y=%27118%27 width=%27110%27 height=%2734%27 rx=%274%27 fill=%27%231d1d1d%27/%3E%3Crect x=%27110%27 y=%27148%27 width=%27130%27 height=%276%27 rx=%273%27 fill=%27%232e2e2e%27/%3E%3C/svg%3E"); background-size: cover; background-position: center; }
.ta-sc-zone { background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 360 210%27 preserveAspectRatio=%27xMidYMid slice%27%3E%3Crect width=%27360%27 height=%27210%27 fill=%27%2314292d%27/%3E%3Ccircle cx=%27250%27 cy=%2774%27 r=%2760%27 fill=%27%231b4a52%27/%3E%3Cpath d=%27M196 52 q30 -14 58 6 q22 16 46 2 M192 88 q34 12 60 -2 q24 -12 50 4%27 stroke=%27%232c7480%27 stroke-width=%277%27 fill=%27none%27 stroke-linecap=%27round%27/%3E%3Cpath d=%27M80 124 C130 34 220 14 300 44%27 stroke=%27%239eeef6%27 stroke-width=%272.5%27 stroke-dasharray=%273 8%27 fill=%27none%27 stroke-linecap=%27round%27/%3E%3Cg transform=%27translate%28300 44%29 rotate%2820%29%27%3E%3Cpath d=%27M-13 0 L13 0 M2 -9 L8 0 L2 9 M-9 -4 L-11 0 L-9 4%27 stroke=%27%23fff%27 stroke-width=%273%27 fill=%27none%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27/%3E%3C/g%3E%3Ccircle cx=%2780%27 cy=%27124%27 r=%275%27 fill=%27%239eeef6%27/%3E%3C/svg%3E"); background-size: cover; background-position: center; }

/* Destination photos (img/home/trip-*.webp, img/home/CREDITS.md; TA.photoOf picks one). */
.ta-ph-beach { background-image: url(img/home/trip-beach.webp); background-size: cover; background-position: center; }
.ta-ph-mexico { background-image: url(img/home/trip-mexico.webp); background-size: cover; background-position: center 60%; }
.ta-ph-desert { background-image: url(img/home/trip-desert.webp); background-size: cover; background-position: center 70%; }
.ta-ph-mountain-summer { background-image: url(img/home/trip-mountain-summer.webp); background-size: cover; background-position: center; }
.ta-ph-mountain-snow { background-image: url(img/home/trip-mountain-snow.webp); background-size: cover; background-position: center 30%; }
.ta-ph-city { background-image: url(img/home/trip-city.webp); background-size: cover; background-position: center; }
.ta-ph-city-street { background-image: url(img/home/trip-city-street.webp); background-size: cover; background-position: center 40%; }
.ta-ph-oldtown { background-image: url(img/home/trip-oldtown.webp); background-size: cover; background-position: center; }
.ta-ph-lake { background-image: url(img/home/trip-lake.webp); background-size: cover; background-position: center; }
.ta-ph-work { background-image: url(img/home/trip-work.webp); background-size: cover; background-position: center; }
.ta-ph-calm { background-image: url(img/home/trip-calm.webp); background-size: cover; background-position: center 40%; }
.ta-ph-tokyo { background-image: url(img/home/trip-tokyo.webp); background-size: cover; background-position: center; }
.ta-ph-london { background-image: url(img/home/trip-london.webp); background-size: cover; background-position: center 30%; }
.ta-ph-paris { background-image: url(img/home/trip-paris.webp); background-size: cover; background-position: center 30%; }
.ta-ph-vegas { background-image: url(img/home/trip-vegas.webp); background-size: cover; background-position: center; }
.ta-ph-greece { background-image: url(img/home/trip-greece.webp); background-size: cover; background-position: center; }
.ta-ph-wine { background-image: url(img/home/trip-wine.webp); background-size: cover; background-position: center; }
.ta-ph-rome { background-image: url(img/home/trip-rome.webp); background-size: cover; background-position: center; }

/* The sheet, redrawn (round 6): a photo on top that follows where you're going, cards, segments, switches */
.ta-top { position: relative; height: 132px; border-radius: var(--radius); overflow: hidden; margin: 0 0 12px; display: flex; align-items: flex-end; background-color: var(--bg3); transition: background-image .2s; }
.ta-top::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05) 20%, rgba(0,0,0,.62) 100%); }
.ta-top-cap { position: relative; z-index: 1; padding: 0 14px 12px; color: #fff; min-width: 0; }
.ta-top .ta-h1 { font-size: 24px; margin-top: 4px; }
.ta-card { background: var(--bg3); border-radius: var(--radius); padding: 12px; margin-top: 10px; }
.ta-card .ta-dates label { background: var(--bg2); }
.ta-ch { font-size: 13px; font-weight: 700; margin: 0 2px 8px; }
.ta-card .ta-chip { background: var(--bg2); }
.ta-card .ta-chip.on { background: var(--primary); }
.ta-sub { font-size: 12px; color: var(--text2); margin: 12px 2px 6px; }
.ta-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ta-seg { display: flex; background: var(--bg2); border-radius: 10px; padding: 3px; gap: 2px; }
.ta-seg button { flex: 1; min-width: 0; min-height: 36px; border: 0; border-radius: 8px; background: none; color: var(--text); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; padding: 0 4px; }
.ta-seg button.on { background: var(--primary); color: var(--on-accent); }
.ta-card > .ta-seg { margin-top: 2px; }
.ta-where { display: flex; align-items: center; gap: 8px; margin-top: 8px; background: var(--bg2); border-radius: var(--radius-sm); padding: 0 10px; }
.ta-where svg { width: 18px; height: 18px; color: var(--text2); flex-shrink: 0; }
.ta-where input { flex: 1; min-width: 0; height: 44px; border: 0; background: none; color: var(--text); font: inherit; font-size: 15px; outline: none; }
.ta-swr { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; margin-top: 12px; padding: 10px 12px; border: 0; border-radius: var(--radius-sm); background: var(--bg2); color: var(--text); font: inherit; text-align: left; cursor: pointer; }
.ta-swr b { display: block; font-size: 14px; }
.ta-swr small { display: block; font-size: 12px; color: var(--text2); margin-top: 1px; }
.ta-sw { position: relative; width: 44px; height: 26px; border-radius: 13px; background: var(--bg4); flex-shrink: 0; transition: background .15s; }
.ta-sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 10px; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.3); transition: transform .15s; }
.ta-sw.on { background: var(--green); }
.ta-sw.on::after { transform: translateX(18px); }
.ta-foot { position: sticky; bottom: calc(-1 * max(20px, env(safe-area-inset-bottom))); margin: 14px -16px 0; padding: 10px 16px max(12px, env(safe-area-inset-bottom)); background: var(--bg2); box-shadow: 0 -10px 16px -12px rgba(0,0,0,.35); z-index: 2; }

/* The plan, redrawn: strip, tiles, workout cards, weather */
.ta-strip { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; margin: 0 0 12px; }
.ta-sd { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 11px; color: var(--text2); }
.ta-sd i { width: 34px; height: 34px; border-radius: 17px; display: grid; place-items: center; background: var(--bg3); color: var(--text3); }
.ta-sd i svg { width: 17px; height: 17px; }
.ta-sd.workout i { background: var(--green-soft); color: var(--green); }
.ta-sd.workout span { color: var(--text); font-weight: 700; }
.ta-sd.travel i { background: var(--cardio-soft); color: var(--cardio); }
.ta-sd small { font-size: 11px; }
.ta-sd.nw i { box-shadow: 0 0 0 2px var(--accent); }
.ta-sd.nw small { color: var(--accent); font-weight: 700; }
.ta-imps { display: flex; flex-direction: column; }
.ta-imp { display: flex; gap: 10px; padding: 11px 12px; border-radius: var(--radius-sm); background: var(--bg3); margin-bottom: 8px; text-align: left; }
.ta-imp > i { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; flex-shrink: 0; background: var(--bg2); color: var(--text); }
.ta-imp > i svg { width: 17px; height: 17px; }
.ta-imp > div { flex: 1; min-width: 0; }
.ta-imp b { display: block; font-size: 14.5px; }
.ta-imp p { margin: 2px 0 0; font-size: 13px; line-height: 1.4; color: var(--text2); }
.ta-imp.ok { background: var(--green-faint); }
.ta-imp.ok > i { background: var(--green-soft); color: var(--green); }
.ta-imp.rw { background: var(--accent-soft); }
.ta-imp.rw > i { background: var(--bg2); color: var(--accent); }
.ta-imp .ta-strip, .ta-imp .ta-strip.long { margin: 8px 0 0; padding: 0; }
.ta-imp .ta-strip.long .ta-sd { flex-basis: 38px; }
.ta-imp-pick { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.ta-imp-pick button { display: flex; align-items: center; gap: 9px; min-height: 40px; padding: 0 12px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--bg2); color: var(--text); font: inherit; font-size: 13.5px; text-align: left; cursor: pointer; }
.ta-imp-pick button::before { content: ""; width: 16px; height: 16px; border-radius: 8px; border: 2px solid var(--text3); box-sizing: border-box; flex-shrink: 0; }
.ta-imp-pick button.on { border-color: var(--accent); }
.ta-imp-pick button.on::before { border: 5px solid var(--accent); }
.ta-strip.long { display: flex; overflow-x: auto; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin: 0 -16px 12px; padding: 0 16px 2px; gap: 6px; }
.ta-strip.long::-webkit-scrollbar { display: none; }
.ta-strip.long .ta-sd { flex: 0 0 44px; scroll-snap-align: start; }
.ta-wx > svg { color: #fff; }
.ta-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 8px; margin-bottom: 16px; }
.ta-tile { background: var(--bg3); border-radius: var(--radius-sm); padding: 10px 12px; min-width: 0; }
.ta-tile svg { width: 18px; height: 18px; display: block; margin-bottom: 6px; }
.ta-tile b { display: block; font-size: 20px; font-weight: 800; line-height: 1.1; }
.ta-tile span { display: block; font-size: 12px; color: var(--text2); margin-top: 2px; line-height: 1.3; }
.ta-tile.lift svg { color: var(--green); }
.ta-tile.food svg { color: var(--accent); }
.ta-tile.walk svg { color: var(--cardio); }
.ta-tile.rest svg { color: var(--text2); }
.ta-sec { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.ta-sec span { text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--text3); font-size: 12px; }
.ta-wos { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.ta-wo { background: var(--bg3); border-radius: var(--radius); padding: 12px 14px; }
.ta-wo.moving { box-shadow: inset 0 0 0 1.5px var(--accent); }
.ta-wo-h { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; color: var(--green); text-transform: uppercase; letter-spacing: .05em; }
.ta-wo-t { display: block; font-size: 17px; margin: 2px 0 2px; overflow-wrap: anywhere; }
.ta-wo .ta-mv { display: inline-flex; align-items: center; gap: 5px; text-transform: none; letter-spacing: 0; background: var(--bg2); }
.ta-mv svg { width: 14px; height: 14px; }
.ta-wo .ta-chip { background: var(--bg2); }
.ta-wx { position: absolute; top: 10px; right: 10px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 11px 0 7px; border-radius: 15px; background: rgba(0,0,0,.45); color: #fff; font-size: 12px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.ta-wx svg { width: 19px; height: 19px; }
.ta-wx b { font-size: 14.5px; }
.ta-wx span { opacity: .92; white-space: nowrap; }


/* More destination photos (round 7) */
.ta-ph-nyc { background-image: url(img/home/trip-nyc.webp); background-size: cover; background-position: center; }
.ta-ph-sf { background-image: url(img/home/trip-sf.webp); background-size: cover; background-position: center; }
.ta-ph-nashville { background-image: url(img/home/trip-nashville.webp); background-size: cover; background-position: center; }
.ta-ph-new-orleans { background-image: url(img/home/trip-new-orleans.webp); background-size: cover; background-position: center; }
.ta-ph-dc { background-image: url(img/home/trip-dc.webp); background-size: cover; background-position: center; }
.ta-ph-miami { background-image: url(img/home/trip-miami.webp); background-size: cover; background-position: center; }
.ta-ph-hawaii { background-image: url(img/home/trip-hawaii.webp); background-size: cover; background-position: center; }
.ta-ph-iceland { background-image: url(img/home/trip-iceland.webp); background-size: cover; background-position: center; }
.ta-ph-alaska { background-image: url(img/home/trip-alaska.webp); background-size: cover; background-position: center; }
.ta-ph-amsterdam { background-image: url(img/home/trip-amsterdam.webp); background-size: cover; background-position: center; }
.ta-ph-barcelona { background-image: url(img/home/trip-barcelona.webp); background-size: cover; background-position: center; }
.ta-ph-venice { background-image: url(img/home/trip-venice.webp); background-size: cover; background-position: center; }
.ta-ph-dubai { background-image: url(img/home/trip-dubai.webp); background-size: cover; background-position: center; }
.ta-ph-bali { background-image: url(img/home/trip-bali.webp); background-size: cover; background-position: center; }
.ta-ph-thailand { background-image: url(img/home/trip-thailand.webp); background-size: cover; background-position: center; }
.ta-ph-sydney { background-image: url(img/home/trip-sydney.webp); background-size: cover; background-position: center; }
.ta-ph-rio { background-image: url(img/home/trip-rio.webp); background-size: cover; background-position: center; }
.ta-ph-peru { background-image: url(img/home/trip-peru.webp); background-size: cover; background-position: center; }
.ta-ph-costa-rica { background-image: url(img/home/trip-costa-rica.webp); background-size: cover; background-position: center; }
.ta-ph-ireland { background-image: url(img/home/trip-ireland.webp); background-size: cover; background-position: center; }
.ta-ph-grand-canyon { background-image: url(img/home/trip-grand-canyon.webp); background-size: cover; background-position: center; }
.ta-ph-yosemite { background-image: url(img/home/trip-yosemite.webp); background-size: cover; background-position: center; }
.ta-ph-cruise { background-image: url(img/home/trip-cruise.webp); background-size: cover; background-position: center; }
.ta-ph-golf { background-image: url(img/home/trip-golf.webp); background-size: cover; background-position: center; }

/* Who made the trip workouts; notes and superset letters on moves */
.ta-by { background: var(--bg3); border-radius: var(--radius-sm); padding: 10px 12px; margin: -2px 0 10px; font-size: 13px; color: var(--text2); }
.ta-by b { color: var(--text); font-size: 14px; }
.ta-by small { display: block; margin-top: 4px; font-size: 12px; }
.ta-by.busy { display: flex; align-items: center; gap: 10px; color: var(--text); }
.ta-by.coach { box-shadow: inset 0 0 0 1.5px var(--accent); }
.ta-spin { width: 16px; height: 16px; border-radius: 8px; border: 2px solid var(--border); border-top-color: var(--accent); animation: ta-spin .8s linear infinite; flex-shrink: 0; }
@keyframes ta-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .ta-spin { animation: none; } }
.ta-by.busy small { display: block; color: var(--text2); font-size: 12px; margin-top: 2px; }
.ta-wait .ta-wo-h { color: var(--text2); }
.ta-exs li .ta-bar { display: block; height: 12px; width: 58%; border-radius: 6px; background: linear-gradient(90deg, var(--bg4) 0%, var(--bg2) 50%, var(--bg4) 100%); background-size: 200% 100%; animation: ta-shim 1.3s linear infinite; }
.ta-exs li .ta-bar.s { width: 44px; }
.ta-wait .ta-exs li { padding: 6px 0; }
@keyframes ta-shim { from { background-position: 100% 0; } to { background-position: -100% 0; } }
@media (prefers-reduced-motion: reduce) { .ta-exs li .ta-bar { animation: none; } }
.ta-ask { display: flex; gap: 6px; margin-top: 8px; }
.ta-ask { align-items: flex-end; }
/* Grows with what you type (coach.js _coGrow): the outline is a shadow so scrollHeight is the whole box. */
.ta-ask textarea { flex: 1; min-width: 0; display: block; min-height: 36px; max-height: 128px; resize: none; overflow-y: auto; border: 0; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--border); background: var(--bg2); color: var(--text); font: inherit; font-size: 16px; line-height: 20px; padding: 8px 10px; }
.ta-sd.rest.cardio i { background: var(--cardio-soft); color: var(--cardio); }
.ta-cd .ta-wo-h { color: var(--cardio); }
.ta-cd-n { margin-top: 2px; font-size: 13px; color: var(--text2); }
.ta-cd-l { display: flex; gap: 7px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--border); font-size: 13px; font-weight: 600; color: var(--text); }
.ta-cd-l svg { flex-shrink: 0; margin-top: 2px; color: var(--cardio); }
.ta-cd-l em { display: block; font-style: normal; font-weight: 400; color: var(--text2); }
.ta-exs li span em { display: block; font-style: normal; font-size: 11.5px; color: var(--text2); margin-top: 1px; }
.ta-ss { font-style: normal; font-size: 10.5px; font-weight: 800; color: var(--accent); background: var(--accent-soft); border-radius: 4px; padding: 1px 4px; margin-right: 6px; vertical-align: 1px; }

