[data-ck-cat="0"] { --ck: var(--brand); --ck-soft: var(--brand-soft); --ck-ink: var(--brand-soft-text); }
[data-ck-cat="1"] { --ck: var(--accent-teal); --ck-soft: var(--accent-teal-soft); --ck-ink: var(--accent-teal-soft-text); }
[data-ck-cat="2"] { --ck: var(--accent-violet); --ck-soft: var(--accent-violet-soft); --ck-ink: var(--accent-violet-soft-text); }
[data-ck-cat="3"] { --ck: var(--accent-sunset); --ck-soft: var(--accent-sunset-soft); --ck-ink: var(--accent-sunset-soft-text); }
[data-ck-cat="4"] { --ck: var(--accent-coral); --ck-soft: var(--accent-coral-soft); --ck-ink: var(--accent-coral-soft-text); }
[data-ck-cat="5"] { --ck: var(--text-faint); --ck-soft: var(--bg-sunken); --ck-ink: var(--text-muted); }
.ck-summary { display: flex; flex-direction: column; gap: 14px; margin-bottom: 14px; padding: 18px 20px; border: 1px solid var(--border); border-radius: var(--radius-card, 20px); background: var(--card); }
.ck-summary__top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 16px; }
.ck-summary__eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--text-muted); }
.ck-summary__eyebrow .icon { width: 15px; height: 15px; }
.ck-summary__num { display: flex; align-items: baseline; gap: 4px; margin-top: 4px; font-size: 40px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.ck-summary__num small { font-size: 20px; font-weight: 600; color: var(--text-muted); }
.ck-summary__num .sub { font-size: 15px; font-weight: 500; color: var(--text-muted); letter-spacing: 0; }
.ck-summary__pct { margin-left: 10px; font-size: 15px; font-weight: 700; color: var(--brand-soft-text); }
.ck-summary__note { max-width: 320px; margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--text-secondary); text-align: right; text-wrap: balance; }
.ck-summary__note.is-ok { color: var(--positive); font-weight: 700; }
.ck-summary__note.is-urgent { color: var(--danger); font-weight: 700; }
.ck-summary__cats { display: flex; flex-wrap: wrap; gap: 6px; }
.ck-summary__cats:empty { display: none; }
.ck-catchip { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 11px; border: 1px solid transparent; border-radius: 999px; background: var(--ck-soft); color: var(--ck-ink); font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; }
.ck-catchip .icon { width: 14px; height: 14px; }
.ck-catchip .mono-num { font-size: 11.5px; opacity: 0.85; }
.ck-catchip.is-complete { background: var(--card); border-color: var(--ck); }
.ck-catchip:hover { border-color: var(--ck); }
@media (max-width: 560px) { .ck-summary__note { text-align: left; max-width: none; } }
.ck-suggest { margin-bottom: 14px; padding: 14px 16px; border-radius: var(--radius-card, 20px); background: var(--brand-soft); color: var(--brand-soft-text); }
.ck-suggest[hidden] { display: none; }
.ck-suggest__head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.ck-suggest__icon { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: var(--radius-card); background: var(--card); }
.ck-suggest__icon .icon { width: 18px; height: 18px; }
.ck-suggest__title { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ck-suggest__title b { font-size: 14.5px; color: var(--text); }
.ck-suggest__title span { font-size: 12px; opacity: 0.85; }
.ck-suggest__list { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; list-style: none; }
.ck-suggest__item { display: flex; align-items: center; gap: 8px; padding: 9px 10px 9px 12px; border-radius: var(--radius-card); background: var(--card); color: var(--text); }
.ck-suggest__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.ck-suggest__text b { font-size: 13.5px; overflow-wrap: anywhere; }
.ck-suggest__text span { font-size: 12px; color: var(--text-muted); }
.ck-suggest__x { flex: none; width: 26px; height: 26px; border: none; border-radius: 50%; background: none; color: var(--text-muted); font-size: 18px; line-height: 1; cursor: pointer; }
.ck-suggest__x:hover { background: var(--bg-sunken); }
.ck-toolbar { align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 14px; margin-bottom: 14px; }
.ck-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.ck-chip { display: inline-flex; align-items: center; height: var(--chip-h); padding: 0 14px; border: 1px solid var(--border-strong); border-radius: 999px; background: var(--card); color: var(--text-secondary); font: inherit; font-size: 13px; cursor: pointer; }
.ck-chip:hover { background: var(--bg-sunken); }
.ck-chip.selected { border-color: var(--text); background: var(--text); color: var(--bg); font-weight: 600; }
.ck-chip[hidden] { display: none; }
.ck-packbtn .icon { width: 16px; height: 16px; }
.ck-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; align-items: start; }
.ck-card { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: var(--radius-card, 20px); background: var(--card); overflow: hidden; scroll-margin-top: 16px; }
.ck-card__head { display: flex; align-items: center; gap: 8px; padding: 11px 14px; background: var(--ck-soft); color: var(--ck-ink); }
.ck-card__title { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; }
.ck-card__title .icon { width: 17px; height: 17px; }
.ck-card__count { font-size: 12px; font-weight: 600; opacity: 0.85; }
.ck-card__badge { margin-left: auto; padding: 2px 9px; border-radius: 999px; background: var(--card); font-size: 11.5px; font-weight: 700; }
.ck-card__badge.is-done { color: var(--positive); }
.ck-items { display: flex; flex-direction: column; margin: 0; padding: 4px 14px; list-style: none; }
.ck-item { display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--border-subtle); }
.ck-item:last-child { border-bottom: none; }
.ck-row { position: relative; display: flex; align-items: center; gap: 11px; flex: 1; min-width: 0; padding: 9px 0; cursor: pointer; }
.ck-input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.ck-box { display: grid; place-items: center; width: 22px; height: 22px; flex: none; border: 1.5px solid var(--border-strong); border-radius: var(--radius-sm); background: var(--card); color: transparent; transition: background-color 0.1s, border-color 0.1s; }
.ck-box .icon { width: 14px; height: 14px; }
.ck-input:checked + .ck-box { border-color: var(--ck); background: var(--ck-soft); color: var(--ck-ink); }
.ck-input:focus-visible + .ck-box { outline: 2px solid var(--brand); outline-offset: 2px; }
.ck-input:disabled + .ck-box { opacity: 0.7; }
.ck-text { min-width: 0; font-size: 14px; line-height: 1.45; overflow-wrap: anywhere; }
.ck-item.is-done .ck-text { color: var(--text-muted); text-decoration: line-through; }
.ck-edit,
.ck-del { opacity: 0; transition: opacity 0.12s; }
.ck-item:hover .ck-edit,
.ck-item:hover .ck-del,
.ck-item:focus-within .ck-edit,
.ck-item:focus-within .ck-del { opacity: 1; }
@media (hover: none) { .ck-edit, .ck-del { opacity: 1; } }
.ck-item.is-editing { gap: 6px; padding: 7px 0; }
.ck-edit-input { flex: 1; min-width: 0; }
.ck-vbadge { display: inline-flex; align-items: center; gap: 4px; flex: none; height: 24px; padding: 0 9px; border: none; border-radius: 999px; background: var(--accent-teal-soft); color: var(--accent-teal-soft-text); font: inherit; font-size: 11.5px; font-weight: 700; cursor: pointer; }
.ck-vbadge .icon { width: 13px; height: 13px; }
.ck-vbadge:hover { filter: brightness(0.96); }
.ck-add { display: flex; gap: 6px; padding: 8px 14px 14px; }
.ck-add input { flex: 1; min-width: 0; }
.ck-packing .side-layout { grid-template-columns: 1fr; max-width: 640px; margin-left: auto; margin-right: auto; }
.ck-packing .side-layout-side,
.ck-packing .ck-suggest,
.ck-packing .ck-summary__cats,
.ck-packing #checklist-filter,
.ck-packing .ck-card__badge,
.ck-packing .ck-del,
.ck-packing .ck-edit,
.ck-packing .ck-add,
.ck-packing .check-assignee { display: none !important; }
.ck-packing .ck-toolbar { justify-content: flex-end; }
.ck-packing .ck-grid { grid-template-columns: 1fr; gap: 14px; }
.ck-packing .ck-row { padding: 15px 0; gap: 14px; }
.ck-packing .ck-box { width: 30px; height: 30px; border-radius: var(--radius-md); }
.ck-packing .ck-box .icon { width: 18px; height: 18px; }
.ck-packing .ck-text { font-size: 17px; }
.ck-packing .ck-card__head { padding: 13px 16px; }
.ck-packing .ck-card__title { font-size: 15.5px; }
.ck-packing .ck-summary__num { font-size: 48px; }
.ck-summary__hint { margin: 0; font-size: 12px; line-height: 1.5; color: var(--text-muted); text-wrap: pretty; }
.ck-linkbtn { border: none; background: none; padding: 0; font: inherit; font-weight: 700; color: var(--brand-soft-text); text-decoration: underline; cursor: pointer; }
.ck-toolbar__btns { display: flex; flex-wrap: wrap; gap: 8px; }
.ck-packing #checklist-lists-btn { display: none; }
.ck-modal { width: 520px; padding: 0; display: flex; flex-direction: column; overflow: hidden; }
.ck-modal__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px 14px; background: var(--brand-soft); color: var(--brand-soft-text); }
.ck-modal__title { margin: 0; font-size: 19px; letter-spacing: -0.02em; color: var(--text); }
.ck-modal__bodywrap { display: flex; flex-direction: column; gap: 6px; padding: 8px 22px 20px; overflow-y: auto; }
.ck-modal__section { display: flex; flex-direction: column; gap: 8px; padding: 12px 0; border-bottom: 1px solid var(--border-subtle); }
.ck-modal__section:last-child { border-bottom: none; }
.ck-modal__section h3 { margin: 0; font-size: 14.5px; }
.ck-modal__section p { margin: 0; font-size: 12.5px; line-height: 1.5; }
.ck-modal__row { display: flex; gap: 8px; align-items: center; }
.ck-modal__row select,
.ck-modal__row input { flex: 1; min-width: 0; }
.ck-preset-list { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; list-style: none; }
.ck-preset { display: flex; align-items: center; gap: 8px; padding: 9px 10px 9px 12px; border-radius: var(--radius-card); background: var(--bg-sunken); }
.ck-preset__text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ck-preset__text b { font-size: 13.5px; overflow-wrap: anywhere; }
.ck-preset__text span { font-size: 12px; color: var(--text-muted); }
@media (max-width: 560px) { .ck-modal__head, .ck-modal__bodywrap { padding-left: 16px; padding-right: 16px; } }
.ck-quick-add { display: flex; gap: 8px; align-items: center; margin-bottom: 14px; }
.ck-quick-add[hidden] { display: none; }
.ck-quick-add input { flex: 1 1 auto; min-width: 0; height: 36px; }
.ck-quick-add select { flex: 0 0 auto; width: auto; max-width: 42%; height: 36px; }
@media (max-width: 480px) {
  .ck-quick-add { flex-wrap: wrap; }
  .ck-quick-add input { flex: 1 0 100%; }
  .ck-quick-add select { flex: 1 1 auto; max-width: none; }
}
