:root {
  --bg: #f5f7fb;
  --panel: #ffffff;
  --panel-soft: #f8fafc;
  --line: #dbe3ef;
  --line-strong: #c9d4e5;
  --text: #10223d;
  --muted: #73839c;
  --accent: #f97316;
  --accent-soft: rgba(249, 115, 22, 0.1);
  --blue: #3b82f6;
  --green: #10b981;
  --red: #ef4444;
  --shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.checkbox-field {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #334155;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.08), transparent 28%),
    linear-gradient(180deg, #f7f9fc 0%, #f4f7fb 100%);
  color: var(--text);
  font-family: Inter, "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", system-ui, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.dashboard-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 246px minmax(0, 1fr);
  transition: grid-template-columns 0.28s ease;
}

.dashboard-shell.sidebar-collapsed {
  grid-template-columns: 84px minmax(0, 1fr);
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
  border-right: 1px solid rgba(219, 227, 239, 0.8);
  padding: 18px 10px 18px 12px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  overflow: hidden;
}

.sidebar-collapse-toggle {
  width: 34px;
  height: 34px;
  margin-left: auto;
  border: 1px solid rgba(219, 227, 239, 0.9);
  border-radius: 10px;
  background: rgba(248, 250, 252, 0.95);
  color: #51627b;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.28s ease;
}

.sidebar-collapse-toggle:hover {
  background: rgba(59, 130, 246, 0.08);
  color: #1d4ed8;
}

.sidebar-collapse-toggle .nav-icon {
  transition: transform 0.28s ease;
  transform: rotate(90deg);
}

.brand {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  padding: 8px 8px 0;
}

.brand-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.brand-copy strong {
  padding-left: 0;
  font-size: 14px;
  color: #1e2d42;
  letter-spacing: -0.02em;
}

.brand-copy span {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}

.nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nav-item {
  height: 48px;
  width: 100%;
  border: 0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 14px;
  color: #506179;
  font-size: 15px;
  cursor: pointer;
  background: transparent;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-item:hover {
  background: rgba(249, 115, 22, 0.06);
  color: #22314a;
}

.nav-item.active {
  background: rgba(59, 130, 246, 0.1);
  color: #1d4ed8;
  font-weight: 700;
}

.nav-item.active .nav-icon {
  color: #4f7fd8;
  opacity: 0.9;
}

.nav-icon {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #8a99ad;
  opacity: 0.78;
  flex: none;
}

.nav-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sidebar-footer {
  margin-top: auto;
  padding: 12px 10px 6px;
  color: var(--muted);
  font-size: 12px;
}

.dashboard-shell.sidebar-collapsed .sidebar {
  padding: 18px 8px 18px;
  gap: 14px;
}

.dashboard-shell.sidebar-collapsed .brand {
  min-height: 8px;
  padding: 0;
}

.dashboard-shell.sidebar-collapsed .brand-copy,
.dashboard-shell.sidebar-collapsed .nav-item span:last-child,
.dashboard-shell.sidebar-collapsed .sidebar-footer {
  display: none;
}

.dashboard-shell.sidebar-collapsed .nav-item {
  justify-content: center;
  padding: 0;
}

.dashboard-shell.sidebar-collapsed .sidebar-collapse-toggle .nav-icon {
  transform: rotate(-90deg);
}

.content-shell {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.topbar {
  height: 60px;
  padding: 0 24px 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(219, 227, 239, 0.75);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
}

.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.workspace-select,
.filter-button,
.source-button {
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: #22314a;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset;
}

.workspace-select {
  min-width: 168px;
  justify-content: space-between;
}

.workspace-select > span {
  font-size: 13px;
}

.account-chip {
  color: #263951;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.account-chip > span:nth-child(2) {
  font-size: 13px;
}

.account-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #1d4ed8, #60a5fa);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.workspace {
  min-height: 0;
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  padding: 14px 16px 16px;
}

.main-panel {
  min-width: 0;
  min-height: 0;
}

.main-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.toolbar,
.panel-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(219, 227, 239, 0.75);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.toolbar {
  min-height: 62px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  flex-wrap: wrap;
}

.title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #1e2b42;
  font-weight: 600;
  flex-wrap: wrap;
}

.title-row strong {
  font-size: 15px;
}

.subtitle {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.toolbar-spacer {
  flex: 1;
}

.dashboard-date-filter {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}

.dashboard-date-filter__field {
  display: grid;
  gap: 4px;
  color: #52606d;
  font-size: 11px;
  font-weight: 800;
}

.dashboard-date-filter__field .dashboard-date-filter__range-input {
  width: 238px;
  color: #203046;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
}

.dashboard-date-filter__actions {
  flex-wrap: nowrap;
}

.dashboard-toolbar-refresh {
  align-self: flex-end;
}

.flatpickr-calendar {
  border: 1px solid #dbe3ef;
  border-radius: 8px;
  font-family: Inter, "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", system-ui, sans-serif;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.16);
}

.flatpickr-calendar.open {
  z-index: 1300;
}

.flatpickr-months {
  padding: 6px 8px 0;
}

.flatpickr-current-month {
  padding-top: 9px;
  color: #1e2b42;
  font-size: 15px;
  font-weight: 800;
}

.flatpickr-current-month .flatpickr-monthDropdown-months,
.flatpickr-current-month input.cur-year {
  font-weight: 800;
}

.flatpickr-weekdays {
  margin-top: 4px;
}

span.flatpickr-weekday {
  color: #73839c;
  font-size: 12px;
  font-weight: 800;
}

.flatpickr-day {
  border-radius: 6px;
  color: #334155;
  font-weight: 600;
}

.flatpickr-day:hover,
.flatpickr-day:focus {
  border-color: #e2e8f0;
  background: #f1f5f9;
}

.flatpickr-day.today {
  border-color: #f97316;
  color: #c2410c;
}

.flatpickr-day.inRange {
  border-color: #eff6ff;
  background: #eff6ff;
  color: #1e40af;
  box-shadow: -5px 0 0 #eff6ff, 5px 0 0 #eff6ff;
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.selected:hover,
.flatpickr-day.startRange:hover,
.flatpickr-day.endRange:hover {
  border-color: #2563eb;
  background: #2563eb;
  color: #fff;
}

.flatpickr-day.today.selected,
.flatpickr-day.today.startRange,
.flatpickr-day.today.endRange {
  border-color: #2563eb;
  color: #fff;
}

.flatpickr-months .flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month {
  top: 6px;
  color: #64748b;
  fill: #64748b;
}

.flatpickr-months .flatpickr-prev-month:hover,
.flatpickr-months .flatpickr-next-month:hover {
  color: #2563eb;
  fill: #2563eb;
}

.summary-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  border: 1px solid rgba(219, 227, 239, 0.85);
  border-radius: 16px;
  padding: 14px;
  background: linear-gradient(180deg, #ffffff, #fbfcfe);
}

.summary-strip--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.metric {
  text-align: center;
}

.metric-label {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 8px;
}

.metric-value {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.metric-value.positive {
  color: var(--green);
}

.metric-value.negative {
  color: var(--red);
}

.metric-value.neutral {
  color: #5f6f87;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.quick-entry-card {
  display: grid;
  gap: 12px;
}

.quick-entry-card:hover {
  border-color: rgba(249, 115, 22, 0.35);
}

.quick-entry-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
}

.quick-entry-card__meta span {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(249, 115, 22, 0.08);
}

.split-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 16px;
}

.panel-header {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(219, 227, 239, 0.75);
}

.panel-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  font-weight: 700;
}

.panel-subtitle {
  color: var(--muted);
  font-size: 12px;
  margin-top: 4px;
}

.panel-body {
  padding: 18px 20px 20px;
}


.field-grid {
  display: grid;
  gap: 12px;
}

.field {
  display: grid;
  gap: 6px;
}

.field--inline {
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
}

.field--inline .field-label {
  font-size: 12px;
  font-weight: 600;
}

.field-label {
  color: #334155;
  font-size: 13px;
  font-weight: 700;
}

.field-help {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.input,
.select,
.textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(197, 208, 222, 0.95);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  color: #203046;
  padding: 0 14px;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.input::placeholder,
.textarea::placeholder {
  color: rgba(115, 131, 156, 0.82);
  font-size: 0.875rem;
}

.input,
.select {
  height: 38px;
}

.textarea {
  min-height: 120px;
  padding: 12px 14px;
  resize: vertical;
}

.input:focus,
.select:focus,
.textarea:focus {
  border-color: rgba(249, 115, 22, 0.42);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.08);
}

.form-grid {
  display: grid;
  gap: 12px;
}

.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid rgba(219, 227, 239, 0.85);
  border-radius: 12px;
  background: #fff;
  padding: 12px 14px;
}

