/* The casebase demo stage. Sizes are in points, matching the app's SwiftUI layout. */

.cb-stage {
  position: relative;
  width: 840px;
  height: 680px;
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Helvetica Neue", sans-serif;
  color: #fff;
  user-select: none;
  background: #241f45;
  --lhx: 0px;
}
.cb-stage.cb-zh {
  --lhx: 0.9px;
}

.cb-stage * { box-sizing: border-box; }

.cb-layer { position: absolute; inset: 0; pointer-events: none; }

.cb-wallpaper {
  position: absolute;
  left: -336px;
  top: 0;
  width: 1512px;
  height: 982px;
  background:
    radial-gradient(circle 560px at 181.44px 176.76px, rgba(89,140,250,0.35) 10px, rgba(89,140,250,0) 560px),
    radial-gradient(circle 620px at 1179.36px 903.44px, rgba(250,163,115,0.45) 20px, rgba(250,163,115,0) 620px),
    linear-gradient(123deg, rgb(33,41,84) 0%, rgb(77,56,115) 50%, rgb(158,97,122) 100%);
}

.cb-menubar { position: absolute; left: 0; right: 0; top: 0; height: 32px; background: rgba(0,0,0,0.18); }

.cb-desktop-file {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  transform: translate(-50%, -50%);
}
.cb-desktop-file img { width: 64px; height: 64px; display: block; }
.cb-desktop-file span {
  font-size: 12px;
  font-weight: 500;
  text-shadow: 0 1px 2px rgba(0,0,0,0.6);
  white-space: nowrap;
}

.cb-notch-shape { position: absolute; left: 0; top: 0; overflow: visible; }

/* NotchCompositeView: the rounded inner panel inside the expanded notch. */
.cb-composite { position: absolute; top: 0; }
.cb-panel {
  position: absolute;
  border-radius: 24px;
  background: rgba(255,255,255,0.02);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
  overflow: hidden;
}
.cb-content {
  position: absolute;
  inset: 0;
  padding: 20px;
  display: flex;
  flex-direction: column;
}
.cb-content > .cb-chrome-row { display: flex; justify-content: flex-end; min-height: 0; }
.cb-content > .cb-body { margin-top: 14px; flex: 1; min-height: 0; display: flex; flex-direction: column; }

/* NotchDropZoneView */
.cb-dropzone { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.cb-dropzone-box { position: relative; height: 138px; border-radius: 18px; background: rgba(255,255,255,0.05); }
.cb-dropzone-box svg.cb-dash { position: absolute; inset: 0; overflow: visible; }
.cb-dropzone-label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 600;
  line-height: calc(16px * 1.193 + var(--lhx));
}

/* NotchTaskRailView */
.cb-rail {
  position: absolute;
  top: 0;
  padding: 9px 16px;
  min-width: 112px;
  border-radius: 999px;
  background: rgba(0,0,0,0.94);
  white-space: nowrap;
  font-size: 11px;
  font-weight: 500;
  text-align: center;
  line-height: calc(11px * 1.193 + var(--lhx));
}
.cb-rail-text { position: relative; display: inline-block; }
.cb-rail-shimmer {
  position: absolute;
  inset: 0;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  background-repeat: no-repeat;
}

.cb-indicator { position: absolute; width: 20px; height: 20px; border-radius: 6px; }
.cb-indicator svg { position: absolute; inset: 0; }

