/* Generated by tools/sample_report/build.py from the AvoLingo app repo (AvolingoWeb/static).
   Do not edit by hand: run the script again. */

@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css');

/*
 * GENERATED FILE. DO NOT EDIT BY HAND.
 *
 * Web ADS tokens exported from the Flutter ADS foundation in
 * packages/avo_design_system. Change the Dart source, then run:
 *   cd packages/avo_design_system && ADS_WRITE_WEB_TOKENS=1 flutter test test/web_tokens/web_tokens_test.dart
 */

:root {
  /* Color (light) */
  --ads-fg-neutral-bold: #1b1c1e;
  --ads-fg-neutral-base: #292a2d;
  --ads-fg-neutral-subtle: #333438d6;
  --ads-fg-neutral-subtler: #37383cb4;
  --ads-fg-neutral-subtlest: #37383c9c;
  --ads-fg-decorative: #37383c47;
  --ads-fg-disabled: #37383c29;
  --ads-fg-inactive: #989ba2;
  --ads-fg-brand-subtle: #1ab878;
  --ads-fg-brand-base: #1ea971;
  --ads-fg-brand-bold: #179967;
  --ads-fg-brand-bolder: #10855b;
  --ads-fg-positive-base: #1ea971;
  --ads-fg-positive-bold: #179967;
  --ads-fg-positive-bolder: #10855b;
  --ads-fg-cautionary-base: #ff822e;
  --ads-fg-cautionary-bold: #ff6600;
  --ads-fg-cautionary-bolder: #913a00;
  --ads-fg-negative-base: #ff5353;
  --ads-fg-negative-bold: #ff4242;
  --ads-fg-negative-bolder: #b00c0c;
  --ads-fg-informative-base: #008dcf;
  --ads-fg-informative-bold: #006796;
  --ads-fg-selection-base: #3385ff;
  --ads-fg-selection-bold: #0066ff;
  --ads-fg-accent-red-base: #e52222;
  --ads-fg-accent-red-orange-base: #f56200;
  --ads-fg-accent-orange-base: #d17600;
  --ads-fg-accent-yellow-base: #996800;
  --ads-fg-accent-lime-base: #429e00;
  --ads-fg-accent-green-base: #009632;
  --ads-fg-accent-cyan-base: #0098b2;
  --ads-fg-accent-light-blue-base: #008dcf;
  --ads-fg-accent-blue-base: #005eeb;
  --ads-fg-accent-violet-base: #5b37ed;
  --ads-fg-accent-purple-base: #ad36e3;
  --ads-fg-accent-pink-base: #e846cd;
  --ads-fg-accent-red-bold: #b00c0c;
  --ads-fg-accent-red-orange-bold: #c95100;
  --ads-fg-accent-orange-bold: #9c5800;
  --ads-fg-accent-yellow-bold: #664500;
  --ads-fg-accent-lime-bold: #347d00;
  --ads-fg-accent-green-bold: #006e25;
  --ads-fg-accent-cyan-bold: #006f82;
  --ads-fg-accent-light-blue-bold: #006796;
  --ads-fg-accent-blue-bold: #0054d1;
  --ads-fg-accent-violet-bold: #4f29e5;
  --ads-fg-accent-purple-bold: #861cb8;
  --ads-fg-accent-pink-bold: #d331b8;
  --ads-fg-inverse-neutral: #f7f7f8;
  --ads-fg-inverse-brand: #33c48a;
  --ads-fg-on-brand: #ffffff;
  --ads-fg-on-positive: #ffffff;
  --ads-fg-on-cautionary: #ffffff;
  --ads-fg-on-negative: #ffffff;
  --ads-fg-on-informative: #ffffff;
  --ads-fg-on-selection: #ffffff;
  --ads-fg-on-accent-yellow: #000000;
  --ads-fg-on-accent-lime: #ffffff;
  --ads-fg-on-accent-cyan: #ffffff;
  --ads-fg-on-accent-blue: #ffffff;
  --ads-fg-on-accent-light-blue: #ffffff;
  --ads-fg-on-accent-violet: #ffffff;
  --ads-fg-on-accent-purple: #ffffff;
  --ads-fg-on-accent-pink: #ffffff;
  --ads-fg-on-accent-red-orange: #ffffff;
  --ads-fg-on-static-dark: #ffffff;
  --ads-bg-page-base: #ffffff;
  --ads-bg-page-sunken: #f7f7f8;
  --ads-bg-floating-base: #ffffff;
  --ads-bg-floating-sunken: #f7f7f8;
  --ads-bg-floating-translucent: #ffffffe0;
  --ads-bg-transparent-base: #ffffff14;
  --ads-bg-transparent-bold: #ffffff2e;
  --ads-bg-transparent-bolder: #ffffff47;
  --ads-bg-celebration: #ffe7c4;
  --ads-bg-neutral-bold: #70737c29;
  --ads-bg-neutral-base: #70737c14;
  --ads-bg-neutral-subtle: #70737c10;
  --ads-bg-neutral-subtler: #70737c0d;
  --ads-bg-brand-subtle: #1ab878;
  --ads-bg-brand-base: #1ea971;
  --ads-bg-brand-bold: #179967;
  --ads-bg-brand-bolder: #10855b;
  --ads-bg-brand-tint-bold: #1ab87852;
  --ads-bg-brand-tint-base: #1ab87829;
  --ads-bg-brand-tint-subtle: #1ab87814;
  --ads-bg-positive-base: #1ea971;
  --ads-bg-positive-bold: #179967;
  --ads-bg-positive-bolder: #10855b;
  --ads-bg-positive-subtle: #1ab87814;
  --ads-bg-cautionary-base: #ff822e;
  --ads-bg-cautionary-bold: #ff6600;
  --ads-bg-cautionary-bolder: #913a00;
  --ads-bg-cautionary-subtle: #ff822e14;
  --ads-bg-negative-base: #ff5353;
  --ads-bg-negative-bold: #ff4242;
  --ads-bg-negative-bolder: #b00c0c;
  --ads-bg-negative-subtle: #ff535314;
  --ads-bg-informative-base: #00aeff;
  --ads-bg-informative-subtle: #008dcf14;
  --ads-bg-selection-base: #3385ff;
  --ads-bg-selection-bold: #0066ff;
  --ads-bg-selection-subtle: #f7fbff;
  --ads-bg-accent-yellow-base: #ffcd00;
  --ads-bg-accent-lime-base: #58cf04;
  --ads-bg-accent-cyan-base: #00bdde;
  --ads-bg-accent-blue-base: #0066ff;
  --ads-bg-accent-light-blue-base: #00aeff;
  --ads-bg-accent-violet-base: #6541f2;
  --ads-bg-accent-purple-base: #cb59ff;
  --ads-bg-accent-pink-base: #f553da;
  --ads-bg-accent-red-orange-base: #ff6600;
  --ads-bg-accent-yellow-subtle: #fff9e6;
  --ads-bg-accent-lime-subtle: #429e0014;
  --ads-bg-accent-cyan-subtle: #0098b214;
  --ads-bg-accent-blue-subtle: #005eeb14;
  --ads-bg-accent-light-blue-subtle: #008dcf14;
  --ads-bg-accent-violet-subtle: #5b37ed14;
  --ads-bg-accent-purple-subtle: #ad36e314;
  --ads-bg-accent-pink-subtle: #e846cd14;
  --ads-bg-accent-red-orange-subtle: #f5620014;
  --ads-bg-disabled: #f4f4f5;
  --ads-bg-inverse-base: #1b1c1e;
  --ads-bg-inverse-subtle: #37383c;
  --ads-bg-static-dark: #292a2d;
  --ads-stroke-neutral-bold: #70737c84;
  --ads-stroke-neutral-base: #70737c38;
  --ads-stroke-neutral-subtle: #70737c29;
  --ads-stroke-neutral-subtler: #70737c14;
  --ads-stroke-opaque-bold: #aeb0b6;
  --ads-stroke-opaque-base: #e1e2e4;
  --ads-stroke-opaque-subtle: #eaebec;
  --ads-stroke-opaque-subtler: #f4f4f5;
  --ads-stroke-brand-subtle: #1ab878;
  --ads-stroke-brand-base: #1ea971;
  --ads-stroke-brand-bold: #179967;
  --ads-stroke-brand-bolder: #10855b;
  --ads-stroke-positive-base: #1ea971;
  --ads-stroke-positive-bold: #179967;
  --ads-stroke-positive-bolder: #10855b;
  --ads-stroke-cautionary-base: #ff822e;
  --ads-stroke-cautionary-bold: #ff6600;
  --ads-stroke-cautionary-bolder: #913a00;
  --ads-stroke-negative-base: #ff5353;
  --ads-stroke-negative-bold: #ff4242;
  --ads-stroke-negative-bolder: #b00c0c;
  --ads-stroke-informative-base: #008dcf;
  --ads-stroke-selection-base: #3385ff;
  --ads-stroke-selection-bold: #0066ff;
  --ads-stroke-focus: #1ea971;
  --ads-effect-dimmer: #17171985;
  --ads-static-white: #ffffff;
  --ads-static-black: #000000;

  /* Deprecated color aliases (Montage 3.x names) */
  --ads-label-strong: var(--ads-fg-neutral-bold);
  --ads-label-normal: var(--ads-fg-neutral-base);
  --ads-label-neutral: var(--ads-fg-neutral-subtle);
  --ads-label-alternative: var(--ads-fg-neutral-subtler);
  --ads-label-assistive: var(--ads-fg-decorative);
  --ads-label-disable: var(--ads-fg-disabled);
  --ads-background-normal-normal: var(--ads-bg-page-base);
  --ads-background-normal-neutral: var(--ads-bg-page-base);
  --ads-background-normal-alternative: var(--ads-bg-page-sunken);
  --ads-background-elevated-normal: var(--ads-bg-floating-base);
  --ads-background-elevated-neutral: var(--ads-bg-floating-base);
  --ads-background-elevated-alternative: var(--ads-bg-floating-sunken);
  --ads-background-elevated-translucent: var(--ads-bg-floating-translucent);
  --ads-background-transparent-normal: var(--ads-bg-transparent-base);
  --ads-background-transparent-neutral: var(--ads-bg-transparent-bold);
  --ads-background-transparent-alternative: var(--ads-bg-transparent-bolder);
  --ads-background-celebration: var(--ads-bg-celebration);
  --ads-interaction-inactive: var(--ads-fg-inactive);
  --ads-interaction-disable: var(--ads-bg-disabled);
  --ads-selection-fill: var(--ads-bg-selection-subtle);
  --ads-selection-on-selection: var(--ads-fg-on-selection);
  --ads-selection-normal: var(--ads-bg-selection-base);
  --ads-selection-strong: var(--ads-fg-selection-bold);
  --ads-line-normal-normal: var(--ads-stroke-neutral-base);
  --ads-line-normal-neutral: var(--ads-stroke-neutral-subtle);
  --ads-line-normal-alternative: var(--ads-stroke-neutral-subtler);
  --ads-line-normal-strong: var(--ads-stroke-neutral-bold);
  --ads-line-solid-normal: var(--ads-stroke-opaque-base);
  --ads-line-solid-neutral: var(--ads-stroke-opaque-subtle);
  --ads-line-solid-alternative: var(--ads-stroke-opaque-subtler);
  --ads-line-solid-strong: var(--ads-stroke-opaque-bold);
  --ads-fill-normal: var(--ads-bg-neutral-base);
  --ads-fill-strong: var(--ads-bg-neutral-bold);
  --ads-fill-subtle: var(--ads-bg-neutral-subtle);
  --ads-fill-alternative: var(--ads-bg-neutral-subtler);
  --ads-fill-primary-normal: var(--ads-bg-brand-tint-base);
  --ads-fill-primary-strong: var(--ads-bg-brand-tint-bold);
  --ads-fill-primary-alternative: var(--ads-bg-brand-tint-subtle);
  --ads-primary-on-primary: var(--ads-fg-on-brand);
  --ads-primary-weak: var(--ads-bg-brand-subtle);
  --ads-primary-normal: var(--ads-bg-brand-base);
  --ads-primary-strong: var(--ads-fg-brand-bold);
  --ads-primary-heavy: var(--ads-fg-brand-bolder);
  --ads-material-dimmer: var(--ads-effect-dimmer);
  --ads-inverse-label: var(--ads-fg-inverse-neutral);
  --ads-inverse-primary: var(--ads-fg-inverse-brand);
  --ads-inverse-background: var(--ads-bg-inverse-base);
  --ads-bg-inverse: var(--ads-bg-inverse-base);
  --ads-status-positive: var(--ads-fg-positive-base);
  --ads-status-positive-strong: var(--ads-fg-positive-bold);
  --ads-status-positive-heavy: var(--ads-fg-positive-bolder);
  --ads-status-on-positive: var(--ads-fg-on-positive);
  --ads-status-cautionary: var(--ads-fg-cautionary-base);
  --ads-status-cautionary-strong: var(--ads-fg-cautionary-bold);
  --ads-status-cautionary-heavy: var(--ads-fg-cautionary-bolder);
  --ads-status-on-cautionary: var(--ads-fg-on-cautionary);
  --ads-status-negative: var(--ads-fg-negative-base);
  --ads-status-negative-strong: var(--ads-fg-negative-bold);
  --ads-status-negative-heavy: var(--ads-fg-negative-bolder);
  --ads-status-on-negative: var(--ads-fg-on-negative);
  --ads-accent-foreground-normal-red: var(--ads-fg-accent-red-base);
  --ads-accent-foreground-strong-red: var(--ads-fg-accent-red-bold);
  --ads-accent-foreground-normal-red-orange: var(--ads-fg-accent-red-orange-base);
  --ads-accent-foreground-strong-red-orange: var(--ads-fg-accent-red-orange-bold);
  --ads-accent-foreground-normal-orange: var(--ads-fg-accent-orange-base);
  --ads-accent-foreground-strong-orange: var(--ads-fg-accent-orange-bold);
  --ads-accent-foreground-normal-yellow: var(--ads-fg-accent-yellow-base);
  --ads-accent-foreground-strong-yellow: var(--ads-fg-accent-yellow-bold);
  --ads-accent-foreground-normal-lime: var(--ads-fg-accent-lime-base);
  --ads-accent-foreground-strong-lime: var(--ads-fg-accent-lime-bold);
  --ads-accent-foreground-normal-green: var(--ads-fg-accent-green-base);
  --ads-accent-foreground-strong-green: var(--ads-fg-accent-green-bold);
  --ads-accent-foreground-normal-cyan: var(--ads-fg-accent-cyan-base);
  --ads-accent-foreground-strong-cyan: var(--ads-fg-accent-cyan-bold);
  --ads-accent-foreground-normal-light-blue: var(--ads-fg-accent-light-blue-base);
  --ads-accent-foreground-strong-light-blue: var(--ads-fg-accent-light-blue-bold);
  --ads-accent-foreground-normal-blue: var(--ads-fg-accent-blue-base);
  --ads-accent-foreground-strong-blue: var(--ads-fg-accent-blue-bold);
  --ads-accent-foreground-normal-violet: var(--ads-fg-accent-violet-base);
  --ads-accent-foreground-strong-violet: var(--ads-fg-accent-violet-bold);
  --ads-accent-foreground-normal-purple: var(--ads-fg-accent-purple-base);
  --ads-accent-foreground-strong-purple: var(--ads-fg-accent-purple-bold);
  --ads-accent-foreground-normal-pink: var(--ads-fg-accent-pink-base);
  --ads-accent-foreground-strong-pink: var(--ads-fg-accent-pink-bold);
  --ads-accent-background-yellow: var(--ads-bg-accent-yellow-base);
  --ads-accent-background-weak-yellow: var(--ads-bg-accent-yellow-subtle);
  --ads-accent-on-background-yellow: var(--ads-fg-on-accent-yellow);
  --ads-accent-background-lime: var(--ads-bg-accent-lime-base);
  --ads-accent-background-weak-lime: var(--ads-bg-accent-lime-subtle);
  --ads-accent-on-background-lime: var(--ads-fg-on-accent-lime);
  --ads-accent-background-cyan: var(--ads-bg-accent-cyan-base);
  --ads-accent-background-weak-cyan: var(--ads-bg-accent-cyan-subtle);
  --ads-accent-on-background-cyan: var(--ads-fg-on-accent-cyan);
  --ads-accent-background-blue: var(--ads-bg-accent-blue-base);
  --ads-accent-background-weak-blue: var(--ads-bg-accent-blue-subtle);
  --ads-accent-on-background-blue: var(--ads-fg-on-accent-blue);
  --ads-accent-background-light-blue: var(--ads-bg-accent-light-blue-base);
  --ads-accent-background-weak-light-blue: var(--ads-bg-accent-light-blue-subtle);
  --ads-accent-on-background-light-blue: var(--ads-fg-on-accent-light-blue);
  --ads-accent-background-violet: var(--ads-bg-accent-violet-base);
  --ads-accent-background-weak-violet: var(--ads-bg-accent-violet-subtle);
  --ads-accent-on-background-violet: var(--ads-fg-on-accent-violet);
  --ads-accent-background-purple: var(--ads-bg-accent-purple-base);
  --ads-accent-background-weak-purple: var(--ads-bg-accent-purple-subtle);
  --ads-accent-on-background-purple: var(--ads-fg-on-accent-purple);
  --ads-accent-background-pink: var(--ads-bg-accent-pink-base);
  --ads-accent-background-weak-pink: var(--ads-bg-accent-pink-subtle);
  --ads-accent-on-background-pink: var(--ads-fg-on-accent-pink);
  --ads-accent-background-red-orange: var(--ads-bg-accent-red-orange-base);
  --ads-accent-background-weak-red-orange: var(--ads-bg-accent-red-orange-subtle);
  --ads-accent-on-background-red-orange: var(--ads-fg-on-accent-red-orange);

  /* Gradient (light) */
  --ads-gradient-weak: linear-gradient(180deg, #1ab878, #e7f4c1);
  --ads-gradient-normal: linear-gradient(180deg, #179967, #d1e982);

  /* Atomic colors used by components */
  --ads-atomic-cool-neutral-15: #1b1c1e;
  --ads-atomic-cool-neutral-25: #37383c;
  --ads-atomic-cool-neutral-80: #aeb0b6;
  --ads-atomic-cool-neutral-99: #f7f7f8;

  /* Deprecated atomic aliases */
  --ads-atomic-cool-neutral-20: var(--ads-bg-static-dark);
  --ads-atomic-avo-green-55: #1ab878;

  /* Typography */
  --ads-font-family: 'Pretendard Variable', Pretendard, Tossface, -apple-system, BlinkMacSystemFont, system-ui, 'Apple SD Gothic Neo', 'Roboto', 'Noto Sans KR', 'Noto Sans CJK KR', 'Malgun Gothic', 'Noto Sans Arabic', sans-serif;
  --ads-font-weight-regular: 400;
  --ads-font-weight-medium: 500;
  --ads-font-weight-semibold: 600;
  --ads-font-weight-bold: 700;
  --ads-display1-font-size: 3.5rem;
  --ads-display1-letter-spacing: -0.028em;
  --ads-display1-bold-font-weight: 700;
  --ads-display1-medium-font-weight: 500;
  --ads-display1-regular-font-weight: 400;
  --ads-display1-line-height: 1.3;
  --ads-display2-font-size: 2.5rem;
  --ads-display2-letter-spacing: -0.024em;
  --ads-display2-bold-font-weight: 700;
  --ads-display2-medium-font-weight: 500;
  --ads-display2-regular-font-weight: 400;
  --ads-display2-line-height: 1.35;
  --ads-display3-font-size: 2.25rem;
  --ads-display3-letter-spacing: -0.02em;
  --ads-display3-bold-font-weight: 700;
  --ads-display3-medium-font-weight: 500;
  --ads-display3-regular-font-weight: 400;
  --ads-display3-line-height: 1.4;
  --ads-title1-font-size: 2rem;
  --ads-title1-letter-spacing: -0.02em;
  --ads-title1-bold-font-weight: 700;
  --ads-title1-medium-font-weight: 500;
  --ads-title1-regular-font-weight: 400;
  --ads-title1-line-height: 1.4;
  --ads-title2-font-size: 1.75rem;
  --ads-title2-letter-spacing: -0.018em;
  --ads-title2-bold-font-weight: 700;
  --ads-title2-medium-font-weight: 500;
  --ads-title2-regular-font-weight: 400;
  --ads-title2-line-height: 1.4;
  --ads-title3-font-size: 1.5rem;
  --ads-title3-letter-spacing: -0.014em;
  --ads-title3-bold-font-weight: 700;
  --ads-title3-medium-font-weight: 500;
  --ads-title3-regular-font-weight: 400;
  --ads-title3-line-height: 1.4;
  --ads-heading1-font-size: 1.375rem;
  --ads-heading1-letter-spacing: -0.01em;
  --ads-heading1-semibold-font-weight: 600;
  --ads-heading1-bold-font-weight: var(--ads-heading1-semibold-font-weight);
  --ads-heading1-medium-font-weight: 500;
  --ads-heading1-regular-font-weight: 400;
  --ads-heading1-line-height: 1.4;
  --ads-heading2-font-size: 1.25rem;
  --ads-heading2-letter-spacing: -0.004em;
  --ads-heading2-semibold-font-weight: 600;
  --ads-heading2-bold-font-weight: var(--ads-heading2-semibold-font-weight);
  --ads-heading2-medium-font-weight: 500;
  --ads-heading2-regular-font-weight: 400;
  --ads-heading2-line-height: 1.4;
  --ads-headline1-font-size: 1.125rem;
  --ads-headline1-letter-spacing: -0.002em;
  --ads-headline1-semibold-font-weight: 600;
  --ads-headline1-bold-font-weight: var(--ads-headline1-semibold-font-weight);
  --ads-headline1-medium-font-weight: 500;
  --ads-headline1-regular-font-weight: 400;
  --ads-headline1-line-height: 1.45;
  --ads-headline1-reading-line-height: 1.667;
  --ads-headline2-font-size: 1.0625rem;
  --ads-headline2-letter-spacing: -0.001em;
  --ads-headline2-semibold-font-weight: 600;
  --ads-headline2-bold-font-weight: var(--ads-headline2-semibold-font-weight);
  --ads-headline2-medium-font-weight: 500;
  --ads-headline2-regular-font-weight: 400;
  --ads-headline2-line-height: 1.5;
  --ads-headline2-reading-line-height: 1.647;
  --ads-body1-font-size: 1rem;
  --ads-body1-letter-spacing: 0em;
  --ads-body1-semibold-font-weight: 600;
  --ads-body1-bold-font-weight: var(--ads-body1-semibold-font-weight);
  --ads-body1-medium-font-weight: 500;
  --ads-body1-regular-font-weight: 400;
  --ads-body1-line-height: 1.5;
  --ads-body1-reading-line-height: 1.625;
  --ads-body2-font-size: 0.9375rem;
  --ads-body2-letter-spacing: 0em;
  --ads-body2-semibold-font-weight: 600;
  --ads-body2-bold-font-weight: var(--ads-body2-semibold-font-weight);
  --ads-body2-medium-font-weight: 500;
  --ads-body2-regular-font-weight: 400;
  --ads-body2-line-height: 1.467;
  --ads-body2-reading-line-height: 1.6;
  --ads-label1-font-size: 0.875rem;
  --ads-label1-letter-spacing: 0em;
  --ads-label1-semibold-font-weight: 600;
  --ads-label1-bold-font-weight: var(--ads-label1-semibold-font-weight);
  --ads-label1-medium-font-weight: 500;
  --ads-label1-regular-font-weight: 400;
  --ads-label1-line-height: 1.429;
  --ads-label1-reading-line-height: 1.571;
  --ads-label2-font-size: 0.8125rem;
  --ads-label2-letter-spacing: 0em;
  --ads-label2-semibold-font-weight: 600;
  --ads-label2-bold-font-weight: var(--ads-label2-semibold-font-weight);
  --ads-label2-medium-font-weight: 500;
  --ads-label2-regular-font-weight: 400;
  --ads-label2-line-height: 1.385;
  --ads-caption1-font-size: 0.75rem;
  --ads-caption1-letter-spacing: 0em;
  --ads-caption1-semibold-font-weight: 600;
  --ads-caption1-bold-font-weight: var(--ads-caption1-semibold-font-weight);
  --ads-caption1-medium-font-weight: 500;
  --ads-caption1-regular-font-weight: 400;
  --ads-caption1-line-height: 1.334;
  --ads-caption2-font-size: 0.6875rem;
  --ads-caption2-letter-spacing: 0.004em;
  --ads-caption2-semibold-font-weight: 600;
  --ads-caption2-bold-font-weight: var(--ads-caption2-semibold-font-weight);
  --ads-caption2-medium-font-weight: 500;
  --ads-caption2-regular-font-weight: 400;
  --ads-caption2-line-height: 1.273;

  /* Size */
  --ads-size-1: 1px;
  --ads-s1: var(--ads-size-1);
  --ads-size-2: 2px;
  --ads-s2: var(--ads-size-2);
  --ads-size-3: 3px;
  --ads-s3: var(--ads-size-3);
  --ads-size-4: 4px;
  --ads-s4: var(--ads-size-4);
  --ads-size-5: 5px;
  --ads-s5: var(--ads-size-5);
  --ads-size-6: 6px;
  --ads-s6: var(--ads-size-6);
  --ads-size-8: 8px;
  --ads-s8: var(--ads-size-8);
  --ads-size-10: 10px;
  --ads-s10: var(--ads-size-10);
  --ads-size-12: 12px;
  --ads-s12: var(--ads-size-12);
  --ads-size-14: 14px;
  --ads-s14: var(--ads-size-14);
  --ads-size-16: 16px;
  --ads-s16: var(--ads-size-16);
  --ads-size-18: 18px;
  --ads-s18: var(--ads-size-18);
  --ads-size-20: 20px;
  --ads-s20: var(--ads-size-20);
  --ads-size-24: 24px;
  --ads-s24: var(--ads-size-24);
  --ads-size-28: 28px;
  --ads-s28: var(--ads-size-28);
  --ads-size-32: 32px;
  --ads-s32: var(--ads-size-32);
  --ads-size-36: 36px;
  --ads-s36: var(--ads-size-36);
  --ads-size-40: 40px;
  --ads-s40: var(--ads-size-40);
  --ads-size-44: 44px;
  --ads-s44: var(--ads-size-44);
  --ads-size-48: 48px;
  --ads-s48: var(--ads-size-48);
  --ads-size-56: 56px;
  --ads-s56: var(--ads-size-56);
  --ads-size-64: 64px;
  --ads-s64: var(--ads-size-64);
  --ads-border-radius-3xs: 2px;
  --ads-border-radius-2xs: 6px;
  --ads-border-radius-xxs: var(--ads-border-radius-3xs);
  --ads-border-radius-compact: var(--ads-border-radius-2xs);
  --ads-border-radius-xs: 8px;
  --ads-border-radius-sm: 12px;
  --ads-border-radius-md: 16px;
  --ads-border-radius-lg: 24px;
  --ads-border-radius-xl: var(--ads-border-radius-md);
  --ads-border-radius-xxl: var(--ads-border-radius-lg);
  --ads-border-radius-full: 999px;
  --ads-border-width-subtle: 0.5px;
  --ads-border-width-base: 1px;
  --ads-border-width-bold: 2px;
  --ads-border-width-normal: var(--ads-border-width-subtle);
  --ads-border-width-thin: var(--ads-border-width-base);
  --ads-border-width-thick: var(--ads-border-width-bold);
  --ads-stroke-width-progress: 2px;

  /* Spacing roles */
  --ads-spacing-between-text: 4px;
  --ads-spacing-control-to-note: 4px;
  --ads-spacing-label-to-control: 8px;
  --ads-spacing-between-chips: 8px;
  --ads-spacing-between-actions: 8px;
  --ads-spacing-title-to-content: 12px;
  --ads-spacing-between-fields: 24px;
  --ads-spacing-around-divider: 24px;
  --ads-spacing-fields-to-action: 32px;
  --ads-spacing-between-blocks: 40px;
  --ads-spacing-between-sections: 32px;
  --ads-spacing-card-inset: 20px;
  --ads-spacing-tile-inset: 16px;
  --ads-spacing-sheet-inset: 20px;
  --ads-spacing-list-item-inset: 20px;
  --ads-spacing-between-cards: 12px;
  --ads-spacing-page-inline-compact: 20px;
  --ads-spacing-page-inline-wide: 64px;

  /* Control sizes */
  --ads-control-xs-height: max(32px, calc(var(--ads-label1-font-size) * var(--ads-label1-line-height) + 12px));
  --ads-control-xs-font-size: var(--ads-label1-font-size);
  --ads-control-xs-line-height: var(--ads-label1-line-height);
  --ads-control-xs-letter-spacing: var(--ads-label1-letter-spacing);
  --ads-control-xs-padding-block: 6px;
  --ads-control-xs-icon: 16px;
  --ads-control-xs-icon-only: 16px;
  --ads-control-xs-radius: 8px;
  --ads-control-sm-height: max(40px, calc(var(--ads-body2-font-size) * var(--ads-body2-line-height) + 18px));
  --ads-control-sm-font-size: var(--ads-body2-font-size);
  --ads-control-sm-line-height: var(--ads-body2-line-height);
  --ads-control-sm-letter-spacing: var(--ads-body2-letter-spacing);
  --ads-control-sm-padding-block: 9px;
  --ads-control-sm-icon: 18px;
  --ads-control-sm-icon-only: 20px;
  --ads-control-sm-radius: 12px;
  --ads-control-md-height: max(48px, calc(var(--ads-body1-font-size) * var(--ads-body1-line-height) + 24px));
  --ads-control-md-font-size: var(--ads-body1-font-size);
  --ads-control-md-line-height: var(--ads-body1-line-height);
  --ads-control-md-letter-spacing: var(--ads-body1-letter-spacing);
  --ads-control-md-padding-block: 12px;
  --ads-control-md-icon: 20px;
  --ads-control-md-icon-only: 24px;
  --ads-control-md-radius: 12px;
  --ads-control-lg-height: max(56px, calc(var(--ads-headline2-font-size) * var(--ads-headline2-line-height) + 30px));
  --ads-control-lg-font-size: var(--ads-headline2-font-size);
  --ads-control-lg-line-height: var(--ads-headline2-line-height);
  --ads-control-lg-letter-spacing: var(--ads-headline2-letter-spacing);
  --ads-control-lg-padding-block: 15px;
  --ads-control-lg-icon: 20px;
  --ads-control-lg-icon-only: 24px;
  --ads-control-lg-radius: 16px;

  /* Layout */
  --ads-layout-compact-navigation-breakpoint: 600px;
  --ads-layout-expanded-navigation-breakpoint: 1024px;
  --ads-layout-max-learner-content-width: 1280px;
  --ads-layout-max-exercise-content-width: 760px;
  --ads-layout-max-authentication-content-width: 440px;
  --ads-layout-max-onboarding-content-width: 440px;
  --ads-layout-onboarding-tutor-presence-aspect-ratio: 0.7511;
  --ads-layout-min-onboarding-hero-presence-height: 200px;
  --ads-layout-max-onboarding-hero-presence-height: 450px;
  --ads-layout-authentication-brand-width: 240px;
  --ads-layout-compact-navigation-rail-width: 88px;
  --ads-layout-expanded-navigation-rail-width: 240px;
  --ads-layout-page-width-sm: 720px;
  --ads-layout-page-width-md: 1080px;
  --ads-layout-page-width-lg: 1440px;
  --ads-layout-page-rail-width: 320px;

  /* Shadow */
  --ads-shadow-none: none;
  --ads-shadow-level-1: 0 1px 2px 0 #1717190f, 0 1px 6px 0 #1717190d;
  --ads-shadow-level-2: 0 1px 3px 0 #1717190f, 0 3px 12px 0 #17171912;
  --ads-shadow-level-3: 0 2px 4px 0 #1717190d, 0 5px 18px 0 #17171917;
  --ads-shadow-level-4: 0 2px 6px 0 #1717190d, 0 8px 26px 0 #1717191c;
  --ads-shadow-level-5: 0 3px 8px 0 #1717190a, 0 12px 36px 0 #17171921;
  --ads-shadow-xs-subtle: 0 1px 3px 0 #1717190f;
  --ads-shadow-xs-base: 0 1px 3px 0 #17171917;
  --ads-shadow-xs-bold: 0 1px 3px 0 #1717191f;
  --ads-shadow-sm-subtle: 0 4px 20px 0 #17171902, 0 2px 12px 0 #17171903;
  --ads-shadow-sm-base: 0 4px 20px 0 #17171903, 0 2px 12px 0 #17171905;
  --ads-shadow-sm-bold: 0 4px 20px 0 #17171905, 0 2px 12px 0 #1717190a;
  --ads-shadow-md-subtle: 0 8px 24px 0 #17171903, 0 16px 36px 0 #17171902, 0 32px 64px 0 #17171902;
  --ads-shadow-md-base: 0 8px 24px 0 #17171905, 0 16px 36px 0 #17171903, 0 32px 64px 0 #17171903;
  --ads-shadow-md-bold: 0 8px 24px 0 #1717190a, 0 16px 36px 0 #17171905, 0 32px 64px 0 #17171905;
  --ads-shadow-lg-subtle: 0 12px 32px 0 #17171905, 0 24px 56px 0 #17171903, 0 48px 96px 0 #17171903;
  --ads-shadow-lg-base: 0 12px 32px 0 #17171908, 0 24px 56px 0 #17171905, 0 48px 96px 0 #17171905;
  --ads-shadow-lg-bold: 0 12px 32px 0 #1717190f, 0 24px 56px 0 #1717190a, 0 48px 96px 0 #1717190a;
  --ads-shadow-xs-alternative: var(--ads-shadow-xs-subtle);
  --ads-shadow-xs-normal: var(--ads-shadow-xs-base);
  --ads-shadow-xs-strong: var(--ads-shadow-xs-bold);
  --ads-shadow-sm-alternative: var(--ads-shadow-sm-subtle);
  --ads-shadow-sm-normal: var(--ads-shadow-sm-base);
  --ads-shadow-sm-strong: var(--ads-shadow-sm-bold);
  --ads-shadow-md-alternative: var(--ads-shadow-md-subtle);
  --ads-shadow-md-normal: var(--ads-shadow-md-base);
  --ads-shadow-md-strong: var(--ads-shadow-md-bold);
  --ads-shadow-lg-alternative: var(--ads-shadow-lg-subtle);
  --ads-shadow-lg-normal: var(--ads-shadow-lg-base);
  --ads-shadow-lg-strong: var(--ads-shadow-lg-bold);

  /* Elevation */
  --ads-elevation-raised: var(--ads-shadow-level-1);
  --ads-elevation-sticky: var(--ads-shadow-level-2);
  --ads-elevation-floating: var(--ads-shadow-level-3);
  --ads-elevation-popover: var(--ads-shadow-level-4);
  --ads-elevation-toast: var(--ads-shadow-level-4);
  --ads-elevation-overlay: var(--ads-shadow-level-5);

  /* Layer (z-index) */
  --ads-layer-base: 0;
  --ads-layer-raised: 1;
  --ads-layer-sticky: 20;
  --ads-layer-dropdown: 1000;
  --ads-layer-overlay: 1200;
  --ads-layer-tooltip: 1300;
  --ads-layer-modal: 1400;
  --ads-layer-toast: 1500;

  /* Motion */
  --ads-duration-short1: 100ms;
  --ads-duration-short2: 150ms;
  --ads-duration-medium: 250ms;
  --ads-duration-long1: 350ms;
  --ads-duration-long2: 500ms;
  --ads-duration-fast: var(--ads-duration-short1);
  --ads-duration-quick: var(--ads-duration-short2);
  --ads-duration-normal: var(--ads-duration-medium);
  --ads-duration-slow: var(--ads-duration-long1);
  --ads-duration-emphasis: var(--ads-duration-long2);
  --ads-duration-progress-indicator-cycle: 800ms;
  --ads-duration-snackbar-minimum: 3500ms;
  --ads-duration-snackbar-maximum: 4500ms;
  --ads-easing-ease-in-out: cubic-bezier(0.645, 0.045, 0.355, 1);
  --ads-easing-ease-in: cubic-bezier(0.55, 0.055, 0.675, 0.19);
  --ads-easing-ease-out: cubic-bezier(0.215, 0.61, 0.355, 1);
  --ads-easing-ease-out-strong: cubic-bezier(0.23, 1, 0.32, 1);
  --ads-easing-overshoot: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --ads-easing-elastic: linear(0, 0.2231 2.5%, 0.5 5%, 0.7725 7.5%, 1 10%, 1.1609 12.5%, 1.25 15%, 1.2747 17.5%, 1.25 20%, 1.1942 22.5%, 1.125 25%, 1.0569 27.5%, 1 30%, 0.9598 32.5%, 0.9375 35%, 0.9313 37.5%, 0.9375 40%, 0.9514 42.5%, 0.9688 45%, 0.9858 47.5%, 1 50%, 1.0101 52.5%, 1.0156 55%, 1.0172 57.5%, 1.0156 60%, 1.0121 62.5%, 1.0078 65%, 1.0036 67.5%, 1 70%, 0.9975 72.5%, 0.9961 75%, 0.9957 77.5%, 0.9961 80%, 0.997 82.5%, 0.998 85%, 0.9991 87.5%, 1 90%, 1.0006 92.5%, 1.001 95%, 1.0011 97.5%, 1);
  --ads-easing-ease-out-gentle: cubic-bezier(0, 0, 0.58, 1);
  --ads-curve-standard: var(--ads-easing-ease-in-out);
  --ads-curve-enter: var(--ads-easing-ease-out);
  --ads-curve-exit: var(--ads-easing-ease-in);
  --ads-curve-emphasized: var(--ads-easing-ease-out-strong);
  --ads-curve-spring: var(--ads-easing-overshoot);
  --ads-curve-playful: var(--ads-easing-elastic);
  --ads-curve-accelerate: var(--ads-curve-exit);
  --ads-curve-decelerate: var(--ads-curve-enter);
  --ads-curve-snappy: var(--ads-curve-emphasized);
  --ads-curve-rebound: var(--ads-curve-playful);
  --ads-curve-spring-quick: var(--ads-curve-spring);
  --ads-curve-toggle: var(--ads-easing-ease-out-gentle);

  /* Interaction */
  --ads-interaction-disabled-opacity: 0.43;
  --ads-interaction-disabled-surface-opacity: 0.4;
  --ads-interaction-press-scale: 0.98;
  --ads-interaction-press-scale-emphasized: 0.96;
  --ads-interaction-compact-touch-target: 40px;
  --ads-interaction-minimum-touch-target: 44px;
  --ads-interaction-comfortable-touch-target: 48px;
  --ads-interaction-focus-ring-width: 2px;
  --ads-interaction-focus-ring-offset: 2px;
  --ads-interaction-feedback-duration: 100ms;
  --ads-interaction-feedback-curve: cubic-bezier(0.42, 0, 0.58, 1);
  --ads-interaction-neutral-hovered-opacity: 0.02;
  --ads-interaction-neutral-focused-opacity: 0.05;
  --ads-interaction-neutral-pressed-opacity: 0.06;
  --ads-interaction-normal-hovered-opacity: 0.04;
  --ads-interaction-normal-focused-opacity: 0.06;
  --ads-interaction-normal-pressed-opacity: 0.09;
  --ads-interaction-strong-hovered-opacity: 0.06;
  --ads-interaction-strong-focused-opacity: 0.09;
  --ads-interaction-strong-pressed-opacity: 0.14;

  /* Modal */
  --ads-modal-compact-max-width: 480px;
  --ads-modal-expanded-max-width: 768px;

  /* Component tokens */
  --ads-page-sheet-medium-initial-top-gap: 64px;
  --ads-page-sheet-large-initial-top-gap: 24px;
  --ads-page-sheet-drag-handle-area-height: 16px;
  --ads-page-sheet-drag-handle-fade-distance: 12px;
  --ads-page-sheet-corner-reveal-distance: 12px;
  --ads-page-sheet-minimum-initial-extent: 0.72;
  --ads-page-sheet-page-extent: 1;
  --ads-page-sheet-dismiss-extent-delta: 0.06;
  --ads-page-sheet-extent-tolerance: 0.001;
  --ads-slider-height: 28px;
  --ads-slider-track-inset: 14px;
  --ads-slider-track-height: 4px;
  --ads-slider-thumb-size: 20px;
  --ads-slider-indicator-gap: 8px;
  --ads-calendar-day-size: 40px;
  --ads-calendar-day-gap: 4px;
  --ads-calendar-month-width: 96px;
  --ads-calendar-month-gap: 8px;
  --ads-calendar-width: 304px;
  --ads-time-picker-item-width: 64px;
  --ads-time-picker-item-height: 40px;
  --ads-time-picker-item-gap: 4px;
  --ads-time-picker-visible-rows: 5;
  --ads-time-picker-list-height: 216px;
  --ads-time-picker-wheel-item-height: 44px;
  --ads-time-picker-wheel-height: 220px;
  --ads-select-field-text-height: 32px;
  --ads-select-field-text-height-sm: 40px;
  --ads-select-field-menu-max-width: 320px;
  --ads-sheet-header-top-padding: 24px;
  --ads-sheet-header-top-padding-below-handle: 12px;
  --ads-sheet-header-centered-top-extra: 20px;
  --ads-sheet-header-bottom-padding: 20px;
  --ads-sheet-header-horizontal-padding: 20px;
  --ads-sheet-header-title-description-gap: 4px;
  --ads-sheet-header-media-gap: 20px;
  --ads-sheet-header-media-inline-gap: 16px;
  --ads-sheet-header-close-surface-size: 28px;
  --ads-sheet-header-close-target-size: 48px;
  --ads-sheet-header-close-end-inset: 10px;
  --ads-sheet-header-close-reserve: 60px;
  --ads-sheet-header-max-pinned-height-fraction: 0.4;

}

/* Dark colors and shadows are exported for parity; the web does not switch
   themes automatically. */
:root[data-ads-theme="dark"] {
  /* Color (dark) */
  --ads-fg-neutral-bold: #e1e2e4;
  --ads-fg-neutral-base: #c2c4c8;
  --ads-fg-neutral-subtle: #c2c4c8d6;
  --ads-fg-neutral-subtler: #aeb0b6bd;
  --ads-fg-neutral-subtlest: #aeb0b69c;
  --ads-fg-decorative: #aeb0b647;
  --ads-fg-disabled: #878a9329;
  --ads-fg-inactive: #5a5c63;
  --ads-fg-brand-subtle: #33c48a;
  --ads-fg-brand-base: #1ab878;
  --ads-fg-brand-bold: #33c48a;
  --ads-fg-brand-bolder: #6ddbb2;
  --ads-fg-positive-base: #1ab878;
  --ads-fg-positive-bold: #33c48a;
  --ads-fg-positive-bolder: #6ddbb2;
  --ads-fg-cautionary-base: #ff822e;
  --ads-fg-cautionary-bold: #ff6600;
  --ads-fg-cautionary-bolder: #ffa061;
  --ads-fg-negative-base: #ff5353;
  --ads-fg-negative-bold: #ff4242;
  --ads-fg-negative-bolder: #ff8c8c;
  --ads-fg-informative-base: #00aeff;
  --ads-fg-informative-bold: #3dc2ff;
  --ads-fg-selection-base: #3385ff;
  --ads-fg-selection-bold: #9ec5ff;
  --ads-fg-accent-red-base: #ff6363;
  --ads-fg-accent-red-orange-base: #ff822e;
  --ads-fg-accent-orange-base: #ff9200;
  --ads-fg-accent-yellow-base: #ffd633;
  --ads-fg-accent-lime-base: #58cf04;
  --ads-fg-accent-green-base: #1ed45a;
  --ads-fg-accent-cyan-base: #00bdde;
  --ads-fg-accent-light-blue-base: #00aeff;
  --ads-fg-accent-blue-base: #4f95ff;
  --ads-fg-accent-violet-base: #9e86fc;
  --ads-fg-accent-purple-base: #d478ff;
  --ads-fg-accent-pink-base: #fa73e3;
  --ads-fg-accent-red-bold: #ff8c8c;
  --ads-fg-accent-red-orange-bold: #ffa061;
  --ads-fg-accent-orange-bold: #ffa938;
  --ads-fg-accent-yellow-bold: #ffdd66;
  --ads-fg-accent-lime-bold: #6be016;
  --ads-fg-accent-green-bold: #49e57d;
  --ads-fg-accent-cyan-bold: #28d0ed;
  --ads-fg-accent-light-blue-bold: #3dc2ff;
  --ads-fg-accent-blue-bold: #69a5ff;
  --ads-fg-accent-violet-bold: #c0b0ff;
  --ads-fg-accent-purple-bold: #de96ff;
  --ads-fg-accent-pink-bold: #ff94ed;
  --ads-fg-inverse-neutral: #171719;
  --ads-fg-inverse-brand: #1ab878;
  --ads-fg-on-brand: #171719;
  --ads-fg-on-positive: #171719;
  --ads-fg-on-cautionary: #171719;
  --ads-fg-on-negative: #171719;
  --ads-fg-on-informative: #171719;
  --ads-fg-on-selection: #171719;
  --ads-fg-on-accent-yellow: #171719;
  --ads-fg-on-accent-lime: #171719;
  --ads-fg-on-accent-cyan: #171719;
  --ads-fg-on-accent-blue: #171719;
  --ads-fg-on-accent-light-blue: #171719;
  --ads-fg-on-accent-violet: #171719;
  --ads-fg-on-accent-purple: #171719;
  --ads-fg-on-accent-pink: #171719;
  --ads-fg-on-accent-red-orange: #171719;
  --ads-fg-on-static-dark: #ffffff;
  --ads-bg-page-base: #1b1c1e;
  --ads-bg-page-sunken: #0f0f10;
  --ads-bg-floating-base: #212225;
  --ads-bg-floating-sunken: #141415;
  --ads-bg-floating-translucent: #212225e0;
  --ads-bg-transparent-base: #2122259c;
  --ads-bg-transparent-bold: #2122259c;
  --ads-bg-transparent-bolder: #2122259c;
  --ads-bg-celebration: #4d3122;
  --ads-bg-neutral-bold: #70737c47;
  --ads-bg-neutral-base: #70737c38;
  --ads-bg-neutral-subtle: #70737c26;
  --ads-bg-neutral-subtler: #70737c1f;
  --ads-bg-brand-subtle: #33c48a;
  --ads-bg-brand-base: #1ab878;
  --ads-bg-brand-bold: #33c48a;
  --ads-bg-brand-bolder: #6ddbb2;
  --ads-bg-brand-tint-bold: #1ab8788f;
  --ads-bg-brand-tint-base: #1ab87870;
  --ads-bg-brand-tint-subtle: #1ab87838;
  --ads-bg-positive-base: #1ab878;
  --ads-bg-positive-bold: #33c48a;
  --ads-bg-positive-bolder: #6ddbb2;
  --ads-bg-positive-subtle: #1ab8781f;
  --ads-bg-cautionary-base: #ff822e;
  --ads-bg-cautionary-bold: #ff6600;
  --ads-bg-cautionary-bolder: #ffa061;
  --ads-bg-cautionary-subtle: #ff822e1f;
  --ads-bg-negative-base: #ff5353;
  --ads-bg-negative-bold: #ff4242;
  --ads-bg-negative-bolder: #ff8c8c;
  --ads-bg-negative-subtle: #ff53531f;
  --ads-bg-informative-base: #00aeff;
  --ads-bg-informative-subtle: #00aeff1f;
  --ads-bg-selection-base: #3385ff;
  --ads-bg-selection-bold: #9ec5ff;
  --ads-bg-selection-subtle: #69a5ff38;
  --ads-bg-accent-yellow-base: #ffcd00;
  --ads-bg-accent-lime-base: #58cf04;
  --ads-bg-accent-cyan-base: #00bdde;
  --ads-bg-accent-blue-base: #69a5ff;
  --ads-bg-accent-light-blue-base: #00aeff;
  --ads-bg-accent-violet-base: #9e86fc;
  --ads-bg-accent-purple-base: #d478ff;
  --ads-bg-accent-pink-base: #fa73e3;
  --ads-bg-accent-red-orange-base: #ff822e;
  --ads-bg-accent-yellow-subtle: #332300;
  --ads-bg-accent-lime-subtle: #58cf0438;
  --ads-bg-accent-cyan-subtle: #00bdde38;
  --ads-bg-accent-blue-subtle: #4f95ff38;
  --ads-bg-accent-light-blue-subtle: #00aeff38;
  --ads-bg-accent-violet-subtle: #9e86fc38;
  --ads-bg-accent-purple-subtle: #d478ff38;
  --ads-bg-accent-pink-subtle: #fa73e338;
  --ads-bg-accent-red-orange-subtle: #ff822e38;
  --ads-bg-disabled: #2e2f33;
  --ads-bg-inverse-base: #ffffff;
  --ads-bg-inverse-subtle: #dbdcdf;
  --ads-bg-static-dark: #292a2d;
  --ads-stroke-neutral-bold: #c2c4c884;
  --ads-stroke-neutral-base: #70737c52;
  --ads-stroke-neutral-subtle: #70737c47;
  --ads-stroke-neutral-subtler: #70737c38;
  --ads-stroke-opaque-bold: #70737c;
  --ads-stroke-opaque-base: #37383c;
  --ads-stroke-opaque-subtle: #333438;
  --ads-stroke-opaque-subtler: #2e2f33;
  --ads-stroke-brand-subtle: #33c48a;
  --ads-stroke-brand-base: #1ab878;
  --ads-stroke-brand-bold: #33c48a;
  --ads-stroke-brand-bolder: #6ddbb2;
  --ads-stroke-positive-base: #1ab878;
  --ads-stroke-positive-bold: #33c48a;
  --ads-stroke-positive-bolder: #6ddbb2;
  --ads-stroke-cautionary-base: #ff822e;
  --ads-stroke-cautionary-bold: #ff6600;
  --ads-stroke-cautionary-bolder: #ffa061;
  --ads-stroke-negative-base: #ff5353;
  --ads-stroke-negative-bold: #ff4242;
  --ads-stroke-negative-bolder: #ff8c8c;
  --ads-stroke-informative-base: #00aeff;
  --ads-stroke-selection-base: #3385ff;
  --ads-stroke-selection-bold: #9ec5ff;
  --ads-stroke-focus: #1ab878;
  --ads-effect-dimmer: #171719bd;
  --ads-static-white: #ffffff;
  --ads-static-black: #000000;

  /* Gradient (dark) */
  --ads-gradient-weak: linear-gradient(180deg, #33c48a, #e7f4c1);
  --ads-gradient-normal: linear-gradient(180deg, #33c48a, #d1e982);

  /* Shadow (dark) */
  --ads-shadow-level-1: 0 1px 2px 0 #0000002d, 0 1px 6px 0 #00000027;
  --ads-shadow-level-2: 0 1px 3px 0 #0000002d, 0 3px 12px 0 #00000036;
  --ads-shadow-level-3: 0 2px 4px 0 #00000027, 0 5px 18px 0 #00000045;
  --ads-shadow-level-4: 0 2px 6px 0 #00000027, 0 8px 26px 0 #00000054;
  --ads-shadow-level-5: 0 3px 8px 0 #0000001e, 0 12px 36px 0 #00000063;
  --ads-shadow-xs-subtle: 0 1px 3px 0 #0000003c;
  --ads-shadow-xs-base: 0 1px 3px 0 #00000052;
  --ads-shadow-xs-bold: 0 1px 3px 0 #00000052;
  --ads-shadow-sm-subtle: 0 4px 20px 0 #00000008, 0 2px 12px 0 #0000000c;
  --ads-shadow-sm-base: 0 4px 20px 0 #0000000c, 0 2px 12px 0 #00000014;
  --ads-shadow-sm-bold: 0 4px 20px 0 #00000014, 0 2px 12px 0 #00000028;
  --ads-shadow-md-subtle: 0 8px 24px 0 #0000000c, 0 16px 36px 0 #00000008, 0 32px 64px 0 #00000008;
  --ads-shadow-md-base: 0 8px 24px 0 #00000014, 0 16px 36px 0 #0000000c, 0 32px 64px 0 #0000000c;
  --ads-shadow-md-bold: 0 8px 24px 0 #00000028, 0 16px 36px 0 #00000014, 0 32px 64px 0 #00000014;
  --ads-shadow-lg-subtle: 0 12px 32px 0 #00000014, 0 24px 56px 0 #0000000c, 0 48px 96px 0 #0000000c;
  --ads-shadow-lg-base: 0 12px 32px 0 #00000020, 0 24px 56px 0 #00000014, 0 48px 96px 0 #00000014;
  --ads-shadow-lg-bold: 0 12px 32px 0 #0000003c, 0 24px 56px 0 #00000028, 0 48px 96px 0 #00000028;

}

/* Large type scale (AvoTypeScale.large): text styles below Body 1 one step
   up. Teacher web, school admin, and parent report pages set it on <html>;
   control sizes follow because they read these tokens. */
:root[data-ads-type-scale="large"] {
  /* Typography (large) */
  --ads-body2-font-size: 1rem;
  --ads-body2-letter-spacing: 0em;
  --ads-body2-line-height: 1.5;
  --ads-body2-reading-line-height: 1.6;
  --ads-label1-font-size: 0.9375rem;
  --ads-label1-letter-spacing: 0em;
  --ads-label1-line-height: 1.467;
  --ads-label1-reading-line-height: 1.571;
  --ads-label2-font-size: 0.875rem;
  --ads-label2-letter-spacing: 0em;
  --ads-label2-line-height: 1.429;
  --ads-caption1-font-size: 0.8125rem;
  --ads-caption1-letter-spacing: 0em;
  --ads-caption1-line-height: 1.385;
  --ads-caption2-font-size: 0.75rem;
  --ads-caption2-letter-spacing: 0em;
  --ads-caption2-line-height: 1.334;

}

/* A part of a large page that stays normal (the teacher sidebar) sets
   data-ads-type-scale="normal" on its root. Control sizes that read text
   tokens are restated so they resolve against the normal ones there. */
:root[data-ads-type-scale="large"] [data-ads-type-scale="normal"] {
  /* Typography (normal) */
  --ads-body2-font-size: 0.9375rem;
  --ads-body2-letter-spacing: 0em;
  --ads-body2-line-height: 1.467;
  --ads-body2-reading-line-height: 1.6;
  --ads-label1-font-size: 0.875rem;
  --ads-label1-letter-spacing: 0em;
  --ads-label1-line-height: 1.429;
  --ads-label1-reading-line-height: 1.571;
  --ads-label2-font-size: 0.8125rem;
  --ads-label2-letter-spacing: 0em;
  --ads-label2-line-height: 1.385;
  --ads-caption1-font-size: 0.75rem;
  --ads-caption1-letter-spacing: 0em;
  --ads-caption1-line-height: 1.334;
  --ads-caption2-font-size: 0.6875rem;
  --ads-caption2-letter-spacing: 0.004em;
  --ads-caption2-line-height: 1.273;

  /* Control sizes */
  --ads-control-xs-height: max(32px, calc(var(--ads-label1-font-size) * var(--ads-label1-line-height) + 12px));
  --ads-control-xs-font-size: var(--ads-label1-font-size);
  --ads-control-xs-line-height: var(--ads-label1-line-height);
  --ads-control-xs-letter-spacing: var(--ads-label1-letter-spacing);
  --ads-control-sm-height: max(40px, calc(var(--ads-body2-font-size) * var(--ads-body2-line-height) + 18px));
  --ads-control-sm-font-size: var(--ads-body2-font-size);
  --ads-control-sm-line-height: var(--ads-body2-line-height);
  --ads-control-sm-letter-spacing: var(--ads-body2-letter-spacing);
  --ads-control-md-height: max(48px, calc(var(--ads-body1-font-size) * var(--ads-body1-line-height) + 24px));
  --ads-control-md-font-size: var(--ads-body1-font-size);
  --ads-control-md-line-height: var(--ads-body1-line-height);
  --ads-control-md-letter-spacing: var(--ads-body1-letter-spacing);
  --ads-control-lg-height: max(56px, calc(var(--ads-headline2-font-size) * var(--ads-headline2-line-height) + 30px));
  --ads-control-lg-font-size: var(--ads-headline2-font-size);
  --ads-control-lg-line-height: var(--ads-headline2-line-height);
  --ads-control-lg-letter-spacing: var(--ads-headline2-letter-spacing);

}

/* Text styles: .avods-text-<style>[-reading]-<weight>, matching
   AvoTypography.<style>[.reading].<weight>. Display and title styles
   have bold (700); heading and below have semibold (600). */
.avods-text-display1-bold {
  font-family: var(--ads-font-family);
  font-size: var(--ads-display1-font-size);
  font-weight: var(--ads-display1-bold-font-weight);
  line-height: var(--ads-display1-line-height);
  letter-spacing: var(--ads-display1-letter-spacing);
}
.avods-text-display1-medium {
  font-family: var(--ads-font-family);
  font-size: var(--ads-display1-font-size);
  font-weight: var(--ads-display1-medium-font-weight);
  line-height: var(--ads-display1-line-height);
  letter-spacing: var(--ads-display1-letter-spacing);
}
.avods-text-display1-regular {
  font-family: var(--ads-font-family);
  font-size: var(--ads-display1-font-size);
  font-weight: var(--ads-display1-regular-font-weight);
  line-height: var(--ads-display1-line-height);
  letter-spacing: var(--ads-display1-letter-spacing);
}
.avods-text-display2-bold {
  font-family: var(--ads-font-family);
  font-size: var(--ads-display2-font-size);
  font-weight: var(--ads-display2-bold-font-weight);
  line-height: var(--ads-display2-line-height);
  letter-spacing: var(--ads-display2-letter-spacing);
}
.avods-text-display2-medium {
  font-family: var(--ads-font-family);
  font-size: var(--ads-display2-font-size);
  font-weight: var(--ads-display2-medium-font-weight);
  line-height: var(--ads-display2-line-height);
  letter-spacing: var(--ads-display2-letter-spacing);
}
.avods-text-display2-regular {
  font-family: var(--ads-font-family);
  font-size: var(--ads-display2-font-size);
  font-weight: var(--ads-display2-regular-font-weight);
  line-height: var(--ads-display2-line-height);
  letter-spacing: var(--ads-display2-letter-spacing);
}
.avods-text-display3-bold {
  font-family: var(--ads-font-family);
  font-size: var(--ads-display3-font-size);
  font-weight: var(--ads-display3-bold-font-weight);
  line-height: var(--ads-display3-line-height);
  letter-spacing: var(--ads-display3-letter-spacing);
}
.avods-text-display3-medium {
  font-family: var(--ads-font-family);
  font-size: var(--ads-display3-font-size);
  font-weight: var(--ads-display3-medium-font-weight);
  line-height: var(--ads-display3-line-height);
  letter-spacing: var(--ads-display3-letter-spacing);
}
.avods-text-display3-regular {
  font-family: var(--ads-font-family);
  font-size: var(--ads-display3-font-size);
  font-weight: var(--ads-display3-regular-font-weight);
  line-height: var(--ads-display3-line-height);
  letter-spacing: var(--ads-display3-letter-spacing);
}
.avods-text-title1-bold {
  font-family: var(--ads-font-family);
  font-size: var(--ads-title1-font-size);
  font-weight: var(--ads-title1-bold-font-weight);
  line-height: var(--ads-title1-line-height);
  letter-spacing: var(--ads-title1-letter-spacing);
}
.avods-text-title1-medium {
  font-family: var(--ads-font-family);
  font-size: var(--ads-title1-font-size);
  font-weight: var(--ads-title1-medium-font-weight);
  line-height: var(--ads-title1-line-height);
  letter-spacing: var(--ads-title1-letter-spacing);
}
.avods-text-title1-regular {
  font-family: var(--ads-font-family);
  font-size: var(--ads-title1-font-size);
  font-weight: var(--ads-title1-regular-font-weight);
  line-height: var(--ads-title1-line-height);
  letter-spacing: var(--ads-title1-letter-spacing);
}
.avods-text-title2-bold {
  font-family: var(--ads-font-family);
  font-size: var(--ads-title2-font-size);
  font-weight: var(--ads-title2-bold-font-weight);
  line-height: var(--ads-title2-line-height);
  letter-spacing: var(--ads-title2-letter-spacing);
}
.avods-text-title2-medium {
  font-family: var(--ads-font-family);
  font-size: var(--ads-title2-font-size);
  font-weight: var(--ads-title2-medium-font-weight);
  line-height: var(--ads-title2-line-height);
  letter-spacing: var(--ads-title2-letter-spacing);
}
.avods-text-title2-regular {
  font-family: var(--ads-font-family);
  font-size: var(--ads-title2-font-size);
  font-weight: var(--ads-title2-regular-font-weight);
  line-height: var(--ads-title2-line-height);
  letter-spacing: var(--ads-title2-letter-spacing);
}
.avods-text-title3-bold {
  font-family: var(--ads-font-family);
  font-size: var(--ads-title3-font-size);
  font-weight: var(--ads-title3-bold-font-weight);
  line-height: var(--ads-title3-line-height);
  letter-spacing: var(--ads-title3-letter-spacing);
}
.avods-text-title3-medium {
  font-family: var(--ads-font-family);
  font-size: var(--ads-title3-font-size);
  font-weight: var(--ads-title3-medium-font-weight);
  line-height: var(--ads-title3-line-height);
  letter-spacing: var(--ads-title3-letter-spacing);
}
.avods-text-title3-regular {
  font-family: var(--ads-font-family);
  font-size: var(--ads-title3-font-size);
  font-weight: var(--ads-title3-regular-font-weight);
  line-height: var(--ads-title3-line-height);
  letter-spacing: var(--ads-title3-letter-spacing);
}
.avods-text-heading1-semibold, .avods-text-heading1-bold {
  font-family: var(--ads-font-family);
  font-size: var(--ads-heading1-font-size);
  font-weight: var(--ads-heading1-semibold-font-weight);
  line-height: var(--ads-heading1-line-height);
  letter-spacing: var(--ads-heading1-letter-spacing);
}
.avods-text-heading1-medium {
  font-family: var(--ads-font-family);
  font-size: var(--ads-heading1-font-size);
  font-weight: var(--ads-heading1-medium-font-weight);
  line-height: var(--ads-heading1-line-height);
  letter-spacing: var(--ads-heading1-letter-spacing);
}
.avods-text-heading1-regular {
  font-family: var(--ads-font-family);
  font-size: var(--ads-heading1-font-size);
  font-weight: var(--ads-heading1-regular-font-weight);
  line-height: var(--ads-heading1-line-height);
  letter-spacing: var(--ads-heading1-letter-spacing);
}
.avods-text-heading2-semibold, .avods-text-heading2-bold {
  font-family: var(--ads-font-family);
  font-size: var(--ads-heading2-font-size);
  font-weight: var(--ads-heading2-semibold-font-weight);
  line-height: var(--ads-heading2-line-height);
  letter-spacing: var(--ads-heading2-letter-spacing);
}
.avods-text-heading2-medium {
  font-family: var(--ads-font-family);
  font-size: var(--ads-heading2-font-size);
  font-weight: var(--ads-heading2-medium-font-weight);
  line-height: var(--ads-heading2-line-height);
  letter-spacing: var(--ads-heading2-letter-spacing);
}
.avods-text-heading2-regular {
  font-family: var(--ads-font-family);
  font-size: var(--ads-heading2-font-size);
  font-weight: var(--ads-heading2-regular-font-weight);
  line-height: var(--ads-heading2-line-height);
  letter-spacing: var(--ads-heading2-letter-spacing);
}
.avods-text-headline1-semibold, .avods-text-headline1-bold {
  font-family: var(--ads-font-family);
  font-size: var(--ads-headline1-font-size);
  font-weight: var(--ads-headline1-semibold-font-weight);
  line-height: var(--ads-headline1-line-height);
  letter-spacing: var(--ads-headline1-letter-spacing);
}
.avods-text-headline1-medium {
  font-family: var(--ads-font-family);
  font-size: var(--ads-headline1-font-size);
  font-weight: var(--ads-headline1-medium-font-weight);
  line-height: var(--ads-headline1-line-height);
  letter-spacing: var(--ads-headline1-letter-spacing);
}
.avods-text-headline1-regular {
  font-family: var(--ads-font-family);
  font-size: var(--ads-headline1-font-size);
  font-weight: var(--ads-headline1-regular-font-weight);
  line-height: var(--ads-headline1-line-height);
  letter-spacing: var(--ads-headline1-letter-spacing);
}
.avods-text-headline1-reading-semibold, .avods-text-headline1-reading-bold {
  font-family: var(--ads-font-family);
  font-size: var(--ads-headline1-font-size);
  font-weight: var(--ads-headline1-semibold-font-weight);
  line-height: var(--ads-headline1-reading-line-height);
  letter-spacing: var(--ads-headline1-letter-spacing);
}
.avods-text-headline1-reading-medium {
  font-family: var(--ads-font-family);
  font-size: var(--ads-headline1-font-size);
  font-weight: var(--ads-headline1-medium-font-weight);
  line-height: var(--ads-headline1-reading-line-height);
  letter-spacing: var(--ads-headline1-letter-spacing);
}
.avods-text-headline1-reading-regular {
  font-family: var(--ads-font-family);
  font-size: var(--ads-headline1-font-size);
  font-weight: var(--ads-headline1-regular-font-weight);
  line-height: var(--ads-headline1-reading-line-height);
  letter-spacing: var(--ads-headline1-letter-spacing);
}
.avods-text-headline2-semibold, .avods-text-headline2-bold {
  font-family: var(--ads-font-family);
  font-size: var(--ads-headline2-font-size);
  font-weight: var(--ads-headline2-semibold-font-weight);
  line-height: var(--ads-headline2-line-height);
  letter-spacing: var(--ads-headline2-letter-spacing);
}
.avods-text-headline2-medium {
  font-family: var(--ads-font-family);
  font-size: var(--ads-headline2-font-size);
  font-weight: var(--ads-headline2-medium-font-weight);
  line-height: var(--ads-headline2-line-height);
  letter-spacing: var(--ads-headline2-letter-spacing);
}
.avods-text-headline2-regular {
  font-family: var(--ads-font-family);
  font-size: var(--ads-headline2-font-size);
  font-weight: var(--ads-headline2-regular-font-weight);
  line-height: var(--ads-headline2-line-height);
  letter-spacing: var(--ads-headline2-letter-spacing);
}
.avods-text-headline2-reading-semibold, .avods-text-headline2-reading-bold {
  font-family: var(--ads-font-family);
  font-size: var(--ads-headline2-font-size);
  font-weight: var(--ads-headline2-semibold-font-weight);
  line-height: var(--ads-headline2-reading-line-height);
  letter-spacing: var(--ads-headline2-letter-spacing);
}
.avods-text-headline2-reading-medium {
  font-family: var(--ads-font-family);
  font-size: var(--ads-headline2-font-size);
  font-weight: var(--ads-headline2-medium-font-weight);
  line-height: var(--ads-headline2-reading-line-height);
  letter-spacing: var(--ads-headline2-letter-spacing);
}
.avods-text-headline2-reading-regular {
  font-family: var(--ads-font-family);
  font-size: var(--ads-headline2-font-size);
  font-weight: var(--ads-headline2-regular-font-weight);
  line-height: var(--ads-headline2-reading-line-height);
  letter-spacing: var(--ads-headline2-letter-spacing);
}
.avods-text-body1-semibold, .avods-text-body1-bold {
  font-family: var(--ads-font-family);
  font-size: var(--ads-body1-font-size);
  font-weight: var(--ads-body1-semibold-font-weight);
  line-height: var(--ads-body1-line-height);
  letter-spacing: var(--ads-body1-letter-spacing);
}
.avods-text-body1-medium {
  font-family: var(--ads-font-family);
  font-size: var(--ads-body1-font-size);
  font-weight: var(--ads-body1-medium-font-weight);
  line-height: var(--ads-body1-line-height);
  letter-spacing: var(--ads-body1-letter-spacing);
}
.avods-text-body1-regular {
  font-family: var(--ads-font-family);
  font-size: var(--ads-body1-font-size);
  font-weight: var(--ads-body1-regular-font-weight);
  line-height: var(--ads-body1-line-height);
  letter-spacing: var(--ads-body1-letter-spacing);
}
.avods-text-body1-reading-semibold, .avods-text-body1-reading-bold {
  font-family: var(--ads-font-family);
  font-size: var(--ads-body1-font-size);
  font-weight: var(--ads-body1-semibold-font-weight);
  line-height: var(--ads-body1-reading-line-height);
  letter-spacing: var(--ads-body1-letter-spacing);
}
.avods-text-body1-reading-medium {
  font-family: var(--ads-font-family);
  font-size: var(--ads-body1-font-size);
  font-weight: var(--ads-body1-medium-font-weight);
  line-height: var(--ads-body1-reading-line-height);
  letter-spacing: var(--ads-body1-letter-spacing);
}
.avods-text-body1-reading-regular {
  font-family: var(--ads-font-family);
  font-size: var(--ads-body1-font-size);
  font-weight: var(--ads-body1-regular-font-weight);
  line-height: var(--ads-body1-reading-line-height);
  letter-spacing: var(--ads-body1-letter-spacing);
}
.avods-text-body2-semibold, .avods-text-body2-bold {
  font-family: var(--ads-font-family);
  font-size: var(--ads-body2-font-size);
  font-weight: var(--ads-body2-semibold-font-weight);
  line-height: var(--ads-body2-line-height);
  letter-spacing: var(--ads-body2-letter-spacing);
}
.avods-text-body2-medium {
  font-family: var(--ads-font-family);
  font-size: var(--ads-body2-font-size);
  font-weight: var(--ads-body2-medium-font-weight);
  line-height: var(--ads-body2-line-height);
  letter-spacing: var(--ads-body2-letter-spacing);
}
.avods-text-body2-regular {
  font-family: var(--ads-font-family);
  font-size: var(--ads-body2-font-size);
  font-weight: var(--ads-body2-regular-font-weight);
  line-height: var(--ads-body2-line-height);
  letter-spacing: var(--ads-body2-letter-spacing);
}
.avods-text-body2-reading-semibold, .avods-text-body2-reading-bold {
  font-family: var(--ads-font-family);
  font-size: var(--ads-body2-font-size);
  font-weight: var(--ads-body2-semibold-font-weight);
  line-height: var(--ads-body2-reading-line-height);
  letter-spacing: var(--ads-body2-letter-spacing);
}
.avods-text-body2-reading-medium {
  font-family: var(--ads-font-family);
  font-size: var(--ads-body2-font-size);
  font-weight: var(--ads-body2-medium-font-weight);
  line-height: var(--ads-body2-reading-line-height);
  letter-spacing: var(--ads-body2-letter-spacing);
}
.avods-text-body2-reading-regular {
  font-family: var(--ads-font-family);
  font-size: var(--ads-body2-font-size);
  font-weight: var(--ads-body2-regular-font-weight);
  line-height: var(--ads-body2-reading-line-height);
  letter-spacing: var(--ads-body2-letter-spacing);
}
.avods-text-label1-semibold, .avods-text-label1-bold {
  font-family: var(--ads-font-family);
  font-size: var(--ads-label1-font-size);
  font-weight: var(--ads-label1-semibold-font-weight);
  line-height: var(--ads-label1-line-height);
  letter-spacing: var(--ads-label1-letter-spacing);
}
.avods-text-label1-medium {
  font-family: var(--ads-font-family);
  font-size: var(--ads-label1-font-size);
  font-weight: var(--ads-label1-medium-font-weight);
  line-height: var(--ads-label1-line-height);
  letter-spacing: var(--ads-label1-letter-spacing);
}
.avods-text-label1-regular {
  font-family: var(--ads-font-family);
  font-size: var(--ads-label1-font-size);
  font-weight: var(--ads-label1-regular-font-weight);
  line-height: var(--ads-label1-line-height);
  letter-spacing: var(--ads-label1-letter-spacing);
}
.avods-text-label1-reading-semibold, .avods-text-label1-reading-bold {
  font-family: var(--ads-font-family);
  font-size: var(--ads-label1-font-size);
  font-weight: var(--ads-label1-semibold-font-weight);
  line-height: var(--ads-label1-reading-line-height);
  letter-spacing: var(--ads-label1-letter-spacing);
}
.avods-text-label1-reading-medium {
  font-family: var(--ads-font-family);
  font-size: var(--ads-label1-font-size);
  font-weight: var(--ads-label1-medium-font-weight);
  line-height: var(--ads-label1-reading-line-height);
  letter-spacing: var(--ads-label1-letter-spacing);
}
.avods-text-label1-reading-regular {
  font-family: var(--ads-font-family);
  font-size: var(--ads-label1-font-size);
  font-weight: var(--ads-label1-regular-font-weight);
  line-height: var(--ads-label1-reading-line-height);
  letter-spacing: var(--ads-label1-letter-spacing);
}
.avods-text-label2-semibold, .avods-text-label2-bold {
  font-family: var(--ads-font-family);
  font-size: var(--ads-label2-font-size);
  font-weight: var(--ads-label2-semibold-font-weight);
  line-height: var(--ads-label2-line-height);
  letter-spacing: var(--ads-label2-letter-spacing);
}
.avods-text-label2-medium {
  font-family: var(--ads-font-family);
  font-size: var(--ads-label2-font-size);
  font-weight: var(--ads-label2-medium-font-weight);
  line-height: var(--ads-label2-line-height);
  letter-spacing: var(--ads-label2-letter-spacing);
}
.avods-text-label2-regular {
  font-family: var(--ads-font-family);
  font-size: var(--ads-label2-font-size);
  font-weight: var(--ads-label2-regular-font-weight);
  line-height: var(--ads-label2-line-height);
  letter-spacing: var(--ads-label2-letter-spacing);
}
.avods-text-caption1-semibold, .avods-text-caption1-bold {
  font-family: var(--ads-font-family);
  font-size: var(--ads-caption1-font-size);
  font-weight: var(--ads-caption1-semibold-font-weight);
  line-height: var(--ads-caption1-line-height);
  letter-spacing: var(--ads-caption1-letter-spacing);
}
.avods-text-caption1-medium {
  font-family: var(--ads-font-family);
  font-size: var(--ads-caption1-font-size);
  font-weight: var(--ads-caption1-medium-font-weight);
  line-height: var(--ads-caption1-line-height);
  letter-spacing: var(--ads-caption1-letter-spacing);
}
.avods-text-caption1-regular {
  font-family: var(--ads-font-family);
  font-size: var(--ads-caption1-font-size);
  font-weight: var(--ads-caption1-regular-font-weight);
  line-height: var(--ads-caption1-line-height);
  letter-spacing: var(--ads-caption1-letter-spacing);
}
.avods-text-caption2-semibold, .avods-text-caption2-bold {
  font-family: var(--ads-font-family);
  font-size: var(--ads-caption2-font-size);
  font-weight: var(--ads-caption2-semibold-font-weight);
  line-height: var(--ads-caption2-line-height);
  letter-spacing: var(--ads-caption2-letter-spacing);
}
.avods-text-caption2-medium {
  font-family: var(--ads-font-family);
  font-size: var(--ads-caption2-font-size);
  font-weight: var(--ads-caption2-medium-font-weight);
  line-height: var(--ads-caption2-line-height);
  letter-spacing: var(--ads-caption2-letter-spacing);
}
.avods-text-caption2-regular {
  font-family: var(--ads-font-family);
  font-size: var(--ads-caption2-font-size);
  font-weight: var(--ads-caption2-regular-font-weight);
  line-height: var(--ads-caption2-line-height);
  letter-spacing: var(--ads-caption2-letter-spacing);
}


/*
Copyright (c) 2022, 2023 Viva Republica, with Reserved Font Name Tossface.
https://github.com/toss/tossface
*/
/*
 * Web ADS copy of tossface@1.6.1 dist/tossface.css. The font files still come
 * from jsDelivr, unchanged; only the @font-face rules differ:
 * - Absolute font URLs, since this file is served from our origin.
 * - Subsets 08 and 11 listed emoji sequences as code points (U+2320E3,
 *   U+26F9200D2640, ...). Browsers drop a unicode-range with an invalid
 *   range, so those two faces claimed every character and downloaded for any
 *   glyph missing from earlier fonts. The invalid entries are removed.
 * - Code points below U+2000 (digits, #, *, (c), (R)) are removed, so text
 *   never falls back to colour digits, even before Pretendard loads. Keycap
 *   emoji therefore render with system glyphs.
 */
/* 00 */
@font-face {
  font-family: "Tossface";
  src: url("https://cdn.jsdelivr.net/gh/toss/tossface@1.6.1/dist/TossFaceFontMac-00.woff2") format("woff2"),
    url("https://cdn.jsdelivr.net/gh/toss/tossface@1.6.1/dist/TossFaceFontMac-00.woff") format("woff");
  unicode-range: U+200D, U+FE0F, U+1F3FB-1F3FF, U+1F9B0-1F9B3, U+2640, U+2642,
    U+261D, U+2620, U+2639-263A, U+270A-270D, U+1F32B, U+1F3FB-1F3FF,
    U+1F440-1F450, U+1F479-1F47B, U+1F47D-1F480, U+1F48B, U+1F4A8-1F4AB,
    U+1F590, U+1F595-1F596, U+1F600-1F644, U+1F64C, U+1F64F, U+1F90C,
    U+1F90F-1F91C, U+1F91E-1F925, U+1F927-1F92F, U+1F932, U+1F970-1F976,
    U+1F978, U+1F97A, U+1F9B0-1F9B7, U+1F9BB, U+1F9BE-1F9BF, U+1F9D0, U+1F9E0,
    U+1FAC0-1FAC1;
}
/* 01 */
@font-face {
  font-family: "Tossface";
  src: url("https://cdn.jsdelivr.net/gh/toss/tossface@1.6.1/dist/TossFaceFontMac-01.woff2") format("woff2"),
    url("https://cdn.jsdelivr.net/gh/toss/tossface@1.6.1/dist/TossFaceFontMac-01.woff") format("woff");
  unicode-range: U+200D, U+FE0F, U+1F3FB-1F3FF, U+1F9B0-1F9B3, U+2640, U+2642,
    U+1F466-1F469, U+1F471, U+1F474-1F476, U+1F481, U+1F485, U+1F645-1F647,
    U+1F64B, U+1F64D-1F64E, U+1F926, U+1F933, U+1F937, U+1F9CF, U+1F9D1-1F9D4;
}
/* 02 */
@font-face {
  font-family: "Tossface";
  src: url("https://cdn.jsdelivr.net/gh/toss/tossface@1.6.1/dist/TossFaceFontMac-02.woff2") format("woff2"),
    url("https://cdn.jsdelivr.net/gh/toss/tossface@1.6.1/dist/TossFaceFontMac-02.woff") format("woff");
  unicode-range: U+200D, U+FE0F, U+1F3FB-1F3FF, U+1F9B0-1F9B3, U+2640, U+2642,
    U+2695-2696, U+2708, U+1F33E, U+1F373, U+1F393, U+1F3A4, U+1F3A8, U+1F3EB,
    U+1F3ED, U+1F468-1F469, U+1F46E, U+1F477, U+1F482, U+1F4BB-1F4BC, U+1F527,
    U+1F52C, U+1F575, U+1F680, U+1F692, U+1F977, U+1F9D1;
}
/* 03 */
@font-face {
  font-family: "Tossface";
  src: url("https://cdn.jsdelivr.net/gh/toss/tossface@1.6.1/dist/TossFaceFontMac-03.woff2") format("woff2"),
    url("https://cdn.jsdelivr.net/gh/toss/tossface@1.6.1/dist/TossFaceFontMac-03.woff") format("woff");
  unicode-range: U+200D, U+FE0F, U+1F3FB-1F3FF, U+1F9B0-1F9B3, U+2640, U+2642,
    U+1F37C, U+1F384-1F385, U+1F468-1F469, U+1F470, U+1F472-1F473, U+1F478,
    U+1F47C, U+1F486-1F487, U+1F930-1F931, U+1F934-1F936, U+1F939,
    U+1F9B8-1F9B9, U+1F9D1, U+1F9D5-1F9D6, U+1F9D9-1F9DF;
}
/* 04 */
@font-face {
  font-family: "Tossface";
  src: url("https://cdn.jsdelivr.net/gh/toss/tossface@1.6.1/dist/TossFaceFontMac-04.woff2") format("woff2"),
    url("https://cdn.jsdelivr.net/gh/toss/tossface@1.6.1/dist/TossFaceFontMac-04.woff") format("woff");
  unicode-range: U+200D, U+FE0F, U+1F3FB-1F3FF, U+1F9B0-1F9B3, U+2640, U+2642,
    U+2764, U+2764, U+1F468-1F469, U+1F48B, U+1F48F, U+1F491, U+1F525, U+1F9D1,
    U+1FA79;
}
/* 05 */
@font-face {
  font-family: "Tossface";
  src: url("https://cdn.jsdelivr.net/gh/toss/tossface@1.6.1/dist/TossFaceFontMac-05.woff2") format("woff2"),
    url("https://cdn.jsdelivr.net/gh/toss/tossface@1.6.1/dist/TossFaceFontMac-05.woff") format("woff");
  unicode-range: U+200D, U+FE0F, U+1F3FB-1F3FF, U+1F9B0-1F9B3, U+2640, U+2642,
    U+1F466-1F46D, U+1F46F, U+1F483, U+1F574, U+1F57A, U+1F6B6, U+1F91D,
    U+1F9AF, U+1F9BC-1F9BD, U+1F9CD-1F9CE, U+1F9D1, U+1F9D8;
}
/* 06 */
@font-face {
  font-family: "Tossface";
  src: url("https://cdn.jsdelivr.net/gh/toss/tossface@1.6.1/dist/TossFaceFontMac-06.woff2") format("woff2"),
    url("https://cdn.jsdelivr.net/gh/toss/tossface@1.6.1/dist/TossFaceFontMac-06.woff") format("woff");
  unicode-range: U+200D, U+FE0F, U+1F3FB-1F3FF, U+1F9B0-1F9B3, U+2640, U+2642,
    U+26F7, U+26F9, U+1F3BF, U+1F3C2-1F3C4, U+1F3C7, U+1F3CA-1F3CC, U+1F6A3,
    U+1F6B4-1F6B5, U+1F6C0-1F6C1, U+1F6CC, U+1F6CF, U+1F938, U+1F93A,
    U+1F93C-1F93E, U+1F9D7;
}
/* 07 */
@font-face {
  font-family: "Tossface";
  src: url("https://cdn.jsdelivr.net/gh/toss/tossface@1.6.1/dist/TossFaceFontMac-07.woff2") format("woff2"),
    url("https://cdn.jsdelivr.net/gh/toss/tossface@1.6.1/dist/TossFaceFontMac-07.woff") format("woff");
  unicode-range: U+200D, U+FE0F, U+1F3FB-1F3FF, U+1F9B0-1F9B3, U+2640, U+2642,
    U+2600-2601, U+2603-2604, U+2614-2615, U+2618, U+26A1, U+26C4-26C5, U+26C8,
    U+26E9, U+26F0, U+26F2, U+26FA, U+2728, U+2744, U+2B1B, U+2B50, U+1F301,
    U+1F303-1F320, U+1F324-1F32A, U+1F32C-1F33D, U+1F33F-1F372, U+1F374-1F37B,
    U+1F37D-1F37F, U+1F382, U+1F386-1F387, U+1F38B, U+1F38D, U+1F391,
    U+1F3A0-1F3A2, U+1F3AA, U+1F3D4-1F3D6, U+1F3D8-1F3E6, U+1F3E8-1F3EA,
    U+1F3EC, U+1F3EF-1F3F0, U+1F3F5, U+1F400-1F43F, U+1F490, U+1F492,
    U+1F4A5-1F4A7, U+1F4AE, U+1F54A-1F54D, U+1F577-1F578, U+1F5FA-1F5FF,
    U+1F648-1F64A, U+1F6D5-1F6D6, U+1F6E3-1F6E4, U+1F940, U+1F942-1F944,
    U+1F950-1F96F, U+1F980-1F9AE, U+1F9BA, U+1F9C0-1F9CB, U+1FAA8,
    U+1FAB0-1FAB6, U+1FAD0-1FAD6;
}
/* 08 */
@font-face {
  font-family: "Tossface";
  src: url("https://cdn.jsdelivr.net/gh/toss/tossface@1.6.1/dist/TossFaceFontMac-08.woff2") format("woff2"),
    url("https://cdn.jsdelivr.net/gh/toss/tossface@1.6.1/dist/TossFaceFontMac-08.woff") format("woff");
  unicode-range: U+200D, U+FE0F, U+1F3FB-1F3FF, U+1F9B0-1F9B3, U+2640, U+2642,
    U+203C, U+2049, U+20E3, U+2122, U+2139, U+2194-2199, U+21A9-21AA, U+23CF,
    U+23E9-23EF, U+23F8-23FA, U+24C2, U+25AA-25AB, U+25B6, U+25C0, U+25FB-25FE,
    U+2611, U+2622-2623, U+2626, U+262A, U+262E-262F, U+2638, U+2640, U+2642,
    U+2648-2653, U+2660, U+2663, U+2665-2666, U+2668, U+267B, U+267E-267F,
    U+2693, U+269B-269C, U+26A7, U+26AA-26AB, U+26CE, U+26D4, U+26F4-26F5,
    U+26FD, U+2705, U+2714, U+2716, U+271D, U+2721, U+2733-2734, U+2747, U+274C,
    U+274E, U+2753-2755, U+2757, U+2763, U+2795-2797, U+27A1, U+27B0, U+27BF,
    U+2934-2935, U+2B05-2B07, U+2B1C, U+2B55, U+3030, U+303D, U+3297, U+3299,
    U+1F004, U+1F0CF, U+1F170-1F171, U+1F17E-1F17F, U+1F18E, U+1F191-1F19A,
    U+1F1E6-1F1FF, U+1F201-1F202, U+1F21A, U+1F22F, U+1F232-1F23A,
    U+1F250-1F251, U+1F300, U+1F3A6, U+1F3B4-1F3B6, U+1F3CD-1F3CE, U+1F3D7,
    U+1F3E7, U+1F441, U+1F493-1F49F, U+1F4A2, U+1F4A4, U+1F4AC-1F4AD, U+1F4AF,
    U+1F4E2-1F4E3, U+1F4F5-1F4F6, U+1F500-1F50A, U+1F514-1F515, U+1F518-1F524,
    U+1F52F, U+1F531-1F53D, U+1F549, U+1F54E, U+1F550-1F567, U+1F570, U+1F5A4,
    U+1F5E8, U+1F5EF, U+1F681-1F691, U+1F693-1F6A2, U+1F6A4-1F6A8, U+1F6AB,
    U+1F6AD-1F6B3, U+1F6B7, U+1F6B9-1F6BC, U+1F6BE, U+1F6C2-1F6C5,
    U+1F6D0-1F6D1, U+1F6D7, U+1F6E5, U+1F6E9, U+1F6EB-1F6EC, U+1F6F0,
    U+1F6F3-1F6F5, U+1F6F8, U+1F6FA-1F6FB, U+1F7E0-1F7EB, U+1F90D-1F90E,
    U+1F9E1, U+1FA82, U+1FA90;
}
/* 09 */
@font-face {
  font-family: "Tossface";
  src: url("https://cdn.jsdelivr.net/gh/toss/tossface@1.6.1/dist/TossFaceFontMac-09.woff2") format("woff2"),
    url("https://cdn.jsdelivr.net/gh/toss/tossface@1.6.1/dist/TossFaceFontMac-09.woff") format("woff");
  unicode-range: U+200D, U+FE0F, U+1F3FB-1F3FF, U+1F9B0-1F9B3, U+2640, U+2642,
    U+231A-231B, U+2328, U+23F0-23F3, U+2602, U+260E, U+265F, U+2692, U+2694,
    U+2697, U+2699, U+26A0, U+26B0-26B1, U+26BD-26BE, U+26CF, U+26D1, U+26D3,
    U+26EA, U+26F1, U+26F3, U+26F8, U+2702, U+2709, U+270F, U+2712, U+1F302,
    U+1F321, U+1F380-1F381, U+1F383, U+1F388-1F38A, U+1F38E-1F390, U+1F392,
    U+1F396-1F397, U+1F399-1F39B, U+1F39E-1F39F, U+1F3A3, U+1F3A5, U+1F3A7,
    U+1F3A9, U+1F3AB-1F3B3, U+1F3B7-1F3BE, U+1F3C0, U+1F3C5-1F3C6,
    U+1F3C8-1F3C9, U+1F3CF-1F3D3, U+1F3EE, U+1F3F7-1F3FA, U+1F451-1F465,
    U+1F484, U+1F488-1F48A, U+1F48C-1F48E, U+1F4A0-1F4A1, U+1F4A3,
    U+1F4B0-1F4BA, U+1F4BD-1F4E1, U+1F4E4-1F4F4, U+1F4F7-1F4FD, U+1F4FF,
    U+1F50B-1F513, U+1F516-1F517, U+1F526, U+1F528-1F52B, U+1F52D-1F52E,
    U+1F530, U+1F56F, U+1F573, U+1F576, U+1F579, U+1F587, U+1F58A-1F58D,
    U+1F5A5, U+1F5A8, U+1F5B1-1F5B2, U+1F5BC, U+1F5C2-1F5C4, U+1F5D1-1F5D3,
    U+1F5DC-1F5DE, U+1F5E1, U+1F5E3, U+1F5F3, U+1F6AA, U+1F6AC, U+1F6B8,
    U+1F6BD, U+1F6BF, U+1F6CB, U+1F6CD-1F6CE, U+1F6D2, U+1F6E0-1F6E2,
    U+1F6F6-1F6F7, U+1F6F9, U+1F6FC, U+1F93F, U+1F941, U+1F945, U+1F947-1F94F,
    U+1F97B-1F97F, U+1F9E2-1F9FF, U+1FA70-1FA74, U+1FA78, U+1FA7A,
    U+1FA80-1FA81, U+1FA83-1FA86, U+1FA91-1FAA7, U+1FAC2;
}
/* 10 */
@font-face {
  font-family: "Tossface";
  src: url("https://cdn.jsdelivr.net/gh/toss/tossface@1.6.1/dist/TossFaceFontMac-10.woff2") format("woff2"),
    url("https://cdn.jsdelivr.net/gh/toss/tossface@1.6.1/dist/TossFaceFontMac-10.woff") format("woff");
  unicode-range: U+200D, U+FE0F, U+1F3FB-1F3FF, U+1F9B0-1F9B3, U+2640, U+2642,
    U+2620, U+26A7, U+1F1E6-1F1FF, U+1F308, U+1F38C, U+1F3C1, U+1F3F3-1F3F4,
    U+1F6A9, U+E0061-E007A, U+E007F;
}
/* 11 */
@font-face {
  font-family: "Tossface";
  src: url("https://cdn.jsdelivr.net/gh/toss/tossface@1.6.1/dist/TossFaceFontMac-11.woff2") format("woff2"),
    url("https://cdn.jsdelivr.net/gh/toss/tossface@1.6.1/dist/TossFaceFontMac-11.woff") format("woff");
  unicode-range: U+200D, U+FE0F, U+1F3FB-1F3FF, U+1F9B0-1F9B3, U+2640, U+2642,
    U+26F9, U+E100-E11D, U+1F6DC-1F6DF, U+1F7F0, U+1F979, U+1F9CC,
    U+1FA75-1FA77, U+1FA7B-1FA7C, U+1FA87-1FA88, U+1FAA9-1FAAF, U+1FAB7-1FABD,
    U+1FABF, U+1FAC3-1FAC5, U+1FACE-1FACF, U+1FAD7-1FADB, U+1FAE0-1FAE8,
    U+1FAF0-1FAF8;
}


/*
 * Web ADS base. Load after ads-tokens.css and before page styles:
 *
 *   <link rel="stylesheet" href="/static/ads/ads-tokens.css?v=...">
 *   <link rel="stylesheet" href="/static/ads/ads.css?v=...">
 *   <script type="module" src="/static/ads/ads.js?v=..."></script>
 *
 * Visual values come from ads-tokens.css, generated from Flutter ADS. This file
 * only holds what the web needs and Flutter ADS has no counterpart for.
 */

/* Phosphor icons for page code, the same 2.1 release as Flutter's
   phosphor_flutter: <i class="ph ph-check">, ph-bold, ph-fill. Components
   draw the same glyphs inline (foundation/icons.js). */
/* Tossface emoji (the version of the app's Tossface SVGs). --ads-font-family
   lists it right after Pretendard, before the system fonts (Safari's system
   font would otherwise draw Apple Color Emoji), so every emoji renders in
   Tossface while digits and symbols stay in Pretendard. tossface.css is our
   copy of the release's rules with valid unicode ranges; only the subsets in
   use download. */
/* White-label brand colours: empty on main; a white-label branch sets its
   brand tokens there so this file and ads-tokens.css stay as on main. */

/*
 * Public styling hooks, set on the component element itself. Registered as
 * non-inheriting, so a hook set on a container never leaks into nested
 * components; each component forwards its own value into its shadow root.
 */
@property --ads-interaction-overlay-color { syntax: '*'; inherits: false; }
@property --ads-interaction-overlay-inset { syntax: '*'; inherits: false; }
@property --ads-list-item-padding-inline-start { syntax: '*'; inherits: false; }
@property --ads-list-item-padding-inline-end { syntax: '*'; inherits: false; }
@property --ads-list-item-padding-block { syntax: '*'; inherits: false; }
@property --ads-list-item-heading-font-size { syntax: '*'; inherits: false; }
@property --ads-list-item-heading-line-height { syntax: '*'; inherits: false; }
@property --ads-list-item-description-font-size { syntax: '*'; inherits: false; }
@property --ads-list-item-description-line-height { syntax: '*'; inherits: false; }
@property --ads-list-item-leading-size { syntax: '*'; inherits: false; }
@property --ads-list-item-leading-gap { syntax: '*'; inherits: false; }
@property --ads-accordion-body-indent { syntax: '*'; inherits: false; }
@property --ads-bottom-sheet-trailing-width { syntax: '*'; inherits: false; }
@property --ads-breadcrumb-item-max-width { syntax: '*'; inherits: false; }
@property --ads-pagination-item-size { syntax: '*'; inherits: false; }
@property --ads-pagination-current-background { syntax: '*'; inherits: false; }
@property --ads-pagination-current-color { syntax: '*'; inherits: false; }
@property --ads-pagination-current-font-weight { syntax: '*'; inherits: false; }
@property --ads-action-area-background { syntax: '*'; inherits: false; }
@property --ads-action-area-padding-inline { syntax: '*'; inherits: false; }
@property --ads-avatar-group-ring-color { syntax: '*'; inherits: false; }
/* avo-shimmer publishes its palette and sweep to the skeleton shapes inside
   it; the shift animates, so it is typed and inherited. */
@property --ads-shimmer-fill { syntax: '*'; inherits: true; }
@property --ads-shimmer-shift { syntax: '<length>'; inherits: true; initial-value: 0px; }

/* Dark skeletons do not reuse the light palette: white 6% to white 12%
   rests a little above the surface and sweeps a gentle step brighter (Flutter AvoShimmer.replacePalette, owner 2026-11-05). Overlay mode keeps its
   palette because it sweeps over images. */
:root[data-ads-theme="dark"] {
  --ads-shimmer-base: color-mix(in srgb, var(--ads-static-white) 6%, transparent);
  --ads-shimmer-highlight: color-mix(in srgb, var(--ads-static-white) 12%, transparent);
}

:root {
  /* Keyboard focus ring. Aliases of the shared tokens (stroke.focus,
     AvoInteractionTokens.focusRing*), which Flutter's AvoInteraction draws
     too; new code may read either name. */
  --ads-web-focus-outline-width: var(--ads-interaction-focus-ring-width);
  --ads-web-focus-outline-offset: var(--ads-interaction-focus-ring-offset);
  --ads-web-focus-outline-color: var(--ads-stroke-focus);
}

/*
 * Web-only line breaks, matching Flutter AvoText's `wrap`. Running text keeps
 * a word or more on its last line (pretty); display, title, heading, and
 * headline text and page headings split into lines of even length (balance).
 * Both inherit, so they reach component shadow roots too (textStyle() sets
 * balance there). Browsers without support wrap as before.
 */
:root {
  text-wrap: pretty;
}

h1,
h2,
h3,
[class*="avods-text-display"],
[class*="avods-text-title"],
[class*="avods-text-heading"],
[class*="avods-text-headline"] {
  text-wrap: balance;
}

/*
 * Smoothed corners, Figma corner smoothing 20% (owner, 2026-11-03), as
 * Flutter ADS draws them (AvoSmoothRectangleBorder, Figma's construction).
 * A corner of radius r smoothed by 20% starts curving 1.2r from the corner
 * and crosses the diagonal where a circular r does. Where CSS corner-shape
 * is supported, the radius tokens below span 1.2 times their value and
 * every rounded box that uses a token sets
 * `corner-shape: var(--ads-corner-shape)`, the superellipse that best fits
 * that curve (within 1px of Figma on every ADS box, small ones included,
 * where both clamp to half the box). Pills and circles (the full token, 50%)
 * stay round. Other browsers keep the generated radii and round corners.
 * tests/js/ads_contract.test.mjs checks these values against ads-tokens.css.
 */
:root {
  --ads-corner-shape: round;
}

@supports (corner-shape: superellipse(2)) {
  :root {
    --ads-corner-shape: superellipse(1.34);
    --ads-border-radius-3xs: 2.4px;
    --ads-border-radius-2xs: 7.2px;
    --ads-border-radius-xs: 9.6px;
    --ads-border-radius-sm: 14.4px;
    --ads-border-radius-md: 19.2px;
    --ads-border-radius-lg: 28.8px;
    --ads-control-xs-radius: 9.6px;
    --ads-control-sm-radius: 14.4px;
    --ads-control-md-radius: 14.4px;
    --ads-control-lg-radius: 19.2px;
  }
}

/*
 * Field labels shared by avo-select-field, avo-text-field, avo-text-area, and
 * standalone labels next to segmented controls. AvoTextField heading style:
 * label1 bold (w600) in label.neutral.
 */
.avo-form-field__label {
  color: var(--ads-fg-neutral-subtle);
  font-family: var(--ads-font-family);
  font-size: var(--ads-label1-font-size);
  font-weight: var(--ads-font-weight-semibold);
  line-height: var(--ads-label1-line-height);
  letter-spacing: var(--ads-label1-letter-spacing);
}

.avo-form-field__label-row {
  display: inline-flex;
  align-items: center;
  gap: var(--ads-size-4);
  width: max-content;
  max-width: 100%;
}

/* avo-count-stepper keeps its number input in the light DOM. WebKit draws
   the spin buttons as pseudo-elements, which ::slotted() cannot reach. */
avo-count-stepper > input::-webkit-inner-spin-button,
avo-count-stepper > input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/*
 * Hide web ADS elements until their module defines them, so slotted content
 * does not flash unstyled. Keep this list in step with ads.js
 * (tests/js/ads_contract.test.mjs checks it).
 */
:is(
  avo-accordion,
  avo-accordion-item,
  avo-action-area,
  avo-alert,
  avo-avatar,
  avo-avatar-group,
  avo-badge,
  avo-blocking-progress,
  avo-bottom-sheet,
  avo-breadcrumb,
  avo-breadcrumb-item,
  avo-button,
  avo-calendar,
  avo-callout,
  avo-checkbox,
  avo-circular-progress-indicator,
  avo-chip,
  avo-choice-tile,
  avo-content-header,
  avo-count-stepper,
  avo-date-field,
  avo-dialog,
  avo-divider,
  avo-empty-state,
  avo-file-drop,
  avo-help-bubble,
  avo-icon-button,
  avo-image-frame,
  avo-list-item,
  avo-month-field,
  avo-pagination,
  avo-popup-menu,
  avo-popup-menu-item,
  avo-popup-menu-section,
  avo-progress-bar,
  avo-progress-indicator,
  avo-progress-tracker,
  avo-progress-tracker-step,
  avo-radio,
  avo-search-field,
  avo-segmented-control,
  avo-select-field,
  avo-shimmer,
  avo-slider,
  avo-snackbar,
  avo-stepper,
  avo-switch,
  avo-tab,
  avo-tab-item,
  avo-table-pagination,
  avo-tag,
  avo-tag-group,
  avo-text-area,
  avo-text-button,
  avo-text-field,
  avo-time-field,
  avo-time-picker,
  avo-tooltip,
  avo-tooltip-block
):not(:defined) {
  visibility: hidden;
}

/* A standalone field label (one placed before its control instead of inside
   an ADS field) keeps the field heading's s8 to the control below, like the
   fields do (Flutter: heading, SizedBox(height: s8), then the field), in any
   container. Containers add no gap of their own between the two: left to
   them, it kept collapsing to 0 (owner, 2026-10-27). Legacy page CSS resets
   label margins with !important at any specificity, so these rules are
   !important inside a cascade layer: an important declaration in a layer
   wins over every unlayered one, whatever its specificity. */
@layer avods-field-label {
  :is(.avo-form-field__label, .avo-form-field__label-row):has(+ :is(
    avo-text-field, avo-text-area, avo-select-field, avo-segmented-control,
    avo-count-stepper, avo-file-drop, avo-date-field, avo-time-field, avo-month-field,
    compact-language-selector, select-dropdown,
    [role="group"], [role="radiogroup"]
  )) {
    display: block !important;
    margin-block-end: var(--ads-size-8) !important;
  }
  .avo-form-field__label-row:has(+ :is(
    avo-text-field, avo-text-area, avo-select-field, avo-segmented-control,
    avo-count-stepper, avo-file-drop, avo-date-field, avo-time-field, avo-month-field,
    compact-language-selector, select-dropdown,
    [role="group"], [role="radiogroup"]
  )) {
    display: flex !important;
  }
  /* A medium or small segmented control keeps a 44px touch target around a
     shorter track; the label gives that overhang back so the s8 is to the
     track you see (owner, 2026-10-29). */
  :is(.avo-form-field__label, .avo-form-field__label-row):has(+ avo-segmented-control[size="sm"]) {
    margin-block-end: calc(var(--ads-size-8) - (var(--ads-interaction-minimum-touch-target) - var(--ads-size-40)) / 2) !important;
  }
  :is(.avo-form-field__label, .avo-form-field__label-row):has(+ avo-segmented-control[size="xs"]) {
    margin-block-end: calc(var(--ads-size-8) - (var(--ads-interaction-minimum-touch-target) - var(--ads-size-32)) / 2) !important;
  }
}

/* Overlays render nothing until defined and opened. */
:is(avo-dialog, avo-bottom-sheet, avo-snackbar, avo-popup-menu, avo-tooltip, avo-help-bubble, avo-blocking-progress):not(:defined) {
  display: none;
}

/*
 * Emoji and other full-colour content (images, flags) in an icon slot. Icon
 * slots tint their content with a translucent label colour (label.alternative
 * and friends), and browsers apply that alpha to colour fonts too, which fades
 * Tossface. Mark such content .avods-emoji to keep it at full strength.
 */
.avods-emoji {
  color: #000;
  font-family: var(--ads-font-family);
}

/* A Tossface emoji leading a small chip reads at its 14px label size, not
   the 12px icon size, which shrinks it to a speck (CEFR level chips). */
avo-chip[size="xs"] > .avods-emoji:is([slot="leading"], [slot="trailing"]) {
  font-size: var(--ads-size-14);
  inline-size: var(--ads-size-14);
  block-size: var(--ads-size-14);
}


/* Web ADS page patterns: the teacher page layout first built for Classroom
   Insights (AVO-201) and shared by every page that adopts it.

   A page opts in with:
   - body.avods-page: the ADS page background and gutters (below), and
   - .avods-page-content on the page's main view: page spacing and the teacher
     type scale.
   Inside: .avods-page-top (sticky title and filter row), .avods-sections with
   .avods-section(--card) bento cards, .avods-line-card, .avods-kpi, .avods-table,
   .avods-help, .avods-fade-end and .avods-scroll-fade. Behavior that needs script
   (toolbar arrows, changed filters, the header's scroll edge, pinned tables,
   fades) lives in patterns/page.js, which ads.js loads.
   Values come from web ADS tokens only (see static/ads/README.md). */

.avods-page-content {
    --page-section-gap: var(--ads-size-32);
    --page-group-gap: var(--ads-spacing-between-cards);
    --page-fade-extent: var(--ads-size-24);
}

/* body.avods-page: the ADS page background behind the teacher shell's
   .content-wrapper, and side margins of s20 on tablets and phones, s64 on
   desktop (owner, 2026-10-16). Pages without the class keep their look. */
body.avods-page {
    --page-inline: var(--ads-spacing-page-inline-compact);
    background: var(--ads-bg-page-sunken);
}

/* Page widths (owner, 2026-10-29): one set of content caps instead of a
   value per page. sm for one readable column (forms, settings), md for an
   editor's main column with its side rail, lg for lists and tables, full
   for content that needs the whole window. The rail is one width too. */
:root {
    --page-width-sm: var(--ads-layout-page-width-sm);
    --page-width-md: var(--ads-layout-page-width-md);
    --page-width-lg: var(--ads-layout-page-width-lg);
    --page-rail-width: var(--ads-layout-page-rail-width);
}

/* A centered column at that cap; full only takes the available width. */
.avods-width-sm,
.avods-width-md,
.avods-width-lg,
.avods-width-full {
    box-sizing: border-box;
    width: 100%;
    margin-inline: auto;
}

.avods-width-sm { max-width: var(--page-width-sm); }
.avods-width-md { max-width: var(--page-width-md); }
.avods-width-lg { max-width: var(--page-width-lg); }
.avods-width-full { max-width: none; }

@media (min-width: 1025px) {
    body.avods-page {
        --page-inline: var(--ads-spacing-page-inline-wide);
    }
}

body.avods-page .content-wrapper {
    padding-left: var(--page-inline) !important;
    padding-right: var(--page-inline) !important;
    background: var(--ads-bg-page-sunken) !important;
}

/* ---------- Type scale ----------
   Teacher pages use the large ADS type scale (styles below Body 1 one step
   up, owner 2026-11-05): templates set data-ads-type-scale="large" on
   <html> and ads-tokens.css swaps the text tokens, so text classes, page
   CSS, and ADS components all follow. Do not restate sizes here. */

/* ---------- Page header + toolbar ---------- */

/* The header (breadcrumb, title, filters) stays at the top while the page
   scrolls (owner, 2026-10-19). It reaches up over the workspace's 24px and
   the view's s8 top padding and down by s12 so the cards slide under an
   opaque page-colored band; the negative margins keep every position. */
.avods-page-top {
    --_page-top-reach: calc(var(--ads-size-24) + var(--ads-size-8));
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: var(--page-group-gap);
    margin-top: calc(-1 * var(--_page-top-reach));
    margin-bottom: calc(-1 * var(--ads-size-12));
    padding-top: var(--_page-top-reach);
    padding-bottom: var(--ads-size-12);
    background: var(--ads-bg-page-sunken);
}

/* The band also covers the side gutters, so the cards' wide shadows don't
   show beside it as they scroll under. The scroll box clips it at the page
   edge; the list rail stays above it (z-index 4). */
/* A callout closing the header reads like a card, so the content starts one
   card gap below it instead of a section gap (owner, 2026-10-19). */
.avods-page-top:has(> avo-callout:not([hidden])) + * {
    margin-top: calc(var(--page-group-gap) - var(--page-section-gap));
}

.avods-page-top::before {
    content: '';
    position: absolute;
    z-index: -1;
    /* The page gutters on both sides: wider, it scrolled the page sideways
       on phones. */
    inset: 0 calc(-1 * var(--page-inline, 18px));
    background: inherit;
}

/* Scroll edge: a short page-colored fade under the pinned header, shown
   only while content runs beneath it and faded in and out (owner,
   2026-10-19). page.js sets data-scrolled. */
.avods-page-top::after {
    content: '';
    position: absolute;
    top: 100%;
    /* Inside the page gutters: running under the scrollbar left stray
       white bands while it faded (owner, 2026-10-19). */
    right: calc(-1 * var(--page-inline, 18px));
    left: calc(-1 * var(--page-inline, 18px));
    height: var(--ads-size-16);
    background: linear-gradient(var(--ads-bg-page-sunken), transparent);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--ads-duration-medium, 200ms) var(--ads-curve-standard, ease);
    /* One steady layer, not one created and dropped per fade. */
    will-change: opacity;
}

/* Only a header with filters (a toolbar) or a condensing header stays on
   top while the page scrolls; title-only headers scroll away with it
   (owner, 2026-10-20; condensing editors, 2026-11-10). */
.avods-page-top:is(:has(.avods-toolbar), [data-ads-condense="scroll"]) {
    position: sticky;
    top: 0;
}

.avods-page-top:not(:has(.avods-toolbar), [data-ads-condense="scroll"])::after {
    display: none;
}

.avods-page-top[data-scrolled]::after {
    opacity: 1;
}

/* Breadcrumb above the class and student titles (renderInsightsBreadcrumb).
   Top line (owner, 2026-10-19): the breadcrumb row is the app sidebar's logo
   row (28px from the top of the workspace, sidebar.css .sidebar-header-row)
   and the rail's "Classes 1 / 25" row, so the first line of every column
   centers on one line. The row starts s8 higher than the view's top padding
   and keeps the title where it was (s12 below the row). The items' s4
   text-button padding hangs into the gutter so the first label lines up
   with the title. */
.avods-page-breadcrumb {
    display: flex;
    align-items: center;
    min-height: var(--ads-size-28);
    margin-top: calc(-1 * var(--ads-size-8));
    /* s8 to the title (owner, 2026-10-19: 4px closer). */
    margin-bottom: calc(var(--ads-size-8) - var(--page-group-gap));
}

/* Top-level pages have no breadcrumb and no longer keep its empty row: the
   title starts the page, which wasted less room (owner QA, 2026-10-28). */
.avods-page-breadcrumb--placeholder {
    display: none;
}

.avods-page-breadcrumb avo-breadcrumb {
    margin-inline-start: calc(-1 * var(--ads-size-4));
}

.avods-page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--ads-size-16);
    flex-wrap: wrap;
}

/* The title's center sits on the sidebar's first group title (83px from
   the top): 3px under the header's top edge, with or without a subtitle,
   breadcrumb or meta lines. */
.avods-page-header__identity {
    display: flex;
    flex-direction: column;
    gap: var(--ads-size-4);
    min-width: 0;
    margin-top: 3px;
}

.avods-page-header__title {
    margin: 0;
    color: var(--ads-fg-neutral-bold);
}

/* Detail headers: avatar, name, then the status dot (s10 apart; the dot s8). */
.avods-page-header__title-row {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}


.avods-page-header__title-row .avods-page-header__title {
    min-width: 0;
}


/* Right end of the header: counts (or the student's email) over the update
   time, both muted and right-aligned (owner, 2026-10-16). */
.avods-page-header__meta {
    align-self: flex-end;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: var(--ads-size-2);
    margin-inline-start: auto;
    min-width: 0;
    color: var(--ads-fg-neutral-subtler);
    text-align: right;
}

.avods-page-header__meta > span:empty {
    display: none;
}

.avods-page-header__subtitle {
    margin: 0;
    color: var(--ads-fg-neutral-subtle);
}

/* "?" help button beside a title, KPI label, or column header; an avo-tooltip
   points at it. The :hover/:active resets beat teacher.css's global button. */
.avods-help,
.avods-help:hover,
.avods-help:active {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    /* Sits s2 closer to its text than the row gap (owner, 2026-10-16). */
    margin: 0;
    margin-inline-start: calc(-1 * var(--ads-size-2));
    padding: 0;
    border: 0;
    border-radius: var(--ads-border-radius-full);
    background: transparent;
    /* teacher.css's button shadow showed until the interaction layer loaded. */
    box-shadow: none;
    /* Alternative, not assistive: assistive read too faint (owner, 2026-10-16). */
    color: var(--ads-fg-neutral-subtler);
    font-size: 1rem;
    line-height: 1;
    cursor: help;
}

/* Next to the page title: larger, and s2 further from it. Listed with the
   states, or .avods-help:hover would shrink the icon back to 16px. */
.avods-help--title,
.avods-help--title:hover,
.avods-help--title:active {
    font-size: 1.25rem;
    margin-inline-start: var(--ads-size-2);
}

.avods-page-header__actions {
    align-self: flex-end;
    display: flex;
    align-items: center;
    gap: var(--ads-size-8);
    flex-wrap: wrap;
}

/* Scroll-linked fold (data-ads-condense="scroll"; owner, 2026-11-10): no
   triggered motion. The breadcrumb row stays pinned and the title row
   slides up under it as the page scrolls, 1:1 with the scroll; once the
   title row has passed (page.js sets --_page-top-fold to its height) the
   whole header holds still with the rows below it (steps, filters) in
   view. Header actions belong in the breadcrumb row so they stay. */
.avods-page-top[data-ads-condense="scroll"] {
    top: calc(-1 * var(--_page-top-fold, 0px));
    padding-top: 0;
}

.avods-page-top[data-ads-condense="scroll"] > .avods-page-breadcrumb {
    position: sticky;
    /* page.js: how far the header starts above the scroll box (the drawer
       layout), so the pinned row stays where the header put it. The fold
       above includes it. */
    top: calc(-1 * var(--_page-top-lift, 0px));
    z-index: 1;
    gap: var(--ads-size-12);
    margin-top: 0;
    padding-top: calc(var(--_page-top-reach) - var(--ads-size-8));
    background: var(--ads-bg-page-sunken);
}

.avods-page-top[data-ads-condense="scroll"] > .avods-page-breadcrumb > .avods-page-header__actions {
    margin-inline-start: auto;
}

/* Phone width: the actions drop under the breadcrumb, end-aligned, instead
   of spilling past the row; the pinned row grows to hold them. */
@media (max-width: 640px) {
    .avods-page-top[data-ads-condense="scroll"] > .avods-page-breadcrumb {
        flex-wrap: wrap;
        row-gap: var(--ads-size-8);
    }

    .avods-page-top[data-ads-condense="scroll"] > .avods-page-breadcrumb > .avods-page-header__actions {
        flex-basis: 100%;
        justify-content: flex-end;
    }
}

.avods-page-top[data-ads-condense="scroll"] :is(.avods-page-header__identity, .avods-page-header__meta) {
    /* Gone by half the fold, before the breadcrumb row starts cutting the
       letters (owner QA, 2026-11-10). The meta line under a title fades with
       it. */
    opacity: calc(1 - 2 * var(--_page-top-fold-progress, 0));
}

.avods-toolbar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--ads-size-8);
    min-height: var(--ads-size-40);
}