.toggle-row span {
  color: #334155;
  font-size: 13px;
  font-weight: 700;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.button-row--center {
  justify-content: center;
}

.toolbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.button {
  height: 38px;
  border-radius: 12px;
  border: 1px solid transparent;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  font-weight: 800;
  font-size: 13px;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.button:hover:not(:disabled) {
  transform: translateY(-1px);
}

.button.primary {
  background: linear-gradient(180deg, rgba(249, 115, 22, 0.15), rgba(249, 115, 22, 0.08));
  color: #d45616;
  border-color: rgba(249, 115, 22, 0.26);
}

.button.secondary {
  border-color: #cbd5e1;
  background: #f8fafc;
  color: #41556f;
}

.excel-actions {
  display: inline-flex;
  border: 1px solid rgba(33, 115, 70, 0.3);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
  overflow: hidden;
}

.button.secondary.excel-button {
  border: 0;
  border-radius: 0;
  background: linear-gradient(180deg, #fff, #f4faf6);
  color: #185c37;
}

.button.secondary.excel-button + .excel-button {
  border-left: 1px solid rgba(33, 115, 70, 0.2);
}

.button.secondary.excel-button:hover:not(:disabled) {
  background: #eaf4ed;
  color: #114d2e;
}

.button.secondary.excel-button:focus-visible {
  position: relative;
  z-index: 1;
  outline: 3px solid rgba(33, 115, 70, 0.22);
  outline-offset: -3px;
}

.excel-button__icon {
  width: 24px;
  height: 24px;
  display: inline-grid;
  flex: 0 0 24px;
  place-items: center;
  margin-left: -5px;
}

.excel-button__icon svg {
  width: 24px;
  height: 24px;
  overflow: visible;
}

.excel-button__sheet {
  fill: #217346;
}

.excel-button__mark {
  fill: #185c37;
}

.excel-button__fold,
.excel-button__arrow {
  fill: none;
  stroke: #fff;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.excel-button__x {
  fill: none;
  stroke: #fff;
  stroke-linecap: round;
  stroke-width: 2.2;
}

.button.danger {
  border-color: rgba(239, 68, 68, 0.2);
  background: rgba(254, 242, 242, 0.96);
  color: #b42318;
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
  transform: none;
}

.badge {
  height: 24px;
  border-radius: 999px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
}

.badge.blue {
  background: rgba(59, 130, 246, 0.12);
  color: #2563eb;
}

.badge.orange {
  background: rgba(249, 115, 22, 0.12);
  color: #d45616;
}

.badge.pink {
  background: rgba(244, 114, 182, 0.12);
  color: #db2777;
}

.badge.purple {
  background: rgba(168, 85, 247, 0.12);
  color: #7e22ce;
}

.badge.green {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
}

.badge.red {
  background: rgba(239, 68, 68, 0.12);
  color: #b91c1c;
}

.badge.gray {
  background: rgba(148, 163, 184, 0.14);
  color: #475569;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.data-table th {
  text-align: left;
  padding: 10px 8px;
  border-bottom: 1px solid #e5ebf0;
  color: #52606d;
  font-weight: 700;
}

.data-table th.data-table__actions,
.data-table td.data-table__actions {
  text-align: center;
}

.data-table th.data-table__center,
.data-table td.data-table__center {
  text-align: center;
}

.data-table td {
  padding: 12px 8px;
  border-bottom: 1px solid #eef2f6;
  vertical-align: middle;
}

.data-table tbody tr:hover {
  background: rgba(249, 115, 22, 0.03);
}

.table-shell {
  overflow-x: auto;
}

#meetings-panel .meeting-list-table {
  min-width: 1260px;
  table-layout: fixed;
}

#meetings-panel .meeting-list-table col.meeting-list-table__name {
  width: 25%;
}

#meetings-panel .meeting-list-table col.meeting-list-table__keywords {
  width: 17%;
}

