/* "What I'm taking" (WHAT_IM_TAKING_ENABLED, default off): My Plan cards and their sheets (taking.js). Built on the
   Journey theme tokens (journey-v2.css .j2-theme): Pearl by day, Smoke by night, bronze primary. */
.tk-wrap { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.tk-card .tk-note { margin: -6px 0 0; font-size: 13px; line-height: 1.45; color: var(--j2-ink-2); }
.tk-row { display: flex; align-items: center; gap: 10px; min-height: 58px; width: 100%; padding: 10px 0; border: 0; border-top: 1px solid var(--j2-line); background: none; color: inherit; text-align: left; cursor: pointer; font: inherit; }
.tk-row:first-of-type { border-top: 0; }
.tk-row.tk-static { cursor: default; }
.tk-grow { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.tk-grow b { font-weight: 500; font-size: 15.5px; overflow-wrap: anywhere; }
.tk-grow span { font-size: 12.5px; color: var(--j2-ink-3); }
.tk-chev { color: var(--j2-ink-3); flex: none; width: 16px; height: 16px; }
.tk-pill { flex: none; font: 10px/1 var(--j2-label); letter-spacing: .12em; text-transform: uppercase; padding: 5px 9px; border-radius: 999px; border: 1px solid var(--j2-line); color: var(--j2-ink-3); }
.tk-pill.tk-on { color: var(--j2-sand-text); border-color: var(--j2-hair); }
.tk-empty { margin: 0; font-size: 14px; color: var(--j2-ink-3); }
.tk-add { width: 100%; }
.tk-sk { min-height: 168px; }

/* Sheets */
.tk-scrim .j2-sheet { display: flex; flex-direction: column; }
.tk-sub { margin: -4px 0 12px; font-size: 13px; line-height: 1.45; color: var(--j2-ink-2); }
.tk-sec { border: 1px solid var(--j2-hair); border-radius: 20px; padding: 14px 16px; margin: 0; background: var(--j2-glass); }
.tk-sec > .j2-eye { display: block; margin-bottom: 6px; }
.tk-sec p { margin: 6px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--j2-ink-2); }
.tk-m { padding: 12px 0; border-top: 1px solid var(--j2-line); }
.tk-m:first-of-type { border-top: 0; }
.tk-mrow { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.tk-mrow b { font-weight: 500; font-size: 14.5px; }
.tk-delta { font: 500 15px/1.2 var(--j2-num); white-space: nowrap; font-variant-numeric: tabular-nums; }
.tk-ba { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 4px; font-size: 12.5px; color: var(--j2-ink-3); }
.tk-lab { flex: none; font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--j2-line); color: var(--j2-ink-3); white-space: nowrap; }
.tk-lab.tk-l-clear { color: var(--j2-sand-text); border-color: var(--j2-sand); background: var(--j2-span); }
.tk-lab.tk-l-early { color: var(--j2-sand-text); border-color: var(--j2-hair); }
.tk-spark { display: block; width: 100%; height: 34px; margin-top: 8px; }
.tk-spark path { fill: none; stroke: var(--j2-sand); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.tk-spark line, .tk-chart .tk-mk line { stroke: var(--j2-ink-3); stroke-width: 1; stroke-dasharray: 3 3; }
.tk-acts { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.tk-acts .j2-btn { width: 100%; }
.tk-how summary { cursor: pointer; font-size: 13px; color: var(--j2-ink-2); list-style: none; padding: 6px 0; }
.tk-how summary::-webkit-details-marker { display: none; }
.tk-how p { margin: 4px 0 0; font-size: 12.5px; }

/* Form */
.tk-field { display: block; border: 1px solid var(--j2-line); border-radius: 14px; padding: 10px 14px; margin: 0 0 10px; background: var(--j2-span); }
.tk-field span { display: block; font: 10px/1.2 var(--j2-label); letter-spacing: .14em; text-transform: uppercase; color: var(--j2-ink-3); margin-bottom: 4px; }
.tk-field input { width: 100%; border: 0; background: transparent; color: var(--j2-ink); font: 16px/1.3 var(--font-body, inherit); padding: 2px 0; outline: none; min-height: 26px; }
.tk-field:focus-within { border-color: var(--j2-sand); }
.tk-lbl { display: block; margin: 6px 0 8px; font: 10px/1.2 var(--j2-label); letter-spacing: .14em; text-transform: uppercase; color: var(--j2-ink-3); }
.tk-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.tk-chip { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--j2-line); background: none; color: var(--j2-ink-2); font: 14px var(--font-body, inherit); cursor: pointer; }
.tk-chip[aria-pressed="true"] { color: var(--j2-ink); border-color: var(--j2-sand); box-shadow: inset 0 0 0 1px var(--j2-sand); background: var(--j2-span); }
.tk-check { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--j2-line); border-radius: 14px; margin: 0 0 10px; cursor: pointer; }
.tk-check input { width: 22px; height: 22px; margin: 1px 0 0; flex: none; accent-color: var(--j2-primary); }
.tk-check b { display: block; font-weight: 500; font-size: 15px; }
.tk-check small { display: block; font-size: 12.5px; line-height: 1.45; color: var(--j2-ink-2); margin-top: 2px; }
.tk-foot { margin: 2px 0 12px; font-size: 12.5px; color: var(--j2-ink-3); }
.tk-err { min-height: 18px; margin: 0 0 6px; font-size: 13px; color: var(--j2-warn); }
.tk-msg { width: 100%; min-height: 120px; resize: vertical; border: 1px solid var(--j2-line); border-radius: 14px; padding: 12px 14px; background: var(--j2-span); color: var(--j2-ink); font: 16px/1.45 var(--font-body, inherit); box-sizing: border-box; margin: 0 0 10px; }
.tk-two { display: flex; gap: 10px; }
.tk-two .j2-btn { flex: 1 1 0; }

/* My progress */
.tk-chart { display: block; width: 100%; height: auto; }
.tk-chart .tk-line { fill: none; stroke: var(--j2-sand); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.tk-chart .tk-grid { stroke: var(--j2-grid); stroke-width: 1; }
.tk-chart text { font: 10px var(--j2-num); fill: var(--j2-ink-3); }
.tk-chart .tk-mk text { font: 9px var(--j2-label); letter-spacing: .08em; fill: var(--j2-ink-3); }
.tk-chead { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 6px; }
.tk-chead .tk-u { font: 10px var(--j2-label); letter-spacing: .12em; text-transform: uppercase; color: var(--j2-ink-3); }
.tk-plot { min-height: 170px; }
.tk-none { display: flex; align-items: center; min-height: 150px; margin: 0; font-size: 13.5px; color: var(--j2-ink-3); }
.tk-pfoot { margin: 4px 0 8px; font-size: 12.5px; line-height: 1.5; color: var(--j2-ink-3); }
.tk-toast { position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 2147483001; padding: 10px 16px; border-radius: 999px; background: var(--j2-glass-strong); color: var(--j2-ink); border: 1px solid var(--j2-hair); font-size: 14px; box-shadow: var(--j2-shadow); }
.tk-form .j2-btn, .tk-scrim > .j2-sheet > .j2-btn { width: 100%; }
/* One list: orders' "Still taking it?", the intake review, the daily-plan switch, "Already on your list" */
.tk-orow { border-top: 1px solid var(--j2-line); }
.tk-orow:first-of-type { border-top: 0; }
.tk-orow .tk-row { border-top: 0; }
.tk-still { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 0 0 12px; }
.tk-still span { flex: 1 1 auto; font-size: 13.5px; color: var(--j2-ink-2); }
.tk-still .tk-chip { min-height: 36px; }
.tk-ship { display: flex; align-items: center; gap: 12px; min-height: 28px; padding: 0 0 10px; font-size: 13px; color: var(--j2-ink-2); }
.tk-box { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0 0 10px; font-size: 13px; color: var(--j2-ink-2); }
.tk-box-pending { display: block; margin: 0; font-style: normal; }
.tk-box-h { display: block; font-size: 11px; font-weight: 700; letter-spacing: .08em; color: var(--j2-ink-3); margin-bottom: 4px; }
.tk-box ul { margin: 0; padding: 0; list-style: none; }
.tk-box li { padding: 2px 0; color: var(--j2-ink); }
.tk-auto { margin-left: auto; font-size: 12px; font-weight: 600; letter-spacing: .02em; color: var(--j2-ink-2); }
.tk-ship a { color: var(--j2-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.tk-switch { display: flex; align-items: center; justify-content: space-between; gap: 14px; cursor: pointer; }
.tk-switch b { display: block; font-weight: 500; font-size: 15px; }
.tk-switch small { display: block; font-size: 12.5px; line-height: 1.45; color: var(--j2-ink-2); margin-top: 2px; }
.tk-switch input { appearance: none; -webkit-appearance: none; flex: none; width: 46px; height: 28px; border-radius: 999px; background: var(--j2-line); position: relative; cursor: pointer; margin: 0; transition: background .2s; }
.tk-switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--j2-paper); box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .2s; }
.tk-switch input:checked { background: var(--j2-primary); }
.tk-switch input:checked::after { transform: translateX(18px); }
.tk-plan .tk-ack { margin: 12px 0 10px; }
.tk-plan .tk-err { margin: 6px 0 0; min-height: 0; }
.tk-dup { min-height: 0; margin: -4px 0 10px; }
.tk-dup:empty { display: none; }
.tk-duptext { margin: 0 0 8px; font-size: 13.5px; color: var(--j2-sand-text); }
.tk-iline { display: flex; align-items: center; gap: 8px; }
.tk-iline .tk-field { flex: 1 1 auto; margin: 0 0 8px; }
/* aw5k2 (art): a start marker with no free label row is a dot; its whole name shows on hover or focus, never cut. */
.tk-chart .tk-mkdot circle { fill: var(--j2-ink-3); }
.tk-chart .tk-mkdot text { opacity: 0; transition: opacity .15s; }
.tk-chart .tk-mkdot:hover text, .tk-chart .tk-mkdot:focus text, .tk-chart .tk-mkdot:focus-visible text { opacity: 1; fill: var(--j2-ink); }
.tk-chart .tk-mkdot:focus { outline: none; } .tk-chart .tk-mkdot:focus-visible circle { stroke: var(--j2-primary); stroke-width: 2; }
@media (prefers-reduced-motion: reduce) { .tk-chart .tk-mkdot text { transition: none; } }
/* myplan-cleanup-1: rows with a chevron instead of full-width pills; Add is a compact secondary button. */
.tk-card .tk-go { min-height: 48px; padding: 6px 0; }
.tk-card .tk-add { width: auto; align-self: flex-start; margin-top: 8px; }
.tk-card { display: flex; flex-direction: column; }
