

@font-face {
  font-family: "Montserrat Local";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/demos/ai-call-centar/assets/montserrat-regular.woff2") format("woff2");
}
@font-face {
  font-family: "Montserrat Local";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/demos/ai-call-centar/assets/montserrat-500.woff2") format("woff2");
}
@font-face {
  font-family: "Montserrat Local";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/demos/ai-call-centar/assets/montserrat-700.woff2") format("woff2");
}

:root {
  --teal: #b52d66;
  --teal-2: #d43b7d;
  --navy: #4a4e53;
  --plum: #ab499b;
  --bg: #f3f6f7;
  --surface: #fff;
  --text: #262b36;
  --muted: #6e7480;
  --line: #e2e8ea;
  --soft-teal: #fff0f6;
  --shadow: 0 12px 38px rgba(32, 58, 64, 0.08);
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: "Montserrat Local", Montserrat, Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}

.skip-link {
  position: fixed;
  z-index: 10000;
  top: 10px;
  left: 10px;
  transform: translateY(-160%);
  border-radius: 8px;
  background: #fff;
  padding: 10px 14px;
  color: #9b2557;
  font-weight: 700;
  box-shadow: var(--shadow);
}
.skip-link:focus {
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.login-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(420px, 0.86fr);
  background: #f7f9f9;
}
.login-brand-panel {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  padding: 42px 52px;
  background: radial-gradient(
      circle at 78% 72%,
      rgba(97, 206, 112, 0.32),
      transparent 31%
    ),
    linear-gradient(145deg, #34383b 0%, #4a4e53 57%, #b52d66 140%);
  color: #fff;
}
.brand-lockup {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 20px;
}
.brand-lockup img {
  width: 132px;
  height: auto;
}
.brand-lockup span {
  border-left: 1px solid rgba(255, 255, 255, 0.34);
  padding-left: 20px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  letter-spacing: 0.03em;
}
.login-copy {
  position: relative;
  z-index: 3;
  max-width: min(560px, 57%);
  padding-top: 16vh;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.eyebrow.light {
  color: #e9b1c9;
}
.login-copy h1 {
  margin: 17px 0 20px;
  max-width: 530px;
  font-size: clamp(35px, 3.35vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}
.login-copy p {
  max-width: 540px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 17px;
  line-height: 1.65;
}
.trust-row {
  display: flex;
  gap: 22px;
  margin-top: 30px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
}
.trust-row span {
  display: flex;
  align-items: center;
  gap: 8px;
}
.login-lina {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: -1%;
  width: min(38vw, 520px);
  pointer-events: none;
}
.login-orbit {
  position: absolute;
  right: -15%;
  bottom: -20%;
  width: 720px;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  box-shadow:
    0 0 0 90px rgba(255, 255, 255, 0.025),
    0 0 0 180px rgba(255, 255, 255, 0.02);
}
.login-form-panel {
  display: grid;
  place-items: center;
  padding: 48px;
}
.login-form-card {
  width: min(100%, 430px);
}
.login-form-card h1 {
  margin: 16px 0 8px;
  font-size: 38px;
  letter-spacing: -0.04em;
}
.login-form-card > p {
  margin: 0 0 34px;
  color: var(--muted);
}
.login-form-card label:not(.checkbox-line) {
  display: grid;
  gap: 9px;
  margin: 18px 0;
  color: #4f5663;
  font-size: 13px;
  font-weight: 650;
}
.login-form-card input[type="email"],
.login-form-card input[type="password"] {
  width: 100%;
  border: 1px solid #dce4e5;
  border-radius: 12px;
  background: #fff;
  padding: 14px 15px;
  color: #252b34;
  outline: none;
  transition: 0.2s;
}
.login-form-card input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 145, 167, 0.1);
}
.login-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 3px 0 23px;
}
.checkbox-line {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}
.checkbox-line input {
  accent-color: var(--teal);
}
.text-button,
.text-link {
  border: 0;
  background: none;
  color: var(--teal);
  font-size: 13px;
  font-weight: 700;
}
.primary-button,
.secondary-button,
.light-button,
.ghost-light-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-radius: 11px;
  padding: 13px 18px;
  font-weight: 750;
  transition:
    transform 0.18s,
    box-shadow 0.18s,
    background 0.18s;
}
.primary-button {
  background: linear-gradient(135deg, var(--teal), var(--teal-2));
  color: #fff;
  box-shadow: 0 9px 24px rgba(0, 145, 167, 0.24);
}
.primary-button:hover,
.secondary-button:hover,
.light-button:hover {
  transform: translateY(-1px);
}
.primary-button.full {
  width: 100%;
}
.demo-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 20px;
  border-radius: 10px;
  background: #edf5f5;
  padding: 12px 13px;
  color: #647275;
  font-size: 13px;
  line-height: 1.5;
}
.demo-note svg {
  flex: 0 0 auto;
  color: var(--teal);
}
.mobile-brand {
  display: none;
}

.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 256px minmax(0, 1fr);
  background: var(--bg);
  transition:
    background 0.25s,
    color 0.25s;
}
.app-shell.theme-dark {
  --bg: #23243b;
  --surface: #2f304b;
  --text: #f0f3f4;
  --muted: #a9b0bc;
  --line: #454762;
  --soft-teal: #253f4b;
  --shadow: 0 14px 38px rgba(0, 0, 0, 0.18);
}
.sidebar {
  position: sticky;
  top: 0;
  z-index: 30;
  height: 100vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, var(--navy) 0%, #303149 100%);
  color: #fff;
  padding: 22px 16px 16px;
}
.sidebar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px;
}
.sidebar-brand img {
  width: 110px;
  display: block;
}
.sidebar-brand span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.53);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.mobile-close {
  display: none;
  border: 0;
  background: none;
  color: #fff;
}
.assistant-chip {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 22px 0 17px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.065);
  padding: 10px;
}
.assistant-chip img {
  width: 43px;
  height: 43px;
  border-radius: 10px;
  object-fit: cover;
  object-position: top;
  background: #e5f4f4;
}
.assistant-chip strong {
  display: block;
  font-size: 14px;
}
.assistant-chip span {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
}
.assistant-chip i,
.lina-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #42d99b;
  box-shadow: 0 0 0 3px rgba(66, 217, 155, 0.14);
}
.sidebar nav {
  overflow-y: auto;
  padding-right: 2px;
}
.nav-label {
  display: block;
  margin: 13px 11px 8px;
  color: rgba(255, 255, 255, 0.38);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.15em;
}
.nav-label.second {
  margin-top: 20px;
}
.sidebar nav button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 11px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  padding: 10px 11px;
  color: rgba(255, 255, 255, 0.67);
  text-align: left;
  font-size: 13px;
  transition: 0.18s;
}
.sidebar nav button:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}
.sidebar nav button.active {
  background: linear-gradient(
    90deg,
    rgba(0, 167, 157, 0.24),
    rgba(0, 145, 167, 0.1)
  );
  color: #fff;
  box-shadow: inset 3px 0 var(--teal-2);
}
.sidebar nav button b {
  margin-left: auto;
  min-width: 20px;
  border-radius: 10px;
  background: var(--teal-2);
  padding: 2px 6px;
  color: #fff;
  font-size: 12px;
  text-align: center;
}
.sidebar nav button b.plum {
  background: var(--plum);
}
.sidebar-footer {
  margin-top: auto;
  padding-top: 14px;
}
.knowledge-health {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 7px;
}
.knowledge-health span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #a7dfd8;
  font-size: 12px;
}
.knowledge-health small {
  display: block;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.35);
  font-size: 12px;
}
.sidebar-footer > button {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  border: 0;
  background: none;
  padding: 12px 7px 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
}
.app-main {
  min-width: 0;
}
.topbar {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  padding: 12px 28px;
}
.topbar-title {
  display: flex;
  align-items: center;
  gap: 12px;
}
.topbar h1 {
  margin: 3px 0 0;
  color: var(--text);
  font-size: 20px;
  letter-spacing: -0.025em;
}
.breadcrumb {
  color: var(--muted);
  font-size: 12px;
}
.menu-button {
  display: none;
  border: 0;
  background: none;
  color: var(--text);
}
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}
.role-picker {
  position: relative;
  z-index: 30;
}
.role-trigger {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 184px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  padding: 5px 9px 5px 7px;
  color: var(--text);
  text-align: left;
  transition: border-color 0.18s, box-shadow 0.18s, background 0.18s;
}
.role-trigger:hover,
.role-picker.open .role-trigger {
  border-color: color-mix(in srgb, var(--teal) 45%, var(--line));
  background: color-mix(in srgb, var(--soft-teal) 45%, var(--surface));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--teal) 9%, transparent);
}
.role-trigger-icon,
.role-option-icon {
  width: 31px;
  height: 31px;
  flex: 0 0 31px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--soft-teal);
  color: var(--teal);
}
.role-trigger-copy {
  min-width: 0;
  flex: 1;
  display: grid;
  gap: 1px;
}
.role-trigger-copy small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.role-trigger-copy strong {
  overflow: hidden;
  color: var(--text);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.role-chevron {
  color: var(--muted);
  transition: transform 0.18s;
}
.role-picker.open .role-chevron {
  transform: rotate(180deg);
}
.role-menu-backdrop {
  position: fixed;
  z-index: 31;
  inset: 0;
  border: 0;
  background: transparent;
  cursor: default;
}
.role-menu {
  position: absolute;
  z-index: 32;
  top: calc(100% + 9px);
  right: 0;
  width: 310px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--surface);
  box-shadow: 0 18px 48px rgba(25, 43, 47, 0.18);
  padding: 7px;
  animation: role-menu-in 0.16s ease-out;
}
@keyframes role-menu-in {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}
.role-menu-heading {
  display: grid;
  gap: 2px;
  margin: 1px 2px 6px;
  border-bottom: 1px solid var(--line);
  padding: 10px 11px 11px;
}
.role-menu-heading span {
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
}
.role-menu-heading small {
  color: var(--muted);
  font-size: 12px;
}
.role-menu > button[role="option"] {
  width: 100%;
  display: grid;
  grid-template-columns: 36px 1fr 22px;
  align-items: center;
  gap: 9px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  padding: 9px;
  color: var(--text);
  text-align: left;
}
.role-menu > button[role="option"]:hover {
  background: var(--bg);
}
.role-menu > button[role="option"].selected {
  background: var(--soft-teal);
}
.role-menu > button[role="option"] > span:nth-child(2) {
  display: grid;
  gap: 2px;
}
.role-menu > button[role="option"] strong {
  font-size: 13px;
}
.role-menu > button[role="option"] small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}
.role-menu > button[role="option"] i {
  color: var(--teal);
  font-size: 15px;
  font-style: normal;
  font-weight: 900;
  text-align: center;
}
.top-icon,
.icon-button {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--muted);
}
.user-avatar {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--teal), var(--teal-2));
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}
.demo-banner {
  display: flex;
  align-items: center;
  gap: 13px;
  border-bottom: 1px solid #c8e4e5;
  background: #e7f4f5;
  padding: 8px 28px;
  color: #537072;
  font-size: 12px;
}
.theme-dark .demo-banner {
  border-color: #36505a;
  background: #273f49;
  color: #b9cdd0;
}
.demo-banner span {
  display: flex;
  align-items: center;
  gap: 6px;
  border-radius: 12px;
  background: var(--teal);
  padding: 4px 9px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
.demo-banner p {
  margin: 0;
}
.content-area {
  padding: 22px 28px 32px;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.welcome-card {
  grid-column: 1/-1;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 220px;
  border-radius: 18px;
  background: radial-gradient(
      circle at 85% 30%,
      rgba(59, 211, 201, 0.25),
      transparent 32%
    ),
    linear-gradient(125deg, var(--navy), #3d4568 64%, #087e91 140%);
  padding: 28px 34px;
  color: #fff;
  box-shadow: var(--shadow);
}
.welcome-card:after {
  content: "";
  position: absolute;
  right: 170px;
  top: -120px;
  width: 310px;
  height: 310px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(255, 255, 255, 0.025);
}
.welcome-card > div:first-child {
  position: relative;
  z-index: 2;
  max-width: 680px;
}
.welcome-card h2 {
  margin: 10px 0 9px;
  font-size: 25px;
  line-height: 1.24;
  letter-spacing: -0.035em;
}
.welcome-card p {
  max-width: 640px;
  margin: 0;
  color: rgba(255, 255, 255, 0.67);
  font-size: 13px;
  line-height: 1.65;
}
.welcome-actions {
  display: flex;
  gap: 10px;
  margin-top: 21px;
}
.light-button {
  background: #fff;
  color: var(--navy);
  padding: 10px 15px;
  font-size: 12px;
}
.ghost-light-button {
  border: 1px solid rgba(255, 255, 255, 0.27);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  padding: 10px 15px;
  font-size: 12px;
}
.lina-status {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  padding-right: 24px;
}
.status-ring {
  width: 136px;
  height: 136px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  box-shadow:
    0 0 0 9px rgba(255, 255, 255, 0.05),
    0 0 0 18px rgba(0, 167, 157, 0.09);
}
.status-ring img {
  width: 124px;
  height: 124px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  background: #ecf5f4;
}
.lina-status > span {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 12px;
}
.metrics-grid {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.metric-card {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  padding: 17px;
  box-shadow: 0 6px 18px rgba(40, 70, 75, 0.04);
}
.metric-icon {
  width: 43px;
  height: 43px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 12px;
}
.metric-icon.teal {
  background: #e5f5f5;
  color: var(--teal);
}
.metric-icon.blue {
  background: #e8edf8;
  color: #526eaa;
}
.metric-icon.plum {
  background: #f5eaf3;
  color: var(--plum);
}
.metric-icon.green {
  background: #e8f6ef;
  color: #24936b;
}
.metric-label {
  display: block;
  color: var(--muted);
  font-size: 12px;
}
.metric-card strong {
  display: block;
  margin: 4px 0 2px;
  color: var(--text);
  font-size: 24px;
  letter-spacing: -0.04em;
}
.metric-card small {
  color: #5d9d88;
  font-size: 12px;
}
.panel {
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--surface);
  box-shadow: 0 7px 22px rgba(40, 70, 75, 0.045);
}
.chart-panel {
  grid-column: span 8;
  padding: 21px;
}
.topics-panel {
  grid-column: span 4;
  padding: 21px;
}
.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.panel-kicker {
  color: var(--teal);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.13em;
}
.panel-heading h3,
.transfer-panel h3 {
  margin: 3px 0 0;
  color: var(--text);
  font-size: 14px;
}
.channel-legend {
  display: flex;
  gap: 14px;
  color: var(--muted);
  font-size: 12px;
}
.channel-legend span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.channel-legend i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.voice-dot {
  background: var(--teal);
}
.chat-dot {
  background: var(--plum);
}
.bar-chart {
  height: 165px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 9px;
  margin-top: 20px;
  border-bottom: 1px solid var(--line);
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 39px,
    var(--line) 40px
  );
  padding: 0 5px;
}
.bar-column {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
}
.bar-stack {
  width: min(21px, 72%);
  height: 130px;
  display: flex;
  align-items: flex-end;
  gap: 2px;
}
.bar-stack i,
.bar-stack b {
  width: 50%;
  display: block;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(#21b7b3, var(--teal));
}
.bar-stack b {
  background: linear-gradient(#c66cb6, var(--plum));
}
.bar-column span {
  margin: 8px 0 -18px;
  color: var(--muted);
  font-size: 12px;
}
.topic-list {
  display: grid;
  gap: 14px;
  margin-top: 19px;
}
.topic-list > div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 5px 8px;
  color: var(--text);
  font-size: 12px;
}
.topic-list strong {
  font-size: 12px;
}
.topic-list i {
  grid-column: 1/-1;
  height: 5px;
  overflow: hidden;
  border-radius: 5px;
  background: var(--soft-teal);
}
.topic-list b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), var(--teal-2));
}
.recent-panel {
  grid-column: span 9;
  overflow: hidden;
}
.recent-panel .panel-heading {
  padding: 19px 21px 13px;
}
.conversation-table {
  width: 100%;
}
.table-head,
.table-row {
  display: grid;
  grid-template-columns: 1.1fr 0.7fr 1.4fr 1fr 0.8fr 0.6fr;
  gap: 10px;
  align-items: center;
  padding: 10px 20px;
}
.table-head {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 55%, transparent);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
.table-row {
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-size: 12px;
}
.table-row:last-child {
  border-bottom: 0;
}
.table-row > span:first-child strong,
.table-row > span:first-child small {
  display: block;
}
.table-row > span:first-child small {
  margin-top: 2px;
  color: var(--muted);
}
.channel-pill,
.status-pill {
  justify-self: start;
  border-radius: 10px;
  padding: 4px 7px;
  font-size: 12px;
  font-weight: 750;
}
.channel-pill.voice {
  background: #e5f5f5;
  color: var(--teal);
}
.channel-pill.chat {
  background: #f5eaf3;
  color: var(--plum);
}
.status-pill.resolved {
  background: #e7f6ee;
  color: #23825e;
}
.status-pill.transfer {
  background: #fff1e5;
  color: #c77424;
}
.sentiment:before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 5px;
  border-radius: 50%;
  background: #75a998;
}
.sentiment.negativan:before {
  background: #d46d6d;
}
.sentiment.neutralan:before {
  background: #d0a452;
}
.transfer-panel {
  grid-column: span 3;
  display: grid;
  align-content: center;
  justify-items: start;
  padding: 21px;
}
.transfer-panel p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}
.transfer-count {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--plum);
}
.transfer-count strong {
  font-size: 31px;
}
.secondary-button {
  background: var(--soft-teal);
  color: var(--teal);
  padding: 9px 12px;
  font-size: 12px;
}
.module-placeholder {
  min-height: 560px;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
  padding: 40px;
}
.placeholder-icon {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--soft-teal);
  color: var(--teal);
}
.module-placeholder h2 {
  margin: 12px 0 8px;
  color: var(--text);
  font-size: 27px;
}
.module-placeholder p {
  max-width: 470px;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}
