  :root {
    --bg: #f2f3ef;
    --surface: #ffffff;
    --surface-2: #e8eae4;
    --ink: #1e2530;
    --ink-soft: #4b5563;
    --ink-faint: #7c8b8c;
    --border: #d8dcd3;
    --accent: #2b6470;
    --accent-ink: #ffffff;
    --accent-soft: #dfeae9;
    --gold: #c8963e;
    --gold-soft: #f6e9d2;
    --good: #3f7d4f;
    --good-soft: #e1efe2;
    --bad: #a8402f;
    --bad-soft: #f6e3df;
    --sign-red: #c0392f;
    --sign-blue: #2b5fa8;
    --sign-blue-dk: #1c3f73;
    --sign-white: #fdfdfb;
    --sign-yellow: #e8b93a;
    --sign-green: #2f7a4f;
    --sign-ink: #161616;
    --shadow: 0 1px 2px rgba(30, 37, 48, .06), 0 6px 20px rgba(30, 37, 48, .07);
    --radius: 18px;
    --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-display: Georgia, "Iowan Old Style", "Noto Serif", "Times New Roman", serif;
    --scale: 1;
  }

  :root[data-fs="large"] {
    --scale: 1.18;
  }

  :root[data-fs="xlarge"] {
    --scale: 1.4;
  }

  @media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
      --bg: #181c22;
      --surface: #222831;
      --surface-2: #2a313c;
      --ink: #eef1f4;
      --ink-soft: #c3cad2;
      --ink-faint: #8a95a1;
      --border: #3a4149;
      --accent: #5fa3ab;
      --accent-ink: #0f1418;
      --accent-soft: #233238;
      --gold: #d9ab5c;
      --gold-soft: #332a1a;
      --good: #6fbb80;
      --good-soft: #1e2f22;
      --bad: #e28577;
      --bad-soft: #332320;
      --sign-white: #f4f2ea;
      --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .35);
    }
  }

  :root[data-theme="dark"] {
    --bg: #181c22;
    --surface: #222831;
    --surface-2: #2a313c;
    --ink: #eef1f4;
    --ink-soft: #c3cad2;
    --ink-faint: #8a95a1;
    --border: #3a4149;
    --accent: #5fa3ab;
    --accent-ink: #0f1418;
    --accent-soft: #233238;
    --gold: #d9ab5c;
    --gold-soft: #332a1a;
    --good: #6fbb80;
    --good-soft: #1e2f22;
    --bad: #e28577;
    --bad-soft: #332320;
    --sign-white: #f4f2ea;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .35);
  }

  :root[data-contrast="high"] {
    --border: #8a8a8a;
  }

  :root[data-contrast="high"]:not([data-theme="dark"]) {
    --ink: #000000;
    --bg: #ffffff;
    --surface: #ffffff;
  }

  :root[data-contrast="high"][data-theme="dark"] {
    --ink: #ffffff;
    --bg: #000000;
    --surface: #000000;
  }

  * {
    box-sizing: border-box;
  }

  html,
  body {
    margin: 0;
    padding: 0;
  }

  body {
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: calc(16px * var(--scale));
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
  }

  h1,
  h2,
  h3 {
    font-family: var(--font-display);
    font-weight: 700;
    text-wrap: balance;
    margin: 0;
    color: var(--ink);
  }

  p {
    margin: 0;
  }

  button {
    font-family: inherit;
  }

  a {
    color: inherit;
  }

  ::selection {
    background: var(--accent-soft);
  }

  :focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
  }

  #app {
    max-width: 720px;
    margin: 0 auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }

  .header-sticky {
    position: sticky;
    top: 0;
    z-index: 20;
    background: var(--bg);
  }

  .topbar {
    padding: calc(16px*var(--scale)) calc(18px*var(--scale)) calc(10px*var(--scale));
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
  }

  .brand {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .brand .kicker {
    font-size: calc(11px*var(--scale));
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 600;
  }

  .brand h1 {
    font-size: calc(22px*var(--scale));
  }

  .beta-badge {
    display: inline-block;
    vertical-align: middle;
    font-family: var(--font-body);
    font-size: calc(10px*var(--scale));
    font-weight: 700;
    letter-spacing: .06em;
    color: var(--gold);
    background: var(--gold-soft);
    border-radius: 999px;
    padding: 2px 8px;
    transform: translateY(-2px);
  }


  main {
    flex: 1;
    padding: calc(16px*var(--scale)) calc(18px*var(--scale)) calc(24px*var(--scale));
  }

  .card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: calc(20px*var(--scale));
  }

  .stack {
    display: flex;
    flex-direction: column;
    gap: calc(14px*var(--scale));
  }

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

  .row.between {
    justify-content: space-between;
  }

  .wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  .hero {
    display: flex;
    flex-direction: column;
    gap: calc(10px*var(--scale));
  }

  .hero .msg {
    color: var(--ink-soft);
    font-size: calc(15px*var(--scale));
  }

  .big-stat {
    font-family: var(--font-display);
    font-size: calc(40px*var(--scale));
    line-height: 1;
    font-variant-numeric: tabular-nums;
  }

  .big-stat+.stat-label {
    color: var(--ink-faint);
    font-size: calc(13px*var(--scale));
    margin-top: 4px;
  }

  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: var(--surface-2);
    color: var(--ink);
    padding: calc(13px*var(--scale)) calc(18px*var(--scale));
    font-size: calc(16px*var(--scale));
    font-weight: 600;
    cursor: pointer;
    min-height: calc(48px*var(--scale));
    transition: transform .08s ease;
  }

  .btn:active {
    transform: scale(.97);
  }

  .btn.primary {
    background: var(--accent);
    color: var(--accent-ink);
    border-color: var(--accent);
  }

  .btn.primary:hover {
    filter: brightness(1.05);
  }

  .btn.gold {
    background: var(--gold);
    color: #241a06;
    border-color: var(--gold);
  }

  .btn.ghost {
    background: transparent;
  }

  .btn.block {
    width: 100%;
  }

  .btn.big {
    padding: calc(18px*var(--scale)) calc(20px*var(--scale));
    font-size: calc(18px*var(--scale));
  }

  .btn:disabled {
    opacity: .45;
    cursor: default;
  }

  .btn.good {
    background: var(--good-soft);
    color: var(--good);
    border-color: var(--good-soft);
  }

  .btn.bad {
    background: var(--bad-soft);
    color: var(--bad);
    border-color: var(--bad-soft);
  }

  .chip {
    border: 1px solid var(--border);
    background: var(--surface-2);
    color: var(--ink-soft);
    border-radius: 999px;
    padding: 8px 14px;
    font-size: calc(13.5px*var(--scale));
    font-weight: 600;
    cursor: pointer;
  }

  .chip.active {
    background: var(--accent);
    color: var(--accent-ink);
    border-color: var(--accent);
  }

  .progressbar {
    height: 10px;
    border-radius: 999px;
    background: var(--surface-2);
    overflow: hidden;
  }

  .progressbar>i {
    display: block;
    height: 100%;
    background: var(--accent);
    border-radius: 999px;
  }

  .catbar-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .catbar-row .row.between {
    font-size: calc(13.5px*var(--scale));
    color: var(--ink-soft);
  }

  .section-title {
    font-size: calc(12px*var(--scale));
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--ink-faint);
    font-weight: 700;
    margin-bottom: 2px;
  }

  /* top nav */
  nav.tabbar {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin: 0 calc(18px*var(--scale)) calc(14px*var(--scale));
  }

  nav.tabbar .inner {
    width: 100%;
    display: flex;
    align-items: stretch;
    gap: calc(4px*var(--scale));
    padding: calc(6px*var(--scale));
  }

  nav.tabbar button {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    flex: 1 1 0;
    min-width: 0;
    padding: calc(8px*var(--scale)) 2px;
    border-radius: calc(12px*var(--scale));
    color: var(--ink-faint);
    font-size: calc(11px*var(--scale));
    font-weight: 600;
    min-height: calc(50px*var(--scale));
    transition: background-color .15s ease, color .15s ease;
  }

  nav.tabbar button .ic {
    font-size: calc(20px*var(--scale));
  }

  nav.tabbar button.active {
    background: var(--accent);
    color: var(--accent-ink);
  }

  /* sign badge */
  .badge {
    width: calc(96px*var(--scale));
    height: calc(96px*var(--scale));
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .badge .ic {
    font-size: calc(34px*var(--scale));
    line-height: 1;
    color: var(--sign-ink);
    font-weight: 700;
    text-align: center;
  }

  .badge .txt {
    font-size: calc(19px*var(--scale));
    font-weight: 800;
    color: var(--sign-ink);
    font-family: var(--font-body);
  }

  .badge.big {
    width: calc(150px*var(--scale));
    height: calc(150px*var(--scale));
  }

  .badge.big .ic {
    font-size: calc(52px*var(--scale));
  }

  .badge.big .txt {
    font-size: calc(30px*var(--scale));
  }

  .badge-photo {
    border-radius: calc(14px*var(--scale));
    overflow: hidden;
    background: var(--surface-2);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
  }

  .badge-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
  }

  .b-circle {
    border-radius: 50%;
  }

  .b-proh {
    background: var(--sign-white);
    border: calc(7px*var(--scale)) solid var(--sign-red);
  }

  .b-prohEmpty {
    background: var(--sign-red);
    border: calc(4px*var(--scale)) solid var(--sign-white);
    box-shadow: 0 0 0 2px var(--sign-red);
  }

  .b-prohBar {
    background: var(--sign-white);
    border: calc(7px*var(--scale)) solid var(--sign-red);
  }

  .b-prohBar::after {
    content: "";
    position: absolute;
    width: 64%;
    height: 15%;
    background: var(--sign-white);
    border: 2px solid var(--sign-red);
  }

  .b-prohSlash {
    background: var(--sign-white);
    border: calc(7px*var(--scale)) solid var(--sign-red);
  }

  .b-prohSlash::after {
    content: "";
    position: absolute;
    width: 118%;
    height: 9%;
    background: var(--sign-red);
    transform: rotate(-32deg);
  }

  .b-mandatory {
    background: var(--sign-blue);
    border: calc(3px*var(--scale)) solid var(--sign-blue-dk);
  }

  .b-mandatory .ic,
  .b-mandatory .txt {
    color: #fff;
  }

  .b-speedEnd {
    background: var(--sign-white);
    border: calc(3px*var(--scale)) solid #9aa0a6;
  }

  .b-speedEnd::after,
  .b-speedEnd::before {
    content: "";
    position: absolute;
    width: 120%;
    height: 7%;
    background: #3a3a3a;
  }

  .b-speedEnd::after {
    transform: rotate(-45deg);
  }

  .b-speedEnd::before {
    transform: rotate(45deg);
    opacity: 0;
  }

  .b-noParkCirc {
    background: var(--sign-blue);
    border: calc(6px*var(--scale)) solid var(--sign-red);
  }

  .b-noParkCirc .ic,
  .b-noParkCirc .txt {
    color: #fff;
  }

  .b-noParkCirc::after {
    content: "";
    position: absolute;
    width: 112%;
    height: 9%;
    background: var(--sign-red);
    transform: rotate(-32deg);
  }

  .b-noStopCirc {
    background: var(--sign-blue);
    border: calc(6px*var(--scale)) solid var(--sign-red);
  }

  .b-noStopCirc .ic,
  .b-noStopCirc .txt {
    color: #fff;
  }

  .b-noStopCirc::after,
  .b-noStopCirc::before {
    content: "";
    position: absolute;
    width: 112%;
    height: 9%;
    background: var(--sign-red);
  }

  .b-noStopCirc::after {
    transform: rotate(-32deg);
  }

  .b-noStopCirc::before {
    transform: rotate(32deg);
  }

  .b-parkRectBlue {
    background: var(--sign-blue);
    border-radius: 14%;
    width: calc(84px*var(--scale));
    height: calc(96px*var(--scale));
  }

  .b-parkRectBlue .txt {
    color: #fff;
  }

  .b-parkEnd {
    background: var(--sign-blue);
    border-radius: 14%;
    width: calc(84px*var(--scale));
    height: calc(96px*var(--scale));
  }

  .b-parkEnd .txt {
    color: #fff;
  }

  .b-parkEnd::after,
  .b-parkEnd::before {
    content: "";
    position: absolute;
    width: 120%;
    height: 7%;
    background: #fff;
  }

  .b-parkEnd::after {
    transform: rotate(-38deg);
  }

  .b-parkEnd::before {
    display: none;
  }

  .b-octagon {
    background: var(--sign-red);
    clip-path: polygon(30% 3%, 70% 3%, 97% 30%, 97% 70%, 70% 97%, 30% 97%, 3% 70%, 3% 30%);
    border: calc(4px*var(--scale)) solid var(--sign-white);
  }

  .b-octagon .txt {
    color: #fff;
    letter-spacing: .05em;
  }

  .b-tri {
    background: var(--sign-white);
    clip-path: polygon(50% 4%, 4% 96%, 96% 96%);
    border: calc(6px*var(--scale)) solid var(--sign-red);
  }

  .b-yield {
    background: var(--sign-white);
    clip-path: polygon(50% 96%, 4% 4%, 96% 4%);
    border: calc(6px*var(--scale)) solid var(--sign-red);
  }

  .b-giveway {
    background: var(--sign-white);
    border-radius: 50%;
    border: calc(7px*var(--scale)) solid var(--sign-red);
  }

  .b-infoRect {
    background: var(--sign-blue);
    border-radius: 16%;
    width: calc(112px*var(--scale));
    height: calc(88px*var(--scale));
  }

  .b-infoRect .ic,
  .b-infoRect .txt {
    color: #fff;
  }

  .b-infoRectSlash {
    background: var(--sign-blue);
    border-radius: 16%;
    width: calc(112px*var(--scale));
    height: calc(88px*var(--scale));
  }

  .b-infoRectSlash .ic,
  .b-infoRectSlash .txt {
    color: #fff;
  }

  .b-infoRectSlash::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 9%;
    background: var(--sign-red);
    transform: rotate(-28deg);
  }

  .b-flagSign {
    background: var(--sign-white);
    border: 2px solid var(--border);
    border-radius: 10%;
    width: calc(112px*var(--scale));
    height: calc(88px*var(--scale));
  }

  .b-diamondYellow {
    background: var(--sign-yellow);
    clip-path: polygon(50% 2%, 98% 50%, 50% 98%, 2% 50%);
    border: calc(3px*var(--scale)) solid #b98f1c;
  }

  .b-diamondCross {
    background: var(--sign-yellow);
    clip-path: polygon(50% 2%, 98% 50%, 50% 98%, 2% 50%);
    background-image: repeating-linear-gradient(45deg, #3a3a3a 0 3px, transparent 3px 14px), repeating-linear-gradient(-45deg, #3a3a3a 0 3px, transparent 3px 14px);
  }

  .b-highwayGreen {
    background: var(--sign-green);
    border-radius: 10%;
    width: calc(112px*var(--scale));
    height: calc(88px*var(--scale));
  }

  .b-highwayGreen .ic,
  .b-highwayGreen .txt {
    color: #fff;
  }

  .b-highwaySlash {
    background: var(--sign-green);
    border-radius: 10%;
    width: calc(112px*var(--scale));
    height: calc(88px*var(--scale));
  }

  .b-highwaySlash .ic,
  .b-highwaySlash .txt {
    color: #fff;
  }

  .b-highwaySlash::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 9%;
    background: var(--sign-red);
    transform: rotate(-28deg);
  }

  /* road marking mini illustration */
  .road {
    width: 100%;
    height: calc(84px*var(--scale));
    background: #2b2f33;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    border: 1px solid #14171a;
  }

  .road .line {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: calc(6px*var(--scale));
    transform: translateY(-50%);
  }

  .road .line.dup {}

  .road .edge {
    position: absolute;
    height: calc(6px*var(--scale));
  }

  /* flip flashcard */
  .flashcard-wrap {
    perspective: 1400px;
  }

  .flashcard {
    position: relative;
    min-height: calc(320px*var(--scale));
    border-radius: var(--radius);
    transition: transform .5s cubic-bezier(.2, .8, .2, 1);
    transform-style: preserve-3d;
    cursor: pointer;
  }

  .flashcard.flipped {
    transform: rotateY(180deg);
  }

  .face {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: calc(12px*var(--scale));
    padding: calc(24px*var(--scale));
    text-align: center;
    overflow-y: auto;
  }

  .face .answer-sign {
    display: flex;
  }

  .face.back {
    transform: rotateY(180deg);
  }

  .face .cat-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    font-size: calc(11px*var(--scale));
    text-transform: uppercase;
    letter-spacing: .07em;
    color: var(--ink-faint);
    font-weight: 700;
  }

  .face .hint {
    color: var(--ink-faint);
    font-size: calc(13px*var(--scale));
  }

  .face h2 {
    font-size: calc(21px*var(--scale));
  }

  .face p.meaning {
    color: var(--ink-soft);
    font-size: calc(15px*var(--scale));
    max-width: 46ch;
  }

  .qopt {
    display: block;
    width: 100%;
    text-align: left;
    padding: calc(14px*var(--scale)) calc(16px*var(--scale));
    border-radius: 14px;
    border: 1.5px solid var(--border);
    background: var(--surface);
    font-size: calc(15.5px*var(--scale));
    color: var(--ink);
    cursor: pointer;
    font-weight: 500;
  }

  .qopt:disabled {
    cursor: default;
  }

  .qopt.correct {
    background: var(--good-soft);
    border-color: var(--good);
    color: var(--good);
    font-weight: 700;
  }

  .qopt.wrong {
    background: var(--bad-soft);
    border-color: var(--bad);
    color: var(--bad);
    font-weight: 700;
  }

  .empty-state {
    text-align: center;
    color: var(--ink-soft);
    padding: calc(30px*var(--scale)) 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }

  .empty-state .ic {
    font-size: 44px;
  }

  .pill-stat {
    background: var(--surface-2);
    border-radius: 14px;
    padding: calc(12px*var(--scale)) calc(14px*var(--scale));
    text-align: center;
    flex: 1;
  }

  .pill-stat .n {
    font-family: var(--font-display);
    font-size: calc(24px*var(--scale));
    font-variant-numeric: tabular-nums;
  }

  .pill-stat .l {
    font-size: calc(11.5px*var(--scale));
    color: var(--ink-faint);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-top: 2px;
  }

  .ref-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .ref-thumb {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    cursor: pointer;
    background: var(--surface-2);
    position: relative;
  }

  .ref-thumb img {
    width: 100%;
    display: block;
    aspect-ratio: 3/4;
    object-fit: cover;
  }

  .ref-thumb .lbl {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, .65));
    color: #fff;
    font-size: 12px;
    padding: 6px 8px;
    font-weight: 600;
  }

  .lightbox {
    position: fixed;
    inset: 0;
    background: rgba(10, 12, 14, .92);
    z-index: 100;
    display: flex;
    flex-direction: column;
  }

  .lightbox .lb-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
  }

  .lightbox .lb-top button {
    background: rgba(255, 255, 255, .12);
    border: none;
    color: #fff;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
  }

  .lightbox .lb-body {
    flex: 1;
    overflow: auto;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 0 0 20px;
  }

  .lightbox img {
    max-width: none;
  }

  .lightbox .lb-nav {
    display: flex;
    justify-content: space-between;
    padding: 14px 16px 22px;
    gap: 10px;
  }

  .lightbox .lb-nav button {
    flex: 1;
    background: rgba(255, 255, 255, .12);
    border: none;
    color: #fff;
    border-radius: 12px;
    padding: 14px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
  }

  .settings-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: calc(12px*var(--scale)) 0;
    border-bottom: 1px solid var(--border);
  }

  .settings-row:last-child {
    border-bottom: none;
  }

  .seg {
    display: flex;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
  }

  .seg button {
    border: none;
    background: var(--surface);
    color: var(--ink-soft);
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
  }

  .seg button.active {
    background: var(--accent);
    color: var(--accent-ink);
  }


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

    .btn {
      transition: none;
    }
  }

  .lang-toggle {
    min-height: calc(34px*var(--scale));
    padding: calc(6px*var(--scale)) calc(12px*var(--scale));
    font-size: calc(13px*var(--scale));
    align-self: center;
  }

  .crop-viewport {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--surface-2);
    touch-action: none;
    user-select: none;
    display: block;
  }

  .crop-viewport img {
    width: 100%;
    height: auto;
    display: block;
    pointer-events: none;
  }

  .crop-rect {
    position: absolute;
    border: 2px dashed var(--accent);
    background: color-mix(in srgb, var(--accent) 18%, transparent);
    pointer-events: none;
  }

  .crop-label {
    font-size: calc(11px*var(--scale));
    text-transform: uppercase;
    letter-spacing: .07em;
    color: var(--ink-faint);
    font-weight: 700;
  }

  .crop-meaning {
    color: var(--ink-soft);
    font-size: calc(15px*var(--scale));
  }

  .crop-empty {
    border-radius: calc(14px*var(--scale));
    background: var(--surface-2);
    border: 1px dashed var(--border);
    text-align: center;
    padding: 8px;
  }
