
/* PROTOCOL DATA OPERATIVO — DESIGN SYSTEM CREATIVE INSIGHTS.
   Extracción propia de reglas visuales verificadas; sin runtime PCI ni dependencias de B1.
   Referencia: docs/AUDITORIA_DESIGN_SYSTEM_CREATIVE_INSIGHTS.md */
:root {
  color-scheme: dark;
  --ci-bg:#131314;--ci-surface:#1f1f1f;--ci-surface-alt:#1e1f20;
  --ci-surface-high:#28292a;--ci-surface-hover:#303134;
  --ci-border:#3c4043;--ci-border-soft:#2a2b2d;
  --ci-text:#e8eaed;--ci-text-soft:#bdc1c6;--ci-muted:#9aa0a6;
  --ci-primary:#8ab4f8;--ci-primary-bright:#a8c7fa;--ci-primary-container:#0b57d0;
  --ci-green:#81c995;--ci-red:#f28b82;--ci-rail-width:72px;
  font-family:Roboto,Arial,sans-serif;font-size:14px;font-weight:400;line-height:1.45;
}
* {box-sizing:border-box}
html {scrollbar-gutter:stable}
body {margin:0;min-height:100vh;background:var(--ci-bg);color:var(--ci-text)}
button,input,select,textarea {font:inherit}
button {cursor:pointer}
button:disabled {cursor:not-allowed;opacity:.56}
button:focus-visible,input:focus-visible,select:focus-visible,a:focus-visible {
  outline:2px solid var(--ci-primary);outline-offset:2px
}
.material-symbols-rounded {
  font-family:"Material Symbols Rounded";font-weight:normal;font-style:normal;
  font-size:22px;line-height:1;letter-spacing:normal;text-transform:none;
  display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;
  font-feature-settings:"liga";font-variation-settings:"FILL" 0,"wght" 400,"GRAD" 0,"opsz" 24;
  -webkit-font-smoothing:antialiased
}
.skip-link {position:absolute;left:85px;top:-70px;z-index:200;padding:10px 16px;background:#a8c7fa;color:#062e6f;border-radius:12px}
.skip-link:focus {top:10px}
.ci-shell {min-height:100vh;display:grid;grid-template-columns:var(--ci-rail-width) minmax(0,1fr)}
.ci-rail {
  position:sticky;top:0;height:100vh;min-height:100vh;z-index:30;
  display:flex;flex-direction:column;align-items:center;
  padding:18px 0;background:var(--ci-bg);border-right:1px solid var(--ci-border-soft)
}
.ci-rail-items,.ci-rail-footer {width:100%;display:flex;flex-direction:column;align-items:center;gap:7px}
.ci-rail-footer {margin-top:auto}
.ci-rail-divider {height:1px;width:34px;margin-bottom:12px;background:var(--ci-border-soft)}
.ci-rail-button {
  position:relative;flex:none;width:50px;height:42px;display:grid;place-items:center;
  margin:0;padding:0;border:0;border-radius:999px;background:transparent;color:#bdc1c6;
  transition:background-color .16s ease,color .16s ease,transform .16s ease
}
.ci-rail-button:hover {background:#28292a;color:#e8eaed}
.ci-rail-button:active {transform:scale(.97)}
.ci-rail-button.is-active {background:#0b57d0;color:#e8f0fe}
.ci-rail-button.is-active .material-symbols-rounded {
  font-variation-settings:"FILL" 1,"wght" 500,"GRAD" 0,"opsz" 24
}
.ci-rail-button::after {
  content:attr(data-tooltip);position:absolute;left:calc(100% + 12px);top:50%;
  transform:translateY(-50%) translateX(-4px);min-width:max-content;
  max-width:220px;padding:7px 10px;border:1px solid #3c4043;
  border-radius:8px;background:#303134;color:#e8eaed;
  box-shadow:0 4px 12px rgba(0,0,0,.28);
  font-size:12px;font-weight:500;line-height:16px;letter-spacing:.01em;
  opacity:0;visibility:hidden;pointer-events:none;
  transition:opacity .12s ease,transform .12s ease,visibility 0s linear .12s;z-index:80
}
.ci-rail-button:hover::after,.ci-rail-button:focus-visible::after {
  opacity:1;visibility:visible;transform:translateY(-50%) translateX(0);
  transition:opacity .12s ease,transform .12s ease,visibility 0s
}
.ci-workspace {min-width:0;min-height:100vh;background:var(--ci-bg)}
.ci-topbar {
  min-height:88px;display:flex;align-items:center;justify-content:space-between;
  gap:24px;padding:0 32px;border-bottom:1px solid var(--ci-border-soft);background:var(--ci-bg)
}
.ci-brand {display:flex;align-items:center;gap:11px;min-width:0;font-size:20px;font-weight:500;line-height:28px;letter-spacing:-.01em}
.ci-brand-icon {color:var(--ci-primary)}
.ci-brand-light {font-weight:400}
.ci-context {
  display:inline-flex;align-items:center;min-height:36px;padding:0 14px;
  border:1px solid #3c4043;border-radius:999px;background:#1f1f1f;
  color:#bdc1c6;font-size:12px;font-weight:500;white-space:nowrap
}
.ci-view {width:100%;min-width:0;padding:34px 32px 64px}
.ci-view-header {max-width:920px;margin:0 0 32px}
.ci-eyebrow {margin:0 0 8px;color:var(--ci-primary);font-size:12px;font-weight:500;line-height:16px}
.ci-view-title {margin:0;color:var(--ci-text);font-size:32px;font-weight:400;line-height:40px;letter-spacing:-.025em}
.ci-view-subtitle {margin:8px 0 0;color:var(--ci-text-soft);font-size:14px;font-weight:400;line-height:21px}
.ci-stage {width:100%;min-height:0;border:0;background:transparent}
.ci-stage-stack {display:flex;flex-direction:column;gap:36px;min-width:0}
.ci-demo-line {
  display:inline-flex;align-items:center;gap:8px;margin:0;color:#9aa0a6;font-size:12px;line-height:20px
}
.ci-demo-line .material-symbols-rounded {font-size:16px;color:#8ab4f8}
.ci-toolbar {display:flex;align-items:center;gap:12px;width:100%;flex-wrap:wrap}
.ci-search {
  flex:1 1 260px;min-width:220px;height:52px;display:flex;align-items:center;gap:12px;
  padding:0 18px;border:1px solid transparent;border-radius:26px;
  background:#202124;color:#bdc1c6
}
.ci-search:focus-within {box-shadow:inset 0 0 0 1px #5f6368}
.ci-search .material-symbols-rounded {color:#bdc1c6}
.ci-search input {min-width:0;width:100%;border:0;outline:0;background:transparent;color:#e8eaed;font-size:15px}
.ci-search input::placeholder {color:#bdc1c6}
.ci-pill,.ci-runtime {
  height:42px;display:inline-flex;align-items:center;justify-content:center;gap:8px;
  padding:0 16px;border:1px solid #5f6368;border-radius:21px;
  background:transparent;color:#e8eaed;font-size:13px;font-weight:500;white-space:nowrap
}
.ci-pill {transition:background-color .14s ease,border-color .14s ease,color .14s ease}
.ci-pill:hover:not(:disabled) {background:#28292a;border-color:#8ab4f8}
.ci-pill.is-active,.ci-filter.is-active {background:#0b57d0;border-color:#8ab4f8;color:#e8f0fe}
.ci-runtime {border-color:#3c4043;color:#bdc1c6;font-weight:400}
.ci-runtime-dot {width:7px;height:7px;border-radius:50%;background:#81c995}
.ci-button {
  min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:8px;
  padding:0 18px;border-radius:21px;font-size:13px;font-weight:500;
  transition:background-color .14s ease,transform .14s ease,border-color .14s ease;
  white-space:nowrap
}
.ci-button:active:not(:disabled) {transform:scale(.98)}
.ci-button-primary {border:1px solid #a8c7fa;background:#a8c7fa;color:#062e6f}
.ci-button-primary:hover:not(:disabled) {background:#b8d2fb}
.ci-button-outline {border:1px solid #5f6368;background:transparent;color:#e8eaed}
.ci-button-outline:hover:not(:disabled) {background:#28292a}
.ci-button .material-symbols-rounded,.ci-pill .material-symbols-rounded {font-size:21px}
.ci-filter-row {display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.ci-filter {
  min-height:38px;padding:0 15px;border:1px solid #5f6368;border-radius:20px;
  background:transparent;color:#bdc1c6;font-size:13px;font-weight:500;
  transition:background-color .14s ease,border-color .14s ease,color .14s ease
}
.ci-filter:hover:not(.is-active) {background:#28292a;color:#e8eaed}
.ci-section {display:flex;flex-direction:column;gap:18px;min-width:0}
.ci-section-header {display:flex;align-items:end;justify-content:space-between;gap:24px}
.ci-section-header h2 {margin:0;color:#e8eaed;font-size:16px;font-weight:500;line-height:22px}
.ci-section-header p {margin:4px 0 0;color:#9aa0a6;font-size:13px;line-height:19px}
.ci-section-count {color:#9aa0a6;font-size:12px;white-space:nowrap}
.ci-metric-grid {display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.ci-metric {
  position:relative;min-height:142px;padding:18px;overflow:hidden;
  border:0;border-radius:24px;background:#1f1f1f;color:inherit;text-align:left
}
.ci-metric-button {
  width:100%;transition:background-color .14s ease,transform .14s ease,box-shadow .14s ease
}
.ci-metric-button:hover {background:#28292a;transform:translateY(-1px)}
.ci-metric-button:active {transform:translateY(0)}
.ci-metric-label {padding-right:38px;color:#e8eaed;font-size:14px;font-weight:500;line-height:19px}
.ci-metric-value {margin-top:22px;color:#e8eaed;font-size:30px;font-weight:400;line-height:36px;letter-spacing:-.02em}
.ci-metric-meta {margin-top:5px;color:#bdc1c6;font-size:12px;line-height:17px}
.ci-metric-icon {
  position:absolute;top:16px;right:16px;width:36px;height:36px;
  display:grid;place-items:center;border-radius:14px;background:#0b57d0;
  color:#d2e3fc;font-size:20px!important
}
.ci-summary-grid {display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.ci-summary {
  min-height:78px;display:flex;flex-direction:column;justify-content:center;gap:8px;
  padding:15px 18px;border-radius:21px;background:#1e1f20
}
.ci-summary strong {font-size:19px;font-weight:500;line-height:23px}
.ci-summary span {color:#9aa0a6;font-size:12px}
.ci-attention {border-top:1px solid #3c4043}
.ci-attention-row {
  width:100%;min-height:100px;display:grid;grid-template-columns:40px minmax(0,1fr) auto;
  align-items:center;gap:14px;padding:18px 6px;border:0;border-bottom:1px solid #3c4043;
  background:transparent;text-align:left;color:#e8eaed;transition:background-color .14s ease
}
button.ci-attention-row:hover {background:#1f1f1f}
.ci-attention-icon {color:#81c995}
.ci-attention-main {display:flex;flex-direction:column;gap:4px}
.ci-attention-main strong {font-size:14px;font-weight:500}
.ci-attention-main span,.ci-attention-extra {color:#9aa0a6;font-size:12px}
.ci-kicker {color:#8ab4f8;font-size:11px;font-weight:500;letter-spacing:.05em}
.ci-chip {
  display:inline-flex;align-items:center;max-width:100%;min-height:28px;
  padding:0 10px;border:1px solid #5f6368;border-radius:14px;
  color:#bdc1c6;font-size:11px;font-weight:500;white-space:nowrap
}
.ci-chip[data-tone="blue"] {border-color:#185abc;background:#102a46;color:#aecbfa}
.ci-chip[data-tone="green"] {border-color:#137333;background:#0d2818;color:#81c995}
.ci-chip[data-tone="amber"] {border-color:#b06000;background:#352408;color:#fdd663}
.ci-chip[data-tone="red"] {border-color:#a50e0e;background:#3c1515;color:#f28b82}
.ci-chip[data-tone="purple"] {border-color:#8430ce;background:#29163d;color:#d7aefb}
.ci-chip-solid {background:#0b57d0;border-color:#0b57d0;color:#e8f0fe}
.ci-chip-group {display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.ci-module-head {display:flex;align-items:start;justify-content:space-between;gap:18px}
.ci-module-head h2 {margin:0;font-size:16px;font-weight:500}
.ci-module-head p {margin:6px 0 0;color:#9aa0a6;font-size:12px}
.ci-module-tabs {display:flex;align-items:center;gap:8px;overflow-x:auto;padding-bottom:4px;scrollbar-width:thin}
.ci-list-detail {display:grid;grid-template-columns:minmax(330px,390px) minmax(0,1fr);gap:24px;align-items:start}
.ci-list-column,.ci-detail-column {min-width:0}
.ci-list-title {display:flex;align-items:center;justify-content:space-between;margin:0 0 10px}
.ci-list-title h3 {font-size:14px;font-weight:500;margin:0}
.ci-list-title small {color:#9aa0a6;font-size:11px}
.ci-item-list {display:flex;flex-direction:column;gap:10px}
.ci-item-card {
  width:100%;display:flex;flex-direction:column;gap:11px;position:relative;
  min-height:120px;padding:18px;border:0;border-radius:20px;
  background:#1e1f20;text-align:left;color:#e8eaed;
  transition:background-color .16s ease,box-shadow .16s ease
}
.ci-item-card:hover {background:#252628}
.ci-item-card.is-selected {background:#28292b;box-shadow:inset 3px 0 0 #8ab4f8}
.ci-item-title {display:flex;align-items:center;justify-content:space-between;gap:10px}
.ci-item-title strong {font-size:14px;font-weight:500;line-height:20px}
.ci-item-title .material-symbols-rounded {font-size:20px;color:#bdc1c6}
.ci-item-sub {color:#9aa0a6;font-size:12px}
.ci-item-footer {display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:auto}
.ci-item-footer span {color:#bdc1c6;font-size:11px}
.ci-detail-column {display:flex;flex-direction:column;gap:26px;padding:6px 0 20px}
.ci-detail-eyebrow {color:#8ab4f8;font-size:11px;font-weight:500;letter-spacing:.035em}
.ci-detail-title {margin:6px 0 12px;color:#e8eaed;font-size:29px;font-weight:400;line-height:1.22;letter-spacing:-.022em}
.ci-detail-description {margin:0;color:#bdc1c6;font-size:13px;line-height:1.65}
.ci-detail-actions {display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.ci-detail-section {display:flex;flex-direction:column;gap:13px}
.ci-detail-section h3 {margin:0;font-size:14px;font-weight:500}
.ci-detail-stat-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.ci-detail-stat {padding:18px;border-radius:21px;background:#1f1f1f;min-height:88px;display:flex;flex-direction:column;justify-content:center;gap:9px}
.ci-detail-stat strong {font-size:22px;font-weight:400}
.ci-detail-stat span {font-size:12px;color:#9aa0a6}
.ci-brief-card {padding:20px;border-radius:22px;background:#1f1f1f}
.ci-brief-card h4 {font-size:16px;font-weight:500;margin:5px 0 13px}
.ci-brief-card p {color:#bdc1c6;font-size:13px;line-height:1.65;margin:0}
.ci-facts {display:flex;flex-direction:column;gap:0}
.ci-fact {min-height:55px;display:flex;align-items:center;justify-content:space-between;gap:14px;border-bottom:1px solid #3c4043}
.ci-fact:last-child {border-bottom:0}
.ci-fact span {font-size:12px;color:#9aa0a6}
.ci-fact strong {font-size:12px;font-weight:500;text-align:right;color:#e8eaed}
.ci-empty {padding:34px 18px;color:#9aa0a6;font-size:13px;text-align:center}
.ci-empty .material-symbols-rounded {display:block;margin:0 auto 10px;font-size:27px;color:#8ab4f8}
.ci-empty strong {display:block;margin:0 0 6px;color:#e8eaed;font-size:14px;font-weight:500}
.ci-row-list {border-top:1px solid #3c4043}
.ci-record-row {
  width:100%;min-height:116px;display:grid;
  grid-template-columns:minmax(225px,1.45fr) minmax(125px,.65fr) minmax(125px,.7fr) minmax(150px,.7fr) 34px;
  gap:20px;align-items:center;padding:18px 9px 18px 16px;
  border:0;border-bottom:1px solid #3c4043;
  background:transparent;color:#e8eaed;text-align:left;
  transition:background-color .14s ease
}
.ci-record-row:hover {background:#1f1f1f}
.ci-row-main {min-width:0;display:flex;flex-direction:column;gap:6px}
.ci-row-main strong {font-size:14px;font-weight:500}
.ci-row-main span {color:#9aa0a6;font-size:12px}
.ci-row-data {display:flex;flex-direction:column;align-items:flex-start;gap:8px;min-width:0}
.ci-row-data strong {font-size:13px;font-weight:500}
.ci-row-data span {color:#9aa0a6;font-size:11px}
.ci-row-arrow {color:#8ab4f8}
.ci-back {
  display:inline-flex;align-items:center;gap:9px;align-self:flex-start;
  border:0;background:transparent;color:#8ab4f8;font-size:13px;
  padding:3px 0;transition:color .14s ease
}
.ci-back:hover {color:#c2e7ff}
.ci-back .material-symbols-rounded {font-size:20px}
.ci-review-hero {border-bottom:1px solid #3c4043;padding:8px 0 25px}
.ci-review-hero h2 {margin:9px 0;font-size:28px;line-height:1.25;font-weight:400}
.ci-review-hero p {color:#bdc1c6;font-size:13px;margin:0}
.ci-review-columns {display:grid;grid-template-columns:minmax(0,1.6fr) minmax(260px,.7fr);gap:34px}
.ci-review-aside {display:flex;flex-direction:column;gap:18px}
.ci-aside-card {padding:19px;border-radius:20px;background:#1f1f1f}
.ci-aside-card h3 {margin:0 0 4px;font-size:14px;font-weight:500}
.ci-aside-card p {margin:0 0 14px;color:#9aa0a6;font-size:12px}
.ci-disabled-note {color:#9aa0a6;font-size:12px}
.ci-notice {
  display:flex;align-items:flex-start;gap:10px;
  padding:16px;border-radius:16px;background:#242629;color:#bdc1c6;
  font-size:12px;line-height:1.6
}
.ci-notice .material-symbols-rounded {flex:none;color:#8ab4f8;font-size:18px}
.ci-conversation {display:grid;grid-template-columns:minmax(240px,330px) minmax(0,1fr);gap:20px}
.ci-conversation-nav {display:flex;flex-direction:column;gap:9px}
.ci-conversation-body {display:flex;flex-direction:column;gap:18px}
.ci-message {max-width:82%;padding:17px 19px;border-radius:21px;background:#1f1f1f}
.ci-message.is-own {background:#22314e;align-self:flex-end}
.ci-message p {margin:6px 0 0;color:#bdc1c6;line-height:1.6;font-size:13px}
.ci-message strong {font-size:12px;font-weight:500}
.ci-calendar {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.ci-calendar-item {padding:23px;border-radius:21px;background:#1f1f1f}
.ci-calendar-item strong {font-size:14px;font-weight:500}
.ci-calendar-item p {margin:9px 0;color:#bdc1c6;font-size:12px}
.ci-calendar-item .material-symbols-rounded {color:#8ab4f8;margin-bottom:14px}
.ci-finance-placeholder {display:grid;grid-template-columns:minmax(0,1.7fr) minmax(280px,1fr);gap:24px}
.ci-finance-placeholder .ci-brief-card {min-height:190px}
.ci-footer-note {font-size:11px;color:#777e87;line-height:1.5;margin:0}
.ci-dialog {
  width:min(520px,calc(100vw - 32px));max-width:none;max-height:calc(100vh - 32px);
  margin:auto;padding:0;border:0;border-radius:24px;
  background:transparent;color:#e3e3e3;overflow:visible
}
.ci-dialog::backdrop {background:rgba(0,0,0,.68);backdrop-filter:blur(2px)}
.ci-dialog-surface {
  box-sizing:border-box;width:100%;max-height:calc(100vh - 32px);
  padding:24px;overflow:auto;border-radius:24px;background:#1e1f20;
  box-shadow:0 10px 30px rgba(0,0,0,.35),0 1px 2px rgba(0,0,0,.28)
}
.ci-dialog-header {display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:24px}
.ci-dialog-eyebrow {margin-bottom:5px;font-size:12px;font-weight:500;color:#8ab4f8}
.ci-dialog-header h2 {margin:0;font-size:25px;line-height:32px;font-weight:400}
.ci-dialog-header p {max-width:360px;margin:6px 0 0;color:#9aa0a6;font-size:14px;line-height:20px}
.ci-dialog-close {flex:none;width:32px;height:32px;display:grid;place-items:center;border:0;border-radius:50%;background:transparent;color:#bdc1c6}
.ci-dialog-close:hover {background:#303134}
.ci-dialog-close .material-symbols-rounded {font-size:20px}
#product-demo-form {display:grid;gap:17px}
.ci-dialog-field {display:grid;gap:8px;font-size:12px;color:#bdc1c6}
.ci-dialog-field input,.ci-dialog-field select {
  width:100%;min-height:46px;box-sizing:border-box;padding:0 14px;
  border:1px solid #5f6368;border-radius:12px;outline:none;
  background:#131314;color:#f1f3f4;font:400 14px/1 Roboto,sans-serif
}
.ci-dialog-field input::placeholder {color:#80868b}
.ci-dialog-field input:focus,.ci-dialog-field select:focus {border-color:#8ab4f8;box-shadow:0 0 0 1px #8ab4f8}
.ci-dialog-notice {display:flex;align-items:flex-start;gap:9px;background:#28292a;color:#bdc1c6;padding:13px 15px;border-radius:13px;font-size:12px;line-height:18px}
.ci-dialog-notice .material-symbols-rounded {flex:none;font-size:18px;color:#8ab4f8}
.ci-form-feedback {min-height:14px;margin:0;color:#f28b82;font-size:12px}
.ci-dialog-actions {display:flex;align-items:center;justify-content:flex-end;gap:10px;padding-top:4px}
.ci-dialog-actions .ci-button-outline {color:#a8c7fa}
.ci-toast {
  position:fixed;bottom:24px;right:24px;z-index:90;max-width:min(420px,calc(100vw - 36px));
  padding:14px 20px;background:#303134;color:#e8eaed;border:1px solid #5f6368;
  border-radius:14px;box-shadow:0 12px 32px #0006;font-size:13px
}
.ci-toast[hidden] {display:none}
@media(max-width:1180px) {
  .ci-metric-grid,.ci-summary-grid {grid-template-columns:repeat(3,minmax(0,1fr))}
  .ci-list-detail {grid-template-columns:minmax(300px,350px) minmax(0,1fr);gap:18px}
}
@media(max-width:980px) {
  :root {--ci-rail-width:64px}
  .ci-rail {padding-top:14px}
  .ci-rail-button {width:46px;height:40px}
  .ci-topbar {min-height:80px;padding:0 24px}
  .ci-view {padding:30px 24px 48px}
  .ci-list-detail,.ci-review-columns,.ci-conversation,.ci-finance-placeholder {grid-template-columns:1fr}
  .ci-item-list {display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  .ci-record-row {grid-template-columns:minmax(180px,1.4fr) minmax(100px,.75fr) minmax(110px,.7fr) 25px}
  .ci-record-row>.ci-row-data:nth-last-child(2) {display:none}
}
@media(max-width:820px) {
  .ci-metric-grid,.ci-summary-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
  .ci-toolbar .ci-search {flex-basis:100%}
  .ci-calendar {grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:720px) {
  :root {--ci-rail-width:60px}
  .ci-rail-button {width:44px;height:40px}
  .ci-topbar {min-height:72px;padding:0 20px}
  .ci-brand {font-size:18px;line-height:24px}
  .ci-brand-light {display:none}
  .ci-context {display:none}
  .ci-view {padding:26px 20px 40px}
  .ci-view-title {font-size:28px;line-height:36px}
  .ci-view-header {margin-bottom:26px}
  .ci-detail-title {font-size:25px}
  .ci-item-list {grid-template-columns:1fr}
  .ci-record-row {grid-template-columns:minmax(0,1fr) 28px;gap:12px;min-height:96px;padding:18px 8px 18px 12px}
  .ci-record-row>.ci-row-data {display:none}
  .ci-summary-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
  .ci-toolbar .ci-runtime {margin-left:0}
  .ci-detail-stat-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
  .ci-calendar {grid-template-columns:1fr}
}
@media(max-width:560px) {
  .ci-metric-grid {grid-template-columns:1fr}
  .ci-metric {min-height:125px}
  .ci-toolbar .ci-button-primary {flex:1}
  .ci-toolbar .ci-runtime {flex:1}
  .ci-summary-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
  .ci-dialog {width:calc(100vw - 20px)}
  .ci-dialog-surface {padding:20px;border-radius:20px}
}
@media(max-width:390px) {
  .ci-view {padding:22px 14px 32px}
  .ci-brand {font-size:16px}
  .ci-topbar {padding:0 14px}
  .ci-pill {padding:0 11px}
  .ci-summary-grid,.ci-detail-stat-grid {grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after {animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
}


/* Componentes operativos derivados de las toolbars y accesos contextuales de CI */
.ci-select-wrap {display:inline-flex;align-items:center;min-height:42px;max-width:100%}
.ci-select {
  min-height:42px;max-width:100%;min-width:154px;padding:0 33px 0 14px;
  border:1px solid #5f6368;border-radius:21px;
  background:#131314;color:#e8eaed;font-size:13px;font-weight:500;
  cursor:pointer;transition:background-color .14s ease,border-color .14s ease
}
.ci-select:hover {background:#28292a;border-color:#8ab4f8}
.ci-quick-action {
  min-height:90px;display:flex;align-items:center;justify-content:space-between;gap:10px;
  padding:17px 15px;border:0;border-radius:20px;background:#1f1f1f;color:#e8eaed;
  font-size:13px;text-align:left;transition:background-color .14s ease,transform .14s ease
}
.ci-quick-action:hover {background:#28292a;transform:translateY(-1px)}
.ci-quick-action>.material-symbols-rounded:first-child {color:#8ab4f8}
.ci-quick-action>.material-symbols-rounded:last-child {font-size:18px;color:#9aa0a6}
.ci-home-find {margin:0;padding:18px 20px;border:1px solid #3c4043;border-radius:18px;background:#1e1f20}
.ci-home-find h3 {margin:0 0 12px;font-weight:500;font-size:13px}
.ci-search-results {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.ci-search-result {
  display:flex;align-items:center;gap:10px;text-align:left;
  padding:12px 14px;border:0;border-radius:13px;background:#28292a;color:#e8eaed;
  transition:background-color .14s ease
}
.ci-search-result:hover {background:#303134}
.ci-search-result span {min-width:0;flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px}
.ci-search-result small {color:#9aa0a6;font-size:11px}
.ci-search-result .material-symbols-rounded {color:#8ab4f8;font-size:18px}
.ci-review-hero>.ci-chip-group {margin-top:15px}
@media(max-width:820px) {.ci-search-results {grid-template-columns:1fr}}
@media(max-width:560px) {
  .ci-select-wrap,.ci-select {flex:1;min-width:0;width:100%}
  .ci-toolbar .ci-button-primary {min-width:100%}
}


/* P0 · Conexión Auth/Store Protocol Data V2 — misma identidad Creative Insights */
.ci-v2-session .ci-v2-refresh {width:38px;padding:0;display:grid;place-items:center}
.ci-v2-refresh .material-symbols-rounded {font-size:18px}
[hidden] {display:none!important}
.ci-topbar-right {
  display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:wrap;
  min-width:0
}
.ci-v2-connect {gap:7px;white-space:nowrap}
.ci-v2-connect .material-symbols-rounded {font-size:18px}
.ci-v2-session {
  display:flex;align-items:center;gap:9px;min-width:0;flex-wrap:wrap
}
.ci-v2-session-dot {
  display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--ci-green)
}
.ci-v2-store-label {color:var(--ci-muted);font-size:12px}
#v2-store-select {
  min-width:160px;max-width:245px;min-height:40px;
  padding:0 26px 0 12px;border:1px solid #5f6368;border-radius:20px;
  background:#1f1f1f;color:var(--ci-text);font-size:12px;
  cursor:pointer;overflow:hidden;text-overflow:ellipsis
}
#v2-store-select:hover {background:var(--ci-surface-high)}
.ci-v2-session .ci-button {min-height:38px;padding:0 12px;font-size:12px;white-space:nowrap}
.ci-v2-state {
  display:flex;align-items:center;gap:9px;
  margin:-15px 0 28px;padding:0;
  color:var(--ci-muted);font-size:12px;line-height:19px
}
.ci-v2-state .material-symbols-rounded {font-size:17px;color:var(--ci-primary)}
.ci-v2-state[data-status="error"] .material-symbols-rounded {color:var(--ci-red)}
.ci-v2-state[data-status="verified"] .material-symbols-rounded {color:var(--ci-green)}
.ci-v2-dialog .ci-dialog-surface {background:#1e1f20}
.ci-v2-dialog #v2-auth-feedback:not(:empty) {
  padding:10px 12px;margin:10px 0 0;border-radius:12px;background:#2c2525;
  color:#f28b82;font-size:12px
}
.ci-v2-dialog #v2-auth-feedback:empty {display:none}
.ci-v2-dialog input[type="email"],
.ci-v2-dialog input[type="password"] {width:100%}
@media(max-width:960px) {
  .ci-topbar {min-height:88px;height:auto;padding-top:12px;padding-bottom:12px}
  .ci-topbar-right {gap:7px}
  .ci-context {display:none}
  .ci-v2-session {justify-content:flex-end}
  #v2-store-select {max-width:180px}
}
@media(max-width:660px) {
  .ci-v2-state {margin-top:-15px}
  .ci-v2-session {gap:5px}
  .ci-v2-session .ci-button {min-height:34px;font-size:11px}
  #v2-store-select {min-width:116px;max-width:160px}
  .ci-v2-store-label {display:none}
  .ci-v2-connect {padding:0 10px;font-size:12px}
}


/* P1 — Productos V2: UI de lectura certificada bajo Creative Insights */
.ci-products-root{gap:23px}
.ci-products-tabs{margin:0;flex-wrap:wrap;gap:8px}
.ci-products-content{
  min-width:0;display:flex;flex-direction:column;gap:20px;
  border:1px solid var(--ci-border-soft);border-radius:24px;
  padding:24px;background:var(--ci-surface-alt)
}
.ci-products-heading h2{margin:0;font-size:20px;font-weight:500;letter-spacing:-.015em;line-height:1.4}
.ci-products-heading p{margin:6px 0 0;color:var(--ci-muted);font-size:13px}
.ci-products-store{margin:0;color:#bdc1c6}
.ci-products-info{
  display:flex;align-items:flex-start;gap:10px;
  padding:13px 15px;border:1px solid #3c4043;border-radius:15px;
  background:#202124;color:#bdc1c6;font-size:12px;line-height:1.6
}
.ci-products-info>.material-symbols-rounded{font-size:19px;flex:none;color:var(--ci-primary)}
.ci-products-actions{display:flex;gap:9px;flex-wrap:wrap}
.ci-products-metrics{margin:0;grid-template-columns:repeat(4,minmax(0,1fr))}
.ci-products-metrics .ci-metric{width:100%;text-align:left;border:0;color:var(--ci-text)}
.ci-products-metrics .ci-metric>.material-symbols-rounded{position:absolute;right:18px;top:17px;color:var(--ci-primary);font-size:24px}
.ci-products-empty{
  min-height:155px;display:flex;flex-direction:column;justify-content:center;align-items:center;
  gap:8px;padding:32px 18px;background:#202124;border:1px dashed #3c4043;
  border-radius:20px;text-align:center
}
.ci-products-empty>.material-symbols-rounded{color:var(--ci-primary);font-size:31px}
.ci-products-empty strong{font-weight:500;font-size:15px}
.ci-products-empty p{max-width:600px;margin:0;color:#9aa0a6;font-size:12px;line-height:1.7}
.ci-products-loading,.ci-products-error{
  display:flex;align-items:center;gap:12px;min-height:70px;padding:16px;
  border-radius:17px;background:#252628;color:#bdc1c6;line-height:1.55;font-size:13px
}
.ci-products-loading>.material-symbols-rounded{
  color:var(--ci-primary);font-size:20px;animation:ci-products-spin 1.3s linear infinite
}
.ci-products-error{border:1px solid #75413d;background:#302323;color:#f6b0aa;flex-wrap:wrap}
.ci-products-error>.material-symbols-rounded{flex:none;color:#f28b82;font-size:21px}
.ci-products-error>span:not(.material-symbols-rounded){flex:1;min-width:150px;overflow-wrap:anywhere}
.ci-products-error .ci-button{flex:none}
.ci-products-filters{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap}
.ci-products-select{display:flex;flex-direction:column;gap:7px;font-size:11px;color:#9aa0a6}
.ci-products-select select{
  min-width:155px;max-width:240px;min-height:42px;padding:0 13px;border:1px solid #5f6368;
  background:#202124;color:#e8eaed;border-radius:20px
}
.ci-products-search{display:flex;align-items:flex-end;gap:8px;flex:1 1 310px;min-width:260px;flex-wrap:wrap}
.ci-products-search label{width:100%;color:#9aa0a6;font-size:11px;margin-bottom:-2px}
.ci-products-search input{
  height:42px;min-width:180px;flex:1 1 180px;padding:0 14px;border:1px solid #5f6368;
  border-radius:21px;background:#202124;color:#e8eaed;outline-offset:3px
}
.ci-products-filters>.ci-button{height:42px;white-space:nowrap}
.ci-products-table-scroll{width:100%;max-width:100%;overflow:auto;border:1px solid #383a3e;border-radius:18px;background:#1f1f1f}
.ci-products-table{width:100%;min-width:690px;border-collapse:collapse;table-layout:auto}
.ci-products-table caption{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.ci-products-table thead{background:#27282a;color:#9aa0a6}
.ci-products-table th{padding:14px 13px;font-size:11px;font-weight:500;text-align:left;white-space:nowrap}
.ci-products-table tbody tr{border-top:1px solid #303134;transition:background-color .13s}
.ci-products-table tbody tr:hover,.ci-products-table tbody tr.is-selected{background:#28292b}
.ci-products-table td{padding:13px 13px;font-size:12px;color:#dfe1e3;vertical-align:middle;max-width:270px;overflow-wrap:anywhere}
.ci-products-table td.ci-products-code{font-weight:500;color:#8ab4f8}
.ci-products-table td.ci-products-last{text-align:right;white-space:nowrap}
.ci-products-table td.ci-products-last .ci-button{min-height:32px;padding:0 11px;font-size:11px}
.ci-products-table td.ci-products-last .material-symbols-rounded{font-size:16px}
.ci-products-pagination{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex-wrap:wrap}
.ci-products-pagination>span{margin-right:auto;color:#9aa0a6;font-size:12px}
.ci-products-pagination .ci-button{min-height:36px;font-size:12px;padding:0 12px}
.ci-products-pagination .material-symbols-rounded{font-size:17px}
.ci-products-detail{
  display:flex;flex-direction:column;align-items:flex-start;gap:16px;
  padding:22px;border:1px solid #3c4043;border-radius:20px;background:#252628
}
.ci-products-detail>.ci-button{align-self:flex-end;margin-top:-52px}
.ci-products-subheading{margin:7px 0 0;font-size:14px;font-weight:500;color:#e8eaed}
.ci-products-facts{width:100%;margin:0;display:grid;grid-template-columns:minmax(150px,1fr) minmax(180px,2fr);gap:0}
.ci-products-facts dt,.ci-products-facts dd{min-width:0;margin:0;padding:11px 8px;border-bottom:1px solid #37393c;font-size:12px;line-height:1.55;overflow-wrap:anywhere}
.ci-products-facts dt{color:#9aa0a6}
.ci-products-facts dd{color:#e8eaed;font-weight:500}
.ci-products-components{width:100%;display:grid;gap:8px}
.ci-products-component{display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap;padding:13px 15px;border-radius:13px;background:#303134;font-size:12px}
.ci-products-component span{color:#bdc1c6}
@keyframes ci-products-spin{to{transform:rotate(360deg)}}
@media(max-width:1050px){
  .ci-products-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:660px){
  .ci-products-content{padding:16px;border-radius:20px}
  .ci-products-metrics{grid-template-columns:1fr}
  .ci-products-filters{align-items:stretch}
  .ci-products-select,.ci-products-select select{width:100%;max-width:none}
  .ci-products-search{min-width:0;width:100%}
  .ci-products-search input{min-width:0}
  .ci-products-detail>.ci-button{align-self:flex-start;margin-top:0}
  .ci-products-facts{grid-template-columns:minmax(110px,1fr) minmax(130px,1.4fr)}
}
@media(prefers-reduced-motion:reduce){.ci-products-loading>.material-symbols-rounded{animation:none}}


/* P2 — Productos SKU editor and explicit non-destructive archive confirmation. */
.ci-sku-editor{width:min(700px,calc(100vw - 32px))}
.ci-sku-editor .ci-dialog-surface{max-height:min(92vh,860px);overflow:auto}
#sku-editor-form{display:grid;gap:18px}
.ci-sku-form-fields{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  column-gap:16px;row-gap:15px;min-width:0
}
.ci-sku-form-fields .ci-dialog-field{min-width:0}
.ci-sku-span{grid-column:1 / -1}
.ci-sku-form-fields textarea{
  width:100%;box-sizing:border-box;min-height:78px;padding:13px 14px;resize:vertical;
  border:1px solid #5f6368;border-radius:12px;outline:none;
  background:#131314;color:#f1f3f4;font:400 14px/1.5 Roboto,Arial,sans-serif
}
.ci-sku-form-fields textarea:focus{border-color:#8ab4f8;box-shadow:0 0 0 1px #8ab4f8}
.ci-sku-form-fields input[readonly]{
  color:#9aa0a6;background:#27282a;cursor:not-allowed
}
.ci-sku-check{
  display:flex;align-items:center;gap:11px;min-height:38px;
  padding:3px 0;color:#e8eaed;font-size:12px;cursor:pointer
}
.ci-sku-check input{accent-color:var(--ci-primary);width:17px;height:17px;flex:none}
.ci-sku-feedback{min-height:0;margin:0}
.ci-sku-feedback:empty{display:none}
.ci-sku-feedback:not(:empty){
  padding:12px 14px;border:1px solid #75413d;background:#302323;
  border-radius:12px;color:#f28b82;line-height:1.5
}
.ci-sku-archive{width:min(540px,calc(100vw - 32px))}
.ci-sku-archive-summary{
  margin:4px 0 20px;border:1px solid #3c4043;background:#252628;
  padding:15px;border-radius:14px;font-weight:500;overflow-wrap:anywhere
}
.ci-sku-danger{
  min-height:42px;border:1px solid #c96862;
  background:#7a2e30;color:#fff;border-radius:30px;
  padding:0 17px;font-size:12px;font-weight:500;cursor:pointer
}
.ci-sku-danger:hover:not(:disabled){background:#973b3e}
.ci-sku-danger:disabled{opacity:.5;cursor:not-allowed}
.ci-products-sku-actions{
  display:flex;align-items:center;gap:10px;flex-wrap:wrap;
  width:100%;padding-top:16px;border-top:1px solid #3c4043
}
.ci-products-sku-actions .ci-button{min-height:38px}
.ci-sku-archive-action{
  min-height:38px;padding:0 16px;border:1px solid #8b5c5b;border-radius:24px;
  background:transparent;color:#f28b82;font-size:12px;cursor:pointer;
  display:inline-flex;align-items:center;justify-content:center;gap:7px
}
.ci-sku-archive-action:hover{background:#382829}
.ci-sku-archive-action .material-symbols-rounded{font-size:18px}
.ci-products-success{
  border-color:#4a7556;background:#202d25;color:#a7d8b4
}
.ci-products-success>.material-symbols-rounded{color:#81c995}
@media(max-width:600px){
  .ci-sku-form-fields{grid-template-columns:1fr}
  .ci-sku-editor .ci-dialog-surface{padding:19px}
  .ci-sku-editor .ci-dialog-actions,.ci-sku-archive .ci-dialog-actions{
    flex-wrap:wrap;justify-content:stretch
  }
  .ci-sku-editor .ci-dialog-actions>button,.ci-sku-archive .ci-dialog-actions>button{
    flex:1 1 130px
  }
}


/* PRODUCTOS P2F · Finanza visual global, provisional, NO Finance certified quote. */
.ci-sku-finance,.ci-finance-preview{
  min-width:0;display:flex;flex-direction:column;gap:12px;
  padding:17px 18px;border:1px solid #4a5466;border-radius:18px;
  background:linear-gradient(160deg,#252b34 0%,#222529 100%);
  color:#e8eaed;
}
.ci-finance-heading{display:flex;gap:10px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.ci-finance-heading strong{font-size:14px;font-weight:600}
.ci-finance-simulated-flag{
  flex:none;padding:5px 9px;border:1px solid #8a723b;border-radius:100px;
  background:#302b20;color:#f6d79d;font-size:10px;font-weight:600;
  letter-spacing:.025em
}
.ci-sku-finance>p:not(.ci-finance-preview-message),.ci-finance-preview>p:not(.ci-finance-preview-message){
  margin:0;color:#bdc1c6;font-size:12px;line-height:1.6
}
.ci-finance-controls{
  min-width:0;display:grid;grid-template-columns:minmax(190px,1.7fr) minmax(150px,1fr);
  gap:13px;align-items:end
}
.ci-finance-field{display:flex;min-width:0;flex-direction:column;gap:7px;color:#bdc1c6;font-size:11px}
.ci-finance-field select,.ci-finance-field input{
  box-sizing:border-box;width:100%;min-width:0;min-height:42px;
  border:1px solid #5f6368;border-radius:12px;padding:0 12px;
  background:#141517;color:#f1f3f4;font:400 12px/1.4 Roboto,Arial,sans-serif;
  outline-offset:2px
}
.ci-finance-field select:focus,.ci-finance-field input:focus{
  outline:2px solid #8ab4f8;outline-offset:1px
}
.ci-finance-note{color:#b6bece!important;font-size:11px!important}
.ci-finance-metrics{
  display:grid;grid-template-columns:minmax(0,1fr);gap:0;
  border-top:1px solid #3b414d
}
.ci-finance-metric{
  display:flex;gap:14px;justify-content:space-between;align-items:center;
  padding:8px 0;border-bottom:1px solid #3b414d;font-size:11px
}
.ci-finance-metric>span{color:#b6becb;line-height:1.5;min-width:0}
.ci-finance-metric>strong{
  flex:none;max-width:45%;font-size:13px;font-weight:600;
  color:#e8eaed;text-align:right;overflow-wrap:anywhere
}
.ci-finance-metric.is-highlight{
  margin:6px -9px 0;padding:13px 9px;border-radius:12px;
  border:1px solid #45608b;background:#243957
}
.ci-finance-metric.is-highlight>span{color:#c9dcfa;font-weight:600}
.ci-finance-metric.is-highlight>strong{color:#b0ceff;font-size:16px}
.ci-finance-preview-message{
  margin:0;color:#d7bd93;font-size:11px;line-height:1.6
}
.ci-products-detail>.ci-finance-preview{
  box-sizing:border-box;width:100%;
}
@media(max-width:690px){
  .ci-finance-controls{grid-template-columns:1fr}
  .ci-sku-finance,.ci-finance-preview{padding:14px}
  .ci-finance-metric.is-highlight>strong{font-size:14px}
}


/* P3.1 · Set Builder: V1 functional structure, Creative Insights visual system. */
/* The Set constructor is a wide RIGHT slide, not a centered modal.
   At least 75% of desktop width, 100% on small screens. */
body.ci-set-slide-visible{overflow:hidden}
.ci-set-slide-backdrop{
  position:fixed;inset:0;z-index:1600;display:block;width:100%;height:100%;
  border:0;padding:0;cursor:pointer;background:rgba(0,0,0,.60);
  backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px)
}
.ci-set-slide{
  box-sizing:border-box;position:fixed;inset:0 0 0 auto;z-index:1601;
  display:flex;flex-direction:column;
  width:min(100vw,max(75vw,900px));height:100vh;height:100dvh;
  max-height:100vh;max-height:100dvh;margin:0;
  background:#1e1f20;border-left:1px solid #45474a;
  border-radius:22px 0 0 22px;color:var(--ci-text);
  box-shadow:-14px 0 50px rgba(0,0,0,.42);
  animation:ci-set-slide-enter .22s ease-out both
}
.ci-set-slide[hidden],.ci-set-slide-backdrop[hidden]{display:none!important}
.ci-set-slide .ci-set-editor-shell{
  box-sizing:border-box;display:flex;flex-direction:column;flex:1;min-height:0;
  width:100%;height:100%;max-height:none;
  padding:0;overflow:hidden;border-radius:inherit;background:#1e1f20;
  box-shadow:none
}
.ci-set-slide .ci-dialog-header{
  flex:none;align-items:center;gap:28px;
  padding:25px 32px 21px;margin:0;border-bottom:1px solid #37393c;
  background:#1e1f20
}
.ci-set-slide .ci-dialog-header p{max-width:670px}
.ci-set-slide .ci-dialog-close{width:40px;height:40px}
.ci-set-slide .ci-set-form{
  flex:1 1 auto;min-height:0;min-width:0;margin:0;
  padding:24px 32px 0;overflow-y:auto;overflow-x:hidden;
  overscroll-behavior:contain;scrollbar-gutter:stable;
}
.ci-set-slide .ci-set-form>.ci-dialog-actions{
  position:sticky;bottom:0;z-index:2;
  margin:12px -32px 0;
  padding:16px 32px max(16px,env(safe-area-inset-bottom));
  border-top:1px solid #414448;
  background:rgba(30,31,32,.97);backdrop-filter:blur(8px);
  box-shadow:0 -9px 25px rgba(0,0,0,.18)
}
@keyframes ci-set-slide-enter{
  from{transform:translateX(45px);opacity:.85}
  to{transform:translateX(0);opacity:1}
}
.ci-dialog.ci-set-archive{width:min(540px,calc(100vw - 28px))}
.ci-set-form{display:flex;flex-direction:column;gap:17px;margin-top:17px}
.ci-set-section{
  display:flex;flex-direction:column;gap:13px;padding:19px;
  background:#222426;border:1px solid #3b3e42;border-radius:18px;min-width:0
}
.ci-set-section h3{margin:0;font-size:15px;font-weight:600;color:#e8eaed}
.ci-set-section p{margin:0;line-height:1.6}
.ci-set-identity-grid,.ci-set-economics-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.ci-set-field{display:flex;flex-direction:column;min-width:0;gap:7px}
.ci-set-field>span{color:#bdc1c6;font-size:11px;line-height:1.4}
.ci-set-field>input,.ci-set-field>select{
  box-sizing:border-box;width:100%;min-width:0;min-height:42px;
  padding:0 12px;background:#141517;color:#e8eaed;border:1px solid #5f6368;
  border-radius:12px;font:400 12px/1.4 Roboto,Arial,sans-serif;
}
.ci-set-field>input:focus,.ci-set-field>select:focus{outline:2px solid #8ab4f8;outline-offset:1px}
.ci-set-catalog-tools{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.ci-set-catalog-tools>input{
  flex:1 1 240px;min-width:140px;min-height:42px;box-sizing:border-box;
  padding:0 14px;background:#141517;color:#e8eaed;border:1px solid #5f6368;
  border-radius:22px;outline-offset:2px
}
.ci-set-catalog-tools .ci-button{min-height:37px;white-space:nowrap;font-size:11px;padding:0 12px}
.ci-set-rows{display:grid;gap:10px}
.ci-set-component{
  border:1px solid #3c4043;border-radius:16px;padding:14px 16px;
  background:#1e1f20;min-width:0
}
.ci-set-component-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}
.ci-set-component-top strong{font-size:12px;font-weight:600}
.ci-set-component-top .ci-button{font-size:11px;min-height:30px;padding:0 11px}
.ci-set-component-fields{display:grid;grid-template-columns:minmax(0,2.3fr) minmax(0,.8fr) minmax(0,1.15fr);gap:13px;align-items:end}
.ci-set-component-cost{
  display:flex;align-items:center;min-height:42px;box-sizing:border-box;
  padding:9px 11px;border:1px solid #414448;background:#282a2c;
  border-radius:12px;color:#a8c7fa;font-size:11px;line-height:1.45
}
.ci-set-finance{background:#252c36;border-color:#4b5e7a}
.ci-set-finance .ci-finance-heading{margin-bottom:4px}
.ci-set-summary{background:#20272e;border-color:#445266}
.ci-set-facts{grid-template-columns:minmax(140px,1fr) minmax(0,1.4fr)}
.ci-set-facts dd:last-of-type{font-weight:700;font-size:17px;color:#a8c7fa}
.ci-set-form .ci-dialog-actions{margin-top:0;display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.ci-set-form #set-editor-feedback:not(:empty),
.ci-set-archive #set-archive-feedback:not(:empty){
  padding:11px 13px;border:1px solid #75413d;border-radius:12px;
  background:#302323;color:#f28b82;font-size:12px;line-height:1.5
}
.ci-set-form #set-editor-feedback:empty,
.ci-set-archive #set-archive-feedback:empty{display:none}
.ci-set-form .ci-dialog-actions .ci-button{min-height:42px}
@media(max-width:900px){
  .ci-set-identity-grid,.ci-set-economics-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ci-set-component-fields{grid-template-columns:minmax(0,1.6fr) minmax(0,.7fr)}
  .ci-set-component-fields>.ci-set-field:last-child{grid-column:1/-1}
}
@media(max-width:580px){
  .ci-set-slide{width:100vw;border-radius:0}
  .ci-set-slide .ci-dialog-header{padding:18px 18px 16px}
  .ci-set-slide .ci-set-form{padding:16px 18px 0;scrollbar-gutter:auto}
  .ci-set-slide .ci-set-form>.ci-dialog-actions{
    margin:12px -18px 0;padding:14px 18px max(14px,env(safe-area-inset-bottom))
  }
  .ci-set-section{padding:14px;gap:12px}
  .ci-set-identity-grid,.ci-set-economics-grid,.ci-set-component-fields,.ci-set-finance .ci-finance-controls{grid-template-columns:1fr}
  .ci-set-component-fields>.ci-set-field:last-child{grid-column:auto}
  .ci-set-catalog-tools{align-items:stretch}
  .ci-set-catalog-tools>input{flex-basis:100%}
  .ci-set-form .ci-dialog-actions .ci-button{flex:1 1 135px}
}
@media(prefers-reduced-motion:reduce){
  .ci-set-slide{animation:none}
}


/* Conjuntos · filtros precisos separados de gestión. Regla global de jerarquía. */
.ci-set-toolbar{
  display:grid;grid-template-columns:minmax(0,1fr) auto;
  align-items:end;gap:16px;width:100%;min-width:0;
}
.ci-set-toolbar-query{
  display:flex;flex:1;align-items:flex-end;gap:10px;flex-wrap:wrap;min-width:0
}
.ci-set-toolbar-query .ci-products-select{flex:0 1 145px;min-width:120px}
.ci-set-toolbar-query .ci-products-select select{
  min-width:0;width:100%;min-height:42px;max-width:none
}
.ci-set-search-form{
  display:flex;flex:1 1 455px;align-items:flex-end;
  min-width:0;gap:10px;flex-wrap:wrap
}
.ci-set-search-field{
  display:flex;flex-direction:column;flex:1 1 205px;min-width:155px;
  gap:7px;color:#9aa0a6;font-size:11px
}
.ci-set-search-input{
  display:flex;align-items:center;gap:8px;min-height:42px;
  box-sizing:border-box;padding:0 11px;
  border:1px solid #5f6368;border-radius:21px;background:#202124
}
.ci-set-search-input:focus-within{outline:2px solid #8ab4f8;outline-offset:1px}
.ci-set-search-input>.material-symbols-rounded{
  flex:none;color:#8ab4f8;font-size:19px
}
.ci-set-search-input>input{
  box-sizing:border-box;min-width:0;width:100%;height:40px;
  border:0;outline:0;background:transparent;color:#e8eaed;
  font:400 12px/1.4 Roboto,Arial,sans-serif
}
.ci-set-search-input>input::placeholder{color:#899098}
.ci-set-date-range{
  display:flex;flex-direction:column;flex:0 1 264px;min-width:245px;gap:6px
}
.ci-set-date-caption{
  display:flex;align-items:center;gap:5px;white-space:nowrap;
  color:#9aa0a6;font-size:11px;line-height:1.15
}
.ci-set-date-caption>.material-symbols-rounded{font-size:15px;color:#8ab4f8}
.ci-set-date-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.ci-set-date-field{display:flex;flex-direction:column;min-width:0;gap:3px}
.ci-set-date-field>span{color:#9aa0a6;font-size:10px}
.ci-set-date-field>input{
  box-sizing:border-box;width:100%;min-width:0;min-height:34px;
  border:1px solid #5f6368;border-radius:13px;padding:0 8px;
  background:#202124;color:#e8eaed;color-scheme:dark;
  font:400 11px/1.4 Roboto,Arial,sans-serif;
}
.ci-set-date-field>input:focus{outline:2px solid #8ab4f8;outline-offset:1px}
.ci-set-query-submit,.ci-set-query-clear{
  flex:none;min-height:42px;padding:0 12px;font-size:11px;white-space:nowrap
}
.ci-set-query-submit .material-symbols-rounded,.ci-set-query-clear .material-symbols-rounded{
  font-size:17px
}
.ci-set-query-clear{min-height:38px;color:#9dc1fa}
.ci-set-toolbar-management{
  display:flex;flex:none;align-items:flex-end;justify-content:flex-end;
  gap:9px;min-height:42px;padding-left:16px;border-left:1px solid #424448;
}
.ci-set-toolbar-management>.ci-button{
  min-height:42px;white-space:nowrap;padding:0 14px;font-size:12px
}
.ci-set-toolbar-management .material-symbols-rounded{font-size:19px}
.ci-set-scan-progress{
  display:flex;align-items:center;gap:10px;min-width:0;
  padding:11px 14px;border:1px solid #42556b;background:#222c39;
  border-radius:14px;color:#c8d6ea
}
.ci-set-scan-progress>.material-symbols-rounded{flex:none;color:#8ab4f8;font-size:20px}
.ci-set-scan-description{
  display:flex;flex:1 1 200px;min-width:0;flex-direction:column;gap:3px;
  font-size:11px;line-height:1.5
}
.ci-set-scan-description strong{font-weight:600;color:#e8eaed}
.ci-set-scan-description>span{color:#a9b7c9}
.ci-set-scan-progress .ci-button{flex:none;min-height:36px;font-size:11px;white-space:nowrap}
@media(max-width:1100px){
  .ci-set-toolbar{grid-template-columns:minmax(0,1fr) auto;gap:12px}
  .ci-set-toolbar-query .ci-products-select{flex-basis:138px}
  .ci-set-search-form{flex-basis:100%}
}
@media(max-width:760px){
  .ci-set-toolbar{grid-template-columns:minmax(0,1fr);gap:12px}
  .ci-set-toolbar-management{
    border-left:0;border-top:1px solid #424448;
    padding:10px 0 0;justify-content:flex-end
  }
  .ci-set-toolbar-query .ci-products-select{flex:1 1 130px}
  .ci-set-search-field{flex-basis:200px}
  .ci-set-date-range{flex:1 1 245px}
}
@media(max-width:470px){
  .ci-set-search-form{gap:9px}
  .ci-set-search-field,.ci-set-date-range{flex-basis:100%;min-width:0}
  .ci-set-query-submit{flex:1 1 110px}
  .ci-set-toolbar-management>.ci-button{padding:0 11px;font-size:11px}
  .ci-set-scan-progress{flex-wrap:wrap}
  .ci-set-scan-progress .ci-button{margin-left:auto}
}


/* Productos P3.2 · Ofertas comerciales. Three-step, 75vw RIGHT slide. */
body.ci-offer-slide-visible{overflow:hidden}
.ci-offer-slide-backdrop{
  position:fixed;inset:0;z-index:1602;display:block;width:100%;height:100%;
  margin:0;padding:0;border:0;background:rgba(0,0,0,.60);
  backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px);cursor:pointer
}
.ci-offer-slide{
  box-sizing:border-box;position:fixed;inset:0 0 0 auto;
  z-index:1603;display:flex;flex-direction:column;
  width:min(100vw,max(75vw,900px));height:100vh;height:100dvh;
  max-height:100dvh;margin:0;
  background:#1e1f20;border-left:1px solid #45474a;
  border-radius:22px 0 0 22px;color:#e8eaed;
  box-shadow:-14px 0 50px rgba(0,0,0,.42);
  animation:ci-set-slide-enter .22s ease-out both
}
.ci-offer-slide[hidden],.ci-offer-slide-backdrop[hidden],
.ci-offer-section[hidden],.ci-offer-footer button[hidden]{display:none!important}
.ci-offer-slide-header{
  display:flex;flex:none;align-items:center;justify-content:space-between;gap:28px;
  padding:22px 32px 18px;border-bottom:1px solid #37393c;
  background:#1e1f20
}
.ci-offer-slide-header h2{font-size:25px;line-height:1.35;font-weight:400;margin:0}
.ci-offer-slide-header p{margin:6px 0 0;color:#9aa0a6;font-size:13px}
.ci-offer-slide-header .ci-dialog-close{width:40px;height:40px}
.ci-offer-steps{
  display:flex;flex:none;align-items:center;justify-content:flex-start;
  gap:15px;padding:15px 32px;border-bottom:1px solid #34383d;
  background:#24262a;min-width:0;overflow-x:auto
}
.ci-offer-step{display:flex;gap:9px;align-items:center;white-space:nowrap;color:#9aa0a6;font-size:11px}
.ci-offer-step-number{
  display:grid;place-items:center;flex:none;width:26px;height:26px;
  border:1px solid #50545d;border-radius:50%;background:#24262a;color:#9aa0a6;
  font-weight:600;font-size:12px
}
.ci-offer-step[data-active="true"]{color:#a8c7fa;font-weight:600}
.ci-offer-step[data-active="true"] .ci-offer-step-number{
  border-color:#8ab4f8;background:#283b55;color:#a8c7fa
}
.ci-offer-step[data-completed="true"] .ci-offer-step-number{
  border-color:#628a72;background:#243b30;color:#99d5aa
}
.ci-offer-form{
  display:flex;flex:1;flex-direction:column;min-width:0;min-height:0;
  padding:22px 32px 0;overflow-y:auto;overflow-x:hidden;
  overscroll-behavior:contain;scrollbar-gutter:stable
}
.ci-offer-section{
  display:flex;flex:1 0 auto;flex-direction:column;align-items:stretch;
  min-width:0;gap:16px;padding:19px;margin-bottom:14px;
  background:#222426;border:1px solid #3b3e42;border-radius:18px
}
.ci-offer-section h3{margin:0;font-size:15px;color:#e8eaed;font-weight:600}
.ci-offer-section p{margin:0}
.ci-offer-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.ci-offer-field{display:flex;flex-direction:column;min-width:0;gap:7px;font-size:11px;color:#bdc1c6}
.ci-offer-field>span{line-height:1.45}
.ci-offer-field input,.ci-offer-field textarea,.ci-offer-field select{
  box-sizing:border-box;width:100%;min-width:0;min-height:42px;
  padding:10px 12px;border:1px solid #5f6368;border-radius:12px;
  background:#141517;color:#e8eaed;font:400 12px/1.5 Roboto,Arial,sans-serif;
  outline-offset:1px
}
.ci-offer-field textarea{min-height:85px;resize:vertical}
.ci-offer-field input:focus,.ci-offer-field textarea:focus,
.ci-offer-field select:focus{outline:2px solid #8ab4f8}
.ci-offer-field input:read-only{background:#282a2c;color:#b6bdc7}
.ci-offer-field input[type="datetime-local"]{color-scheme:dark}
.ci-offer-set-picker{
  display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:12px
}
.ci-offer-set-picker .ci-button{min-height:42px}
.ci-offer-set-preview{
  display:flex;flex-direction:column;gap:13px;min-height:75px;
  padding:16px;border:1px solid #445266;border-radius:16px;background:#20272e
}
.ci-offer-set-preview-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}
.ci-offer-set-preview-heading strong{font-size:13px;font-weight:600}
.ci-offer-component-list,.ci-offer-preview-economics,.ci-offer-review{
  display:flex;flex-direction:column;gap:9px
}
.ci-offer-preview-economics{padding-top:12px;border-top:1px solid #465365}
.ci-offer-summary-pair{
  display:flex;justify-content:space-between;gap:15px;
  font-size:12px;line-height:1.5
}
.ci-offer-summary-pair span{color:#abb7c8;min-width:0}
.ci-offer-summary-pair strong{text-align:right;color:#e8eaed;overflow-wrap:anywhere;max-width:55%}
.ci-offer-preview-economics .ci-offer-summary-pair:last-child strong{color:#a8c7fa;font-size:14px}
.ci-offer-published-control{
  display:flex;align-items:center;gap:10px;padding:13px 14px;
  border:1px solid #465365;border-radius:12px;background:#20272e;
  color:#dce6f5;font-size:12px;line-height:1.45
}
.ci-offer-published-control input{width:17px;height:17px;accent-color:#8ab4f8}
.ci-offer-publish-warning{
  padding:12px 14px;border:1px solid #826a37;border-radius:12px;
  background:#302b20;color:#f1d59d;font-size:11px;line-height:1.6
}
.ci-offer-review{
  padding:14px;background:#20272e;border:1px solid #465365;border-radius:14px
}
.ci-offer-review>strong{font-size:13px;margin-bottom:2px}
.ci-offer-feedback:not(:empty){
  padding:11px 13px;margin:0 0 10px;
  border:1px solid #4b5e7a;border-radius:12px;background:#222c39;
  color:#a8c7fa;font-size:12px;line-height:1.5
}
.ci-offer-feedback[data-kind="error"]:not(:empty){
  border-color:#75413d;background:#302323;color:#f28b82
}
.ci-offer-feedback:empty{display:none}
.ci-offer-footer{
  position:sticky;bottom:0;z-index:2;
  display:flex;justify-content:flex-end;align-items:center;gap:10px;flex:none;
  margin:auto -32px 0;padding:16px 32px max(16px,env(safe-area-inset-bottom));
  background:rgba(30,31,32,.97);border-top:1px solid #414448;
  backdrop-filter:blur(8px);box-shadow:0 -9px 25px rgba(0,0,0,.18)
}
.ci-offer-footer .ci-button{min-height:42px}
.ci-dialog.ci-offer-archive{width:min(520px,calc(100vw - 28px))}
.ci-offer-archive .ci-dialog-surface{display:flex;flex-direction:column;gap:15px}
.ci-offer-archive h2{font-size:21px;margin:0}
.ci-offer-linked-components{
  display:flex;flex-direction:column;gap:7px;padding:10px 15px;
  border:1px solid #3b414d;border-radius:12px;background:#24282e;
  color:#c5d0df;font-size:12px
}
.ci-offer-toolbar{
  display:grid;grid-template-columns:minmax(0,1fr) auto;
  gap:16px;align-items:end;width:100%;min-width:0
}
.ci-offer-toolbar-query{display:flex;flex:1;min-width:0;gap:11px;flex-wrap:wrap;align-items:end}
.ci-offer-toolbar-query .ci-products-select{flex:0 1 145px;min-width:120px}
.ci-offer-toolbar-search{flex:1 1 300px;min-width:180px}
.ci-offer-toolbar-management{align-self:end}
@media(max-width:760px){
  .ci-offer-toolbar{grid-template-columns:1fr;gap:12px}
  .ci-offer-toolbar-management{
    justify-content:flex-end;border-left:0;border-top:1px solid #424448;
    padding:10px 0 0
  }
}
@media(max-width:580px){
  .ci-offer-slide{width:100vw;border-radius:0}
  .ci-offer-slide-header{padding:17px 18px 14px}
  .ci-offer-slide-header h2{font-size:21px}
  .ci-offer-steps{padding:11px 18px;gap:13px}
  .ci-offer-form{padding:17px 18px 0;scrollbar-gutter:auto}
  .ci-offer-section{padding:14px}
  .ci-offer-grid,.ci-offer-set-picker{grid-template-columns:1fr}
  .ci-offer-footer{
    margin:auto -18px 0;padding:13px 18px max(13px,env(safe-area-inset-bottom));
    gap:8px;flex-wrap:wrap
  }
  .ci-offer-footer .ci-button{flex:1 1 125px;padding:0 9px;font-size:11px}
}
@media(prefers-reduced-motion:reduce){
  .ci-offer-slide{animation:none}
}


/* P3.3 · Provider bindings: scoped detail surface and read-only 75vw subslide. */
.ci-bindings-section{
  display:flex;flex-direction:column;gap:13px;min-width:0;margin-top:12px;
  padding:18px 20px;background:#20262d;border:1px solid #455368;border-radius:17px
}
.ci-bindings-heading{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.ci-bindings-heading>.material-symbols-rounded{color:#8ab4f8;font-size:21px}
.ci-bindings-heading h3{margin:0;font-weight:600;font-size:14px;color:#e8eaed}
.ci-bindings-mode{
  display:inline-flex;padding:5px 9px;margin-left:auto;border-radius:8px;
  background:#303946;border:1px solid #465365;color:#a8c7fa;font-size:10px
}
.ci-bindings-helper,.ci-bindings-hint{
  margin:0;color:#aeb8c7;font-size:11px;line-height:1.6
}
.ci-bindings-hint{color:#9aa0a6}
.ci-bindings-summary-line{
  display:flex;gap:10px;align-items:center;min-width:0;padding:13px;
  border:1px solid #414b59;border-radius:13px;background:#262c34;
  color:#dce3ec;font-size:12px;line-height:1.5
}
.ci-bindings-summary-line .material-symbols-rounded{flex:none;font-size:20px;color:#8ab4f8}
.ci-bindings-summary-line[data-tone="error"]{
  border-color:#82514f;background:#302628;color:#f28b82
}
.ci-bindings-summary-line[data-tone="error"] .material-symbols-rounded{color:#f28b82}
.ci-bindings-summary-line[data-tone="linked"]{border-color:#426550}
.ci-bindings-summary-list{display:grid;gap:8px}
.ci-bindings-summary-entry{
  display:flex;align-items:center;gap:10px;padding:10px 12px;min-width:0;
  border:1px solid #434a54;border-radius:12px;color:#dce5f0;font-size:11px
}
.ci-bindings-summary-entry strong{color:#8ab4f8}
.ci-bindings-summary-entry span{min-width:0;flex:1;overflow-wrap:anywhere}
.ci-bindings-summary-entry code{font-size:10px;color:#b3bbca;overflow-wrap:anywhere}
.ci-bindings-summary-actions{
  display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;
  margin-top:2px;padding-top:12px;border-top:1px solid #424b58
}
.ci-bindings-summary-actions .ci-button{min-height:39px;font-size:11px}
body.ci-provider-open{overflow:hidden}
.ci-provider-backdrop{
  position:fixed;inset:0;z-index:1604;display:block;width:100%;height:100%;
  margin:0;padding:0;border:0;cursor:pointer;
  background:rgba(0,0,0,.62);backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px)
}
.ci-provider-slide{
  box-sizing:border-box;position:fixed;inset:0 0 0 auto;z-index:1605;
  display:flex;flex-direction:column;width:min(100vw,max(75vw,900px));
  height:100vh;height:100dvh;max-height:100dvh;margin:0;
  background:#1e1f20;border-left:1px solid #45474a;border-radius:22px 0 0 22px;
  color:#e8eaed;box-shadow:-14px 0 50px rgba(0,0,0,.42);
  animation:ci-set-slide-enter .22s ease-out both
}
.ci-provider-slide[hidden],.ci-provider-backdrop[hidden],
.ci-provider-paging button[hidden]{display:none!important}
.ci-provider-header{
  display:flex;flex:none;align-items:center;justify-content:space-between;gap:28px;
  padding:22px 32px 19px;border-bottom:1px solid #37393c;
  background:#1e1f20
}
.ci-provider-header h2{font-size:25px;line-height:1.35;font-weight:400;margin:0}
.ci-provider-header p{margin:6px 0 0;color:#9aa0a6;font-size:12px;overflow-wrap:anywhere}
.ci-provider-header .ci-dialog-close{width:40px;height:40px}
.ci-provider-intro{
  flex:none;display:flex;gap:12px;align-items:flex-start;padding:15px 32px;
  border-bottom:1px solid #34383d;background:#24262a;
  color:#c7d2e0;font-size:12px;line-height:1.6
}
.ci-provider-intro p{margin:0}
.ci-provider-intro .material-symbols-rounded{color:#8ab4f8;font-size:20px;flex:none}
.ci-provider-body{
  flex:1;display:flex;flex-direction:column;gap:18px;min-width:0;min-height:0;
  padding:22px 32px;overflow-y:auto;overflow-x:hidden;
  scrollbar-gutter:stable;overscroll-behavior:contain
}
.ci-provider-connection{
  display:flex;gap:14px;align-items:center;min-width:0;padding:18px;
  border:1px solid #465365;border-radius:16px;background:#252b33
}
.ci-provider-connection>.material-symbols-rounded{font-size:26px;flex:none;color:#a8c7fa}
.ci-provider-connection-label{display:flex;flex-direction:column;gap:5px;min-width:0}
.ci-provider-connection-label strong{font-size:13px;color:#e8eaed}
.ci-provider-connection-label span{font-size:11px;color:#aeb8c7;line-height:1.5}
.ci-provider-toolbar{
  display:grid;grid-template-columns:minmax(0,1fr) auto;gap:15px;align-items:end
}
.ci-provider-query{display:flex;gap:9px;align-items:center;min-width:0}
.ci-provider-query .ci-button{min-height:42px;font-size:11px}
.ci-provider-query .ci-button[data-active="true"]{
  background:#2d425c;border-color:#8ab4f8;color:#d2e3fc
}
.ci-provider-management{
  display:flex;justify-content:flex-end;align-items:center;gap:9px;
  padding-left:16px;border-left:1px solid #424448
}
.ci-provider-management .ci-button{min-height:42px;font-size:11px;white-space:nowrap}
.ci-provider-management .ci-button:disabled{
  cursor:not-allowed;opacity:.45
}
.ci-provider-notice{
  border:1px solid #635a43;border-radius:13px;background:#302d25;color:#e4d0aa;
  padding:12px 14px;margin:0;font-size:11px;line-height:1.6
}
.ci-provider-counter{font-size:11px;color:#aeb8c7}
.ci-provider-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.ci-bindings-item{
  display:flex;flex-direction:column;gap:13px;min-width:0;padding:17px;
  border:1px solid #41474e;border-radius:17px;background:#242628
}
.ci-bindings-item-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
.ci-bindings-item-head strong{color:#8ab4f8;font-size:12px}
.ci-bindings-item-status{
  border:1px solid #4f6155;background:#2c3a31;color:#b1dabd;
  border-radius:9px;padding:5px 9px;font-size:10px
}
.ci-bindings-item-status[data-status="inactive"]{
  border-color:#625648;background:#3b342a;color:#f5c18d
}
.ci-bindings-item-title{font-size:14px;font-weight:600;color:#e8eaed;overflow-wrap:anywhere}
.ci-bindings-item-facts{display:grid;grid-template-columns:minmax(105px,1fr) minmax(0,1.4fr);gap:0;margin:0}
.ci-bindings-item-facts dt,.ci-bindings-item-facts dd{
  border-bottom:1px solid #34383d;padding:8px 0;margin:0;
  font-size:11px;line-height:1.5;overflow-wrap:anywhere
}
.ci-bindings-item-facts dt{color:#9aa0a6}
.ci-bindings-item-facts dd{color:#e8eaed;font-weight:500;text-align:right}
.ci-bindings-item-actions{display:flex;justify-content:flex-end;margin-top:auto}
.ci-bindings-item-actions .ci-button{min-height:37px;font-size:11px}
.ci-bindings-empty{
  grid-column:1/-1;margin:0;padding:25px;text-align:center;
  border:1px dashed #4a515d;border-radius:16px;background:#222529;
  color:#b2bcc9;font-size:12px;line-height:1.6
}
.ci-provider-paging{display:flex;justify-content:center}
.ci-provider-paging .ci-button{min-height:39px}
.ci-provider-message{
  flex:none;margin:0;padding:12px 32px;
  border-top:1px solid #383c42;color:#aab7c8;font-size:11px;line-height:1.5
}
.ci-provider-message[data-kind="error"]{color:#f28b82}
.ci-provider-footer{
  display:flex;justify-content:flex-end;flex:none;gap:10px;
  padding:15px 32px max(15px,env(safe-area-inset-bottom));
  border-top:1px solid #414448;background:#1e1f20
}
.ci-provider-footer .ci-button{min-height:41px}
@media(max-width:1100px){
  .ci-provider-toolbar{grid-template-columns:1fr}
  .ci-provider-management{padding:12px 0 0;border-left:0;border-top:1px solid #424448}
}
@media(max-width:760px){
  .ci-provider-list{grid-template-columns:1fr}
  .ci-bindings-summary-entry{flex-wrap:wrap}
  .ci-bindings-summary-entry span{flex-basis:60%}
}
@media(max-width:580px){
  .ci-bindings-section{padding:14px;gap:11px}
  .ci-provider-slide{width:100vw;border-radius:0}
  .ci-provider-header{padding:18px}
  .ci-provider-header h2{font-size:20px}
  .ci-provider-intro{padding:13px 18px}
  .ci-provider-body{padding:17px 18px;scrollbar-gutter:auto}
  .ci-provider-management{flex-wrap:wrap}
  .ci-provider-query .ci-button{flex:1}
  .ci-provider-management .ci-button{flex:1 1 120px}
  .ci-provider-message{padding:11px 18px}
  .ci-provider-footer{padding:13px 18px max(13px,env(safe-area-inset-bottom))}
}
@media(prefers-reduced-motion:reduce){
  .ci-provider-slide{animation:none}
}


/* Logistics L1 / Support Conversations. Real certified operator surface, Creative Insights. */
.ci-support-root{gap:22px}
.ci-support-heading{display:flex;gap:16px;align-items:flex-end;justify-content:space-between;flex-wrap:wrap}
.ci-support-heading h2{font-size:25px;line-height:1.4;font-weight:400;margin:5px 0}
.ci-support-heading p{font-size:12px;color:#aeb5c0;margin:0;max-width:680px;line-height:1.65}
.ci-support-source{font-size:11px;color:#a8c7fa;padding:9px 13px;border-radius:12px;background:#263141;border:1px solid #465365}
.ci-support-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.ci-support-metric{
  display:flex;flex-direction:column;gap:7px;padding:16px 18px;
  background:#202124;border:1px solid #3c4043;border-radius:16px
}
.ci-support-metric strong{color:#e8eaed;font-size:27px;line-height:1.2;font-weight:500}
.ci-support-metric span{font-size:11px;color:#bdc1c6}
.ci-support-panel{display:flex;flex-direction:column;gap:13px;padding:20px;background:#1f1f1f;border:1px solid #3c4043;border-radius:22px;min-width:0}
.ci-support-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:15px}
.ci-support-queries{display:flex;align-items:end;gap:12px;flex-wrap:wrap;min-width:0}
.ci-support-management{display:flex;align-items:end;justify-content:flex-end;gap:9px;border-left:1px solid #45484b;padding-left:15px}
.ci-support-queries .ci-button,.ci-support-management .ci-button{min-height:42px}
.ci-support-filter{display:flex;flex-direction:column;gap:6px;color:#bdc1c6;font-size:11px;flex:0 1 165px}
.ci-support-filter select,.ci-support-priority-change select{
  min-height:43px;min-width:0;width:100%;padding:8px 12px;color:#e8eaed;background:#28292a;border:1px solid #50545a;border-radius:12px
}
.ci-support-search{display:flex;align-items:end;gap:8px;flex:1 1 320px;min-width:210px}
.ci-support-search-field{display:flex;align-items:center;gap:8px;min-width:0;flex:1;padding:0 12px;min-height:43px;border-radius:12px;border:1px solid #50545a;background:#27292c;color:#9aa0a6}
.ci-support-search-field .material-symbols-rounded{font-size:19px}
.ci-support-search-field input{min-width:0;flex:1;border:0;outline:0;color:#e8eaed;background:transparent;font-size:12px}
.ci-support-search-field input:focus-visible{outline:0}
.ci-support-search-field:focus-within{outline:2px solid #8ab4f8;outline-offset:1px}
.ci-support-note,.ci-support-page-note{font-size:11px;color:#9aa0a6;line-height:1.6;margin:0}
.ci-support-list{display:flex;flex-direction:column;gap:9px;min-width:0}
.ci-support-case{
  display:grid;grid-template-columns:minmax(0,1fr) minmax(175px,auto) auto;
  align-items:center;gap:15px;width:100%;padding:14px 17px;
  background:#242628;color:#e8eaed;text-align:left;border:1px solid #3d4147;border-radius:14px;
  transition:border-color .12s,background-color .12s
}
.ci-support-case:hover{background:#292d31;border-color:#667f9e}
.ci-support-case>.material-symbols-rounded{font-size:20px;color:#a8c7fa}
.ci-support-case-main{display:flex;flex-direction:column;gap:4px;min-width:0}
.ci-support-case-title{display:flex;align-items:center;gap:10px;min-width:0;flex-wrap:wrap}
.ci-support-case-title strong{font-size:13px;font-weight:600;overflow-wrap:anywhere}
.ci-support-case-id{font-size:10px;color:#9aa0a6}
.ci-support-case-address{font-size:11px;color:#a8c7fa;overflow-wrap:anywhere}
.ci-support-preview{margin:4px 0 0;font-size:12px;color:#bdc1c6;overflow-wrap:anywhere;line-height:1.55}
.ci-support-case-side{display:flex;flex-direction:column;gap:8px;align-items:flex-end}
.ci-support-case-badges,.ci-support-detail-tags{display:flex;gap:6px;flex-wrap:wrap}
.ci-support-status,.ci-support-priority,.ci-support-unread{
  display:inline-flex;align-items:center;justify-content:center;
  border-radius:9px;border:1px solid #526078;background:#2b3545;color:#a8c7fa;
  padding:5px 9px;font-size:10px;white-space:nowrap
}
.ci-support-status[data-status="cerrada"]{border-color:#565c62;background:#2e3134;color:#b9bdc3}
.ci-support-status[data-status="nueva"]{border-color:#795d35;background:#3d3324;color:#f3ca85}
.ci-support-status[data-status="respondida"]{border-color:#47694f;background:#26392b;color:#a6d7b2}
.ci-support-priority[data-priority="high"]{border-color:#81534e;background:#382826;color:#f28b82}
.ci-support-priority[data-priority="medium"]{border-color:#695d46;background:#332f26;color:#edd49e}
.ci-support-unread{border-color:#986b42;background:#3b2f22;color:#ffda9f}
.ci-support-date{font-size:10px;color:#9aa0a6}
.ci-support-pages{display:flex;justify-content:flex-end;align-items:center;gap:10px;padding-top:12px;border-top:1px solid #383b40}
.ci-support-pages>span{margin-right:auto;font-size:11px;color:#bdc1c6}
.ci-support-empty{display:flex;align-items:center;flex-direction:column;gap:12px;text-align:center;padding:32px 20px;color:#bdc1c6;border:1px dashed #494d52;border-radius:15px;background:#252728}
.ci-support-empty .material-symbols-rounded{color:#8ab4f8;font-size:28px}
.ci-support-empty strong{color:#e8eaed;font-weight:600}
.ci-support-empty span:not(.material-symbols-rounded){font-size:12px;max-width:520px;line-height:1.6}
body.ci-support-open{overflow:hidden}
.ci-support-backdrop{
  position:fixed;inset:0;display:block;z-index:1607;width:100%;height:100%;
  padding:0;border:0;background:rgba(0,0,0,.65);backdrop-filter:blur(2px);cursor:pointer
}
.ci-support-slide{
  position:fixed;inset:0 0 0 auto;display:flex;flex-direction:column;z-index:1608;
  width:min(100vw,max(75vw,900px));height:100vh;height:100dvh;max-height:100dvh;
  margin:0;color:#e8eaed;background:#1e1f20;
  border-left:1px solid #45474a;border-radius:22px 0 0 22px;
  box-shadow:-14px 0 50px rgba(0,0,0,.45);animation:ci-set-slide-enter .22s ease-out both
}
.ci-support-backdrop[hidden],.ci-support-slide[hidden]{display:none!important}
.ci-support-slide-header{
  display:flex;flex:none;align-items:center;justify-content:space-between;
  gap:18px;padding:20px 32px 17px;border-bottom:1px solid #3b4045
}
.ci-support-slide-header h2{font-size:23px;font-weight:500;line-height:1.4;margin:5px 0}
.ci-support-slide-header p{font-size:11px;color:#9aa0a6;margin:0;overflow-wrap:anywhere}
.ci-support-slide-body{
  flex:1;min-height:0;min-width:0;overflow-y:auto;overflow-x:hidden;
  padding:22px 32px;display:flex;flex-direction:column;gap:18px;
  scrollbar-gutter:stable;overscroll-behavior:contain
}
.ci-support-slide-footer{
  flex:none;display:flex;justify-content:flex-end;padding:15px 32px max(15px,env(safe-area-inset-bottom));
  background:#1e1f20;border-top:1px solid #424448
}
.ci-support-slide-footer .ci-button{min-height:42px}
.ci-support-overview,.ci-support-operations,.ci-support-message-section,.ci-support-composer,.ci-support-activity-section{
  min-width:0;border:1px solid #404347;background:#242628;border-radius:17px;padding:17px;display:flex;flex-direction:column;gap:14px
}
.ci-support-overview h3,.ci-support-operations h3,.ci-support-message-section h3,.ci-support-composer h3{
  margin:0;font-size:14px;font-weight:600
}
.ci-support-overview-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.ci-support-fact{display:flex;flex-direction:column;gap:3px;padding:12px;background:#292b2d;border-radius:11px}
.ci-support-fact span{font-size:10px;color:#9aa0a6}
.ci-support-fact strong{font-size:12px;color:#e8eaed;font-weight:500;overflow-wrap:anywhere}
.ci-support-operation-row{display:flex;gap:14px;justify-content:space-between;flex-wrap:wrap}
.ci-support-lifecycle-actions{display:flex;gap:9px;align-items:flex-end;flex-wrap:wrap}
.ci-support-priority-change{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.ci-support-priority-change span{font-size:11px;color:#bdc1c6}
.ci-support-priority-change select{width:110px;min-height:40px}
.ci-support-operation-row .ci-button{min-height:40px}
.ci-support-close-confirm{padding:13px;border:1px solid #876c42;border-radius:12px;background:#342d24;color:#f0d8b3;font-size:12px}
.ci-support-close-confirm p{margin:0 0 12px;line-height:1.5}
.ci-support-close-confirm>div{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.ci-support-section-title{display:flex;align-items:center;justify-content:space-between;gap:12px}
.ci-support-section-title h3{margin:0}
.ci-support-section-title span{font-size:11px;color:#9aa0a6}
.ci-support-thread{display:flex;flex-direction:column;gap:12px}
.ci-support-message{border:1px solid #465365;border-radius:14px;padding:13px 15px;background:#252c34;max-width:95%}
.ci-support-message[data-visibility="internal"]{background:#342e22;border-color:#8d7348}
.ci-support-message-head{display:flex;align-items:center;gap:9px;flex-wrap:wrap;font-size:11px}
.ci-support-message-head strong{color:#e8eaed}
.ci-support-message-head span{color:#a8c7fa}
.ci-support-message[data-visibility="internal"] .ci-support-message-head span{color:#f0d09f}
.ci-support-message-head time{margin-left:auto;color:#9aa0a6;font-size:10px}
.ci-support-message-body{margin:10px 0 0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.65}
.ci-support-composer-tabs{display:flex;gap:9px;flex-wrap:wrap}
.ci-support-composer-tabs .ci-button{min-height:43px}
.ci-support-composer-tabs [data-selected="true"]{background:#2d4059;border-color:#8ab4f8;color:#e8f0fe}
.ci-support-composer-tabs .ci-button:last-child[data-selected="true"]{background:#403524;border-color:#e8b66e;color:#ffe2ae}
.ci-support-visibility-warning{
  border-radius:11px;padding:13px;margin:0;background:#283647;border:1px solid #4a688a;
  color:#dce7f7;font-size:11px;line-height:1.65
}
.ci-support-visibility-warning[data-visibility="internal"]{background:#372e22;border-color:#8d7348;color:#ffe0ae}
.ci-support-compose-form{display:flex;flex-direction:column;gap:12px}
.ci-support-composer-label{display:flex;flex-direction:column;gap:7px;color:#bdc1c6;font-size:11px}
.ci-support-composer-label textarea{
  width:100%;resize:vertical;min-height:115px;padding:13px;
  border:1px solid #656b73;border-radius:12px;background:#171819;color:#e8eaed;font-size:12px;line-height:1.6
}
.ci-support-compose-actions{display:flex;justify-content:flex-end}
.ci-support-compose-actions .ci-button{min-height:44px}
.ci-support-feedback{border-radius:12px;border:1px solid #4d6382;background:#263447;padding:13px;margin:0;color:#a8c7fa;font-size:12px;line-height:1.6;overflow-wrap:anywhere}
.ci-support-feedback[data-kind="error"]{background:#342728;border-color:#864e48;color:#f28b82}
.ci-support-history{border-radius:11px;border:1px solid #444a54;padding:13px;background:#232629}
.ci-support-history summary{font-size:12px;font-weight:600;color:#d9e4f6;cursor:pointer}
.ci-support-activity-list{display:flex;flex-direction:column;gap:8px;margin-top:12px}
.ci-support-activity-row{display:flex;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px solid #3b4046;font-size:11px}
.ci-support-activity-row strong{color:#bdc1c6}
.ci-support-activity-row span{color:#9aa0a6}
.ci-support-placeholder{margin:0;color:#9aa0a6;font-size:11px;line-height:1.6}
@media(max-width:1050px){
  .ci-support-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}
  .ci-support-toolbar{grid-template-columns:1fr}
  .ci-support-management{border-left:0;border-top:1px solid #44484d;padding:12px 0 0;justify-content:flex-end}
}
@media(max-width:760px){
  .ci-support-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ci-support-case{grid-template-columns:minmax(0,1fr) auto}
  .ci-support-case>.material-symbols-rounded{display:none}
  .ci-support-overview-grid{grid-template-columns:1fr}
}
@media(max-width:580px){
  .ci-support-metrics{gap:8px}
  .ci-support-panel{padding:13px;border-radius:18px}
  .ci-support-case{grid-template-columns:1fr;gap:10px}
  .ci-support-case-side{align-items:flex-start}
  .ci-support-slide{width:100vw;border-radius:0}
  .ci-support-slide-header{padding:16px 18px}
  .ci-support-slide-header h2{font-size:20px}
  .ci-support-slide-body{padding:16px 18px;scrollbar-gutter:auto}
  .ci-support-slide-footer{padding:13px 18px max(13px,env(safe-area-inset-bottom))}
  .ci-support-search{min-width:100%}
  .ci-support-filter{flex:1 1 130px}
  .ci-support-operations,.ci-support-overview,.ci-support-message-section,.ci-support-composer{padding:13px}
}
@media(prefers-reduced-motion:reduce){.ci-support-slide{animation:none}}


/* LOGISTICS L1 / VISUAL ALIGNMENT R1 — authoritative Creative Insights master/detail.
   Source: docs/AUDITORIA_DESIGN_SYSTEM_CREATIVE_INSIGHTS.md
   Overrides original L1 fullscreen-list styling; no business logic or Support contract changes. */
.ci-support-root{gap:16px}
.ci-support-overview-toggle{border:0;background:transparent;min-width:0}
.ci-support-overview-trigger{
  display:flex;align-items:center;gap:11px;min-height:48px;padding:11px 17px;
  border-radius:20px;background:#1e1f20;color:#e8eaed;cursor:pointer;
  font-size:13px;font-weight:500;list-style:none
}
.ci-support-overview-trigger::-webkit-details-marker{display:none}
.ci-support-overview-trigger>.material-symbols-rounded{font-size:20px;color:#8ab4f8}
.ci-support-overview-trigger>.material-symbols-rounded:last-child{
  margin-left:auto;font-size:21px;color:#bdc1c6;transition:transform .14s ease
}
.ci-support-overview-toggle[open] .ci-support-overview-trigger>.material-symbols-rounded:last-child{transform:rotate(180deg)}
.ci-support-overview-trigger:hover{background:#28292a}
.ci-support-overview-trigger:focus-visible{outline:2px solid #8ab4f8;outline-offset:2px}
.ci-support-metrics{margin-top:12px;gap:12px}
.ci-support-metric{
  min-height:93px;justify-content:center;gap:8px;padding:15px 18px;
  border:0;border-radius:21px;background:#1f1f1f
}
.ci-support-metric strong{font-size:25px;font-weight:400;line-height:1.1}
.ci-support-metric span{font-size:12px;color:#bdc1c6}
.ci-support-workspace{
  display:grid;grid-template-columns:minmax(310px,390px) minmax(0,1fr);
  align-items:start;gap:24px;min-width:0
}
.ci-support-inbox-column,.ci-support-detail-column{min-width:0}
.ci-support-inbox-column{display:flex;flex-direction:column;gap:15px}
.ci-support-toolbar{display:flex;flex-direction:column;align-items:stretch;gap:10px}
.ci-support-queries{display:flex;align-items:stretch;flex-wrap:wrap;gap:9px}
.ci-support-filter{flex:1 1 calc(50% - 5px);min-width:0;gap:7px}
.ci-support-filter span{font-size:11px}
.ci-support-filter select{
  min-height:42px;border:1px solid #5f6368;border-radius:21px;
  padding:0 12px;background:#1e1f20;color:#e8eaed;font-size:12px
}
.ci-support-search{flex:1 1 100%;min-width:0;align-items:center;gap:8px}
.ci-support-search-field{
  min-width:0;flex:1;min-height:52px;padding:0 16px;
  border:1px solid transparent;border-radius:26px;background:#202124
}
.ci-support-search-field input{font-size:13px}
.ci-support-management{
  display:flex;justify-content:flex-end;align-items:center;gap:9px;
  border:0;border-top:1px solid #3c4043;margin:0;padding:10px 0 0
}
.ci-support-list-title{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
.ci-support-list-title h2{margin:0;color:#e8eaed;font-size:16px;font-weight:500;line-height:22px}
.ci-support-list-title span{color:#9aa0a6;font-size:11px}
.ci-support-list{display:flex;flex-direction:column;gap:10px}
.ci-support-case.ci-item-card{
  display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;
  gap:11px;min-height:120px;width:100%;padding:18px;border:0;
  border-radius:20px;background:#1e1f20;box-shadow:none;
  color:#e8eaed;transition:background-color .16s ease,box-shadow .16s ease
}
.ci-support-case.ci-item-card:hover{background:#252628;border:0}
.ci-support-case.ci-item-card.is-selected{background:#28292b;box-shadow:inset 3px 0 0 #8ab4f8}
.ci-support-case-main{gap:5px}
.ci-support-case-title{justify-content:space-between}
.ci-support-case-title strong{font-size:14px;font-weight:500;line-height:20px}
.ci-support-case-id{font-size:10px}
.ci-support-case-side{flex-direction:row;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.ci-support-case-badges{gap:6px;flex-wrap:wrap}
.ci-support-status,.ci-support-priority,.ci-support-unread{
  min-height:25px;border-radius:14px;padding:3px 9px;font-size:10px;font-weight:500
}
.ci-support-pages{gap:6px;padding-top:10px}
.ci-support-pages .ci-button{padding:0 12px;min-height:38px;font-size:12px}
.ci-support-empty{border:0;border-radius:20px;background:#1e1f20;padding:34px 18px}
.ci-support-empty strong{font-size:14px;font-weight:500}
.ci-support-detail-column{position:sticky;top:18px;align-self:start;min-height:180px}
.ci-support-detail-column>.ci-support-empty{
  display:flex;justify-content:center;min-height:390px;
  border:0;background:transparent
}
.ci-support-slide{
  position:relative;inset:auto;z-index:auto;display:flex;width:100%;
  height:clamp(560px,calc(100vh - 180px),900px);max-height:none;
  margin:0;border:0;border-radius:0;box-shadow:none;animation:none;
  background:transparent;color:#e8eaed
}
.ci-support-slide-header{
  gap:14px;padding:5px 0 17px;border-bottom:1px solid #3c4043
}
.ci-support-slide-header h2{
  margin:0 0 5px;font-size:25px;line-height:1.3;font-weight:400;letter-spacing:-.02em
}
.ci-support-slide-header p{font-size:12px;color:#9aa0a6}
.ci-support-slide-body{
  gap:14px;padding:18px 0 24px;scrollbar-gutter:stable;
  overscroll-behavior:contain
}
.ci-support-slide-footer{display:none}
.ci-support-overview,.ci-support-operations,.ci-support-message-section,
.ci-support-composer,.ci-support-activity-section{
  border:0;border-radius:20px;background:#1f1f1f;padding:20px
}
.ci-support-overview-grid{gap:9px}
.ci-support-fact{background:#292a2c;border-radius:13px}
.ci-support-fact strong{font-size:12px;font-weight:500}
.ci-support-message{max-width:100%;border-radius:16px}
.ci-support-message-section h3,.ci-support-composer h3,.ci-support-operations h3{font-size:15px;font-weight:500}
@media(max-width:1160px){
  .ci-support-workspace{grid-template-columns:minmax(280px,340px) minmax(0,1fr);gap:20px}
  .ci-support-operations,.ci-support-overview,.ci-support-message-section,.ci-support-composer{padding:15px}
}
@media(max-width:900px){
  .ci-support-workspace{display:block}
  .ci-support-detail-column{position:static;min-height:0}
  .ci-support-detail-column>.ci-support-empty{display:none}
  .ci-support-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}
  .ci-support-inbox-column{gap:14px}
  .ci-support-toolbar{gap:11px}
  .ci-support-queries{align-items:center}
  .ci-support-filter{flex:1 1 170px}
  .ci-support-search{flex:1 1 100%}
  .ci-support-slide{
    position:fixed;inset:0 0 0 auto;z-index:1608;display:flex;
    width:min(100vw,max(75vw,760px));height:100vh;height:100dvh;max-height:100dvh;
    border-left:1px solid #45474a;border-radius:22px 0 0 22px;
    box-shadow:-14px 0 50px rgba(0,0,0,.45);background:#1e1f20;
    animation:ci-set-slide-enter .22s ease-out both
  }
  .ci-support-slide-header{padding:20px 24px 17px}
  .ci-support-slide-body{padding:20px 24px;scrollbar-gutter:stable}
  .ci-support-slide-footer{display:flex;padding:14px 24px max(14px,env(safe-area-inset-bottom))}
  .ci-support-overview,.ci-support-operations,.ci-support-message-section,
  .ci-support-composer,.ci-support-activity-section{border:1px solid #404347;background:#242628}
}
@media(max-width:580px){
  .ci-support-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .ci-support-metric{min-height:88px;padding:12px}
  .ci-support-filter{flex:1 1 130px}
  .ci-support-slide{width:100vw;border-radius:0}
  .ci-support-slide-header{padding:16px 18px}
  .ci-support-slide-header h2{font-size:21px}
  .ci-support-slide-body{padding:16px 18px;scrollbar-gutter:auto}
  .ci-support-slide-footer{padding:13px 18px max(13px,env(safe-area-inset-bottom))}
}
@media(prefers-reduced-motion:reduce){
  .ci-support-overview-trigger>.material-symbols-rounded:last-child{transition:none}
  .ci-support-slide{animation:none}
}


/* Logistics L1 / R2 — operator-first compact workbench (Creative Insights).
   This is limited to #logistica/conversaciones by the router's class. */
.ci-view.is-logistics-conversations{padding-top:12px}
.ci-view.is-logistics-conversations .ci-view-header,
.ci-view.is-logistics-conversations .ci-v2-state{display:none}
.ci-view.is-logistics-conversations>.ci-stage>.ci-stage-stack{gap:11px}
.ci-logistics-compactbar{
  display:flex;align-items:center;justify-content:space-between;
  gap:14px;min-width:0;min-height:38px;padding:0 0 4px
}
.ci-logistics-compacttitle{
  flex:none;margin:0;color:#e8eaed;font-size:17px;
  font-weight:500;line-height:24px;letter-spacing:-.01em
}
.ci-logistics-compactbar .ci-module-tabs{
  flex:0 1 auto;justify-content:flex-end;margin-left:auto;
  gap:6px;min-width:0;max-width:100%;padding:0
}
.ci-logistics-compactbar .ci-filter{
  min-height:32px;padding:0 12px;border-radius:18px;
  font-size:11px;line-height:16px;white-space:nowrap
}
.ci-logistics-compactbar .ci-filter.is-active{
  background:#0b57d0;color:#e8f0fe;border-color:#a8c7fa
}
.ci-view.is-logistics-conversations .ci-support-root{gap:11px}
.ci-view.is-logistics-conversations .ci-support-overview-toggle{width:100%;margin:0}
.ci-view.is-logistics-conversations .ci-support-overview-trigger{
  display:inline-flex;min-height:32px;padding:6px 12px;
  gap:8px;border-radius:17px;font-size:11px;line-height:17px
}
.ci-view.is-logistics-conversations .ci-support-overview-trigger>.material-symbols-rounded{
  font-size:17px
}
.ci-view.is-logistics-conversations .ci-support-overview-trigger>.material-symbols-rounded:last-child{
  margin-left:3px
}
.ci-view.is-logistics-conversations .ci-support-metrics{margin-top:8px}
.ci-view.is-logistics-conversations .ci-support-workspace{
  grid-template-columns:minmax(270px,345px) minmax(0,1fr);gap:26px
}
.ci-view.is-logistics-conversations .ci-support-detail-column{top:12px}
.ci-view.is-logistics-conversations .ci-support-slide{
  height:clamp(590px,calc(100dvh - 156px),1050px)
}
.ci-view.is-logistics-conversations .ci-support-slide-body{
  gap:14px;padding-top:14px
}
.ci-view.is-logistics-conversations .ci-support-composer{
  padding:20px;background:#1f1f1f
}
.ci-view.is-logistics-conversations .ci-support-compose-form textarea{
  min-height:130px
}
.ci-view.is-logistics-conversations .ci-support-case-context{
  min-width:0;border:0;border-radius:18px;background:#1e1f20
}
.ci-view.is-logistics-conversations .ci-support-case-context-summary{
  display:flex;align-items:center;gap:9px;cursor:pointer;
  min-height:42px;padding:10px 15px;color:#bdc1c6;
  font-size:12px;font-weight:500;list-style:none
}
.ci-view.is-logistics-conversations .ci-support-case-context-summary::-webkit-details-marker{display:none}
.ci-view.is-logistics-conversations .ci-support-case-context-summary>.material-symbols-rounded{
  font-size:18px;color:#8ab4f8
}
.ci-view.is-logistics-conversations .ci-support-case-context-summary>.material-symbols-rounded:last-child{
  color:#bdc1c6;margin-left:auto;transition:transform .14s ease
}
.ci-view.is-logistics-conversations .ci-support-case-context[open] .ci-support-case-context-summary>.material-symbols-rounded:last-child{
  transform:rotate(180deg)
}
.ci-view.is-logistics-conversations .ci-support-case-context-summary:focus-visible{
  outline:2px solid #8ab4f8;outline-offset:2px
}
.ci-view.is-logistics-conversations .ci-support-case-context-body{
  display:flex;flex-direction:column;gap:12px;padding:0 12px 12px
}
.ci-view.is-logistics-conversations .ci-support-case-context-body .ci-support-overview,
.ci-view.is-logistics-conversations .ci-support-case-context-body .ci-support-operations{
  padding:16px;background:#292a2c
}
@media(max-width:1100px){
  .ci-view.is-logistics-conversations .ci-support-workspace{
    grid-template-columns:minmax(255px,310px) minmax(0,1fr);gap:18px
  }
}
@media(max-width:900px){
  .ci-view.is-logistics-conversations .ci-support-workspace{display:block}
  .ci-view.is-logistics-conversations .ci-support-slide{
    height:100vh;height:100dvh;max-height:100dvh
  }
}
@media(max-width:760px){
  .ci-logistics-compactbar{align-items:flex-start;flex-wrap:wrap;gap:8px}
  .ci-logistics-compactbar .ci-module-tabs{
    width:100%;flex:1 1 100%;justify-content:flex-start;margin-left:0
  }
  .ci-logistics-compactbar .ci-filter{min-height:30px;padding:0 10px}
}
@media(max-width:580px){
  .ci-view.is-logistics-conversations{padding-top:10px}
  .ci-logistics-compacttitle{font-size:15px}
  .ci-logistics-compactbar .ci-module-tabs{gap:5px}
  .ci-logistics-compactbar .ci-filter{font-size:10px;padding:0 8px}
  .ci-view.is-logistics-conversations .ci-support-composer{padding:15px}
}
@media(prefers-reduced-motion:reduce){
  .ci-view.is-logistics-conversations .ci-support-case-context-summary>.material-symbols-rounded:last-child{transition:none}
}


/* LOGISTICS L1/R3 · Creative Insights modal workbench.
   Never override the main app header, rail or other routes. */
.ci-view.is-logistics-conversations .ci-support-detail-column{position:sticky;top:12px}
.ci-view.is-logistics-conversations .ci-support-r3-preview{
  display:flex;flex-direction:column;gap:19px;min-height:340px;padding:24px 26px;
  border-radius:24px;background:#1f1f1f;min-width:0
}
.ci-support-r3-preview-header{display:flex;align-items:center;justify-content:space-between;gap:12px}
.ci-support-r3-preview-header h2{font-size:23px;font-weight:400;letter-spacing:-.02em;line-height:1.3;margin:0;overflow-wrap:anywhere}
.ci-support-r3-preview .ci-support-detail-tags{gap:8px}
.ci-support-r3-linked,.ci-support-r3-unlinked{
  display:inline-flex;align-items:center;border:1px solid #464a4f;border-radius:15px;
  padding:5px 10px;color:#bdc1c6;font-size:10px
}
.ci-support-r3-linked{border-color:#42684a;color:#a1d9aa}
.ci-support-r3-preview-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.ci-support-r3-preview-grid .ci-support-fact{background:#292a2c}
.ci-support-r3-preview-message{
  margin:0;padding:15px 16px;background:#292a2c;border-radius:14px;
  color:#bdc1c6;font-size:13px;line-height:1.65;overflow-wrap:anywhere
}
.ci-support-r3-preview>.ci-button:last-child{
  width:max-content;max-width:100%;min-height:44px;padding:0 20px;margin-top:auto
}
body.ci-support-open #support-slide{
  position:fixed;inset:0 0 0 auto;display:flex;flex-direction:column;
  width:80vw;min-width:760px;max-width:none;height:100vh;height:100dvh;
  max-height:100dvh;border-radius:24px 0 0 24px;border-left:1px solid #414348;
  background:#1e1f20;box-shadow:-18px 0 70px rgba(0,0,0,.58);
  z-index:1608;animation:ci-set-slide-enter .2s ease-out both
}
body.ci-support-open #support-backdrop{display:block}
body.ci-support-open #support-slide .ci-support-slide-header{
  flex:none;min-height:80px;padding:15px 27px;border-bottom:1px solid #383a3d;gap:14px
}
body.ci-support-open #support-slide .ci-support-slide-header h2{
  font-size:19px;font-weight:500;line-height:1.35;margin:0 0 4px
}
body.ci-support-open #support-slide .ci-support-slide-header p{
  font-size:11px;color:#9aa0a6;line-height:1.5;margin:0
}
body.ci-support-open #support-slide .ci-support-slide-body{
  flex:1;min-height:0;min-width:0;display:flex;flex-direction:column;
  overflow:hidden;padding:0;gap:0;scrollbar-gutter:auto
}
body.ci-support-open #support-slide .ci-support-slide-body>.ci-support-feedback,
body.ci-support-open #support-slide .ci-support-slide-body>.ci-support-empty{
  flex:none;margin:10px 18px 0
}
body.ci-support-open #support-slide .ci-support-r3-chat-layout{
  display:grid;grid-template-columns:minmax(0,1.7fr) minmax(300px,.9fr);
  align-items:stretch;flex:1;min-height:0;min-width:0
}
body.ci-support-open #support-slide .ci-support-r3-chat-pane{
  display:flex;flex-direction:column;min-width:0;min-height:0;gap:0;
  border-right:1px solid #3c4043;background:#1e1f20
}
body.ci-support-open #support-slide .ci-support-message-section{
  flex:1;min-height:0;overflow:hidden;display:flex;flex-direction:column;
  gap:13px;background:transparent;border:0;border-radius:0;
  padding:19px 21px 14px
}
body.ci-support-open #support-slide .ci-support-message-section .ci-support-thread{
  flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;
  padding:10px 4px 14px;gap:13px;scrollbar-width:thin
}
body.ci-support-open #support-slide .ci-support-message{
  max-width:84%;width:max-content;padding:12px 15px;background:#292c31;
  border:1px solid #414752;border-radius:18px 18px 18px 5px;
  align-self:flex-start
}
body.ci-support-open #support-slide .ci-support-message[data-visibility="public"]:has(.ci-support-message-head strong:first-child){
  color:#e8eaed
}
body.ci-support-open #support-slide .ci-support-message[data-sender="operator"][data-visibility="public"]{
  align-self:flex-end;background:#203954;border-color:#42658a;
  border-radius:18px 18px 5px 18px
}
body.ci-support-open #support-slide .ci-support-message[data-visibility="internal"]{
  align-self:center;max-width:94%;background:#372f22;border-color:#655538;
  border-radius:14px
}
body.ci-support-open #support-slide .ci-support-message-body{
  font-size:13px;line-height:1.58;margin:8px 0 0
}
body.ci-support-open #support-slide .ci-support-composer{
  flex:none;gap:9px;border:0;border-top:1px solid #383b40;border-radius:0;
  padding:15px 21px 18px;background:#1f1f1f
}
body.ci-support-open #support-slide .ci-support-composer>h3{display:none}
body.ci-support-open #support-slide .ci-support-composer-tabs .ci-button{
  min-height:34px;padding:0 12px;font-size:11px
}
body.ci-support-open #support-slide .ci-support-visibility-warning{
  border:0;border-radius:10px;padding:8px 11px;
  font-size:10px;line-height:1.45;background:#293646;color:#c6d4e9
}
body.ci-support-open #support-slide .ci-support-visibility-warning[data-visibility="internal"]{
  background:#3a3226;color:#f6d6a3
}
body.ci-support-open #support-slide .ci-support-compose-form textarea{
  min-height:90px;max-height:145px;border-radius:13px;
  background:#171819;padding:12px;font-size:13px
}
body.ci-support-open #support-slide .ci-support-compose-actions .ci-button{
  min-height:39px;border-radius:20px;font-size:12px
}
body.ci-support-open #support-slide .ci-support-r3-tools{
  display:flex;flex-direction:column;gap:0;min-height:0;min-width:0;
  padding:0;overflow:hidden;scrollbar-width:thin;
  overscroll-behavior:contain;background:#1c1d1e
}
body.ci-support-open #support-slide .ci-support-r3-case-tags{
  display:flex;gap:7px;flex-wrap:wrap
}
body.ci-support-open #support-slide .ci-support-r3-tool-section{
  display:flex;flex-direction:column;gap:12px;min-width:0;
  padding:16px;background:#262729;border-radius:18px
}
body.ci-support-open #support-slide .ci-support-r3-tool-title{
  display:flex;align-items:center;gap:8px
}
body.ci-support-open #support-slide .ci-support-r3-tool-title>.material-symbols-rounded{
  color:#8ab4f8;font-size:18px
}
body.ci-support-open #support-slide .ci-support-r3-tool-title h3{
  font-size:12px;line-height:1.4;font-weight:500;margin:0;color:#e8eaed
}
body.ci-support-open #support-slide .ci-support-r3-chips,
body.ci-support-open #support-slide .ci-support-r3-variable-buttons{
  display:flex;align-items:center;flex-wrap:wrap;gap:6px
}
body.ci-support-open #support-slide .ci-support-r3-chip,
body.ci-support-open #support-slide .ci-support-r3-variable{
  display:inline-flex;align-items:center;gap:5px;min-height:30px;
  padding:5px 10px;border:1px solid #4b5d78;border-radius:16px;
  color:#a8c7fa;background:#2b3442;font-size:11px
}
body.ci-support-open #support-slide .ci-support-r3-chip:hover,
body.ci-support-open #support-slide .ci-support-r3-variable:hover{background:#35465d}
body.ci-support-open #support-slide .ci-support-r3-field-row{
  display:flex;align-items:center;gap:7px;min-width:0
}
body.ci-support-open #support-slide .ci-support-r3-field-row select{
  width:100%;min-width:0;min-height:36px;border-radius:12px;
  background:#1e1f20;color:#e8eaed;border:1px solid #575d63;padding:7px
}
body.ci-support-open #support-slide .ci-support-r3-field-row .ci-button{min-height:36px;padding:0 11px}
body.ci-support-open #support-slide .ci-support-r3-template{
  display:flex;flex-direction:column;gap:8px;
  border-radius:12px;background:#1d1f21;padding:12px 13px
}
body.ci-support-open #support-slide .ci-support-r3-template>strong{
  font-size:12px;font-weight:500;color:#e8eaed
}
body.ci-support-open #support-slide .ci-support-r3-template>p{
  font-size:11px;line-height:1.55;white-space:pre-wrap;color:#bdc1c6;
  overflow-wrap:anywhere;margin:0;max-height:80px;overflow-y:auto
}
body.ci-support-open #support-slide .ci-support-r3-template-actions{
  display:flex;gap:6px;flex-wrap:wrap
}
body.ci-support-open #support-slide .ci-support-r3-template-actions .ci-button{
  min-height:31px;font-size:10px;padding:0 10px
}
body.ci-support-open #support-slide .ci-support-r3-quick-form{
  display:flex;flex-direction:column;gap:9px
}
body.ci-support-open #support-slide .ci-support-r3-quick-form input,
body.ci-support-open #support-slide .ci-support-r3-quick-form textarea{
  width:100%;border:1px solid #56595f;border-radius:12px;
  color:#e8eaed;background:#171819;padding:10px;font-size:12px
}
body.ci-support-open #support-slide .ci-support-r3-tool-feedback{
  border-radius:12px;background:#2b3950;border:1px solid #4b648c;
  color:#a8c7fa;padding:10px 12px;font-size:11px;line-height:1.55;margin:0
}
body.ci-support-open #support-slide .ci-support-r3-operations .ci-support-operations{
  padding:16px;background:#262729;border:0;border-radius:18px
}
body.ci-support-open #support-slide .ci-support-r3-tools>.ci-button{min-height:37px;align-self:flex-start}
body.ci-support-open #support-slide .ci-support-r3-activity .ci-support-history{
  background:#262729;border:0;border-radius:18px
}
body.ci-support-open #support-slide .ci-support-r3-tool-section .ci-support-placeholder{
  font-size:11px;line-height:1.45;color:#9aa0a6
}
@media(max-width:1180px){
  body.ci-support-open #support-slide{min-width:0;width:80vw}
  body.ci-support-open #support-slide .ci-support-r3-chat-layout{
    grid-template-columns:minmax(0,1.55fr) minmax(255px,.8fr)
  }
}
@media(max-width:900px){
  body.ci-support-open #support-slide{width:100vw;min-width:0;max-width:100vw;border-radius:0}
  body.ci-support-open #support-slide .ci-support-r3-chat-layout{
    grid-template-columns:minmax(0,1fr) minmax(260px,.75fr)
  }
}
@media(max-width:640px){
  body.ci-support-open #support-slide .ci-support-slide-header{min-height:70px;padding:12px 16px}
  body.ci-support-open #support-slide .ci-support-r3-chat-layout{
    display:flex;flex-direction:column;overflow-y:auto
  }
  body.ci-support-open #support-slide .ci-support-r3-chat-pane{min-height:70dvh;flex:none;border-right:0}
  body.ci-support-open #support-slide .ci-support-message-section{min-height:40dvh}
  body.ci-support-open #support-slide .ci-support-r3-tools{flex:none;overflow:visible;padding:0}
  .ci-support-r3-preview-grid{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){
  body.ci-support-open #support-slide{animation:none}
}

/* R3 quick classification remains separate from the message editor. */
.ci-view.is-logistics-conversations .ci-support-r3-preview-quick{
  display:flex;flex-wrap:wrap;align-items:center;gap:8px
}
.ci-view.is-logistics-conversations .ci-support-r3-preview-quick select{
  min-height:38px;padding:7px 11px;border-radius:18px;
  background:#292a2c;border:1px solid #585e64;color:#e8eaed;font-size:12px
}
.ci-view.is-logistics-conversations .ci-support-r3-preview-quick .ci-button{
  min-height:38px;padding:0 13px;font-size:11px
}
.ci-view.is-logistics-conversations .ci-support-r3-preview-notice{
  margin:0;padding:10px 12px;border-radius:12px;background:#26394d;
  color:#a8c7fa;font-size:11px;line-height:1.5
}


/* L1/R3.1 · one compact, horizontally scrollable action selector.
   The backend behavior and Creative Insights theme remain unchanged. */
body.ci-support-open #support-slide .ci-support-r31-header-actions{
  display:flex;align-items:center;justify-content:flex-end;gap:9px;flex:none
}
body.ci-support-open #support-slide .ci-support-r31-notify{
  min-height:39px;display:inline-flex;align-items:center;gap:7px;
  padding:0 15px;border-radius:22px;background:#2479ff;
  border:1px solid #5799ff;color:#fff;font-weight:500;font-size:11px
}
body.ci-support-open #support-slide .ci-support-r31-notify .material-symbols-rounded{font-size:18px;color:inherit}
body.ci-support-open #support-slide .ci-support-r31-notify:disabled{
  background:#2479ff;color:#f4f8ff;opacity:.65;
  cursor:not-allowed
}
body.ci-support-open #support-slide .ci-support-r31-tool-tabs{
  display:flex;flex:none;align-items:stretch;min-height:55px;min-width:0;
  width:100%;padding:0 8px;overflow-x:auto;overflow-y:hidden;
  overscroll-behavior-x:contain;scrollbar-width:none;-ms-overflow-style:none;
  border-bottom:1px solid #414348;background:#202124
}
body.ci-support-open #support-slide .ci-support-r31-tool-tab{
  flex:0 0 auto;min-height:54px;display:inline-flex;align-items:center;
  justify-content:center;gap:8px;padding:0 14px;
  background:transparent;border:0;border-right:1px solid #414348;
  border-bottom:2px solid transparent;color:#bdc1c6;
  font-family:inherit;font-size:11px;font-weight:500;
  transition:background-color .12s ease,color .12s ease,border-color .12s ease;
  cursor:pointer;white-space:nowrap
}
body.ci-support-open #support-slide .ci-support-r31-tool-tab .material-symbols-rounded{
  font-size:18px;color:inherit
}
body.ci-support-open #support-slide .ci-support-r31-tool-tab:hover{
  background:#303236;color:#e8eaed
}
body.ci-support-open #support-slide .ci-support-r31-tool-tab[aria-selected="true"]{
  background:#29374b;color:#a8c7fa;border-bottom-color:#2479ff
}
body.ci-support-open #support-slide .ci-support-r31-tool-tab:focus-visible{
  outline:2px solid #8ab4f8;outline-offset:-3px
}
body.ci-support-open #support-slide .ci-support-r31-tool-content{
  display:flex;flex:1;flex-direction:column;min-height:0;min-width:0;
  gap:13px;padding:17px 16px 24px;overflow-y:auto;overflow-x:hidden;
  scrollbar-width:thin;overscroll-behavior:contain
}
body.ci-support-open #support-slide .ci-support-r31-tool-content .ci-support-r3-tool-section{
  background:transparent;padding:5px 2px;border-radius:0
}
body.ci-support-open #support-slide .ci-support-r31-tool-content .ci-support-r3-tool-title{
  padding-bottom:9px;border-bottom:1px solid #414348
}
body.ci-support-open #support-slide .ci-support-r31-tool-content .ci-support-r3-tool-title h3{
  font-size:13px;font-weight:500
}
body.ci-support-open #support-slide .ci-support-r31-tool-content .ci-support-r3-operations .ci-support-operations{
  background:#262729;border-radius:15px
}
body.ci-support-open #support-slide .ci-support-r31-pending-history{
  margin:0;padding:14px;border:1px dashed #454950;border-radius:12px;
  color:#bdc1c6;font-size:11px;line-height:1.65
}
body.ci-support-open #support-slide .ci-support-compose-actions{
  display:flex;align-items:center;justify-content:flex-end;gap:10px
}
body.ci-support-open #support-slide .ci-support-r31-attach-circle{
  display:inline-flex;align-items:center;justify-content:center;
  flex:0 0 39px;width:39px;height:39px;padding:0;border-radius:50%;
  background:transparent;border:1px solid #55595f;color:#a8b1ba
}
body.ci-support-open #support-slide .ci-support-r31-attach-circle>.material-symbols-rounded{font-size:20px}
body.ci-support-open #support-slide .ci-support-r31-attach-circle:disabled{
  color:#7e848c;border-color:#474b51;cursor:not-allowed
}
body.ci-support-open #support-slide .ci-support-r31-attach-circle:focus-visible{
  outline:2px solid #8ab4f8;outline-offset:2px
}
@media(max-width:900px){
  body.ci-support-open #support-slide .ci-support-r31-header-actions{gap:6px}
  body.ci-support-open #support-slide .ci-support-r31-notify{padding:0 11px}
}
@media(max-width:640px){
  body.ci-support-open #support-slide .ci-support-r31-notify span:not(.material-symbols-rounded){display:none}
  body.ci-support-open #support-slide .ci-support-r31-notify{
    padding:0;width:39px;min-width:39px;justify-content:center
  }
  body.ci-support-open #support-slide .ci-support-r31-tool-tabs{min-height:50px}
  body.ci-support-open #support-slide .ci-support-r31-tool-tab{
    min-height:49px;padding:0 11px;font-size:10px
  }
  body.ci-support-open #support-slide .ci-support-r31-tool-content{padding:13px 12px 18px}
}
@media(prefers-reduced-motion:reduce){
  body.ci-support-open #support-slide .ci-support-r31-tool-tab{transition:none}
}

/* R3.1: keep horizontal scrolling usable without visible scrollbar on tool tabs only. */
body.ci-support-open #support-slide .ci-support-r31-tool-tabs::-webkit-scrollbar{display:none;width:0;height:0}
/* L1/R3.2A · Conservative commercial-access UI (no backend claims).
   Creative Insights tokens, confined to Conversations only. */
.ci-view.is-logistics-conversations .ci-support-r32-overview-row{
  display:flex;align-items:center;flex-wrap:wrap;gap:10px;min-width:0
}
.ci-view.is-logistics-conversations .ci-support-r32-overview-row .ci-support-overview-toggle{width:auto;flex:0 0 auto}
.ci-view.is-logistics-conversations .ci-support-r32-commercial-filter{position:relative;min-width:0}
.ci-view.is-logistics-conversations .ci-support-r32-commercial-trigger{
  display:inline-flex;align-items:center;gap:7px;min-height:32px;
  padding:6px 12px;border-radius:17px;background:#1f1f1f;
  color:#e8eaed;list-style:none;cursor:pointer;font-size:11px;font-weight:500
}
.ci-view.is-logistics-conversations .ci-support-r32-commercial-trigger::-webkit-details-marker{display:none}
.ci-view.is-logistics-conversations .ci-support-r32-commercial-trigger>.material-symbols-rounded{
  color:#8ab4f8;font-size:17px
}
.ci-view.is-logistics-conversations .ci-support-r32-commercial-trigger>.material-symbols-rounded:last-child{
  color:#bdc1c6;margin-left:3px
}
.ci-view.is-logistics-conversations .ci-support-r32-commercial-trigger:hover{background:#292a2c}
.ci-view.is-logistics-conversations .ci-support-r32-commercial-trigger:focus-visible{
  outline:2px solid #8ab4f8;outline-offset:2px
}
.ci-view.is-logistics-conversations .ci-support-r32-commercial-menu{
  position:absolute;left:0;top:calc(100% + 6px);z-index:31;
  display:flex;flex-direction:column;gap:3px;width:max-content;max-width:min(340px,85vw);
  padding:8px;background:#292a2c;border:1px solid #55595e;border-radius:14px;
  box-shadow:0 12px 28px rgba(0,0,0,.28)
}
.ci-view.is-logistics-conversations .ci-support-r32-choice{
  display:flex;align-items:center;gap:9px;min-height:35px;
  width:100%;padding:7px 10px;background:transparent;border:0;
  border-radius:9px;color:#e8eaed;cursor:pointer;font-size:11px;
  font-family:inherit;text-align:left
}
.ci-view.is-logistics-conversations .ci-support-r32-choice .material-symbols-rounded{font-size:17px;color:#a8c7fa}
.ci-view.is-logistics-conversations .ci-support-r32-choice:hover{background:#3a4048}
.ci-view.is-logistics-conversations .ci-support-r32-choice[aria-pressed="true"]{background:#2b3d55;color:#a8c7fa}
.ci-view.is-logistics-conversations .ci-support-r32-choice:disabled{
  color:#91969f;opacity:.75;cursor:not-allowed
}
.ci-view.is-logistics-conversations .ci-support-r32-note{
  margin:4px 5px 2px;color:#aeb5c0;font-size:11px;line-height:1.5;max-width:270px
}
.ci-view.is-logistics-conversations .ci-support-r32-badge{
  display:inline-flex;align-items:center;min-height:24px;padding:3px 9px;
  background:#253345;border:1px solid #435d7c;border-radius:13px;
  font-size:10px;color:#a8c7fa;white-space:nowrap
}
@media(max-width:560px){
  .ci-view.is-logistics-conversations .ci-support-r32-commercial-menu{left:auto;right:0}
}

/* GLOBAL COMPACT WORKBENCH / CREATIVE INSIGHTS
   Single navigation pattern for all modules. No business state, backend, Auth
   or module data semantics are changed by this visual rule. */
.ci-view.is-workbench-compact{padding-top:12px}
.ci-view.is-workbench-compact .ci-view-header,
.ci-view.is-workbench-compact .ci-v2-state{display:none}
.ci-view.is-workbench-compact>.ci-stage>.ci-stage-stack{gap:18px}
.ci-view.is-workbench-compact.is-logistics-conversations>.ci-stage>.ci-stage-stack{gap:11px}
.ci-view.is-workbench-compact .ci-workbench-compactbar{
  display:flex;align-items:center;justify-content:space-between;
  min-height:38px;min-width:0;gap:14px;padding:0 0 4px
}
.ci-view.is-workbench-compact .ci-workbench-compacttitle{
  flex:0 0 auto;min-width:0;margin:0;color:#e8eaed;
  font-size:17px;font-weight:500;line-height:24px;letter-spacing:-.01em
}
.ci-view.is-workbench-compact .ci-workbench-compactbar .ci-module-tabs{
  display:flex;align-items:center;justify-content:flex-end;
  flex:0 1 auto;min-width:0;max-width:100%;margin-left:auto;
  gap:6px;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;
  padding:0;scrollbar-width:none;-ms-overflow-style:none;
  overscroll-behavior-x:contain
}
.ci-view.is-workbench-compact .ci-workbench-compactbar .ci-module-tabs::-webkit-scrollbar{
  display:none;width:0;height:0
}
.ci-view.is-workbench-compact .ci-workbench-compactbar .ci-filter{
  flex:0 0 auto;min-height:32px;padding:0 12px;border-radius:18px;
  font-size:11px;font-weight:500;line-height:16px;white-space:nowrap;
  transition:background-color .14s ease,border-color .14s ease,color .14s ease
}
.ci-view.is-workbench-compact .ci-workbench-compactbar .ci-filter:hover:not(:disabled){
  background:#28292a;border-color:#8ab4f8
}
.ci-view.is-workbench-compact .ci-workbench-compactbar .ci-filter.is-active{
  background:#0b57d0;color:#e8f0fe;border-color:#a8c7fa
}
.ci-view.is-workbench-compact .ci-workbench-compactbar .ci-filter:focus-visible{
  outline:2px solid #8ab4f8;outline-offset:2px
}
@media(max-width:760px){
  .ci-view.is-workbench-compact .ci-workbench-compactbar{
    align-items:flex-start;flex-wrap:wrap;gap:8px
  }
  .ci-view.is-workbench-compact .ci-workbench-compactbar .ci-module-tabs{
    width:100%;flex:1 1 100%;min-width:0;max-width:100%;
    margin-left:0;justify-content:flex-start
  }
  .ci-view.is-workbench-compact .ci-workbench-compactbar .ci-filter{
    min-height:30px;padding:0 10px
  }
}
@media(max-width:580px){
  .ci-view.is-workbench-compact{padding-top:10px}
  .ci-view.is-workbench-compact .ci-workbench-compacttitle{font-size:15px}
  .ci-view.is-workbench-compact .ci-workbench-compactbar .ci-filter{
    font-size:10px;padding:0 8px
  }
}
@media(prefers-reduced-motion:reduce){
  .ci-view.is-workbench-compact .ci-workbench-compactbar .ci-filter{transition:none}
}
 
/* L1/R3.3-A · Store-scoped Support segments as low-saturation card accents.
   Colors come ONLY from sanitized color_reference; no color proves origin,
   identity, purchase or access privileges. */
.ci-view.is-logistics-conversations .ci-support-case.ci-item-card.has-segment-accent{
  position:relative
}
.ci-view.is-logistics-conversations .ci-support-r33a-stripe{
  position:absolute;left:5px;top:19px;bottom:19px;width:3px;
  border-radius:3px;pointer-events:none;opacity:.78
}
.ci-view.is-logistics-conversations .ci-support-r33a-markers{
  display:flex;min-width:0;align-items:center;flex-wrap:wrap;gap:6px;
  margin-top:5px
}
.ci-view.is-logistics-conversations .ci-support-r33a-marker,
.ci-view.is-logistics-conversations .ci-support-r33a-more{
  display:inline-flex;align-items:center;justify-content:flex-start;
  max-width:100%;min-height:23px;gap:5px;padding:2px 8px;
  border:1px solid #41474b;border-radius:13px;
  background:#25282b;color:#d6dadd;
  font-size:10px;font-weight:500;line-height:1.4;
  white-space:nowrap
}
.ci-view.is-logistics-conversations .ci-support-r33a-marker>.material-symbols-rounded{
  flex:none;font-size:14px;color:inherit;opacity:.86
}
.ci-view.is-logistics-conversations .ci-support-r33a-marker>span:last-child{
  min-width:0;overflow:hidden;text-overflow:ellipsis
}
.ci-view.is-logistics-conversations .ci-support-r33a-more{
  padding:2px 7px;color:#bdc1c6
}
.ci-view.is-logistics-conversations .ci-support-r3-preview>.ci-support-r33a-markers{
  margin-top:0
}
.ci-view.is-logistics-conversations .ci-support-r3-chips .ci-support-r3-chip{
  transition:border-color .12s ease,background-color .12s ease
}
@media(prefers-reduced-motion:reduce){
  .ci-view.is-logistics-conversations .ci-support-r3-chips .ci-support-r3-chip{transition:none}
}

/* Logistics R3.3-B3.1 — Source-confirmed product context, feature gated OFF.
   Neutral informational treatment: NOT a category color or buyer verification. */
.ci-support-r33b3-product{
  display:flex;align-items:center;gap:6px;min-width:0;max-width:100%;
  padding:4px 8px;border:1px solid #3d444a;border-radius:9px;
  background:#292c30;color:#d8dde2;font-size:11px;line-height:1.4;
}
.ci-support-r33b3-product>.material-symbols-rounded{
  font-size:15px;flex:none;color:#9caab7;
}
.ci-support-r33b3-product-label{
  display:block;min-width:0;max-width:100%;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
.ci-support-r33b3-product[data-availability="unavailable"]{
  color:#b8bec4;border-style:dashed;
}
.ci-support-r33b3-product.is-detailed{
  display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start;
  padding:10px 12px;margin:8px 0;
}
.ci-support-r33b3-product.is-detailed .ci-support-r33b3-product-label{
  flex:1 1 180px;white-space:normal;overflow-wrap:anywhere;
}
.ci-support-r33b3-disclaimer{
  margin:2px 0 0;flex:1 1 100%;color:#b2bcc4;
  font-size:10px;line-height:1.5;
}
.ci-support-r33b3-recorded{
  flex:1 1 100%;color:#949fa9;font-size:10px;
}
.ci-support-r33b3-feedback{
  margin:6px 0;color:#aeb7bf;font-size:11px;line-height:1.5;
}
.ci-support-case-main>.ci-support-r33b3-product{
  margin-top:2px;align-self:flex-start;
}
@media(max-width:700px){
  .ci-support-r33b3-product{max-width:100%}
  .ci-support-r33b3-product-label{overflow-wrap:anywhere}
}