@media (max-width: 1120px) {
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .chart-panel,
  .topics-panel {
    grid-column: span 6;
  }
  .recent-panel {
    grid-column: 1/-1;
  }
  .transfer-panel {
    grid-column: 1/-1;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 15px;
  }
  .login-lina {
    right: 0;
    bottom: -1%;
    opacity: 1;
  }
}
@media (max-width: 820px) {
  .login-shell {
    grid-template-columns: 1fr;
  }
  .login-brand-panel {
    display: none;
  }
  .login-form-panel {
    padding: 28px;
  }
  .mobile-brand {
    display: block;
    margin-bottom: 38px;
    color: var(--navy);
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 0.05em;
  }
  .mobile-brand span {
    color: var(--teal);
  }
  .app-shell {
    grid-template-columns: 1fr;
  }
  .sidebar {
    position: fixed;
    left: -280px;
    width: 256px;
    transition: left 0.22s;
    box-shadow: 15px 0 35px rgba(0, 0, 0, 0.22);
  }
  .sidebar.open {
    left: 0;
  }
  .mobile-close,
  .menu-button {
    display: grid;
    place-items: center;
  }
  .topbar {
    padding: 12px 16px;
  }
  .topbar h1 {
    font-size: 16px;
  }
  .breadcrumb {
    display: none;
  }
  .role-picker {
    display: none;
  }
  .content-area {
    padding: 16px;
  }
  .demo-banner {
    padding: 8px 16px;
  }
  .welcome-card {
    padding: 24px;
  }
  .welcome-card h2 {
    font-size: 21px;
  }
  .lina-status {
    display: none;
  }
  .chart-panel,
  .topics-panel {
    grid-column: 1/-1;
  }
  .table-head {
    display: none;
  }
  .table-row {
    grid-template-columns: 1fr auto;
    gap: 8px;
  }
  .table-row > span:nth-child(3),
  .table-row > span:nth-child(4),
  .table-row > span:nth-child(6) {
    display: none;
  }
}
@media (max-width: 560px) {
  .metrics-grid {
    grid-template-columns: 1fr;
  }
  .welcome-actions {
    flex-direction: column;
  }
  .welcome-actions button {
    width: 100%;
  }
  .top-icon:nth-of-type(2) {
    display: none;
  }
  .demo-banner p {
    display: none;
  }
  .transfer-panel {
    grid-template-columns: auto 1fr;
  }
  .transfer-panel button {
    grid-column: 1/-1;
    width: 100%;
  }
}

/* Final presentation system: readable, NovaLinea aligned and interaction-ready */
:root {
  --brand-green: #b52d66;
  --brand-green-light: #f471a9;
  --brand-graphite: #4a4e53;
  --brand-ink: #252a2d;
}

button,
input,
select,
textarea {
  min-height: 40px;
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(97, 206, 112, 0.42);
  outline-offset: 2px;
}

.login-copy {
  max-width: min(500px, 46%);
}

.login-lina {
  right: 0;
  bottom: -1%;
  width: min(38vw, 520px);
}

.login-feedback,
.module-feedback {
  border: 1px solid #b9ddbc;
  border-radius: 10px;
  background: #fff0f6;
  padding: 11px 13px;
  color: #286a2c;
  font-size: 13px;
  line-height: 1.5;
}

.login-feedback {
  margin-top: 12px;
}