/* ADS fields keep a 44px touch target around their 40px track. In the toolbar
   each one gives that back, so wrapped rows sit as close as neighbours do:
   s8 both ways between the visible tracks (owner, 2026-10-16). */
.avods-toolbar :is(avo-segmented-control, avo-select-field) {
    margin-block: calc((var(--ads-size-40) - var(--ads-interaction-minimum-touch-target)) / 2);
}




/* The header toolbar, and any .avods-toolbar--line (e.g. inside a card), keeps
   one line and scrolls sideways; arrows over a fade show at the ends that
   have more (page.js). An open popover inside the row
   ([data-ads-toolbar-popover]) needs it unclipped, so it wraps then. */
.avods-toolbar-scroll {
    position: relative;
    min-width: 0;
}

:is(.avods-page-top .avods-toolbar, .avods-toolbar--line):not(:has([data-ads-toolbar-popover]:not([hidden]))) {
    flex-wrap: nowrap;
    /* Room for the 44px touch boxes and focus rings inside the clip. */
    margin-block: calc(-1 * var(--ads-size-4));
    padding-block: var(--ads-size-4);
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
}

:is(.avods-page-top .avods-toolbar, .avods-toolbar--line)::-webkit-scrollbar {
    display: none;
}

:is(.avods-page-top .avods-toolbar, .avods-toolbar--line) :is(avo-select-field, avo-segmented-control, avo-text-field, avo-button, avo-text-button, .avods-toolbar__item, .avods-toolbar__divider) {
    flex: none;
}

