/* Keep in mind (2026-10-27; restyled for Light · Minimal glow 2026-10-30; docs/Keep-In-Mind.md; parts/99zs-keep.js).
   The person page section sits inside the What you know card (no card of its own); the before-you-meet, gift, detail
   and add sheets are plain text rows on the sheet; the Today chip is the row's own .tcd-chip; the review lines are
   Log a talk's own .lf-line (imp-log.css). Motion: the chevron only (transform, ease-out), none with Reduce Motion. */

/* ---- the person page section ---- */
.km-card{margin:0;padding:0}
.km-card>summary{list-style:none;display:flex;align-items:center;gap:10px;min-height:48px;padding:0;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.km-card>summary::-webkit-details-marker{display:none}
.km-card>summary .v2-kl{flex:1 1 auto;min-width:0}
.km-count{flex:0 0 auto;font-size:15px;font-weight:600}
.km-card>summary svg{flex:0 0 auto;transition:transform .2s cubic-bezier(.23,1,.32,1)}
.km-card[open]>summary svg{transform:rotate(90deg)}
.km-card>summary:focus-visible{outline:2px solid currentColor;outline-offset:2px;border-radius:12px}
.km-body{padding:0 0 4px}
.km-empty{margin:0 0 8px;line-height:1.45}
.km-acts{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:6px}
.km-giftlink{display:inline-flex;gap:6px;align-items:center;min-height:44px}
.km-never{margin:6px 0 0;font-size:13px}
.km-solo{margin-top:12px;padding:2px 18px 8px}
.km-row .v2-kv{display:flex;flex-direction:column;align-items:flex-end;min-width:0;overflow-wrap:anywhere;text-align:right}
.km-meta{font-size:13px;font-weight:400;line-height:1.35}
.km-undo{display:flex;gap:10px;align-items:center;min-height:44px}

/* ---- the sheets ---- */
.km-lines{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.km-li{display:flex;gap:12px;align-items:center;min-height:52px;padding:4px 0}
.km-li+.km-li{border-top:1px solid var(--imp-line,rgba(18,32,26,.08))}
.km-lk{flex:0 0 92px;font-size:14px;font-weight:600}
.km-lv{flex:1;min-width:0;display:flex;flex-direction:column;font-size:16px;font-weight:600;overflow-wrap:anywhere}
.km-used{flex:0 0 auto;display:inline-flex;gap:4px;align-items:center;justify-content:center;min-height:44px;min-width:44px;font-weight:700}
.km-next{display:flex;gap:12px;margin:0;line-height:1.45}
.km-guess .km-lv{font-weight:500}
.km-cmp{display:flex;flex-direction:column;gap:10px;padding:14px;border-radius:18px}
.km-wrap{flex-wrap:wrap}
.km-tog{min-height:52px;gap:12px}
.km-tog .small{flex:1;min-width:0}
.km-tog .switch{flex:none}
.km-slots{flex-wrap:wrap}
.km-val{overflow-wrap:anywhere}

/* ---- Light · Minimal glow ---- */
html[data-ui="imp"] #page .v2-know .km-card{border-top:1px solid var(--imp-line)}
html[data-ui="imp"] #page .km-card>summary .v2-kl{font-size:16px;color:var(--imp-dim)}
html[data-ui="imp"] #page .km-count{color:var(--imp-ink)}
html[data-ui="imp"] #page .km-card>summary svg{color:var(--imp-dim)}
html[data-ui="imp"][data-theme] #page .km-solo{border-radius:28px;background:var(--imp-card);box-shadow:inset 0 0 0 1px var(--imp-edge),var(--imp-hair)}
html[data-ui="imp"][data-theme] #page .km-solo .v2-chip.v2-addchip{background:var(--imp-glass);color:var(--imp-ink);box-shadow:inset 0 0 0 1px var(--imp-edge),var(--imp-hair);border:0}
html[data-ui="imp"] .km-meta,html[data-ui="imp"] .km-never,html[data-ui="imp"] .km-empty{color:var(--imp-dim)}
html[data-ui="imp"] .km-priv{color:var(--imp-dim);font-weight:600}
html[data-ui="imp"] .km-giftlink{color:var(--imp-forest);font-weight:700}
html[data-ui="imp"] .km-giftlink svg{width:16px;height:16px}
/* an allergy is safety information: its label is drift (the app's "needs you" colour) and bold, on the page and the sheets */
html[data-ui="imp"] :is(.km-allergy .v2-kl,.km-allergy .km-lk){color:var(--imp-drift);font-weight:700}
html[data-ui="imp"] .km-lk{color:var(--imp-dim)}
html[data-ui="imp"] .km-lv{color:var(--imp-ink)}
html[data-ui="imp"] .km-used{color:var(--imp-dim)}
html[data-ui="imp"] .km-used.on{color:var(--imp-forest)}
html[data-ui="imp"] .km-cmp{background:rgba(var(--imp-forestRGB),.07)}
html[data-ui="imp"] .km-next .km-lk{color:var(--imp-forest)}
html[data-ui="imp"] #sheet .km-meet .v2-label,html[data-ui="imp"] #sheet .km-detail .v2-label{font:400 12.5px/1.3 var(--mono);letter-spacing:0;text-transform:lowercase;color:var(--imp-dim)}
html[data-ui="imp"] #sheet .km-lfsheet .lf-shnote{color:var(--imp-dim)}
/* the kind picker: set off with a shadow, not an outline (the picked one stays forest) */
html[data-ui="imp"][data-theme] #sheet .km-slots .v2-chip:not(.on){border-color:transparent;background:var(--imp-card);box-shadow:inset 0 0 0 1px var(--imp-edge),var(--imp-hair)}

@media (prefers-reduced-motion:reduce){.km-card>summary svg{transition:none}}
@media (prefers-contrast:more){
  html[data-ui="imp"] :is(.km-meta,.km-never,.km-empty,.km-lk,.km-priv){color:var(--imp-ink)}
  html[data-ui="imp"] #page .v2-know .km-card{border-top-color:var(--imp-ink)}
}