.sidebar {
  background: linear-gradient(180deg, #4a4e53 0%, #303437 100%);
}

.sidebar nav button.active {
  background: linear-gradient(90deg, rgba(97, 206, 112, 0.24), rgba(232, 75, 138, 0.08));
}

.sidebar nav button,
.sidebar-footer > button,
.assistant-chip span,
.knowledge-health span {
  font-size: 13px;
}

.nav-label,
.sidebar-brand span,
.knowledge-health small,
.breadcrumb,
.demo-banner,
.demo-banner span {
  font-size: 12px;
}

.topbar h1 {
  font-size: 22px;
}

.role-select select,
.metric-label,
.metric-card small,
.panel-kicker,
.channel-legend,
.table-head,
.table-row,
.channel-pill,
.status-pill,
.transfer-panel p,
.speaker,
.transcript-line p,
.scenario-list > span,
.scenario-list button,
.address-bar,
.simulated-site header nav,
.simulated-site header button,
.chat-head span,
.chat-bubble,
.quick-questions button,
.chat-input input,
.chat-window > small,
.filters select,
.filters input,
.analytics-filters select,
.complaint-form select,
.complaint-form input,
.complaint-form textarea,
.complaint-form label,
.record-head,
.record-row,
.record-row > span:first-child small,
.record-row > span:first-child i,
.detail-title button,
.download-button,
.summary-card strong,
.summary-card p,
.detail-tags span,
.mini-transcript strong,
.mini-transcript p,
.processing-note,
.priority,
.queue-item small,
.operator-status,
.caller-head span,
.caller-head small,
.handoff-summary p,
.guardrail,
.caller-context dl > div,
.operator-transcript strong,
.operator-transcript p,
.consent-row,
.complaint-card span,
.complaint-card p,
.complaint-card small,
.analytics-kpis span,
.analytics-kpis small,
.horizontal-bars > div,
.donut span,
.sentiment-legend,
.insight-card p,
.insight-card button,
.report-cover p,
.report-score span,
.report-score small,
.report-summary-grid span,
.report-summary-grid small,
.executive-columns ul,
.executive-columns li p,
.executive-columns li strong,
.knowledge-nav > button:not(.add-knowledge),
.knowledge-nav > button b,
.version-box strong,
.version-box small,
.knowledge-meta span,
.knowledge-meta strong,
.editor-block label,
.editor-block input,
.editor-block textarea,
.approval-step,
.admin-cards span,
.admin-cards small,
.settings-list strong,
.settings-list p,
.safety-grid span,
.emergency-rule strong,
.emergency-rule p {
  font-size: 13px;
  line-height: 1.5;
}

.eyebrow,
.panel-kicker,
.live-badge,
.language-chip,
.case-id,
.approval-chip,
.queue-count {
  font-size: 12px;
}

.module-head p,
.voice-name span,
.voice-state-copy,
.voice-notice {
  font-size: 13px;
}

.welcome-card {
  background: radial-gradient(circle at 84% 30%, rgba(97, 206, 112, 0.3), transparent 34%),
    linear-gradient(125deg, #4a4e53 0%, #3f5a42 66%, #b52d66 130%);
}

.metric-icon.teal,
.metric-icon.blue,
.metric-icon.plum,
.metric-icon.green {
  background: #fff0f6;
  color: var(--brand-green);
}

.simulation-callout {
  align-self: stretch;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
  border: 1px solid #c7dfc9;
  border-radius: 12px;
  background: #f2f8f2;
  padding: 12px 14px;
  color: #4c6350;
}

.simulation-callout svg {
  flex: 0 0 auto;
  color: var(--brand-green);
}

.simulation-callout strong,
.simulation-callout span {
  display: block;
}

.simulation-callout strong {
  color: #285e2c;
  font-size: 13px;
}

.simulation-callout span {
  margin-top: 3px;
  font-size: 13px;
  line-height: 1.45;
}

.scenario-list button.active {
  border-color: #8ecb93;
  background: #fff0f6;
  color: #286e2c;
}

.scenario-list .scenario-transfer {
  justify-content: center;
  margin-top: 5px;
  border-color: var(--brand-green);
  background: var(--brand-green);
  color: #fff;
}

.simulated-site header,
.fake-browser {
  background: #4a4e53;
}

.simulated-site section {
  background: radial-gradient(circle at 84% 45%, rgba(97, 206, 112, 0.22), transparent 30%),
    linear-gradient(110deg, #fff8fb, #f9e1ed);
}

.site-search {
  display: flex;
  align-items: center;
  border: 0;
  text-align: left;
}

.chat-head {
  background: linear-gradient(125deg, #4a4e53, #b52d66);
}

.chat-body {
  height: 320px;
}

.chat-transfer {
  width: calc(100% - 20px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 10px 8px;
  border: 0;
  border-radius: 9px;
  background: #b52d66;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.chat-launcher {
  position: absolute;
  right: 28px;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 0;
  border-radius: 999px;
  background: #b52d66;
  padding: 13px 18px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 16px 35px rgba(232, 75, 138, 0.3);
}

.empty-state {
  padding: 22px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.playback-state {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  border-radius: 9px;
  background: #fff0f6;
  padding: 10px 12px;
  color: #b52d66;
  font-size: 13px;
  font-weight: 700;
}

.request-tabs {
  display: inline-flex;
  margin-bottom: 18px;
}

.integration-note {
  display: flex !important;
  grid-template-columns: auto 1fr !important;
  align-items: flex-start;
  gap: 9px !important;
  border: 1px solid #c6dfc8;
  border-radius: 9px;
  background: #fff0f6;
  padding: 11px;
  color: #466649;
  font-size: 13px;
  line-height: 1.5;
}

.approval-chip.čeka-odobrenje {
  background: #fff5d9;
  color: #8a6714;
}

.settings-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 16px;
}

.global-search {
  position: relative;
  z-index: 24;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  padding: 12px 28px;
  color: var(--muted);
}

.global-search > input {
  flex: 1;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--text);
  font-size: 14px;
}

.global-search-results {
  position: absolute;
  top: calc(100% + 6px);
  right: 28px;
  left: 28px;
  display: grid;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  padding: 8px;
  box-shadow: var(--shadow);
}

.global-search-results button {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  padding: 9px 11px;
  color: var(--text);
  text-align: left;
}

.global-search-results button:hover {
  background: var(--soft-teal);
}

.global-search-results > span {
  padding: 10px;
  font-size: 13px;
}

.mobile-backdrop {
  display: none;
}

/* High-impact report and PDF layout */
.report-toolbar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
}

.report-toolbar .download-button {
  margin-inline-start: auto;
}

.report-tabs {
  margin-top: 0;
  border: 1px solid var(--line);
  background: var(--bg);
}

.report-tabs button {
  color: var(--muted);
}

.report-tabs button.active {
  color: #fff;
}

.report-document {
  display: grid;
  gap: 16px;
  border-radius: 18px;
  background: #f3f6f4;
  padding: 16px;
  color: #262b2c;
}

.report-document .report-cover {
  min-height: 255px;
  border-radius: 16px;
  background: radial-gradient(circle at 82% 32%, rgba(97, 206, 112, 0.36), transparent 29%),
    linear-gradient(125deg, #34383b 0%, #4a4e53 58%, #b52d66 135%);
  padding: 30px;
}

.report-cover img {
  width: 126px;
  display: block;
  margin-bottom: 32px;
}

.report-cover h2 {
  font-size: 32px;
}

.report-cover p {
  max-width: 610px;
  font-size: 13px;
}

.report-document .report-summary-grid article,
.report-chart,
.report-operations,
.report-document .executive-summary {
  border: 1px solid #dfe7e1;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(43, 70, 47, 0.06);
}

.report-document .report-summary-grid article {
  grid-template-columns: auto 1fr;
  padding: 17px;
}

.report-summary-grid small {
  grid-column: 2;
  color: #78817a;
}

.report-chart-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.55fr;
  gap: 14px;
}

.report-chart {
  min-height: 285px;
  padding: 20px;
}

.report-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.report-section-head h3,
.report-chart h3 {
  margin: 5px 0 0;
  font-size: 18px;
}

.report-section-head > strong {
  border-radius: 999px;
  background: #fff0f6;
  padding: 6px 10px;
  color: #b52d66;
  font-size: 13px;
}

.report-columns {
  height: 195px;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  margin-top: 25px;
  border-bottom: 1px solid #dfe7e1;
  padding: 22px 4px 0;
}

.report-column {
  flex: 1 1 0;
  height: 100%;
  min-width: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  text-align: center;
  gap: 5px;
}

.report-column-track {
  min-height: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.report-column-bar {
  position: relative;
  width: 65%;
  border-radius: 7px 7px 2px 2px;
  background: linear-gradient(180deg, #d94884, #a52b5e);
}

.report-columns span,
.report-columns small {
  font-size: 12px;
  font-style: normal;
}

.report-columns span {
  position: absolute;
  bottom: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%);
  color: #657069;
  font-weight: 700;
}

.report-donut {
  width: 145px;
  height: 145px;
  display: grid;
  place-items: center;
  margin: 20px auto 14px;
  border-radius: 50%;
}

.channel-donut {
  background: conic-gradient(#b52d66 0 70%, #e9b1c9 70% 100%);
}

.sentiment-donut {
  background: conic-gradient(#b52d66 0 62%, #d4ae57 62% 87%, #ca6570 87% 100%);
}

.report-donut > span {
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  align-content: center;
  border-radius: 50%;
  background: #fff;
  color: #6d756f;
  font-size: 12px;
}

.report-donut strong {
  display: block;
  color: #252b27;
  font-size: 25px;
}

.report-legend {
  display: flex;
  justify-content: center;
  gap: 12px;
  color: #667069;
  font-size: 12px;
}

.report-legend.triple {
  flex-wrap: wrap;
}

.report-legend span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.report-legend i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.report-legend i.voice,
.report-legend i.positive {
  background: #b52d66;
}

.report-legend i.chat {
  background: #e9b1c9;
}

.report-legend i.neutral {
  background: #d4ae57;
}

.report-legend i.negative {
  background: #ca6570;
}

.report-topics {
  display: grid;
  align-content: start;
  gap: 12px;
}

.report-topic-row {
  display: grid;
  grid-template-columns: 150px 1fr 36px;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}

.report-topic-row i {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: #edf1ed;
}

.report-topic-row b {
  height: 100%;
  min-width: 18%;
  display: block;
  border-radius: inherit;
  background: linear-gradient(90deg, #b52d66, #f471a9);
}

.report-topic-row strong {
  color: #b52d66;
}

.report-operations {
  padding: 22px;
}

.report-risk,
.report-ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  background: #fff1e5;
  padding: 7px 10px;
  color: #a96427;
  font-size: 12px;
  font-weight: 700;
}

.report-ai-badge {
  background: #fff0f6;
  color: #b52d66;
}

.report-operation-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.report-operation-grid article {
  display: grid;
  gap: 4px;
  border: 1px solid #e2e9e3;
  border-radius: 11px;
  padding: 14px;
}

.report-operation-grid strong {
  color: #b52d66;
  font-size: 23px;
}

.report-operation-grid span {
  font-size: 13px;
  font-weight: 700;
}

.report-operation-grid small {
  color: #737d75;
  font-size: 12px;
}

.report-heatmap {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  color: #667069;
  font-size: 12px;
}

.report-heatmap > div {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.report-heatmap i {
  border-radius: 7px;
  padding: 10px;
  font-style: normal;
  text-align: center;
}

.report-heatmap .low {
  background: #fff0f6;
}

.report-heatmap .medium {
  background: #bfe7c3;
}

.report-heatmap .high {
  background: #f471a9;
  color: #173e1a;
  font-weight: 800;
}

.report-document .executive-summary {
  padding: 22px;
}

.report-document .executive-columns h4 {
  font-size: 13px;
}

.report-document .executive-columns ul,
.report-document .executive-columns li p,
.report-document .executive-columns li strong {
  font-size: 12px;
}

.report-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid #dce4dd;
  padding: 8px 3px 0;
  color: #7a837c;
  font-size: 12px;
}

.theme-dark .report-document {
  background: #f3f6f4;
  color: #262b2c;
}

.theme-dark .simulation-callout,
.theme-dark .module-feedback,
.theme-dark .playback-state,
.theme-dark .integration-note {
  border-color: #48644b;
  background: #2c4731;
  color: #d8ead9;
}

.theme-dark .simulated-site section {
  color: #262b2c;
}

.theme-dark .safety-grid span,
.theme-dark .emergency-rule,
.theme-dark .approval-chip.nacrt,
.theme-dark .approval-chip.čeka-odobrenje {
  filter: brightness(0.78) saturate(0.85);
}

@media (max-width: 1120px) {
  .login-copy {
    max-width: 49%;
  }

  .login-lina {
    right: 0;
    bottom: -1%;
    opacity: 1;
  }

  .report-chart-grid {
    grid-template-columns: 1fr 1fr;
  }

  .report-trend,
  .report-topics {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  .mobile-backdrop {
    position: fixed;
    inset: 0;
    z-index: 25;
    display: block;
    min-height: 100vh;
    border: 0;
    background: rgba(23, 29, 25, 0.48);
  }

  .sidebar {
    z-index: 30;
  }

  .global-search {
    padding: 10px 16px;
  }

  .global-search-results {
    right: 16px;
    left: 16px;
  }

  .report-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .report-toolbar .download-button {
    width: 100%;
    justify-content: center;
  }

  .report-document {
    padding: 10px;
  }

  .report-chart-grid,
  .report-operation-grid {
    grid-template-columns: 1fr;
  }

  .report-trend,
  .report-topics {
    grid-column: auto;
  }

  .report-document .report-summary-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .chat-launcher {
    right: 14px;
    bottom: 14px;
  }

  .request-tabs {
    width: 100%;
    overflow-x: auto;
  }

  .request-tabs button {
    white-space: nowrap;
  }

  .report-document .report-summary-grid {
    grid-template-columns: 1fr;
  }

  .report-cover img {
    margin-bottom: 20px;
  }

  .report-topic-row {
    grid-template-columns: 112px 1fr 32px;
  }

  .report-heatmap > div {
    grid-template-columns: repeat(4, 1fr);
  }

  .report-footer {
    flex-direction: column;
  }
}

/* Presentation readability baseline */
.app-main {
  font-size: 14px;
}

input[type="checkbox"],
input[type="radio"] {
  min-height: 0;
}
.breadcrumb,
.metric-label,
.metric-card small,
.panel-kicker,
.channel-legend,
.table-head,
.table-row,
.channel-pill,
.status-pill,
.transfer-panel p,
.speaker,
.transcript-line p,
.scenario-list > span,
.scenario-list button,
.address-bar,
.simulated-site header nav,
.simulated-site header button,
.chat-head span,
.chat-bubble,
.quick-questions button,
.chat-input input,
.chat-window > small,
.filters select,
.analytics-filters select,
.complaint-form select,
.complaint-form input,
.record-head,
.record-row,
.record-row > span:first-child small,
.record-row > span:first-child i,
.detail-title button,
.download-button,
.summary-card strong,
.summary-card p,
.detail-tags span,
.mini-transcript strong,
.mini-transcript p,
.processing-note,
.priority,
.queue-item small,
.operator-status,
.caller-head span,
.caller-head small,
.handoff-summary p,
.guardrail,
.caller-context dl > div,
.operator-transcript strong,
.operator-transcript p,
.complaint-form label,
.consent-row,
.complaint-card span,
.complaint-card p,
.complaint-card small,
.analytics-kpis span,
.analytics-kpis small,
.horizontal-bars > div,
.donut span,
.sentiment-legend,
.insight-card p,
.insight-card button,
.report-cover p,
.report-score span,
.report-score small,
.report-summary-grid span,
.executive-columns ul,
.executive-columns li p,
.executive-columns li strong,
.knowledge-nav > button:not(.add-knowledge),
.knowledge-nav > button b,
.version-box strong,
.version-box small,
.knowledge-meta span,
.knowledge-meta strong,
.editor-block label,
.editor-block input,
.editor-block textarea,
.approval-step,
.admin-cards span,
.admin-cards small,
.settings-list strong,
.settings-list p,
.safety-grid span,
.emergency-rule strong,
.emergency-rule p {
  font-size: 12px;
}
.eyebrow,
.nav-label {
  font-size: 12px;
}
.sidebar nav button,
.assistant-chip span,
.knowledge-health span,
.sidebar-footer > button {
  font-size: 13px;
}
.knowledge-health small {
  font-size: 12px;
}
.topic-list > div,
.topic-list strong {
  font-size: 12px;
}
.voice-name span,
.voice-state-copy,
.voice-notice,
.module-head p {
  font-size: 13px;
}
.record-row,
.table-row {
  line-height: 1.45;
}
.knowledge-nav {
  padding: 18px;
}
.knowledge-nav > button:not(.add-knowledge) {
  min-height: 42px;
  padding: 10px 11px;
  line-height: 1.35;
}
.knowledge-meta > div {
  padding: 13px;
}
.knowledge-meta strong {
  margin-top: 5px;
  font-size: 13px;
}
.editor-block {
  gap: 9px;
  padding: 18px;
}
.editor-block input,
.editor-block textarea {
  padding: 12px;
  line-height: 1.55;
}
.approval-step {
  line-height: 1.35;
}

/* Interactive product modules */
.module-grid,
.conversation-layout,
.operator-layout,
.complaints-layout,
.knowledge-layout {
  display: grid;
  gap: 16px;
}
.module-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}
.module-head.compact {
  align-items: center;
}
.module-head h2 {
  margin: 8px 0 6px;
  color: var(--text);
  font-size: 24px;
  letter-spacing: -0.04em;
}
.module-head h3 {
  margin: 4px 0 0;
  color: var(--text);
  font-size: 16px;
}
.module-head p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}
.live-badge,
.language-chip,
.case-id,
.approval-chip,
.queue-count {
  border-radius: 20px;
  background: var(--soft-teal);
  padding: 6px 10px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
}
.live-badge.active {
  background: #e8f7ef;
  color: #20825e;
}
.live-badge.active:before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 6px;
  border-radius: 50%;
  background: #2eb681;
  animation: pulse 1.3s infinite;
}
.live-badge.done {
  background: #eef0f2;
  color: #66717b;
}
@keyframes pulse {
  50% {
    box-shadow: 0 0 0 6px rgba(46, 182, 129, 0);
  }
}
.voice-module {
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
}
.voice-stage {
  min-height: 650px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 25px;
}
.voice-stage > .module-head {
  align-self: stretch;
}
.voice-avatar {
  position: relative;
  width: 225px;
  height: 225px;
  display: grid;
  place-items: center;
  margin-top: 30px;
}
.voice-avatar img {
  position: relative;
  z-index: 2;
  width: 185px;
  height: 185px;
  border: 7px solid var(--surface);
  border-radius: 50%;
  background: #eef6f5;
  object-fit: cover;
  object-position: top;
  box-shadow: 0 18px 40px rgba(0, 145, 167, 0.18);
}
.wave-ring {
  position: absolute;
  border: 2px solid rgba(0, 167, 157, 0.25);
  border-radius: 50%;
  inset: 0;
}
.wave-ring.two {
  inset: 14px;
  border-color: rgba(171, 73, 155, 0.18);
}
.voice-avatar.active .wave-ring {
  animation: voiceWave 1.4s ease-out infinite;
}
.voice-avatar.active .wave-ring.two {
  animation-delay: 0.45s;
}
@keyframes voiceWave {
  0% {
    transform: scale(0.76);
    opacity: 1;
  }
  100% {
    transform: scale(1.14);
    opacity: 0;
  }
}
.voice-name {
  text-align: center;
}
.voice-name strong,
.voice-name span {
  display: block;
}
.voice-name strong {
  font-size: 24px;
}
.voice-name span,
.voice-state-copy {
  color: var(--muted);
  font-size: 12px;
}
.voice-state-copy {
  margin: 15px 0 18px;
}
.voice-controls {
  display: flex;
  align-items: center;
  gap: 17px;
}
.round-control,
.main-mic {
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
}
.round-control {
  width: 46px;
  height: 46px;
}
.round-control.secondary {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
}
.main-mic {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--teal), var(--teal-2));
  color: #fff;
  box-shadow: 0 11px 26px rgba(0, 145, 167, 0.28);
}
.main-mic.hangup {
  background: #da6469;
  transform: rotate(135deg);
}
.voice-notice {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  max-width: 570px;
  margin-top: auto;
  border-radius: 12px;
  background: var(--soft-teal);
  padding: 12px 14px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}
.voice-notice svg {
  flex: 0 0 auto;
  color: var(--teal);
}
.live-transcript {
  min-height: 650px;
  padding: 22px;
}
.transcript-stream {
  display: grid;
  gap: 11px;
  margin-top: 18px;
}
.transcript-line {
  border-left: 3px solid #d9e0e2;
  border-radius: 0 9px 9px 0;
  background: color-mix(in srgb, var(--bg) 56%, transparent);
  padding: 10px 11px;
}
.transcript-line.lina {
  border-color: var(--teal);
}
.speaker {
  display: flex;
  justify-content: space-between;
  color: var(--text);
  font-size: 12px;
  font-weight: 800;
}
.speaker small {
  color: var(--muted);
  font-weight: 500;
}
.transcript-line p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}
.scenario-list {
  display: grid;
  gap: 7px;
  margin-top: 20px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
}
.scenario-list > span {
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
}
.scenario-list button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
  padding: 9px 10px;
  color: var(--text);
  font-size: 12px;
}
.website-simulator {
  position: relative;
  min-height: 740px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #eef4f4;
  box-shadow: var(--shadow);
}
.fake-browser {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 20px;
  background: #34364f;
  padding: 0 16px;
}
.browser-dots {
  display: flex;
  gap: 5px;
}
.browser-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef7b7b;
}
.browser-dots i:nth-child(2) {
  background: #e8bd67;
}
.browser-dots i:nth-child(3) {
  background: #62c696;
}
.address-bar {
  width: 50%;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  padding: 6px 12px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
}
.simulated-site header {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #363756;
  padding: 0 45px;
  color: #fff;
}
.simulated-site header img {
  width: 105px;
}
.simulated-site header nav {
  color: rgba(255, 255, 255, 0.65);
  font-size: 12px;
}
.simulated-site header button {
  border: 0;
  border-radius: 8px;
  background: var(--teal);
  padding: 9px 12px;
  color: #fff;
  font-size: 12px;
}
.simulated-site section {
  min-height: 520px;
  padding: 105px 8%;
  background: radial-gradient(
      circle at 85% 45%,
      rgba(0, 167, 157, 0.2),
      transparent 29%
    ),
    linear-gradient(110deg, #f4f7f6, #dfecef);
}
.simulated-site section > span {
  color: var(--teal);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.14em;
}
.simulated-site h2 {
  max-width: 600px;
  margin: 12px 0;
  font-size: 44px;
  line-height: 1.03;
  letter-spacing: -0.05em;
}
.simulated-site p {
  max-width: 520px;
  color: #687277;
}
.site-search {
  width: min(480px, 70%);
  margin-top: 28px;
  border-radius: 10px;
  background: #fff;
  padding: 15px;
  color: #a1a8aa;
  box-shadow: 0 10px 28px rgba(35, 61, 66, 0.09);
}
.site-search svg {
  vertical-align: middle;
  margin-right: 9px;
  color: var(--teal);
}
.chat-window {
  position: absolute;
  right: 34px;
  bottom: 24px;
  width: 370px;
  overflow: hidden;
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 22px 65px rgba(28, 44, 50, 0.28);
}
.chat-head {
  height: 68px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(125deg, var(--navy), #17798a);
  padding: 10px 13px;
  color: #fff;
}
.chat-head img {
  width: 45px;
  height: 45px;
  border-radius: 11px;
  background: #edf7f6;
  object-fit: cover;
  object-position: top;
}
.chat-head div {
  flex: 1;
}
.chat-head strong,
.chat-head span {
  display: block;
}
.chat-head span {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 12px;
}
.chat-head span i {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 5px;
  border-radius: 50%;
  background: #42d99b;
}
.chat-head button {
  border: 0;
  background: none;
  color: #fff;
  font-size: 22px;
}
.chat-body {
  height: 300px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  padding: 14px;
  background: var(--bg);
}
.chat-bubble {
  max-width: 86%;
  border-radius: 11px;
  padding: 10px 11px;
  font-size: 12px;
  line-height: 1.5;
}
.chat-bubble.lina {
  align-self: flex-start;
  border-bottom-left-radius: 3px;
  background: var(--surface);
  color: var(--text);
}
.chat-bubble.user {
  align-self: flex-end;
  border-bottom-right-radius: 3px;
  background: var(--teal);
  color: #fff;
}
.quick-questions {
  display: flex;
  gap: 5px;
  overflow-x: auto;
  padding: 8px 10px 4px;
  background: var(--surface);
}
.quick-questions button {
  white-space: nowrap;
  border: 1px solid #b8dbdc;
  border-radius: 15px;
  background: #fff;
  padding: 5px 8px;
  color: var(--teal);
  font-size: 12px;
}
.chat-input {
  display: flex;
  gap: 7px;
  padding: 9px 10px;
}
.chat-input input {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
  padding: 10px;
  color: var(--text);
  outline: none;
  font-size: 12px;
}
.chat-input button {
  width: 38px;
  border: 0;
  border-radius: 9px;
  background: var(--teal);
  color: #fff;
}
.chat-window > small {
  display: block;
  padding: 0 11px 10px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}
.conversation-layout {
  grid-template-columns: minmax(0, 1.45fr) minmax(340px, 0.55fr);
}
.list-panel {
  overflow: hidden;
}
.filters {
  display: flex;
  gap: 9px;
  padding: 15px;
}
.search-field {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
  padding: 0 10px;
  color: var(--muted);
}
.search-field input {
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  padding: 10px 0;
  color: var(--text);
  font-size: 12px;
}
.filters .search-field {
  flex: 1;
}
.filters select,
.analytics-filters select,
.complaint-form select,
.complaint-form input {
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
  padding: 9px;
  color: var(--text);
  font-size: 12px;
}
.record-head,
.record-row {
  display: grid;
  grid-template-columns: 1.15fr 1.2fr 0.8fr 0.65fr 0.5fr;
  gap: 10px;
  align-items: center;
}
.record-head {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  padding: 9px 14px;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}
.record-row {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  padding: 12px 14px;
  color: var(--text);
  text-align: left;
  font-size: 12px;
}
.record-row:hover,
.record-row.selected {
  background: var(--soft-teal);
}
.record-row > span:first-child strong,
.record-row > span:first-child small {
  display: block;
}
.record-row > span:first-child small {
  margin: 3px 0;
  color: var(--muted);
  font-size: 12px;
}
.record-row > span:first-child i {
  color: var(--teal);
  font-style: normal;
  font-size: 12px;
}
.detail-panel {
  padding: 20px;
}
.detail-title {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.detail-title h3 {
  margin: 5px 0;
  font-size: 17px;
}
.detail-title button,
.download-button {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 7px 9px;
  color: var(--text);
  font-size: 12px;
}
.summary-card {
  display: flex;
  gap: 10px;
  margin-top: 15px;
  border-radius: 11px;
  background: var(--soft-teal);
  padding: 13px;
  color: var(--teal);
}
.summary-card strong {
  font-size: 12px;
}
.summary-card p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}
.detail-tags {
  display: flex;
  gap: 5px;
  margin: 13px 0;
}
.detail-tags span {
  border-radius: 12px;
  background: var(--bg);
  padding: 5px 8px;
  color: var(--muted);
  font-size: 12px;
}
.detail-panel h4 {
  margin: 18px 0 9px;
  font-size: 12px;
}
.mini-transcript {
  display: grid;
  gap: 9px;
}
.mini-transcript div {
  border-left: 2px solid var(--teal);
  padding-left: 9px;
}
.mini-transcript strong {
  font-size: 12px;
}
.mini-transcript p {
  margin: 3px 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}
.processing-note {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 15px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
  color: var(--muted);
  font-size: 12px;
}
.operator-layout {
  grid-template-columns: 280px minmax(0, 1fr);
}
.queue-panel {
  padding: 16px;
}
.queue-count {
  background: #fff1e5;
  color: #c77424;
}
.queue-item {
  width: 100%;
  display: grid;
  gap: 5px;
  margin-top: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  padding: 11px;
  color: var(--text);
  text-align: left;
}
.queue-item.active {
  border-color: var(--teal);
  background: var(--soft-teal);
}
.priority {
  justify-self: start;
  border-radius: 10px;
  background: #edf1f2;
  padding: 3px 6px;
  color: var(--muted);
  font-size: 12px;
}
.priority.high {
  background: #ffe8e8;
  color: #c84d55;
}
.queue-item strong {
  font-size: 12px;
}
.queue-item small {
  color: var(--muted);
  font-size: 12px;
}
.operator-status {
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding-top: 13px;
  color: var(--muted);
  font-size: 12px;
}
.operator-status i {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 6px;
  border-radius: 50%;
  background: #34b77e;
}
.operator-workspace {
  overflow: hidden;
}
.caller-head {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding: 18px;
}
.caller-avatar {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--soft-teal);
  color: var(--teal);
}
.caller-head > div:nth-child(2) {
  flex: 1;
}
.caller-head span,
.caller-head small {
  color: var(--muted);
  font-size: 12px;
}
.caller-head h2 {
  margin: 4px 0;
  font-size: 17px;
}
.call-timer {
  border-radius: 9px;
  background: #eaf7ef;
  padding: 8px;
  color: #25845f;
  font-size: 12px;
  font-weight: 800;
}
.handoff-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 14px;
  padding: 17px;
}
.handoff-summary,
.caller-context {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
}
.handoff-summary h3,
.caller-context h3,
.operator-transcript h3 {
  margin: 6px 0 8px;
  font-size: 13px;
}
.handoff-summary p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}
.guardrail {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  border-radius: 9px;
  background: #fff2e6;
  padding: 9px;
  color: #a35d24;
  font-size: 12px;
  line-height: 1.45;
}
.caller-context dl {
  margin: 0;
}
.caller-context dl > div {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 8px 0;
  font-size: 12px;
}
.caller-context dt {
  color: var(--muted);
}
.caller-context dd {
  margin: 0;
  color: var(--text);
  font-weight: 700;
}
.negative-text {
  color: #c84d55 !important;
}
.operator-transcript {
  margin: 0 17px;
  border-radius: 11px;
  background: var(--bg);
  padding: 13px;
}
.operator-transcript > div {
  margin-top: 8px;
}
.operator-transcript strong {
  font-size: 12px;
}
.operator-transcript p {
  margin: 3px 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}
