/* Nuli Coaching Dashboard v2 — Nuli Design System
   來源: ~/Desktop/Rita-agent/100_Drafts/nuli/DESIGN.md
   主色: 紫色系 #4E30C5 / #6F64DB / #9991E1
   字體: Noto Sans TC + Inter
   圓角: 16px / 紫色陰影 / 留白優先 */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@400;500;600;700&family=Inter:wght@400;500;600;700&display=swap');

* { box-sizing: border-box; }

body {
  font-family: "Inter", "Noto Sans TC", -apple-system, "PingFang TC", sans-serif;
  margin: 0;
  padding: 0;
  background: #FAF8FF;
  color: #262C45;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px;
}

/* === Header === */
.header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid #EBEBF0;
}

.header h1 {
  margin: 0 0 6px;
  font-size: 32px;
  font-weight: 700;
  color: #4E30C5;
  letter-spacing: -0.5px;
}

.header .sub {
  color: #6F64DB;
  font-size: 14px;
  font-weight: 500;
}

.header .updated {
  font-size: 12px;
  color: #9991E1;
  margin-top: 4px;
}

/* === Role Switcher (Nav Pills) === */
.role-switch {
  display: inline-flex;
  gap: 4px;
  background: #FFFFFF;
  border: 1px solid #EBEBF0;
  border-radius: 14px;
  padding: 5px;
  margin-bottom: 28px;
  box-shadow: 0 4px 12px rgba(78, 48, 197, 0.06);
}

.role-switch a {
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 10px;
  color: #6F64DB;
  text-decoration: none;
  transition: all 0.15s;
}

.role-switch a:hover {
  background: #FAF8FF;
}

.role-switch a.active {
  background: linear-gradient(135deg, #5D5CD4 0%, #B29DEF 100%);
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(78, 48, 197, 0.2);
}

/* === Period Controls (time switcher + picker on same row) === */
.period-controls {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  flex-wrap: nowrap;
  background: #FFFFFF;
  border: 1px solid #EBEBF0;
  border-radius: 14px;
  padding: 4px;
  box-shadow: 0 2px 8px rgba(78, 48, 197, 0.04);
}

/* === Time Switcher (inside period-controls) === */
.time-switch {
  display: inline-flex;
  gap: 2px;
  background: #FAF8FF;
  border-radius: 10px;
  padding: 2px;
}

/* === Period Picker (week/month/quarter dropdown with prev/next) === */
.period-picker {
  position: relative;
  display: inline-flex;
  align-items: stretch;
  background: #FAF8FF;
  border-radius: 10px;
  overflow: visible;
}

.period-picker .period-nav {
  border: none;
  background: transparent;
  padding: 6px 10px;
  cursor: pointer;
  color: #6F64DB;
  font-size: 13px;
  font-weight: 700;
  font-family: inherit;
  border-radius: 8px;
  transition: background 0.15s;
}

.period-picker .period-nav:hover {
  background: #FFFFFF;
  color: #4E30C5;
}

.period-picker .period-current {
  border: none;
  background: transparent;
  padding: 6px 12px;
  cursor: pointer;
  color: #4E30C5;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  white-space: nowrap;
  min-width: 130px;
  border-radius: 8px;
  transition: background 0.15s;
}

.period-picker .period-current:hover {
  background: #FFFFFF;
}

.period-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #FFFFFF;
  border: 1px solid #EBEBF0;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(78, 48, 197, 0.12);
  padding: 6px;
  max-height: 320px;
  overflow-y: auto;
  z-index: 100;
  min-width: 220px;
}

.period-dropdown[hidden] { display: none; }

.period-dropdown .period-option {
  display: block;
  width: 100%;
  border: none;
  background: transparent;
  padding: 8px 12px;
  text-align: left;
  font-size: 13px;
  color: #262C45;
  font-family: inherit;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.1s;
}

.period-dropdown .period-option:hover {
  background: #FAF8FF;
  color: #4E30C5;
}

