/* Holistic Healing Studio v0.4 — Channel Companion (planner, calendar, Publish Kit, results).
   Same night-sky look as the studio: deep indigo surfaces, temple gold for actions, violet for links and selection. */

/* ---------- Mode switch (Studio | Companion) ---------- */
.mode-switch { display: inline-flex; gap: 2px; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 3px; }
.mode-switch button { border: 0; background: transparent; color: var(--muted); font-weight: 700; padding: 6px 14px; border-radius: 9px; letter-spacing: 0.01em; }
.mode-switch button:hover { color: var(--text); }
.mode-switch button[aria-selected="true"] { background: linear-gradient(180deg, rgba(233,196,106,0.22), rgba(233,196,106,0.08)); color: var(--gold); box-shadow: inset 0 0 0 1px rgba(233,196,106,0.45); }
body.mode-companion .head-actions, body.mode-companion #session-name, body.mode-companion #tabs, body.mode-companion #panel, body.mode-companion .stage { display: none !important; }
body.mode-companion .deck-head { padding-bottom: 10px; }

.pill.violet { color: #d9ccff; border-color: rgba(155,123,255,0.5); background: var(--violet-soft); padding: 0; overflow: hidden; }
.link-pill button { background: none; border: 0; color: inherit; font: inherit; padding: 3px 8px 3px 10px; display: inline-flex; align-items: center; gap: 6px; }
.link-pill .link-x { padding: 3px 9px; border-left: 1px solid rgba(155,123,255,0.35); }
.link-pill button:hover { background: rgba(155,123,255,0.18); }

/* ---------- Companion frame ---------- */
.companion { width: min(100%, 1560px); margin: 0 auto; padding: 14px 18px 40px; display: flex; flex-direction: column; gap: 14px; }
.c-loading { padding: 40px; text-align: center; }
.c-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: space-between; border-bottom: 1px solid var(--line); }
.c-nav { display: flex; gap: 2px; }
.c-nav .tab { font-size: 15px; }
.c-actions { display: flex; gap: 8px; flex-wrap: wrap; padding-bottom: 8px; }
.c-main { display: flex; flex-direction: column; gap: 14px; outline: none; min-width: 0; }
.grow { flex: 1; }
.notice { border-radius: 11px; padding: 9px 12px; border: 1px solid var(--line-2); background: var(--surface); color: var(--muted); font-size: 13px; }
.notice.ok { border-color: rgba(52,195,143,0.4); color: #bfeedd; }
.notice.warn { border-color: rgba(242,184,75,0.45); color: #f6dcae; }
.notice.bad { border-color: rgba(240,119,106,0.5); color: #f7c4bd; }

.c-banner { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line-2); background: linear-gradient(120deg, rgba(155,123,255,0.14), rgba(20,16,39,0.9) 60%); }
.c-banner.gold { border-color: rgba(233,196,106,0.45); background: linear-gradient(120deg, rgba(233,196,106,0.16), rgba(20,16,39,0.9) 60%); }
.c-banner b { font-family: var(--display); font-weight: 400; font-size: 18px; }
.c-banner p { margin: 2px 0 0; color: var(--muted); }

.c-box { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; min-width: 0; }
.c-box h3, .c-sec h3, .c-cal-title, .c-empty h3 { margin: 0 0 10px; font-family: var(--display); font-weight: 400; font-size: 19px; letter-spacing: 0.02em; }
.c-grid2 { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 14px; }
.c-grid3 { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr) minmax(0, 1fr); gap: 14px; }
@media (max-width: 1100px) { .c-grid2, .c-grid3 { grid-template-columns: 1fr; } }

/* ---------- Dials ---------- */
.c-dials { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; background: radial-gradient(ellipse at 20% 0%, rgba(155,123,255,0.12), transparent 60%), var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 16px; }
@media (max-width: 900px) { .c-dials { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.c-dials-foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 10px; }
.dial { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.dial-ring { position: relative; width: 128px; height: 128px; }
.dial-svg { width: 100%; height: 100%; }
.dial-track { fill: none; stroke: var(--line-2); stroke-width: 9; }
.dial-fill { fill: none; stroke: var(--gold); stroke-width: 9; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(233,196,106,0.45)); transition: stroke-dasharray .6s ease; }
.dial.ok .dial-fill { stroke: var(--emerald); filter: drop-shadow(0 0 6px rgba(52,195,143,0.45)); }
.dial.warn .dial-fill { stroke: var(--amber); }
.dial.bad .dial-fill { stroke: var(--coral); }
.dial-num { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.dial-num b { font-family: var(--display); font-weight: 400; font-size: 27px; line-height: 1; }
.dial-num small { color: var(--faint); font-size: 11.5px; margin-top: 3px; }
.dial .c-chip { align-self: center; }
.dial-label { color: var(--muted); font-size: 12.5px; font-weight: 600; max-width: 190px; }

/* ---------- Next upload, steps, week, pipeline, dates ---------- */
.c-next-body { display: grid; grid-template-columns: minmax(160px, 260px) minmax(0, 1fr); gap: 14px; align-items: start; }
@media (max-width: 620px) { .c-next-body { grid-template-columns: 1fr; } }
.c-next-thumb { aspect-ratio: 16 / 9; border-radius: 11px; overflow: hidden; background: linear-gradient(135deg, #1b1633, #0b0916); display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--faint); font-size: 12px; border: 1px solid var(--line); }
.c-next-thumb img, .c-card-thumb img, .c-thumb-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.c-next-info { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.c-count { font-family: var(--mono); color: var(--gold); font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; }
.c-next-title { font-size: 16px; line-height: 1.3; }
.c-chip { display: inline-block; align-self: flex-start; border-radius: 999px; padding: 2px 9px; font-size: 11.5px; font-weight: 700; border: 1px solid var(--line-2); color: var(--muted); background: var(--bg); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.c-chip.ok { color: var(--emerald); border-color: rgba(52,195,143,0.4); }
.c-chip.warn { color: var(--amber); border-color: rgba(242,184,75,0.45); }
.c-chip.bad { color: var(--coral); border-color: rgba(240,119,106,0.5); }
.c-chip.violet { color: #d9ccff; border-color: rgba(155,123,255,0.5); }
.c-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; counter-reset: st; }
.c-steps li { counter-increment: st; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.c-steps li::before { content: counter(st); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 13px; color: #1b1203; background: var(--gold); }
.c-steps li.warn::before { background: var(--amber); }
.c-steps li.bad::before { background: var(--coral); }
.c-steps b { font-size: 14px; }
.c-steps p { margin: 2px 0 0; color: var(--faint); font-size: 12.5px; }
.c-weeklist, .c-kdlist, .c-log { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.c-weeklist li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 10px; align-items: start; padding: 6px 8px; border-radius: 10px; }
.c-weeklist li.today { background: var(--gold-soft); box-shadow: inset 0 0 0 1px rgba(233,196,106,0.35); }
.c-wd b { display: block; font-size: 13px; }
.c-wd small { color: var(--faint); font-size: 11.5px; }
.c-wd-items { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.c-mini, .c-ev { display: flex; align-items: center; gap: 7px; width: 100%; text-align: left; background: var(--bg); border: 1px solid var(--line); border-radius: 9px; padding: 5px 8px; font-size: 12.5px; color: var(--text); min-width: 0; }
.c-mini:hover, .c-ev:hover { border-color: var(--line-2); background: var(--surface-2); }
.c-mini span, .c-ev span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.c-mini small, .c-ev small { color: var(--faint); font-size: 11px; flex: none; }
.pdot { width: 9px; height: 9px; border-radius: 50%; flex: none; display: inline-block; box-shadow: 0 0 8px currentColor; }
.c-kd { display: inline-block; font-size: 11.5px; font-weight: 600; color: var(--muted); border-radius: 7px; padding: 1px 7px; background: var(--surface-2); border: 1px solid var(--line); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.c-kd.moon { color: #fff1c9; border-color: rgba(233,196,106,0.45); }
.c-kd.newmoon { color: #c9c3e6; }
.c-kd.season { color: #ffd38a; border-color: rgba(242,184,75,0.4); }
.c-kd.eclipse { color: #ffb4a8; border-color: rgba(240,119,106,0.45); }
.c-kd.portal { color: #d9ccff; border-color: rgba(155,123,255,0.5); }
.c-kd.culture { color: #ffc1df; border-color: rgba(255,111,181,0.35); }
.c-kd.clock { color: #9fe3c6; border-color: rgba(52,195,143,0.35); }
.c-kdlist li { display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.c-kdlist b { font-size: 13px; }
.c-kdlist p { margin: 1px 0 0; color: var(--faint); font-size: 12px; }
.c-pipe-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 8px; }
.c-stage { display: flex; flex-direction: column; align-items: flex-start; gap: 0; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 9px 11px; color: var(--muted); text-align: left; border-top: 3px solid var(--line-2); }
.c-stage b { font-family: var(--display); font-weight: 400; font-size: 26px; color: var(--text); line-height: 1.1; }
.c-stage span { font-size: 12px; font-weight: 600; }
.c-stage:hover { border-color: var(--line-2); }
.s-idea { --stage: #8e86ad; } .s-designed { --stage: #9b7bff; } .s-rendered { --stage: #6fc8ff; } .s-scheduled { --stage: #e9c46a; } .s-published { --stage: #34c38f; } .s-reviewed { --stage: #ff9ecf; }
.c-stage { border-top-color: var(--stage); }

/* ---------- Board ---------- */
.c-filters { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.c-filters select { width: auto; min-width: 150px; }
.c-filters input[type="search"] { width: min(280px, 100%); }
.c-board { display: grid; grid-template-columns: repeat(6, minmax(196px, 1fr)); gap: 10px; overflow-x: auto; padding-bottom: 8px; align-items: start; }
.c-col { background: rgba(20,16,39,0.75); border: 1px solid var(--line); border-top: 3px solid var(--stage); border-radius: 14px; padding: 8px; min-height: 180px; display: flex; flex-direction: column; gap: 8px; transition: border-color .15s, background .15s; }
.c-col.drop { border-color: var(--gold); background: rgba(233,196,106,0.07); }
.c-col header { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 2px 8px; padding: 2px 4px 4px; }
.c-col header b { font-family: var(--display); font-weight: 400; font-size: 16.5px; }
.c-col header small { grid-column: 1 / -1; color: var(--faint); font-size: 11.5px; }
.c-count-pill { font-family: var(--mono); font-size: 11.5px; color: var(--muted); background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 0 8px; }
.c-col-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.c-card { position: relative; display: flex; flex-direction: column; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; cursor: pointer; transition: border-color .15s, transform .12s, box-shadow .15s; }
.c-card:hover { border-color: var(--line-2); transform: translateY(-1px); box-shadow: 0 10px 24px -16px rgba(155,123,255,0.6); }
.c-card:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.c-card.dragging { opacity: 0.45; }
.c-card.linked { border-color: rgba(155,123,255,0.6); box-shadow: 0 0 0 1px rgba(155,123,255,0.35); }
.c-card-thumb { aspect-ratio: 16 / 9; background: linear-gradient(135deg, #1b1633, #0b0916); display: flex; align-items: flex-start; justify-content: flex-start; padding: 8px; }
.c-card-thumb:has(img) { padding: 0; }
.c-card-thumb.empty { aspect-ratio: auto; padding: 7px 10px 0; align-items: center; gap: 7px; background: none; color: var(--faint); font-size: 11px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.c-card .c-chip { white-space: normal; line-height: 1.3; }
.c-card-body { padding: 8px 10px 10px; display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.c-card-title { font-size: 13px; line-height: 1.32; display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.c-card-meta { display: flex; gap: 6px; align-items: center; justify-content: space-between; color: var(--faint); font-size: 11.5px; }
.c-badge { font-size: 10.5px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line-2); border-radius: 6px; padding: 0 5px; white-space: nowrap; }
.c-move { position: absolute; top: 6px; right: 6px; width: 28px; height: 28px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.12); background: rgba(7,6,15,0.72); color: var(--text); font-size: 14px; line-height: 1; opacity: 0; transition: opacity .15s; }
.c-card:hover .c-move, .c-card:focus-within .c-move, .c-move[aria-expanded="true"] { opacity: 1; }
@media (hover: none) { .c-move { opacity: 1; } }
.c-movemenu { position: absolute; z-index: 5; top: 38px; right: 6px; min-width: 190px; background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 12px; padding: 5px; box-shadow: 0 20px 50px -18px rgba(0,0,0,0.85); cursor: default; }
.c-movemenu button { display: block; width: 100%; text-align: left; background: none; border: 0; border-radius: 8px; padding: 6px 9px; color: var(--text); font-size: 13px; }
.c-movemenu button:hover:not([disabled]), .c-movemenu button:focus-visible { background: var(--surface); }
.c-movemenu button[disabled] { color: var(--faint); cursor: default; }
.c-movemenu small { display: block; color: var(--faint); font-size: 11px; }
.c-movemenu .menu-title { padding: 4px 9px; color: var(--faint); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.c-add { justify-content: center; }
.c-empty { text-align: center; padding: 50px 20px; background: var(--surface); border: 1px dashed var(--line-2); border-radius: 18px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.c-empty p { margin: 0; color: var(--muted); }

/* ---------- Calendar ---------- */
.c-cal-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: space-between; }
.c-cal-title { margin: 0 4px; min-width: 170px; text-align: center; }
.c-legend { display: flex; gap: 6px; flex-wrap: wrap; }
.c-month { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--surface); }
.c-month-row { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.c-month-row.head div { padding: 8px 10px; color: var(--faint); font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; border-bottom: 1px solid var(--line); }
.c-day { min-height: 112px; padding: 6px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.c-month-row .c-day:last-child { border-right: 0; }
.c-day.out { background: rgba(7,6,15,0.45); }
.c-day.out .c-daynum { color: var(--faint); opacity: 0.6; }
.c-day.today { background: linear-gradient(180deg, rgba(233,196,106,0.12), transparent 70%); box-shadow: inset 0 0 0 1px rgba(233,196,106,0.4); }
.c-day-head { display: flex; justify-content: space-between; align-items: center; }
.c-daynum { font-family: var(--mono); font-size: 12.5px; color: var(--muted); }
.c-day.today .c-daynum { color: var(--gold); font-weight: 600; }
.c-day-add { width: 22px; height: 22px; border-radius: 7px; border: 1px solid transparent; background: none; color: var(--faint); opacity: 0; font-weight: 700; line-height: 1; }
.c-day:hover .c-day-add, .c-day-add:focus-visible { opacity: 1; border-color: var(--line-2); }
.c-day .c-kd { font-size: 10.5px; padding: 0 5px; }
.c-day .c-ev { font-size: 11.5px; padding: 3px 6px; border-left: 3px solid var(--stage); }
.c-agenda { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.c-agenda li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.c-ag-date b { display: block; font-family: var(--display); font-weight: 400; font-size: 18px; }
.c-ag-date small { color: var(--faint); }
.c-ag-items { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.c-ag-items .c-ev { border-left: 3px solid var(--stage); }
.c-ag-items .c-kd { white-space: normal; }

/* ---------- Dialogs and the card drawer ---------- */
dialog.cdlg { width: min(640px, calc(100vw - 24px)); max-height: calc(100dvh - 32px); }
dialog.cdlg.wide { width: min(900px, calc(100vw - 24px)); }
dialog.cdlg[open] { display: flex; flex-direction: column; }
dialog.cdlg .dlg-body { overflow-y: auto; min-height: 0; }
dialog.drawer { margin: 0 0 0 auto; height: 100dvh; max-height: 100dvh; border-radius: 18px 0 0 18px; width: min(900px, 100vw); }
dialog.drawer[open] { animation: c-slide .22s ease-out; }
dialog.drawer .dlg-body { flex: 1; }
@keyframes c-slide { from { transform: translateX(40px); opacity: 0.4; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { dialog.drawer[open] { animation: none; } .dial-fill { transition: none; } }
.c-drawer-sub { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; color: var(--muted); font-size: 12.5px; margin-top: 6px; }
.c-drawer-tabs { padding: 0; border-bottom: 1px solid var(--line); margin: 0 -2px; flex: none; }
.c-drawer-body { display: flex; flex-direction: column; gap: 14px; padding: 12px 0 8px; }
.c-saved { color: var(--emerald); font-size: 12px; font-weight: 600; min-width: 70px; }
.btn.danger:hover { color: var(--coral); }
.btn.small { padding: 4px 10px; font-size: 12.5px; border-radius: 9px; }
.btn.copied { border-color: rgba(52,195,143,0.6); color: var(--emerald); }
a.btn { text-decoration: none; color: inherit; }
.c-form { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px 16px; align-items: start; }
.c-form .span2 { grid-column: span 2; }
@media (max-width: 620px) { .c-form .span2 { grid-column: auto; } }
.row.nowrap { flex-wrap: nowrap; }
.input.num { width: 100%; min-width: 64px; font-family: var(--mono); font-variant-numeric: tabular-nums; }
.input.mono, .c-pre { font-family: var(--mono); font-size: 12.5px; }
.ctl-val.over { color: var(--coral); }
.c-pre { white-space: pre-wrap; overflow-wrap: anywhere; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; margin: 0; color: var(--muted); max-height: 220px; overflow-y: auto; }
.c-title-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: end; }
.c-title-row input[type="radio"] { accent-color: var(--gold); width: 18px; height: 18px; margin-bottom: 10px; }
.c-title-row .btn { margin-bottom: 4px; }
.c-studio-info ul { margin: 6px 0 0; padding-left: 18px; color: var(--muted); font-size: 13px; }
.c-facts li.ok { color: var(--emerald); } .c-facts li.warn { color: var(--amber); } .c-facts li.bad { color: var(--coral); }
.c-thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 720px) { .c-thumbs { grid-template-columns: 1fr; } }
.c-thumb { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.c-thumb-img { aspect-ratio: 16 / 9; border-radius: 11px; overflow: hidden; border: 1px solid var(--line); background: linear-gradient(135deg, #1b1633, #0b0916); display: grid; place-items: center; }
.c-thumb figcaption { display: flex; flex-direction: column; gap: 4px; }
.hint.bad { color: var(--coral); }
.c-share { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; color: var(--muted); }
.c-share .input { width: 82px; }
.c-results { width: 100%; border-collapse: separate; border-spacing: 0 4px; }
.c-results th { text-align: left; color: var(--muted); font-size: 12.5px; font-weight: 600; padding: 0 8px 0 0; }
.c-results thead th { color: var(--faint); font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; }
.c-results th.due, .c-results thead th.due { color: var(--amber); }
.c-results td { padding: 0 4px; }
.c-results td.due .input { border-color: rgba(242,184,75,0.55); }
.c-kit { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; counter-reset: k; }
.c-kit li { counter-increment: k; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; gap: 6px; }
.c-kit li.done { border-color: rgba(52,195,143,0.45); background: linear-gradient(90deg, rgba(52,195,143,0.07), var(--surface) 50%); }
.c-kit li.missing { border-color: rgba(242,184,75,0.45); }
.c-kit-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.c-kit-head input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--emerald); }
.c-kit-head b::before { content: counter(k) ". "; color: var(--gold); font-family: var(--mono); font-weight: 500; }
.c-kit-head small { display: block; color: var(--faint); font-size: 12px; }
.c-kit p { margin: 0; }
.c-sec { display: flex; flex-direction: column; gap: 10px; padding: 12px 0; border-top: 1px solid var(--line); }
.c-meter { flex: 1; min-width: 160px; height: 8px; border-radius: 8px; background: var(--line); overflow: hidden; }
.c-meter i { display: block; height: 100%; width: 4%; background: var(--coral); transition: width .2s, background .2s; }
.c-meter.s1 i { width: 25%; background: var(--coral); } .c-meter.s2 i { width: 55%; background: var(--amber); } .c-meter.s3 i { width: 80%; background: var(--emerald); } .c-meter.s4 i { width: 100%; background: linear-gradient(90deg, var(--emerald), var(--gold)); }
.c-log li { display: grid; grid-template-columns: 110px 1fr 1.4fr auto; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); padding: 4px 8px; border-radius: 9px; background: var(--bg); }
.c-details summary { cursor: pointer; color: var(--muted); font-weight: 600; padding: 8px 0; }
.c-details[open] { display: flex; flex-direction: column; gap: 10px; }
.c-warn { margin: 0; }