.operator-transcript .lina {
  border-left: 2px solid var(--teal);
  padding-left: 9px;
}
.operator-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  border-top: 1px solid var(--line);
  margin-top: 16px;
  padding: 13px 17px;
}
.decline-button,
.hangup-button {
  border: 0;
  border-radius: 9px;
  background: #f6e8e8;
  padding: 10px 13px;
  color: #b64e56;
  font-size: 12px;
}
.accepted-call {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-right: auto;
  color: #25845f;
  font-size: 12px;
  font-weight: 700;
}
.complaints-layout {
  grid-template-columns: minmax(0, 1fr) 300px;
}
.complaint-flow {
  padding: 22px;
}
.case-id {
  background: #f5eaf3;
  color: var(--plum);
}
.flow-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 7px;
  margin: 25px 0;
}
.flow-steps button {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 7px;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}
.flow-steps button:not(:last-child):after {
  content: "";
  position: absolute;
  left: 60%;
  right: -40%;
  top: 13px;
  height: 2px;
  background: var(--line);
}
.flow-steps button.done:not(:last-child):after {
  background: var(--teal);
}
.flow-steps i {
  position: relative;
  z-index: 2;
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border: 2px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  font-style: normal;
}
.flow-steps button.done i {
  border-color: var(--teal);
  background: var(--teal);
  color: #fff;
}
.complaint-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
  border-radius: 12px;
  background: var(--bg);
  padding: 16px;
}
.complaint-form > div {
  display: grid;
  gap: 6px;
}
.complaint-form label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.complaint-form textarea,
.editor-block textarea {
  min-height: 85px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
  padding: 10px;
  color: var(--text);
  font-size: 12px;
  line-height: 1.5;
}
.full-field {
  grid-column: 1/-1;
}
.consent-row {
  display: flex !important;
  grid-template-columns: auto 1fr !important;
  align-items: flex-start;
  color: var(--muted);
  font-size: 12px;
}
.consent-row input {
  accent-color: var(--teal);
}
.flow-actions,
.knowledge-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 14px;
}
.complaint-queue {
  padding: 20px;
}
.complaint-queue h3 {
  margin: 7px 0 15px;
  font-size: 16px;
}
.complaint-card {
  display: grid;
  gap: 5px;
  margin-bottom: 9px;
  border: 1px solid var(--line);
  border-left: 3px solid #d3aa57;
  border-radius: 9px;
  padding: 10px;
}
.complaint-card.high {
  border-left-color: #d56368;
}
.complaint-card span {
  color: #bb7e33;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
.complaint-card.high span {
  color: #c64f56;
}
.complaint-card strong {
  font-size: 12px;
}
.complaint-card p,
.complaint-card small {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}
.sla-card {
  display: flex;
  gap: 9px;
  margin-top: 15px;
  border-radius: 10px;
  background: var(--soft-teal);
  padding: 11px;
  color: var(--teal);
}
.sla-card strong,
.sla-card span {
  display: block;
  font-size: 12px;
}
.sla-card span {
  margin-top: 3px;
  color: var(--muted);
}
.analytics-page {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.analytics-filters {
  grid-column: 1/-1;
  display: flex;
  align-items: flex-end;
  gap: 16px;
  padding: 14px;
}
.analytics-filters > div {
  display: grid;
  gap: 6px;
}
.analytics-filters .download-button {
  margin-left: auto;
}
.segment {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
  padding: 3px;
}
.segment button {
  border: 0;
  border-radius: 6px;
  background: none;
  padding: 6px 10px;
  color: var(--muted);
  font-size: 12px;
}
.segment button.active {
  background: var(--teal);
  color: #fff;
}
.analytics-kpis {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.analytics-kpis article {
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface);
  padding: 15px;
}
.analytics-kpis span,
.analytics-kpis small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}
.analytics-kpis strong {
  display: block;
  margin: 6px 0;
  font-size: 24px;
}
.analytics-kpis small {
  color: #3a9a79;
}
.topic-analysis {
  grid-column: span 8;
  padding: 20px;
}
.horizontal-bars {
  display: grid;
  gap: 13px;
  margin-top: 20px;
}
.horizontal-bars > div {
  display: grid;
  grid-template-columns: 145px 1fr 38px;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}
.horizontal-bars i {
  height: 7px;
  overflow: hidden;
  border-radius: 5px;
  background: var(--bg);
}
.horizontal-bars b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), var(--teal-2));
}
.horizontal-bars b.plum-bar {
  background: var(--plum);
}
.sentiment-card {
  grid-column: span 4;
  display: grid;
  justify-items: center;
  padding: 20px;
}
.sentiment-card h3 {
  justify-self: start;
  width: 100%;
  margin: 5px 0;
}
.donut {
  width: 150px;
  height: 150px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  margin: 15px;
}
.donut:after {
  content: "";
  grid-area: 1/1;
  width: 102px;
  height: 102px;
  border-radius: 50%;
  background: var(--surface);
}
.donut span {
  z-index: 2;
  grid-area: 1/1;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
}
.donut strong {
  display: block;
  color: var(--text);
  font-size: 21px;
}
.sentiment-legend {
  display: flex;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
}
.sentiment-legend i {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.sentiment-legend .positive {
  background: #36a982;
}
.sentiment-legend .neutral {
  background: #d6ad55;
}
.sentiment-legend .negative {
  background: #d46d7d;
}
.insight-card {
  grid-column: 1/-1;
  display: flex;
  gap: 14px;
  padding: 18px;
  background: linear-gradient(105deg, var(--surface), var(--soft-teal));
}
.insight-card > svg {
  color: var(--plum);
}
.insight-card h3 {
  margin: 5px 0;
  font-size: 15px;
}
.insight-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}
.insight-card button {
  border: 0;
  background: none;
  padding: 10px 0 0;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
}
.reports-page {
  display: grid;
  gap: 16px;
}
.report-cover {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px;
  background: radial-gradient(
      circle at 85% 45%,
      rgba(0, 167, 157, 0.25),
      transparent 30%
    ),
    linear-gradient(120deg, var(--navy), #3f4568);
  color: #fff;
}
.report-cover h2 {
  margin: 8px 0;
  font-size: 28px;
}
.report-cover p {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 12px;
}
.report-tabs {
  display: inline-flex;
  margin-top: 18px;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
}
.report-tabs button {
  color: rgba(255, 255, 255, 0.65);
}
.report-score {
  width: 155px;
  height: 155px;
  display: grid;
  place-items: center;
  align-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  text-align: center;
  box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.04);
}
.report-score strong {
  font-size: 42px;
}
.report-score span,
.report-score small {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
}
.report-score small {
  margin-top: 4px;
}
.report-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.report-summary-grid article {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 4px 10px;
  padding: 15px;
}
.report-summary-grid svg {
  grid-row: span 2;
  color: var(--teal);
}
.report-summary-grid span {
  color: var(--muted);
  font-size: 12px;
}
.report-summary-grid strong {
  font-size: 20px;
}
.executive-summary {
  padding: 20px;
}
.executive-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 18px;
}
.executive-columns h4 {
  margin: 0 0 10px;
  font-size: 12px;
}
.executive-columns ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}
.executive-columns ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.executive-columns li {
  display: flex;
  gap: 10px;
}
.executive-columns li > span {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--soft-teal);
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
}
.executive-columns li p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}
.executive-columns li strong {
  display: block;
  color: var(--text);
  font-size: 12px;
}
.knowledge-layout {
  grid-template-columns: 280px minmax(0, 1fr);
}
.knowledge-nav {
  padding: 14px;
}
.knowledge-nav .search-field {
  margin-bottom: 9px;
}
.add-knowledge {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 17px;
  border: 0;
  border-radius: 9px;
  background: var(--teal);
  padding: 9px;
  color: #fff;
  font-size: 12px;
}
.knowledge-nav > .eyebrow {
  margin: 5px;
}
.knowledge-nav > button:not(.add-knowledge) {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-radius: 8px;
  background: none;
  padding: 9px;
  color: var(--muted);
  text-align: left;
  font-size: 12px;
}
.knowledge-nav > button:not(.add-knowledge) span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.knowledge-nav > button.active {
  background: var(--soft-teal);
  color: var(--teal);
}
.knowledge-nav > button b {
  font-size: 12px;
}
.version-box {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3px 7px;
  margin-top: 16px;
  border-radius: 9px;
  background: var(--bg);
  padding: 10px;
}
.version-box svg {
  grid-row: span 2;
  color: var(--teal);
}
.version-box strong {
  font-size: 12px;
}
.version-box small {
  color: var(--muted);
  font-size: 12px;
}
.knowledge-editor {
  padding: 22px;
}
.approval-chip.nacrt {
  background: #fff1e5;
  color: #bd742d;
}
.knowledge-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 18px 0;
}
.knowledge-meta > div {
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 10px;
}
.knowledge-meta span,
.knowledge-meta strong {
  display: block;
  font-size: 12px;
}
.knowledge-meta span {
  margin-bottom: 4px;
  color: var(--muted);
}
.editor-block {
  display: grid;
  gap: 7px;
  border-radius: 11px;
  background: var(--bg);
  padding: 15px;
}
.editor-block label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.editor-block input {
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
  padding: 10px;
  color: var(--text);
  font-size: 12px;
}
.approval-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
}
.approval-flow > i {
  width: 25px;
  height: 2px;
  background: var(--line);
}
.approval-step {
  display: grid;
  justify-items: center;
  gap: 5px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}