/* Sort and view options follow the filters after a hairline. */
.avods-toolbar__divider {
    align-self: center;
    width: 1px;
    height: var(--ads-size-20);
    margin-inline: var(--ads-size-4);
    background: var(--ads-stroke-neutral-base);
}

/* A toolbar line: the scrolling filters, then items that stay put at the
   end (the search). */
.avods-toolbar-line {
    display: flex;
    align-items: center;
    gap: var(--ads-size-8);
    min-width: 0;
}

.avods-toolbar-line > .avods-toolbar-scroll {
    flex: 1 1 auto;
}

/* ---------- Toolbar search: an icon that opens into a field ----------
   Fixed at the end of the line, outside the scrolling filters; it opens on
   click and stays open while it holds a query (page.js). Closed, it is a
   plain 40px icon button; open, an outlined 40px field like AvoTextField
   outline (owner, 2026-10-21: like other services). */
.avods-toolbar-search {
    position: relative;
    display: flex;
    flex: none;
    align-items: center;
}

.avods-toolbar-search .avods-toolbar-search__toggle,
.avods-toolbar-search .avods-toolbar-search__toggle:hover,
.avods-toolbar-search .avods-toolbar-search__toggle:active,
.avods-toolbar-search .avods-toolbar-search__clear,
.avods-toolbar-search .avods-toolbar-search__clear:hover,
.avods-toolbar-search .avods-toolbar-search__clear:active {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    border: 0;
    box-shadow: none;
    transform: none;
    cursor: pointer;
}

