/* Tab prototype · contents of the larger Tab cards: file pill, talk answers, sources, plan,
   morning card, memory diff, skill card. Same glass, same concentric radii. */

/* two-line file form (capsule file form: 46 high, radius 14) */
.s-file { height: 48px; min-height: 48px; border-radius: 15px; }
.s-file .cmp-c { gap: 10px; padding: 0 9px 0 9px; }
.cf-tt b { display: block; font-size: 13px; font-weight: 600; line-height: 1.3; }
.cf-tt span { display: block; font-size: 11.5px; line-height: 1.3; color: var(--ink2); }

/* doc bits */
.doc .callout svg.ic { width: 16px; height: 16px; margin-top: 3px; color: #3370ff; }
.doc .meta .av { margin-right: 2px; }
.doc li.ph { color: #bbbfc4; }

/* panel tones */
.np-row.t-ok .np-ic { background: rgba(52, 199, 89, .14); color: #1f9d48; }
.np-row.t-warn .np-ic { background: rgba(255, 149, 0, .14); color: #c26a00; }
.np-row.t-ok .np-t { color: var(--ink2); font-weight: 400; }

/* answers */
.tk-a.en { font-family: var(--font); font-size: 13.5px; line-height: 1.6; padding: 10px 12px; border-radius: 10px; background: rgba(118, 118, 128, .07); }
.tk-a.en:empty { display: none; }
.cmdline { margin-top: 10px; padding: 9px 12px; border-radius: 10px; background: #1c1c1f; font: 12.5px var(--mono); color: #f2f2f4; }
.cmdline .t-d { color: rgba(255, 255, 255, .45); margin-right: 6px; }
.ans { display: flex; align-items: baseline; gap: 10px; margin: 2px 0 10px; }
.ans b { font-size: 34px; font-weight: 700; letter-spacing: -.02em; line-height: 1; color: var(--accent); }
.ans span { font-size: 13.5px; line-height: 1.5; color: var(--ink); }
.srcs { display: flex; flex-wrap: wrap; gap: 6px; }
.srcs .src { margin: 0; }
.appic-s { display: flex; }
.appic-s .appic, .appic-s svg { width: 16px; height: 16px; }

/* card header */
.cd-hd svg.ic { width: 15px; height: 15px; color: var(--accent); }
.cd-hd b { flex: none; }
.cd-said { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: var(--ink2); }
.cd-ft svg.ic { width: 13px; height: 13px; vertical-align: -2px; margin-right: 3px; }
.cd-ft > span:last-child { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }

/* plan rows */
.plan { display: flex; flex-direction: column; gap: 2px; }
.cd-body.plan { padding: 6px; }
.pl-it { display: flex; align-items: center; gap: 10px; padding: 8px 8px; border-radius: 9px; }
.pl-it > div { flex: 1; min-width: 0; }
.pl-it b { display: block; font-size: 13.5px; font-weight: 600; }
.pl-it span:not(.np-n) { display: block; margin-top: 2px; font-size: 12px; line-height: 1.45; color: var(--ink2); }
.pl-it .np-n { background: rgba(0, 122, 255, .12); color: var(--accent); }
.pl-app { display: flex !important; margin: 0 !important; }
.pl-app .appic { width: 26px; height: 26px; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .14)); }

/* skill */
.sk-ev { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; font-size: 12px; font-weight: 500; color: var(--ink2); }
.sk-ev > span:first-child { margin-right: 2px; }
.skill-card .plan { margin: 0 -6px 8px; }
.sk-sched { display: flex; gap: 6px; padding-top: 10px; box-shadow: inset 0 .5px 0 var(--sep); }
.fly-chip { position: absolute; z-index: 90; transition: transform .9s var(--soft), opacity .9s ease-in; }

/* morning card */
.morning { padding: 6px; }
.mc { padding: 4px 4px 2px; }
.mc-hd { display: flex; align-items: center; justify-content: space-between; padding: 8px 10px 10px; }
.mc-hd b { display: block; font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.mc-hd span { display: block; margin-top: 2px; font-size: 12px; color: var(--ink2); }
.mc-ic .appic { width: 34px; height: 34px; filter: drop-shadow(0 2px 4px rgba(0, 60, 200, .25)); }
.mc-sec { margin-bottom: 6px; padding: 8px 10px; border-radius: 12px; background: rgba(255, 255, 255, .62); box-shadow: 0 0 0 .5px rgba(0, 0, 0, .04); }
.card.in .mc-sec { animation: fadeUp .45s var(--soft) both; }
.card.in .mc-sec:nth-child(2) { animation-delay: .12s; }
.card.in .mc-sec:nth-child(3) { animation-delay: .2s; }
.card.in .mc-sec:nth-child(4) { animation-delay: .28s; }
.card.in .mc-sec:nth-child(5) { animation-delay: .36s; }
.mc-st { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; font-size: 11.5px; font-weight: 600; color: var(--ink2); }
.mc-st svg.ic { width: 13px; height: 13px; color: var(--accent); }
.mc-st em { margin-left: auto; font-style: normal; color: var(--ink3); }
.mc-it { display: flex; align-items: baseline; gap: 8px; padding: 4px 0; font-size: 13.5px; }
.mc-it span { font-weight: 500; }
.mc-it small { margin-left: auto; font-size: 11.5px; color: var(--ink2); white-space: nowrap; }
.mc-c { flex: none; width: 13px; height: 13px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(60, 60, 67, .3); transform: translateY(1px); }
.mc-c.o { box-shadow: inset 0 0 0 1.5px #ff9500; background: rgba(255, 149, 0, .12); }
.mc-it.hot { margin: 0 -6px; padding: 5px 6px; border-radius: 8px; background: rgba(255, 149, 0, .1); }
.mc-it.hot small { color: #b25f00; }
.mc-it.pulse { animation: hotPulse 1.2s var(--soft) 2; }
@keyframes hotPulse { 50% { box-shadow: 0 0 0 3px rgba(255, 149, 0, .3); } }
.mc-ev { display: grid; grid-template-columns: 46px 1fr auto; align-items: baseline; padding: 3px 0; font-size: 13px; }
.mc-ev b { font-weight: 600; font-variant-numeric: tabular-nums; }
.mc-ev small { font-size: 11.5px; color: var(--ink2); }
.mc-sec.learn { background: rgba(0, 122, 255, .06); }
.mc-l { display: flex; align-items: center; gap: 10px; margin: 0 -5px; padding: 6px 5px; border-radius: 9px; transition: background .2s; }
.mc-l > div { flex: 1; min-width: 0; }
.mc-l b { display: block; font-size: 13px; font-weight: 600; }
.mc-l > div span { display: block; font-size: 11.5px; color: var(--ink2); }
.mc-l.sel { background: var(--accent); color: #fff; }
.mc-l.sel > div span { color: rgba(255, 255, 255, .78); }
.mc-l.sel .kh { background: rgba(255, 255, 255, .24); color: #fff; }
.mc-act { display: flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 500; color: var(--ink2); }
.mc-l.sel .mc-act { color: #fff; }
.mc-l:not(.sel) .mc-act { opacity: 0; }
.mc-l.kept .mc-act { opacity: 1; }
.kept-t { display: inline-flex; align-items: center; gap: 3px; color: #1f9d48; font-weight: 600; }
.mc-l.sel .kept-t { color: #fff; }
.kept-t svg.ic { width: 13px; height: 13px; stroke-width: 2.4; }
.mc-fold { display: flex; width: 28px; height: 28px; align-items: center; justify-content: center; }
.mc-ft { display: flex; align-items: center; gap: 6px; padding: 6px 10px 4px; font-size: 11.5px; color: var(--ink2); }
.mc-ft svg.ic { width: 12px; height: 12px; }

/* memory diff */
.diff { padding: 6px; }
.df-hd { display: flex; align-items: center; gap: 7px; height: 30px; padding: 0 8px; font: 600 12.5px var(--mono); }
.df-hd svg.ic { width: 14px; height: 14px; color: var(--accent); }
.df-new { margin-left: auto; height: 18px; padding: 0 7px; border-radius: 9px; background: rgba(52, 199, 89, .15); font: 600 10.5px/18px var(--font); color: #1f9d48; }
.df-body { padding: 8px 0; border-radius: 12px; background: rgba(255, 255, 255, .7); font: 12.5px/1.75 var(--mono); }
.df-l { display: flex; gap: 10px; padding: 0 12px; }
.df-l.add { background: rgba(52, 199, 89, .1); }
.df-l i { width: 10px; font-style: normal; color: #1f9d48; }
.df-src { display: flex; align-items: center; gap: 5px; padding: 8px 8px 0; font-size: 11.5px; color: var(--ink2); }
.df-src svg.ic { width: 12px; height: 12px; }
.df-ft { display: flex; gap: 6px; padding: 8px 2px 2px; }

/* reminders chip */
.due-chip { display: inline-flex; align-items: center; height: 18px; padding: 0 7px; border-radius: 9px; background: rgba(255, 59, 48, .12); font-size: 11px; font-weight: 600; color: #d70015; }
.rm-d svg.ic { width: 12px; height: 12px; color: #d70015; }

/* need form tweaks */
.s-need .ci-t { color: #8a4b00; }
