/* ../../opt/files/kit/design.css */
*,
:after,
:before {
  --tw-border-spacing-x:0;
  --tw-border-spacing-y:0;
  --tw-translate-x:0;
  --tw-translate-y:0;
  --tw-rotate:0;
  --tw-skew-x:0;
  --tw-skew-y:0;
  --tw-scale-x:1;
  --tw-scale-y:1;
  --tw-pan-x: ;
  --tw-pan-y: ;
  --tw-pinch-zoom: ;
  --tw-scroll-snap-strictness:proximity;
  --tw-gradient-from-position: ;
  --tw-gradient-via-position: ;
  --tw-gradient-to-position: ;
  --tw-ordinal: ;
  --tw-slashed-zero: ;
  --tw-numeric-figure: ;
  --tw-numeric-spacing: ;
  --tw-numeric-fraction: ;
  --tw-ring-inset: ;
  --tw-ring-offset-width:0px;
  --tw-ring-offset-color:#fff;
  --tw-ring-color:rgba(59,130,246,.5);
  --tw-ring-offset-shadow:0 0 #0000;
  --tw-ring-shadow:0 0 #0000;
  --tw-shadow:0 0 #0000;
  --tw-shadow-colored:0 0 #0000;
  --tw-blur: ;
  --tw-brightness: ;
  --tw-contrast: ;
  --tw-grayscale: ;
  --tw-hue-rotate: ;
  --tw-invert: ;
  --tw-saturate: ;
  --tw-sepia: ;
  --tw-drop-shadow: ;
  --tw-backdrop-blur: ;
  --tw-backdrop-brightness: ;
  --tw-backdrop-contrast: ;
  --tw-backdrop-grayscale: ;
  --tw-backdrop-hue-rotate: ;
  --tw-backdrop-invert: ;
  --tw-backdrop-opacity: ;
  --tw-backdrop-saturate: ;
  --tw-backdrop-sepia: ;
  --tw-contain-size: ;
  --tw-contain-layout: ;
  --tw-contain-paint: ;
  --tw-contain-style: ;
}
::backdrop {
  --tw-border-spacing-x:0;
  --tw-border-spacing-y:0;
  --tw-translate-x:0;
  --tw-translate-y:0;
  --tw-rotate:0;
  --tw-skew-x:0;
  --tw-skew-y:0;
  --tw-scale-x:1;
  --tw-scale-y:1;
  --tw-pan-x: ;
  --tw-pan-y: ;
  --tw-pinch-zoom: ;
  --tw-scroll-snap-strictness:proximity;
  --tw-gradient-from-position: ;
  --tw-gradient-via-position: ;
  --tw-gradient-to-position: ;
  --tw-ordinal: ;
  --tw-slashed-zero: ;
  --tw-numeric-figure: ;
  --tw-numeric-spacing: ;
  --tw-numeric-fraction: ;
  --tw-ring-inset: ;
  --tw-ring-offset-width:0px;
  --tw-ring-offset-color:#fff;
  --tw-ring-color:rgba(59,130,246,.5);
  --tw-ring-offset-shadow:0 0 #0000;
  --tw-ring-shadow:0 0 #0000;
  --tw-shadow:0 0 #0000;
  --tw-shadow-colored:0 0 #0000;
  --tw-blur: ;
  --tw-brightness: ;
  --tw-contrast: ;
  --tw-grayscale: ;
  --tw-hue-rotate: ;
  --tw-invert: ;
  --tw-saturate: ;
  --tw-sepia: ;
  --tw-drop-shadow: ;
  --tw-backdrop-blur: ;
  --tw-backdrop-brightness: ;
  --tw-backdrop-contrast: ;
  --tw-backdrop-grayscale: ;
  --tw-backdrop-hue-rotate: ;
  --tw-backdrop-invert: ;
  --tw-backdrop-opacity: ;
  --tw-backdrop-saturate: ;
  --tw-backdrop-sepia: ;
  --tw-contain-size: ;
  --tw-contain-layout: ;
  --tw-contain-paint: ;
  --tw-contain-style: ;
}
*,
:after,
:before {
  box-sizing: border-box;
  border: 0 solid #e5e7eb;
}
:after,
:before {
  --tw-content:"";
}
:host,
html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  -moz-tab-size: 4;
  -o-tab-size: 4;
  tab-size: 4;
  font-family:
    GT America,
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  font-feature-settings: normal;
  font-variation-settings: normal;
  -webkit-tap-highlight-color: transparent;
}
body {
  margin: 0;
  line-height: inherit;
}
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;
  text-decoration: inherit;
}
b,
strong {
  font-weight: bolder;
}
code,
kbd,
pre,
samp {
  font-family:
    ui-monospace,
    SFMono-Regular,
    Menlo,
    Monaco,
    Consolas,
    Liberation Mono,
    Courier New,
    monospace;
  font-feature-settings: normal;
  font-variation-settings: normal;
  font-size: 1em;
}
small {
  font-size: 80%;
}
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sub {
  bottom: -.25em;
}
sup {
  top: -.5em;
}
table {
  text-indent: 0;
  border-color: inherit;
  border-collapse: collapse;
}
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-feature-settings: inherit;
  font-variation-settings: inherit;
  font-size: 100%;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  color: inherit;
  margin: 0;
  padding: 0;
}
button,
select {
  text-transform: none;
}
button,
input:where([type=button]),
input:where([type=reset]),
input:where([type=submit]) {
  -webkit-appearance: button;
  background-color: transparent;
  background-image: none;
}
:-moz-focusring {
  outline: auto;
}
:-moz-ui-invalid {
  box-shadow: none;
}
progress {
  vertical-align: baseline;
}
::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}
[type=search] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}
::-webkit-search-decoration {
  -webkit-appearance: none;
}
::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}
summary {
  display: list-item;
}
blockquote,
dd,
dl,
figure,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
p,
pre {
  margin: 0;
}
fieldset {
  margin: 0;
}
fieldset,
legend {
  padding: 0;
}
menu,
ol,
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
dialog {
  padding: 0;
}
textarea {
  resize: vertical;
}
input::-moz-placeholder,
textarea::-moz-placeholder {
  opacity: 1;
  color: #9ca3af;
}
input::placeholder,
textarea::placeholder {
  opacity: 1;
  color: #9ca3af;
}
[role=button],
button {
  cursor: pointer;
}
:disabled {
  cursor: default;
}
audio,
canvas,
embed,
iframe,
img,
object,
svg,
video {
  display: block;
  vertical-align: middle;
}
img,
video {
  max-width: 100%;
  height: auto;
}
[hidden]:where(:not([hidden=until-found])) {
  display: none;
}
:root {
  --text-primary:#101113;
  --text-secondary:rgba(16,17,19,.6);
  --text-tertiary:rgba(16,17,19,.35);
  --text-placeholder:rgba(16,17,19,.25);
  --background:0 0% 100%;
  --background-2:#faf9f7;
  --background-3:#f6f5f3;
  --foreground:220 9% 7%;
  --card:0 0% 100%;
  --card-foreground:220 9% 7%;
  --popover:0 0% 100%;
  --popover-foreground:220 9% 7%;
  --primary:220 9% 7%;
  --primary-foreground:0 0% 100%;
  --secondary:220 14% 96%;
  --secondary-foreground:220 9% 7%;
  --muted:220 14% 96%;
  --muted-foreground:220 9% 46%;
  --accent:217 91% 60%;
  --accent-foreground:0 0% 100%;
  --destructive:0 84% 60%;
  --destructive-foreground:0 0% 100%;
  --border:220 13% 91%;
  --input:220 13% 91%;
  --ring:217 91% 60%;
  --radius:0.375rem;
  --hover:rgba(16,17,19,.05);
  --active:rgba(16,17,19,.1);
  --selected:rgba(16,17,19,.05);
  --badge:rgba(16,17,19,.05);
  --loading:rgba(16,17,19,.05);
}
* {
  border-color: hsl(var(--border));
}
body,
html {
  position: fixed;
  width: 100%;
  height: 100%;
  overflow: hidden;
  overscroll-behavior: none;
  scroll-behavior: auto;
}
#root {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--app-height,100%);
  overflow-x: hidden;
  overflow-y: auto;
}
body {
  background-color: hsl(var(--background));
  color: var(--text-primary);
  font-family:
    GT America,
    -apple-system,
    BlinkMacSystemFont,
    system-ui,
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "cv11", "ss01";
  letter-spacing: -.011em;
}
.box-border {
  box-sizing: border-box;
}
.flex {
  display: flex;
}
.inline-flex {
  display: inline-flex;
}
.h-10 {
  height: 2.5rem;
}
.h-11 {
  height: 2.75rem;
}
.h-8 {
  height: 2rem;
}
.h-9 {
  height: 2.25rem;
}
.h-\[52px\] {
  height: 52px;
}
.w-8 {
  width: 2rem;
}
.w-9 {
  width: 2.25rem;
}
.w-full {
  width: 100%;
}
.flex-none {
  flex: none;
}
.cursor-pointer {
  cursor: pointer;
}
.select-none {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}
.items-center {
  align-items: center;
}
.justify-center {
  justify-content: center;
}
.gap-2 {
  gap: .5rem;
}
.whitespace-nowrap {
  white-space: nowrap;
}
.rounded {
  border-radius: .25rem;
}
.rounded-\[2px\] {
  border-radius: 2px;
}
.rounded-full {
  border-radius: 9999px;
}
.rounded-lg {
  border-radius: var(--radius);
}
.border {
  border-width: 1px;
}
.border-0 {
  border-width: 0;
}
.border-border {
  border-color: hsl(var(--border));
}
.border-destructive\/40 {
  border-color: hsl(var(--destructive)/.4);
}
.border-ds-hairline {
  border-color: var(--ds-hairline);
}
.border-ds-ink {
  border-color: var(--ds-ink);
}
.border-ds-redBorder {
  border-color: var(--ds-red-border);
}
.border-ds-teal {
  border-color: var(--ds-teal);
}
.border-transparent {
  border-color: transparent;
}
.bg-card {
  background-color: hsl(var(--card));
}
.bg-destructive\/10 {
  background-color: hsl(var(--destructive)/.1);
}
.bg-ds-ink {
  background-color: var(--ds-ink);
}
.bg-ds-white {
  background-color: var(--ds-white);
}
.bg-foreground {
  background-color: hsl(var(--foreground));
}
.bg-red-600 {
  --tw-bg-opacity:1;
  background-color: rgb(220 38 38/var(--tw-bg-opacity,1));
}
.bg-secondary {
  background-color: hsl(var(--secondary));
}
.bg-transparent {
  background-color: transparent;
}
.p-0 {
  padding: 0;
}
.p-2 {
  padding: .5rem;
}
.px-3 {
  padding-left: .75rem;
  padding-right: .75rem;
}
.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}
.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.py-2 {
  padding-top: .5rem;
  padding-bottom: .5rem;
}
.font-text {
  font-family:
    KMR Melange Grotesk,
    -apple-system,
    Helvetica Neue,
    Arial,
    sans-serif;
}
.text-\[13px\] {
  font-size: 13px;
}
.text-\[15px\] {
  font-size: 15px;
}
.text-sm {
  font-size: .8125rem;
  line-height: 1.5;
}
.text-xs {
  font-size: .75rem;
  line-height: 1.5;
}
.font-medium {
  font-weight: 500;
}
.font-normal {
  font-weight: 400;
}
.leading-none {
  line-height: 1;
}
.tracking-\[-0\.01em\] {
  letter-spacing: -.01em;
}
.text-background {
  color: hsl(var(--background));
}
.text-card-foreground {
  color: hsl(var(--card-foreground));
}
.text-destructive {
  color: hsl(var(--destructive));
}
.text-ds-ink {
  color: var(--ds-ink);
}
.text-ds-page {
  color: var(--ds-page);
}
.text-ds-red {
  color: var(--ds-red);
}
.text-ds-teal {
  color: var(--ds-teal);
}
.text-textPrimary {
  color: var(--text-primary);
}
.text-textSecondary {
  color: var(--text-secondary);
}
.text-white {
  --tw-text-opacity:1;
  color: rgb(255 255 255/var(--tw-text-opacity,1));
}
.underline {
  text-decoration-line: underline;
}
.decoration-1 {
  text-decoration-thickness: 1px;
}
.underline-offset-4 {
  text-underline-offset: 4px;
}
.underline-offset-\[3px\] {
  text-underline-offset: 3px;
}
.shadow-ds-control {
  --tw-shadow:var(--ds-shadow-control);
  --tw-shadow-colored:var(--ds-shadow-control);
}
.shadow-ds-control,
.shadow-sm {
  box-shadow:
    var(--tw-ring-offset-shadow,0 0 #0000),
    var(--tw-ring-shadow,0 0 #0000),
    var(--tw-shadow);
}
.shadow-sm {
  --tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);
  --tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);
}
.outline {
  outline-style: solid;
}
.transition-\[background-color\,border-color\,color\,transform\] {
  transition-property:
    background-color,
    border-color,
    color,
    transform;
  transition-timing-function: cubic-bezier(.4, 0, .2, 1);
  transition-duration: .15s;
}
.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(.4, 0, .2, 1);
  transition-duration: .15s;
}
.transition-colors {
  transition-property:
    color,
    background-color,
    border-color,
    text-decoration-color,
    fill,
    stroke;
  transition-timing-function: cubic-bezier(.4, 0, .2, 1);
  transition-duration: .15s;
}
@keyframes enter {
  0% {
    opacity: var(--tw-enter-opacity,1);
    transform: translate3d(var(--tw-enter-translate-x,0), var(--tw-enter-translate-y,0), 0) scale3d(var(--tw-enter-scale,1), var(--tw-enter-scale,1), var(--tw-enter-scale,1)) rotate(var(--tw-enter-rotate,0));
  }
}
@keyframes exit {
  to {
    opacity: var(--tw-exit-opacity,1);
    transform: translate3d(var(--tw-exit-translate-x,0), var(--tw-exit-translate-y,0), 0) scale3d(var(--tw-exit-scale,1), var(--tw-exit-scale,1), var(--tw-exit-scale,1)) rotate(var(--tw-exit-rotate,0));
  }
}
.\[transition-duration\:120ms\] {
  transition-duration: .12s;
}
.draggable-region {
  display: none;
}
@font-face {
  font-family: GT America;
  src: url("/fonts/2L3TNOC4.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: GT America;
  src: url("/fonts/GWBPHQBQ.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: GT America;
  src: url("/fonts/6HBTCF3E.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Season Mix;
  src: url("/fonts/7UAGB34N.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  font-feature-settings: "ss03", "ss06";
}
@font-face {
  font-family: Season Mix;
  src: url("/fonts/ZITNQAWX.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  font-feature-settings: "ss03", "ss06";
}
@font-face {
  font-family: Aime;
  src: url("/fonts/RK4X2PXO.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Aime;
  src: url("/fonts/DCUCO6EG.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: KMR Melange Grotesk;
  src: url("/fonts/WM77GZQE.ttf") format("truetype");
  font-weight: 350;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: KMR Melange Grotesk;
  src: url("/fonts/EDUFJISK.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: KMR Melange Grotesk;
  src: url("/fonts/ESVYJHOG.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: KMR Melange Grotesk;
  src: url("/fonts/PQNVRRKH.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
:root {
  --ds-page:#fbfaf9;
  --ds-raised:#f4efec;
  --ds-white:#fff;
  --ds-ink:#251f21;
  --ds-ink-2:#585254;
  --ds-ink-3:#969394;
  --ds-ink-4:#c0bebf;
  --ds-hairline:#eae9ea;
  --ds-teal:#73a89a;
  --ds-red:#ed313e;
  --ds-red-border:#f5aaae;
  --ds-hover:color-mix(in srgb,#251f21 5%,transparent);
  --ds-hover-strong:color-mix(in srgb,#251f21 10%,transparent);
  --ds-hover-red:color-mix(in srgb,#ed313e 5%,transparent);
  --ds-scrim:rgba(46,39,41,.45);
  --ds-shadow-control:0 1px 2px color-mix(in srgb,#251f21 5%,transparent);
  --ds-shadow-modal:0 30px 70px rgba(46,39,41,.28);
  --ds-elevation-0:0 0 1px color-mix(in srgb,#251f21 10%,transparent),0 1px 2px color-mix(in srgb,#251f21 8%,transparent);
  --ds-elevation-1:0 1px 2px color-mix(in srgb,#251f21 12%,transparent),0 4px 12px color-mix(in srgb,#251f21 14%,transparent);
  --ds-elevation-2:0 1px 3px color-mix(in srgb,#251f21 8%,transparent),0 8px 24px color-mix(in srgb,#251f21 16%,transparent);
  --ds-font-display:"Aime",Georgia,serif;
  --ds-font-text:"KMR Melange Grotesk",-apple-system,"Helvetica Neue",Arial,sans-serif;
}
.font-serif {
  font-feature-settings: "ss03", "ss06";
}
@keyframes fade-in-up {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fade-in-scale {
  0% {
    opacity: 0;
    transform: scale(.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes page-enter {
  0% {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes otp-caret-blink {
  0%, 49% {
    opacity: 1;
  }
  50%, to {
    opacity: 0;
  }
}
.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.scrollbar-hide::-webkit-scrollbar {
  display: none;
}
.scrollbar-subtle {
  scrollbar-width: thin;
  scrollbar-color: hsl(var(--border)) transparent;
  scrollbar-gutter: stable;
}
.scrollbar-subtle::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
.scrollbar-subtle::-webkit-scrollbar-track {
  background: transparent;
}
.scrollbar-subtle::-webkit-scrollbar-thumb {
  background: hsl(var(--border));
  border-radius: 9999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}
.dark .bg-white {
  background-color: hsl(var(--card));
}
.dark .bg-white\/20 {
  background-color: hsl(var(--card)/.2);
}
.dark .bg-gray-100,
.dark .bg-gray-50 {
  background-color: hsl(var(--muted));
}
.dark .bg-gray-200 {
  background-color: hsl(var(--muted)/.85);
}
.dark .bg-gray-800,
.dark .bg-gray-900 {
  background-color: hsl(var(--background));
}
.dark .text-black {
  color: hsl(var(--foreground));
}
.dark .text-black\/80 {
  color: hsl(var(--foreground)/.8);
}
.dark .text-black\/70 {
  color: hsl(var(--foreground)/.7);
}
.dark .text-black\/40,
.dark .text-black\/50,
.dark .text-black\/60 {
  color: hsl(var(--muted-foreground));
}
.dark .text-black\/15,
.dark .text-black\/20,
.dark .text-black\/25,
.dark .text-black\/30 {
  color: hsl(var(--muted-foreground)/.85);
}
.dark .border-black,
.dark .border-black\/10,
.dark .border-black\/15,
.dark .border-black\/20,
.dark .border-black\/25,
.dark .border-black\/30,
.dark .border-black\/40,
.dark .border-black\/5,
.dark .border-black\/50,
.dark .border-gray-100,
.dark .border-gray-200,
.dark .border-gray-300 {
  border-color: hsl(var(--border));
}
.dark .bg-black {
  background-color: hsl(var(--foreground));
}
.dark .bg-black\/5 {
  background-color: hsl(var(--foreground)/.08);
}
.dark .bg-black\/10 {
  background-color: hsl(var(--foreground)/.12);
}
.dark .bg-black\/20 {
  background-color: hsl(var(--foreground)/.18);
}
.dark .bg-black\/25 {
  background-color: hsl(var(--foreground)/.22);
}
.dark .hover\:bg-gray-100:hover,
.dark .hover\:bg-gray-50:hover {
  background-color: hsl(var(--muted));
}
.dark .hover\:bg-gray-200:hover {
  background-color: hsl(var(--muted)/.85);
}
.dark .hover\:bg-white:hover {
  background-color: hsl(var(--card));
}
.dark .hover\:border-black\/20:hover,
.dark .hover\:border-gray-300:hover {
  border-color: hsl(var(--border));
}
.dark .hover\:text-black:hover {
  color: hsl(var(--foreground));
}
@font-face {
  font-family: Aime;
  src: url("/fonts/KZYIEKM3.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
.hover\:scale-105:hover {
  --tw-scale-x:1.05;
  --tw-scale-y:1.05;
}
.hover\:scale-105:hover,
.hover\:scale-\[1\.02\]:hover {
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.hover\:scale-\[1\.02\]:hover {
  --tw-scale-x:1.02;
  --tw-scale-y:1.02;
}
.hover\:bg-destructive\/20:hover {
  background-color: hsl(var(--destructive)/.2);
}
.hover\:bg-destructive\/5:hover {
  background-color: hsl(var(--destructive)/.05);
}
.hover\:bg-ds-hover:hover {
  background-color: var(--ds-hover);
}
.hover\:bg-foreground\/90:hover {
  background-color: hsl(var(--foreground)/.9);
}
.hover\:bg-muted:hover {
  background-color: hsl(var(--muted));
}
.hover\:bg-red-700:hover {
  --tw-bg-opacity:1;
  background-color: rgb(185 28 28/var(--tw-bg-opacity,1));
}
.hover\:bg-secondary\/80:hover {
  background-color: hsl(var(--secondary)/.8);
}
.hover\:text-ds-ink2:hover {
  color: var(--ds-ink-2);
}
.hover\:text-textPrimary:hover {
  color: var(--text-primary);
}
.hover\:underline:hover {
  text-decoration-line: underline;
}
.focus-visible\:outline-none:focus-visible {
  outline: 2px solid transparent;
  outline-offset: 2px;
}
.focus-visible\:ring-2:focus-visible {
  --tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow:
    var(--tw-ring-offset-shadow),
    var(--tw-ring-shadow),
    var(--tw-shadow,0 0 #0000);
}
.focus-visible\:ring-ds-ink4:focus-visible {
  --tw-ring-color:var(--ds-ink-4);
}
.focus-visible\:ring-ring\/40:focus-visible {
  --tw-ring-color:hsl(var(--ring)/0.4);
}
.focus-visible\:ring-offset-2:focus-visible {
  --tw-ring-offset-width:2px;
}
.active\:scale-100:active {
  --tw-scale-x:1;
  --tw-scale-y:1;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.active\:bg-ds-hoverStrong:active {
  background-color: var(--ds-hover-strong);
}
.disabled\:pointer-events-none:disabled {
  pointer-events: none;
}
.disabled\:scale-100:disabled {
  --tw-scale-x:1;
  --tw-scale-y:1;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.disabled\:cursor-default:disabled {
  cursor: default;
}
.disabled\:border-ds-hairline:disabled {
  border-color: var(--ds-hairline);
}
.disabled\:bg-transparent:disabled {
  background-color: transparent;
}
.disabled\:text-ds-ink4:disabled {
  color: var(--ds-ink-4);
}
.disabled\:opacity-50:disabled {
  opacity: .5;
}
.disabled\:shadow-none:disabled {
  --tw-shadow:0 0 #0000;
  --tw-shadow-colored:0 0 #0000;
  box-shadow:
    var(--tw-ring-offset-shadow,0 0 #0000),
    var(--tw-ring-shadow,0 0 #0000),
    var(--tw-shadow);
}
@media not all and (min-width: 768px) {
  .max-md\:flex {
    display: flex;
  }
  .max-md\:h-\[52px\] {
    height: 52px;
  }
  .max-md\:w-full {
    width: 100%;
  }
  .max-md\:rounded-lg {
    border-radius: var(--radius);
  }
  .max-md\:text-\[15px\] {
    font-size: 15px;
  }
  .max-md\:hover\:scale-\[1\.02\]:hover {
    --tw-scale-x:1.02;
    --tw-scale-y:1.02;
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
  }
}
@media (min-width: 768px) {
  .md\:px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
.\[\&_svg\]\:pointer-events-none svg {
  pointer-events: none;
}
.\[\&_svg\]\:size-4 svg {
  width: 1rem;
  height: 1rem;
}
.\[\&_svg\]\:h-4 svg {
  height: 1rem;
}
.\[\&_svg\]\:w-4 svg {
  width: 1rem;
}
.\[\&_svg\]\:shrink-0 svg {
  flex-shrink: 0;
}

/* ../../opt/files/kit/library.css */
:root {
  --file-shadow: 0 1px 2px rgb(37 31 33 / 6%), 0 6px 18px rgb(37 31 33 / 5%);
  --file-pad-x: 24px;
  --file-col: 200px;
  --file-product-col: 300px;
  --file-text: 14px;
  --file-small: 12px;
  --file-button-roll: 320ms;
  --file-low-stock: #d59b53;
}
.file-ground {
  box-sizing: border-box;
  min-height: 100%;
  padding: 24px 16px;
  background: var(--ds-raised);
  color: var(--ds-ink);
  font-family: var(--ds-font-text);
  font-size: var(--file-text);
  font-weight: 350;
  line-height: 24px;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
}
.file-card {
  box-sizing: border-box;
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 24px var(--file-pad-x);
  background: var(--ds-page);
  color: var(--ds-ink);
  display: flex;
  flex-direction: column;
  gap: 48px;
  font-family: var(--ds-font-text);
  font-size: var(--file-text);
  font-weight: 350;
  line-height: 24px;
  letter-spacing: -0.01em;
}
.file-card[data-width=phone] {
  max-width: 390px;
}
.file-ground .file-card {
  border-radius: 24px;
  box-shadow: var(--file-shadow);
}
.file-card > * {
  min-width: 0;
}
.file-card a {
  color: var(--ds-ink);
}
.file-card :focus-visible {
  outline: 2px solid var(--ds-ink);
  outline-offset: 2px;
}
.file-strong {
  font-weight: 600;
}
.file-secondary {
  color: var(--ds-ink-2);
}
.file-known {
  color: var(--ds-teal);
  font-weight: 600;
}
.file-unavailable {
  color: var(--ds-ink-4);
  text-decoration: line-through;
}
.file-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.file-header {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.file-title {
  margin: 0;
  font-family: var(--ds-font-display);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.file-fact {
  margin: 0;
  color: var(--ds-ink-2);
  font-weight: 400;
}
.file-fact.is-known {
  color: var(--ds-teal);
  font-weight: 600;
}
.file-intro {
  margin: 12px 0 0;
  line-height: 24px;
  text-wrap: pretty;
}
.file-group {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.file-group-label {
  margin: 0;
  font: inherit;
  color: var(--ds-ink-2);
}
.file-group-heading {
  margin: 0;
  font-family: var(--ds-font-display);
  font-weight: 400;
  font-size: 21px;
  line-height: 1.1;
  letter-spacing: -0.025em;
}
.file-rows {
  display: flex;
  flex-direction: column;
}
.file-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--ds-hairline);
}
.file-row:last-child {
  border-bottom: 0;
}
.file-row-slot {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 3px;
  background: var(--ds-raised);
  overflow: hidden;
}
.file-row-slot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.file-row-slot.is-number {
  width: 24px;
  height: auto;
  background: none;
  color: var(--ds-ink-2);
}
.file-row-slot.is-number::after,
.file-step-n::after {
  content: ".";
}
.file-row-main {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}
.file-row-detail {
  color: var(--ds-ink-2);
}
.file-row-value {
  flex: none;
  font-weight: 600;
  text-align: right;
}
.file-facts {
  display: flex;
  flex-direction: column;
  margin: 0;
}
.file-facts > div {
  display: grid;
  grid-template-columns: min(var(--file-col), 38%) minmax(0, 1fr);
  padding: 12px 0;
  border-bottom: 1px solid var(--ds-hairline);
}
.file-facts > div:last-child {
  border-bottom: 0;
}
.file-facts dt {
  color: var(--ds-ink-2);
  padding-right: 16px;
}
.file-facts dd {
  margin: 0;
}
.file-text {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.file-heading {
  display: flex;
  flex-direction: column;
}
.file-p {
  margin: 0;
  line-height: 24px;
  text-wrap: pretty;
}
.file-bullets {
  margin: 0;
  padding: 0 0 0 20px;
  list-style: disc;
  display: flex;
  flex-direction: column;
  gap: 8px;
  line-height: 24px;
}
.file-bullets li {
  display: list-item;
  padding-left: 2px;
}
.file-bar {
  position: relative;
  padding-left: 16px;
}
.file-bar::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  border-radius: 1px;
  background: var(--ds-hairline);
}
.file-key {
  margin: 0;
  font-weight: 600;
  line-height: 24px;
}
.file-figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.file-figure img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 4px;
  background: var(--ds-raised);
}
.file-caption,
.file-figure figcaption {
  margin: 0;
  color: var(--ds-ink-2);
  font-size: var(--file-small);
  line-height: 20px;
  text-wrap: pretty;
}
.file-photos + .file-caption,
.file-strip + .file-caption {
  margin-top: 12px;
}
.file-card > :is(.file-photos, .file-strip) + .file-caption {
  margin-top: -36px;
}
.file-text > :is(.file-photos, .file-strip) + .file-caption {
  margin-top: -20px;
}
.file-group > :is(.file-photos, .file-strip) + .file-caption,
.file-chart + .file-caption,
.file-table-scroll + .file-caption {
  margin-top: -12px;
}
.file-rule {
  margin: 8px 0;
  border: 0;
  height: 1px;
  background: var(--ds-hairline);
}
.file-link {
  color: var(--ds-ink);
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--ds-ink-4);
}
.file-link:hover {
  text-decoration-color: currentColor;
}
.file-callout {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-wrap: pretty;
}
.file-callout[data-tone=warning] {
  padding: 16px;
  border-radius: 8px;
  background: var(--ds-raised);
  color: var(--ds-ink);
}
.file-callout[data-tone=warning]::before {
  display: none;
}
.file-callout[data-tone=danger] {
  color: var(--ds-red);
}
.file-callout[data-tone=danger]::before {
  background: var(--ds-red);
}
.file-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
}
.file-steps li {
  display: flex;
  gap: 8px;
  padding: 12px 0;
  border-bottom: 1px solid var(--ds-hairline);
  text-wrap: pretty;
}
.file-steps li:last-child {
  border-bottom: 0;
}
.file-steps li > span:last-child {
  min-width: 0;
  flex: 1;
  overflow-wrap: anywhere;
}
.file-step-n {
  flex: none;
  width: 24px;
  color: var(--ds-ink-2);
}
.file-table-scroll {
  position: relative;
  overflow-x: auto;
  margin-inline: calc(-1 * var(--file-pad-x));
  padding-inline: var(--file-pad-x) 0;
  scroll-padding-inline: var(--file-pad-x) 0;
}
.file-table {
  table-layout: fixed;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}
.file-table th,
.file-table td {
  padding: 12px 16px 12px 0;
  border-bottom: 1px solid var(--ds-hairline);
  text-align: left;
  vertical-align: top;
  font-weight: 350;
  overflow-wrap: anywhere;
}
.file-table tbody tr:last-child th,
.file-table tbody tr:last-child td {
  border-bottom: 0;
}
.file-table thead th {
  padding-top: 0;
}
.file-table thead th .file-secondary {
  margin-left: 8px;
}
.file-table tbody th {
  color: var(--ds-ink-2);
}
.file-table td.is-best,
.file-table td.file-product-price {
  font-weight: 600;
}
.file-table.is-products {
  font-variant-numeric: normal;
}
.file-table.is-products thead th {
  padding-bottom: 20px;
  vertical-align: top;
}
.file-cell-label {
  display: block;
  color: var(--ds-ink-2);
  font-size: var(--file-small);
  line-height: 20px;
  font-weight: 350;
}
.file-product-head {
  display: flex;
  flex-direction: column;
}
.file-product-head-photo {
  position: relative;
  display: block;
  margin-bottom: 12px;
}
.file-product-head-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
  background: var(--ds-raised);
}
.file-product-head-photo > .file-product-empty {
  display: grid;
  aspect-ratio: 1;
  border-radius: 12px;
  background: var(--ds-raised);
  padding: 16px;
}
.file-photos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  gap: 8px;
  min-width: 0;
}
.file-photos img {
  display: block;
  width: 100%;
  min-width: 0;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  background: var(--ds-raised);
}
.file-photos[data-layout=strip] {
  display: flex;
  align-items: flex-start;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.file-photos[data-layout=strip]::-webkit-scrollbar {
  display: none;
}
.file-photos[data-layout=strip] img {
  flex: 0 0 auto;
  width: 85%;
  max-width: 480px;
  aspect-ratio: auto;
  scroll-snap-align: start;
}
.file-photo-zoom {
  all: unset;
  box-sizing: border-box;
  display: block;
  min-width: 0;
  border-radius: 8px;
  cursor: zoom-in;
}
.file-photos[data-layout=strip] > .file-photo-zoom {
  flex: 0 0 auto;
  width: 85%;
  max-width: 480px;
  scroll-snap-align: start;
}
.file-photos[data-layout=strip] > .file-photo-zoom img {
  width: 100%;
  max-width: none;
}
.file-photos.is-single > .file-photo-zoom {
  width: 100%;
  max-width: none;
}
.file-photo-zoom:focus-visible {
  outline: 2px solid var(--ds-ink);
  outline-offset: -2px;
}
[data-can-drag],
[data-can-drag] .file-product-toggle,
[data-can-drag] .file-product-zoom,
[data-can-drag] .file-photo-zoom {
  cursor: grab;
}
[data-drag-scroll] {
  position: relative;
}
[data-drag-scroll][data-dragging] {
  scroll-snap-type: none;
  user-select: none;
}
[data-dragging],
[data-dragging] .file-product-toggle,
[data-dragging] .file-product-zoom,
[data-dragging] .file-photo-zoom {
  cursor: grabbing;
}
.file-photos.is-single img {
  width: 100%;
  max-width: none;
  aspect-ratio: auto;
}
.file-bleed {
  margin-inline: calc(-1 * var(--file-pad-x));
  padding-inline: var(--file-pad-x);
  scroll-padding-inline: var(--file-pad-x);
}
.file-strip {
  position: relative;
  min-width: 0;
}
.file-strip[data-bleed] {
  margin-inline: calc(-1 * var(--file-pad-x));
}
.file-strip > .file-bleed {
  margin-inline: 0;
}
.file-strip-arrows {
  position: absolute;
  inset: 50% var(--file-strip-arrows-inset, 12px) auto;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
}
.file-strip-arrow {
  all: unset;
  box-sizing: border-box;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ds-page);
  color: var(--ds-ink);
  box-shadow: var(--ds-elevation-0);
  cursor: pointer;
  pointer-events: auto;
  transition:
    opacity 160ms ease-out,
    transform 160ms ease-out,
    visibility 0s;
  animation: file-strip-arrow-in 160ms ease-out;
}
.file-strip-arrow:disabled {
  opacity: 0;
  transform: scale(0.95);
  visibility: hidden;
  transition:
    opacity 160ms ease-out,
    transform 160ms ease-out,
    visibility 0s 160ms;
}
@keyframes file-strip-arrow-in {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
}
@media (prefers-reduced-motion: reduce) {
  .file-strip-arrow,
  .file-strip-arrow:disabled {
    transition: none;
    animation: none;
  }
}
.file-strip-arrow:focus-visible {
  outline: 2px solid var(--ds-ink);
  outline-offset: 2px;
}
.file-recommendations {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  gap: 20px;
  align-items: start;
}
.file-recommendation {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--ds-hairline);
  border-radius: 18px;
  background: var(--ds-white);
}
.file-recommendation-header {
  margin-bottom: 20px;
}
.file-recommendation-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 24px;
  margin-bottom: 10px;
}
.file-recommendation-number {
  flex: none;
  margin-right: 4px;
  color: var(--ds-ink-2);
  font-size: var(--file-small);
  font-weight: 500;
}
.file-recommendation-eyebrow {
  min-width: 0;
  margin: 0;
  color: var(--ds-ink-2);
  font-size: var(--file-small);
  line-height: 18px;
  overflow-wrap: anywhere;
}
.file-recommendation-badge {
  flex: none;
  margin-left: auto;
  padding: 2px 7px;
  border: 1px solid var(--ds-hairline);
  border-radius: 4px;
  background: var(--ds-page);
  color: var(--ds-ink);
  font-size: var(--file-small);
  line-height: 18px;
  font-weight: 500;
}
.file-recommendation-title {
  margin: 0;
  font-family: var(--ds-font-display);
  font-size: 24px;
  line-height: 1.15;
  font-weight: 400;
  letter-spacing: -0.025em;
  overflow-wrap: anywhere;
}
.file-recommendation-photos {
  margin: 0 0 20px;
}
.file-recommendation-photos .file-photos:not(.is-single) img {
  aspect-ratio: 4 / 3;
}
.file-recommendation-photos > figcaption {
  margin-top: 12px;
}
.file-recommendation-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.file-recommendation-content > * {
  min-width: 0;
}
.file-recommendation-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--ds-hairline);
}
.file-recommendation-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.file-chart {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  border-radius: 8px;
  background: var(--ds-white);
  font-size: var(--file-small);
  line-height: 20px;
}
.file-chart-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  color: var(--ds-ink-2);
}
.file-chart-head > span:first-child {
  min-width: 0;
  text-wrap: pretty;
}
.file-chart-head > span + span {
  flex: none;
  white-space: nowrap;
}
.file-chart svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.file-chart.is-drawn {
  max-width: 420px;
}
.file-chart-axis {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--ds-ink-2);
  white-space: nowrap;
}
.file-sparklines {
  display: flex;
  flex-direction: column;
}
.file-sparkline {
  display: grid;
  grid-template-columns: 1fr 110px 56px;
  gap: 16px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--ds-hairline);
}
.file-sparkline:last-child {
  border-bottom: 0;
}
.file-sparkline svg {
  width: 110px;
  height: 32px;
}
.file-sparkline-delta {
  text-align: right;
  font-weight: 600;
}
.file-sparkline.is-highlight .file-sparkline-name {
  font-weight: 600;
}
.file-sparkline.is-highlight .file-sparkline-delta {
  color: var(--ds-teal);
  font-weight: 600;
}
.file-ranges {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.file-range {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 12px;
  align-items: center;
}
.file-range-label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.file-range-track {
  position: relative;
  height: 20px;
}
.file-range-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 9px;
  height: 1px;
  background: var(--ds-hairline);
}
.file-range-band {
  position: absolute;
  top: 7px;
  height: 6px;
  border-radius: 3px;
  background: var(--ds-page);
}
.file-range-now {
  position: absolute;
  top: 4px;
  width: 12px;
  height: 12px;
  margin-left: -6px;
  border-radius: 50%;
  background: var(--file-series, var(--ds-ink-2));
}
.file-range.is-highlight .file-range-now {
  background: var(--ds-teal);
}
.file-range-scale {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 12px;
}
.file-stack-bar {
  display: flex;
  height: 16px;
  gap: 2px;
  border-radius: 3px;
  overflow: hidden;
}
.file-stack-parts {
  display: flex;
  flex-direction: column;
}
.file-stack-part {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--ds-hairline);
}
.file-stack-part:last-child {
  border-bottom: 0;
}
.file-stack-swatch {
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  box-shadow: inset 0 0 0 1px var(--ds-hairline);
}
.file-stack-part span:nth-child(2) {
  flex: 1;
}
.file-stack-share {
  color: var(--ds-ink-2);
}
.file-button {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 32px;
  padding: 0 16px;
  border: 1px solid var(--ds-hairline);
  border-radius: 4px;
  background: var(--ds-white);
  color: var(--ds-ink);
  font: inherit;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.01em;
  white-space: nowrap;
  text-decoration: none;
  align-self: flex-start;
  max-width: 100%;
  box-shadow: var(--ds-shadow-control);
  cursor: pointer;
  transition:
    background-color 120ms,
    border-color 120ms,
    color 120ms,
    transform 120ms;
}
.file-button.is-compact {
  padding: 0 16px;
}
.file-close {
  position: relative;
  flex: none;
  align-self: center;
  width: 32px;
  padding: 0;
}
.file-close::before {
  content: "";
  position: absolute;
  inset: -6px;
}
.file-button.is-pill {
  border-radius: 999px;
  --file-button-icon-pad: 10px;
}
.file-button.is-pill:has(> svg:first-child, > .file-button-slot > .file-button-face:last-child > svg:first-child) {
  padding-inline-start: var(--file-button-icon-pad);
}
.file-button.is-pill:has(> svg:last-child, > .file-button-slot > .file-button-face:last-child > svg:last-child) {
  padding-inline-end: var(--file-button-icon-pad);
}
.file-button[data-state] {
  overflow: hidden;
  --file-button-inset: 8px;
}
.file-button-slot {
  display: inline-grid;
  grid-template-columns: minmax(0, auto);
  min-width: 0;
  transition: width var(--file-button-roll) cubic-bezier(0.2, 0.8, 0.2, 1);
}
.file-button-face {
  grid-area: 1 / 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  max-width: 100%;
  justify-self: start;
}
.file-button-label.is-short {
  display: none;
}
@container file-actions (width < 150px) {
  .file-button-face:has(> .is-short) > .file-button-label:not(.is-short) {
    display: none;
  }
  .file-button-label.is-short {
    display: inline;
  }
}
.file-button-face.is-leaving {
  animation: file-button-out var(--file-button-roll) cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
.file-button-face.is-entering {
  animation: file-button-in var(--file-button-roll) cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes file-button-out {
  to {
    transform: translateY(calc(-100% - var(--file-button-inset)));
    opacity: 0;
  }
}
@keyframes file-button-in {
  from {
    transform: translateY(calc(100% + var(--file-button-inset)));
  }
}
.file-spin {
  animation: file-spin 900ms linear infinite;
}
@keyframes file-spin {
  to {
    transform: rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .file-button-slot {
    transition: none;
  }
  .file-button-face.is-entering,
  .file-spin {
    animation: none;
  }
  .file-button-face.is-leaving {
    display: none;
  }
}
.file-button svg {
  flex: none;
}
.file-button > span:not(.file-button-slot),
.file-button-label {
  min-width: 0;
  overflow-x: clip;
  text-overflow: ellipsis;
}
@media (hover: hover) {
  .file-button:hover {
    transform: scale(1.05);
  }
}
.file-button[data-variant=primary] {
  background: var(--ds-ink);
  border-color: var(--ds-ink);
  color: var(--ds-page);
}
.file-button[data-variant=ghost] {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}
.file-button[aria-pressed=true] {
  background: var(--ds-teal);
  border-color: var(--ds-teal);
  color: var(--ds-white);
}
.file-button:disabled:not([data-state]) {
  background: transparent;
  border-color: var(--ds-hairline);
  color: var(--ds-ink-4);
  box-shadow: none;
  cursor: default;
  transform: none;
}
.file-button[data-state]:disabled {
  cursor: default;
  transform: none;
}
.file-button.is-unavailable:disabled {
  text-decoration: line-through;
}
.file-control {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.file-control-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.file-control-label {
  color: var(--ds-ink-2);
}
.file-choice-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.file-field {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  height: 40px;
  padding: 0 16px;
  border: 1px solid var(--ds-hairline);
  border-radius: 4px;
  background: var(--ds-white);
  color: inherit;
  font: inherit;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.01em;
  outline: none;
}
.file-field:focus {
  border-color: var(--ds-teal);
}
.file-slider {
  width: 100%;
  height: 2px;
  margin: 8px 0;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 1px;
  background:
    linear-gradient(
      to right,
      var(--ds-ink) var(--file-slider-fill, 50%),
      var(--ds-hairline) var(--file-slider-fill, 50%));
  outline: none;
  accent-color: var(--ds-ink);
}
.file-slider::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--ds-white);
  border: 1px solid var(--ds-hairline);
  box-shadow: var(--ds-shadow-control);
  cursor: pointer;
}
.file-slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--ds-white);
  border: 1px solid var(--ds-hairline);
  cursor: pointer;
}
.file-closing {
  margin: 0;
  color: var(--ds-ink-2);
}
.file-wordmark {
  display: block;
  color: var(--ds-ink);
}
.file-product {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.file-product-toggle,
.file-product-preview {
  all: unset;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.file-product-preview {
  cursor: default;
}
@media (hover: hover) {
  :is(a, button):hover .file-hover-underline {
    text-decoration: underline;
    text-underline-offset: 3px;
  }
}
.file-product.is-card {
  gap: 20px;
}
.file-group > .file-product.is-card + .file-product.is-card {
  margin-top: 24px;
  padding-top: 48px;
  border-top: 1px solid var(--ds-hairline);
}
.file-product-media {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  container-type: inline-size;
}
.file-product-media .file-photos:not(.is-single) {
  height: min(420px, 100cqw);
}
.file-product-media .file-photos img {
  width: auto;
  height: 100%;
  max-width: none;
  object-fit: contain;
  border-radius: 12px;
}
.file-product-media .file-photos.is-single img {
  width: 100%;
  height: auto;
  max-height: calc(100cqw * 4 / 3);
  object-fit: cover;
}
.file-product-zoom {
  all: unset;
  box-sizing: border-box;
  display: block;
  flex: none;
  border-radius: 12px;
  cursor: zoom-in;
}
.file-photos:not(.is-single) > .file-product-zoom {
  height: 100%;
}
.file-photos.is-single > .file-product-zoom {
  width: 100%;
}
.file-product-thumbs {
  display: none;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 1px;
  margin: -1px;
}
.file-product-thumbs::-webkit-scrollbar {
  display: none;
}
.file-product-thumb {
  all: unset;
  box-sizing: border-box;
  flex: 0 0 auto;
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 0 0 1px var(--ds-hairline);
}
.file-product-thumb[aria-pressed=true] {
  box-shadow: 0 0 0 1px var(--ds-ink-3);
}
.file-product-thumbs img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--ds-raised);
}
.file-product-photo {
  position: relative;
  display: block;
  width: 100%;
  container-type: inline-size;
}
.file-product-photo img,
.file-product-photo .file-product-empty {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 12px;
  background: var(--ds-raised);
}
.file-product-photo img {
  display: block;
  height: auto;
  max-height: calc(100cqw * 4 / 3);
  aspect-ratio: auto;
}
.file-product.is-tile .file-product-photo img {
  aspect-ratio: 1;
  object-fit: cover;
}
.file-product.is-tile .file-product-photo .file-product-empty {
  aspect-ratio: 1;
}
.file-product-empty {
  display: grid;
  place-items: center;
  color: var(--ds-ink-2);
  text-align: center;
  padding: 40px 16px 16px;
  box-sizing: border-box;
}
.file-tags {
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  display: flex;
  gap: 4px;
  align-items: center;
}
.file-pill {
  box-sizing: border-box;
  min-width: 24px;
  height: 24px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background: var(--ds-ink);
  color: var(--ds-white);
  font-size: var(--file-text);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.01em;
}
.file-pill.is-pick {
  background: var(--ds-ink);
}
.file-badge {
  box-sizing: border-box;
  height: 24px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  border-radius: 4px;
  background: var(--ds-white);
  color: var(--ds-ink);
  font-size: var(--file-text);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.01em;
  box-shadow: var(--ds-elevation-0);
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.file-product-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  width: 100%;
  min-width: 0;
}
.file-product-name {
  flex: 1;
  min-width: 0;
  font-weight: 600;
  text-wrap: pretty;
}
.file-product .file-product-name {
  overflow-wrap: break-word;
}
.file-product-toggle .file-product-note,
.file-product-preview .file-product-note {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.file-product-price {
  flex: none;
  font-weight: 600;
  color: var(--ds-teal);
}
.file-product-brand {
  color: var(--ds-ink-2);
  font-size: var(--file-small);
  line-height: 20px;
}
.file-product.is-tile .file-product-brand {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.file-product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 16px;
}
.file-product-carousel {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.file-product-carousel::-webkit-scrollbar {
  display: none;
}
.file-product-carousel > .file-product {
  flex: none;
  width: clamp(200px, 29vw, 320px);
  scroll-snap-align: start;
}
.file-product-detail {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.file-product-gallery {
  position: relative;
  min-width: 0;
  container-type: inline-size;
}
.file-product-gallery .file-photos {
  overscroll-behavior-x: contain;
  scroll-snap-type: none;
  border-radius: 12px;
}
.file-product-gallery .file-photos:not(.is-single) {
  height: min(360px, 100cqw);
}
.file-product-gallery .file-photos img {
  object-fit: contain;
  max-width: none;
  scroll-snap-align: none;
  border-radius: 12px;
}
.file-product-gallery .file-photos:not(.is-single) img {
  width: auto;
  height: 100%;
}
.file-product-gallery .file-photos.is-single img {
  max-height: calc(100cqw * 4 / 3);
  object-fit: cover;
}
.file-product-gallery > .file-product-empty {
  width: 100%;
  aspect-ratio: 1;
  background: var(--ds-raised);
  border-radius: 12px;
}
.file-product-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.file-product-copy {
  display: flex;
  flex-direction: column;
}
.file-product-note {
  margin: 8px 0 0;
  text-wrap: pretty;
}
.file-product-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
  container: file-actions / inline-size;
}
.file-product > .file-product-actions {
  margin-top: auto;
  padding-top: 14px;
}
.file-product.is-card > .file-product-actions {
  padding-top: 2px;
}
.file-product-actions .file-caption {
  margin: 0;
  font-size: var(--file-small);
  line-height: 18px;
}
.file-product-actions .file-caption button {
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  min-height: 44px;
}
.file-product-source {
  display: block;
}
.file-product-source svg {
  display: inline-block;
  vertical-align: -0.125em;
  margin-left: 3px;
}
.file-product-detail .file-product-name {
  font-size: 22px;
  line-height: 1.25;
}
.file-product-modal {
  box-sizing: border-box;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  border-radius: 0;
  padding: 0 24px 24px;
  border: 0;
  background: var(--ds-white);
  color: var(--ds-ink);
  box-shadow: var(--ds-shadow-modal);
  overflow: auto;
  overscroll-behavior: contain;
  font-family: var(--ds-font-text);
  font-size: var(--file-text);
  font-weight: 350;
  line-height: 24px;
  letter-spacing: -0.01em;
}
.file-product-modal:focus {
  outline: none;
}
.file-product-modal::backdrop {
  background: var(--ds-scrim);
}
.file-product-modal-header {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-inline: -24px;
  padding: 12px;
  background: var(--ds-white);
}
.file-product-modal :focus-visible {
  outline: 2px solid var(--ds-ink);
  outline-offset: 2px;
}
.file-product-zoom:focus-visible {
  outline-offset: -2px;
}
.file-variants {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.file-variant {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.file-variant-label {
  display: flex;
  gap: 6px;
  align-items: baseline;
  color: var(--ds-ink-2);
}
.file-variant-label b {
  font-weight: 400;
  color: var(--ds-ink);
}
.file-variant-label em {
  font-style: normal;
  color: var(--ds-ink-3);
}
.file-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 3px 0 0 3px;
}
.file-swatch,
.file-dot {
  all: unset;
  position: relative;
  box-sizing: border-box;
  flex: none;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ds-ink) 12%, transparent);
}
.file-swatch {
  width: 24px;
  height: 24px;
  cursor: pointer;
}
.file-swatch::after,
.file-dot::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px transparent;
  transition: box-shadow 120ms;
}
.file-swatch[aria-pressed=true]::after {
  box-shadow: 0 0 0 1.25px var(--ds-ink);
}
.file-swatch.is-out::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -2px;
  bottom: -2px;
  width: 1.5px;
  background: var(--ds-white);
  transform: translateX(-50%) rotate(45deg);
  box-shadow: 0 0 0 0.5px color-mix(in srgb, var(--ds-ink) 25%, transparent);
}
.file-swatch:focus-visible,
.file-dot:focus-visible {
  outline: none;
}
.file-swatch:focus-visible::after,
.file-dot:focus-visible::after {
  box-shadow: 0 0 0 2px var(--ds-ink);
}
.file-sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.file-size {
  height: 28px;
  min-width: 36px;
  padding: 0 10px;
  font-size: var(--file-small);
}
.file-size[aria-pressed=true] {
  background: var(--ds-ink);
  border-color: var(--ds-ink);
  color: var(--ds-page);
}
.file-stock {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--ds-ink-2);
  font-size: var(--file-small);
  line-height: 20px;
}
.file-stock::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ds-ink-4);
}
.file-stock.is-in::before {
  background: var(--ds-teal);
}
.file-stock.is-low::before {
  background: var(--file-low-stock);
}
.file-stock.is-out {
  color: var(--ds-ink);
}
.file-stock.is-out::before {
  background: var(--ds-ink);
}
.file-price-was {
  margin-left: 6px;
  color: var(--ds-ink-3);
  font-weight: 350;
  text-decoration: line-through;
}
.file-dots {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  min-height: 20px;
}
.file-dot {
  width: 16px;
  height: 16px;
}
button.file-dot {
  cursor: pointer;
}
.file-dot.is-current::after {
  box-shadow: 0 0 0 1px var(--ds-ink);
}
.file-dots-more {
  margin-left: 2px;
  color: var(--ds-ink-3);
  font-size: var(--file-small);
  line-height: 20px;
}
.file-dots-label {
  min-width: 0;
  margin-left: 4px;
  overflow: hidden;
  color: var(--ds-ink-2);
  font-size: var(--file-small);
  line-height: 20px;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.file-product.is-tile > .file-dots,
.file-table.is-products thead .file-dots {
  margin-top: 8px;
}
.file-viewer {
  box-sizing: border-box;
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  flex-direction: column;
  overflow: hidden;
  background: transparent;
  color: var(--ds-white);
  font-family: var(--ds-font-text);
  font-size: var(--file-text);
  font-weight: 350;
  line-height: 24px;
  letter-spacing: -0.01em;
  touch-action: none;
  overscroll-behavior: contain;
}
.file-viewer[open] {
  display: flex;
}
.file-viewer:focus {
  outline: none;
}
.file-viewer::backdrop {
  background: color-mix(in srgb, var(--ds-ink) 80%, transparent);
  transition: background-color 200ms ease-out;
}
.file-viewer[data-zoomed]::backdrop {
  background: var(--ds-ink);
}
.file-viewer-bar,
.file-viewer-footer {
  transition: opacity 200ms ease-out;
}
.file-viewer[data-zoomed] :is(.file-viewer-bar, .file-viewer-footer) {
  opacity: 0;
  visibility: hidden;
  transition: opacity 200ms ease-out, visibility 0s 200ms;
}
.file-viewer-bar {
  display: flex;
  justify-content: flex-end;
  padding: calc(12px + env(safe-area-inset-top, 0px)) 12px 8px;
}
.file-viewer-stage {
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  overflow: hidden;
  touch-action: none;
}
.file-viewer-stage img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  border-radius: 12px;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
  cursor: zoom-in;
  will-change: transform;
  animation: file-viewer-in 200ms ease-out;
}
.file-viewer[data-zoomed] .file-viewer-stage {
  overflow: visible;
}
.file-viewer[data-zoomed] .file-viewer-stage img {
  cursor: zoom-out;
}
@keyframes file-viewer-in {
  from {
    opacity: 0.35;
  }
}
.file-viewer-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 4px 20px calc(16px + env(safe-area-inset-bottom, 0px));
  text-align: center;
  font-size: var(--file-text);
  line-height: 20px;
}
.file-viewer-steps {
  display: flex;
  align-items: center;
  gap: 8px;
  font-variant-numeric: tabular-nums;
}
.file-viewer-title {
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: color-mix(in srgb, var(--ds-white) 72%, transparent);
}
.file-viewer-count {
  min-width: 64px;
  text-align: center;
}
.file-viewer .file-viewer-button {
  width: 32px;
  padding: 0;
  align-self: center;
  color: var(--ds-white);
}
@media (hover: hover) {
  .file-viewer .file-viewer-button:not(:disabled):hover {
    background: color-mix(in srgb, var(--ds-white) 12%, transparent);
  }
}
.file-viewer .file-viewer-button:disabled {
  border-color: transparent;
  background: transparent;
  color: color-mix(in srgb, var(--ds-white) 30%, transparent);
}
.file-viewer .file-viewer-button:focus-visible {
  outline: 2px solid var(--ds-white);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  .file-viewer-stage img {
    animation: none;
  }
  .file-viewer::backdrop,
  .file-viewer-bar,
  .file-viewer-footer,
  .file-viewer[data-zoomed] :is(.file-viewer-bar, .file-viewer-footer) {
    transition: none;
  }
}
[data-quiet-focus]:focus {
  outline: none !important;
}
.file-image {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px 16px 16px;
  background: var(--ds-white);
  color: var(--ds-ink);
  border-radius: 24px;
  overflow: hidden;
  font-family: var(--ds-font-text);
  font-size: var(--file-text);
  font-weight: 350;
  line-height: 24px;
  letter-spacing: -0.01em;
}
.file-image[data-ratio=portrait] {
  width: 390px;
  height: 480px;
}
.file-image[data-ratio=square] {
  width: 390px;
  height: 390px;
}
.file-image[data-ratio=landscape] {
  width: 480px;
  height: 360px;
}
.file-image-body {
  display: flex;
  flex-direction: column;
  gap: 36px;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}
.file-image-body > .file-card {
  padding: 0;
  max-width: none;
  background: transparent;
}
.file-image-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex: none;
  margin: 0 0 -2px;
  padding: 16px 0 4px;
  border-top: 1px solid var(--ds-hairline);
  color: var(--ds-ink-2);
}
.file-image-footer > span {
  color: var(--ds-ink-3);
}
.file-image-footer > span:empty {
  display: none;
}
.file-image-footer > span:empty + .file-wordmark {
  margin-left: auto;
}
.file-product-image-photo {
  position: relative;
  flex: 1;
  min-height: 0;
}
.file-product-image-photo img,
.file-product-image-photo .file-product-empty {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 20px;
  background: var(--ds-raised);
  aspect-ratio: auto;
}
.file-product-image-photo img {
  display: block;
}
.file-product-image-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  box-sizing: border-box;
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--ds-ink);
  color: var(--ds-white);
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.01em;
}
.file-product-image-tag.is-pick {
  background: var(--ds-ink);
}
.file-product-image-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: none;
}
.file-product-image .file-image-body {
  gap: 16px;
}
.file-product-image .file-image-footer {
  padding-top: 10px;
  font-size: var(--file-small);
  line-height: 18px;
}
.file-product-image .file-product-name {
  overflow-wrap: break-word;
}
.file-product-image-variant {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  margin-top: 6px;
}
.file-product-image-variant .file-dots {
  gap: 5px;
  padding: 1px 0 1px 4px;
}
.file-product-image-variant .file-dot {
  width: 14px;
  height: 14px;
}
.file-product-image-size {
  flex: none;
  margin-left: auto;
  color: var(--ds-ink-2);
  font-size: var(--file-small);
  line-height: 20px;
}
.file-image .file-card {
  font-size: var(--file-small);
  line-height: 20px;
}
.file-image .file-title {
  font-size: 24px;
}
.file-image .file-group-heading {
  font-size: 18px;
}
.file-image .file-intro,
.file-image .file-p,
.file-image .file-bullets,
.file-image .file-key {
  line-height: 20px;
}
@media (min-width: 768px) {
  .file-ground {
    padding: 36px;
  }
  .file-card {
    --file-pad-x: 36px;
    padding: 36px;
  }
  .file-card[data-width=phone] {
    --file-pad-x: 24px;
    padding: 24px 24px;
  }
  .file-title {
    font-size: 36px;
  }
  .file-intro,
  .file-closing,
  .file-p {
    max-width: 72ch;
  }
  .file-product-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
  .file-product-detail {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 16px 28px;
    align-items: start;
  }
  .file-product-modal {
    width: min(920px, calc(100% - 32px));
    height: auto;
    max-height: calc(100dvh - 32px);
    margin: auto;
    border-radius: 16px;
  }
  .file-product.is-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 28px;
    align-items: start;
  }
  .file-bleed {
    padding-inline: var(--file-pad-x) 0;
    scroll-padding-inline: var(--file-pad-x) 0;
  }
  .file-product-media .file-photos,
  .file-product-gallery .file-photos {
    margin-inline: 0;
    padding-inline: 0;
  }
  .file-product-media > .file-strip,
  .file-product-gallery > .file-strip {
    margin-inline: 0;
  }
  .file-product-detail .file-product-info {
    position: sticky;
    top: 56px;
  }
  .file-product-gallery .file-photos {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    height: auto;
    overflow: visible;
  }
  .file-product-gallery .file-photos:not(.is-single) {
    height: auto;
  }
  .file-product-gallery .file-photos img,
  .file-product-gallery .file-photos:not(.is-single) img {
    width: 100%;
    height: auto;
  }
  .file-product-media .file-photos {
    display: block;
    overflow: visible;
    height: auto;
  }
  .file-product-media .file-photos:not(.is-single) {
    height: auto;
  }
  .file-product-media .file-photos > .file-product-zoom:not(:first-child) {
    display: none;
  }
  .file-product-media .file-photos > .file-product-zoom,
  .file-product-gallery .file-photos > .file-product-zoom {
    width: 100%;
    height: auto;
  }
  .file-product-media .file-photos img {
    width: 100%;
    height: auto;
    max-height: calc(100cqw * 4 / 3);
    object-fit: cover;
  }
  .file-product-thumbs {
    display: flex;
  }
}
@media (max-width: 600px) {
  .file-card .file-button,
  .file-card .file-product-toggle {
    min-height: 44px;
  }
  .file-card .file-button[data-state] {
    --file-button-inset: 14px;
  }
  .file-card .file-button.is-pill {
    --file-button-icon-pad: 14px;
  }
  .file-viewer .file-viewer-button:not(.file-close) {
    width: 44px;
    height: 44px;
  }
  .file-close,
  .file-card .file-close {
    height: 32px;
    min-height: 32px;
  }
  .file-swatches {
    gap: 12px;
  }
  .file-size,
  .file-card .file-size {
    height: 32px;
    min-height: 32px;
    min-width: 38px;
  }
}
@media print {
  .file-ground {
    background: var(--ds-white);
    padding: 0;
  }
  .file-card,
  .file-ground .file-card {
    box-shadow: none;
    max-width: none;
    border-radius: 0;
  }
  .file-photos,
  .file-table-scroll {
    overflow: visible;
  }
  .file-strip-arrows {
    display: none;
  }
}
.file-figure[data-fit=contain] img {
  aspect-ratio: auto;
  object-fit: contain;
}
.file-data-table {
  min-width: 100%;
}
.file-data-table caption {
  text-align: start;
  color: var(--ds-ink-2);
  padding-bottom: 16px;
}
.file-data-table th,
.file-data-table td {
  min-width: 120px;
  max-width: 32ch;
  white-space: normal;
  overflow-wrap: anywhere;
}
.file-data-table [data-numeric] {
  text-align: end;
  font-variant-numeric: tabular-nums;
}
.file-data-table th button {
  background: none;
  border: 0;
  padding: 10px 0;
  color: inherit;
  font: inherit;
  text-align: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.file-compare {
  --file-compare-col: var(--file-product-col);
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: var(--file-compare-col);
  column-gap: 16px;
  margin-inline: calc(-1 * var(--file-pad-x));
  padding: 0 var(--file-pad-x);
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-left: var(--file-pad-x);
  scrollbar-width: none;
}
.file-compare::-webkit-scrollbar {
  display: none;
}
.file-compare:focus,
.file-compare-head:focus:not(:focus-visible) {
  outline: none;
}
.file-compare-column,
.file-compare-column > dl {
  display: grid;
  grid-row: 1 / -1;
  grid-template-rows: subgrid;
  min-width: 0;
  margin: 0;
}
.file-compare-column {
  scroll-snap-align: start;
}
.file-compare-column > dl {
  grid-row: 2 / -1;
}
.file-compare-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 0 12px;
  border: 0;
  background: none;
  text-align: left;
  color: inherit;
  font: inherit;
}
button.file-compare-head {
  cursor: pointer;
}
.file-compare-photo {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: clip;
  background: var(--ds-raised);
}
.file-compare-photo > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.file-compare-photo-name {
  box-sizing: border-box;
  display: grid;
  place-items: center;
  height: 100%;
  padding: 16px;
  text-align: center;
  overflow-wrap: anywhere;
  font-family: var(--ds-font-display);
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ds-ink-2);
}
.file-compare-tags {
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  display: flex;
  gap: 4px;
  align-items: flex-start;
}
.file-compare-tags > .file-badge {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.file-compare-column.is-selected .file-compare-photo {
  box-shadow: inset 0 0 0 2px var(--ds-ink);
}
.file-compare-tags .file-badge {
  gap: 4px;
}
.file-compare-open {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-top: -8px;
  color: var(--ds-ink);
  line-height: 20px;
}
.file-compare-head > strong {
  font-weight: 600;
  line-height: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.file-compare-cell {
  padding: 8px 0;
  border-top: 1px solid var(--ds-hairline);
}
.file-compare-cell > dt {
  margin: 0;
}
.file-compare-cell > dd {
  margin: 0;
  display: flex;
  flex-direction: column;
  font-size: var(--file-text);
  line-height: 24px;
}
.file-compare-cell.is-best > dd {
  font-weight: 600;
}
.file-chart details {
  border-block: 1px solid var(--ds-hairline);
  padding: 12px 0;
}
.file-chart details > summary {
  cursor: pointer;
  min-height: 24px;
  padding: 10px 0;
  font-weight: 600;
}
.file-chart details > :not(summary) {
  margin-top: 12px;
}
@media print {
  .file-data-table {
    min-width: 0;
  }
  .file-data-table th,
  .file-data-table td {
    min-width: 0;
  }
}
.file-scaled-chart {
  max-width: 640px;
  width: 100%;
  box-sizing: border-box;
}
.file-signed-bars {
  display: grid;
  gap: 14px;
}
.file-signed-bars > div {
  display: grid;
  grid-template-columns: minmax(50px, 1fr) minmax(60px, 2fr) minmax(30px, auto);
  align-items: center;
  gap: 12px;
}
.file-signed-bars strong {
  text-align: end;
  font-weight: 600;
}
.file-bar-labels {
  display: flex;
  text-align: center;
}
.file-bar-labels > span {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}
.file-chart-readout {
  margin: 0;
  min-height: 40px;
  color: var(--ds-ink-2);
}
.file-scaled-chart .file-chart-axis {
  white-space: normal;
}
.file-scaled-chart .file-chart-axis span:last-child {
  text-align: end;
}
.file-scaled-chart [tabindex]:focus {
  outline: none;
}
.file-scaled-chart [tabindex]:focus-visible circle:last-child {
  stroke-width: 3;
}
.file-image .file-chart details,
.file-image .file-chart-readout {
  display: none;
}

/* src/style.css */
html {
  scroll-behavior: smooth;
}
* {
  box-sizing: border-box;
}
.jump {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0;
}
.jump a {
  color: var(--ds-ink);
  padding: 10px 14px;
  min-height: 44px;
  border: 1px solid var(--ds-hairline);
  border-radius: 4px;
  text-decoration: none;
}
.jump a:hover {
  text-decoration: underline;
}
.anchor {
  scroll-margin-top: 24px;
}
.lead {
  display: grid;
  gap: 20px;
  margin: 28px 0;
}
.lead figure {
  margin: 0;
}
.lead img {
  max-height: 280px;
  object-fit: cover;
  width: 100%;
  border-radius: 12px;
}
.lead h2 {
  font-size: 21px;
  line-height: 1.45;
}
.toggle {
  font: inherit;
  min-height: 44px;
  padding: 10px 0;
  border: 0;
  background: none;
  color: var(--ds-ink);
  cursor: pointer;
  text-align: left;
}
.toggle:focus-visible,
.jump a:focus-visible {
  outline: 2px solid var(--ds-teal);
  outline-offset: 4px;
}
.step {
  margin: 22px 0;
}
.step h3 {
  font-size: 16px;
  line-height: 1.7;
  font-weight: 600;
  margin: 0 0 12px;
}
.formula {
  padding: 16px;
  margin: 14px 0;
  background: var(--ds-raised);
  border-radius: 8px;
  line-height: 1.9;
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}
.obsgrid,
.pairgrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 18px 0;
}
.obs {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px;
  border: 1px solid var(--ds-hairline);
  border-radius: 8px;
}
.obs strong {
  font-weight: 600;
}
.obs span {
  font-variant-numeric: tabular-nums;
}
p {
  overflow-wrap: anywhere;
}
@media (min-width: 390px) {
  .obsgrid,
  .pairgrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 768px) {
  .lead {
    grid-template-columns: 180px 1fr;
    align-items: center;
  }
  .obsgrid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .pairgrid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}
.catalog-layout {
  display: grid;
  gap: 32px;
  margin-top: 32px;
}
.catalog {
  border-bottom: 1px solid var(--ds-hairline);
  padding-bottom: 24px;
}
.catalog h2 {
  font-size: 21px;
}
.catalog details {
  margin: 8px 0;
}
.catalog summary {
  cursor: pointer;
  min-height: 44px;
  display: list-item;
  align-content: center;
  font-weight: 600;
}
.catalog details details {
  padding-left: 16px;
  border-left: 1px solid var(--ds-hairline);
}
.catalog a {
  display: block;
  padding: 12px 8px;
  text-decoration: none;
  color: var(--ds-ink);
  min-height: 44px;
  box-sizing: border-box;
}
.catalog a:hover,
.catalog a:focus {
  background: var(--ds-raised);
  outline: 2px solid var(--ds-teal);
}
.pending {
  padding: 10px 8px;
  font-size: 14px;
  color: var(--ds-ink-2);
}
.catalog p {
  font-size: 14px;
  line-height: 1.7;
}
.reader {
  min-width: 0;
}
.formal {
  font-family: serif !important;
  font-size: 18px !important;
  line-height: 2.1;
}
.mathline {
  margin: 10px 0;
}
.formal math {
  font-size: 1em;
  max-width: 100%;
}
.formal {
  overflow-x: auto;
}
.catalog-layout .toggle {
  margin-top: 8px;
}
@media (min-width: 1200px) {
  .catalog-layout {
    grid-template-columns: 240px minmax(0, 1fr);
  }
  .catalog {
    border-bottom: 0;
    border-right: 1px solid var(--ds-hairline);
    padding-right: 20px;
  }
  .formal {
    font-size: 18px !important;
  }
}
@media (max-width: 400px) {
  .formal {
    font-size: 16px !important;
  }
}
.vector-equation mi[mathvariant=bold-italic] {
  font-weight: 700;
  font-style: italic;
}
.formal math {
  font-family:
    "Latin Modern Math",
    "STIX Two Math",
    "Cambria Math",
    serif;
}
.formal .mathline {
  line-height: 2.3;
}
.catalog details {
  margin: 0;
}
.coeffrows {
  display: grid;
  gap: 14px;
  margin: 20px 0;
}
.coeffrows .formal {
  margin: 0;
  padding: 10px;
}
.coeffrows .mathline {
  margin: 0;
}
.coeffrows .obs {
  gap: 8px;
}
@media (min-width: 768px) {
  .coeffrows {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.formal mi[mathvariant=bold-italic] {
  font-weight: 700;
  font-style: italic;
}
.reader-topnav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  align-items: center;
  margin-bottom: 24px;
  font-size: 14px;
}
.reader-topnav a {
  color: var(--ds-ink);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.reader-topnav span {
  color: var(--ds-ink-2);
}
.home-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0 18px;
  border-top: 1px solid var(--ds-hairline);
  border-bottom: 1px solid var(--ds-hairline);
  padding: 22px 0;
}
.home-stats div {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.home-stats strong {
  font-size: 28px;
  font-weight: 600;
}
.home-stats span {
  font-size: 12px;
  line-height: 1.6;
  color: var(--ds-ink-2);
}
.study-path {
  padding-left: 24px;
  margin: 0;
}
.study-path li {
  padding: 4px 0 20px 8px;
  line-height: 1.8;
}
.study-path a {
  color: var(--ds-ink);
  font-weight: 600;
  display: inline-block;
  min-height: 44px;
  align-content: center;
}
.study-path p {
  font-size: 14px;
  margin: 0;
  line-height: 1.8;
  color: var(--ds-ink-2);
}
.overview-jumps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 16px 0;
}
.overview-jumps button {
  font: inherit;
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
  color: var(--ds-ink);
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  font-weight: 600;
}
.study-area {
  scroll-margin-top: 24px;
  border-top: 1px solid var(--ds-hairline);
  padding-top: 24px;
  margin-top: 24px;
}
.study-area h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 18px;
}
.study-subject h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--ds-ink-2);
  margin: 20px 0 4px;
}
.study-list {
  display: grid;
  gap: 0;
}
.study-entry {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 44px;
  padding: 16px 0;
  color: var(--ds-ink);
  text-decoration: none;
  border-bottom: 1px solid var(--ds-hairline);
}
.study-entry strong {
  font-size: 14px;
  line-height: 1.8;
  font-weight: 600;
}
.study-entry span {
  font-size: 12px;
  line-height: 1.7;
  color: var(--ds-ink-2);
}
.study-entry:focus-visible,
.overview-jumps button:focus-visible,
.study-path a:focus-visible,
.reader-topnav a:focus-visible {
  outline: 2px solid var(--ds-teal);
  outline-offset: 4px;
}
.source-gaps {
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.9;
}
.source-gaps li {
  margin: 12px 0;
}
.study-illustration {
  max-width: 480px;
  margin: 36px auto;
}
.study-illustration img {
  max-height: 260px;
  object-fit: cover;
}
@media (min-width: 768px) {
  .study-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 32px;
  }
  .home-stats span {
    font-size: 14px;
  }
}
@media (min-width: 600px) and (max-width: 1199px) {
  .file-card {
    max-width: 1040px;
    width: 100%;
    padding: 36px;
  }
  .file-p,
  .reader p,
  .source-gaps,
  .study-path p {
    font-size: 16px;
    line-height: 1.85;
  }
  .file-caption {
    font-size: 14px;
    line-height: 1.8;
  }
  .file-callout {
    font-size: 15px;
    line-height: 1.85;
  }
  .step {
    margin: 32px 0;
  }
  .step h3 {
    font-size: 18px;
    line-height: 1.65;
    margin-bottom: 16px;
  }
  .formal {
    font-size: 19px !important;
    padding: 20px;
    line-height: 2.1;
  }
  .formal .mathline {
    margin: 12px 0;
  }
  .reader-topnav {
    margin-bottom: 28px;
  }
  .study-entry {
    padding: 20px 0;
    gap: 8px;
  }
  .study-entry strong {
    font-size: 16px;
  }
  .study-entry span {
    font-size: 14px;
  }
  .home-stats {
    padding: 28px 0;
    margin-top: 36px;
  }
  .home-stats strong {
    font-size: 32px;
  }
  .home-stats span {
    font-size: 14px;
  }
  .study-subject h4 {
    font-size: 16px;
  }
  .study-area h3 {
    font-size: 21px;
  }
  .catalog-layout {
    gap: 28px;
    margin-top: 36px;
  }
  .catalog summary,
  .catalog a {
    min-height: 48px;
  }
  .catalog a {
    line-height: 1.7;
    padding: 12px 8px;
  }
  .pairgrid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .obsgrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .coeffrows {
    grid-template-columns: 1fr;
  }
  .study-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 28px;
  }
}
@media (min-width: 600px) and (max-width: 959px) {
  .catalog-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .catalog {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 24px;
    padding-bottom: 28px;
  }
  .catalog > h2,
  .catalog > p {
    grid-column: 1/-1;
  }
  .catalog > details {
    border-top: 1px solid var(--ds-hairline);
  }
  .catalog details details {
    padding-left: 12px;
  }
}
@media (min-width: 960px) and (max-width: 999px) {
  .catalog-layout {
    grid-template-columns: 210px minmax(0, 1fr);
  }
  .catalog {
    border-bottom: 0;
    border-right: 1px solid var(--ds-hairline);
    padding: 0 20px 0 0;
    align-self: start;
    position: sticky;
    top: 24px;
    max-height: calc(100vh - 48px);
    overflow-y: auto;
  }
  .catalog h2 {
    font-size: 20px;
  }
  .catalog p {
    font-size: 13px;
  }
}
.subject-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}
.subject-card {
  margin: 0;
  border: 1px solid var(--ds-hairline,#e5e5e5);
  border-radius: 12px;
}
.subject-card a {
  display: block;
  padding: 16px;
  min-height: 44px;
  text-decoration: none;
  color: inherit;
}
.subject-card strong {
  display: block;
  font-size: 17px;
  margin-bottom: 6px;
}
.subject-card span {
  font-size: 14px;
  color: var(--ds-ink-2,#666);
  line-height: 1.5;
}
@media (min-width: 700px) {
  .subject-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.toc-fab {
  display: none;
}
.toc-close {
  display: none;
}
.toc-overlay {
  display: none;
}
@media (max-width: 1199px) {
  .toc-fab {
    display: block;
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 80;
    min-height: 44px;
    padding: 10px 18px;
    border-radius: 24px;
    border: 1px solid var(--ds-hairline);
    background: var(--ds-raised);
    color: var(--ds-ink);
    font: inherit;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .18);
  }
  .catalog-layout {
    display: block;
  }
  .catalog-layout > .catalog {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(320px, 86vw);
    overflow-y: auto;
    background: var(--ds-page);
    z-index: 90;
    padding: 16px;
    border-right: 1px solid var(--ds-hairline);
    transform: translateX(-105%);
    transition: transform .25s ease;
    margin-top: 0;
    border-bottom: 0;
  }
  .catalog-layout.toc-open > .catalog {
    transform: none;
  }
  .toc-close {
    display: block;
    min-height: 44px;
    padding: 10px 12px;
    margin-bottom: 8px;
    border: 1px solid var(--ds-hairline);
    border-radius: 8px;
    background: none;
    color: var(--ds-ink);
    font: inherit;
    width: 100%;
    text-align: center;
  }
  .toc-overlay.open {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .35);
    z-index: 85;
  }
}
.catalog .eng-ybtn {
  display: block;
  width: 100%;
  text-align: left;
  margin: 4px 0;
}
.file-card {
  padding-top: 16px;
  padding-bottom: 16px;
}
.file-header {
  gap: 12px;
}
.file-intro {
  margin-top: 4px;
}
.catalog-layout {
  margin-top: 16px;
}
.reader-topnav {
  margin-bottom: 12px;
}
.reader .file-group {
  gap: 16px;
}
@media (min-width: 600px) {
  .file-card {
    padding-top: 24px;
    padding-bottom: 24px;
  }
  .reader-topnav {
    margin-bottom: 18px;
  }
}
.study-areas-grid {
  display: grid;
  gap: 8px;
}
@media (min-width: 960px) {
  .study-areas-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 28px;
    align-items: start;
  }
  .study-areas-grid .study-area {
    border: 1px solid var(--ds-hairline);
    border-radius: 12px;
    padding: 16px 18px 8px;
    margin-top: 0;
  }
  .study-areas-grid .study-area h3 {
    margin-bottom: 12px;
  }
}
@media (min-width: 768px) {
  .study-path {
    list-style: none;
    padding-left: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
  .study-path li {
    border: 1px solid var(--ds-hairline);
    border-radius: 12px;
    padding: 14px 16px 16px;
  }
}
@media (min-width: 1200px) {
  .catalog-layout > .catalog {
    position: sticky;
    top: 24px;
    align-self: start;
    max-height: calc(100vh - 48px);
    overflow-y: auto;
  }
}
.latex-body .katex {
  font-size: 1.08em;
}
.latex-body .formula {
  overflow-x: auto;
  max-width: 100%;
}
.latex-body .katex-display {
  overflow-x: auto;
}
.latex-body .callout {
  background: var(--ds-raised);
  padding: 16px 18px;
  border-radius: 12px;
  margin: 16px 0;
  line-height: 1.9;
}
.latex-body .coeffrows {
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 768px) {
  .latex-body .coeffrows {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.latex-body .coeffrows > *,
.latex-body .obs,
.latex-body .obs > * {
  min-width: 0;
  max-width: 100%;
}
.latex-body .obs {
  flex-wrap: wrap;
}
.latex-body .formal {
  overflow-x: auto;
}
.latex-body h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 28px 0 12px;
  line-height: 1.5;
}
.latex-body p {
  margin: 12px 0;
  line-height: 1.85;
}
main.file-card {
  max-width: min(1480px, 100%);
  padding-left: clamp(14px, 2.6vw, 40px);
  padding-right: clamp(14px, 2.6vw, 40px);
}
main.file-card main.file-card,
.eng-stage main.file-card,
.reader main.file-card {
  max-width: none;
  padding: 0;
  margin: 0;
  border: 0;
  box-shadow: none;
  background: none;
}
.file-card:has(.reader) > .file-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 16px;
  margin: 0 0 8px;
}
.file-card:has(.reader) > .file-header .file-title {
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.3;
  margin: 0;
}
.file-card:has(.reader) > .file-header .file-intro {
  display: none;
}
.file-card:has(.reader) > .file-header .file-fact {
  margin: 0;
  font-size: 14px;
}
.file-card:has(.reader) > .file-callout {
  display: none;
}
.file-card:has(.reader) > .file-closing {
  margin-top: 24px;
}
.reader-topnav {
  margin-bottom: 6px;
  min-height: 0;
}
.reader-topnav a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
}
@media (min-width: 1000px) {
  .catalog-layout {
    grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
    gap: 40px;
    margin-top: 8px;
  }
}
.reader .file-group {
  max-width: none;
}
.reader .eng-stage {
  max-width: none;
}
.reader p,
.reader .file-paragraph {
  max-width: none;
}
.latex-body,
.reader .formal {
  max-width: 100%;
}
@media (max-width: 600px) {
  .file-card:has(.reader) > .file-header .file-title {
    font-size: 22px;
  }
  .reader h2 {
    font-size: 21px;
    line-height: 1.35;
  }
}
main.file-card:has(.reader) {
  gap: 10px;
  row-gap: 10px;
}
main.file-card:has(.reader) > * {
  margin-top: 0;
  margin-bottom: 0;
}
.eng-stage > *:first-child {
  margin-top: 0;
}
.eng-stage .file-group {
  gap: 14px;
}
.file-card:has(.reader) > .file-header .file-fact {
  display: none;
}
.reader-topnav span {
  display: none;
}
.reader .file-group > .file-caption,
.reader .caption {
  margin: 0 0 6px;
  font-size: 14px;
}
.reader .file-group {
  gap: 8px;
}
.reader .file-group > .toggle {
  display: inline-block;
  margin: 0 14px 6px 0;
  min-height: 36px;
  padding: 0;
}
.reader .formal {
  padding: 10px 16px !important;
  line-height: 1.7 !important;
  margin: 8px 0;
}
.reader .formal .mathline {
  margin: 4px 0 !important;
  line-height: 1.8 !important;
}
.reader h2 {
  margin: 4px 0 6px;
}
.reader h3,
.reader h4 {
  margin: 16px 0 8px;
}
.reader p {
  margin: 8px 0;
}
@media (min-width: 760px) {
  .reader .formal + .formal {
    margin-top: 0;
  }
}
.reader :has(> .formal + .formal) {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 8px 12px;
  align-items: start;
}
.reader :has(> .formal + .formal) > :not(.formal) {
  grid-column: 1/-1;
}
.reader :has(> .formal + .formal) > .formal {
  margin: 0;
  min-width: 0;
  overflow-x: auto;
}
.reader .file-group > div[id] > :first-child {
  margin-top: 0 !important;
}
.reader .file-group > div[id] {
  margin-top: 0;
}
.file-card:has(.sb-wrap) > .file-header .file-intro {
  display: none;
}
.file-card:has(.sb-wrap) > .file-header {
  margin-bottom: 6px;
}
.sb-wrap .file-group-heading + .file-text {
  display: none;
}
@media (max-width: 700px) {
  .file-card:has(.sb-wrap) > .file-header .file-title {
    font-size: 20px;
  }
  .sb-wrap .file-photos {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    display: block;
  }
  .sb-wrap .file-photos img {
    max-width: 100%;
    height: auto;
  }
  .sb-dir {
    margin: 4px 0;
  }
}
@media (max-width: 700px) {
  .sb-wrap .file-photos img {
    width: auto;
  }
  main.file-card:has(.sb-wrap) {
    gap: 6px !important;
  }
  .file-card:has(.sb-wrap) > .file-header {
    gap: 2px 10px;
  }
  .sb-wrap {
    gap: 6px;
    margin-top: 0;
  }
  .sb-wrap .file-group-heading {
    margin: 4px 0;
    font-size: 19px;
  }
  .sb-wrap .file-group {
    gap: 6px;
  }
}
@media (min-width: 701px) {
  .sb-wrap:not(:has(.sb-group)) {
    display: block !important;
  }
  .sb-wrap:not(:has(.sb-group)) > .sb-side {
    position: static !important;
    display: flex !important;
    flex-wrap: wrap;
    gap: 6px;
    width: auto !important;
    max-height: none !important;
    padding: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
    background: none !important;
    margin: 0 0 12px;
  }
  .sb-wrap:not(:has(.sb-group)) > .sb-side .sb-item {
    width: auto !important;
    padding: 8px 16px;
    min-height: 40px;
    border: 1px solid var(--ds-hairline,#ddd);
    border-radius: 999px;
  }
  .sb-wrap:not(:has(.sb-group)) > .sb-main {
    padding: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
    background: none !important;
    width: 100%;
  }
  .file-card:has(.sb-wrap) > .file-header .file-title {
    margin: 0;
  }
  .eng-stage .file-header {
    margin-bottom: 10px;
  }
}
@media (max-width: 700px) {
  .file-card:not(:has(.sb-group)) .sb-dir {
    display: none !important;
  }
  .sb-wrap:not(:has(.sb-group)) {
    display: block !important;
  }
  .sb-wrap:not(:has(.sb-group)) > .sb-side {
    display: flex !important;
    overflow-x: auto;
    gap: 6px;
    margin: 0 0 8px;
    padding: 0 !important;
    border: 0 !important;
    width: auto !important;
    position: static !important;
    max-height: none !important;
    background: none !important;
  }
  .sb-wrap:not(:has(.sb-group)) > .sb-side .sb-item {
    flex: 0 0 auto;
    width: auto !important;
    padding: 8px 14px;
    min-height: 40px;
    border: 1px solid var(--ds-hairline,#ddd);
    border-radius: 999px;
    white-space: nowrap;
  }
  .sb-wrap:not(:has(.sb-group)) > .sb-main {
    padding: 0 !important;
    border: 0 !important;
    background: none !important;
    box-shadow: none !important;
  }
}
@media (min-width: 701px) {
  .file-card:has(.sb-wrap) > .file-header {
    margin-bottom: 0 !important;
  }
  .sb-wrap {
    margin-top: 0 !important;
  }
  .file-card:has(.sb-wrap) .file-fact {
    margin: 0 0 4px;
  }
}
main.file-card:has(.sb-wrap) {
  gap: 12px !important;
  row-gap: 12px !important;
}
.file-card:has(.sb-wrap) > .file-header {
  margin-bottom: 0 !important;
  gap: 2px 12px;
}
.reader .file-group > .toggle {
  display: inline-flex;
  align-items: center;
  margin: 0 14px 2px 0;
  min-height: 32px;
}
.reader [id] h3:first-of-type {
  margin-top: 8px !important;
}
@media (max-width: 1199px) {
  .catalog-layout.no-sel > .catalog {
    position: static !important;
    transform: none !important;
    width: auto !important;
    max-width: none !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: visible !important;
    z-index: auto !important;
  }
  .catalog-layout.no-sel > .catalog .eng-ybtn {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: calc(50% - 6px);
    margin: 0 6px 8px 0;
    vertical-align: top;
  }
  .file-card:has(.catalog-layout.no-sel) .toc-fab {
    display: none !important;
  }
  .catalog-layout.no-sel .toc-close {
    display: none;
  }
}
@media (max-width: 1199px) {
  .catalog-layout.no-sel > .catalog .eng-ybtn {
    width: calc(50% - 6px) !important;
    min-width: 0;
    box-sizing: border-box;
    margin: 0 6px 8px 0;
  }
  .catalog-layout.no-sel > .catalog .eng-ybtn:nth-of-type(2n) {
    margin-right: 0;
    margin-left: 0;
  }
}
.toggle-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0 18px;
  align-items: center;
}
.toggle-row .toggle {
  margin: 0 !important;
  min-height: 36px;
}
.reader p.dg-i,
.latex-body p.dg-i {
  display: inline-block;
  width: calc(50% - 4px);
  margin: 0;
  padding: 7px 10px;
  border-bottom: 1px solid var(--ds-hairline,#e5e5e5);
  line-height: 1.5;
  vertical-align: top;
  font-variant-numeric: tabular-nums;
}
@media (min-width: 900px) {
  .reader p.dg-i,
  .latex-body p.dg-i {
    width: calc(25% - 4px);
  }
}
.toggle-row .toggle {
  border: 1px solid var(--ds-hairline,#ccc);
  border-radius: 999px;
  padding: 6px 16px;
  background: #fff;
  min-height: 40px;
  font-size: 14px;
  margin: 0 8px 8px 0;
  text-decoration: none;
}
.kn-tabs {
  display: flex;
  gap: 8px;
  margin: 16px 0 10px;
}
.kn-tab {
  flex: 1;
  min-height: 44px;
  border: 1px solid var(--ds-hairline,#ccc);
  border-radius: 10px;
  background: #fff;
  font: 600 15px system-ui;
}
.kn-tab.on {
  background: #eef5ff;
  border-color: #1a73e8;
  color: #1a56b8;
}
.kn-chips {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 4px 0 10px;
  scrollbar-width: thin;
}
.kn-chip {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 4px 12px;
  border: 1px solid var(--ds-hairline,#ccc);
  border-radius: 999px;
  background: #fff;
  font: 14px system-ui;
  white-space: nowrap;
}
.kn-chip b {
  color: #666;
}
.kn-chip.on {
  background: #eef5ff;
  border-color: #1a73e8;
}
.kn-head {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  align-items: baseline;
  margin: 6px 0;
}
.kn-head span {
  color: #555;
  font-size: 14px;
}
.kn-imgbtn {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--ds-hairline,#ddd);
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}
.kn-img {
  display: block;
  width: 100%;
  height: auto;
}
.kn-nav {
  display: flex;
  gap: 8px;
  margin: 12px 0;
}
.kn-nav button,
.kn-bar button {
  flex: 1;
  min-height: 44px;
  border: 1px solid var(--ds-hairline,#ccc);
  border-radius: 10px;
  background: #fff;
  font: 15px system-ui;
}
.kn-nav button:disabled,
.kn-bar button:disabled {
  opacity: .4;
}
.kn-big {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: #111;
  display: flex;
  flex-direction: column;
}
.kn-bar {
  display: flex;
  gap: 6px;
  align-items: center;
  padding: 8px;
  background: #fff;
  flex-wrap: wrap;
}
.kn-bar button {
  flex: 0 1 auto;
  padding: 4px 12px;
  min-height: 40px;
}
.kn-bar span {
  font: 14px system-ui;
  color: #444;
}
.kn-scroll {
  flex: 1;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  background: #222;
}
.kn-scroll img {
  display: block;
}
@media (min-width: 900px) {
  .kn-img {
    max-width: 1040px;
    margin: 0 auto;
  }
  .kn-imgbtn {
    max-width: 1040px;
  }
}
.kn-cur {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 14px 0 6px;
}
.kn-toc {
  min-height: 44px;
  padding: 6px 18px;
  border: 1px solid #1a73e8;
  border-radius: 10px;
  background: #eef5ff;
  color: #1a56b8;
  font: 600 15px system-ui;
}
.kn-cur span {
  color: #555;
  font-size: 14px;
}
.kn-dim {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(0, 0, 0, .35);
}
.kn-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  width: min(340px, 88vw);
  z-index: 95;
  background: #fff;
  display: flex;
  flex-direction: column;
  box-shadow: 2px 0 16px rgba(0, 0, 0, .2);
}
.kn-dh {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border-bottom: 1px solid #e5e5e5;
}
.kn-dh button {
  min-height: 40px;
  padding: 4px 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: #fff;
  font: 15px system-ui;
}
.kn-dl {
  overflow-y: auto;
  padding: 4px 8px 24px;
}
.kn-dl h4 {
  margin: 14px 6px 4px;
  font-size: 14px;
  color: #666;
}
.kn-di {
  display: flex;
  gap: 10px;
  width: 100%;
  text-align: left;
  padding: 10px 8px;
  min-height: 44px;
  border: 0;
  border-bottom: 1px solid #eee;
  background: none;
  font: 14px/1.5 system-ui;
}
.kn-di b {
  flex: 0 0 26px;
  color: #666;
}
.kn-di.on {
  background: #eef5ff;
}
.crumb {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  background: var(--ds-bg,#faf9f7);
  padding: 6px 0;
  margin: 0 0 10px;
  border-bottom: 1px solid var(--ds-hairline,#e5e2dc);
  font-size: 14px;
  line-height: 1.5;
}
.crumb-back {
  font: inherit;
  border: 1px solid var(--ds-hairline,#bbb);
  background: none;
  border-radius: 999px;
  padding: 4px 12px;
  min-height: 36px;
  cursor: pointer;
  color: var(--ds-ink,#222);
}
.crumb-a {
  color: var(--ds-ink,#222);
  min-height: 36px;
  display: inline-flex;
  align-items: center;
}
.crumb i {
  font-style: normal;
  margin: 0 4px;
  color: var(--ds-ink-2,#777);
}
.crumb-s {
  color: var(--ds-ink-2,#666);
}
.crumb-cur {
  color: var(--ds-ink,#111);
  font-weight: 600;
}
@media (max-width: 600px) {
  .crumb {
    font-size: 13px;
  }
}
.kpcards {
  max-width: 820px;
  margin: 0 auto;
  padding: 12px 4px 60px;
}
.kpc-card {
  border: 1px solid var(--ds-hairline,#ddd);
  border-radius: 10px;
  margin: 8px 0;
  padding: 6px 12px;
}
.kpc-card summary {
  cursor: pointer;
  min-height: 40px;
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.5;
}
.kpc-st {
  margin-left: auto;
  font-size: 13px;
  color: #777;
}
.kpc-miss {
  color: #a33;
}
.kpc-note {
  color: #555;
  font-size: 14px;
  line-height: 1.7;
}
.kpc-f {
  margin: 6px 0;
}
.kpm-t {
  border-collapse: collapse;
  min-width: 640px;
  font-size: 14px;
}
.kpm-t th,
.kpm-t td {
  border: 1px solid var(--ds-hairline,#ddd);
  padding: 6px 8px;
  text-align: left;
  vertical-align: top;
}
@media (max-width: 1199px) {
  .catalog-layout > .catalog {
    display: block !important;
  }
  .catalog-layout > .catalog > button {
    min-height: 40px;
    width: auto;
    height: auto;
    padding: 8px 16px;
    margin-bottom: 8px;
  }
  .catalog-layout > .catalog details {
    margin: 4px 0;
  }
}
.kpm-tree,
.kpm-tree ul {
  line-height: 1.9;
  padding-left: 20px;
}
.kpm-t td {
  min-width: 90px;
}
.kpm-t .katex-display {
  margin: 4px 0;
  overflow-x: auto;
  overflow-y: hidden;
}
.kpm-t td:nth-child(5) {
  min-width: 260px;
}

/* src/eng/style.css */
html,
body,
#root {
  margin: 0;
  min-height: 100%;
}
body {
  background: var(--ds-page);
}
.file-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  border-bottom: 1px solid var(--ds-hairline);
}
.file-nav a {
  padding: 10px 0;
  color: var(--ds-ink-2);
  text-decoration: none;
}
.file-nav a[aria-current=page] {
  color: var(--ds-ink);
  box-shadow: inset 0 -1px 0 var(--ds-ink);
}
@media (max-width: 600px) {
  .file-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
}
.t2col {
  display: block;
}
.slots-grid {
  display: block;
}
@media (min-width: 980px) {
  .slots-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 14px;
    align-items: start;
  }
}
.sb-title {
  font-size: 19px;
  margin: 2px 0 12px;
}
.pane-h {
  font-size: 16.5px;
  font-weight: 700;
  margin: 2px 0 10px;
}
.sb-side {
  display: none;
}
.sb-dir {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--ds-page);
  padding: 8px 0;
}
.sb-dirbtn {
  width: 100%;
  min-height: 48px;
  text-align: left;
  font-size: 15px;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--ds-hairline);
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.sb-dirlist {
  border: 1px solid var(--ds-hairline);
  border-radius: 12px;
  background: #fff;
  margin-top: 6px;
  max-height: 60vh;
  overflow-y: auto;
  padding: 6px;
}
.sb-item {
  display: block;
  width: 100%;
  text-align: left;
  border: none;
  background: none;
  font-size: 14.5px;
  line-height: 1.45;
  padding: 10px 12px;
  min-height: 44px;
  border-radius: 10px;
  cursor: pointer;
  color: var(--ds-ink);
}
.sb-item .sb-pages {
  display: block;
  font-size: 12px;
  color: var(--ds-ink-2);
  margin-top: 2px;
}
.sb-item.sb-active {
  background: #eef4ff;
  color: #0b6bcb;
  font-weight: 600;
}
.sb-main {
  padding: 4px 0 24px;
}
@media (min-width: 1200px) {
  body {
    font-size: 17px;
  }
  .sb-dir {
    display: none;
  }
  .sb-wrap {
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
  }
  .sb-side {
    display: block;
    position: sticky;
    top: 16px;
    max-height: calc(100vh - 32px);
    overflow-y: auto;
    border: 1px solid var(--ds-hairline);
    border-radius: 14px;
    background: #fff;
    padding: 8px;
  }
  .sb-main {
    background: #fff;
    border: 1px solid var(--ds-hairline);
    border-radius: 14px;
    padding: 18px 22px 26px;
  }
}
@media (min-width: 1200px) {
  .sb-wrap {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 22px;
  }
}
.eng-groups {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 14px 0 10px;
}
.eng-gbtn {
  padding: 10px 16px;
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid var(--ds-hairline,#ddd);
  background: #fff;
  font-size: 15px;
}
.eng-years {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.eng-ybtn {
  padding: 8px 14px;
  min-height: 44px;
  border-radius: 10px;
  border: 1px solid var(--ds-hairline,#ddd);
  background: #fff;
  font-size: 15px;
}
.eng-ybtn .eng-sub {
  display: block;
  font-size: 12px;
  color: var(--ds-ink-2,#888);
}
.eng-on {
  background: #1a56db !important;
  color: #fff !important;
  border-color: #1a56db !important;
}
.eng-on .eng-sub {
  color: #dbe7ff !important;
}
.eng-stage {
  margin-top: 6px;
  border-top: 1px dashed var(--ds-hairline,#e0e0e0);
  padding-top: 10px;
}
.ans-fold {
  margin: 6px 0 14px 2.2em;
  border: 1px solid var(--ds-hairline,#ddd);
  border-radius: 10px;
  padding: 2px 12px;
  background: #fff;
}
.ans-fold > summary {
  cursor: pointer;
  min-height: 40px;
  display: flex;
  align-items: center;
  font-weight: 600;
  color: var(--ds-ink,#222);
}
.ans-fold-body {
  padding: 2px 0 10px;
  line-height: 1.85;
}
.eng-ycards {
  display: none;
}
@media (min-width: 1000px) {
  .catalog-layout.no-sel .eng-ycards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: 4px 0 28px;
  }
  .eng-ycard {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 18px 18px 14px;
    min-height: 112px;
    border: 1px solid var(--ds-hairline,#ddd);
    border-radius: 14px;
    background: #fff;
    text-align: left;
    cursor: pointer;
    font: inherit;
    color: inherit;
  }
  .eng-ycard:hover,
  .eng-ycard:focus-visible {
    border-color: var(--ds-teal,#2b8a7a);
    box-shadow: 0 2px 10px rgba(0, 0, 0, .08);
    outline: none;
  }
  .eng-ycard-y {
    font-size: 28px;
    font-weight: 600;
    letter-spacing: .02em;
  }
  .eng-ycard-t {
    font-size: 14px;
    color: var(--ds-ink-2,#777);
    min-height: 20px;
  }
  .eng-ycard-go {
    margin-top: auto;
    font-size: 13px;
    color: var(--ds-teal,#2b8a7a);
  }
  .catalog-layout.no-sel .reader .facts,
  .catalog-layout.no-sel .reader [class*=Facts] {
    font-size: 13px;
    opacity: .85;
  }
}
.ip {
  margin: 8px 0;
}
.ip-note {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ds-ink-2,#666);
  margin: 0 0 12px;
}
.ip-grid {
  display: grid;
  gap: 16px;
}
.ip-text p {
  font-family:
    Georgia,
    "Times New Roman",
    serif;
  font-size: 17px;
  line-height: 2.1;
  margin: 0 0 12px;
}
.ip-text .ip-dir {
  font-size: 14px;
  line-height: 1.8;
  color: var(--ds-ink-2,#666);
}
.ip-slot {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 0 3px;
  vertical-align: middle;
  white-space: nowrap;
}
.ip-no {
  font: 600 13px system-ui;
  color: var(--ds-ink-2,#666);
}
.ip-slot select {
  font: 15px system-ui;
  min-height: 40px;
  max-width: 150px;
  border-radius: 8px;
  border: 2px solid var(--ds-hairline,#d4d4d4);
  background: #fff;
  padding: 2px 6px;
}
.ip-wrong select {
  border-color: #dc2626;
  background: #fef2f2;
}
.ip-right select {
  border-color: #16a34a;
  background: #f0fdf4;
}
.ip-mark {
  font-family: system-ui;
}
.ip-wrong .ip-mark {
  color: #dc2626;
}
.ip-right .ip-mark {
  color: #16a34a;
}
.ip-opts {
  border: 1px solid var(--ds-hairline,#e5e5e5);
  border-radius: 12px;
  padding: 10px 14px;
  background: #fff;
}
.ip-opts-h {
  font-weight: 600;
  margin-bottom: 6px;
}
.ip-opt {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  gap: 6px;
  font: 14px/1.6 system-ui;
  padding: 7px 0;
  border-top: 1px solid var(--ds-hairline,#eee);
}
button.ip-opt {
  width: 100%;
  text-align: left;
  cursor: pointer;
  background: #fff;
  border: 1px solid var(--ds-hairline,#e5e5e5);
  border-radius: 10px;
  padding: 8px 10px;
  margin-top: 6px;
}
button.ip-opt:hover {
  border-color: #1a73e8;
}
button.ip-opt.ip-on {
  border-color: #1a73e8;
  background: #eff6ff;
}
.ip-opt b {
  color: var(--ds-ink-2,#666);
}
.ip-opt i {
  font-style: normal;
  font-size: 12px;
  color: #1a73e8;
}
.ip-used {
  opacity: .55;
}
.ip-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
  position: sticky;
  bottom: 0;
  background: var(--ds-page,#fbfaf8);
  padding: 10px 0;
}
.ip-bar button {
  font-size: 16px;
  min-height: 44px;
  padding: 10px 22px;
  border-radius: 8px;
  border: none;
  background: var(--ds-accent,#1a73e8);
  color: #fff;
  font-weight: 600;
}
.ip-bar button:disabled {
  background: #d4d4d4;
}
.ip-res {
  font-size: 15px;
  line-height: 1.6;
}
@media (min-width: 1000px) {
  .ip-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
}
@media (max-width: 999px) {
  .ip-slot select {
    max-width: 118px;
  }
  .ip-text p {
    font-size: 16px;
    line-height: 2.2;
  }
}
.ip-bar button {
  white-space: nowrap;
}
@media (max-width: 999px) {
  .ip-bar {
    position: static;
    flex-wrap: wrap;
  }
  .ip-bar button {
    min-width: 96px;
  }
}
.ip-toc,
.ip-sheet {
  display: none;
}
.ip-pick {
  display: inline-block;
  min-width: 44px;
  min-height: 40px;
  padding: 2px 10px;
  border-radius: 8px;
  border: 2px solid var(--ds-hairline,#bbb);
  background: #fff;
  font: 600 15px system-ui;
  color: #1a73e8;
  cursor: pointer;
}
.ip-wrong .ip-pick {
  border-color: #dc2626;
  background: #fef2f2;
}
.ip-right .ip-pick {
  border-color: #16a34a;
  background: #f0fdf4;
}
.ip-active .ip-pick {
  border-color: #1a73e8;
  box-shadow: 0 0 0 2px rgba(26,115,232,.25);
}
@media (max-width: 999px) {
  .ip-sheet {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 95;
    max-height: 52vh;
    background: #fff;
    border-top: 1px solid var(--ds-hairline,#ccc);
    box-shadow: 0 -6px 20px rgba(0, 0, 0, .18);
    border-radius: 14px 14px 0 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }
  .ip-sheet-h {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 14px;
    border-bottom: 1px solid var(--ds-hairline,#eee);
  }
  .ip-sheet-h button {
    min-height: 40px;
    padding: 4px 14px;
    border: 1px solid var(--ds-hairline,#ccc);
    border-radius: 8px;
    background: #fff;
    font: 15px system-ui;
  }
  .ip-sheet-l {
    overflow-y: auto;
    padding: 4px 10px 14px;
    -webkit-overflow-scrolling: touch;
  }
  .ip-sopt {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 4px 8px;
    width: 100%;
    text-align: left;
    padding: 10px 6px;
    border: 0;
    border-bottom: 1px solid var(--ds-hairline,#eee);
    background: none;
    font: 14px/1.6 system-ui;
    color: inherit;
  }
  .ip-sopt i {
    grid-column: 2;
    font-style: normal;
    font-size: 12px;
    color: #b45309;
  }
  .ip-sopt.on {
    background: #eef5ff;
  }
  .ip-toc {
    display: inline-block;
    min-height: 44px;
    padding: 10px 16px;
    border-radius: 8px;
    border: 1px solid var(--ds-hairline,#ccc);
    background: #fff;
    font: 16px system-ui;
    white-space: nowrap;
  }
  .file-card:has(.ip) .toc-fab {
    display: none !important;
  }
  .ip {
    padding-bottom: 8px;
  }
}
.ip-pick {
  scroll-margin-top: 96px;
}
.ip-bar .ip-toc {
  background: #fff;
  color: var(--ds-ink,#222);
  border: 1px solid var(--ds-hairline,#ccc);
  font-weight: 500;
}
.op-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.op-card {
  border: 1px solid var(--ds-hairline,#ddd);
  border-radius: 12px;
  padding: 10px 14px;
  background: #fff;
}
.op-fixed {
  background: #f6f5f2;
}
.op-slot {
  border-style: dashed;
}
.op-h {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 14px system-ui;
  margin-bottom: 4px;
}
.op-h b {
  font-size: 18px;
}
.op-h span {
  color: var(--ds-ink-2,#666);
}
.op-h em {
  font-style: normal;
  font-weight: 700;
}
.op-slot.ip-right .op-h em {
  color: #16a34a;
}
.op-slot.ip-wrong .op-h em {
  color: #dc2626;
}
.op-slot.ip-right {
  border-color: #16a34a;
  background: #f0fdf4;
}
.op-slot.ip-wrong {
  border-color: #dc2626;
  background: #fef2f2;
}
.op-t {
  font-family:
    Georgia,
    "Times New Roman",
    serif;
  font-size: 16px;
  line-height: 1.9;
  margin: 0;
}
.op-clamp {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.op-na {
  color: var(--ds-ink-2,#777);
  font-family: system-ui;
  font-size: 14px;
}
.op-more,
.op-pick {
  min-height: 40px;
  margin-top: 6px;
  padding: 4px 14px;
  border-radius: 8px;
  border: 1px solid var(--ds-hairline,#ccc);
  background: #fff;
  font: 15px system-ui;
  color: #1a73e8;
}
.op-pick {
  font-weight: 600;
}
.op .ip-pick,
.op .ip-sel {
  display: none;
}
@media (min-width: 1000px) {
  .op .ip-sheet {
    display: flex;
    flex-direction: column;
    position: fixed;
    right: max(24px, calc((100vw - 1180px)/2));
    bottom: 16px;
    width: 460px;
    max-height: 68vh;
    z-index: 95;
    background: #fff;
    border: 1px solid var(--ds-hairline,#ccc);
    border-radius: 14px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .2);
    overflow: hidden;
  }
  .ip-sopt {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 4px 8px;
    width: 100%;
    text-align: left;
    padding: 10px 6px;
    border: 0;
    border-bottom: 1px solid var(--ds-hairline,#eee);
    background: none;
    font: 14px/1.6 system-ui;
    color: inherit;
  }
  .ip-sopt i {
    grid-column: 2;
    font-style: normal;
    font-size: 12px;
    color: #b45309;
  }
  .ip-sopt.on {
    background: #eef5ff;
  }
  .ip-sheet-l {
    overflow-y: auto;
    padding: 4px 10px 14px;
  }
  .ip-sheet-h {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 14px;
    border-bottom: 1px solid var(--ds-hairline,#eee);
  }
  .ip-sheet-h button {
    min-height: 40px;
    padding: 4px 14px;
    border: 1px solid var(--ds-hairline,#ccc);
    border-radius: 8px;
    background: #fff;
    font: 15px system-ui;
  }
}
.op-more {
  margin-right: 8px;
}
@media (min-width: 1000px) {
  .op-open .op-list {
    margin-right: 480px;
  }
  .op .ip-sheet {
    width: 450px;
  }
}
.op-pick {
  scroll-margin-top: 150px;
}
.vp-opts {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
}
.vp-opts .ip-sopt {
  text-align: left;
}

/* src/eng/writing/style.css */
html,
body,
#root {
  margin: 0;
  min-height: 100%;
}
body {
  background: var(--ds-page);
}
.mb {
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--ds-ink);
  white-space: pre-wrap;
  word-break: break-word;
}
.mb-label {
  display: block;
  font-weight: 700;
  margin-top: 12px;
}
.mb-step {
  display: block;
  font-weight: 700;
  margin-top: 10px;
  color: var(--ds-accent, #0b6bcb);
}
.mb-tag {
  display: block;
  color: var(--ds-ink-2);
  font-weight: 600;
  margin-top: 8px;
}
.mb-omit {
  display: block;
  margin: 10px 0;
  padding: 8px 12px;
  border-left: 3px solid #d0a94f;
  background: #fdf8ec;
  color: #7a6520;
  font-size: 13.5px;
  border-radius: 0 8px 8px 0;
}
.mb-en {
  display: block;
  padding-left: 12px;
  border-left: 2px solid var(--ds-hairline);
  color: #1d4e89;
}
.fw-pages {
  font-weight: 400;
  font-size: 12.5px;
  color: var(--ds-ink-2);
  border: 1px solid var(--ds-hairline);
  border-radius: 999px;
  padding: 2px 10px;
  margin-left: 10px;
  white-space: nowrap;
}
.sb-title {
  font-size: 19px;
  margin: 2px 0 12px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.sb-side {
  display: none;
}
.sb-dir {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--ds-page);
  padding: 8px 0;
}
.sb-dirbtn {
  width: 100%;
  min-height: 48px;
  text-align: left;
  font-size: 15px;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--ds-hairline);
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.sb-dirlist {
  border: 1px solid var(--ds-hairline);
  border-radius: 12px;
  background: #fff;
  margin-top: 6px;
  max-height: 60vh;
  overflow-y: auto;
  padding: 6px;
}
.sb-group {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ds-ink-2);
  padding: 10px 10px 4px;
  letter-spacing: 0.02em;
}
.sb-item {
  display: block;
  width: 100%;
  text-align: left;
  border: none;
  background: none;
  font-size: 14.5px;
  line-height: 1.45;
  padding: 10px 12px;
  min-height: 44px;
  border-radius: 10px;
  cursor: pointer;
  color: var(--ds-ink);
}
.sb-item .sb-pages {
  display: block;
  font-size: 12px;
  color: var(--ds-ink-2);
  margin-top: 2px;
}
.sb-item.sb-active {
  background: #eef4ff;
  color: #0b6bcb;
  font-weight: 600;
}
.sb-main {
  padding: 4px 0 24px;
}
@media (min-width: 1200px) {
  body {
    font-size: 17px;
  }
  .mb {
    font-size: 15.5px;
    line-height: 1.95;
  }
  .sb-dir {
    display: none;
  }
  .sb-wrap {
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
  }
  .sb-side {
    display: block;
    position: sticky;
    top: 16px;
    max-height: calc(100vh - 32px);
    overflow-y: auto;
    border: 1px solid var(--ds-hairline);
    border-radius: 14px;
    background: #fff;
    padding: 8px;
  }
  .sb-main {
    background: #fff;
    border: 1px solid var(--ds-hairline);
    border-radius: 14px;
    padding: 20px 24px 28px;
  }
}
@media (min-width: 1200px) {
  .sb-wrap {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 22px;
  }
}
/*! tailwindcss v3.4.19 | MIT License | https://tailwindcss.com*/

/* 平板阅读态：进入任一子板块阅读布局时，板块/年份导航统一收成抽屉，平板横竖屏正文最多两栏 */
@media (max-width: 1400px) {
  .catalog-layout:has(.sb-wrap) {
    display: block !important;
  }
  .catalog-layout:has(.sb-wrap) > .catalog {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
    width: min(320px, 86vw) !important;
    max-width: none !important;
    overflow-y: auto !important;
    background: var(--ds-page) !important;
    z-index: 90 !important;
    padding: 16px !important;
    border-right: 1px solid var(--ds-hairline) !important;
    border-bottom: 0 !important;
    transform: translateX(-105%) !important;
    transition: transform .25s ease !important;
    margin-top: 0 !important;
  }
  .catalog-layout.toc-open:has(.sb-wrap) > .catalog {
    transform: none !important;
  }
  .catalog-layout:has(.sb-wrap) > .catalog .eng-ybtn {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 4px 0 !important;
  }
  .file-card:has(.catalog-layout):has(.sb-wrap) .toc-fab {
    display: block !important;
    position: fixed !important;
    right: 16px !important;
    bottom: 16px !important;
    z-index: 80 !important;
  }
  .catalog-layout:has(.sb-wrap) .toc-close {
    display: block !important;
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
  }
}
/* 英语资料区（错题站迁入） */
.eng-mats{margin:14px 0;padding:12px 14px;border:1px solid var(--ds-line,#e5e2da);border-radius:12px;display:flex;flex-direction:column;gap:8px}
.eng-mats-t{font-size:13px;color:var(--ds-ink-2,#888)}
.eng-mats-a{color:var(--ds-acc,#2f6f4f);text-decoration:none;font-size:15px}
.eng-mats-a:hover{text-decoration:underline}

/* Issue #2 (2026-10-26): 专业课题型目录全宽度可收起，默认让路给正文；按钮+手势呼出 */
.catalog-layout:not(:has(.sb-wrap)) {
  display: block !important;
}
.catalog-layout:not(:has(.sb-wrap)) > .catalog {
  display: none !important;
}
.catalog-layout:not(:has(.sb-wrap)).toc-open > .catalog {
  display: block !important;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(320px, 86vw);
  overflow-y: auto;
  background: var(--ds-page);
  z-index: 90;
  padding: 16px;
  border-right: 1px solid var(--ds-hairline);
  margin-top: 0;
  border-bottom: 0;
  box-shadow: 4px 0 24px rgba(0,0,0,.18);
}
.file-card:not(:has(.sb-wrap)) .toc-fab {
  display: block !important;
  position: fixed !important;
  right: 16px !important;
  bottom: 16px !important;
  z-index: 80 !important;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 24px;
  border: 1px solid var(--ds-hairline);
  background: var(--ds-raised);
  color: var(--ds-ink);
  font: inherit;
  box-shadow: 0 4px 16px rgba(0,0,0,.18);
}
.catalog-layout:not(:has(.sb-wrap)) .toc-close {
  display: block !important;
  min-height: 44px;
  padding: 10px 12px;
  margin-bottom: 8px;
  border: 1px solid var(--ds-hairline);
  border-radius: 8px;
  background: none;
  color: var(--ds-ink);
  font: inherit;
  width: 100%;
  text-align: center;
}
.file-card .toc-overlay.open {
  display: block;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.35);
  z-index: 85;
}

/* Issue #3 (2026-10-26): 英语首页主体已有年份卡片网格，fab 全宽度隐藏；顶栏返回按钮化样式 */
.file-card:has(.catalog-layout.no-sel) .toc-fab {
  display: none !important;
}
.reader-topnav button.file-hover-underline {
  background: none;
  border: 0;
  font: inherit;
  cursor: pointer;
  padding: 0;
  color: inherit;
}

/* Issue #4 (2026-10-26): 新题型做题视图——原文与选项同屏，动手选就地完成；标签页只留解析阶段 */
.sb-main.nt-same .nt-pane {
  min-width: 0;
}
@media (min-width: 1101px) {
  .sb-main.nt-same {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 18px;
    align-items: start;
  }
  .sb-main.nt-same .nt-p-src {
    grid-column: 1;
    grid-row: 1 / span 3;
  }
  .sb-main.nt-same .nt-p-opt {
    grid-column: 2;
  }
  .sb-main.nt-same .nt-p-do {
    grid-column: 2;
  }
}
/* kp chips + hover card (2026-10-26) */
.kp-chips{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 4px}
.kp-chip{font:13px/1.6 system-ui;padding:4px 10px;border:1px solid #c7d2fe;border-radius:999px;background:#eef2ff;color:#3730a3;cursor:pointer}
.kp-chip:hover{background:#e0e7ff}
.kp-hovercard{position:absolute;z-index:60;background:#fff;border:1px solid #d1d5db;border-radius:12px;box-shadow:0 12px 32px rgba(0,0,0,.18);padding:14px 16px;font:14px/1.7 system-ui;color:#111827}
.kp-hc-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}
.kp-hc-close{flex:none;width:28px;height:28px;border-radius:50%;border:1px solid #d1d5db;background:#fff;font-size:16px;cursor:pointer}
.kp-hc-meta{color:#6b7280;font-size:12px;margin-top:2px}
.kp-hc-frag{margin-top:8px;font-size:12px;color:#374151}
.kp-hc-snip{margin-top:8px;font-size:12px;color:#4b5563;border-top:1px dashed #e5e7eb;padding-top:8px;max-height:120px;overflow:hidden}
.kp-hc-foot{margin-top:10px}
.kp-hc-foot a{color:#4f46e5;text-decoration:none}
.kp-chips-label{font:12px/1.6 system-ui;color:#6b7280;align-self:center}

/* Issue #5 (2026-10-26, 工单022): 英语内页全宽单列 + 目录抽屉全宽度 + 检查条改非悬浮 */
/* 5a. 含 sb-wrap 的内页目录抽屉化取消 1400px 上限，全宽度生效（写作/新题型/翻译宽屏不再常驻左栏） */
.catalog-layout:has(.sb-wrap) {
  display: block !important;
}
.catalog-layout:has(.sb-wrap) > .catalog {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  bottom: 0 !important;
  width: min(320px, 86vw) !important;
  max-width: none !important;
  overflow-y: auto !important;
  background: var(--ds-page) !important;
  z-index: 90 !important;
  padding: 16px !important;
  border-right: 1px solid var(--ds-hairline) !important;
  border-bottom: 0 !important;
  transform: translateX(-105%) !important;
  transition: transform .25s ease !important;
  margin-top: 0 !important;
}
.catalog-layout.toc-open:has(.sb-wrap) > .catalog {
  transform: none !important;
}
.catalog-layout:has(.sb-wrap) > .catalog .eng-ybtn {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 4px 0 !important;
}
.file-card:has(.catalog-layout):has(.sb-wrap) .toc-fab {
  display: block !important;
  position: fixed !important;
  right: 16px !important;
  bottom: 16px !important;
  z-index: 80 !important;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 24px;
  border: 1px solid var(--ds-hairline);
  background: var(--ds-raised);
  color: var(--ds-ink);
  font: inherit;
  box-shadow: 0 4px 16px rgba(0,0,0,.18);
}
.catalog-layout:has(.sb-wrap) .toc-close {
  display: block !important;
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
}
/* 5b. 新题型做题视图双栏改单列：原文转录与动手排上下排列（空位抽屉内可读各段全文，不依赖并排） */
.sb-main.nt-same {
  display: block !important;
}
.sb-main.nt-same .nt-pane {
  min-width: 0;
}
/* 5c. 「检查」条改非悬浮，不再压正文 */
.ip-bar {
  position: static !important;
}
/* 5d. 写作页章节列表 ≥1200px 由侧栏改顶部胶囊行，正文单列占满 */
@media (min-width: 1200px) {
  .sb-wrap:has(.sb-group) {
    display: block !important;
  }
  .sb-wrap:has(.sb-group) > .sb-side {
    position: static !important;
    display: block !important;
    width: auto !important;
    max-height: none !important;
    overflow: visible !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: none !important;
    padding: 0 !important;
    margin: 0 0 12px;
  }
  .sb-wrap:has(.sb-group) > .sb-side .sb-item {
    display: inline-flex !important;
    align-items: center;
    width: auto !important;
    padding: 8px 16px !important;
    min-height: 40px;
    border: 1px solid var(--ds-hairline,#ddd) !important;
    border-radius: 999px !important;
    margin: 0 6px 6px 0 !important;
    background: #fff;
  }
  .sb-wrap:has(.sb-group) > .sb-side .sb-group {
    display: block;
    margin: 0 0 6px;
  }
  .sb-wrap:has(.sb-group) > .sb-main {
    width: 100%;
  }
}

/* ============================================================
   Muse UI takeover · 036/037 pass 1 (2026-10-26)
   Align to cuoti standard: data-card grids single column at all widths.
   obsgrid/pairgrid/coeffrows were forced to 2-5 columns by the
   min-width:390px / min-width:768px media queries above.
   Revert = delete this block.
   ============================================================ */
.obsgrid,
.pairgrid,
.coeffrows,
.latex-body .coeffrows {
  grid-template-columns: minmax(0, 1fr) !important;
}

/* yong 修复 · /pro 首页 (shi 18:14 追问UI; 14:23 抽屉-only 首页偏空) 2026-10-26
   首页(含 .study-illustration 的目录页)：目录常驻在正文之上，不再藏进抽屉；crumb 链接统一成描边按钮。
   Revert = delete this block. */
.file-card:has(.study-illustration) .toc-fab,
.file-card:has(.study-illustration) .toc-close {
  display: none !important;
}
.file-card:has(.study-illustration) .catalog-layout:not(:has(.sb-wrap)) > .catalog {
  display: block !important;
  position: static !important;
  transform: none !important;
  width: auto !important;
  z-index: auto !important;
  overflow: visible !important;
  border: 0 !important;
  padding: 0 0 8px !important;
  margin: 0 !important;
  background: none !important;
  box-shadow: none !important;
}
@media (min-width: 700px) {
  .file-card:has(.study-illustration) .catalog-layout:not(:has(.sb-wrap)) > .catalog {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 24px;
  }
  .file-card:has(.study-illustration) .catalog-layout > .catalog > h2 {
    grid-column: 1 / -1;
  }
}
.file-card:has(.study-illustration) .catalog-layout > .catalog summary {
  border: 1px solid var(--ds-hairline);
  border-radius: 12px;
  padding: 8px 14px;
  background: var(--ds-raised);
}
.reader-topnav a.file-hover-underline,
.crumb a.crumb-a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 6px 14px;
  border: 1px solid var(--ds-hairline);
  border-radius: 999px;
  text-decoration: none;
  box-sizing: border-box;
}
.file-card:has(.study-illustration) .reader > .file-group > h2.file-group-heading,
.file-card:has(.study-illustration) .reader > .file-group > p.file-p:first-of-type {
  display: none !important;
}

/* yong 修复 · /eng 首页年份卡片:原先 <1000px 时卡片 display:none 且「目录」按钮也隐藏,窄屏没有任何入口。
   现在所有宽度都显示,2/3/4列等高对齐(对齐错题站卡片网格)。Revert = delete this block. */
.catalog-layout.no-sel .eng-ycards {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 4px 0 28px;
  align-items: stretch;
}
@media (min-width: 700px) {
  .catalog-layout.no-sel .eng-ycards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
}
@media (min-width: 1000px) {
  .catalog-layout.no-sel .eng-ycards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.catalog-layout.no-sel .eng-ycard {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 16px 16px 12px;
  min-height: 108px;
  height: 100%;
  box-sizing: border-box;
  border: 1px solid var(--ds-hairline,#ddd);
  border-radius: 14px;
  background: #fff;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
}
.catalog-layout.no-sel .eng-ycard-y { font-size: 26px; font-weight: 600; letter-spacing: .02em; }
.catalog-layout.no-sel .eng-ycard-t { font-size: 14px; color: var(--ds-ink-2,#777); min-height: 20px; }
.catalog-layout.no-sel .eng-ycard-go { margin-top: auto; font-size: 13px; color: var(--ds-teal,#2b8a7a); }

/* ===== 英语新题型单篇页: 双栏精读版式(原文 58% / 题目 42%),只借结构 ===== */
.sn{display:inline-flex;align-items:center;justify-content:center;min-width:1.45em;height:1.45em;margin:0 .3em 0 .2em;padding:0 .3em;border-radius:999px;background:#2f6fe4;color:#fff;font:600 .66em/1 system-ui,sans-serif;vertical-align:.18em;box-sizing:border-box}
.sn-meta{margin:2px 0 10px;font-size:13px;color:#6b7280}
.nt-same .nt-p-do .op-card{background:#fffbea;border:1px solid #efe3ae;border-radius:12px}
.nt-same .nt-p-do .op-card.op-fixed{background:#fff6d6}
.nt-same .nt-p-do .ip-bar button:not(.ip-toc){background:#f5c518;border-color:#e0b100;color:#1f1a00;font-weight:600;border-radius:10px}
.nt-same .nt-p-do .ip-bar button:not(.ip-toc):disabled{background:#f1ead0;border-color:#e6dcae;color:#8a8466}
@media (min-width:700px){
  .sb-main.nt-same:has(.nt-p-src[style*="block"]):has(.nt-p-do[style*="block"]){display:grid !important;grid-template-columns:minmax(0,58fr) minmax(0,42fr);gap:0 18px;align-items:start}
  .sb-main.nt-same .nt-p-src[style*="block"],.sb-main.nt-same .nt-p-do[style*="block"]{max-height:calc(100vh - 120px);overflow-y:auto;overscroll-behavior:contain;position:sticky;top:10px;min-width:0}
  .sb-main.nt-same .nt-p-src[style*="block"]{padding-right:14px;border-right:1px solid #e8e8e6}
  .sb-main.nt-same .nt-p-do[style*="block"]{background:#fffdf4;border:1px solid #f0e6b8;border-radius:14px;padding:6px 14px 14px}
}
@media (max-width:699px){
  .sb-main.nt-same .nt-p-do[style*="block"]{background:#fffdf4;border:1px solid #f0e6b8;border-radius:14px;padding:6px 12px 12px;margin-top:14px}
}

/* ============================================================
   Muse UI takeover · 037 pass 2 (2026-10-26) — button unification.
   Ad-hoc buttons were near-cousins but inconsistent: radius 10/12/999
   mixed, min-height 40/44/48 mixed, three different active blues,
   .kp-chip on an off-palette indigo. One family now:
   - Tier A (block/tab buttons): radius 12px, min-height 44px,
     padding 8px 14px, 15px font, hairline border, white bg.
   - Tier B (pills/chips): radius 999px, min-height 40px,
     padding 6px 14px, 14px font, same border/bg.
   - One active state: solid #1a56db + white text everywhere.
   - One focus ring for the whole family.
   Untouched on purpose: .file-button (design-system component),
   .file-pill/.file-badge (badges, not buttons), .eng-ycard (cards).
   Revert = delete this block.
   ============================================================ */
.eng-ybtn,
.kn-tab,
.sb-dirbtn {
  min-height: 44px !important;
  padding: 8px 14px !important;
  border-radius: 12px !important;
  border: 1px solid var(--ds-hairline, #ddd) !important;
  background: #fff !important;
  font-size: 15px !important;
}
.kn-imgbtn {
  border-radius: 12px !important;
  border: 1px solid var(--ds-hairline, #ddd) !important;
}
.eng-gbtn,
.kn-chip,
.kp-chip {
  min-height: 40px !important;
  padding: 6px 14px !important;
  border-radius: 999px !important;
  border: 1px solid var(--ds-hairline, #ddd) !important;
  background: #fff !important;
  color: inherit !important;
  font-size: 14px !important;
}
.eng-ybtn:hover,
.kn-tab:hover,
.sb-dirbtn:hover,
.eng-gbtn:hover,
.kn-chip:hover,
.kp-chip:hover,
.kn-imgbtn:hover {
  border-color: var(--ds-ink-2, #888) !important;
}
.eng-on,
.kn-tab.on,
.kn-chip.on {
  background: #1a56db !important;
  border-color: #1a56db !important;
  color: #fff !important;
}
.toc-fab {
  width: 48px;
  height: 48px;
  border-radius: 50% !important;
  border: 1px solid var(--ds-hairline, #ddd) !important;
  background: #fff !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .14);
}
.kp-hc-close {
  width: 32px !important;
  height: 32px !important;
}
.eng-ybtn:focus-visible,
.kn-tab:focus-visible,
.sb-dirbtn:focus-visible,
.eng-gbtn:focus-visible,
.kn-chip:focus-visible,
.kp-chip:focus-visible,
.kn-imgbtn:focus-visible,
.toc-fab:focus-visible,
.kp-hc-close:focus-visible {
  outline: 2px solid #1a56db;
  outline-offset: 2px;
}

/* ===== 对齐错题站外观(shi 20:00 「跟错题站看齐」): 底色/字体/卡片/标题 ===== */
html body{background:#f5f7fa !important;color:#172033 !important;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei",system-ui,sans-serif !important}
body *{font-family:inherit}
.file-title,h1.file-title,.file-card h1,.file-card h2,.file-group-heading,.file-group-label{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei",system-ui,sans-serif !important;font-weight:700;color:#172033;letter-spacing:0}
.file-title,h1.file-title{font-size:26px;line-height:1.3}
main.file-card{background:#fff !important;border-radius:22px;box-shadow:0 1px 2px rgba(25,36,53,.05),0 8px 24px rgba(25,36,53,.06);margin:14px auto !important;max-width:1180px;padding:24px 28px !important}
.file-card:has(.sb-wrap){background:transparent !important;box-shadow:none;max-width:1180px}
details{background:#fff;border:1px solid #e3e8ef;border-radius:16px}
details>summary{border-radius:16px}
.slots-grid>div,.op-card,.kn-card,.file-callout{border-radius:14px}
.file-bar{background:#f0f5ff;border-left:3px solid #0a66f5}
.file-link,a.file-link{color:#0a66f5}
.file-pill,.file-badge{border-radius:999px}
@media (max-width:699px){
  main.file-card{margin:8px !important;padding:16px 14px !important;border-radius:18px}
  .file-title,h1.file-title{font-size:22px}
}
details>summary{background:#f6f8fb !important;border:1px solid #e3e8ef !important}
details[open]>summary{background:#eef3fb !important}
.toc-fab{width:auto !important;min-width:48px;padding:0 16px !important;border-radius:999px !important;white-space:nowrap}
main.file-card:has(.sb-wrap){padding:12px 10px !important}

/* ===== /eng 年份卡: 按错题站卡片密度与配色收紧 ===== */
.eng-ycards{grid-template-columns:repeat(auto-fill,minmax(140px,1fr)) !important;gap:10px !important}
.eng-ycard{background:#fff !important;border:1px solid #e3e8ef !important;border-radius:14px !important;padding:10px 14px !important;min-height:0 !important;gap:2px !important;box-shadow:0 1px 2px rgba(25,36,53,.05) !important;text-align:left}
.eng-ycard:hover,.eng-ycard:focus-visible{border-color:#0a66f5 !important;background:#f6f9ff !important}
.eng-ycard-y{font-size:20px !important;font-weight:700 !important;color:#172033 !important;line-height:1.2 !important}
.eng-ycard-t{font-size:13px !important;color:#647083 !important}
.eng-ycard-go{font-size:13px !important;color:#0a66f5 !important;font-weight:600 !important;margin-top:2px !important}
@media (max-width:699px){
  main table,.file-card table{display:block;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
  main table td,main table th,.file-card table td,.file-card table th{min-width:132px}
}

/* kp card layout 10-27 */
.kpcards{box-sizing:border-box;width:100%;min-width:0;padding:12px 12px 60px;font-size:16px;line-height:1.8}
.kpc-card{min-width:0;padding:8px 14px 14px;overflow-wrap:anywhere}
.kpc-card>p{margin:6px 0}
.kpc-f{margin:18px 0 0;padding-top:12px;border-top:1px solid var(--ds-hairline,#ddd);min-width:0}
.kpc-fh{font-size:17px;line-height:1.5;margin:0 0 8px;display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.kpc-tg{font-size:12px;font-weight:500;padding:1px 8px;border-radius:999px;border:1px solid #ccc;color:#555}
.kpc-tg.ok{background:#e8f5ec;border-color:#9ccfae;color:#17653a}
.kpc-tg.wait{background:#fff6e0;border-color:#e6c875;color:#8a5a00}
.kpc-tg.miss{background:#fdeaea;border-color:#e3a3a3;color:#a33}
.kpc-tg.own{background:#eef0ff;border-color:#b9bff0;color:#3b46a8}
.kpc-line{margin:6px 0;padding-left:2px}
.kpc-steps{margin:4px 0;padding-left:1.6em}
.kpc-steps>li{margin:10px 0;padding-left:2px}
.kpl-p{margin:2px 0;overflow-wrap:anywhere}
.kpl-eq{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:6px 0;padding:4px 8px;background:#f6f7f9;border-radius:6px;min-width:0}
.kpl-eq .katex-display{margin:0;flex:1 1 auto;min-width:0;max-width:100%;overflow-x:auto;overflow-y:hidden;text-align:left}
.kpl-eq .katex-display>.katex{text-align:left}
.kpl-no{flex:none;color:#666;font-size:14px}
.kpc-f .katex{white-space:normal}
.kpc-f .kpl-eq .katex{white-space:nowrap}
.kpc-src{margin-top:8px;font-size:13px;line-height:1.6;color:#666;background:#fafafa;border-left:3px solid #d5d8de;padding:4px 10px;border-radius:0 6px 6px 0}
.kpc-card summary{flex-wrap:wrap}
.kpc-steps{list-style:decimal outside}.kpc-steps>li::marker{color:#4b5563;font-weight:600}
.kpc-legend{margin:12px 0;padding:10px 14px;border:1px solid #cfd6e6;background:#f4f7fd;border-radius:10px;font-size:15px;line-height:1.7}.kpc-legend p{margin:4px 0}

/* 10-27 平板横屏(1000-1199px)侧栏目录常驻,与数学站一致;英语 sb-wrap 页保持原抽屉 */
@media (min-width: 1100px) and (max-width: 1199px) {
  .catalog-layout:not(:has(.sb-wrap)):not(:has(.study-illustration)) { display: grid !important; grid-template-columns: 250px minmax(0, 1fr); gap: 28px; }
  .catalog-layout:not(:has(.sb-wrap)):not(:has(.study-illustration)) > .catalog {
    display: block !important; visibility: visible !important; opacity: 1 !important; position: sticky !important; top: 16px !important; left: auto !important; bottom: auto !important;
    align-self: start; width: auto !important; max-height: calc(100vh - 32px); overflow-y: auto;
    transform: none !important; z-index: 1; padding: 4px 16px 4px 0 !important; background: transparent !important;
    border-right: 1px solid var(--ds-hairline) !important; border-bottom: 0 !important;
  }
  .catalog-layout:not(:has(.sb-wrap)):not(:has(.study-illustration)) .toc-close, .catalog-layout:not(:has(.sb-wrap)):not(:has(.study-illustration)) > .catalog > button { display: none !important; }
  body .file-card:not(:has(.sb-wrap)):not(:has(.study-illustration)):has(.catalog-layout) .toc-fab { display: none !important; }
  .toc-overlay.open { display: none !important; }
}

/* models page: wider container and a table that scrolls inside its own box */
.kpcards:has(.kpm-t) { max-width: 1160px; }
.kpm-t { min-width: 1000px; }
.kpm-t th, .kpm-t td { vertical-align: top; overflow-wrap: anywhere; }
.kpm-t td:nth-child(2), .kpm-t td:nth-child(3) { min-width: 150px; }
.kpm-t td:nth-child(5) { min-width: 240px; }
@media (max-width: 700px) { .kpm-t { min-width: 900px; } }

/* 10-28 工作台与目录，保持原题/原资料内容不变 */
.study-dash{margin:24px 0 30px}.study-dash-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.study-eyebrow{font-size:12px;font-weight:700;letter-spacing:.12em;color:#52617a}.study-dash h2{font-size:28px!important;line-height:1.4;margin:7px 0}.study-dash p{color:#66748a;font-size:14px;margin:0}.study-cta{flex:none;background:#2450e8;color:white!important;border-radius:999px;padding:12px 20px;text-decoration:none;font-weight:700}.study-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:24px 0 16px}.study-metrics a{display:flex;flex-direction:column;gap:4px;background:#f5f8ff;border:1px solid #dce5f7;border-radius:18px;padding:18px 20px;text-decoration:none;color:#172033}.study-metrics b{font-size:28px;line-height:1.2}.study-metrics span{font-size:13px;color:#60708a}.study-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.study-shortcuts a{display:grid;gap:7px;border:1px solid #e2e8f0;background:#fff;border-radius:18px;padding:18px;text-decoration:none;color:#172033;box-shadow:0 3px 12px #14213606}.study-shortcuts i{font-style:normal;color:#2450e8;font-size:13px;font-weight:700}.study-shortcuts strong{font-size:16px}.study-shortcuts span{font-size:13px;line-height:1.7;color:#66748a}.study-shortcuts a:hover,.study-metrics a:hover{border-color:#2450e8;transform:translateY(-1px)}
.study-home .study-illustration{display:none}.study-home .catalog{background:#f8faff!important;border:1px solid #dce5f7!important;border-radius:18px;padding:16px!important}.study-home .catalog h2{font-size:17px}.study-home .catalog details{margin-bottom:9px}.reader{min-width:0}.file-group{min-width:0}
@media(min-width:1000px){.catalog-layout:not(:has(.sb-wrap)){display:grid!important;grid-template-columns:250px minmax(0,1fr)!important;gap:24px!important}.catalog-layout:not(:has(.sb-wrap))>.catalog{display:block!important;position:sticky!important;top:18px!important;left:auto!important;bottom:auto!important;width:auto!important;max-height:calc(100vh - 36px);overflow:auto;transform:none!important;align-self:start;z-index:1;visibility:visible!important;opacity:1!important}.catalog-layout:not(:has(.sb-wrap)) .toc-close,main.file-card:not(:has(.sb-wrap)) .toc-fab{display:none!important}.toc-overlay.open{display:none!important}.study-home .catalog-layout{grid-template-columns:320px minmax(0,1fr)!important}.study-home .catalog{grid-column:1/-1;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;position:static!important;max-height:none!important}.study-home .catalog h2,.study-home .catalog>p{grid-column:1/-1}.study-home .catalog details{margin:0}.study-home .reader{display:none}}
@media(max-width:999px){.study-dash h2{font-size:24px!important}.study-shortcuts{grid-template-columns:1fr}.study-home .catalog{display:block!important;position:static!important;transform:none!important;width:auto!important;max-height:none!important}.study-home .toc-fab{display:none!important}}
@media(max-width:599px){.study-dash-heading{align-items:flex-start;flex-direction:column}.study-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.study-metrics a{padding:14px}.study-metrics b{font-size:25px}.study-dash h2{font-size:22px!important}.study-dash{margin-top:20px}.study-home .file-title{font-size:23px!important}.reader-topnav{padding-right:145px;min-height:40px}}

/* 数学站同源完成表与动画样式 */
.db-box{margin:8px 0}.db-sum{font-size:13px;margin:6px 0}.db-bars{margin:6px 0}.db-bar{display:flex;align-items:center;gap:8px;font-size:12px;margin:3px 0}.db-bl{width:150px;flex:none}.db-tr{flex:1;height:8px;background:#e6eaf0;border-radius:4px;overflow:hidden;display:flex}.db-f1{background:#2e9b57;display:block}.db-f2{background:#e8a317;display:block}
.db-tbl{margin-top:8px}.db-r{display:grid;grid-template-columns:38px repeat(9,minmax(0,1fr)) 36px;gap:3px;margin-bottom:3px;align-items:stretch}.db-y{font-size:12px;font-weight:700;align-self:center}.db-hc{font-size:10px;text-align:center;color:#667}.db-p{font-size:11px;align-self:center;text-align:right;color:#445}
.db-c{position:relative;display:flex;align-items:center;justify-content:center;min-height:34px;border-radius:6px;text-decoration:none;color:#172033;border:1px solid transparent;user-select:none;-webkit-user-select:none}.db-c b{font-size:14px}.db-e{background:transparent}
.db-u{background:#eceff3;color:#8a94a6}.db-m{background:#bfe6cd;border-color:#2e9b57}.db-s{background:#ffe9b8;border-color:#e8a317}.db-f{background:#ffd2a6;border-color:#e07a1f}.db-n{background:#f7b9b2;border-color:#e0584a}.db-x{opacity:.25}
.db-star{position:absolute;left:1px;top:-1px;font-size:9px;font-style:normal;color:#b88400}.db-rd{position:absolute;right:2px;bottom:0;font-size:9px;color:#334}.db-mb{position:absolute;right:1px;top:-2px;font-size:11px;line-height:12px;padding:0 2px;color:#556;cursor:pointer}
.db-strip{position:sticky;bottom:0;background:#fff;border:1px solid #cfd6e2;border-radius:10px;padding:8px 10px;margin-top:10px;box-shadow:0 -2px 10px rgba(0,0,0,.08)}.db-st{font-size:13px;font-weight:700}
@media(max-width:480px){.db-r{grid-template-columns:30px repeat(9,minmax(0,1fr)) 30px;gap:2px}.db-hc{font-size:8px}.db-bl{width:110px}}
.db-gl{position:absolute;inset:0;border-radius:6px;pointer-events:none;opacity:0;background:#fff}
.db-u .db-gl{background:#8fa6c4;box-shadow:0 0 10px 2px rgba(110,140,185,.65)}
.db-m .db-gl{background:#2e9b57;box-shadow:0 0 12px 3px rgba(46,155,87,.7)}.db-s .db-gl{background:#e8a317;box-shadow:0 0 12px 3px rgba(232,163,23,.7)}.db-f .db-gl{background:#e07a1f;box-shadow:0 0 12px 3px rgba(224,122,31,.7)}.db-n .db-gl{background:#e0584a;box-shadow:0 0 12px 3px rgba(224,88,74,.7)}
.db-c b{position:relative;z-index:1}.db-p{display:inline-block}
.db-tw{position:absolute;inset:0;border-radius:6px;pointer-events:none;opacity:0;background:#fff}.db-u .db-tw{background:#9db4d3}

.study-board{background:#fff;border:1px solid #e2e8f0;border-radius:22px;padding:18px;margin:18px 0 24px}.study-board h2{font-size:22px;margin:0}.study-board .db-r{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:8px}.study-board .db-c{min-height:66px;flex-direction:column;gap:2px;border-radius:12px}.study-board .db-c small{font-size:11px}.board-note{font-size:13px;color:#647083}.board-actions{display:flex;gap:8px;margin-bottom:12px}.board-actions button{border:1px solid #dce2ea;border-radius:99px;background:#f8fafc;min-height:40px;padding:6px 14px;font-size:13px}.board-missing{border:1px dashed #bbc5d3!important;background:#f8f9fb!important;color:#8a94a6!important}.study-board .db-gl,.study-board .db-tw{border-radius:12px}.kp-hovercard{position:fixed!important;z-index:9200!important;border-radius:20px!important;box-sizing:border-box;max-height:min(70vh,560px);overflow:auto;border:1px solid #dce2ea!important;box-shadow:0 8px 24px #19243525!important;background:#fff!important;color:#172033!important}.kp-hc-head{padding-bottom:10px;border-bottom:1px solid #e8edf3;gap:10px}.kp-hc-meta{color:#647083;font-size:12px}.kp-hc-frag{background:#f5f8ff;border-radius:12px;padding:10px;margin:10px 0}.kp-hc-foot a{display:block;border-radius:99px;background:#edf3ff;color:#285fcf;padding:8px 14px;text-align:center}.kp-hc-snip{font-size:13px;line-height:1.8;color:#526071}
@media(min-width:760px) and (max-width:999px){.catalog-layout:not(:has(.sb-wrap)):not(:has(.study-illustration)){display:grid!important;grid-template-columns:210px minmax(0,1fr)!important;gap:18px!important}.catalog-layout:not(:has(.sb-wrap)):not(:has(.study-illustration))>.catalog{position:sticky!important;top:12px!important;left:auto!important;bottom:auto!important;transform:none!important;width:auto!important;max-height:calc(100vh - 24px);overflow:auto;visibility:visible!important;display:block!important;background:#f8faff!important;z-index:1;padding:12px!important;border:1px solid #dce5f7!important;border-radius:18px}.catalog-layout:not(:has(.sb-wrap)):not(:has(.study-illustration)) .toc-close,main.file-card:not(:has(.sb-wrap)):not(:has(.study-illustration)) .toc-fab{display:none!important}.toc-overlay.open{display:none!important}}
@media(max-width:759px){.catalog-layout:not(:has(.sb-wrap)):not(:has(.study-illustration))>.catalog{border-radius:0 22px 22px 0;box-shadow:8px 0 30px #17203325;z-index:9300!important}.toc-overlay.open{z-index:9250!important}.toc-fab{background:#172033!important;color:#fff!important;box-shadow:0 6px 22px #17203333}.study-board{padding:14px}.study-board .db-r{gap:5px}.study-board .db-c{min-height:62px}}
body:has(.toc-open)>.ss-btn{visibility:hidden!important}.catalog-layout>.catalog{align-self:start!important}.study-board .db-c:focus-visible{outline:3px solid #9bbcff;outline-offset:2px}.study-board .db-c:hover{filter:brightness(.97)}
@media(max-width:759px){.catalog-layout:not(:has(.sb-wrap)):not(:has(.study-illustration))>.catalog{height:100dvh!important;max-height:100dvh!important;box-sizing:border-box;align-self:auto!important}.toc-overlay.open{height:100dvh!important}.catalog-layout.toc-open~.toc-fab,body:has(.toc-open) .toc-fab{visibility:hidden}}
.study-global-nav{display:flex;flex-wrap:wrap;gap:7px;padding:10px 0 14px;margin-bottom:12px;border-bottom:1px solid #e8edf3}.study-global-nav a{display:inline-flex;align-items:center;justify-content:center;min-height:40px;border-radius:99px;background:#fff;border:1px solid #e2e8f0;padding:6px 16px;color:#526071;font-size:14px;text-decoration:none}.study-global-nav a.active{background:#172033;border-color:#172033;color:#fff}.study-global-nav a:hover{border-color:#356fe5}.kp-bank-link{display:block;padding:10px 14px;margin:14px 0;border-radius:12px;background:#edf3ff;color:#285fcf;text-decoration:none;font-size:14px}.kpcards>.study-global-nav{padding-right:150px;min-height:52px}.wrap>.study-global-nav{margin-top:8px}.bank-search{box-sizing:border-box;border:1px solid #dce2ea;border-radius:14px;background:#fff;padding:12px 16px;width:100%;min-height:46px;font:inherit;margin:8px 0}.bank-search:focus{outline:3px solid #356fe522;border-color:#356fe5}.study-global-nav a:focus-visible{outline:3px solid #9bbcff}.mast button:disabled{opacity:.4;cursor:not-allowed}
@media(max-width:599px){.study-global-nav{gap:5px}.study-global-nav a{font-size:12px;padding:5px 11px;min-height:36px}.kpcards>.study-global-nav{padding-right:0;padding-top:52px}.study-home>.study-global-nav{padding-top:42px}.wrap>.study-global-nav{padding-top:0}.study-home .reader-topnav{padding-right:0}.kp-bank-link{font-size:13px}}
.study-home>.crumb{display:none}.study-home .reader-topnav{margin-top:4px}.study-home .file-header{margin-bottom:12px}.qc details{padding:0 10px 8px}.qc details>summary{margin:0 -10px;padding:8px 10px}.qc .steps .katex{max-width:100%}
.qc .katex{display:inline-block;max-width:100%;overflow-x:auto;overflow-y:hidden;vertical-align:middle;padding:2px 0}.qc .steps{padding-left:20px}.qc .steps li{overflow-wrap:anywhere;min-width:0;list-style:decimal outside}.qc .steps li::marker{font-weight:700;color:#526071}
/* 知识点工作台与目录 */
.kp-workspace-head{margin:4px 0 16px;order:1}.kp-workspace-head h2{font-size:28px;line-height:1.3;margin:8px 0}.kp-workspace-head p{font-size:14px;color:#647083;margin:6px 0}.kp-workspace-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:18px}.kp-workspace-stats>span,.kp-workspace-stats>a{display:flex;flex-direction:column;padding:14px 16px;border:1px solid #dce5f7;border-radius:16px;background:#f8faff;font-size:12px;color:#647083;text-decoration:none}.kp-workspace-stats b{font-size:25px;color:#172033;line-height:1.4}.kp-source-fold{order:2;border:1px solid #e2e8f0;background:#fff;border-radius:12px;margin:0 0 8px;padding:8px 14px}.kp-source-fold summary{cursor:pointer;font-weight:600;font-size:13px}.kp-source-fold p{font-size:13px;line-height:1.8}.kp-source-fold .kpc-legend{border:0;background:none;margin:0;padding:8px 0}.kp-workspace .kpc-card{border-radius:18px;padding:8px 14px 14px;background:#fff;margin:5px 0 12px;scroll-margin-top:15px}.kp-workspace .kpc-card>summary{border-radius:14px;padding:12px 10px;min-height:48px;box-sizing:border-box;gap:8px;line-height:1.7}.kp-workspace .kpc-card[open]>summary{background:#edf3ff;border-color:#cbd8f6}.kp-workspace .kpc-f{background:#fafbfd;border:1px solid #e6ebf2;border-radius:14px;padding:12px 14px;margin-top:14px}.kp-workspace .kpc-fh{font-size:16px}.kp-workspace .kpc-st{font-size:11px}.kp-rail{order:5;background:#fff;border:1px solid #dce5f7;border-radius:18px;padding:12px;box-sizing:border-box;margin:6px 0 16px}.kp-rail-fold>summary{font-size:15px;font-weight:700;cursor:pointer;padding:4px 0}.kp-rail input{box-sizing:border-box;width:100%;border:1px solid #dce2ea;border-radius:10px;padding:10px;margin:10px 0;font:inherit;font-size:13px;background:#f8fafc}.kp-rail-list{display:grid;gap:4px;max-height:60vh;overflow:auto}.kp-rail-list a{display:flex;gap:8px;padding:9px 8px;border-radius:10px;color:#526071;font-size:12px;line-height:1.6;text-decoration:none}.kp-rail-list a b{font-size:11px;flex:none;color:#3561bf}.kp-rail-list a:hover,.kp-rail-list a.active{background:#edf3ff;color:#1d4ed8}.kp-rail-list a[hidden]{display:none}.kp-workspace[hidden]{display:none}.kp-workspace>.study-global-nav{order:0;padding-right:0}.kp-rail a:focus-visible,.kp-source-fold summary:focus-visible{outline:3px solid #9bbcff}.bank-results{font-size:13px;color:#647083;margin:8px 0}.bank-empty{border:1px dashed #c5cfdd;border-radius:16px;padding:24px;text-align:center;background:#fff}.bank-empty[hidden]{display:none}.study-board-progress{height:8px;background:#edf0f5;border-radius:99px;overflow:hidden;margin:12px 0}.study-board-progress i{display:block;height:100%;background:#2e9b57;transition:width .3s}.reader-topnav+.crumb{border-radius:16px;background:#f8faff;border:1px solid #e5ebf4;padding:8px}.catalog-layout>.catalog{border-radius:18px}.kpm-t-wrap:before{content:'左右滑动表格，查看完整模型与阶数 →';display:block;font-size:12px;color:#647083;padding:8px 0}
@media(min-width:760px){.kp-workspace{max-width:calc(100% - 236px);margin-left:224px;margin-right:12px}.kp-rail{position:fixed;left:12px;top:20px;bottom:20px;width:200px;margin:0;z-index:4;overflow:auto}.kp-rail-list{max-height:calc(100vh - 150px)}.kp-rail-fold>summary{list-style:none;pointer-events:none}.kp-workspace>.study-global-nav{padding-right:100px;min-height:60px}.kp-workspace .kpc-card>summary{font-size:15px}.kp-workspace .kpc-st{flex-basis:100%;margin-left:0}}
@media(min-width:1200px){.kp-workspace{width:calc(100% - 268px);max-width:920px;margin-left:max(244px,calc((100vw - 1160px)/2 + 224px));margin-right:auto}.kp-rail{left:max(12px,calc((100vw - 1160px)/2));top:24px;width:204px}.kp-workspace>.study-global-nav{padding-right:0}}
@media(max-width:759px){.kp-workspace-head h2{font-size:24px}.kp-workspace-stats{gap:6px}.kp-workspace-stats>span,.kp-workspace-stats>a{padding:10px;font-size:11px}.kp-workspace-stats b{font-size:23px}.kp-workspace .kpc-card{padding:6px 8px 10px}.kp-workspace .kpc-card>summary{font-size:14px}.kp-workspace .kpc-f{padding:10px}.kp-workspace .kpc-st{flex-basis:100%;margin-left:0}.kp-rail-list{max-height:50vh}}
.kpcards:has(.kpm-t)>div:has(>.kpm-t):before{content:'左右滑动表格，查看完整模型与阶数 →';display:block;font-size:12px;color:#647083;padding:8px 0}.kp-workspace .kpc-card{scroll-margin-top:65px}
.model-view-tools{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:16px 0}.model-view-tools button{font:inherit;font-size:14px;border:1px solid #d3dbe9;border-radius:99px;background:#fff;padding:9px 16px;cursor:pointer;color:#526071}.model-view-tools button.on{background:#172033;color:#fff;border-color:#172033}.model-view-tools small{font-size:12px;color:#647083;flex-basis:100%}.model-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.model-card-grid[hidden],.model-table-original[hidden]{display:none!important}.model-reading-card{min-width:0;border:1px solid #dce5f7;border-radius:20px;padding:18px;background:#fff;box-sizing:border-box}.model-reading-card h2{margin:0 0 12px;font-size:20px;color:#172033;line-height:1.5}.model-reading-field{margin:12px 0 0;border-top:1px solid #e8edf3;padding-top:10px}.model-reading-field h3{font-size:12px;color:#647083;margin:0 0 4px}.model-reading-field>div{font-size:15px;line-height:1.9;overflow-wrap:anywhere}.model-reading-field .katex{display:inline-block;max-width:100%;overflow-x:auto;overflow-y:hidden;vertical-align:middle}.model-reading-field:last-child a{display:inline-block;border:1px solid #dce5f7;border-radius:99px;padding:4px 12px;font-size:13px;background:#edf3ff}.model-view-tools button:focus-visible{outline:3px solid #9bbcff}
@media(max-width:759px){.model-card-grid{grid-template-columns:1fr}.model-reading-card{padding:16px}.model-reading-card h2{font-size:19px}.kpcards:has(.kpm-t)>h1{font-size:23px;line-height:1.5}.kpcards:has(.kpm-t)>p{font-size:14px}.model-reading-field .katex{font-size:1em}}
/* Formula reading sample: desktop three columns, mobile labelled cards. */
.formula-sample{margin:24px 0;padding:22px;background:#f5f9ff;border:1px solid #cbdcf5;border-radius:18px;color:#172c46}.formula-sample h3{font-size:23px;margin:8px 0 12px}.sample-intro{font-size:13px;color:#526981;line-height:1.8}.formula-translation{border:1px solid #d7e1ee;border-radius:12px;overflow:hidden;background:#fff;margin:18px 0}.ft-header,.ft-row{display:grid;grid-template-columns:1.2fr 1fr 1.1fr}.ft-header{background:#183b61;color:white;font-size:13px}.ft-header b,.ft-cell{padding:14px;min-width:0}.ft-row+.ft-row{border-top:1px solid #d7e1ee}.ft-cell{font-size:13px;line-height:1.8;overflow-wrap:anywhere}.ft-cell+.ft-cell{border-left:1px solid #e2e9f2}.ft-label{display:none}.formula-sample .katex-display{margin:10px 0;max-width:100%;overflow-x:auto;overflow-y:hidden;text-align:left;padding:5px 0}.formula-sample math{font-size:1.02em}.sample-proof,.sample-example{padding:18px;background:white;border:1px solid #d7e1ee;border-radius:12px;margin-top:16px}.formula-sample h4{font-size:17px;margin:0 0 14px;line-height:1.7}.formula-sample ol{padding-left:22px;line-height:1.9;font-size:14px}.formula-sample li{padding:8px 0}.sample-check{border-left:3px solid #d49a30;padding:10px 14px;background:#fff8e9;font-size:13px;line-height:1.8}.sample-next{display:inline-block;margin-top:16px;padding:12px 16px;border-radius:9px;background:#234e7b;color:white!important;text-decoration:none}.sample-original{margin:16px 0;padding:12px;border:1px dashed #c5d1df;border-radius:12px}.sample-original>summary{font-size:13px;cursor:pointer;color:#526981}
@media(max-width:599px){.formula-sample{padding:16px 12px;margin:18px 0}.formula-sample h3{font-size:21px}.ft-header{display:none}.ft-row{display:block;padding:8px 0}.ft-cell{padding:10px 13px}.ft-cell+.ft-cell{border-left:0}.ft-label{display:block;font-size:11px;font-weight:700;color:#567394;letter-spacing:.08em;margin-bottom:5px}.sample-proof,.sample-example{padding:14px 12px}.formula-sample ol{padding-left:19px}.formula-sample .katex-display{font-size:.95em}}
.formula-sample .ft-cell{overflow-x:auto}.formula-sample .katex{max-width:100%}
@media(min-width:600px) and (max-width:999px){.ft-header{display:none}.ft-row{display:block;padding:8px 0}.ft-cell+.ft-cell{border-left:0}.ft-label{display:block;font-size:11px;font-weight:700;color:#567394;letter-spacing:.08em;margin-bottom:5px}}
/* Quick tools stay in document flow: never cover a reading or anchor target. */
html body .ss-tools{position:relative!important;display:flex!important;justify-content:flex-end;gap:10px;min-height:62px;padding:12px 16px;background:#f7f9fc;border-bottom:1px solid #e1e7ef;box-sizing:border-box}html body .ss-tools>.ss-btn{position:static!important;inset:auto!important;transform:none!important;margin:0!important}
.practice-panel{padding:18px 20px;border:1px solid #cbdcf5;border-radius:16px;background:#f2f7ff;margin:16px 0}.practice-head{display:flex;gap:18px;align-items:center;justify-content:space-between}.practice-head h2{font-size:20px;margin:4px 0}.practice-head p{font-size:13px;color:#586c87;margin:6px 0}.practice-panel button{border:1px solid #c8d7eb;background:white;color:#21466f;border-radius:10px;padding:10px 14px;cursor:pointer;font:inherit;font-size:13px}.practice-panel .practice-start,.practice-panel .practice-answer{background:#234e7b;color:white;border-color:#234e7b}.practice-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:14px}.practice-controls[hidden],.practice-panel button[hidden]{display:none}.practice-pos{font-size:13px;font-weight:700;min-width:85px;text-align:center}.practice-panel button:disabled{opacity:.35;cursor:default}.practice-active .qc[hidden]{display:none!important}.practice-active .study-board{display:none}.practice-active .bank-results{display:none}@media(max-width:599px){.practice-head{display:block}.practice-head .practice-start{margin-top:10px}.practice-panel{padding:15px}.practice-controls{gap:7px}.practice-controls button{padding:9px 11px}}
.practice-launch{display:flex;gap:8px;flex-wrap:wrap}.practice-launch[hidden]{display:none!important}.practice-message{font-size:13px;line-height:1.8;color:#526981;background:#fff;border-radius:9px;padding:10px 12px}.practice-message[hidden]{display:none}@media(max-width:599px){.practice-launch{margin-top:12px}.practice-head .practice-start{margin-top:0}}
.paper-builder{border:1px solid #d7e2ef;border-radius:16px;background:white;padding:16px 20px;margin:16px 0}.paper-builder summary{font-size:17px}.paper-builder summary span{font-size:12px;font-weight:400;color:#60728d;margin-left:8px}.paper-builder p{font-size:13px;color:#5e7089}.paper-choice{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.paper-choice label{display:flex;gap:9px;align-items:flex-start;font-size:14px;background:#f6f8fc;border-radius:9px;padding:10px;cursor:pointer}.paper-choice input{margin-top:5px;accent-color:#234e7b}.paper-actions,.paper-preview-tools{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:14px}.paper-builder button,.paper-preview-tools button{border:1px solid #c8d7eb;background:white;color:#21466f;border-radius:9px;padding:9px 13px;font:inherit;font-size:13px;cursor:pointer}.paper-builder .paper-build,.paper-print{background:#234e7b!important;color:white!important}.paper-mode .wrap>*:not(.paper-preview){display:none!important}.paper-preview-tools{border-bottom:1px solid #d7e2ef;padding-bottom:14px;margin-bottom:22px}.paper-preview-tools span{font-size:12px;color:#60728d}.paper-title>p:first-child{color:#315b83;font-weight:700}.paper-title h1{font-size:30px}.paper-title p{font-size:14px}.paper-disclaimer{background:#fff8e8;border:1px solid #ead5a3;border-radius:10px;padding:10px}.paper-question,.paper-solution{background:#fff;border:1px solid #dce3ed;border-radius:14px;padding:18px;margin:20px 0}.paper-question h2{font-size:19px;margin-top:0}.paper-workspace{height:130px;margin-top:24px;border-top:1px dashed #cbd5e1;color:#8a97a9;font-size:12px;padding-top:8px}.paper-solutions{margin-top:45px;padding-top:24px;border-top:2px solid #294c73}.paper-solutions>p{font-size:13px;color:#60728d}.paper-preview .katex-display{overflow-x:auto}.practice-active .paper-builder{display:none}@media(max-width:599px){.paper-choice{grid-template-columns:1fr}.paper-builder{padding:14px}.paper-question,.paper-solution{padding:14px}.paper-title h1{font-size:26px}}@media print{@page{size:A4;margin:16mm}body.paper-mode{background:#fff;font-size:11pt;line-height:1.65}body.paper-mode .wrap{max-width:none;padding:0}body.paper-mode>*:not(.wrap){display:none!important}.paper-preview-tools{display:none!important}.paper-question,.paper-solution{border:0;border-radius:0;padding:0;overflow:visible}.paper-question{break-after:page}.paper-solutions{break-before:page;border-top:0;padding-top:0}.paper-solution{break-inside:avoid-page}.paper-preview a{color:inherit;text-decoration:none}.paper-preview .katex-display{overflow:visible}.paper-disclaimer{background:none}.paper-workspace{height:35mm}.paper-title h1{font-size:24pt}.paper-preview .note{font-size:9pt}}
@media print{html,body.paper-mode{position:static!important;inset:auto!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important}body.paper-mode .wrap,body.paper-mode .paper-preview{position:static!important;height:auto!important;overflow:visible!important}}
@media print{body.paper-mode .paper-preview,body.paper-mode .paper-title,body.paper-mode .paper-question,body.paper-mode .paper-solution,body.paper-mode .paper-solutions{background:#fff!important}body.paper-mode .paper-workspace{background:#fff!important}}
@media(min-width:760px) and (max-width:999px){.model-card-grid{grid-template-columns:1fr}.model-reading-card{padding:20px}.model-reading-field>div{font-size:16px}}

.paper-print-option{display:flex;align-items:center;gap:6px;font-size:13px;color:#294c73}.paper-print-option input{accent-color:#234e7b;width:16px;height:16px}@media print{.paper-questions-only .paper-solutions{display:none!important}}