.period-dropdown .period-option.active {
  background: linear-gradient(135deg, #5D5CD4 0%, #B29DEF 100%);
  color: #FFFFFF;
  font-weight: 600;
}

.period-dropdown .period-divider {
  border-top: 1px dashed #EBEBF0;
  margin: 4px 0;
}

.period-dropdown .period-option.custom-range {
  color: #6F64DB;
  font-weight: 600;
  font-style: italic;
}

/* Custom range modal */
.range-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(78, 48, 197, 0.16);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
}

.range-modal[hidden] { display: none; }

.range-modal .modal-content {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 28px;
  width: 360px;
  box-shadow: 0 16px 48px rgba(78, 48, 197, 0.2);
}

.range-modal h3 {
  margin: 0 0 16px;
  color: #4E30C5;
}

.range-modal .date-row {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 12px 0;
}

.range-modal label {
  font-size: 13px;
  color: #6F64DB;
  font-weight: 600;
  width: 60px;
}

.range-modal input[type="date"] {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid #EBEBF0;
  border-radius: 10px;
  font-size: 14px;
  color: #262C45;
  font-family: inherit;
}

.range-modal input[type="date"]:focus {
  outline: none;
  border-color: #B29DEF;
}

.range-modal .modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 20px;
}

.range-modal button {
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  border: 1px solid #EBEBF0;
  background: #FFFFFF;
  color: #6F64DB;
}

.range-modal button.primary {
  background: linear-gradient(135deg, #5D5CD4 0%, #B29DEF 100%);
  color: #FFFFFF;
  border: none;
}

.time-switch button {
  border: none;
  background: transparent;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  color: #9991E1;
  font-family: inherit;
  transition: all 0.15s;
}

.time-switch button:hover {
  color: #6F64DB;
}

.time-switch button.active {
  background: linear-gradient(135deg, #5D5CD4 0%, #B29DEF 100%);
  color: #FFFFFF;
}

/* === Section Heading === */
h2 {
  font-size: 22px;
  font-weight: 700;
  color: #4E30C5;
  margin: 40px 0 16px;
  letter-spacing: -0.3px;
}

h2:first-child { margin-top: 0; }

h3 {
  font-size: 16px;
  font-weight: 600;
  color: #6F64DB;
  margin: 16px 0 8px;
}

h4 {
  font-size: 14px;
  font-weight: 600;
  color: #9991E1;
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* === Card Base === */
.card {
  background: #FFFFFF;
  border: 1px solid #EBEBF0;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(78, 48, 197, 0.06);
}

.card-soft {
  background: #FAF8FF;
  border-radius: 16px;
  padding: 24px;
}

/* === Hero KPI Cards (3 columns) === */
.kpi-hero-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 20px 0 32px;
}

@media (max-width: 768px) {
  .kpi-hero-row { grid-template-columns: 1fr; }
}

.kpi-hero {
  background: #FFFFFF;
  border: 1px solid #EBEBF0;
  border-radius: 20px;
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(78, 48, 197, 0.06);
  transition: transform 0.15s, box-shadow 0.15s;
}

.kpi-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(78, 48, 197, 0.12);
}

.kpi-hero::before {
  content: '';
  position: absolute;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(178, 157, 239, 0.25) 0%, rgba(178, 157, 239, 0) 70%);
  top: -40px;
  right: -40px;
  border-radius: 50%;
  pointer-events: none;
}

.kpi-hero .label {
  font-size: 13px;
  font-weight: 500;
  color: #9991E1;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.kpi-hero .value {
  font-size: 40px;
  font-weight: 700;
  color: #4E30C5;
  line-height: 1.1;
  margin-bottom: 6px;
  font-family: "Inter", sans-serif;
  letter-spacing: -1px;
}

.kpi-hero .value-sub {
  font-size: 14px;
  font-weight: 500;
  color: #6F64DB;
  margin-top: 4px;
}

.kpi-hero .vs-target {
  font-size: 12px;
  color: #9991E1;
  margin-top: 8px;
}