.avods-toolbar-search .avods-toolbar-search__toggle {
    width: var(--ads-size-40);
    height: var(--ads-size-40);
    border-radius: var(--ads-border-radius-full);
    background: transparent;
    color: var(--ads-fg-neutral-subtle);
}

.avods-toolbar-search .avods-toolbar-search__toggle:hover {
    background: var(--ads-bg-neutral-subtler);
}

.avods-toolbar-search .avods-toolbar-search__toggle:active {
    background: var(--ads-bg-neutral-base);
}

.avods-toolbar-search__toggle .ph {
    font-size: var(--ads-size-20);
}

.avods-toolbar-search__field > .ph {
    font-size: var(--ads-size-20);
}

.avods-toolbar-search__field {
    display: none;
    align-items: center;
    gap: var(--ads-size-6);
    box-sizing: border-box;
    width: min(var(--page-toolbar-search-width, 240px), 60vw);
    height: var(--ads-size-40);
    margin: 0;
    padding-inline: var(--ads-size-12) var(--ads-size-8);
    border: 0.5px solid transparent;
    border-radius: var(--ads-border-radius-sm);
    corner-shape: var(--ads-corner-shape);
    background: var(--ads-bg-neutral-base);
    color: var(--ads-fg-neutral-subtler);
    cursor: text;
}