/* Library */
.cb-library { display: flex; flex-direction: column; gap: 16px; min-height: 0; flex: 1; }
.cb-header { display: flex; align-items: center; gap: 12px; }
.cb-title { font-size: 20px; font-weight: 600; line-height: calc(20px * 1.193 + var(--lhx)); letter-spacing: -0.7px; }
.cb-count {
  display: inline-flex;
  padding: 6px 9px;
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.29);
}
.cb-spacer { flex: 1; }
.cb-chrome-button {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cb-rows { display: flex; flex-direction: column; gap: 14px; overflow: hidden; min-height: 0; }
.cb-row {
  flex: none;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 18px;
  background: rgba(255,255,255,0.045);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05);
}
.cb-preview {
  position: relative;
  flex: none;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 10px;
  text-align: center;
}
.cb-preview-kind { font-size: 11px; font-weight: 600; line-height: calc(11px * 1.193 + var(--lhx)); }
.cb-preview > svg { flex: none; }
.cb-preview-detail { font-size: 9px; color: rgba(255,255,255,0.56); line-height: calc(9px * 1.193 + var(--lhx)); margin-top: 4px; max-width: 44px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cb-row-main { flex: 1; min-width: 0; display: flex; gap: 12px; align-items: flex-start; }
.cb-row-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 7px; }
.cb-row-titleline { display: flex; align-items: baseline; gap: 8px; }
.cb-pill {
  flex: none;
  font-size: 10px;
  font-weight: 600;
  line-height: calc(10px * 1.193 + var(--lhx));
  padding: 5px 9px;
  border-radius: 10px;
}
.cb-row-title { font-size: 14px; font-weight: 500; line-height: calc(14px * 1.193 + var(--lhx)); }
.cb-row-scene { font-size: 11px; color: rgba(255,255,255,0.62); line-height: calc(11px * 1.193 + var(--lhx)); white-space: nowrap; }
.cb-row-time { font-size: 10px; color: rgba(255,255,255,0.44); line-height: calc(10px * 1.193 + var(--lhx)); white-space: nowrap; }
.cb-row-trailing {
  flex: none;
  width: 24px;
  height: 58px;
  padding: 2px 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
}

/* Things that are not casebase: cursor, dragged file, captions. */
.cb-cursor { position: absolute; width: 28px; height: 40px; transform-origin: 0 0; }
.cb-drag-icon { position: absolute; width: 64px; height: 64px; opacity: 0.85; }
.cb-caption {
  position: absolute;
  top: 646px;
  left: 420px;
  transform: translate(-50%, -50%);
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(0,0,0,0.55);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}

/* Library detail (NotchLibraryDetailView) */
.cb-detail { display: flex; flex-direction: column; gap: 16px; min-height: 0; flex: 1; }
.cb-detail-body { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 10px; }
.cb-detail-scroll { flex: 1; min-height: 0; overflow: hidden; }
.cb-detail-cards { display: flex; flex-direction: column; gap: 12px; padding-bottom: 4px; }
.cb-glass {
  padding: 16px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.024));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05);
}
.cb-hero { display: flex; align-items: flex-start; gap: 14px; }
.cb-hero .cb-preview { width: 128px; height: 128px; border-radius: 26px; gap: 12px; }
.cb-hero .cb-preview-kind { font-size: 12px; line-height: calc(12px * 1.193 + var(--lhx)); }
.cb-hero .cb-preview-detail { font-size: 10px; line-height: calc(10px * 1.193 + var(--lhx)); max-width: none; white-space: normal; }
.cb-hero-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.cb-pills { display: flex; gap: 8px; }
.cb-pill-icon { display: inline-flex; align-items: center; gap: 6px; }
.cb-hero-title { font-size: 17px; font-weight: 500; line-height: 20.3px; }
.cb-hero-summary { font-size: 12px; line-height: calc(12px * 1.193 + var(--lhx)); color: rgba(255,255,255,0.76); }
.cb-tags { display: flex; gap: 8px; overflow: hidden; }
.cb-tag {
  flex: none;
  font-size: 10px;
  font-weight: 500;
  line-height: calc(10px * 1.193 + var(--lhx));
  color: rgba(255,255,255,0.72);
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
  white-space: nowrap;
}
.cb-facts { display: flex; gap: 10px; }
.cb-fact { display: flex; flex-direction: column; gap: 4px; }
.cb-fact-label { font-size: 9px; line-height: calc(9px * 1.193 + var(--lhx)); color: rgba(255,255,255,0.42); }
.cb-fact-value { font-size: 11px; line-height: calc(11px * 1.193 + var(--lhx)); }
.cb-section { display: flex; flex-direction: column; gap: 10px; }
.cb-section-title { font-size: 10px; line-height: calc(10px * 1.193 + var(--lhx)); color: rgba(255,255,255,0.46); }
.cb-values { display: flex; flex-direction: column; gap: 12px; }
.cb-value { display: flex; flex-direction: column; gap: 4px; padding: 2px 0; }
.cb-value-label { font-size: 10px; line-height: calc(10px * 1.193 + var(--lhx)); color: rgba(255,255,255,0.42); }
.cb-value-text { font-size: 12px; line-height: calc(12px * 1.193 + var(--lhx)); }
.cb-actionbar { flex: none; display: flex; gap: 8px; justify-content: flex-end; }
.cb-tile {
  width: 88px;
  min-height: 36px;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 500;
  line-height: calc(11px * 1.193 + var(--lhx));
  white-space: nowrap;
}
.cb-tile.cb-destructive { background: rgb(46,18,20); box-shadow: inset 0 0 0 1px rgb(97,33,38); color: rgb(255,189,189); }