.approval-step svg {
  width: 27px;
  height: 27px;
  border: 2px solid var(--line);
  border-radius: 50%;
  padding: 6px;
}
.approval-step.done {
  color: var(--teal);
}
.approval-step.done svg {
  border-color: var(--teal);
  background: var(--teal);
  color: #fff;
}
.admin-page {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.admin-cards {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.admin-cards article {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px;
}
.admin-cards svg {
  color: var(--teal);
}
.admin-cards div {
  flex: 1;
}
.admin-cards span,
.admin-cards strong,
.admin-cards small {
  display: block;
}
.admin-cards span,
.admin-cards small {
  color: var(--muted);
  font-size: 12px;
}
.admin-cards strong {
  margin: 4px 0;
  font-size: 12px;
}
.status-ok {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34b77e;
}
.settings-panel {
  grid-column: span 7;
  padding: 20px;
}
.settings-list {
  display: grid;
  margin-top: 12px;
}
.settings-list > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}
.settings-list strong {
  font-size: 12px;
}
.settings-list p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 12px;
}
.switch input {
  display: none;
}
.switch i {
  position: relative;
  display: block;
  width: 34px;
  height: 19px;
  border-radius: 12px;
  background: #cdd4d5;
}
.switch i:after {
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #fff;
  transition: 0.2s;
}
.switch input:checked + i {
  background: var(--teal);
}
.switch input:checked + i:after {
  left: 18px;
}
.safety-panel {
  grid-column: span 5;
  padding: 20px;
}
.safety-panel h3 {
  margin: 7px 0 15px;
}
.safety-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.safety-grid span {
  display: flex;
  align-items: center;
  gap: 6px;
  border-radius: 8px;
  background: #f9eeee;
  padding: 8px;
  color: #a9555a;
  font-size: 12px;
}
.emergency-rule {
  display: flex;
  gap: 9px;
  margin-top: 15px;
  border-radius: 9px;
  background: #fff1e5;
  padding: 11px;
  color: #b56f2d;
}
.emergency-rule strong {
  font-size: 12px;
}
.emergency-rule p {
  margin: 3px 0;
  color: #8c6b4d;
  font-size: 12px;
  line-height: 1.45;
}
@media (max-width: 1100px) {
  .voice-module,
  .conversation-layout {
    grid-template-columns: 1fr;
  }
  .operator-layout,
  .complaints-layout,
  .knowledge-layout {
    grid-template-columns: 260px 1fr;
  }
  .analytics-kpis,
  .report-summary-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .topic-analysis,
  .sentiment-card {
    grid-column: 1/-1;
  }
  .settings-panel,
  .safety-panel {
    grid-column: 1/-1;
  }
}
@media (max-width: 820px) {
  .voice-module,
  .conversation-layout,
  .operator-layout,
  .complaints-layout,
  .knowledge-layout {
    grid-template-columns: 1fr;
  }
  .website-simulator {
    min-height: 760px;
  }
  .simulated-site header nav {
    display: none;
  }
  .simulated-site h2 {
    font-size: 34px;
  }
  .chat-window {
    right: 12px;
    left: 12px;
    bottom: 14px;
    width: auto;
  }
  .record-head {
    display: none;
  }
  .record-row {
    grid-template-columns: 1fr auto;
  }
  .record-row > span:nth-child(2),
  .record-row > span:nth-child(3),
  .record-row > span:nth-child(5) {
    display: none;
  }
  .handoff-grid,
  .executive-columns {
    grid-template-columns: 1fr;
  }
  .analytics-kpis,
  .report-summary-grid,
  .admin-cards {
    grid-template-columns: 1fr 1fr;
  }
  .report-cover {
    padding: 20px;
  }
  .report-score {
    width: 115px;
    height: 115px;
  }
  .flow-steps span {
    display: none;
  }
  .knowledge-meta {
    grid-template-columns: 1fr;
  }
  .approval-flow {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
  .approval-flow > i {
    display: none;
  }
}
@media (max-width: 560px) {
  .analytics-kpis,
  .report-summary-grid,
  .admin-cards {
    grid-template-columns: 1fr;
  }
  .analytics-filters {
    align-items: stretch;
    flex-direction: column;
  }
  .analytics-filters .download-button {
    margin-left: 0;
  }
  .complaint-form,
  .safety-grid {
    grid-template-columns: 1fr;
  }
  .full-field {
    grid-column: auto;
  }
  .report-score {
    display: none;
  }
  .module-head {
    flex-direction: column;
  }
  .horizontal-bars > div {
    grid-template-columns: 100px 1fr 30px;
  }
  .voice-stage {
    padding: 17px;
  }
  .voice-avatar {
    width: 190px;
    height: 190px;
  }
  .voice-avatar img {
    width: 158px;
    height: 158px;
  }
}

/* Last-mile overrides kept last to prevent legacy module rules from shrinking text */
.app-main {
  font-size: 14px;
}

.sidebar nav button,
.sidebar-footer > button,
.assistant-chip span,
.knowledge-health span,
.topbar button,
.role-select select,
.module-head p,
.voice-name span,
.voice-state-copy,
.voice-notice,
.scenario-list button,
.chat-bubble,
.quick-questions button,
.chat-input input,
.chat-window > small,
.filters input,
.filters select,
.analytics-filters select,
.record-head,
.record-row,
.detail-panel,
.queue-item,
.operator-workspace,
.complaint-form label,
.complaint-form input,
.complaint-form select,
.complaint-form textarea,
.complaint-card,
.analytics-kpis span,
.analytics-kpis small,
.horizontal-bars > div,
.sentiment-legend,
.insight-card p,
.insight-card button,
.executive-columns ul,
.executive-columns li p,
.executive-columns li strong,
.knowledge-nav > button:not(.add-knowledge),
.knowledge-nav > button b,
.version-box strong,
.version-box small,
.knowledge-meta span,
.knowledge-meta strong,
.editor-block label,
.editor-block input,
.editor-block textarea,
.approval-step,
.admin-cards span,
.admin-cards small,
.settings-list strong,
.settings-list p,
.safety-grid span,
.emergency-rule strong,
.emergency-rule p {
  font-size: 13px;
  line-height: 1.5;
}

.sidebar nav button,
.module-head p,
.voice-name span,
.voice-state-copy,
.voice-notice,
.chat-bubble,
.chat-input input,
.filters input,
.filters select,
.complaint-form input,
.complaint-form select,
.complaint-form textarea,
.editor-block input,
.editor-block textarea,
.settings-list p {
  font-size: 13px;
}

.eyebrow,
.panel-kicker,
.nav-label,
.live-badge,
.language-chip,
.case-id,
.approval-chip,
.queue-count,
.breadcrumb,
.demo-banner,
.demo-banner span {
  font-size: 12px;
}

.simulated-site header,
.fake-browser {
  background: #4a4e53;
}

.chat-head {
  background: linear-gradient(125deg, #4a4e53, #b52d66);
}

.simulated-site section {
  background: radial-gradient(circle at 84% 45%, rgba(97, 206, 112, 0.22), transparent 30%),
    linear-gradient(110deg, #fff8fb, #f9e1ed);
}

.report-toolbar .report-tabs {
  margin-top: 0;
  border: 1px solid var(--line);
  background: var(--bg);
}

.report-toolbar .report-tabs button {
  color: var(--muted);
}

.report-toolbar .report-tabs button.active {
  color: #fff;
}

.report-document .report-cover h2 {
  font-size: 32px;
}

.report-document .report-cover p {
  font-size: 13px;
}

.report-document .report-score span,
.report-document .report-score small,
.report-document .report-summary-grid span,
.report-document .report-summary-grid small {
  font-size: 12px;
}

.approval-step.current {
  color: #8a6714;
}

.approval-step.current svg {
  border-color: #d2a72f;
  background: #fff5d9;
  color: #8a6714;
}

@media (max-width: 820px) {
  .mobile-backdrop {
    position: fixed;
    inset: 0;
    z-index: 25;
    display: block;
    min-height: 100vh;
    border: 0;
    background: rgba(23, 29, 25, 0.48);
  }

  .sidebar {
    z-index: 30;
  }

  .report-chart-grid,
  .report-operation-grid {
    grid-template-columns: 1fr;
  }

  .report-trend,
  .report-topics {
    grid-column: auto;
  }

  .report-document .report-summary-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .report-document .report-summary-grid {
    grid-template-columns: 1fr;
  }

  .report-score {
    display: grid;
  }
}

/* Guided demo, quality control, knowledge gaps and operator AI copilot */
.guided-demo-page,
.knowledge-gaps-page {
  display: grid;
  gap: 16px;
}
.guided-demo-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px;
  background:
    radial-gradient(circle at 86% 16%, rgba(97, 206, 112, 0.22), transparent 28%),
    var(--surface);
}
.guided-demo-header h2 {
  margin: 8px 0 6px;
  font-size: 25px;
  letter-spacing: -0.035em;
}
.guided-demo-header p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.guided-demo-state {
  min-width: 150px;
  display: flex;
  align-items: center;
  gap: 9px;
  border-radius: 12px;
  background: var(--soft-teal);
  padding: 12px 14px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
}
.guided-demo-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 16px;
}
.guided-scenarios {
  align-self: start;
  display: grid;
  gap: 9px;
  padding: 18px;
}
.guided-scenarios > .eyebrow {
  margin-bottom: 5px;
}
.guided-scenarios button {
  width: 100%;
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface);
  padding: 11px 12px;
  color: var(--text);
  text-align: left;
}
.guided-scenarios button.active {
  border-color: var(--teal);
  background: var(--soft-teal);
  color: var(--teal);
}
.guided-scenarios button span {
  display: grid;
  gap: 4px;
}
.guided-scenarios button strong {
  font-size: 13px;
  line-height: 1.4;
}
.guided-scenarios button small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}
.guided-stage {
  overflow: hidden;
  padding: 0;
}
.guided-progress {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.guided-progress button {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.guided-progress button:last-child {
  border-right: 0;
}
.guided-progress button.active {
  background: var(--surface);
  color: var(--teal);
}
.guided-progress button.done {
  color: var(--teal);
}
.guided-progress i {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-style: normal;
}
.guided-progress button.active i,
.guided-progress button.done i {
  border-color: var(--teal);
  background: var(--teal);
  color: #fff;
}
.guided-stage-title {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px 16px;
}
.guided-stage-title h3 {
  margin: 10px 0 5px;
  font-size: 20px;
}
.guided-stage-title p {
  max-width: 700px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}
.guided-intro-card {
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  margin: 0 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(135deg, var(--soft-teal), var(--surface));
  padding: 28px;
}
.guided-intro-card img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  object-position: center 18%;
  border: 6px solid #fff;
  border-radius: 50%;
  box-shadow: var(--shadow);
}
.guided-intro-card div {
  max-width: 460px;
}
.guided-intro-card strong {
  font-size: 18px;
}
.guided-intro-card p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}
.guided-transcript,
.decision-panel,
.guided-result {
  margin: 0 24px;
}
.guided-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}
.guided-section-heading > span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
}
.guided-section-heading small {
  color: var(--muted);
  font-size: 12px;
}
.guided-transcript {
  max-height: 285px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--bg);
  padding: 14px;
}
.guided-transcript > div:not(.guided-section-heading) {
  position: relative;
  margin-top: 9px;
  border-radius: 10px;
  background: var(--surface);
  padding: 10px 12px;
}
.guided-transcript > div.lina {
  border-left: 3px solid var(--teal);
}
.guided-transcript strong,
.guided-transcript span {
  font-size: 12px;
}
.guided-transcript span {
  float: right;
  color: var(--muted);
}
.guided-transcript p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}
.decision-panel {
  margin-top: 16px;
  border: 1px solid rgba(232, 75, 138, 0.25);
  border-radius: 13px;
  background: var(--soft-teal);
  padding: 15px;
}
.decision-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px;
}
.decision-grid article {
  display: grid;
  gap: 6px;
  border: 1px solid rgba(232, 75, 138, 0.14);
  border-radius: 10px;
  background: var(--surface);
  padding: 11px;
}
.decision-grid article.wide {
  grid-column: 1/-1;
}
.decision-grid article > span {
  color: var(--muted);
  font-size: 12px;
}
.decision-grid article strong {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 13px;
  line-height: 1.45;
}
.decision-grid article > i,
.quality-score-grid article > i,
.qa-score-list i,
.gap-confidence > i {
  height: 5px;
  overflow: hidden;
  border-radius: 10px;
  background: #dfe6e1;
}
.decision-grid article > i b,
.quality-score-grid article > i b,
.qa-score-list i b,
.gap-confidence > i b {
  height: 100%;
  display: block;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), #f471a9);
}
.guardrail-decision strong {
  color: var(--teal);
}
.guided-result {
  display: grid;
  gap: 14px;
}
.guided-outcome {
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 12px;
  background: var(--soft-teal);
  padding: 14px;
  color: var(--teal);
}
.guided-outcome div {
  display: grid;
  gap: 3px;
}
.guided-outcome span {
  font-size: 12px;
}
.guided-outcome strong {
  font-size: 14px;
}
.guided-quality {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
}
.quality-score-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
}
.quality-score-grid article {
  display: grid;
  gap: 5px;
  border-radius: 10px;
  background: var(--bg);
  padding: 10px;
}
.quality-score-grid article strong {
  color: var(--teal);
  font-size: 19px;
}
.quality-score-grid article span {
  color: var(--muted);
  font-size: 12px;
}
.guided-actions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding: 15px 24px 18px;
}
.guided-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.conversation-qa {
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  overflow: hidden;
}
.qa-heading {
  width: 100%;
  min-height: 45px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  background: var(--soft-teal);
  padding: 10px 12px;
  color: var(--teal);
}
.qa-heading span {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 800;
}
.qa-heading strong {
  font-size: 13px;
}
.qa-content {
  display: grid;
  gap: 10px;
  padding: 11px;
}
.qa-score-list {
  display: grid;
  gap: 7px;
}
.qa-score-list > div {
  display: grid;
  grid-template-columns: 85px 1fr 28px;
  align-items: center;
  gap: 7px;
}
.qa-score-list span,
.qa-score-list strong {
  font-size: 12px;
}
.qa-content > p {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin: 0;
  border-radius: 8px;
  background: var(--bg);
  padding: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.operator-copilot {
  margin: 16px 17px 0;
  border: 1px solid rgba(232, 75, 138, 0.28);
  border-radius: 14px;
  background: linear-gradient(145deg, var(--surface), var(--soft-teal));
  padding: 15px;
}
.copilot-head,
.copilot-search-row,
.operator-reply,
.copilot-source {
  display: flex;
  align-items: center;
}
.copilot-head {
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}
.copilot-head h3 {
  margin: 5px 0 0;
  font-size: 15px;
}
.copilot-live {
  white-space: nowrap;
  border-radius: 20px;
  background: #fff0f6;
  padding: 7px 10px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 700;
}
.copilot-live i {
  width: 7px;
  height: 7px;
  display: inline-block;
  margin-right: 5px;
  border-radius: 50%;
  background: #36a982;
}
.copilot-search-row {
  gap: 9px;
}
.copilot-search-row .search-field {
  flex: 1;
  background: var(--surface);
}
.copilot-search-row input {
  min-width: 0;
  font-size: 13px;
}
.copilot-quick-queries {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 9px 0 13px;
}
.copilot-quick-queries button {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  padding: 6px 9px;
  color: var(--muted);
  font-size: 12px;
}
.copilot-quick-queries button:hover {
  border-color: var(--teal);
  color: var(--teal);
}
.copilot-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
  gap: 11px;
}
.copilot-results,
.copilot-answer {
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface);
  padding: 11px;
}
.copilot-results > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.copilot-results > button {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 7px;
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
  padding: 9px;
  color: var(--text);
  text-align: left;
}
.copilot-results > button.active {
  border-color: var(--teal);
  background: var(--soft-teal);
  color: var(--teal);
}
.copilot-results button span {
  display: grid;
  gap: 3px;
}
.copilot-results button strong {
  font-size: 12px;
  line-height: 1.4;
}
.copilot-results button small {
  color: var(--muted);
  font-size: 12px;
}
.copilot-empty {
  display: flex;
  gap: 8px;
  margin-top: 9px;
  border-radius: 9px;
  background: #fff3e8;
  padding: 10px;
  color: #9b642c;
  font-size: 12px;
  line-height: 1.45;
}
.copilot-source {
  align-items: flex-start;
  gap: 8px;
  border-radius: 8px;
  background: var(--soft-teal);
  padding: 8px;
  color: var(--teal);
}
.copilot-source div {
  display: grid;
  gap: 2px;
}
.copilot-source span,
.copilot-source strong {
  font-size: 12px;
}
.copilot-answer h4 {
  margin: 12px 0 6px;
  font-size: 13px;
}
.copilot-answer > p {
  margin: 0;
  color: var(--text);
  font-size: 13px;
  line-height: 1.6;
}
.copilot-warning {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin: 10px 0;
  border-radius: 8px;
  background: #fff2e6;
  padding: 8px;
  color: #9d612b;
  font-size: 12px;
  line-height: 1.45;
}
.operator-reply {
  align-items: stretch;
  gap: 9px;
  margin-top: 11px;
}
.operator-reply label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.operator-reply textarea {
  min-height: 78px;
  flex: 1;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
  padding: 10px;
  color: var(--text);
  font-size: 13px;
  line-height: 1.5;
}
.operator-reply button {
  align-self: flex-end;
}