.avods-toolbar-search:is([data-open], [data-roomy]) .avods-toolbar-search__toggle {
    display: none;
}

/* data-roomy: page.js found room for the whole field beside the filters, so
   it stays open; a tight line folds back to the icon. */
.avods-toolbar-search:is([data-open], [data-roomy]) .avods-toolbar-search__field {
    display: flex;
}

.avods-toolbar-search[data-filled] .avods-toolbar-search__field {
    color: var(--ads-fg-neutral-base);
}

/* AvoTextField solid focus: the 0.5px line.normal.alternative border plus
   the web focus ring (field-base.js). */
.avods-toolbar-search__field:focus-within {
    border-color: var(--ads-stroke-neutral-subtler);
    outline: var(--ads-web-focus-outline-width) solid var(--ads-web-focus-outline-color);
    outline-offset: var(--ads-web-focus-outline-offset);
}

.avods-toolbar-search .avods-toolbar-search__field input,
.avods-toolbar-search .avods-toolbar-search__field input:focus {
    flex: 1 1 auto;
    min-width: 0;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    outline: none;
    background: transparent;
    box-shadow: none;
    color: var(--ads-fg-neutral-base);
    font-family: var(--ads-font-family);
    font-size: var(--ads-body2-font-size);
    font-weight: var(--ads-body2-medium-font-weight);
    line-height: var(--ads-body2-line-height);
    letter-spacing: var(--ads-body2-letter-spacing);
    appearance: none;
}

.avods-toolbar-search__field input::placeholder {
    color: var(--ads-fg-decorative);
}

.avods-toolbar-search__field input::-webkit-search-cancel-button {
    display: none;
}

.avods-toolbar-search .avods-toolbar-search__clear {
    flex: none;
    width: var(--ads-size-24);
    height: var(--ads-size-24);
    border-radius: var(--ads-border-radius-full);
    background: transparent;
    color: var(--ads-fg-neutral-subtler);
}

.avods-toolbar-search .avods-toolbar-search__clear:hover {
    background: var(--ads-bg-neutral-base);
}

.avods-toolbar-search:not([data-filled]) .avods-toolbar-search__clear {
    visibility: hidden;
}

:is(.avods-toolbar-search__toggle, .avods-toolbar-search__clear):focus-visible {
    outline: var(--ads-web-focus-outline-width) solid var(--ads-web-focus-outline-color);
    outline-offset: calc(var(--ads-web-focus-outline-width) * -1);
}

.avods-toolbar-scroll::before,
.avods-toolbar-scroll::after {
    content: '';
    position: absolute;
    z-index: 1;
    top: 0;
    bottom: 0;
    display: none;
    width: var(--ads-size-64);
    pointer-events: none;
}

.avods-toolbar-scroll::before {
    left: 0;
    background: linear-gradient(to left, transparent, var(--page-toolbar-fade, var(--ads-bg-page-sunken)) 60%);
}

.avods-toolbar-scroll::after {
    right: 0;
    background: linear-gradient(to right, transparent, var(--page-toolbar-fade, var(--ads-bg-page-sunken)) 60%);
}

.avods-toolbar-scroll[data-can-start]::before,
.avods-toolbar-scroll[data-can-end]::after {
    display: block;
}

/* A 32px round button like the Flutter web word-list arrows. teacher.css
   styles every page button, hence the states. */
.avods-toolbar-scroll .avods-toolbar-scroll__arrow,
.avods-toolbar-scroll .avods-toolbar-scroll__arrow:hover,
.avods-toolbar-scroll .avods-toolbar-scroll__arrow:active {
    position: absolute;
    z-index: 2;
    top: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    width: var(--ads-size-32);
    height: var(--ads-size-32);
    margin: 0;
    padding: 0;
    border: 1px solid var(--ads-stroke-neutral-subtler);
    border-radius: var(--ads-border-radius-full);
    background: var(--ads-bg-page-base);
    box-shadow: var(--ads-elevation-floating);
    color: var(--ads-fg-neutral-base);
    translate: 0 -50%;
    transform: none;
    cursor: pointer;
}

.avods-toolbar-scroll .avods-toolbar-scroll__arrow:hover {
    background: var(--ads-bg-page-sunken);
}

.avods-toolbar-scroll__arrow .ph {
    font-size: var(--ads-size-16);
}

.avods-toolbar-scroll__arrow--start {
    left: 0;
}

.avods-toolbar-scroll__arrow--end {
    right: 0;
}

.avods-toolbar-scroll[data-can-start] .avods-toolbar-scroll__arrow--start,
.avods-toolbar-scroll[data-can-end] .avods-toolbar-scroll__arrow--end {
    display: inline-flex;
}
/* A filter that differs from its default wears the weak primary chip look
   (avo-chip variant="weak" tone="primary"): fill.primary.alternative with
   primary.strong text and icons (owner, 2026-10-19). page.js sets
   data-changed. */