/* Source window (not casebase): article for text capture, chart for screenshots */
.cb-window {
  position: absolute;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 16px 60px rgba(0,0,0,0.35);
  color: #1f1f1f;
}
.cb-window-bar {
  height: 44px;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
}
.cb-window-bar i { width: 12px; height: 12px; border-radius: 50%; flex: none; }
.cb-url {
  flex: 1;
  margin: 0 60px 0 26px;
  padding: 5px 0;
  border-radius: 7px;
  background: rgba(0,0,0,0.06);
  color: rgba(0,0,0,0.55);
  font-size: 12px;
  line-height: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.cb-window-body { position: absolute; top: 44px; left: 0; right: 0; bottom: 0; background: #fff; }
.cb-article { padding: 22px 28px; }
.cb-article h1 { margin: 0 0 12px; font-size: 22px; line-height: 28px; font-weight: 700; color: #1d1d1f; }
.cb-article p { margin: 0 0 8px; font-size: 14px; line-height: 22px; color: #48484a; white-space: nowrap; }
.cb-article p.cb-quote { margin: 14px 0 14px; font-size: 16px; line-height: 24px; font-weight: 600; color: #1d1d1f; }
.cb-sel { padding: 1px 0; }
.cb-chart { padding: 24px; }
.cb-chart-title { font-size: 20px; line-height: 24px; font-weight: 700; color: #1f1f1f; }
.cb-chart-subtitle { font-size: 13px; line-height: 16px; color: #737373; margin: 6px 0 20px; }
.cb-bars { display: flex; align-items: flex-end; gap: 18px; }
.cb-bar { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.cb-bar-value { font-size: 11px; line-height: 13px; font-weight: 600; color: #595959; }
.cb-bar-fill { width: 44px; border-radius: 6px; background: rgb(79,115,250); }
.cb-bar-label { font-size: 11px; line-height: 13px; color: #737373; }
.cb-thumb { position: absolute; inset: 0; overflow: hidden; }
.cb-window-static { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
.cb-preview { overflow: hidden; }

.cb-shot-overlay { position: absolute; left: 0; top: 0; }

.cb-sink { position: absolute; top: 0; left: 0; mix-blend-mode: screen; pointer-events: none; }
.cb-sink span { position: absolute; transform: translate(-50%, -50%); }
.cb-sink-glow, .cb-sink-ring { border-radius: 50%; }
.cb-sink-bar { border-radius: 999px; }

.cb-flight-layer { position: absolute; left: -336px; top: 0; width: 1512px; height: 982px; transform-origin: 756px 491px; pointer-events: none; }
.cb-flight-tile { position: absolute; overflow: visible; }
.cb-flight-tile .cb-tile-bg { position: absolute; inset: 0; overflow: hidden; background: rgba(0,0,0,0.9); }
.cb-flight-tile .cb-tile-text { position: relative; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; }
.cb-flight-tile .cb-tile-line { height: 5px; border-radius: 999px; background: rgba(255,255,255,0.18); }

.cb-keys {
  position: absolute;
  left: 420px;
  top: 470px;
  display: flex;
  gap: 8px;
  padding: 14px;
  border-radius: 20px;
  background: rgba(0,0,0,0.62);
}
.cb-keys span {
  min-width: 58px;
  height: 58px;
  padding: 0 6px;
  border-radius: 12px;
  background: rgba(255,255,255,0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: ui-rounded, -apple-system, sans-serif;
  font-size: 30px;
  font-weight: 500;
}

/* Hover actions (NotchHoverActionsView) */
.cb-settings-button {
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,0.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
}
.cb-hover { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 20px; }
.cb-hover-buttons { display: flex; gap: 8px; }
.cb-hover-button { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.cb-hover-box {
  width: 100%; height: 48px; border-radius: 16px;
  background: rgba(255,255,255,0.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
}
.cb-hover-label { font-size: 10px; font-weight: 500; line-height: calc(10px * 1.193 + var(--lhx)); color: rgba(255,255,255,0.7); }
.cb-hover-bottom { display: flex; align-items: center; gap: 10px; }
.cb-record-button {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px;
  background: rgba(255,255,255,0.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1);
  font-size: 11px; font-weight: 500; line-height: calc(11px * 1.193 + var(--lhx)); color: rgba(255,255,255,0.78);
}
.cb-record-button i { width: 6px; height: 6px; border-radius: 50%; background: rgb(237,92,84); }
.cb-hover-hint { font-size: 11px; font-weight: 500; line-height: calc(11px * 1.193 + var(--lhx)); color: rgba(255,255,255,0.56); white-space: nowrap; }

/* Explore (NotchAnswerResultView) */
.cb-answer { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 12px; }
.cb-answer-title { font-size: 18px; font-weight: 600; line-height: calc(18px * 1.193 + var(--lhx)); }
.cb-answer-header { display: flex; align-items: center; gap: 10px; min-height: 30px; }
.cb-tag-strip { display: flex; gap: 6px; }
.cb-tag-strip span {
  font-size: 10px; font-weight: 500; line-height: calc(10px * 1.193 + var(--lhx)); color: rgba(255,255,255,0.82);
  padding: 5px 8px; border-radius: 999px; background: rgba(255,255,255,0.07); white-space: nowrap;
}
.cb-scroll { flex: 1; min-height: 0; overflow: hidden; }
.cb-explore { display: flex; flex-direction: column; gap: 12px; }
.cb-summary { font-size: 12px; line-height: calc(12px * 1.193 + var(--lhx)); color: rgba(255,255,255,0.58); }
.cb-card {
  padding: 14px; border-radius: 16px;
  background: rgba(255,255,255,0.045); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
  display: flex; flex-direction: column;
}
.cb-empty-title { font-size: 15px; font-weight: 600; line-height: calc(15px * 1.193 + var(--lhx)); }
.cb-empty-detail { font-size: 12px; line-height: calc(12px * 1.193 + var(--lhx)); color: rgba(255,255,255,0.58); margin-top: 8px; }
.cb-turn { gap: 10px; }
.cb-turn-label { font-size: 10px; font-weight: 600; line-height: calc(10px * 1.193 + var(--lhx)); color: rgba(255,255,255,0.52); }
.cb-turn-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.cb-turn-time { font-size: 10px; line-height: calc(10px * 1.193 + var(--lhx)); color: rgba(255,255,255,0.38); }
.cb-turn-question { font-size: 13px; font-weight: 500; line-height: calc(13px * 1.193 + var(--lhx)); }
.cb-turn-answer { font-size: 13px; line-height: calc(13px * 1.193 + var(--lhx)); color: rgba(255,255,255,0.86); }
.cb-answer-label-row { display: flex; align-items: center; gap: 8px; height: calc(10px * 1.193 + var(--lhx)); }
.cb-spinner { width: 12px; height: 12px; }
.cb-sources { display: flex; flex-direction: column; gap: 8px; }
.cb-sources-label { font-size: 11px; font-weight: 500; line-height: calc(11px * 1.193 + var(--lhx)); color: rgba(255,255,255,0.56); }
.cb-citation {
  padding: 12px; border-radius: 14px; display: flex; flex-direction: column; gap: 6px;
  background: rgba(255,255,255,0.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
}
.cb-citation-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.cb-citation-kind {
  font-size: 10px; font-weight: 600; line-height: calc(10px * 1.193 + var(--lhx)); color: rgba(255,255,255,0.8);
  padding: 4px 8px; border-radius: 999px; background: rgba(255,255,255,0.08);
}
.cb-action-button {
  font-size: 11px; font-weight: 500; line-height: calc(11px * 1.193 + var(--lhx));
  padding: 7px 12px; border-radius: 10px; background: rgba(255,255,255,0.08);
}
.cb-citation-title { font-size: 13px; font-weight: 600; line-height: calc(13px * 1.193 + var(--lhx)); }
.cb-citation-summary { font-size: 12px; line-height: calc(12px * 1.193 + var(--lhx)); color: rgba(255,255,255,0.7); }
.cb-citation-excerpt { font-size: 11px; line-height: calc(11px * 1.193 + var(--lhx)); color: rgba(255,255,255,0.56); }
.cb-composer {
  flex: none; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px;
  background: rgba(255,255,255,0.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
}
.cb-composer-field { flex: 1; min-width: 0; font-size: 13px; line-height: calc(13px * 1.193 + var(--lhx)); white-space: nowrap; overflow: hidden; }
.cb-composer-field .cb-placeholder { color: rgba(255,255,255,0.25); }
.cb-caret { display: inline-block; width: 1.5px; height: 15px; background: #fff; vertical-align: -3px; margin-left: 1px; }
.cb-send { width: 30px; height: 30px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; flex: none; }
.cb-send img { width: 13px; height: 15px; }

.cb-content.cb-measuring { position: absolute; height: auto !important; bottom: auto; visibility: hidden; display: flex !important; }
.cb-content.cb-measuring .cb-scroll, .cb-content.cb-measuring .cb-rows, .cb-content.cb-measuring .cb-detail-scroll { flex: none; overflow: visible; }
.cb-content.cb-measuring .cb-body, .cb-content.cb-measuring .cb-answer, .cb-content.cb-measuring .cb-hover { flex: none; }

.cb-hover-box svg, .cb-settings-button svg, .cb-chrome-button svg { display: block; }

/* Text with a lineLimit uses plain SF line metrics, without the extra CJK leading. */
.cb-rail, .cb-preview-detail,
.cb-hover-label, .cb-record-button, .cb-hover-hint, .cb-tag-strip span { --lhx: 0px; }

/* Library rows: measured against the app, these line boxes match exactly. */
.cb-row .cb-row-title { line-height: 17px; }
.cb-row .cb-pill { line-height: 12px; }
.cb-row-scene { line-height: 13px; }
.cb-row-time { line-height: 12px; }

/* Meeting detail extras */
.cb-transcript { font-size: 12px; line-height: calc(12px * 1.193 + var(--lhx)); padding: 12px 14px; border-radius: 16px; background: rgba(255,255,255,0.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06); white-space: pre-line; }
.cb-snippet { font-size: 12px; line-height: calc(12px * 1.193 + var(--lhx)); padding: 12px 14px; border-radius: 16px; background: rgba(255,255,255,0.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06); }
.cb-value-text.cb-wrap { overflow-wrap: anywhere; }
.cb-actions { display: flex; flex-direction: column; gap: 9px; }
.cb-action-item { padding: 12px; border-radius: 14px; background: rgba(255,255,255,0.045); display: flex; flex-direction: column; gap: 7px; }
.cb-action-title { font-size: 13px; font-weight: 600; line-height: calc(13px * 1.193 + var(--lhx)); }
.cb-action-meta { font-size: 10px; font-weight: 500; line-height: calc(10px * 1.193 + var(--lhx)); color: rgba(255,255,255,0.52); }
.cb-action-reason { font-size: 11px; line-height: calc(11px * 1.193 + var(--lhx)); color: rgba(255,255,255,0.68); }
.cb-action-evidence { font-size: 10px; line-height: calc(10px * 1.193 + var(--lhx)); color: rgba(255,255,255,0.42); }
.cb-action-buttons { display: flex; justify-content: flex-end; gap: 7px; }
.cb-decision { font-size: 10px; font-weight: 600; line-height: 12px; height: 28px; padding: 0 11px; border-radius: 9px; display: flex; align-items: center; background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.76); }
.cb-decision.cb-emphasized { background: #fff; color: #000; }

/* To-do list (NotchTodoListView) */
.cb-todos { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 16px; }
.cb-todo-filters { display: flex; flex-direction: column; gap: 10px; }
.cb-status-filters { display: flex; gap: 8px; }
.cb-status-filter { font-size: 11px; font-weight: 500; line-height: 13px; height: 28px; padding: 0 12px; border-radius: 9px; display: flex; align-items: center; background: rgba(255,255,255,0.05); color: rgba(255,255,255,0.62); }
.cb-status-filter.cb-selected { background: #fff; color: #000; }
.cb-quadrant-filters { display: flex; gap: 7px; }
.cb-quadrant-filter { flex: 1; height: 27px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 600; line-height: 12px; }
.cb-todo-list { flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; gap: 14px; }
.cb-todo { flex: none; display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 18px; background: rgba(255,255,255,0.045); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05); }
.cb-checkbox { flex: none; width: 24px; height: 24px; border-radius: 6px; background: rgba(255,255,255,0.04); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.22); }
.cb-todo-main { flex: 1; min-width: 0; display: flex; align-items: flex-start; gap: 10px; }
.cb-todo-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.cb-todo-title { font-size: 14px; font-weight: 500; line-height: 17px; }
.cb-todo-detail { font-size: 11px; line-height: 13px; color: rgba(255,255,255,0.62); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cb-todo-source { display: flex; align-items: center; gap: 5px; font-size: 10px; line-height: 12px; color: rgba(255,255,255,0.46); white-space: nowrap; }
.cb-todo-why { font-size: 10px; line-height: 12px; color: rgba(255,255,255,0.42); }
.cb-quadrant-pill { flex: none; height: 22px; padding: 0 7px; border-radius: 999px; display: flex; align-items: center; font-size: 9px; font-weight: 700; line-height: 11px; }
.cb-todo-footer { display: flex; justify-content: flex-end; }
.cb-todo-footer .cb-tile { width: 88px; }
.cb-todo-title { line-height: calc(14px * 1.193 + var(--lhx)); }
.cb-todo-detail { line-height: calc(11px * 1.193 + var(--lhx)); }
.cb-todo-source, .cb-todo-why { line-height: calc(10px * 1.193 + var(--lhx)); }

/* Round table window (RoundTablePanelController): titled, hidden title bar, system corners and shadow */
.cb-rt-window { position: absolute; border-radius: 16px; overflow: hidden; background: #f8f7f4; box-shadow: 0 22px 70px rgba(0,0,0,0.45), 0 0 0 0.5px rgba(0,0,0,0.25); }
.cb-rt-window iframe { border: 0; width: 100%; height: 100%; display: block; }

/* Terminal window running an MCP client (not casebase) */
.cb-term { position: absolute; border-radius: 12px; overflow: hidden; background: #1c1c1e; box-shadow: 0 22px 70px rgba(0,0,0,0.5), 0 0 0 0.5px rgba(255,255,255,0.12); }
.cb-term-bar { height: 30px; display: flex; align-items: center; gap: 8px; padding: 0 12px; background: #2a2a2c; }
.cb-term-bar i { width: 12px; height: 12px; border-radius: 50%; }
.cb-term-title { flex: 1; text-align: center; margin-right: 60px; font-size: 12px; line-height: 14px; color: rgba(255,255,255,0.55); }
.cb-term-body { padding: 14px 18px; font-family: "SF Mono", ui-monospace, Menlo, monospace; font-size: 12.5px; line-height: 19px; color: #e6e6e6; white-space: pre-wrap; }
.cb-term-body .p { color: #9a9a9a; }
.cb-term-body .user { color: #fff; }
.cb-term-body .dot { color: #6cc28a; }
.cb-term-body .tool { color: #fff; font-weight: 600; }
.cb-term-body .arg { color: #9a9a9a; }
.cb-term-body .res { color: #a0a0a0; }
.cb-term-body .say { color: #e6e6e6; }
.cb-term-body .spin { color: #d98a5a; }

/* Live notch on a web page */
html.cb-embed .cb-hover-button, html.cb-embed .cb-chrome-button { cursor: pointer; }
html.cb-embed .cb-hover-button:hover .cb-hover-box { background: rgba(255,255,255,0.1); }