.gap-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.gap-kpis article {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  color: var(--teal);
}
.gap-kpis article > svg {
  width: 35px;
  height: 35px;
  border-radius: 10px;
  background: var(--soft-teal);
  padding: 8px;
}
.gap-kpis article div {
  display: grid;
  gap: 2px;
}
.gap-kpis span,
.gap-kpis small {
  color: var(--muted);
  font-size: 12px;
}
.gap-kpis strong {
  color: var(--text);
  font-size: 21px;
}
.gap-explanation {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border-color: rgba(232, 75, 138, 0.24);
  background: var(--soft-teal);
  padding: 14px 16px;
  color: var(--teal);
}
.gap-explanation strong {
  font-size: 13px;
}
.gap-explanation p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}
.knowledge-gaps-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(350px, 0.75fr);
  gap: 16px;
}
.gap-list-panel,
.gap-detail {
  padding: 16px;
}
.gap-filters {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto auto;
  gap: 8px;
  margin-bottom: 12px;
}
.gap-filters select {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 0 9px;
  color: var(--text);
  font-size: 12px;
}
.gap-records {
  display: grid;
  gap: 8px;
}
.gap-records > button {
  display: grid;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  padding: 12px;
  color: var(--text);
  text-align: left;
}
.gap-records > button.active {
  border-color: var(--teal);
  background: var(--soft-teal);
}
.gap-records > button > div:first-child,
.gap-record-metrics {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.gap-id,
.gap-status {
  font-size: 12px;
  font-weight: 800;
}
.gap-status {
  border-radius: 15px;
  background: #eef1f2;
  padding: 4px 7px;
  color: var(--muted);
}
.gap-status.novo {
  background: #fff2e6;
  color: #9b642c;
}
.gap-status.čeka-odobrenje {
  background: var(--soft-teal);
  color: var(--teal);
}
.gap-records strong {
  font-size: 13px;
  line-height: 1.5;
}
.gap-records small,
.gap-record-metrics {
  color: var(--muted);
  font-size: 12px;
}
.gap-detail blockquote {
  margin: 16px 0;
  border-left: 3px solid var(--teal);
  background: var(--bg);
  padding: 13px;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
}
.gap-confidence {
  display: grid;
  gap: 7px;
}
.gap-confidence > div {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
}
.gap-confidence strong {
  color: #ad6b2c;
  font-size: 13px;
}
.gap-reason,
.gap-suggestion {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 13px;
  border-radius: 10px;
  padding: 11px;
}
.gap-reason {
  background: #fff2e6;
  color: #9b642c;
}
.gap-suggestion {
  background: var(--soft-teal);
  color: var(--teal);
}
.gap-reason strong,
.gap-suggestion strong {
  font-size: 13px;
}
.gap-reason p,
.gap-suggestion p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}
.gap-actions {
  display: flex;
  gap: 8px;
  margin-top: 15px;
}
.gap-open-knowledge {
  margin-top: 13px;
}

.theme-dark .guided-demo-header,
.theme-dark .guided-stage,
.theme-dark .guided-scenarios,
.theme-dark .operator-copilot,
.theme-dark .gap-list-panel,
.theme-dark .gap-detail {
  background-color: var(--surface);
}

@media (max-width: 1200px) {
  .guided-demo-layout,
  .knowledge-gaps-layout {
    grid-template-columns: 240px minmax(0, 1fr);
  }
  .gap-kpis {
    grid-template-columns: repeat(2, 1fr);
  }
  .copilot-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .guided-demo-layout,
  .knowledge-gaps-layout {
    grid-template-columns: 1fr;
  }
  .guided-scenarios {
    grid-template-columns: repeat(2, 1fr);
  }
  .guided-scenarios > .eyebrow {
    grid-column: 1/-1;
  }
  .quality-score-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gap-filters {
    grid-template-columns: 1fr 1fr;
  }
  .gap-filters .search-field {
    grid-column: 1/-1;
  }
}

