/* Sentio Intelligence Panel V2 — formal Node Conversation Inspector. */
body.panel-only-view {
  --panel-bg: #f6f7fb;
  --surface: #ffffff;
  --surface-soft: #faf9ff;
  --surface-brand: #f4f0ff;
  --text-primary: #17151f;
  --text-secondary: #625e6d;
  --text-muted: #9893a2;
  --brand: #7447f5;
  --brand-hover: #6639e8;
  --brand-soft: #eee9ff;
  --brand-border: rgba(116, 71, 245, 0.16);
  --success: #16a36a;
  --success-soft: #eaf8f2;
  --danger: #c34b55;
  --border: rgba(34, 30, 45, 0.09);
  --divider: rgba(34, 30, 45, 0.07);
  margin: 0;
  background: var(--panel-bg);
  color: var(--text-primary);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  font-synthesis: none;
}

body.panel-only-view *,
body.panel-only-view *::before,
body.panel-only-view *::after { box-sizing: border-box; }
body.panel-only-view button,
body.panel-only-view input { font: inherit; }

body.panel-only-view .insight-panel {
  flex: 1 1 auto;
  min-width: 0 !important;
  max-width: 100vw !important;
  overflow: hidden;
  border: 0 !important;
  border-radius: 0 !important;
  background: radial-gradient(circle at 82% -4%, rgba(116, 71, 245, 0.1), transparent 210px), var(--panel-bg);
  box-shadow: none !important;
  color: var(--text-primary);
}

body.panel-only-view .insight-header {
  min-height: 90px;
  padding: 18px 20px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 0;
  background: transparent;
}
body.panel-only-view .insight-title-lockup { min-width: 0; display: flex; align-items: center; gap: 12px; }
body.panel-only-view .insight-title-lockup > div { min-width: 0; }
body.panel-only-view .insight-brand-mark {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid rgba(116, 71, 245, 0.13);
  border-radius: 11px;
  background: var(--surface);
  box-shadow: 0 6px 18px rgba(77, 50, 164, 0.09);
  color: var(--brand);
}
body.panel-only-view .insight-brand-mark svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
body.panel-only-view .insight-header .eyebrow {
  display: block;
  margin: 0;
  color: var(--brand);
  font-size: 11px;
  font-weight: 650;
  line-height: 16px;
  letter-spacing: 0.035em;
}
body.panel-only-view .insight-header h2 {
  margin: 1px 0 0;
  color: var(--text-primary);
  font-size: 24px;
  font-weight: 700;
  line-height: 30px;
  letter-spacing: -0.025em;
}
body.panel-only-view .insight-actions { display: none; }

