/* AURA Kit · the ⋮ panel on every Card (D-CBO-326). With card-panel.css. Tokens only. */
.ckp-note { display: flex; gap: 10px; margin: 4px 0 8px; padding: 12px; border-radius: 8px; background: var(--surface-2); font-size: var(--fs-xs); line-height: 1.5; color: var(--ink-2); }
.ckp-note > .icon { flex: none; color: var(--ink-3); }
.ckp-note b { display: block; margin-bottom: 2px; font-size: var(--fs-sm); color: var(--ink); }
.cxp-tb { display: flex; gap: 2px; margin-top: 8px; padding: 4px; width: max-content; max-width: 100%; flex-wrap: wrap; border-radius: 6px; background: var(--surface); box-shadow: var(--shadow-rest); }
.cxp-tb .icon { width: 24px; height: 24px; display: grid; place-items: center; color: var(--ink-2); }
.cxp-toast { position: fixed; left: 50%; bottom: 24px; z-index: 95; transform: translate(-50%, 16px); opacity: 0; padding: 10px 16px; border-radius: 8px; background: var(--ink); color: var(--paper); font-size: var(--fs-sm); transition: opacity .16s, transform .16s; pointer-events: none; }
.cxp-toast.on { opacity: 1; transform: translate(-50%, 0); }
/* live Card settings on any Card: the id in :not() lifts these over page rules, so no !important is needed */
[data-cx-open]:not(#cxp-x) { outline: 2px solid var(--accent); outline-offset: 2px; }
[data-cx-style="flat"]:not(#cxp-x) { background: transparent; box-shadow: none; }
[data-cx-style="tinted"]:not(#cxp-x) { background: var(--surface-2); box-shadow: none; }
[data-cx-head="none"]:not(#cxp-x) :is(.pb-ch, .k-cm-head, .ckc-head, .cxk-head) { display: none; }
[data-cx-head="editorial"]:not(#cxp-x) :is(.pb-ct, .k-cm-title, .cxk-title) { font-size: 30px; line-height: 36px; }
[data-cx-height="S"]:not(#cxp-x) { min-height: 200px; } [data-cx-height="M"]:not(#cxp-x) { min-height: 280px; } [data-cx-height="L"]:not(#cxp-x) { min-height: 400px; }
[data-cx-density="compact"]:not(#cxp-x) { padding: 16px; }
@media (prefers-reduced-motion: reduce) { .cxp-toast { transition: none; } }

/* D-CBO-327, D-CBO-328: the panel floats beside the Card. Every value below is copied from the reference, the page builder canvas's
   Card panel (#canvas/each/chi/card, .pb-kpanel.k-cp), read from its computed styles: 360 wide, radius 8, --shadow-raised, a --hairline
   border; head 8 8 8 12 with a line under it; title 14/600; ✕ 24 px with a 16 px icon; body 4 8 8; rows 32 high, 4 8 padding, 8 gap,
   16 px icons in --ink-3, label and value both 14 px, the value in --ink-3 cut at 136 px, a 16 px ›; section labels 12/500 --ink-3, 12 8 4. */
.ckp.cxp-float { top: 16px; right: auto; bottom: auto; width: min(360px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 1px solid var(--hairline); border-radius: var(--r-card); background: var(--surface); box-shadow: var(--shadow-raised); overflow: hidden; z-index: 94; font-size: 14px; line-height: 20px; }
.ckp.cxp-float .ckp-head { padding: 8px 8px 8px 12px; border-bottom: 1px solid var(--line); }
.ckp.cxp-float .ckp-top { gap: 8px; }
.ckp.cxp-float .ckp-kind { font-size: var(--fs-xs); line-height: 16px; color: var(--ink-3); }
.ckp.cxp-float .ckp-top .iconbtn { width: 24px; height: 24px; min-width: 24px; padding: 0; border-radius: var(--r-sm); color: var(--ink-3); }
.ckp.cxp-float .ckp-top .iconbtn .icon { font-size: 16px; width: 16px; }
.ckp.cxp-float .ckp-name { margin: 4px 0 8px; font: 600 14px/20px var(--font); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ckp.cxp-float .ckp-search { height: 32px; padding: 0 8px; }
.ckp.cxp-float .ckp-vp { min-height: 0; }
.ckp.cxp-float .ckp-page { padding: 4px 8px 8px; }
.ckp.cxp-float .ckp-sec { border-bottom: 0; }
.ckp.cxp-float .ckp-sech { height: auto; padding: 12px 8px 4px; font-size: 12px; line-height: 16px; font-weight: 500; color: var(--ink-3); }
.ckp.cxp-float .ckp-sech .icon { font-size: 16px; width: 16px; }
.ckp.cxp-float .ckp-sec.open .ckp-sech { color: var(--ink-3); }
.ckp.cxp-float .ckp-secb { padding: 0; }
.ckp.cxp-float .ckp-row { min-height: 32px; padding: 4px 8px; gap: 8px; border-radius: var(--r-sm); font-size: 14px; line-height: 20px; }
.ckp.cxp-float .ckp-row > .ckp-l { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ckp.cxp-float .ckp-row > .ckp-l small { white-space: normal; font-size: var(--fs-xs); line-height: 16px; }
.ckp.cxp-float .ckp-row .icon.sm, .ckp.cxp-float .ckp-foot .icon.sm { font-size: 16px; width: 16px; color: var(--ink-3); }
.ckp.cxp-float .ckp-v { max-width: 136px; font-size: 14px; line-height: 20px; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ckp.cxp-float .ckp-seg button, .ckp.cxp-float .ckp-row select, .ckp.cxp-float .ckp-in input { font-size: 14px; }
.ckp.cxp-float .ckp-in input { width: 132px; }
.ckp.cxp-float .ckp-row select { max-width: 140px; }
.ckp.cxp-float .ckp-segrow .ckp-l { flex: 1 0 auto; }
.ckp.cxp-float .ckp-subhead { height: 40px; padding: 0 8px; border-bottom: 1px solid var(--line); }
.ckp.cxp-float .ckp-subb { padding: 4px 8px 8px; }
.ckp.cxp-float .ckp-foot { padding: 4px 8px; border-top: 1px solid var(--line); }
.ckp.cxp-float .ckp-foot button { height: 32px; padding: 0 6px; font-size: 14px; white-space: nowrap; color: var(--ink-2); }
@media (max-width: 767px) {
  .ckp.cxp-float { left: 0; right: 0; top: auto; bottom: 0; width: 100%; max-height: 85vh; border-radius: 16px 16px 0 0; border-width: 1px 0 0; box-shadow: var(--shadow-raised); }
  .ckp.cxp-float::before { content: ""; display: block; flex: none; width: 36px; height: 4px; margin: 8px auto 0; border-radius: 2px; background: var(--line-strong); }
}
