.sc {
  --sc-background: 0 0% 100%;
  --sc-foreground: 222.2 84% 4.9%;
  --sc-card: 0 0% 100%;
  --sc-primary: 221.2 83.2% 53.3%;
  --sc-primary-foreground: 210 40% 98%;
  --sc-secondary: 210 40% 96.1%;
  --sc-secondary-foreground: 222.2 47.4% 11.2%;
  --sc-muted: 210 40% 96.1%;
  --sc-muted-foreground: 215.4 16.3% 46.9%;
  --sc-accent: 210 40% 96.1%;
  --sc-accent-foreground: 222.2 47.4% 11.2%;
  --sc-destructive: 0 84.2% 60.2%;
  --sc-destructive-foreground: 210 40% 98%;
  --sc-border: 214.3 31.8% 91.4%;
  --sc-input: 214.3 31.8% 91.4%;
  --sc-ring: 221.2 83.2% 53.3%;
  --sc-radius: 0.5rem;
  font-family: Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
  color: hsl(var(--sc-foreground));
  -webkit-font-smoothing: antialiased;
  font-size: 0.875rem;
  line-height: 1.5;
}

.sc *, .sc *::before, .sc *::after { box-sizing: border-box; border-color: hsl(var(--sc-border)); }

.sc-page { padding: 1rem 1.5rem 2rem; max-width: 1600px; margin: 0 auto; }
.sc-page-header { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.sc-title { font-size: 1.5rem; font-weight: 600; letter-spacing: -0.01em; margin: 0; }
.sc-subtitle { color: hsl(var(--sc-muted-foreground)); margin: 0.125rem 0 0; }
.sc-muted { color: hsl(var(--sc-muted-foreground)); }
.sc-mono { font-family: "JetBrains Mono", Consolas, "Courier New", monospace; font-size: 0.8125rem; }
.sc-xs { font-size: 0.75rem; }
.sc-sm { font-size: 0.8125rem; }
.sc-semibold { font-weight: 600; }

.sc-card { background: hsl(var(--sc-card)); border: 1px solid hsl(var(--sc-border)); border-radius: var(--sc-radius); box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05); padding: 1rem 1.25rem; }
.sc-card + .sc-card { margin-top: 1rem; }
.sc-card-header { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; margin-bottom: 0.75rem; }
.sc-card-title { font-size: 0.9375rem; font-weight: 600; margin: 0; display: flex; align-items: center; gap: 0.5rem; }
.sc-card-title svg { width: 1.125rem; height: 1.125rem; color: hsl(var(--sc-primary)); }
.sc-card-count { display: inline-flex; align-items: center; justify-content: center; min-width: 1.5rem; height: 1.5rem; padding: 0 0.5rem; border-radius: 9999px; background: hsl(var(--sc-primary) / 0.1); color: hsl(var(--sc-primary)); font-size: 0.75rem; font-weight: 600; }

fieldset.sc-card { position: relative; padding-top: 1.25rem; margin: 0; min-width: 0; }
fieldset.sc-card > legend { font-size: 0.875rem; font-weight: 600; padding: 0 0.5rem; margin-left: -0.5rem; color: hsl(var(--sc-foreground)); }
fieldset.sc-card > legend .sc-legend-hint { font-weight: 400; color: hsl(var(--sc-muted-foreground)); margin-left: 0.5rem; }