body.panel-only-view .tabs {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 0 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
  background: rgba(255, 255, 255, 0.58);
}
body.panel-only-view .tabs button,
body.panel-only-view .tabs button.active {
  position: relative;
  min-width: 0;
  min-height: 48px;
  padding: 0 8px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
  transition: color 180ms cubic-bezier(0.2, 0.8, 0.2, 1), background 150ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
body.panel-only-view .tabs button:hover { color: var(--text-secondary); background: rgba(116, 71, 245, 0.035); }
body.panel-only-view .tabs button.active { color: var(--brand); }
body.panel-only-view .tabs button.active::after {
  position: absolute;
  right: 26%;
  bottom: -1px;
  left: 26%;
  height: 2px;
  border-radius: 2px 2px 0 0;
  background: var(--brand);
  content: "";
}
body.panel-only-view .tabs button:focus-visible,
body.panel-only-view button:focus-visible,
body.panel-only-view input:focus-visible { outline: 3px solid rgba(116, 71, 245, 0.18); outline-offset: 2px; }

body.panel-only-view .panel-content {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 0;
  flex: 1;
  padding: 18px 20px 34px;
  overflow-x: hidden;
  overflow-y: auto;
  background: transparent;
  scrollbar-width: thin;
  scrollbar-color: rgba(91, 83, 109, 0.18) transparent;
}
body.panel-only-view .panel-content::-webkit-scrollbar { width: 5px; }
body.panel-only-view .panel-content::-webkit-scrollbar-thumb { border-radius: 999px; background: rgba(91, 83, 109, 0.18); }
body.panel-only-view .sip-view { width: 100%; min-width: 0; animation: sip-view-in 200ms cubic-bezier(0.2, 0.8, 0.2, 1) both; }
@keyframes sip-view-in { from { opacity: 0; transform: translateY(3px); } to { opacity: 1; transform: translateY(0); } }

body.panel-only-view .sip-micro-label {
  display: block;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 650;
  line-height: 16px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
body.panel-only-view .sip-hero {
  position: relative;
  overflow: hidden;
  padding: 18px;
  border: 1px solid rgba(116, 71, 245, 0.12);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.97), rgba(244, 240, 255, 0.88));
  box-shadow: 0 10px 28px rgba(78, 55, 151, 0.08);
}
body.panel-only-view .sip-hero::before {
  position: absolute;
  top: -110px;
  right: -85px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(116, 71, 245, 0.15), transparent 67%);
  pointer-events: none;
  content: "";
}
body.panel-only-view .sip-hero-topline { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
body.panel-only-view .sip-relationship-heading,
body.panel-only-view .sip-profile-score { position: relative; display: flex; align-items: center; gap: 12px; }
body.panel-only-view .sip-relationship-badge {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: linear-gradient(145deg, #855cf7, #6639e8);
  box-shadow: 0 8px 20px rgba(116, 71, 245, 0.2);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 18px;
}
body.panel-only-view .sip-relationship-heading h2,
body.panel-only-view .sip-profile-score h2,
body.panel-only-view .sip-proactive-hero h2,
body.panel-only-view .sip-pending-hero h2,
body.panel-only-view .sip-proactive-empty-hero h2,
body.panel-only-view .sip-edit-intro h2 {
  margin: 0;
  color: var(--text-primary);
  font-size: 20px;
  font-weight: 700;
  line-height: 27px;
  letter-spacing: -0.018em;
}
body.panel-only-view .sip-relationship-heading p,
body.panel-only-view .sip-profile-score p,
body.panel-only-view .sip-proactive-hero p,
body.panel-only-view .sip-pending-hero p,
body.panel-only-view .sip-proactive-empty-hero p {
  margin: 2px 0 0;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 400;
  line-height: 21px;
}
body.panel-only-view .sip-stat-strip {
  position: relative;
  margin-top: 18px;
  padding-top: 14px;
  display: grid;
  grid-template-columns: repeat(var(--sip-stat-count, 3), minmax(0, 1fr));
  border-top: 1px solid rgba(91, 73, 140, 0.1);
}
body.panel-only-view .sip-stat-strip > div { min-width: 0; padding: 0 10px; }
body.panel-only-view .sip-stat-strip > div:first-child { padding-left: 0; }
body.panel-only-view .sip-stat-strip > div + div { border-left: 1px solid rgba(91, 73, 140, 0.1); }
body.panel-only-view .sip-stat-strip strong { display: block; color: var(--text-primary); font-size: 19px; font-weight: 700; line-height: 24px; white-space: nowrap; }
body.panel-only-view .sip-stat-strip strong small { font-size: 11px; font-weight: 600; }
body.panel-only-view .sip-stat-strip span { display: block; margin-top: 1px; color: var(--text-muted); font-size: 11px; font-weight: 500; line-height: 16px; white-space: nowrap; }

body.panel-only-view .sip-content-section { margin-top: 20px; }
body.panel-only-view .sip-section-heading { min-height: 34px; margin-bottom: 10px; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
body.panel-only-view .sip-section-heading > div { min-width: 0; display: grid; gap: 1px; }
body.panel-only-view .sip-section-heading h3,
body.panel-only-view .sip-automation-module h3,
body.panel-only-view .sip-empty-guidance h3 { margin: 0; color: var(--text-primary); font-size: 14px; font-weight: 650; line-height: 20px; letter-spacing: -0.005em; }
body.panel-only-view .sip-section-meta { min-width: 22px; height: 20px; padding: 0 7px; display: grid; place-items: center; border-radius: 8px; background: var(--brand-soft); color: var(--brand); font-size: 11px; font-weight: 700; }

body.panel-only-view .sip-activity-block {
  min-height: 78px;
  padding: 14px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
}
body.panel-only-view .sip-icon-box,
body.panel-only-view .sip-recent-icon { width: 32px; height: 32px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 10px; background: var(--brand-soft); color: var(--brand); }
body.panel-only-view .sip-icon-box svg,
body.panel-only-view .sip-recent-icon svg,
body.panel-only-view .sip-list-icon svg,
body.panel-only-view .sip-module-icon svg,
body.panel-only-view .sip-empty-symbol svg,
body.panel-only-view .sip-sent-check svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
body.panel-only-view .sip-activity-copy { min-width: 0; display: grid; gap: 7px; }
body.panel-only-view .sip-inline-fact { min-width: 0; display: grid; gap: 1px; }
body.panel-only-view .sip-inline-fact small,
body.panel-only-view .sip-narrative-block > span { color: var(--text-muted); font-size: 11px; font-weight: 600; line-height: 16px; }
body.panel-only-view .sip-inline-fact b { color: var(--text-secondary); font-size: 12px; font-weight: 600; line-height: 18px; }
body.panel-only-view .sip-primary-fact b { color: var(--text-primary); font-size: 14px; line-height: 21px; }
body.panel-only-view .sip-delivery-stack { min-width: 0; display: grid; justify-items: end; gap: 3px; text-align: right; }
body.panel-only-view .sip-delivery-stack strong { display: inline-flex; align-items: center; gap: 5px; color: var(--text-secondary); font-size: 12px; font-weight: 600; line-height: 18px; }
body.panel-only-view .sip-delivery-stack strong i { width: 6px; height: 6px; border-radius: 50%; background: #7d7588; }
body.panel-only-view .sip-delivery-stack > span { color: var(--text-muted); font-size: 10px; font-weight: 400; line-height: 15px; }
body.panel-only-view .sip-delivery-sent strong,
body.panel-only-view .sip-delivery-delivered strong { color: var(--success); }
body.panel-only-view .sip-delivery-sent strong i,
body.panel-only-view .sip-delivery-delivered strong i { background: var(--success); }
body.panel-only-view .sip-delivery-failed strong { color: var(--danger); }
body.panel-only-view .sip-delivery-failed strong i { background: var(--danger); }

body.panel-only-view .sip-insight-list { margin: 0; padding: 0; border-top: 1px solid var(--divider); border-bottom: 1px solid var(--divider); list-style: none; }
body.panel-only-view .sip-insight-list li { min-height: 52px; padding: 8px 2px; display: flex; align-items: center; gap: 11px; }
body.panel-only-view .sip-insight-list li + li { border-top: 1px solid var(--divider); }
body.panel-only-view .sip-list-icon { width: 28px; height: 28px; flex: 0 0 auto; display: grid; place-items: center; color: var(--brand); }
body.panel-only-view .sip-change-list li > div { min-width: 0; flex: 1; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
body.panel-only-view .sip-change-list li span { color: var(--text-secondary); font-size: 12px; font-weight: 500; line-height: 19px; }
body.panel-only-view .sip-change-list li strong { color: var(--text-primary); font-size: 14px; font-weight: 650; line-height: 21px; text-align: right; overflow-wrap: anywhere; }

body.panel-only-view .sip-archive-view { margin-top: -4px; }
body.panel-only-view .sip-profile-hero { padding: 14px 18px; }
body.panel-only-view .sip-profile-hero .sip-hero-topline { margin-bottom: 7px; }
body.panel-only-view .sip-profile-score > span { color: var(--brand); font-size: 38px; font-weight: 730; line-height: 42px; letter-spacing: -0.05em; }
body.panel-only-view .sip-hero-note { position: relative; margin: 8px 0 0; padding-top: 8px; border-top: 1px solid rgba(91, 73, 140, 0.1); color: var(--text-secondary); font-size: 12px; font-weight: 400; line-height: 19px; }
body.panel-only-view .sip-archive-data-view .sip-content-section { margin-top: 12px; }
body.panel-only-view .sip-archive-data-view .sip-section-heading { min-height: 27px; margin-bottom: 5px; }
body.panel-only-view .sip-mini-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: hidden; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
body.panel-only-view .sip-mini-grid > div { min-width: 0; min-height: 50px; padding: 6px 14px; display: grid; align-content: center; gap: 2px; border-bottom: 1px solid var(--divider); }
body.panel-only-view .sip-mini-grid > div:nth-child(even):not(.is-wide) { border-left: 1px solid var(--divider); }
body.panel-only-view .sip-mini-grid > div.is-wide { grid-column: 1 / -1; }
body.panel-only-view .sip-mini-grid > div:last-child { border-bottom: 0; }
body.panel-only-view .sip-mini-grid strong { min-width: 0; color: var(--text-primary); font-size: 14px; font-weight: 650; line-height: 21px; overflow-wrap: anywhere; }
body.panel-only-view .sip-mini-grid span { color: var(--text-muted); font-size: 11px; font-weight: 500; line-height: 16px; }
body.panel-only-view .sip-narrative-stack { display: grid; gap: 7px; }
body.panel-only-view .sip-narrative-block { padding: 7px 10px 8px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
body.panel-only-view .sip-narrative-block.is-brand-tint { border-color: rgba(116, 71, 245, 0.1); background: var(--surface-soft); }
body.panel-only-view .sip-narrative-block p { margin: 4px 0 0; color: var(--text-primary); font-size: 13px; font-weight: 400; line-height: 21px; text-align: left; overflow-wrap: anywhere; }
body.panel-only-view .sip-text-insights li { min-height: 32px; padding: 5px 2px; align-items: flex-start; }
body.panel-only-view .sip-text-insights p { margin: 0; color: var(--text-secondary); font-size: 13px; font-weight: 400; line-height: 21px; text-align: left; }
body.panel-only-view .sip-insight-bullet { width: 6px; height: 6px; flex: 0 0 auto; margin: 7px 4px 0 2px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }

body.panel-only-view .sip-pending-hero { min-height: 224px; padding: 22px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
body.panel-only-view .sip-pending-signal { position: relative; width: 52px; height: 52px; margin-bottom: 16px; border: 1px solid rgba(116, 71, 245, 0.14); border-radius: 16px; background: var(--surface); box-shadow: 0 10px 28px rgba(80, 55, 165, 0.11); }
body.panel-only-view .sip-pending-signal span,
body.panel-only-view .sip-pending-signal i,
body.panel-only-view .sip-pending-signal b { position: absolute; border-radius: 50%; }
body.panel-only-view .sip-pending-signal span { top: 18px; left: 18px; width: 16px; height: 16px; background: var(--brand); box-shadow: 0 0 0 7px var(--brand-soft); }
body.panel-only-view .sip-pending-signal i { top: 7px; right: 7px; width: 7px; height: 7px; background: #b9a6fb; }
body.panel-only-view .sip-pending-signal b { bottom: 8px; left: 7px; width: 5px; height: 5px; background: #d2c6fb; }
body.panel-only-view .sip-pending-hero .sip-micro-label { color: var(--brand); }
body.panel-only-view .sip-pending-hero h2 { margin-top: 3px; }
body.panel-only-view .sip-signal-progress { width: 100%; margin-top: 20px; padding-top: 14px; display: grid; grid-template-columns: 30px 30px 30px minmax(0, 1fr); align-items: center; gap: 6px; border-top: 1px solid rgba(91, 73, 140, 0.1); }
body.panel-only-view .sip-signal-progress span { height: 3px; border-radius: 999px; background: #ded9e8; }
body.panel-only-view .sip-signal-progress span.is-ready { background: var(--brand); }
body.panel-only-view .sip-signal-progress em { margin-left: 4px; color: var(--text-muted); font-size: 10px; font-style: normal; line-height: 16px; }
body.panel-only-view .sip-empty-guidance { margin-top: 20px; padding: 0 4px; }
body.panel-only-view .sip-empty-guidance p { margin: 5px 0 0; color: var(--text-secondary); font-size: 13px; font-weight: 400; line-height: 21px; text-align: left; }

body.panel-only-view .sip-status-pill { min-height: 26px; padding: 4px 9px; display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; color: var(--text-secondary); background: rgba(34, 30, 45, 0.05); font-size: 11px; font-weight: 650; line-height: 16px; white-space: nowrap; }
body.panel-only-view .sip-status-pill i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
body.panel-only-view .sip-status-pill.is-success { color: var(--success); background: var(--success-soft); }
body.panel-only-view .sip-status-pill.is-preview { color: var(--brand); background: var(--brand-soft); }
body.panel-only-view .sip-proactive-hero-title { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
body.panel-only-view .sip-text-action { padding: 4px 0; border: 0; background: transparent; color: var(--brand); font-size: 12px; font-weight: 650; line-height: 19px; cursor: pointer; transition: color 150ms cubic-bezier(0.2, 0.8, 0.2, 1); }
body.panel-only-view .sip-text-action:hover { color: var(--brand-hover); }
body.panel-only-view .sip-hero-rule-note { position: relative; margin-top: 16px; padding-top: 13px; display: flex; align-items: flex-start; gap: 9px; border-top: 1px solid rgba(91, 73, 140, 0.1); }
body.panel-only-view .sip-hero-rule-note > span { width: 8px; height: 8px; flex: 0 0 auto; margin-top: 4px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 5px var(--success-soft); }
body.panel-only-view .sip-hero-rule-note p { margin: 0; color: var(--text-muted); font-size: 11px; line-height: 18px; }

body.panel-only-view .sip-automation-stack { margin-top: 18px; display: grid; gap: 10px; }
body.panel-only-view .sip-automation-module { min-width: 0; padding: 15px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); box-shadow: none; }
body.panel-only-view .sip-automation-module.is-compact { padding-top: 13px; padding-bottom: 13px; }
body.panel-only-view .sip-automation-module > header { min-width: 0; display: flex; align-items: center; gap: 10px; }
body.panel-only-view .sip-automation-module > header > div { min-width: 0; flex: 1; }
body.panel-only-view .sip-automation-module > header p { margin: 1px 0 0; color: var(--text-muted); font-size: 11px; font-weight: 400; line-height: 16px; }
body.panel-only-view .sip-module-icon { width: 34px; height: 34px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 11px; background: var(--brand-soft); color: var(--brand); }
body.panel-only-view .sip-module-icon.is-sun { background: #fff3df; color: #b16b17; }
body.panel-only-view .sip-module-icon.is-shield { background: #eaf6f8; color: #3f778c; }
body.panel-only-view .sip-module-status,
body.panel-only-view .sip-module-value { color: var(--text-secondary); font-size: 10px; font-weight: 650; line-height: 16px; white-space: nowrap; }
body.panel-only-view .sip-module-status.is-success { color: var(--success); }
body.panel-only-view .sip-module-value { font-size: 11px; }
body.panel-only-view .sip-module-facts { margin-top: 13px; padding-top: 12px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 14px; border-top: 1px solid var(--divider); }
body.panel-only-view .sip-module-facts > div { min-width: 0; display: grid; gap: 1px; }
body.panel-only-view .sip-module-facts strong { color: var(--text-primary); font-size: 13px; font-weight: 650; line-height: 20px; }
body.panel-only-view .sip-module-facts span { color: var(--text-muted); font-size: 10px; font-weight: 500; line-height: 16px; }

body.panel-only-view .sip-recent-contact { margin-top: 20px; }
body.panel-only-view .sip-recent-row { min-height: 56px; padding: 6px 2px 7px; display: flex; align-items: center; gap: 11px; border-top: 1px solid var(--divider); border-bottom: 1px solid var(--divider); }
body.panel-only-view .sip-recent-row > div { min-width: 0; flex: 1; display: grid; gap: 1px; }
body.panel-only-view .sip-recent-row strong { color: var(--text-primary); font-size: 13px; font-weight: 650; line-height: 20px; }
body.panel-only-view .sip-recent-row span { color: var(--text-muted); font-size: 11px; line-height: 16px; }
body.panel-only-view .sip-sent-check { width: 22px; height: 22px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: var(--success-soft); color: var(--success) !important; }

body.panel-only-view .sip-proactive-empty-hero { min-height: 248px; padding: 24px 22px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
body.panel-only-view .sip-empty-symbol { width: 44px; height: 44px; margin-bottom: 16px; display: grid; place-items: center; border: 1px solid rgba(116, 71, 245, 0.14); border-radius: 14px; background: var(--surface); color: var(--brand); }
body.panel-only-view .sip-proactive-empty-hero .sip-micro-label { color: var(--brand); }
body.panel-only-view .sip-proactive-empty-hero h2 { margin-top: 3px; }
body.panel-only-view .sip-proactive-empty-hero p { max-width: 280px; margin-top: 7px; }
body.panel-only-view .sip-primary-action,
body.panel-only-view .sip-secondary-action { min-height: 38px; padding: 8px 14px; border-radius: 10px; font-size: 12px; font-weight: 650; line-height: 19px; cursor: pointer; transition: color 150ms cubic-bezier(0.2, 0.8, 0.2, 1), background 150ms cubic-bezier(0.2, 0.8, 0.2, 1), border-color 150ms cubic-bezier(0.2, 0.8, 0.2, 1); }
body.panel-only-view .sip-primary-action { border: 1px solid var(--brand); background: var(--brand); box-shadow: 0 7px 18px rgba(116, 71, 245, 0.17); color: #fff; }
body.panel-only-view .sip-primary-action:hover { border-color: var(--brand-hover); background: var(--brand-hover); }
body.panel-only-view .sip-primary-action:disabled,
body.panel-only-view .sip-secondary-action:disabled { opacity: 0.46; cursor: not-allowed; box-shadow: none; }
body.panel-only-view .sip-secondary-action { border: 1px solid var(--border); background: var(--surface); box-shadow: none; color: var(--text-secondary); }
body.panel-only-view .sip-secondary-action:hover { background: var(--surface-soft); }
body.panel-only-view .sip-start-action { margin-top: 20px; display: inline-flex; align-items: center; gap: 7px; }
body.panel-only-view .sip-panel-note { margin: 14px 0 0; color: var(--text-secondary); font-size: 12px; font-weight: 400; line-height: 18px; }
body.panel-only-view .sip-panel-note button { border: 0; background: transparent; color: var(--brand); cursor: pointer; }

body.panel-only-view .sip-proactive-edit-view { margin: -18px -20px -34px; padding: 18px 20px 0; }
body.panel-only-view .sip-proactive-editor { display: grid; gap: 10px; }
body.panel-only-view .sip-edit-intro { margin-bottom: 5px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
body.panel-only-view .sip-edit-intro > div { min-width: 0; display: grid; gap: 2px; }
body.panel-only-view .sip-edit-module { margin: 0; }
body.panel-only-view .sip-toggle { position: relative; width: 36px; height: 22px; flex: 0 0 auto; cursor: pointer; }
body.panel-only-view .sip-toggle input,
body.panel-only-view .sip-segmented-control input,
body.panel-only-view .sip-weekday-selector input { position: absolute; opacity: 0; pointer-events: none; }
body.panel-only-view .sip-toggle > span { position: absolute; inset: 0; border-radius: 999px; background: #d6d2dd; transition: background 180ms cubic-bezier(0.2, 0.8, 0.2, 1); }
body.panel-only-view .sip-toggle > span::after { position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(34, 30, 45, 0.18); content: ""; transition: transform 180ms cubic-bezier(0.2, 0.8, 0.2, 1); }
body.panel-only-view .sip-toggle input:checked + span { background: var(--brand); }
body.panel-only-view .sip-toggle input:checked + span::after { transform: translateX(14px); }
body.panel-only-view .sip-toggle input:focus-visible + span { outline: 3px solid rgba(116, 71, 245, 0.18); outline-offset: 2px; }

body.panel-only-view .sip-control-grid { margin-top: 14px; padding-top: 12px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 10px; border-top: 1px solid var(--divider); }
body.panel-only-view .sip-control-field { min-width: 0; display: grid; gap: 5px; }
body.panel-only-view .sip-control-field > span:first-child,
body.panel-only-view .sip-time-grid label > span,
body.panel-only-view .sip-weekday-field > span,
body.panel-only-view .sip-inline-control > span { color: var(--text-muted); font-size: 10px; font-weight: 550; line-height: 16px; }
body.panel-only-view .sip-control-field.is-wide { grid-column: 1 / -1; }
body.panel-only-view .sip-half-control .sip-number-control { width: calc(50% - 5px); }
body.panel-only-view .sip-number-control { height: 36px; display: flex; align-items: center; overflow: hidden; border: 1px solid var(--border); border-radius: 10px; background: var(--surface-soft); }
body.panel-only-view .sip-number-control input { width: 100%; min-width: 0; height: 100%; padding: 0 10px; border: 0; outline: 0; background: transparent; color: var(--text-primary); font-size: 13px; font-weight: 650; }
body.panel-only-view .sip-number-control em { padding-right: 10px; color: var(--text-muted); font-size: 10px; font-style: normal; white-space: nowrap; }
body.panel-only-view .sip-number-control:focus-within,
body.panel-only-view .sip-time-grid input:focus { border-color: var(--brand); outline: 3px solid rgba(116, 71, 245, 0.12); }

body.panel-only-view .sip-segmented-control { min-height: 32px; padding: 3px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; border-radius: 10px; background: #f0f1f5; }
body.panel-only-view .sip-segmented-control label { min-width: 0; cursor: pointer; }
body.panel-only-view .sip-segmented-control span { min-height: 26px; padding: 4px 8px; display: grid; place-items: center; border-radius: 7px; color: var(--text-muted); font-size: 10px; font-weight: 600; line-height: 18px; }
body.panel-only-view .sip-segmented-control input:checked + span { background: var(--surface); box-shadow: 0 2px 7px rgba(34, 30, 45, 0.07); color: var(--brand); }
body.panel-only-view .sip-segmented-control input:focus-visible + span { outline: 2px solid rgba(116, 71, 245, 0.22); }
body.panel-only-view .sip-inline-control { margin-top: 13px; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--divider); }
body.panel-only-view .sip-inline-control .sip-segmented-control { width: 132px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
body.panel-only-view .sip-inline-control.is-delivery { margin-top: 0; }

body.panel-only-view .sip-setting-link-list { margin-top: 13px; border-top: 1px solid var(--divider); }
body.panel-only-view .sip-setting-link { width: 100%; min-height: 43px; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto 14px; align-items: center; gap: 8px; border: 0; border-bottom: 1px solid var(--divider); background: transparent; text-align: left; cursor: pointer; }
body.panel-only-view .sip-setting-link span { color: var(--text-secondary); font-size: 12px; font-weight: 500; line-height: 19px; }
body.panel-only-view .sip-setting-link strong { color: var(--text-primary); font-size: 12px; font-weight: 650; line-height: 19px; }
body.panel-only-view .sip-setting-link i { color: var(--text-muted); font-size: 18px; font-style: normal; line-height: 1; }
body.panel-only-view .sip-setting-link:hover strong,
body.panel-only-view .sip-setting-link:hover i { color: var(--brand); }

body.panel-only-view .sip-fixed-copy-preview { margin: 13px 0 0; padding: 11px 12px; display: grid; gap: 4px; border: 0; border-radius: 12px; background: var(--surface-soft); color: var(--text-primary); font-size: 12px; font-style: normal; font-weight: 500; line-height: 19px; text-align: left; overflow-wrap: anywhere; }
body.panel-only-view .sip-fixed-copy-preview span { color: var(--text-muted); font-size: 10px; font-weight: 550; line-height: 16px; }

body.panel-only-view .sip-proactive-subview { min-height: calc(100vh - 186px); display: grid; align-content: start; gap: 14px; }
body.panel-only-view .sip-subview-header { min-height: 48px; display: flex; align-items: center; gap: 11px; border-bottom: 1px solid var(--divider); }
body.panel-only-view .sip-subview-header > button { width: 30px; height: 30px; padding: 0; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 9px; background: var(--surface); color: var(--text-secondary); font-size: 16px; cursor: pointer; }
body.panel-only-view .sip-subview-header > div { min-width: 0; display: grid; gap: 1px; }
body.panel-only-view .sip-subview-header h2 { margin: 0; color: var(--text-primary); font-size: 18px; font-weight: 700; line-height: 24px; }
body.panel-only-view .sip-subview-section { display: grid; gap: 8px; }
body.panel-only-view .sip-subview-section h3 { margin: 0; color: var(--text-secondary); font-size: 12px; font-weight: 650; line-height: 19px; }
body.panel-only-view .sip-subview-section .sip-segmented-control { min-height: 36px; }
body.panel-only-view .sip-subview-section .sip-segmented-control span { min-height: 30px; font-size: 11px; }
body.panel-only-view .sip-subview-note { padding: 12px 13px; border-radius: 12px; background: var(--surface-soft); }
body.panel-only-view .sip-subview-note > span { display: block; color: var(--text-muted); font-size: 10px; font-weight: 600; line-height: 16px; }
body.panel-only-view .sip-subview-note strong { display: block; margin-top: 2px; color: var(--text-primary); font-size: 13px; font-weight: 650; line-height: 20px; }
body.panel-only-view .sip-subview-note p { margin: 4px 0 0; color: var(--text-secondary); font-size: 12px; font-weight: 400; line-height: 19px; text-align: left; overflow-wrap: anywhere; }
body.panel-only-view .sip-template-list { display: grid; border-top: 1px solid var(--divider); }
body.panel-only-view .sip-template-option { position: relative; min-height: 62px; padding: 10px 2px; display: grid; grid-template-columns: minmax(0, 1fr) 18px; align-items: center; gap: 10px; border-bottom: 1px solid var(--divider); cursor: pointer; }
body.panel-only-view .sip-template-option input { position: absolute; opacity: 0; pointer-events: none; }
body.panel-only-view .sip-template-option > span { min-width: 0; display: grid; gap: 2px; }
body.panel-only-view .sip-template-option strong { color: var(--text-primary); font-size: 13px; font-weight: 650; line-height: 20px; }
body.panel-only-view .sip-template-option small { color: var(--text-muted); font-size: 11px; font-weight: 400; line-height: 17px; }
body.panel-only-view .sip-template-option > i { width: 16px; height: 16px; border: 1px solid #cbc7d4; border-radius: 50%; }
body.panel-only-view .sip-template-option.is-selected > i { border: 5px solid var(--brand); }
body.panel-only-view .sip-template-option.is-selected strong { color: var(--brand); }

body.panel-only-view .sip-narrative-editor { padding: 12px; display: grid; gap: 7px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
body.panel-only-view .sip-editor-label { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
body.panel-only-view .sip-editor-label span { color: var(--text-secondary); font-size: 12px; font-weight: 650; line-height: 19px; }
body.panel-only-view .sip-editor-label em { color: var(--text-muted); font-size: 10px; font-style: normal; line-height: 16px; }
body.panel-only-view .sip-narrative-editor textarea { width: 100%; min-height: 112px; padding: 10px 11px; resize: vertical; border: 1px solid var(--border); border-radius: 10px; outline: 0; background: var(--surface-soft); color: var(--text-primary); font-family: inherit; font-size: 12px; font-weight: 500; line-height: 20px; text-align: left; }
body.panel-only-view .sip-narrative-editor textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(116, 71, 245, 0.1); }
body.panel-only-view .sip-narrative-editor > p { margin: 0; color: var(--text-muted); font-size: 10px; line-height: 16px; text-align: left; }
body.panel-only-view .sip-form-error { margin: 0; color: #b94b5b; font-size: 11px; font-weight: 550; line-height: 17px; text-align: left; }
body.panel-only-view .sip-preview-action-row { min-height: 52px; padding: 4px 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--divider); border-bottom: 1px solid var(--divider); }
body.panel-only-view .sip-preview-action-row > div { display: grid; gap: 1px; }
body.panel-only-view .sip-preview-action-row strong { color: var(--text-primary); font-size: 12px; font-weight: 650; line-height: 19px; }
body.panel-only-view .sip-preview-action-row span { color: var(--text-muted); font-size: 10px; line-height: 16px; }
body.panel-only-view .sip-preview-panel { padding: 12px 13px; border-radius: 12px; background: var(--surface-brand); }
body.panel-only-view .sip-preview-panel blockquote { margin: 5px 0 6px; color: var(--text-primary); font-size: 13px; font-style: normal; font-weight: 550; line-height: 21px; text-align: left; overflow-wrap: anywhere; }
body.panel-only-view .sip-preview-panel p,
body.panel-only-view .sip-preview-panel small,
body.panel-only-view .sip-preview-panel > span { margin: 0; color: var(--text-muted); font-size: 10px; line-height: 16px; }
body.panel-only-view .sip-preview-panel small { display: block; color: var(--brand); font-weight: 650; }
body.panel-only-view .sip-preview-panel.is-loading { color: var(--text-secondary); }
body.panel-only-view .sip-preview-panel.is-error { background: #fff4f5; }
body.panel-only-view .sip-preview-panel.is-error strong { color: #a23c4b; font-size: 12px; }

body.panel-only-view .sip-time-grid { margin-top: 13px; padding-top: 12px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; border-top: 1px solid var(--divider); }
body.panel-only-view .sip-time-grid label { min-width: 0; display: grid; gap: 5px; }
body.panel-only-view .sip-time-grid input { width: 100%; height: 36px; padding: 0 9px; border: 1px solid var(--border); border-radius: 10px; outline: 0; background: var(--surface-soft); color: var(--text-primary); font-size: 12px; font-weight: 650; }
body.panel-only-view .sip-weekday-field { margin-top: 11px; display: grid; gap: 6px; }
body.panel-only-view .sip-weekday-selector { display: grid; grid-template-columns: repeat(7, 28px); justify-content: space-between; gap: 4px; }
body.panel-only-view .sip-weekday-selector label { width: 28px; height: 28px; cursor: pointer; }
body.panel-only-view .sip-weekday-selector span { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); color: var(--text-muted); font-size: 10px; font-weight: 600; }
body.panel-only-view .sip-weekday-selector input:checked + span { border-color: transparent; background: var(--brand-soft); color: var(--brand); }
body.panel-only-view .sip-weekday-selector input:focus-visible + span { outline: 2px solid rgba(116, 71, 245, 0.22); outline-offset: 1px; }

body.panel-only-view .sip-sticky-action-bar { position: sticky; z-index: 5; bottom: 0; margin: 8px -20px 0; padding: 12px 20px 14px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 9px; border-top: 1px solid var(--divider); background: linear-gradient(180deg, rgba(246, 247, 251, 0.88), rgba(246, 247, 251, 1) 24%); }

@media (max-width: 379px) {
  body.panel-only-view .insight-header { padding-right: 16px; padding-left: 16px; }
  body.panel-only-view .panel-content { padding-right: 16px; padding-left: 16px; }
  body.panel-only-view .sip-proactive-edit-view { margin-right: -16px; margin-left: -16px; padding-right: 16px; padding-left: 16px; }
  body.panel-only-view .sip-sticky-action-bar { margin-right: -16px; margin-left: -16px; padding-right: 16px; padding-left: 16px; }
  body.panel-only-view .sip-stat-strip > div { padding-right: 7px; padding-left: 7px; }
  body.panel-only-view .sip-stat-strip span { font-size: 10px; }
  body.panel-only-view .sip-module-value { font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  body.panel-only-view *,
  body.panel-only-view *::before,
  body.panel-only-view *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
