Lara Monteagudo Tubau commited on
Commit Β·
ba2c0b3
1
Parent(s): 854f873
Build CSS for Hugging Face deploy
Browse filesFiles changed (7)
- static/build.py+13
- static/styles/_components.scss+272-271
- static/styles/_components_clean.scssAdded+289
- static/styles/_mixins.scss+87-89
- static/styles/_tokens.scss+1-1
- static/styles/main.cssAdded+1161
- static/styles/main.scss+24-24
23 unmodified lines24252627282923 unmodified linesdef compile_scss(minify: bool = False) -> str:import sass # type: ignoreoutput_style = "compressed" if minify else "expanded"return sass.compile(23 unmodified lines2425262728293031323334353637383940414223 unmodified linesdef compile_scss(minify: bool = False) -> str:# Prefer Dart Sass CLI when available (supports @use and newer features).import shutil, subprocesssass_cli = shutil.which("sass")output_style = "compressed" if minify else "expanded"if sass_cli:style_flag = "--style=compressed" if minify else "--style=expanded"cmd = [sass_cli, "--no-source-map", style_flag, str(ENTRY_POINT), str(OUTPUT_FILE)]subprocess.check_call(cmd)return OUTPUT_FILE.read_text(encoding="utf-8")# Fallback to the Python `sass` package (libsass) if Dart Sass CLI isn't available.import sass # type: ignoreoutput_style = "compressed" if minify else "expanded"return sass.compile(
8 unmodified lines9101112131415161710 unmodified lines2829303132333435363738394041424344454647487 unmodified lines56575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051067 unmodified lines1141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651663 unmodified lines1701711721731741751761771781791801811821831841851861871881891901911921931941951961971983 unmodified lines2022032042052062072082092102112122132142152162172182192202212222232242252 unmodified lines2282292302312322332342352362372382392402412424 unmodified lines2472482492502512522532542552562572582592602612622632642652662672682692702712721 unmodified line2742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383 unmodified lines3423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953962 unmodified lines3994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394401 unmodified line4424434444454464474484494504514524534544554564574584594604614624634644654664674684694704712 unmodified lines4744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225231 unmodified line5255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545556 unmodified lines5625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965971 unmodified line5996006016026036046056066076086096106116126136146156166176186196206216226236246256266274 unmodified lines6326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636641 unmodified line6666676686696706716726736746756766776786796806816826836848 unmodified lines// coding panel// =============================================================================@use 'tokens' as t;@use 'mixins' as m;@use 'sass:map';// βββ RESET / SCOPE βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ10 unmodified lines// βββ PAGE FRAME ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ.cc-header {padding: t.$space-5 0 t.$space-3;border-bottom: 1px solid t.$color-border-default;margin-bottom: t.$space-5;&__title {font-size: t.$font-size-2xl;font-weight: t.$font-weight-extrabold;color: t.$color-text-primary;letter-spacing: -0.025em;margin: 0 0 t.$space-1;}&__subtitle {font-size: t.$font-size-sm;color: t.$color-text-tertiary;margin: 0;}}7 unmodified lines// "Progress Trackers in UX β 11 Design Guidelines.".cc-stepper {@include m.flex-row(0);background: t.$color-bg-surface;border: 1px solid t.$color-border-default;border-radius: t.$radius-lg;padding: t.$space-3 t.$space-5;margin-bottom: t.$space-5;box-shadow: t.$shadow-xs;&__title {@include m.label-overline;margin-right: t.$space-4;flex-shrink: 0;}&__steps {@include m.flex-row(0);flex-wrap: wrap;row-gap: t.$space-1;}&__step {font-size: t.$font-size-sm;font-weight: t.$font-weight-semibold;white-space: nowrap;padding: t.$space-1 t.$space-2;border-radius: t.$radius-sm;&--done {color: t.$color-step-done;}&--active {color: t.$color-step-active;background: t.$color-interactive-subtle;}&--pending {color: t.$color-step-pending;}}&__sep {color: t.$color-border-strong;padding: 0 t.$space-1;font-size: t.$font-size-xs;align-self: center;}}7 unmodified lines.cc-sections {display: flex;gap: t.$space-2;flex-wrap: wrap;margin: t.$space-3 0;}.cc-section {flex: 1 1 140px;min-width: 120px;border-radius: t.$radius-md;padding: t.$space-3 t.$space-4;border: 1.5px solid t.$color-section-pending-border;background: t.$color-section-pending-bg;@include m.motion-safe {transition: border-color t.$duration-fast t.$ease-in-out,background t.$duration-fast t.$ease-in-out;}&__label {font-size: t.$font-size-sm;font-weight: t.$font-weight-bold;color: t.$color-section-pending-text;line-height: t.$line-height-snug;@include m.truncate;}&__meta {font-size: t.$font-size-2xs;color: t.$color-text-tertiary;margin-top: t.$space-1;@include m.mono-sm;}// State modifiers&--done {background: t.$color-section-done-bg;border-color: t.$color-section-done-border;.cc-section__label { color: t.$color-section-done-text; }}&--active {background: t.$color-section-active-bg;border-color: t.$color-section-active-border;border-width: 2px;box-shadow: t.$shadow-sm;.cc-section__label { color: t.$color-section-active-text; }}}3 unmodified lines// (WCAG 1.4.1 Use of Color).cc-banner {@include m.banner-info; // default&--success { @include m.banner-success; }&--warning { @include m.banner-warning; }&--error { @include m.banner-error; }&--info { @include m.banner-info; }strong { font-weight: t.$font-weight-semibold; }}// βββ GENERIC CARD ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ.cc-card {@include m.card;&__header {@include m.label-overline;margin-bottom: t.$space-3;}&__divider {@include m.divider;}}3 unmodified lines// Uncertainty sampling pattern: Settles (2012) ch.2..cc-uncertainty {@include m.banner-warning;display: flex;align-items: flex-start;gap: t.$space-2;&__icon {flex-shrink: 0;font-size: t.$font-size-md;line-height: t.$line-height-normal;}&__body {flex: 1;strong {font-weight: t.$font-weight-semibold;display: block;margin-bottom: t.$space-1;}}}2 unmodified lines// βββ DIMENSION DESCRIPTION βββββββββββββββββββββββββββββββββββββββββββββββββββ.cc-dim-desc {background: t.$color-interactive-subtle;border-left: 3px solid t.$color-interactive;border-radius: 0 t.$radius-sm t.$radius-sm 0;padding: t.$space-2 t.$space-3;margin-top: t.$space-2;font-size: t.$font-size-sm;color: t.$color-info-text;line-height: t.$line-height-normal;@include m.motion-safe { transition: opacity t.$duration-fast t.$ease-out; }&:empty { display: none; }}4 unmodified lines// Each pair is verified for AA contrast on its background..cc-dim-badge {@include m.badge(t.$color-bg-subtle, t.$color-text-secondary);// Generated per-dimension variants via @each@each $dim, $pair in t.$dim-badge-colors {$bg: nth($pair, 1);$text: nth($pair, 2);&--#{$dim} {@include m.badge($bg, $text);}}}.cc-rule-badge {@include m.badge(t.$color-bg-subtle, t.$color-text-secondary);border-radius: t.$radius-full;margin-bottom: t.$space-2;&--boundary { @include m.badge(#dbeafe, #1e3a8a); border-radius: t.$radius-full; }&--disambiguation{ @include m.badge(#fce7f3, #831843); border-radius: t.$radius-full; }&--marker { @include m.badge(#d1fae5, #064e3b); border-radius: t.$radius-full; }}1 unmodified line// Boundary review: shows the episode structure before the researcher confirms..cc-ep-table {width: 100%;border-collapse: collapse;font-size: t.$font-size-sm;border: 1px solid t.$color-border-default;border-radius: t.$radius-md;overflow: hidden; // clips radius on tableth {background: t.$table-header-bg;padding: t.$space-2 t.$space-3;text-align: left;font-size: t.$font-size-xs;font-weight: t.$font-weight-bold;letter-spacing: 0.05em;text-transform: uppercase;color: t.$color-text-secondary;border-bottom: 1px solid t.$color-border-default;}td {padding: t.$space-2 t.$space-3;color: t.$color-text-primary;border-top: 1px solid t.$color-border-default;vertical-align: middle;}tr:nth-child(even) td { background: t.$table-row-alt-bg; }// Boundary separator rows&__boundary-row td {background: t.$color-warning-bg !important;color: t.$color-warning-text;font-size: t.$font-size-2xs;border-top: 1px dashed t.$color-warning-border;padding: t.$space-1 t.$space-3;em {font-style: normal;font-weight: t.$font-weight-semibold;}.confidence-high { color: t.$color-success-text; font-weight: t.$font-weight-semibold; }.confidence-medium { color: t.$color-warning-text; font-weight: t.$font-weight-semibold; }.confidence-low { color: t.$color-error-text; font-weight: t.$font-weight-semibold; }}&__ep-num {font-weight: t.$font-weight-bold;@include m.mono-sm;}&__range {@include m.mono-sm;color: t.$color-text-secondary;}&__count {color: t.$color-text-tertiary;font-size: t.$font-size-xs;}}3 unmodified lines// Landis & Koch (1977) interpretation levels surfaced as coloured text..cc-kappa {@include m.card;&__score-row {@include m.flex-row(t.$space-4, flex-end);margin-bottom: t.$space-2;}&__score {font-size: t.$font-size-4xl;font-weight: t.$font-weight-extrabold;letter-spacing: -0.04em;line-height: t.$line-height-none;&--pass { color: t.$color-kappa-pass; }&--fail { color: t.$color-kappa-fail; }&--warn { color: t.$color-kappa-warn; }}&__interp {font-weight: t.$font-weight-bold;font-size: t.$font-size-md;line-height: t.$line-height-snug;margin-bottom: t.$space-px;&--pass { color: t.$color-kappa-pass; }&--fail { color: t.$color-kappa-fail; }&--warn { color: t.$color-kappa-warn; }}&__cite {font-size: t.$font-size-2xs;color: t.$color-text-tertiary;}&__bar-wrap {position: relative;height: 10px;background: t.$color-border-default;border-radius: t.$radius-full;margin: t.$space-3 0;overflow: visible; // let threshold tick extend}&__bar-fill {position: absolute;inset: 0 auto 0 0;border-radius: t.$radius-full;@include m.motion-safe {transition: width t.$duration-slow t.$ease-out;}}2 unmodified linestop: -4px;height: 18px;width: 2px;background: t.$color-text-tertiary;border-radius: 1px;&-label {position: absolute;top: -16px;left: -10px;font-size: t.$font-size-2xs;color: t.$color-text-tertiary;white-space: nowrap;}}&__meta {font-size: t.$font-size-sm;color: t.$color-text-tertiary;margin-bottom: t.$space-4;}&__dim-header {@include m.label-overline;margin-bottom: t.$space-3;}&__dim-row {@include m.flex-row(t.$space-3);padding: t.$space-1 0;&:not(:last-child) {border-bottom: 1px solid t.$color-border-default;}}&__dim-name {font-weight: t.$font-weight-bold;font-size: t.$font-size-sm;width: 36px;flex-shrink: 0;}1 unmodified line&__dim-bar-wrap {flex: 1;height: 6px;background: t.$color-border-default;border-radius: t.$radius-full;overflow: hidden;align-self: center;}&__dim-bar-fill {height: 100%;border-radius: t.$radius-full;@include m.motion-safe {transition: width t.$duration-slow t.$ease-out;}}&__dim-value {font-weight: t.$font-weight-semibold;font-size: t.$font-size-sm;width: 40px;text-align: right;flex-shrink: 0;&--pass { color: t.$color-kappa-pass; }&--fail { color: t.$color-kappa-fail; }&--warn { color: t.$color-kappa-warn; }}}2 unmodified lines// Rule proposals from Agent 2. Human must approve before they affect Agent 1b..cc-rule {@include m.card;margin: t.$space-3 0;&__top {@include m.flex-row(t.$space-3);justify-content: space-between;align-items: flex-start;margin-bottom: t.$space-3;flex-wrap: wrap;gap: t.$space-2;}&__id {@include m.mono-sm;color: t.$color-text-tertiary;margin-left: t.$space-2;}&__dims {font-size: t.$font-size-xs;color: t.$color-text-tertiary;}&__description {font-size: t.$font-size-base;color: t.$color-text-primary;line-height: t.$line-height-relaxed;margin: 0 0 t.$space-2;}&__rationale {font-size: t.$font-size-sm;color: t.$color-text-secondary;line-height: t.$line-height-normal;margin: 0 0 t.$space-3;}&__footer {@include m.flex-row(t.$space-4);flex-wrap: wrap;padding-top: t.$space-3;border-top: 1px solid t.$color-border-default;font-size: t.$font-size-xs;color: t.$color-text-tertiary;}}1 unmodified line// βββ CODING PROGRESS βββββββββββββββββββββββββββββββββββββββββββββββββββββββββ.cc-coding-progress {margin-bottom: t.$space-4;&__label {font-size: t.$font-size-sm;color: t.$color-text-secondary;margin-bottom: t.$space-1;strong {color: t.$color-text-primary;font-weight: t.$font-weight-semibold;}}&__bar-wrap {@include m.progress-track(6px);}&__bar-fill {@include m.progress-fill(t.$color-interactive);}&__count {font-size: t.$font-size-xs;color: t.$color-text-tertiary;margin-top: t.$space-1;}}6 unmodified lines// Psychological Science in the Public Interest, 17(1)..cc-turns {font-size: t.$font-size-base;line-height: t.$line-height-relaxed;color: t.$color-text-primary;&__turn {padding: t.$space-3 0;border-bottom: 1px solid t.$color-border-default;&:last-child { border-bottom: none; }}&__speaker {font-weight: t.$font-weight-bold;font-size: t.$font-size-sm;color: t.$color-interactive;&--alt {color: t.$color-text-secondary;}}&__time {@include m.mono-sm;color: t.$color-text-tertiary;margin-left: t.$space-2;}&__text {margin-top: t.$space-1;line-height: t.$line-height-relaxed;}}1 unmodified line// βββ PIPELINE SECTION HEADER βββββββββββββββββββββββββββββββββββββββββββββββββ.cc-section-header {background: t.$color-interactive-subtle;border: 1px solid t.$color-interactive-muted;border-radius: t.$radius-md;padding: t.$space-4;margin-bottom: t.$space-4;&__title {font-size: t.$font-size-lg;font-weight: t.$font-weight-bold;color: t.$color-text-primary;margin: 0 0 t.$space-1;}&__meta {font-size: t.$font-size-sm;color: t.$color-text-tertiary;@include m.mono-sm;}&__summary {font-size: t.$font-size-sm;color: t.$color-text-secondary;margin-top: t.$space-1;font-style: italic;}}4 unmodified lines.cc-label {display: block;font-size: t.$font-size-sm;font-weight: t.$font-weight-medium;color: t.$color-text-secondary;margin-bottom: t.$space-1;}.cc-input {display: block;width: 100%;background: t.$input-bg;border: 1px solid t.$input-border;border-radius: t.$input-radius;font-family: t.$font-family-sans;font-size: t.$input-font-size;color: t.$color-text-primary;padding: t.$input-padding;@include m.focus-ring;@include m.motion-safe {transition: border-color t.$duration-fast t.$ease-in-out;}&:hover:not(:disabled) {border-color: t.$color-border-strong;}&::placeholder {color: t.$color-text-disabled;}}1 unmodified line// βββ UTILITY CLASSES βββββββββββββββββββββββββββββββββββββββββββββββββββββββββ// Sparingly β prefer component styles over utility sprawl..cc-sr-only { @include m.visually-hidden; }.cc-truncate { @include m.truncate; }.cc-text-primary { color: t.$color-text-primary !important; }.cc-text-secondary { color: t.$color-text-secondary !important; }.cc-text-tertiary { color: t.$color-text-tertiary !important; }.cc-text-success { color: t.$color-success-text !important; }.cc-text-warning { color: t.$color-warning-text !important; }.cc-text-error { color: t.$color-error-text !important; }.cc-mt-2 { margin-top: t.$space-2 !important; }.cc-mt-4 { margin-top: t.$space-4 !important; }.cc-mb-2 { margin-bottom: t.$space-2 !important; }.cc-mb-4 { margin-bottom: t.$space-4 !important; }.cc-divider { @include m.divider; }8 unmodified lines910111213141516171810 unmodified lines2930313233343536373839404142434445464748497 unmodified lines575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061077 unmodified lines1151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661673 unmodified lines1711721731741751761771781791801811821831841851861871881891901911921931941951961971981993 unmodified lines2032042052062072082092102112122132142152162172182192202212222232242252262 unmodified lines2292302312322332342352362372382392402412422434 unmodified lines2482492502512522532542552562572582592602612622632642652662672682692702712722731 unmodified line2752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393 unmodified lines3433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963972 unmodified lines4004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404411 unmodified line4434444454464474484494504514524534544554564574584594604614624634644654664674684694704714722 unmodified lines4754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235241 unmodified line5265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555566 unmodified lines5635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975981 unmodified line6006016026036046056066076086096106116126136146156166176186196206216226236246256266276284 unmodified lines6336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646651 unmodified line6676686696706716726736746756766776786796806816826836846858 unmodified lines// coding panel// =============================================================================@import 'tokens';@import 'mixins';// `sass:map` is unused under libsass; keep the file compatible with the// existing Python `sass` compiler.// βββ RESET / SCOPE βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ10 unmodified lines// βββ PAGE FRAME ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ.cc-header {padding: $space-5 0 $space-3;border-bottom: 1px solid $color-border-default;margin-bottom: $space-5;&__title {font-size: $font-size-2xl;font-weight: $font-weight-extrabold;color: $color-text-primary;letter-spacing: -0.025em;margin: 0 0 $space-1;}&__subtitle {font-size: $font-size-sm;color: $color-text-tertiary;margin: 0;}}7 unmodified lines// "Progress Trackers in UX β 11 Design Guidelines.".cc-stepper {@include flex-row(0);background: $color-bg-surface;border: 1px solid $color-border-default;border-radius: $radius-lg;padding: $space-3 $space-5;margin-bottom: $space-5;box-shadow: $shadow-xs;&__title {@include label-overline;margin-right: $space-4;flex-shrink: 0;}&__steps {@include flex-row(0);flex-wrap: wrap;row-gap: $space-1;}&__step {font-size: $font-size-sm;font-weight: $font-weight-semibold;white-space: nowrap;padding: $space-1 $space-2;border-radius: $radius-sm;&--done {color: $color-step-done;}&--active {color: $color-step-active;background: $color-interactive-subtle;}&--pending {color: $color-step-pending;}}&__sep {color: $color-border-strong;padding: 0 $space-1;font-size: $font-size-xs;align-self: center;}}7 unmodified lines.cc-sections {display: flex;gap: $space-2;flex-wrap: wrap;margin: $space-3 0;}.cc-section {flex: 1 1 140px;min-width: 120px;border-radius: $radius-md;padding: $space-3 $space-4;border: 1.5px solid $color-section-pending-border;background: $color-section-pending-bg;@include motion-safe {transition: border-color $duration-fast $ease-in-out,background $duration-fast $ease-in-out;}&__label {font-size: $font-size-sm;font-weight: $font-weight-bold;color: $color-section-pending-text;line-height: $line-height-snug;@include truncate;}&__meta {font-size: $font-size-2xs;color: $color-text-tertiary;margin-top: $space-1;@include mono-sm;}// State modifiers&--done {background: $color-section-done-bg;border-color: $color-section-done-border;.cc-section__label { color: $color-section-done-text; }}&--active {background: $color-section-active-bg;border-color: $color-section-active-border;border-width: 2px;box-shadow: $shadow-sm;.cc-section__label { color: $color-section-active-text; }}}3 unmodified lines// (WCAG 1.4.1 Use of Color).cc-banner {@include banner-info; // default&--success { @include banner-success; }&--warning { @include banner-warning; }&--error { @include banner-error; }&--info { @include banner-info; }strong { font-weight: $font-weight-semibold; }}// βββ GENERIC CARD ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ.cc-card {@include card;&__header {@include label-overline;margin-bottom: $space-3;}&__divider {@include divider;}}3 unmodified lines// Uncertainty sampling pattern: Settles (2012) ch.2..cc-uncertainty {@include banner-warning;display: flex;align-items: flex-start;gap: $space-2;&__icon {flex-shrink: 0;font-size: $font-size-md;line-height: $line-height-normal;}&__body {flex: 1;strong {font-weight: $font-weight-semibold;display: block;margin-bottom: $space-1;}}}2 unmodified lines// βββ DIMENSION DESCRIPTION βββββββββββββββββββββββββββββββββββββββββββββββββββ.cc-dim-desc {background: $color-interactive-subtle;border-left: 3px solid $color-interactive;border-radius: 0 $radius-sm $radius-sm 0;padding: $space-2 $space-3;margin-top: $space-2;font-size: $font-size-sm;color: $color-info-text;line-height: $line-height-normal;@include motion-safe { transition: opacity $duration-fast $ease-out; }&:empty { display: none; }}4 unmodified lines// Each pair is verified for AA contrast on its background..cc-dim-badge {@include badge($color-bg-subtle, $color-text-secondary);// Generated per-dimension variants via @each@each $dim, $pair in $dim-badge-colors {$bg: nth($pair, 1);$text: nth($pair, 2);&--#{$dim} {@include badge($bg, $text);}}}.cc-rule-badge {@include badge($color-bg-subtle, $color-text-secondary);border-radius: $radius-full;margin-bottom: $space-2;&--boundary { @include badge(#dbeafe, #1e3a8a); border-radius: $radius-full; }&--disambiguation{ @include badge(#fce7f3, #831843); border-radius: $radius-full; }&--marker { @include badge(#d1fae5, #064e3b); border-radius: $radius-full; }}1 unmodified line// Boundary review: shows the episode structure before the researcher confirms..cc-ep-table {@include card;border-collapse: collapse;font-size: $font-size-sm;@include flex-row($space-4, flex-end);margin-bottom: $space-2;overflow: hidden; // clips radius on tableth {font-size: $font-size-4xl;font-weight: $font-weight-extrabold;text-align: left;line-height: $line-height-none;font-weight: $font-weight-bold;&--pass { color: $color-kappa-pass; }&--fail { color: $color-kappa-fail; }&--warn { color: $color-kappa-warn; }border-bottom: 1px solid $color-border-default;}font-weight: $font-weight-bold;font-size: $font-size-md;line-height: $line-height-snug;margin-bottom: $space-px;vertical-align: middle;&--pass { color: $color-kappa-pass; }&--fail { color: $color-kappa-fail; }&--warn { color: $color-kappa-warn; }// Boundary separator rows&__boundary-row td {font-size: $font-size-2xs;color: $color-text-tertiary;font-size: $font-size-2xs;border-top: 1px dashed $color-warning-border;padding: $space-1 $space-3;em {background: $color-border-default;border-radius: $radius-full;margin: $space-3 0;.confidence-high { color: $color-success-text; font-weight: $font-weight-semibold; }.confidence-medium { color: $color-warning-text; font-weight: $font-weight-semibold; }.confidence-low { color: $color-error-text; font-weight: $font-weight-semibold; }}border-radius: $radius-full;@include motion-safe {transition: width $duration-slow $ease-out;}&__range {@include mono-sm;color: $color-text-secondary;}&__count {color: $color-text-tertiary;font-size: $font-size-xs;}}3 unmodified lines// Landis & Koch (1977) interpretation levels surfaced as coloured text..cc-kappa {@include card;&__score-row {@include flex-row($space-4, flex-end);margin-bottom: $space-2;}&__score {font-size: $font-size-4xl;font-weight: $font-weight-extrabold;letter-spacing: -0.04em;line-height: $line-height-none;&--pass { color: $color-kappa-pass; }&--fail { color: $color-kappa-fail; }&--warn { color: $color-kappa-warn; }}&__interp {font-weight: $font-weight-bold;font-size: $font-size-md;line-height: $line-height-snug;margin-bottom: $space-px;&--pass { color: $color-kappa-pass; }&--fail { color: $color-kappa-fail; }&--warn { color: $color-kappa-warn; }}&__cite {font-size: $font-size-2xs;color: $color-text-tertiary;}&__bar-wrap {position: relative;height: 10px;background: $color-border-default;border-radius: $radius-full;margin: $space-3 0;overflow: visible; // let threshold tick extend}&__bar-fill {position: absolute;inset: 0 auto 0 0;border-radius: $radius-full;@include motion-safe {transition: width $duration-slow $ease-out;}}2 unmodified linestop: -4px;height: 18px;width: 2px;background: $color-text-tertiary;border-radius: 1px;&-label {position: absolute;top: -16px;left: -10px;font-size: $font-size-2xs;color: $color-text-tertiary;white-space: nowrap;}}&__meta {font-size: $font-size-sm;color: $color-text-tertiary;margin-bottom: $space-4;}&__dim-header {@include label-overline;margin-bottom: $space-3;}&__dim-row {@include flex-row($space-3);padding: $space-1 0;&:not(:last-child) {border-bottom: 1px solid $color-border-default;}}&__dim-name {font-weight: $font-weight-bold;font-size: $font-size-sm;width: 36px;flex-shrink: 0;}1 unmodified line&__dim-bar-wrap {flex: 1;height: 6px;background: $color-border-default;border-radius: $radius-full;overflow: hidden;align-self: center;}&__dim-bar-fill {height: 100%;border-radius: $radius-full;@include motion-safe {transition: width $duration-slow $ease-out;}}&__dim-value {font-weight: $font-weight-semibold;font-size: $font-size-sm;width: 40px;text-align: right;flex-shrink: 0;&--pass { color: $color-kappa-pass; }&--fail { color: $color-kappa-fail; }&--warn { color: $color-kappa-warn; }}}2 unmodified lines// Rule proposals from Agent 2. Human must approve before they affect Agent 1b..cc-rule {@include card;margin: $space-3 0;&__top {@include flex-row($space-3);justify-content: space-between;align-items: flex-start;margin-bottom: $space-3;flex-wrap: wrap;gap: $space-2;}&__id {@include mono-sm;color: $color-text-tertiary;margin-left: $space-2;}&__dims {font-size: $font-size-xs;color: $color-text-tertiary;}&__description {font-size: $font-size-base;color: $color-text-primary;line-height: $line-height-relaxed;margin: 0 0 $space-2;}&__rationale {font-size: $font-size-sm;color: $color-text-secondary;line-height: $line-height-normal;margin: 0 0 $space-3;}&__footer {@include flex-row($space-4);flex-wrap: wrap;padding-top: $space-3;border-top: 1px solid $color-border-default;font-size: $font-size-xs;color: $color-text-tertiary;}}1 unmodified line// βββ CODING PROGRESS βββββββββββββββββββββββββββββββββββββββββββββββββββββββββ.cc-coding-progress {margin-bottom: $space-4;&__label {font-size: $font-size-sm;color: $color-text-secondary;margin-bottom: $space-1;strong {color: $color-text-primary;font-weight: $font-weight-semibold;}}&__bar-wrap {@include progress-track(6px);}&__bar-fill {@include progress-fill($color-interactive);}&__count {font-size: $font-size-xs;color: $color-text-tertiary;margin-top: $space-1;}}6 unmodified lines// Psychological Science in the Public Interest, 17(1)..cc-turns {font-size: $font-size-base;line-height: $line-height-relaxed;color: $color-text-primary;&__turn {padding: $space-3 0;border-bottom: 1px solid $color-border-default;&:last-child { border-bottom: none; }}&__speaker {font-weight: $font-weight-bold;font-size: $font-size-sm;color: $color-interactive;&--alt {color: $color-text-secondary;}}&__time {@include mono-sm;color: $color-text-tertiary;margin-left: $space-2;}&__text {margin-top: $space-1;line-height: $line-height-relaxed;}}1 unmodified line// βββ PIPELINE SECTION HEADER βββββββββββββββββββββββββββββββββββββββββββββββββ.cc-section-header {background: $color-interactive-subtle;border: 1px solid $color-interactive-muted;border-radius: $radius-md;padding: $space-4;margin-bottom: $space-4;&__title {font-size: $font-size-lg;font-weight: $font-weight-bold;color: $color-text-primary;margin: 0 0 $space-1;}&__meta {font-size: $font-size-sm;color: $color-text-tertiary;@include mono-sm;}&__summary {font-size: $font-size-sm;color: $color-text-secondary;margin-top: $space-1;font-style: italic;}}4 unmodified lines.cc-label {display: block;font-size: $font-size-sm;font-weight: $font-weight-medium;color: $color-text-secondary;margin-bottom: $space-1;}.cc-input {display: block;width: 100%;background: $input-bg;border: 1px solid $input-border;border-radius: $input-radius;font-family: $font-family-sans;font-size: $input-font-size;color: $color-text-primary;padding: $input-padding;@include focus-ring;@include motion-safe {transition: border-color $duration-fast $ease-in-out;}&:hover:not(:disabled) {border-color: $color-border-strong;}&::placeholder {color: $color-text-disabled;}}1 unmodified line// βββ UTILITY CLASSES βββββββββββββββββββββββββββββββββββββββββββββββββββββββββ// Sparingly β prefer component styles over utility sprawl..cc-sr-only { @include visually-hidden; }.cc-truncate { @include truncate; }.cc-text-primary { color: $color-text-primary !important; }.cc-text-secondary { color: $color-text-secondary !important; }.cc-text-tertiary { color: $color-text-tertiary !important; }.cc-text-success { color: $color-success-text !important; }.cc-text-warning { color: $color-warning-text !important; }.cc-text-error { color: $color-error-text !important; }.cc-mt-2 { margin-top: $space-2 !important; }.cc-mt-4 { margin-top: $space-4 !important; }.cc-mb-2 { margin-bottom: $space-2 !important; }.cc-mb-4 { margin-bottom: $space-4 !important; }.cc-divider { @include divider; }
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289// =============================================================================// _components_clean.scss β CollabCode Design System// Simplified, libsass-compatible component styles for the app shell.// =============================================================================
@import 'tokens';@import 'mixins';
.cc-root * { box-sizing: border-box; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;}
.cc-header { padding: $space-5 0 $space-3; border-bottom: 1px solid $color-border-default; margin-bottom: $space-5;
&__title { font-size: $font-size-2xl; font-weight: $font-weight-extrabold; color: $color-text-primary; letter-spacing: -0.025em; margin: 0 0 $space-1; }
&__subtitle { font-size: $font-size-sm; color: $color-text-tertiary; margin: 0; }}
.cc-stepper { @include flex-row(0); background: $color-bg-surface; border: 1px solid $color-border-default; border-radius: $radius-lg; padding: $space-3 $space-5; margin-bottom: $space-5; box-shadow: $shadow-xs;
&__title { @include label-overline; margin-right: $space-4; flex-shrink: 0; }
&__steps { @include flex-row(0); flex-wrap: wrap; row-gap: $space-1; }
&__step { font-size: $font-size-sm; font-weight: $font-weight-semibold; white-space: nowrap; padding: $space-1 $space-2; border-radius: $radius-sm;
&--done { color: $color-step-done; } &--active { color: $color-step-active; background: $color-interactive-subtle; } &--pending { color: $color-step-pending; } }
&__sep { color: $color-border-strong; padding: 0 $space-1; font-size: $font-size-xs; align-self: center; }}
.cc-sections { display: flex; gap: $space-2; flex-wrap: wrap; margin: $space-3 0;}
.cc-section { flex: 1 1 140px; min-width: 120px; border-radius: $radius-md; padding: $space-3 $space-4; border: 1.5px solid $color-section-pending-border; background: $color-section-pending-bg;
@include motion-safe { transition: border-color $duration-fast $ease-in-out, background $duration-fast $ease-in-out; }
&__label { font-size: $font-size-sm; font-weight: $font-weight-bold; color: $color-section-pending-text; line-height: $line-height-snug; @include truncate; }
&__meta { font-size: $font-size-2xs; color: $color-text-tertiary; margin-top: $space-1; @include mono-sm; }
&--done { background: $color-section-done-bg; border-color: $color-section-done-border; .cc-section__label { color: $color-section-done-text; } }
&--active { background: $color-section-active-bg; border-color: $color-section-active-border; border-width: 2px; box-shadow: $shadow-sm; .cc-section__label { color: $color-section-active-text; } }}
.cc-banner { @include banner-info; &--success { @include banner-success; } &--warning { @include banner-warning; } &--error { @include banner-error; } &--info { @include banner-info; } strong { font-weight: $font-weight-semibold; }}
.cc-card { @include card; &__header { @include label-overline; margin-bottom: $space-3; } &__divider { @include divider; }}
.cc-uncertainty { @include banner-warning; display: flex; align-items: flex-start; gap: $space-2; &__icon { flex-shrink: 0; font-size: $font-size-md; line-height: $line-height-normal; } &__body { flex: 1; strong { font-weight: $font-weight-semibold; display: block; margin-bottom: $space-1; } }}
.cc-dim-desc { background: $color-interactive-subtle; border-left: 3px solid $color-interactive; border-radius: 0 $radius-sm $radius-sm 0; padding: $space-2 $space-3; margin-top: $space-2; font-size: $font-size-sm; color: $color-info-text; line-height: $line-height-normal; @include motion-safe { transition: opacity $duration-fast $ease-out; } &:empty { display: none; }}
.cc-dim-badge { @include badge($color-bg-subtle, $color-text-secondary); @each $dim, $pair in $dim-badge-colors { $bg: nth($pair, 1); $text: nth($pair, 2); &--#{$dim} { @include badge($bg, $text); } }}
.cc-rule-badge { @include badge($color-bg-subtle, $color-text-secondary); border-radius: $radius-full; margin-bottom: $space-2; &--boundary { @include badge(#dbeafe, #1e3a8a); border-radius: $radius-full; } &--disambiguation { @include badge(#fce7f3, #831843); border-radius: $radius-full; } &--marker { @include badge(#d1fae5, #064e3b); border-radius: $radius-full; }}
.cc-ep-table { width: 100%; border-collapse: collapse; font-size: $font-size-sm; border: 1px solid $color-border-default; border-radius: $radius-md; overflow: hidden; th { background: $table-header-bg; padding: $space-2 $space-3; text-align: left; font-size: $font-size-xs; font-weight: $font-weight-bold; letter-spacing: 0.05em; text-transform: uppercase; color: $color-text-secondary; border-bottom: 1px solid $color-border-default; } td { padding: $space-2 $space-3; color: $color-text-primary; border-top: 1px solid $color-border-default; vertical-align: middle; } tr:nth-child(even) td { background: $table-row-alt-bg; } &__boundary-row td { background: $color-warning-bg !important; color: $color-warning-text; font-size: $font-size-2xs; border-top: 1px dashed $color-warning-border; padding: $space-1 $space-3; } &__boundary-row td em { font-style: normal; font-weight: $font-weight-semibold; } &__boundary-row td .confidence-high { color: $color-success-text; font-weight: $font-weight-semibold; } &__boundary-row td .confidence-medium { color: $color-warning-text; font-weight: $font-weight-semibold; } &__boundary-row td .confidence-low { color: $color-error-text; font-weight: $font-weight-semibold; } &__ep-num { font-weight: $font-weight-bold; @include mono-sm; } &__range { @include mono-sm; color: $color-text-secondary; } &__count { color: $color-text-tertiary; font-size: $font-size-xs; }}
.cc-kappa { @include card; &__score-row { @include flex-row($space-4, flex-end); margin-bottom: $space-2; } &__score { font-size: $font-size-4xl; font-weight: $font-weight-extrabold; letter-spacing: -0.04em; line-height: $line-height-none; &--pass { color: $color-kappa-pass; } &--fail { color: $color-kappa-fail; } &--warn { color: $color-kappa-warn; } } &__interp { font-weight: $font-weight-bold; font-size: $font-size-md; line-height: $line-height-snug; margin-bottom: $space-px; &--pass { color: $color-kappa-pass; } &--fail { color: $color-kappa-fail; } &--warn { color: $color-kappa-warn; } } &__cite { font-size: $font-size-2xs; color: $color-text-tertiary; } &__bar-wrap { position: relative; height: 10px; background: $color-border-default; border-radius: $radius-full; margin: $space-3 0; overflow: visible; } &__bar-fill { position: absolute; inset: 0 auto 0 0; border-radius: $radius-full; @include motion-safe { transition: width $duration-slow $ease-out; } } &__threshold { position: absolute; top: -4px; height: 18px; width: 2px; background: $color-text-tertiary; border-radius: 1px; &-label { position: absolute; top: -16px; left: -10px; font-size: $font-size-2xs; color: $color-text-tertiary; white-space: nowrap; } } &__meta { font-size: $font-size-sm; color: $color-text-tertiary; margin-bottom: $space-4; } &__dim-header { @include label-overline; margin-bottom: $space-3; } &__dim-row { @include flex-row($space-3); padding: $space-1 0; &:not(:last-child) { border-bottom: 1px solid $color-border-default; } } &__dim-name { font-weight: $font-weight-bold; font-size: $font-size-sm; width: 36px; flex-shrink: 0; } &__dim-bar-wrap { flex: 1; height: 6px; background: $color-border-default; border-radius: $radius-full; overflow: hidden; align-self: center; } &__dim-bar-fill { height: 100%; border-radius: $radius-full; @include motion-safe { transition: width $duration-slow $ease-out; } } &__dim-value { font-weight: $font-weight-semibold; font-size: $font-size-sm; width: 40px; text-align: right; flex-shrink: 0; &--pass { color: $color-kappa-pass; } &--fail { color: $color-kappa-fail; } &--warn { color: $color-kappa-warn; } }}
.cc-rule { @include card; margin: $space-3 0; &__top { @include flex-row($space-3); justify-content: space-between; align-items: flex-start; margin-bottom: $space-3; flex-wrap: wrap; gap: $space-2; } &__id { @include mono-sm; color: $color-text-tertiary; margin-left: $space-2; } &__dims { font-size: $font-size-xs; color: $color-text-tertiary; } &__description { font-size: $font-size-base; color: $color-text-primary; line-height: $line-height-relaxed; margin: 0 0 $space-2; } &__rationale { font-size: $font-size-sm; color: $color-text-secondary; line-height: $line-height-normal; margin: 0 0 $space-3; } &__footer { @include flex-row($space-4); flex-wrap: wrap; padding-top: $space-3; border-top: 1px solid $color-border-default; font-size: $font-size-xs; color: $color-text-tertiary; }}
.cc-coding-progress { margin-bottom: $space-4; &__label { font-size: $font-size-sm; color: $color-text-secondary; margin-bottom: $space-1; strong { color: $color-text-primary; font-weight: $font-weight-semibold; } } &__bar-wrap { @include progress-track(6px); } &__bar-fill { @include progress-fill($color-interactive); } &__count { font-size: $font-size-xs; color: $color-text-tertiary; margin-top: $space-1; }}
.cc-turns { font-size: $font-size-base; line-height: $line-height-relaxed; color: $color-text-primary; &__turn { padding: $space-3 0; border-bottom: 1px solid $color-border-default; &:last-child { border-bottom: none; } } &__speaker { font-weight: $font-weight-bold; font-size: $font-size-sm; color: $color-interactive; &--alt { color: $color-text-secondary; } } &__time { @include mono-sm; color: $color-text-tertiary; margin-left: $space-2; } &__text { margin-top: $space-1; line-height: $line-height-relaxed; }}
.cc-section-header { background: $color-interactive-subtle; border: 1px solid $color-interactive-muted; border-radius: $radius-md; padding: $space-4; margin-bottom: $space-4; &__title { font-size: $font-size-lg; font-weight: $font-weight-bold; color: $color-text-primary; margin: 0 0 $space-1; } &__meta { font-size: $font-size-sm; color: $color-text-tertiary; @include mono-sm; } &__summary { font-size: $font-size-sm; color: $color-text-secondary; margin-top: $space-1; font-style: italic; }}
.cc-label { display: block; font-size: $font-size-sm; font-weight: $font-weight-medium; color: $color-text-secondary; margin-bottom: $space-1; }
.cc-input { display: block; width: 100%; background: $input-bg; border: 1px solid $input-border; border-radius: $input-radius; font-family: $font-family-sans; font-size: $input-font-size; color: $color-text-primary; padding: $input-padding; @include focus-ring; @include motion-safe { transition: border-color $duration-fast $ease-in-out; } &:hover:not(:disabled) { border-color: $color-border-strong; } &::placeholder { color: $color-text-disabled; }}
.cc-sr-only { @include visually-hidden; }.cc-truncate { @include truncate; }.cc-text-primary { color: $color-text-primary !important; }.cc-text-secondary { color: $color-text-secondary !important; }.cc-text-tertiary { color: $color-text-tertiary !important; }.cc-text-success { color: $color-success-text !important; }.cc-text-warning { color: $color-warning-text !important; }.cc-text-error { color: $color-error-text !important; }.cc-mt-2 { margin-top: $space-2 !important; }.cc-mt-4 { margin-top: $space-4 !important; }.cc-mb-2 { margin-bottom: $space-2 !important; }.cc-mb-4 { margin-bottom: $space-4 !important; }.cc-divider { @include divider; }2 unmodified lines345678910111213141516171819202122232425262744 unmodified lines7273747576777879808182836 unmodified lines909192939495969798991001011021031041051061071081091102 unmodified lines1131141151161171181191201211221231245 unmodified lines1301311321331341351361371381391401411421431441451461471481491501511521531541556 unmodified lines1621631641651661671681691701711721731741751761771781791801811821831841851861871881891 unmodified line1911921931941951961971981992002012022032042052062072082092102112123 unmodified lines2162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512524 unmodified lines2572582592602612622632642652662672682691 unmodified line2712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053065 unmodified lines3123133143153163173183192 unmodified lines// Reusable Sass mixins and utility functions// =============================================================================@use 'sass:map';@use 'sass:math';@use 'tokens' as t;// βββ RESPONSIVE BREAKPOINTS ββββββββββββββββββββββββββββββββββββββββββββββββββ@mixin respond-to($bp) {@if $bp == 'sm' { @media (min-width: t.$breakpoint-sm) { @content; } }@else if $bp == 'md' { @media (min-width: t.$breakpoint-md) { @content; } }@else if $bp == 'lg' { @media (min-width: t.$breakpoint-lg) { @content; } }@else if $bp == 'xl' { @media (min-width: t.$breakpoint-xl) { @content; } }@else if $bp == '2xl' { @media (min-width: t.$breakpoint-2xl) { @content; } }}@mixin max-width($bp) {@if $bp == 'sm' { @media (max-width: #{t.$breakpoint-sm - 1}) { @content; } }@else if $bp == 'md' { @media (max-width: #{t.$breakpoint-md - 1}) { @content; } }@else if $bp == 'lg' { @media (max-width: #{t.$breakpoint-lg - 1}) { @content; } }}44 unmodified lines/// WCAG 2.4.7 β visible focus indicator./// Uses :focus-visible so mouse clicks don't trigger the ring.@mixin focus-ring($color: t.$color-border-focus, $offset: 2px) {outline: 2px solid transparent; // always reserve space&:focus-visible {outline: 2px solid $color;outline-offset: $offset;box-shadow: t.$shadow-focus;}}6 unmodified lines// βββ ELEVATION βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ@mixin elevation($level: 'sm') {@if $level == 'none' { box-shadow: t.$shadow-none; }@else if $level == 'xs' { box-shadow: t.$shadow-xs; }@else if $level == 'sm' { box-shadow: t.$shadow-sm; }@else if $level == 'md' { box-shadow: t.$shadow-md; }@else if $level == 'lg' { box-shadow: t.$shadow-lg; }@else if $level == 'xl' { box-shadow: t.$shadow-xl; }}// βββ CARD ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ@mixin card($padding: t.$card-padding, $shadow: t.$card-shadow) {background: t.$card-bg;border: 1px solid t.$card-border;border-radius: t.$card-radius;padding: $padding;box-shadow: $shadow;}2 unmodified lines@include card;cursor: pointer;@include motion-safe {transition: box-shadow t.$duration-fast t.$ease-out,border-color t.$duration-fast t.$ease-out;}&:hover {border-color: t.$color-border-strong;box-shadow: t.$shadow-sm;}@include focus-ring;}5 unmodified linesdisplay: inline-flex;align-items: center;justify-content: center;gap: t.$space-2;padding: t.$btn-padding-y t.$btn-padding-x;min-height: t.$btn-min-height;border: 1px solid transparent;border-radius: t.$btn-radius;font-family: t.$font-family-sans;font-size: t.$btn-font-size;font-weight: t.$btn-font-weight;line-height: t.$line-height-tight;text-decoration: none;cursor: pointer;user-select: none;white-space: nowrap;@include focus-ring;@include motion-safe {transition: background-color t.$duration-fast t.$ease-in-out,border-color t.$duration-fast t.$ease-in-out,color t.$duration-fast t.$ease-in-out,box-shadow t.$duration-fast t.$ease-in-out,opacity t.$duration-fast t.$ease-in-out;}&:disabled,6 unmodified lines@mixin button-primary {@include button-base;background: t.$color-interactive;border-color: t.$color-interactive;color: t.$color-text-on-emphasis;&:hover:not(:disabled) {background: t.$color-interactive-hover;border-color: t.$color-interactive-hover;}&:active:not(:disabled) {background: t.$color-interactive-active;}}@mixin button-secondary {@include button-base;background: t.$color-bg-surface;border-color: t.$color-border-strong;color: t.$color-text-primary;&:hover:not(:disabled) {background: t.$color-bg-subtle;border-color: t.$color-border-strong;}}1 unmodified line@include button-base;background: transparent;border-color: transparent;color: t.$color-interactive;&:hover:not(:disabled) {background: t.$color-interactive-muted;}}@mixin button-danger {@include button-base;background: t.$color-error-bg;border-color: t.$color-error-border;color: t.$color-error-text;&:hover:not(:disabled) {background: t.$color-error-border;color: t.$color-error-text;}}3 unmodified lines@mixin banner($bg, $border-color, $text-color) {background: $bg;border: 1px solid $border-color;border-radius: t.$radius-md;color: $text-color;padding: t.$space-3 t.$space-4;margin: t.$space-2 0;font-size: t.$font-size-sm;line-height: t.$line-height-relaxed;}@mixin banner-success { @include banner(t.$color-success-bg, t.$color-success-border, t.$color-success-text); }@mixin banner-warning { @include banner(t.$color-warning-bg, t.$color-warning-border, t.$color-warning-text); }@mixin banner-error { @include banner(t.$color-error-bg, t.$color-error-border, t.$color-error-text); }@mixin banner-info { @include banner(t.$color-info-bg, t.$color-info-border, t.$color-info-text); }// βββ PROGRESS BAR ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ@mixin progress-track($height: 8px) {height: #{$height};background: t.$color-bg-subtle;border-radius: t.$radius-full;overflow: hidden;position: relative;}@mixin progress-fill($color: t.$color-interactive) {position: absolute;inset: 0 auto 0 0;background: $color;border-radius: inherit;@include motion-safe {transition: width t.$duration-slow t.$ease-out;}}4 unmodified linesdisplay: inline-block;background: $bg;color: $text-color;border-radius: t.$badge-radius;font-size: t.$badge-font-size;font-weight: t.$badge-font-weight;letter-spacing: 0.05em;text-transform: uppercase;padding: t.$badge-padding;line-height: t.$line-height-tight;white-space: nowrap;}1 unmodified line// βββ TYPOGRAPHY HELPERS βββββββββββββββββββββββββββββββββββββββββββββββββββββββ@mixin label-overline {font-size: t.$font-size-2xs;font-weight: t.$font-weight-bold;letter-spacing: 0.1em;text-transform: uppercase;color: t.$color-text-tertiary;}@mixin body-sm {font-size: t.$font-size-sm;line-height: t.$line-height-normal;color: t.$color-text-secondary;}@mixin mono-sm {font-family: t.$font-family-mono;font-size: t.$font-size-xs;line-height: t.$line-height-normal;}// βββ LAYOUT ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ@mixin flex-row($gap: t.$space-3, $align: center) {display: flex;flex-direction: row;align-items: $align;gap: $gap;}@mixin flex-col($gap: t.$space-3) {display: flex;flex-direction: column;gap: $gap;5 unmodified lineswhite-space: nowrap;}@mixin divider($color: t.$color-border-default) {border: none;border-top: 1px solid $color;margin: t.$space-5 0;}2 unmodified lines34567891011121314151617181920212223242544 unmodified lines7071727374757677787980816 unmodified lines8889909192939495969798991001011021031041051061071082 unmodified lines1111121131141151161171181191201211225 unmodified lines1281291301311321331341351361371381391401411421431441451461471481491501511521536 unmodified lines1601611621631641651661671681691701711721731741751761771781791801811821831841851861871 unmodified line1891901911921931941951961971981992002012022032042052062072082092103 unmodified lines2142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492504 unmodified lines2552562572582592602612622632642652662671 unmodified line2692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033045 unmodified lines3103113123133143153163172 unmodified lines// Reusable Sass mixins and utility functions// =============================================================================@import 'tokens';// βββ RESPONSIVE BREAKPOINTS ββββββββββββββββββββββββββββββββββββββββββββββββββ@mixin respond-to($bp) {@if $bp == 'sm' { @media (min-width: $breakpoint-sm) { @content; } }@else if $bp == 'md' { @media (min-width: $breakpoint-md) { @content; } }@else if $bp == 'lg' { @media (min-width: $breakpoint-lg) { @content; } }@else if $bp == 'xl' { @media (min-width: $breakpoint-xl) { @content; } }@else if $bp == '2xl' { @media (min-width: $breakpoint-2xl) { @content; } }}@mixin max-width($bp) {@if $bp == 'sm' { @media (max-width: #{ $breakpoint-sm - 1 }) { @content; } }@else if $bp == 'md' { @media (max-width: #{ $breakpoint-md - 1 }) { @content; } }@else if $bp == 'lg' { @media (max-width: #{ $breakpoint-lg - 1 }) { @content; } }}44 unmodified lines/// WCAG 2.4.7 β visible focus indicator./// Uses :focus-visible so mouse clicks don't trigger the ring.@mixin focus-ring($color: $color-border-focus, $offset: 2px) {outline: 2px solid transparent; // always reserve space&:focus-visible {outline: 2px solid $color;outline-offset: $offset;box-shadow: $shadow-focus;}}6 unmodified lines// βββ ELEVATION βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ@mixin elevation($level: 'sm') {@if $level == 'none' { box-shadow: $shadow-none; }@else if $level == 'xs' { box-shadow: $shadow-xs; }@else if $level == 'sm' { box-shadow: $shadow-sm; }@else if $level == 'md' { box-shadow: $shadow-md; }@else if $level == 'lg' { box-shadow: $shadow-lg; }@else if $level == 'xl' { box-shadow: $shadow-xl; }}// βββ CARD ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ@mixin card($padding: $card-padding, $shadow: $card-shadow) {background: $card-bg;border: 1px solid $card-border;border-radius: $card-radius;padding: $padding;box-shadow: $shadow;}2 unmodified lines@include card;cursor: pointer;@include motion-safe {transition: box-shadow $duration-fast $ease-out,border-color $duration-fast $ease-out;}&:hover {border-color: $color-border-strong;box-shadow: $shadow-sm;}@include focus-ring;}5 unmodified linesdisplay: inline-flex;align-items: center;justify-content: center;gap: $space-2;padding: $btn-padding-y $btn-padding-x;min-height: $btn-min-height;border: 1px solid transparent;border-radius: $btn-radius;font-family: $font-family-sans;font-size: $btn-font-size;font-weight: $btn-font-weight;line-height: $line-height-tight;text-decoration: none;cursor: pointer;user-select: none;white-space: nowrap;@include focus-ring;@include motion-safe {transition: background-color $duration-fast $ease-in-out,border-color $duration-fast $ease-in-out,color $duration-fast $ease-in-out,box-shadow $duration-fast $ease-in-out,opacity $duration-fast $ease-in-out;}&:disabled,6 unmodified lines@mixin button-primary {@include button-base;background: $color-interactive;border-color: $color-interactive;color: $color-text-on-emphasis;&:hover:not(:disabled) {background: $color-interactive-hover;border-color: $color-interactive-hover;}&:active:not(:disabled) {background: $color-interactive-active;}}@mixin button-secondary {@include button-base;background: $color-bg-surface;border-color: $color-border-strong;color: $color-text-primary;&:hover:not(:disabled) {background: $color-bg-subtle;border-color: $color-border-strong;}}1 unmodified line@include button-base;background: transparent;border-color: transparent;color: $color-interactive;&:hover:not(:disabled) {background: $color-interactive-muted;}}@mixin button-danger {@include button-base;background: $color-error-bg;border-color: $color-error-border;color: $color-error-text;&:hover:not(:disabled) {background: $color-error-border;color: $color-error-text;}}3 unmodified lines@mixin banner($bg, $border-color, $text-color) {background: $bg;border: 1px solid $border-color;border-radius: $radius-md;color: $text-color;padding: $space-3 $space-4;margin: $space-2 0;font-size: $font-size-sm;line-height: $line-height-relaxed;}@mixin banner-success { @include banner($color-success-bg, $color-success-border, $color-success-text); }@mixin banner-warning { @include banner($color-warning-bg, $color-warning-border, $color-warning-text); }@mixin banner-error { @include banner($color-error-bg, $color-error-border, $color-error-text); }@mixin banner-info { @include banner($color-info-bg, $color-info-border, $color-info-text); }// βββ PROGRESS BAR ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ@mixin progress-track($height: 8px) {height: #{$height};background: $color-bg-subtle;border-radius: $radius-full;overflow: hidden;position: relative;}@mixin progress-fill($color: $color-interactive) {position: absolute;inset: 0 auto 0 0;background: $color;border-radius: inherit;@include motion-safe {transition: width $duration-slow $ease-out;}}4 unmodified linesdisplay: inline-block;background: $bg;color: $text-color;border-radius: $badge-radius;font-size: $badge-font-size;font-weight: $badge-font-weight;letter-spacing: 0.05em;text-transform: uppercase;padding: $badge-padding;line-height: $line-height-tight;white-space: nowrap;}1 unmodified line// βββ TYPOGRAPHY HELPERS βββββββββββββββββββββββββββββββββββββββββββββββββββββββ@mixin label-overline {font-size: $font-size-2xs;font-weight: $font-weight-bold;letter-spacing: 0.1em;text-transform: uppercase;color: $color-text-tertiary;}@mixin body-sm {font-size: $font-size-sm;line-height: $line-height-normal;color: $color-text-secondary;}@mixin mono-sm {font-family: $font-family-mono;font-size: $font-size-xs;line-height: $line-height-normal;}// βββ LAYOUT ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ@mixin flex-row($gap: $space-3, $align: center) {display: flex;flex-direction: row;align-items: $align;gap: $gap;}@mixin flex-col($gap: $space-3) {display: flex;flex-direction: column;gap: $gap;5 unmodified lineswhite-space: nowrap;}@mixin divider($color: $color-border-default) {border: none;border-top: 1px solid $color;margin: $space-5 0;}
114 unmodified lines115116117118119120121114 unmodified lines/// Retrieve a primitive colour token.@function prim($name, $shade: 500) {@return map.get(map.get($palette, $name), $shade);}114 unmodified lines115116117118119120121114 unmodified lines/// Retrieve a primitive colour token.@function prim($name, $shade: 500) {@return map-get(map-get($palette, $name), $shade);}
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161@use 'sass:map';@use 'sass:color';@use 'sass:map';@use 'sass:color';.cc-root,.cc-root * { box-sizing: border-box;}
.cc-root { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, "Helvetica Neue", Arial, sans-serif; font-size: 0.95rem; line-height: 1.5; color: #1e293b; background: #ececee; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;}
.cc-container { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: 1.25rem;}
@media (max-width: 767px) { .cc-container { padding-inline: 1rem; }}
.cc-stack { display: flex; flex-direction: column; gap: 1rem;}
.cc-cluster { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center;}
.cc-split { display: flex; justify-content: space-between; align-items: center; gap: 1rem;}
@use 'sass:map';@use 'sass:color';@use 'sass:map';@use 'sass:color';.cc-root * { box-sizing: border-box; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;}
.cc-header { padding: 1.25rem 0 0.75rem; border-bottom: 1px solid #e2e8f0; margin-bottom: 1.25rem;}
.cc-header__title { font-size: 1.95rem; font-weight: 800; color: #1e293b; letter-spacing: -0.025em; margin: 0 0 0.25rem;}
.cc-header__subtitle { font-size: 0.8125rem; color: #64748b; margin: 0;}
.cc-stepper { display: flex; flex-direction: row; align-items: center; gap: 0; background: #f7f7f8; border: 1px solid #e2e8f0; border-radius: 0.75rem; padding: 0.75rem 1.25rem; margin-bottom: 1.25rem; box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);}
.cc-stepper__title { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #64748b; margin-right: 1rem; flex-shrink: 0;}
.cc-stepper__steps { display: flex; flex-direction: row; align-items: center; gap: 0; flex-wrap: wrap; row-gap: 0.25rem;}
.cc-stepper__step { font-size: 0.8125rem; font-weight: 600; white-space: nowrap; padding: 0.25rem 0.5rem; border-radius: 0.25rem;}
.cc-stepper__step--done { color: #047857;}
.cc-stepper__step--active { color: #4f46e5; background: #fff3f0;}
.cc-stepper__step--pending { color: #94a3b8;}
.cc-stepper__sep { color: #cbd5e1; padding: 0 0.25rem; font-size: 0.75rem; align-self: center;}
.cc-sections { display: flex; gap: 0.5rem; flex-wrap: wrap; margin: 0.75rem 0;}
.cc-section { flex: 1 1 140px; min-width: 120px; border-radius: 0.5rem; padding: 0.75rem 1rem; border: 1.5px solid #e2e8f0; background: #f8fafc;}
@media (prefers-reduced-motion: no-preference) { .cc-section { transition: border-color 100ms cubic-bezier(0.4, 0, 0.2, 1), background 100ms cubic-bezier(0.4, 0, 0.2, 1); }}
.cc-section__label { font-size: 0.8125rem; font-weight: 700; color: #64748b; line-height: 1.375; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;}
.cc-section__meta { font-size: 0.6875rem; color: #64748b; margin-top: 0.25rem; font-family: ui-monospace, "JetBrains Mono", "Fira Code", "Cascadia Code", "Courier New", monospace; font-size: 0.75rem; line-height: 1.5;}
.cc-section--done { background: #ecfdf5; border-color: #a7f3d0;}
.cc-section--done .cc-section__label { color: #047857;}
.cc-section--active { background: #eef2ff; border-color: #a5b4fc; border-width: 2px; box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);}
.cc-section--active .cc-section__label { color: #4338ca;}
.cc-banner { background: #f0f9ff; border: 1px solid #bae6fd; border-radius: 0.5rem; color: #075985; padding: 0.75rem 1rem; margin: 0.5rem 0; font-size: 0.8125rem; line-height: 1.625;}
.cc-banner--success { background: #ecfdf5; border: 1px solid #a7f3d0; border-radius: 0.5rem; color: #065f46; padding: 0.75rem 1rem; margin: 0.5rem 0; font-size: 0.8125rem; line-height: 1.625;}
.cc-banner--warning { background: #fffbeb; border: 1px solid #fde68a; border-radius: 0.5rem; color: #78350f; padding: 0.75rem 1rem; margin: 0.5rem 0; font-size: 0.8125rem; line-height: 1.625;}
.cc-banner--error { background: #fff1f2; border: 1px solid #fecdd3; border-radius: 0.5rem; color: #9f1239; padding: 0.75rem 1rem; margin: 0.5rem 0; font-size: 0.8125rem; line-height: 1.625;}
.cc-banner--info { background: #f0f9ff; border: 1px solid #bae6fd; border-radius: 0.5rem; color: #075985; padding: 0.75rem 1rem; margin: 0.5rem 0; font-size: 0.8125rem; line-height: 1.625;}
.cc-banner strong { font-weight: 600;}
.cc-card { background: #f7f7f8; border: 1px solid #e2e8f0; border-radius: 0.75rem; padding: 1.25rem; box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);}
.cc-card__header { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #64748b; margin-bottom: 0.75rem;}
.cc-card__divider { border: none; border-top: 1px solid #e2e8f0; margin: 1.25rem 0;}
.cc-uncertainty { background: #fffbeb; border: 1px solid #fde68a; border-radius: 0.5rem; color: #78350f; padding: 0.75rem 1rem; margin: 0.5rem 0; font-size: 0.8125rem; line-height: 1.625; display: flex; align-items: flex-start; gap: 0.5rem;}
.cc-uncertainty__icon { flex-shrink: 0; font-size: 1.05rem; line-height: 1.5;}
.cc-uncertainty__body { flex: 1;}
.cc-uncertainty__body strong { font-weight: 600; display: block; margin-bottom: 0.25rem;}
.cc-dim-desc { background: #fff3f0; border-left: 3px solid #ff5a3d; border-radius: 0 0.25rem 0.25rem 0; padding: 0.5rem 0.75rem; margin-top: 0.5rem; font-size: 0.8125rem; color: #075985; line-height: 1.5;}
@media (prefers-reduced-motion: no-preference) { .cc-dim-desc { transition: opacity 100ms cubic-bezier(0, 0, 0.2, 1); }}
.cc-dim-desc:empty { display: none;}
.cc-dim-badge { display: inline-block; background: #efeff1; color: #475569; border-radius: 0.25rem; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; padding: 0.125rem 0.5rem; line-height: 1.25; white-space: nowrap;}
.cc-dim-badge--D1 { display: inline-block; background: #e0f2fe; color: #075985; border-radius: 0.25rem; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; padding: 0.125rem 0.5rem; line-height: 1.25; white-space: nowrap;}
.cc-dim-badge--D2 { display: inline-block; background: #e0e7ff; color: #3730a3; border-radius: 0.25rem; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; padding: 0.125rem 0.5rem; line-height: 1.25; white-space: nowrap;}
.cc-dim-badge--D3 { display: inline-block; background: #d1fae5; color: #065f46; border-radius: 0.25rem; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; padding: 0.125rem 0.5rem; line-height: 1.25; white-space: nowrap;}
.cc-dim-badge--D4 { display: inline-block; background: #fef9c3; color: #78350f; border-radius: 0.25rem; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; padding: 0.125rem 0.5rem; line-height: 1.25; white-space: nowrap;}
.cc-dim-badge--D5 { display: inline-block; background: #fce7f3; color: #831843; border-radius: 0.25rem; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; padding: 0.125rem 0.5rem; line-height: 1.25; white-space: nowrap;}
.cc-dim-badge--D6 { display: inline-block; background: #ede9fe; color: #4c1d95; border-radius: 0.25rem; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; padding: 0.125rem 0.5rem; line-height: 1.25; white-space: nowrap;}
.cc-dim-badge--D7 { display: inline-block; background: #ffedd5; color: #7c2d12; border-radius: 0.25rem; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; padding: 0.125rem 0.5rem; line-height: 1.25; white-space: nowrap;}
.cc-dim-badge--D8 { display: inline-block; background: #ecfdf5; color: #064e3b; border-radius: 0.25rem; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; padding: 0.125rem 0.5rem; line-height: 1.25; white-space: nowrap;}
.cc-dim-badge--D9 { display: inline-block; background: #fff1f2; color: #9f1239; border-radius: 0.25rem; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; padding: 0.125rem 0.5rem; line-height: 1.25; white-space: nowrap;}
.cc-dim-badge--NS { display: inline-block; background: #f1f5f9; color: #334155; border-radius: 0.25rem; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; padding: 0.125rem 0.5rem; line-height: 1.25; white-space: nowrap;}
.cc-dim-badge--NA { display: inline-block; background: #f8fafc; color: #475569; border-radius: 0.25rem; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; padding: 0.125rem 0.5rem; line-height: 1.25; white-space: nowrap;}
.cc-rule-badge { display: inline-block; background: #efeff1; color: #475569; border-radius: 0.25rem; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; padding: 0.125rem 0.5rem; line-height: 1.25; white-space: nowrap; border-radius: 9999px; margin-bottom: 0.5rem;}
.cc-rule-badge--boundary { display: inline-block; background: #dbeafe; color: #1e3a8a; border-radius: 0.25rem; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; padding: 0.125rem 0.5rem; line-height: 1.25; white-space: nowrap; border-radius: 9999px;}
.cc-rule-badge--disambiguation { display: inline-block; background: #fce7f3; color: #831843; border-radius: 0.25rem; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; padding: 0.125rem 0.5rem; line-height: 1.25; white-space: nowrap; border-radius: 9999px;}
.cc-rule-badge--marker { display: inline-block; background: #d1fae5; color: #064e3b; border-radius: 0.25rem; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; padding: 0.125rem 0.5rem; line-height: 1.25; white-space: nowrap; border-radius: 9999px;}
.cc-ep-table { width: 100%; border-collapse: collapse; font-size: 0.8125rem; border: 1px solid #e2e8f0; border-radius: 0.5rem; overflow: hidden;}
.cc-ep-table th { background: #efeff1; padding: 0.5rem 0.75rem; text-align: left; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: #475569; border-bottom: 1px solid #e2e8f0;}
.cc-ep-table td { padding: 0.5rem 0.75rem; color: #1e293b; border-top: 1px solid #e2e8f0; vertical-align: middle;}
.cc-ep-table tr:nth-child(even) td { background: #f8fafc;}
.cc-ep-table__boundary-row td { background: #fffbeb !important; color: #78350f; font-size: 0.6875rem; border-top: 1px dashed #fde68a; padding: 0.25rem 0.75rem;}
.cc-ep-table__boundary-row td em { font-style: normal; font-weight: 600;}
.cc-ep-table__boundary-row td .confidence-high { color: #065f46; font-weight: 600;}
.cc-ep-table__boundary-row td .confidence-medium { color: #78350f; font-weight: 600;}
.cc-ep-table__boundary-row td .confidence-low { color: #9f1239; font-weight: 600;}
.cc-ep-table__ep-num { font-weight: 700; font-family: ui-monospace, "JetBrains Mono", "Fira Code", "Cascadia Code", "Courier New", monospace; font-size: 0.75rem; line-height: 1.5;}
.cc-ep-table__range { font-family: ui-monospace, "JetBrains Mono", "Fira Code", "Cascadia Code", "Courier New", monospace; font-size: 0.75rem; line-height: 1.5; color: #475569;}
.cc-ep-table__count { color: #64748b; font-size: 0.75rem;}
.cc-kappa { background: #f7f7f8; border: 1px solid #e2e8f0; border-radius: 0.75rem; padding: 1.25rem; box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);}
.cc-kappa__score-row { display: flex; flex-direction: row; align-items: flex-end; gap: 1rem; margin-bottom: 0.5rem;}
.cc-kappa__score { font-size: 3.2rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1;}
.cc-kappa__score--pass { color: #047857;}
.cc-kappa__score--fail { color: #be123c;}
.cc-kappa__score--warn { color: #b45309;}
.cc-kappa__interp { font-weight: 700; font-size: 1.05rem; line-height: 1.375; margin-bottom: 1px;}
.cc-kappa__interp--pass { color: #047857;}
.cc-kappa__interp--fail { color: #be123c;}
.cc-kappa__interp--warn { color: #b45309;}
.cc-kappa__cite { font-size: 0.6875rem; color: #64748b;}
.cc-kappa__bar-wrap { position: relative; height: 10px; background: #e2e8f0; border-radius: 9999px; margin: 0.75rem 0; overflow: visible;}
.cc-kappa__bar-fill { position: absolute; inset: 0 auto 0 0; border-radius: 9999px;}
@media (prefers-reduced-motion: no-preference) { .cc-kappa__bar-fill { transition: width 300ms cubic-bezier(0, 0, 0.2, 1); }}
.cc-kappa__threshold { position: absolute; top: -4px; height: 18px; width: 2px; background: #64748b; border-radius: 1px;}
.cc-kappa__threshold-label { position: absolute; top: -16px; left: -10px; font-size: 0.6875rem; color: #64748b; white-space: nowrap;}
.cc-kappa__meta { font-size: 0.8125rem; color: #64748b; margin-bottom: 1rem;}
.cc-kappa__dim-header { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #64748b; margin-bottom: 0.75rem;}
.cc-kappa__dim-row { display: flex; flex-direction: row; align-items: center; gap: 0.75rem; padding: 0.25rem 0;}
.cc-kappa__dim-row:not(:last-child) { border-bottom: 1px solid #e2e8f0;}
.cc-kappa__dim-name { font-weight: 700; font-size: 0.8125rem; width: 36px; flex-shrink: 0;}
.cc-kappa__dim-bar-wrap { flex: 1; height: 6px; background: #e2e8f0; border-radius: 9999px; overflow: hidden; align-self: center;}
.cc-kappa__dim-bar-fill { height: 100%; border-radius: 9999px;}
@media (prefers-reduced-motion: no-preference) { .cc-kappa__dim-bar-fill { transition: width 300ms cubic-bezier(0, 0, 0.2, 1); }}
.cc-kappa__dim-value { font-weight: 600; font-size: 0.8125rem; width: 40px; text-align: right; flex-shrink: 0;}
.cc-kappa__dim-value--pass { color: #047857;}
.cc-kappa__dim-value--fail { color: #be123c;}
.cc-kappa__dim-value--warn { color: #b45309;}
.cc-rule { background: #f7f7f8; border: 1px solid #e2e8f0; border-radius: 0.75rem; padding: 1.25rem; box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); margin: 0.75rem 0;}
.cc-rule__top { display: flex; flex-direction: row; align-items: center; gap: 0.75rem; justify-content: space-between; align-items: flex-start; margin-bottom: 0.75rem; flex-wrap: wrap; gap: 0.5rem;}
.cc-rule__id { font-family: ui-monospace, "JetBrains Mono", "Fira Code", "Cascadia Code", "Courier New", monospace; font-size: 0.75rem; line-height: 1.5; color: #64748b; margin-left: 0.5rem;}
.cc-rule__dims { font-size: 0.75rem; color: #64748b;}
.cc-rule__description { font-size: 0.95rem; color: #1e293b; line-height: 1.625; margin: 0 0 0.5rem;}
.cc-rule__rationale { font-size: 0.8125rem; color: #475569; line-height: 1.5; margin: 0 0 0.75rem;}
.cc-rule__footer { display: flex; flex-direction: row; align-items: center; gap: 1rem; flex-wrap: wrap; padding-top: 0.75rem; border-top: 1px solid #e2e8f0; font-size: 0.75rem; color: #64748b;}
.cc-coding-progress { margin-bottom: 1rem;}
.cc-coding-progress__label { font-size: 0.8125rem; color: #475569; margin-bottom: 0.25rem;}
.cc-coding-progress__label strong { color: #1e293b; font-weight: 600;}
.cc-coding-progress__bar-wrap { height: 6px; background: #efeff1; border-radius: 9999px; overflow: hidden; position: relative;}
.cc-coding-progress__bar-fill { position: absolute; inset: 0 auto 0 0; background: #ff5a3d; border-radius: inherit;}
@media (prefers-reduced-motion: no-preference) { .cc-coding-progress__bar-fill { transition: width 300ms cubic-bezier(0, 0, 0.2, 1); }}
.cc-coding-progress__count { font-size: 0.75rem; color: #64748b; margin-top: 0.25rem;}
.cc-turns { font-size: 0.95rem; line-height: 1.625; color: #1e293b;}
.cc-turns__turn { padding: 0.75rem 0; border-bottom: 1px solid #e2e8f0;}
.cc-turns__turn:last-child { border-bottom: none;}
.cc-turns__speaker { font-weight: 700; font-size: 0.8125rem; color: #ff5a3d;}
.cc-turns__speaker--alt { color: #475569;}
.cc-turns__time { font-family: ui-monospace, "JetBrains Mono", "Fira Code", "Cascadia Code", "Courier New", monospace; font-size: 0.75rem; line-height: 1.5; color: #64748b; margin-left: 0.5rem;}
.cc-turns__text { margin-top: 0.25rem; line-height: 1.625;}
.cc-section-header { background: #fff3f0; border: 1px solid #ffe3dc; border-radius: 0.5rem; padding: 1rem; margin-bottom: 1rem;}
.cc-section-header__title { font-size: 1.2rem; font-weight: 700; color: #1e293b; margin: 0 0 0.25rem;}
.cc-section-header__meta { font-size: 0.8125rem; color: #64748b; font-family: ui-monospace, "JetBrains Mono", "Fira Code", "Cascadia Code", "Courier New", monospace; font-size: 0.75rem; line-height: 1.5;}
.cc-section-header__summary { font-size: 0.8125rem; color: #475569; margin-top: 0.25rem; font-style: italic;}
.cc-label { display: block; font-size: 0.8125rem; font-weight: 500; color: #475569; margin-bottom: 0.25rem;}
.cc-input { display: block; width: 100%; background: #f7f7f8; border: 1px solid #cbd5e1; border-radius: 0.5rem; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, "Helvetica Neue", Arial, sans-serif; font-size: 0.95rem; color: #1e293b; padding: 0.5rem 0.75rem; outline: 2px solid transparent;}
.cc-input:focus-visible { outline: 2px solid #4f46e5; outline-offset: 2px; box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.4);}
@media (prefers-reduced-motion: no-preference) { .cc-input { transition: border-color 100ms cubic-bezier(0.4, 0, 0.2, 1); }}
.cc-input:hover:not(:disabled) { border-color: #cbd5e1;}
.cc-input::placeholder { color: #94a3b8;}
.cc-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border-width: 0;}
.cc-truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap;}
.cc-text-primary { color: #1e293b !important;}
.cc-text-secondary { color: #475569 !important;}
.cc-text-tertiary { color: #64748b !important;}
.cc-text-success { color: #065f46 !important;}
.cc-text-warning { color: #78350f !important;}
.cc-text-error { color: #9f1239 !important;}
.cc-mt-2 { margin-top: 0.5rem !important;}
.cc-mt-4 { margin-top: 1rem !important;}
.cc-mb-2 { margin-bottom: 0.5rem !important;}
.cc-mb-4 { margin-bottom: 1rem !important;}
.cc-divider { border: none; border-top: 1px solid #e2e8f0; margin: 1.25rem 0;}
.gradio-container { max-width: 1160px !important; margin: 0 auto !important; background: #ececee !important;}
footer.svelte-mpyp5e { display: none !important;}
.tab-nav button { font-weight: 500 !important; font-size: 0.8125rem !important;}
:focus { outline: none;}
:focus-visible { outline: 2px solid #4f46e5; outline-offset: 2px;}
.gradio-container .btn-primary,.gradio-container button[data-testid='primary'] { background: #ff5a3d !important; border-color: #ff5a3d !important;}
.gradio-container .btn-primary:hover,.gradio-container button[data-testid='primary']:hover { background: #ea4425 !important; border-color: #ea4425 !important;}
@media (prefers-reduced-motion: reduce) { .cc-root *,.gradio-container * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }}
@media (forced-colors: active) { .cc-card,.cc-section,.cc-stepper,.cc-rule { border: 2px solid ButtonText !important; } .cc-dim-desc { border-left-color: Highlight !important; }}
@media print { .cc-stepper,footer,button { display: none !important; } .cc-card { box-shadow: none; border: 1px solid #000; break-inside: avoid; }}19 unmodified lines20212223242526278 unmodified lines36373839404142434445467 unmodified lines54555657585960616263646566676869707172737475761 unmodified line787980818283848586878889904 unmodified lines95969798991001011 unmodified line1031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321334 unmodified lines13813914014114214314419 unmodified lines// =============================================================================// 1 + 2. Settings & Tools (no CSS output)@use 'tokens' as t;@use 'mixins' as m;// 3. Generic β Minimal reset. We don't include a full Normalize because8 unmodified lines// 4. Elements β Base typography for our HTML-rendered components..cc-root {font-family: t.$font-family-sans;font-size: t.$font-size-base;line-height: t.$line-height-normal;color: t.$color-text-primary;background: t.$color-bg-base;// Smooth font rendering on macOS / retina-webkit-font-smoothing: antialiased;7 unmodified lineswidth: 100%;max-width: 1160px;margin-inline: auto;padding-inline: t.$space-5;@include m.max-width('md') {padding-inline: t.$space-4;}}.cc-stack {display: flex;flex-direction: column;gap: t.$space-4;}.cc-cluster {display: flex;flex-wrap: wrap;gap: t.$space-3;align-items: center;}1 unmodified linedisplay: flex;justify-content: space-between;align-items: center;gap: t.$space-4;}// 6. Components β Import all component definitions@use 'components';// 7. Utilities / Overrides4 unmodified lines.gradio-container {max-width: 1160px !important;margin: 0 auto !important;background: t.$color-bg-base !important;}// Hide Gradio's default footer (Gradio branding)1 unmodified line// Gradio injects inline styles on tab panels; bring bg in line with our palette.tab-nav button {font-weight: t.$font-weight-medium !important;font-size: t.$font-size-sm !important;}// Global focus-visible reset β ensures our custom focus rings aren't masked:focus { outline: none; }:focus-visible {outline: 2px solid t.$color-border-focus;outline-offset: 2px;}// Gradio button overrides β nudge the primary button to use our interactive colour.gradio-container .btn-primary,.gradio-container button[data-testid='primary'] {background: t.$color-interactive !important;border-color: t.$color-interactive !important;&:hover {background: t.$color-interactive-hover !important;border-color: t.$color-interactive-hover !important;}}// Reduced-motion β disable all transitions when user prefers@include m.motion-reduce {.cc-root *,.gradio-container * {animation-duration: 0.01ms !important;4 unmodified lines}// High-contrast mode β ensure borders and focus rings are visible@include m.high-contrast {.cc-card,.cc-section,.cc-stepper,19 unmodified lines20212223242526278 unmodified lines36373839404142434445467 unmodified lines54555657585960616263646566676869707172737475761 unmodified line787980818283848586878889904 unmodified lines95969798991001011 unmodified line1031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321334 unmodified lines13813914014114214314419 unmodified lines// =============================================================================// 1 + 2. Settings & Tools (no CSS output)@import 'tokens';@import 'mixins';// 3. Generic β Minimal reset. We don't include a full Normalize because8 unmodified lines// 4. Elements β Base typography for our HTML-rendered components..cc-root {font-family: $font-family-sans;font-size: $font-size-base;line-height: $line-height-normal;color: $color-text-primary;background: $color-bg-base;// Smooth font rendering on macOS / retina-webkit-font-smoothing: antialiased;7 unmodified lineswidth: 100%;max-width: 1160px;margin-inline: auto;padding-inline: $space-5;@include max-width('md') {padding-inline: $space-4;}}.cc-stack {display: flex;flex-direction: column;gap: $space-4;}.cc-cluster {display: flex;flex-wrap: wrap;gap: $space-3;align-items: center;}1 unmodified linedisplay: flex;justify-content: space-between;align-items: center;gap: $space-4;}// 6. Components β Import all component definitions@import 'components_clean';// 7. Utilities / Overrides4 unmodified lines.gradio-container {max-width: 1160px !important;margin: 0 auto !important;background: $color-bg-base !important;}// Hide Gradio's default footer (Gradio branding)1 unmodified line// Gradio injects inline styles on tab panels; bring bg in line with our palette.tab-nav button {font-weight: $font-weight-medium !important;font-size: $font-size-sm !important;}// Global focus-visible reset β ensures our custom focus rings aren't masked:focus { outline: none; }:focus-visible {outline: 2px solid $color-border-focus;outline-offset: 2px;}// Gradio button overrides β nudge the primary button to use our interactive colour.gradio-container .btn-primary,.gradio-container button[data-testid='primary'] {background: $color-interactive !important;border-color: $color-interactive !important;&:hover {background: $color-interactive-hover !important;border-color: $color-interactive-hover !important;}}// Reduced-motion β disable all transitions when user prefers@include motion-reduce {.cc-root *,.gradio-container * {animation-duration: 0.01ms !important;4 unmodified lines}// High-contrast mode β ensure borders and focus rings are visible@include high-contrast {.cc-card,.cc-section,.cc-stepper,
static/build.py+13
static/styles/_components.scss+272-271
static/styles/_components_clean.scssAdded+289
static/styles/_mixins.scss+87-89
static/styles/_tokens.scss+1-1
static/styles/main.cssAdded+1161
static/styles/main.scss+24-24