.sc-grid { display: grid; gap: 1rem; grid-template-columns: repeat(1, minmax(0, 1fr)); }
@media (min-width: 640px) { .sc-grid-2, .sc-grid-3, .sc-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .sc-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .sc-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.sc-span-2 { grid-column: span 2 / span 2; }
.sc-stack { display: flex; flex-direction: column; gap: 1rem; }
.sc-row { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.sc-between { justify-content: space-between; }

.sc-field { display: flex; flex-direction: column; gap: 0.375rem; min-width: 0; }
.sc-label { font-size: 0.8125rem; font-weight: 500; line-height: 1; color: hsl(var(--sc-foreground)); }
.sc-label .sc-req { color: hsl(var(--sc-destructive)); margin-left: 0.125rem; }
.sc-help { font-size: 0.75rem; color: hsl(var(--sc-muted-foreground)); }
.sc-input, .sc-select, .sc-textarea { display: flex; width: 100%; height: 2.5rem; border-radius: calc(var(--sc-radius) - 2px); border: 1px solid hsl(var(--sc-input)); background: hsl(var(--sc-background)); padding: 0.5rem 0.75rem; font: inherit; font-size: 0.875rem; color: inherit; transition: border-color 120ms, box-shadow 120ms; }
.sc-textarea { height: auto; min-height: 5.5rem; resize: vertical; }
.sc-select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%236b7280' stroke-width='1.5'><path d='M6 8l4 4 4-4'/></svg>"); background-repeat: no-repeat; background-position: right 0.6rem center; background-size: 1rem; padding-right: 2.25rem; }
.sc-input::placeholder, .sc-textarea::placeholder { color: hsl(var(--sc-muted-foreground)); }
.sc-input:focus-visible, .sc-select:focus-visible, .sc-textarea:focus-visible { outline: none; border-color: hsl(var(--sc-ring)); box-shadow: 0 0 0 3px hsl(var(--sc-ring) / 0.25); }
.sc-input:disabled, .sc-select:disabled, .sc-textarea:disabled { cursor: not-allowed; opacity: 0.6; background: hsl(var(--sc-muted) / 0.5); }
.sc-input.sc-invalid, .sc-select.sc-invalid { border-color: hsl(var(--sc-destructive)); }
.sc-check { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; cursor: pointer; }
.sc-check input { width: 1rem; height: 1rem; accent-color: hsl(var(--sc-primary)); }

.sc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; height: 2.5rem; padding: 0 1rem; border-radius: calc(var(--sc-radius) - 2px); border: 1px solid transparent; font: inherit; font-size: 0.875rem; font-weight: 500; cursor: pointer; white-space: nowrap; transition: background-color 120ms, color 120ms, border-color 120ms; text-decoration: none; }
.sc-btn svg { width: 1rem; height: 1rem; }
.sc-btn:focus-visible { outline: none; box-shadow: 0 0 0 3px hsl(var(--sc-ring) / 0.3); }
.sc-btn:disabled { pointer-events: none; opacity: 0.5; }
.sc-btn-primary { background: hsl(var(--sc-primary)); color: hsl(var(--sc-primary-foreground)); }
.sc-btn-primary:hover { background: hsl(var(--sc-primary) / 0.9); }
.sc-btn-secondary { background: hsl(var(--sc-secondary)); color: hsl(var(--sc-secondary-foreground)); }
.sc-btn-secondary:hover { background: hsl(var(--sc-secondary) / 0.8); }
.sc-btn-outline { background: hsl(var(--sc-background)); border-color: hsl(var(--sc-input)); color: hsl(var(--sc-foreground)); }
.sc-btn-outline:hover { background: hsl(var(--sc-accent)); color: hsl(var(--sc-accent-foreground)); }
.sc-btn-ghost { background: transparent; color: hsl(var(--sc-foreground)); }
.sc-btn-ghost:hover { background: hsl(var(--sc-accent)); }
.sc-btn-destructive { background: hsl(var(--sc-destructive)); color: hsl(var(--sc-destructive-foreground)); }
.sc-btn-destructive:hover { background: hsl(var(--sc-destructive) / 0.9); }
.sc-btn-sm { height: 2.25rem; padding: 0 0.75rem; font-size: 0.8125rem; }
.sc-btn-xs { height: 1.75rem; padding: 0 0.625rem; font-size: 0.75rem; }
.sc-btn-link { height: auto; padding: 0; color: hsl(var(--sc-primary)); background: none; border: 0; }
.sc-btn-link:hover { text-decoration: underline; }

.sc-badge { display: inline-flex; align-items: center; gap: 0.25rem; border-radius: 9999px; border: 1px solid transparent; padding: 0.125rem 0.625rem; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.01em; white-space: nowrap; line-height: 1.25rem; }
.sc-badge-blue { background: #dbeafe; color: #1d4ed8; }
.sc-badge-amber { background: #fef3c7; color: #b45309; }
.sc-badge-green { background: #dcfce7; color: #15803d; }
.sc-badge-emerald { background: #d1fae5; color: #047857; }
.sc-badge-red { background: #fee2e2; color: #b91c1c; }
.sc-badge-purple { background: #ede9fe; color: #6d28d9; }
.sc-badge-slate { background: #f1f5f9; color: #475569; }
.sc-badge-gray { background: #f3f4f6; color: #4b5563; }
.sc-badge-outline { background: transparent; border-color: hsl(var(--sc-border)); color: hsl(var(--sc-foreground)); }

.sc-table-wrap { width: 100%; overflow: auto; border-radius: calc(var(--sc-radius) - 2px); border: 1px solid hsl(var(--sc-border)); }
.sc-table { width: 100%; border-collapse: collapse; font-size: 0.8125rem; }
.sc-table thead tr { background: hsl(var(--sc-muted) / 0.6); }
.sc-table th { height: 2.5rem; padding: 0 0.75rem; text-align: left; vertical-align: middle; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: hsl(var(--sc-muted-foreground)); white-space: nowrap; }
.sc-table td { padding: 0.625rem 0.75rem; vertical-align: middle; border-top: 1px solid hsl(var(--sc-border)); }
.sc-table tbody tr { transition: background-color 100ms; }
.sc-table tbody tr:hover { background: hsl(var(--sc-muted) / 0.5); }
.sc-table tbody tr.sc-clickable { cursor: pointer; }
.sc-table tr.sc-row-overdue td { background: #fef2f2; }
.sc-table tr.sc-row-today td { background: #f0fdf4; }
.sc-table td.sc-num, .sc-table th.sc-num { text-align: right; font-variant-numeric: tabular-nums; }
.sc-cell-primary { font-weight: 500; color: hsl(var(--sc-foreground)); }
.sc-cell-sub { display: block; font-size: 0.75rem; color: hsl(var(--sc-muted-foreground)); }
.sc-link { color: hsl(var(--sc-primary)); text-decoration: none; font-weight: 500; }
.sc-link:hover { text-decoration: underline; }
.sc-phone { display: inline-flex; align-items: center; gap: 0.375rem; color: hsl(var(--sc-primary)); font-weight: 500; white-space: nowrap; cursor: pointer; }
.sc-phone svg { width: 0.875rem; height: 0.875rem; }
.sc-phone:hover { text-decoration: underline; }

.sc-stat { display: flex; flex-direction: column; gap: 0.25rem; padding: 1.25rem; }
.sc-stat-label { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: hsl(var(--sc-muted-foreground)); }
.sc-stat-value { font-size: 1.75rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.sc-stat-delta { font-size: 0.75rem; color: hsl(var(--sc-muted-foreground)); }
.sc-stat-icon { width: 2.25rem; height: 2.25rem; border-radius: 0.5rem; display: inline-flex; align-items: center; justify-content: center; background: hsl(var(--sc-primary) / 0.1); color: hsl(var(--sc-primary)); }
.sc-stat-icon svg { width: 1.125rem; height: 1.125rem; }

.sc-progress { width: 100%; height: 0.625rem; border-radius: 9999px; background: hsl(var(--sc-muted)); overflow: hidden; }
.sc-progress > span { display: block; height: 100%; border-radius: 9999px; background: hsl(var(--sc-primary)); transition: width 300ms ease; }
.sc-progress-green > span { background: #16a34a; }
.sc-progress-amber > span { background: #d97706; }
.sc-progress-red > span { background: #dc2626; }

.sc-alert { display: flex; gap: 0.75rem; align-items: flex-start; padding: 0.75rem 1rem; border-radius: calc(var(--sc-radius) - 2px); border: 1px solid; font-size: 0.8125rem; }
.sc-alert svg { width: 1rem; height: 1rem; flex: none; margin-top: 0.125rem; }
.sc-alert-warn { background: #fffbeb; border-color: #fde68a; color: #92400e; }
.sc-alert-ok { background: #f0fdf4; border-color: #bbf7d0; color: #166534; }
.sc-alert-info { background: #eff6ff; border-color: #bfdbfe; color: #1e40af; }
.sc-alert-error { background: #fef2f2; border-color: #fecaca; color: #991b1b; }

.sc-empty { padding: 2rem 1rem; text-align: center; color: hsl(var(--sc-muted-foreground)); font-size: 0.8125rem; }
.sc-empty svg { width: 2rem; height: 2rem; margin: 0 auto 0.5rem; color: hsl(var(--sc-muted-foreground) / 0.6); display: block; }
.sc-skeleton { background: linear-gradient(90deg, hsl(var(--sc-muted)) 25%, hsl(var(--sc-muted) / 0.4) 50%, hsl(var(--sc-muted)) 75%); background-size: 200% 100%; animation: sc-shimmer 1.4s infinite; border-radius: 0.25rem; height: 0.875rem; }
@keyframes sc-shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

.sc-divider { height: 1px; background: hsl(var(--sc-border)); margin: 0.75rem 0; }
.sc-kv { display: grid; grid-template-columns: auto 1fr; gap: 0.25rem 1rem; font-size: 0.8125rem; }
.sc-kv dt { color: hsl(var(--sc-muted-foreground)); }
.sc-kv dd { margin: 0; font-weight: 500; }
.sc-pill-toggle { display: inline-flex; border: 1px solid hsl(var(--sc-border)); border-radius: 9999px; padding: 0.125rem; background: hsl(var(--sc-muted) / 0.5); }
.sc-pill-toggle button { border: 0; background: transparent; padding: 0.25rem 0.875rem; border-radius: 9999px; font: inherit; font-size: 0.75rem; font-weight: 600; color: hsl(var(--sc-muted-foreground)); cursor: pointer; }
.sc-pill-toggle button.active { background: hsl(var(--sc-background)); color: hsl(var(--sc-foreground)); box-shadow: 0 1px 2px rgb(0 0 0 / 0.08); }
.sc-sticky-actions { position: sticky; bottom: 0; display: flex; justify-content: flex-end; gap: 0.75rem; padding: 0.75rem 0; background: linear-gradient(180deg, transparent, hsl(var(--sc-background)) 30%); }

.sc-nowrap { white-space: nowrap; }
.sc-table-footnote { padding: 0.5rem 0.25rem 0; font-size: 0.75rem; color: hsl(var(--sc-muted-foreground)); }
.sc-stat-card { border: 1px solid hsl(var(--sc-border)); border-radius: calc(var(--sc-radius) - 2px); }
.sc-stat-target { font-size: 1rem; font-weight: 500; color: hsl(var(--sc-muted-foreground)); }
.sc-input-num { display: inline-flex; width: 7.5rem; text-align: right; font-variant-numeric: tabular-nums; }

.sc label { margin-bottom: 0; }
fieldset.sc-card > legend { float: none; width: auto; margin-bottom: 0.25rem; }
.sc-address-search { position: relative; }
.sc-suggestions { position: absolute; z-index: 40; top: 4.25rem; left: 0; right: 0; background: hsl(var(--sc-background)); border: 1px solid hsl(var(--sc-border)); border-radius: calc(var(--sc-radius) - 2px); box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1); max-height: 15rem; overflow: auto; }
.sc-suggestion { display: block; width: 100%; text-align: left; padding: 0.5rem 0.75rem; border: 0; border-bottom: 1px solid hsl(var(--sc-border)); background: transparent; font: inherit; font-size: 0.8125rem; color: hsl(var(--sc-foreground)); cursor: pointer; }
.sc-suggestion:last-child { border-bottom: 0; }
.sc-suggestion:hover { background: hsl(var(--sc-muted) / 0.6); }
.sc-booked { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; flex-wrap: wrap; padding: 0.75rem 1rem; border: 1px solid #bbf7d0; background: #f0fdf4; border-radius: calc(var(--sc-radius) - 2px); }
.sc-booked .sc-kv { margin: 0; }
.sc-note-list { display: flex; flex-direction: column; gap: 0.5rem; max-height: 22rem; overflow: auto; }
.sc-note { padding: 0.625rem 0.75rem; border: 1px solid hsl(var(--sc-border)); border-radius: calc(var(--sc-radius) - 2px); background: hsl(var(--sc-muted) / 0.3); }
.sc-note-meta { display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap; font-size: 0.75rem; color: hsl(var(--sc-muted-foreground)); margin-bottom: 0.25rem; }
.sc-note-body { white-space: pre-wrap; font-size: 0.8125rem; }
.sc-danger-text { color: hsl(var(--sc-destructive)); font-weight: 500; }
.sc-page .sc-sticky-actions { z-index: 10; flex-wrap: wrap; }

.sc-widget-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; align-items: start; }
.sc-widget-grid > .sc-card { min-width: 0; margin: 0; }
@media (max-width: 1279px) { .sc-widget-grid { grid-template-columns: minmax(0, 1fr); } }
.sc-table-compact { font-size: 0.75rem; }
.sc-table-compact th { height: 2rem; padding: 0 0.5rem; font-size: 0.625rem; letter-spacing: 0.05em; }
.sc-table-compact td { padding: 0.375rem 0.5rem; }
.sc-table-compact .sc-cell-sub { font-size: 0.6875rem; }
.sc-table-compact .sc-badge { font-size: 0.625rem; padding: 0 0.5rem; line-height: 1.125rem; }
.sc-table-compact .sc-phone { font-size: 0.75rem; }

.sc-page-wide { max-width: none; padding-left: 1rem; padding-right: 1rem; }
.sc-page-wide .sc-table-wrap { overflow-x: auto; }

.sc-tour-layout { display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: 1.25rem; align-items: start; }
@media (max-width: 1023px) { .sc-tour-layout { grid-template-columns: minmax(0, 1fr); } .sc-tour-side { position: static; } }
.sc-tour-side { position: sticky; top: 1rem; }
.sc-tour-main { min-width: 0; }
.sc-steps { display: flex; flex-direction: column; gap: 0.125rem; }
.sc-step { display: flex; align-items: center; gap: 0.75rem; width: 100%; text-align: left; padding: 0.5rem 0.75rem; border: 0; border-radius: calc(var(--sc-radius) - 2px); background: transparent; font: inherit; font-size: 0.8125rem; color: hsl(var(--sc-muted-foreground)); cursor: pointer; transition: background-color 120ms, color 120ms; }
.sc-step:hover { background: hsl(var(--sc-muted) / 0.6); color: hsl(var(--sc-foreground)); }
.sc-step-done { color: hsl(var(--sc-foreground)); }
.sc-step-current { background: hsl(var(--sc-primary)); color: hsl(var(--sc-primary-foreground)); font-weight: 500; }
.sc-step-current:hover { background: hsl(var(--sc-primary) / 0.9); color: hsl(var(--sc-primary-foreground)); }
.sc-step-num { display: inline-flex; align-items: center; justify-content: center; width: 1.5rem; height: 1.5rem; flex: none; border-radius: 9999px; background: hsl(var(--sc-muted)); color: hsl(var(--sc-muted-foreground)); font-size: 0.6875rem; font-weight: 600; }
.sc-step-done .sc-step-num { background: #dcfce7; color: #15803d; }
.sc-step-current .sc-step-num { background: rgb(255 255 255 / 0.2); color: hsl(var(--sc-primary-foreground)); }
.sc-step-num svg { width: 0.875rem; height: 0.875rem; }
.sc-step-title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-tour-header { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 1023px) { .sc-tour-header { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sc-tour-header .sc-stat-label { display: block; margin-bottom: 0.25rem; }
.sc-select-na { display: flex; align-items: center; gap: 0.75rem; }
.sc-select-na .sc-select { flex: 1 1 auto; min-width: 0; }
.sc-select-na .sc-check { flex: none; white-space: nowrap; }
.sc-held { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 639px) { .sc-held { grid-template-columns: minmax(0, 1fr); } }
.sc-held-value { padding: 0.5rem 0.75rem; border: 1px solid hsl(var(--sc-border)); border-radius: calc(var(--sc-radius) - 2px); background: hsl(var(--sc-muted) / 0.4); font-size: 0.875rem; font-weight: 500; }
.sc-summary-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; align-items: start; }
@media (max-width: 1279px) { .sc-summary-grid { grid-template-columns: minmax(0, 1fr); } }
.sc-summary-grid > .sc-card { margin: 0; min-width: 0; }
.sc-summary-grid .sc-kv dd { overflow-wrap: anywhere; }
.sc-questions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.5rem; }
@media (max-width: 767px) { .sc-questions { grid-template-columns: minmax(0, 1fr); } }
.sc-yesno button { min-width: 3.5rem; }
.sc-money { display: flex; align-items: center; gap: 0.375rem; }
.sc-money span { color: hsl(var(--sc-muted-foreground)); font-weight: 500; }
.sc-spec-link { display: inline-flex; align-items: center; gap: 0.375rem; font-size: 0.75rem; }
.sc-spec-link svg { width: 0.875rem; height: 0.875rem; }
.sc-check-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.625rem 1rem; }
@media (max-width: 639px) { .sc-check-grid { grid-template-columns: minmax(0, 1fr); } }
.sc-indent { margin-left: 0.75rem; padding-left: 1rem; border-left: 2px solid hsl(var(--sc-border)); }
.sc-readonly { background: hsl(var(--sc-muted) / 0.5); color: hsl(var(--sc-muted-foreground)); }
.sc-select-sm { height: 2.25rem; width: auto; min-width: 11rem; padding-top: 0.25rem; padding-bottom: 0.25rem; font-size: 0.8125rem; }
.sc-header-label { font-size: 0.75rem; font-weight: 500; color: hsl(var(--sc-muted-foreground)); }
.sc-table tr.sc-day-heading td { background: hsl(var(--sc-muted) / 0.6); font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: hsl(var(--sc-muted-foreground)); padding: 0.375rem 0.75rem; }
.sc-table tr.sc-day-heading.sc-row-today td { background: #dcfce7; color: #15803d; }
.sc-calendar-host { min-height: 30rem; }
.sc-calendar-host .mud-paper { box-shadow: none; }
.sc-kpi-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)); gap: 0.75rem; }
.sc-kpi-grid .sc-stat { padding: 0.875rem 1rem; gap: 0.125rem; min-width: 0; }
.sc-kpi-grid .sc-stat-value { font-size: 1.5rem; }
.sc-kpi-grid .sc-stat-delta { line-height: 1.3; }
.sc-kpi-row { align-items: stretch; }
.sc-kpi-row > .sc-card { height: 100%; display: flex; flex-direction: column; }
.sc-kpi-row > .sc-card .sc-table-footnote { margin-top: auto; }
.sc-card-tint-performance { background: linear-gradient(180deg, hsl(221 83% 53% / 0.07), hsl(221 83% 53% / 0.02)); border-color: hsl(221 83% 53% / 0.25); }
.sc-card-tint-attachments { background: linear-gradient(180deg, hsl(162 63% 41% / 0.09), hsl(162 63% 41% / 0.02)); border-color: hsl(162 63% 41% / 0.28); }
.sc-card-tint-performance .sc-stat, .sc-card-tint-attachments .sc-stat { background: hsl(var(--sc-card)); }
.sc .sc-steps .sc-step { justify-content: flex-start; text-align: left; }
.sc .sc-steps .sc-step-title { flex: 1 1 auto; text-align: left; }
.sc-dictation { position: relative; display: flex; flex-direction: column; gap: 0.25rem; }
.sc-dictation .sc-textarea { padding-right: 2.75rem; }
.sc-dictation-btn { position: absolute; top: 0.375rem; right: 0.5rem; width: 1.75rem; height: 1.75rem; padding: 0; display: inline-flex; align-items: center; justify-content: center; border-radius: 9999px; border: 1px solid hsl(var(--sc-border)); background: hsl(var(--sc-background)); color: hsl(var(--sc-muted-foreground)); cursor: pointer; transition: color 120ms, border-color 120ms; }
.sc-dictation-btn svg { width: 1rem; height: 1rem; }
.sc-dictation-btn:hover { color: hsl(var(--sc-primary)); border-color: hsl(var(--sc-primary)); }
.sc-dictation-btn:focus-visible { outline: none; box-shadow: 0 0 0 3px hsl(var(--sc-ring) / 0.3); }
.sc-dictation-listening .sc-textarea { border-color: #dc2626; box-shadow: 0 0 0 3px rgb(220 38 38 / 0.15); }
.sc-dictation-listening .sc-dictation-btn { color: #dc2626; border-color: #dc2626; animation: sc-dictation-pulse 1.2s ease-out infinite; }
@keyframes sc-dictation-pulse { 0% { box-shadow: 0 0 0 0 rgb(220 38 38 / 0.5); } 70% { box-shadow: 0 0 0 0.5rem rgb(220 38 38 / 0); } 100% { box-shadow: 0 0 0 0 rgb(220 38 38 / 0); } }
.sc-dictation-interim { font-size: 0.75rem; font-style: italic; color: hsl(var(--sc-muted-foreground)); min-height: 1rem; }
.sc .sc-steps .sc-step-title { white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.25; }