.avods-toolbar avo-select-field[variant="plain"][data-changed] .avo-select-field__control > select {
    background: var(--ads-bg-brand-tint-subtle);
    color: var(--ads-fg-brand-bold);
}

.avods-toolbar avo-select-field[data-changed] :is(.avo-select-field__leading, .avo-select-field__icon) {
    color: var(--ads-fg-brand-bold);
}

/* ---------- Sections: title outside the card ---------- */

.avods-sections {
    display: flex;
    flex-direction: column;
    /* Cards stack with the same gap they keep side by side (owner,
       2026-10-19, layout A). */
    gap: var(--page-group-gap);
}

/* A section whose title sits on the page (a set of cards) keeps the wider
   gap above its title. */
.avods-sections > .avods-section:not(.avods-section--card):not(:first-child) {
    margin-top: calc(var(--page-section-gap) - var(--page-group-gap));
}

.avods-section {
    display: flex;
    flex-direction: column;
    gap: var(--ads-size-12);
    min-width: 0;
}

/* The hidden attribute wins over the patterns' own display. */
:is(.avods-section, .avods-card, .avods-kpi)[hidden] {
    display: none;
}

.avods-section__head {
    display: flex;
    align-items: center;
    gap: var(--ads-size-12);
}

/* A title on the page: inset from the card edges so the heading reads with
   the card content and keeps clear of the neighbouring card. A card
   section's title row sets its own height and padding (below). */
.avods-section__head:where(:not(.avods-section--card > *)) {
    min-height: var(--ads-size-40);
    padding-inline: var(--ads-size-4);
}

.avods-section__titles {
    display: flex;
    flex-direction: column;
    gap: var(--ads-size-4);
    flex: 1 1 auto;
    min-width: 0;
}

.avods-section__title {
    margin: 0;
    color: var(--ads-fg-neutral-bold);
}

.avods-section__description {
    margin: 0;
    color: var(--ads-fg-neutral-subtler);
}

.avods-section__actions {
    display: flex;
    align-items: center;
    gap: var(--ads-size-8);
    flex-wrap: wrap;
    justify-content: flex-end;
}

/* Phones (owner, 2026-11-04: phone audit): when the titles and the actions
   cannot share the row, the actions drop below the titles instead of
   squeezing them into a narrow column. Small actions (an icon button)
   still fit beside 12rem of title. */
@media (max-width: 560px) {
    .avods-section__head {
        flex-wrap: wrap;
    }

    .avods-section__titles {
        flex-basis: 12rem;
    }
}

/* Layout A (owner, 2026-10-19): a section whose content is one card wears
   the card itself, title row included, like a bento tile. Sections whose
   content is a row of KPI cards keep their title on the page. Class cards
   and activity tiles stay inside their section card as outlined cards
   (.avods-line-card; owner, 2026-10-19). The page title and the
   filters stay on the page too. */
.avods-section--card {
    gap: 0;
    background: var(--ads-bg-page-base);
    border-radius: var(--ads-border-radius-lg);
    corner-shape: var(--ads-corner-shape);
    box-shadow: var(--ads-elevation-raised);
}

/* A 40px select in a section head keeps its 44px touch box without making
   the head taller than one without a control, so card titles line up. */
.avods-section__head avo-select-field[variant="plain"] {
    margin-block: calc((var(--ads-size-40) - var(--ads-interaction-minimum-touch-target)) / 2);
}

/* Pinned tables ([data-ads-pin-table], page.js): the card holds still under the header while
   the page scroll moves its table, then scrolls on once the table ends
   (owner, 2026-10-19). The track supplies the extra scroll length. The
   pinned block is the table's .avods-section, or its .avods-card when the
   card stands alone (owner QA, 2026-11-10: a bare card's header row
   scrolled away under the page header). */
.avods-pin-track {
    position: relative;
    min-width: 0;
}

.avods-pin-track[data-pinned] > :is(.avods-section, .avods-card) {
    position: sticky;
    top: var(--_pin-top, 0px);
    height: var(--_pin-height, auto);
}

.avods-pin-track[data-pinned] > .avods-section > .avods-section__head {
    flex: none;
}

:is(.avods-pin-track[data-pinned] > .avods-section > .avods-card, .avods-pin-track[data-pinned] > .avods-card) {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
}

.avods-pin-track[data-pinned] [data-ads-pin-table] {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: hidden;
}

/* The sticky header row stays a solid band while rows pass under it: above
   the rows' controls and hover fill, its divider drawn as an inset shadow
   (a collapsed border does not stick), and the band carried over the scroll
   box's s20 side padding where the rows' hover fill reaches. */
.avods-pin-track[data-pinned] [data-ads-pin-table] thead th {
    position: sticky;
    z-index: 3;
    top: 0;
    border-bottom-color: transparent;
    background: var(--ads-bg-page-base);
    box-shadow: inset 0 -1px 0 var(--ads-stroke-neutral-subtler);
}

.avods-pin-track[data-pinned] [data-ads-pin-table] thead th:first-child {
    box-shadow:
        inset 0 -1px 0 var(--ads-stroke-neutral-subtler),
        calc(-1 * var(--ads-size-20)) 0 0 var(--ads-bg-page-base);
}

.avods-pin-track[data-pinned] [data-ads-pin-table] thead th:last-child {
    box-shadow:
        inset 0 -1px 0 var(--ads-stroke-neutral-subtler),
        var(--ads-size-20) 0 0 var(--ads-bg-page-base);
}

:is(.avods-pin-track[data-pinned] > .avods-section > .avods-card, .avods-pin-track[data-pinned] > .avods-card) > :not([data-ads-pin-table], .avods-table-scroll:has(> [data-ads-pin-table])) {
    flex: none;
}

/* A pinned table inside its scroll frame: the frame takes the card's height
   and the box its first row, above the horizontal bar. */
:is(.avods-pin-track[data-pinned] > .avods-section > .avods-card, .avods-pin-track[data-pinned] > .avods-card) > .avods-table-scroll:has(> [data-ads-pin-table]) {
    flex: 1 1 auto;
    min-height: 0;
    grid-template-rows: minmax(0, 1fr) auto;
}

.avods-section--card > .avods-section__head {
    /* One 40px title row in every card, with or without controls, so side by
       side cards line up their titles and content (owner, 2026-10-19). */
    min-height: calc(var(--ads-spacing-card-inset) + var(--ads-size-40));
    padding: var(--ads-spacing-card-inset) var(--ads-spacing-card-inset) 0;
}

/* The content of a card section: the section wears the card, so this takes
   no surface of its own (.avods-card below skips it). */
.avods-section--card > .avods-card {
    padding-top: var(--ads-size-12);
    border-radius: 0 0 var(--ads-border-radius-lg) var(--ads-border-radius-lg);
    corner-shape: var(--ads-corner-shape);
}

/* A card inside a section card: page-colored surface edge, outlined, no
   shadow. Cards nest only this once (owner, 2026-10-19). The edge uses the
   neutral line; alternative is for dividers inside a card (2026-10-28). */
.avods-line-card {
    min-width: 0;
    padding: var(--ads-spacing-tile-inset);
    border: 1px solid var(--ads-stroke-neutral-subtle);
    border-radius: var(--ads-border-radius-lg);
    corner-shape: var(--ads-corner-shape);
    background: var(--ads-bg-page-base);
}

.avods-row {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    gap: var(--ads-spacing-between-cards);
}

.avods-card {
    min-width: 0;
    padding-inline: var(--ads-spacing-card-inset);
    padding-bottom: var(--ads-spacing-card-inset);
}

/* Static list rows in a card line up with its content edge: the list item's
   own s20 inset is for rows that run edge to edge, and nesting it inside the
   card's padding indented every row (owner QA, 2026-11-10). Clickable and
   link rows keep the inset for their pressed background. :where() keeps no
   specificity, so a page's own inset on a row class still wins. */
:where(.avods-card avo-list-item:not([clickable], [href])) {
    --ads-list-item-padding-inline-start: 0px;
    --ads-list-item-padding-inline-end: 0px;
}

/* A card on its own: the surface and the top padding. A card section's
   content has both from the section (above). :where() keeps the
   single-class specificity that page rules override. */
.avods-card:where(:not(.avods-section--card > *)) {
    padding-top: var(--ads-spacing-card-inset);
    background: var(--ads-bg-page-base);
    border-radius: var(--ads-border-radius-lg);
    corner-shape: var(--ads-corner-shape);
    box-shadow: var(--ads-elevation-raised);
}

/* ---------- Main column and rail (.avods-main-rail) ---------- */

/* Two columns: the main work on the left, supporting cards in a rail of
   --page-rail-width on the right (owner, 2026-11-10). On desktop the rail
   stays in view and scrolls on its own inside the window, so a tall rail
   never leaves the page scrolling past the end of the main column. A docked
   action area (.avods-action-dock, below) publishes its height as
   --page-action-area-space, so the rail ends above it; pages set
   --page-bottom-space to the room they leave under the columns. Below
   1280px (where the teacher editors already stacked, so the main column
   keeps its width beside the sidebar) the rail stacks under the main column
   and scrolls with the page. Put the columns in .avods-main-rail__main and
   .avods-main-rail__rail. */
.avods-main-rail {
    display: grid;
    grid-template-columns: minmax(0, 1fr) var(--page-rail-width, 320px);
    gap: var(--ads-size-24);
    align-items: start;
}

.avods-main-rail__main,
.avods-main-rail__rail {
    display: grid;
    gap: var(--ads-spacing-between-cards);
    min-width: 0;
}

.avods-main-rail__rail {
    --_rail-top: calc(var(--page-top-height, 0px) + var(--ads-size-16));
    position: sticky;
    top: var(--_rail-top);
    /* --page-bottom-space is the room the page leaves under the columns
       (its bottom padding): at the end of the page the rail then still fits
       beside the main column instead of being pushed up under the header.
       A top banner takes its height off the window. */
    max-height: calc(100dvh - var(--page-top-banner-height, 0px) - var(--_rail-top) - var(--page-action-area-space, 0px) - var(--page-bottom-space, var(--ads-size-16)));
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    /* Room for the cards' shadows inside the scroll box: s24 to the sides
       (the column gap), so the shadows fade out instead of ending on a
       straight line, and s24 under the last card. */
    margin: calc(-1 * var(--ads-size-12)) calc(-1 * var(--ads-size-24));
    padding: var(--ads-size-12) var(--ads-size-24) var(--ads-size-24);
    /* Cards fade out at the rail's edges as they scroll past, like content
       under a docked action area, instead of being cut off (owner QA,
       2026-11-10). The faded bands are the padding, so nothing is faded at
       either end of the scroll. */
    mask-image: linear-gradient(to bottom, transparent, black var(--ads-size-12), black calc(100% - var(--ads-size-24)), transparent);
}

/* An action area docked under the main column only (a child of the
   layout, after both columns): it is the main column's second row and the
   rail spans both rows, running to the window's bottom edge beside it. */
@media (min-width: 1280px) {
    .avods-main-rail:has(> .avods-action-dock) > .avods-main-rail__main {
        grid-area: 1 / 1;
    }

    .avods-main-rail:has(> .avods-action-dock) > .avods-main-rail__rail {
        --page-action-area-space: 0px;
        grid-area: 1 / 2 / span 2;
    }

    .avods-main-rail > avo-action-area.avods-action-dock {
        grid-area: 2 / 1;
    }
}

@media (max-width: 1279px) {
    .avods-main-rail {
        grid-template-columns: minmax(0, 1fr);
    }

    .avods-main-rail__rail {
        position: static;
        max-height: none;
        overflow: visible;
        margin: 0;
        padding: 0;
        mask-image: none;
    }
}

/* ---------- Docked action area (.avods-action-dock) ---------- */

/* An editor's next decision (avo-action-area) docked at the window's
   bottom edge on the page color, its fade blending into the page as content
   scrolls under it (owner, 2026-11-10; first built for the push editor).
   The area reaches s24 past its column on each side (at most the page
   gutter, --page-inline, so it never scrolls the page sideways), so it
   covers the cards' shadows too, and its padding keeps the buttons on the
   column edge. page.js publishes the area's height
   as --page-action-area-space on <html> while it shows: a main column +
   rail ends above it and floating buttons rise above it. The page ends at
   the area: no bottom padding under it. */
avo-action-area.avods-action-dock {
    --_dock-reach: min(var(--ads-size-24), var(--page-inline, var(--ads-size-16)));
    --ads-action-area-background: var(--ads-bg-page-sunken);
    --ads-action-area-padding-inline: var(--_dock-reach);
    position: sticky;
    bottom: 0;
    z-index: 5;
    display: block;
    margin-inline: calc(-1 * var(--_dock-reach));
}

/* ---------- KPI cards ---------- */

/* KPI cards follow Figma variant 1: label, then number + chip + secondary
   on one line, the small picture on the right. No emoji tile here; the
   picture already gives the card color (owner, 2026-10-19). */
.avods-kpi {
    container: avods-kpi / inline-size;
    display: flex;
    align-items: center;
    gap: var(--ads-size-16);
}

.avods-kpi__body {
    display: flex;
    /* Takes what the picture leaves; the secondary wraps under the number
       when the card is narrow (class and student detail columns). */
    flex: 1 1 0;
    flex-direction: column;
    min-width: 120px;
}

.avods-kpi__label {
    display: flex;
    align-items: center;
    gap: var(--ads-size-6);
    color: var(--ads-fg-neutral-subtle);
}

.avods-kpi__line {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    column-gap: var(--ads-size-8);
}

.avods-kpi__value {
    display: flex;
    align-items: baseline;
    gap: var(--ads-size-2);
    color: var(--ads-fg-neutral-bold);
    white-space: nowrap;
}

.avods-kpi__number {
    color: var(--ads-fg-neutral-bold);
}

.avods-kpi__unit {
    color: var(--ads-fg-neutral-subtle);
}

.avods-kpi__chip {
    display: inline-flex;
}

.avods-kpi__chip[hidden] {
    display: none;
}

.avods-kpi__secondary {
    color: var(--ads-fg-neutral-subtler);
}

.avods-kpi__secondary:empty {
    display: none;
}

.avods-kpi__visual {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    min-height: 56px;
}

.avods-kpi__visual:empty {
    display: none;
}

/* Cards in a row share its height; their content starts at the top so the
   labels line up when one card is taller. */
.avods-kpi {
    flex-wrap: wrap;
    align-content: flex-start;
}

/* Narrow cards keep the numbers and drop the picture. */
@container avods-kpi (max-width: 215px) {
    .avods-kpi__visual {
        display: none;
    }
}

/* Emoji before a section title. */
.avods-title-emoji {
    display: inline-block;
    margin-inline-end: var(--ads-size-6);
    font-family: var(--ads-font-family);
    font-style: normal;
}

.avods-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* ---------- Tables ---------- */

.avods-table {
    width: 100%;
    border-collapse: collapse;
}

/* On wide screens the name column stops at a maximum and the data columns
   stay together on the left; the spacer before the caret takes the rest, so
   only the caret sits at the right edge (owner, 2026-10-16). Each table sets
   --table-fixed (its other columns) and --table-name-max; the scroll
   wrapper is the size container. */
.avods-table th:first-child {
    width: clamp(
        var(--table-name-min, 200px),
        calc(100cqw - var(--table-fixed, 0px)),
        var(--table-name-max, 360px)
    );
}

/* An explicit width: Chrome's fixed layout left part of the extra space
   unassigned, so the cells stopped short of the table edge. */
.avods-table .avods-table__spacer {
    width: max(0px, calc(100cqw - var(--table-fixed, 0px) - var(--table-name-max, 360px)));
    padding: 0;
}

.avods-table th {
    padding: 0 var(--ads-size-12) var(--ads-size-8);
    border-bottom: 1px solid var(--ads-stroke-neutral-subtler);
    color: var(--ads-fg-neutral-subtler);
    text-align: left;
    white-space: nowrap;
}

.avods-table td {
    padding: var(--ads-size-12);
    border-bottom: 1px solid var(--ads-stroke-neutral-subtler);
    color: var(--ads-fg-neutral-base);
    vertical-align: middle;
}

.avods-table .is-num {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.avods-table tbody tr[data-href],
.avods-table tbody tr[tabindex] {
    cursor: pointer;
}

/* Row hover: a rounded overlay reaching s6 past the row's sides (and 1px off
   the dividers), drawn over the cells since Fill/Alternative is translucent.
   The scroll wrappers pad s6 so the overhang is not clipped. */
.avods-table tbody tr {
    position: relative;
}

.avods-table tbody tr[tabindex]::after,
.avods-table tbody tr[data-href]::after {
    content: '';
    position: absolute;
    inset: 1px calc(-1 * var(--ads-size-6));
    border-radius: var(--ads-border-radius-xs);
    corner-shape: var(--ads-corner-shape);
    background: transparent;
    pointer-events: none;
}

.avods-table tbody tr[tabindex]:hover::after,
.avods-table tbody tr[data-href]:hover::after {
    background: var(--ads-bg-neutral-subtler);
}

.avods-table__caret {
    width: 24px;
    color: var(--ads-fg-decorative);
    text-align: right;
}

/* On the icon itself, so row and cell text colors never darken it. */
.avods-table__caret .ph {
    color: var(--ads-fg-decorative);
}

.avods-table-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--ads-size-12);
    padding-top: var(--ads-size-16);
}

.avods-table-footer__count {
    color: var(--ads-fg-neutral-subtler);
}

/* ---------- Selection column (.avods-table__check) ---------- */

/* The first column of a selectable table: the select-all in the header and
   each row's checkbox are one avo-checkbox size="small", centered in cells of
   the same column, so they line up whatever padding the table gives its
   other cells (owner, 2026-10-28). */
:is(th, td).avods-table__check {
    inline-size: var(--ads-size-40);
    padding-inline: var(--ads-size-8);
    text-align: center;
    vertical-align: middle;
}

:is(th, td).avods-table__check > avo-checkbox {
    display: inline-flex;
    vertical-align: middle;
}

/* ---------- Sortable columns (th[data-ads-sort], page.js) ---------- */

/* The header title becomes a quiet button with stacked carets: the active
   direction's caret and the title take the primary colour (owner,
   2026-10-28; first built for the school setup page). */
.avods-table-sort,
.avods-table-sort:hover,
.avods-table-sort:active {
    display: inline-flex;
    align-items: center;
    gap: var(--ads-size-4);
    /* The negative side margins give the padding back, so the title gets the
       header's whole width before it ends in an ellipsis. */
    max-inline-size: calc(100% + var(--ads-size-6) * 2);
    margin: calc(var(--ads-size-4) * -1) calc(var(--ads-size-6) * -1);
    padding: var(--ads-size-4) var(--ads-size-6);
    border: 0;
    border-radius: var(--ads-border-radius-sm);
    corner-shape: var(--ads-corner-shape);
    background: transparent;
    box-shadow: none;
    color: inherit;
    font: inherit;
    letter-spacing: inherit;
    text-align: inherit;
    transform: none;
    cursor: pointer;
}

.avods-table-sort:focus-visible {
    outline: var(--ads-web-focus-outline-width) solid var(--ads-web-focus-outline-color);
    outline-offset: calc(var(--ads-web-focus-outline-width) * -1);
}