@media (max-width: 640px) {
  .guided-demo-header,
  .guided-stage-title,
  .copilot-head,
  .copilot-search-row,
  .operator-reply {
    align-items: stretch;
    flex-direction: column;
  }
  .guided-demo-state {
    min-width: 0;
  }
  .guided-scenarios,
  .gap-kpis,
  .decision-grid,
  .quality-score-grid,
  .gap-filters {
    grid-template-columns: 1fr;
  }
  .guided-progress button span {
    display: none;
  }
  .guided-intro-card {
    min-height: 0;
    flex-direction: column;
    text-align: center;
  }
  .guided-transcript,
  .decision-panel,
  .guided-result,
  .guided-intro-card {
    margin-right: 14px;
    margin-left: 14px;
  }
  .guided-actions {
    padding-right: 14px;
    padding-left: 14px;
  }
  .gap-filters .search-field,
  .decision-grid article.wide {
    grid-column: auto;
  }
  .gap-actions {
    flex-direction: column;
  }
}
/* CyberCompany contact-center skin, shared by the real embedded demo views. */
:root{--teal:#b52d66;--teal-2:#e84b8a;--navy:#271524;--plum:#a371dc;--bg:#f9f6fa;--surface:#fff;--text:#281c2b;--muted:#78677d;--line:#eadfe9;--soft-teal:#fff0f6;--shadow:0 12px 38px #48213b0a}
.app-shell.theme-dark{--teal:#f387b5;--teal-2:#e84b8a;--navy:#251625;--plum:#bd97ed;--bg:#110c17;--surface:#1c1423;--text:#f8eff8;--muted:#bba7c1;--line:#38283f;--soft-teal:#352030;--shadow:0 12px 38px #0002;background:var(--bg);color:var(--text)}
html[data-theme=dark],html[data-theme=dark] body{background:#110c17;color:#f8eff8}
.sidebar{background:linear-gradient(170deg,#2d162a,#1d1221)}
.sidebar nav button.active{background:linear-gradient(110deg,#b52d66,#e84b8a);color:#fff;box-shadow:0 7px 20px #e84b8a28}
.welcome-card{background:radial-gradient(circle at 90% 10%,#fa92c24d,transparent 45%),linear-gradient(120deg,#822448,#ce3d7d);color:#fff}
.novalinea-wordmark{display:block!important;color:#fff!important;font-size:25px!important;font-weight:700!important;letter-spacing:-1px;line-height:1.05}.novalinea-wordmark>span{display:inline!important;font-size:inherit!important;color:#f5a4cb!important}.novalinea-wordmark small{display:block;color:#d6b8cf;font-size:8px;letter-spacing:2.2px;margin-top:9px}
.sidebar-brand .novalinea-wordmark{margin-bottom:10px}.assistant-chip img,.lina-status img{object-fit:cover;object-position:50% 18%}.assistant-chip img{background:#44243a}.status-ring img{object-fit:contain!important;width:100%;height:100%;transform:scale(1.45);object-position:center 12%}.status-ring{overflow:hidden}
.topbar{background:var(--surface);border-color:var(--line)}.theme-dark .topbar,.theme-dark .panel,.theme-dark .metric-card,.theme-dark .guided-stage,.theme-dark .operator-copilot,.theme-dark .gap-detail,.theme-dark .gap-list-panel{background:var(--surface);border-color:var(--line);color:var(--text)}
.theme-dark .demo-banner{background:#2b1928;color:#e4beda;border-color:#49233a}.theme-dark .filters,.theme-dark .record-head,.theme-dark .knowledge-filters{background:#201627}.theme-dark input,.theme-dark select,.theme-dark textarea{color:var(--text);background:var(--surface);border-color:var(--line)}
.demo-return{color:var(--teal);font-size:11px;font-weight:700;text-decoration:none;padding:10px 12px;border:1px solid var(--line);border-radius:9px;white-space:nowrap}.demo-return:hover{background:var(--soft-teal)}
.is-preview .sidebar-footer,.is-preview .demo-return{display:none}.is-preview .sidebar{position:relative;height:100%;min-height:900px}.is-preview .app-main{min-width:0}.is-preview.app-shell{grid-template-columns:220px minmax(0,1fr);min-height:900px}.is-preview .content-area{padding:22px}.is-preview .topbar{padding:18px 24px}.is-preview .welcome-card h2{font-size:21px}.is-preview .welcome-card{min-height:190px;padding:24px}.is-preview .demo-banner{padding:9px 24px}.is-preview .sidebar nav button{padding:11px 14px}.is-preview .sidebar nav{padding-top:14px}.is-preview .assistant-chip{margin-top:6px}.is-preview .role-picker{display:none}.is-preview .topbar-actions>.icon-button{display:none}.is-preview .content-area>.dashboard-grid{gap:18px}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #e84b8a;outline-offset:3px}
@media(max-width:700px){input,select,textarea{font-size:16px!important}.demo-return{display:none}.topbar-actions{gap:8px}.app-shell:not(.is-preview) .content-area{padding:16px}.app-shell:not(.is-preview) .topbar{padding:14px 16px}}
@media print{.sidebar,.topbar,.demo-banner{display:none!important}}

.simulated-site header .novalinea-wordmark{color:#281c2b!important}.theme-dark .simulated-site header .novalinea-wordmark{color:var(--text)!important}

/* CyberCompany Signature for the standalone NovaLinea demonstration. */
.app-shell:not(.is-preview) {
  --bg:#f4f4f7;
  --surface:#fcfbfd;
  --call-raised:#eeedf2;
  --text:#202127;
  --muted:#5e5f69;
  --line:#d5d4dc;
  --call-strong-line:#aeb0bd;
  --call-rail:linear-gradient(145deg,#f0e1e9,#f4f4f7 42%,#e9e9ef 92%);
  --call-toggle:linear-gradient(145deg,#fff,#e2e4ed);
  --call-accent:#8f3158;
  --call-active:#f1dfe7;
  --call-voice:#9a3560;
  --call-chat:#5a6171;
  --shadow:none;
  color:var(--text);
}
.app-shell.theme-dark:not(.is-preview) {
  --bg:#18181b;
  --surface:#222327;
  --call-raised:#28292e;
  --text:#f1f1f4;
  --muted:#b7b7c0;
  --line:#45464e;
  --call-strong-line:#71717b;
  --call-rail:linear-gradient(145deg,#382b34,#303137 42%,#202125 92%);
  --call-toggle:linear-gradient(145deg,#404249,#26282c);
  --call-accent:#f2abcd;
  --call-active:#412d3b;
  --call-voice:#ed8fbd;
  --call-chat:#aeb7c9;
}
.app-shell:not(.is-preview) :is(button,h1,h2,h3,.metric-label) { font-family:Inter,system-ui,sans-serif; letter-spacing:normal; }
.app-shell:not(.is-preview) .sidebar {
  background:var(--call-rail);
  color:var(--text);
  border:1px solid var(--line);
  box-shadow:inset 0 1px 1px #ffffff26;
}
.app-shell:not(.is-preview) .sidebar-top { position:relative; display:grid; justify-content:stretch; justify-items:center; padding:0; }
.app-shell:not(.is-preview) .sidebar-brand { display:none; }
.call-sidebar-brand { display:grid; place-items:center; gap:4px; width:min(146px,100%); padding:4px 0 7px; text-decoration:none; }
.call-sidebar-brand .cc-sidebar-wordmark {
  display:block; width:min(132px,100%); height:9px; font-size:0;
  background:var(--text); mask:url("/assets/cc-brand/cc-wordmark.svg") center / contain no-repeat;
}
.call-sidebar-toggle { display:none; }
.app-shell:not(.is-preview) .sidebar :is(.nav-label,.assistant-chip span,.knowledge-health small) { color:var(--muted); }
.app-shell:not(.is-preview) .sidebar :is(nav button,.sidebar-footer > button) {
  color:var(--text); background:transparent; box-shadow:none; border:1px solid transparent;
}
.app-shell:not(.is-preview) .sidebar nav button {
  width:100%; min-width:0; justify-content:flex-start; text-align:start;
}
.app-shell:not(.is-preview) .sidebar nav button > svg { flex:0 0 18px; }
.app-shell:not(.is-preview) .sidebar nav button:is(:hover,:focus-visible,.active) {
  color:var(--text); background:var(--call-active); border-color:var(--call-accent);
}
.app-shell:not(.is-preview) .assistant-chip { color:var(--text); background:var(--call-raised); border-color:var(--line); }
.app-shell:not(.is-preview) .mobile-close { color:var(--text); }
.app-shell:not(.is-preview) .topbar :is(.top-icon,.menu-button) { color:var(--text); border-color:transparent; background:transparent; box-shadow:none; padding:0; }
.app-shell:not(.is-preview) .role-trigger { color:var(--text); border-color:var(--line); background:var(--call-raised); }
.app-shell:not(.is-preview) .role-trigger :is(.role-trigger-icon,.role-trigger-copy small) { color:var(--muted); }
.app-shell:not(.is-preview) .welcome-card {
  color:var(--text); background:linear-gradient(145deg,var(--call-raised),var(--surface)); border:1px solid var(--line); box-shadow:none;
}
.app-shell:not(.is-preview) .welcome-card::after { display:none; }
.app-shell:not(.is-preview) .welcome-card :is(.eyebrow,p,.lina-status > span) { color:var(--muted); }
.app-shell:not(.is-preview) .welcome-card h2 { color:var(--text); font-size:clamp(26px,3.3vw,39px); line-height:1.12; }
.app-shell:not(.is-preview) .welcome-actions button { color:var(--text); background:var(--surface); border:1px solid var(--line); box-shadow:none; }
.app-shell:not(.is-preview) .welcome-actions button:first-child { color:#fff; background:#96385f; border-color:#96385f; }
.app-shell:not(.is-preview) :is(.panel,.metric-card,.guided-stage,.operator-copilot) { color:var(--text); background:linear-gradient(145deg,var(--call-raised),var(--surface)); border-color:var(--line); box-shadow:none; }
.app-shell:not(.is-preview) .metric-card strong { font-size:clamp(25px,2.6vw,37px); }
.call-volume-chart { display:grid; grid-template-columns:auto minmax(0,1fr); gap:6px; --call-plot-height:140px; }
.call-volume-axis {
  display:flex; flex-direction:column; justify-content:space-between; height:var(--call-plot-height);
  color:var(--muted); font-size:11px; line-height:1; transform:translateY(-5px);
}
.call-volume-chart .bar-chart { position:relative; margin:0; padding:0; min-width:0; height:auto; background:none; }
.call-volume-chart .bar-chart::before {
  content:""; position:absolute; inset:0 0 auto; height:var(--call-plot-height); pointer-events:none;
  background:repeating-linear-gradient(to top,var(--line) 0 1px,transparent 1px 25%);
}
.call-volume-chart .bar-column { position:relative; display:grid; grid-template-rows:var(--call-plot-height) 18px; gap:3px; min-width:0; }
.call-volume-chart .bar-stack { height:var(--call-plot-height); }
.app-shell:not(.is-preview) :is(.voice-dot,.call-volume-chart .bar-stack i) { background:var(--call-voice); }
.app-shell:not(.is-preview) :is(.chat-dot,.call-volume-chart .bar-stack b) { background:var(--call-chat); }
.app-shell:not(.is-preview) .channel-legend { font-size:12px; color:var(--muted); }
.cc-call-signature {
  min-height:56px; display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:14px;
  padding:9px 16px; border-top:1px solid #d5d4dc; background:#f4f4f7; color:#5e5f69;
}
html[data-theme="dark"] .cc-call-signature { border-color:#45464e; background:#18181b; color:#b7b7c0; }
.cc-call-positive { display:inline-flex; align-items:center; gap:8px; color:inherit; text-decoration:none; font-size:11px; }
.cc-call-positive img { display:block; width:94px; max-width:100%; height:auto; opacity:.82; filter:grayscale(1); }
.cc-call-positive img.cc-call-positive-dark,html[data-theme="dark"] .cc-call-positive img.cc-call-positive-light { display:none; }
html[data-theme="dark"] .cc-call-positive img.cc-call-positive-dark { display:block; }
.cc-call-positive:focus-visible img { opacity:1; filter:none; }
@media (hover:hover) and (pointer:fine) {
  .cc-call-positive:hover img { opacity:1; filter:none; }
}

@media (min-width:1001px) {
  .app-shell:not(.is-preview).call-sidebar-expanded { grid-template-columns:240px minmax(0,1fr); }
  .app-shell:not(.is-preview).call-sidebar-collapsed { grid-template-columns:94px minmax(0,1fr); }
  .app-shell:not(.is-preview) .sidebar { top:16px; margin:16px 0 16px 16px; width:224px; height:calc(100dvh - 32px); border-radius:26px; }
  .app-shell:not(.is-preview).call-sidebar-collapsed .sidebar { width:78px; padding-inline:7px; }
  .app-shell:not(.is-preview) .sidebar nav { overflow:auto; min-height:0; scrollbar-width:thin; }
  .call-sidebar-toggle {
    position:absolute; z-index:2; top:17px; inset-inline-end:-33px; display:grid; place-items:center;
    box-sizing:border-box; width:34px; height:34px; min-height:34px; padding:0; border-radius:50%;
    border:1px solid var(--call-strong-line); color:var(--text); background:var(--call-toggle); box-shadow:0 2px 5px #08090b33;
  }
  .call-sidebar-collapsed .call-sidebar-toggle { inset-inline-end:-24px; }
  .call-sidebar-collapsed .call-sidebar-toggle svg { transform:scaleX(-1); }
  .call-sidebar-collapsed .call-sidebar-brand .cc-sidebar-wordmark { display:none; }
  .call-sidebar-collapsed .sidebar .assistant-chip { justify-content:center; margin-inline:auto; width:42px; height:42px; padding:2px; border-radius:50%; }
  .call-sidebar-collapsed .sidebar .assistant-chip img { width:36px; height:36px; flex:none; }
  .call-sidebar-collapsed .sidebar :is(.assistant-chip > div,.nav-label,nav button span,nav button b,.knowledge-health) { display:none; }
  .app-shell:not(.is-preview).call-sidebar-collapsed .sidebar :is(nav button,.sidebar-footer > button) {
    display:grid; place-items:center; width:42px; height:42px; min-height:42px; padding:0; margin-inline:auto; border-radius:50%;
  }
  .call-sidebar-collapsed .sidebar :is(nav button,.sidebar-footer > button) svg { width:16px; height:16px; flex:0 0 16px; }
  .call-sidebar-collapsed .sidebar-footer > button { font-size:0; gap:0; grid-template-rows:1fr 0; }
}
@media (max-width:1000px) {
  .app-shell:not(.is-preview) { grid-template-columns:minmax(0,1fr); }
  .app-shell:not(.is-preview) .sidebar { position:fixed; top:0; left:-330px; width:min(314px,calc(100vw - 46px)); height:100dvh; overflow:auto; visibility:hidden; }
  .app-shell:not(.is-preview) .sidebar.open { left:0; visibility:visible; }
  .app-shell:not(.is-preview) .sidebar-top .mobile-close { position:absolute; inset-inline-end:0; top:0; display:grid; place-items:center; width:44px; height:44px; padding:0; }
  .app-shell:not(.is-preview) .mobile-backdrop { display:block; position:fixed; inset:0; z-index:29; border:0; background:#0a0a0c70; }
  .app-shell:not(.is-preview) .topbar .menu-button { display:grid; place-items:center; flex:none; }
  .app-shell:not(.is-preview) .bar-column span { font-size:10px; }
}

/* The external dock is fixed. Leave room to read and reach the page signature. */
body:has(> .cc-more-dock:not([hidden])) .cc-call-signature {
  margin-bottom: max(88px, calc(env(safe-area-inset-bottom) + 80px));
}
body:has(#call-sidebar.open) > .cc-more-dock {
  display: none;
}
@media print {
  body > .cc-more-dock { display: none; }
}

/* Signature floating chatbot: same matte glass and accent as the assistant shell. */
.app-shell:not(.is-preview) .cc-call-floating-chat {
  position:fixed; z-index:85; right:22px; bottom:23px;
  width:min(420px,calc(100vw - 28px)); display:flex; flex-direction:column; align-items:flex-end;
  gap:12px; pointer-events:none;
}
.cc-call-floating-chat > * {pointer-events:auto;}
.cc-call-floating-launcher {
  display:grid;place-items:center;width:66px;height:66px;flex:none;padding:3px;
  border:1px solid color-mix(in srgb,var(--call-accent) 75%,#fff);
  border-radius:50%;background:color-mix(in srgb,var(--call-accent) 24%,var(--surface));
  box-shadow:0 10px 32px #0a0a0a5c,0 0 0 5px color-mix(in srgb,var(--call-accent) 12%,transparent);
  color:var(--text);cursor:pointer;overflow:hidden;
  transition:transform .18s ease, box-shadow .18s ease;
}
.cc-call-floating-launcher:hover {transform:translateY(-3px);box-shadow:0 13px 36px #0a0a0a60,0 0 0 6px color-mix(in srgb,var(--call-accent) 24%,transparent);}
.cc-call-floating-launcher img {display:block;width:100%;height:100%;object-fit:contain;object-position:center;border-radius:50%;}
.cc-call-floating-panel {
  box-sizing:border-box;display:flex;flex-direction:column;overflow:hidden;
  width:100%;height:min(560px,calc(100dvh - 112px));min-height:300px;
  border:1px solid color-mix(in srgb,var(--call-accent) 29%,var(--line));border-radius:22px;
  background:color-mix(in srgb,var(--surface) 64%,transparent);color:var(--text);
  backdrop-filter:blur(22px) saturate(1.15);-webkit-backdrop-filter:blur(22px) saturate(1.15);
  box-shadow:0 20px 70px #08080b80, inset 0 1px #ffffff1b;
}
.cc-call-floating-head {
  display:flex;align-items:center;gap:10px;padding:12px 13px;min-height:68px;flex:none;
  border-bottom:1px solid var(--line);
  background:radial-gradient(circle at 0 0,color-mix(in srgb,var(--call-accent) 22%,transparent),transparent 80%);
}
.cc-call-floating-avatar {
  width:45px;height:45px;flex:0 0 45px;display:grid;place-items:center;overflow:hidden;
  border-radius:50%;border:1px solid color-mix(in srgb,var(--call-accent) 48%,var(--line));
  background:color-mix(in srgb,var(--call-accent) 12%,var(--surface));
}
.cc-call-floating-avatar img {width:100%;height:100%;object-fit:contain;object-position:center;}
.cc-call-floating-identity {display:flex;flex:1;flex-direction:column;gap:4px;min-width:0;}
.cc-call-floating-identity strong {font-size:14px;font-weight:750;}
.cc-call-floating-identity small {display:flex;align-items:center;gap:7px;font-size:11px;color:var(--muted);}
.cc-call-floating-identity small i {width:6px;height:6px;border-radius:50%;background:#48ca8a;box-shadow:0 0 0 3px #48ca8a18;}
.cc-call-floating-tool {
  display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;padding:0;
  border:1px solid var(--line);border-radius:12px;color:var(--text);
  background:color-mix(in srgb,var(--surface) 63%,transparent);cursor:pointer;
}
.cc-call-floating-tool:hover,.cc-call-floating-tool:focus-visible {border-color:var(--call-accent);background:var(--call-active);}
.cc-call-floating-messages {display:flex;flex:1;flex-direction:column;gap:11px;min-height:0;overflow:auto;padding:16px 15px;scrollbar-width:thin;}
.cc-call-floating-bubble {max-width:88%;padding:11px 13px;border-radius:17px;margin:0;font-size:13px;line-height:1.55;overflow-wrap:anywhere;}
.cc-call-floating-bubble.lina {align-self:flex-start;border-bottom-left-radius:5px;background:color-mix(in srgb,var(--call-raised) 86%,transparent);border:1px solid var(--line);}
.cc-call-floating-bubble.user {align-self:flex-end;border-bottom-right-radius:5px;background:color-mix(in srgb,var(--call-accent) 33%,var(--surface));border:1px solid color-mix(in srgb,var(--call-accent) 60%,transparent);}
.cc-call-floating-suggestions {display:flex;flex:none;gap:7px;overflow:auto;padding:8px 12px;scrollbar-width:thin;}
.cc-call-floating-suggestions button {
  flex:none;white-space:nowrap;font-size:11px;padding:7px 10px;border-radius:999px;
  border:1px solid color-mix(in srgb,var(--call-accent) 45%,var(--line));
  background:color-mix(in srgb,var(--call-accent) 8%,transparent);color:var(--text);cursor:pointer;
}
.cc-call-floating-suggestions button:hover {background:var(--call-active);}
.cc-call-floating-compose {display:flex;gap:9px;padding:9px 12px;border-top:1px solid var(--line);flex:none;}
.cc-call-floating-compose input {flex:1;min-width:0;min-height:42px;border-radius:13px;padding:10px 13px;color:var(--text);border:1px solid var(--line);background:color-mix(in srgb,var(--surface) 82%,transparent);font:inherit;font-size:13px;}
.cc-call-floating-compose input::placeholder {color:var(--muted);}
.cc-call-floating-compose input:focus-visible {outline:2px solid var(--call-accent);outline-offset:2px;}
.cc-call-floating-compose button {width:42px;min-height:42px;border:0;border-radius:12px;background:#9e3368;color:#fff;display:grid;place-items:center;cursor:pointer;}
.cc-call-floating-compose button:disabled {opacity:.4;cursor:default;}
.cc-call-floating-foot {display:flex;gap:9px;justify-content:space-between;padding:0 13px 11px;font-size:11px;}
.cc-call-floating-foot button {border:0;padding:5px 0;background:none;color:var(--muted);cursor:pointer;font:inherit;}
.cc-call-floating-foot button:hover {color:var(--call-accent);}
.cc-call-floating-expanded {inset:12px!important;width:auto!important;justify-content:center;align-items:flex-end;}
.cc-call-floating-expanded .cc-call-floating-panel {width:100%;height:calc(100dvh - 100px);}
.cc-call-floating-chat button:focus-visible {outline:2px solid var(--call-accent);outline-offset:3px;}

/* Both embedded chatbot and floating chatbot have a genuinely translucent window. */
.app-shell:not(.is-preview) .chat-window {
  background:color-mix(in srgb,var(--surface) 64%,transparent);
  border:1px solid color-mix(in srgb,var(--call-accent) 27%,var(--line));
  backdrop-filter:blur(15px) saturate(1.12);-webkit-backdrop-filter:blur(15px) saturate(1.12);
}
.app-shell:not(.is-preview) .chat-window .chat-head {
  background:linear-gradient(118deg,color-mix(in srgb,var(--call-accent) 29%,var(--surface)),color-mix(in srgb,var(--surface) 72%,transparent));
  color:var(--text);border-bottom:1px solid var(--line);
}
.app-shell:not(.is-preview) .chat-window .chat-head span {color:var(--muted);}
.app-shell:not(.is-preview) .chat-window .chat-head button {color:var(--text);}
.app-shell:not(.is-preview) .chat-window .chat-body {background:color-mix(in srgb,var(--bg) 65%,transparent);}
.app-shell:not(.is-preview) .chat-window .chat-bubble.lina {background:color-mix(in srgb,var(--call-raised) 84%,transparent);}
.app-shell:not(.is-preview) .chat-window .chat-bubble.user {background:#9e3368;}
.app-shell:not(.is-preview) .chat-window .quick-questions {background:color-mix(in srgb,var(--surface) 55%,transparent);}
.app-shell:not(.is-preview) .chat-window .chat-head img {
  background:color-mix(in srgb,var(--call-accent) 15%,var(--surface));border-radius:50%;object-fit:contain;object-position:center;
}
/* Printed report is intentionally light in both themes: keep its text legible. */
.app-shell:not(.is-preview) .report-document .report-summary-grid :is(span,small) {
  color:#555d62;
}
.app-shell:not(.is-preview) .report-document .report-summary-grid strong {
  color:#262b2c;
}
@media(max-width:1000px){
  .app-shell:not(.is-preview) .cc-call-floating-chat {right:12px;bottom:95px;}
  .cc-call-floating-panel {height:min(540px,calc(100dvh - 185px));}
  .cc-call-floating-expanded {inset:8px 8px 84px!important;}
  .cc-call-floating-expanded .cc-call-floating-panel {height:100%;}
}
@media(max-width:480px) {
  .app-shell:not(.is-preview) .cc-call-floating-chat {width:calc(100vw - 24px);}
  .cc-call-floating-launcher {width:58px;height:58px;}
  .cc-call-floating-panel {border-radius:18px;}
}

/* Workspaces use the same compact controls and responsive grids as the shell. */
.call-mobile-brand,
.call-mobile-page-title { display: none; }

.app-shell:not(.is-preview) .dashboard-grid > [data-call-widget] {
  order: var(--call-widget-order,0);
}
.app-shell:not(.is-preview) .dashboard-grid > [data-call-widget][hidden] {
  display: none;
}
.app-shell:not(.is-preview) .welcome-card { min-height: 0; }
.app-shell:not(.is-preview) .welcome-card h2 { margin: 0 0 14px; font-size: clamp(1.3rem, 2.6vw, 1.9rem); }

.app-shell .voice-module { align-items: start; }
.voice-example-controls { display: grid; gap: 12px; min-height: 0; padding: 18px; }
.voice-example-controls .scenario-list { margin: 0; padding: 0; border: 0; }
.voice-example-transcript .transcript-stream { max-height: none; }
.voice-example-transcript .secondary-button { margin-top: 14px; }
.voice-example-transcript audio, .detail-panel audio { width: 100%; margin-block: 8px; }

.app-shell .simulated-site header .novalinea-wordmark { color: #fff !important; }
.cc-call-floating-expanded .cc-call-floating-panel { background: var(--surface); }
.cc-call-floating-suggestions { flex-wrap: wrap; overflow: visible; }

.app-shell .conversation-layout .filters {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content max-content;
  gap: 8px;
}
.app-shell .filters .search-field, .app-shell .content-area select { min-width: 0; }
.app-shell .content-area select {
  border-radius: 12px;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line);
}
@supports (appearance: base-select) {
  .app-shell .content-area select,
  .app-shell .content-area select::picker(select) { appearance: base-select; }
  .app-shell .content-area select::picker(select) {
    margin-top: 5px;
    padding: 4px;
    color: var(--text);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 10px 30px #13101830;
  }
  .app-shell .content-area option { padding: 8px 12px; border-radius: 7px; }
  .app-shell .content-area option:is(:hover,:focus,:checked) { background: var(--call-active); }
}

.operator-workspace > .operator-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 16px;
  border-block: 1px solid var(--line);
  margin: 0;
}
.queue-count { white-space: nowrap; }
.admin-cards .status-unavailable { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.settings-list .switch:has(input:disabled) { opacity: .65; cursor: default; }

@media(max-width:1000px) {
  .app-shell:not(.is-preview) .cc-call-floating-launcher { display: none; }
  .app-shell:not(.is-preview) .cc-call-floating-chat {
    width: min(415px, calc(100% - 24px));
    inset-inline-end: 12px;
    align-items: stretch;
  }
  .cc-call-floating-compose input { font-size: 16px; }
}
@media(max-width:680px) {
  .app-shell:not(.is-preview) .dashboard-grid > .metrics-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
    order: var(--call-widget-order,-1);
    gap: 8px;
  }
  .app-shell .metric-card { min-width: 0; min-height: 91px; gap: 7px; padding: 10px; }
  .app-shell .metric-card .metric-icon { width: 31px; height: 31px; }
  .app-shell .metric-card strong { font-size: clamp(20px, 6vw, 25px); }
  .app-shell .metric-card small { overflow-wrap: anywhere; }
  .app-shell .welcome-card { padding: 16px; }
  .app-shell .welcome-actions { display: flex; flex-wrap: wrap; gap: 6px; }
  .app-shell .welcome-actions button { flex: 1 1 110px; min-width: 0; width: auto; }
  .app-shell .voice-example-controls .scenario-list { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
  .app-shell .voice-example-controls .scenario-list button { height: auto; min-height: 44px; }
  .app-shell .conversation-layout .filters { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .app-shell .conversation-layout .search-field { grid-column: 1/-1; width: 100%; }
  .app-shell .conversation-layout select { width: 100%; }
  .app-shell .guided-progress, .app-shell .flow-steps {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 6px;
  }
  .app-shell .guided-progress button, .app-shell .flow-steps button {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 44px;
    gap: 6px;
    padding: 5px 7px;
    text-align: start;
  }
  .app-shell .guided-progress button span, .app-shell .flow-steps button span {
    display: inline;
    font-size: 11px;
    overflow-wrap: anywhere;
  }
  .app-shell .flow-steps button::after { display: none; }
  .app-shell .report-columns { gap: 3px; }
  .app-shell .report-columns :is(span,small) { font-size: 10px; }
}

/* CyberCompany shared mobile navigation. Host colors and locale enter through the adapter. */
[data-cc-more-replaced] { display: none !important; }
.cc-more-dock[hidden], .cc-more-screen [hidden] { display: none !important; }
html[data-keyboard="open"] .cc-more-dock:not(.cc-more-dock-inside),
html.mobile-keyboard-open .cc-more-dock:not(.cc-more-dock-inside) { display: none !important; }
.cc-more-dock, .cc-more-screen {
  --cc-more-bg: #18181c;
  --cc-more-surface: #242429;
  --cc-more-dock-face: #24252be8;
  --cc-more-ink: #f2f1f5;
  --cc-more-muted: #b8b8c6;
  --cc-more-line: #6a6a78;
  --cc-more-accent: #c18cf4;
  color: var(--cc-more-ink);
  color-scheme: dark;
  font-family: "Inter Variable", Inter, Geist, system-ui, sans-serif;
  box-sizing: border-box;
  text-align: start;
}
.cc-more-dock[data-cc-theme="light"], .cc-more-screen[data-cc-theme="light"] {
  --cc-more-bg: #f5f5f8;
  --cc-more-surface: #fff;
  --cc-more-dock-face: #f7f7fbe8;
  --cc-more-ink: #232331;
  --cc-more-muted: #595969;
  --cc-more-line: #818192;
  --cc-more-accent: #702bb2;
  color-scheme: light;
}
.cc-more-dock *, .cc-more-screen * { box-sizing: border-box; }
.cc-more-dock:is(nav) {
  position: fixed;
  z-index: 179;
  inset: auto max(10px, env(safe-area-inset-right)) max(8px, env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left));
  display: grid;
  width: auto;
  max-width: 560px;
  min-width: 0;
  min-height: 65px;
  height: auto;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 3px;
  align-items: stretch;
  margin: 0 auto;
  padding: 4px;
  overflow: visible;
  background: var(--cc-more-dock-face);
  border: 1px solid color-mix(in srgb, var(--cc-more-line) 76%, transparent);
  border-radius: 28px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.cc-more-dock :is(button, a).cc-more-dock-item {
  all: unset;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 54px;
  gap: 4px;
  padding: 3px;
  border: 1px solid transparent;
  border-radius: 22px;
  color: var(--cc-more-muted);
  font: inherit;
  font-size: clamp(9px, 2.7vw, 11px);
  line-height: 1.1;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
}
.cc-more-dock .cc-more-dock-item > span { width: 100%; white-space: normal; overflow-wrap: anywhere; line-height: 1.12; }
.cc-more-dock .cc-more-dock-item:is([data-active="true"], [aria-current="page"]) {
  color: color-mix(in srgb, var(--cc-more-accent) 72%, var(--cc-more-ink));
  background: color-mix(in srgb, var(--cc-more-accent) 20%, var(--cc-more-surface));
  border-color: color-mix(in srgb, var(--cc-more-accent) 52%, transparent);
}
.cc-more-dock .cc-more-dock-item > svg, .cc-more-dock .cc-more-dock-avatar {
  flex: none;
  width: 21px;
  height: 21px;
}
.cc-more-dock .cc-more-dock-avatar { width: 26px; height: 26px; object-fit: cover; border-radius: 50%; border: 1px solid var(--cc-more-line); }
.cc-more-dock button.cc-more-dock-item:disabled { opacity: .55; cursor: default; }

dialog.cc-more-screen {
  position: fixed;
  z-index: 2147483640;
  inset: var(--cc-more-viewport-top, 0px) 0 auto;
  width: 100%;
  max-width: none;
  height: min(100dvh, var(--cc-more-visible-height, 100dvh));
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 10% 0%, color-mix(in srgb, var(--cc-more-accent) 13%, transparent), transparent 30%),
    var(--cc-more-bg);
}
dialog.cc-more-screen:not([open]) { display: none; }
dialog.cc-more-screen[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
dialog.cc-more-screen::backdrop { background: var(--cc-more-bg); }
.cc-more-screen .cc-more-header {
  position: relative;
  display: grid;
  place-items: center;
  min-height: calc(56px + env(safe-area-inset-top));
  padding-top: env(safe-area-inset-top);
}
.cc-more-screen .cc-more-brand {
  width: 31px; height: 31px;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%22-123%20-124%20246%20248%22%20role%3D%22img%22%20aria-label%3D%22CyberCompany%22%20fill%3D%22%2338383e%22%3E%3Cpath%20d%3D%22M-95-104H-55C-24-104-3-82-3-53V-26L-26-3H-59C-85-3-104-19-112-43Q-113-47-108-47H-86Q-83-47-81-43C-75-34-68-32-59-32H-34Q-32-32-32-34V-60C-32-70-39-75-49-75H-69Q-72-75-74-77L-97-100Q-101-104-95-104Z%22%3E%3C%2Fpath%3E%3Cpath%20d%3D%22M-95-104H-55C-24-104-3-82-3-53V-26L-26-3H-59C-85-3-104-19-112-43Q-113-47-108-47H-86Q-83-47-81-43C-75-34-68-32-59-32H-34Q-32-32-32-34V-60C-32-70-39-75-49-75H-69Q-72-75-74-77L-97-100Q-101-104-95-104Z%22%20transform%3D%22scale(-1%201)%22%3E%3C%2Fpath%3E%3Cpath%20d%3D%22M-95-104H-55C-24-104-3-82-3-53V-26L-26-3H-59C-85-3-104-19-112-43Q-113-47-108-47H-86Q-83-47-81-43C-75-34-68-32-59-32H-34Q-32-32-32-34V-60C-32-70-39-75-49-75H-69Q-72-75-74-77L-97-100Q-101-104-95-104Z%22%20transform%3D%22scale(1%20-1)%22%3E%3C%2Fpath%3E%3Cpath%20d%3D%22M-95-104H-55C-24-104-3-82-3-53V-26L-26-3H-59C-85-3-104-19-112-43Q-113-47-108-47H-86Q-83-47-81-43C-75-34-68-32-59-32H-34Q-32-32-32-34V-60C-32-70-39-75-49-75H-69Q-72-75-74-77L-97-100Q-101-104-95-104Z%22%20transform%3D%22scale(-1%20-1)%22%3E%3C%2Fpath%3E%3Cpath%20d%3D%22M0-18%2018%200%200%2018-18%200Z%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%22-123%20-124%20246%20248%22%20role%3D%22img%22%20aria-label%3D%22CyberCompany%22%20fill%3D%22%2338383e%22%3E%3Cpath%20d%3D%22M-95-104H-55C-24-104-3-82-3-53V-26L-26-3H-59C-85-3-104-19-112-43Q-113-47-108-47H-86Q-83-47-81-43C-75-34-68-32-59-32H-34Q-32-32-32-34V-60C-32-70-39-75-49-75H-69Q-72-75-74-77L-97-100Q-101-104-95-104Z%22%3E%3C%2Fpath%3E%3Cpath%20d%3D%22M-95-104H-55C-24-104-3-82-3-53V-26L-26-3H-59C-85-3-104-19-112-43Q-113-47-108-47H-86Q-83-47-81-43C-75-34-68-32-59-32H-34Q-32-32-32-34V-60C-32-70-39-75-49-75H-69Q-72-75-74-77L-97-100Q-101-104-95-104Z%22%20transform%3D%22scale(-1%201)%22%3E%3C%2Fpath%3E%3Cpath%20d%3D%22M-95-104H-55C-24-104-3-82-3-53V-26L-26-3H-59C-85-3-104-19-112-43Q-113-47-108-47H-86Q-83-47-81-43C-75-34-68-32-59-32H-34Q-32-32-32-34V-60C-32-70-39-75-49-75H-69Q-72-75-74-77L-97-100Q-101-104-95-104Z%22%20transform%3D%22scale(1%20-1)%22%3E%3C%2Fpath%3E%3Cpath%20d%3D%22M-95-104H-55C-24-104-3-82-3-53V-26L-26-3H-59C-85-3-104-19-112-43Q-113-47-108-47H-86Q-83-47-81-43C-75-34-68-32-59-32H-34Q-32-32-32-34V-60C-32-70-39-75-49-75H-69Q-72-75-74-77L-97-100Q-101-104-95-104Z%22%20transform%3D%22scale(-1%20-1)%22%3E%3C%2Fpath%3E%3Cpath%20d%3D%22M0-18%2018%200%200%2018-18%200Z%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E") center/contain no-repeat;
}
.cc-more-screen :where(button, a):not(:where(.cc-more-dock-item)) {
  all: unset;
  box-sizing: border-box;
  font: inherit;
  color: inherit;
  cursor: pointer;
}
.cc-more-screen button:is(.cc-more-x, .cc-more-edit) {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid color-mix(in srgb, var(--cc-more-line) 72%, transparent);
  border-radius: 50%;
  color: var(--cc-more-muted);
  background: var(--cc-more-surface);
}
.cc-more-screen button.cc-more-x { position: absolute; right: max(14px, env(safe-area-inset-right)); bottom: 6px; }
.cc-more-screen button.cc-more-edit { width: 38px; height: 38px; }
.cc-more-screen :is(.cc-more-x, .cc-more-edit) svg { width: 19px; height: 19px; }
.cc-more-screen .cc-more-scroll {
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
  min-height: 0;
}
.cc-more-screen :is(.cc-more-top, .cc-more-content) {
  width: 100%;
  max-width: 620px;
  padding-inline: max(15px, env(safe-area-inset-left)) max(15px, env(safe-area-inset-right));
  margin-inline: auto;
}
.cc-more-screen .cc-more-top { padding-block: 8px 14px; }
.cc-more-screen .cc-more-title-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 13px; }
.cc-more-screen .cc-more-title-row h1 { margin: 0; color: inherit; font: inherit; font-size: clamp(27px, 7.3vw, 32px); font-weight: 720; line-height: 1.08; }
.cc-more-screen .cc-more-search {
  display: flex;
  align-items: center;
  min-height: 45px;
  gap: 10px;
  padding-inline: 12px;
  border: 1px solid var(--cc-more-line);
  border-radius: 13px;
  background: var(--cc-more-surface);
  color: var(--cc-more-muted);
}
.cc-more-screen .cc-more-search > svg { width: 19px; height: 19px; flex: none; }
.cc-more-screen .cc-more-search input {
  all: unset;
  box-sizing: border-box;
  min-width: 0;
  width: 100%;
  color: var(--cc-more-ink);
  font: inherit;
  font-size: 16px;
  line-height: 1.3;
}
.cc-more-screen .cc-more-search input::placeholder { color: var(--cc-more-muted); }
.cc-more-screen .cc-more-content { padding-block: 0 15px; }
.cc-more-screen .cc-more-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.cc-more-screen .cc-more-card {
  display: flex;
  min-height: 54px;
  min-width: 0;
  width: 100%;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border: 1px solid color-mix(in srgb, var(--cc-more-line) 84%, transparent);
  border-radius: 13px;
  background: var(--cc-more-surface);
  color: var(--cc-more-ink);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.24;
  text-align: start;
  overflow-wrap: anywhere;
}
.cc-more-screen .cc-more-card > svg { width: 20px; height: 20px; flex: none; }
.cc-more-screen .cc-more-card:is([aria-current="page"], [aria-pressed="true"]) {
  border-color: var(--cc-more-accent);
  background: color-mix(in srgb, var(--cc-more-accent) 13%, var(--cc-more-surface));
}
.cc-more-screen button.cc-more-card:disabled { opacity: .58; cursor: default; }
.cc-more-screen .cc-more-group { margin-top: 15px; }
.cc-more-screen .cc-more-subgroup { margin: 10px 0 0; }
.cc-more-screen .cc-more-group + .cc-more-grid { margin-top: 16px; padding-top: 12px; border-top: 1px solid color-mix(in srgb, var(--cc-more-line) 48%, transparent); }
.cc-more-screen .cc-more-grid + .cc-more-subgroup { margin-top: 12px; }
.cc-more-screen :is(.cc-more-group-title, .cc-more-disclosure) { margin: 0; }
.cc-more-screen .cc-more-group-title { font-size: 18px; font-weight: 720; line-height: 1.16; }
.cc-more-screen .cc-more-group-title:has(> button) { margin-block: 0 5px; }
.cc-more-screen .cc-more-group-title:not(:has(> button)) { margin-block: 0 8px; }
.cc-more-screen .cc-more-subgroup > .cc-more-group-title { color: var(--cc-more-muted); font-size: 13px; font-weight: 670; }
.cc-more-screen button.cc-more-disclosure {
  display: flex;
  width: 100%;
  min-height: 38px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.cc-more-screen .cc-more-disclosure svg { width: 18px; height: 18px; flex: none; }
.cc-more-screen .cc-more-disclosure[aria-expanded="true"] svg { transform: rotate(180deg); }
.cc-more-screen button.cc-more-support { margin-top: 17px; }
.cc-more-screen :is(.cc-more-empty, .cc-more-editor-hint) { margin: 0 0 12px; color: var(--cc-more-muted); font-size: 14px; }
.cc-more-screen .cc-more-editor-actions { display: flex; gap: 10px; margin-top: 14px; }
.cc-more-screen .cc-more-editor-actions .cc-more-card { justify-content: center; }
.cc-more-screen .cc-more-save:not(:disabled) { border-color: var(--cc-more-accent); }
.cc-more-screen .cc-more-dock.cc-more-dock-inside {
  position: static;
  width: calc(100% - 20px);
  margin: 4px auto max(8px, env(safe-area-inset-bottom));
}
.cc-more-screen :is(button, a):focus-visible, .cc-more-dock .cc-more-dock-item:focus-visible,
.cc-more-screen .cc-more-search:focus-within { outline: 2px solid var(--cc-more-accent); outline-offset: 2px; }
@media (max-width: 340px) {
  .cc-more-screen .cc-more-card { font-size: 13px; gap: 7px; padding-inline: 8px; }
  .cc-more-screen .cc-more-card > svg { width: 17px; height: 17px; }
}
