/* [project]/src/app/globals.css.css [app-client] (css) */
@layer properties {
  @supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
    *, :before, :after, ::backdrop {
      --tw-rotate-x: initial;
      --tw-rotate-y: initial;
      --tw-rotate-z: initial;
      --tw-skew-x: initial;
      --tw-skew-y: initial;
      --tw-border-style: solid;
      --tw-ordinal: initial;
      --tw-slashed-zero: initial;
      --tw-numeric-figure: initial;
      --tw-numeric-spacing: initial;
      --tw-numeric-fraction: initial;
      --tw-shadow: 0 0 #0000;
      --tw-shadow-color: initial;
      --tw-shadow-alpha: 100%;
      --tw-inset-shadow: 0 0 #0000;
      --tw-inset-shadow-color: initial;
      --tw-inset-shadow-alpha: 100%;
      --tw-ring-color: initial;
      --tw-ring-shadow: 0 0 #0000;
      --tw-inset-ring-color: initial;
      --tw-inset-ring-shadow: 0 0 #0000;
      --tw-ring-inset: initial;
      --tw-ring-offset-width: 0px;
      --tw-ring-offset-color: #fff;
      --tw-ring-offset-shadow: 0 0 #0000;
      --tw-outline-style: solid;
      --tw-blur: initial;
      --tw-brightness: initial;
      --tw-contrast: initial;
      --tw-grayscale: initial;
      --tw-hue-rotate: initial;
      --tw-invert: initial;
      --tw-opacity: initial;
      --tw-saturate: initial;
      --tw-sepia: initial;
      --tw-drop-shadow: initial;
      --tw-drop-shadow-color: initial;
      --tw-drop-shadow-alpha: 100%;
      --tw-drop-shadow-size: initial;
      --tw-backdrop-blur: initial;
      --tw-backdrop-brightness: initial;
      --tw-backdrop-contrast: initial;
      --tw-backdrop-grayscale: initial;
      --tw-backdrop-hue-rotate: initial;
      --tw-backdrop-invert: initial;
      --tw-backdrop-opacity: initial;
      --tw-backdrop-saturate: initial;
      --tw-backdrop-sepia: initial;
      --tw-ease: initial;
    }
  }
}

@layer theme {
  :root, :host {
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
      "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
      "Segoe UI Symbol", "Noto Color Emoji";
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
      "Courier New", monospace;
    --spacing: .25rem;
    --text-xs: .75rem;
    --text-xs--line-height: calc(1 / .75);
    --text-sm: .875rem;
    --text-sm--line-height: calc(1.25 / .875);
    --text-lg: 1.125rem;
    --text-lg--line-height: calc(1.75 / 1.125);
    --text-xl: 1.25rem;
    --text-xl--line-height: calc(1.75 / 1.25);
    --text-2xl: 1.5rem;
    --text-2xl--line-height: calc(2 / 1.5);
    --radius-sm: .25rem;
    --radius-lg: .5rem;
    --radius-xl: .75rem;
    --ease-out: cubic-bezier(0, 0, .2, 1);
    --ease-in-out: cubic-bezier(.4, 0, .2, 1);
    --default-transition-duration: .15s;
    --default-transition-timing-function: cubic-bezier(.4, 0, .2, 1);
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
  }
}

@layer base {
  *, :after, :before, ::backdrop {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
  }

  ::file-selector-button {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
  }

  html, :host {
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    line-height: 1.5;
    font-family: var(--default-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }

  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }

  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }

  h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
  }

  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }

  b, strong {
    font-weight: bolder;
  }

  code, kbd, samp, pre {
    font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }

  small {
    font-size: 80%;
  }

  sub, sup {
    vertical-align: baseline;
    font-size: 75%;
    line-height: 0;
    position: relative;
  }

  sub {
    bottom: -.25em;
  }

  sup {
    top: -.5em;
  }

  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }

  :-moz-focusring:where(:not(iframe)) {
    outline: auto;
  }

  progress {
    vertical-align: baseline;
  }

  summary {
    display: list-item;
  }

  ol, ul, menu {
    list-style: none;
  }

  img, svg, video, canvas, audio, iframe, embed, object {
    vertical-align: middle;
    display: block;
  }

  img, video {
    max-width: 100%;
    height: auto;
  }

  button, input, select, optgroup, textarea {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    opacity: 1;
    background-color: #0000;
    border-radius: 0;
  }

  ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    opacity: 1;
    background-color: #0000;
    border-radius: 0;
  }

  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }

  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }

  ::file-selector-button {
    margin-inline-end: 4px;
  }

  ::placeholder {
    opacity: 1;
  }

  @supports (not ((-webkit-appearance: -apple-pay-button))) or (contain-intrinsic-size: 1px) {
    ::placeholder {
      color: currentColor;
    }

    @supports (color: color-mix(in lab, red, red)) {
      ::placeholder {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }

  textarea {
    resize: vertical;
  }

  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }

  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }

  ::-webkit-datetime-edit {
    display: inline-flex;
  }

  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }

  ::-webkit-datetime-edit {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-year-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-month-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-day-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-hour-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-minute-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-second-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-millisecond-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }

  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }

  :-moz-ui-invalid {
    box-shadow: none;
  }

  button, input:where([type="button"], [type="reset"], [type="submit"]) {
    appearance: button;
  }

  ::file-selector-button {
    appearance: button;
  }

  ::-webkit-inner-spin-button {
    height: auto;
  }

  ::-webkit-outer-spin-button {
    height: auto;
  }

  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }
}

@layer components;

@layer utilities {
  .collapse {
    visibility: collapse;
  }

  .invisible {
    visibility: hidden;
  }

  .visible {
    visibility: visible;
  }

  .absolute {
    position: absolute;
  }

  .fixed {
    position: fixed;
  }

  .relative {
    position: relative;
  }

  .static {
    position: static;
  }

  .sticky {
    position: sticky;
  }

  .isolate {
    isolation: isolate;
  }

  .row-0 {
    grid-row: 0;
  }

  .container {
    width: 100%;
  }

  @media (min-width: 40rem) {
    .container {
      max-width: 40rem;
    }
  }

  @media (min-width: 48rem) {
    .container {
      max-width: 48rem;
    }
  }

  @media (min-width: 64rem) {
    .container {
      max-width: 64rem;
    }
  }

  @media (min-width: 80rem) {
    .container {
      max-width: 80rem;
    }
  }

  @media (min-width: 96rem) {
    .container {
      max-width: 96rem;
    }
  }

  .block {
    display: block;
  }

  .contents {
    display: contents;
  }

  .flex {
    display: flex;
  }

  .grid {
    display: grid;
  }

  .hidden {
    display: none;
  }

  .inline {
    display: inline;
  }

  .inline-block {
    display: inline-block;
  }

  .inline-grid {
    display: inline-grid;
  }

  .table {
    display: table;
  }

  .h-10 {
    height: calc(var(--spacing) * 10);
  }

  .shrink {
    flex-shrink: 1;
  }

  .grow {
    flex-grow: 1;
  }

  .transform {
    transform: var(--tw-rotate-x, ) var(--tw-rotate-y, ) var(--tw-rotate-z, ) var(--tw-skew-x, ) var(--tw-skew-y, );
  }

  .resize {
    resize: both;
  }

  .truncate {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
  }

  .rounded {
    border-radius: .25rem;
  }

  .border {
    border-style: var(--tw-border-style);
    border-width: 1px;
  }

  .text-2xl {
    font-size: var(--text-2xl);
    line-height: var(--tw-leading, var(--text-2xl--line-height));
  }

  .text-lg {
    font-size: var(--text-lg);
    line-height: var(--tw-leading, var(--text-lg--line-height));
  }

  .text-sm {
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
  }

  .text-xl {
    font-size: var(--text-xl);
    line-height: var(--tw-leading, var(--text-xl--line-height));
  }

  .text-xs {
    font-size: var(--text-xs);
    line-height: var(--tw-leading, var(--text-xs--line-height));
  }

  .capitalize {
    text-transform: capitalize;
  }

  .lowercase {
    text-transform: lowercase;
  }

  .italic {
    font-style: italic;
  }

  .ordinal {
    --tw-ordinal: ordinal;
    font-variant-numeric: var(--tw-ordinal, ) var(--tw-slashed-zero, ) var(--tw-numeric-figure, ) var(--tw-numeric-spacing, ) var(--tw-numeric-fraction, );
  }

  .line-through {
    text-decoration-line: line-through;
  }

  .overline {
    text-decoration-line: overline;
  }

  .underline {
    text-decoration-line: underline;
  }

  .shadow {
    --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, #0000001a), 0 1px 2px -1px var(--tw-shadow-color, #0000001a);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }

  .ring {
    --tw-ring-shadow: var(--tw-ring-inset, ) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }

  .\!outline {
    outline-style: var(--tw-outline-style) !important;
    outline-width: 1px !important;
  }

  .outline {
    outline-style: var(--tw-outline-style);
    outline-width: 1px;
  }

  .blur {
    --tw-blur: blur(8px);
    filter: var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, );
  }

  .invert {
    --tw-invert: invert(100%);
    filter: var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, );
  }

  .sepia {
    --tw-sepia: sepia(100%);
    filter: var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, );
  }

  .filter {
    filter: var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, );
  }

  .filter\! {
    filter: var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, ) !important;
  }

  .backdrop-filter {
    -webkit-backdrop-filter: var(--tw-backdrop-blur, ) var(--tw-backdrop-brightness, ) var(--tw-backdrop-contrast, ) var(--tw-backdrop-grayscale, ) var(--tw-backdrop-hue-rotate, ) var(--tw-backdrop-invert, ) var(--tw-backdrop-opacity, ) var(--tw-backdrop-saturate, ) var(--tw-backdrop-sepia, );
    backdrop-filter: var(--tw-backdrop-blur, ) var(--tw-backdrop-brightness, ) var(--tw-backdrop-contrast, ) var(--tw-backdrop-grayscale, ) var(--tw-backdrop-hue-rotate, ) var(--tw-backdrop-invert, ) var(--tw-backdrop-opacity, ) var(--tw-backdrop-saturate, ) var(--tw-backdrop-sepia, );
  }

  .transition {
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }

  .ease-in-out {
    --tw-ease: var(--ease-in-out);
    transition-timing-function: var(--ease-in-out);
  }

  .ease-out {
    --tw-ease: var(--ease-out);
    transition-timing-function: var(--ease-out);
  }

  .\[m\:ss\] {
    m: ss;
  }
}

:root {
  --paper: #fcfbf7;
  --surface: #fff;
  --line: #dfe4f0;
  --ink: #1f2a44;
  --muted: #5b6485;
  --brand: #1f4d3a;
  --primary: #3b5bdb;
  --primary-soft: #eef2ff;
  --tutor: #7c4ddb;
  --tutor-soft: #f3eeff;
  --right: #1a7f52;
  --danger: #d6363c;
  --marker: #ffe58a;
  --font-sans: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --font-hand: Caveat, "Segoe Print", cursive;
  --text-xs: 13px;
  --text-sm: 15px;
  --text-md: 17px;
  --text-lg: 19px;
  --text-xl: 23px;
  --text-2xl: 28px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --ruled-line: 36px;
  --right-soft: var(--right);
}

@supports (color: color-mix(in lab, red, red)) {
  :root {
    --right-soft: color-mix(in srgb, var(--right) 10%, var(--surface));
  }
}

:root {
  --danger-soft: var(--danger);
}

@supports (color: color-mix(in lab, red, red)) {
  :root {
    --danger-soft: color-mix(in srgb, var(--danger) 8%, var(--surface));
  }
}

:root {
  --brand-hover: var(--brand);
}

@supports (color: color-mix(in lab, red, red)) {
  :root {
    --brand-hover: color-mix(in srgb, var(--brand) 86%, var(--surface));
  }
}

:root {
  --margin: var(--danger);
}

@supports (color: color-mix(in lab, red, red)) {
  :root {
    --margin: color-mix(in srgb, var(--danger) 30%, var(--paper));
  }
}

:root {
  --blue: var(--primary);
  --ok: var(--right);
  --warn: var(--danger);
  --purple: var(--tutor);
  --mute: var(--muted);
  --green: var(--brand);
  --green2: var(--brand-hover);
  --rule: var(--line);
  --body: var(--font-sans);
  --hand: var(--font-hand);
}

html, body {
  height: 100%;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  margin: 0;
}

button {
  cursor: pointer;
  font-family: inherit;
}

button:disabled {
  cursor: default;
}

.al-home {
  max-width: 720px;
  margin: 0 auto;
  padding: 28px 20px 80px;
}

.al-home header {
  margin-bottom: 44px;
}

.al-logo {
  color: var(--brand);
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
}

.al-home h1 {
  letter-spacing: -.01em;
  margin: 0 0 10px;
  font-size: 28px;
  font-weight: 600;
  line-height: 42px;
}

.al-home h2 {
  margin: 40px 0 12px;
  font-size: 17px;
}

.al-sub {
  color: var(--muted);
  margin: 0 0 22px;
  font-size: 17px;
  line-height: 26px;
}

.al-goal {
  box-sizing: border-box;
  border: 1.5px solid var(--line);
  width: 100%;
  font: inherit;
  background: var(--surface);
  color: var(--ink);
  resize: vertical;
  border-radius: 12px;
  outline: 0;
  padding: 16px 18px;
  font-size: 17px;
  line-height: 28px;
}

.al-goal:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px #3b5bdb26;
}

.al-cta {
  background: var(--primary);
  color: var(--surface);
  border: 0;
  border-radius: 12px;
  margin-top: 14px;
  padding: 14px 24px;
  font-size: 17px;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
}

.al-cta:disabled {
  opacity: .5;
}

.al-or {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin: 34px 0 10px;
  font-size: 13px;
  font-weight: 500;
}

.al-ideas {
  gap: 8px;
  display: grid;
}

.al-ideas.row {
  flex-wrap: wrap;
  display: flex;
}

.al-ideas button {
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 15px;
  line-height: 22px;
}

.al-ideas button:hover {
  border-color: #b8c4f0;
}

.al-ideas button[aria-pressed="true"] {
  border-color: var(--primary);
  background: var(--primary-soft);
}

.al-mine {
  gap: 8px;
  display: grid;
}

.al-mine a {
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: 12px;
  padding: 12px 14px;
  text-decoration: none;
  display: block;
}

.al-mine b {
  font-size: 15px;
  display: block;
}

.al-mine span {
  color: var(--muted);
  font-size: 13px;
}

.al-err {
  color: var(--danger);
  margin: 10px 0 0;
  font-size: 15px;
}

.al-q {
  margin: 0 0 22px;
}

.al-q p {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 500;
}

.al-row {
  align-items: center;
  gap: 18px;
  display: flex;
}

.al-link {
  color: var(--muted);
  background: none;
  border: 0;
  margin-top: 14px;
  font-size: 15px;
  text-decoration: underline;
}

.al-build ol {
  gap: 10px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
}

.al-build li {
  color: #b4b9c9;
  align-items: center;
  gap: 12px;
  font-size: 17px;
  display: flex;
}

.al-build li:before {
  content: "";
  box-sizing: border-box;
  border: 2px solid;
  border-radius: 50%;
  width: 12px;
  height: 12px;
}

.al-build li.done {
  color: var(--right);
}

.al-build li.done:before {
  background: currentColor;
}

.al-build li.now {
  color: var(--ink);
  font-weight: 500;
}

.al-build li.now:before {
  border-color: var(--primary);
  animation: 1s ease-in-out infinite alPulse;
}

@keyframes alPulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: .45;
    transform: scale(.7);
  }
}

.al-shell {
  background: var(--paper);
  flex-direction: column;
  display: flex;
  position: fixed;
  inset: 0;
}

.al-top {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  flex: none;
  align-items: center;
  gap: 16px;
  padding: 12px 20px;
  display: flex;
}

.al-ttl {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: 15px;
  font-weight: 500;
}

.al-canvas {
  flex: 1;
  min-height: 0;
  position: relative;
}

.al-scroll {
  background: var(--paper) repeating-linear-gradient(to bottom, transparent 0 71px, var(--line) 71px 72px);
  background-attachment: local;
  overflow: hidden auto;
}

.al-sheet {
  flex-direction: column;
  gap: 40px;
  width: 780px;
  max-width: calc(100% - 32px);
  margin: 0 auto;
  padding-top: 28px;
  display: flex;
}

.al-canvas .tl-container {
  --tl-color-background: var(--paper);
}

.tl-shape[data-shape-type="lesson"] {
  overflow: visible !important;
}

.al-card-slot {
  position: relative;
}

.al-tail {
  flex: none;
  height: 80vh;
}

.al-paper {
  background: var(--paper) repeating-linear-gradient(to bottom, transparent 0 71px, var(--line) 71px 72px);
  position: absolute;
  inset: 0;
}

.al-blk {
  box-sizing: border-box;
  border: 1px solid var(--line);
  width: 100%;
  color: var(--ink);
  cursor: default;
  -webkit-user-select: text;
  user-select: text;
  background: none;
  border-radius: 12px;
  padding: 4px 22px 16px 16px;
  font-size: 19px;
  line-height: 36px;
  position: relative;
}

.al-blk.focus {
  border-color: #cbd5f7;
}

.al-blk.skipped {
  opacity: .6;
}

.al-blk p {
  margin: 0;
}

.al-num {
  text-align: right;
  width: 26px;
  color: var(--muted);
  font-size: 15px;
  position: absolute;
  top: 4px;
  left: -42px;
}

.al-blk h3 {
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 23px;
  font-weight: 500;
  line-height: 36px;
  display: flex;
}

.al-tick {
  color: var(--right);
  font-size: 23px;
}

.al-tag {
  font-family: var(--font-hand);
  color: var(--tutor);
  font-size: 19px;
  font-weight: 500;
}

.al-mini {
  color: var(--primary);
  background: var(--surface);
  border: 1.5px solid var(--primary);
  border-radius: 8px;
  padding: 4px 10px;
  font-size: 13px;
  font-weight: 500;
  line-height: 20px;
  text-decoration: none;
}

.al-win {
  color: var(--muted);
  margin-bottom: 8px !important;
}

.al-win mark {
  color: var(--ink);
  background: linear-gradient(#0000 55%, #ffe2a3 55%);
  padding: 0 3px;
  font-weight: 500;
}

.al-adapted {
  color: var(--muted);
  align-items: center;
  gap: 6px;
  margin: 2px 0 8px;
  font-size: 15px;
  line-height: 1.4;
  display: flex;
}

.al-adapted b {
  color: var(--primary);
  font-weight: 600;
}

.al-adapted svg {
  color: var(--primary);
  flex: none;
}

.al-adapted.lv-support b, .al-adapted.lv-support svg {
  color: #b86e00;
}

.al-adapted.lv-stretch b, .al-adapted.lv-stretch svg {
  color: var(--right);
}

.al-ask {
  font-weight: 500;
  margin-top: 14px !important;
}

.al-ro {
  pointer-events: none;
}

.al-lines {
  box-sizing: border-box;
  resize: none;
  width: 100%;
  font-family: var(--font-hand);
  color: var(--primary);
  border: 0;
  border-bottom: 1.5px dashed var(--line);
  background: none;
  outline: 0;
  max-width: 680px;
  margin: 0 0 6px;
  padding: 0;
  font-size: 28px;
  line-height: 36px;
  display: block;
  overflow: hidden;
}

.al-lines::placeholder {
  color: var(--muted);
  opacity: .6;
}

.al-lines:focus {
  border-bottom-color: var(--primary);
}

.al-lines:disabled {
  border-bottom-color: #0000;
}

.al-you {
  font-family: var(--font-hand);
  color: var(--primary);
  font-size: 23px;
  line-height: 36px;
}

.al-you b, .al-say b {
  font-family: var(--font-sans);
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
}

.al-say {
  margin-top: 6px !important;
}

.al-note {
  align-items: baseline;
  gap: 12px;
  display: flex;
  margin-top: 6px !important;
}

.al-note:before {
  text-align: center;
  flex: none;
  width: 18px;
  font-weight: 600;
}

.al-note.ok:before {
  content: "✓";
  color: var(--right);
}

.al-note.warn:before {
  content: "✕";
  color: var(--danger);
}

.al-note.hint:before {
  content: "?";
  color: var(--tutor);
}

.al-wd {
  display: inline-block;
}

.al-ch {
  animation: .2s ease-out both alInk;
  display: inline-block;
}

@keyframes alInk {
  from {
    opacity: 0;
    transform: translateY(2px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.al-sug button {
  border: 0;
  border-bottom: 1.5px dashed var(--tutor);
  color: var(--tutor);
  background: none;
  padding: 0 0 1px;
  font-size: 15px;
  font-weight: 500;
  line-height: 22px;
}

.al-busy {
  color: var(--tutor);
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  display: flex;
  margin-top: 8px !important;
}

.al-busy i {
  border: 2px solid;
  border-right-color: #0000;
  border-radius: 50%;
  width: 14px;
  height: 14px;
  animation: .8s linear infinite alSpin;
}

@keyframes alSpin {
  to {
    transform: rotate(360deg);
  }
}

.al-opts {
  gap: 8px;
  margin: 8px 0 6px;
  display: grid;
}

.al-opts button, .al-doc button {
  text-align: left;
  background: var(--surface);
  border: 1.5px solid var(--line);
  color: var(--ink);
  border-radius: 12px;
  align-items: baseline;
  gap: 12px;
  padding: 10px 14px;
  font-size: 17px;
  line-height: 26px;
  display: flex;
}

.al-opts button i, .al-doc button i {
  background: var(--primary-soft);
  width: 24px;
  height: 24px;
  color: var(--primary);
  border-radius: 8px;
  flex: none;
  justify-content: center;
  align-self: center;
  align-items: center;
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
  display: inline-flex;
}

.al-opts button[aria-pressed="true"] {
  border-color: var(--primary);
  background: var(--primary-soft);
}

.al-opts button[aria-pressed="true"] i {
  background: var(--primary);
  color: var(--surface);
}

.al-doc {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  gap: 6px;
  margin: 8px 0;
  padding: 18px 20px;
  display: grid;
  box-shadow: 0 6px 20px #1f2a4414;
}

.al-doct {
  border-bottom: 1px solid var(--line);
  margin-bottom: 4px;
  padding-bottom: 8px;
  font-size: 17px;
  font-weight: 500;
}

.al-doc button {
  border-color: #0000;
  padding: 6px 8px;
  font-size: 17px;
}

.al-doc button[aria-pressed="true"] {
  background: #ffe9b8;
}

.al-doc button[aria-pressed="true"] i {
  color: var(--surface);
  background: #f5a623;
}

.al-fx {
  background: var(--surface);
  border: 1px solid var(--line);
  box-sizing: border-box;
  border-bottom: 0;
  align-items: center;
  gap: 10px;
  width: fit-content;
  min-width: 420px;
  margin-top: 8px;
  padding: 6px 10px;
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 15px;
  line-height: 20px;
  display: flex;
}

.al-fx b {
  color: var(--muted);
  border-right: 1px solid var(--line);
  padding-right: 10px;
}

.al-fx i {
  color: var(--muted);
}

.al-fx span {
  white-space: pre;
  min-height: 20px;
}

.al-cells {
  border-collapse: collapse;
  background: var(--surface);
  margin-bottom: 8px;
  font-size: 15px;
  line-height: 1.3;
  box-shadow: 0 4px 14px #1f2a4414;
}

.al-cells th {
  background: var(--primary-soft);
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 5px 10px;
  font-size: 13px;
  font-weight: 500;
}

.al-cells td {
  border: 1px solid var(--primary-soft);
  min-width: 84px;
  padding: 6px 14px;
}

.al-cells td.fcell {
  background: var(--primary-soft);
  box-shadow: inset 0 0 0 2px var(--primary);
  padding: 0;
}

.al-fxin {
  width: 300px;
  color: var(--primary);
  background: none;
  border: 0;
  outline: 0;
  padding: 6px 12px;
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 15px;
}

.al-bar {
  z-index: 500;
  background: var(--brand);
  flex: none;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 18px 18px;
  display: flex;
  position: relative;
}

.al-l, .al-r {
  flex: none;
  align-items: center;
  gap: 8px;
  display: flex;
}

.al-c {
  flex: 1;
  justify-content: center;
  min-width: 0;
  max-width: 560px;
  display: flex;
  position: relative;
}

.al-bar button, .al-bar a {
  font-family: var(--font-sans);
  border: 0;
}

.al-blkbtn {
  background: var(--brand-hover);
  height: 48px;
  color: var(--surface);
  white-space: nowrap;
  border-radius: 12px;
  align-items: center;
  gap: 10px;
  padding: 0 14px 0 8px;
  font-size: 15px;
  font-weight: 500;
  display: flex;
}

.al-play {
  background: var(--marker);
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  display: flex;
}

.al-modes {
  background: var(--brand-hover);
  box-sizing: border-box;
  border-radius: 12px;
  width: 104px;
  height: 48px;
  padding: 4px;
  display: flex;
  position: relative;
}

.al-modes i {
  background: #3e7a5e;
  border-radius: 12px;
  width: calc(50% - 4px);
  transition: left .26s cubic-bezier(.22, 1, .36, 1);
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
}

.al-modes.mchat i {
  left: 50%;
}

.al-modes button {
  z-index: 1;
  color: #ffffff80;
  background: none;
  flex: 1;
  justify-content: center;
  align-items: center;
  padding: 0;
  display: flex;
  position: relative;
}

.al-modes button[aria-pressed="true"] {
  color: var(--surface);
}

.al-main {
  background: var(--surface);
  width: 100%;
  height: 52px;
  color: var(--brand);
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
  border-radius: 12px;
  flex: 1;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 0 14px;
  font-size: 17px;
  font-weight: 500;
  text-decoration: none;
  display: flex;
}

.al-main.go {
  color: var(--brand);
  background: #7db65a;
}

.al-main:disabled {
  opacity: .8;
}

.al-main.live {
  background: var(--marker);
}

.al-btn {
  height: 48px;
  color: var(--surface);
  background: none;
  border-radius: 12px;
  padding: 0 16px;
  font-size: 15px;
  font-weight: 500;
  box-shadow: inset 0 0 0 1.5px #ffffff80;
}

.al-btn.next {
  background: var(--primary);
  color: var(--surface);
  padding: 0 22px;
}

.al-ibtn {
  background: var(--brand-hover);
  color: #ffffff8c;
  border-radius: 12px;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  display: flex;
}

.al-ibtn[aria-pressed="true"] {
  color: var(--surface);
  background: #3e7a5e;
}

.al-exit {
  height: 48px;
  color: var(--surface);
  background: #c9625d;
  border-radius: 12px;
  align-items: center;
  padding: 0 20px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  display: flex;
}

.al-outline {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  gap: 2px;
  width: min(420px, 100vw - 36px);
  padding: 8px;
  display: grid;
  position: absolute;
  bottom: calc(100% + 8px);
  left: 18px;
  box-shadow: 0 12px 36px #1f2a442e;
}

.al-outline button {
  color: var(--ink);
  text-align: left;
  background: none;
  border-radius: 8px;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 10px;
  font-size: 15px;
  display: flex;
}

.al-outline button:hover {
  background: var(--primary-soft);
}

.al-outline button[aria-current="true"] {
  background: var(--primary-soft);
  font-weight: 500;
}

.al-outline em {
  color: var(--muted);
  white-space: nowrap;
  font-size: 13px;
  font-style: normal;
}

.al-outline em.ontrack, .al-tag.ontrack {
  color: var(--right);
}

.al-outline button:disabled {
  opacity: .45;
}

.al-toast {
  background: var(--surface);
  color: #b4232a;
  text-align: center;
  border: 1px solid #f3c4c6;
  border-radius: 12px;
  max-width: 440px;
  padding: 10px 16px;
  font-size: 15px;
  line-height: 20px;
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 8px 24px #1f2a4424;
}

.al-cbar {
  box-sizing: border-box;
  background: var(--surface);
  border-radius: 12px;
  align-items: center;
  gap: 6px;
  width: 100%;
  min-height: 52px;
  padding: 6px 8px;
  display: flex;
}

.al-cbar textarea {
  resize: none;
  min-width: 0;
  font: inherit;
  box-sizing: border-box;
  height: 40px;
  color: var(--ink);
  background: none;
  border: 0;
  outline: 0;
  flex: 1;
  padding: 9px 6px;
  font-size: 17px;
  line-height: 22px;
}

.al-cib {
  color: #5b6770;
  background: none;
  border-radius: 12px;
  flex: none;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 40px;
  padding: 0;
  display: flex;
}

.al-cib[aria-pressed="true"] {
  background: var(--right-soft);
  color: #16a46f;
}

.al-send {
  background: var(--primary-soft);
  color: #9aa6ad;
  border-radius: 12px;
  flex: none;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 40px;
  padding: 0;
  display: flex;
}

.al-send.on {
  background: var(--right);
  color: var(--surface);
}

.al-ctx {
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  background: #1f4d3ae6;
  border: 1px solid #ffffff3d;
  border-radius: 22px;
  padding: 10px 14px 14px;
  position: absolute;
  bottom: calc(100% + 10px);
  left: 0;
  right: 0;
  box-shadow: 0 16px 42px #1f4d3a4d;
}

.al-ctxh {
  align-items: center;
  padding: 2px 2px 8px;
  display: flex;
}

.al-ctxh i {
  background: #ffffff80;
  border-radius: 4px;
  flex: 1;
  max-width: 54px;
  height: 5px;
  margin: 0 auto;
}

.al-ctxh button {
  width: 30px;
  height: 30px;
  color: var(--surface);
  background: #ffffff29;
  border-radius: 12px;
  justify-content: center;
  align-items: center;
  padding: 0;
  display: flex;
}

.al-msgs {
  flex-direction: column;
  gap: 10px;
  max-height: 150px;
  padding-right: 2px;
  transition: max-height .2s;
  display: flex;
  overflow-y: auto;
}

.al-ctxh {
  gap: 8px;
}

.al-ctxh button {
  cursor: pointer;
  border: 1px solid #fff3;
}

.al-msgs .think {
  min-height: 34px;
  color: var(--surface);
  background: #ffffff1f;
  border: 1px solid #fff3;
  border-radius: 12px;
  align-self: flex-start;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  font-size: 15px;
  font-weight: 600;
  display: flex;
}

.al-msgs .think svg {
  animation: .9s linear infinite alSpin;
}

.al-msgs .think em {
  gap: 3px;
  display: flex;
}

.al-msgs .think em i {
  background: currentColor;
  border-radius: 4px;
  width: 4px;
  height: 4px;
  animation: .9s ease-in-out infinite alDot;
}

.al-msgs .think em i:nth-child(2) {
  animation-delay: .14s;
}

.al-msgs .think em i:nth-child(3) {
  animation-delay: .28s;
}

@keyframes alDot {
  0%, 100% {
    opacity: .3;
  }

  50% {
    opacity: 1;
  }
}

.al-msgs .ai {
  max-width: 94%;
  color: var(--surface);
  align-self: flex-start;
  font-size: 17px;
  line-height: 1.45;
}

.al-msgs .you {
  flex-direction: row-reverse;
  align-self: flex-end;
  align-items: flex-end;
  gap: 8px;
  max-width: 85%;
  display: flex;
}

.al-msgs .you b {
  background: var(--primary);
  width: 30px;
  height: 30px;
  color: var(--surface);
  border-radius: 50%;
  flex: none;
  justify-content: center;
  align-items: center;
  font-size: 13px;
  display: flex;
}

.al-msgs .you span {
  background: var(--primary);
  color: var(--surface);
  border-radius: 12px 12px 4px;
  padding: 8px 14px;
  font-size: 17px;
  line-height: 1.4;
}

@media (max-width: 900px) {
  .al-bar {
    flex-wrap: wrap;
  }

  .al-c {
    flex-basis: 100%;
    order: 3;
    max-width: none;
  }

  .al-blk {
    font-size: 17px;
  }

  .al-num {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .al-ch, #al-scan.on i, .al-build li.now:before, .al-busy i {
    animation: none;
  }
}

.al-rail > * {
  pointer-events: auto;
}

.al-rail {
  pointer-events: none;
  z-index: 400;
  flex-direction: column;
  align-items: flex-start;
  display: flex;
  position: absolute;
  top: 70px;
  left: 0;
}

.al-pencil {
  cursor: pointer;
  background: none;
  border: 0;
  width: 84px;
  margin-left: -22px;
  padding: 6px 0;
  transition: margin .26s cubic-bezier(.2, .8, .2, 1);
  display: block;
}

.al-pencil[aria-pressed="true"] {
  margin-left: 0;
}

.al-pencil:hover {
  margin-left: -12px;
}

.al-pencil[aria-pressed="true"]:hover {
  margin-left: 0;
}

.al-pb {
  background: var(--c);
  border-radius: 4px 0 0 4px;
  height: 15px;
  margin-right: 20px;
  display: block;
  position: relative;
  box-shadow: inset 0 -4px #1f2a441f;
}

.al-pb:after {
  content: "";
  border-top: 7.5px solid #0000;
  border-bottom: 7.5px solid #0000;
  border-left: 18px solid #f1d3a6;
  position: absolute;
  top: 0;
  right: -18px;
}

.al-pb:before {
  content: "";
  border-left: 7px solid var(--c);
  z-index: 1;
  border-top: 3px solid #0000;
  border-bottom: 3px solid #0000;
  position: absolute;
  top: 4.5px;
  right: -18px;
}

.al-pencil.hl .al-pb {
  border-radius: 4px 0 0 4px;
  height: 19px;
  box-shadow: inset -10px 0 #ffffff59;
}

.al-pencil.hl .al-pb:after {
  border-left: 16px solid var(--c);
  opacity: .75;
  border-top: 2px solid #0000;
  border-bottom: 9px solid #0000;
  right: -16px;
}

.al-pencil.hl .al-pb:before {
  display: none;
}

.al-pencil.er .al-pb {
  background: var(--primary-soft);
  margin-right: 34px;
}

.al-pencil.er .al-pb:after {
  background: #f58ca8;
  border: 0;
  border-radius: 0 8px 8px 0;
  width: 14px;
  height: 15px;
  right: -14px;
}

.al-pencil.er .al-pb:before {
  display: none;
}

.al-sq {
  background: var(--surface);
  width: 40px;
  height: 40px;
  color: var(--ink);
  cursor: pointer;
  border: 0;
  border-radius: 12px;
  justify-content: center;
  align-items: center;
  margin: 8px 0 0 30px;
  display: flex;
  box-shadow: 0 2px 8px #1f2a441f;
}

.al-sq:hover, .al-sq[aria-pressed="true"] {
  background: var(--primary-soft);
  color: var(--primary);
}

.al-gnav {
  z-index: 400;
  background: var(--surface);
  border-radius: 12px;
  flex-direction: column;
  display: flex;
  position: absolute;
  top: 50%;
  right: 14px;
  overflow: hidden;
  transform: translateY(-50%);
  box-shadow: 0 2px 10px #1f2a4424;
}

.al-gnav button {
  background: var(--surface);
  width: 40px;
  height: 40px;
  color: var(--ink);
  cursor: pointer;
  border: 0;
  justify-content: center;
  align-items: center;
  font-size: 17px;
  line-height: 1;
  display: flex;
}

.al-gnav button + button {
  border-top: 1px solid var(--line);
}

.al-gnav button:hover {
  background: var(--primary-soft);
  color: var(--primary);
}

.al-blk button, .al-blk [role="button"], .al-blk select, .al-blk label, .al-bar button, .al-bar a, .al-top a {
  cursor: pointer;
}

.al-blk button:disabled, .al-bar button:disabled {
  cursor: default;
}

.al-blk input, .al-blk textarea {
  cursor: text;
}

.al-t-pen .tl-canvas, .al-t-hl .tl-canvas, .al-t-pen .al-ink .al-blk, .al-t-hl .al-ink .al-blk {
  cursor: none !important;
}

.al-t-eraser .tl-canvas {
  cursor: crosshair !important;
}

.al-t-hand .tl-canvas {
  cursor: grab !important;
}

.al-t-pointer .tl-canvas {
  cursor: default !important;
}

.al-ink .al-blk {
  pointer-events: none;
  cursor: crosshair;
}

#al-aic {
  z-index: 900;
  pointer-events: none;
  will-change: transform;
  opacity: 0;
  font-family: var(--font-sans);
  transition: opacity .25s;
  position: fixed;
  top: 0;
  left: 0;
}

#al-aic.on {
  opacity: 1;
}

#al-aic svg {
  position: absolute;
}

#al-aic .arrow {
  width: 22px;
  height: 30px;
  top: -2px;
  left: -3px;
}

#al-aic .pen {
  width: 26px;
  height: 26px;
  display: none;
  position: absolute;
  top: -24px;
  left: -2px;
}

#al-aic.writing .arrow {
  display: none;
}

#al-aic.writing .pen {
  display: block;
}

.al-aib {
  white-space: nowrap;
  border: 1.5px solid;
  border-radius: 8px;
  padding: 6px 11px;
  font-size: 13px;
  font-weight: 500;
  position: absolute;
  top: 24px;
  left: 20px;
  box-shadow: 0 6px 16px #1f2a4424;
}

#al-aic.writing .al-aib {
  top: 4px;
  left: 22px;
}

.al-aib.listening {
  background: var(--danger-soft);
  color: #be185d;
  border-color: #fbcfe8;
}

.al-aib.thinking {
  background: var(--primary-soft);
  color: var(--primary);
  border-color: #bfdbfe;
}

.al-aib.math {
  background: var(--right-soft);
  color: #0e7490;
  border-color: #a5f3fc;
}

.al-aib.taking-look {
  background: var(--paper);
  color: #c2410c;
  border-color: #fed7aa;
}

.al-aib.checking {
  color: #a16207;
  background: #fef3c7;
  border-color: #fde68a;
}

.al-aib.writing {
  background: var(--tutor-soft);
  color: #4b2fa8;
  border-color: #ddd0fb;
}

#al-scan {
  pointer-events: none;
  z-index: 890;
  opacity: 0;
  border-radius: 8px;
  transition: opacity .25s;
  position: fixed;
  overflow: hidden;
}

#al-scan.on {
  opacity: 1;
}

#al-scan i {
  background: var(--right);
  height: 2px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  box-shadow: 0 0 12px #1f9d6bcc, 0 0 30px #1f9d6b59;
}

#al-scan.on i {
  animation: 1.5s ease-in-out infinite alSweep;
}

@keyframes alSweep {
  0% {
    opacity: 0;
    transform: translateY(0);
  }

  12% {
    opacity: 1;
  }

  88% {
    opacity: 1;
  }

  100% {
    transform: translateY(var(--h));
    opacity: 0;
  }
}

@media (max-width: 760px) {
  .al-pencil {
    width: 66px;
  }

  .al-pb {
    margin-right: 16px;
  }

  .al-pencil.er .al-pb {
    margin-right: 26px;
  }

  .al-sq {
    width: 34px;
    height: 34px;
    margin-left: 4px;
  }

  .al-gnav {
    right: 6px;
  }

  .al-gnav button {
    width: 34px;
    height: 34px;
  }
}

.al-shot {
  background: var(--surface);
  border: 1px solid var(--line);
  width: min(300px, 70%);
  color: var(--ink);
  border-radius: 12px;
  flex-direction: column;
  align-self: flex-start;
  gap: 2px;
  margin: 0 0 8px 6px;
  padding: 8px 12px 9px;
  font-size: 13px;
  line-height: 19px;
  display: flex;
  box-shadow: 0 6px 18px #1f2a4429;
}

.al-shot b {
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--primary);
  font-size: 13px;
}

.al-shot span {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.al-shot em {
  color: var(--muted);
  margin-top: 2px;
  font-size: 13px;
  font-style: normal;
}

.al-msgs .you span {
  white-space: pre-line;
}

.al-msgs .you {
  flex-direction: row;
}

.al-msgs .you span {
  background: var(--right);
  flex-direction: column;
  gap: 6px;
  display: flex;
}

.al-msgs .you span q {
  quotes: none;
}

.al-msgs .you span img {
  background: var(--surface);
  border-radius: 8px;
  align-self: flex-end;
  max-width: 180px;
  max-height: 110px;
}

.al-msgs .you b {
  letter-spacing: .02em;
  background: #16a46f;
  font-size: 13px;
  font-weight: 600;
}

.al-bar:has(.al-ctx) {
  z-index: 950;
}

.al-ctx {
  box-sizing: border-box;
  flex-direction: column;
  max-height: 260px;
  transition: max-height .26s;
  display: flex;
}

.al-ctx.big {
  max-height: 520px;
}

.al-ctx[style] {
  max-height: none;
}

.al-ctx.drag {
  transition: none;
}

.al-ctx .al-msgs {
  flex: 1;
  min-height: 0;
  max-height: none;
}

.al-ctx.big .al-msgs {
  max-height: none;
}

.al-ctxh i {
  cursor: ns-resize;
  touch-action: none;
  box-sizing: border-box;
  background-clip: content-box;
  height: 17px;
  padding: 6px 0;
}

.al-snip {
  background: var(--surface) repeating-linear-gradient(var(--surface) 0 9px, var(--primary-soft) 9px 10px);
  border: 2px solid #0b5b3b;
  border-radius: 8px;
  flex: none;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  display: flex;
  overflow: hidden;
}

.al-snip img {
  object-fit: contain;
  width: 100%;
  height: 100%;
}

.al-snip em {
  font: 500 13px/1.1 var(--font-sans);
  color: var(--primary);
  text-align: center;
  word-break: break-word;
  max-height: 36px;
  padding: 0 2px;
  font-style: normal;
  overflow: hidden;
}

.al-send.work {
  width: auto;
  padding: 0 14px;
  font-size: 15px;
  font-weight: 600;
}

.al-send:disabled {
  cursor: not-allowed;
}

.al-count {
  color: #5b6770;
  flex: none;
  padding: 0 4px;
  font-size: 13px;
}

.al-count.over {
  color: var(--danger);
  font-weight: 600;
}

.al-cwhy {
  color: var(--danger-soft);
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  position: absolute;
  bottom: -22px;
  left: 12px;
}

.al-shot.float {
  margin: 0;
  position: absolute;
  bottom: calc(100% + 10px);
  left: 0;
}

.al-ctx .al-shot {
  margin: 10px 0 0 auto;
}

.al-margin {
  background: linear-gradient(90deg, transparent 107px, var(--margin) 107px, var(--margin) 108.5px, transparent 108.5px), repeating-linear-gradient(to bottom, transparent 0 71px, var(--line) 71px 72px), var(--paper);
}

.al-scroll {
  background: linear-gradient(90deg, transparent 107px, var(--margin) 107px, var(--margin) 108.5px, transparent 108.5px), repeating-linear-gradient(to bottom, transparent 0 71px, var(--line) 71px 72px), var(--paper);
  background-attachment: scroll, local, scroll;
}

.al-sheet {
  width: auto;
  max-width: none;
  margin: 0 max(64px, var(--face-room, 0px)) 0 116px;
}

@media (max-width: 760px) {
  .al-margin, .al-scroll {
    background-image: linear-gradient(90deg, transparent 41px, var(--margin) 41px, var(--margin) 42.5px, transparent 42.5px), repeating-linear-gradient(to bottom, transparent 0 71px, var(--line) 71px 72px);
  }

  .al-sheet {
    margin: 0 8px 0 50px;
  }
}

.al-w {
  opacity: 0;
  border-radius: 4px;
  margin: -1px -2px;
  padding: 1px 2px;
  transition: background-color .18s;
}

.al-w.said, .al-chatmath .al-w, .al-sw {
  opacity: 1;
}

.al-penning .al-sw:not(.said):not(.now) {
  opacity: 0;
}

.al-w.now {
  opacity: 1;
  background: #ffe9a8;
  animation: .24s linear both alWrite;
}

@keyframes alWrite {
  from {
    clip-path: inset(0 100% 0 0);
  }

  to {
    clip-path: inset(0);
  }
}

#al-aic.writing .al-aib {
  display: none;
}

#al-aic.writing .pen {
  transform-origin: 2px 24px;
  animation: .22s ease-in-out infinite alternate alJot;
}

@keyframes alJot {
  from {
    transform: rotate(-5deg);
  }

  to {
    transform: rotate(7deg) translateY(-2px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .al-w {
    opacity: 1;
    transition: none;
    animation: none;
  }

  #al-aic.writing .pen {
    animation: none;
  }
}

.al-canvas.al-paper {
  position: relative;
  inset: auto;
}

.al-fill {
  line-height: 44px !important;
}

.al-blank {
  font-family: var(--font-hand);
  color: var(--primary);
  text-align: center;
  background: #2f54eb0d;
  border: 0;
  border-bottom: 2px dashed #9db0f5;
  border-radius: 4px 4px 0 0;
  outline: 0;
  min-width: 90px;
  margin: 0 6px;
  padding: 0 8px;
  font-size: 23px;
  line-height: 30px;
}

.al-blank:focus {
  border-bottom-color: var(--primary);
  background: #2f54eb1a;
}

.al-blank:disabled {
  background: none;
  border-bottom-style: solid;
}

.al-formrow {
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 16px;
  margin: 8px 0 10px;
  display: grid;
}

.al-fnote p {
  margin: 0 0 6px;
  font-size: 17px;
  line-height: 26px;
}

.al-form label {
  grid-template-columns: 150px 1fr;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 22px;
  display: grid;
}

.al-form label span {
  color: var(--muted);
  font-weight: 500;
}

.al-form input, .al-form select {
  font: inherit;
  color: var(--ink);
  border: 1.5px solid var(--line);
  background: var(--surface);
  box-sizing: border-box;
  border-radius: 8px;
  outline: 0;
  width: 100%;
  min-width: 0;
  padding: 7px 10px;
  font-size: 17px;
}

.al-form input:focus, .al-form select:focus {
  border-color: var(--primary);
}

.al-aloud {
  background: #fff8e1;
  border-left: 0;
  border-radius: 8px;
  max-width: 760px;
  font-weight: 500;
  margin: 6px 0 8px !important;
  padding: 10px 16px !important;
  font-size: 23px !important;
  line-height: 38px !important;
}

@media (max-width: 760px) {
  .al-formrow, .al-form label {
    grid-template-columns: 1fr;
  }
}

.al-two {
  gap: 8px;
  width: 100%;
  display: flex;
}

.al-two .al-main:first-child {
  flex: 1;
}

.al-two .al-main:last-child {
  flex: none;
  width: 64px;
  padding: 0;
}

.al-two.even .al-main:last-child {
  width: auto;
  padding: 0 18px;
}

.al-main.hang {
  background: var(--danger);
  color: var(--surface);
}

.al-livedot {
  background: var(--surface);
  border-radius: 50%;
  width: 10px;
  height: 10px;
  animation: 1.1s ease-in-out infinite alPulse;
}

.al-ref {
  box-sizing: border-box;
  min-width: 26px;
  height: 26px;
  color: var(--surface);
  vertical-align: 2px;
  background: #e8a33d;
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  margin: 0 2px;
  padding: 0 5px;
  font-size: 15px;
  font-style: normal;
  font-weight: 600;
  line-height: 1;
  display: inline-flex;
}

.al-pending {
  color: var(--tutor);
  align-items: center;
  gap: 12px;
  font-weight: 500;
  display: flex;
  padding: 10px 0 !important;
}

.al-pending i {
  border: 2.5px solid;
  border-right-color: #0000;
  border-radius: 50%;
  flex: none;
  width: 16px;
  height: 16px;
  animation: .9s linear infinite alSpin;
}

.al-nav {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
  display: flex;
}

.al-nav nav {
  gap: 4px;
  display: flex;
}

.al-nav nav a {
  color: var(--muted);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

.al-nav nav a:hover {
  background: var(--primary-soft);
  color: var(--primary);
}

.al-nav nav a[aria-current] {
  background: var(--right-soft);
  color: var(--brand);
}

.al-composer {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  margin-bottom: 10px;
  padding: 14px;
}

.al-composer:focus-within {
  border-color: var(--primary);
}

.al-composer .al-goal {
  box-shadow: none;
  box-sizing: border-box;
  resize: vertical;
  background: none;
  border: 0;
  outline: 0;
  width: 100%;
  margin: 0;
  padding: 4px 4px 8px;
}

.al-tools {
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  display: flex;
}

.al-tools .al-cta {
  margin: 0 0 0 auto;
}

.al-tools label {
  color: var(--muted);
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  display: flex;
}

.al-tools select, .al-linkbox input {
  font: inherit;
  color: var(--ink);
  background: var(--primary-soft);
  border: 1.5px solid var(--line);
  border-radius: 8px;
  outline: 0;
  padding: 8px 10px;
  font-size: 15px;
}

.al-tools select:focus, .al-linkbox input:focus {
  border-color: var(--primary);
}

.al-linkbox {
  flex: 1;
  gap: 8px;
  min-width: 240px;
  display: flex;
}

.al-linkbox input {
  flex: 1;
  min-width: 0;
}

.al-tool {
  font: inherit;
  color: var(--primary);
  background: var(--primary-soft);
  cursor: pointer;
  white-space: nowrap;
  border: 0;
  border-radius: 8px;
  padding: 9px 14px;
  font-size: 15px;
  font-weight: 500;
}

.al-tool:hover {
  background: var(--primary-soft);
}

.al-tool:disabled {
  opacity: .5;
  cursor: default;
}

.al-atts {
  flex-direction: column;
  gap: 6px;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
}

.al-atts li {
  background: var(--primary-soft);
  border-radius: 8px;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  font-size: 15px;
  display: flex;
}

.al-atts b {
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--tutor);
  flex: none;
  font-size: 13px;
}

.al-atts span {
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.al-atts button {
  font: inherit;
  color: var(--danger);
  cursor: pointer;
  background: none;
  border: 0;
  flex: none;
  font-size: 13px;
  font-weight: 500;
}

.al-state {
  background: var(--primary-soft);
  border: 1.5px dashed var(--line);
  color: var(--muted);
  border-radius: 12px;
  align-items: center;
  gap: 12px;
  margin: 10px 0;
  padding: 18px 20px;
  font-size: 17px;
  line-height: 24px;
  display: flex;
}

.al-state.warn {
  background: var(--danger-soft);
  color: #b4232a;
  border-color: #f3b7b9;
}

.al-state a {
  color: var(--primary);
  margin-left: 6px;
  font-weight: 500;
}

.al-spin {
  border: 2.5px solid var(--primary);
  border-right-color: #0000;
  border-radius: 50%;
  flex: none;
  width: 16px;
  height: 16px;
  animation: .9s linear infinite alSpin;
}

.al-field {
  color: var(--muted);
  flex-direction: column;
  gap: 6px;
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 500;
  display: flex;
}

.al-field input, .al-field textarea {
  font: inherit;
  color: var(--ink);
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  outline: 0;
  padding: 10px 12px;
  font-size: 17px;
  font-weight: 400;
}

.al-field input:focus, .al-field textarea:focus {
  border-color: var(--primary);
}

.al-hint {
  color: var(--muted);
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 22px;
}

.al-choices {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
  display: grid;
}

.al-choices button {
  font: inherit;
  text-align: left;
  background: var(--surface);
  border: 1.5px solid var(--line);
  cursor: pointer;
  color: var(--ink);
  border-radius: 12px;
  flex-direction: column;
  gap: 2px;
  padding: 12px 14px;
  display: flex;
}

.al-choices button:hover {
  border-color: #9db0f5;
}

.al-choices button[aria-pressed="true"] {
  background: var(--primary-soft);
  border-color: var(--primary);
}

.al-choices b {
  font-size: 17px;
}

.al-choices span {
  color: var(--muted);
  font-size: 13px;
}

.al-okmsg {
  color: var(--right);
  font-weight: 500;
}

.al-graph {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  width: 100%;
  height: auto;
  margin: 8px 0 14px;
}

.al-graph line {
  stroke: var(--line);
  stroke-width: 1.5px;
}

.al-graph text {
  fill: var(--ink);
  font-size: 13px;
  font-family: var(--font-sans);
  pointer-events: none;
}

.al-graph .course circle {
  fill: var(--right);
}

.al-graph .course text {
  font-size: 13px;
  font-weight: 600;
}

.al-graph .concept {
  cursor: pointer;
}

.al-graph .concept circle {
  fill: var(--marker);
  stroke: var(--surface);
  stroke-width: 2px;
}

.al-graph .concept:hover circle, .al-graph .concept.on circle, .al-graph .concept:focus circle {
  fill: var(--primary);
}

.al-graph g:focus {
  outline: 0;
}

.al-card {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  margin: 0 0 12px;
  padding: 16px 18px;
}

.al-card b {
  font-size: 17px;
}

.al-card p {
  margin: 6px 0;
  font-size: 17px;
  line-height: 24px;
}

.al-card blockquote {
  background: #fff8e1;
  border-left: 0;
  border-radius: 8px;
  margin: 8px 0 12px;
  padding: 6px 14px;
  font-size: 15px;
  line-height: 23px;
}

.al-card .al-cta {
  margin: 0;
}

.al-mine button {
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.al-conns {
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 10px;
  display: grid;
}

.al-conns div {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  flex-direction: column;
  gap: 2px;
  padding: 12px 14px;
  display: flex;
}

.al-conns b {
  font-size: 17px;
}

.al-conns span {
  color: var(--muted);
  font-size: 13px;
}

.al-conns em {
  color: #b26a00;
  margin-top: 6px;
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
}

.al-cards {
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 12px;
  max-width: 720px;
  margin: 10px 0 8px;
  display: grid;
}

.al-fcard {
  flex-direction: column;
  gap: 6px;
  display: flex;
}

.al-fcard .face {
  text-align: left;
  background: var(--surface);
  border: 1.5px solid var(--line);
  min-height: 150px;
  color: var(--ink);
  border-radius: 12px;
  flex-direction: column;
  gap: 8px;
  padding: 12px 14px;
  font-size: 17px;
  line-height: 24px;
  transition: transform .25s, background .25s;
  display: flex;
  box-shadow: 0 4px 14px #1f2a440f;
}

.al-fcard .face small {
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: 13px;
  font-weight: 600;
}

.al-fcard .face span {
  flex: 1;
}

.al-fcard .face em {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}

.al-fcard.back .face {
  border-color: var(--marker);
  background: #fff7dc;
  transform: rotate(-.6deg);
}

.al-fcard.back .face small {
  color: #b26a00;
}

.al-fcard.got .face {
  border-color: var(--right);
}

.al-fcard.again .face {
  border-color: var(--danger);
}

.al-fmark {
  gap: 6px;
  display: flex;
}

.al-fmark button {
  border: 1.5px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  border-radius: 8px;
  flex: 1;
  padding: 6px 8px;
  font-size: 15px;
  font-weight: 500;
}

.al-fmark button:first-child[aria-pressed="true"] {
  background: var(--right-soft);
  border-color: var(--right);
  color: var(--right);
}

.al-fmark button:last-child[aria-pressed="true"] {
  background: var(--danger-soft);
  border-color: var(--danger);
  color: var(--danger);
}

.al-tip {
  color: var(--muted);
  font-size: 15px;
  line-height: 22px !important;
}

.al-match {
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 760px;
  margin: 8px 0;
  display: grid;
}

.al-match > div {
  align-content: start;
  gap: 8px;
  display: grid;
}

.al-match button {
  text-align: left;
  background: var(--surface);
  border: 1.5px solid var(--line);
  color: var(--ink);
  border-radius: 12px;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  padding: 9px 12px;
  font-size: 17px;
  line-height: 24px;
  display: flex;
}

.al-match button i {
  background: var(--primary-soft);
  width: 24px;
  height: 24px;
  color: var(--primary);
  border-radius: 8px;
  flex: none;
  justify-content: center;
  align-items: center;
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
  display: inline-flex;
}

.al-match button em {
  font-style: normal;
  font-family: var(--font-hand);
  color: var(--primary);
  flex-basis: 100%;
  font-size: 23px;
  line-height: 26px;
}

.al-match button[aria-pressed="true"] {
  border-color: var(--primary);
  background: var(--primary-soft);
}

.al-match button.has {
  border-color: #b8c4f0;
}

.al-match button.used {
  opacity: .5;
}

.al-match button:disabled {
  cursor: default;
}

.al-numline {
  cursor: crosshair;
  touch-action: manipulation;
  width: 100%;
  max-width: 720px;
  margin: 6px 0;
  display: block;
}

.al-numline line {
  stroke: var(--ink);
  stroke-width: 2px;
  stroke-linecap: round;
}

.al-numline text {
  fill: var(--muted);
  font-size: 13px;
  font-family: var(--font-sans);
}

.al-numline circle {
  fill: var(--primary);
  stroke: var(--surface);
  stroke-width: 2px;
}

.al-numline text.v {
  fill: var(--primary);
  font-size: 15px;
  font-weight: 600;
}

.al-graphb {
  background: var(--surface);
  border: 1px solid var(--line);
  cursor: crosshair;
  touch-action: manipulation;
  border-radius: 8px;
  width: 100%;
  margin: 6px 0;
  display: block;
}

.al-graphb line {
  stroke: var(--primary-soft);
  stroke-width: 1px;
}

.al-graphb line.ax {
  stroke: var(--ink);
  stroke-width: 2px;
}

.al-graphb line.ln {
  stroke: var(--tutor);
  stroke-width: 2.5px;
  stroke-linecap: round;
}

.al-graphb text {
  fill: var(--muted);
  font-size: 13px;
  font-family: var(--font-sans);
}

.al-graphb circle {
  fill: var(--primary);
  stroke: var(--surface);
  stroke-width: 2px;
}

.al-graphb text.v {
  fill: var(--primary);
  font-size: 13px;
  font-weight: 600;
}

.al-pod {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  max-width: 720px;
  margin: 8px 0;
  padding: 12px 14px;
  box-shadow: 0 4px 14px #1f2a440f;
}

.al-podbar {
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  display: flex;
}

.al-podbar button {
  background: var(--primary);
  color: var(--surface);
  border: 0;
  border-radius: 12px;
  padding: 8px 16px;
  font-size: 15px;
  font-weight: 500;
}

.al-podbar span {
  color: var(--muted);
  font-size: 13px;
}

.al-podlines p {
  border-left: 3px solid #0000;
  border-radius: 8px;
  padding: 4px 8px;
  font-size: 17px;
  line-height: 26px;
}

.al-podlines p b {
  min-width: 54px;
  color: var(--tutor);
  margin-right: 8px;
  font-size: 13px;
  display: inline-block;
}

.al-podlines p.now {
  background: var(--tutor-soft);
  border-left-color: var(--tutor);
}

.al-video {
  max-width: 640px;
  margin: 8px 0;
}

.al-video iframe {
  aspect-ratio: 16 / 9;
  background: var(--ink);
  pointer-events: all;
  border: 0;
  border-radius: 12px;
  width: 100%;
  display: block;
  box-shadow: 0 6px 20px #1f2a4424;
}

.al-video p {
  color: var(--muted);
  justify-content: space-between;
  gap: 12px;
  font-size: 15px;
  display: flex;
  margin-top: 6px !important;
  line-height: 22px !important;
}

.al-video p b {
  color: var(--ink);
  font-weight: 500;
}

.al-check {
  color: var(--ink);
  align-items: center;
  gap: 8px;
  font-size: 15px;
  display: flex !important;
}

.al-check input {
  width: 18px;
  height: 18px;
  accent-color: var(--brand);
}

.al-atts li.bad {
  border-color: var(--danger);
}

.al-atts li.bad span {
  color: var(--danger);
}

.al-atts li .al-spin {
  vertical-align: -2px;
  margin-right: 6px;
  display: inline-block;
}

.al-atts li.bad span {
  white-space: normal;
  overflow: visible;
}

.al-check input {
  accent-color: var(--primary);
}

.al-cells td.pick {
  cursor: cell;
  -webkit-user-select: none;
  user-select: none;
}

.al-cells.drag td {
  cursor: cell;
}

.al-fx em {
  font-style: normal;
  font-weight: 600;
}

.al-steps {
  max-width: 720px;
  margin: 6px 0 8px;
  padding-left: 26px;
}

.al-steps li {
  margin: 0 0 6px;
  padding-left: 4px;
  animation: .3s alIn;
}

.al-steps li span {
  display: block;
}

.al-steps li em {
  color: var(--tutor);
  font-size: 15px;
  font-style: normal;
  line-height: 24px;
  display: block;
}

@keyframes alIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
}

.al-step {
  border: 1.5px solid var(--primary);
  background: var(--surface);
  color: var(--primary);
  border-radius: 12px;
  padding: 6px 14px;
  font-size: 15px;
  font-weight: 500;
}

.al-bucket {
  gap: 8px;
  max-width: 760px;
  margin: 8px 0;
  display: grid;
}

.al-bucket > div {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 14px;
  padding: 8px 12px;
  display: flex;
}

.al-bucket span {
  flex: 240px;
  font-size: 17px;
  line-height: 24px;
}

.al-bucket [role="group"] {
  flex-wrap: wrap;
  gap: 6px;
  display: flex;
}

.al-bucket button {
  border: 1.5px solid var(--line);
  background: var(--primary-soft);
  color: var(--ink);
  border-radius: 8px;
  padding: 5px 10px;
  font-size: 13px;
  font-weight: 500;
}

.al-bucket button[aria-pressed="true"] {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--surface);
}

.al-checks {
  gap: 8px;
  max-width: 720px;
  margin: 8px 0;
  display: grid;
}

.al-checks label {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 14px;
  font-size: 17px;
  line-height: 26px;
  display: flex;
}

.al-checks input {
  width: 20px;
  height: 20px;
  accent-color: var(--right);
  flex: none;
  margin-top: 3px;
}

.al-checks label.on {
  border-color: var(--right);
  background: var(--right-soft);
}

.al-numrow {
  align-items: baseline;
  gap: 10px;
  display: flex;
  margin: 6px 0 !important;
}

.al-numin {
  border: 0;
  border-bottom: 2px dashed var(--line);
  width: 150px;
  font-family: var(--font-hand);
  color: var(--primary);
  background: none;
  outline: 0;
  padding: 0 4px;
  font-size: 28px;
  line-height: 36px;
}

.al-numin:focus {
  border-bottom-color: var(--primary);
}

.al-numrow span {
  color: var(--muted);
}

.al-sim {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 18px;
  max-width: 720px;
  margin: 8px 0;
  padding: 14px 18px;
  display: grid;
  box-shadow: 0 4px 14px #1f2a440f;
}

.al-sim > div {
  gap: 10px;
  display: grid;
}

.al-sim label {
  gap: 2px;
  font-size: 15px;
  line-height: 22px;
  display: grid;
}

.al-sim label span {
  color: var(--muted);
  justify-content: space-between;
  display: flex;
}

.al-sim label b {
  color: var(--ink);
}

.al-sim input[type="range"] {
  width: 100%;
  accent-color: var(--primary);
}

.al-sim > p {
  text-align: right;
  min-width: 150px;
  line-height: 1.2 !important;
}

.al-sim small {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: 13px;
  font-weight: 500;
  display: block;
}

.al-sim strong {
  color: var(--tutor);
  font-size: 23px;
}

.al-clock {
  align-items: center;
  gap: 12px;
  display: flex;
  margin: 4px 0 !important;
}

.al-clock b {
  font-variant-numeric: tabular-nums;
  color: var(--primary);
  background: var(--primary-soft);
  border-radius: 8px;
  padding: 0 10px;
  font-size: 23px;
}

.al-clock span {
  color: var(--muted);
  font-size: 15px;
}

.al-clock.run b {
  color: #b26a00;
  background: #fff1cc;
}

.al-clock.over b {
  background: var(--danger-soft);
  color: var(--danger);
}

.al-code {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 12px;
  max-width: 720px;
  margin: 8px 0;
  overflow: hidden;
  box-shadow: 0 4px 14px #1f2a440f;
}

.al-code > div {
  background: var(--primary-soft);
  justify-content: space-between;
  align-items: center;
  padding: 6px 10px;
  line-height: 1.2;
  display: flex;
}

.al-code > div b {
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--muted);
  font-size: 13px;
}

.al-code > div button {
  background: var(--primary);
  color: var(--surface);
  border: 0;
  border-radius: 8px;
  padding: 6px 16px;
  font-size: 15px;
  font-weight: 500;
}

.al-code textarea {
  box-sizing: border-box;
  resize: vertical;
  color: #273469;
  background: var(--surface);
  tab-size: 2;
  border: 0;
  outline: 0;
  width: 100%;
  padding: 10px 12px;
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 15px;
  line-height: 22px;
  display: block;
}

.al-code pre {
  border-top: 1px solid var(--line);
  background: var(--primary-soft);
  color: var(--muted);
  white-space: pre-wrap;
  max-height: 160px;
  margin: 0;
  padding: 8px 12px;
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 13px;
  line-height: 20px;
  overflow: auto;
}

.al-code pre.ok {
  color: var(--right);
}

.al-code pre.bad {
  color: var(--danger);
}

.al-conns.big {
  grid-template-columns: 1fr;
}

.al-conns.big > div {
  justify-items: start;
  gap: 6px;
  display: grid;
}

.al-conns.big em.on {
  color: var(--right);
}

.al-conns.big em.warn {
  color: #b26a00;
}

.al-conns.big code {
  background: var(--primary-soft);
  border: 1px solid var(--line);
  max-width: 100%;
  color: var(--primary);
  white-space: nowrap;
  box-sizing: border-box;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 13px;
  display: block;
  overflow-x: auto;
}

.al-conns a.al-tool {
  text-decoration: none;
  display: inline-block;
}

.al-src {
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--tutor);
  margin-bottom: 4px;
  font-size: 13px;
  font-weight: 600;
  display: block;
}

.al-hint a {
  color: var(--primary);
}

.al-sumbox {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  max-width: 720px;
  margin: 8px 0;
  padding: 10px 16px;
}

.al-sumbox small {
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--tutor);
  margin-top: 6px;
  font-size: 13px;
  font-weight: 600;
  line-height: 22px;
  display: block;
}

.al-sumbox ul {
  margin: 0;
  padding-left: 22px;
}

.al-sumbox li {
  font-size: 17px;
  line-height: 28px;
}

.al-markdoc p {
  font-size: 17px;
  line-height: 34px;
}

.al-markdoc span {
  cursor: pointer;
  border-radius: 4px;
  padding: 2px 0;
}

.al-markdoc span:hover {
  background: #fff4cc;
}

.al-markdoc span.on {
  background: #ffe27a;
  box-shadow: 0 0 0 2px #ffe27a;
}

.al-red > div:not(.al-doct) {
  align-items: flex-start;
  gap: 10px;
  display: flex;
}

.al-red i {
  background: var(--primary-soft);
  width: 24px;
  height: 24px;
  color: var(--primary);
  border-radius: 8px;
  flex: none;
  justify-content: center;
  align-items: center;
  margin-top: 5px;
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
  display: inline-flex;
}

.al-red > div > div {
  flex: 1;
}

.al-doc.al-red button:not(.undo) {
  background: none;
  border: 1.5px solid #0000;
  gap: 0;
  width: 100%;
  padding: 4px 8px;
  display: block;
}

.al-doc.al-red button:not(.undo):hover {
  border-color: var(--line);
  background: var(--surface);
}

.al-red s {
  color: var(--danger);
  margin-right: 8px;
}

.al-red ins {
  color: var(--right);
  background: var(--right-soft);
  border-radius: 4px;
  padding: 0 3px;
  text-decoration: none;
}

.al-red textarea {
  box-sizing: border-box;
  border: 1.5px solid var(--primary);
  width: 100%;
  font: inherit;
  resize: vertical;
  color: var(--ink);
  border-radius: 8px;
  outline: 0;
  padding: 4px 8px;
  font-size: 17px;
  line-height: 26px;
}

.al-doc.al-red button.undo {
  color: var(--muted);
  background: none;
  border: 0;
  flex: none;
  padding: 6px 2px;
  font-size: 13px;
  text-decoration: underline;
}

.al-hot {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  width: 100%;
  max-width: 680px;
  margin: 8px 0;
  display: block;
}

.al-hot text {
  fill: var(--ink);
  font-size: 2.5px;
  font-family: var(--font-sans);
  pointer-events: none;
  font-weight: 500;
}

.al-hot text.t {
  fill: var(--muted);
  font-size: 2.6px;
  font-weight: 600;
}

.al-hot g {
  cursor: pointer;
}

.al-hot g rect, .al-hot g ellipse {
  stroke-width: .5px;
}

.al-hot g:hover rect, .al-hot g:hover ellipse {
  stroke-width: .9px;
}

.al-hot g.on rect, .al-hot g.on ellipse {
  stroke-width: 1.4px;
  fill-opacity: 1;
  filter: drop-shadow(0 .6px 1px #1f2a444d);
}

.al-pic img {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 12px;
  max-width: 100%;
  max-height: 340px;
  display: block;
}

.al-pic small {
  color: var(--muted);
  margin-top: 4px;
  font-size: 13px;
  line-height: 18px;
  display: block;
}

.al-widget {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 12px;
  max-width: 660px;
  margin: 8px 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 14px #1f2a440f;
}

.al-widget .wp {
  pointer-events: none;
  position: absolute;
}

.al-widget iframe {
  pointer-events: all;
  border: 0;
  width: 100%;
  height: 360px;
  display: block;
}

.al-chart {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  width: 100%;
  max-width: 660px;
  margin: 8px 0;
  display: block;
}

.al-chart text {
  fill: var(--muted);
  font-size: 13px;
  font-family: var(--font-sans);
}

.al-chart text.t {
  fill: var(--ink);
  font-size: 15px;
  font-weight: 600;
}

.al-chart text.ax {
  font-size: 13px;
  font-weight: 500;
}

.al-chart text.v {
  fill: var(--ink);
  dominant-baseline: middle;
  font-weight: 600;
}

.al-chart line.g {
  stroke: var(--primary-soft);
  stroke-width: 1px;
}

.al-board {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  max-width: 860px;
  margin: 8px 0;
  overflow: hidden;
  box-shadow: 0 4px 14px #1f2a440f;
}

.al-boardt {
  background: var(--primary-soft);
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  line-height: 1.3;
  display: flex;
}

.al-boardt b {
  color: var(--primary);
  font-size: 15px;
}

.al-boardt span {
  color: var(--muted);
  font-size: 13px;
}

.al-boardt em {
  color: var(--tutor);
  margin-left: auto;
  font-size: 13px;
  font-style: normal;
  font-weight: 500;
}

.al-board.jira .al-boardt {
  background: var(--primary-soft);
}

.al-board.hubspot .al-boardt {
  background: #ffefe6;
}

.al-board.hubspot .al-boardt b {
  color: #e8590c;
}

.al-board.roadmap .al-boardt {
  background: var(--right-soft);
}

.al-board.roadmap .al-boardt b {
  color: var(--right);
}

.al-board.journey .al-boardt {
  background: var(--tutor-soft);
}

.al-board.journey .al-boardt b {
  color: var(--tutor);
}

.al-cols {
  align-items: start;
  gap: 8px;
  padding: 10px;
  display: grid;
}

.al-cols > div {
  background: var(--primary-soft);
  border: 1.5px dashed #0000;
  border-radius: 12px;
  align-content: start;
  gap: 6px;
  min-height: 120px;
  padding: 8px;
  display: grid;
}

.al-cols > div.drop {
  border-color: var(--tutor);
  cursor: pointer;
}

.al-cols h4 {
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
  justify-content: space-between;
  margin: 0 0 2px;
  font-size: 13px;
  line-height: 18px;
  display: flex;
}

.al-cols h4 small {
  color: var(--primary);
  font-weight: 600;
}

.al-cols button {
  text-align: left;
  background: var(--surface);
  border: 1.5px solid var(--line);
  color: var(--ink);
  border-radius: 8px;
  gap: 2px;
  padding: 7px 9px;
  line-height: 1.3;
  display: grid;
}

.al-cols button b {
  font-size: 13px;
  font-weight: 500;
}

.al-cols button span {
  color: var(--muted);
  font-size: 13px;
}

.al-cols button[aria-pressed="true"] {
  border-color: var(--tutor);
  background: var(--tutor-soft);
  box-shadow: 0 4px 12px #7c4ddb40;
}

.al-sim code {
  color: var(--muted);
  margin-top: 4px;
  font-size: 13px;
  display: block;
}

.al-fplot {
  grid-column: 1 / -1;
  width: 100%;
  max-width: 340px;
}

.al-fplot text {
  fill: var(--muted);
  font-size: 13px;
  font-family: var(--font-sans);
}

.al-fplot line.g {
  stroke: var(--line);
}

.al-home.wide {
  max-width: 1040px;
}

.al-search {
  border: 1.5px solid var(--line);
  max-width: 420px;
  font: inherit;
  background: var(--surface);
  color: var(--ink);
  border-radius: 12px;
  outline: 0;
  flex: 1;
  padding: 10px 12px;
  font-size: 15px;
}

.al-search:focus {
  border-color: var(--primary);
}

.al-cap {
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: start;
  gap: 18px;
  display: grid;
}

@media (max-width: 860px) {
  .al-cap {
    grid-template-columns: 1fr;
  }
}

.al-capv video, .al-capv > img {
  border: 1.5px solid var(--line);
  background: var(--primary-soft);
  border-radius: 12px;
  width: 100%;
  display: block;
}

.al-capv .al-row {
  justify-content: space-between;
  margin-top: 8px;
}

.al-recdot {
  color: var(--danger);
  font-size: 13px;
  font-weight: 500;
}

.al-recdot:before {
  content: "";
  background: var(--danger);
  border-radius: 50%;
  width: 9px;
  height: 9px;
  margin-right: 7px;
  animation: 1.2s ease-in-out infinite alPulse;
  display: inline-block;
}

.al-state.big {
  justify-items: start;
  gap: 10px;
  padding: 22px;
  display: grid;
}

.al-state.big b {
  color: var(--ink);
  font-size: 17px;
}

.al-shots {
  gap: 6px;
  margin-top: 8px;
  display: flex;
  overflow-x: auto;
}

.al-shots img {
  border: 1px solid var(--line);
  border-radius: 8px;
  height: 54px;
}

.al-capc {
  gap: 10px;
  display: grid;
}

.al-capc h2 {
  margin: 10px 0 0;
}

.al-caplog {
  gap: 8px;
  max-height: 340px;
  display: grid;
  overflow-y: auto;
}

.al-caplog p {
  white-space: pre-wrap;
  border-radius: 12px;
  margin: 0;
  padding: 9px 13px;
  font-size: 15px;
  line-height: 23px;
}

.al-caplog p.user {
  background: var(--primary);
  color: var(--surface);
  justify-self: end;
  max-width: 88%;
}

.al-caplog p.assistant {
  background: var(--surface);
  border: 1.5px solid var(--line);
  justify-self: start;
  max-width: 94%;
}

.al-caplog p.wait {
  color: var(--tutor);
  align-items: center;
  gap: 8px;
  font-weight: 500;
  display: flex;
}

.al-search.full {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
}

.al-howto {
  margin: 0;
  padding-left: 22px;
  font-size: 15px;
  line-height: 26px;
}

.al-howto a {
  color: var(--primary);
  font-weight: 500;
}

.al-idea {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  display: flex;
}

.al-idea small {
  background: var(--primary-soft);
  width: 24px;
  height: 24px;
  color: var(--primary);
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  font-weight: 600;
  display: flex;
}

.al-idea b {
  font-size: 17px;
}

.al-idea span {
  color: var(--muted);
  font-size: 13px;
  line-height: 19px;
}

.al-buildrow {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  grid-template-columns: 1fr 1.2fr;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  display: grid;
}

.al-buildrow b {
  font-size: 15px;
}

.al-mine code, .al-buildrow code {
  color: var(--tutor);
  background: var(--tutor-soft);
  border-radius: 8px;
  padding: 2px 6px;
  font-size: 13px;
}

.al-mine button {
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--line);
  width: 100%;
  color: var(--ink);
  border-radius: 12px;
  padding: 10px 14px;
}

.al-mine button b {
  font-size: 15px;
  display: block;
}

.al-mine button span {
  color: var(--muted);
  font-size: 13px;
}

.al-pre {
  background: var(--primary-soft);
  border: 1px solid var(--line);
  color: #273469;
  white-space: pre;
  border-radius: 12px;
  max-height: 360px;
  margin: 6px 0 10px;
  padding: 12px 14px;
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 13px;
  line-height: 19px;
  overflow-x: auto;
}

.al-key {
  border: 1px solid var(--marker);
  word-break: break-all;
  background: #fff7dc;
  border-radius: 8px;
  margin: 8px 0;
  padding: 8px 10px;
  font-size: 13px;
  display: block;
}

@keyframes fxShake {
  0%, 100% {
    transform: translateX(0);
  }

  20% {
    transform: translateX(-6px);
  }

  40% {
    transform: translateX(5px);
  }

  60% {
    transform: translateX(-4px);
  }

  80% {
    transform: translateX(3px);
  }
}

@keyframes fxNeed {
  0%, 100% {
    box-shadow: 0 0 #f2b93b00;
  }

  50% {
    box-shadow: 0 0 0 6px #f2b93b59;
  }
}

@keyframes fxFlash {
  0% {
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 35%, transparent);
  }

  100% {
    box-shadow: inset 0 0 #0000;
  }
}

.al-blk.fxb-bad {
  --c: var(--danger);
  animation: 1.2s ease-out fxFlash;
}

.al-blk.fxb-need {
  --c: var(--marker);
  animation: 1.2s ease-out fxFlash;
}

.fx-bad {
  outline-offset: 1px;
  outline: 2px solid #e5484d73;
  animation: .45s fxShake;
  border-color: var(--danger) !important;
}

.fx-need {
  outline: 2px dashed var(--marker);
  outline-offset: 2px;
  animation: 1s ease-in-out 3 fxNeed;
  border-color: var(--marker) !important;
}

.al-opts button.fx-bad {
  background: var(--danger-soft);
}

.al-opts button.fx-bad i {
  background: var(--danger);
  color: var(--surface);
}

.al-doc button.fx-bad, .al-markdoc span.fx-bad {
  background: var(--danger-soft);
  -webkit-text-decoration: line-through wavy #e5484d99;
  text-decoration: line-through wavy #e5484d99;
}

.al-fcard.fx-bad .face {
  border-color: var(--danger);
  transform: rotate(1.5deg);
}

.al-fcard.fx-need .face {
  border-style: dashed;
  border-color: var(--marker);
}

.al-fcard.fx-bad, .al-fcard.fx-need {
  outline: 0;
}

.al-hot g.fx-bad rect, .al-hot g.fx-bad ellipse {
  stroke: var(--danger);
  stroke-width: 1.6px;
  stroke-dasharray: 2 1.2;
}

.al-hot g.fx-bad, .al-hot g.fx-need {
  outline: 0;
}

.al-hot g.fx-need rect, .al-hot g.fx-need ellipse {
  stroke: var(--marker);
  stroke-width: 1.2px;
  stroke-dasharray: 1.5 1;
}

.al-cols button.fx-bad {
  background: var(--danger-soft);
  transform-origin: 0 0;
}

.al-checks label.fx-need {
  background: #fff7dc;
}

.al-bucket > div.fx-bad {
  background: var(--danger-soft);
}

.al-bucket > div.fx-need {
  background: #fff7dc;
}

.al-numin.fx-bad, textarea.al-lines.fx-bad {
  color: var(--danger);
  outline: 0;
  border-bottom-color: var(--danger) !important;
}

.al-numin.fx-need, textarea.al-lines.fx-need {
  background: linear-gradient(#0000 70%, #fff1cc 70%);
  outline: 0;
  border-bottom: 2.5px dashed var(--marker) !important;
}

.al-numline.fx-bad circle {
  fill: var(--danger);
}

.al-numline.fx-bad, .al-graphb.fx-bad {
  outline: 0;
}

.al-graphb.fx-bad circle {
  fill: var(--danger);
}

.al-graphb.fx-bad .ln {
  stroke: var(--danger);
  stroke-dasharray: 5 4;
}

.al-sim.fx-bad strong {
  color: var(--danger);
}

.al-code.fx-bad {
  border-color: var(--danger);
}

.al-red > div.fx-need {
  background: #fff7dc;
  border-radius: 8px;
}

.al-match button.fx-bad em {
  color: var(--danger);
  text-decoration: line-through;
}

@media (prefers-reduced-motion: reduce) {
  .fx-bad, .fx-need, .al-blk.fxb-bad, .al-blk.fxb-need {
    animation: none;
  }
}

.al-ticket {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  gap: 10px;
  max-width: 420px;
  margin: 8px 0;
  padding: 12px 14px;
  display: grid;
  box-shadow: 0 4px 14px #1f2a440f;
}

.al-tickh {
  align-items: baseline;
  gap: 8px;
  line-height: 1.3;
  display: flex;
}

.al-tickh b {
  color: var(--primary);
  font-size: 17px;
}

.al-tickh span {
  color: var(--muted);
  flex: 1;
  font-size: 13px;
}

.al-tickh strong {
  color: var(--ink);
  font-size: 19px;
}

.al-tickacct {
  color: var(--muted);
  background: var(--primary-soft);
  border-radius: 8px;
  flex-wrap: wrap;
  gap: 4px 14px;
  padding: 6px 10px;
  font-size: 13px;
  line-height: 20px;
  display: flex;
}

.al-tickacct b {
  color: var(--ink);
}

.al-tickacct em {
  color: var(--tutor);
  font-style: normal;
  font-weight: 500;
}

.al-tickrow {
  border-radius: 12px;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  display: grid;
}

.al-tickrow button {
  border: 1.5px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  border-radius: 12px;
  padding: 8px;
  font-size: 15px;
  font-weight: 600;
}

.al-tickrow button.buy[aria-pressed="true"] {
  background: var(--right);
  border-color: var(--right);
  color: var(--surface);
}

.al-tickrow button.sell[aria-pressed="true"] {
  background: var(--danger);
  border-color: var(--danger);
  color: var(--surface);
}

.al-ticket label {
  color: var(--muted);
  border-radius: 8px;
  grid-template-columns: 110px 1fr;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  line-height: 20px;
  display: grid;
}

.al-ticket select, .al-ticket input {
  border: 1.5px solid var(--line);
  font: inherit;
  color: var(--ink);
  background: var(--surface);
  border-radius: 8px;
  outline: 0;
  min-width: 0;
  padding: 8px 10px;
  font-size: 15px;
}

.al-ticket select:focus, .al-ticket input:focus {
  border-color: var(--primary);
}

.al-tickest {
  border-top: 1px dashed var(--line);
  color: var(--muted);
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2px 10px;
  padding-top: 8px;
  font-size: 15px;
  line-height: 22px;
  display: flex;
}

.al-tickest b {
  color: var(--ink);
  font-size: 17px;
}

.al-tickest em {
  color: var(--danger);
  flex-basis: 100%;
  font-size: 13px;
  font-style: normal;
}

.al-sug {
  flex-wrap: wrap;
  gap: 6px 22px;
  display: flex;
}

.al-main.al-flash {
  animation: 1.1s ease-out alFlash;
}

@keyframes alFlash {
  0% {
    transform: scale(.94);
    box-shadow: 0 0 #ffd43be6;
  }

  35% {
    transform: scale(1.04);
    box-shadow: 0 0 0 10px #ffd43b8c;
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 0 18px #ffd43b00;
  }
}

@media (prefers-reduced-motion: reduce) {
  .al-main.al-flash {
    animation: none;
  }
}

.al-main.al-hold {
  flex-direction: column;
  gap: 1px;
  line-height: 1.15;
}

.al-main.al-hold small {
  opacity: .78;
  font-size: 13px;
  font-weight: 500;
}

.al-main {
  touch-action: manipulation;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

.pg {
  background: var(--paper);
  flex-direction: column;
  display: flex;
  position: fixed;
  inset: 0;
}

.pg-scroll {
  background-attachment: local;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
}

.pg-sheet {
  box-sizing: border-box;
  align-content: start;
  gap: 36px;
  max-width: 920px;
  margin: 0 0 0 150px;
  padding: 36px 28px 96px 0;
  display: grid;
}

.pg-sheet.wide {
  max-width: 1180px;
}

.pg-blk {
  border-color: var(--line);
  padding: 8px 22px 22px 18px;
  animation: .35s ease-out both pgIn;
}

.pg-blk:hover {
  border-color: #cbd5f7;
}

@keyframes pgIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
}

.pg-blk > h3 {
  justify-content: space-between;
  margin-bottom: 6px;
}

.pg-side {
  align-items: center;
  gap: 10px;
  margin-left: auto;
  display: flex;
}

.pg-side em, .pg-mom em {
  font-style: normal;
  font-family: var(--font-hand);
  color: var(--primary);
  font-size: 28px;
  font-weight: 600;
  line-height: 30px;
}

.pg-more {
  color: var(--primary);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

.pg-hand {
  box-sizing: border-box;
  resize: none;
  width: 100%;
  font-family: var(--font-hand);
  color: var(--primary);
  background: repeating-linear-gradient(to bottom, transparent 0 35px, var(--line) 35px 36px);
  border: 0;
  outline: 0;
  margin: 2px 0 0;
  padding: 0 2px;
  font-size: 28px;
  line-height: 36px;
  display: block;
}

.pg-hand::placeholder {
  color: #aeb9ea;
}

.pg-tools {
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  display: flex;
}

.pg-gap {
  flex: 1;
}

.pg-row {
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  display: flex;
}

.pg-ib {
  background: var(--surface);
  border: 1.5px solid var(--line);
  width: 40px;
  height: 40px;
  color: var(--primary);
  border-radius: 12px;
  flex: none;
  justify-content: center;
  align-items: center;
  padding: 0;
  transition: transform .12s, border-color .12s;
  display: inline-flex;
}

.pg-ib:hover {
  border-color: var(--primary);
  transform: translateY(-1px);
}

.pg-ib[aria-pressed="true"] {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--surface);
}

.pg-ib:disabled {
  opacity: .4;
  transform: none;
}

.pg-seg {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  display: inline-flex;
  overflow: hidden;
}

.pg-seg button {
  height: 37px;
  color: var(--muted);
  background: none;
  border: 0;
  padding: 0 13px;
  font-size: 15px;
  font-weight: 500;
}

.pg-seg button + button {
  border-left: 1.5px solid var(--primary-soft);
}

.pg-seg button[aria-pressed="true"] {
  color: var(--ink);
  background: #ffe2a3;
}

.pg-grid {
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 10px;
  margin-top: 6px;
  display: grid;
}

.pg-card {
  box-sizing: border-box;
  text-align: left;
  background: var(--surface);
  border: 1.5px solid var(--line);
  min-width: 0;
  color: var(--ink);
  border-radius: 12px;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 17px;
  line-height: 22px;
  text-decoration: none;
  transition: transform .12s, border-color .12s, box-shadow .12s;
  display: flex;
}

button.pg-card:hover, a.pg-card:hover {
  border-color: var(--primary);
}

.pg-card[aria-pressed="true"] {
  border-color: var(--marker);
  background: #fff6dc;
}

.pg-card:disabled {
  opacity: .6;
  transform: none;
}

.pg-card b {
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  min-width: 0;
  font-weight: 500;
  display: -webkit-box;
  overflow: hidden;
}

.pg-card.two {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0 12px;
  display: grid;
}

.pg-card.two .pg-tile {
  grid-row: 1 / 3;
}

.pg-card.two b {
  -webkit-line-clamp: 1;
}

.pg-card small {
  color: var(--muted);
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 13px;
  font-weight: 500;
  line-height: 18px;
  overflow: hidden;
}

.pg-tile {
  background: var(--c);
  border-radius: 8px;
  flex: none;
  width: 36px;
  height: 36px;
}

@supports (color: color-mix(in lab, red, red)) {
  .pg-tile {
    background: color-mix(in srgb, var(--c) 15%, var(--surface));
  }
}

.pg-tile {
  color: var(--c);
  justify-content: center;
  align-items: center;
  font-size: 15px;
  font-style: normal;
  font-weight: 600;
  line-height: 1;
  display: inline-flex;
}

.pg-tile svg {
  width: 18px;
  height: 18px;
}

.pg-note {
  font-family: var(--font-hand);
  color: var(--muted);
  align-items: center;
  gap: 10px;
  font-size: 23px;
  line-height: 36px;
  display: flex;
}

.pg-note.warn {
  color: var(--danger);
}

.pg-atts {
  gap: 6px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
}

.pg-atts li {
  align-items: center;
  gap: 10px;
  font-size: 15px;
  line-height: 22px;
  display: flex;
}

.pg-atts span {
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.pg-atts li.bad span {
  color: var(--danger);
  white-space: normal;
}

.pg-atts .pg-ib {
  width: 30px;
  height: 30px;
  color: var(--muted);
  background: none;
  border: 0;
}

.pg-atts .al-spin {
  vertical-align: -2px;
  margin-right: 6px;
  display: inline-block;
}

.pg-line {
  align-items: center;
  gap: 8px;
  min-width: 0;
  margin-top: 10px;
  display: flex;
}

.pg-line input {
  border: 0;
  border-bottom: 2px solid var(--line);
  min-width: 0;
  font: inherit;
  color: var(--ink);
  background: none;
  outline: 0;
  flex: 1;
  padding: 4px 2px;
  font-size: 17px;
  line-height: 26px;
}

.pg-line input:focus {
  border-color: var(--primary);
}

.pg-line code {
  flex: 1;
  min-width: 0;
}

.pg-btn {
  background: var(--primary);
  height: 38px;
  color: var(--surface);
  white-space: nowrap;
  border: 0;
  border-radius: 12px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  transition: transform .12s;
  display: inline-flex;
}

.pg-btn:hover {
  transform: translateY(-1px);
}

.pg-btn:disabled {
  opacity: .5;
  transform: none;
}

.pg-btn.ghost {
  background: var(--surface);
  color: var(--brand);
  border: 1.5px solid #cfe3d6;
}

.pg-btn.big {
  background: var(--primary);
  height: 52px;
  color: var(--surface);
  border-radius: 12px;
  padding: 0 24px;
  font-size: 17px;
}

.pg-moms {
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 12px;
  margin-top: 6px;
  display: grid;
}

.pg-mom {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  flex-direction: column;
  gap: 6px;
  padding: 14px;
  font-size: 15px;
  line-height: 22px;
  display: flex;
}

.pg-mom small {
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  display: flex;
}

.pg-mom small .pg-tile {
  border-radius: 8px;
  width: 26px;
  height: 26px;
  font-size: 13px;
}

.pg-mom b {
  font-size: 17px;
  font-weight: 500;
  line-height: 24px;
}

.pg-mom p {
  color: var(--muted);
}

.pg-mom q {
  quotes: none;
  font-family: var(--font-hand);
  color: var(--primary);
  -webkit-line-clamp: 3;
  background: var(--marker);
  border-left: 0;
  -webkit-box-orient: vertical;
  padding-left: 10px;
  font-size: 23px;
  line-height: 28px;
  display: -webkit-box;
  overflow: hidden;
}

@supports (color: color-mix(in lab, red, red)) {
  .pg-mom q {
    background: color-mix(in srgb, var(--marker) 30%, var(--surface));
  }
}

.pg-mom q {
  border-radius: var(--radius-sm);
}

.pg-srcs {
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 12px;
  margin-top: 6px;
  display: grid;
}

.pg-src {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-content: start;
  align-items: center;
  gap: 8px 10px;
  padding: 14px;
  font-size: 15px;
  line-height: 21px;
  display: grid;
}

.pg-src > b {
  font-size: 17px;
  font-weight: 500;
}

.pg-src > :nth-child(n+4) {
  grid-column: 1 / -1;
}

.pg-src > span {
  color: var(--muted);
  text-overflow: ellipsis;
  min-width: 0;
  overflow: hidden;
}

.pg-src > .pg-btn {
  justify-self: start;
}

.pg-src .pg-line, .pg-src .pg-row {
  margin-top: 0;
}

.pg-src code, .pg-rows code {
  box-sizing: border-box;
  white-space: nowrap;
  background: var(--tutor-soft);
  max-width: 100%;
  color: var(--tutor);
  border-radius: 8px;
  padding: 5px 9px;
  font-size: 13px;
  display: block;
  overflow-x: auto;
}

.pg-src details, .pg-how {
  color: var(--muted);
  font-size: 13px;
  line-height: 21px;
}

.pg-src summary, .pg-how summary {
  cursor: pointer;
  color: var(--primary);
  font-size: 13px;
  font-weight: 500;
}

.pg-how {
  margin-top: 10px;
}

.pg-how .al-howto {
  margin-top: 6px;
}

.pg-dot {
  color: #9aa3c0;
  align-items: center;
  gap: 6px;
  font-style: normal;
  font-weight: 600;
  display: inline-flex;
  font-family: var(--font-sans) !important;
  font-size: 13px !important;
  line-height: 1 !important;
}

.pg-dot:before {
  content: "";
  background: currentColor;
  border-radius: 50%;
  width: 8px;
  height: 8px;
}

.pg-dot.on {
  color: var(--right);
}

.pg-dot.setup {
  color: #c9820a;
}

.pg-dot.rec {
  color: var(--danger);
}

.pg-dot.rec:before {
  animation: 1s ease-in-out infinite alPulse;
}

.pg-picks {
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
  display: flex;
}

.pg-picks button {
  background: var(--surface);
  border: 1.5px solid var(--line);
  height: 42px;
  color: var(--ink);
  border-radius: 12px;
  padding: 0 16px;
  font-size: 17px;
  font-weight: 500;
  transition: transform .12s;
}

.pg-picks button:hover {
  border-color: var(--primary);
  transform: translateY(-1px);
}

.pg-picks button[aria-pressed="true"] {
  border-color: var(--marker);
  background: #ffe2a3;
  font-weight: 500;
}

.pg-field {
  align-items: baseline;
  gap: 14px;
  margin-top: 0;
  display: flex;
}

.pg-field span {
  width: 58px;
  color: var(--muted);
  flex: none;
  font-size: 15px;
  font-weight: 500;
}

.pg-field input {
  border: 0;
  border-bottom: 1px solid var(--line);
  min-width: 0;
  font-family: var(--font-hand);
  color: var(--primary);
  background: none;
  outline: 0;
  flex: 1;
  padding: 0 2px;
  font-size: 28px;
  line-height: 35px;
}

.pg-field input:focus {
  border-color: var(--primary);
}

.pg-field input::placeholder {
  color: #b9c2ec;
}

.pg-steps {
  flex-wrap: wrap;
  gap: 22px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
}

.pg-steps li {
  color: #b4b9c9;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 500;
  display: flex;
}

.pg-steps i {
  box-sizing: border-box;
  border: 2px solid;
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  width: 34px;
  height: 34px;
  font-size: 15px;
  font-style: normal;
  display: flex;
}

.pg-steps svg {
  width: 18px;
  height: 18px;
}

.pg-steps li.done {
  color: var(--right);
}

.pg-steps li.done i {
  background: var(--right);
  border-color: var(--right);
  color: var(--surface);
}

.pg-steps li.now {
  color: var(--ink);
}

.pg-steps li.now i {
  border-color: var(--primary);
  color: var(--primary);
  animation: 1s ease-in-out infinite alPulse;
}

.pg-cap {
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  align-items: start;
  gap: 36px;
  display: grid;
}

.pg-cap video, .pg-shot {
  border: 1.5px solid var(--line);
  background: var(--primary-soft);
  border-radius: 12px;
  width: 100%;
  margin-top: 6px;
  display: block;
}

.pg-drop {
  border: 2px dashed var(--line);
  border-radius: 12px;
  justify-items: center;
  gap: 6px;
  margin-top: 6px;
  padding: 54px 0;
  display: grid;
}

.pg-drop small {
  font-family: var(--font-hand);
  color: var(--muted);
  font-size: 23px;
}

.pg-rows {
  gap: 8px;
  margin-top: 6px;
  display: grid;
}

.pg-rows > div {
  align-items: center;
  gap: 12px;
  font-size: 17px;
  line-height: 22px;
  display: flex;
}

.pg-rows b {
  flex: 1;
  font-weight: 500;
}

.pg-rows code {
  display: inline-block;
}

.pg-blk .al-pre {
  margin-top: 12px;
}

.pg-blk .al-graph {
  background: none;
  border: 0;
  margin: 0;
}

.pg-blk .al-key {
  margin: 0;
}

.pg-bar {
  grid-template-columns: 1fr minmax(220px, 440px) 1fr;
  gap: 14px;
  padding: 12px 18px 14px;
  display: grid;
}

.pg-tabs {
  gap: 6px;
  min-width: 0;
  display: flex;
}

.pg-tabs:last-child {
  justify-content: flex-end;
}

.pg-tab {
  box-sizing: border-box;
  background: var(--brand-hover);
  height: 48px;
  color: var(--right-soft);
  white-space: nowrap;
  border-radius: 12px;
  align-items: center;
  gap: 8px;
  padding: 0 13px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: background .12s;
  display: flex;
}

.pg-tab:hover {
  background: #39775a;
}

.pg-tab[aria-current] {
  background: var(--surface);
  color: var(--brand);
  font-weight: 500;
}

.pg-act .al-main {
  box-sizing: border-box;
  border: 0;
  height: 48px;
}

.pg-act a.al-main {
  text-decoration: none;
}

.pg-act .al-main svg {
  width: 19px;
  height: 19px;
}

.pg-find {
  cursor: text;
  justify-content: flex-start;
  padding: 0 16px;
}

.pg-find input {
  min-width: 0;
  font: inherit;
  color: var(--brand);
  background: none;
  border: 0;
  outline: 0;
  flex: 1;
  font-size: 17px;
  font-weight: 500;
}

.pg-find input::placeholder {
  color: #7fa38f;
}

@media (max-width: 1500px) {
  .pg-tab:not([aria-current]) span {
    display: none;
  }

  .pg-tab:not([aria-current]) {
    justify-content: center;
    width: 48px;
    padding: 0;
  }
}

@media (max-width: 760px) {
  .pg-sheet {
    gap: 22px;
    margin-left: 52px;
    padding: 22px 12px 60px 0;
  }

  .pg-bar {
    grid-template-columns: 1fr auto;
  }

  .pg-act {
    order: -1;
    grid-column: 1 / -1;
  }

  .pg-tab span {
    display: none;
  }

  .pg-tab {
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
  }

  .pg-cap {
    grid-template-columns: 1fr;
  }

  .pg-hand {
    font-size: 23px;
  }

  .pg-steps {
    gap: 12px;
  }
}

.pg-sheet {
  counter-reset: blk;
}

.pg-blk {
  counter-increment: blk;
}

.pg-blk > .al-num:before {
  content: counter(blk);
}

.pg-cap {
  counter-increment: none;
}

.pg-hand {
  field-sizing: content;
  min-height: 72px;
  max-height: 286px;
  overflow-y: auto;
}

.al-logo {
  align-items: center;
  display: inline-flex;
}

.al-logo img {
  width: auto;
  height: 30px;
  display: block;
}

.al-top {
  padding-top: 9px;
  padding-bottom: 9px;
}

.al-cast {
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 6px 0;
  display: flex;
}

.al-cast span {
  align-items: center;
  gap: 8px;
  font-size: 15px;
  line-height: 22px;
  display: inline-flex;
}

.al-cast b {
  color: var(--muted);
  font-weight: 500;
}

.al-cast select {
  font: inherit;
  color: var(--primary);
  background: var(--surface);
  border: 1.5px solid var(--line);
  cursor: pointer;
  border-radius: 8px;
  outline: 0;
  max-width: 170px;
  padding: 6px 8px;
  font-size: 15px;
  font-weight: 500;
}

.al-cast select:focus {
  border-color: var(--primary);
}

.pg-stats {
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 10px;
  margin-top: 6px;
  display: grid;
}

.pg-stats > div {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-left: 0;
  border-radius: 12px;
  gap: 0;
  padding: 10px 14px;
  display: grid;
}

.pg-stats em {
  font-style: normal;
  font-family: var(--font-hand);
  color: var(--c);
  font-size: 28px;
  font-weight: 600;
  line-height: 40px;
}

.pg-stats span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 20px;
}

.pg-bars {
  align-items: flex-end;
  gap: 6px;
  height: 150px;
  margin-top: 8px;
  padding-top: 6px;
  display: flex;
}

.pg-bars > div {
  flex-direction: column;
  flex: 1;
  justify-content: flex-end;
  align-items: center;
  gap: 4px;
  min-width: 0;
  display: flex;
}

.pg-bars i {
  background: #c9d4fa;
  border-radius: 8px 8px 4px 4px;
  align-items: flex-end;
  width: 100%;
  max-width: 38px;
  display: flex;
  overflow: hidden;
}

.pg-bars b {
  background: var(--right);
  width: 100%;
  display: block;
}

.pg-bars small {
  color: var(--muted);
  font-size: 13px;
  line-height: 14px;
}

.pg-key {
  color: var(--muted);
  align-items: center;
  gap: 8px;
  line-height: 20px;
  display: flex;
  margin-top: 8px !important;
  font-size: 13px !important;
}

.pg-key i {
  border-radius: 4px;
  width: 12px;
  height: 12px;
  margin-left: 8px;
}

.pg-key i.a {
  background: #c9d4fa;
  margin-left: 0;
}

.pg-key i.b {
  background: var(--right);
}

.pg-table {
  border-collapse: collapse;
  width: 100%;
  margin-top: 6px;
  font-size: 15px;
  line-height: 22px;
}

.pg-table th {
  text-align: left;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 2px solid var(--line);
  white-space: nowrap;
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 600;
}

.pg-table td {
  border-bottom: 1px solid var(--primary-soft);
  vertical-align: middle;
  padding: 8px 10px;
}

.pg-table td:first-child {
  align-items: center;
  gap: 10px;
  display: flex;
}

.pg-table td span {
  display: grid;
}

.pg-table td small {
  color: var(--muted);
  font-size: 13px;
  line-height: 17px;
}

.pg-table td b {
  font-weight: 500;
}

.pg-table.click tbody tr {
  cursor: pointer;
}

.pg-table.click tbody tr:hover td {
  background: var(--primary-soft);
}

.pg-table .pg-btn {
  height: 32px;
  padding: 0 12px;
  font-size: 13px;
}

.pg-code {
  box-sizing: border-box;
  border: 1.5px solid var(--line);
  background: var(--surface);
  color: #273469;
  resize: vertical;
  border-radius: 12px;
  outline: 0;
  width: 100%;
  margin-top: 8px;
  padding: 12px 14px;
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 13px;
  line-height: 20px;
  display: block;
}

.pg-code:focus {
  border-color: var(--primary);
}

.pg-wrap {
  white-space: pre-wrap;
  max-height: 520px;
}

.al-top {
  z-index: 600;
  position: relative;
}

.al-me {
  align-items: center;
  gap: 10px;
  min-height: 38px;
  margin-left: auto;
  display: flex;
  position: relative;
}

.al-me small {
  color: var(--danger);
  font-size: 13px;
}

.al-me .pg-btn {
  height: 36px;
}

.al-who {
  border: 1.5px solid var(--line);
  background: var(--surface);
  height: 38px;
  color: var(--ink);
  cursor: pointer;
  border-radius: 12px;
  align-items: center;
  gap: 8px;
  padding: 0 12px 0 4px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  display: flex;
}

.al-who i {
  width: 28px;
  height: 28px;
  color: var(--brand);
  background: #ffe2a3;
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  font-style: normal;
  font-weight: 600;
  display: flex;
}

.al-memenu {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  gap: 2px;
  min-width: 210px;
  padding: 8px;
  display: grid;
  position: absolute;
  top: 44px;
  right: 0;
  box-shadow: 0 12px 30px #1f2a4424;
}

.al-memenu small {
  color: var(--muted);
  text-overflow: ellipsis;
  padding: 4px 8px 8px;
  font-size: 13px;
  overflow: hidden;
}

.al-memenu a, .al-memenu button {
  text-align: left;
  color: var(--ink);
  cursor: pointer;
  background: none;
  border: 0;
  border-radius: 8px;
  padding: 8px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

.al-memenu a:hover, .al-memenu button:hover {
  background: var(--primary-soft);
  color: var(--primary);
}

@media (max-width: 760px) {
  .al-who span {
    display: none;
  }

  .al-who {
    padding: 0 4px;
  }

  .al-ttl {
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
    overflow: hidden;
  }
}

.pg-alert {
  background: var(--danger-soft);
  color: #b4232a;
  border: 1.5px solid #f3b7b9;
  border-left: 0;
  border-radius: 12px;
  margin: 0;
  padding: 12px 16px;
  font-size: 17px;
  font-weight: 500;
  line-height: 24px;
}

.pg-prices {
  gap: 4px;
  max-width: 640px;
  margin-top: 8px;
  display: grid;
}

.pg-prices .pg-field span {
  width: 330px;
}

.pg-prices .pg-field input {
  font-family: var(--font-sans);
  color: var(--ink);
  font-size: 17px;
  line-height: 28px;
}

.pg-prices .pg-btn {
  justify-self: start;
  margin-top: 8px;
}

.al-share {
  margin-left: auto;
}

.al-share + .al-me {
  margin-left: 0;
}

.al-share .pg-btn svg {
  width: 17px;
  height: 17px;
}

.al-memenu.wide {
  gap: 8px;
  min-width: 340px;
  padding: 12px;
}

.al-memenu.wide small {
  color: var(--muted);
  white-space: normal;
  padding: 0;
}

.al-memenu.wide b {
  margin-top: 4px;
  font-size: 15px;
  font-weight: 500;
}

.al-linkrow {
  align-items: center;
  gap: 8px;
  display: flex;
}

.al-linkrow input {
  min-width: 0;
  font: inherit;
  color: var(--primary);
  background: var(--primary-soft);
  border: 1.5px solid var(--line);
  border-radius: 8px;
  outline: 0;
  flex: 1;
  padding: 9px 10px;
  font-size: 13px;
}

.al-lrow {
  justify-content: space-between;
  gap: 12px;
  font-size: 15px;
  line-height: 22px;
  display: flex;
}

.al-lrow em {
  font-style: normal;
  font-family: var(--font-hand);
  color: var(--primary);
  font-size: 23px;
  font-weight: 600;
}

@media (max-width: 760px) {
  .al-share .pg-btn span {
    display: none;
  }

  .al-share .pg-btn {
    padding: 0 10px;
  }

  .al-memenu.wide {
    z-index: 60;
    width: auto;
    min-width: 0;
    max-height: calc(100dvh - 80px);
    position: fixed;
    top: 58px;
    left: 16px;
    right: 16px;
    overflow-y: auto;
  }
}

.pg-meets {
  gap: 18px;
  margin-top: 14px;
  display: grid;
}

.pg-meet {
  gap: 8px;
  display: grid;
}

.pg-meet > header {
  border-bottom: 2px solid var(--line);
  align-items: center;
  gap: 12px;
  padding-bottom: 6px;
  display: flex;
}

.pg-meet > header > span {
  flex: 1;
  min-width: 0;
  display: grid;
}

.pg-meet > header b {
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 17px;
  font-weight: 500;
  line-height: 26px;
  overflow: hidden;
}

.pg-meet > header small {
  color: var(--muted);
  font-size: 13px;
  line-height: 18px;
}

.pg-meet > header em {
  font-style: normal;
  font-family: var(--font-hand);
  color: var(--primary);
  font-size: 28px;
  font-weight: 600;
  line-height: 30px;
}

.pg-meet .pg-ib {
  width: 34px;
  height: 34px;
}

.pg-none {
  font-family: var(--font-hand);
  color: var(--muted);
  line-height: 32px;
  font-size: 23px !important;
}

.pg-skill {
  font-weight: 500;
  color: var(--ink) !important;
}

.pg-skill mark {
  color: var(--ink);
  background: linear-gradient(#0000 55%, #ffe2a3 55%);
  padding: 0 3px;
  font-weight: 500;
}

button.al-exit {
  cursor: pointer;
  font-family: inherit;
}

.al-confirm {
  z-index: 2000;
  background: #1f4d3a61;
  justify-content: center;
  align-items: center;
  padding: 20px;
  animation: .18s ease-out pgIn;
  display: flex;
  position: fixed;
  inset: 0;
}

.al-confirm > div {
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  gap: 8px;
  width: min(420px, 100%);
  padding: 22px 24px;
  display: grid;
  box-shadow: 0 24px 60px #1f2a4440;
}

.al-confirm b {
  color: var(--ink);
  font-size: 23px;
  font-weight: 500;
  line-height: 30px;
}

.al-confirm p {
  color: var(--muted);
  margin: 0;
  font-size: 17px;
  line-height: 24px;
}

.al-confirm span {
  justify-content: flex-end;
  gap: 10px;
  margin-top: 10px;
  display: flex;
}

.al-confirm span button, .al-confirm span a {
  cursor: pointer;
  background: var(--primary);
  height: 46px;
  color: var(--surface);
  border: 0;
  border-radius: 12px;
  align-items: center;
  padding: 0 22px;
  font-family: inherit;
  font-size: 17px;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
}

.al-confirm span a.go {
  background: var(--danger);
  color: var(--surface);
}

.sa {
  --hand: var(--font-sans);
  background: var(--surface);
  color: var(--ink);
  grid-template-columns: 232px minmax(0, 1fr);
  font-size: 15px;
  line-height: 22px;
  display: grid;
  position: fixed;
  inset: 0;
}

.sa-side {
  background: var(--surface);
  border-right: 1px solid var(--line);
  flex-direction: column;
  gap: 6px;
  padding: 18px 12px 14px;
  display: flex;
}

.sa-side .al-logo {
  padding: 2px 10px 16px;
}

.sa-side .al-logo img {
  height: 30px;
}

.sa-side nav {
  gap: 2px;
  display: grid;
}

.sa-low {
  border-top: 1px solid var(--primary-soft);
  margin-top: auto;
  padding-top: 10px;
}

.sa-link {
  height: 40px;
  color: var(--muted);
  border-radius: 8px;
  align-items: center;
  gap: 11px;
  padding: 0 12px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: background .12s, color .12s;
  display: flex;
}

.sa-link svg {
  flex: none;
  width: 19px;
  height: 19px;
}

.sa-link:hover {
  background: var(--paper);
  color: var(--ink);
}

.sa-link[aria-current] {
  background: var(--right-soft);
  color: var(--brand);
  font-weight: 600;
}

.sa-main {
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  display: flex;
}

.sa-head {
  z-index: 600;
  box-sizing: border-box;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  flex: none;
  align-items: center;
  gap: 14px;
  min-height: 64px;
  padding: 10px 28px;
  display: flex;
  position: relative;
}

.sa-head h1 {
  letter-spacing: -.01em;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
  margin: 0;
  font-size: 19px;
  font-weight: 500;
  line-height: 28px;
  overflow: hidden;
}

.sa-head .al-me {
  margin-left: 0;
}

.sa-head .pg-act {
  display: flex;
}

.sa-head .pg-act .al-main {
  background: var(--primary);
  width: auto;
  height: 42px;
  color: var(--surface);
  cursor: pointer;
  border: 0;
  border-radius: 12px;
  flex: none;
  gap: 9px;
  padding: 0 18px;
  font-size: 15px;
  font-weight: 500;
  transition: background .12s;
}

.sa-head .pg-act .al-main:hover {
  background: var(--primary);
  filter: brightness(.92);
}

.sa-head .pg-act .al-main:disabled {
  background: var(--primary);
}

@supports (color: color-mix(in lab, red, red)) {
  .sa-head .pg-act .al-main:disabled {
    background: color-mix(in srgb, var(--primary) 40%, var(--surface));
  }
}

.sa-head .pg-act .al-main:disabled {
  opacity: 1;
  cursor: default;
}

.sa-head .pg-act .al-main .al-spin {
  border-color: var(--surface);
  border-right-color: #0000;
}

.sa-head .pg-act .pg-find {
  background: var(--surface);
  border: 1.5px solid var(--primary-soft);
  color: var(--muted);
  cursor: text;
  width: 280px;
}

.sa-head .pg-act .pg-find:hover {
  background: var(--surface);
}

.sa-head .pg-act .pg-find:focus-within {
  border-color: var(--primary);
  background: var(--surface);
}

.sa-head .pg-find input {
  color: var(--ink);
  font-size: 15px;
  font-weight: 400;
}

.sa-head .pg-find input::placeholder {
  color: var(--muted);
}

.sa-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
}

.sa-sheet {
  box-sizing: border-box;
  align-content: start;
  gap: 18px;
  max-width: 920px;
  margin: 0 auto;
  padding: 26px 28px 60px;
  display: grid;
}

.sa-sheet.wide {
  max-width: 1240px;
}

.sa-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px 22px 22px;
  font-size: 15px;
  line-height: 22px;
  animation: none;
  position: relative;
  box-shadow: 0 1px 2px #1f2a440a;
}

.sa-card:hover {
  border-color: var(--line);
}

.sa-card > h3 {
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 0 0 4px;
  font-size: 17px;
  font-weight: 500;
  line-height: 26px;
  display: flex;
}

.sa-card p {
  margin: 0;
}

.sa-sub {
  color: var(--muted);
  font-size: 15px;
  line-height: 21px;
  margin: 0 0 10px !important;
}

.sa-sub b {
  color: var(--brand);
  font-weight: 500;
}

.sa .pg-side em, .sa .pg-meet > header em {
  color: var(--muted);
  background: var(--primary-soft);
  border-radius: 8px;
  padding: 2px 8px;
  font-size: 13px;
  font-weight: 500;
  line-height: 20px;
}

.sa .pg-hand {
  color: var(--ink);
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  min-height: 86px;
  margin-top: 8px;
  padding: 12px 14px;
  font-size: 17px;
  line-height: 26px;
}

.sa .pg-hand:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px #3b5bdb1f;
}

.sa .pg-hand::placeholder {
  color: #9aa3c0;
}

.sa .pg-note {
  color: var(--muted);
  padding: 6px 0;
  font-size: 15px;
  line-height: 22px;
}

.sa .pg-note.warn {
  color: var(--danger);
}

.sa .pg-none {
  color: var(--muted);
  line-height: 22px;
  font-size: 15px !important;
}

.sa .pg-drop small {
  color: var(--muted);
  font-size: 15px;
}

.sa .pg-field {
  align-items: center;
  margin-top: 10px;
}

.sa .pg-field span {
  width: 64px;
  font-size: 15px;
}

.sa .pg-field input {
  color: var(--ink);
  border: 1.5px solid var(--line);
  background: var(--surface);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 15px;
  line-height: 24px;
}

.sa .pg-field input:focus {
  border-color: var(--primary);
}

.sa .pg-field input::placeholder {
  color: #9aa3c0;
}

.sa .pg-prices .pg-field span {
  width: 330px;
}

.sa .pg-line input {
  border: 1.5px solid var(--line);
  background: var(--surface);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 15px;
}

.sa .pg-seg button[aria-pressed="true"], .sa .pg-picks button[aria-pressed="true"] {
  background: var(--right-soft);
  color: var(--brand);
  border-color: #9ccbb0;
  font-weight: 500;
}

.sa .pg-seg button {
  height: 36px;
}

.sa .pg-picks button {
  height: 40px;
  font-size: 15px;
}

.sa .pg-card {
  border-color: var(--line);
  font-size: 15px;
}

.sa .pg-card[aria-pressed="true"] {
  background: var(--right-soft);
  border-color: #9ccbb0;
}

.sa .pg-mom {
  border-color: var(--line);
}

.sa .pg-mom q {
  color: var(--ink);
  background: var(--paper);
  border-left: 0;
  border-radius: 0 8px 8px 0;
  padding: 6px 10px;
  font-size: 15px;
  font-style: italic;
  line-height: 22px;
}

.sa .pg-skill mark {
  color: var(--brand);
  background: none;
  padding: 0;
}

.sa .pg-stats em {
  color: var(--ink);
  font-size: 28px;
  line-height: 34px;
}

.sa .pg-stats > div {
  border-left-width: 4px;
}

.sa .pg-btn.big {
  background: var(--brand);
  color: var(--surface);
  border-radius: 12px;
  height: 44px;
  font-size: 15px;
}

.sa .pg-btn.big .al-spin {
  border-color: var(--surface);
  border-right-color: #0000;
}

.sa .pg-meet > header b {
  font-size: 17px;
  line-height: 24px;
}

.sa .al-graph {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.sa .pg-steps {
  margin-top: 14px;
}

.sa .al-err {
  font-size: 15px;
}

@media (max-width: 860px) {
  .sa {
    grid-template-rows: minmax(0, 1fr) auto;
    grid-template-columns: 1fr;
  }

  .sa-side {
    border-right: 0;
    border-top: 1px solid var(--line);
    flex-direction: row;
    order: 2;
    align-items: center;
    gap: 2px;
    padding: 6px 8px;
    overflow-x: auto;
  }

  .sa-side .al-logo {
    display: none;
  }

  .sa-side nav {
    flex: 1;
    justify-content: space-around;
    gap: 2px;
    display: flex;
  }

  .sa-low {
    border: 0;
    margin: 0;
    padding: 0;
    flex: 0 auto !important;
  }

  .sa-link {
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    height: 50px;
    padding: 0 8px;
    font-size: 13px;
  }

  .sa-link[aria-current] {
    box-shadow: none;
  }

  .sa-head {
    gap: 8px;
    min-height: 56px;
    padding: 8px 14px;
  }

  .sa-head h1 {
    font-size: 17px;
  }

  .sa-head .pg-act .al-main {
    height: 40px;
    padding: 0 12px;
  }

  .sa-head .pg-act .pg-find {
    width: 150px;
  }

  .sa-sheet {
    gap: 12px;
    padding: 14px 12px 30px;
  }

  .sa-card {
    padding: 16px 14px;
  }

  .sa .pg-prices .pg-field span {
    width: 150px;
  }
}

.sa-head .pg-act {
  order: 0;
  grid-column: auto;
}

@media (max-width: 860px) {
  .sa-link {
    flex: 1;
    min-width: 0;
    padding: 0 5px;
  }

  .sa-side nav {
    flex: 6;
    gap: 0;
  }

  .sa-low {
    flex: 2 !important;
  }

  .sa-link span {
    text-overflow: ellipsis;
    max-width: 100%;
    overflow: hidden;
  }
}

.mg {
  margin-top: 8px;
  position: relative;
}

.mg-canvas {
  border: 1px solid var(--line);
  background: var(--surface);
  cursor: grab;
  border-radius: 12px;
  height: min(68vh, 640px);
  min-height: 420px;
  overflow: hidden;
}

.mg-canvas:active {
  cursor: grabbing;
}

.mg-tools {
  gap: 6px;
  display: flex;
  position: absolute;
  top: 12px;
  right: 12px;
}

.mg-tools button {
  border: 1.5px solid var(--line);
  background: var(--surface);
  min-width: 36px;
  height: 36px;
  color: var(--primary);
  cursor: pointer;
  border-radius: 8px;
  padding: 0 10px;
  font-family: inherit;
  font-size: 17px;
  font-weight: 500;
}

.mg-tools button:hover {
  border-color: var(--primary);
}

.mg-help {
  color: var(--muted);
  pointer-events: none;
  font-size: 13px;
  position: absolute;
  bottom: 10px;
  left: 14px;
  margin: 0 !important;
}

.sa-head .pg-act {
  gap: 8px;
}

.sa-sheet {
  grid-template-columns: minmax(0, 1fr);
}

.sa-card {
  min-width: 0;
}

.mg {
  min-width: 0;
  overflow: hidden;
}

.mg-canvas {
  width: 100%;
}

.mg-canvas canvas {
  display: block;
}

.lib-cats {
  flex-wrap: wrap;
  gap: 6px;
  display: flex;
}

.lib-cats button {
  border: 1.5px solid var(--primary-soft);
  background: var(--surface);
  height: 36px;
  color: var(--muted);
  cursor: pointer;
  border-radius: 8px;
  padding: 0 13px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
}

.lib-cats button:hover {
  border-color: #9ccbb0;
}

.lib-cats button[aria-pressed="true"] {
  background: var(--right-soft);
  color: var(--brand);
  border-color: #9ccbb0;
  font-weight: 500;
}

.lib-sec h2 {
  align-items: center;
  gap: 10px;
  margin: 8px 0 12px;
  font-size: 17px;
  font-weight: 500;
  line-height: 26px;
  display: flex;
}

.lib-sec h2 em {
  color: var(--muted);
  background: var(--primary-soft);
  border-radius: 8px;
  padding: 1px 8px;
  font-size: 13px;
  font-style: normal;
  font-weight: 500;
}

.ml-list {
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
}

.ml-row {
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: 12px;
  grid-template-columns: 44px minmax(0, 1fr) auto 24px;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  text-decoration: none;
  transition: border-color .12s, box-shadow .12s;
  display: grid;
}

.ml-row:hover, .ml-row:focus-visible {
  border-color: var(--primary);
  outline: 0;
  box-shadow: 0 3px 14px #3b5bdb1f;
}

.ml-ico {
  background: var(--primary-soft);
  width: 44px;
  height: 44px;
  color: var(--primary);
  border-radius: 12px;
  place-items: center;
  display: grid;
}

.ml-row.done .ml-ico {
  background: var(--right-soft);
  color: var(--right);
}

.ml-row.read .ml-ico {
  color: #b07a00;
  background: #fff6d6;
}

.ml-main {
  gap: 3px;
  min-width: 0;
  display: grid;
}

.ml-main b {
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 17px;
  font-weight: 500;
  line-height: 22px;
  overflow: hidden;
}

.ml-main small {
  color: var(--muted);
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  line-height: 19px;
  overflow: hidden;
}

.ml-bar {
  background: var(--primary-soft);
  border-radius: 4px;
  max-width: 320px;
  height: 6px;
  margin-top: 5px;
  display: block;
  overflow: hidden;
}

.ml-bar i {
  background: var(--primary);
  border-radius: 4px;
  height: 100%;
  display: block;
}

.ml-row.done .ml-bar i {
  background: var(--right);
}

.ml-meta {
  text-align: right;
  white-space: nowrap;
  justify-items: end;
  gap: 2px;
  display: grid;
}

.ml-meta em {
  color: var(--ink);
  font-size: 13px;
  font-style: normal;
  font-weight: 500;
}

.ml-row.done .ml-meta em {
  color: var(--right);
}

.ml-meta time {
  color: var(--muted);
  font-size: 13px;
}

.ml-go {
  color: #a9b2cc;
  place-items: center;
  display: grid;
}

.ml-row:hover .ml-go {
  color: var(--primary);
}

@media (max-width: 640px) {
  .ml-row {
    grid-template-columns: 38px minmax(0, 1fr) 20px;
    gap: 10px;
    padding: 12px;
  }

  .ml-ico {
    width: 38px;
    height: 38px;
  }

  .ml-meta {
    text-align: left;
    grid-area: 2 / 2;
    grid-auto-flow: column;
    justify-items: start;
    gap: 10px;
  }

  .ml-go {
    grid-area: 1 / 3 / 3;
  }
}

.lib-grid {
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
  display: grid;
}

.lib-card {
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  min-width: 0;
  color: var(--ink);
  cursor: pointer;
  flex-direction: column;
  padding: 0;
  font-family: inherit;
  transition: transform .14s, box-shadow .14s, border-color .14s;
  display: flex;
  overflow: hidden;
}

.lib-card:hover {
  border-color: var(--primary);
}

.lib-card:disabled {
  opacity: .65;
  cursor: default;
  transform: none;
}

.th {
  aspect-ratio: 16 / 10;
  width: 100%;
  height: auto;
  display: block;
}

.lib-body {
  gap: 4px;
  padding: 12px 14px 14px;
  display: grid;
}

.lib-body b {
  font-size: 17px;
  font-weight: 500;
  line-height: 22px;
}

.lib-body small {
  color: var(--muted);
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  min-height: 38px;
  font-size: 13px;
  line-height: 19px;
  display: -webkit-box;
  overflow: hidden;
}

.lib-meta {
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  display: flex;
}

.lib-meta i {
  color: var(--muted);
  background: var(--primary-soft);
  border-radius: 8px;
  padding: 2px 7px;
  font-size: 13px;
  font-style: normal;
  font-weight: 500;
}

.lib-meta em {
  color: var(--brand);
  margin-left: auto;
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
}

.al-lab {
  font-weight: 600;
}

.al-part {
  font-family: var(--font-sans);
  color: var(--primary);
  letter-spacing: .02em;
  margin: 10px 0 -4px;
  font-size: 15px;
  font-weight: 600;
}

.al-linkrow input.plain {
  color: var(--ink);
}

.al-lrow .al-x {
  color: #c2410c;
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0 6px;
  font-size: 19px;
  line-height: 22px;
}

.al-maillink {
  color: var(--primary);
  font-size: 15px;
  text-decoration: underline;
}

.ml-row.gift {
  background: var(--tutor-soft);
  border-color: #c7b8ff;
}

.mt-drive {
  border: 1.5px solid var(--line);
  background: var(--primary-soft);
  border-radius: 12px;
  gap: 10px;
  margin-top: 12px;
  padding: 14px;
  display: grid;
}

.mt-dlist {
  gap: 2px;
  max-height: 320px;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  overflow-y: auto;
}

.mt-dlist label {
  cursor: pointer;
  border-radius: 8px;
  align-items: center;
  gap: 10px;
  padding: 8px 6px;
  display: flex;
}

.mt-dlist label:hover {
  background: var(--primary-soft);
}

.mt-dlist b {
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
  font-weight: 500;
  overflow: hidden;
}

.mt-dlist small {
  color: var(--muted);
  white-space: nowrap;
}

.mt-dlist input {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
}

.al-who img {
  object-fit: cover;
  border-radius: 8px;
  width: 28px;
  height: 28px;
}

.al-maillink.asbtn {
  font: inherit;
  text-align: left;
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
  font-size: 15px;
}

.al-lrs {
  gap: 6px;
  display: grid;
}

.al-lrs input {
  font: inherit;
  border: 1.5px solid var(--line);
  background: var(--surface);
  border-radius: 8px;
  min-width: 0;
  padding: 8px 10px;
  font-size: 15px;
}

.lti-rows, .lti-list {
  gap: 8px;
  display: grid;
}

.lti-list > div {
  border: 1.5px solid var(--line);
  background: var(--surface);
  border-radius: 12px;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  display: flex;
}

.lti-list > div > span {
  flex-direction: column;
  flex: 1;
  min-width: 0;
  display: flex;
}

.lti-list small {
  color: var(--muted);
  overflow-wrap: anywhere;
  font-size: 13px;
}

.lib-grid:has( > .lc) {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.lib-card.lc {
  cursor: default;
  gap: 4px;
  padding: 10px 10px 14px;
  position: relative;
}

.lc-open {
  z-index: 1;
  border-radius: inherit;
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
  position: absolute;
  inset: 0;
}

.lc-open:disabled {
  cursor: default;
}

.lc.busy {
  opacity: .7;
}

.lc-pic {
  aspect-ratio: 3 / 2;
  background: var(--primary-soft);
  border-radius: 12px;
  display: block;
  position: relative;
  overflow: hidden;
}

.lc-pic .lc-img, .lc-pic .th {
  object-fit: cover;
  aspect-ratio: auto;
  width: 100%;
  height: 100%;
  display: block;
}

.lc-ribbon {
  box-sizing: border-box;
  background: var(--surface);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 80%, 0 100%);
  place-items: start center;
  width: 36px;
  height: 44px;
  padding-top: 7px;
  display: grid;
  position: absolute;
  top: 0;
  left: 14px;
}

.lc-ribbon img {
  object-fit: contain;
  width: 24px;
  height: 24px;
}

.lc-src img {
  object-fit: contain;
  width: 22px;
  height: 22px;
}

.lc-src img.lc-et {
  width: auto;
  height: 20px;
}

.lc-ribbon i, .lc-src i {
  width: 22px;
  height: 22px;
  color: var(--surface);
  font: 700 13px/1 var(--font-sans);
  border-radius: 8px;
  place-items: center;
  font-style: normal;
  display: grid;
}

.lc-over {
  flex-wrap: wrap;
  gap: 6px;
  display: flex;
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 56px;
}

.lc-over i {
  background: var(--surface);
  border-radius: 4px;
  padding: 6px 8px;
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
  line-height: 1;
  box-shadow: 0 2px 8px #1f2a4429;
}

.lc-over .t-new {
  color: var(--right);
  background: var(--right-soft);
}

.lc-over .t-real {
  color: var(--primary);
  background: var(--primary-soft);
}

.lc-over .t-mine {
  color: var(--tutor);
  background: var(--tutor-soft);
}

.lc-fav {
  z-index: 2;
  cursor: pointer;
  background: #fffffff0;
  border: 0;
  border-radius: 12px;
  place-items: center;
  width: 38px;
  height: 38px;
  transition: transform .15s;
  display: grid;
  position: absolute;
  top: 10px;
  right: 10px;
  box-shadow: 0 2px 10px #1f2a442e;
}

.lc-fav:hover {
  transform: scale(1.08);
}

.lc-fav svg path {
  fill: none;
  stroke: var(--danger);
  stroke-width: 2px;
  stroke-linejoin: round;
}

.lc-fav[aria-pressed="true"] svg path {
  fill: var(--danger);
}

.lc-fav[aria-pressed="true"] {
  animation: .3s lc-pop;
}

@keyframes lc-pop {
  50% {
    transform: scale(1.22);
  }
}

.lc-src {
  color: var(--muted);
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 15px;
  display: flex;
}

.lc-title {
  color: var(--ink);
  font-size: 17px;
  font-weight: 600;
  line-height: 23px;
}

.lc-win {
  color: var(--muted);
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: 13px;
  line-height: 19px;
  display: -webkit-box;
  overflow: hidden;
}

.lc-meta {
  color: var(--muted);
  margin-top: 4px;
  font-size: 13px;
}

.lc-go {
  color: var(--primary);
  margin-top: 8px;
  font-size: 15px;
  font-weight: 600;
}

.lib-favs {
  align-items: center;
  gap: 6px;
  display: inline-flex;
}

.lib-favs svg path {
  fill: none;
  stroke: var(--danger);
  stroke-width: 2.2px;
  stroke-linejoin: round;
}

.lib-favs[aria-pressed="true"] svg path {
  fill: var(--danger);
}

.lc-pic + .lc-title {
  margin-top: 10px;
}

.sa-link .sa-pic {
  object-fit: contain;
  flex: none;
  width: 26px;
  height: 26px;
}

.al-blk p.al-tx {
  margin: 0 0 10px;
}

.al-blk p.al-pt {
  background: #ffffffb3;
  border-left: 0;
  border-radius: 0 8px 8px 0;
  grid-template-columns: 34px 1fr;
  align-items: baseline;
  margin: 0 0 8px;
  padding: 6px 12px 6px 8px;
  display: grid;
}

.al-blk p.al-pt.al-ask:before {
  grid-column: 1 / -1;
  justify-self: start;
  margin-bottom: 4px;
}

.al-blk p.al-pt + p.al-tx {
  margin-top: 14px;
}

.al-n {
  color: var(--primary);
  font-size: 19px;
  font-weight: 700;
}

.al-pt .al-lab {
  color: var(--ink);
}

em.al-kw {
  color: inherit;
  background: linear-gradient(#0000 50%, #ffe27a 50%);
  padding: 0 2px;
  font-style: normal;
  font-weight: 500;
}

.kt-top {
  font-family: var(--font-sans);
  margin: 6px 0 12px;
}

.kt-h {
  color: var(--primary);
  margin-bottom: 6px;
  font-size: 15px;
  font-weight: 600;
}

.kt-hear, .kt-row {
  flex-wrap: wrap;
  gap: 10px;
  display: flex;
}

.kt-row {
  margin: 10px 0;
}

.kt-say {
  border: 2px solid var(--primary);
  background: var(--primary-soft);
  color: var(--primary);
  font: 600 17px var(--font-sans);
  cursor: pointer;
  border-radius: 12px;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  display: inline-flex;
}

.kt-say.on {
  background: var(--primary);
  color: var(--surface);
}

.kt-say:hover {
  background: var(--primary-soft);
}

.kt-say.on:hover {
  background: var(--primary);
}

.kt-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 0;
  border-radius: 0 12px 12px 0;
  padding: 10px 14px;
}

.kt-card small, .kt-phone small {
  color: #b7791f;
  font-size: 13px;
  font-weight: 600;
  line-height: 20px;
  display: block;
}

.kt-card p {
  font-size: 19px;
  font-weight: 500;
  line-height: 30px;
}

.kt-card.bad {
  border-left-color: var(--danger);
}

.kt-card.bad small {
  color: var(--danger);
}

.kt-card code {
  color: var(--danger);
  font-family: ui-monospace, Menlo, monospace;
  font-size: 17px;
}

.kt-mute {
  color: var(--muted) !important;
  font-weight: 500 !important;
}

.kt-thread {
  flex-direction: column;
  gap: 8px;
  display: flex;
}

.kt-msg {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  grid-template-columns: auto 1fr;
  gap: 2px 10px;
  max-width: 820px;
  padding: 8px 12px;
  font-size: 17px;
  line-height: 27px;
  display: grid;
}

.kt-msg b {
  color: var(--primary);
  font-size: 15px;
}

.kt-msg.hi {
  border: 2px solid var(--danger);
  background: var(--danger-soft);
}

.kt-msg.hi b {
  color: var(--danger);
}

.kt-msg em {
  color: var(--danger);
  grid-column: 1 / -1;
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
}

.kt-msg.solo {
  background: var(--tutor-soft);
  border-left: 0;
  border-radius: 0 12px 12px 0;
}

.kt-msg.solo b {
  color: var(--tutor);
}

.kt-mail .kt-h {
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  padding-bottom: 6px;
  font-size: 17px;
}

.kt-clock {
  background: var(--primary-soft);
  border-radius: 8px;
  align-items: baseline;
  gap: 8px;
  max-width: 360px;
  padding: 6px 12px;
  display: flex;
  position: relative;
  overflow: hidden;
}

.kt-clock i {
  background: var(--line);
  transition: width .25s linear;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
}

.kt-clock b, .kt-clock span {
  color: var(--primary);
  position: relative;
}

.kt-clock b {
  font-size: 23px;
  font-weight: 700;
}

.kt-clock span {
  font-size: 15px;
  font-weight: 500;
}

.kt-clock.low i {
  background: #ffc9cb;
}

.kt-clock.low b, .kt-clock.low span {
  color: var(--danger);
}

.kt-pic {
  font-size: 84px;
  line-height: 104px;
}

.kt-word {
  letter-spacing: .04em;
  color: var(--primary);
  font-size: 28px;
  font-weight: 700;
}

.kt-dir {
  color: var(--tutor);
  align-items: center;
  gap: 10px;
  font-size: 17px;
  display: flex;
}

.kt-phone {
  background: var(--right-soft);
  color: var(--right);
  border-radius: 12px;
  align-items: center;
  gap: 12px;
  max-width: 640px;
  padding: 10px 14px;
  display: flex;
}

.kt-phone small {
  color: var(--right);
}

.kt-phone p {
  color: var(--ink);
  font-size: 17px;
  line-height: 26px;
}

.kt-from {
  color: var(--tutor);
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  display: flex;
}

.kt-table {
  border-collapse: collapse;
  background: var(--surface);
  font-size: 17px;
}

.kt-table th, .kt-table td {
  border: 1px solid var(--line);
  text-align: left;
  padding: 4px 14px;
  line-height: 26px;
}

.kt-table th {
  background: var(--primary-soft);
  color: var(--primary);
}

.kt-cells {
  text-align: left;
  flex: 1;
  gap: 8px;
  display: grid;
}

.kt-cells.head {
  color: var(--primary);
  padding: 0 14px 0 52px;
  font-size: 15px;
}

.kt-min {
  color: var(--primary);
  white-space: nowrap;
  margin-left: auto;
  padding-left: 12px;
  font-size: 15px;
  font-style: normal;
  font-weight: 600;
}

.kt-machine {
  flex-wrap: wrap;
  gap: 10px;
  display: flex;
}

.kt-machine div {
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--tutor);
  border-radius: 12px;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  display: flex;
}

.kt-machine b {
  color: var(--ink);
  font-size: 19px;
}

.kt-spin {
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  display: flex;
}

.kt-spin svg {
  transition: transform 1.4s cubic-bezier(.2, .8, .2, 1);
}

.kt-spin ul {
  margin: 0 0 8px;
  padding: 0;
  list-style: none;
}

.kt-spin li {
  align-items: center;
  gap: 8px;
  font-size: 17px;
  line-height: 28px;
  display: flex;
}

.kt-spin li i {
  border-radius: 4px;
  width: 14px;
  height: 14px;
}

.kt-spin li b {
  color: var(--primary);
  margin-left: 10px;
}

.kt-spin small {
  color: #6b7699;
  margin-top: 6px;
  font-size: 13px;
  display: block;
}

.kt-btn {
  border: 2px solid var(--right);
  background: var(--right-soft);
  color: var(--right);
  font: 600 15px var(--font-sans);
  cursor: pointer;
  border-radius: 12px;
  padding: 8px 14px;
}

.kt-map svg {
  width: 100%;
  max-width: 620px;
  height: auto;
}

.kt-docs [role="tablist"] {
  flex-wrap: wrap;
  gap: 4px;
  display: flex;
}

.kt-docs [role="tab"] {
  border: 1px solid var(--line);
  background: var(--primary-soft);
  color: #5b6690;
  font: 500 15px var(--font-sans);
  cursor: pointer;
  border-bottom: none;
  border-radius: 8px 8px 0 0;
  padding: 6px 14px;
}

.kt-docs [role="tab"][aria-selected="true"] {
  background: var(--surface);
  color: var(--primary);
  border-top: 3px solid var(--primary);
}

.kt-doc {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0 12px 12px;
  padding: 10px 16px;
}

.kt-doc p {
  font-size: 17px;
  line-height: 29px;
}

.kt-charts {
  flex-wrap: wrap;
  gap: 14px;
  display: flex;
}

.kt-charts div {
  background: var(--surface);
  border: 1px solid var(--line);
  text-align: center;
  color: var(--primary);
  border-radius: 12px;
  padding: 6px 10px 2px;
}

.kt-charts div:nth-child(2) {
  color: var(--right);
}

.kt-charts div:nth-child(3) {
  color: #f08c3a;
}

.kt-charts div:nth-child(4) {
  color: var(--tutor);
}

.kt-charts small {
  font-size: 15px;
  font-weight: 700;
  display: block;
}

.kt-two {
  font-family: var(--font-sans);
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 10px 0;
  display: grid;
}

.kt-two button {
  text-align: left;
  background: var(--surface);
  border: 2px solid var(--line);
  cursor: pointer;
  color: var(--ink);
  border-radius: 12px;
  flex-direction: column;
  gap: 4px;
  padding: 12px 16px;
  font-size: 17px;
  line-height: 27px;
  display: flex;
}

.kt-two button b {
  color: var(--primary);
  font-size: 15px;
}

.kt-two button[aria-pressed="true"] {
  border-color: var(--primary);
  background: var(--primary-soft);
}

.kt-two .eq {
  color: #5b6690;
  grid-column: 1 / -1;
  align-items: center;
  padding: 8px;
  font-weight: 500;
}

.kit-compare .al-opts, .kit-tonedial .al-opts, .kit-balance .al-fill {
  display: none;
}

.kt-dial {
  max-width: 760px;
  font-family: var(--font-sans);
  margin: 10px 0;
}

.kt-quote {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  min-height: 60px;
  padding: 12px 16px;
  font-size: 17px !important;
  line-height: 29px !important;
}

.kt-dial input {
  width: 100%;
  accent-color: var(--primary);
  margin: 14px 0 2px;
}

.kt-dial div {
  color: var(--primary);
  justify-content: space-between;
  font-size: 15px;
  font-weight: 600;
  display: flex;
}

.kt-dial div span:last-child {
  color: #f08c3a;
}

.kt-bal {
  font-size: 23px;
  font-weight: 500;
  line-height: 56px;
  font-family: var(--font-sans);
}

.kt-step {
  vertical-align: middle;
  background: var(--primary-soft);
  border-radius: 12px;
  align-items: center;
  gap: 4px;
  margin: 0 6px;
  padding: 2px;
  display: inline-flex;
}

.kt-step button {
  background: var(--primary);
  width: 34px;
  height: 34px;
  color: var(--surface);
  cursor: pointer;
  border: none;
  border-radius: 8px;
  font-size: 19px;
  font-weight: 600;
  line-height: 1;
}

.kt-step b {
  text-align: center;
  min-width: 30px;
  color: var(--primary);
  font-size: 23px;
}

.kt-count {
  color: #5b6690;
  font: 500 15px/24px var(--font-sans) !important;
  margin: 6px 0 !important;
}

.kt-count.ok {
  color: var(--right);
}

.kt-count.over {
  color: var(--danger);
}

.kt-est {
  font-family: var(--font-sans);
  margin: 8px 0;
}

.kt-est label {
  color: var(--tutor);
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  display: flex;
}

.kt-est input {
  width: 110px;
  font: 500 17px var(--font-sans);
  color: var(--ink);
  background: var(--surface);
  border: 2px solid #c9b8f5;
  border-radius: 8px;
  padding: 6px 10px;
}

.kt-sure {
  font: 500 15px var(--font-sans);
  color: #5b6690;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 8px 0;
  display: flex;
}

.kt-sure button {
  border: 2px solid var(--line);
  background: var(--surface);
  color: var(--primary);
  font: 500 15px var(--font-sans);
  cursor: pointer;
  border-radius: 8px;
  padding: 6px 14px;
}

.kt-sure button[aria-pressed="true"] {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--surface);
}

.kt-sure p {
  flex-basis: 100%;
}

.kt-macros {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
  display: grid;
}

.kt-macros button {
  text-align: left;
  background: var(--surface);
  border: 2px solid var(--line);
  cursor: pointer;
  font-family: var(--font-sans);
  border-radius: 12px;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  display: flex;
}

.kt-macros b {
  color: var(--right);
  font-size: 15px;
}

.kt-macros span {
  color: var(--ink);
  font-size: 15px;
  line-height: 23px;
}

.kt-macros button[aria-pressed="true"] {
  border-color: var(--right);
  background: var(--right-soft);
}

.kit-wordbank .al-opts, .kit-fbuild .al-opts, .kit-stress .al-opts {
  flex-flow: wrap;
  gap: 10px;
  display: flex;
}

.kit-wordbank .al-opts button, .kit-fbuild .al-opts button, .kit-stress .al-opts button {
  flex: none;
  width: auto;
  padding: 10px 16px;
  font-size: 19px;
  font-weight: 500;
}

.kit-stress .al-opts button {
  letter-spacing: .03em;
  font-size: 23px;
  font-weight: 700;
}

.kit-stress .al-opts button i {
  display: none;
}

.kit-timeline .al-opts {
  border-top: 4px solid #9db0f2;
  flex-direction: row;
  gap: 0;
  margin-top: 18px;
  padding-top: 14px;
  display: flex;
  overflow-x: auto;
}

.kit-timeline .al-opts button {
  flex-direction: column;
  flex: 1;
  align-items: flex-start;
  min-width: 150px;
  margin: 0 6px;
  position: relative;
}

.kit-timeline .al-opts button:before {
  content: "";
  background: var(--primary);
  border: 3px solid var(--surface);
  border-radius: 50%;
  width: 14px;
  height: 14px;
  position: absolute;
  top: -25px;
  left: 18px;
}

.kit-process .al-opts button {
  margin-bottom: 16px;
  position: relative;
}

.kit-process .al-opts button:not(:last-child):after {
  content: "";
  border: 8px solid #0000;
  border-top-color: #9db0f2;
  border-bottom: none;
  position: absolute;
  bottom: -17px;
  left: 28px;
}

.kit-chatsim .al-opts button {
  background: var(--primary-soft);
  border-radius: 12px 12px 12px 4px;
  max-width: 760px;
}

.kit-chatsim .al-opts button[aria-pressed="true"] {
  background: var(--right-soft);
  border-color: var(--right);
}

.kit-slide .al-doc {
  background: var(--surface);
  border: 2px solid var(--line);
  aspect-ratio: auto;
  border-radius: 8px;
  box-shadow: 0 6px 18px #3b5bdb1f;
}

.kit-slide .al-doct {
  color: var(--primary);
  border: none;
  font-size: 23px;
  font-weight: 700;
}

.kit-lie .al-opts button i {
  background: var(--danger-soft);
  color: var(--danger);
}

@media (max-width: 700px) {
  .kt-two {
    grid-template-columns: 1fr;
  }
}

.kt-card p, .kt-msg span, .kt-quote {
  white-space: pre-line;
}

.kit-quote .al-sim code, .kit-lab .al-sim code {
  display: none;
}

.kt-cells.head {
  padding: 0 0 4px 34px;
}

.bd {
  max-width: 1080px;
  font-family: var(--font-sans);
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 20px;
  margin: 0 auto;
  display: grid;
}

.bd-main, .bd-prev, .bd-tip {
  background: var(--surface);
  border: 1px solid var(--primary-soft);
  border-radius: 12px;
  padding: 24px 26px;
}

.bd-head {
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  display: flex;
}

.bd-head small, .bd-prev small, .bd-tip small {
  color: var(--right);
  margin-bottom: 4px;
  font-size: 13px;
  font-weight: 600;
  display: block;
}

.bd-head h2 {
  color: var(--ink);
  margin: 0;
  font-size: 23px;
  font-weight: 600;
  line-height: 30px;
}

.bd-time {
  text-align: right;
  min-width: 120px;
}

.bd-time b {
  color: var(--primary);
  font-variant-numeric: tabular-nums;
  font-size: 28px;
  font-weight: 700;
  line-height: 36px;
  display: block;
}

.bd-time span {
  color: #6b7699;
  font-size: 13px;
}

.bd-bar {
  background: var(--primary-soft);
  border-radius: 4px;
  height: 8px;
  margin: 18px 0 20px;
  overflow: hidden;
}

.bd-bar i {
  background: linear-gradient(90deg, var(--right), var(--primary));
  border-radius: 4px;
  height: 100%;
  transition: width .3s linear;
  display: block;
}

.bd-steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.bd-steps li {
  grid-template-columns: 32px 1fr;
  align-items: start;
  gap: 14px;
  padding: 9px 0;
  display: grid;
  position: relative;
}

.bd-steps li:not(:last-child):after {
  content: "";
  background: var(--primary-soft);
  width: 2px;
  position: absolute;
  top: 40px;
  bottom: -9px;
  left: 15px;
}

.bd-steps li.done:not(:last-child):after {
  background: #9fdcc3;
}

.bd-dot {
  background: var(--primary-soft);
  width: 32px;
  height: 32px;
  color: var(--muted);
  border-radius: 8px;
  place-items: center;
  font-size: 15px;
  font-weight: 600;
  display: grid;
}

.bd-steps .done .bd-dot {
  background: var(--right-soft);
  color: var(--right);
}

.bd-steps .now .bd-dot {
  background: var(--primary-soft);
  color: var(--primary);
}

.bd-steps .now .bd-dot .al-spin {
  width: 16px;
  height: 16px;
}

.bd-steps b {
  color: var(--muted);
  font-size: 17px;
  font-weight: 500;
  line-height: 32px;
  display: block;
}

.bd-steps .done b {
  color: #3a456b;
}

.bd-steps .now b {
  color: var(--ink);
  font-weight: 600;
}

.bd-steps em {
  color: var(--primary);
  font-size: 15px;
  font-style: normal;
  line-height: 20px;
  animation: .35s bdIn;
  display: block;
}

@keyframes bdIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.bd-side {
  flex-direction: column;
  gap: 20px;
  display: flex;
}

.bd-sk {
  opacity: .45;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  transition: opacity .5s;
  display: grid;
}

.bd-sk.on {
  opacity: 1;
}

.bd-sk i {
  background: var(--primary-soft);
  border-radius: 8px;
  width: 34px;
  height: 34px;
}

.bd-sk.on i {
  background: var(--line);
}

.bd-sk:nth-child(3).on i {
  background: #ffe7a8;
}

.bd-sk:nth-child(4).on i {
  background: #bfead7;
}

.bd-sk:nth-child(5).on i {
  background: #e0d4fb;
}

.bd-sk span {
  flex-direction: column;
  gap: 7px;
  display: flex;
}

.bd-sk u {
  background: linear-gradient(90deg, var(--primary-soft) 25%, var(--surface) 50%, var(--primary-soft) 75%);
  background-size: 200% 100%;
  border-radius: 4px;
  height: 9px;
  animation: 1.6s linear infinite bdSh;
  display: block;
}

@keyframes bdSh {
  to {
    background-position: -200% 0;
  }
}

.bd-tip {
  background: var(--marker);
  border-left: 0;
  border-radius: 0 12px 12px 0;
}

@supports (color: color-mix(in lab, red, red)) {
  .bd-tip {
    background: color-mix(in srgb, var(--marker) 30%, var(--surface));
  }
}

.bd-tip small {
  color: #b7791f;
}

.bd-tip p {
  color: var(--ink);
  margin: 0;
  font-size: 17px;
  line-height: 25px;
  animation: .4s bdIn;
}

@media (max-width: 900px) {
  .bd {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bd-sk u, .bd-steps em, .bd-tip p {
    animation: none;
  }
}

.al-blk .al-ask:not(.al-ask + .al-ask):before {
  content: "Q";
  background: var(--tutor-soft);
  color: var(--tutor);
  border-radius: var(--radius-sm);
  vertical-align: baseline;
  white-space: nowrap;
  margin-right: 8px;
  padding: 0 8px;
  font-size: .86em;
  font-weight: 700;
  line-height: 1.7;
  display: inline-block;
}

@media (min-width: 901px) {
  .sa-sheet, .sa-sheet.wide {
    max-width: none;
    margin: 0;
    padding: 26px 32px 60px;
  }

  .bd {
    max-width: none;
  }
}

.ht {
  background: var(--surface);
  border: 1px solid var(--primary-soft);
  font-family: var(--font-sans);
  border-radius: 12px;
  padding: 18px 20px 16px;
}

.ht-top {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  display: flex;
}

.ht-top small {
  color: #b7791f;
  font-size: 13px;
  font-weight: 600;
}

.ht-tabs {
  gap: 4px;
  display: flex;
}

.ht-tabs button {
  background: var(--primary-soft);
  color: #5b6690;
  font: 500 13px var(--font-sans);
  cursor: pointer;
  border: none;
  border-radius: 8px;
  padding: 5px 11px;
}

.ht-tabs button[aria-selected="true"] {
  background: var(--primary);
  color: var(--surface);
}

.ht-stage {
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}

.ht-page {
  background-image: linear-gradient(var(--line) 1px, transparent 1px);
  background-position: 0 12px;
  background-size: 100% 30px;
  height: 186px;
  padding: 14px 16px;
  position: relative;
}

.ht-q {
  color: var(--ink);
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 500;
  line-height: 24px;
}

.ht-q b {
  background: var(--tutor-soft);
  color: var(--tutor);
  border-left: 0;
  border-radius: 0 4px 4px 0;
  margin-right: 8px;
  padding: 0 7px;
  font-size: 13px;
  display: inline-block;
}

.ht-ink {
  font-family: var(--font-hand, cursive);
  color: var(--primary);
  white-space: nowrap;
  margin: 0;
  font-size: 23px;
  line-height: 30px;
  overflow: hidden;
}

.ht-bar {
  background: var(--brand);
  justify-content: center;
  padding: 10px;
  display: flex;
  position: relative;
}

.ht-btn {
  background: var(--surface);
  width: 230px;
  height: 34px;
  color: var(--brand);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  display: block;
  position: relative;
  overflow: hidden;
}

.ht-btn em {
  justify-content: center;
  align-items: center;
  gap: 6px;
  font-style: normal;
  display: flex;
  position: absolute;
  inset: 0;
}

.ht-hand {
  filter: drop-shadow(0 2px 3px #1f2a4433);
  position: absolute;
}

.ht-note {
  color: var(--ink);
  margin: 4px 0;
  padding-left: 22px;
  font-size: 15px;
  line-height: 22px;
  position: relative;
}

.ht-note:before {
  font-weight: 700;
  position: absolute;
  left: 0;
}

.ht-note.ok:before {
  content: "✓";
  color: var(--right);
}

.ht-note.warn:before {
  content: "✕";
  color: var(--danger);
}

.ht-note.hintn:before {
  content: "?";
  color: var(--tutor);
}

.ht-link {
  color: var(--tutor);
  margin: 2px 0;
  font-size: 15px;
}

.ht-link u {
  text-underline-offset: 4px;
  -webkit-text-decoration: underline dashed;
  text-decoration: underline dashed;
}

.ht-line {
  color: var(--ink);
  margin: 12px 2px 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 23px;
  animation: .4s bdIn;
}

.ht-late {
  opacity: 0;
}

.ht-talk .ht-hand {
  animation: 7s both htPress;
  bottom: -2px;
  right: calc(50% - 30px);
}

.ht-talk .ht-btn {
  animation: 7s both htSquash;
}

.ht-talk .ht-btn .a {
  animation: 7s linear both htA;
}

.ht-talk .ht-btn .b {
  color: var(--surface);
  background: var(--danger);
  animation: 7s linear both htB;
}

.ht-talk .ht-btn .c {
  background: var(--primary-soft);
  color: var(--primary);
  animation: 7s linear both htC;
}

.ht-btn .b i {
  background: var(--surface);
  border-radius: 4px;
  width: 3px;
  height: 6px;
  animation: .5s ease-in-out infinite alternate htWave;
}

.ht-btn .b i:nth-child(2) {
  animation-delay: .1s;
}

.ht-btn .b i:nth-child(3) {
  animation-delay: .25s;
}

.ht-btn .b i:nth-child(4) {
  animation-delay: 50ms;
}

.ht-btn .b i:nth-child(5) {
  animation-delay: .3s;
}

.ht-btn .b i:nth-child(6) {
  animation-delay: .15s;
}

.ht-btn .b i:nth-child(7) {
  animation-delay: .35s;
}

.ht-reveal {
  max-width: 0;
  animation: 7s both htReveal;
}

@keyframes htPress {
  0% {
    transform: translate(70px, 26px);
  }

  12%, 58% {
    transform: translate(0);
  }

  15%, 55% {
    transform: translate(0) scale(.86);
  }

  70%, 100% {
    transform: translate(70px, 26px);
  }
}

@keyframes htSquash {
  0%, 13% {
    transform: none;
  }

  16%, 55% {
    transform: scale(.97);
  }

  58%, 100% {
    transform: none;
  }
}

@keyframes htA {
  0%, 15% {
    opacity: 1;
  }

  16%, 73% {
    opacity: 0;
  }

  74%, 100% {
    opacity: 1;
  }
}

@keyframes htB {
  0%, 15% {
    opacity: 0;
  }

  16%, 56% {
    opacity: 1;
  }

  57%, 100% {
    opacity: 0;
  }
}

@keyframes htC {
  0%, 56% {
    opacity: 0;
  }

  57%, 72% {
    opacity: 1;
  }

  73%, 100% {
    opacity: 0;
  }
}

@keyframes htWave {
  from {
    height: 5px;
  }

  to {
    height: 18px;
  }
}

@keyframes htReveal {
  0%, 70% {
    max-width: 0;
  }

  86%, 100% {
    max-width: 100%;
  }
}

.ht-typing span {
  white-space: nowrap;
  vertical-align: bottom;
  border-right: 2px solid var(--primary);
  width: 0;
  animation: 6.5s steps(20, end) both htType, .7s step-end infinite htCaret;
  display: inline-block;
  overflow: hidden;
}

@keyframes htType {
  0%, 10% {
    width: 0;
  }

  60%, 100% {
    width: 20ch;
  }
}

@keyframes htCaret {
  50% {
    border-color: #0000;
  }
}

.ht-opts {
  flex-direction: column;
  gap: 5px;
  width: 190px;
  display: flex;
}

.ht-opts span {
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: 8px;
  align-items: center;
  gap: 8px;
  padding: 2px 8px;
  font-size: 13px;
  line-height: 22px;
  display: flex;
}

.ht-opts i {
  color: var(--primary);
  background: var(--primary-soft);
  border-radius: 4px;
  padding: 0 5px;
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
}

.ht-draw {
  pointer-events: none;
  width: 210px;
  height: 84px;
  position: absolute;
  top: 54px;
  left: 8px;
}

.ht-draw path {
  fill: none;
  stroke: var(--primary);
  stroke-width: 3px;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 560;
  stroke-dashoffset: 560px;
  animation: 6.5s both htDraw;
}

@keyframes htDraw {
  0%, 18% {
    stroke-dashoffset: 560px;
  }

  50%, 100% {
    stroke-dashoffset: 0;
  }
}

.ht-pencil {
  width: 26px;
  height: 26px;
  margin: -24px 0 0 -2px;
  animation: 6.5s both htPen;
  position: absolute;
  top: 54px;
  left: 8px;
}

.ht-pencil img {
  width: 26px;
  height: 26px;
  display: block;
}

@keyframes htPen {
  0% {
    transform: translate(230px, 90px);
  }

  18% {
    transform: translate(13px, 44px);
  }

  26% {
    transform: translate(70px, 26px);
  }

  34% {
    transform: translate(124px, 36px);
  }

  42% {
    transform: translate(104px, 58px);
  }

  50% {
    transform: translate(16px, 38px);
  }

  62%, 100% {
    transform: translate(230px, 90px);
  }
}

.ht-pen .ht-late {
  animation: 6.5s both htLate;
  position: absolute;
  bottom: 6px;
  left: 16px;
  right: 12px;
}

@keyframes htLate {
  0%, 62% {
    opacity: 0;
    transform: translateY(5px);
  }

  72%, 100% {
    opacity: 1;
    transform: none;
  }
}

.ht-hint .ht-hand {
  animation: 6.5s both htTap;
  top: 86px;
  left: 60px;
}

.ht-hint .ht-late {
  animation: 6.5s both htLate2;
}

.ht-hint .ht-link u {
  animation: 6.5s both htLink;
}

@keyframes htTap {
  0% {
    transform: translate(150px, 70px);
  }

  28%, 44% {
    transform: translate(0);
  }

  34%, 38% {
    transform: translate(0) scale(.84);
  }

  60%, 100% {
    transform: translate(150px, 70px);
  }
}

@keyframes htLink {
  0%, 33% {
    background: none;
  }

  36%, 44% {
    background: var(--tutor-soft);
  }

  50%, 100% {
    background: none;
  }
}

@keyframes htLate2 {
  0%, 46% {
    opacity: 0;
    transform: translateY(5px);
  }

  56%, 100% {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ht-stage * {
    animation: none !important;
  }

  .ht-late {
    opacity: 1;
  }

  .ht-reveal {
    max-width: 100%;
  }

  .ht-typing span {
    width: auto;
  }

  .ht-draw path {
    stroke-dashoffset: 0;
  }

  .ht-btn .b, .ht-btn .c, .ht-hand, .ht-pencil {
    display: none;
  }
}

.al-t-pointer .al-blk, .al-t-pointer .al-blk :not(button):not(button *):not(select) {
  -webkit-user-select: text !important;
  user-select: text !important;
}

.al-t-pointer .al-blk p, .al-t-pointer .al-blk h3, .al-t-pointer .al-blk span {
  cursor: text;
}

.al-t-pointer .al-blk button span, .al-t-pointer .al-blk button p {
  cursor: pointer;
}

.al-blk ::selection {
  background: var(--line);
}

.al-read {
  vertical-align: middle;
  font-family: var(--font-sans);
  display: inline-flex;
  margin: 0 0 0 14px !important;
  line-height: 1 !important;
}

.kt-say.mini {
  border-width: 1.5px;
  border-radius: 8px;
  gap: 6px;
  padding: 5px 11px;
  font-size: 13px;
}

.kt-say.mini svg {
  width: 16px;
  height: 16px;
}

.al-note:before {
  width: 24px;
}

.al-note.ok:before {
  content: "😊";
}

.al-note.warn:before {
  content: "🤔";
}

.ht-note.ok:before {
  content: "😊";
}

.ht-note.warn:before {
  content: "🤔";
}

.ht-note {
  padding-left: 28px;
}

.al-board button {
  touch-action: none;
}

.al-board button.lift {
  opacity: .35;
}

.al-cols > div.over {
  background: var(--primary-soft);
  outline: 2px dashed var(--primary);
  outline-offset: -2px;
}

.al-ghost {
  z-index: 9999;
  pointer-events: none;
  background: var(--surface);
  border: 2px solid var(--primary);
  width: 220px;
  font-family: var(--font-sans);
  border-radius: 12px;
  padding: 8px 12px;
  position: fixed;
  transform: translate(-50%, -60%) rotate(-2deg);
  box-shadow: 0 12px 28px #3b5bdb40;
}

.al-ghost b {
  color: var(--ink);
  font-size: 15px;
  display: block;
}

.al-ghost span {
  color: #6b7699;
  font-size: 13px;
}

.al-blk p.al-win {
  background: #ffffffb8;
  border-radius: 8px;
  margin-left: -8px;
  padding: 2px 12px 2px 8px;
  display: inline-block;
}

.kt-w {
  flex-direction: column;
  gap: 10px;
  margin: 6px 0 10px;
  display: flex;
}

.kt-wh {
  letter-spacing: .02em;
  color: var(--tutor);
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  line-height: 18px;
  display: flex;
}

.kt-wh span {
  font-size: 17px;
}

.kt-w .kt-pic {
  font-size: 52px;
  line-height: 64px;
}

.kt-pics {
  grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
  gap: 8px;
  display: grid;
}

.kt-pics div {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 8px;
  display: flex;
}

.kt-pics span {
  font-size: 28px;
  line-height: 46px;
}

.kt-pics b {
  color: var(--primary);
  font-size: 13px;
  line-height: 16px;
}

.kt-read {
  background: var(--surface);
  border: 1.5px solid var(--tutor-soft);
  border-left: 0;
  border-radius: 12px;
  padding: 8px 14px;
}

.kt-read p {
  margin: 2px 0;
  font-size: 17px;
  line-height: 28px;
}

.kt-gl button {
  font: inherit;
  color: var(--primary);
  border: 0;
  border-bottom: 2px dotted var(--primary);
  cursor: help;
  background: none;
  padding: 0;
}

.kt-gl em {
  color: var(--ink);
  background: #fff4d6;
  border-radius: 8px;
  margin: 0 4px;
  padding: 2px 6px;
  font-size: 15px;
  font-style: normal;
  line-height: 20px;
}

.kt-steps {
  background: var(--primary-soft);
  border-radius: 12px;
  margin: 0;
  padding: 8px 14px 8px 36px;
  font-size: 17px;
  line-height: 28px;
}

.kt-stats {
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 8px;
  display: grid;
}

.kt-stats div {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-top: 4px solid var(--primary);
  border-radius: 12px;
  flex-direction: column;
  padding: 8px 12px;
  display: flex;
}

.kt-stats b {
  color: var(--primary);
  font-size: 23px;
  line-height: 30px;
}

.kt-stats span {
  color: var(--muted);
  font-size: 13px;
  line-height: 18px;
}

.kt-stats div:nth-child(2) {
  border-top-color: var(--right);
}

.kt-stats div:nth-child(2) b {
  color: var(--right);
}

.kt-stats div:nth-child(3) {
  border-top-color: var(--marker);
}

.kt-stats div:nth-child(3) b {
  color: #b7791f;
}

.kt-stats div:nth-child(4) {
  border-top-color: var(--tutor);
}

.kt-stats div:nth-child(4) b {
  color: var(--tutor);
}

.kt-code {
  background: var(--tutor-soft);
  color: #3c2a8a;
  white-space: pre-wrap;
  border: 1.5px solid #dcd3fa;
  border-radius: 12px;
  margin: 0;
  padding: 10px 14px;
  font-size: 15px;
  line-height: 22px;
  overflow-x: auto;
}

.kt-term {
  background: linear-gradient(135deg, #5b3fd6, var(--primary));
  color: var(--surface);
  white-space: pre-wrap;
  border-radius: 12px;
  margin: 0;
  padding: 10px 14px;
  font-size: 15px;
  line-height: 21px;
  overflow-x: auto;
}

.kt-screen {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.kt-screen p {
  border-top: 1px solid var(--primary-soft);
  margin: 0;
  padding: 6px 14px;
  font-size: 15px;
  line-height: 22px;
}

.kt-screen .kt-row {
  border-top: 1px solid var(--primary-soft);
  gap: 8px;
  padding: 8px 14px;
  display: flex;
}

.kt-bar {
  background: var(--primary-soft);
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 13px;
  line-height: 18px;
  display: flex;
}

.kt-bar i {
  background: var(--marker);
  border-radius: 50%;
  width: 9px;
  height: 9px;
}

.kt-bar i:first-child {
  background: var(--danger);
}

.kt-bar i:nth-child(3) {
  background: var(--right);
}

.kt-bar b {
  margin-left: 6px;
}

.kt-bar span {
  color: var(--muted);
  margin-left: auto;
}

.kt-grid {
  justify-content: start;
  gap: 3px;
  display: grid;
}

.kt-grid span {
  background: var(--surface);
  border: 1.5px solid var(--line);
  width: 2.2em;
  height: 2.2em;
  color: var(--primary);
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  font-size: 17px;
  font-weight: 600;
  display: flex;
}

.kt-meter {
  align-items: center;
  gap: 10px;
  font-size: 15px;
  line-height: 20px;
  display: flex;
}

.kt-meter div {
  background: var(--primary-soft);
  border-radius: 8px;
  flex: 1;
  height: 14px;
  overflow: hidden;
}

.kt-meter i {
  background: linear-gradient(90deg, var(--marker), var(--danger));
  height: 100%;
  display: block;
}

.kt-meter b {
  color: var(--danger);
}

.kt-tiles {
  flex-wrap: wrap;
  gap: 6px;
  display: flex;
}

.kt-tiles span {
  background: #fff4d6;
  border: 1.5px solid #f2d58a;
  border-radius: 8px;
  padding: 2px 10px;
  font-size: 17px;
  line-height: 26px;
}

.kt-card.ok {
  background: var(--right-soft);
  border-color: #bfe6d3;
}

.wg-fams {
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  margin: 4px 0 8px;
  display: flex;
}

.wg-fams button {
  font: inherit;
  background: var(--surface);
  border: 1.5px solid var(--line);
  color: var(--ink);
  cursor: pointer;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 13px;
  line-height: 18px;
}

.wg-fams button[aria-selected="true"] {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--surface);
}

.wg-todo {
  color: var(--muted);
  align-items: center;
  gap: 6px;
  margin-left: 8px;
  font-size: 13px;
  display: flex;
}

.wg-sum {
  color: var(--muted);
  margin: 0 0 10px;
  font-size: 15px;
}

.wg-grid {
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 10px;
  display: grid;
}

.wg-card {
  background: var(--surface);
  border: 1.5px solid var(--primary-soft);
  border-top: 5px solid var(--primary);
  border-radius: 12px;
  flex-direction: column;
  gap: 4px;
  padding: 10px 12px;
  display: flex;
}

.wg-card.todo {
  opacity: .6;
}

.wg-top {
  align-items: center;
  gap: 8px;
  display: flex;
}

.wg-top b {
  font-size: 15px;
  line-height: 20px;
}

.wg-ic {
  font-size: 19px;
}

.wg-card p {
  margin: 0;
  font-size: 15px;
  line-height: 20px;
}

.wg-card small {
  color: var(--muted);
  font-size: 13px;
  line-height: 17px;
}

.wg-act {
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 6px;
  display: flex;
}

.wg-act button {
  font: inherit;
  border: 1.5px solid var(--primary);
  background: var(--primary-soft);
  color: var(--primary);
  cursor: pointer;
  border-radius: 8px;
  padding: 5px 9px;
  font-size: 13px;
  line-height: 18px;
}

.wg-act button.wrong {
  border-color: var(--danger);
  background: var(--danger-soft);
  color: var(--danger);
}

.wg-act button.right {
  border-color: var(--right);
  background: var(--right-soft);
  color: var(--right);
}

.wg-act em {
  color: var(--muted);
  font-size: 13px;
}

.kt-svg {
  background: var(--surface);
  border: 1.5px solid var(--primary-soft);
  border-radius: 12px;
  max-width: 100%;
  height: auto;
  display: block;
}

.kt-bar2 {
  border: 2px solid var(--primary);
  border-radius: 8px;
  height: 40px;
  display: flex;
  overflow: hidden;
}

.kt-bar2 i {
  border-right: 2px solid var(--primary);
  background: var(--surface);
  flex: 1;
}

.kt-bar2 i:last-child {
  border-right: 0;
}

.kt-bar2 i.on {
  background: #9db0f5;
}

.jr-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  display: grid;
}

.jr-x {
  font: inherit;
  color: var(--muted);
  cursor: pointer;
  background: none;
  border: 0;
  border-radius: 8px;
  padding: 2px 6px;
  font-size: 23px;
  line-height: 22px;
}

.jr-x:hover {
  background: var(--primary-soft);
  color: var(--primary);
}

.jr-stat {
  background: var(--primary-soft);
  border-radius: 12px;
  flex-direction: column;
  gap: 2px;
  padding: 12px 14px;
  display: flex;
}

.jr-stat b {
  color: var(--primary);
  font-size: 28px;
  font-weight: 600;
  line-height: 32px;
}

.jr-stat span {
  color: var(--muted);
  font-size: 13px;
  line-height: 18px;
}

.jr-stat.s {
  background: var(--paper);
}

.jr-stat.s b {
  color: #e0761f;
}

.jr-stat.l {
  background: var(--tutor-soft);
}

.jr-stat.l b {
  color: var(--tutor);
}

.jr-h {
  color: var(--muted);
  margin: 16px 0 6px;
  font-size: 13px;
  font-weight: 500;
  line-height: 18px;
}

.jr-week {
  border: 1px solid var(--line);
  border-radius: 12px;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  height: 92px;
  padding: 8px 10px 6px;
  display: grid;
}

.jr-week div {
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 3px;
  min-width: 0;
  height: 100%;
  display: flex;
}

.jr-week em {
  color: var(--right);
  min-height: 14px;
  font-size: 13px;
  font-style: normal;
  font-weight: 500;
  line-height: 14px;
}

.jr-week i {
  background: var(--line);
  border-radius: 4px;
  width: 100%;
  max-width: 34px;
  display: block;
}

.jr-week i.on {
  background: var(--right);
}

.jr-week span {
  color: var(--muted);
  font-size: 13px;
  line-height: 16px;
}

.jr-lvl {
  background: var(--primary-soft);
  border-radius: 4px;
  height: 10px;
  margin: 14px 0 4px;
  overflow: hidden;
}

.jr-lvl i {
  background: linear-gradient(90deg, var(--primary), var(--tutor));
  border-radius: 4px;
  height: 100%;
  display: block;
}

.jr-ends {
  color: var(--muted);
  justify-content: space-between;
  gap: 10px;
  margin: 0;
  font-size: 13px;
  line-height: 18px;
  display: flex;
}

.jr-ends span:first-child {
  color: var(--tutor);
  font-weight: 500;
}

.jr-sub {
  color: var(--muted);
  margin: 4px 0;
  font-size: 15px;
  line-height: 20px;
}

.jr-review {
  text-align: left;
  width: 100%;
  font: inherit;
  border: 1.5px solid var(--marker);
  cursor: pointer;
  color: var(--ink);
  background: #fff6dc;
  border-radius: 12px;
  flex-direction: column;
  gap: 2px;
  margin: 14px 0 0;
  padding: 12px 14px;
  display: flex;
}

.jr-review:hover {
  background: #ffefc2;
}

.jr-review b {
  font-size: 17px;
  line-height: 22px;
}

.jr-review span {
  color: var(--muted);
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 13px;
  line-height: 18px;
  overflow: hidden;
}

.jr-path {
  border: 1.5px solid var(--line);
  background: var(--surface);
  border-radius: 12px;
  margin: 10px 0;
  padding: 10px 12px;
}

.jr-ph {
  text-align: left;
  width: 100%;
  font: inherit;
  cursor: pointer;
  color: var(--ink);
  background: none;
  border: 0;
  flex-direction: column;
  padding: 0;
  display: flex;
}

.jr-ph b {
  font-size: 17px;
  line-height: 24px;
}

.jr-ph span {
  color: var(--muted);
  font-size: 13px;
}

.jr-wk {
  flex-direction: column;
  gap: 4px;
  margin-top: 8px;
  display: flex;
}

.jr-wk small {
  color: var(--tutor);
  letter-spacing: .03em;
  font-size: 13px;
  font-weight: 600;
}

.jr-ls {
  text-align: left;
  width: 100%;
  font: inherit;
  background: var(--primary-soft);
  color: var(--ink);
  cursor: pointer;
  border: 1.5px solid #0000;
  border-radius: 8px;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  font-size: 15px;
  line-height: 20px;
  display: flex;
}

.jr-ls i {
  background: var(--line);
  width: 24px;
  height: 24px;
  color: var(--primary);
  border-radius: 8px;
  flex: none;
  justify-content: center;
  align-items: center;
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
  display: flex;
}

.jr-ls span {
  flex: 1;
  min-width: 0;
}

.jr-ls em {
  color: var(--muted);
  white-space: nowrap;
  font-size: 13px;
  font-style: normal;
}

.jr-ls.next {
  border-color: var(--primary);
  background: var(--primary-soft);
}

.jr-ls.next em {
  color: var(--primary);
  font-weight: 500;
}

.jr-ls.done i {
  background: var(--right);
  color: var(--surface);
}

.jr-ls:disabled {
  opacity: .7;
}

.jr-row {
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  display: flex;
}

.jr-form {
  border: 1.5px dashed var(--line);
  border-radius: 12px;
  margin-top: 8px;
  padding: 10px 12px;
}

.jr-btn {
  font: inherit;
  background: var(--primary);
  color: var(--surface);
  border: 1.5px solid var(--primary);
  cursor: pointer;
  white-space: nowrap;
  border-radius: 12px;
  padding: 8px 14px;
  font-size: 15px;
  font-weight: 500;
  line-height: 20px;
  text-decoration: none;
}

.jr-btn:disabled {
  opacity: .55;
}

.jr-btn.ghost {
  background: var(--surface);
  color: var(--primary);
}

.jr-btn.ghost:hover {
  background: var(--primary-soft);
}

.jr-acts {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
  display: grid;
}

.jr-act {
  border: 1px solid var(--line);
  border-radius: 12px;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding: 12px 14px;
  display: flex;
}

.jr-act > b {
  font-size: 15px;
  line-height: 20px;
}

.jr-act > span {
  color: var(--muted);
  flex: 1;
  margin-bottom: 8px;
  font-size: 13px;
  line-height: 18px;
}

@media (max-width: 560px) {
  .jr-acts {
    grid-template-columns: 1fr;
  }

  .jr-stat {
    padding: 10px;
  }

  .jr-stat b {
    font-size: 23px;
    line-height: 26px;
  }
}

.jr-link {
  font: inherit;
  color: var(--primary);
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
  font-size: 15px;
  text-decoration: underline;
}

.jr-rem {
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  display: flex;
}

.jr-rem input {
  font: inherit;
  border: 1.5px solid var(--line);
  color: var(--ink);
  background: var(--surface);
  border-radius: 12px;
  padding: 7px 8px;
  font-size: 15px;
  line-height: 20px;
}

.al-won {
  color: #b7791f;
  font-size: 15px;
  line-height: 20px;
  margin: 2px 0 0 !important;
}

.al-won b {
  color: #f08c3a;
}

.kt-reader {
  background: var(--surface);
  border: 1.5px solid var(--tutor-soft);
  border-left: 0;
  border-radius: 12px;
  padding: 10px 16px 12px;
}

.kt-rh {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  display: flex;
}

.kt-rh b {
  font-size: 17px;
  line-height: 26px;
}

.kt-rh span {
  color: var(--muted);
  font-size: 13px;
}

.kt-rnav {
  gap: 6px;
  margin: 6px 0 2px;
  display: flex;
}

.kt-rnav button {
  font: inherit;
  border: 1.5px solid var(--line);
  background: var(--surface);
  width: 30px;
  height: 30px;
  color: var(--primary);
  cursor: pointer;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
}

.kt-rnav button[aria-selected="true"] {
  background: var(--tutor);
  border-color: var(--tutor);
  color: var(--surface);
}

.kt-reader h4 {
  color: var(--tutor);
  margin: 8px 0 2px;
  font-size: 17px;
  line-height: 26px;
}

.kt-reader p {
  max-width: 70ch;
  margin: 6px 0;
  font-size: 17px;
  line-height: 29px;
}

.kt-reader .kt-row {
  gap: 8px;
  margin-top: 8px;
  display: flex;
}

.kt-outline {
  margin: 4px 0 0;
  padding-left: 22px;
  font-size: 17px;
  line-height: 26px;
}

.al-lines.long {
  font-family: var(--font-sans);
  background: var(--surface);
  border: 1.5px solid var(--line);
  box-sizing: border-box;
  background-image: none;
  border-radius: 12px;
  width: 100%;
  padding: 10px 14px;
  font-size: 17px;
  line-height: 29px;
}

.al-lines.long:focus {
  border-color: var(--primary);
  outline: 0;
}

.al-longgo {
  margin: 6px 0 0 !important;
}

.al-longgo button {
  font: inherit;
  background: var(--primary);
  color: var(--surface);
  cursor: pointer;
  border: 0;
  border-radius: 12px;
  padding: 9px 14px;
  font-size: 15px;
  font-weight: 500;
}

.al-longgo button:disabled {
  opacity: .5;
}

.al-lines.long {
  color: var(--ink);
  max-width: none;
  overflow: auto;
}

.kt-outline {
  list-style: decimal;
}

.kt-outline li {
  display: list-item;
}

.al-sumwait {
  height: 34px;
  margin-top: 8px !important;
}

.al-sumwait span {
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  position: absolute;
  overflow: hidden;
}

.al-aib.summary {
  background: var(--tutor-soft);
  color: #4b2fa8;
  border-color: #ddd0fb;
}

.al-sumbox {
  animation: .4s ease-out both alRise;
}

@keyframes alRise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.al-sumbox.ink [data-row] {
  opacity: 0;
  transition: opacity .15s;
}

.al-sumbox.ink [data-row].on {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .al-sumbox {
    animation: none;
  }
}

.pg-page {
  border: 1.5px solid var(--line);
  background: var(--surface);
  border-left: 0;
  border-radius: 12px;
  gap: 4px;
  margin-top: 6px;
  padding: 16px 18px;
  animation: .35s ease-out both alRise;
  display: grid;
}

.pg-page b {
  color: var(--ink);
  font-size: 17px;
  line-height: 26px;
}

.pg-page small {
  color: var(--muted);
  font-size: 13px;
}

.pg-page ul {
  margin: 6px 0 0;
  padding-left: 20px;
}

.pg-page li {
  color: var(--ink);
  font-size: 15px;
  line-height: 24px;
}

.pg-drop {
  padding: 34px 18px;
}

.pg-link {
  gap: 8px;
  width: 100%;
  max-width: 520px;
  display: flex;
}

.pg-link input {
  flex: 1;
  min-width: 0;
}

.pg-fmt {
  margin-top: 10px;
}

.pg-fmt .pg-seg {
  max-width: 100%;
  overflow-x: auto;
}

.pg-fmt .pg-seg button {
  white-space: nowrap;
  flex: none;
}

.pg-fmtnote {
  color: var(--muted);
  font-size: 15px;
  line-height: 22px;
  margin-top: 8px !important;
}

.pg-wcount {
  color: var(--muted);
  font-size: 15px;
  margin-top: 12px !important;
}

.pg-wlist {
  border: 1.5px solid var(--line);
  background: var(--surface);
  border-radius: 12px;
  gap: 0;
  max-height: 560px;
  margin-top: 8px;
  display: grid;
  overflow: auto;
}

.pg-wlist > div {
  border-top: 1px solid var(--primary-soft);
  grid-template-columns: 54px minmax(140px, 220px) minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 12px;
  padding: 9px 14px;
  font-size: 15px;
  line-height: 22px;
  display: grid;
}

.pg-wlist > div:first-child {
  border-top: 0;
}

.pg-wlist i {
  color: var(--tutor);
  font-variant-numeric: tabular-nums;
  font-style: normal;
  font-weight: 600;
}

.pg-wlist b {
  color: var(--ink);
}

.pg-wlist span {
  color: #5e6890;
  min-width: 0;
}

.pg-wlist code {
  color: var(--brand);
  background: var(--right-soft);
  white-space: nowrap;
  border-radius: 4px;
  padding: 2px 7px;
  font-size: 13px;
}

@media (max-width: 760px) {
  .pg-wlist > div {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .pg-wlist span, .pg-wlist code {
    grid-column: 2;
    justify-self: start;
  }
}

.al-numin.fx-part, textarea.al-lines.fx-part {
  color: #e8590c;
  outline: 0;
  border-bottom-color: #f08c00 !important;
}

.al-blk.fxb-part {
  --c: #f08c00;
  animation: 1.2s ease-out fxFlash;
}

@media (prefers-reduced-motion: reduce) {
  .al-blk.fxb-part {
    animation: none;
  }
}

.al-sronly {
  clip-path: inset(50%);
  white-space: nowrap;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  margin: 0 !important;
  position: absolute !important;
}

.ht-line {
  min-height: 46px;
}

.al-blk, .al-blk.focus {
  border-color: #0000;
}

.al-podlines p.now {
  background: none;
}

.al-podlines mark {
  background: var(--marker);
  color: inherit;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  border-radius: 4px;
  padding: 2px 0;
}

.al-pending.failed {
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.al-buildwait {
  padding: 24px;
  overflow: auto;
}

.pg-pre {
  white-space: pre-wrap;
  word-break: break-word;
  background: var(--tutor-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  max-height: 340px;
  margin: 6px 0 14px;
  padding: 12px;
  font: 13px / 1.5 ui-monospace, Menlo, monospace;
  overflow: auto;
}

.pg-code {
  font: 13px / 1.5 ui-monospace, Menlo, monospace;
}

.pg-lbl {
  color: var(--muted);
  margin: 10px 0 2px;
  font-size: 13px;
  font-weight: 500;
}

.pg-table tr.on td {
  background: var(--tutor-soft);
}

.sa-head .pg-act {
  align-items: center;
  gap: 12px;
}

.jr-bar {
  display: flex;
  position: relative;
}

.jr-chip {
  box-sizing: border-box;
  height: 42px;
  font: inherit;
  background: var(--surface);
  border: 1.5px solid var(--primary-soft);
  cursor: pointer;
  color: var(--muted);
  white-space: nowrap;
  border-radius: 12px;
  align-items: baseline;
  gap: 6px;
  padding: 9px 14px 0;
  display: flex;
  position: relative;
  overflow: hidden;
}

.jr-chip:hover, .jr-chip[aria-expanded="true"] {
  border-color: var(--primary);
  background: var(--surface);
}

.jr-chip b {
  color: var(--primary);
  font-size: 17px;
  font-weight: 600;
  line-height: 22px;
}

.jr-chip b.s {
  color: #f08c3a;
}

.jr-chip span {
  margin-right: 8px;
  font-size: 13px;
}

.jr-chip em {
  color: var(--tutor);
  font-size: 13px;
  font-style: normal;
  font-weight: 500;
}

.jr-chip i {
  color: #8a5a00;
  background: #ffe9a8;
  border-radius: 4px;
  margin-left: 6px;
  padding: 1px 6px;
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
}

.jr-chip u {
  background: var(--primary-soft);
  height: 4px;
  text-decoration: none;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.jr-chip u s {
  background: linear-gradient(90deg, var(--primary), var(--tutor));
  height: 100%;
  text-decoration: none;
  display: block;
}

.jr-pop {
  z-index: 700;
  border-radius: 12px;
  width: min(560px, 92vw);
  max-height: 76vh;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  overflow: auto;
  box-shadow: 0 18px 50px #3c468c38;
}

.jr-pop .sa-card {
  margin: 0;
}

@media (max-width: 900px) {
  .jr-chip span {
    display: none;
  }

  .jr-chip b {
    margin-right: 6px;
  }
}

@media (max-width: 640px) {
  .jr-pop {
    width: auto;
    max-height: calc(100vh - 130px);
    position: fixed;
    top: 62px;
    left: 10px;
    right: 10px;
  }

  .sa-link {
    white-space: nowrap;
    min-width: 0;
    overflow: hidden;
  }
}

.jr-pop .sa-card h2 {
  margin-bottom: 12px;
}

.jr-pop p.jr-h {
  margin: 18px 0 6px;
}

.jr-pop p.jr-sub {
  margin: 12px 0 0;
}

.al-pts {
  box-sizing: border-box;
  border: 1.5px solid var(--primary-soft);
  background: var(--surface);
  height: 38px;
  color: var(--muted);
  white-space: nowrap;
  border-radius: 12px;
  align-items: baseline;
  gap: 6px;
  margin-left: auto;
  padding: 7px 12px 0;
  font-size: 13px;
  transition: border-color .2s, background .2s;
  display: flex;
}

.al-pts b {
  color: var(--primary);
  font-variant-numeric: tabular-nums;
  font-size: 17px;
  font-weight: 600;
  line-height: 22px;
}

.al-pts em {
  color: #f08c3a;
  font-style: normal;
  font-weight: 600;
  animation: .35s ease-out al-ptsin;
}

.al-pts.up {
  background: var(--paper);
  border-color: #f08c3a;
}

.al-pts + .al-share {
  margin-left: 0;
}

@keyframes al-ptsin {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.al-ex {
  background: var(--tutor-soft);
  border-left: 0;
  border-radius: 0 12px 12px 0;
  max-width: 760px;
  margin: 10px 0 6px;
  padding: 8px 14px 6px;
}

.al-ex.folded {
  padding: 6px 14px;
}

.al-exhead {
  color: var(--muted);
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  line-height: 22px;
  display: flex;
  margin: 0 !important;
}

.al-exhead b {
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--tutor);
  font-size: 13px;
}

.al-exhead .al-mini {
  margin-left: auto;
}

.al-exq {
  font-weight: 500;
  margin: 6px 0 2px !important;
}

.al-ex .al-steps {
  margin-bottom: 2px;
}

.al-pic {
  max-width: 560px;
  margin: 6px 0 12px;
}

.al-pic img {
  background: var(--surface);
  border: 2px solid #cfe8d6;
  border-radius: 12px;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 420px;
  display: block;
  box-shadow: 0 2px #cfe8d6;
}

.al-pic figcaption {
  color: var(--muted);
  margin-top: 4px;
  font-size: 13px;
}

.al-aloud .al-snd {
  border-bottom: 3px solid #0000;
  padding-bottom: 1px;
}

.al-aloud .al-snd.ok {
  color: var(--right);
}

.al-aloud .al-snd.check {
  color: #b4690e;
  border-bottom-color: #f2b300;
}

.al-aloud .al-snd.bad {
  color: var(--danger);
  border-bottom-color: var(--danger);
}

.al-aloud .al-snd.skip {
  color: var(--danger);
  border-bottom: 3px dotted var(--danger);
  opacity: .75;
}

.sa.bare {
  grid-template-rows: minmax(0, 1fr);
  grid-template-columns: minmax(0, 1fr);
}

.sa-back {
  width: 38px;
  height: 38px;
  color: var(--brand);
  background: var(--right-soft);
  border-radius: 12px;
  flex: none;
  place-items: center;
  text-decoration: none;
  display: grid;
}

.sa-back:hover {
  background: var(--right-soft);
}

.sa-scroll:has(.rd) {
  overflow: hidden;
}

.sa-sheet:has(.rd) {
  max-width: none;
  height: 100%;
  margin: 0;
  padding: 0;
  display: block;
}

.sa-sheet.wide:has(.rd) {
  max-width: none;
  height: 100%;
  margin: 0;
  padding: 0;
  display: block;
}

.rd {
  grid-template-columns: minmax(0, 1.55fr) minmax(340px, 1fr);
  height: 100%;
  display: grid;
}

.rd-pad {
  border-right: 1px solid var(--line);
  min-width: 0;
  min-height: 0;
  position: relative;
}

.rd-pad .al-rail {
  top: 22px;
}

.rd-pages {
  flex-direction: column;
  gap: 20px;
  padding: 24px 60px 80px 124px;
  display: flex;
  position: absolute;
  inset: 0;
}

.rd-page {
  background: var(--surface);
  border: 1.5px solid #cfe8d6;
  border-radius: 12px;
  flex: none;
  position: relative;
  overflow: hidden;
  box-shadow: 0 3px 14px #1f4d3a14;
}

.rd-page canvas, .rd-page img {
  width: 100%;
  height: auto;
  display: block;
}

.rd-page.img {
  aspect-ratio: auto;
}

.rd-flash {
  pointer-events: none;
  mix-blend-mode: multiply;
  background: #3b5bdb3d;
  border-radius: 4px;
  animation: 10s ease-in-out forwards rdFlash;
  position: absolute;
  box-shadow: 0 0 0 2px #3b5bdb8c;
}

.rd-flash.all {
  mix-blend-mode: normal;
  background: none;
  border-radius: 12px;
  box-shadow: inset 0 0 0 4px #3b5bdbb3;
}

@keyframes rdFlash {
  0% {
    opacity: 0;
  }

  4% {
    opacity: 1;
  }

  12% {
    opacity: .55;
  }

  20% {
    opacity: 1;
  }

  85% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rd-flash {
    animation: 10s linear forwards rdFlashQ;
  }
}

@keyframes rdFlashQ {
  0%, 90% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

.rd-ink {
  pointer-events: none;
  touch-action: none;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

.rd-ink.on {
  pointer-events: auto;
  cursor: crosshair;
}

.rd-ink.rub {
  cursor: cell;
}

.rd-ink path {
  fill: none;
  stroke-width: 2.6px;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rd-ink path.hl {
  stroke-width: 15px;
  opacity: .42;
  mix-blend-mode: multiply;
}

.rd-text {
  line-height: 1;
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.rd-text span {
  white-space: pre;
  color: #0000;
  transform-origin: 0 0;
  cursor: text;
  position: absolute;
}

.rd-text ::selection {
  background: #f2b30073;
}

.rd-hl {
  pointer-events: none;
  mix-blend-mode: multiply;
  background: #f2b30061;
  border-radius: 4px;
  position: absolute;
}

.rd-hl.live {
  outline: 2px solid var(--primary);
  background: #3b5bdb2e;
}

.rd-num {
  color: var(--brand-hover);
  background: var(--right-soft);
  pointer-events: none;
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 13px;
  font-weight: 500;
  position: absolute;
  bottom: 6px;
  right: 8px;
}

.rd-side {
  box-sizing: border-box;
  background: var(--surface);
  flex-direction: column;
  gap: 12px;
  height: 100%;
  min-height: 0;
  padding: 14px;
  display: flex;
}

.rd-board, .rd-chat {
  background: var(--surface);
  border: 1.5px solid var(--primary-soft);
  border-radius: 12px;
  flex-direction: column;
  min-height: 0;
  display: flex;
}

.rd-board {
  background: var(--paper);
  border-color: #f6df9a;
  flex: 0 auto;
  max-height: 36%;
  padding: 8px 10px 10px;
}

.rd-board.shut {
  padding-bottom: 8px;
}

.rd-chat {
  flex: 1 1 0;
  padding: 0;
}

.rd-board h2 {
  margin: 0;
  font-size: 15px;
}

.rd-board h2 button {
  width: 100%;
  font: inherit;
  color: var(--brand);
  cursor: pointer;
  background: none;
  border: 0;
  align-items: center;
  gap: 6px;
  padding: 2px 2px 6px;
  font-weight: 500;
  display: flex;
}

.rd-board.shut h2 button {
  padding-bottom: 2px;
}

.rd-board h2 svg {
  width: 16px;
  height: 16px;
  transition: transform .15s;
}

.rd-board.shut h2 svg {
  transform: rotate(-90deg);
}

.rd-board h2 i {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  font-weight: 500;
}

.rd-cards {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  align-content: start;
  gap: 8px;
  display: grid;
  overflow: auto;
}

.rd-card {
  background: var(--surface);
  border: 1.5px solid #cfe8d6;
  border-left: 0;
  border-radius: 8px;
  padding: 8px 26px 8px 10px;
  position: relative;
}

.rd-card.mine {
  border-color: #f6df9a #f6df9a #f6df9a #f2b300;
}

.rd-card h3 {
  color: var(--ink);
  margin: 0 0 3px;
  font-size: 13px;
  line-height: 18px;
}

.rd-card p {
  color: var(--muted);
  margin: 0;
  font-size: 13px;
  line-height: 18px;
}

.rd-card blockquote, .rd-turn blockquote, .rd-about blockquote {
  color: var(--muted);
  -webkit-line-clamp: 2;
  background: var(--marker);
  border-left: 0;
  -webkit-box-orient: vertical;
  margin: 6px 0 0;
  padding: 1px 0 1px 8px;
  font-size: 13px;
  line-height: 18px;
  display: -webkit-box;
  overflow: hidden;
}

@supports (color: color-mix(in lab, red, red)) {
  .rd-card blockquote, .rd-turn blockquote, .rd-about blockquote {
    background: color-mix(in srgb, var(--marker) 30%, var(--surface));
  }
}

.rd-card blockquote, .rd-turn blockquote, .rd-about blockquote {
  border-radius: var(--radius-sm);
}

.rd-go, .rd-pg {
  font: inherit;
  color: var(--primary);
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
  font-weight: 500;
}

.rd-go {
  margin-top: 6px;
  font-size: 13px;
}

.rd-go:hover, .rd-pg:hover {
  text-decoration: underline;
}

.rd-x {
  color: var(--muted);
  background: none;
  border: 0;
  padding: 2px;
  font-size: 17px;
  line-height: 16px;
  position: absolute;
  top: 4px;
  right: 6px;
}

.rd-turns {
  flex-direction: column;
  flex: 1;
  gap: 14px;
  padding: 16px 16px 8px;
  display: flex;
  overflow: auto;
}

.rd-turn {
  color: var(--ink);
  font-size: 15px;
  line-height: 23px;
}

.rd-turn p {
  margin: 0;
}

.rd-turn p + p, .rd-turn p + ul, .rd-turn p + ol, .rd-turn ul + p, .rd-turn ol + p {
  margin-top: 8px;
}

.rd-turn ul, .rd-turn ol {
  margin: 0;
  padding-left: 20px;
}

.rd-turn li + li {
  margin-top: 4px;
}

.rd-turn b {
  font-weight: 500;
}

.rd-turn.you {
  background: var(--primary-soft);
  border-radius: 12px 12px 4px;
  align-self: flex-end;
  max-width: 86%;
  padding: 8px 12px;
}

.rd-turn.you p {
  white-space: pre-wrap;
}

.rd-turn.you blockquote {
  margin: 0 0 6px;
}

.rd-turn.tutor {
  align-self: stretch;
  padding: 0 2px;
}

.rd-dots {
  gap: 5px;
  padding: 8px 0;
  display: flex;
}

.rd-dots i {
  background: var(--right);
  border-radius: 50%;
  width: 7px;
  height: 7px;
  animation: 1s ease-in-out infinite rdDot;
}

.rd-dots i:nth-child(2) {
  animation-delay: .15s;
}

.rd-dots i:nth-child(3) {
  animation-delay: .3s;
}

@keyframes rdDot {
  0%, 100% {
    opacity: .25;
  }

  50% {
    opacity: 1;
  }
}

.rd-quick {
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 12px 8px;
  display: flex;
}

.rd-quick button {
  background: var(--paper);
  color: var(--brand);
  font: inherit;
  cursor: pointer;
  border: 1.5px solid #cfe8d6;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 500;
}

.rd-quick button:hover {
  background: var(--right-soft);
}

.rd-box {
  border: 1.5px solid var(--line);
  background: var(--surface);
  border-radius: 12px;
  margin: 0 12px 12px;
  transition: border-color .12s;
}

.rd-box:focus-within {
  border-color: var(--primary);
}

.rd-about {
  background: var(--paper);
  border-radius: 8px;
  align-items: flex-start;
  gap: 6px;
  margin: 8px 8px 0;
  padding: 6px 8px;
  display: flex;
}

.rd-about blockquote {
  flex: 1;
  margin: 0;
}

.rd-about img {
  border-radius: 4px;
  max-width: calc(100% - 26px);
  max-height: 64px;
  display: block;
}

.rd-about button {
  color: var(--muted);
  cursor: pointer;
  background: none;
  border: 0;
  font-size: 17px;
  line-height: 18px;
}

.rd-ask {
  align-items: flex-end;
  gap: 8px;
  padding: 6px 6px 6px 12px;
  display: flex;
}

.rd-ask textarea {
  resize: none;
  min-width: 0;
  font: inherit;
  color: var(--ink);
  background: none;
  border: 0;
  outline: 0;
  flex: 1;
  max-height: 132px;
  padding: 7px 0;
  font-size: 15px;
  line-height: 22px;
}

.rd-send {
  background: var(--brand);
  width: 36px;
  height: 36px;
  color: var(--surface);
  cursor: pointer;
  border: 0;
  border-radius: 12px;
  flex: none;
  place-items: center;
  display: grid;
}

.rd-send svg {
  width: 18px;
  height: 18px;
}

.rd-send:disabled {
  background: var(--right-soft);
  cursor: default;
}

@media (prefers-reduced-motion: reduce) {
  .rd-dots i {
    opacity: .6;
    animation: none;
  }
}

.rd-pop {
  z-index: 60;
  background: var(--surface);
  border: 2px solid #f2b300;
  border-radius: 8px;
  gap: 6px;
  padding: 5px;
  display: flex;
  position: fixed;
  box-shadow: 0 6px 18px #1f4d3a2e;
}

.rd-pop button {
  background: var(--brand);
  color: var(--surface);
  border: 0;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 500;
}

.rd-pop button + button, .rd-pop button.quiz {
  background: var(--primary);
  color: var(--surface);
}

.rd-pop {
  flex-wrap: wrap;
  max-width: calc(100vw - 16px);
}

.rd-pop button:last-child {
  color: var(--muted);
  background: none;
  padding: 6px;
}

.rd-none, .rd-wait {
  color: var(--muted);
  margin: 4px 0;
  font-size: 13px;
}

.rd-err {
  color: var(--danger);
  margin: 4px 0;
  padding: 0 14px;
  font-size: 13px;
}

@media (max-width: 900px) {
  .rd {
    grid-template-rows: minmax(0, 1.15fr) minmax(0, 1fr);
    grid-template-columns: 1fr;
  }

  .rd-pad {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .rd-pages {
    padding: 14px 12px 60px 54px;
  }

  .rd-side {
    padding: 8px;
  }

  .rd-board {
    max-height: 30%;
  }
}

.cp {
  flex-direction: column;
  gap: 12px;
  max-width: 680px;
  margin: 0 auto;
  padding: 8px 4px 40px;
  display: flex;
}

.cp-bar {
  background: var(--line);
  border-radius: 4px;
  height: 6px;
  overflow: hidden;
}

.cp-bar i {
  background: var(--primary);
  border-radius: 4px;
  height: 100%;
  transition: width .25s;
  display: block;
}

.cp-back {
  font: inherit;
  color: var(--primary);
  cursor: pointer;
  background: none;
  border: 0;
  align-self: flex-start;
  align-items: center;
  gap: 8px;
  padding: 6px 2px;
  font-size: 15px;
  font-weight: 500;
  display: flex;
}

.cp h2 {
  color: var(--ink);
  margin: 6px 0 0;
  font-size: 23px;
  font-weight: 600;
  line-height: 34px;
}

.cp-read {
  color: var(--brand-hover);
  background: var(--right-soft);
  border-left: 0;
  border-radius: 4px;
  margin: 0;
  padding: 10px 12px;
  font-size: 17px;
  line-height: 24px;
}

.cp-sub {
  color: var(--muted);
  margin: 0;
  font-size: 15px;
  line-height: 20px;
}

.cp-list {
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
  display: flex;
}

.cp-opt {
  text-align: left;
  background: var(--surface);
  border: 1.5px solid var(--line);
  font: inherit;
  color: var(--ink);
  cursor: pointer;
  border-radius: 12px;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 2px 12px;
  padding: 12px 14px;
  font-size: 17px;
  line-height: 24px;
  transition: transform .12s, border-color .12s, box-shadow .12s;
  display: grid;
}

.cp-opt:hover {
  border-color: var(--primary);
}

.cp-opt[aria-pressed="true"] {
  border-color: var(--marker);
  background: #fff6dc;
}

.cp-opt .pg-tile {
  grid-row: 1 / 3;
}

.cp-opt b {
  font-weight: 500;
}

.cp-opt b em {
  color: var(--right);
  margin-left: 8px;
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
}

.cp-opt small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 19px;
}

.cp-opt ol {
  color: var(--ink);
  grid-column: 2;
  margin: 4px 0 0;
  padding-left: 18px;
  font-size: 15px;
  line-height: 21px;
}

.cp-opt.one {
  display: block;
}

.cp-opt.soft {
  color: var(--muted);
  border-style: dashed;
}

.cp-plan {
  flex-direction: column;
  gap: 10px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
}

.cp-plan li {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  display: flex;
}

.cp-plan span {
  flex-direction: column;
  min-width: 0;
  display: flex;
}

.cp-plan b {
  color: var(--ink);
  font-size: 17px;
  font-weight: 500;
  line-height: 24px;
}

.cp-plan small {
  color: var(--muted);
  font-size: 13px;
  line-height: 19px;
}

.cp-go {
  flex: none;
  margin-top: 6px;
}

@media (max-width: 640px) {
  .cp h2 {
    font-size: 23px;
    line-height: 30px;
  }
}

.cc {
  flex-direction: column;
  gap: 10px;
  max-width: 680px;
  min-height: calc(100dvh - 150px);
  margin: 0 auto;
  padding: 8px 4px 0;
  display: flex;
}

.cc-log {
  flex-direction: column;
  flex: 1;
  gap: 10px;
  padding-bottom: 12px;
  display: flex;
}

.cc-pair {
  flex-direction: column;
  gap: 10px;
  display: flex;
}

.cc-ai, .cc-me {
  border-radius: 12px;
  max-width: 86%;
  margin: 0;
  padding: 10px 14px;
  font-size: 17px;
  line-height: 25px;
}

.cc-ai {
  background: var(--surface);
  border: 1.5px solid var(--line);
  color: var(--ink);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
}

.cc-me {
  background: var(--primary-soft);
  color: var(--primary);
  border-bottom-right-radius: 4px;
  align-self: flex-end;
  font-weight: 500;
}

.cc .cp-list {
  margin: 0 0 4px;
}

.cc .cp-opt {
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  display: flex;
}

.cc .cp-opt:disabled {
  opacity: .55;
  cursor: default;
  box-shadow: none;
  transform: none;
}

.cc-plan {
  flex-direction: column;
  gap: 10px;
  display: flex;
}

.cc-plan .cp-plan li {
  background: var(--right-soft);
  border-color: #bfe0cc;
}

.cc-in {
  background: linear-gradient(to bottom, #f4f6fc00, var(--surface) 30%);
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 10px 0 14px;
  display: flex;
  position: sticky;
  bottom: 0;
}

.cc-in input {
  border: 1.5px solid var(--line);
  min-width: 0;
  height: 46px;
  font: inherit;
  color: var(--ink);
  background: var(--surface);
  border-radius: 12px;
  flex: 1;
  padding: 0 14px;
  font-size: 17px;
}

.cc-in input:focus {
  border-color: var(--primary);
  outline: none;
}

.cc-send {
  background: var(--primary);
  width: 46px;
  height: 46px;
  color: var(--surface);
  cursor: pointer;
  border: 0;
  border-radius: 12px;
  place-items: center;
  display: grid;
}

.cc-send:disabled {
  opacity: .45;
  cursor: default;
}

.cc-send svg {
  width: 20px;
  height: 20px;
}

.cc-link {
  font: inherit;
  color: var(--primary);
  cursor: pointer;
  background: none;
  border: 0;
  padding: 6px 4px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: underline;
}

.cc-link:disabled {
  opacity: .5;
}

.al-chart line.g.m {
  stroke: var(--primary-soft);
  stroke-dasharray: 2 3;
}

em.al-kw {
  cursor: help;
  border-bottom: 1.5px dotted #d9a514;
}

.wl {
  z-index: 60;
  background: var(--surface);
  border: 1.5px solid var(--marker);
  width: 320px;
  max-width: calc(100vw - 24px);
  font-family: var(--font-sans);
  border-radius: 12px;
  padding: 12px 14px;
  position: fixed;
  box-shadow: 0 14px 34px #3b5bdb2e;
}

.wl b {
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 22px;
  display: block;
}

.wl p {
  color: var(--ink);
  margin: 4px 0 0;
  font-size: 15px;
  line-height: 22px;
}

.wl .wl-wait {
  color: var(--muted);
}

.wl .wl-err {
  color: #c2410c;
}

.wl-ask {
  font: inherit;
  color: var(--primary);
  cursor: pointer;
  text-align: left;
  background: #fff6dc;
  border: 0;
  border-radius: 8px;
  width: 100%;
  padding: 8px 10px;
  font-size: 15px;
  font-weight: 500;
}

.cc-files {
  flex-direction: column;
  align-self: flex-end;
  align-items: flex-end;
  gap: 6px;
  max-width: 86%;
  display: flex;
}

.cc-file {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  padding: 8px 12px;
  display: flex;
}

.cc-file i {
  letter-spacing: .04em;
  color: var(--surface);
  background: var(--danger);
  border-radius: 4px;
  flex: none;
  padding: 2px 6px;
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
}

.cc-file b {
  color: var(--ink);
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 15px;
  font-weight: 500;
  overflow: hidden;
}

.cc {
  gap: 14px;
  max-width: 720px;
}

.cc-top {
  align-items: center;
  gap: 12px;
  display: flex;
}

.cc-top .cp-back {
  align-self: auto;
}

.cc-step {
  text-align: center;
  color: var(--muted);
  letter-spacing: .02em;
  flex: 1;
  font-size: 13px;
  font-weight: 500;
}

.cc-skip {
  background: var(--surface);
  border: 1.5px solid var(--line);
  font: inherit;
  color: var(--primary);
  cursor: pointer;
  border-radius: 12px;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  font-size: 15px;
  font-weight: 500;
  transition: background .12s, border-color .12s;
  display: flex;
}

.cc-skip:hover {
  background: var(--primary-soft);
  border-color: var(--primary);
}

.cc .cp-bar {
  background: var(--line);
  height: 5px;
}

.cc .cp-bar i {
  background: linear-gradient(90deg, var(--primary), var(--marker));
}

.cc-log {
  gap: 14px;
  padding-top: 6px;
}

.cc-pair {
  gap: 14px;
}

.cc-row {
  align-items: flex-start;
  gap: 10px;
  max-width: 92%;
  display: flex;
}

.cc-av {
  background: var(--right-soft);
  width: 34px;
  height: 34px;
  color: var(--right);
  border-radius: 12px;
  flex: none;
  place-items: center;
  margin-top: 2px;
  display: grid;
}

.cc-av svg {
  width: 18px;
  height: 18px;
}

.cc-row .cc-ai {
  background: var(--surface);
  border: 0;
  border-radius: 4px 12px 12px;
  max-width: none;
  padding: 12px 16px;
  font-size: 17px;
  line-height: 26px;
  box-shadow: 0 2px 10px #3b5bdb14;
}

.cc-me {
  color: var(--surface);
  background: linear-gradient(135deg, #4f6beb, #6c5ce7);
  border-radius: 12px 12px 4px;
  padding: 11px 16px;
  box-shadow: 0 4px 14px #4f6beb38;
}

.cc-opts {
  gap: 10px;
  padding-left: 44px;
}

.cc .cp-opt {
  border-color: var(--line);
  border-radius: 12px;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  box-shadow: 0 1px #3b5bdb0a;
}

.cc .cp-opt > span {
  flex-direction: column;
  flex: 1;
  gap: 2px;
  min-width: 0;
  display: flex;
}

.cc .cp-opt b {
  font-size: 17px;
  line-height: 23px;
}

.cc-key {
  background: var(--primary-soft);
  width: 32px;
  height: 32px;
  color: var(--primary);
  border-radius: 8px;
  flex: none;
  place-items: center;
  font-size: 15px;
  font-style: normal;
  font-weight: 600;
  display: grid;
}

.cc-key.k0 {
  color: #9a6b00;
  background: #fff1c9;
}

.cc-key.k1 {
  background: var(--primary-soft);
  color: var(--primary);
}

.cc-key.k2 {
  background: var(--tutor-soft);
  color: var(--tutor);
}

.cc-key.k3 {
  background: var(--danger-soft);
  color: #c2410c;
}

.cc .cp-opt.rec {
  border-color: var(--marker);
  background: linear-gradient(180deg, var(--paper), #fff8e1);
}

.cc .cp-opt em {
  color: #9a6b00;
  white-space: nowrap;
  flex: none;
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
}

.cc .cp-opt:hover:not(:disabled) {
  border-color: var(--primary);
}

.cc .cp-opt.rec:hover:not(:disabled) {
  border-color: #e0a21a;
}

.cc .cp-opt.soft {
  background: none;
  border-style: dashed;
}

.cc-plan {
  padding-left: 44px;
}

.cc-plan .cp-plan li {
  background: var(--surface);
  border: 0;
  border-radius: 4px 12px 12px 4px;
  box-shadow: 0 2px 10px #3b5bdb14;
}

.cc-in {
  padding: 12px 0 16px;
}

.cc-in input {
  border-radius: 12px;
  height: 50px;
  box-shadow: 0 4px 16px #3b5bdb14;
}

.cc-send {
  background: linear-gradient(135deg, var(--primary), #4fa36b);
  border-radius: 12px;
  width: 50px;
  height: 50px;
}

.cc-in-up {
  animation: .28s both ccUp;
}

@keyframes ccUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cc-in-up {
    animation: none;
  }
}

@media (max-width: 640px) {
  .cc-opts, .cc-plan {
    padding-left: 0;
  }

  .cc-step {
    display: none;
  }

  .cc-top {
    justify-content: space-between;
  }

  .cc .cp-opt em {
    display: none;
  }

  .cc .cp-opt.rec b:after {
    content: "  ★";
    color: #9a6b00;
  }
}

.cc-plan .cp-plan li.gap {
  border-left-color: var(--marker);
}

.pl {
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 22px;
  max-width: 1240px;
  height: calc(100dvh - 118px);
  min-height: 460px;
  margin: 0 auto;
  display: grid;
}

.pl-main {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 0;
  border-radius: 8px 18px 18px 8px;
  flex-direction: column;
  min-height: 0;
  display: flex;
  overflow: hidden;
  box-shadow: 0 10px 30px #3b5bdb14;
}

.pl-head {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  align-items: center;
  gap: 14px;
  padding: 14px 22px;
  display: flex;
}

.pl-link {
  font: inherit;
  color: var(--primary);
  cursor: pointer;
  white-space: nowrap;
  background: none;
  border: 0;
  padding: 4px 2px;
  font-size: 15px;
  font-weight: 500;
}

.pl-link:hover {
  text-decoration: underline;
}

.pl-dots {
  flex: 1;
  justify-content: center;
  gap: 6px;
  display: flex;
}

.pl-dots i {
  background: var(--line);
  border-radius: 4px;
  width: 26px;
  height: 6px;
  transition: background .2s;
}

.pl-dots i.on {
  background: var(--primary);
}

.pl-dots i.now {
  background: var(--marker);
}

.pl-log {
  background: repeating-linear-gradient(to bottom, transparent 0 35px, var(--line) 35px 36px);
  background-attachment: local;
  flex-direction: column;
  flex: 1;
  gap: 16px;
  min-height: 0;
  padding: 22px 34px 10px;
  display: flex;
  overflow-y: auto;
}

.pl-goal {
  font-family: var(--font-hand);
  color: var(--primary);
  margin: 0;
  font-size: 23px;
  line-height: 36px;
}

.pl-goal b {
  font-family: var(--font-sans);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 36px;
  display: block;
}

.pl-past {
  flex-direction: column;
  display: flex;
}

.pl-past p {
  color: var(--muted);
  white-space: nowrap;
  text-overflow: ellipsis;
  margin: 0;
  font-size: 15px;
  line-height: 36px;
  overflow: hidden;
}

.pl-past .pl-ans {
  font-family: var(--font-hand);
  color: var(--primary);
  white-space: normal;
  align-items: baseline;
  gap: 10px;
  font-size: 23px;
  display: flex;
}

.pl-ans i, .pl-marks i {
  font-style: normal;
  font-family: var(--font-sans);
  border-radius: 8px;
  flex: none;
  align-self: center;
  place-items: center;
  width: 24px;
  height: 24px;
  font-size: 15px;
  font-weight: 600;
  display: inline-grid;
}

.pl-ans i.ok, .pl-marks i.ok {
  background: var(--right-soft);
  color: var(--right);
}

.pl-ans i.no, .pl-marks i.no {
  color: #9a6b00;
  background: #fff1c9;
}

.pl-now {
  background: var(--surface);
  border-radius: 12px;
  flex-direction: column;
  gap: 12px;
  padding: 22px 24px 24px;
  animation: .3s both ccUp;
  display: flex;
  box-shadow: 0 8px 26px #3b5bdb1a;
}

.pl-lead {
  color: var(--muted);
  margin: 0;
  font-size: 17px;
  line-height: 26px;
}

.pl-now h2 {
  color: var(--ink);
  letter-spacing: -.01em;
  margin: 0;
  font-size: 23px;
  font-weight: 600;
  line-height: 34px;
}

.pl-opts {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 6px;
  display: grid;
}

.pl-opt {
  text-align: left;
  background: var(--surface);
  border: 1.5px solid var(--line);
  font: inherit;
  color: var(--ink);
  cursor: pointer;
  border-radius: 12px;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  transition: transform .12s, border-color .12s, box-shadow .12s, background .12s;
  display: flex;
  position: relative;
}

.pl-opt:hover:not(:disabled) {
  background: var(--surface);
  border-color: var(--primary);
}

.pl-opt:disabled {
  opacity: .55;
  cursor: default;
}

.pl-opt kbd {
  width: 30px;
  height: 30px;
  font: 600 15px var(--font-sans);
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: 8px;
  flex: none;
  place-items: center;
  display: grid;
}

.pl-opt:nth-child(2) kbd {
  background: var(--tutor-soft);
  color: var(--tutor);
}

.pl-opt:nth-child(3) kbd {
  background: var(--right-soft);
  color: var(--right);
}

.pl-opt:nth-child(4) kbd {
  background: var(--danger-soft);
  color: #c2410c;
}

.pl-opt > span {
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  display: flex;
}

.pl-opt b {
  font-size: 17px;
  font-weight: 500;
  line-height: 23px;
}

.pl-opt small {
  color: var(--muted);
  font-size: 13px;
  line-height: 19px;
}

.pl-opt.rec {
  background: linear-gradient(180deg, var(--paper), #fff6dc);
  border-color: var(--marker);
}

.pl-opt.rec kbd {
  background: var(--marker);
  color: var(--surface);
}

.pl-opt.rec > span {
  padding-right: 74px;
}

.pl-opt em {
  color: #9a6b00;
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
  position: absolute;
  top: 10px;
  right: 12px;
}

.pl-opt.soft {
  background: none;
  border-style: dashed;
}

.pl-opt.soft kbd {
  background: var(--primary-soft);
  color: var(--muted);
}

.pl-parts {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
}

.pl-parts li {
  background: var(--right-soft);
  border-radius: 12px;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  display: flex;
}

.pl-parts i {
  background: var(--primary);
  width: 30px;
  height: 30px;
  color: var(--surface);
  font: 600 15px var(--font-sans);
  border-radius: 8px;
  flex: none;
  place-items: center;
  display: grid;
}

.pl-parts span {
  flex-direction: column;
  display: flex;
}

.pl-parts b {
  color: var(--ink);
  font-size: 17px;
  font-weight: 500;
  line-height: 22px;
}

.pl-parts small {
  color: var(--muted);
  font-size: 13px;
}

.pl-go {
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
  display: flex;
}

.pl-go .al-main {
  flex: none;
  min-width: 240px;
}

.pl-wait {
  color: var(--muted);
  align-items: center;
  gap: 6px;
  margin: 0;
  font-size: 15px;
  line-height: 36px;
  display: flex;
}

.pl-wait i {
  background: var(--primary);
  border-radius: 50%;
  width: 8px;
  height: 8px;
  animation: 1s ease-in-out infinite plDot;
}

.pl-wait i:nth-child(2) {
  background: var(--marker);
  animation-delay: .15s;
}

.pl-wait i:nth-child(3) {
  background: #4f6beb;
  animation-delay: .3s;
}

.pl-wait span {
  margin-left: 6px;
}

@keyframes plDot {
  0%, 100% {
    opacity: .5;
    transform: translateY(0);
  }

  50% {
    opacity: 1;
    transform: translateY(-5px);
  }
}

.pl-in {
  border-top: 1px solid var(--line);
  background: var(--surface);
  align-items: center;
  gap: 10px;
  padding: 12px 22px 14px 34px;
  display: flex;
}

.pl-in input {
  border: 0;
  border-bottom: 1.5px dashed var(--line);
  min-width: 0;
  font-family: var(--font-hand);
  color: var(--primary);
  background: none;
  outline: 0;
  flex: 1;
  padding: 0 2px;
  font-size: 23px;
  line-height: 38px;
}

.pl-in input::placeholder {
  color: #aeb9ea;
}

.pl-in input:focus {
  border-bottom-color: var(--primary);
}

.pl-in button {
  background: var(--primary);
  width: 44px;
  height: 44px;
  color: var(--surface);
  cursor: pointer;
  border: 0;
  border-radius: 12px;
  flex: none;
  place-items: center;
  display: grid;
}

.pl-in button:disabled {
  opacity: .4;
  cursor: default;
}

.pl-in button svg {
  width: 20px;
  height: 20px;
}

.pl-in small {
  color: var(--muted);
  white-space: nowrap;
  font-size: 13px;
}

.pl-side {
  flex-direction: column;
  gap: 12px;
  min-height: 0;
  padding: 2px 2px 12px;
  display: flex;
  overflow-y: auto;
}

.pl-side h3 {
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 6px 2px 2px;
  font-size: 13px;
  font-weight: 600;
}

.pl-card {
  background: var(--surface);
  border-radius: 12px;
  flex-direction: column;
  gap: 8px;
  padding: 14px 16px;
  display: flex;
  box-shadow: 0 4px 16px #3b5bdb12;
}

.pl-card > b {
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
}

.pl-card dl {
  flex-direction: column;
  gap: 8px;
  margin: 0;
  display: flex;
}

.pl-card dl div {
  grid-template-columns: 86px minmax(0, 1fr);
  align-items: baseline;
  gap: 8px;
  animation: .3s both ccUp;
  display: grid;
}

.pl-card dt {
  color: var(--tutor);
  font-size: 13px;
  font-weight: 600;
}

.pl-card dd {
  color: var(--ink);
  margin: 0;
  font-size: 15px;
  line-height: 21px;
}

.pl-card .gap dt {
  color: #b7791f;
}

.pl-card .gap dd {
  background: linear-gradient(#0000 55%, #ffe27a 55%);
  width: fit-content;
}

.pl-empty {
  color: var(--muted);
  margin: 0;
  font-size: 15px;
  line-height: 20px;
}

.pl-card.ghost {
  box-shadow: none;
  background: none;
  border: 1.5px dashed #d5dbee;
}

.pl-card.plan {
  border-top: 4px solid var(--primary);
}

.pl-file {
  align-items: center;
  gap: 10px;
  min-width: 0;
  margin: 0;
  display: flex;
}

.pl-file i {
  letter-spacing: .04em;
  color: var(--surface);
  background: var(--danger);
  border-radius: 4px;
  flex: none;
  padding: 2px 6px;
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
}

.pl-file span {
  color: var(--ink);
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 15px;
  font-weight: 500;
  overflow: hidden;
}

.pl-marks {
  align-items: center;
  gap: 6px;
  margin: 0;
  display: flex;
}

.pl-marks span {
  color: var(--muted);
  margin-left: 6px;
  font-size: 15px;
}

@media (max-width: 980px) {
  .pl {
    grid-template-columns: 1fr;
    height: auto;
  }

  .pl-main {
    height: calc(100dvh - 190px);
    min-height: 420px;
  }

  .pl-side {
    flex-direction: row;
    order: -1;
    padding-bottom: 4px;
    overflow-x: auto;
  }

  .pl-side h3 {
    display: none;
  }

  .pl-card {
    flex: none;
    min-width: 230px;
  }

  .pl-card.ghost {
    display: none;
  }
}

@media (max-width: 640px) {
  .pl-opts {
    grid-template-columns: 1fr;
  }

  .pl-log {
    padding: 16px 16px 8px;
  }

  .pl-now {
    padding: 16px;
  }

  .pl-now h2 {
    font-size: 19px;
    line-height: 29px;
  }

  .pl-in {
    padding: 10px 12px;
  }

  .pl-in small, .pl-dots {
    display: none;
  }

  .pl-head {
    justify-content: space-between;
  }

  .pl-goal, .pl-past .pl-ans {
    font-size: 23px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pl-now, .pl-card dl div, .pl-wait i {
    animation: none;
  }
}

.al-opts.al-plan button {
  align-items: flex-start;
  position: relative;
}

.al-opts.al-plan button span {
  text-align: left;
  flex-direction: column;
  gap: 2px;
  display: flex;
}

.al-opts.al-plan small {
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  line-height: 20px;
}

.al-opts.al-plan button.rec {
  border-color: var(--marker);
  background: linear-gradient(180deg, var(--paper), #fff6dc);
}

.al-opts.al-plan button.rec span {
  padding-right: 86px;
}

.al-opts.al-plan em {
  color: #9a6b00;
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
  position: absolute;
  top: 10px;
  right: 12px;
}

.al-start {
  background: var(--primary);
  height: 52px;
  color: var(--surface);
  font: 600 17px var(--font-sans);
  cursor: pointer;
  border: 0;
  border-radius: 12px;
  align-items: center;
  gap: 8px;
  margin: 10px 0 4px;
  padding: 0 26px;
  transition: transform .12s, box-shadow .12s;
  display: inline-flex;
  box-shadow: 0 8px 20px #7db65a59;
}

.al-start:hover {
  border-color: var(--primary);
}

.al-found {
  background: var(--primary-soft);
  border-left: 0;
  border-radius: 4px 12px 12px 4px;
  max-width: 860px;
  margin: 6px 0 10px;
  padding: 12px 16px;
}

.al-found > b {
  color: var(--primary);
  margin-bottom: 6px;
  font-size: 15px;
  font-weight: 600;
  display: block;
}

.al-found ul {
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
}

.al-found li {
  align-items: baseline;
  gap: 10px;
  display: flex;
}

.al-found i {
  letter-spacing: .03em;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: 4px;
  flex: none;
  padding: 2px 7px;
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
}

.al-found i.author {
  background: var(--tutor-soft);
  color: var(--tutor);
}

.al-found i.original {
  background: var(--right-soft);
  color: var(--right);
}

.al-found span {
  flex-direction: column;
  min-width: 0;
  display: flex;
}

.al-found a {
  color: var(--primary);
  text-underline-offset: 3px;
  font-size: 17px;
  font-weight: 500;
  line-height: 22px;
  text-decoration: underline;
}

.al-found small {
  color: var(--muted);
  font-size: 13px;
  line-height: 19px;
}

.al-chart.pf {
  max-width: 720px;
}

.al-chart.pf text.v {
  font-size: 13px;
}

.al-lib {
  background: var(--right-soft);
  border-left-color: var(--right);
  display: block !important;
}

.al-lib > * {
  width: auto;
  display: block;
}

.al-lib ul {
  display: flex !important;
}

.al-lib strong {
  color: var(--ink);
}

.al-lib > b {
  color: var(--right);
}

.al-lib p {
  margin: 0 0 6px;
  font-size: 15px;
  line-height: 22px;
}

.al-lib i {
  background: var(--right-soft);
  color: var(--right);
}

.al-lib strong {
  font-size: 17px;
  font-weight: 500;
  line-height: 22px;
}

.mt-list {
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
}

.mt-list li {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 10px 12px;
  display: flex;
}

.mt-list li > span {
  flex-direction: column;
  flex: 1;
  min-width: 0;
  display: flex;
}

.mt-list b {
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 17px;
  font-weight: 500;
  line-height: 22px;
  overflow: hidden;
}

.mt-list small {
  color: var(--muted);
  font-size: 13px;
  line-height: 18px;
}

.mt-list em {
  color: var(--muted);
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  font-style: normal;
  line-height: 19px;
  overflow: hidden;
}

.mt-list a.pg-btn {
  flex: none;
  text-decoration: none;
}

.mt-list .pg-ib {
  color: var(--muted);
  background: none;
  border: 0;
  flex: none;
}

.pg-lib {
  background: var(--right-soft);
  border-radius: 12px;
  gap: 4px;
  max-height: 220px;
  margin: 8px 0 0;
  padding: 8px;
  list-style: none;
  display: grid;
  overflow: auto;
}

.pg-lib button {
  text-align: left;
  width: 100%;
  font: inherit;
  color: var(--ink);
  cursor: pointer;
  background: none;
  border: 0;
  border-radius: 8px;
  align-items: baseline;
  gap: 10px;
  padding: 6px 8px;
  font-size: 15px;
  line-height: 22px;
  display: flex;
}

.pg-lib button:hover {
  background: var(--right-soft);
}

.pg-lib button[aria-pressed="true"] {
  background: #cdebda;
  font-weight: 500;
}

.pg-lib small {
  color: var(--muted);
  font-size: 13px;
}

.al-opts.al-plan button.dk {
  background: var(--paper);
  border-style: dashed;
}

.al-opts.al-plan button.dk i {
  color: #9a6b00;
  background: #fff1cc;
}

.al-opts.al-plan button:disabled {
  opacity: .6;
}

.al-planin {
  align-items: center;
  gap: 8px;
  max-width: 860px;
  margin: 8px 0 2px;
  display: flex;
}

.al-planin input {
  box-sizing: border-box;
  border: 1.5px solid var(--line);
  background: var(--surface);
  min-width: 0;
  height: 46px;
  font: inherit;
  color: var(--ink);
  border-radius: 12px;
  outline: 0;
  flex: 1;
  padding: 0 14px;
  font-size: 17px;
}

.al-planin input:focus {
  border-color: var(--primary);
}

.al-planin button {
  background: var(--primary);
  width: 46px;
  height: 46px;
  color: var(--surface);
  cursor: pointer;
  border: 0;
  border-radius: 12px;
  flex: none;
  font-size: 19px;
  font-weight: 600;
}

.al-planin button:disabled {
  opacity: .4;
  cursor: default;
}

.mt-list em.sum {
  white-space: normal;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  display: -webkit-box;
}

.al-found i.video {
  background: var(--danger-soft);
  color: #c2410c;
}

.pf-wrap {
  max-width: 720px;
}

.pf-wrap [data-i] {
  cursor: pointer;
  transition: opacity .15s;
}

.pf-wrap [data-i]:hover {
  opacity: .82;
}

.pf-wrap [data-i].pf-dim {
  opacity: .38;
}

.pf-wrap [data-i].pf-on {
  opacity: 1;
  filter: drop-shadow(0 0 3px #4f6bebb3);
}

.pf-read {
  align-items: baseline;
  gap: 10px;
  min-height: 26px;
  margin: 2px 0 6px;
  font-size: 15px;
  line-height: 22px;
  display: flex;
}

.pf-read b {
  color: var(--ink);
  font-weight: 600;
}

.pf-read span {
  color: var(--primary);
  font-weight: 500;
}

.pf-read i {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}

.pf-read em {
  color: var(--right);
  font-size: 13px;
  font-style: normal;
  font-weight: 500;
}

.ad-nums {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  margin-top: 6px;
  display: grid;
}

.ad-nums div {
  background: var(--primary-soft);
  border-radius: 12px;
  flex-direction: column;
  padding: 10px 12px;
  display: flex;
}

.ad-nums b {
  color: var(--primary);
  font-size: 23px;
  line-height: 28px;
}

.ad-nums span {
  color: var(--muted);
  font-size: 13px;
}

.wu-scroll {
  overflow-x: auto;
}

.wu-scroll td small {
  color: var(--muted);
  font-size: 13px;
}

.wu-only {
  white-space: nowrap;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  display: flex;
}

.pg-line select {
  border: 1.5px solid var(--line);
  background: var(--surface);
  height: 42px;
  font: inherit;
  border-radius: 12px;
  padding: 0 10px;
  font-size: 15px;
}

.al-mtools {
  background: #ffffff14;
  border-radius: 12px;
  gap: 4px;
  margin-left: 8px;
  padding: 5px;
  display: flex;
}

.al-mtools button {
  width: 40px;
  height: 40px;
  color: var(--right-soft);
  cursor: pointer;
  background: none;
  border: 0;
  border-radius: 12px;
  place-items: center;
  display: grid;
}

.al-mtools button:hover {
  background: #ffffff1f;
}

.al-mtools button[aria-pressed="true"] {
  background: var(--marker);
  color: #1f3b2c;
}

.al-mtools .fx {
  font-family: Georgia, serif;
  font-size: 15px;
  font-weight: 600;
}

.mt-box {
  z-index: 500;
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  width: 340px;
  max-width: calc(100vw - 32px);
  padding: 12px;
  font-family: inherit;
  position: fixed;
  bottom: 104px;
  right: 76px;
  box-shadow: 0 18px 44px #283c8c38;
}

.mt-box.keys {
  width: 460px;
}

.mt-head {
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  display: flex;
}

.mt-head b {
  color: var(--ink);
  flex: 1;
  font-size: 15px;
}

.mt-head button {
  background: var(--primary-soft);
  color: var(--primary);
  height: 30px;
  font: inherit;
  cursor: pointer;
  border: 0;
  border-radius: 8px;
  padding: 0 10px;
  font-size: 13px;
  font-weight: 500;
}

.mt-head .mt-x {
  width: 30px;
  padding: 0;
  font-size: 17px;
  line-height: 1;
}

.mt-screen {
  background: var(--primary-soft);
  border-radius: 12px;
  margin-bottom: 8px;
  padding: 8px 10px;
}

.mt-screen input {
  box-sizing: border-box;
  width: 100%;
  font: inherit;
  color: var(--ink);
  text-align: right;
  background: none;
  border: 0;
  outline: 0;
  font-size: 19px;
}

.mt-screen output {
  text-align: right;
  min-height: 26px;
  color: var(--primary);
  font-size: 19px;
  font-weight: 600;
  display: block;
}

.mt-grid {
  gap: 6px;
  display: grid;
}

.mt-grid.c5 {
  grid-template-columns: repeat(5, 1fr);
}

.mt-grid.c8 {
  grid-template-columns: repeat(8, 1fr);
}

.mt-grid button {
  background: var(--primary-soft);
  height: 44px;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
  border: 0;
  border-radius: 12px;
  font-size: 17px;
  font-weight: 500;
}

.mt-grid.c8 button {
  padding: 0;
  font-size: 15px;
  font-weight: 400;
}

.mt-grid button:hover {
  background: var(--primary-soft);
}

.mt-grid button.n {
  background: var(--surface);
  border: 1.5px solid var(--line);
}

.mt-grid button.eq {
  background: var(--primary);
  color: var(--surface);
}

.mt-use {
  width: 100%;
  height: 42px;
  color: var(--surface);
  font: inherit;
  cursor: pointer;
  background: #2fb56b;
  border: 0;
  border-radius: 12px;
  margin-top: 8px;
  font-size: 15px;
  font-weight: 600;
}

.mt-use:disabled {
  opacity: .45;
  cursor: default;
}

.mt-prev {
  background: var(--paper);
  min-height: 54px;
  max-height: 120px;
  color: var(--ink);
  border-radius: 12px;
  place-items: center;
  margin-bottom: 8px;
  padding: 8px 10px;
  font-size: 17px;
  display: grid;
  overflow: auto;
}

.mt-prev i {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}

.mt-tabs {
  gap: 4px;
  margin-bottom: 8px;
  display: flex;
}

.mt-tabs button {
  background: var(--primary-soft);
  height: 32px;
  color: var(--muted);
  font: inherit;
  cursor: pointer;
  border: 0;
  border-radius: 8px;
  flex: 1;
  font-size: 13px;
  font-weight: 500;
}

.mt-tabs button[aria-selected="true"] {
  background: var(--primary);
  color: var(--surface);
}

.mt-row {
  grid-template-columns: 1fr 2fr 1fr;
  gap: 6px;
  margin-top: 6px;
  display: grid;
}

.mt-row button {
  background: var(--primary-soft);
  height: 40px;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
  border: 0;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
}

@media (max-width: 640px) {
  .mt-box, .mt-box.keys {
    width: auto;
    bottom: 96px;
    left: 8px;
    right: 8px;
  }

  .mt-grid.c8 {
    grid-template-columns: repeat(6, 1fr);
  }
}

.mu-top {
  align-items: baseline;
  gap: 10px;
  margin: 4px 0 8px;
  display: flex;
}

.mu-top b {
  color: var(--primary);
  font-size: 28px;
  line-height: 34px;
}

.mu-top span {
  color: var(--muted);
  font-size: 15px;
}

.mu-bar {
  background: var(--primary-soft);
  border-radius: 8px;
  height: 12px;
  margin-bottom: 6px;
  overflow: hidden;
}

.mu-bar i {
  border-radius: 8px;
  height: 100%;
  display: block;
}

.ad-bud {
  border: 1.5px solid var(--line);
  width: 84px;
  height: 34px;
  font: inherit;
  background: var(--surface);
  border-radius: 8px;
  padding: 0 8px;
  font-size: 15px;
}

.pf-tools {
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  display: flex;
}

.pf-tools > button {
  border: 1.5px solid var(--line);
  background: var(--surface);
  height: 34px;
  color: var(--primary);
  font: inherit;
  cursor: pointer;
  border-radius: 8px;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 500;
}

.pf-tools > button[aria-pressed="true"] {
  background: var(--tutor-soft);
  color: #a8237a;
  border-color: #d6409f;
}

.pf-say {
  color: var(--ink);
  flex-basis: 100%;
  margin: 0;
  font-size: 15px;
  line-height: 22px;
}

.pf-say b {
  color: #a8237a;
}

.pf-line {
  cursor: ns-resize;
  touch-action: none;
  outline: 0;
}

.pf-line:focus-visible line {
  stroke-width: 4px;
}

.pf-wrap svg .pf-line[aria-label="Cut line"] {
  cursor: ew-resize;
}

.pf-circ {
  background: var(--surface);
  border-radius: 12px;
  flex-basis: 100%;
  gap: 6px;
  padding: 10px 12px;
  display: grid;
}

.pf-circ label {
  grid-template-columns: 90px 1fr 76px 70px;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  display: grid;
}

.pf-circ label b {
  color: var(--ink);
  text-align: right;
}

.pf-circ label em {
  color: var(--primary);
  text-align: right;
  font-style: normal;
  font-weight: 600;
}

.pf-circ label.sw {
  gap: 8px;
  display: flex;
}

.pf-circ input[type="range"] {
  accent-color: #4f6beb;
  width: 100%;
}

.pf-circ .pf-say b {
  color: var(--primary);
}

.sim-scene {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  width: 100%;
  max-width: 720px;
  margin: 8px 0;
  display: block;
}

.sim-scene text {
  font-family: var(--font-sans);
}

.eq-card {
  background: var(--paper);
  border-radius: 12px;
  max-width: 720px;
  margin: 8px 0;
  padding: 12px 14px;
}

.eq-main {
  color: var(--ink);
  padding: 4px 0;
  font-size: 23px;
  overflow-x: auto;
}

.eq-syms {
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
  display: flex;
}

.eq-syms button {
  background: var(--surface);
  min-height: 38px;
  font: inherit;
  color: var(--ink);
  cursor: pointer;
  border: 1.5px solid #f2d58a;
  border-radius: 12px;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  font-size: 17px;
  display: flex;
}

.eq-syms button[aria-pressed="true"] {
  border-color: var(--marker);
  background: #fff1cc;
}

.eq-syms em {
  color: #7a5a00;
  font-size: 15px;
  font-style: normal;
}

.wk-card {
  background: var(--primary-soft);
  border-radius: 12px;
  max-width: 720px;
  margin: 8px 0;
  padding: 12px 14px;
}

.wk-dots {
  gap: 6px;
  margin-bottom: 8px;
  display: flex;
}

.wk-dots i {
  background: var(--line);
  border-radius: 4px;
  flex: 1;
  height: 6px;
}

.wk-dots i.done {
  background: #9db0f5;
}

.wk-dots i.on {
  background: var(--primary);
}

.wk-title {
  justify-content: space-between;
  align-items: baseline;
  margin: 0;
  display: flex;
}

.wk-title b {
  color: var(--ink);
  font-size: 17px;
}

.wk-title span {
  color: var(--muted);
  font-size: 13px;
}

.wk-note {
  color: var(--ink);
  margin: 4px 0 10px;
  font-size: 17px;
  line-height: 23px;
}

.wk-state {
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 8px;
  display: grid;
}

.wk-state div {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  flex-direction: column;
  padding: 8px 10px;
  display: flex;
}

.wk-state small {
  color: var(--muted);
  font-size: 13px;
}

.wk-state b {
  color: var(--ink);
  font-size: 19px;
}

.wk-state div.ch {
  background: var(--right-soft);
  border-color: #2fb56b;
}

.wk-state div.ch b {
  color: var(--right);
}

.wk-state em {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}

.wk-nav {
  gap: 8px;
  margin-top: 10px;
  display: flex;
}

.wk-nav button {
  border: 1.5px solid var(--line);
  background: var(--surface);
  height: 40px;
  font: inherit;
  color: var(--primary);
  cursor: pointer;
  border-radius: 12px;
  padding: 0 16px;
  font-size: 15px;
  font-weight: 500;
}

.wk-nav button.go {
  background: var(--primary);
  color: var(--surface);
  border: 0;
  flex: 1;
}

.wk-nav button:disabled {
  opacity: .5;
  cursor: default;
}

.fl-row {
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  max-width: 860px;
  margin: 8px 0;
  display: flex;
}

.fl-step {
  align-items: center;
  gap: 6px;
  display: flex;
}

.fl-step span {
  border: 1.5px dashed var(--line);
  min-width: 110px;
  max-width: 190px;
  color: var(--muted);
  text-align: center;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 15px;
  line-height: 19px;
  display: block;
}

.fl-step.on span {
  color: var(--ink);
  border-style: solid;
  font-weight: 500;
}

.fl-step i {
  color: #8793b8;
  font-size: 19px;
  font-style: normal;
}

.li-card p {
  margin: 0;
  font-size: 17px;
}

.pf-pair {
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  max-width: 1100px;
  display: grid;
}

.pf-pair .pf-wrap {
  max-width: none;
}

@media (max-width: 900px) {
  .pf-pair {
    grid-template-columns: 1fr;
  }
}

.pf-wrap [data-i].pf-hid > :not(:last-child) {
  visibility: hidden;
}

.pf-wrap [data-i].pf-hid {
  cursor: default;
  opacity: 1 !important;
}

.pf-wrap [data-i].pf-new {
  filter: drop-shadow(0 0 5px #d6409fe6);
}

.sc-wrap {
  max-width: 720px;
  margin: 8px 0;
}

.sc-pic {
  background: var(--surface);
  border-radius: 12px;
  width: 100%;
  display: block;
}

.sc-pic text {
  font-family: var(--font-sans);
}

.sc-pin {
  cursor: pointer;
  outline: 0;
}

.sc-pin:hover circle:last-of-type, .sc-pin:focus-visible circle:last-of-type, .sc-pin.on circle:last-of-type {
  stroke: var(--marker);
  stroke-width: 4px;
}

.sc-steps {
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
  display: flex;
}

.sc-steps button {
  border: 1.5px solid var(--line);
  background: var(--surface);
  height: 38px;
  font: inherit;
  color: var(--ink);
  cursor: pointer;
  border-radius: 12px;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  font-size: 15px;
  font-weight: 500;
  display: flex;
}

.sc-wrap .sc-steps button > i {
  box-sizing: border-box;
  background: var(--primary-soft);
  width: 22px;
  height: 22px;
  color: var(--primary);
  text-align: center;
  border-radius: 8px;
  flex: none;
  margin: 0;
  padding: 0;
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
  line-height: 1;
  position: static;
  transform: none;
  justify-content: center !important;
  align-items: center !important;
  display: inline-flex !important;
}

.sc-steps button[aria-pressed="true"] {
  border-color: var(--primary);
  background: var(--primary-soft);
  color: var(--primary);
}

.sc-wrap .sc-steps button[aria-pressed="true"] > i {
  background: var(--primary);
  color: var(--surface);
}

.sc-say {
  color: var(--ink);
  margin: 6px 0 4px;
  font-size: 15px;
  line-height: 22px;
}

.sc-say b {
  color: var(--primary);
}

.sc-credit {
  color: var(--muted);
  margin: 0;
  font-size: 13px;
  line-height: 16px;
}

.al-clipfind {
  background: var(--paper);
  font-family: var(--font-sans);
  border: 2px solid #ffd8a8;
  border-radius: 12px;
  margin: 14px 0 4px;
  padding: 14px 16px;
}

.al-clipfind > b {
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #d9480f;
  margin-bottom: 4px;
  font-size: 13px;
  font-weight: 600;
  display: block;
}

.al-clipfind p {
  color: var(--ink);
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 15px;
  line-height: 22px;
  display: flex;
}

.al-clipfind-dot {
  background: #f76707;
  border-radius: 50%;
  flex: none;
  width: 10px;
  height: 10px;
  animation: 1s ease-in-out infinite alternate al-clipfind-pulse;
}

@keyframes al-clipfind-pulse {
  from {
    opacity: .3;
    transform: scale(.8);
  }

  to {
    opacity: 1;
    transform: scale(1.1);
  }
}

.al-clipfind-row {
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
  display: flex;
}

.al-clipfind-row input {
  min-width: 0;
  font: 500 15px var(--font-sans);
  border: 2px solid var(--primary-soft);
  background: var(--surface);
  color: var(--ink);
  border-radius: 12px;
  flex: 240px;
  padding: 9px 12px;
}

.al-clipfind-row input:focus {
  border-color: #f76707;
  outline: none;
}

.al-clipfind-row button {
  font: 500 15px var(--font-sans);
  background: var(--primary);
  color: var(--surface);
  cursor: pointer;
  border: 2px solid #f76707;
  border-radius: 12px;
  padding: 9px 16px;
}

.al-clipfind-row button.ghost {
  background: var(--surface);
  color: #d9480f;
}

.al-clipfind-row button:disabled {
  opacity: .5;
  cursor: default;
}

.al-clipfind em {
  color: var(--danger);
  margin-top: 8px;
  font-size: 15px;
  font-style: normal;
  display: block;
}

.al-blk:has(.sc-open) .al-opts {
  display: none;
}

.al-blk:has(.sc-label) .al-match > div:first-child {
  display: none;
}

.al-blk:has(.sc-label) .al-match {
  grid-template-columns: 1fr;
}

.al-blk:has(.sc-label) .al-match > div:last-child {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

:is(.al-blk:has(.sc-label) .al-match ~ .al-tip, .al-blk:has(.sc-label) .al-ask + .al-tip) {
  display: none;
}

.sc-tall {
  max-width: none;
}

.sc-tall .sc-pic {
  width: auto;
  max-width: 100%;
  height: 480px;
}

.sc-tall .sc-say, .sc-tall .sc-credit {
  max-width: 360px;
}

.kt-top:has(.sc-tall) {
  float: left;
  max-width: 60%;
  margin-right: 28px;
}

.kt-top:has(.sc-tall) + div {
  min-width: 280px;
  overflow: hidden;
}

.al-blk:has(.sc-tall):after {
  content: "";
  clear: both;
  display: block;
}

@media (max-width: 760px) {
  .kt-top:has(.sc-tall) {
    float: none;
    max-width: none;
    margin-right: 0;
  }

  .sc-tall .sc-pic {
    height: auto;
    max-height: 56vh;
  }
}

.bn {
  max-width: 880px;
  font-family: var(--font-sans);
  margin: 0 64px 0 116px;
  padding: 28px 0 40px 16px;
  position: relative;
}

.al-buildwait.al-margin {
  padding: 0;
}

.bn-page {
  padding: 0 0 36px;
  position: relative;
}

.bn-title {
  color: var(--ink);
  letter-spacing: -.01em;
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  line-height: 36px;
}

.bn-sub {
  color: var(--muted);
  margin: 0;
  font-size: 19px;
  line-height: 36px;
}

.bn-sub mark {
  color: var(--ink);
  background: linear-gradient(#0000 55%, #ffe2a3 55%);
  padding: 0 3px;
  font-weight: 600;
}

.bn-draw {
  border-bottom: 2px dashed var(--line);
  height: 36px;
  margin: 18px 70px 18px 0;
  position: relative;
}

.bn-draw i {
  background: var(--primary);
  border-radius: 4px;
  min-width: 6px;
  height: 4px;
  transition: width .25s linear;
  position: absolute;
  bottom: -3px;
  left: 0;
}

.bn-pencil {
  transform-origin: 0 8px;
  animation: .5s ease-in-out infinite alternate bnWr;
  position: absolute;
  bottom: -1px;
  right: -46px;
  transform: rotate(-28deg);
}

.bn-draw b {
  text-align: right;
  width: 62px;
  font-family: var(--font-hand);
  color: var(--primary);
  font-variant-numeric: tabular-nums;
  font-size: 28px;
  font-weight: 600;
  line-height: 36px;
  position: absolute;
  bottom: -14px;
  right: -70px;
}

.bn-steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.bn-steps li {
  min-height: 72px;
  position: relative;
}

.bn-steps li > div {
  padding-top: 1px;
}

.bn-mark {
  width: 26px;
  height: 24px;
  color: var(--muted);
  justify-content: flex-end;
  align-items: center;
  font-size: 15px;
  display: flex;
  position: absolute;
  top: 7px;
  left: -58px;
}

.bn-steps .done .bn-mark {
  color: var(--right);
}

.bn-steps .now .bn-mark {
  color: var(--primary);
  font-weight: 700;
}

.bn-steps b {
  color: #a2a9c2;
  font-size: 23px;
  font-weight: 500;
  line-height: 36px;
  display: block;
}

.bn-steps .done b {
  color: #55618a;
}

.bn-steps .now b {
  color: var(--ink);
  font-weight: 700;
}

.bn-steps em {
  font-style: normal;
  font-family: var(--font-hand);
  color: var(--primary);
  white-space: nowrap;
  font-size: 28px;
  line-height: 36px;
  animation: .7s steps(28, end) both bnWrite;
  display: block;
  overflow: hidden;
}

.bn-wait {
  padding-bottom: 0;
}

.bn-wait .ht {
  box-shadow: none;
  background: none;
  border: 0;
  border-radius: 0;
  padding: 0;
}

@keyframes bnWr {
  from {
    transform: rotate(-28deg) translateY(0);
  }

  to {
    transform: rotate(-24deg) translateY(-1.5px);
  }
}

@keyframes bnWrite {
  from {
    max-width: 0;
  }

  to {
    max-width: 100%;
  }
}

@media (max-width: 760px) {
  .bn {
    margin: 0 8px 0 50px;
    padding-left: 8px;
  }

  .bn-mark {
    width: 24px;
    left: -56px;
  }

  .bn-title {
    font-size: 23px;
  }

  .bn-steps b {
    font-size: 19px;
  }

  .bn-steps em {
    white-space: normal;
    font-size: 23px;
    animation: none;
  }

  .bn-draw {
    margin-right: 62px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bn-pencil, .bn-steps em {
    animation: none;
  }
}

.hd-wrap {
  margin-top: 8px;
}

.hd-map, .hd-pad {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  max-width: 820px;
  padding: 10px 12px 8px;
}

.hd-bar {
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
  font-size: 15px;
  line-height: 24px;
  display: flex;
}

.hd-bar b {
  color: var(--ink);
}

.hd-want {
  color: var(--ink);
  background: linear-gradient(#0000 55%, #ffe2a3 55%);
  padding: 0 3px;
  font-weight: 600;
}

.hd-tools {
  gap: 6px;
  margin-left: auto;
  display: flex;
}

.hd-tools button, .hd-btn {
  border: 1px solid var(--line);
  background: var(--primary-soft);
  color: var(--primary);
  font: 500 13px var(--font-sans);
  cursor: pointer;
  border-radius: 8px;
  padding: 4px 10px;
}

.hd-mapbox {
  border-radius: 8px;
  max-height: 560px;
}

.hd-mapbox svg {
  display: block;
}

.hd-load {
  text-align: center;
  color: var(--muted);
  padding: 60px;
}

.hd-f.tap, .hd-map .tap {
  cursor: pointer;
}

.hd-f.tap:hover {
  fill: #dce3ff;
}

.hd-num {
  font: 700 15px var(--font-sans);
  fill: var(--primary);
  paint-order: stroke;
  stroke: var(--surface);
  stroke-width: 3px;
}

.hd-pin {
  fill: var(--surface);
  pointer-events: none;
  font-weight: 700;
}

.hd-name {
  font: 600 13px var(--font-sans);
  fill: var(--ink);
  paint-order: stroke;
  stroke: var(--surface);
  stroke-width: 3px;
  pointer-events: none;
}

.hd-opts {
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
  display: flex;
}

.hd-opts button {
  border: 1px solid var(--line);
  background: var(--surface);
  font: 500 15px var(--font-sans);
  color: var(--ink);
  cursor: pointer;
  border-radius: 8px;
  padding: 6px 14px;
}

.hd-opts button[aria-checked="true"] {
  border-color: var(--primary);
  background: var(--primary-soft);
  color: var(--primary);
}

.hd-labels {
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 8px;
  margin-top: 10px;
  display: grid;
}

.hd-labels label {
  align-items: center;
  gap: 8px;
  display: flex;
}

.hd-labels label.on select {
  border-color: var(--primary);
}

.hd-labels i {
  color: var(--surface);
  border-radius: 12px;
  flex: none;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
  display: inline-flex;
}

.hd-labels select {
  font: 15px var(--font-sans);
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 8px;
  flex: 1;
  padding: 5px 8px;
}

.hd-note {
  color: var(--muted);
  margin: 6px 0 0;
  font-size: 15px;
  line-height: 22px;
}

.hd-credit {
  color: var(--muted);
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 16px;
}

.mu-staff {
  background: var(--surface);
  max-width: 100%;
  overflow-x: auto;
}

.mu-staff.tap {
  cursor: crosshair;
  outline: 1px dashed var(--line);
  border-radius: 8px;
}

.mu-staff svg {
  display: block;
}

.mu-keys {
  width: 100%;
  max-width: 720px;
  margin: 8px 0;
  display: block;
}

.mu-c {
  font: 500 13px var(--font-sans);
  fill: var(--muted);
  pointer-events: none;
}

.mu-acc, .mu-row, .mu-pal, .mu-tools {
  flex-wrap: wrap;
  gap: 6px;
  margin: 6px 0;
  display: flex;
}

.mu-acc button {
  border: 1px solid var(--line);
  background: var(--surface);
  font: 500 13px var(--font-sans);
  cursor: pointer;
  border-radius: 8px;
  padding: 4px 10px;
}

.mu-acc button[aria-checked="true"] {
  background: var(--primary-soft);
  border-color: var(--primary);
  color: var(--primary);
}

.hd-btn.big {
  margin: 4px 6px 4px 0;
  padding: 7px 14px;
  font-size: 15px;
}

.mu-names {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
  display: flex;
}

.mu-names label {
  color: var(--muted);
  flex-direction: column;
  font-size: 13px;
  display: flex;
}

.mu-names input {
  width: 86px;
  font: 17px var(--font-sans);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 5px 8px;
}

.mu-choices {
  gap: 8px;
  margin-top: 8px;
  display: grid;
}

.mu-choices button {
  background: var(--surface);
  border: 1px solid var(--line);
  cursor: pointer;
  text-align: left;
  border-radius: 12px;
  align-items: center;
  gap: 10px;
  padding: 4px 10px;
  display: flex;
}

.mu-choices button[aria-pressed="true"] {
  border-color: var(--primary);
  background: var(--primary-soft);
}

.mu-choices b {
  color: var(--primary);
  width: 20px;
  font-size: 17px;
}

.mu-pad {
  background: var(--primary);
  width: 100%;
  max-width: 420px;
  height: 110px;
  color: var(--surface);
  font: 700 28px var(--font-sans);
  cursor: pointer;
  touch-action: manipulation;
  border: 0;
  border-radius: 12px;
  margin: 8px 0;
  display: block;
}

.mu-pad:disabled {
  background: #c9d3f6;
}

.gm-svg {
  touch-action: none;
  background: #fff;
  border: 1px solid #e6eaf5;
  border-radius: 8px;
  width: 100%;
  max-width: 760px;
  display: block;
}

.gm-grid {
  max-width: 470px;
}

.gm-svg .tap {
  cursor: pointer;
}

.gm-tools {
  flex-wrap: wrap;
  gap: 6px;
  display: flex;
}

.gm-tools button {
  font: 600 13px var(--font-sans);
  color: var(--ink);
  cursor: pointer;
  background: #fff;
  border: 1px solid #d7def5;
  border-radius: 8px;
  padding: 4px 10px;
}

.gm-tools button[aria-checked="true"] {
  border-color: var(--primary);
  color: var(--primary);
  background: #eef2ff;
}

.gm-lbl {
  font: 800 20px var(--font-sans);
  fill: #1f2a44;
}

.gm-val {
  font: 800 17px var(--font-sans);
  fill: #1f2a44;
  paint-order: stroke;
  stroke: #fff;
  stroke-width: 4px;
}

.gm-tick {
  font: 700 13px var(--font-sans);
  fill: #3b5bdb;
}

.gm-tick2 {
  font: 600 13px var(--font-sans);
  fill: #7c8bc9;
}

.gm-turn {
  font: 800 15px var(--font-sans);
  fill: #fff;
  cursor: grab;
}

.gm-pro {
  cursor: grab;
}

.gm-ax {
  font: 600 13px var(--font-sans);
  fill: #8a93b2;
}

.gm-ans {
  margin-top: 8px;
}

.gm-ans input {
  font: 17px var(--font-sans);
  border: 1px solid #d7def5;
  border-radius: 8px;
  width: 180px;
  padding: 6px 10px;
}

.ch-eq {
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 4px;
  margin: 8px 0;
  font-size: 23px;
  display: flex;
}

.ch-term {
  align-items: center;
  gap: 4px;
  display: inline-flex;
}

.ch-f {
  color: var(--ink);
  font-weight: 600;
}

.ch-arrow, .ch-plus {
  color: var(--muted);
  margin: 0 8px;
}

.ch-step {
  border: 1px solid var(--line);
  border-radius: 4px;
  align-items: center;
  display: inline-flex;
  overflow: hidden;
}

.ch-step button {
  background: var(--primary-soft);
  color: var(--primary);
  font: 700 17px var(--font-sans);
  cursor: pointer;
  border: 0;
  width: 28px;
  height: 32px;
}

.ch-step button:disabled {
  color: #c9cedd;
  cursor: default;
}

.ch-step b {
  text-align: center;
  min-width: 28px;
  font-size: 17px;
}

.ch-count {
  border-collapse: collapse;
  margin: 8px 0;
  font-size: 15px;
}

.ch-count th, .ch-count td {
  border: 1px solid var(--primary-soft);
  text-align: center;
  padding: 4px 14px;
}

.ch-count tr.ok td {
  background: var(--right-soft);
}

.ch-count tr.off td {
  background: var(--danger-soft);
}

.ch-atom {
  font: 700 17px var(--font-sans);
  fill: var(--ink);
  pointer-events: none;
}

.ch-mol {
  max-width: 640px;
}

.ch-pt {
  max-width: 760px;
}

.ch-sym {
  font: 700 15px var(--font-sans);
  pointer-events: none;
}

.ch-z {
  font: 500 8px var(--font-sans);
  pointer-events: none;
}

.ch-orbs {
  flex-direction: column;
  gap: 6px;
  margin: 8px 0;
  display: flex;
}

.ch-orb {
  align-items: center;
  gap: 4px;
  display: flex;
}

.ch-orb b {
  width: 34px;
  font-size: 15px;
}

.ch-orb button {
  background: var(--surface);
  width: 42px;
  height: 42px;
  font: 700 17px var(--font-sans);
  color: var(--primary);
  cursor: pointer;
  border: 2px solid #9aa6c8;
  border-radius: 4px;
}

.ch-big {
  font: 700 23px var(--font-sans);
  fill: var(--ink);
  color: var(--ink);
}

.ch-big2 {
  margin: 6px 0;
  font-size: 28px;
  font-weight: 700;
}

.ch-ions {
  flex-wrap: wrap;
  gap: 30px;
  margin: 8px 0;
  display: flex;
}

.ch-ions > div {
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  display: flex;
}

.ch-ions small {
  color: var(--muted);
  font-size: 15px;
}

.ar-wheel {
  max-width: 340px;
  display: block;
}

.ar-mark {
  font: 700 13px var(--font-sans);
  fill: var(--ink);
  paint-order: stroke;
  stroke: var(--surface);
  stroke-width: 3px;
  pointer-events: none;
}

.ar-hub {
  font: 500 13px var(--font-sans);
  fill: var(--muted);
}

.ar-sw {
  flex-wrap: wrap;
  gap: 8px;
  margin: 6px 0;
  display: flex;
}

.ar-sw button {
  border: 3px solid var(--surface);
  outline: 1px solid var(--line);
  cursor: pointer;
  width: 64px;
  height: 64px;
  font: 700 19px var(--font-sans);
  color: var(--ink);
  text-shadow: 0 0 4px var(--surface);
  border-radius: 4px;
}

.ar-sw button[aria-pressed="true"] {
  border-color: var(--ink);
}

.ar-pal {
  outline: 1px solid var(--line);
  border-radius: 4px;
  max-width: 420px;
  height: 64px;
  display: flex;
  overflow: hidden;
}

.ar-pal span {
  flex: 1;
}

.ar-chip {
  vertical-align: -3px;
  outline: 1px solid var(--line);
  border-radius: 4px;
  width: 18px;
  height: 18px;
  display: inline-block;
}

.ar-prev {
  outline: 1px solid var(--line);
  border-radius: 8px;
  flex-direction: column;
  gap: 6px;
  max-width: 460px;
  padding: 22px 24px;
  display: flex;
}

.ar-prev span {
  font-size: 15px;
}

.ar-slide {
  font: 500 15px var(--font-sans);
  align-items: center;
  gap: 10px;
  margin: 10px 0;
  display: flex;
}

.ar-slide input {
  flex: 1;
  max-width: 320px;
}

.ar-ok {
  color: #1e8e3e;
}

.ar-no {
  color: #d6336c;
}

.ar-frame {
  border-radius: 4px;
  max-width: 520px;
  display: block;
}

.ar-scene {
  max-width: 640px;
  display: block;
}

.ar-grid {
  max-width: 360px;
  display: block;
}

.ar-face {
  max-width: 300px;
  display: block;
}

.ar-tiny {
  font: 500 13px var(--font-sans);
  fill: #8a6a4e;
}

.ar-canvas {
  aspect-ratio: 8 / 5;
  border: 1px solid var(--line);
  background: var(--surface);
  cursor: crosshair;
  border-radius: 4px;
  width: 100%;
  max-width: 640px;
  display: block;
}

.ar-checks {
  margin: 4px 0 8px 20px;
  font-size: 15px;
  line-height: 22px;
}

.sp-lang {
  font: 600 13px var(--font-sans);
  color: var(--tutor);
  margin: 0 0 6px;
}

.sp-lang span {
  color: var(--muted);
  font-weight: 500;
}

.sp-line {
  flex-direction: column;
  gap: 2px;
  margin: 2px 0 8px;
  display: flex;
}

.sp-line b {
  color: var(--ink);
  font-size: 23px;
  line-height: 32px;
}

.sp-line span {
  color: var(--primary);
  font-size: 15px;
}

.sp-line i {
  color: var(--muted);
  font-size: 15px;
}

.sp-play {
  gap: 6px;
  margin: 4px 0;
  display: inline-flex;
}

.sp-mic {
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  display: flex;
}

.sp-hold {
  background: var(--right-soft);
  color: #16772f;
  font: 600 15px var(--font-sans);
  cursor: pointer;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
  border: 2px solid #2dbe4e;
  border-radius: 8px;
  padding: 10px 18px;
}

.sp-hold.live {
  color: var(--surface);
  background: #2dbe4e;
}

.sp-in {
  border: 1px solid var(--line);
  min-width: 220px;
  max-width: 460px;
  font: 500 17px var(--font-sans);
  border-radius: 4px;
  flex: 1;
  padding: 8px 10px;
}

.sp-err {
  color: #d6336c;
}

.sp-pair {
  gap: 10px;
  margin: 8px 0;
  display: flex;
}

.sp-pair button {
  border: 2px solid var(--line);
  background: var(--surface);
  cursor: pointer;
  border-radius: 8px;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 120px;
  padding: 12px 16px;
  display: flex;
}

.sp-pair button[aria-pressed="true"] {
  border-color: var(--primary);
  background: var(--primary-soft);
}

.sp-pair b {
  font-size: 23px;
}

.sp-pair span {
  color: var(--primary);
  font-size: 15px;
}

.sp-pair i {
  color: var(--muted);
  font-size: 13px;
}

.sp-built, .sp-tiles {
  flex-wrap: wrap;
  gap: 6px;
  min-height: 44px;
  margin: 6px 0;
  padding: 6px;
  display: flex;
}

.sp-built {
  border-bottom: 2px solid var(--line);
}

.sp-built button, .sp-tiles button {
  background: var(--surface);
  font: 500 17px var(--font-sans);
  cursor: pointer;
  border: 1px solid #c9d2ee;
  border-radius: 4px;
  padding: 6px 12px;
}

.sp-tiles button:disabled {
  opacity: .3;
}

.sp-built button {
  background: var(--primary-soft);
}

.sa-head h1.sa-h1 {
  clip: rect(0 0 0 0);
  white-space: nowrap;
  flex: none;
  width: 1px;
  height: 1px;
  position: absolute;
  overflow: hidden;
}

.sa-head:before {
  content: "";
  flex: 1;
  order: 0;
}

.sa-head .sa-back {
  order: -1;
}

.pg-pastes {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
  display: flex;
}

.pg-paste {
  width: 200px;
  position: relative;
}

.pg-paste-card {
  border: 1.5px solid var(--line);
  background: var(--surface);
  text-align: left;
  cursor: pointer;
  width: 100%;
  height: 120px;
  font: inherit;
  color: var(--ink);
  border-radius: 12px;
  flex-direction: column;
  justify-content: space-between;
  padding: 10px 12px;
  display: flex;
  overflow: hidden;
}

.pg-paste-card:hover, .pg-paste.open .pg-paste-card {
  border-color: var(--primary);
}

.pg-paste-txt {
  color: #4a5372;
  -webkit-line-clamp: 4;
  white-space: pre-line;
  word-break: break-word;
  -webkit-box-orient: vertical;
  font-size: 13px;
  line-height: 16px;
  display: -webkit-box;
  overflow: hidden;
}

.pg-paste-foot {
  color: var(--muted);
  white-space: nowrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  display: flex;
}

.pg-paste-foot b {
  letter-spacing: .06em;
  color: var(--primary);
  border: 1px solid #c9d2ee;
  border-radius: 4px;
  padding: 1px 5px;
  font-size: 13px;
}

.pg-paste .pg-ib {
  background: var(--surface);
  border: 1.5px solid var(--line);
  width: 24px;
  height: 24px;
  color: var(--muted);
  border-radius: 50%;
  position: absolute;
  top: -9px;
  right: -9px;
}

.pg-paste .pg-ib svg {
  width: 13px;
  height: 13px;
}

.pg-paste-view {
  border: 1.5px solid var(--line);
  background: var(--surface);
  border-radius: 12px;
  margin-top: 10px;
}

.pg-paste-view pre {
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 260px;
  font: 15px/22px var(--font-sans);
  color: var(--ink);
  margin: 0;
  padding: 12px 14px;
  overflow: auto;
}

.pg-paste-view div {
  border-top: 1px solid var(--line);
  gap: 8px;
  padding: 8px 12px;
  display: flex;
}

.al-found li {
  position: relative;
}

.al-found-x, .al-found-see {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
  border-radius: 8px;
  flex: none;
  align-self: center;
}

.al-found-x {
  width: 28px;
  height: 28px;
  margin-left: auto;
  font-size: 17px;
  line-height: 1;
}

.al-found-x:hover {
  color: #d6336c;
  border-color: #f3b4c8;
}

.al-found-see {
  font: 500 13px var(--font-sans);
  margin-left: auto;
  padding: 4px 8px;
  display: none;
}

@media (hover: none) {
  .al-found-see {
    display: inline-block;
  }

  .al-found-x {
    margin-left: 6px;
  }
}

.al-peek {
  z-index: 900;
  background: var(--surface);
  border: 1.5px solid #c9d2ee;
  border-radius: 12px;
  flex-direction: column;
  width: min(560px, 80vw);
  height: 380px;
  display: flex;
  position: absolute;
  top: calc(100% + 4px);
  left: 40px;
  overflow: hidden;
  box-shadow: 0 14px 40px #1f2a442e;
}

.al-peek-bar {
  border-bottom: 1px solid var(--line);
  font: 500 13px var(--font-sans);
  color: var(--muted);
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  display: flex;
}

.al-peek-bar span {
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  overflow: hidden;
}

.al-peek-bar a {
  color: var(--primary);
}

.al-peek-bar button {
  color: var(--muted);
  cursor: pointer;
  background: none;
  border: 0;
  font-size: 17px;
}

.al-peek iframe {
  background: var(--surface);
  border: 0;
  flex: 1;
  width: 100%;
}

.al-peek-msg {
  color: var(--muted);
  text-align: center;
  margin: auto;
  padding: 20px;
  font-size: 15px;
}

.or-help {
  color: var(--muted);
  margin: 2px 0 8px;
  font-size: 13px;
}

.or-list {
  touch-action: none;
  gap: 8px;
  max-width: 760px;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
}

.or-list li {
  background: var(--surface);
  border: 1.5px solid var(--line);
  -webkit-user-select: none;
  user-select: none;
  border-radius: 12px;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  transition: transform .12s, box-shadow .12s;
  display: flex;
}

.or-list li.lift {
  z-index: 5;
  border-color: var(--primary);
  background: var(--primary-soft);
  transition: none;
  position: relative;
  box-shadow: 0 10px 26px #1f2a442e;
}

.or-grip {
  cursor: grab;
  color: #9aa5c4;
  letter-spacing: -3px;
  touch-action: none;
  padding: 4px 2px;
  font-size: 15px;
}

.or-list li.lift .or-grip {
  cursor: grabbing;
}

.or-list i {
  background: var(--primary-soft);
  width: 26px;
  height: 26px;
  color: var(--primary);
  font: 600 13px var(--font-sans);
  border-radius: 8px;
  flex: none;
  place-items: center;
  font-style: normal;
  display: grid;
}

.or-txt {
  cursor: grab;
  touch-action: none;
  flex: 1;
  font-size: 17px;
  line-height: 22px;
}

.or-arrows {
  gap: 4px;
  display: flex;
}

.or-arrows button {
  border: 1px solid var(--line);
  background: var(--surface);
  width: 30px;
  height: 30px;
  color: var(--primary);
  cursor: pointer;
  border-radius: 8px;
  font-size: 15px;
}

.or-arrows button:disabled {
  opacity: .3;
  cursor: default;
}

.or-keep {
  margin-top: 8px;
}

@media (min-width: 1180px) {
  .bn {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: start;
    column-gap: 56px;
    max-width: none;
    margin-right: 48px;
    display: grid;
  }

  .bn-wait {
    padding-top: 4px;
    position: sticky;
    top: 24px;
  }
}

@media (min-width: 1800px) {
  .al-buildwait {
    zoom: 1.25;
  }
}

@media (min-width: 2300px) {
  .al-buildwait {
    zoom: 1.45;
  }
}

.al-fold {
  background: var(--paper);
  max-width: 100%;
  font: 500 15px/22px var(--font-sans);
  color: #4a5372;
  text-align: left;
  cursor: pointer;
  border: 0;
  border-radius: 4px;
  align-items: center;
  gap: 8px;
  margin: 2px 0 6px;
  padding: 3px 10px 3px 8px;
  display: flex;
}

.al-fold.hint {
  border-left-color: var(--tutor);
  background: var(--tutor-soft);
}

.al-fold b {
  color: #8a5a00;
  flex: none;
  font-weight: 600;
}

.al-fold.hint b {
  color: #6a2fb0;
}

.al-fold span {
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  overflow: hidden;
}

.al-fold i {
  color: #9aa5c4;
  flex: none;
  font-size: 13px;
  font-style: normal;
}

.al-fold:hover {
  filter: brightness(.97);
}

.al-unfold {
  cursor: pointer;
}

.al-unfold:hover {
  opacity: .92;
}

.al-seen {
  background: var(--primary-soft);
  max-width: 100%;
  font: 500 13px/20px var(--font-sans);
  color: #4a5372;
  text-align: left;
  cursor: pointer;
  border: 0;
  border-radius: 4px;
  margin: 2px 0 6px;
  padding: 2px 8px;
  display: block;
}

.al-seen i {
  color: #9aa5c4;
  font-size: 13px;
  font-style: normal;
}

.al-seen.open {
  font-weight: 400;
}

.al-seen b {
  color: #2a63c9;
  font-weight: 500;
}

.al-seen:hover {
  filter: brightness(.97);
}

.al-set {
  position: relative;
}

.al-setp {
  z-index: 500;
  background: var(--surface);
  width: 290px;
  color: var(--ink);
  border-radius: 12px;
  gap: 8px;
  padding: 14px 16px 16px;
  font-size: 15px;
  display: grid;
  position: absolute;
  top: 0;
  left: 82px;
  box-shadow: 0 14px 40px #1f2a442e;
}

.al-setp > b {
  color: var(--muted);
  margin-top: 4px;
  font-size: 13px;
  font-weight: 600;
}

.al-setp small {
  color: var(--muted);
}

.al-setv {
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  max-height: 190px;
  display: grid;
  overflow: auto;
}

.al-setv button {
  border: 2px solid var(--line);
  background: var(--surface);
  min-height: 40px;
  font: 500 15px/18px var(--font-sans);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  border-radius: 12px;
  align-items: center;
  gap: 8px;
  padding: 4px 8px;
  display: flex;
}

.al-setv button[aria-pressed="true"] {
  background: var(--right-soft);
  border-color: #9ccbb0;
}

.al-setv i {
  background: var(--brand-hover);
  width: 26px;
  height: 26px;
  color: var(--surface);
  border-radius: 8px;
  flex: none;
  justify-content: center;
  align-items: center;
  font-style: normal;
  font-weight: 600;
  display: flex;
}

.al-sets {
  border: 2px solid var(--line);
  border-radius: 12px;
  display: flex;
  overflow: hidden;
}

.al-sets button {
  background: var(--surface);
  height: 38px;
  font: 500 15px var(--font-sans);
  color: var(--ink);
  cursor: pointer;
  border: 0;
  flex: 1;
}

.al-sets button[aria-pressed="true"] {
  background: var(--right-soft);
  color: var(--brand);
}

.al-setx {
  background: var(--danger-soft);
  height: 40px;
  font: 500 15px var(--font-sans);
  color: #b42318;
  cursor: pointer;
  border: 2px solid #f3c2c4;
  border-radius: 12px;
}

.al-setr {
  gap: 6px;
  display: grid;
}

.al-setr span {
  font-size: 15px;
  line-height: 20px;
}

.al-setr button {
  border: 2px solid var(--line);
  background: var(--surface);
  height: 40px;
  font: 500 15px var(--font-sans);
  color: var(--ink);
  cursor: pointer;
  border-radius: 12px;
}

.al-setr .go {
  color: var(--surface);
  background: #d92d20;
  border-color: #d92d20;
}

.ob {
  background: var(--paper);
  min-height: 100vh;
  color: var(--ink);
  flex-direction: column;
  display: flex;
}

.ob-top {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px clamp(16px, 4vw, 48px);
  display: flex;
}

.ob-brand {
  width: auto;
  height: 34px;
}

.ob-steps {
  color: var(--muted);
  gap: 18px;
  margin: 0;
  padding: 0;
  font-size: 15px;
  font-weight: 500;
  list-style: none;
  display: flex;
}

.ob-steps li {
  align-items: center;
  gap: 8px;
  display: flex;
}

.ob-steps i {
  background: var(--primary-soft);
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  width: 26px;
  height: 26px;
  font-size: 13px;
  font-style: normal;
  display: flex;
}

.ob-steps .now {
  color: var(--primary);
}

.ob-steps .now i {
  background: var(--primary);
  color: var(--surface);
}

.ob-steps .done {
  color: var(--right);
}

.ob-steps .done i {
  background: var(--right);
  color: var(--surface);
}

.ob-skip {
  color: var(--muted);
  background: none;
  border: 0;
  padding: 10px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: underline;
}

.ob-body {
  flex-wrap: wrap;
  flex: 1;
  justify-content: center;
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
  padding: 12px clamp(16px, 4vw, 48px) 48px;
  display: flex;
}

.ob-main {
  flex: 440px;
  gap: 22px;
  max-width: 560px;
  display: grid;
}

.ob-main h1 {
  letter-spacing: -.02em;
  margin: 0;
  font-size: clamp(32px, 4.4vw, 46px);
  font-weight: 600;
  line-height: 1.1;
}

.ob-main h1 em {
  color: var(--right);
  font-style: normal;
}

.ob-sub {
  color: var(--muted);
  margin: -8px 0 0;
  font-size: 17px;
  line-height: 27px;
}

.ob-col {
  gap: 12px;
  display: grid;
}

.ob-row {
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  display: flex;
}

.ob-col small, .ob-row small {
  color: var(--muted);
  font-size: 15px;
}

.ob-btn {
  border: 1.5px solid var(--line);
  background: var(--surface);
  min-height: 52px;
  font: 500 17px var(--font-sans);
  color: var(--ink);
  cursor: pointer;
  border-radius: 12px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 0 22px;
  text-decoration: none;
  display: inline-flex;
}

.ob-btn:hover {
  border-color: #9ccbb0;
}

.ob-btn.go {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--surface);
}

.ob-btn.go:hover {
  background: var(--brand-hover);
}

.ob-btn.big {
  min-height: 58px;
  padding: 0 30px;
  font-size: 17px;
}

.ob-btn.sm {
  min-height: 42px;
  padding: 0 14px;
  font-size: 15px;
}

.ob-btn:disabled {
  opacity: .6;
}

.ob-g {
  color: #5a4108;
  background: #f5c43e;
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  width: 28px;
  height: 28px;
  font-style: normal;
  font-weight: 700;
  display: flex;
}

.ob-mic {
  background: var(--primary);
  min-height: 64px;
  color: var(--surface);
  font: 600 17px var(--font-sans);
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
  border: 0;
  border-radius: 12px;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 0 24px;
  display: flex;
  box-shadow: 0 5px #5e9442;
}

.ob-mic.live {
  background: #ffe9b8;
  box-shadow: 0 5px #e8c77a;
}

.ob-field {
  color: var(--muted);
  gap: 6px;
  font-size: 15px;
  font-weight: 500;
  display: grid;
}

.ob-field input {
  box-sizing: border-box;
  border: 1.5px solid var(--line);
  background: var(--surface);
  height: 52px;
  font: 500 17px var(--font-sans);
  color: var(--ink);
  border-radius: 8px;
  padding: 0 16px;
}

.ob-field input:focus {
  border-color: #9ccbb0;
  outline: none;
}

.ob-say {
  background: var(--right-soft);
  border: 1.5px solid #9ccbb0;
  border-radius: 12px;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  display: flex;
}

.ob-say span {
  flex: 1;
  display: grid;
}

.ob-say small {
  color: var(--brand-hover);
  font-size: 13px;
  font-weight: 500;
}

.ob-say b {
  font-size: 23px;
}

.ob-play {
  background: var(--brand);
  width: 44px;
  height: 44px;
  color: var(--surface);
  border: 0;
  border-radius: 12px;
  flex: none;
  justify-content: center;
  align-items: center;
  display: flex;
}

.ob-voices {
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
  display: grid;
}

.ob-voices button {
  border: 1.5px solid var(--line);
  background: var(--surface);
  text-align: left;
  font-family: var(--font-sans);
  color: var(--ink);
  border-radius: 12px;
  align-items: center;
  gap: 12px;
  padding: 12px;
  display: flex;
}

.ob-voices button[aria-pressed="true"] {
  background: var(--right-soft);
  border-color: #9ccbb0;
}

.ob-voices i {
  width: 44px;
  height: 44px;
  color: var(--surface);
  border-radius: 50%;
  flex: none;
  justify-content: center;
  align-items: center;
  font-size: 17px;
  font-style: normal;
  font-weight: 600;
  display: flex;
}

.ob-voices span {
  min-width: 0;
  display: grid;
}

.ob-voices b {
  font-size: 17px;
}

.ob-voices small {
  color: var(--muted);
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  overflow: hidden;
}

.ob-speed {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  padding: 14px 16px;
  display: flex;
}

.ob-speed > b {
  font-size: 17px;
}

.ob-speed small {
  color: var(--muted);
  font-size: 15px;
}

.ob-speed div {
  border: 1.5px solid var(--line);
  border-radius: 12px;
  display: flex;
  overflow: hidden;
}

.ob-speed div button {
  background: var(--surface);
  height: 42px;
  font: 500 15px var(--font-sans);
  color: var(--ink);
  border: 0;
  padding: 0 18px;
}

.ob-speed div button[aria-pressed="true"] {
  background: var(--right-soft);
  color: var(--brand);
}

.ob-note {
  color: var(--muted);
  margin: 0;
}

.ob-side {
  flex-direction: column;
  flex: 0 480px;
  align-items: center;
  gap: 26px;
  display: flex;
}

.ob-bubble {
  background: var(--surface);
  border-radius: 12px 12px 12px 4px;
  padding: 16px 18px;
  font-size: 17px;
  font-weight: 500;
  line-height: 27px;
  box-shadow: 0 12px 34px -16px #1f2a4459;
}

.ob-orb {
  background: var(--brand);
  width: 132px;
  height: 132px;
  color: var(--surface);
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  margin: -66px 0 0 -66px;
  transition: background .2s, box-shadow .2s;
  display: flex;
  position: absolute;
  top: 50%;
  left: 50%;
  box-shadow: 0 0 0 14px #7db65a47, 0 0 0 30px #7db65a1f;
}

.ob-orb.live {
  background: #f5c43e;
  box-shadow: 0 0 0 14px #f5c43e47, 0 0 0 30px #f5c43e1f;
}

.ob-ways {
  gap: 8px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
}

.ob-ways li {
  background: var(--surface);
  border: 1.5px solid var(--line);
  color: var(--brand);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 15px;
  font-weight: 500;
}

@media (max-width: 760px) {
  .ob-side {
    display: none;
  }

  .ob-steps {
    order: 3;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    font-size: 13px;
  }
}

.pg-tour {
  color: var(--muted);
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 0 0 6px;
  font-size: 15px;
  display: flex;
}

.pg-tour a {
  text-decoration: none;
}

.tr-list {
  z-index: 600;
  background: var(--surface);
  width: 270px;
  color: var(--ink);
  border-radius: 12px;
  padding: 12px 14px 14px;
  font-size: 15px;
  position: fixed;
  bottom: 104px;
  right: 16px;
  box-shadow: 0 14px 40px #1f2a4433;
}

.tr-list.shut {
  width: 210px;
}

.tr-head {
  align-items: center;
  gap: 6px;
  display: flex;
}

.tr-tog {
  font: inherit;
  color: inherit;
  text-align: left;
  background: none;
  border: 0;
  flex: 1;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 2px 0;
  display: flex;
}

.tr-tog b {
  font-size: 17px;
}

.tr-tog span {
  color: var(--muted);
  font-weight: 500;
}

.tr-x {
  width: 30px;
  height: 30px;
  color: var(--muted);
  background: none;
  border: 0;
  border-radius: 8px;
  font-size: 19px;
  line-height: 1;
}

.tr-x:hover {
  background: var(--primary-soft);
}

.tr-bar {
  background: var(--primary-soft);
  border-radius: 4px;
  height: 7px;
  margin: 8px 0 10px;
}

.tr-bar i {
  background: var(--right);
  border-radius: 4px;
  height: 7px;
  transition: width .3s;
  display: block;
}

.tr-list ul {
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
}

.tr-list li {
  color: var(--muted);
  align-items: center;
  gap: 10px;
  font-weight: 500;
  display: flex;
}

li .tr-sr {
  clip: rect(0 0 0 0);
  white-space: nowrap;
  width: 1px;
  height: 1px;
  position: absolute;
  overflow: hidden;
}

.tr-list li i {
  box-sizing: border-box;
  border: 2px solid #cdd3e3;
  border-radius: 4px;
  flex: none;
  justify-content: center;
  align-items: center;
  width: 20px;
  height: 20px;
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
  display: flex;
}

.tr-list li.ok {
  color: var(--ink);
}

.tr-list li.ok i {
  background: var(--right);
  border-color: var(--right);
  color: var(--surface);
}

.tr-list p {
  color: var(--right);
  margin: 10px 0 0;
  font-weight: 500;
}

.driver-popover.tr-pop {
  font-family: var(--font-sans);
  color: var(--ink);
  border-radius: 12px;
  max-width: 320px;
  padding: 18px 18px 14px;
  box-shadow: 0 20px 50px -16px #1f2a4480;
}

.driver-popover.tr-pop .driver-popover-title {
  font: 600 19px/1.25 var(--font-sans);
}

.driver-popover.tr-pop .driver-popover-description {
  font: 500 15px/1.5 var(--font-sans);
  color: #4a5372;
  margin-top: 6px;
}

.driver-popover.tr-pop .driver-popover-progress-text {
  font: 500 13px var(--font-sans);
  color: var(--muted);
}

.driver-popover.tr-pop .driver-popover-footer button {
  font: 500 15px var(--font-sans);
  text-shadow: none;
  border: 2px solid var(--primary-soft);
  background: var(--surface);
  color: var(--ink);
  border-radius: 8px;
  padding: 8px 14px;
}

.driver-popover.tr-pop .driver-popover-footer .driver-popover-next-btn {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--surface);
}

.driver-popover.tr-pop .driver-popover-close-btn {
  color: var(--muted);
}

@media (max-width: 760px) {
  .tr-list {
    width: 230px;
    bottom: 150px;
    right: 8px;
  }
}

body {
  font-variant-ligatures: no-contextual;
  font-feature-settings: "calt" 0;
}

.ob-world {
  grid-template-rows: repeat(4, auto);
  grid-template-columns: minmax(0, 1fr) 112px minmax(0, 1fr);
  align-items: center;
  gap: 14px 16px;
  width: min(480px, 100%);
  display: grid;
}

.ob-tile {
  background: var(--surface);
  border: 1.5px solid var(--c);
  border-radius: 12px;
  align-items: center;
  gap: 9px;
  min-width: 0;
  padding: 8px 10px 8px 8px;
  display: flex;
}

@supports (color: color-mix(in lab, red, red)) {
  .ob-tile {
    border: 1.5px solid color-mix(in srgb, var(--c) 22%, var(--surface));
  }
}

.ob-tile {
  animation: 6s ease-in-out infinite obFloat;
  box-shadow: 0 10px 24px -14px #1f2a4466;
}

.ob-tile i {
  background: var(--c);
  width: 32px;
  height: 32px;
  color: var(--surface);
  border-radius: 8px;
  flex: none;
  justify-content: center;
  align-items: center;
  display: flex;
}

.ob-tile svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2px;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ob-tile span {
  min-width: 0;
  line-height: 1.2;
  display: grid;
}

.ob-tile small {
  color: var(--c);
  font-size: 13px;
  font-weight: 600;
}

.ob-tile b {
  color: var(--ink);
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 600;
  overflow: hidden;
}

.ob-tile.t0, .ob-tile.t1, .ob-tile.t2, .ob-tile.t3 {
  grid-column: 1;
}

.ob-tile.t4, .ob-tile.t5, .ob-tile.t6, .ob-tile.t7 {
  grid-column: 3;
  transform: translateX(0);
}

.ob-tile.t0, .ob-tile.t4 {
  grid-row: 1;
}

.ob-tile.t1, .ob-tile.t5 {
  grid-row: 2;
}

.ob-tile.t2, .ob-tile.t6 {
  grid-row: 3;
}

.ob-tile.t3, .ob-tile.t7 {
  grid-row: 4;
}

.ob-tile.t1, .ob-tile.t3 {
  margin-left: 18px;
}

.ob-tile.t4, .ob-tile.t6 {
  margin-right: 18px;
}

.ob-tile.t1 {
  animation-delay: -1s;
}

.ob-tile.t2 {
  animation-delay: -2s;
}

.ob-tile.t3 {
  animation-delay: -3s;
}

.ob-tile.t4 {
  animation-delay: -4s;
}

.ob-tile.t5 {
  animation-delay: -5s;
}

.ob-tile.t6 {
  animation-delay: -1.5s;
}

.ob-tile.t7 {
  animation-delay: -3.5s;
}

.ob-world .ob-orb {
  grid-area: 2 / 2 / 4;
  justify-self: center;
  width: 104px;
  height: 104px;
  margin: 0;
  position: static;
}

@keyframes obFloat {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-7px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ob-tile {
    animation: none;
  }
}

.ta {
  flex: none;
  transition: transform 80ms linear;
  position: relative;
  overflow: hidden;
}

.ta.round {
  border-radius: 50%;
}

.ta svg {
  display: block;
}

.ob-world .ob-orb {
  width: auto;
  height: auto;
  box-shadow: none;
  background: none;
  grid-row: 2 / 4;
  overflow: visible;
}

.ob-faces {
  margin: 4px 0 14px;
}

.ob-faces > b {
  color: var(--ink);
  margin-bottom: 8px;
  font-size: 15px;
  font-weight: 600;
  display: block;
}

.ob-faces .fp {
  grid-template-columns: repeat(7, minmax(0, 1fr));
  max-width: 440px;
}

@media (max-width: 560px) {
  .ob-faces .fp {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.tf {
  z-index: 450;
  position: fixed;
  top: 66px;
  right: 18px;
}

@media (max-width: 760px) {
  .tf {
    transform-origin: 100% 0;
    top: 58px;
    right: 4px;
    transform: scale(.6);
  }
}

.to {
  --a: var(--right);
  --ring: #c5dccd;
  width: var(--s);
  height: var(--s);
  position: relative;
}

.to-rings {
  pointer-events: none;
  position: absolute;
  inset: 4px;
}

.to-rings .r {
  opacity: 0;
  transition: opacity 1.3s cubic-bezier(.25, .8, .25, 1), transform 1.3s cubic-bezier(.25, .8, .25, 1);
  position: absolute;
  inset: 0;
  transform: scale(.88);
}

.to[data-mood="idle"] .r.idle, .to[data-mood="speaking"] .r.speaking, .to[data-mood="listening"] .r.listening, .to[data-mood="thinking"] .r.thinking {
  opacity: 1;
  transition-delay: .25s;
  transform: none;
}

.to-rings i {
  border: 2px solid var(--a);
  border-radius: 50%;
  position: absolute;
  inset: 0;
}

.r.idle i {
  opacity: .3;
  border-width: 1.5px;
  animation: 3.6s ease-in-out infinite to-halo;
}

.r.speaking i {
  opacity: 0;
  animation: 1.9s ease-out infinite to-ping;
}

.r.listening i {
  opacity: 0;
  animation: 2.2s ease-in infinite to-in;
}

.r.thinking i {
  opacity: .6;
  border-style: dashed;
  animation: 7s linear infinite to-spin;
}

.to-dots {
  align-items: flex-end;
  gap: 5px;
  display: flex;
  position: absolute;
  top: -6%;
  right: 2%;
}

.to-dots s {
  background: var(--tutor);
  border-radius: 50%;
  width: 12px;
  height: 12px;
  animation: 1.2s ease-in-out infinite to-dot;
  display: block;
}

.to-dots s:first-child {
  background: #b197fc;
  width: 10px;
  height: 10px;
}

.to-dots s:nth-child(2) {
  background: #9775fa;
  width: 11px;
  height: 11px;
  animation-delay: .18s;
}

.to-dots s:nth-child(3) {
  animation-delay: .36s;
}

@keyframes to-dot {
  0%, 60%, 100% {
    opacity: .75;
    transform: translateY(0);
  }

  30% {
    opacity: 1;
    transform: translateY(-6px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .to-dots s {
    animation: none;
  }
}

.to-face {
  inset: calc(var(--s) * .107);
  border: 2px solid var(--ring);
  background: var(--surface);
  border-radius: 50%;
  place-items: center;
  padding: 0;
  transition: border-color 1.3s cubic-bezier(.25, .8, .25, 1), box-shadow 1.3s cubic-bezier(.25, .8, .25, 1);
  display: grid;
  position: absolute;
  overflow: hidden;
  box-shadow: 0 6px 18px #142d2038;
}

button.to-face {
  cursor: pointer;
}

button.to-face:focus-visible {
  outline: 2px solid var(--a);
  outline-offset: 3px;
}

.to[data-mood="listening"] .to-face {
  border-color: var(--a);
  box-shadow: 0 6px 18px #142d2038, 0 0 22px 3px #16916554;
}

.to-pick {
  border: 1px solid var(--right-soft);
  background: var(--paper);
  z-index: 2;
  border-radius: 12px;
  width: 236px;
  padding: 14px;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  box-shadow: 0 16px 44px #142d202e;
}

.to-pick b {
  color: #173c30;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 700;
  display: block;
}

.fp {
  grid-template-columns: repeat(auto-fill, minmax(50px, 1fr));
  gap: 6px;
  display: grid;
}

.fp button {
  cursor: pointer;
  aspect-ratio: 1;
  background: none;
  border: 2px solid #0000;
  border-radius: 50%;
  place-items: center;
  padding: 3px;
  display: grid;
}

.fp button:hover {
  border-color: #c5dccd;
}

.fp button[aria-pressed="true"] {
  border-color: var(--right);
  background: var(--right-soft);
}

@keyframes to-halo {
  0%, 100% {
    opacity: .3;
    transform: scale(.94);
  }

  50% {
    opacity: .7;
    transform: scale(1);
  }
}

@keyframes to-ping {
  0% {
    opacity: .7;
    transform: scale(.55);
  }

  100% {
    opacity: 0;
    transform: scale(1.7);
  }
}

@keyframes to-in {
  0% {
    opacity: 0;
    transform: scale(1.55);
  }

  30% {
    opacity: .65;
  }

  100% {
    opacity: 0;
    transform: scale(.68);
  }
}

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

@media (prefers-reduced-motion: reduce) {
  .to * {
    transition: none !important;
    animation: none !important;
  }
}

.al-setp {
  max-height: calc(100vh - 150px);
  top: auto;
  bottom: 0;
  overflow: auto;
}

.al-setp .fp {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 2px;
}

.al-setp .fp button {
  padding: 2px;
}

.al-fold, .al-seen {
  font-family: var(--font-sans);
  margin: 4px 0 8px;
  padding: 3px 12px 3px 10px;
  font-size: 1em;
  font-weight: 400;
  line-height: 30px;
}

.al-fold i, .al-seen i {
  font-size: .75em;
}

.al-sq {
  border-radius: 12px;
  width: 42px;
  height: 42px;
  transition: transform .12s, background .15s, box-shadow .15s;
  box-shadow: 0 2px 6px #1f2a441a, 0 0 0 1px #1f2a440d;
}

.al-sq svg {
  stroke: none;
  width: 24px;
  height: 24px;
}

.al-sq:hover {
  transform: translateY(-1px);
}

.al-sq.blue:hover, .al-sq.blue[aria-pressed="true"] {
  background: var(--primary-soft);
  box-shadow: 0 0 0 2px #b9c8ff;
}

.al-sq.amber:hover, .al-sq.amber[aria-pressed="true"] {
  background: #fff6db;
  box-shadow: 0 0 0 2px #ffdf8a;
}

.al-sq.green:hover, .al-sq.green[aria-pressed="true"] {
  background: var(--right-soft);
  box-shadow: 0 0 0 2px #9ee6c9;
}

.al-sq.purple:hover, .al-sq.purple[aria-pressed="true"] {
  background: var(--tutor-soft);
  box-shadow: 0 0 0 2px #cdb8ff;
}

.al-mtools button svg {
  display: block;
}

.pg-list {
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
}

.pg-list li {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  display: flex;
}

.pg-list li:hover {
  border-color: #b9c8ff;
}

.pg-list a {
  min-width: 0;
  color: var(--ink);
  flex: 1;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  display: flex;
}

.pg-list a b {
  font-size: 17px;
  font-weight: 500;
  line-height: 22px;
}

.pg-list .pg-btn {
  flex: none;
}

@media (max-width: 560px) {
  .pg-list li {
    flex-wrap: wrap;
  }

  .pg-list .pg-btn {
    margin-left: 52px;
  }
}

.fp, .al-setp .fp {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  padding: 4px 2px;
  display: grid;
}

.fp button, .al-setp .fp button {
  aspect-ratio: 1;
  cursor: pointer;
  outline-offset: 2px;
  background: none;
  border: 0;
  border-radius: 50%;
  outline: 2px solid #0000;
  width: 100%;
  padding: 0;
  transition: outline-color .15s, transform .12s;
  display: block;
}

.fp .ta {
  width: 100% !important;
  height: 100% !important;
}

.fp button:hover {
  border: 0;
  outline-color: #c5dccd;
  transform: scale(1.05);
}

.fp button[aria-pressed="true"] {
  outline: 3px solid var(--right);
  background: none;
  border: 0;
}

.to-pick {
  width: 264px;
}

.to-pick .fp {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ob-faces .fp {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  max-width: 400px;
}

@media (max-width: 560px) {
  .ob-faces .fp {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.al-setp {
  overscroll-behavior: contain;
  max-height: calc(100vh - 180px);
  position: fixed;
  top: 70px;
  bottom: auto;
  left: 86px;
  overflow-y: auto;
}

@media (max-width: 760px) {
  .al-setp {
    width: min(290px, 100vw - 60px);
    left: 48px;
  }
}

.al-setp {
  flex-direction: column;
  display: flex;
}

.al-setp > * {
  flex: none;
}

.al-fold.warn {
  border-left-color: var(--danger);
  background: var(--danger-soft);
}

.al-fold.warn b {
  color: var(--danger);
}

.al-chev {
  color: #3b4668;
  vertical-align: middle;
  background: #1f2a4414;
  border-radius: 8px;
  flex: none;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-left: 10px;
  font-size: 0;
  display: inline-grid;
}

.al-fold .al-chev, .al-seen .al-chev {
  font-size: 0;
}

.al-fold:hover .al-chev, .al-seen:hover .al-chev, .al-unfold:hover .al-chev {
  background: #1f2a4429;
}

.al-fold.warn .al-chev {
  color: var(--danger);
  background: #ffd9d9;
}

.al-fold.hint .al-chev {
  color: #6a2fb0;
  background: #e7d8ff;
}

.al-seen .al-chev {
  color: #2a63c9;
  background: #d6e6ff;
}

.al-seen {
  align-items: center;
  display: inline-flex;
}

.al-seen.open {
  display: block;
}

.al-unfold .al-chev {
  align-self: flex-start;
  margin-top: 6px;
}

.al-fold, .al-seen, button, input, textarea {
  font-variant-ligatures: no-contextual;
  font-feature-settings: "calt" 0;
}

.to-face {
  inset: calc(var(--s) * .09);
}

.tf {
  top: 62px;
  right: 14px;
}

@media (max-width: 760px) {
  .tf {
    transform: scale(.5);
  }
}

.or-list li {
  will-change: transform;
  transition: transform .18s cubic-bezier(.2, .8, .2, 1), box-shadow .15s;
}

.or-list.dragging li:not(.lift) {
  transition: transform .18s cubic-bezier(.2, .8, .2, 1);
}

.or-list li.lift, .or-list.settle li {
  transition: none;
}

.al-sq {
  width: 38px;
  height: 38px;
  box-shadow: none;
  background: none;
  border-radius: 12px;
}

.al-sq svg {
  width: 22px;
  height: 22px;
}

.al-sq:hover {
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--primary-soft);
  transform: none;
}

.al-sq.blue[aria-pressed="true"], .al-sq.amber[aria-pressed="true"], .al-sq.green[aria-pressed="true"], .al-sq.purple[aria-pressed="true"] {
  background: var(--surface);
  box-shadow: 0 0 0 1px #d5dbec, 0 1px 3px #1f2a4414;
}

.to-rings i {
  border-width: 1.5px;
}

.r.idle i {
  border-width: 1px;
  animation-name: to-halo2;
}

.r.thinking i {
  opacity: .35;
}

.r.speaking i {
  animation-name: to-ping2;
  animation-duration: 2.4s;
}

.r.speaking i + i {
  animation-delay: 1.2s;
}

.r.listening i {
  animation-name: to-in2;
  animation-duration: 2.6s;
}

.r.listening i + i {
  animation-delay: 1.3s;
}

.to[data-mood="listening"] .to-face {
  box-shadow: 0 6px 18px #142d202e, 0 0 12px 1px #1691652e;
}

@keyframes to-halo2 {
  0%, 100% {
    opacity: .12;
    transform: scale(.96);
  }

  50% {
    opacity: .3;
    transform: scale(1);
  }
}

@keyframes to-ping2 {
  0% {
    opacity: .32;
    transform: scale(.86);
  }

  100% {
    opacity: 0;
    transform: scale(1.16);
  }
}

@keyframes to-in2 {
  0% {
    opacity: 0;
    transform: scale(1.18);
  }

  35% {
    opacity: .3;
  }

  100% {
    opacity: 0;
    transform: scale(.9);
  }
}

.al-fold, .al-fold.warn, .al-fold.hint, .al-seen, .al-seen.open {
  background: none;
}

.al-fold:hover, .al-seen:hover {
  filter: none;
}

.al-chev, .al-fold.warn .al-chev, .al-fold.hint .al-chev, .al-seen .al-chev {
  background: none;
  width: 20px;
  margin-left: 6px;
}

.al-fold:hover .al-chev, .al-seen:hover .al-chev, .al-unfold:hover .al-chev {
  background: none;
  transform: translateY(1px);
}

.al-sq, .al-sq:hover {
  background: var(--surface);
  color: #3d4663;
  border-radius: 12px;
  width: 40px;
  height: 40px;
  transform: none;
  box-shadow: 0 1px 2px #1f2a4414, 0 3px 10px #1f2a4412;
}

.al-sq svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6px;
  stroke-linecap: round;
  stroke-linejoin: round;
  width: 20px;
  height: 20px;
}

.al-sq.blue:hover, .al-sq.amber:hover, .al-sq.green:hover, .al-sq.purple:hover {
  background: var(--primary-soft);
  box-shadow: 0 1px 2px #1f2a4414, 0 3px 10px #1f2a4412;
}

.al-sq.blue[aria-pressed="true"], .al-sq.amber[aria-pressed="true"], .al-sq.green[aria-pressed="true"], .al-sq.purple[aria-pressed="true"] {
  background: var(--primary-soft);
  color: var(--primary);
  box-shadow: 0 0 0 1.5px #b9c8ff;
}

.al-sq.green {
  color: #8c93a8;
}

.al-sq.green:hover {
  color: #3d4663;
}

.al-rdiv {
  background: var(--line);
  border-radius: 4px;
  width: 30px;
  height: 1.5px;
  margin: 12px 0 4px 35px;
  display: block;
}

@media (max-width: 760px) {
  .al-sq, .al-sq:hover {
    width: 34px;
    height: 34px;
  }

  .al-rdiv {
    margin-left: 6px;
  }
}

.al-fold.warn {
  background: var(--danger-soft);
}

.al-fold.hint {
  background: var(--tutor-soft);
}

.al-seen, .al-seen.open {
  background: var(--primary-soft);
}

.pg-moms.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1100px) {
  .pg-moms.four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .pg-moms.four {
    grid-template-columns: minmax(0, 1fr);
  }
}

.pg-logo {
  object-fit: contain;
  border-radius: 8px;
  flex: none;
  width: 26px;
  height: 26px;
}

html, body {
  overscroll-behavior-x: none;
}

.al-shell, .al-canvas {
  overscroll-behavior: none;
}

.pg-ideas {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 8px;
  display: grid;
}

.pg-idea {
  text-align: left;
  background: var(--surface);
  border: 1.5px solid var(--line);
  min-width: 0;
  color: var(--ink);
  cursor: pointer;
  border-radius: 12px;
  align-content: start;
  justify-items: start;
  gap: 4px;
  padding: 14px 14px 16px;
  font-family: inherit;
  text-decoration: none;
  transition: transform .14s, border-color .14s, box-shadow .14s, background .14s;
  display: grid;
}

.pg-idea i {
  border-radius: var(--radius-lg);
  background: var(--primary-soft);
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 8px;
  display: grid;
}

.pg-idea i.tile-violet {
  background: var(--tutor-soft);
}

.pg-idea i.tile-green {
  background: var(--right-soft);
}

.pg-idea i.tile-plain {
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line);
}

.pg-idea i img {
  object-fit: contain;
  width: 30px;
  height: 30px;
  display: block;
}

.pg-idea b {
  font-size: 17px;
  font-weight: 500;
  line-height: 22px;
}

.pg-idea small {
  color: var(--muted);
  font-size: 13px;
  line-height: 18px;
}

.pg-idea:hover {
  border-color: var(--primary);
}

.pg-idea[aria-pressed="true"] {
  border-color: var(--primary);
  background: var(--primary-soft);
}

.pg-idea.lib {
  border-style: dashed;
}

@media (max-width: 1100px) {
  .pg-ideas {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .pg-ideas {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.ml-list li.ml-with {
  align-items: center;
  gap: 10px;
  display: flex;
}

.ml-list li.ml-with .ml-row {
  flex: 1;
  min-width: 0;
}

.ml-list li.ml-with .pg-btn {
  flex: none;
}

@media (max-width: 640px) {
  .ml-list li.ml-with {
    flex-wrap: wrap;
  }
}

.pg-ib {
  transition: transform .12s, border-color .12s, background .12s, box-shadow .12s;
  position: relative;
}

.pg-ib:hover:not(:disabled) {
  background: var(--primary-soft);
  border-color: var(--primary);
  box-shadow: 0 4px 12px -4px #3b5bdb59;
}

.pg-ib[aria-pressed="true"]:hover {
  background: var(--primary);
}

.pg-ib[data-tip]:after {
  content: attr(data-tip);
  color: var(--surface);
  font: 500 13px/16px var(--font-sans);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  z-index: 30;
  background: #2b3a67;
  border-radius: 8px;
  padding: 5px 9px;
  transition: opacity .12s, transform .12s;
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translate(-50%, 4px);
}

.pg-ib[data-tip]:hover:after, .pg-ib[data-tip]:focus-visible:after {
  opacity: 1;
  transform: translate(-50%);
}

.pg-tools .pg-ib:first-of-type[data-tip]:after {
  left: 0;
  transform: translate(0, 4px);
}

.pg-tools .pg-ib:first-of-type[data-tip]:hover:after {
  transform: none;
}

.pg-hint {
  color: var(--muted);
  margin-left: 6px;
  font-size: 15px;
}

.ml-ico.own {
  border-radius: var(--radius-lg);
  background: var(--primary-soft);
  position: relative;
}

.ml-ico.own img {
  object-fit: contain;
  width: 30px;
  height: 30px;
  display: block;
}

.ml-ico.own.tile-violet, .ml-row.done .ml-ico.own.tile-violet {
  background: var(--tutor-soft);
}

.ml-ico.own.tile-green, .ml-row.done .ml-ico.own.tile-green {
  background: var(--right-soft);
}

.ml-ico.own.tile-plain, .ml-row.done .ml-ico.own.tile-plain {
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line);
}

.ml-row.done .ml-ico.own.tile-blue {
  background: var(--primary-soft);
}

.ml-ico.own i {
  background: var(--right);
  width: 18px;
  height: 18px;
  color: var(--surface);
  font: 600 13px/18px var(--font-sans);
  text-align: center;
  box-shadow: 0 0 0 2px var(--surface);
  border-radius: 50%;
  font-style: normal;
  position: absolute;
  bottom: -5px;
  right: -5px;
}

.ml-row:hover .ml-ico.own img {
  transform: scale(1.06);
}

.ml-pct {
  color: var(--primary);
  font-variant-numeric: tabular-nums;
  font-size: 19px;
  font-weight: 600;
  line-height: 24px;
}

.ml-row.done .ml-pct {
  color: var(--right);
}

.pf-faces .fp {
  grid-template-columns: repeat(auto-fill, 60px);
  gap: 12px;
  padding: 6px 4px;
}

.bk-meta {
  color: var(--muted);
  flex-wrap: wrap;
  gap: 6px 12px;
  font-size: 13px;
  line-height: 20px;
  display: flex;
  margin: 0 0 2px !important;
}

.bk-meta span:first-child {
  color: var(--primary);
  font-weight: 600;
}

.bk-text p {
  margin: 0 0 4px;
}

.bk-text .katex {
  font-size: 1.08em;
}

.bk-text .katex-display {
  text-align: left;
  margin: .3em 0;
}

.bk-text .katex-display > .katex {
  text-align: left;
}

.bk-pic {
  background: var(--surface);
  border-radius: 8px;
  max-width: min(100%, 520px);
  height: auto;
  max-height: 340px;
  margin: 6px 0 8px;
  display: block;
}

.bk-ul {
  margin: 2px 0 6px;
  padding-left: 22px;
}

.bk-tbl {
  border-collapse: collapse;
  background: var(--surface);
  margin: 6px 0 8px;
}

.bk-tbl th, .bk-tbl td {
  border: 1px solid var(--line);
  text-align: center;
  padding: 4px 12px;
  font-weight: 400;
}

.bk-tbl th {
  background: var(--primary-soft);
  font-weight: 500;
}

.bk-note {
  color: var(--muted);
  font-size: 15px;
  margin: 0 0 2px !important;
}

.bk-opts.short {
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}

.bk-opts button span {
  min-width: 0;
}

.bk-opts button .bk-pic {
  max-height: 150px;
  margin: 2px 0;
}

.bk-ans {
  color: var(--muted);
  align-items: center;
  gap: 12px;
  margin: 8px 0 6px;
  font-size: 15px;
  display: flex;
}

.bk-in {
  font: inherit;
  color: var(--ink);
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  outline: 0;
  width: min(100%, 320px);
  padding: 8px 12px;
  font-size: 19px;
}

.bk-in:focus {
  border-color: var(--primary);
}

.bk-in:disabled {
  background: var(--surface);
}

.bk-skills {
  gap: 8px;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
}

.bk-skills li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  grid-template-columns: 96px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  display: grid;
}

.bk-skills b {
  min-width: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 22px;
}

.bk-skills small {
  color: var(--muted);
  white-space: nowrap;
  font-size: 13px;
}

.bk-std {
  color: var(--primary);
  background: var(--primary-soft);
  text-align: center;
  border-radius: 8px;
  padding: 3px 8px;
  font-size: 13px;
  font-weight: 600;
}

@media (max-width: 640px) {
  .bk-skills li {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .bk-std {
    justify-self: start;
  }

  .bk-skills small {
    display: none;
  }
}

.lib-bank {
  color: var(--primary);
  border: 1.5px solid var(--line);
  background: var(--surface);
  border-radius: 12px;
  align-self: center;
  margin-left: auto;
  padding: 6px 12px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

.lib-bank:hover {
  border-color: var(--primary);
  background: var(--primary-soft);
}

.al-note .bk-rich {
  flex: 1;
  min-width: 0;
}

.al-note .bk-rich p {
  margin: 0;
}

.al-note .bk-pic {
  max-height: 220px;
}

.hd-mapbox.zoomed {
  cursor: grab;
  touch-action: none;
  overscroll-behavior: contain;
  -webkit-user-select: none;
  user-select: none;
}

.hd-mapbox.zoomed.grab, .hd-mapbox.zoomed.grab .tap {
  cursor: grabbing;
}

.hd-mapbox.zoomed .tap {
  cursor: pointer;
}

.ps-wrap {
  max-width: 900px;
  margin: 8px 0;
}

.ps {
  border: 1px solid var(--line);
  background: var(--surface);
  font: 13px/1.35 var(--font-sans);
  color: #33475b;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px #2d3e501a;
}

.ps-top {
  color: var(--surface);
  background: #2d3e50;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 7px 12px;
  display: flex;
}

.ps-top em, .ps-ws em, .xl-bar em {
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #5a3e00;
  background: #ffd166;
  border-radius: 4px;
  padding: 2px 7px;
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
}

.ps-find {
  min-width: 180px;
  color: var(--primary-soft);
  background: #ffffff24;
  border-radius: 8px;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  display: flex;
}

.ps-body {
  min-height: 330px;
  display: flex;
}

.ps-side {
  background: var(--primary-soft);
  border-right: 1px solid var(--line);
  flex-direction: column;
  flex: none;
  gap: 2px;
  width: 132px;
  padding: 8px 6px;
  display: flex;
}

.ps-nav {
  color: var(--muted);
  border-radius: 8px;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  font-weight: 500;
  display: flex;
}

.ps-nav.cur {
  background: var(--right-soft);
  color: #0091ae;
  font-weight: 600;
}

.ps-main {
  flex: 1;
  min-width: 0;
  padding: 12px 14px;
}

.ps-head {
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  display: flex;
}

.ps h4 {
  font: 600 19px var(--font-sans);
  color: #33475b;
  margin: 0;
}

.ps h4 i {
  color: #99acc2;
  margin: 0 4px;
  font-style: normal;
}

.ps h5 {
  font: 600 13px var(--font-sans);
  color: #33475b;
  margin: 0 0 6px;
}

.ps small {
  color: #7c98b6;
  font-size: 13px;
}

.ps-acts {
  gap: 8px;
  display: flex;
}

.ps-btn {
  color: #ff7a59;
  background: var(--surface);
  white-space: nowrap;
  border: 1px solid #ff7a59;
  border-radius: 4px;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
}

.ps-btn.pri {
  background: var(--primary);
  color: var(--surface);
}

.ps-tabs {
  border-bottom: 1px solid var(--line);
  gap: 18px;
  margin: 10px 0;
  display: flex;
}

.ps-tabs > * {
  color: var(--muted);
  padding: 6px 0;
}

.ps-tabs b {
  color: #33475b;
  border-bottom: 3px solid #ff7a59;
}

.ps-tools {
  gap: 8px;
  margin-bottom: 10px;
  display: flex;
}

.ps-in {
  border: 1px solid var(--line);
  color: #99acc2;
  background: var(--primary-soft);
  border-radius: 4px;
  align-items: center;
  gap: 6px;
  min-width: 230px;
  padding: 6px 10px;
  display: flex;
}

.ps-tools .ps-btn {
  border-color: var(--line);
  color: #0091ae;
}

.ps-tbl {
  border-collapse: collapse;
  width: 100%;
}

.ps-tbl th {
  text-align: left;
  background: var(--primary-soft);
  font: 600 13px var(--font-sans);
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 8px 10px;
}

.ps-tbl td {
  border: 1px solid var(--primary-soft);
  white-space: nowrap;
  text-overflow: ellipsis;
  max-width: 190px;
  padding: 8px 10px;
  overflow: hidden;
}

.ps-tbl .ck {
  width: 26px;
}

.ps-tbl .ck i {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 4px;
  width: 13px;
  height: 13px;
  display: block;
}

.ps a {
  color: #0091ae;
  font-weight: 600;
}

.ps-av {
  background: var(--right-soft);
  color: #0091ae;
  width: 22px;
  height: 22px;
  font: 600 13px var(--font-sans);
  vertical-align: middle;
  border-radius: 50%;
  place-items: center;
  margin-right: 7px;
  text-decoration: none;
  display: inline-grid;
}

.ps-av.big {
  background: var(--danger-soft);
  color: #d9532f;
  width: 44px;
  height: 44px;
  margin: 0;
  font-size: 17px;
}

.ps-rec {
  grid-template-columns: 230px 1fr 170px;
  gap: 12px;
  display: grid;
}

.ps-crumb {
  font-weight: 600;
  color: #0091ae !important;
}

.ps-who {
  align-items: center;
  gap: 10px;
  margin: 8px 0 10px;
  display: flex;
}

.ps-who h4 {
  font-size: 17px;
}

.ps-quick {
  gap: 6px;
  margin-bottom: 10px;
  display: flex;
}

.ps-q {
  color: var(--muted);
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 3px;
  font-size: 13px;
  display: flex;
}

.ps-q i {
  border: 1px solid var(--line);
  background: var(--primary-soft);
  color: #33475b;
  border-radius: 8px;
  place-items: center;
  width: 32px;
  height: 32px;
  display: grid;
}

.ps-zone {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
}

.ps-about p {
  text-overflow: ellipsis;
  margin: 0 0 7px;
  font-size: 13px;
  overflow: hidden;
}

.ps-about p small {
  display: block;
}

.ps-zone:has(.ps-tbl) {
  border: 0;
  padding: 0;
}

.ps-ev {
  border: 1px solid var(--primary-soft);
  border-radius: 8px;
  align-items: flex-start;
  gap: 9px;
  margin-bottom: 7px;
  padding: 8px;
  display: flex;
}

.ps-ev > i {
  background: var(--right-soft);
  color: #0091ae;
  border-radius: 8px;
  flex: none;
  place-items: center;
  width: 26px;
  height: 26px;
  display: grid;
}

.ps-ev div {
  flex: 1;
}

.ps-ev p {
  color: var(--muted);
  margin: 2px 0 0;
}

.ps-right p {
  margin: 0 0 12px;
}

.ps-right p small {
  display: block;
}

.ps-mid .ps-tabs {
  margin-top: 0;
}

.ps-t {
  cursor: pointer;
  outline-offset: 2px;
  outline: 2px dashed #0000;
  transition: outline-color .12s, box-shadow .12s;
}

.ps-t:hover {
  outline-color: var(--tutor);
}

.ps-t.on {
  outline: 3px solid var(--tutor);
  box-shadow: 0 0 0 6px #7c4ddb29;
}

.ps-t.fx-bad {
  outline: 3px dashed var(--danger);
}

.ps-t.fx-need {
  outline: 3px dashed var(--marker);
}

.ps-pick {
  color: var(--muted);
  margin: 8px 2px 0;
  font-size: 15px;
}

.ps-pick b {
  color: var(--tutor);
}

.ps-lin {
  color: #3c4149;
  border-color: var(--primary-soft);
}

.ps-lin .ps-side {
  background: var(--surface);
  border-color: var(--primary-soft);
  width: 168px;
}

.ps-lin .ps-nav {
  color: #4c5160;
  padding: 5px 8px;
}

.ps-lin .ps-nav.cur {
  background: var(--primary-soft);
  color: #5e6ad2;
}

.ps-ws {
  align-items: center;
  gap: 7px;
  padding: 4px 6px 8px;
  font-weight: 600;
  display: flex;
}

.ps-ws em {
  margin-left: auto;
}

.ps-ws u, .ps-team u {
  width: 20px;
  height: 20px;
  color: var(--surface);
  font: 600 13px var(--font-sans);
  background: #5e6ad2;
  border-radius: 4px;
  place-items: center;
  text-decoration: none;
  display: grid;
}

.ps-team u {
  background: #26b5ce;
}

.ps-lin .ps-side > small {
  padding: 10px 8px 3px;
}

.ps-team {
  align-items: center;
  gap: 7px;
  padding: 4px 6px;
  font-weight: 500;
  display: flex;
}

.ps-sub {
  flex-direction: column;
  gap: 2px;
  padding-left: 14px;
  display: flex;
}

.ps-lin h4 {
  color: #3c4149;
  font-size: 15px;
}

.ps-lin .ps-btn {
  border-color: var(--primary-soft);
  color: #4c5160;
  font-weight: 500;
}

.ps-issues {
  margin-top: 10px;
  padding: 0;
  overflow: hidden;
}

.ps-grp h5 {
  background: var(--surface);
  color: #3c4149;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 7px 10px;
  display: flex;
}

.ps-grp p {
  border-top: 1px solid var(--primary-soft);
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 7px 10px;
  display: flex;
}

.ps-grp p span {
  white-space: nowrap;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
  font-weight: 500;
  overflow: hidden;
}

.ps-grp p em {
  border: 1px solid var(--primary-soft);
  color: #4c5160;
  border-radius: 4px;
  padding: 1px 6px;
  font-size: 13px;
  font-style: normal;
}

.ps .st {
  border: 2px solid #b4b8c5;
  border-radius: 50%;
  flex: none;
  width: 13px;
  height: 13px;
}

.ps .st.prog {
  border-color: var(--marker);
  background: conic-gradient(var(--marker) 50%, transparent 0);
}

.ps .pr {
  align-items: flex-end;
  gap: 1.5px;
  height: 12px;
  display: flex;
}

.ps .pr b {
  background: #8a8f9e;
  border-radius: 4px;
  width: 3px;
  height: 5px;
}

.ps .pr b:nth-child(2) {
  height: 8px;
}

.ps .pr b:nth-child(3) {
  height: 12px;
}

.xl-top {
  max-width: 640px;
  font: 13px var(--font-sans);
  border: 1px solid #c8d6cc;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  margin-top: 8px;
  overflow: hidden;
}

.xl-bar {
  color: #fff;
  background: #107c41;
  justify-content: space-between;
  align-items: center;
  padding: 6px 10px;
  display: flex;
}

.xl-tabs {
  background: #107c41;
  gap: 2px;
  padding: 0 6px;
  display: flex;
}

.xl-tabs span {
  color: #e3f3e9;
  border-radius: 4px 4px 0 0;
  padding: 5px 9px;
}

.xl-tabs span.cur {
  color: #107c41;
  background: #f3f6f4;
  font-weight: 700;
}

.xl-rib {
  color: #3c5245;
  background: #f3f6f4;
  flex-wrap: wrap;
  gap: 14px;
  padding: 8px 10px;
  display: flex;
}

.xl-rib span {
  align-items: center;
  gap: 5px;
  display: flex;
}

.xl-rib i {
  color: #107c41;
  font: italic 700 13px Georgia, serif;
}

.al-fx.xl {
  border-color: #c8d6cc;
  width: 100%;
  max-width: 640px;
  margin-top: 0;
}

.al-cells.xl {
  box-shadow: none;
  width: 100%;
  max-width: 640px;
  margin-bottom: 0;
}

.al-cells.xl th {
  background: var(--paper);
  color: #3c5245;
  border-color: #c8d6cc;
}

.al-cells.xl td {
  border-color: var(--right-soft);
}

.xl-foot {
  box-sizing: border-box;
  max-width: 640px;
  font: 13px var(--font-sans);
  color: #3c5245;
  background: #f3f6f4;
  border: 1px solid #c8d6cc;
  border-top: 0;
  border-radius: 0 0 8px 8px;
  gap: 4px;
  margin-bottom: 8px;
  padding: 4px 8px;
  display: flex;
}

.xl-foot span {
  padding: 3px 10px;
}

.xl-foot span.cur {
  color: #107c41;
  background: #fff;
  border-bottom: 2px solid #107c41;
  font-weight: 700;
}

@media (max-width: 720px) {
  .ps-rec {
    grid-template-columns: 1fr;
  }

  .ps-hub .ps-side {
    width: 44px;
  }

  .ps-hub .ps-side span {
    display: none;
  }

  .ps-lin .ps-side {
    width: 128px;
  }

  .ps-tbl th:nth-child(n+4), .ps-tbl td:nth-child(n+4) {
    display: none;
  }
}

.ml-course {
  background: var(--primary-soft);
  border: 1px solid var(--primary-soft);
  border-radius: 12px;
  padding: 14px;
}

.ml-chead {
  gap: 2px;
  margin: 0 2px 10px;
  display: grid;
}

.ml-chead b {
  font: 600 17px/1.3 var(--head, var(--font-sans));
  color: var(--ink);
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  display: -webkit-box;
  overflow: hidden;
}

.ml-chead em {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}

.ml-course ol {
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
}

.ml-k {
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1px;
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
  display: block;
}

button.ml-row {
  width: 100%;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

button.ml-row.todo {
  border-style: dashed;
  border-color: #b9c4ee;
}

button.ml-row.todo:hover:not(:disabled) {
  border-color: var(--primary);
  box-shadow: 0 4px 12px #3b5bdb1f;
}

button.ml-row.wait {
  cursor: default;
  opacity: .6;
}

.ml-ico.num {
  background: var(--primary-soft);
  width: 44px;
  height: 44px;
  color: var(--primary);
  border-radius: 12px;
  place-items: center;
  font-size: 17px;
  font-weight: 700;
  display: grid;
}

button.ml-row.todo .ml-meta em {
  color: var(--primary);
  font-weight: 600;
}

.hd-pad.lab {
  max-width: 760px;
}

.lab-tools {
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 4px 0 8px;
  display: flex;
}

.lab-tools button {
  border: 2px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font: 600 15px var(--font-sans);
  cursor: pointer;
  border-radius: 12px;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  display: flex;
}

.lab-tools button svg {
  fill: none;
  width: 18px;
  height: 18px;
  stroke: var(--primary);
  stroke-width: 2px;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lab-tools button[aria-pressed="true"] {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--surface);
}

.lab-tools button[aria-pressed="true"] svg {
  stroke: var(--surface);
}

.lab-tools button.need {
  border-color: var(--marker);
  box-shadow: 0 0 0 4px #f2b93b40;
}

.lab-tools button:disabled {
  opacity: .55;
  cursor: default;
}

.lab-slips {
  font: 600 13px var(--font-sans);
  color: var(--muted);
  margin-left: auto;
}

.lab-clock {
  font: 700 17px var(--font-sans);
  color: var(--tutor);
  font-variant-numeric: tabular-nums;
  margin-left: auto;
}

.lab-svg {
  background: var(--primary-soft);
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
  border-radius: 12px;
  width: 100%;
  height: auto;
  display: block;
}

.lab-svg.t-scalpel .lab-hit {
  cursor: crosshair;
}

.lab-svg.t-forceps .lab-organ.grab {
  cursor: grab;
}

.lab-svg.t-pins .lab-pin {
  cursor: pointer;
}

.lab-organ.grab:hover {
  filter: drop-shadow(0 0 5px #3b5bdbb3);
}

.lab-organ.sel {
  filter: drop-shadow(0 0 7px var(--tutor));
}

.lab-dish.ready rect {
  stroke: var(--tutor);
  stroke-dasharray: 8 6;
}

.lab-dish {
  cursor: pointer;
}

.lab-cap {
  font: 600 15px var(--font-sans);
  fill: var(--primary);
}

.lab-count {
  font: 600 13px var(--font-sans);
  fill: var(--muted);
}

.lab-dot {
  animation: 1.1s ease-in-out infinite labdot;
}

@keyframes labdot {
  50% {
    r: 11;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lab-dot {
    animation: none;
  }
}

.lab-msg {
  font: 500 15px/1.4 var(--font-sans);
  color: #16772f;
  min-height: 22px;
  margin: 8px 2px 2px;
}

.lab-msg.bad {
  color: var(--danger);
}

.lab-msg.idle {
  color: var(--muted);
  font-weight: 500;
}

.al-crm {
  border: 1px solid var(--margin);
  background: var(--paper);
  max-width: 640px;
  color: var(--ink);
  border-radius: 12px;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 8px 0 12px;
  padding: 10px 14px;
  font-size: 15px;
  display: flex;
}

.al-crm > i {
  background: #f2783b;
  border-radius: 50%;
  flex: none;
  width: 10px;
  height: 10px;
}

.al-crm.on {
  background: var(--right-soft);
  border-color: #9fdcb0;
}

.al-crm.on > i {
  background: #2f9e5b;
}

.al-crm span {
  flex: 1;
  min-width: 200px;
}

.al-crm button {
  background: var(--primary);
  color: var(--surface);
  font: 600 15px var(--font-sans);
  cursor: pointer;
  border: 0;
  border-radius: 8px;
  padding: 8px 16px;
}

.al-crm em {
  color: var(--danger);
  flex-basis: 100%;
  font-size: 15px;
  font-style: normal;
}

div.al-note {
  margin: 0;
}

.bk-tbl.pics {
  box-shadow: none;
  background: none;
  border: 0;
  width: auto;
}

.bk-tbl.pics td {
  vertical-align: top;
  background: none;
  border: 0;
  padding: 0 14px 0 0;
}

.bk-tbl.pics .bk-pic {
  max-width: min(260px, 26vw);
  height: auto;
}

.al-blk .bk-text.al-ask:has( > p:first-child):before {
  content: none;
}

.al-blk .bk-text.al-ask:not(.al-ask + .al-ask) > p:first-child:before {
  content: "Q";
  background: var(--tutor-soft);
  color: var(--tutor);
  border-radius: var(--radius-sm);
  vertical-align: baseline;
  white-space: nowrap;
  border-left: 0;
  margin-right: 8px;
  padding: 0 8px;
  font-size: .86em;
  font-weight: 700;
  line-height: 1.7;
  display: inline-block;
}

.bk-gap {
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
  margin-top: 12px;
  font-weight: 500;
  display: flex;
}

.bk-gap > span {
  flex: none;
}

.bk-gap textarea.al-lines {
  flex: 0 260px;
  width: 260px;
  min-width: 140px;
}

.to-pens {
  left: 50%;
  top: calc(100% - var(--s) * .2);
  z-index: 2;
  pointer-events: none;
  gap: 8px;
  display: flex;
  position: absolute;
  transform: translateX(-50%);
}

.to-pens .tp {
  border-radius: 50%;
  place-items: center;
  width: 44px;
  height: 44px;
  display: grid;
  position: relative;
}

.to-pens img {
  width: 30px;
  height: 30px;
  transition: transform .38s cubic-bezier(.3, 1.4, .5, 1), opacity .3s;
  display: block;
}

.tp.blue {
  background: var(--primary-soft);
}

.tp.red {
  background: var(--danger-soft);
}

.tp.green {
  background: var(--right-soft);
}

.to-pens .tp.out {
  background: var(--surface);
  box-shadow: inset 0 0 0 1.5px var(--line);
}

.to-pens .tp.out img {
  opacity: 0;
  transform: translate(-14px, 22px) rotate(-35deg) scale(.6);
}

.al-mk {
  z-index: 901;
  pointer-events: none;
  will-change: transform;
  opacity: 0;
  transition: opacity .2s;
  position: fixed;
  top: 0;
  left: 0;
}

.al-mk.on {
  opacity: 1;
}

.al-mk.back {
  opacity: .85;
}

.al-mk img {
  transform-origin: 2px 24px;
  width: 26px;
  height: 26px;
  animation: .22s ease-in-out infinite alternate alJot;
  position: absolute;
  top: -24px;
  left: -2px;
}

.al-mk.back img {
  animation: none;
}

.al-mk.red {
  color: var(--danger);
}

.al-mk.green {
  color: var(--right);
}

.al-mk.blue {
  color: var(--primary);
}

.al-mk.pop img, #al-aic.pop .pen {
  animation: .26s cubic-bezier(.3, 1.5, .5, 1) alPop;
}

@keyframes alPop {
  from {
    opacity: 0;
    transform: scale(.3);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .al-mk img {
    animation: none;
  }
}

#al-gst {
  z-index: 900;
  pointer-events: none;
  position: fixed;
  inset: 0;
  overflow: hidden;
}

#al-gst .al-gst {
  will-change: transform;
  width: 100%;
  height: 100%;
  animation: alGstFade var(--gst-fade) ease-in var(--gst-fade-at) forwards;
  position: absolute;
  inset: 0;
  overflow: visible;
}

.al-gst path {
  fill: none;
  stroke: var(--blue);
  stroke-width: 3px;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1 1;
  stroke-dashoffset: 1px;
  animation: alGstDraw var(--gst-draw) ease-out forwards;
}

.al-gst rect {
  fill: #ffd43b;
  fill-opacity: .42;
  mix-blend-mode: multiply;
  animation: alGstSwipe var(--gst-draw) ease-out both;
}

@keyframes alGstDraw {
  from {
    stroke-dashoffset: 1px;
  }

  to {
    stroke-dashoffset: 0;
  }
}

@keyframes alGstSwipe {
  from {
    clip-path: inset(0 100% 0 0);
  }

  to {
    clip-path: inset(0);
  }
}

@keyframes alGstFade {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .al-gst path {
    stroke-dasharray: none;
    stroke-dashoffset: 0;
    animation: none;
  }

  .al-gst rect {
    animation: none;
  }
}

.al-blink {
  color: var(--blue);
  text-underline-offset: 3px;
  cursor: pointer;
  border-radius: 3px;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
}

.al-blink:hover, .al-blink:focus-visible {
  background: #3b5bdb1a;
  outline: none;
}

.al-w.al-blink:not(.said):not(.now) {
  text-decoration-color: #0000;
}

.al-bprev {
  z-index: 950;
  color: #1f2a44;
  pointer-events: none;
  background: #fff;
  border: 1px solid #d7def5;
  border-radius: 10px;
  width: min(320px, 100vw - 32px);
  padding: 10px 12px;
  font-size: 14px;
  line-height: 1.4;
  position: fixed;
  box-shadow: 0 8px 24px #1f2a4429;
}

.al-bprev b {
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 2px;
  font-size: 12px;
  display: block;
}

.al-bprev strong {
  margin-bottom: 4px;
  font-weight: 700;
  display: block;
}

.al-bprev span {
  color: #5b6785;
}

.al-blk.al-ping {
  animation: 1.2s ease-out alPing;
}

@keyframes alPing {
  0% {
    box-shadow: 0 0 #3b5bdb8c;
  }

  100% {
    box-shadow: 0 0 0 14px #3b5bdb00;
  }
}

#al-aic {
  color: var(--primary);
}

#al-aic[data-ink="red"] {
  color: var(--danger);
}

#al-aic[data-ink="green"] {
  color: var(--right);
}

#al-aic .pen img {
  width: 100%;
  height: 100%;
  display: none;
}

#al-aic .pen .ink-blue, #al-aic[data-ink="red"] .pen .ink-red, #al-aic[data-ink="green"] .pen .ink-green {
  display: block;
}

#al-aic[data-ink="red"] .pen .ink-blue, #al-aic[data-ink="green"] .pen .ink-blue {
  display: none;
}

.fx-good {
  outline-offset: 1px;
  transition: background-color .3s;
  background-color: var(--right-soft) !important;
  outline: 2px solid #1f9d6b8c !important;
}

@media (prefers-reduced-motion: reduce) {
  .to-pens img {
    transition: none;
  }
}

.al-note.al-unfold {
  background: var(--paper);
  border-left: 0;
  border-radius: 4px;
  padding: 4px 10px 6px 8px;
}

.al-note.al-unfold.hint {
  border-left-color: var(--tutor);
  background: var(--tutor-soft);
}

.al-note.al-unfold.warn {
  border-left-color: var(--danger);
  background: var(--danger-soft);
}

.al-note.al-unfold.ok {
  border-left-color: var(--right);
  background: var(--right-soft);
}

.br-wrap {
  max-width: 960px;
  margin: 8px 0;
}

.br-steps {
  gap: 4px;
  margin: 0 0 10px;
  padding: 0;
  list-style: none;
  display: grid;
}

.br-steps li {
  color: var(--muted);
  border-radius: 8px;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  font-size: 15px;
  display: flex;
}

.br-steps li.br-now {
  background: var(--primary-soft);
  color: var(--ink);
  font-weight: 500;
}

.br-steps li.br-done {
  color: var(--right);
}

.br-n {
  border: 1.5px solid;
  border-radius: 8px;
  flex: none;
  place-items: center;
  width: 24px;
  height: 24px;
  font-size: 13px;
  font-weight: 600;
  display: grid;
}

.br-done .br-n {
  background: var(--right);
  border-color: var(--right);
  color: var(--surface);
}

.br-now .br-n {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--surface);
}

.br-say {
  flex: 1;
}

.br-help {
  gap: 6px;
  display: flex;
}

.br-help button {
  border: 1.5px solid var(--primary);
  color: var(--primary);
  background: var(--surface);
  font: 500 13px var(--font-sans);
  cursor: pointer;
  border-radius: 8px;
  padding: 3px 10px;
}

.br-help button:hover {
  background: var(--primary);
  color: var(--surface);
}

.br-tip {
  background: var(--primary-soft);
  color: var(--ink);
  font: 23px/1.25 var(--font-hand);
  border-left: 0;
  margin: 0 0 10px;
  padding: 8px 12px;
}

.br-frame {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 22px #2d3e501f;
}

.br-bar {
  background: var(--primary-soft);
  border-bottom: 1px solid var(--line);
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  display: flex;
}

.br-dots {
  gap: 6px;
  display: flex;
}

.br-dots i {
  background: #f59f00;
  border-radius: 50%;
  width: 11px;
  height: 11px;
}

.br-dots i:first-child {
  background: var(--danger);
}

.br-dots i:last-child {
  background: #40c057;
}

.br-addr {
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--muted);
  border-radius: 8px;
  flex: 1;
  padding: 4px 10px;
  font-size: 13px;
}

.br-tag {
  font: 700 13px var(--font-sans);
  letter-spacing: .08em;
  color: var(--surface);
  background: #f76707;
  border-radius: 4px;
  padding: 3px 8px;
}

.br-load {
  text-align: center;
  color: var(--muted);
  padding: 60px;
}

.br-conn {
  color: var(--muted);
  margin: 8px 2px 0;
  font-size: 13px;
}

.br-app {
  font: 13px/1.35 var(--font-sans);
  color: #2d3e50;
  min-height: 380px;
  position: relative;
}

.br-locked {
  pointer-events: none;
}

.br-point {
  outline-offset: 2px;
  outline: 3px solid var(--primary) !important;
  box-shadow: 0 0 0 7px #3b5bdb2e !important;
}

.br-btn {
  background: var(--primary);
  color: var(--surface);
  font: 600 13px var(--font-sans);
  cursor: pointer;
  border: none;
  border-radius: 4px;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  display: inline-flex;
}

.br-btn:hover {
  filter: brightness(1.05);
}

.br-x {
  color: var(--muted);
  cursor: pointer;
  background: none;
  border: none;
  border-radius: 4px;
  place-items: center;
  padding: 4px;
  display: grid;
}

.br-x:hover {
  background: var(--primary-soft);
}

.br-hub-wrap {
  position: relative;
}

.br-hub-top {
  border-bottom: 1px solid var(--line);
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  display: flex;
}

.br-hub-top b {
  font-size: 17px;
}

.br-sub {
  color: var(--muted);
}

.br-search {
  border: 1px solid var(--line);
  color: #7c98b6;
  border-radius: 4px;
  min-width: 160px;
  margin-left: auto;
  padding: 5px 10px;
}

.br-cols {
  background: var(--primary-soft);
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  min-height: 320px;
  padding: 12px;
  display: grid;
}

.br-hub-wrap:has(.br-rec) .br-cols {
  padding-right: 332px;
}

.br-col {
  background: var(--primary-soft);
  border-radius: 8px;
  flex-direction: column;
  gap: 8px;
  padding: 8px;
  transition: background .15s;
  display: flex;
}

.br-col.br-over {
  background: #d6e4ff;
}

.br-col-h {
  text-transform: uppercase;
  letter-spacing: .03em;
  color: #33475b;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  display: flex;
}

.br-col-h b {
  color: var(--muted);
}

.br-col-f {
  color: var(--muted);
  margin-top: auto;
  font-size: 13px;
}

.br-deal {
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--line);
  cursor: grab;
  font: inherit;
  color: inherit;
  border-radius: 4px;
  gap: 2px;
  padding: 8px 10px;
  display: grid;
}

.br-deal b {
  color: #0091ae;
}

.br-deal span {
  color: var(--muted);
}

.br-deal i {
  color: #7c98b6;
  font-size: 13px;
  font-style: normal;
}

.br-deal.br-prac {
  background: var(--marker);
  border-left: 0;
}

@supports (color: color-mix(in lab, red, red)) {
  .br-deal.br-prac {
    background: color-mix(in srgb, var(--marker) 30%, var(--surface));
  }
}

.br-deal.br-prac {
  border-radius: var(--radius-sm);
}

.br-deal.br-prac i {
  color: #ff7a59;
  font-weight: 600;
}

.br-deal.br-on {
  box-shadow: 0 0 0 2px #00bda5;
}

.br-rec {
  background: var(--surface);
  border-left: 1px solid var(--line);
  flex-direction: column;
  gap: 10px;
  width: 320px;
  padding: 14px;
  display: flex;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  overflow: auto;
  box-shadow: -8px 0 18px #2d3e501f;
}

.br-rec-h {
  justify-content: space-between;
  align-items: flex-start;
  display: flex;
}

.br-rec-h div {
  gap: 2px;
  display: grid;
}

.br-rec-h b {
  font-size: 17px;
}

.br-rec-h span {
  color: var(--muted);
}

.br-ro {
  background: var(--paper);
  color: #a34400;
  border-radius: 4px;
  margin: 0;
  padding: 6px 8px;
  font-size: 13px;
}

.br-f {
  color: #33475b;
  gap: 4px;
  font-size: 13px;
  font-weight: 500;
  display: grid;
}

.br-f select, .br-f input, .br-f textarea {
  font: 13px var(--font-sans);
  border: 1px solid var(--line);
  background: var(--primary-soft);
  color: #2d3e50;
  resize: vertical;
  border-radius: 4px;
  padding: 6px 8px;
}

.br-notes {
  border-top: 1px solid var(--line);
  gap: 6px;
  padding-top: 8px;
  display: grid;
}

.br-notes span {
  font-size: 13px;
  font-weight: 600;
}

.br-notes p {
  background: var(--primary-soft);
  border-radius: 4px;
  margin: 0;
  padding: 6px 8px;
}

.br-gm-wrap {
  grid-template-columns: 170px 1fr;
  min-height: 380px;
  display: grid;
}

.br-gm-nav {
  background: var(--surface);
  flex-direction: column;
  gap: 2px;
  padding: 12px 8px;
  display: flex;
}

.br-gm-nav span {
  color: #444c5e;
  border-radius: 8px;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  display: flex;
}

.br-gm-nav span b {
  margin-left: auto;
  font-size: 13px;
}

.br-gm-nav .br-nav-on {
  color: #0b3d91;
  background: #d3e3fd;
  font-weight: 600;
}

.br-gm-nav .br-compose {
  color: #0b3d91;
  background: #c2e7ff;
  border-radius: 12px;
  margin-bottom: 8px;
  padding: 10px 12px;
  font-weight: 600;
}

.br-gm-main {
  padding: 8px 12px;
}

.br-list {
  display: grid;
}

.br-row {
  text-align: left;
  border: none;
  border-bottom: 1px solid var(--primary-soft);
  background: var(--surface);
  font: inherit;
  color: inherit;
  cursor: pointer;
  grid-template-columns: 150px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px 8px;
  display: grid;
}

.br-row:hover {
  background: var(--surface);
}

.br-row span {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.br-row em {
  color: var(--muted);
  font-style: normal;
}

.br-row i {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}

.br-row.br-prac b {
  color: #0b57d0;
}

.br-row.br-prac i {
  color: #f76707;
  font-weight: 600;
}

.br-thread {
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  display: flex;
}

.br-th-h {
  align-items: center;
  gap: 8px;
  font-size: 17px;
  display: flex;
}

.br-msg {
  border: 1px solid var(--primary-soft);
  border-radius: 8px;
  align-self: stretch;
  padding: 10px 12px;
}

.br-msg p {
  margin: 6px 0 0;
  font-size: 15px;
}

.br-msg-h {
  color: var(--muted);
  justify-content: space-between;
  display: flex;
}

.br-msg-h b {
  color: #2d3e50;
}

.br-mine {
  background: var(--primary-soft);
  border-color: #c2dbff;
}

.br-sentnote {
  font-weight: 600;
  color: var(--right) !important;
  font-size: 13px !important;
}

.br-ghost {
  background: var(--surface);
  color: #0b57d0;
  border: 1.5px solid #a8c7fa;
}

.br-comp {
  border: 1px solid #c2dbff;
  border-radius: 8px;
  align-self: stretch;
  gap: 8px;
  padding: 10px;
  display: grid;
}

.br-to {
  color: var(--muted);
  border-bottom: 1px solid var(--primary-soft);
  padding-bottom: 6px;
}

.br-comp textarea {
  font: 15px var(--font-sans);
  resize: vertical;
  color: #2d3e50;
  border: none;
  outline: none;
}

.br-files {
  flex-wrap: wrap;
  gap: 6px;
  display: flex;
}

.br-file {
  background: var(--primary-soft);
  color: #0b3d91;
  border: 1px solid #c2dbff;
  border-radius: 4px;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  padding: 4px 8px;
  font-size: 13px;
  display: inline-flex;
}

.br-comp-bar {
  align-items: center;
  gap: 8px;
  display: flex;
  position: relative;
}

.br-send {
  background: #0b57d0;
}

.br-pick {
  background: var(--surface);
  border: 1px solid var(--line);
  z-index: 2;
  border-radius: 8px;
  gap: 2px;
  min-width: 220px;
  padding: 8px;
  display: grid;
  position: absolute;
  bottom: 36px;
  left: 90px;
  box-shadow: 0 8px 22px #2d3e5029;
}

.br-pick span {
  color: var(--muted);
  padding: 2px 6px 6px;
  font-size: 13px;
}

.br-pick button {
  background: var(--surface);
  font: inherit;
  color: #2d3e50;
  cursor: pointer;
  text-align: left;
  border: none;
  border-radius: 4px;
  align-items: center;
  gap: 8px;
  padding: 7px 8px;
  display: flex;
}

.br-pick button:hover {
  background: var(--primary-soft);
}

.lb {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 22px #2d3e501f;
}

.lb-bar {
  background: var(--primary-soft);
  border-bottom: 1px solid var(--line);
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  display: flex;
}

.lb-ic {
  color: #3d4f7a;
  cursor: pointer;
  background: none;
  border: none;
  border-radius: 8px;
  width: 30px;
  height: 30px;
  font-size: 19px;
  line-height: 1;
}

.lb-ic:hover:not(:disabled) {
  background: #d6e0f7;
}

.lb-ic:disabled {
  opacity: .4;
  cursor: default;
}

.lb-addr {
  flex: 1;
  gap: 6px;
  display: flex;
}

.lb-addr input {
  border: 1px solid var(--line);
  font: 13px var(--font-sans);
  color: var(--ink);
  background: var(--surface);
  border-radius: 8px;
  flex: 1;
  padding: 6px 10px;
}

.lb-go {
  background: var(--primary);
  color: var(--surface);
  font: 600 13px var(--font-sans);
  cursor: pointer;
  border: none;
  border-radius: 8px;
  padding: 0 14px;
}

.lb .br-tag {
  background: #e8590c;
}

.lb-screen {
  background: var(--primary-soft);
  position: relative;
}

.lb-pad {
  cursor: default;
  outline: none;
  line-height: 0;
  position: relative;
}

.lb-pad img {
  aspect-ratio: 1280 / 800;
  object-fit: contain;
  background: var(--surface);
  -webkit-user-select: none;
  user-select: none;
  width: 100%;
  display: block;
}

.lb-pad:focus-visible {
  box-shadow: inset 0 0 0 3px var(--primary);
}

.lb-pad.lb-active {
  box-shadow: inset 0 0 0 3px var(--tutor);
}

.lb-off {
  visibility: hidden;
  height: 0;
  overflow: hidden;
}

.lb-start {
  text-align: center;
  color: var(--ink);
  justify-items: center;
  gap: 4px;
  padding: 70px 24px;
  font-size: 17px;
  line-height: 1.4;
  display: grid;
}

.lb-small {
  color: var(--muted);
  margin-top: 0;
  font-size: 15px;
}

.lb-err {
  color: var(--danger);
  font-size: 15px;
}

.lb-mark {
  border: 3px solid var(--primary);
  pointer-events: none;
  border-radius: 8px;
  animation: .38s ease-out both lbMark;
  position: absolute;
  box-shadow: 0 0 0 6px #3b5bdb2e;
}

.lb-mark span {
  background: var(--primary);
  color: var(--surface);
  font: 23px/1.1 var(--font-hand);
  white-space: nowrap;
  border-radius: 4px;
  margin-bottom: 4px;
  padding: 2px 8px;
  position: absolute;
  bottom: 100%;
  left: -3px;
}

@keyframes lbMark {
  from {
    opacity: 0;
    transform: scale(1.08);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.lb-pen {
  pointer-events: none;
  filter: drop-shadow(0 2px 3px #2d3e5059);
  transition: left .42s ease-in-out, top .42s ease-in-out;
  position: absolute;
  transform: translate(-6px, -30px);
}

.lb-foot {
  border-top: 1px solid var(--primary-soft);
  color: var(--muted);
  align-items: center;
  gap: 12px;
  padding: 6px 12px;
  font-size: 13px;
  display: flex;
}

.lb-url {
  color: #3d4f7a;
  margin-left: auto;
}

.lb-link {
  color: var(--primary);
  font: 500 13px var(--font-sans);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

.lb-ok {
  background: var(--paper);
  border: 2px solid #f59f00;
  border-radius: 8px;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  padding: 12px 14px;
  display: flex;
}

.lb-ok p {
  color: var(--ink);
  flex: 100%;
  margin: 0;
}

.lb-wrap {
  max-width: 1100px;
}

.fg {
  flex-direction: column;
  gap: 14px;
  max-width: 600px;
  display: flex;
}

.fg svg {
  -webkit-user-select: none;
  user-select: none;
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}

.fa-draw {
  stroke-dasharray: 1;
  stroke-dashoffset: 1px;
  animation: .8s forwards faDraw;
}

@keyframes faDraw {
  to {
    stroke-dashoffset: 0;
  }
}

.fa-pop {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: .36s cubic-bezier(.3, 1.5, .5, 1) forwards faPop;
}

@keyframes faPop {
  from {
    opacity: 0;
    transform: scale(.4);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.fa-fade {
  opacity: 0;
  animation: .55s forwards faFade;
}

@keyframes faFade {
  to {
    opacity: 1;
  }
}

.fa-ring {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: 1.1s ease-out forwards faRing;
}

@keyframes faRing {
  0% {
    opacity: 0;
    transform: scale(.5);
  }

  30% {
    opacity: 1;
    transform: scale(1.08);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.fa-num {
  font: 600 17px var(--font-sans);
  paint-order: stroke;
  stroke: var(--surface);
  stroke-width: 4px;
}

.fa-tag {
  font: 500 13px var(--font-sans);
  paint-order: stroke;
  stroke: var(--paper);
  stroke-width: 3.5px;
  stroke-linejoin: round;
}

@media (prefers-reduced-motion: reduce) {
  .fa-draw {
    stroke-dashoffset: 0;
    animation: none;
  }

  .fa-pop, .fa-fade, .fa-ring {
    opacity: 1;
    animation: none;
  }
}

.fg-big {
  font: 600 46px var(--font-sans);
  fill: #2b2f6b;
}

.fg-lab {
  font: 600 17px var(--font-sans);
  fill: #212f5e;
  paint-order: stroke;
  stroke: var(--paper);
  stroke-width: 4px;
}

.fg-small {
  font: 500 15px var(--font-sans);
  fill: var(--muted);
}

.fg-tick {
  font: 500 13px var(--font-sans);
  fill: var(--primary);
}

.fg-tick.in {
  fill: #9775fa;
  font-size: 13px;
}

.fg-count {
  font: 600 17px var(--font-sans);
  fill: var(--right);
}

.fg-name {
  font: 600 15px var(--font-sans);
  fill: var(--tutor);
  paint-order: stroke;
  stroke: var(--paper);
  stroke-width: 4px;
}

.fg .ov {
  fill: #0000;
  stroke: #0000;
  stroke-width: 3px;
  pointer-events: none;
}

.fg .hl-red {
  filter: drop-shadow(0 0 3px #e03131f2) drop-shadow(0 0 9px #e0313180);
}

.fg .hl-green {
  filter: drop-shadow(0 0 3px #1f9d6bf2) drop-shadow(0 0 9px #1f9d6b80);
}

.fg .hl-blue {
  filter: drop-shadow(0 0 3px #3b5bdbf2) drop-shadow(0 0 9px #3b5bdb80);
}

.fg .hl-red :is(line, path, polyline, polygon, rect, circle):not(.fg-hit) {
  stroke: var(--danger) !important;
}

.fg .hl-red text {
  fill: var(--danger) !important;
}

.fg .hl-green :is(line, path, polyline, polygon, rect, circle):not(.fg-hit) {
  stroke: var(--right) !important;
}

.fg .hl-green text {
  fill: var(--right) !important;
}

.fg .hl-blue :is(line, path, polyline, polygon, rect, circle):not(.fg-hit) {
  stroke: var(--primary) !important;
}

.fg .hl-blue text {
  fill: var(--primary) !important;
}

.fg .hl-red .ov, .fg .hl-red.ov {
  fill: #e0313129;
}

.fg .hl-green .ov {
  fill: #1f9d6b2e;
}

.fg .hl-blue .ov {
  fill: #3b5bdb29;
}

.fg .hl-red, .fg .hl-green, .fg .hl-blue {
  animation: 1.6s ease-in-out 2 fg-pulse;
}

.fg .fg-p {
  transition: filter .7s;
}

.fg .fg-p :is(line, path, polyline, polygon, rect, circle) {
  transition: stroke .7s;
}

.fg .fg-p text {
  transition: fill .7s;
}

@keyframes fg-pulse {
  50% {
    opacity: .75;
  }
}

.fg-ans {
  font: 500 17px var(--font-sans);
  color: #212f5e;
  align-items: baseline;
  gap: 12px;
  display: flex;
}

.fg-ans input {
  width: 150px;
  font: 500 23px var(--font-hand, var(--font-sans));
  color: var(--primary);
  border: 0;
  border-bottom: 2px dashed var(--line);
  background: none;
  outline: none;
  padding: 2px 4px;
}

.fg .fg-ans.hl-red, .fg .fg-ans.hl-green {
  filter: none;
}

.fg .fg-ans.hl-red input {
  color: var(--danger);
  border-bottom-color: var(--danger);
  background: #e0313114;
}

.fg .fg-ans.hl-green input {
  color: var(--right);
  border-bottom-color: var(--right);
}

.al-inked::placeholder {
  color: #0000 !important;
  opacity: 0 !important;
}

.fg-ans input:focus {
  border-bottom-color: var(--primary);
}

.fg-ans input::placeholder {
  color: #adb5bd;
}

@media (prefers-reduced-motion: reduce) {
  .fg .hl-red, .fg .hl-green, .fg .hl-blue {
    animation: none;
  }
}

.rw {
  flex-direction: column;
  gap: 14px;
  max-width: 760px;
  display: flex;
}

.rw-title {
  font: 600 23px var(--font-sans);
  color: var(--primary);
  margin: 0;
}

.rw-text {
  font: 500 23px/1.75 var(--font-sans);
  color: #283a6b;
  margin: 0;
}

.rw-w {
  border-radius: 8px;
  padding: 1px 2px;
  transition: background .25s, color .25s;
  position: relative;
}

.rw-w.on {
  color: var(--primary);
  background: #3b5bdb24;
}

.rw-w.now {
  box-shadow: inset 0 -3px 0 var(--primary);
}

.rw-w.tut {
  background: #ffd43b80;
}

.rw-w.ok {
  box-shadow: inset 0 -2px #1f9d6b8c;
}

.rw-w.fixed {
  color: var(--right);
  box-shadow: inset 0 -3px 0 var(--right);
  font-weight: 600;
}

.rw-w.sub {
  color: var(--danger);
  cursor: pointer;
  background: #e031311a;
}

.rw-w.skip {
  color: var(--danger);
  cursor: pointer;
  border-bottom: 2px dashed var(--danger);
  text-decoration: none;
  box-shadow: inset 0 -3px #e03131cc;
}

.rw-w.focus {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

.rw-said {
  font: 500 13px var(--font-hand, var(--font-sans));
  color: var(--danger);
  vertical-align: super;
  margin-left: 2px;
}

.rw-add {
  font: 500 13px var(--font-sans);
  color: var(--danger);
  margin: 0 2px;
}

.rw-stats {
  flex-wrap: wrap;
  gap: 10px;
  display: flex;
}

.rw-stats span {
  background: var(--primary-soft);
  color: var(--primary);
  font: 500 15px var(--font-sans);
  border-radius: 8px;
  align-items: baseline;
  gap: 6px;
  padding: 8px 12px;
  display: flex;
}

.rw-stats b {
  color: var(--primary);
  font-size: 23px;
}

.rw-hear {
  font: 500 15px var(--font-sans);
  color: #5b6b9a;
  margin: 0;
}

.rw-hear q {
  font-family: var(--font-hand, var(--font-sans));
  color: var(--primary);
  font-size: 19px;
}

.rw-how {
  font: 500 15px var(--font-sans);
  color: #7c88b0;
  margin: 0;
}

.rw-fix {
  border: 2px solid var(--line);
  background: var(--primary-soft);
  border-radius: 12px;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  display: flex;
}

.rw-fix > b {
  font: 600 15px var(--font-sans);
  color: var(--primary);
  letter-spacing: .02em;
}

.rw-boxes {
  flex-wrap: wrap;
  gap: 8px;
  display: flex;
}

.rw-box {
  background: var(--surface);
  cursor: pointer;
  border: 2.5px solid #748ffc;
  border-radius: 12px;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 64px;
  padding: 10px 12px 8px;
  transition: transform .15s, background .2s, border-color .2s;
  display: flex;
}

.rw-box span {
  font: 600 28px var(--font-sans);
  color: var(--primary);
}

.rw-box small {
  font: 500 13px var(--font-sans);
  color: #7c88b0;
  white-space: nowrap;
}

.rw-box:hover {
  border-color: var(--primary);
}

.rw-box.on {
  background: var(--primary-soft);
  border-color: var(--primary);
  transform: translateY(-4px);
}

.rw-box.bad {
  border-color: var(--danger);
  background: var(--danger-soft);
}

.rw-box.bad span {
  color: var(--danger);
}

.rw-box.silent span {
  color: #a5b4e8;
}

.rw-slow, .rw-play {
  border: 2px solid var(--primary);
  background: var(--surface);
  color: var(--primary);
  font: 600 15px var(--font-sans);
  cursor: pointer;
  border-radius: 8px;
  padding: 8px 14px;
}

.rw-play {
  background: var(--primary);
  color: var(--surface);
  align-self: flex-start;
}

.rw-sight {
  font: 600 28px var(--font-sans);
  color: var(--primary);
  background: var(--surface);
  cursor: pointer;
  border: 2.5px solid #748ffc;
  border-radius: 12px;
  padding: 8px 22px;
}

.rw-cards {
  flex-wrap: wrap;
  gap: 12px;
  display: flex;
}

.rw-card {
  border: 2.5px solid var(--line);
  background: var(--surface);
  min-width: 110px;
  font: 600 28px var(--font-sans);
  color: var(--primary);
  text-align: center;
  cursor: default;
  border-radius: 12px;
  padding: 16px 18px;
  transition: background .25s, border-color .25s, transform .2s;
}

.rw-cards.small .rw-card {
  min-width: 0;
  padding: 8px 14px;
  font-size: 19px;
}

.rw-card.on {
  background: var(--primary-soft);
  border-color: var(--primary);
  transform: scale(1.04);
}

.rw-card.ok {
  background: var(--right-soft);
  color: var(--right);
  border-color: #40c057;
}

.rw-card.focus {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

.rw-card.bad {
  color: var(--danger);
  border-color: #ffa8a8;
  text-decoration: line-through;
}

.rw-sound {
  flex-direction: column;
  gap: 16px;
  display: flex;
}

.rw-sw {
  border-radius: 12px;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  padding: 6px;
  transition: background .3s;
  display: flex;
}

.rw-sw.on {
  background: #3b5bdb14;
}

.rw-sw.ok .rw-box {
  background: var(--right-soft);
  border-color: #40c057;
}

.rw-sw.ok .rw-box span {
  color: var(--right);
}

.rw-got {
  font: 600 28px var(--font-sans);
  color: var(--right);
  margin: 0;
}

.rw-rhyme {
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  display: flex;
}

.rw-big {
  font: 600 56px var(--font-sans);
  background: var(--surface);
  border: 3px solid #748ffc;
  border-radius: 12px;
  padding: 6px 22px;
}

.rw-head {
  color: var(--primary);
}

.rw-rime {
  color: var(--primary);
  text-underline-offset: 8px;
  text-decoration: underline;
  text-decoration-thickness: 4px;
}

.rw-slots {
  flex-wrap: wrap;
  gap: 12px;
  display: flex;
}

.rw-slot {
  border: 2.5px dashed var(--line);
  min-width: 110px;
  font: 600 23px var(--font-sans);
  color: var(--primary);
  text-align: center;
  border-radius: 12px;
  padding: 12px 16px;
}

.rw-slot em {
  color: var(--line);
  font-style: normal;
}

.rw-slot i {
  color: var(--primary);
  font-style: normal;
}

.rw-slot.ok {
  background: var(--right-soft);
  color: var(--right);
  border-style: solid;
  border-color: #40c057;
}

.rw-bad {
  font: 500 15px var(--font-sans);
  color: #7c88b0;
  margin: 0;
}

.rw-bad s {
  color: var(--danger);
  margin-left: 8px;
  font-weight: 500;
}

.rw-chain {
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  display: flex;
}

.rw-step {
  align-items: center;
  gap: 6px;
  display: flex;
}

.rw-arrow {
  color: #a5b4e8;
  font-size: 23px;
  font-style: normal;
}

.rw-cw {
  border: 2.5px solid var(--line);
  background: var(--surface);
  font: 600 28px var(--font-sans);
  color: var(--primary);
  border-radius: 12px;
  padding: 8px 12px;
  display: inline-flex;
  position: relative;
}

.rw-cw b.chg {
  color: var(--primary);
  text-underline-offset: 5px;
  text-decoration: underline;
  text-decoration-thickness: 3px;
}

.rw-cw.on {
  background: var(--primary-soft);
  border-color: var(--primary);
}

.rw-cw.now {
  box-shadow: 0 0 0 3px #3b5bdb59;
}

.rw-cw.ok {
  background: var(--right-soft);
  border-color: #40c057;
}

.rw-cw.sub, .rw-cw.skip {
  border-color: var(--danger);
  background: var(--danger-soft);
}

.rw-gap {
  min-width: 120px;
  color: var(--primary);
  text-align: center;
  border-bottom: 3px solid #748ffc;
  padding: 0 10px;
  display: inline-block;
}

.rw-gap.ok {
  color: var(--right);
  border-color: #40c057;
  font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
  .rw-box, .rw-card, .rw-w {
    transition: none;
  }
}

.rw-lip {
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 22px;
  display: flex;
}

.rw-mouth {
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 250px;
  display: flex;
}

.rw-tip {
  min-height: 40px;
  font: 500 15px/1.35 var(--font-sans);
  color: var(--primary);
  text-align: center;
  margin: 0;
}

.rw-lip .rw-sound {
  flex: 1;
  min-width: 280px;
}

.ob-vgroup {
  gap: 10px;
  display: grid;
}

.ob-vtabs {
  border: 1.5px solid var(--line);
  border-radius: 12px;
  width: max-content;
  display: flex;
  overflow: hidden;
}

.ob-vtabs button {
  background: var(--surface);
  height: 42px;
  font: 500 15px var(--font-sans);
  color: var(--ink);
  cursor: pointer;
  border: 0;
  padding: 0 18px;
}

.ob-vtabs button small {
  color: var(--muted);
  margin-left: 4px;
  font-weight: 500;
}

.ob-vtabs button[aria-selected="true"] {
  background: var(--right-soft);
  color: var(--brand);
}

.ob-vgroup .ob-voices {
  max-height: 330px;
  padding: 2px 4px 2px 0;
  overflow: auto;
}

.al-setvh {
  font: 600 13px var(--font-sans);
  color: var(--muted);
  grid-column: 1 / -1;
  margin: 6px 0 0;
}

.al-btn.al-keep {
  visibility: hidden;
  pointer-events: none;
}

.al-embed .sa {
  grid-template-rows: none;
  grid-template-columns: minmax(0, 1fr);
}

.al-embed .sa-side {
  display: none;
}

.lib-bar {
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  display: flex;
}

.lib-cats {
  background: var(--surface);
  border: 1.5px solid var(--line);
  scrollbar-width: thin;
  border-radius: 12px;
  flex-wrap: nowrap;
  gap: 0;
  max-width: 100%;
  display: inline-flex;
  overflow-x: auto;
}

.lib-cats button {
  white-space: nowrap;
  background: none;
  border: 0;
  border-radius: 0;
  flex: none;
  height: 38px;
  padding: 0 11px;
}

.lib-cats button + button {
  border-left: 1.5px solid var(--primary-soft);
}

.lib-cats button[aria-pressed="true"] {
  background: var(--right-soft);
  border-color: var(--primary-soft);
}

.lib-bank {
  white-space: nowrap;
  border-radius: 12px;
  flex: none;
  align-items: center;
  gap: 8px;
  height: 41px;
  margin-left: 0;
  padding: 0 14px;
  display: inline-flex;
}

.lib-bank svg {
  flex: none;
  width: 18px;
  height: 18px;
}

.lib-bank em {
  color: var(--muted);
  border-left: 1.5px solid var(--line);
  padding-left: 8px;
  font-style: normal;
  font-weight: 500;
}

@media (max-width: 1100px) {
  .lib-bank em {
    display: none;
  }
}

.al-pass .al-ink, .al-pass .al-ink .al-blk {
  pointer-events: auto !important;
}

.al-modetip {
  z-index: 400;
  background: var(--surface);
  max-width: min(560px, 100% - 32px);
  color: var(--brand-hover);
  pointer-events: none;
  border: 1.5px solid #9ccbb0;
  border-radius: 12px;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  font-size: 15px;
  line-height: 22px;
  animation: .25s ease-out al-modetip;
  display: flex;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 8px 24px #1f2a4424;
}

.al-modetip b {
  background: var(--primary);
  color: var(--surface);
  border-radius: 8px;
  flex: none;
  padding: 2px 9px;
  font-weight: 600;
}

.al-modetip.pointer {
  color: #3b4fc4;
  border-color: #b9c6f5;
}

.al-modetip.pointer b {
  background: #4f6bed;
}

@keyframes al-modetip {
  from {
    opacity: 0;
    transform: translate(-50%, -8px);
  }

  to {
    opacity: 1;
    transform: translate(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .al-modetip {
    animation: none;
  }
}

.al-space .tl-canvas, .al-space .al-blk, .al-space .al-blk * {
  cursor: crosshair !important;
}

.al-modetip.lock {
  color: #8a5a00;
  border-color: #f0c674;
}

.al-modetip.lock b {
  background: #e9a23b;
}

.al-note:has( > .al-ask2) {
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 6px 12px;
  display: grid;
}

.al-note:has( > .al-ask2):before {
  grid-area: 1 / 1;
}

.al-note:has( > .al-ask2) > span {
  grid-area: 1 / 2;
}

.al-note:has( > .al-ask2) > .al-chev {
  grid-area: 1 / 3;
  margin-left: 0;
}

.al-note > .al-ask2 {
  cursor: text;
  flex-wrap: wrap;
  grid-area: 2 / 2;
  align-items: baseline;
  gap: 4px 12px;
  display: flex;
}

.al-note:has( > .al-ask2):not(:has( > span)) > .al-ask2 {
  grid-row: 1;
}

.al-ask2q {
  color: var(--ink);
  font-size: 1.08em;
  font-weight: 500;
  line-height: 1.45;
}

.al-ask2b {
  color: #212f5e;
  align-items: baseline;
  gap: 8px;
  font-size: 1.08em;
  font-weight: 500;
  display: inline-flex;
}

.al-ask2:has(.al-w:not(.said):not(.now)) :is(.al-ask2in, .al-ctadone) {
  visibility: hidden;
}

.al-ask2.many .al-ask2in {
  text-align: center;
  width: auto;
  min-width: 64px;
}

.al-ask2.many {
  gap: 4px 8px;
}

.al-ask2in {
  width: 170px;
  max-width: 100%;
  font: 500 23px var(--font-hand, var(--font-sans));
  color: var(--primary);
  border: 0;
  border-bottom: 2px dashed var(--line);
  pointer-events: auto;
  background: none;
  outline: none;
  padding: 2px 4px;
}

.al-ask2in:focus {
  border-bottom-color: var(--primary);
}

.al-ask2in::placeholder {
  color: #b5bccb;
}

.al-ask2in.done {
  color: var(--right);
  border-bottom-color: var(--right);
}

.al-ctadone {
  font: 500 23px var(--font-hand, var(--font-sans));
  color: var(--right);
  border-bottom: 2px dashed var(--right);
  padding: 0 6px;
}

.al-ask2line {
  border-bottom: 2px dashed var(--line);
  vertical-align: baseline;
  min-width: 64px;
  height: 1.3em;
  font: 500 23px var(--font-hand, var(--font-sans));
  color: var(--right);
  text-align: center;
  margin: 0 6px;
  font-style: normal;
  line-height: 1.1;
  display: inline-block;
}

.al-ask2line.done {
  border-bottom-color: var(--right);
}

.al-toast {
  z-index: 400;
  background: var(--surface);
  color: #b4232a;
  text-align: left;
  pointer-events: none;
  border: 1.5px solid #f3c4c6;
  border-radius: 12px;
  align-items: center;
  gap: 10px;
  max-width: min(560px, 100% - 32px);
  padding: 10px 16px;
  font-size: 15px;
  line-height: 22px;
  animation: .25s ease-out al-modetip;
  display: flex;
  position: fixed;
  top: 62px;
  bottom: auto;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 8px 24px #1f2a4424;
}

.al-toast b {
  background: var(--danger);
  color: var(--surface);
  border-radius: 8px;
  flex: none;
  padding: 2px 9px;
  font-weight: 600;
}

.al-toast.tip {
  color: #3b4fc4;
  border-color: #b9c6f5;
}

.al-toast.tip b {
  background: #4f6bed;
}

@media (prefers-reduced-motion: reduce) {
  .al-toast {
    animation: none;
  }
}

@keyframes fxLook {
  0% {
    box-shadow: 0 0 #3b5bdb8c;
  }

  60% {
    box-shadow: 0 0 0 9px #3b5bdb00;
  }

  100% {
    box-shadow: 0 0 #3b5bdb00;
  }
}

@keyframes fxPut {
  0% {
    box-shadow: 0 0 #1f9d6b80;
  }

  100% {
    box-shadow: 0 0 0 14px #1f9d6b00;
  }
}

.fx-look {
  outline-offset: 2px;
  background-color: var(--primary-soft);
  border-radius: 8px;
  animation: 1.3s ease-out 4 fxLook;
  outline: 2.5px solid var(--primary) !important;
}

.fx-look.fx-wide {
  background-color: #0000;
  outline-style: dashed;
}

svg.fx-look, .al-hot g.fx-look {
  filter: drop-shadow(0 0 5px #3b5bdbd9);
  outline: 0;
  animation: none;
}

.fx-out {
  opacity: .42;
  -webkit-text-decoration: line-through #e5484dbf;
  text-decoration: line-through #e5484dbf;
  text-decoration-thickness: 2px;
  transition: opacity .35s;
}

.al-hot g.fx-out {
  opacity: .25;
}

.al-blk.fxb-put {
  animation: 1.2s ease-out fxPut;
}

.or-list li.fx-bad {
  background: var(--danger-soft);
}

.or-list li.fx-good, .al-bucket > div.fx-good, .al-match button.fx-good, .al-blank.fx-good {
  background-color: var(--right-soft) !important;
}

@media (prefers-reduced-motion: reduce) {
  .fx-look, .al-blk.fxb-put {
    animation: none;
  }
}

.ml-li {
  grid-template-columns: minmax(0, 1fr) 40px;
  align-items: center;
  gap: 8px;
  display: grid;
}

.ml-del {
  border: 1px solid var(--line);
  background: var(--surface);
  width: 40px;
  height: 40px;
  color: var(--muted);
  cursor: pointer;
  border-radius: 12px;
  place-items: center;
  transition: color .12s, border-color .12s, background .12s;
  display: grid;
}

.ml-del:hover, .ml-del:focus-visible {
  color: var(--danger);
  border-color: var(--danger);
  background: var(--danger-soft);
  outline: 0;
}

.al-confirm button.ml-delgo {
  background: var(--danger);
  border-color: var(--danger);
  color: var(--surface);
}

.hd-ring circle {
  fill: none;
  stroke: var(--primary);
  stroke-width: 3px;
  transform-box: fill-box;
  transform-origin: center;
}

.hd-ring circle.b {
  animation: 1.4s ease-out 8 hdRing;
}

@keyframes hdRing {
  0% {
    opacity: 1;
    transform: scale(.6);
  }

  100% {
    opacity: 0;
    transform: scale(2.4);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hd-ring circle.b {
    animation: none;
  }
}

.bk-play {
  vertical-align: top;
  flex-direction: column;
  gap: 4px;
  max-width: 100%;
  margin: 6px 0 8px;
  display: inline-flex;
}

.bk-stage {
  cursor: crosshair;
  outline: 1.5px solid var(--line);
  background: var(--surface);
  touch-action: manipulation;
  border-radius: 8px;
  line-height: 0;
  display: inline-block;
  position: relative;
}

.bk-stage .bk-pic {
  pointer-events: none;
  margin: 0;
  transition: max-height .2s, max-width .2s;
}

.bk-play.big .bk-stage .bk-pic {
  width: 860px;
  max-width: min(100%, 860px);
  max-height: 560px;
}

.bk-dot {
  width: 24px;
  height: 24px;
  color: var(--surface);
  text-align: center;
  box-shadow: 0 0 0 2px var(--surface);
  pointer-events: none;
  border-radius: 50%;
  margin: -12px 0 0 -12px;
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
  line-height: 24px;
  animation: .18s ease-out bkDot;
  position: absolute;
}

@keyframes bkDot {
  from {
    transform: scale(.3);
  }

  to {
    transform: scale(1);
  }
}

.bk-tools {
  color: var(--primary);
  align-items: center;
  gap: 8px;
  font-size: 13px;
  line-height: 18px;
  display: flex;
}

.bk-tools b {
  margin-right: auto;
  font-weight: 500;
}

.bk-tools button {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--primary);
  font: inherit;
  cursor: pointer;
  border-radius: 8px;
  padding: 3px 10px;
  font-weight: 500;
}

.bk-tools button:hover {
  background: var(--primary-soft);
}

.bk-tools button[aria-pressed="true"] {
  background: var(--primary);
  color: var(--surface);
  border-color: var(--primary);
}

.bk-tbl.pics .bk-play .bk-pic {
  max-width: min(260px, 26vw);
}

.bf .bk-stage {
  cursor: default;
}

.bf-svg {
  -webkit-user-select: none;
  user-select: none;
  display: block;
}

.bf-thing {
  cursor: pointer;
  transition: filter .12s;
}

.bf-thing:hover {
  filter: brightness(.93) drop-shadow(0 0 2px #3b5bdbb3);
}

.bf-thing.on {
  filter: drop-shadow(0 0 3px var(--primary)) saturate(1.5) brightness(.9);
}

.bf-badge {
  transform-box: fill-box;
  transform-origin: center;
  animation: .18s ease-out bkDot;
}

.bk-play.big .bk-stage .bf-svg {
  width: 860px;
  max-width: min(100%, 860px);
  height: auto;
  max-height: 560px;
}

.bf-svg text {
  -webkit-user-select: none;
  user-select: none;
  pointer-events: none;
}

.cr-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  gap: 14px;
  margin-bottom: 16px;
  padding: 18px 20px;
  display: grid;
}

.cr-head {
  align-items: flex-start;
  gap: 14px;
  display: flex;
}

.cr-head b {
  color: var(--ink);
  font-size: 17px;
  font-weight: 500;
  line-height: 26px;
  display: block;
}

.cr-head small {
  color: var(--muted);
  font-size: 15px;
  line-height: 21px;
  display: block;
}

.cr-head a {
  color: var(--primary);
  font-weight: 500;
}

.cr-face {
  width: 52px;
  height: 52px;
  color: var(--surface);
  background: linear-gradient(135deg, #7c4dff, var(--primary));
  border-radius: 12px;
  flex: none;
  place-items: center;
  font-size: 17px;
  font-weight: 600;
  display: grid;
}

.cr-photo {
  object-fit: cover;
  background: var(--primary-soft);
}

.cr-topics {
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 10px;
  display: grid;
}

.cr-topics button {
  border: 1.5px solid var(--line);
  background: var(--primary-soft);
  height: 46px;
  color: var(--primary);
  font: inherit;
  cursor: pointer;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
  transition: background .12s, border-color .12s, transform .12s;
}

.cr-topics button:hover:not(:disabled) {
  background: var(--primary-soft);
  border-color: var(--primary);
  transform: translateY(-1px);
}

.cr-topics button:disabled {
  opacity: .6;
  cursor: default;
}

.cr-own {
  gap: 10px;
  display: flex;
}

.cr-own input {
  border: 1.5px solid var(--line);
  min-width: 0;
  height: 46px;
  font: inherit;
  color: var(--ink);
  background: var(--surface);
  border-radius: 12px;
  flex: 1;
  padding: 0 14px;
  font-size: 15px;
}

.cr-own input:focus {
  border-color: var(--primary);
  outline: 0;
}

.cr-own button {
  background: var(--primary);
  height: 46px;
  color: var(--surface);
  font: inherit;
  cursor: pointer;
  border: 0;
  border-radius: 12px;
  padding: 0 20px;
  font-size: 15px;
  font-weight: 500;
}

.cr-own button:disabled {
  opacity: .5;
  cursor: default;
}

.al-credit {
  color: var(--muted);
  flex-wrap: wrap;
  gap: 6px 18px;
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 19px;
  display: flex;
}

.al-credit a {
  color: var(--primary);
  font-weight: 500;
}

.vp {
  max-width: 640px;
}

.vp-stage {
  aspect-ratio: 16 / 9;
  background: var(--ink);
  border-radius: 12px 12px 0 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 20px #1f2a4424;
}

.vp-crop {
  position: absolute;
  inset: calc(-1 * max(110px, 12%)) 0;
}

.vp-yt, .vp-yt iframe {
  border: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.vp-hit {
  z-index: 1;
  cursor: pointer;
  pointer-events: all;
  background: none;
  border: 0;
  position: absolute;
  inset: 0;
}

.vp-cap {
  z-index: 3;
  pointer-events: none;
  justify-content: center;
  padding: 0 16px;
  display: flex;
  position: absolute;
  bottom: 5%;
  left: 0;
  right: 0;
}

.vp-cap p {
  text-align: center;
  background: #102a43d6;
  border-radius: 8px;
  max-width: 88%;
  padding: 6px 12px;
  color: var(--surface) !important;
  margin: 0 !important;
  font-size: 17px !important;
  line-height: 23px !important;
  display: block !important;
}

.vp-cover {
  z-index: 2;
  color: var(--surface);
  font: inherit;
  cursor: pointer;
  pointer-events: all;
  background-position: center;
  background-size: cover;
  border: 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  display: flex;
  position: absolute;
  inset: 0;
}

.vp-cover.again {
  background: #1f3a68c7;
}

.vp-cover span {
  background: var(--primary);
  border-radius: 12px;
  place-items: center;
  width: 64px;
  height: 64px;
  transition: transform .12s;
  display: grid;
  box-shadow: 0 10px 26px #1f2a4459;
}

.vp-cover:hover span {
  transform: scale(1.06);
}

.vp-cover b {
  font-size: 15px;
  font-weight: 500;
}

.vp-bar {
  background: var(--surface);
  border: 1px solid var(--line);
  pointer-events: all;
  border-top: 0;
  border-radius: 0 0 12px 12px;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  display: flex;
}

.vp-bar button {
  border: 1.5px solid var(--line);
  background: var(--primary-soft);
  width: 34px;
  height: 34px;
  color: var(--primary);
  cursor: pointer;
  font: inherit;
  border-radius: 8px;
  flex: none;
  place-items: center;
  font-size: 13px;
  font-weight: 600;
  display: grid;
}

.vp-bar button:hover {
  background: var(--primary-soft);
}

.vp-bar button.vp-cc[aria-pressed="true"] {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--surface);
}

.vp-time {
  font-variant-numeric: tabular-nums;
  color: var(--muted);
  flex: none;
  font-size: 13px;
}

.vp-bar input[type="range"] {
  min-width: 0;
  accent-color: var(--primary);
  flex: 1;
}

.al-crmgo {
  background: var(--primary);
  height: 34px;
  color: var(--surface);
  pointer-events: all;
  border-radius: 8px;
  flex: none;
  align-items: center;
  padding: 0 14px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
}

.ls-tabs {
  border-bottom: 2px solid var(--primary-soft);
  gap: 4px;
  display: flex;
  overflow-x: auto;
}

.ls-tabs button {
  height: 44px;
  color: var(--muted);
  cursor: pointer;
  background: none;
  border: 0;
  border-bottom: 3px solid #0000;
  border-radius: 0;
  flex: none;
  margin-bottom: -2px;
  padding: 0 16px;
  font-family: inherit;
  font-size: 17px;
  font-weight: 500;
}

.ls-tabs button:hover {
  color: var(--primary);
}

.ls-tabs button[aria-selected="true"] {
  color: var(--brand);
  border-bottom-color: var(--brand);
}

.ls-pane {
  flex-direction: column;
  gap: 16px;
  display: flex;
}

.ls-h {
  color: var(--ink);
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 17px;
  font-weight: 500;
  line-height: 26px;
  display: flex;
}

.ls-h em {
  color: var(--muted);
  background: var(--primary-soft);
  border-radius: 8px;
  padding: 1px 8px;
  font-size: 13px;
  font-style: normal;
  font-weight: 500;
}

.ls-more {
  border: 1.5px solid var(--line);
  background: var(--surface);
  height: 36px;
  color: var(--primary);
  cursor: pointer;
  border-radius: 8px;
  margin-left: auto;
  padding: 0 14px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
}

.ls-more:hover {
  border-color: var(--primary);
  background: var(--primary-soft);
}

.ls-tabs button:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: -2px;
}

.sa-link.sa-under {
  border-left: 0;
  border-radius: 0 8px 8px 0;
  height: 36px;
  margin-left: 20px;
  padding-left: 12px;
  font-size: 15px;
}

.sa-link.sa-under svg {
  width: 17px;
  height: 17px;
}

@media (max-width: 860px) {
  .sa-link.sa-under {
    border-left: 0;
    border-radius: 8px;
    height: 50px;
    margin-left: 0;
    padding-left: 5px;
    font-size: 13px;
  }

  .sa-side nav {
    flex: 4;
  }

  .sa-low {
    flex: 4 !important;
  }
}

.al-ink .al-blk :is(iframe, .bf-svg, .al-ask2in, .vp-hit, .vp-cover, .vp-bar, .al-crmgo) {
  pointer-events: none !important;
}

.al-pass .al-ink .al-blk :is(iframe, .bf-svg, .al-ask2in, .vp-hit, .vp-cover, .vp-bar, .al-crmgo) {
  pointer-events: auto !important;
}

.bf-guide line {
  stroke-dasharray: 1;
  stroke-dashoffset: 1px;
  animation: .8s ease-out forwards bfDraw;
}

.bf-guide circle {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: .35s ease-out forwards bfPop;
}

.bf-guide circle.bf-tick {
  animation-duration: .25s;
}

@keyframes bfDraw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes bfPop {
  from {
    opacity: 0;
    transform: scale(.3);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .bf-guide line {
    stroke-dashoffset: 0;
    animation: none;
  }

  .bf-guide circle {
    opacity: 1;
    animation: none;
  }
}

.al-graphb .gr-guide line {
  stroke: var(--tutor);
  stroke-width: 7px;
  stroke-linecap: round;
  opacity: .32;
}

.al-graphb .gr-guide text.gr-gname {
  fill: #6a1fb8;
  font: 500 13px var(--font-sans);
  paint-order: stroke;
  stroke: var(--surface);
  stroke-width: 3px;
}

.sa-link.sa-under.sa-under2 {
  margin-left: 40px;
}

@media (max-width: 860px) {
  .sa-link.sa-under.sa-under2 {
    margin-left: 0;
  }
}

.pg-from {
  flex: none;
  display: inline-flex;
}

.pg-meet header .pg-from .pg-logo {
  border-radius: 8px;
  width: 36px;
  height: 36px;
}

.pg-mom small .pg-from.sm {
  margin-left: auto;
}

.pg-mom small .pg-from.sm .pg-logo {
  border-radius: 4px;
  width: 20px;
  height: 20px;
}

.pg-mom small .pg-from.sm .pg-tile {
  display: none;
}

.al-planin input {
  border: 0 !important;
  border-bottom: 2px dashed var(--line) !important;
  box-shadow: none !important;
  font: 500 23px var(--font-hand, var(--font-sans)) !important;
  color: var(--primary) !important;
  background: none !important;
  border-radius: 0 !important;
  outline: none !important;
  padding: 4px !important;
}

.al-planin input:focus {
  border-bottom-color: var(--primary) !important;
}

.al-planin input::placeholder {
  color: #adb5bd;
}

.al-you.bad {
  color: var(--danger);
}

.al-note.has-mood:before {
  background: var(--mood) center / cover no-repeat;
  border-radius: 50%;
  align-self: center;
  height: 38px;
  content: "" !important;
  width: 38px !important;
}

.fp .fp-h {
  width: 100%;
  font: 600 13px var(--font-sans);
  color: var(--brand);
  flex-basis: 100%;
  grid-column: 1 / -1;
  margin: 10px 0 2px;
}

.fp .fp-team {
  flex-direction: column;
  align-items: center;
  gap: 2px;
  height: auto;
  display: inline-flex;
}

.fp .fp-team small {
  font: 500 13px var(--font-sans);
  color: #4a5578;
}

.pg-tour.low {
  margin-top: 12px;
}

.fp .fp-team {
  aspect-ratio: auto;
  border-radius: 12px;
}

.pg-picks .pg-by {
  font: 600 15px var(--font-sans);
  color: var(--brand);
  align-self: center;
  margin-right: 2px;
}

.fp .fp-team > :first-child {
  flex: none;
  width: 46px;
  height: 46px;
}

.fp .fp-team {
  padding-bottom: 4px;
  overflow: visible;
}

.fp:has(.fp-team) {
  padding-bottom: 6px;
}

.fp .fp-team .ta {
  flex: none;
  width: 56px !important;
  height: 56px !important;
}

.al-note.al-unfold {
  border-left: 0;
  padding-left: 11px;
}

.nw {
  gap: 8px;
  margin-top: 12px;
  font-size: 15px;
  line-height: 23px;
  display: grid;
}

.nw-h {
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  display: flex;
}

.nw-h b {
  font-size: 17px;
}

.nw-h em {
  color: var(--tutor);
  font-size: 13px;
  font-style: normal;
  font-weight: 500;
}

.nw-checks {
  gap: 2px;
  margin: 0;
  padding: 0;
  font-size: 15px;
  font-weight: 500;
  list-style: none;
  display: grid;
}

.nw-checks .ok {
  color: var(--right);
}

.nw-checks .no {
  color: var(--danger);
}

.nw-checks small {
  color: var(--muted);
  font-weight: 400;
}

.fp button.fp-team, .al-setp .fp button.fp-team, .fp button.fp-team:hover, .fp button.fp-team[aria-pressed="true"] {
  aspect-ratio: auto;
  border-radius: 0;
  outline: 0;
  min-width: 0;
}

.fp button.fp-team .ta {
  aspect-ratio: 1;
  outline-offset: 2px;
  border-radius: 50%;
  outline: 2px solid #0000;
  transition: outline-color .15s;
  width: min(100%, 56px) !important;
  height: auto !important;
}

.fp button.fp-team:hover .ta {
  outline-color: #c5dccd;
}

.fp button.fp-team[aria-pressed="true"] .ta {
  outline: 3px solid var(--right);
}

.al-setv {
  max-height: none;
  overflow: visible;
}

.al-note.has-mood:not(.al-unfold) {
  padding-left: 11px;
}

.al-note.has-mood[data-writing]:before {
  transform: translateY(var(--face-y, 0px));
  align-self: flex-start;
  transition: transform .25s;
}

.mem-sc {
  --c: var(--right);
  background: var(--c);
  border-radius: 8px;
  flex: none;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  font-size: 15px;
  font-style: normal;
  font-weight: 600;
  display: inline-flex;
}

@supports (color: color-mix(in lab, red, red)) {
  .mem-sc {
    background: color-mix(in srgb, var(--c) 16%, var(--surface));
  }
}

.mem-sc {
  color: var(--c);
  border-bottom: 3px solid var(--c);
  box-sizing: border-box;
}

.mem-sc[data-s="approaching"] {
  background: var(--right-soft);
  color: #0e6b4a;
  border-bottom-color: #9bd8bd;
}

.mem-sc[data-s="proficient"] {
  color: var(--surface);
  border-bottom-color: var(--right);
  background: #2fb380;
}

.mem-sc[data-s="exceeding"] {
  color: var(--surface);
  border-bottom-color: var(--brand);
  background: #0e6b4a;
}

.pg-card.two .mem-sc {
  grid-row: 1 / 3;
}

.mem-next {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 6px;
  display: grid;
}

.mem-col {
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  display: flex;
}

.mem-col h4 {
  color: var(--muted);
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 18px;
}

.mem-col .al-main, .pg-mom .al-main {
  touch-action: auto;
  border-radius: 12px;
  flex: none;
  align-self: flex-start;
  width: auto;
  height: 44px;
  margin-top: 2px;
  padding: 0 16px;
}

.pg-mom .al-main {
  border: 1.5px solid var(--line);
}

.mem-col .pg-card small {
  white-space: normal;
}

.mem-why {
  color: var(--muted);
  font-size: 13px;
}

.mem-err {
  color: var(--danger);
  margin: 0;
  font-size: 13px;
}

.fg-word .fg-ans {
  margin-top: 0;
}

.fg-late {
  margin-top: 10px;
  animation: .45s both fg-late-in;
}

@keyframes fg-late-in {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(.98);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fg-late {
    animation: none;
  }
}

.fg-late {
  max-width: 460px;
}

.fg-late svg {
  max-height: 380px;
}

.al-tch {
  max-width: 760px;
  margin: 6px 0 10px;
}

.al-tch-bar {
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
  display: flex;
}

.al-tch-play {
  background: var(--primary);
  height: 44px;
  color: var(--surface);
  font: inherit;
  cursor: pointer;
  border: 0;
  border-radius: 12px;
  padding: 0 18px;
  font-weight: 600;
}

.al-tch-play:disabled {
  opacity: .5;
  cursor: default;
}

.al-tch-dots {
  gap: 6px;
  display: flex;
}

.al-tch-dots button {
  border: 1.5px solid var(--line);
  background: var(--surface);
  width: 30px;
  height: 30px;
  color: var(--primary);
  line-height: 1;
  font: inherit;
  cursor: pointer;
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  padding: 0;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
}

@supports (text-box: trim-both cap alphabetic) {
  .al-tch-dots button {
    text-box: trim-both cap alphabetic;
  }
}

.al-tch-speed {
  gap: 4px;
  margin-left: auto;
  display: flex;
}

.al-tch-speed button {
  border: 1.5px solid var(--line);
  background: var(--surface);
  height: 30px;
  color: var(--primary);
  font: inherit;
  cursor: pointer;
  border-radius: 8px;
  padding: 0 10px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
}

.al-tch-speed button.on {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--surface);
}

.al-tch-dots button.done {
  background: var(--primary-soft);
}

.al-tch-dots button.now {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--surface);
}

.al-tch-dots button:disabled {
  cursor: default;
}

.al-tch-dots button:disabled:not(.now):not(.done) {
  opacity: .45;
}

.al-tch-stage {
  border: 1.5px solid var(--line);
  background: var(--surface);
  border-radius: 12px;
  padding: 16px 18px 14px;
}

.al-tch.done .al-tch-stage {
  margin-bottom: 10px;
}

.al-tch-board {
  min-height: 96px;
}

.al-tch-board h4 {
  color: var(--primary);
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 20px;
}

.al-tch-board .new {
  animation: .45s both al-tch-in;
}

@keyframes al-tch-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .al-tch-board .new {
    animation: none;
  }
}

.al-tch-pts, .al-tch-steps, .al-tch-time {
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
}

.al-tch-pts li {
  padding-left: 18px;
  font-size: 17px;
  line-height: 25px;
  position: relative;
}

.al-tch-pts li:before {
  content: "";
  background: #f2a900;
  border-radius: 4px;
  width: 8px;
  height: 8px;
  position: absolute;
  top: 9px;
  left: 0;
}

.al-tch-board b {
  background: var(--marker);
  border-radius: 4px;
  padding: 0 3px;
}

.al-tch-steps li {
  grid-template-columns: 30px 1fr;
  align-items: start;
  gap: 10px;
  font-size: 17px;
  line-height: 24px;
  display: grid;
  position: relative;
}

.al-tch-steps li i {
  background: var(--right);
  width: 28px;
  height: 28px;
  color: var(--surface);
  border-radius: 8px;
  place-items: center;
  font-size: 15px;
  font-style: normal;
  font-weight: 600;
  display: grid;
}

.al-tch-steps li:not(:last-child):after {
  content: "";
  background: #b7e4cf;
  width: 2px;
  position: absolute;
  top: 30px;
  bottom: -8px;
  left: 13px;
}

.al-tch-time li {
  background: var(--tutor-soft);
  border-radius: var(--radius-sm);
  border-left: 0;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  padding-left: 12px;
  font-size: 17px;
  line-height: 23px;
  display: grid;
}

.al-tch-time li b {
  color: var(--tutor);
  background: none;
  padding: 0;
}

.al-tch-cmp {
  border-collapse: separate;
  border-spacing: 8px 6px;
  width: 100%;
  margin: -6px -8px;
  font-size: 17px;
  line-height: 23px;
}

.al-tch-cmp th {
  text-align: left;
  padding: 0 10px;
  font-size: 13px;
}

.al-tch-cmp th:first-child {
  color: #c2410c;
}

.al-tch-cmp th:last-child {
  color: var(--right);
}

.al-tch-cmp td {
  vertical-align: top;
  background: var(--paper);
  border-radius: 8px;
  width: 50%;
  padding: 8px 10px;
}

.al-tch-cmp td:last-child {
  background: var(--right-soft);
}

.al-tch-dl {
  gap: 8px;
  margin: 0;
  display: grid;
}

.al-tch-dl > div {
  grid-template-columns: minmax(120px, 42%) 1fr;
  align-items: baseline;
  gap: 14px;
  display: grid;
}

.al-tch-dl dt {
  color: var(--primary);
  font-size: 17px;
  font-weight: 600;
  line-height: 25px;
}

.al-tch-dl.formula dt {
  color: var(--tutor);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 17px;
}

.al-tch-dl dd {
  margin: 0;
  font-size: 15px;
  line-height: 23px;
}

.al-tch-code pre {
  background: var(--ink);
  color: var(--primary-soft);
  white-space: pre;
  border-radius: 12px;
  margin: 0;
  padding: 12px 14px;
  font: 15px / 23px ui-monospace, SFMono-Regular, Menlo, monospace;
  overflow-x: auto;
}

.al-tch-code code {
  display: block;
}

.al-tch-code code i {
  color: #8ea2e8;
  -webkit-user-select: none;
  user-select: none;
  width: 22px;
  font-style: normal;
  display: inline-block;
}

.al-tch-code code.new {
  background: #2f458f;
  box-shadow: -14px 0 #2f458f, 14px 0 #2f458f;
}

.al-tch-code p {
  color: var(--primary);
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 23px;
}

.al-tch-talk {
  gap: 8px;
  display: grid;
}

.al-tch-talk p {
  background: var(--primary-soft);
  border-radius: 12px;
  max-width: 82%;
  margin: 0;
  padding: 8px 12px;
  font-size: 17px;
  line-height: 23px;
}

.al-tch-talk p.b {
  background: var(--right-soft);
  justify-self: end;
}

.al-tch-talk p b {
  color: var(--primary);
  background: none;
  padding: 0;
  font-size: 13px;
  line-height: 16px;
  display: block;
}

.al-tch-talk p.b b {
  color: var(--right);
}

.al-tch-src {
  background: var(--paper);
  border-left: 0;
  border-radius: 0 12px 12px 0;
  margin: 0;
  padding: 10px 14px;
  font-size: 17px;
  line-height: 26px;
}

.al-tch-src mark {
  background: var(--marker);
  border-radius: 4px;
  padding: 1px 2px;
}

.al-tch-bars {
  gap: 8px;
  display: grid;
}

.al-tch-bars > div {
  grid-template-columns: minmax(70px, 26%) 1fr auto;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  line-height: 21px;
  display: grid;
}

.al-tch-bars i {
  background: var(--primary);
  border-radius: 4px;
  height: 20px;
  transition: width .5s;
}

.al-tch-bars > div:nth-child(2n) i {
  background: var(--right);
}

.al-tch-bars > div:nth-child(3n) i {
  background: #f2a900;
}

.al-tch-bars b {
  background: none;
  padding: 0;
}

.al-tch-say {
  border-top: 1.5px dashed var(--line);
  color: var(--muted);
  margin: 14px 0 0;
  padding-top: 12px;
  font-size: 15px;
  line-height: 24px;
}

.al-tch-say mark {
  color: var(--ink);
  background: none;
}

.al-tch-check {
  background: var(--tutor-soft);
  border-radius: 12px;
  margin-top: 10px;
  padding: 12px 14px;
}

.al-tch-check > p {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 600;
  line-height: 23px;
}

.al-tch-check > div {
  flex-wrap: wrap;
  gap: 8px;
  display: flex;
}

.al-tch-check button {
  background: var(--surface);
  color: #4c2fb5;
  min-height: 42px;
  font: inherit;
  cursor: pointer;
  text-align: left;
  border: 1.5px solid #b197fc;
  border-radius: 12px;
  padding: 6px 14px;
  font-size: 15px;
}

.al-tch-check button:disabled {
  cursor: default;
}

.al-tch-check button.mine {
  background: #e5dbff;
}

.al-tch-check button.right {
  border-color: var(--right);
  background: var(--right-soft);
  color: var(--right);
}

.al-tch-check button.wrong {
  border-color: var(--danger);
  background: var(--danger-soft);
  color: var(--danger);
}

.al-tch-check p.why {
  margin: 8px 0 0;
  font-size: 15px;
  font-weight: 400;
}

@media (max-width: 520px) {
  .al-tch-dl > div, .al-tch-time li {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .al-tch-talk p {
    max-width: 94%;
  }
}

.an-h {
  margin-top: 28px;
}

.an-tiles {
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  display: grid;
}

@media (max-width: 900px) {
  .an-tiles {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .an-tiles {
    grid-template-columns: 1fr;
  }
}

.an-tiles > div {
  border: 1.5px solid var(--line);
  background: var(--surface);
  border-radius: 12px;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  padding: 14px 16px;
  display: flex;
}

.an-tiles b {
  color: var(--primary);
  font-size: 23px;
  font-weight: 600;
  line-height: 32px;
}

.an-tiles span {
  font-size: 15px;
  font-weight: 500;
}

.an-tiles small, .an-rows small, .an-item small {
  color: var(--muted);
  font-size: 13px;
  line-height: 18px;
}

.an-tiles .an-mix {
  margin: 6px 0 4px;
}

.an-two {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  align-items: start;
  gap: 22px;
  display: grid;
}

.an-days {
  grid-template-columns: repeat(14, 1fr);
  align-items: end;
  gap: 5px;
  height: 190px;
  display: grid;
}

.an-days > span {
  text-align: center;
  grid-template-rows: 18px 1fr 18px;
  min-width: 0;
  height: 100%;
  display: grid;
}

.an-days em {
  color: var(--ink);
  align-self: end;
  font-size: 13px;
  font-style: normal;
  font-weight: 500;
  line-height: 18px;
}

.an-days i {
  background: var(--primary);
  border-radius: 4px 4px 0 0;
  align-self: end;
  min-height: 3px;
}

.an-days i[data-z] {
  background: var(--primary-soft);
}

.an-days small {
  color: var(--muted);
  font-size: 13px;
  line-height: 18px;
  overflow: hidden;
}

.an-rows {
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  display: flex;
}

.an-rows h4 {
  color: var(--muted);
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 18px;
}

.an-rows h4:not(:first-child) {
  margin-top: 10px;
}

.an-row {
  grid-template-columns: minmax(110px, 1.1fr) 1.4fr 74px;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  display: grid;
}

.an-row > span:first-child {
  flex-direction: column;
  min-width: 0;
  display: flex;
}

.an-row em {
  text-align: right;
  white-space: nowrap;
  font-style: normal;
  font-weight: 500;
}

.an-bar {
  background: var(--primary-soft);
  border-radius: 8px;
  height: 12px;
  overflow: hidden;
}

.an-bar i {
  background: var(--tutor);
  border-radius: 8px;
  height: 100%;
  display: block;
}

.an-item {
  background: var(--paper);
  border-left: 0;
  border-radius: 0 8px 8px 0;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  padding: 9px 12px;
  display: flex;
}

.an-item b {
  font-size: 15px;
  font-weight: 500;
}

.an-none {
  color: var(--muted);
  font-size: 13px;
}

.an-mix {
  background: var(--primary-soft);
  border-radius: 8px;
  min-width: 80px;
  height: 12px;
  display: flex;
  overflow: hidden;
}

.an-mix i, .an-key i {
  display: block;
}

.an-mix i[data-s="approaching"], .an-key i[data-s="approaching"] {
  background: #b9e6d2;
}

.an-mix i[data-s="proficient"], .an-key i[data-s="proficient"] {
  background: #2fb380;
}

.an-mix i[data-s="exceeding"], .an-key i[data-s="exceeding"] {
  background: #0e6b4a;
}

.an-key {
  color: var(--muted);
  flex-wrap: wrap;
  gap: 6px 18px;
  margin: 12px 0 0;
  font-size: 13px;
  display: flex;
}

.an-key span {
  align-items: center;
  gap: 6px;
  display: inline-flex;
}

.an-key i {
  border-radius: 4px;
  width: 14px;
  height: 14px;
}

.an-table {
  gap: 2px;
  display: grid;
}

.an-table > div {
  border-radius: 8px;
  grid-template-columns: 1.4fr .6fr .8fr .8fr .9fr 1.4fr;
  align-items: center;
  gap: 12px;
  padding: 9px 10px;
  font-size: 15px;
  display: grid;
}

.an-table > div:nth-child(2n) {
  background: var(--primary-soft);
}

.an-table .head {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.an-table b {
  font-weight: 500;
}

@media (max-width: 760px) {
  .an-table .head {
    display: none;
  }

  .an-table > div {
    grid-template-columns: 1fr 1fr;
    gap: 4px 12px;
  }

  .an-table b, .an-table .mix {
    grid-column: 1 / -1;
  }

  .an-table span[data-h]:before {
    content: attr(data-h) ": ";
    color: var(--muted);
    font-size: 13px;
  }

  .an-days {
    gap: 3px;
    height: 150px;
  }

  .an-days small {
    font-size: 13px;
  }

  .an-row {
    grid-template-columns: minmax(96px, 1fr) 1fr 66px;
  }
}

.ta-frames {
  position: relative;
  overflow: hidden;
}

.ta-frames img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  transition: opacity 70ms linear;
  position: absolute;
  inset: 0;
}

.cv-pic {
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  display: flex;
}

.cv-pic > img, .cv-pic > span {
  object-fit: cover;
  background: var(--primary-soft);
  border: 2px solid var(--line);
  border-radius: 50%;
  flex: none;
  width: 72px;
  height: 72px;
}

.cv-pic > div {
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  display: flex;
}

.cv-pic > div > span {
  flex-wrap: wrap;
  gap: 8px;
  display: flex;
}

.cv-pic small, .cv small {
  color: var(--muted);
  font-size: 13px;
  line-height: 18px;
}

.cv {
  flex-direction: column;
  gap: 16px;
  display: flex;
}

.cv-list {
  flex-wrap: wrap;
  gap: 14px;
  display: flex;
}

.cv-one {
  border: 1.5px solid var(--line);
  background: var(--surface);
  text-align: center;
  border-radius: 12px;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  width: 120px;
  padding: 12px 8px;
  display: flex;
}

.cv-one[data-on] {
  border-color: var(--right);
  background: var(--right-soft);
}

.cv-one > button:first-child {
  cursor: pointer;
  background: none;
  border: 0;
  border-radius: 50%;
  padding: 0;
}

.cv-one b {
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
  font-size: 15px;
  font-weight: 500;
  overflow: hidden;
}

.cv-x {
  font: inherit;
  color: #c2410c;
  cursor: pointer;
  background: none;
  border: 0;
  padding: 4px 6px;
  font-size: 13px;
  text-decoration: underline;
}

.cv-step {
  border: 1.5px solid var(--line);
  background: var(--primary-soft);
  border-radius: 12px;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  display: flex;
}

.cv-line {
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  display: flex;
}

.cv-line input {
  min-width: 160px;
  max-width: 280px;
  font: inherit;
  border: 1.5px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  border-radius: 8px;
  flex: 1;
  padding: 9px 12px;
  font-size: 15px;
}

.cv-photo {
  object-fit: cover;
  border-radius: 12px;
  width: 64px;
  height: 64px;
}

.cv-ok {
  cursor: pointer;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  line-height: 20px;
  display: flex;
}

.cv-ok input {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  flex: none;
  margin-top: 1px;
}

.cv-drafts {
  flex-wrap: wrap;
  gap: 12px;
  display: flex;
}

.cv-drafts button {
  cursor: pointer;
  background: none;
  border: 3px solid #0000;
  border-radius: 50%;
  padding: 0;
  line-height: 0;
}

.cv-drafts button[aria-checked="true"] {
  border-color: var(--right);
  box-shadow: 0 0 0 4px #c9efdc;
}

.cv-drafts img {
  object-fit: cover;
  border-radius: 50%;
  width: 150px;
  height: 150px;
}

@media (max-width: 480px) {
  .cv-drafts img {
    width: 96px;
    height: 96px;
  }
}

.vc {
  flex-direction: column;
  gap: 16px;
  display: flex;
}

.vc small {
  color: var(--muted);
  font-size: 13px;
  line-height: 18px;
}

.vc-list {
  gap: 10px;
  display: grid;
}

.vc-one {
  border: 1.5px solid var(--line);
  background: var(--surface);
  border-radius: 12px;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  display: flex;
}

.vc-one[data-on] {
  border-color: var(--right);
  background: var(--right-soft);
}

.vc-one > i {
  background: var(--tutor);
  width: 40px;
  height: 40px;
  color: var(--surface);
  border-radius: 12px;
  flex: none;
  place-items: center;
  font-style: normal;
  font-weight: 600;
  display: grid;
}

.vc-one > span {
  flex-direction: column;
  flex: 1;
  min-width: 140px;
  display: flex;
}

.vc-step {
  border: 1.5px solid var(--line);
  background: var(--primary-soft);
  border-radius: 12px;
  flex-direction: column;
  gap: 14px;
  padding: 16px;
  display: flex;
}

.vc-tabs {
  border-bottom: 2px solid var(--line);
  gap: 4px;
  display: flex;
}

.vc-tabs button {
  font: inherit;
  color: var(--muted);
  cursor: pointer;
  background: none;
  border: 0;
  border-bottom: 3px solid #0000;
  margin-bottom: -2px;
  padding: 8px 14px;
  font-size: 15px;
  font-weight: 500;
}

.vc-tabs button[aria-selected="true"] {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.vc-script {
  background: var(--surface);
  border-radius: 12px;
  padding: 14px 16px;
}

.vc-script p {
  color: var(--ink);
  margin: 6px 0 0;
  font-size: 17px;
  line-height: 27px;
}

.vc-rec {
  align-items: center;
  gap: 16px;
  display: flex;
}

.vc-rec > span {
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  display: flex;
}

.vc-rec b {
  font-variant-numeric: tabular-nums;
  font-size: 19px;
}

.vc-btn {
  background: var(--danger);
  cursor: pointer;
  width: 72px;
  height: 72px;
  box-shadow: 0 0 0 calc(var(--lv, 0) * 14px) #f9c6c8;
  border: 0;
  border-radius: 50%;
  flex: none;
  place-items: center;
  transition: box-shadow 80ms linear;
  display: grid;
}

.vc-btn i {
  background: var(--surface);
  border-radius: 50%;
  width: 26px;
  height: 26px;
  transition: border-radius .15s;
}

.vc-btn[data-on] i {
  border-radius: 4px;
}

.vc-meter {
  gap: 3px;
  margin-top: 4px;
  display: flex;
}

.vc-meter i {
  background: var(--line);
  border-radius: 4px;
  width: 6px;
  height: 16px;
}

.vc-meter i[data-on] {
  background: var(--right);
}

.vc-up {
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  display: flex;
}

.vc-clip {
  flex-direction: column;
  gap: 6px;
  display: flex;
}

.vc-clip audio {
  width: 100%;
  max-width: 420px;
  height: 40px;
}

.vc .cv-line select {
  font: inherit;
  border: 1.5px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 15px;
}

.vp-crop.own {
  top: 0;
  bottom: 0;
}

.mt-vid {
  border: 1.5px solid var(--line);
  background: var(--primary-soft);
  border-radius: 12px;
  gap: 6px;
  margin-top: 12px;
  padding: 12px 14px;
  display: grid;
}

.mt-vid b {
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 500;
  overflow: hidden;
}

.mt-vid small {
  color: var(--muted);
  font-size: 13px;
}

.pg-meet > header > .pg-from {
  flex: none;
  display: inline-flex;
}

.pg-moms {
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 10px;
}

.pg-meet .pg-mom {
  border-radius: 12px;
  gap: 4px;
  padding: 11px 12px;
  font-size: 13px;
  line-height: 19px;
}

.pg-meet .pg-mom small {
  gap: 6px;
  font-size: 13px;
}

.pg-meet .pg-mom small .pg-tile {
  border-radius: 4px;
  width: 20px;
  height: 20px;
  font-size: 13px;
}

.pg-meet .pg-mom b {
  font-size: 15px;
  line-height: 20px;
}

.pg-meet .pg-mom p {
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  display: -webkit-box;
  overflow: hidden;
}

.pg-meet .pg-mom .pg-skill {
  -webkit-line-clamp: 1;
  font-size: 13px;
}

.pg-meet .pg-mom q {
  -webkit-line-clamp: 2;
  margin-block: 3px;
  padding-block: 0;
  font-size: 19px;
  line-height: 22px;
}

.pg-meet .pg-mom .pg-btn {
  height: 34px;
  padding: 0 12px;
  font-size: 13px;
}

.pg-meet .pg-mom .pg-ib {
  width: 30px;
  height: 30px;
}

.pg-pager {
  color: var(--muted);
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
  font-size: 15px;
  display: flex;
}

.al-yt {
  vertical-align: middle;
  background: var(--tutor-soft);
  border-radius: 50%;
  flex: none;
  width: 32px;
  height: 32px;
  margin: -4px 12px 0 0;
  display: inline-flex;
  overflow: hidden;
}

.al-yt img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  display: block;
}

.al-yt i {
  width: 100%;
  height: 100%;
  font-family: var(--font-sans);
  color: var(--tutor);
  justify-content: center;
  align-items: center;
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
  line-height: 1;
  display: flex;
}

.sk-bar {
  border-bottom: 2px solid var(--primary-soft);
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 22px;
  margin-bottom: 14px;
  display: flex;
}

.sk-tab {
  font: 500 15px var(--font-sans);
  color: var(--muted);
  cursor: pointer;
  background: none;
  border: 0;
  border-bottom: 3px solid #0000;
  align-items: center;
  gap: 8px;
  margin-bottom: -2px;
  padding: 8px 2px 10px;
  display: inline-flex;
}

.sk-tab em {
  color: var(--right);
  font-style: normal;
  font-weight: 600;
}

.sk-tab[aria-pressed="true"] {
  color: var(--ink);
  border-bottom-color: #2fb380;
}

.sk-sort {
  font: 500 15px var(--font-sans);
  color: var(--ink);
  border: 2px solid var(--primary-soft);
  background: var(--surface);
  border-radius: 12px;
  margin-bottom: 8px;
  margin-left: auto;
  padding: 7px 10px;
}

.sk-g {
  border: 2px solid var(--primary-soft);
  background: var(--surface);
  border-radius: 12px;
  margin-top: 10px;
  overflow: hidden;
}

.sk-g[data-open] {
  border-color: #b9e6d1;
}

.sk-h {
  text-align: left;
  cursor: pointer;
  width: 100%;
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  grid-template-columns: 22px minmax(0, 1fr) 130px 150px;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  display: grid;
}

.sk-h:hover {
  background: var(--surface);
}

.sk-h > svg {
  color: var(--right);
  transition: transform .15s;
}

.sk-g[data-open] .sk-h > svg {
  transform: rotate(90deg);
}

.sk-h b {
  color: var(--ink);
  font-size: 17px;
  font-weight: 500;
}

.sk-h small {
  color: var(--muted);
  text-align: right;
  font-size: 15px;
}

.sk-mix {
  background: var(--primary-soft);
  border-radius: 4px;
  height: 10px;
  display: flex;
  overflow: hidden;
}

.sk-mix i {
  display: block;
}

.sk-mix i[data-s="approaching"] {
  background: #9bd8bd;
}

.sk-mix i[data-s="proficient"] {
  background: #2fb380;
}

.sk-mix i[data-s="exceeding"] {
  background: #0e6b4a;
}

.sk-rows {
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 0 26px;
  padding: 2px 16px 12px 52px;
  display: grid;
}

.sk-row {
  border: 0;
  border-top: 1px solid var(--primary-soft);
  text-align: left;
  cursor: pointer;
  font: 500 15px/20px var(--font-sans);
  color: var(--ink);
  background: none;
  border-radius: 0;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 9px 8px;
  display: grid;
}

.sk-row:hover, .sk-row[aria-pressed="true"] {
  background: var(--surface);
}

.sk-row[aria-pressed="true"] {
  box-shadow: none;
  background: var(--right-soft);
  color: var(--brand);
}

.sk-more {
  font: 500 15px var(--font-sans);
  color: var(--right);
  cursor: pointer;
  background: none;
  border: 0;
  margin: 0 16px 14px 52px;
  padding: 4px 0;
}

.sk-detail {
  margin: 0 16px 14px 52px;
}

.sk-none {
  color: var(--muted);
  padding: 18px 4px;
}

@media (max-width: 720px) {
  .sk-h {
    grid-template-columns: 22px minmax(0, 1fr) 70px;
  }

  .sk-h small {
    display: none;
  }

  .sk-rows, .sk-more, .sk-detail {
    margin-left: 0;
    padding-left: 16px;
  }

  .sk-rows {
    grid-template-columns: 1fr;
  }

  .sk-sort {
    margin-left: 0;
  }
}

.fg-late.fg-wait {
  opacity: 0;
  clip-path: inset(0 100% 0 0);
}

.fg-late.fg-drawn {
  opacity: 1;
  clip-path: inset(0);
  transition: clip-path .95s cubic-bezier(.3, .1, .3, 1), opacity .45s;
}

.al-you {
  padding-left: 11px;
}

.al-you .al-yt {
  width: 38px;
  height: 38px;
  margin: -4px 12px 0 0;
}

.al-you .al-yt i {
  font-size: 15px;
}

.al-confirm span button.redo {
  background: var(--surface);
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line);
}

.al-confirm span button.redo:hover {
  background: var(--surface);
}

.al-tch-say .w, .al-tch-q .w {
  border-radius: 4px;
  transition: color .15s, background-color .15s;
}

.al-tch-say .w.said, .al-tch-q .w.said {
  color: var(--ink);
}

.al-tch-say .w.now, .al-tch-q .w.now {
  color: var(--ink);
  background: var(--marker);
  box-shadow: 0 0 0 2px var(--marker);
}

.al-tch-q {
  color: var(--muted);
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 600;
  line-height: 23px;
}

.al-tch.done .al-tch-say {
  color: var(--ink);
}

.al-tch-restart {
  border: 1.5px solid var(--line);
  background: var(--surface);
  height: 44px;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
  border-radius: 12px;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  font-weight: 600;
  display: inline-flex;
}

.al-tch-restart:disabled {
  opacity: .5;
  cursor: default;
}

.al-tch-retry {
  border: 1.5px solid var(--line);
  background: var(--surface);
  height: 40px;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
  border-radius: 12px;
  margin-top: 10px;
  padding: 0 16px;
  font-weight: 600;
}

.al-tch-check .al-tch-ans {
  align-items: center;
  gap: 8px;
  display: flex;
}

.al-tch-ans[hidden] {
  display: none;
}

.al-tch-ans input {
  min-width: 0;
  max-width: 420px;
  font: 19px var(--font-hand);
  color: var(--primary);
  background: none;
  border: none;
  border-bottom: 2px dashed #b197fc;
  outline: none;
  flex: 1;
  padding: 4px 2px;
}

.al-tch-ans input:focus {
  border-bottom-color: var(--tutor);
}

.al-tch-check .al-tch-ans button {
  background: var(--primary);
  border-color: var(--primary);
  min-height: 38px;
  color: var(--surface);
  font-weight: 600;
}

.al-tch-check .al-tch-ans button:disabled {
  opacity: .5;
}

.al-tch-check > p.al-tch-said {
  font: 500 23px/1.2 var(--font-hand);
  color: var(--primary);
  margin: 0;
}

.al-tch-check > p.al-tch-said.right {
  color: var(--right);
}

.al-tch-check > p.al-tch-said.wrong {
  color: var(--danger);
}

.al-tch-stage .fg-show {
  max-width: 420px;
  margin: 4px 0 8px;
}

.fg-guided {
  max-width: 600px;
  margin-bottom: 6px;
}

.fg-demo {
  background: #f3f0ff8c;
  border: 2px dashed #b197fc;
  border-radius: 12px;
  padding: 10px 12px 6px;
}

.fg-demo .fg-show {
  max-width: 380px;
}

.fg-demo-h {
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 12px;
  margin-bottom: 4px;
  display: flex;
}

.fg-demo-h b {
  color: var(--tutor);
  font-size: 17px;
}

.fg-demo-h span {
  color: var(--muted);
  flex: 1;
  font-size: 15px;
}

.fg-demo-again {
  border: 1.5px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font: 500 13px var(--font-sans);
  cursor: pointer;
  border-radius: 8px;
  padding: 3px 10px;
}

.fg-demo-again:disabled {
  opacity: .5;
  cursor: default;
}

.fg-yours {
  font: 500 23px/1 var(--font-hand);
  color: var(--primary);
  margin: 12px 0 2px;
}

.al-tag.exit-ok {
  color: var(--right);
}

.al-tag.exit-no {
  color: var(--danger);
}

@media (min-width: 1180px) {
  .al-blk:has( > .kt-top.kt-w > :nth-child(2)):has( > .kit:is([class*="kit-pf"], [class*="kit-sim"], .kit-compare2, [class*="kit-label"], [class*="kit-open"], .kit-report, .kit-essay, .kit-seconddraft, .kit-drawtrend, .kit-causechain)) {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-auto-flow: row dense;
    align-items: start;
    column-gap: 28px;
    display: grid;
  }

  .al-blk:has( > .kt-top.kt-w > :nth-child(2)):has( > .kit:is([class*="kit-pf"], [class*="kit-sim"], .kit-compare2, [class*="kit-label"], [class*="kit-open"], .kit-report, .kit-essay, .kit-seconddraft, .kit-drawtrend, .kit-causechain)) > * {
    grid-column: 1 / -1;
  }

  .al-blk:has( > .kt-top.kt-w > :nth-child(2)):has( > .kit:is([class*="kit-pf"], [class*="kit-sim"], .kit-compare2, [class*="kit-label"], [class*="kit-open"], .kit-report, .kit-essay, .kit-seconddraft, .kit-drawtrend, .kit-causechain)) > .kt-top.kt-w {
    grid-column: 1;
    margin-bottom: 0;
  }

  .al-blk:has( > .kt-top.kt-w > :nth-child(2)):has( > .kit:is([class*="kit-pf"], [class*="kit-sim"], .kit-compare2, [class*="kit-label"], [class*="kit-open"], .kit-report, .kit-essay, .kit-seconddraft, .kit-drawtrend, .kit-causechain)) > .kit {
    grid-column: 2;
  }

  .al-blk:has( > .kt-top.kt-w > :nth-child(2)):has( > .kit:is([class*="kit-pf"], [class*="kit-sim"], .kit-compare2, [class*="kit-label"], [class*="kit-open"], .kit-report, .kit-essay, .kit-seconddraft, .kit-drawtrend, .kit-causechain)) > .kit > .al-ask {
    padding-right: 150px;
  }
}

.hd-mapbox:not(.zoomed) {
  max-height: min(560px, max(260px, 100vh - 500px));
}

.hd-mapbox:not(.zoomed) svg {
  max-height: max(260px, 100vh - 500px);
}

.hd-pad.gm .gm-svg {
  max-height: max(300px, 100vh - 440px);
}

.hd-pad.ch:has(.ch-mol ~ .ch-mol) .ch-mol {
  max-height: max(160px, 50vh - 240px);
}

.sc-tall .sc-pic {
  height: min(480px, max(300px, 100vh - 480px));
}

.sc-open.sc-tall .sc-pic {
  height: min(480px, max(300px, 100vh - 530px));
}

@media (min-width: 1180px) {
  .hd-pad.mu:has(.mu-choices) {
    max-width: 1100px;
  }

  .mu-choices:has( > button:nth-child(3)) {
    grid-template-columns: 1fr 1fr;
  }
}

.fg-pair {
  grid-template-columns: minmax(0, 1fr);
  display: grid;
}

@media (min-width: 1100px) {
  .fg-pair {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    gap: 28px;
  }

  .fg-pair .fg-guided {
    max-width: none;
    margin: 0;
  }

  .fg-pair .fg-demo {
    box-sizing: border-box;
    height: 100%;
  }

  .fg-pair .fg-yours {
    margin-top: 0;
  }

  .fg-pair .fg-mine .fg-show, .fg-pair .fg-mine svg {
    max-width: 100%;
  }
}

.pg-mom {
  position: relative;
}

.pg-mom-x {
  position: absolute;
  top: 8px;
  right: 8px;
}

.pg-mom-x .pg-ib {
  width: 32px;
  height: 32px;
  color: var(--muted);
  border-color: #0000;
  border-radius: 8px;
}

.pg-mom-x .pg-ib:hover {
  border-color: var(--line);
  color: var(--danger);
  transform: none;
}

.pg-mom > small {
  padding-right: 36px;
}

.lc-bar {
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
  margin-top: 2px;
  display: grid;
}

.lc-bar:before {
  content: "";
  background: var(--primary-soft);
  border-radius: 4px;
  grid-area: 1 / 1;
  height: 8px;
}

.lc-bar i {
  background: var(--primary);
  border-radius: 4px;
  grid-area: 1 / 1;
  height: 8px;
}

.lc-bar em {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}

.ls-tabs {
  align-items: center;
}

.ls-side {
  flex: none;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  display: flex;
}

.ls-side:empty {
  display: none;
}

.ls-count {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  font-weight: 500;
}

.ls-tabs .ls-side .ls-more {
  border: 1.5px solid var(--line);
  background: var(--surface);
  height: 36px;
  color: var(--primary);
  border-radius: 8px;
  margin: 0;
  padding: 0 14px;
  font-size: 15px;
  font-weight: 500;
}

.ls-tabs .ls-side .ls-more:hover {
  border-color: var(--primary);
  background: var(--primary-soft);
}

.lib-bar {
  flex-wrap: nowrap;
}

.lib-bar .lib-cats {
  min-width: 0;
  overflow-x: auto;
}

.cr-cards {
  margin-top: 4px;
}

.cr-blank {
  aspect-ratio: 3 / 2;
  background: var(--tutor-soft);
  display: block;
}

.rs-body {
  min-height: 50vh;
}

.rs-src {
  border: 1px solid var(--rule);
  background: #fff;
  border-radius: 8px;
  align-items: center;
  gap: 12px;
  margin: 10px 0 14px;
  padding: 10px 12px;
  display: flex;
}

.rs-srcicon {
  letter-spacing: .06em;
  color: var(--green);
  background: #e9f2ec;
  border-radius: 6px;
  flex: none;
  padding: 8px 7px;
  font: 700 11px / 1 system-ui, sans-serif;
}

.rs-srctext {
  flex-direction: column;
  flex: 1;
  gap: 2px;
  min-width: 0;
  display: flex;
}

.rs-srctext b {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.rs-srctext span {
  color: #5b6475;
  font-size: 13px;
}

.rs-nbtask {
  flex-direction: column;
  gap: 6px;
  margin: 12px 0;
  padding: 0;
  list-style: none;
  display: flex;
}

.rs-nbtask li {
  align-items: baseline;
  gap: 10px;
  display: flex;
}

.rs-nbtask em {
  color: #a33a2b;
  font-size: 13px;
  font-style: normal;
  display: block;
}

.rs-tick {
  text-align: center;
  color: #8a91a0;
  flex: none;
  width: 18px;
}

.rs-ok .rs-tick {
  color: #2f7d4f;
}

.rs-no .rs-tick {
  color: #b5452f;
}

.rs-nbgo {
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  display: flex;
}

.rs-check {
  background: var(--green);
  color: #fff;
  cursor: pointer;
  border: 0;
  border-radius: 8px;
  padding: 10px 16px;
  font-weight: 600;
}

.rs-check:disabled {
  opacity: .6;
  cursor: default;
}

.rs-side {
  z-index: 450;
  border-right: 1px solid var(--rule);
  width: 460px;
  translate: -104%;
  transform: translate3d(0, var(--rs-y, 0px), 0);
  will-change: transform, translate;
  contain: layout paint;
  visibility: hidden;
  background: #fff;
  flex-direction: column;
  transition: translate .34s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .34s;
  display: flex;
  position: fixed;
  left: 0;
  box-shadow: 6px 0 24px #1f2a441a;
}

.rs-side.rs-open {
  visibility: visible;
  transition: translate .34s cubic-bezier(.2, .8, .2, 1), visibility;
  translate: 0;
}

.rs-side.rs-sheet {
  border-right: 0;
  border-top: 1px solid var(--rule);
  border-radius: 14px 14px 0 0;
  height: 46vh;
  top: auto;
  right: 0;
  transform: none;
  box-shadow: 0 -6px 24px #1f2a441f;
  width: auto !important;
}

.rs-side.rs-sheet.rs-open {
  translate: 0;
}

.rs-side.rs-sheet.rs-open.rs-folded {
  translate: 0 calc(100% - 46px);
}

@media (prefers-reduced-motion: reduce) {
  .rs-side, .rs-side.rs-open {
    transition: none;
  }
}

.rs-head {
  border-bottom: 1px solid var(--rule);
  flex: none;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 10px 12px 10px 16px;
  display: flex;
}

.rs-kind {
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--green);
  flex: none;
  font: 700 11px / 1 system-ui, sans-serif;
}

.rs-title {
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
  font-weight: 600;
  overflow: hidden;
}

.rs-close, .rs-fold {
  border: 1px solid var(--rule);
  width: 30px;
  height: 30px;
  color: var(--ink);
  cursor: pointer;
  background: #fff;
  border-radius: 8px;
  flex: none;
  font-size: 16px;
  line-height: 1;
}

.rs-peek {
  will-change: transform;
  z-index: 449;
  border: 1px solid var(--rule);
  color: var(--green);
  cursor: pointer;
  background: #fff;
  border-left: 0;
  border-radius: 0 8px 8px 0;
  padding: 10px 12px;
  font-weight: 600;
  position: fixed;
  left: 0;
  box-shadow: 2px 2px 10px #1f2a441a;
}

.rs-pane-body, .rs-read, .rs-nb {
  flex-direction: column;
  flex: 1;
  min-height: 0;
  display: flex;
}

.rs-tabs {
  color: #5b6475;
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
  flex: none;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  font-size: 13px;
  display: flex;
}

.rs-tabbtns {
  gap: 4px;
  display: flex;
}

.rs-tabbtns button {
  border: 1px solid var(--rule);
  color: var(--ink);
  cursor: pointer;
  background: #fff;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 13px;
}

.rs-tabbtns button.on {
  border-color: var(--green);
  color: var(--green);
  font-weight: 600;
}

.rs-scrollbox {
  overscroll-behavior: contain;
  flex: 1;
  min-height: 0;
  padding: 14px 18px 40px;
  overflow-y: auto;
}

.rs-passages .rs-p {
  border-radius: 4px;
  margin: 0 0 12px;
  line-height: 1.6;
  transition: background .3s;
}

.rs-passages h4.rs-p {
  color: var(--green);
  margin-top: 18px;
  font-size: 16px;
}

.rs-passages pre.rs-p {
  white-space: pre-wrap;
  background: var(--paper);
  padding: 10px;
  font: 13px / 1.5 ui-monospace, Menlo, monospace;
}

.rs-passages blockquote.rs-p {
  border-left: 3px solid var(--rule);
  color: #3d4659;
  padding-left: 12px;
}

.rs-kli {
  padding-left: 18px;
  position: relative;
}

.rs-bullet {
  position: absolute;
  left: 4px;
}

.rs-krow, .rs-kcap {
  color: #3d4659;
  font-size: 14px;
}

.rs-pageno {
  color: #8a91a0;
  border-bottom: 1px dashed var(--rule);
  margin: 16px 0 8px;
  font-size: 12px;
}

.rs-hl, .rs-hlall {
  background: #ffe58a;
}

.rs-textlayer .rs-hl {
  background: #ffd64073;
}

.rs-point {
  animation: 2.4s ease-out rs-pulse;
}

.rs-pointq {
  outline: 2px solid var(--blue);
  background: #3b5bdb2e;
  border-radius: 3px;
}

@keyframes rs-pulse {
  0%, 70% {
    box-shadow: 0 0 0 3px #3b5bdb73;
  }

  100% {
    box-shadow: 0 0 0 3px #3b5bdb00;
  }
}

.rs-note {
  background: #f2f8f2;
  border-left: 3px solid #337a58;
  border-radius: 4px;
  margin: -6px 0 14px;
  padding: 8px 10px;
  font-size: 14px;
}

.rs-note b {
  color: #337a58;
}

.rs-cite {
  color: #8a91a0;
  margin-top: 18px;
  font-size: 12px;
}

.rs-wait, .rs-err {
  color: #5b6475;
}

.rs-pages {
  flex-direction: column;
  gap: 14px;
  display: flex;
}

.rs-page {
  border: 1px solid var(--rule);
  background: #fff;
  width: 100%;
  position: relative;
}

.rs-page canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.rs-textlayer {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.rs-textlayer span {
  color: #0000;
  white-space: pre;
  transform-origin: 0 0;
  line-height: 1;
  position: absolute;
}

.rs-pagetag {
  color: #8a91a0;
  background: #fff;
  border-radius: 4px;
  padding: 1px 5px;
  font-size: 11px;
  position: absolute;
  bottom: 6px;
  right: 6px;
}

.rs-cell {
  border-radius: 8px;
  margin-bottom: 14px;
  transition: box-shadow .4s;
}

.rs-cell.rs-flash {
  box-shadow: 0 0 0 3px #3b5bdb59;
}

@media (prefers-reduced-motion: reduce) {
  .rs-cell {
    transition: none;
  }
}

.rs-md h4 {
  color: var(--green);
  margin: 4px 0 6px;
}

.rs-md p {
  margin: 0 0 6px;
  line-height: 1.5;
}

.rs-md code {
  background: var(--paper);
  border-radius: 3px;
  padding: 1px 4px;
  font: 13px ui-monospace, Menlo, monospace;
}

.rs-codecell {
  border: 1px solid var(--rule);
  background: #fff;
}

.rs-codecell.rs-bytutor {
  border-color: #9fc7b0;
}

.rs-cellbar {
  border-bottom: 1px solid var(--rule);
  color: #5b6475;
  align-items: center;
  gap: 8px;
  padding: 5px 8px;
  font-size: 12px;
  display: flex;
}

.rs-cellid {
  font-family: ui-monospace, Menlo, monospace;
}

.rs-celltag {
  color: #337a58;
}

.rs-linkbtn {
  color: var(--blue);
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
  font-size: 12px;
}

.rs-run {
  border: 1px solid var(--green);
  color: var(--green);
  cursor: pointer;
  background: #fff;
  border-radius: 6px;
  margin-left: auto;
  padding: 3px 12px;
  font-weight: 600;
}

.rs-run:disabled {
  opacity: .6;
}

.rs-code {
  font: 13px / 20px ui-monospace, Menlo, monospace;
  display: flex;
  overflow-x: auto;
}

.rs-gutter {
  text-align: right;
  color: #a0a6b3;
  -webkit-user-select: none;
  user-select: none;
  background: var(--paper);
  flex-direction: column;
  flex: none;
  padding: 8px 6px 8px 8px;
  display: flex;
}

.rs-gutter span.rs-lineon {
  color: var(--blue);
  font-weight: 700;
}

.rs-edit {
  flex: 1;
  min-width: 0;
  position: relative;
}

.rs-mirror {
  white-space: pre;
  color: #0000;
  pointer-events: none;
  padding: 8px 10px;
  position: absolute;
  inset: 0;
}

.rs-mirror .rs-lineon {
  background: #3b5bdb1f;
  margin: 0 -10px;
  padding: 0 10px;
}

.rs-linenote {
  color: var(--blue);
  white-space: nowrap;
  margin-left: 16px;
  font-family: system-ui, sans-serif;
  font-size: 12px;
}

.rs-edit textarea {
  resize: none;
  width: 100%;
  min-width: max-content;
  font: inherit;
  white-space: pre;
  color: var(--ink);
  tab-size: 4;
  background: none;
  border: 0;
  outline: 0;
  padding: 8px 10px;
  display: block;
  position: relative;
  overflow: hidden;
}

.rs-out {
  border-top: 1px solid var(--rule);
  background: var(--paper);
  white-space: pre-wrap;
  max-height: 260px;
  margin: 0;
  padding: 8px 10px;
  font: 12.5px / 1.5 ui-monospace, Menlo, monospace;
  overflow: auto;
}

.rs-out.rs-outerr {
  color: #a33a2b;
  background: #fdf4f2;
}

.rs-body.rs-two {
  align-items: start;
  column-gap: 0;
  display: grid;
}

.rs-two .rs-gut {
  padding-right: 20px;
}

.al-blk[data-rs] > .al-note, .al-blk[data-rs] > .al-you, .al-blk[data-rs] > .al-sug, .al-blk[data-rs] > .al-part, .al-blk[data-rs] > .al-ask {
  margin-left: var(--rs-gut, 0px);
}

.rs-two .rs-gut .rs-src {
  flex-direction: column;
  align-items: flex-start;
  margin-top: 4px;
}

.rs-two .rs-gut .rs-srctext {
  align-self: stretch;
  max-width: 100%;
}

.ds-btn {
  font: inherit;
  font-size: var(--text-sm);
  border-radius: var(--radius-lg);
  justify-content: center;
  align-items: center;
  gap: var(--space-2);
  cursor: pointer;
  border: 0;
  height: 44px;
  padding: 0 18px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  display: inline-flex;
}

.ds-btn:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

.ds-btn:disabled {
  opacity: .5;
  cursor: default;
}

.ds-primary {
  background: var(--primary);
  color: var(--surface);
}

.ds-danger {
  background: var(--danger);
  color: var(--surface);
}

.ds-plain {
  background: var(--surface);
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line);
}

.ds-plain:hover:not(:disabled) {
  background: var(--primary-soft);
}

.ds-plain.ds-dark {
  color: var(--surface);
  background: none;
  box-shadow: inset 0 0 0 1.5px #ffffff80;
}

.ds-plain.ds-dark:hover:not(:disabled) {
  background: var(--brand-hover);
}

.ds-dark {
  height: 48px;
}

.ds-primary.ds-dark {
  color: var(--brand);
  background: #7db65a;
}

.ds-primary.ds-dark:hover:not(:disabled) {
  background: #8cc46a;
}

.ds-danger.ds-dark {
  background: #c9625d;
}

.ds-sm {
  height: 34px;
  font-size: var(--text-xs);
  padding: 0 12px;
}

.ds-tag {
  font-size: var(--text-xs);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  padding: 6px 8px;
  font-weight: 600;
  line-height: 1;
  display: inline-block;
}

.ds-tag-new {
  background: var(--right-soft);
  color: var(--right);
}

.ds-tag-real {
  background: var(--primary-soft);
  color: var(--primary);
}

.ds-tag-mine {
  background: var(--tutor-soft);
  color: var(--tutor);
}

.ds-float {
  box-shadow: 0 2px 8px #1c234029;
}

.pg-btn.ds-cta3, .ds-cta3 {
  box-shadow: none;
  min-height: 0;
  color: var(--primary);
  background: none;
  border: 0;
  align-items: center;
  gap: 6px;
  padding: 4px 0;
  font-weight: 600;
  display: inline-flex;
}

.pg-btn.ds-cta3:after, .ds-cta3:after {
  content: "→";
  transition: transform .15s;
}

.pg-btn.ds-cta3:hover:not(:disabled), .ds-cta3:hover:not(:disabled) {
  text-underline-offset: 4px;
  background: none;
  text-decoration: underline;
}

.pg-btn.ds-cta3:hover:not(:disabled):after {
  transform: translateX(3px);
}

.pg-btn.ds-cta3:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 6px;
}

.pg-mom > .pg-row:last-child {
  margin-top: auto;
  padding-top: 8px;
}

.pg-earlier {
  text-align: center;
  margin-top: 14px;
}

.pg-earlier > summary {
  border-radius: 8px;
  outline: none;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  list-style: none;
  display: inline-flex;
}

.pg-earlier > summary::-webkit-details-marker {
  display: none;
}

.pg-earlier > summary:before {
  content: "";
  border-bottom: 2px solid;
  border-right: 2px solid;
  width: 7px;
  height: 7px;
  transition: transform .15s;
  transform: rotate(-45deg);
}

.pg-earlier[open] > summary:before {
  transform: rotate(45deg);
}

.pg-earlier > summary:focus-visible {
  box-shadow: 0 0 0 2px var(--primary);
}

.pg-earlier > .pg-row {
  text-align: left;
  justify-content: center;
}

.lib-card.lc {
  transition: transform .18s, box-shadow .18s, border-color .18s;
}

.lib-card.lc .lc-pic:after {
  content: "";
  background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6.5v11l9-5.5z' fill='%23fff'/%3E%3C/svg%3E") center / 26px no-repeat;
  opacity: 0;
  pointer-events: none;
  border-radius: 50%;
  width: 56px;
  height: 56px;
  margin: -28px 0 0 -28px;
  transition: opacity .18s, transform .18s;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: scale(.8);
  box-shadow: 0 6px 18px #3b5bdb59;
}

.lc-go {
  border-radius: 10px;
  place-self: flex-start start;
  align-items: center;
  gap: 6px;
  padding: 6px 0;
  transition: background .18s, color .18s, padding .18s;
  display: inline-flex;
}

.lc-go:after {
  content: "→";
  transition: transform .18s;
}

@media (hover: hover) {
  .lib-card.lc:not(.busy):hover, .lib-card.lc:not(.busy):focus-within {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 24px #3b5bdb24;
  }

  .lib-card.lc:not(.busy):hover .lc-pic .lc-img, .lib-card.lc:not(.busy):hover .lc-pic .th {
    transform: scale(1.04);
  }

  .lib-card.lc:not(.busy):hover .lc-pic:after, .lib-card.lc:not(.busy):focus-within .lc-pic:after {
    opacity: 1;
    transform: scale(1);
  }

  .lib-card.lc:not(.busy):hover .lc-go, .lib-card.lc:not(.busy):focus-within .lc-go {
    background: var(--primary);
    color: #fff;
    padding: 6px 14px;
  }

  .lib-card.lc:not(.busy):hover .lc-go:after {
    transform: translateX(3px);
  }
}

.lib-card.lc .lc-go {
  margin-top: auto;
}

.lib-card.lc .lc-meta {
  margin-bottom: 8px;
}

.pg-brand {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  flex: none;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  display: inline-flex;
  overflow: hidden;
}

.pg-brand img {
  object-fit: contain;
  width: 20px;
  height: 20px;
}

.pg-brand img[src$=".png"] {
  width: 100%;
  height: 100%;
}

.skel {
  --sk-a: #eceff8;
  --sk-b: #f8f9fd;
  gap: 12px;
  display: grid;
}

.skel-cards, .skel-pics, .skel-grid {
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 16px;
}

.skel-stats {
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}

.skel-page {
  gap: 20px;
}

.skel-line, .skel-sq, .skel-pic, .skel-btn, .skel-num, .skel-input {
  background: linear-gradient(90deg, var(--sk-a) 25%, var(--sk-b) 45%, var(--sk-a) 65%);
  background-size: 300% 100%;
  border-radius: 6px;
  animation: 1.4s ease-in-out infinite skel-shine;
  display: block;
}

.skel-line {
  max-width: 100%;
  height: 12px;
}

.skel-line.big {
  height: 16px;
}

.skel-sq {
  border-radius: 8px;
  flex: none;
  width: 36px;
  height: 36px;
}

.skel-pic {
  aspect-ratio: 3 / 2;
  border-radius: 12px;
  width: 100%;
}

.skel-btn {
  border-radius: 10px;
  width: 120px;
  height: 36px;
  margin-top: auto;
}

.skel-num {
  width: 60%;
  height: 30px;
}

.skel-input {
  border-radius: 10px;
  width: 100%;
  height: 44px;
}

.skel-input.tall {
  height: 96px;
}

.skel-card, .skel-stat, .skel-blk {
  border: 1.5px solid var(--line);
  background: var(--surface);
  border-radius: 12px;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
  padding: 14px;
  display: flex;
}

.skel-cards .skel-card {
  min-height: 220px;
}

.skel-blk {
  gap: 14px;
  padding: 20px;
}

.skel-head {
  align-items: center;
  gap: 10px;
  display: flex;
}

.skel-head .skel-line {
  flex: 1;
}

.skel-row {
  border-bottom: 1px solid var(--line);
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  display: flex;
}

.skel-row:last-child {
  border-bottom: 0;
}

.skel-row > span {
  flex: 1;
  gap: 8px;
  display: grid;
}

.skel-field {
  gap: 8px;
  display: grid;
}

.skel > :nth-child(2) .skel-line, .skel > :nth-child(2) .skel-sq, .skel > :nth-child(2) .skel-pic {
  animation-delay: .12s;
}

.skel > :nth-child(3) .skel-line, .skel > :nth-child(3) .skel-sq, .skel > :nth-child(3) .skel-pic {
  animation-delay: .24s;
}

@keyframes skel-shine {
  0% {
    background-position: 100% 0;
  }

  100% {
    background-position: 0 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .skel-line, .skel-sq, .skel-pic, .skel-btn, .skel-num, .skel-input {
    animation: none;
  }
}

.pg-note.pg-state {
  background: var(--primary-soft);
  border: 1.5px dashed var(--primary);
  border-radius: 12px;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
}

@supports (color: color-mix(in lab, red, red)) {
  .pg-note.pg-state {
    border: 1.5px dashed color-mix(in srgb, var(--primary) 30%, var(--line));
  }
}

.pg-state-mark {
  background: var(--surface);
  width: 40px;
  height: 40px;
  color: var(--primary);
  border-radius: 10px;
  flex: none;
  justify-content: center;
  align-items: center;
  display: inline-flex;
}

.pg-state-mark svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8px;
  stroke-linecap: round;
  stroke-linejoin: round;
  width: 22px;
  height: 22px;
}

.pg-state-body {
  gap: 8px;
  min-width: 0;
  padding-top: 2px;
  display: grid;
}

.pg-state-do {
  font-family: var(--font-sans);
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  line-height: 22px;
  display: flex;
}

.pg-note.pg-state.warn {
  color: #b3473f;
  background: #fff1ef;
  border: 1.5px solid #f6c9c2;
}

.pg-note.pg-state.warn .pg-state-mark {
  color: #c9625d;
}

.ml-li:has( > .ml-del) {
  display: block;
  position: relative;
}

.ml-li:has( > .ml-del) > .ml-row {
  padding-right: 64px;
}

.ml-row {
  transition: transform .18s, box-shadow .18s, border-color .18s;
}

.ml-row .ml-ico, .ml-row .ml-ico + *, .ml-row > :first-child {
  transition: transform .2s;
}

.ml-row .ml-go {
  border-radius: 10px;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  transition: background .18s, color .18s, margin .2s;
  display: inline-flex;
}

.ml-li:has( > .ml-del) > .ml-row .ml-go {
  margin-right: -50px;
}

.ml-li:has( > .ml-del) > .ml-del {
  z-index: 2;
  opacity: 0;
  pointer-events: none;
  border-radius: 10px;
  width: 36px;
  height: 36px;
  margin-top: -18px;
  transition: opacity .18s 50ms;
  position: absolute;
  top: 50%;
  right: 14px;
}

@media (hover: hover) {
  .ml-li:hover > .ml-row, .ml-list > li:hover > .ml-row, .ml-row:focus-visible {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px #3b5bdb24;
  }

  .ml-li:hover > .ml-row > :first-child, .ml-list > li:hover > .ml-row > :first-child {
    transform: scale(1.08) rotate(-4deg);
  }

  .ml-li:hover > .ml-row .ml-go, .ml-list > li:hover > .ml-row .ml-go, .ml-row:focus-visible .ml-go {
    background: var(--primary);
    color: #fff;
  }

  :is(.ml-li:has( > .ml-del):hover > .ml-row .ml-go, .ml-li:has( > .ml-del):focus-within > .ml-row .ml-go) {
    margin-right: 0;
  }

  :is(.ml-li:has( > .ml-del):hover > .ml-del, .ml-li:has( > .ml-del):focus-within > .ml-del) {
    opacity: 1;
    pointer-events: auto;
  }
}

@media (hover: none) {
  .ml-li:has( > .ml-del) > .ml-del {
    opacity: 1;
    pointer-events: auto;
  }

  .ml-li:has( > .ml-del) > .ml-row .ml-go {
    margin-right: 0;
  }
}

.pg-mom.go {
  cursor: pointer;
  transition: transform .18s, box-shadow .18s, border-color .18s;
}

.pg-mom.go .ds-cta3 {
  border-radius: 10px;
  transition: background .18s, color .18s, padding .18s;
}

@media (hover: hover) {
  .pg-mom.go:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 24px #3b5bdb24;
  }

  .pg-mom.go:hover .pg-btn.ds-cta3:not(:disabled) {
    background: var(--primary);
    color: #fff;
    padding: 6px 14px;
    text-decoration: none;
  }

  .pg-mom.go:hover .pg-btn.ds-cta3:after {
    transform: translateX(3px);
  }

  .pg-mom.go:hover q {
    background: var(--primary);
  }

  @supports (color: color-mix(in lab, red, red)) {
    .pg-mom.go:hover q {
      background: color-mix(in srgb, var(--primary) 6%, transparent);
    }
  }
}

:is(.lib-grid.sg-grid, .lib-grid.sg-grid:has( > .lc)) {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1100px) {
  .lib-grid.sg-grid:has( > .lc) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .lib-grid.sg-grid:has( > .lc) {
    grid-template-columns: minmax(0, 1fr);
  }
}

.lib-card.sg-lib {
  color: inherit;
  cursor: pointer;
  border-style: dashed;
  border-width: 1.5px;
  text-decoration: none;
}

.sg-lib-pic {
  aspect-ratio: 3 / 2;
  background: linear-gradient(135deg, #eef2ff, #eaf6e2 60%, #fff6d6);
  border-radius: 12px;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
  display: flex;
}

.sg-lib-pic img {
  width: 72px;
  height: 72px;
  transition: transform .25s;
}

@media (hover: hover) {
  .lib-card.sg-lib:hover .sg-lib-pic img {
    transform: scale(1.08) rotate(-3deg);
  }

  .lib-card.sg-lib:hover, .lib-card.sg-lib:focus-visible {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 24px #3b5bdb24;
  }

  .lib-card.sg-lib:hover .lc-go {
    background: var(--primary);
    color: #fff;
    padding: 6px 14px;
  }
}

.pg-note.pg-state {
  margin-top: 8px;
}

.pg-state-body > span:first-child {
  font-family: var(--font-sans);
  color: var(--ink, #2a2f45);
  font-size: 16px;
  line-height: 24px;
}

.pg-note.pg-state.warn .pg-state-body > span:first-child {
  color: #9c3b34;
}

.lib-card.lc .lc-pic:after {
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  backdrop-filter: blur(14px) saturate(180%);
  z-index: 1;
  background: #ffffff38 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.5 6.8v10.4c0 .6.7 1 1.2.7l8-5.2c.5-.3.5-1 0-1.3l-8-5.2c-.5-.4-1.2 0-1.2.6z' fill='%23fff'/%3E%3C/svg%3E") 55% / 28px no-repeat;
  border: 1px solid #ffffff8c;
  width: 64px;
  height: 64px;
  margin: -32px 0 0 -32px;
  box-shadow: inset 0 1px 1px #ffffffd9, inset 0 -6px 14px #ffffff2e, 0 10px 28px #1f2a442e;
}

.lib-card.lc .lc-pic .lc-img, .lib-card.lc .lc-pic .th {
  transition: transform .3s, filter .3s;
}

@media (hover: hover) {
  .lib-card.lc:not(.busy):hover .lc-pic .lc-img, .lib-card.lc:not(.busy):hover .lc-pic .th, .lib-card.lc:not(.busy):focus-within .lc-pic .lc-img {
    filter: blur(5px) saturate(1.1);
    transform: scale(1.08);
  }
}

.pg-ib.pic img {
  width: 24px;
  height: 24px;
  transition: transform .15s;
  display: block;
}

.pg-ib.pic:hover:not(:disabled) img {
  transform: scale(1.1) rotate(-4deg);
}

.pg-ib.pic[aria-pressed="true"], .pg-ib.pic[aria-pressed="true"]:hover {
  background: var(--primary-soft);
  border-color: var(--primary);
}

.ml-row {
  grid-template-columns: 44px minmax(0, 1fr) auto 36px;
}

:where(select:not([data-part])) {
  appearance: none;
  font-family: var(--font-sans);
  color: var(--ink);
  background-color: var(--surface);
  border: 1.5px solid var(--line);
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233b5bdb' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-position: right 12px center;
  background-repeat: no-repeat;
  background-size: 16px;
  border-radius: 10px;
  min-height: 44px;
  padding: 9px 40px 9px 14px;
  font-size: 15px;
  line-height: 22px;
  transition: border-color .15s, box-shadow .15s;
}

select:not([data-part]):hover:not(:disabled) {
  border-color: var(--primary);
}

@supports (color: color-mix(in lab, red, red)) {
  select:not([data-part]):hover:not(:disabled) {
    border-color: color-mix(in srgb, var(--primary) 45%, var(--line));
  }
}

select:not([data-part]):focus-visible {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
  outline: none;
}

select:not([data-part]):disabled {
  opacity: .6;
  cursor: default;
}

.vc .cv-line select {
  border-radius: 10px;
  min-width: 150px;
  padding: 9px 40px 9px 14px;
}

.sa-scroll {
  overflow-x: hidden;
}

.ls-tabs {
  overflow-y: hidden;
}

select:not([data-part]):not([multiple]) {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233b5bdb' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-position: right 12px center;
  background-repeat: no-repeat;
  background-size: 16px;
  padding-right: 40px;
}

.lib-bar .lib-more {
  border-radius: 12px;
  height: 41px;
  min-height: 41px;
  padding-top: 0;
  padding-bottom: 0;
  font-size: 15px;
}

.lib-bar .lib-more.on {
  border-color: var(--primary);
  background-color: var(--right-soft);
}

.lib-find {
  border: 1.5px solid var(--line);
  background: var(--surface);
  border-radius: 12px;
  flex: 220px;
  align-items: center;
  gap: 8px;
  max-width: 340px;
  height: 41px;
  padding: 0 12px;
  transition: border-color .15s, box-shadow .15s;
  display: flex;
}

.lib-find:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}

.lib-find svg {
  fill: none;
  stroke: var(--muted);
  stroke-width: 2px;
  stroke-linecap: round;
  flex: none;
}

.lib-find input {
  min-width: 0;
  font: inherit;
  color: var(--ink);
  background: none;
  border: 0;
  outline: 0;
  flex: 1;
  padding: 0;
  font-size: 15px;
}

.lib-find button {
  color: var(--muted);
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0 2px;
  font-size: 20px;
  line-height: 1;
}

.lib-bar .lib-bank {
  margin-left: auto;
}

.lib-bar .lib-cats {
  flex: none;
  overflow: visible;
}

.lib-bar .lib-more {
  flex: none;
}

.lib-find {
  flex: 180px;
  min-width: 160px;
  max-width: 300px;
}

.al-pad .al-top, .al-pad .al-exit {
  display: none;
}

@property --tw-rotate-x {
  syntax: "*";
  inherits: false
}

@property --tw-rotate-y {
  syntax: "*";
  inherits: false
}

@property --tw-rotate-z {
  syntax: "*";
  inherits: false
}

@property --tw-skew-x {
  syntax: "*";
  inherits: false
}

@property --tw-skew-y {
  syntax: "*";
  inherits: false
}

@property --tw-border-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}

@property --tw-ordinal {
  syntax: "*";
  inherits: false
}

@property --tw-slashed-zero {
  syntax: "*";
  inherits: false
}

@property --tw-numeric-figure {
  syntax: "*";
  inherits: false
}

@property --tw-numeric-spacing {
  syntax: "*";
  inherits: false
}

@property --tw-numeric-fraction {
  syntax: "*";
  inherits: false
}

@property --tw-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}

@property --tw-shadow-color {
  syntax: "*";
  inherits: false
}

@property --tw-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}

@property --tw-inset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}

@property --tw-inset-shadow-color {
  syntax: "*";
  inherits: false
}

@property --tw-inset-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}

@property --tw-ring-color {
  syntax: "*";
  inherits: false
}

@property --tw-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}

@property --tw-inset-ring-color {
  syntax: "*";
  inherits: false
}

@property --tw-inset-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}

@property --tw-ring-inset {
  syntax: "*";
  inherits: false
}

@property --tw-ring-offset-width {
  syntax: "<length>";
  inherits: false;
  initial-value: 0;
}

@property --tw-ring-offset-color {
  syntax: "*";
  inherits: false;
  initial-value: #fff;
}

@property --tw-ring-offset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}

@property --tw-outline-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}

@property --tw-blur {
  syntax: "*";
  inherits: false
}

@property --tw-brightness {
  syntax: "*";
  inherits: false
}

@property --tw-contrast {
  syntax: "*";
  inherits: false
}

@property --tw-grayscale {
  syntax: "*";
  inherits: false
}

@property --tw-hue-rotate {
  syntax: "*";
  inherits: false
}

@property --tw-invert {
  syntax: "*";
  inherits: false
}

@property --tw-opacity {
  syntax: "*";
  inherits: false
}

@property --tw-saturate {
  syntax: "*";
  inherits: false
}

@property --tw-sepia {
  syntax: "*";
  inherits: false
}

@property --tw-drop-shadow {
  syntax: "*";
  inherits: false
}

@property --tw-drop-shadow-color {
  syntax: "*";
  inherits: false
}

@property --tw-drop-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}

@property --tw-drop-shadow-size {
  syntax: "*";
  inherits: false
}

@property --tw-backdrop-blur {
  syntax: "*";
  inherits: false
}

@property --tw-backdrop-brightness {
  syntax: "*";
  inherits: false
}

@property --tw-backdrop-contrast {
  syntax: "*";
  inherits: false
}

@property --tw-backdrop-grayscale {
  syntax: "*";
  inherits: false
}

@property --tw-backdrop-hue-rotate {
  syntax: "*";
  inherits: false
}

@property --tw-backdrop-invert {
  syntax: "*";
  inherits: false
}

@property --tw-backdrop-opacity {
  syntax: "*";
  inherits: false
}

@property --tw-backdrop-saturate {
  syntax: "*";
  inherits: false
}

@property --tw-backdrop-sepia {
  syntax: "*";
  inherits: false
}

@property --tw-ease {
  syntax: "*";
  inherits: false
}

/*# sourceMappingURL=src_app_globals_css_1o9jubfkxlfx1.css.map*/