.avods-table-sort__label {
    min-inline-size: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.avods-table-sort__icon {
    display: inline-flex;
    flex: none;
    flex-direction: column;
    color: var(--ads-fg-decorative);
    font-size: 0.625rem;
    line-height: 1;
}

.avods-table-sort__icon i + i {
    margin-top: -3px;
}

th[aria-sort="ascending"] > .avods-table-sort,
th[aria-sort="descending"] > .avods-table-sort {
    color: var(--ads-fg-brand-bolder);
}

th[aria-sort="ascending"] > .avods-table-sort .ph-caret-up,
th[aria-sort="descending"] > .avods-table-sort .ph-caret-down {
    color: var(--ads-fg-brand-base);
}

/* A header's "?" sits after the sort button, outside it (page.js). */
th > .avods-table-sort,
th > .avods-table-sort + .avods-help {
    vertical-align: middle;
}

th > .avods-table-sort + .avods-help {
    margin-inline-start: var(--ads-size-2);
}

/* ---------- Table scroll ([data-ads-table-scroll], page.js) ---------- */

/* Wide tables move sideways with ADS bars instead of the native ones, which
   macOS hides and a mouse wheel cannot drive (owner, 2026-10-28). The
   horizontal bar sticks to the window's bottom edge while the table runs
   past it; arrows at the header row and edge fades show there is more. */
.avods-table-scroll {
    --_bar-size: var(--ads-size-12);
    --_sticky-width: 0px;
    --_head-center: 20px;
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto;
    min-width: 0;
}

.avods-table-scroll > [data-ads-table-scroll] {
    /* Its own stacking layer: sticky cells' z-indexes stay inside the box,
       under the frame's fades, arrows, and bar. */
    position: relative;
    z-index: var(--ads-layer-base);
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
    min-height: 0;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
}

.avods-table-scroll > [data-ads-table-scroll]::-webkit-scrollbar {
    display: none;
}

.avods-table-scroll__bar {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    touch-action: none;
    user-select: none;
}

.avods-table-scroll__bar[hidden] {
    display: none;
}

.avods-table-scroll__bar--x {
    position: sticky;
    z-index: 4;
    bottom: 0;
    grid-column: 1;
    grid-row: 2;
    height: var(--_bar-size);
    /* The card's surface behind it, so rows passing under stay hidden. */
    background: var(--table-surface, var(--ads-bg-page-base));
}

/* Over the box's end edge rather than beside it, so a box that scrolls on
   its own keeps its width (the native overlay bar took none). */
.avods-table-scroll__bar--y {
    position: absolute;
    z-index: 4;
    top: 0;
    right: 0;
    bottom: 0;
    width: var(--_bar-size);
}

.avods-table-scroll[data-scroll-x] > .avods-table-scroll__bar--y {
    bottom: var(--_bar-size);
}

.avods-table-scroll__thumb {
    position: absolute;
    border-radius: var(--ads-border-radius-full);
    background: var(--ads-stroke-opaque-base);
    transition: background-color var(--ads-duration-short1) ease;
}

.avods-table-scroll__bar--x .avods-table-scroll__thumb {
    top: 50%;
    left: 0;
    height: var(--ads-size-6);
    translate: 0 -50%;
}

.avods-table-scroll__bar--y .avods-table-scroll__thumb {
    top: 0;
    left: 50%;
    width: var(--ads-size-6);
    translate: -50% 0;
}

.avods-table-scroll__bar:hover .avods-table-scroll__thumb,
.avods-table-scroll__bar[data-dragging] .avods-table-scroll__thumb {
    background: var(--ads-fg-decorative);
}

.avods-table-scroll__bar:focus-visible {
    outline: var(--ads-web-focus-outline-width) solid var(--ads-web-focus-outline-color);
    outline-offset: calc(var(--ads-web-focus-outline-width) * -1);
    border-radius: var(--ads-border-radius-xs);
    corner-shape: var(--ads-corner-shape);
}

/* Edge fades over the rows: after the pinned columns at the start, before
   the vertical bar at the end. */
.avods-table-scroll::before,
.avods-table-scroll::after {
    content: '';
    position: absolute;
    z-index: 3;
    top: 0;
    bottom: 0;
    display: none;
    width: var(--ads-size-24);
    pointer-events: none;
}

.avods-table-scroll::before {
    left: var(--_sticky-width);
    background: linear-gradient(to left, transparent, var(--table-surface, var(--ads-bg-page-base)));
}

.avods-table-scroll::after {
    right: 0;
    background: linear-gradient(to right, transparent, var(--table-surface, var(--ads-bg-page-base)));
}

.avods-table-scroll[data-scroll-y]::after {
    right: var(--_bar-size);
}

.avods-table-scroll[data-can-start]::before,
.avods-table-scroll[data-can-end]::after {
    display: block;
}

/* The toolbar arrows' 32px round button, centered on the header labels.
   teacher.css styles every page button, hence the states. */
.avods-table-scroll .avods-table-scroll__arrow,
.avods-table-scroll .avods-table-scroll__arrow:hover,
.avods-table-scroll .avods-table-scroll__arrow:active {
    position: absolute;
    z-index: 5;
    top: var(--_head-center);
    display: none;
    align-items: center;
    justify-content: center;
    width: var(--ads-size-32);
    height: var(--ads-size-32);
    margin: 0;
    padding: 0;
    border: 1px solid var(--ads-stroke-neutral-subtler);
    border-radius: var(--ads-border-radius-full);
    background: var(--ads-bg-page-base);
    box-shadow: var(--ads-elevation-floating);
    color: var(--ads-fg-neutral-base);
    translate: 0 -50%;
    transform: none;
    cursor: pointer;
}

.avods-table-scroll .avods-table-scroll__arrow:hover {
    background: var(--ads-bg-page-sunken);
}

.avods-table-scroll__arrow .ph {
    font-size: var(--ads-size-16);
}

.avods-table-scroll__arrow--start {
    left: calc(var(--_sticky-width) + var(--ads-size-4));
}

.avods-table-scroll__arrow--end {
    right: var(--ads-size-4);
}

.avods-table-scroll[data-scroll-y] .avods-table-scroll__arrow--end {
    right: calc(var(--_bar-size) + var(--ads-size-4));
}

.avods-table-scroll[data-can-start] .avods-table-scroll__arrow--start,
.avods-table-scroll[data-can-end] .avods-table-scroll__arrow--end {
    display: inline-flex;
}

/* Pinned leading columns: data-ads-table-sticky="1".."3" on the box; page.js
   measures their offsets. Full-width rows (an empty state's colspan cell)
   stay put on their own. They pin only while the table is wider than its
   box (data-scroll-x): pinned cells paint an opaque surface, which hid the
   row hover on tables that fit (owner QA, 2026-10-28). */
.avods-table-scroll[data-scroll-x] > [data-ads-table-sticky] :is(th, td):not([colspan]):nth-child(1),
.avods-table-scroll[data-scroll-x] > :is([data-ads-table-sticky="2"], [data-ads-table-sticky="3"]) :is(th, td):not([colspan]):nth-child(2),
.avods-table-scroll[data-scroll-x] > [data-ads-table-sticky="3"] :is(th, td):not([colspan]):nth-child(3) {
    position: sticky;
    z-index: 2;
    background: var(--table-surface, var(--ads-bg-page-base));
}

/* The first pinned cell also covers the box's start padding, where the
   scrolled columns would otherwise show beside it. */
.avods-table-scroll[data-scroll-x] > [data-ads-table-sticky] :is(th, td):not([colspan]):nth-child(1) {
    left: var(--_sticky-left-1, 0px);
    box-shadow: calc(-1 * var(--_pad-start, 0px)) 0 0 var(--table-surface, var(--ads-bg-page-base));
}

.avods-table-scroll[data-scroll-x] > :is([data-ads-table-sticky="2"], [data-ads-table-sticky="3"]) :is(th, td):not([colspan]):nth-child(2) {
    left: var(--_sticky-left-2, 0px);
}

.avods-table-scroll[data-scroll-x] > [data-ads-table-sticky="3"] :is(th, td):not([colspan]):nth-child(3) {
    left: var(--_sticky-left-3, 0px);
}

@media print {
    .avods-table-scroll {
        display: block;
    }

    .avods-table-scroll__bar,
    .avods-table-scroll .avods-table-scroll__arrow,
    .avods-table-scroll::before,
    .avods-table-scroll::after {
        display: none !important;
    }
}

/* A hovered row's pinned cells take the hover fill over their surface. */
.avods-table-scroll[data-scroll-x] > [data-ads-table-sticky] tbody tr:is([tabindex], [data-href]):hover > :is(th, td):not([colspan]):nth-child(1),
.avods-table-scroll[data-scroll-x] > :is([data-ads-table-sticky="2"], [data-ads-table-sticky="3"]) tbody tr:is([tabindex], [data-href]):hover > :is(th, td):not([colspan]):nth-child(2),
.avods-table-scroll[data-scroll-x] > [data-ads-table-sticky="3"] tbody tr:is([tabindex], [data-href]):hover > :is(th, td):not([colspan]):nth-child(3) {
    background:
        linear-gradient(var(--ads-bg-neutral-subtler), var(--ads-bg-neutral-subtler)),
        var(--table-surface, var(--ads-bg-page-base));
}

/* Pinned header cells stay above the header cells sliding under them (a
   pinned table's header row is sticky too, at the same z-index). */
.avods-table-scroll[data-scroll-x] > [data-ads-table-sticky] thead :is(th, td):not([colspan]):nth-child(1),
.avods-table-scroll[data-scroll-x] > :is([data-ads-table-sticky="2"], [data-ads-table-sticky="3"]) thead :is(th, td):not([colspan]):nth-child(2),
.avods-table-scroll[data-scroll-x] > [data-ads-table-sticky="3"] thead :is(th, td):not([colspan]):nth-child(3) {
    z-index: 4;
}

/* Once the table has moved, a divider marks where the pinned columns end. */
.avods-table-scroll[data-can-start] > [data-ads-table-sticky="2"] :is(th, td):not([colspan]):nth-child(2),
.avods-table-scroll[data-can-start] > [data-ads-table-sticky="3"] :is(th, td):not([colspan]):nth-child(3) {
    box-shadow: inset -1px 0 0 var(--ads-stroke-neutral-subtler);
}

.avods-table-scroll[data-can-start] > [data-ads-table-sticky="1"] :is(th, td):not([colspan]):nth-child(1) {
    box-shadow:
        inset -1px 0 0 var(--ads-stroke-neutral-subtler),
        calc(-1 * var(--_pad-start, 0px)) 0 0 var(--table-surface, var(--ads-bg-page-base));
}

/* A pinned table's header band keeps its bottom line too. */
.avods-pin-track[data-pinned] .avods-table-scroll[data-can-start] > [data-ads-table-sticky="2"] thead th:nth-child(2),
.avods-pin-track[data-pinned] .avods-table-scroll[data-can-start] > [data-ads-table-sticky="3"] thead th:nth-child(3) {
    box-shadow:
        inset -1px 0 0 var(--ads-stroke-neutral-subtler),
        inset 0 -1px 0 var(--ads-stroke-neutral-subtler);
}

.avods-pin-track[data-pinned] .avods-table-scroll[data-can-start] > [data-ads-table-sticky="1"] thead th:nth-child(1) {
    box-shadow:
        inset -1px 0 0 var(--ads-stroke-neutral-subtler),
        inset 0 -1px 0 var(--ads-stroke-neutral-subtler),
        calc(-1 * var(--_pad-start, 0px)) 0 0 var(--ads-bg-page-base);
}

/* ---------- Table empty state ----------
   tr.avods-table-empty > td > .avods-table-empty__inner > avo-empty-state
   (window.AdsPage.tableEmptyRow builds it). page.js sizes the inner box to
   the visible part of the table's scroll box, so the empty state sits in
   the middle of what you can see, not of a wide table (owner, 2026-10-29). */
tr.avods-table-empty > td,
tr.avods-table-empty:hover > td {
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

.avods-table-empty__inner {
    position: sticky;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: var(--_table-empty-width, 100%);
    min-height: var(--_table-empty-height, 240px);
    padding: var(--ads-size-24);
}

/* ---------- Edge fades (web counterpart of AvoScrollEdgeEffect) ---------- */

/* Single-line text that may overflow its cell: clip and fade the end instead of an
   ellipsis. Short text is unaffected because the fade covers empty space. */
.avods-fade-end {
    display: block;
    overflow: hidden;
    white-space: nowrap;
}

/* page.js sets data-overflow only while the text is cut off. */
.avods-fade-end[data-overflow] {
    -webkit-mask-image: linear-gradient(90deg, black calc(100% - var(--page-fade-extent)), transparent);
    mask-image: linear-gradient(90deg, black calc(100% - var(--page-fade-extent)), transparent);
}

/* Scrollable lists: page.js sets data-fade-start / data-fade-end when
   content is hidden past that edge. */
.avods-scroll-fade {
    --_fade-start: 0px;
    --_fade-end: 0px;
    /* A masked box that scrolls its own content keeps one composited layer;
       repainted on the main thread it left stale rows behind while
       scrolling (owner QA, 2026-10-29). Menus and tooltips open in the top
       layer, so the containing block this makes does not move them. */
    will-change: transform;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, black var(--_fade-start), black calc(100% - var(--_fade-end)), transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0, black var(--_fade-start), black calc(100% - var(--_fade-end)), transparent 100%);
}

.avods-scroll-fade[data-fade-start] {
    --_fade-start: var(--page-fade-extent);
}

.avods-scroll-fade[data-fade-end] {
    --_fade-end: var(--page-fade-extent);
}

/* ---------- Loading (Flutter ADS progress guide) ----------
   A whole page, sheet body or other large region waits behind a centered
   avo-progress-indicator, with optional Body 2 Medium text in
   label.alternative under it (.avods-loading). Content whose shape is already
   known waits as a skeleton of that shape: .avods-skeleton blocks inside an
   avo-shimmer. Spinners
   (avo-circular-progress-indicator) stay inside buttons, rows and other
   small regions. */
.avods-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--ads-size-12);
    min-height: 160px;
    padding: var(--ads-size-32) var(--ads-size-16);
    text-align: center;
}

.avods-loading[hidden] {
    display: none;
}

.avods-loading__text {
    margin: 0;
    color: var(--ads-fg-neutral-subtler);
    font-family: var(--ads-font-family);
    font-size: var(--ads-body2-font-size);
    font-weight: var(--ads-body2-medium-font-weight, 500);
    line-height: var(--ads-body2-line-height);
}

/* Skeleton shapes: what an avo-shimmer (the web AvoShimmer, replace mode)
   paints. Inside a shimmer each block wears its palette and sweep
   (--ads-shimmer-fill, --ads-shimmer-shift); outside one it keeps the still
   base colour. The gradient spans the viewport, so the shapes of shimmers
   started together share one band. */
.avods-skeleton {
    display: block;
    flex: none;
    width: var(--skeleton-width, 100%);
    max-width: 100%;
    height: var(--skeleton-height, 12px);
    border-radius: var(--ads-border-radius-xs);
    corner-shape: var(--ads-corner-shape);
    background-color: color-mix(in srgb, var(--ads-static-black) 4%, transparent);
    background-image: var(--ads-shimmer-fill, none);
    background-attachment: fixed;
    background-position: var(--ads-shimmer-shift, -100vw) 0;
    background-repeat: no-repeat;
    background-size: 100vw 100vh;
}

/* Waiting shows only when it lasts: skeletons and loading regions fade in
   after half a second, so fast loads never flicker. Wait notes inside a
   loading state (static/utils/adsLoading.js) appear after 5s and 20s, only
   while the loading state is on screen. */
.avods-skeleton,
.avods-loading > :not(.avods-wait-note) {
    animation: avods-wait-appear var(--ads-duration-medium, 250ms) 500ms both;
}

.avods-wait-note {
    --_wait-delay: 5s;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: var(--ads-size-4) var(--ads-size-8);
    margin: 0;
    color: var(--ads-fg-neutral-subtler);
    font-family: var(--ads-font-family);
    font-size: var(--ads-label1-font-size);
    font-weight: var(--ads-label1-medium-font-weight, 500);
    line-height: var(--ads-label1-line-height);
    text-align: center;
    animation: avods-wait-appear var(--ads-duration-medium, 200ms) var(--_wait-delay) both;
}

.avods-wait-note--stalled {
    --_wait-delay: 20s;
}

/* Under skeleton rows the notes take one quiet row. */
tr.avods-wait-row > td {
    padding-block: var(--ads-size-12) !important;
    border: 0 !important;
}

tr.avods-wait-row .avods-wait-note + .avods-wait-note {
    margin-top: var(--ads-size-4);
}

/* A loading state leaving for its content (patterns/reveal.js) is drawn
   whole while it fades out, without waiting again for its entrance. */
.avods-reveal-ghost {
    z-index: var(--ads-layer-raised);
    pointer-events: none;
    background: none !important;
    border-color: transparent !important;
    box-shadow: none !important;
}

.avods-reveal-ghost .avods-skeleton,
.avods-reveal-ghost .avods-loading > * {
    animation: none;
}

.avods-reveal-ghost .avods-wait-note {
    visibility: hidden;
}

@keyframes avods-wait-appear {
    from { opacity: 0; visibility: hidden; }
    to { opacity: 1; visibility: visible; }
}

@media (prefers-reduced-motion: reduce) {
    .avods-skeleton,
    .avods-loading > :not(.avods-wait-note),
    .avods-wait-note {
        animation-duration: 1ms;
    }
}

/* A failed load (adsErrorStateHtml): the empty-state frame, centered. */
.avods-error-state {
    display: flex;
    justify-content: center;
    padding: var(--ads-size-32) var(--ads-size-16);
}

/* Text lines take the cap height of their text style; shapes name theirs. */
.avods-skeleton--title { --skeleton-height: 20px; }
.avods-skeleton--text { --skeleton-height: 14px; }
.avods-skeleton--caption { --skeleton-height: 10px; }
.avods-skeleton--pill { --skeleton-height: 22px; border-radius: var(--ads-border-radius-full, 999px); }
.avods-skeleton--circle { --skeleton-height: var(--skeleton-width, 24px); border-radius: 50%; }
.avods-skeleton--box { --skeleton-height: 100%; border-radius: var(--ads-border-radius-sm); corner-shape: var(--ads-corner-shape); }

/* A stack of lines (title and caption, say). */
.avods-skeleton-stack {
    display: flex;
    flex-direction: column;
    gap: var(--ads-size-8);
    min-width: 0;
}

/* Skeleton table rows: no hover, no pointer. A visually hidden status cell
   keeps no table padding, so it cannot make the scroll box overflow. */
tr.avods-skeleton-row,
tr.avods-skeleton-row:hover {
    background: none !important;
    cursor: default !important;
}

tr.avods-skeleton-row > .avods-sr {
    padding: 0 !important;
    border: 0 !important;
}


/* ---------- Floating surface: selection bar and floating buttons ---------- */

/* One family for UI that floats over a page (owner, 2026-10-28): the
   AvoSnackbar's dark surface (bg.static.dark with fg.on.staticDark), shadow lg
   strong, and our rounded rectangles, not pills: the bar is radius md (16)
   around 40px controls (radius xs, 8) with s8 padding, so the corners nest.
   Controls on it sit on a gray tone of the surface so each reads as its own
   button. */

/* The floating bar that holds actions for the rows a teacher has picked
   (owner chose dark over a light or frosted bar, 2026-10-28). Centered on
   the page's content column, s24 above the window edge, or floating over a
   list s12 above its footer (data-ads-selection-above). While it is open
   page.js sets --page-selection-bar-space and --page-selection-bar-height on
   <html> so pages can let their last rows scroll out from under it. */
.avods-selection-bar {
    --_center: 50vw;
    --_max: calc(100vw - var(--ads-size-32));
    position: fixed;
    z-index: 900;
    bottom: var(--_bottom, calc(env(safe-area-inset-bottom, 0px) + var(--ads-size-24)));
    left: var(--_center);
    display: flex;
    align-items: center;
    gap: var(--ads-size-6);
    box-sizing: border-box;
    max-inline-size: var(--_max);
    min-block-size: var(--ads-size-56);
    margin: 0;
    padding: var(--ads-size-8);
    border: 0;
    border-radius: var(--ads-border-radius-md);
    corner-shape: var(--ads-corner-shape);
    background: var(--ads-bg-static-dark);
    box-shadow: var(--ads-elevation-popover);
    color: var(--ads-fg-on-static-dark);
    translate: -50% 0;
    transition:
        opacity var(--ads-duration-medium) var(--ads-curve-standard),
        translate var(--ads-duration-medium) var(--ads-curve-standard);
}

.avods-selection-bar:not([data-open]) {
    opacity: 0;
    translate: -50% calc(100% + var(--ads-size-24));
    pointer-events: none;
}

.avods-selection-bar[hidden] {
    display: none;
}

/* One tone lighter than the actions' text (owner, 2026-10-29). */
.avods-selection-bar__count {
    flex: none;
    margin: 0 var(--ads-size-4) 0 0;
    color: color-mix(in srgb, var(--ads-fg-on-static-dark) 80%, transparent);
    white-space: nowrap;
}

.avods-selection-bar__divider {
    flex: none;
    inline-size: 1px;
    block-size: var(--ads-size-20);
    margin-inline: var(--ads-size-4);
    background: color-mix(in srgb, var(--ads-fg-on-static-dark) 20%, transparent);
}

.avods-selection-bar__actions {
    display: flex;
    flex: 0 1 auto;
    align-items: center;
    gap: var(--ads-size-6);
    min-inline-size: 0;
}

.avods-selection-bar :is(avo-button, avo-icon-button) {
    flex: none;
    /* The press overlay follows the text colour on this surface. */
    --ads-interaction-overlay-color: var(--ads-fg-on-static-dark);
}

/* Secondary actions (avo-button color="assistive"): a gray tone of the
   surface under fg.on.staticDark text. Tokens, not a bar variable: ::part()
   rules resolve var() inside the button, where its own variables win. */
.avods-selection-bar avo-button[tone="neutral"]::part(control) {
    background: color-mix(in srgb, var(--ads-fg-on-static-dark) 12%, transparent);
    color: var(--ads-fg-on-static-dark);
}

.avods-selection-bar avo-icon-button::part(control) {
    color: var(--ads-fg-on-static-dark);
}

/* A destructive action keeps white text (the status red is near 4.5:1 on
   this surface) and paints only its icon red. */
.avods-selection-bar [data-ads-destructive] [slot="leading"] {
    color: var(--ads-fg-negative-base);
}

/* Disabled and plan-locked (aria-disabled, still clickable for the upgrade
   tooltip) actions fade into the surface instead of the light
   interaction.disable fill, which read as a pale block here. */
.avods-selection-bar avo-button[data-disabled]::part(control) {
    background: color-mix(in srgb, var(--ads-fg-on-static-dark) 6%, transparent);
    color: color-mix(in srgb, var(--ads-fg-on-static-dark) 40%, transparent);
}

.avods-selection-bar avo-button[aria-disabled="true"]::part(control) {
    color: color-mix(in srgb, var(--ads-fg-on-static-dark) 40%, transparent);
}

/* The close X leads the bar, small and faint like the action icons
   (owner, 2026-10-29); the main action ends it on the right. */
.avods-selection-bar .avods-selection-bar__close::part(control) {
    color: color-mix(in srgb, var(--ads-fg-on-static-dark) 60%, transparent);
}

.avods-selection-bar__close i {
    font-size: var(--ads-size-16);
}

/* Floating buttons (.avods-floating-button): a 56px rounded square on the
   floating surface at the window's bottom-right corner, s24 in (and above
   an open selection bar's room, or a docked action area's: pages set
   --page-action-area-space while one sits at the window edge, so the
   button never covers its main action). An Avo image or a Phosphor Fill
   icon sits inside; .avods-floating-button__badge counts pending work.
   Replaces the round task manager and Avo assistant buttons (owner,
   2026-10-28). */
.avods-floating-button,
.avods-floating-button:hover,
.avods-floating-button:active {
    position: fixed;
    z-index: 900;
    right: calc(env(safe-area-inset-right, 0px) + var(--ads-size-24));
    bottom: calc(env(safe-area-inset-bottom, 0px) + var(--ads-size-24) + var(--page-selection-bar-space, 0px) + var(--page-action-area-space, 0px));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    inline-size: var(--ads-size-56);
    block-size: var(--ads-size-56);
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: var(--ads-border-radius-md);
    corner-shape: var(--ads-corner-shape);
    background: var(--ads-bg-static-dark);
    box-shadow: var(--ads-elevation-floating);
    color: var(--ads-fg-on-static-dark);
    transform: none;
    cursor: pointer;
    transition:
        background-color var(--ads-duration-short1) ease,
        bottom var(--ads-duration-medium) var(--ads-curve-standard),
        opacity var(--ads-duration-medium) var(--ads-curve-standard);
}

.avods-floating-button:hover {
    background: color-mix(in srgb, var(--ads-fg-on-static-dark) 10%, var(--ads-bg-static-dark));
}

.avods-floating-button:focus-visible {
    outline: var(--ads-web-focus-outline-width) solid var(--ads-web-focus-outline-color);
    outline-offset: var(--ads-size-2);
}

.avods-floating-button > i {
    font-size: var(--ads-size-24);
    line-height: 1;
}

.avods-floating-button > img {
    inline-size: var(--ads-size-32);
    block-size: var(--ads-size-32);
    border-radius: var(--ads-border-radius-xs);
    corner-shape: var(--ads-corner-shape);
    object-fit: contain;
}

/* --portrait: a face fills the whole button, as Avo does on the assistant's
   button, so the assistant reads as Avo wherever it floats (Deniz,
   2026-11-04). */
.avods-floating-button--portrait {
    overflow: hidden;
}

.avods-floating-button--portrait > img {
    inline-size: 100%;
    block-size: 100%;
    border-radius: inherit;
    object-fit: cover;
    transition: filter var(--ads-duration-short1) ease;
}

.avods-floating-button--portrait:hover > img {
    filter: brightness(0.94);
}

.avods-floating-button__badge {
    position: absolute;
    top: calc(var(--ads-size-6) * -1);
    right: calc(var(--ads-size-6) * -1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-inline-size: var(--ads-size-20);
    block-size: var(--ads-size-20);
    padding: 0 var(--ads-size-6);
    border-radius: var(--ads-border-radius-full);
    background: var(--ads-bg-brand-base);
    box-shadow: 0 0 0 2px var(--ads-bg-page-base);
    color: var(--ads-fg-on-brand);
    font-family: var(--ads-font-family);
    font-size: var(--ads-caption1-font-size);
    font-weight: 700;
    line-height: 1;
}

@media print {
    .avods-floating-button {
        display: none !important;
    }
}

/* The ⋯ trigger is a 40px button on the same gray tone as the actions. */
.avods-selection-bar__more avo-icon-button::part(control) {
    inline-size: var(--ads-size-40);
    block-size: var(--ads-size-40);
    border-radius: var(--ads-border-radius-xs);
    corner-shape: var(--ads-corner-shape);
    background: color-mix(in srgb, var(--ads-fg-on-static-dark) 12%, transparent);
}

/* Actions folded into the ⋯ menu when the bar runs out of room. */
.avods-selection-bar [data-ads-folded] {
    display: none;
}

.avods-selection-bar__more[hidden] {
    display: none;
}

@media (prefers-reduced-motion: reduce) {
    .avods-selection-bar {
        transition: none;
    }
}

@media print {
    .avods-selection-bar {
        display: none !important;
    }
}

/* While a bar is open the page scrolls a bar's height further, so its last
   rows can come out from under it. Pages that fill the window (All
   Assignments) subtract the same space from their height instead. */
body.avods-page .content-wrapper::after {
    content: '';
    display: block;
    block-size: var(--page-selection-bar-space, 0px);
}

/* A folded destructive action keeps its red icon in the ⋯ menu. */
.avods-selection-bar__more avo-popup-menu-item[destructive] [slot="leading"] {
    color: var(--ads-fg-negative-base);
}

/* Drawer layout (sidebar folded to the 40px menu toggle at 12/18): the
   breadcrumb row starts after the toggle so it never sits under it. */
@media (max-width: 1024px) {
    .avods-page-breadcrumb {
        padding-inline-start: calc(var(--ads-size-40) + var(--ads-size-12));
    }
}


/*
 * Parent report: one report drawn by static/js/parent_report_renderer.js.
 * Phone: one column. Wide containers and A4 print: two columns, with blocks
 * A–F on the first page and G–M on the second. Always light: a report is a
 * document parents print and share.
 *
 * Built from web ADS (static/ads/README.md): the cards are the Classroom
 * Insights page patterns (.avods-section--card, .avods-card, .avods-line-card,
 * .avods-kpi in patterns/page.css), text uses .avods-text-* styles (large ADS
 * type scale, like the teacher pages), and values here are
 * --ads-* tokens only. Only the charts (radar, calendar, trend) draw their
 * own marks.
 */

.pr {
  container-type: inline-size;
  color: var(--ads-fg-neutral-base);
  font-family: var(--ads-font-family);
  word-break: keep-all;
  overflow-wrap: anywhere;
  color-scheme: light;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}

.pr *,
.pr *::before,
.pr *::after { box-sizing: border-box; }

/* A zero-weight reset, so the ADS text styles and block margins apply. */
:where(.pr) :where(h1, h2, p, ul) { margin: 0; }

.pr-page {
  display: flex;
  flex-direction: column;
  gap: var(--page-group-gap, var(--ads-size-12));
}

.pr-page + .pr-page { margin-top: var(--ads-size-12); }

.pr-stack {
  display: flex;
  flex-direction: column;
  gap: inherit;
  min-width: 0;
}

/* The trend (E) and the calendar (F) sit side by side in one column when
   it has room for both, as in the teacher's editor; on phones they stack,
   and on wide pages they stack beside the skill chart. */
@container (min-width: 560px) and (max-width: 879px) {
  .pr-stack {
    flex-direction: row;
    align-items: stretch;
  }

  .pr-stack > .pr-block {
    flex: 1 1 0;
    min-width: 0;
  }
}

.pr-block { position: relative; }

.pr-block--M { padding: var(--ads-size-8) 0; }

.pr-caption,
.pr-note { color: var(--ads-fg-neutral-subtler); }

.pr-note {
  margin-top: var(--ads-size-6);
  text-align: center;
}

.pr-note--left { text-align: start; }

/* A: header */
.pr-head-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--ads-size-8);
}

.pr-school {
  display: flex;
  align-items: center;
  gap: var(--ads-size-8);
}