#meetings-panel .meeting-list-table col.meeting-list-table__created {
  width: 12%;
}

#meetings-panel .meeting-list-table col.meeting-list-table__cooldown,
#meetings-panel .meeting-list-table col.meeting-list-table__status {
  width: 8%;
}

#meetings-panel .meeting-list-table col.meeting-list-table__actions {
  width: 30%;
}

#meetings-panel .meeting-list-table .data-table__actions .button-row {
  flex-wrap: nowrap;
  justify-content: center;
}

#meetings-panel .meeting-list-table .data-table__actions .button {
  white-space: nowrap;
}

.meeting-keyword-chips {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
}

.meeting-keyword-chips span,
.meeting-keyword-chips em {
  max-width: 120px;
  padding: 5px 8px;
  overflow: hidden;
  border: 1px solid rgba(249, 115, 22, 0.18);
  border-radius: 8px;
  background: rgba(249, 115, 22, 0.07);
  color: #b94e12;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.meeting-keyword-chips em {
  border-color: rgba(203, 213, 225, 0.8);
  background: #f8fafc;
  color: #64748b;
}

.meeting-keyword-empty {
  color: #94a3b8;
  font-size: 12px;
  font-weight: 700;
}

.meeting-transcript-action--live::before {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.13);
  content: "";
}

.dashboard-report-table {
  min-width: 1080px;
  table-layout: fixed;
}

.dashboard-report-table col.dashboard-report-table__kind {
  width: 10%;
}

.dashboard-report-table col.dashboard-report-table__meeting {
  width: 18%;
}

.dashboard-report-table col.dashboard-report-table__text {
  width: 22%;
}

.dashboard-report-table col.dashboard-report-table__time {
  width: 17%;
}

.dashboard-report-table col.dashboard-report-table__status {
  width: 10%;
}

.dashboard-report-table col.dashboard-report-table__actions {
  width: 23%;
}

.dashboard-report-table th,
.dashboard-report-table td:not(:nth-child(3)),
.dashboard-report-table .badge,
.dashboard-report-table .button {
  white-space: nowrap;
}