.kpi-hero .vs-target.up { color: #10B981; }
.kpi-hero .vs-target.down { color: #F472B6; }

.kpi-hero .progress-bar {
  background: #FAF8FF;
  border-radius: 100px;
  height: 6px;
  margin: 14px 0 4px;
  overflow: hidden;
}

.kpi-hero .progress-fill {
  background: linear-gradient(90deg, #5D5CD4 0%, #B29DEF 100%);
  height: 100%;
  border-radius: 100px;
  transition: width 0.4s ease;
}

.kpi-hero .progress-fill.warn {
  background: linear-gradient(90deg, #FFA67A 0%, #FFCEB3 100%);
}

.kpi-hero .progress-fill.danger {
  background: linear-gradient(90deg, #F472B6 0%, #FBA5D2 100%);
}

/* === Team Cards Grid (4 columns) === */
.team-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 16px 0;
}

@media (max-width: 1024px) {
  .team-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .team-row { grid-template-columns: 1fr; }
}

.team-card {
  background: #FFFFFF;
  border: 1px solid #EBEBF0;
  border-radius: 16px;
  padding: 20px;
  text-decoration: none;
  color: inherit;
  display: block;
  position: relative;
  transition: all 0.15s;
  box-shadow: 0 2px 8px rgba(78, 48, 197, 0.04);
}

.team-card:hover {
  transform: translateY(-3px);
  border-color: #B29DEF;
  box-shadow: 0 8px 24px rgba(78, 48, 197, 0.12);
}

.team-card .team-name {
  font-size: 18px;
  font-weight: 700;
  color: #4E30C5;
  letter-spacing: -0.3px;
}

.team-card .team-sub {
  font-size: 11px;
  color: #9991E1;
  margin: 4px 0 14px;
  font-weight: 500;
}

.team-card .lights-row {
  display: flex;
  gap: 6px;
  margin: 10px 0 14px;
}

.team-card .light {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: inline-block;
}

.light.g { background: #10B981; box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15); }
.light.y { background: #FBBF24; box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.15); }
.light.r { background: #F472B6; box-shadow: 0 0 0 3px rgba(244, 114, 182, 0.15); }
.light.gray { background: #EBEBF0; }

.team-card .metric-list {
  font-size: 12px;
  color: #6F64DB;
}

.team-card .metric-list .row {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  border-bottom: 1px dashed #EBEBF0;
}

.team-card .metric-list .row:last-child { border-bottom: none; }

.team-card .metric-list .val {
  color: #4E30C5;
  font-weight: 600;
  font-family: "Inter", sans-serif;
  font-variant-numeric: tabular-nums;
}

.team-card .metric-list .val.up { color: #10B981; }
.team-card .metric-list .val.down { color: #F472B6; }

/* === Alert List === */
.alert-list {
  background: #FFFFFF;
  border: 1px solid #EBEBF0;
  border-radius: 16px;
  padding: 8px 24px;
  box-shadow: 0 4px 12px rgba(78, 48, 197, 0.06);
}

.alert-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid #FAF8FF;
}

.alert-item:last-child { border-bottom: none; }

.alert-item .alert-icon {
  font-size: 20px;
  width: 32px;
  flex-shrink: 0;
  text-align: center;
  margin-top: 2px;
}

.alert-item .alert-body { flex: 1; }

.alert-item .alert-title {
  font-size: 14px;
  color: #262C45;
  font-weight: 500;
}

.alert-item .alert-title .who {
  color: #4E30C5;
  font-weight: 700;
}

.alert-item .alert-reason {
  font-size: 12px;
  color: #9991E1;
  margin-top: 4px;
}

.alert-item .alert-action {
  font-size: 12px;
  font-weight: 600;
  color: #6F64DB;
  text-decoration: none;
  flex-shrink: 0;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid #EBEBF0;
  transition: all 0.15s;
}

.alert-item .alert-action:hover {
  background: #FAF8FF;
  border-color: #B29DEF;
  color: #4E30C5;
}

/* === Table === */
table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  margin: 16px 0;
  font-size: 13px;
  background: #FFFFFF;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(78, 48, 197, 0.04);
}

th {
  background: #FAF8FF;
  color: #6F64DB;
  font-weight: 600;
  font-size: 12px;
  padding: 12px 14px;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid #EBEBF0;
}

td {
  padding: 12px 14px;
  border-bottom: 1px solid #FAF8FF;
  vertical-align: middle;
  color: #262C45;
}

tr:last-child td { border-bottom: none; }
tr:hover td { background: #FAF8FF; }

td.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-family: "Inter", sans-serif;
  font-weight: 600;
}

td.up { color: #10B981; font-weight: 600; }
td.down { color: #F472B6; font-weight: 600; }
td.center { text-align: center; }

.cell-bad { background: #FEF2F8; }
.cell-warn { background: #FFFBEB; }
.cell-good { background: #F0FDF4; }

/* === Quote / Text Feedback === */
.quote {
  background: #FAF8FF;
  border-left: 4px solid #B29DEF;
  padding: 14px 18px;
  border-radius: 0 12px 12px 0;
  margin: 12px 0;
}

.quote .quote-text {
  font-size: 14px;
  color: #262C45;
  line-height: 1.7;
  font-style: italic;
}

.quote .quote-text::before { content: '“'; color: #9991E1; font-size: 20px; margin-right: 2px; }
.quote .quote-text::after { content: '”'; color: #9991E1; font-size: 20px; margin-left: 2px; }

.quote .quote-meta {
  margin-top: 8px;
  font-size: 11px;
  color: #9991E1;
  display: flex;
  gap: 8px;
  align-items: center;
}

.quote .quote-meta .score-pill {
  background: #F472B6;
  color: #FFFFFF;
  padding: 2px 8px;
  border-radius: 8px;
  font-weight: 700;
  font-family: "Inter", sans-serif;
}

.quote .quote-meta .score-pill.ok {
  background: #10B981;
}

.quote-list .quote:first-child {
  margin-top: 0;
}

/* === Tags === */
.tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  margin-right: 4px;
}

.tag-red { background: #FEF2F8; color: #BE185D; }
.tag-yellow { background: #FFFBEB; color: #B45309; }
.tag-green { background: #D1FAE5; color: #047857; }
.tag-purple { background: #FAF8FF; color: #6F64DB; }
.tag-gray { background: #FAFAFB; color: #6B7280; }

/* === CEO Hero (大字暗紫底版) === */
.ceo-hero-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 20px 0 32px;
}

.ceo-hero-row.four-col {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
  .ceo-hero-row.four-col { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .ceo-hero-row, .ceo-hero-row.four-col { grid-template-columns: 1fr; }
}

.ceo-hero {
  background: linear-gradient(135deg, #4E30C5 0%, #6F64DB 60%, #9963F2 100%);
  color: #FFFFFF;
  border-radius: 24px;
  padding: 36px 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(78, 48, 197, 0.25);
}

.ceo-hero::before {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(254, 226, 245, 0.25) 0%, rgba(255, 255, 255, 0) 70%);
  top: -60px;
  right: -60px;
  border-radius: 50%;
}

.ceo-hero .label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
  position: relative;
}

.ceo-hero .value {
  font-size: clamp(24px, 2.6vw, 38px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 10px;
  position: relative;
  letter-spacing: -1px;
  font-family: "Inter", sans-serif;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ceo-hero .target-line {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
}

.ceo-hero .target-line strong {
  color: #FECDD3;
  font-weight: 700;
}

.ceo-hero .progress {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 100px;
  height: 5px;
  margin: 14px auto 0;
  width: 80%;
  overflow: hidden;
  position: relative;
}

.ceo-hero .progress-fill {
  background: linear-gradient(90deg, #FECDD3 0%, #DECBFE 100%);
  height: 100%;
  border-radius: 100px;
}

/* === Summary Text (CEO 摘要) === */
.summary-text {
  background: #FAF8FF;
  border-left: 4px solid #6F64DB;
  border-radius: 0 16px 16px 0;
  padding: 20px 24px;
  margin: 24px 0;
  font-size: 15px;
  color: #262C45;
  line-height: 1.8;
  position: relative;
}

.summary-text strong {
  color: #4E30C5;
  font-weight: 700;
}

/* === Language Toggle === */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 12px;
  background: #fff;
  border: 1px solid rgba(78, 48, 197, 0.2);
  border-radius: 12px;
  color: #9991E1;
  cursor: pointer;
  transition: all 0.15s ease;
  margin-left: 8px;
}
.lang-toggle:hover {
  border-color: #4E30C5;
  background: #FAF8FF;
}
.lang-toggle .active { color: #4E30C5; }
.lang-toggle .sep { color: #B29DEF; opacity: 0.5; }

/* === Chart Insight (圖下方小字) === */
.chart-insight {
  font-size: 12px;
  color: #666;
  margin-top: 8px;
  padding: 6px 10px;
  background: rgba(78, 48, 197, 0.04);
  border-radius: 8px;
  line-height: 1.5;
}
.chart-insight .up { color: #16A34A; font-weight: 600; }
.chart-insight .down { color: #DC2626; font-weight: 600; }
.chart-insight .muted { color: #999; }

/* === Insight Card (跨指標觀察) === */
.insight-card {
  background: #FAF8FF;
  border: 1px solid rgba(78,48,197,0.15);
  border-radius: 12px;
  padding: 16px 20px;
  margin: 16px 0 24px;
}
.insight-card-title {
  font-size: 14px;
  font-weight: 700;
  color: #4E30C5;
  margin-bottom: 10px;
}
.insight-card ul {
  margin: 0;
  padding-left: 20px;
  font-size: 13px;
  color: #262C45;
  line-height: 1.8;
}
.insight-card li strong { color: #4E30C5; }
.insight-card li.muted { color: #999; }

/* === Q Rock Banner === */
.rock-banner {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: linear-gradient(135deg, #4E30C5 0%, #6F64DB 100%);
  color: #fff;
  border-radius: 16px;
  padding: 18px 22px;
  margin: 24px 0 12px;
  box-shadow: 0 4px 16px rgba(78,48,197,0.18);
}
.rock-banner-icon { font-size: 28px; line-height: 1; }
.rock-banner-body { flex: 1; }
.rock-banner-title {
  font-size: 13px;
  font-weight: 600;
  opacity: 0.85;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.rock-banner-theme {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}
.rock-banner-notes {
  font-size: 13px;
  opacity: 0.85;
  margin-top: 6px;
  line-height: 1.5;
}
.rock-status-pill {
  font-size: 11px !important;
  padding: 2px 8px !important;
  border-radius: 10px !important;
}

/* === Chart Container === */
.chart-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 20px 0;
}

@media (max-width: 768px) {
  .chart-row { grid-template-columns: 1fr; }
}

.chart-box {
  background: #FFFFFF;
  border: 1px solid #EBEBF0;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(78, 48, 197, 0.06);
}

.chart-box canvas { max-height: 240px; }

/* === Empty state === */
.empty-state {
  padding: 32px;
  text-align: center;
  color: #9991E1;
  font-size: 13px;
  background: #FAF8FF;
  border-radius: 12px;
}

/* === Footer === */
.footer {
  margin-top: 48px;
  padding: 24px 0;
  font-size: 12px;
  color: #9991E1;
  border-top: 1px dashed #EBEBF0;
  text-align: center;
}

.footer a {
  color: #6F64DB;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

/* === Decorative Blob (左下角) === */
.blob-decor {
  position: fixed;
  bottom: -120px;
  left: -120px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(178, 157, 239, 0.18) 0%, rgba(254, 226, 245, 0.08) 50%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.wrapper { position: relative; z-index: 1; }

/* === Util === */
.muted { color: #9991E1; }
.small { font-size: 11px; }
.right { text-align: right; }
.center-text { text-align: center; }
.mt-0 { margin-top: 0; }

/* === Tag Pills for data quality === */
.quality-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 6px;
  font-weight: 500;
}

.quality-tag.warning {
  background: #FFFBEB;
  color: #92400E;
}

.quality-tag.info {
  background: #FAF8FF;
  color: #6F64DB;
}