.pr-school-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--ads-size-28);
  height: var(--ads-size-28);
  border-radius: var(--ads-border-radius-xs);
  corner-shape: var(--ads-corner-shape);
  background: var(--ads-bg-brand-tint-subtle);
  color: var(--ads-fg-brand-bolder);
}

/* Any aspect ratio: tall marks are capped by height, wide ones by width. */
.pr-school-logo {
  display: block;
  width: auto;
  height: auto;
  max-height: var(--ads-size-40);
  max-width: calc(var(--ads-size-40) * 4);
  object-fit: contain;
  object-position: left center;
}

[dir="rtl"] .pr-school-logo { object-position: right center; }

.pr-name { margin-top: var(--ads-size-16); }

.pr-name span { display: block; }

.pr-pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--ads-size-6);
  margin-top: var(--ads-size-12);
}

/* B: one line */
.pr-label { color: var(--ads-fg-neutral-subtler); }

/* A section title with its "?" on one line (titleWithHelp). */
.pr-title-row {
    display: flex;
    align-items: center;
    gap: var(--ads-size-4);
    min-width: 0;
}

/* C: growth (Insights KPI cards) */
.pr-kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--ads-size-12);
}

/* An odd last card takes the whole row on phones. */
.pr-kpi:last-child:nth-child(odd) { grid-column: 1 / -1; }

.pr-kpi-emoji { font-size: var(--ads-title1-font-size); line-height: 1; }

.pr-delta--up { color: var(--ads-fg-brand-bolder); }

.pr-mbars {
  display: grid;
  gap: var(--ads-size-8);
  margin-top: var(--ads-size-12);
}

.pr-mbar {
  display: grid;
  /* The label keeps one line ("Average score" wrapped in print). */
  grid-template-columns: minmax(5.5em, max-content) minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--ads-size-12);
}

.pr-mbar-label { color: var(--ads-fg-neutral-subtle); white-space: nowrap; }

.pr-mbar-value {
  min-width: 4em;
  text-align: end;
  font-variant-numeric: tabular-nums;
}

.pr-mfoot { color: var(--ads-fg-neutral-subtle); }

/* D: radar */
.pr-radar-wrap {
  display: flex;
  justify-content: center;
}

.pr-radar {
  width: 100%;
  max-width: 300px;
  height: auto;
  /* The chart's labels are placed for left-to-right; Arabic text inside
     them still reads right to left. */
  direction: ltr;
}

.pr-radar text { font-family: var(--ads-font-family); }

.pr-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--ads-size-4) var(--ads-size-14);
  color: var(--ads-fg-neutral-subtle);
}

.pr-legend span {
  display: inline-flex;
  align-items: center;
  gap: var(--ads-size-6);
}

.pr-swatch {
  display: inline-block;
  width: var(--ads-size-14);
  height: var(--ads-size-2);
  border-radius: var(--ads-border-radius-3xs);
  corner-shape: var(--ads-corner-shape);
  background: var(--ads-bg-brand-base);
}

.pr-swatch--last { background: var(--ads-stroke-opaque-bold); }

/* The period's start: the same gray, dashed like its outline. */
.pr-swatch--start {
  background: repeating-linear-gradient(90deg, var(--ads-stroke-opaque-bold) 0 4px, transparent 4px 7px);
}

/* The rows share one set of columns (subgrid), so the name column fits the
   widest name and its step badge and every bar still starts at one line. A
   fixed name width let "Vocabulary" with a step badge run under the bar.
   In a narrow card (a phone) the bar moves to its own line under the name
   and numbers instead (see the container query below). */
.pr-axes {
  container: pr-axes / inline-size;
  display: grid;
  grid-template-columns: minmax(min-content, max-content) minmax(4.5em, 1fr) auto minmax(3.5em, auto);
  column-gap: var(--ads-size-8);
  margin-top: var(--ads-size-8);
}

.pr-axis {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: subgrid;
  align-items: center;
  padding: var(--ads-size-6) 0;
  border-top: 1px solid var(--ads-stroke-neutral-subtler);
}

.pr-axis:first-child { border-top: 0; }

.pr-axis-name {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--ads-size-2) var(--ads-size-6);
  white-space: nowrap;
}

/* The emoji and the skill name stay on one line; only the badge wraps,
   as a last resort for long names. */
.pr-axis-label {
  display: inline-flex;
  align-items: center;
  gap: var(--ads-size-6);
}

.pr-axis-num {
  text-align: end;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* "160 → " before the period's end value, quieter. */
.pr-axis-from { color: var(--ads-fg-neutral-subtler); }

.pr-axis-delta {
  text-align: end;
  white-space: nowrap;
  color: var(--ads-fg-brand-bolder);
}

.pr-axis--thin .pr-axis-num,
.pr-axis--thin .pr-axis-delta { color: var(--ads-fg-neutral-subtler); }

/* Editor: each skill row ends in an X (take it out of this report) or, once
   taken out, an undo; the taken-out row reads as disabled (owner,
   2026-11-04). */
.pr-axes--editable {
  grid-template-columns: minmax(min-content, max-content) minmax(4.5em, 1fr) auto minmax(3.5em, auto) auto;
}

.pr-axis--hidden .pr-axis-name,
.pr-axis--hidden .pr-axis-num,
.pr-axis--hidden .pr-axis-from,
.pr-axis--hidden .pr-axis-delta { color: var(--ads-fg-disabled); }

.pr-axis--hidden .pr-axis-name :is(.avods-emoji, avo-badge),
.pr-axis--hidden avo-progress-bar { opacity: 0.4; }
.pr-axis-delta--same { color: var(--ads-fg-decorative); }

/* Narrow card: name, numbers (and the editor's X) on the first line, the
   bar across the full width under them (owner, 2026-11-05). Rows no longer
   share the name column, so the numbers stay aligned at the end. */
@container pr-axes (max-width: 26rem) {
  .pr-axis {
    grid-template-columns: minmax(0, 1fr) auto minmax(3.5em, auto);
    row-gap: var(--ads-size-6);
  }

  .pr-axes--editable .pr-axis {
    grid-template-columns: minmax(0, 1fr) auto minmax(3.5em, auto) auto;
  }

  .pr-axis > avo-progress-bar {
    grid-row: 2;
    grid-column: 1 / -1;
  }
}

/* Cards beside each other end at the same line (side by side in the
   editor, in two columns on wide pages and in print). The trend (E) takes
   any extra height, but its chart grows only to a set height and centers in
   the card, as the calendar does: filling the card made the bars as tall as
   the skill chart beside them (Isabelle's QA, 2026-11-03). Other cards keep
   their content at the top. */
.pr-block--E {
  display: flex;
  flex-direction: column;
}

.pr-block--E > .pr-block__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  justify-content: center;
}

/* Stacked under each other (wide pages), E takes the column's spare height. */
.pr-stack > .pr-block--E { flex-grow: 1; }

/* The calendar keeps its square days; given extra height (print, where it
   sits beside a taller card) it centers under its title. */
.pr-block--F {
  display: flex;
  flex-direction: column;
}

.pr-block--F > .pr-block__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  justify-content: center;
}

/* E: cumulative trend. Grids, so the bar heights resolve whether the chart
   keeps its minimum height (phones) or grows in a taller card up to its
   maximum: the chart's one row takes that height, each column puts its label
   on the bottom line, and the bar (with its number on top) grows from that
   line. */
.pr-trend {
  display: grid;
  flex: 1 0 auto;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  column-gap: var(--ads-size-14);
  min-height: 132px;
  max-height: 180px;
  padding: 0 var(--ads-size-6);
}

.pr-tcol {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  justify-items: center;
  row-gap: var(--ads-size-6);
  min-width: 0;
}

.pr-tstack {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: var(--ads-size-6);
  width: 100%;
  min-height: 0;
}

.pr-tbar {
  flex-shrink: 0;
  width: 100%;
  max-width: 44px;
  /* The number line and its gap stay above the tallest bar. */
  height: calc(var(--h) * (100% - var(--ads-size-24)));
  min-height: var(--ads-size-4);
  border-radius: var(--ads-border-radius-xs) var(--ads-border-radius-xs) var(--ads-border-radius-3xs) var(--ads-border-radius-3xs);
  corner-shape: var(--ads-corner-shape);
  background: var(--ads-bg-neutral-bold);
}

.pr-tcol--now .pr-tbar { background: var(--ads-bg-brand-base); }

.pr-tcol b { font-variant-numeric: tabular-nums; }

.pr-tcol span { color: var(--ads-fg-neutral-subtle); white-space: nowrap; }

/* F: calendar. Small squares of one size with the same gap both ways
   (owner, 2026-10-27); the note and the scale sit beside the months when
   the card has room, else below them. */
.pr-cal-body {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--ads-size-12) var(--ads-size-24);
}

.pr-cal-months {
  display: flex;
  flex-wrap: wrap;
  gap: var(--ads-size-16) var(--ads-size-24);
  max-width: 100%;
}

/* A set width (not a flex basis), so the months' box sizes to it. */
.pr-cal-month {
  width: 288px;
  max-width: 100%;
}

.pr-cal-name {
  margin-bottom: var(--ads-size-8);
  color: var(--ads-fg-neutral-subtle);
}

.pr-cal {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: var(--ads-size-6);
}

.pr-dow {
  text-align: center;
  white-space: nowrap;
  color: var(--ads-fg-neutral-subtler);
}

.pr-day {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  border-radius: var(--ads-border-radius-xs);
  corner-shape: var(--ads-corner-shape);
  background: var(--ads-bg-page-sunken);
  color: var(--ads-fg-neutral-subtler);
  font-variant-numeric: tabular-nums;
}

.pr-day--empty,
.pr-day--outside { background: transparent; }

.pr-day--outside { color: var(--ads-fg-decorative); }

.pr-day--l1 { background: color-mix(in srgb, var(--ads-bg-brand-base) 30%, var(--ads-bg-page-base)); color: var(--ads-fg-neutral-base); }
.pr-day--l2 { background: color-mix(in srgb, var(--ads-bg-brand-base) 60%, var(--ads-bg-page-base)); color: var(--ads-fg-neutral-base); }
.pr-day--l3 { background: var(--ads-bg-brand-base); color: var(--ads-static-white); }

.pr-cal-side {
  display: flex;
  flex: 1 1 180px;
  flex-direction: column;
  gap: var(--ads-size-8);
  min-width: 0;
}

/* At the card's end edge, beside or below the months (owner, 2026-10-28). */
.pr-scale {
  display: inline-flex;
  align-self: flex-end;
  align-items: center;
  gap: var(--ads-size-4);
  color: var(--ads-fg-neutral-subtle);
}

.pr-scale i {
  display: inline-block;
  width: var(--ads-size-12);
  height: var(--ads-size-12);
  border-radius: var(--ads-border-radius-3xs);
  corner-shape: var(--ads-corner-shape);
}

/* The level classes paint the swatches; only the "none" swatch is gray. */
.pr-scale i:not([class]) { background: var(--ads-bg-page-sunken); }

/* G: featured work */
.pr-works {
  display: grid;
  gap: var(--ads-size-12);
}

@container (min-width: 880px) {
  .pr-works--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.pr-work-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--ads-size-8);
  color: var(--ads-fg-neutral-subtle);
}

.pr-work-kind {
  display: inline-flex;
  align-items: center;
  gap: var(--ads-size-6);
}

.pr-work-kind .avods-emoji {
  font-size: var(--ads-body1-font-size);
  line-height: 1;
}

.pr-work-name { margin-top: var(--ads-size-4); }

/* The student's own writing, on a quote surface. */
.pr-essay {
  margin: var(--ads-size-8) 0 0;
  padding: var(--ads-size-12) var(--ads-size-16);
  border-radius: var(--ads-border-radius-md);
  corner-shape: var(--ads-corner-shape);
  background: var(--ads-bg-page-sunken);
  white-space: pre-wrap;
}

/* The teacher's note on the writing, under its own label. */
.pr-work-note {
  display: flex;
  flex-direction: column;
  gap: var(--ads-size-4);
  margin-top: var(--ads-size-12);
}

.pr-work-note-label { color: var(--ads-fg-neutral-base); }

.pr-work-note-text { color: var(--ads-fg-neutral-subtle); }

/* The player beside what was said; the text takes the rest of the row and
   drops under the player when the card is too narrow for both. */
.pr-rec-body {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--ads-size-8) var(--ads-size-16);
  margin-top: var(--ads-size-12);
}

.pr-rec-text {
  flex: 1 1 220px;
  min-width: 0;
}

.pr-rec-sentence {
  margin: 0;
  color: var(--ads-fg-neutral-bold);
  overflow-wrap: anywhere;
}

.pr-rec-source {
  margin: var(--ads-size-2) 0 0;
  color: var(--ads-fg-neutral-subtler);
}

.pr-rec-audio { display: none; }

/* The recording player, the Flutter app's audio homework player
   (MixedExerciseAudioPrompt, owner 2026-11-04): a primary speaker (louder
   while playing, a spinner while loading) beside a 16-bar waveform in
   fill-strong that fills with primary as it plays. Tap plays, tap stops. */
.pr-rec-play {
  display: inline-flex;
  align-items: center;
  gap: var(--ads-size-12);
  flex: none;
  /* The speaker lines up with the card's text edge. */
  margin-inline-start: calc(-1 * var(--ads-size-8));
  padding: var(--ads-size-8);
  border: 0;
  border-radius: var(--ads-border-radius-full);
  background: none;
  color: var(--ads-fg-brand-base);
  cursor: pointer;
  --pr-rec-progress: 0%;
}

.pr-rec-play:focus-visible {
  outline: 2px solid var(--ads-stroke-brand-base);
  outline-offset: 2px;
}

.pr-rec-icon {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: var(--ads-size-32);
  height: var(--ads-size-32);
}

.pr-rec-speaker {
  grid-area: 1 / 1;
  width: var(--ads-size-32);
  height: var(--ads-size-32);
}

.pr-rec-speaker--high,
.pr-rec-spinner,
.pr-rec-play[data-state="playing"] .pr-rec-speaker--low,
.pr-rec-play[data-state="loading"] .pr-rec-speaker--low { display: none; }

.pr-rec-play[data-state="playing"] .pr-rec-speaker--high { display: block; }

.pr-rec-play[data-state="loading"] .pr-rec-spinner {
  display: block;
  grid-area: 1 / 1;
  width: calc(var(--ads-size-32) - var(--ads-size-2));
  height: calc(var(--ads-size-32) - var(--ads-size-2));
  box-sizing: border-box;
  border: 2.5px solid color-mix(in srgb, var(--ads-stroke-brand-base) 20%, transparent);
  border-top-color: var(--ads-stroke-brand-base);
  border-radius: 50%;
  animation: pr-rec-spin 0.8s linear infinite;
}

@keyframes pr-rec-spin { to { transform: rotate(360deg); } }

.pr-rec-wave {
  position: relative;
  display: block;
  width: 128px;
  height: var(--ads-size-40);
}

.pr-rec-wave svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  stroke-width: 4;
  stroke-linecap: round;
}

.pr-rec-wave-base { stroke: var(--ads-bg-neutral-bold); }

.pr-rec-wave-progress {
  stroke: var(--ads-fg-brand-base);
  clip-path: inset(0 calc(100% - var(--pr-rec-progress)) 0 0);
  opacity: 0;
  transition: opacity var(--ads-duration-medium, 250ms) ease;
}

.pr-rec-play[data-state="playing"] .pr-rec-wave-progress { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .pr-rec-play[data-state="loading"] .pr-rec-spinner { animation-duration: 2.4s; }
}

.pr-rec-failed { margin-top: var(--ads-size-6); }

/* M: the printed page's QR code to the online report. */
.pr-qr {
  display: flex;
  align-items: center;
  gap: var(--ads-size-10);
  text-align: start;
}

.pr-qr-code {
  display: block;
  flex: none;
  width: 72px;
  height: 72px;
}

.pr-qr-code svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* H: strengths and next steps, each under its own label */
.pr-sw-list {
  display: flex;
  flex-direction: column;
  gap: var(--ads-size-16);
}

.pr-sw-group {
  display: flex;
  flex-direction: column;
  gap: var(--ads-size-8);
}

.pr-sw-head {
  display: flex;
  align-items: center;
  gap: var(--ads-size-8);
}

.pr-sw-group--good .pr-sw-head { color: var(--ads-fg-brand-bolder); }
.pr-sw-group--grow .pr-sw-head { color: var(--ads-fg-cautionary-bolder); }

.pr-sw-group .pr-list,
.pr-sw-group .pr-text { margin-inline-start: var(--ads-size-32); }

.pr-sw-group .pr-list { padding-inline-start: var(--ads-size-16); }

.pr-sw-ic {
  display: inline-flex;
  flex: 0 0 var(--ads-size-24);
  align-items: center;
  justify-content: center;
  height: var(--ads-size-24);
  border-radius: var(--ads-border-radius-xs);
  corner-shape: var(--ads-corner-shape);
}

.pr-sw-ic--good { background: var(--ads-bg-brand-tint-subtle); color: var(--ads-fg-brand-bolder); }
.pr-sw-ic--grow { background: var(--ads-bg-neutral-subtler); color: var(--ads-fg-cautionary-bolder); }

/* I: teacher comment */

.pr-quote { white-space: pre-wrap; }

/* J, K: lists */
.pr-list { padding-inline-start: var(--ads-size-16); }

.pr-list li + li { margin-top: var(--ads-size-8); }

/* L: unfinished homework */
.pr-todo {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--ads-size-8);
  padding: var(--ads-size-12) var(--ads-size-16);
}

.pr-todo + .pr-todo { margin-top: var(--ads-size-8); }

/* M: footer */
.pr-foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--ads-size-6);
  text-align: center;
}

.pr-actions {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-bottom: var(--ads-size-4);
}

.pr-actions avo-button { width: min(100%, 280px); }

.pr-wordmark { color: var(--ads-fg-brand-bolder); }

/* Editable text slots (teacher editor preview). They read like the
   parent's copy; a soft fill on hover and the field outline on focus show
   that they take typing (owner, 2026-10-27: no dashed purple boxes). The
   halo is a box-shadow, so the text never moves. */
.pr-text[contenteditable] {
  display: block;
  min-height: 1.6em;
  border-radius: var(--ads-border-radius-2xs);
  corner-shape: var(--ads-corner-shape);
  outline: none;
  cursor: text;
  white-space: pre-wrap;
  transition: background-color var(--ads-duration-short2) var(--ads-curve-standard), box-shadow var(--ads-duration-short2) var(--ads-curve-standard);
}

.pr-text[contenteditable]:hover {
  background: var(--ads-bg-neutral-base);
  box-shadow: 0 0 0 var(--ads-size-4) var(--ads-bg-neutral-base);
}

.pr-text[contenteditable]:focus {
  background: var(--ads-bg-page-base);
  box-shadow: 0 0 0 var(--ads-size-4) var(--ads-bg-page-base), 0 0 0 calc(var(--ads-size-4) + 1.5px) var(--ads-stroke-brand-base);
}

.pr-text[contenteditable]:empty::before {
  content: attr(data-placeholder);
  color: var(--ads-fg-neutral-subtler);
  font-weight: var(--ads-font-weight-regular);
}

.print-only { display: none !important; }

/* Web: the same blocks in two columns, page by page. */
@container (min-width: 880px) {
  .pr-page {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas: var(--pr-areas);
    gap: var(--page-group-gap, var(--ads-size-12));
    align-items: stretch;
  }

  .pr-block--A .pr-name span { display: inline; }
  .pr-kpis { grid-template-columns: repeat(var(--pr-kpi-count, 4), minmax(0, 1fr)); }
  .pr-kpi:last-child:nth-child(odd) { grid-column: auto; }
  .pr-mbars { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--ads-size-32); }
  .pr-mfoot { grid-column: 1 / -1; }
  .pr-radar { max-width: 340px; }
  .pr-trend { min-height: 150px; }
}

/* A4: two pages, the first with A–F and the second with G–M. Print sets
   its own, smaller text sizes from the ADS scale. */
@page {
  size: A4;
  margin: 12mm 12mm 16mm;
}

@media print {
  .pr-page {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas: var(--pr-areas);
    gap: var(--ads-size-10);
    align-items: stretch;
    position: relative;
    break-after: page;
  }

  .pr-page:last-child { break-after: auto; }
  .pr-page + .pr-page { margin-top: 0; }

  /* Beside the skill chart the stack is half the page wide, so the trend
     and the calendar go under each other there; the A4 width would
     otherwise match the editor's side-by-side rule and squeeze both
     ("Au g", "Su n"). */
  .pr-stack { flex-direction: column; }
  .pr-stack > .pr-block { flex: 0 0 auto; }
  .pr-stack > .pr-block--E { flex-grow: 1; }

  /* Cards print as outlined boxes. */
  .pr .pr-block.avods-card,
  .pr .pr-block.avods-section--card {
    box-shadow: none;
    border: 1px solid var(--ads-stroke-opaque-base);
    border-radius: var(--ads-border-radius-sm);
    corner-shape: var(--ads-corner-shape);
    break-inside: avoid;
  }

  .pr .pr-block.avods-card { padding: var(--ads-size-12) var(--ads-size-14); }
  .pr .pr-block > .avods-section__head { min-height: 0; padding: var(--ads-size-12) var(--ads-size-14) 0; }
  .pr .pr-block > .avods-card { padding: var(--ads-size-6) var(--ads-size-14) var(--ads-size-12); }
  .pr .avods-line-card { padding: var(--ads-size-8) var(--ads-size-10); border-color: var(--ads-stroke-opaque-base); }
  .pr .pr-school-logo { max-height: var(--ads-size-28); max-width: calc(var(--ads-size-28) * 4); }

  /* Text one step down from the ADS defaults. */
  .avods-page-content .pr :is([class*="avods-text-title2-"], [class*="avods-text-title3-"]) { font-size: var(--ads-heading2-font-size); line-height: var(--ads-heading2-line-height); }
  .avods-page-content .pr [class*="avods-text-heading2-"] { font-size: var(--ads-body1-font-size); line-height: var(--ads-body1-line-height); }
  .avods-page-content .pr :is([class*="avods-text-headline1-"], [class*="avods-text-headline2-"]) { font-size: var(--ads-label1-font-size); line-height: var(--ads-label1-line-height); }
  .avods-page-content .pr :is([class*="avods-text-body1-"], [class*="avods-text-body2-"], [class*="avods-text-label1-"]) { font-size: var(--ads-label2-font-size); line-height: var(--ads-label2-line-height); }
  .avods-page-content .pr :is([class*="avods-text-label2-"], [class*="avods-text-caption1-"]) { font-size: var(--ads-caption1-font-size); line-height: var(--ads-caption1-line-height); }
  .avods-page-content .pr [class*="avods-text-caption2-"] { font-size: var(--ads-caption2-font-size); line-height: var(--ads-caption2-line-height); }

  .pr-block--A .pr-name span { display: inline; }
  .pr-name { margin-top: var(--ads-size-10); }
  .pr-kpis { grid-template-columns: repeat(var(--pr-kpi-count, 4), minmax(0, 1fr)); gap: var(--ads-size-8); }
  .pr-kpi:last-child:nth-child(odd) { grid-column: auto; }
  .pr-mbars { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--ads-size-24); margin-top: var(--ads-size-8); }
  .pr-mfoot { grid-column: 1 / -1; }
  .pr-note { margin-top: var(--ads-size-2); }
  .pr-radar { max-width: 250px; }
  .pr-axis { padding: var(--ads-size-2) 0; }
  .pr-trend { min-height: 120px; }
  .pr-cal-month { width: 196px; }
  .pr-cal { gap: var(--ads-size-2); }
  .pr-day { border-radius: var(--ads-border-radius-3xs); corner-shape: var(--ads-corner-shape); }

  .print-only { display: block !important; }
  .pr-qr.print-only { display: flex !important; }
  .no-print { display: none !important; }
  .pr-works--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .pr-page-foot {
    grid-column: 1 / -1;
    display: flex !important;
    justify-content: space-between;
    margin-top: var(--ads-size-4);
    padding-top: var(--ads-size-6);
    border-top: 1px solid var(--ads-stroke-opaque-base);
    color: var(--ads-fg-neutral-subtler);
  }
}

/* The report list: search at the toolbar's end, and the page numbers with
   the range ("1–20 / 45") under the table (owner, 2026-11-03). */
.prt-round-search {
    width: 240px;
    margin-inline-start: auto;
}

.prt-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--ads-size-16);
    padding: var(--ads-size-12) var(--ads-size-4) 0;
    border-top: 1px solid var(--ads-stroke-neutral-subtler);
}

.prt-pagination__summary {
    flex: none;
    color: var(--ads-fg-neutral-subtler);
    font-variant-numeric: tabular-nums;
}

.prt-pagination avo-pagination {
    flex: 1 1 auto;
    min-width: 0;
}

@media (max-width: 599.98px) {
    .prt-round-search {
        width: 100%;
        margin-inline-start: 0;
    }
}