.dashboard-report-table__single-line {
  display: block;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-report-table td:nth-child(2) {
  min-width: 0;
  overflow: hidden;
}

.dashboard-report-table__clamped-text {
  display: -webkit-box;
  overflow: hidden;
  line-height: 1.45;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.dashboard-report-table .data-table__actions .button-row {
  flex-wrap: nowrap;
}

.dashboard-report-group-row {
  background: #fff;
}

.dashboard-report-group-row[aria-expanded="true"] {
  background: rgba(59, 130, 246, 0.04);
}

.dashboard-report-group-row td {
  border-bottom-color: #dfe7f1;
}

.dashboard-report-group__name {
  display: grid;
  gap: 4px;
}

.dashboard-report-group__name span {
  color: var(--muted);
  font-size: 12px;
}

.button.secondary.dashboard-group-toggle {
  width: 34px;
  min-width: 34px;
  height: 34px;
  padding: 0;
  border-color: transparent;
  border-radius: 8px;
  background: #f1f5f9;
  color: #64748b;
  box-shadow: inset 0 0 0 1px rgba(203, 213, 225, 0.45);
}

.button.secondary.dashboard-group-toggle:hover:not(:disabled) {
  border-color: rgba(59, 130, 246, 0.2);
  background: rgba(59, 130, 246, 0.09);
  color: #2563eb;
  transform: none;
}

.button.secondary.dashboard-group-toggle[aria-expanded="true"] {
  border-color: rgba(59, 130, 246, 0.18);
  background: rgba(59, 130, 246, 0.1);
  color: #2563eb;
}

.dashboard-group-toggle:focus-visible {
  outline: 3px solid rgba(59, 130, 246, 0.2);
  outline-offset: 2px;
}

.dashboard-group-toggle__icon {
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.2s ease;
}

.dashboard-group-toggle[aria-expanded="true"] .dashboard-group-toggle__icon {
  transform: translateY(2px) rotate(225deg);
}

@media (prefers-reduced-motion: reduce) {
  .dashboard-group-toggle__icon {
    transition: none;
  }
}

.dashboard-report-detail-row:hover {
  background: transparent !important;
}

.dashboard-report-detail-row > td {
  padding: 0 10px 16px;
  background: #f8fafc;
}

.dashboard-report-detail {
  border: 1px solid #dfe7f1;
  border-top: 0;
  background: #fff;
}

.dashboard-report-group-table {
  min-width: 760px;
  table-layout: fixed;
}

.dashboard-report-group-table col.dashboard-report-group-table__meeting {
  width: 38%;
}

.dashboard-report-group-table col.dashboard-report-group-table__count {
  width: 12%;
}

.dashboard-report-group-table col.dashboard-report-group-table__time {
  width: 22%;
}

.dashboard-report-group-table col.dashboard-report-group-table__status {
  width: 16%;
}

.dashboard-report-group-table col.dashboard-report-group-table__actions {
  width: 12%;
}

.dashboard-report-detail-table {
  min-width: 940px;
  table-layout: fixed;
}

.dashboard-report-detail-table col.dashboard-report-detail-table__kind {
  width: 13%;
}

.dashboard-report-detail-table col.dashboard-report-detail-table__text {
  width: 31%;
}

.dashboard-report-detail-table col.dashboard-report-detail-table__time {
  width: 18%;
}

.dashboard-report-detail-table col.dashboard-report-detail-table__status {
  width: 13%;
}

.dashboard-report-detail-table col.dashboard-report-detail-table__actions {
  width: 25%;
}

.dashboard-report-detail-table .data-table__actions .button-row {
  flex-wrap: nowrap;
}

.muted {
  color: var(--muted);
}

.empty-state {
  margin: 0;
  padding: 16px 0 4px;
  color: #6b7785;
  font-size: 14px;
}

.message {
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 14px;
  border: 1px solid transparent;
}

.message.success {
  background: #ecfdf3;
  border-color: #abefc6;
  color: #067647;
}

.message.error {
  background: #fef3f2;
  border-color: #fecdca;
  color: #b42318;
}

.floating-alert {
  position: fixed;
  bottom: 18px;
  right: 18px;
  z-index: 1200;
  max-width: min(360px, calc(100vw - 36px));
  border-radius: 8px;
  padding: 12px 14px;
  border: 1px solid transparent;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.18);
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
}

.floating-alert.success {
  background: #ecfdf3;
  border-color: #abefc6;
  color: #067647;
}

.floating-alert.error {
  background: #fef3f2;
  border-color: #fecdca;
  color: #b42318;
}

.card-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stack-gap {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mini-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mini-pill {
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(250, 204, 21, 0.14);
  color: #b45309;
  font-weight: 700;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  white-space: nowrap;
}

.mini-pill.danger {
  background: rgba(239, 68, 68, 0.12);
  color: #b91c1c;
}

.table-meta {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  word-break: break-all;
}

.table-meta.warning {
  color: #d45616;
  font-weight: 700;
}

.recipient-page {
  gap: 14px;
}

.log-page {
  gap: 14px;
}

.log-filter-bar {
  display: grid;
  grid-template-columns: minmax(130px, 0.35fr) minmax(220px, 0.7fr) minmax(260px, 1fr);
  align-items: end;
  gap: 12px;
  border-bottom: 1px solid var(--line);
}

.log-filter {
  gap: 6px;
}

.log-summary-header {
  padding-bottom: 10px;
}

.log-table {
  min-width: 1020px;
  table-layout: fixed;
}

.log-table col.log-table__level {
  width: 9%;
}

.log-table col.log-table__meeting {
  width: 20%;
}

.log-table col.log-table__message {
  width: 33%;
}

.log-table col.log-table__tracking {
  width: 23%;
}

.log-table col.log-table__time {
  width: 15%;
}

.recipient-table,
.log-table {
  border-collapse: separate;
  border-spacing: 0 8px;
}

.recipient-table tbody td,
.log-table tbody td {
  border-top: 1px solid #e8edf3;
  border-bottom: 1px solid #e8edf3;
  background: #fff;
}

.recipient-table tbody td:last-child,
.log-table tbody td:last-child {
  border-right: 1px solid #e8edf3;
}

.recipient-table tbody tr:hover td,
.log-table tbody tr:hover td {
  background: rgba(249, 115, 22, 0.025);
}

.log-table tbody tr td:first-child {
  border-left: 3px solid #60a5fa;
  padding-left: 13px;
}

.log-table tbody tr.log-entry--error td:first-child {
  border-left-color: var(--red);
}

.log-table tbody tr.log-entry--warn td:first-child {
  border-left-color: #f59e0b;
}

.log-table tbody td {
  vertical-align: top;
}

.log-table tbody td > time {
  color: var(--muted);
  font-size: 12px;
}

.log-entry__message {
  display: block;
  color: #1f2937;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
}

.log-entry__meta {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 11px;
}

.log-entry code,
.log-details pre {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}

.log-details {
  margin-top: 10px;
  color: #475569;
  font-size: 12px;
}

.log-details summary {
  cursor: pointer;
  font-weight: 700;
}

.log-details pre {
  max-height: 280px;
  margin: 8px 0 0;
  padding: 12px;
  overflow: auto;
  border-radius: 9px;
  background: #0f172a;
  color: #e2e8f0;
  line-height: 1.5;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

@media (max-width: 760px) {
  .log-filter-bar {
    grid-template-columns: 1fr;
  }
}

.recipient-relay-warning {
  padding: 12px 14px;
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 12px;
  background: rgba(255, 251, 235, 0.96);
  color: #92400e;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.55;
}

.recipient-table {
  min-width: 960px;
}

.recipient-table tbody tr {
  position: relative;
}

.recipient-table tbody tr td:first-child {
  border-left: 3px solid transparent;
  padding-left: 13px;
}

.recipient-table tbody tr.recipient-table__teams-on td:first-child {
  border-left-color: #0f766e;
}

.recipient-table td:first-child strong {
  color: #203046;
  font-weight: 750;
}

.channel-state {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.channel-state--mail {
  color: #334155;
}

.channel-state--mail > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.recipient-channel-switch {
  min-width: 92px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  background: transparent;
  color: #64748b;
  padding: 5px;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
}

.recipient-channel-switch__track {
  width: 36px;
  height: 20px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  padding: 2px;
  border-radius: 999px;
  background: #cbd5e1;
  transition: background 0.18s ease;
}

.recipient-channel-switch__track span {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.26);
  transition: transform 0.18s ease;
}

.recipient-channel-switch[aria-checked="true"] {
  color: #0f766e;
}

.recipient-channel-switch[aria-checked="true"] .recipient-channel-switch__track {
  background: #0f766e;
}

.recipient-channel-switch[aria-checked="true"] .recipient-channel-switch__track span {
  transform: translateX(16px);
}

.recipient-channel-switch:focus-visible {
  border-radius: 9px;
  outline: 3px solid rgba(249, 115, 22, 0.22);
  outline-offset: 2px;
}

.recipient-channel-switch:disabled {
  cursor: wait;
  opacity: 0.55;
}

.recipient-channel-cell {
  min-width: 188px;
  display: grid;
  justify-items: center;
  gap: 2px;
}

.recipient-team-account {
  max-width: 210px;
  color: #64748b;
  font-size: 11px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.recipient-team-account--warning {
  color: #b45309;
  font-weight: 800;
}

.recipient-manage-actions {
  flex-wrap: nowrap;
  justify-content: center;
}

.recipient-edit,
.recipient-delete {
  height: 32px;
  padding-inline: 11px;
  border-radius: 10px;
}

.recipient-channel-picker {
  display: grid;
  gap: 8px;
  margin: 4px 0 0;
  padding: 0;
  border: 0;
}

.recipient-channel-picker legend {
  width: 100%;
  margin-bottom: 7px;
  color: #334155;
  font-size: 13px;
  font-weight: 700;
}

.recipient-channel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.recipient-channel-option {
  min-width: 0;
  min-height: 78px;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(197, 208, 222, 0.92);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.recipient-channel-option:hover {
  border-color: rgba(15, 118, 110, 0.3);
  background: rgba(240, 253, 250, 0.48);
}

.recipient-channel-option:has(input:focus-visible) {
  border-color: rgba(249, 115, 22, 0.42);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.08);
}

.recipient-channel-option:has(input:checked) {
  border-color: rgba(15, 118, 110, 0.48);
  background: rgba(240, 253, 250, 0.72);
  box-shadow: inset 0 0 0 1px rgba(15, 118, 110, 0.08);
}

.recipient-channel-option__indicator {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #eaf2ff;
  color: #2563eb;
  font-size: 13px;
  font-weight: 900;
}

.recipient-channel-option--teams .recipient-channel-option__indicator {
  background: #e8f7f4;
  color: #0f766e;
}

.recipient-channel-option__copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.recipient-channel-option__copy strong {
  color: #334155;
  font-size: 13px;
}

.recipient-channel-option__copy small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.recipient-channel-toggle {
  width: 40px;
  height: 22px;
  position: relative;
  appearance: none;
  border: 0;
  border-radius: 999px;
  background: #cbd5e1;
  cursor: pointer;
  transition: background 0.18s ease;
}

.recipient-channel-toggle::before {
  content: "";
  width: 18px;
  height: 18px;
  position: absolute;
  top: 2px;
  left: 2px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.26);
  transition: transform 0.18s ease;
}

.recipient-channel-toggle:checked {
  background: #0f766e;
}

.recipient-channel-toggle:checked::before {
  transform: translateX(18px);
}

.recipient-channel-help {
  margin-top: 1px;
}

.recipient-channel-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.recipient-channel-fields:has(> [hidden]) {
  grid-template-columns: minmax(0, 1fr);
}

.recipient-channel-account {
  position: relative;
  margin: 0;
  padding: 13px 14px 14px;
  border: 1px solid rgba(197, 208, 222, 0.78);
  border-radius: 12px;
  background: var(--panel-soft);
}

.recipient-channel-account::before {
  content: "";
  position: absolute;
  inset: 0 14px auto;
  height: 2px;
  border-radius: 0 0 2px 2px;
  background: #3b82f6;
}

.recipient-channel-account--teams::before {
  background: #0f766e;
}

.recipient-channel-account--teams .input {
  background: rgba(240, 253, 250, 0.32);
}

@media (max-width: 620px) {
  .recipient-channel-grid,
  .recipient-channel-fields {
    grid-template-columns: minmax(0, 1fr);
  }
}

.recipient-form-actions {
  justify-content: flex-end;
  padding-top: 4px;
}

.recipient-empty {
  display: grid;
  place-items: center;
  gap: 6px;
  min-height: 190px;
  padding: 28px;
  text-align: center;
  color: var(--muted);
}

.recipient-empty strong {
  color: #334155;
}

.recipient-empty p {
  margin: 0;
  font-size: 13px;
}

.recipient-empty--error strong {
  color: #b42318;
}

.recipient-skeleton {
  display: grid;
  gap: 10px;
}

.recipient-skeleton span {
  height: 48px;
  border-radius: 10px;
  background: linear-gradient(90deg, #f1f5f9 25%, #f8fafc 50%, #f1f5f9 75%);
  background-size: 200% 100%;
}

@media (prefers-reduced-motion: no-preference) {
  .recipient-skeleton span {
    animation: recipient-skeleton-shimmer 1.35s ease-in-out infinite;
  }
}

@keyframes recipient-skeleton-shimmer {
  from {
    background-position: 100% 0;
  }

  to {
    background-position: -100% 0;
  }
}

.section-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.full-width {
  grid-column: 1 / -1;
}

.table-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.table-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid rgba(219, 227, 239, 0.85);
  border-radius: 14px;
  padding: 14px 16px;
  background: #fff;
}

.table-row strong {
  display: block;
  color: #1e2d42;
}

.stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.stats-row .badge {
  height: 28px;
}

.status-panel {
  min-height: 264px;
  display: grid;
  place-items: center;
}

.status {
  display: grid;
  gap: 8px;
  text-align: center;
}

.status strong {
  font-size: 15px;
  color: var(--text);
}

.helper-text {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.register-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
  align-items: start;
}

.register-panel {
  min-width: 0;
}

.register-panel .panel-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.register-dropzone {
  border: 1px dashed rgba(197, 208, 222, 0.95);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
  padding: 22px;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.register-dropzone:hover {
  transform: translateY(-1px);
  border-color: rgba(249, 115, 22, 0.4);
}

.register-dropzone--disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.register-dropzone__content {
  display: grid;
  gap: 8px;
  text-align: center;
}

.register-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 12px;
}

.register-preview-card {
  overflow: hidden;
  border: 1px solid rgba(219, 227, 239, 0.85);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
}

.register-preview-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1.2 / 1;
  object-fit: cover;
}

.register-preview-card__body {
  display: grid;
  gap: 12px;
  padding: 12px;
}

.register-preview-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 13px;
}

.register-preview-card__title {
  display: block;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.register-result-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.register-result-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.register-result-metric {
  border: 1px solid rgba(219, 227, 239, 0.85);
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff, #fbfcfe);
  padding: 16px;
}

.register-result-metric__label {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 8px;
}

.register-result-metric__value {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.register-result-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.register-file-status {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid rgba(219, 227, 239, 0.85);
  border-radius: 16px;
  background: #fff;
  padding: 14px 16px;
}

.register-file-status__badge {
  flex: none;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 800;
  border: 1px solid transparent;
}

.register-file-status__badge--success {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  border-color: rgba(16, 185, 129, 0.2);
}

.register-file-status__badge--error {
  background: rgba(239, 68, 68, 0.12);
  color: #b91c1c;
  border-color: rgba(239, 68, 68, 0.2);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(15, 23, 42, 0.42);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal-backdrop--nested {
  z-index: 60;
}

.modal-card {
  width: min(680px, 100%);
  max-height: min(88vh, 860px);
  overflow: auto;
  border-radius: 22px;
  border: 1px solid rgba(219, 227, 239, 0.9);
  background: linear-gradient(180deg, #ffffff, #fbfcfe);
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.22);
}

.modal-card--wide {
  width: min(1120px, 100%);
}

.meeting-config-modal {
  width: min(1040px, 100%);
  overflow: hidden;
}

.modal-header.meeting-config-modal__header {
  align-items: flex-start;
  background: #fff;
}

.meeting-config-modal__selection-summary {
  flex: 0 0 auto;
  padding: 7px 11px;
  border: 1px solid rgba(249, 115, 22, 0.22);
  border-radius: 999px;
  background: rgba(249, 115, 22, 0.08);
  color: #c25315;
  font-size: 12px;
  font-weight: 900;
}

.meeting-config-modal__selection-summary.is-empty {
  border-color: rgba(203, 213, 225, 0.9);
  background: #f8fafc;
  color: #64748b;
}

.modal-body.meeting-config-modal__body {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(430px, 1.22fr);
  gap: 0;
  padding: 0;
}

.meeting-config-section {
  min-width: 0;
  padding: 24px;
}

.meeting-config-section--details {
  border-right: 1px solid rgba(219, 227, 239, 0.82);
  background: #fbfcfe;
}

.meeting-config-section__heading {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-bottom: 20px;
}

.meeting-config-section__step {
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: #172f50;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.meeting-config-section--keywords .meeting-config-section__step {
  background: var(--accent);
  box-shadow: 0 6px 14px rgba(249, 115, 22, 0.22);
}

.meeting-config-section__heading h3,
.meeting-config-section__heading p {
  margin: 0;
}

.meeting-config-section__heading h3 {
  color: #203046;
  font-size: 15px;
  line-height: 1.6;
}

.meeting-config-section__heading p {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.meeting-cooldown-control {
  position: relative;
  display: block;
}

.meeting-cooldown-control .input {
  padding-right: 42px;
}

.meeting-cooldown-control > span {
  position: absolute;
  top: 50%;
  right: 14px;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
  transform: translateY(-50%);
  pointer-events: none;
}

.meeting-keyword-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.meeting-keyword-search {
  position: relative;
  flex: 1;
}

.meeting-keyword-search svg {
  position: absolute;
  top: 50%;
  left: 12px;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: #7c8ca4;
  stroke-width: 1.8;
  transform: translateY(-50%);
  pointer-events: none;
}

.meeting-keyword-search input {
  width: 100%;
  height: 36px;
  padding: 0 12px 0 36px;
  border: 1px solid rgba(197, 208, 222, 0.95);
  border-radius: 11px;
  outline: none;
  color: #203046;
  background: #fff;
}

.meeting-keyword-search input:focus {
  border-color: rgba(249, 115, 22, 0.42);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.08);
}

.meeting-keyword-bulk {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.meeting-keyword-bulk span {
  width: 1px;
  height: 12px;
  background: #dbe3ef;
}

.meeting-keyword-bulk button {
  padding: 3px 0;
  border: 0;
  background: transparent;
  color: #53657e;
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
}

.meeting-keyword-bulk button:hover,
.meeting-keyword-bulk button:focus-visible {
  color: #d45616;
  outline: none;
}

.meeting-keyword-list {
  min-height: 178px;
  max-height: 246px;
  overflow-y: auto;
  overscroll-behavior: contain;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  gap: 8px;
  padding: 9px;
  border: 1px solid rgba(219, 227, 239, 0.95);
  border-radius: 14px;
  background: #f8fafc;
}

.meeting-keyword-option {
  position: relative;
  min-width: 0;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 10px;
  overflow: hidden;
  border: 1px solid rgba(219, 227, 239, 0.88);
  border-radius: 11px;
  background: #fff;
  color: #34445d;
  cursor: pointer;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.meeting-keyword-option::before {
  position: absolute;
  inset: 7px auto 7px 0;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--accent);
  content: "";
  opacity: 0;
}

.meeting-keyword-option:hover:not(.is-disabled) {
  border-color: rgba(249, 115, 22, 0.32);
}

.meeting-keyword-option:focus-within {
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

.meeting-keyword-option.is-selected {
  border-color: rgba(249, 115, 22, 0.34);
  background: rgba(255, 248, 242, 0.96);
}

.meeting-keyword-option.is-selected::before {
  opacity: 1;
}

.meeting-keyword-option.is-disabled {
  background: #f1f5f9;
  color: #94a3b8;
  cursor: not-allowed;
}

.meeting-keyword-option > input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.meeting-keyword-option__check {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  display: grid;
  place-items: center;
  border: 1px solid #c6d1df;
  border-radius: 6px;
  background: #fff;
}

.meeting-keyword-option__check svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: #fff;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.meeting-keyword-option.is-selected .meeting-keyword-option__check {
  border-color: var(--accent);
  background: var(--accent);
}

.meeting-keyword-option__text {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  font-size: 12px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.meeting-keyword-option__status {
  flex: 0 0 auto;
  padding: 3px 5px;
  border-radius: 5px;
  background: #e2e8f0;
  color: #77869a;
  font-size: 9px;
  font-weight: 900;
}

.meeting-keyword-empty-state {
  grid-column: 1 / -1;
  min-height: 156px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: #7c8ca4;
  text-align: center;
  font-size: 12px;
}

.meeting-keyword-empty-state strong {
  color: #43536a;
  font-size: 13px;
}

.meeting-keyword-empty-state .button {
  margin-top: 7px;
}

.meeting-keyword-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 10px;
  color: #74849c;
  font-size: 11px;
  line-height: 1.5;
}

.meeting-keyword-note > span {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e8eef6;
  color: #63758f;
  font-size: 10px;
  font-weight: 900;
}

.meeting-keyword-note p {
  margin: 0;
}

.meeting-keyword-note a {
  color: #c25315;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.meeting-config-modal__footer {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px 14px 24px;
  border-top: 1px solid rgba(219, 227, 239, 0.82);
  background: #fff;
}

.meeting-config-modal__footer p {
  margin: 0;
  color: #6d7e96;
  font-size: 11px;
  font-weight: 700;
}

.meeting-config-modal__footer p.is-warning {
  color: #b45309;
}

.meeting-config-modal__footer .button-row {
  flex-wrap: nowrap;
  justify-content: flex-end;
}

.meeting-delete-modal {
  width: min(480px, 100%);
  overflow: hidden;
}

.meeting-delete-modal__header {
  min-height: auto;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 22px;
  background: #fff;
}

.meeting-delete-modal__icon {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: #52606d;
  background: #f3f6fb;
  border: 1px solid rgba(219, 227, 239, 0.95);
}

.meeting-delete-modal__icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.meeting-delete-modal__heading {
  display: grid;
  gap: 5px;
  padding-top: 2px;
}

.meeting-delete-modal__eyebrow {
  color: #64748b;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.meeting-delete-modal__warning {
  display: grid;
  gap: 8px;
  padding: 15px 16px;
  border-radius: 14px;
  border: 1px solid rgba(219, 227, 239, 0.95);
  background: #f8fafc;
}

.meeting-delete-modal__meeting {
  color: #203046;
  font-size: 15px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.meeting-delete-modal__warning p,
.meeting-delete-modal__note {
  margin: 0;
}

.meeting-delete-modal__warning p {
  color: #52606d;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
}

.meeting-delete-modal__note {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 13px 2px 0;
  color: #64748b;
  font-size: 12px;
  line-height: 1.55;
}

.meeting-delete-modal__note span {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.14);
  color: #64748b;
  font-size: 11px;
  font-weight: 900;
}

.meeting-delete-modal__actions {
  justify-content: flex-end;
  margin-top: 20px;
}

.meeting-delete-modal__confirm {
  min-width: 98px;
}

.keyword-import-confirm-modal__icon {
  border-color: rgba(33, 115, 70, 0.2);
  background: #eaf4ed;
  color: #217346;
}

.keyword-import-confirm-modal__icon rect {
  fill: #185c37;
  stroke: none;
}

.keyword-import-confirm-modal__icon path:last-child {
  stroke: #fff;
}

.keyword-import-confirm-modal__summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 14px;
  border: 1px solid rgba(219, 227, 239, 0.95);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}

.keyword-import-confirm-modal__summary > div {
  min-width: 0;
  display: grid;
  gap: 4px;
  padding: 12px 9px;
  text-align: center;
}

.keyword-import-confirm-modal__summary > div + div {
  border-left: 1px solid rgba(219, 227, 239, 0.8);
}

.keyword-import-confirm-modal__summary span {
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.keyword-import-confirm-modal__summary strong {
  color: #185c37;
  font-size: 15px;
}

.keyword-import-confirm-modal__summary > div:nth-child(3) strong {
  color: #b42318;
}

.keyword-import-confirm-modal__delete-warning {
  color: #b42318;
  font-weight: 700;
}

.keyword-import-confirm-modal__delete-warning span {
  background: rgba(239, 68, 68, 0.1);
  color: #b42318;
}

.keyword-import-confirm-modal__confirm {
  min-width: 98px;
}

.report-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
}

.report-bullet-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
}

.report-email-preview {
  display: block;
  width: 100%;
  height: min(68vh, 720px);
  min-height: 420px;
  border: 1px solid rgba(219, 227, 239, 0.95);
  border-radius: 14px;
  background: #f3f6fb;
}

.meeting-live-monitor-modal {
  height: min(88vh, 860px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.meeting-live-monitor-modal__actions {
  align-items: center;
  justify-content: flex-end;
}

.meeting-live-monitor-modal__body {
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.meeting-live-monitor-modal__grid {
  width: 100%;
  height: 100%;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(360px, 0.85fr);
  gap: 16px;
}

.meeting-live-monitor-modal__panel {
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.meeting-live-monitor-modal__player,
.meeting-live-monitor-modal__transcript-scroll {
  flex: 1;
  min-height: 0;
}

.meeting-live-monitor-modal__player {
  display: grid;
  align-content: start;
  overflow: auto;
}

.meeting-live-monitor-modal__transcript-scroll {
  max-height: none;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.meeting-live-monitor-modal__transcript-group {
  display: grid;
  gap: 10px;
}

.meeting-live-monitor-modal__transcript-group:empty {
  display: none;
}

.meeting-stt-grid {
  align-items: start;
}

.meeting-stt-player {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 360px;
  border: 0;
  border-radius: 16px;
  background: #0f172a;
}

.meeting-capture-guide {
  margin: 0 18px;
  padding: 10px 12px;
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  background: #eff6ff;
  color: #1e3a8a;
  font-size: 13px;
  line-height: 1.55;
}

.meeting-source-actions {
  display: flex;
  justify-content: flex-end;
  padding: 0 18px 18px;
}

.meeting-stt-transcript-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 620px;
  overflow: auto;
}

#saved-transcripts,
#live-transcripts {
  display: grid;
  gap: 10px;
}

.meeting-stt-debug {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 10px 12px;
  border: 1px dashed rgba(197, 208, 222, 0.95);
  border-radius: 12px;
  background: rgba(248, 250, 252, 0.9);
  font-size: 12px;
}

.meeting-stt-transcript {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(219, 227, 239, 0.9);
  border-radius: 14px;
  background: #fff;
  padding: 12px 14px;
}

.meeting-stt-transcript--live {
  border-color: rgba(249, 115, 22, 0.28);
  background: rgba(249, 115, 22, 0.05);
}

.meeting-stt-transcript__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  -webkit-user-select: none;
  user-select: none;
}

.meeting-stt-transcript p {
  margin: 0;
  color: #203046;
  font-size: 14px;
  line-height: 1.65;
  word-break: break-word;
}

.modal-header {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(219, 227, 239, 0.75);
}

.modal-body {
  padding: 18px 20px 20px;
}

@media (max-width: 1280px) {
  .summary-strip,
  .section-grid,
  .register-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .dashboard-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    display: none;
  }

  .workspace,
  .summary-strip,
  .section-grid,
  .split-grid,
  .register-grid {
    grid-template-columns: 1fr;
  }

  .topbar {
    padding-inline: 16px;
  }

  .workspace {
    padding-top: 12px;
  }

  .meeting-config-modal {
    overflow-y: auto;
  }

  .modal-body.meeting-config-modal__body {
    grid-template-columns: 1fr;
  }

  .meeting-config-section--details {
    border-right: 0;
    border-bottom: 1px solid rgba(219, 227, 239, 0.82);
  }

  .meeting-live-monitor-modal {
    height: auto;
    overflow: auto;
  }

  .meeting-live-monitor-modal__body {
    flex: none;
    overflow: visible;
  }

  .meeting-live-monitor-modal__grid {
    height: auto;
    grid-template-columns: 1fr;
  }

  .meeting-live-monitor-modal__panel {
    min-height: 0;
  }

  .meeting-live-monitor-modal__transcript-scroll {
    flex: none;
    min-height: 280px;
    max-height: min(44vh, 420px);
  }
}

@media (max-width: 640px) {
  .panel-header,
  .panel-body,
  .toolbar {
    padding-inline: 16px;
  }

  .summary-strip {
    padding: 12px;
  }

  .button-row {
    width: 100%;
  }

  .button {
    width: 100%;
  }

  .meeting-config-modal__header {
    flex-direction: column;
  }

  .meeting-config-section {
    padding: 20px 16px;
  }

  .meeting-keyword-tools,
  .meeting-config-modal__footer {
    align-items: stretch;
    flex-direction: column;
  }

  .meeting-keyword-bulk {
    justify-content: flex-end;
  }

  .meeting-keyword-list {
    grid-template-columns: 1fr;
  }

  .meeting-config-modal__footer {
    padding: 14px 16px 16px;
  }

  .meeting-config-modal__footer .button-row {
    flex-direction: column-reverse;
  }

  .excel-actions {
    width: 100%;
  }

  .button.secondary.excel-button {
    width: 50%;
  }

  .toolbar-actions {
    width: 100%;
  }

  .dashboard-date-filter {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .dashboard-date-filter__field {
    grid-column: 1 / -1;
  }

  .dashboard-date-filter__field .dashboard-date-filter__range-input {
    width: 100%;
  }

  .dashboard-date-filter__actions {
    grid-column: 1 / -1;
  }

  .dashboard-date-filter__actions .button {
    width: auto;
    flex: 1;
  }

  .dashboard-toolbar-refresh {
    align-self: stretch;
  }

  .button.dashboard-group-toggle {
    width: 34px;
  }

  .workspace-select {
    min-width: 0;
    width: 100%;
  }

  .topbar-right {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .modal-card {
    width: 100%;
  }

  .modal-card--wide {
    width: 100%;
  }

  .keyword-import-confirm-modal__summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .keyword-import-confirm-modal__summary > div:nth-child(3) {
    border-left: 0;
    border-top: 1px solid rgba(219, 227, 239, 0.8);
  }

  .keyword-import-confirm-modal__summary > div:nth-child(4) {
    border-top: 1px solid rgba(219, 227, 239, 0.8);
  }

  .meeting-live-monitor-modal .modal-header {
    align-items: stretch;
    flex-direction: column;
  }

  .meeting-live-monitor-modal__actions {
    justify-content: flex-start;
  }

  .report-detail-grid {
    grid-template-columns: 1fr;
  }

  .register-result-metrics {
    grid-template-columns: 1fr;
  }

  .recipient-form-actions .button {
    flex: 1;
  }
}

.meeting-stt-transcript__editable {
  border-radius: 8px;
  cursor: text;
  transition: background 0.16s ease, box-shadow 0.16s ease;
}

.meeting-stt-transcript__editable:hover,
.meeting-stt-transcript__editable:focus-visible {
  background: rgba(59, 130, 246, 0.07);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.07);
  outline: none;
}

.meeting-stt-transcript--editing {
  border-color: rgba(249, 115, 22, 0.35);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.07);
}

.meeting-stt-transcript__actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-left: auto;
}

.button--compact {
  height: 30px;
  border-radius: 9px;
  padding: 0 10px;
  font-size: 12px;
}

.meeting-stt-editor {
  display: grid;
  gap: 8px;
}

.meeting-stt-editor__textarea {
  width: 100%;
  min-height: 96px;
  resize: vertical;
  line-height: 1.6;
}

.meeting-stt-editor__actions,
.meeting-stt-speaker-editor {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.meeting-stt-speaker-button {
  border: 0;
  cursor: pointer;
}

.meeting-stt-speaker-button:hover {
  background: rgba(59, 130, 246, 0.16);
  color: #1d4ed8;
}

.meeting-stt-speaker-editor__input {
  width: min(180px, 100%);
  height: 32px;
  padding: 0 10px;
}

.meeting-stt-speaker-editor__scope {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #52606d;
  font-size: 12px;
  font-weight: 700;
  -webkit-user-select: none;
  user-select: none;
}
