/* ============================================================
   设计 token —— 全站唯一色值来源
   规范见《前端 UI 设计方案 V1.0》第 2.5 节
   除本文件外，任何 .tsx 不得出现十六进制色值
   ============================================================ */

:root {
  /* 中性 */
  --bg-page: #f5f6f8;
  --bg-surface: #ffffff;
  --bg-subtle: #f7f8fa;
  --bg-hover: #f0f2f5;

  --border: #e3e5e9;
  --border-strong: #d3d7dd;

  --text-primary: #1f2328;
  --text-secondary: #5a626b;
  --text-tertiary: #9aa1ab;
  --text-disabled: #c6cbd2;

  /* 主色：竹绿（沿用公司 VI） */
  --brand-50: #e7f6f0;
  --brand-100: #c7ebdd;
  --brand-600: #1d9e75;
  --brand-700: #0f6e56;
  --brand-900: #04342c;

  /* 可吹性三档 —— 全站唯一语义，不得复用 */
  --grade-ok-text: #3b6d11;
  --grade-ok-bg: #eaf3de;
  --grade-ok-border: #c0dd97;
  --grade-risk-text: #8a5300;
  --grade-risk-bg: #fff4e5;
  --grade-risk-border: #f5d9ae;
  --grade-bad-text: #a32d2d;
  --grade-bad-bg: #fcebeb;
  --grade-bad-border: #f7c1c1;
  --grade-none-text: #5a626b;
  --grade-none-bg: #eef0f3;
  --grade-none-border: #d3d7dd;

  /* 功能色 */
  --info: #185fa5;
  --warning: #8a5300;
  --danger: #a32d2d;
  --success: #3b6d11;

  /* 圆角 */
  --radius-tag: 4px;
  --radius-control: 6px;
  --radius-field: 8px; /* 表单控件（下拉 / 搜索框）用更柔的 8px */
  --radius-card: 10px;
  --radius-modal: 12px;

  /* 遮罩与焦点 */
  --overlay: rgba(31, 35, 40, 0.32);
  --focus-ring: rgba(29, 158, 117, 0.2);

  /* 深色展示面 —— 只用于结论横幅，不做大面积背景 */
  --surface-deep: #0c3029;
  --surface-deep-2: #1a5d48;
  --on-deep: #f0f7f3;
  --on-deep-2: rgba(240, 247, 243, 0.74);
  --on-deep-3: rgba(240, 247, 243, 0.5);
  --on-deep-line: rgba(240, 247, 243, 0.16);
  --on-deep-bad: #f2a9a9;
  --on-deep-warn: #efc48c;
  --on-deep-good: #a8d98d;
  --grad-deep: radial-gradient(118% 150% at 6% -30%, #1f6b52 0%, #0c3029 54%, #051d18 100%);

  /* 阴影三级：色相取竹绿，不用纯黑 */
  --shadow-1: 0 1px 2px rgba(15, 40, 33, 0.05);
  --shadow-2: 0 8px 20px -12px rgba(15, 40, 33, 0.18);
  --shadow-3: 0 26px 52px -30px rgba(15, 40, 33, 0.34);

  /* 密度 */
  --row-h: 52px;

  /* 字体 */
  --font-sans: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", system-ui, -apple-system, sans-serif;
  --font-mono: "SF Mono", "JetBrains Mono", "Consolas", "Menlo", monospace;

  /* 布局 */
  --sidebar-w: 224px;
  --sidebar-w-folded: 56px;
  --content-max: 1360px;
}

html[data-density="compact"] {
  --row-h: 44px;
}

/* 移动端全量适配：小屏收紧侧栏与内容边距 */
@media (max-width: 1023px) {
  :root {
    --sidebar-w: 0px;
    --content-max: 100%;
  }
}



/* ! tailwindcss v3.4.10 | MIT License | https://tailwindcss.com */



/*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/



*,
::before,
::after {
  box-sizing: border-box; /* 1 */
  border-width: 0; /* 2 */
  border-style: solid; /* 2 */
  border-color: #e5e7eb; /* 2 */
}



::before,
::after {
  --tw-content: '';
}



/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
5. Use the user's configured `sans` font-feature-settings by default.
6. Use the user's configured `sans` font-variation-settings by default.
7. Disable tap highlights on iOS
*/



html,
:host {
  line-height: 1.5; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
  -moz-tab-size: 4; /* 3 */
  -o-tab-size: 4;
     tab-size: 4; /* 3 */
  font-family: var(--font-sans); /* 4 */
  font-feature-settings: normal; /* 5 */
  font-variation-settings: normal; /* 6 */
  -webkit-tap-highlight-color: transparent; /* 7 */
}



/*
1. Remove the margin in all browsers.
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
*/



body {
  margin: 0; /* 1 */
  line-height: inherit; /* 2 */
}



/*
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Ensure horizontal rules are visible by default.
*/



hr {
  height: 0; /* 1 */
  color: inherit; /* 2 */
  border-top-width: 1px; /* 3 */
}



/*
Add the correct text decoration in Chrome, Edge, and Safari.
*/



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



/*
Remove the default font size and weight for headings.
*/



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



/*
Reset links to optimize for opt-in styling instead of opt-out.
*/



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



/*
Add the correct font weight in Edge and Safari.
*/



b,
strong {
  font-weight: bolder;
}



/*
1. Use the user's configured `mono` font-family by default.
2. Use the user's configured `mono` font-feature-settings by default.
3. Use the user's configured `mono` font-variation-settings by default.
4. Correct the odd `em` font sizing in all browsers.
*/



code,
kbd,
samp,
pre {
  font-family: var(--font-mono); /* 1 */
  font-feature-settings: normal; /* 2 */
  font-variation-settings: normal; /* 3 */
  font-size: 1em; /* 4 */
}



/*
Add the correct font size in all browsers.
*/



small {
  font-size: 80%;
}



/*
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/



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



sub {
  bottom: -0.25em;
}



sup {
  top: -0.5em;
}



/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
3. Remove gaps between table borders by default.
*/



table {
  text-indent: 0; /* 1 */
  border-color: inherit; /* 2 */
  border-collapse: collapse; /* 3 */
}



/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
3. Remove default padding in all browsers.
*/



button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-feature-settings: inherit; /* 1 */
  font-variation-settings: inherit; /* 1 */
  font-size: 100%; /* 1 */
  font-weight: inherit; /* 1 */
  line-height: inherit; /* 1 */
  letter-spacing: inherit; /* 1 */
  color: inherit; /* 1 */
  margin: 0; /* 2 */
  padding: 0; /* 3 */
}



/*
Remove the inheritance of text transform in Edge and Firefox.
*/



button,
select {
  text-transform: none;
}



/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/



button,
input:where([type='button']),
input:where([type='reset']),
input:where([type='submit']) {
  -webkit-appearance: button; /* 1 */
  background-color: transparent; /* 2 */
  background-image: none; /* 2 */
}



/*
Use the modern Firefox focus style for all focusable elements.
*/



:-moz-focusring {
  outline: auto;
}



/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/



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



/*
Add the correct vertical alignment in Chrome and Firefox.
*/



progress {
  vertical-align: baseline;
}



/*
Correct the cursor style of increment and decrement buttons in Safari.
*/



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



/*
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/



[type='search'] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}



/*
Remove the inner padding in Chrome and Safari on macOS.
*/



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



/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to `inherit` in Safari.
*/



::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}



/*
Add the correct display in Chrome and Safari.
*/



summary {
  display: list-item;
}



/*
Removes the default spacing and border for appropriate elements.
*/



blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}



fieldset {
  margin: 0;
  padding: 0;
}



legend {
  padding: 0;
}



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



/*
Reset default styling for dialogs.
*/



dialog {
  padding: 0;
}



/*
Prevent resizing textareas horizontally by default.
*/



textarea {
  resize: vertical;
}



/*
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
2. Set the default placeholder color to the user's configured gray 400 color.
*/



input::-moz-placeholder, textarea::-moz-placeholder {
  opacity: 1; /* 1 */
  color: #9ca3af; /* 2 */
}



input::placeholder,
textarea::placeholder {
  opacity: 1; /* 1 */
  color: #9ca3af; /* 2 */
}



/*
Set the default cursor for buttons.
*/



button,
[role="button"] {
  cursor: pointer;
}



/*
Make sure disabled buttons don't get the pointer cursor.
*/



:disabled {
  cursor: default;
}



/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
   This can trigger a poorly considered lint error in some tools but is included by design.
*/



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



/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/



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



/* Make elements with the HTML hidden attribute stay hidden by default */



[hidden] {
  display: none;
}



* {
    border-color: var(--border);
  }



html,
  body,
  #root {
    height: 100%;
  }



body {
    margin: 0;
    background: var(--bg-page);
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 14px;
    line-height: 22px;
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: 100%;
  }



/* 数字统一等宽，表格才对得齐 */



input[type='number'],
  .tabular {
    font-variant-numeric: tabular-nums;
  }



/* 键盘焦点必须可见；表单类控件除外——它们用竹绿边框表达焦点 */



:focus-visible {
    outline: 2px solid var(--brand-600);
    outline-offset: 2px;
  }



:where(input, select, textarea):focus-visible {
    outline: none;
  }



/* 移动端点击不出现灰色高亮块 */



button,
  a {
    -webkit-tap-highlight-color: transparent;
  }



*, ::before, ::after {
  --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: rgb(59 130 246 / 0.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: rgb(59 130 246 / 0.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:  ;
}
/* ============================================================
     下拉选择器（重设计）—— 桌面浮层 / 移动端底部弹层
     设计要点：
     1. 触发器不靠"重边框"博存在感：浅描边 + 独立圆角箭头块，展开时
        箭头块染主色并旋转 180°，展开态一眼可读
     2. 浮层 flex 竖排：顶部搜索固定、中部选项自己滚、底部键盘提示常驻，
        不再整块列表一起滚
     3. 选项 38px、圆角 8px，选中项「左侧竹绿竖条 + 主色浅底 + 勾」三重确认；
        键盘高亮与选中视觉分离（高亮=灰底，选中=主色底），不互相淹没
     4. 选项超过 12 条自动出搜索框；optgroup 自动出分组小标题
     ============================================================ */
/* ---- 触发器 ---- */
.select-trigger {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 8px;
    padding: 0 6px 0 12px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-field);
    background: var(--bg-surface);
    color: var(--text-primary);
    font-size: 14px;
    line-height: 22px;
    text-align: left;
    cursor: pointer;
    box-shadow: var(--shadow-1);
    transition: border-color 0.15s, box-shadow 0.15s, background-color 0.15s;
    -webkit-tap-highlight-color: transparent;
  }
.select-trigger-md {
    height: 38px;
  }
.select-trigger-sm {
    height: 32px;
    padding: 0 3px 0 10px;
    font-size: 13px;
  }
.select-trigger:hover:not(:disabled) {
    border-color: var(--brand-100);
    box-shadow: var(--shadow-2);
  }
.select-trigger:focus-visible,
  .select-trigger.is-open {
    outline: none;
    border-color: var(--brand-600);
    box-shadow: 0 0 0 3px var(--focus-ring);
  }
.select-trigger:disabled {
    background: var(--bg-subtle);
    border-color: var(--border);
    color: var(--text-disabled);
    box-shadow: none;
    cursor: not-allowed;
  }
/* ---- 箭头块 ---- */
.select-chev {
    display: flex;
    width: 24px;
    height: 24px;
    flex: none;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: var(--bg-subtle);
    color: var(--text-secondary);
    transition: transform 0.18s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.15s, color 0.15s;
  }
.select-trigger-sm .select-chev {
    width: 20px;
    height: 20px;
    border-radius: 5px;
  }
.select-trigger:hover:not(:disabled) .select-chev,
  .select-trigger.is-open .select-chev {
    background: var(--brand-50);
    color: var(--brand-700);
  }
.select-trigger.is-open .select-chev {
    transform: rotate(180deg);
  }
.select-trigger:disabled .select-chev {
    background: transparent;
    color: var(--text-disabled);
  }
/* ---- 浮层（桌面） ---- */
.select-panel {
    display: flex;
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    left: 0;
    z-index: 60;
    flex-direction: column;
    max-height: 320px;
    padding: 6px;
    overflow: hidden;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-modal);
    box-shadow: var(--shadow-3), var(--shadow-2);
    animation: select-pop 0.14s cubic-bezier(0.22, 1, 0.36, 1);
  }
/* 空间不够时向上弹 */
.select-panel[data-drop='up'] {
    top: auto;
    bottom: calc(100% + 6px);
    transform-origin: bottom;
    animation-name: select-pop-up;
  }
/* ---- 搜索框（选项多时出现，固定不上滚） ---- */
.select-search {
    display: flex;
    height: 34px;
    flex: none;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
    padding: 0 8px;
    border: 1px solid transparent;
    border-radius: var(--radius-field);
    background: var(--bg-subtle);
    transition: border-color 0.15s, background-color 0.15s, box-shadow 0.15s;
  }
.select-search:focus-within {
    border-color: var(--brand-100);
    background: var(--bg-surface);
    box-shadow: 0 0 0 3px var(--focus-ring);
  }
.select-search-icon {
    flex: none;
    color: var(--text-tertiary);
  }
.select-search-input {
    width: 100%;
    height: 100%;
    border: 0;
    background: transparent;
    color: var(--text-primary);
    font-size: 13px;
    outline: none;
  }
.select-search-input::-moz-placeholder {
    color: var(--text-tertiary);
  }
.select-search-input::placeholder {
    color: var(--text-tertiary);
  }
.select-search-clear {
    display: flex;
    width: 18px;
    height: 18px;
    flex: none;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--border-strong);
    color: var(--bg-surface);
  }
.select-search-clear:hover {
    background: var(--text-tertiary);
  }
/* ---- 选项区（唯一滚动容器） ---- */
.select-opts {
    min-height: 0;
    padding: 2px;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
.select-opts::-webkit-scrollbar {
    width: 8px;
  }
.select-opts::-webkit-scrollbar-thumb {
    border-radius: 8px;
    background: var(--border-strong);
  }
.select-opt {
    display: flex;
    position: relative;
    width: 100%;
    min-height: 38px;
    align-items: center;
    gap: 8px;
    padding: 7px 10px 7px 13px;
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 13.5px;
    line-height: 20px;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.12s, color 0.12s;
  }
/* 选中项左侧竹绿竖条：默认高度 0，选中时立起来 */
.select-opt::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 3px;
    width: 3px;
    height: 0;
    border-radius: 2px;
    background: var(--brand-600);
    transform: translateY(-50%);
    transition: height 0.14s ease;
  }
.select-opt[data-active='true'] {
    background: var(--bg-hover);
  }
.select-opt[aria-selected='true'] {
    background: var(--brand-50);
    color: var(--brand-700);
    font-weight: 500;
  }
.select-opt[aria-selected='true']::before {
    height: 16px;
  }
.select-opt[data-active='true'][aria-selected='true'] {
    background: var(--brand-100);
  }
.select-opt:disabled {
    color: var(--text-disabled);
    cursor: not-allowed;
  }
.select-opt:disabled::before {
    display: none;
  }
.select-group {
    padding: 8px 10px 3px 13px;
    color: var(--text-tertiary);
    font-size: 11px;
    line-height: 16px;
    letter-spacing: 0.04em;
  }
.select-empty {
    padding: 16px 10px;
    color: var(--text-tertiary);
    font-size: 13px;
    text-align: center;
  }
/* ---- 底部键盘提示（桌面常驻，移动端隐藏） ---- */
.select-foot {
    display: flex;
    flex: none;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
    padding: 7px 8px 2px;
    border-top: 1px solid var(--border);
    color: var(--text-tertiary);
    font-size: 11px;
    line-height: 16px;
  }
.select-foot kbd {
    display: inline-block;
    min-width: 16px;
    padding: 0 4px;
    border: 1px solid var(--border);
    border-radius: 4px;
    background: var(--bg-subtle);
    color: var(--text-secondary);
    font-family: var(--font-mono);
    font-size: 10px;
    line-height: 15px;
    text-align: center;
  }
.select-foot-sep {
    color: var(--border-strong);
  }
/* 移动端默认不显示的部件 */
.select-scrim,
  .select-sheet-head {
    display: none;
  }
/* ---- 移动端：底部弹层 ---- */
@media (max-width: 1023px) {
    .select-trigger-md,
    .select-trigger-sm {
      height: 44px;
      padding: 0 6px 0 14px;
      font-size: 16px;
    }

    .select-trigger-sm .select-chev {
      width: 24px;
      height: 24px;
      border-radius: 6px;
    }

    .select-scrim {
      display: block;
      position: fixed;
      inset: 0;
      z-index: 70;
      background: var(--overlay);
      animation: select-fade 0.16s ease-out;
    }

    .select-panel,
    .select-panel[data-drop='up'] {
      position: fixed;
      top: auto;
      right: 0;
      bottom: 0;
      left: 0;
      z-index: 71;
      max-height: 76vh;
      margin: 0;
      padding: 0 0 calc(env(safe-area-inset-bottom, 0px) + 8px);
      border: 0;
      border-radius: var(--radius-modal) var(--radius-modal) 0 0;
      box-shadow: 0 -16px 40px -16px rgba(15, 40, 33, 0.3);
      animation: select-sheet-up 0.22s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .select-sheet-head {
      display: flex;
      position: relative;
      flex: none;
      align-items: center;
      justify-content: center;
      padding: 16px 12px 8px;
      border-bottom: 1px solid var(--border);
    }

    /* 顶部拖拽条 */
    .select-sheet-head::before {
      content: '';
      position: absolute;
      top: 7px;
      left: 50%;
      width: 36px;
      height: 4px;
      margin-left: -18px;
      border-radius: 2px;
      background: var(--border-strong);
    }

    .select-sheet-title {
      color: var(--text-primary);
      font-size: 15px;
      font-weight: 500;
      line-height: 22px;
    }

    .select-sheet-close {
      display: flex;
      position: absolute;
      right: 8px;
      width: 32px;
      height: 32px;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
      color: var(--text-secondary);
    }

    .select-sheet-close:active {
      background: var(--bg-hover);
    }

    .select-search {
      height: 40px;
      margin: 8px 12px 2px;
      padding: 0 10px;
    }

    .select-search-input {
      font-size: 16px;
    }

    .select-opts {
      padding: 6px 10px 2px;
    }

    .select-opt {
      min-height: 48px;
      padding: 8px 12px 8px 15px;
      font-size: 16px;
    }

    .select-opt::before {
      left: 4px;
      width: 3px;
    }

    .select-opt[aria-selected='true']::before {
      height: 20px;
    }

    .select-foot {
      display: none;
    }
  }
/* ============================================================
     实验设计页专用视觉（P4.6）
     原则：结论用深色面拎出来，过程用留白和细线分层，数据用等宽字对齐
     ============================================================ */
/* 深色结论横幅 */
.design-hero {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-card);
    background: var(--grad-deep);
    box-shadow: var(--shadow-3);
    color: var(--on-deep);
    isolation: isolate;
  }
/* 极细网格纹理：远看是质感，近看不干扰文字 */
.design-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: linear-gradient(to right, var(--on-deep-line) 1px, transparent 1px),
      linear-gradient(to bottom, var(--on-deep-line) 1px, transparent 1px);
    background-size: 64px 64px;
    opacity: 0.18;
    mask-image: radial-gradient(120% 100% at 100% 0%, #000 0%, transparent 72%);
    -webkit-mask-image: radial-gradient(120% 100% at 100% 0%, #000 0%, transparent 72%);
  }
.hero-metric {
    border-top: 1px solid var(--on-deep-line);
    padding-top: 10px;
  }
@media (min-width: 1024px) {
    .hero-metric {
      border-top: 0;
      border-left: 1px solid var(--on-deep-line);
      padding-top: 0;
      padding-left: 16px;
    }
  }
/* 相关矩阵：按 |r| 分档着色，比纯数字表更快看出病在哪 */
.matrix-grid {
    display: grid;
    gap: 3px;
  }
.matrix-cell {
    border-radius: 4px;
    padding: 5px 6px;
    font-family: var(--font-mono);
    font-variant-numeric: tabular-nums;
    font-size: 12px;
    line-height: 18px;
    text-align: right;
  }
.matrix-cell[data-lv='0'] {
    background: var(--bg-subtle);
    color: var(--text-tertiary);
  }
.matrix-cell[data-lv='1'] {
    background: var(--brand-50);
    color: var(--brand-700);
  }
.matrix-cell[data-lv='2'] {
    background: var(--brand-100);
    color: var(--brand-900);
  }
.matrix-cell[data-lv='3'] {
    background: var(--grade-risk-bg);
    color: var(--grade-risk-text);
  }
.matrix-cell[data-lv='4'] {
    background: var(--grade-bad-bg);
    color: var(--grade-bad-text);
    font-weight: 500;
  }
.matrix-cell[data-diag='true'] {
    background: transparent;
    color: var(--text-disabled);
  }
.matrix-head {
    font-size: 11px;
    line-height: 16px;
    color: var(--text-tertiary);
    padding-bottom: 2px;
  }
/* 强度条 */
.bar {
    position: relative;
    height: 4px;
    border-radius: 2px;
    background: var(--bg-hover);
    overflow: hidden;
  }
.bar > span {
    display: block;
    height: 100%;
    border-radius: 2px;
    background: var(--brand-600);
    transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  }
.bar[data-tone='ok'] > span {
    background: var(--grade-ok-text);
  }
.bar[data-tone='bad'] > span {
    background: var(--grade-bad-text);
  }
.bar[data-tone='risk'] > span {
    background: var(--grade-risk-border);
  }
/* 分段控件（批次档位） */
.seg {
    display: inline-flex;
    padding: 3px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--bg-subtle);
  }
.seg-item {
    height: 28px;
    padding: 0 14px;
    border-radius: 6px;
    font-size: 13px;
    line-height: 28px;
    color: var(--text-secondary);
    white-space: nowrap;
    transition: background-color 0.15s, color 0.15s, box-shadow 0.15s;
  }
.seg-item[aria-pressed='true'] {
    background: var(--bg-surface);
    color: var(--brand-700);
    font-weight: 500;
    box-shadow: var(--shadow-1);
  }
@media (max-width: 1023px) {
    .seg {
      display: flex;
      width: 100%;
      min-width: 0;
      max-width: 100%;
      overflow-x: auto; /* 项太多时横向滚动，不撑破卡片 */
    }

    .seg-item {
      flex: 1 1 auto;
      min-width: -moz-fit-content;
      min-width: fit-content; /* 放得下就撑满，放不下保持原宽、容器横向滚动 */
      height: 36px;
      line-height: 36px;
      padding: 0 12px;
      text-align: center;
    }
  }
/* 章节眉标：01 / 02 这种编号，替代重复的分隔条 */
.eyebrow {
    font-family: var(--font-mono);
    font-size: 11px;
    line-height: 16px;
    letter-spacing: 0.08em;
    color: var(--text-tertiary);
    text-transform: uppercase;
  }
/* ============================================================
     细滚动条 —— 跟随系统配色：轨道透明、滑块浅灰，悬停转竹绿
     默认不抢视觉，只有真要滚的时候才有存在感
     ============================================================ */
.scroll-slim {
    scrollbar-width: thin;
    scrollbar-color: var(--border-strong) transparent;
    overscroll-behavior: contain;
  }
.scroll-slim::-webkit-scrollbar {
    width: 10px;
    height: 10px;
  }
.scroll-slim::-webkit-scrollbar-track {
    background: transparent;
  }
.scroll-slim::-webkit-scrollbar-thumb {
    border: 3px solid transparent;
    border-radius: 999px;
    background: var(--border-strong);
    background-clip: content-box;
    -webkit-transition: background-color 0.2s;
    transition: background-color 0.2s;
  }
.scroll-slim:hover::-webkit-scrollbar-thumb {
    background: var(--text-tertiary);
    background-clip: content-box;
  }
.scroll-slim::-webkit-scrollbar-thumb:hover {
    background: var(--brand-600);
    background-clip: content-box;
  }
.scroll-slim::-webkit-scrollbar-corner {
    background: transparent;
  }
/* 轻浮起卡片 */
.elev {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-1);
    transition: box-shadow 0.2s, border-color 0.2s;
  }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
.pointer-events-none {
  pointer-events: none;
}
.fixed {
  position: fixed;
}
.absolute {
  position: absolute;
}
.relative {
  position: relative;
}
.sticky {
  position: sticky;
}
.inset-0 {
  inset: 0px;
}
.inset-x-0 {
  left: 0px;
  right: 0px;
}
.-top-0\.5 {
  top: -0.125rem;
}
.bottom-0 {
  bottom: 0px;
}
.bottom-14 {
  bottom: 3.5rem;
}
.left-0 {
  left: 0px;
}
.left-1\/2 {
  left: 50%;
}
.right-0 {
  right: 0px;
}
.right-1\/2 {
  right: 50%;
}
.right-3 {
  right: 0.75rem;
}
.top-0 {
  top: 0px;
}
.top-0\.5 {
  top: 0.125rem;
}
.top-1\/2 {
  top: 50%;
}
.top-14 {
  top: 3.5rem;
}
.z-10 {
  z-index: 10;
}
.z-30 {
  z-index: 30;
}
.z-40 {
  z-index: 40;
}
.col-span-2 {
  grid-column: span 2 / span 2;
}
.col-span-full {
  grid-column: 1 / -1;
}
.-mx-3 {
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}
.mx-4 {
  margin-left: 1rem;
  margin-right: 1rem;
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}
.-mb-px {
  margin-bottom: -1px;
}
.mb-0 {
  margin-bottom: 0px;
}
.mb-1 {
  margin-bottom: 0.25rem;
}
.mb-1\.5 {
  margin-bottom: 0.375rem;
}
.mb-2 {
  margin-bottom: 0.5rem;
}
.mb-3 {
  margin-bottom: 0.75rem;
}
.mb-4 {
  margin-bottom: 1rem;
}
.mb-5 {
  margin-bottom: 1.25rem;
}
.mb-6 {
  margin-bottom: 1.5rem;
}
.ml-0\.5 {
  margin-left: 0.125rem;
}
.ml-1 {
  margin-left: 0.25rem;
}
.ml-1\.5 {
  margin-left: 0.375rem;
}
.ml-2 {
  margin-left: 0.5rem;
}
.ml-auto {
  margin-left: auto;
}
.mr-1\.5 {
  margin-right: 0.375rem;
}
.mr-3 {
  margin-right: 0.75rem;
}
.mt-0\.5 {
  margin-top: 0.125rem;
}
.mt-1 {
  margin-top: 0.25rem;
}
.mt-1\.5 {
  margin-top: 0.375rem;
}
.mt-2 {
  margin-top: 0.5rem;
}
.mt-2\.5 {
  margin-top: 0.625rem;
}
.mt-3 {
  margin-top: 0.75rem;
}
.mt-4 {
  margin-top: 1rem;
}
.mt-5 {
  margin-top: 1.25rem;
}
.mt-6 {
  margin-top: 1.5rem;
}
.mt-7 {
  margin-top: 1.75rem;
}
.mt-\[3px\] {
  margin-top: 3px;
}
.mt-\[7px\] {
  margin-top: 7px;
}
.mt-auto {
  margin-top: auto;
}
.line-clamp-2 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.block {
  display: block;
}
.inline-block {
  display: inline-block;
}
.flex {
  display: flex;
}
.inline-flex {
  display: inline-flex;
}
.table {
  display: table;
}
.grid {
  display: grid;
}
.contents {
  display: contents;
}
.hidden {
  display: none;
}
.h-1 {
  height: 0.25rem;
}
.h-1\.5 {
  height: 0.375rem;
}
.h-10 {
  height: 2.5rem;
}
.h-11 {
  height: 2.75rem;
}
.h-14 {
  height: 3.5rem;
}
.h-2 {
  height: 0.5rem;
}
.h-3 {
  height: 0.75rem;
}
.h-4 {
  height: 1rem;
}
.h-5 {
  height: 1.25rem;
}
.h-6 {
  height: 1.5rem;
}
.h-7 {
  height: 1.75rem;
}
.h-8 {
  height: 2rem;
}
.h-9 {
  height: 2.25rem;
}
.h-\[15px\] {
  height: 15px;
}
.h-\[17px\] {
  height: 17px;
}
.h-\[18px\] {
  height: 18px;
}
.h-\[calc\(100vh-3\.5rem\)\] {
  height: calc(100vh - 3.5rem);
}
.h-full {
  height: 100%;
}
.h-px {
  height: 1px;
}
.h-row {
  height: var(--row-h);
}
.min-h-0 {
  min-height: 0px;
}
.min-h-\[64px\] {
  min-height: 64px;
}
.min-h-\[76px\] {
  min-height: 76px;
}
.min-h-\[calc\(100vh-56px\)\] {
  min-height: calc(100vh - 56px);
}
.min-h-screen {
  min-height: 100vh;
}
.w-1 {
  width: 0.25rem;
}
.w-1\.5 {
  width: 0.375rem;
}
.w-10 {
  width: 2.5rem;
}
.w-11 {
  width: 2.75rem;
}
.w-12 {
  width: 3rem;
}
.w-14 {
  width: 3.5rem;
}
.w-16 {
  width: 4rem;
}
.w-20 {
  width: 5rem;
}
.w-24 {
  width: 6rem;
}
.w-28 {
  width: 7rem;
}
.w-3 {
  width: 0.75rem;
}
.w-32 {
  width: 8rem;
}
.w-36 {
  width: 9rem;
}
.w-4 {
  width: 1rem;
}
.w-40 {
  width: 10rem;
}
.w-44 {
  width: 11rem;
}
.w-48 {
  width: 12rem;
}
.w-5 {
  width: 1.25rem;
}
.w-56 {
  width: 14rem;
}
.w-6 {
  width: 1.5rem;
}
.w-64 {
  width: 16rem;
}
.w-7 {
  width: 1.75rem;
}
.w-8 {
  width: 2rem;
}
.w-9 {
  width: 2.25rem;
}
.w-\[104px\] {
  width: 104px;
}
.w-\[110px\] {
  width: 110px;
}
.w-\[120px\] {
  width: 120px;
}
.w-\[124px\] {
  width: 124px;
}
.w-\[130px\] {
  width: 130px;
}
.w-\[132px\] {
  width: 132px;
}
.w-\[140px\] {
  width: 140px;
}
.w-\[150px\] {
  width: 150px;
}
.w-\[15px\] {
  width: 15px;
}
.w-\[17px\] {
  width: 17px;
}
.w-\[180px\] {
  width: 180px;
}
.w-\[18px\] {
  width: 18px;
}
.w-\[190px\] {
  width: 190px;
}
.w-\[220px\] {
  width: 220px;
}
.w-\[80px\] {
  width: 80px;
}
.w-\[84px\] {
  width: 84px;
}
.w-\[90px\] {
  width: 90px;
}
.w-\[92px\] {
  width: 92px;
}
.w-\[var\(--sidebar-w\)\] {
  width: var(--sidebar-w);
}
.w-fit {
  width: -moz-fit-content;
  width: fit-content;
}
.w-full {
  width: 100%;
}
.w-px {
  width: 1px;
}
.min-w-0 {
  min-width: 0px;
}
.min-w-\[180px\] {
  min-width: 180px;
}
.min-w-\[220px\] {
  min-width: 220px;
}
.min-w-\[400px\] {
  min-width: 400px;
}
.min-w-\[52px\] {
  min-width: 52px;
}
.max-w-3xl {
  max-width: 48rem;
}
.max-w-\[220px\] {
  max-width: 220px;
}
.max-w-\[240px\] {
  max-width: 240px;
}
.max-w-\[360px\] {
  max-width: 360px;
}
.max-w-\[420px\] {
  max-width: 420px;
}
.max-w-\[820px\] {
  max-width: 820px;
}
.max-w-\[900px\] {
  max-width: 900px;
}
.max-w-\[var\(--content-max\)\] {
  max-width: var(--content-max);
}
.max-w-full {
  max-width: 100%;
}
.max-w-xl {
  max-width: 36rem;
}
.flex-1 {
  flex: 1 1 0%;
}
.flex-none {
  flex: none;
}
.shrink-0 {
  flex-shrink: 0;
}
.border-collapse {
  border-collapse: collapse;
}
.-translate-y-1\/2 {
  --tw-translate-y: -50%;
  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));
}
.rotate-180 {
  --tw-rotate: 180deg;
  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));
}
.cursor-default {
  cursor: default;
}
.cursor-pointer {
  cursor: pointer;
}
.select-all {
  -webkit-user-select: all;
     -moz-user-select: all;
          user-select: all;
}
.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}
.grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid-cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grid-cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.grid-cols-\[1\.2fr_90px_70px_1fr_120px_36px\] {
  grid-template-columns: 1.2fr 90px 70px 1fr 120px 36px;
}
.grid-cols-\[1fr_110px_90px_1fr_90px_36px\] {
  grid-template-columns: 1fr 110px 90px 1fr 90px 36px;
}
.grid-cols-\[22px_minmax\(0\2c 1fr\)_auto\] {
  grid-template-columns: 22px minmax(0,1fr) auto;
}
.grid-cols-\[auto_minmax\(0\2c 1fr\)_auto\] {
  grid-template-columns: auto minmax(0,1fr) auto;
}
.flex-col {
  flex-direction: column;
}
.flex-col-reverse {
  flex-direction: column-reverse;
}
.flex-wrap {
  flex-wrap: wrap;
}
.items-start {
  align-items: flex-start;
}
.items-end {
  align-items: flex-end;
}
.items-center {
  align-items: center;
}
.items-baseline {
  align-items: baseline;
}
.items-stretch {
  align-items: stretch;
}
.justify-end {
  justify-content: flex-end;
}
.justify-center {
  justify-content: center;
}
.justify-between {
  justify-content: space-between;
}
.gap-0\.5 {
  gap: 0.125rem;
}
.gap-1 {
  gap: 0.25rem;
}
.gap-1\.5 {
  gap: 0.375rem;
}
.gap-2 {
  gap: 0.5rem;
}
.gap-2\.5 {
  gap: 0.625rem;
}
.gap-3 {
  gap: 0.75rem;
}
.gap-4 {
  gap: 1rem;
}
.gap-5 {
  gap: 1.25rem;
}
.gap-6 {
  gap: 1.5rem;
}
.gap-x-10 {
  -moz-column-gap: 2.5rem;
       column-gap: 2.5rem;
}
.gap-x-2 {
  -moz-column-gap: 0.5rem;
       column-gap: 0.5rem;
}
.gap-x-3 {
  -moz-column-gap: 0.75rem;
       column-gap: 0.75rem;
}
.gap-x-4 {
  -moz-column-gap: 1rem;
       column-gap: 1rem;
}
.gap-x-6 {
  -moz-column-gap: 1.5rem;
       column-gap: 1.5rem;
}
.gap-x-8 {
  -moz-column-gap: 2rem;
       column-gap: 2rem;
}
.gap-y-0\.5 {
  row-gap: 0.125rem;
}
.gap-y-1 {
  row-gap: 0.25rem;
}
.gap-y-1\.5 {
  row-gap: 0.375rem;
}
.gap-y-2 {
  row-gap: 0.5rem;
}
.gap-y-3 {
  row-gap: 0.75rem;
}
.gap-y-4 {
  row-gap: 1rem;
}
.space-y-1 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.25rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.25rem * var(--tw-space-y-reverse));
}
.space-y-1\.5 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.375rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.375rem * var(--tw-space-y-reverse));
}
.space-y-2 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.5rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.5rem * var(--tw-space-y-reverse));
}
.space-y-2\.5 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.625rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.625rem * var(--tw-space-y-reverse));
}
.space-y-3 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.75rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.75rem * var(--tw-space-y-reverse));
}
.divide-y > :not([hidden]) ~ :not([hidden]) {
  --tw-divide-y-reverse: 0;
  border-top-width: calc(1px * calc(1 - var(--tw-divide-y-reverse)));
  border-bottom-width: calc(1px * var(--tw-divide-y-reverse));
}
.divide-line > :not([hidden]) ~ :not([hidden]) {
  border-color: var(--border);
}
.overflow-hidden {
  overflow: hidden;
}
.overflow-x-auto {
  overflow-x: auto;
}
.overflow-y-auto {
  overflow-y: auto;
}
.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.whitespace-nowrap {
  white-space: nowrap;
}
.text-wrap {
  text-wrap: wrap;
}
.break-all {
  word-break: break-all;
}
.rounded-\[16px\] {
  border-radius: 16px;
}
.rounded-\[2px\] {
  border-radius: 2px;
}
.rounded-\[3px\] {
  border-radius: 3px;
}
.rounded-\[4px\] {
  border-radius: 4px;
}
.rounded-\[5px\] {
  border-radius: 5px;
}
.rounded-\[9px\] {
  border-radius: 9px;
}
.rounded-card {
  border-radius: var(--radius-card);
}
.rounded-control {
  border-radius: var(--radius-control);
}
.rounded-full {
  border-radius: 9999px;
}
.rounded-tag {
  border-radius: var(--radius-tag);
}
.rounded-l-control {
  border-top-left-radius: var(--radius-control);
  border-bottom-left-radius: var(--radius-control);
}
.rounded-r-control {
  border-top-right-radius: var(--radius-control);
  border-bottom-right-radius: var(--radius-control);
}
.border {
  border-width: 1px;
}
.border-0 {
  border-width: 0px;
}
.border-b {
  border-bottom-width: 1px;
}
.border-b-2 {
  border-bottom-width: 2px;
}
.border-l {
  border-left-width: 1px;
}
.border-l-2 {
  border-left-width: 2px;
}
.border-r {
  border-right-width: 1px;
}
.border-t {
  border-top-width: 1px;
}
.border-dashed {
  border-style: dashed;
}
.border-bad {
  border-color: var(--grade-bad-text);
}
.border-bad-line {
  border-color: var(--grade-bad-border);
}
.border-brand-100 {
  border-color: var(--brand-100);
}
.border-brand-600 {
  border-color: var(--brand-600);
}
.border-current {
  border-color: currentColor;
}
.border-line {
  border-color: var(--border);
}
.border-line-strong {
  border-color: var(--border-strong);
}
.border-na-line {
  border-color: var(--grade-none-border);
}
.border-ok {
  border-color: var(--grade-ok-text);
}
.border-ok-line {
  border-color: var(--grade-ok-border);
}
.border-risk {
  border-color: var(--grade-risk-text);
}
.border-risk-line {
  border-color: var(--grade-risk-border);
}
.border-transparent {
  border-color: transparent;
}
.bg-\[\#04211d\] {
  --tw-bg-opacity: 1;
  background-color: rgb(4 33 29 / var(--tw-bg-opacity));
}
.bg-\[var\(--overlay\)\] {
  background-color: var(--overlay);
}
.bg-bad {
  background-color: var(--grade-bad-text);
}
.bg-bad-bg {
  background-color: var(--grade-bad-bg);
}
.bg-brand-100 {
  background-color: var(--brand-100);
}
.bg-brand-50 {
  background-color: var(--brand-50);
}
.bg-brand-600 {
  background-color: var(--brand-600);
}
.bg-hover {
  background-color: var(--bg-hover);
}
.bg-ink {
  background-color: var(--text-primary);
}
.bg-ink-3 {
  background-color: var(--text-tertiary);
}
.bg-line {
  background-color: var(--border);
}
.bg-na-bg {
  background-color: var(--grade-none-bg);
}
.bg-ok {
  background-color: var(--grade-ok-text);
}
.bg-ok-bg {
  background-color: var(--grade-ok-bg);
}
.bg-on-deep-line {
  background-color: var(--on-deep-line);
}
.bg-page {
  background-color: var(--bg-page);
}
.bg-risk {
  background-color: var(--grade-risk-text);
}
.bg-risk-bg {
  background-color: var(--grade-risk-bg);
}
.bg-subtle {
  background-color: var(--bg-subtle);
}
.bg-surface {
  background-color: var(--bg-surface);
}
.bg-transparent {
  background-color: transparent;
}
.bg-white {
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity));
}
.bg-white\/10 {
  background-color: rgb(255 255 255 / 0.1);
}
.bg-none {
  background-image: none;
}
.p-0 {
  padding: 0px;
}
.p-0\.5 {
  padding: 0.125rem;
}
.p-1 {
  padding: 0.25rem;
}
.p-1\.5 {
  padding: 0.375rem;
}
.p-2 {
  padding: 0.5rem;
}
.p-3 {
  padding: 0.75rem;
}
.p-4 {
  padding: 1rem;
}
.p-6 {
  padding: 1.5rem;
}
.p-9 {
  padding: 2.25rem;
}
.px-0 {
  padding-left: 0px;
  padding-right: 0px;
}
.px-1 {
  padding-left: 0.25rem;
  padding-right: 0.25rem;
}
.px-1\.5 {
  padding-left: 0.375rem;
  padding-right: 0.375rem;
}
.px-2 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}
.px-2\.5 {
  padding-left: 0.625rem;
  padding-right: 0.625rem;
}
.px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}
.px-3\.5 {
  padding-left: 0.875rem;
  padding-right: 0.875rem;
}
.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}
.px-5 {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}
.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.px-8 {
  padding-left: 2rem;
  padding-right: 2rem;
}
.py-0 {
  padding-top: 0px;
  padding-bottom: 0px;
}
.py-0\.5 {
  padding-top: 0.125rem;
  padding-bottom: 0.125rem;
}
.py-1 {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}
.py-1\.5 {
  padding-top: 0.375rem;
  padding-bottom: 0.375rem;
}
.py-10 {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}
.py-14 {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}
.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.py-2\.5 {
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
}
.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
.py-3\.5 {
  padding-top: 0.875rem;
  padding-bottom: 0.875rem;
}
.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.py-5 {
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}
.py-6 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}
.py-8 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}
.py-9 {
  padding-top: 2.25rem;
  padding-bottom: 2.25rem;
}
.py-\[7px\] {
  padding-top: 7px;
  padding-bottom: 7px;
}
.pb-1\.5 {
  padding-bottom: 0.375rem;
}
.pb-2 {
  padding-bottom: 0.5rem;
}
.pb-20 {
  padding-bottom: 5rem;
}
.pb-24 {
  padding-bottom: 6rem;
}
.pb-3 {
  padding-bottom: 0.75rem;
}
.pb-4 {
  padding-bottom: 1rem;
}
.pl-2 {
  padding-left: 0.5rem;
}
.pl-5 {
  padding-left: 1.25rem;
}
.pl-8 {
  padding-left: 2rem;
}
.pr-5 {
  padding-right: 1.25rem;
}
.pt-1 {
  padding-top: 0.25rem;
}
.pt-1\.5 {
  padding-top: 0.375rem;
}
.pt-2 {
  padding-top: 0.5rem;
}
.pt-3 {
  padding-top: 0.75rem;
}
.pt-4 {
  padding-top: 1rem;
}
.pt-8 {
  padding-top: 2rem;
}
.text-left {
  text-align: left;
}
.text-center {
  text-align: center;
}
.text-right {
  text-align: right;
}
.text-justify {
  text-align: justify;
}
.align-top {
  vertical-align: top;
}
.align-middle {
  vertical-align: middle;
}
.text-\[10px\] {
  font-size: 10px;
}
.text-\[11\.5px\] {
  font-size: 11.5px;
}
.text-\[11px\] {
  font-size: 11px;
}
.text-\[12\.5px\] {
  font-size: 12.5px;
}
.text-\[12px\] {
  font-size: 12px;
}
.text-\[13\.5px\] {
  font-size: 13.5px;
}
.text-\[13px\] {
  font-size: 13px;
}
.text-\[14\.5px\] {
  font-size: 14.5px;
}
.text-\[15\.5px\] {
  font-size: 15.5px;
}
.text-\[15px\] {
  font-size: 15px;
}
.text-\[16px\] {
  font-size: 16px;
}
.text-\[17px\] {
  font-size: 17px;
}
.text-\[21px\] {
  font-size: 21px;
}
.text-\[22px\] {
  font-size: 22px;
}
.text-\[24px\] {
  font-size: 24px;
}
.text-body {
  font-size: 14px;
  line-height: 22px;
}
.text-caption {
  font-size: 12px;
  line-height: 20px;
}
.text-display {
  font-size: 28px;
  line-height: 36px;
}
.text-h1 {
  font-size: 20px;
  line-height: 28px;
}
.text-h2 {
  font-size: 16px;
  line-height: 24px;
}
.text-h3 {
  font-size: 14px;
  line-height: 22px;
}
.text-micro {
  font-size: 11px;
  line-height: 16px;
}
.font-light {
  font-weight: 300;
}
.font-medium {
  font-weight: 500;
}
.font-normal {
  font-weight: 400;
}
.font-semibold {
  font-weight: 600;
}
.tabular-nums {
  --tw-numeric-spacing: tabular-nums;
  font-variant-numeric: var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction);
}
.leading-4 {
  line-height: 1rem;
}
.leading-5 {
  line-height: 1.25rem;
}
.leading-6 {
  line-height: 1.5rem;
}
.leading-7 {
  line-height: 1.75rem;
}
.leading-8 {
  line-height: 2rem;
}
.leading-\[1\.35\] {
  line-height: 1.35;
}
.leading-\[1\.4\] {
  line-height: 1.4;
}
.leading-\[22px\] {
  line-height: 22px;
}
.leading-\[30px\] {
  line-height: 30px;
}
.leading-none {
  line-height: 1;
}
.leading-relaxed {
  line-height: 1.625;
}
.leading-snug {
  line-height: 1.375;
}
.tracking-wide {
  letter-spacing: 0.025em;
}
.text-bad {
  color: var(--grade-bad-text);
}
.text-brand-600 {
  color: var(--brand-600);
}
.text-brand-700 {
  color: var(--brand-700);
}
.text-ink {
  color: var(--text-primary);
}
.text-ink-2 {
  color: var(--text-secondary);
}
.text-ink-3 {
  color: var(--text-tertiary);
}
.text-line-strong {
  color: var(--border-strong);
}
.text-na {
  color: var(--grade-none-text);
}
.text-ok {
  color: var(--grade-ok-text);
}
.text-on-deep {
  color: var(--on-deep);
}
.text-on-deep-2 {
  color: var(--on-deep-2);
}
.text-on-deep-3 {
  color: var(--on-deep-3);
}
.text-on-deep-bad {
  color: var(--on-deep-bad);
}
.text-on-deep-good {
  color: var(--on-deep-good);
}
.text-on-deep-warn {
  color: var(--on-deep-warn);
}
.text-risk {
  color: var(--grade-risk-text);
}
.text-surface {
  color: var(--bg-surface);
}
.text-white {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity));
}
.text-white\/45 {
  color: rgb(255 255 255 / 0.45);
}
.text-white\/70 {
  color: rgb(255 255 255 / 0.7);
}
.text-white\/85 {
  color: rgb(255 255 255 / 0.85);
}
.underline {
  text-decoration-line: underline;
}
.decoration-brand-100 {
  text-decoration-color: var(--brand-100);
}
.underline-offset-2 {
  text-underline-offset: 2px;
}
.opacity-0 {
  opacity: 0;
}
.opacity-50 {
  opacity: 0.5;
}
.opacity-60 {
  opacity: 0.6;
}
.opacity-70 {
  opacity: 0.7;
}
.opacity-80 {
  opacity: 0.8;
}
.shadow-\[0_36px_80px_-28px_rgba\(0\2c 0\2c 0\2c \.5\)\] {
  --tw-shadow: 0 36px 80px -28px rgba(0,0,0,.5);
  --tw-shadow-colored: 0 36px 80px -28px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.shadow-\[inset_0_1px_0_rgba\(255\2c 255\2c 255\2c \.25\)\] {
  --tw-shadow: inset 0 1px 0 rgba(255,255,255,.25);
  --tw-shadow-colored: inset 0 1px 0 var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.shadow-\[inset_2px_0_0_var\(--brand-600\)\] {
  --tw-shadow: inset 2px 0 0 var(--brand-600);
  --tw-shadow-colored: inset 2px 0 0 var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.shadow-d1 {
  --tw-shadow: var(--shadow-1);
  --tw-shadow-colored: var(--shadow-1);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.outline-none {
  outline: 2px solid transparent;
  outline-offset: 2px;
}
.ring-2 {
  --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);
}
.ring-brand-600 {
  --tw-ring-color: var(--brand-600);
}
.ring-offset-1 {
  --tw-ring-offset-width: 1px;
}
.filter {
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}
.backdrop-blur {
  --tw-backdrop-blur: blur(8px);
  backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
}
.transition-\[width\] {
  transition-property: width;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-colors {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-opacity {
  transition-property: opacity;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-shadow {
  transition-property: box-shadow;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-transform {
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.duration-500 {
  transition-duration: 500ms;
}
.card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
  }
.mono {
    font-family: var(--font-mono);
    font-variant-numeric: tabular-nums;
  }
.safe-bottom {
    padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 8px);
  }

@keyframes select-pop {
  from {
    opacity: 0;
    transform: translateY(-4px) scale(0.992);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes select-pop-up {
  from {
    opacity: 0;
    transform: translateY(4px) scale(0.992);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes select-sheet-up {
  from {
    opacity: 0.6;
    transform: translateY(100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes select-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ============================================================
   打印样式 —— 配方单 / 预判报告
   约束：A4、黑白可读、表格纯黑边框、不出现交互控件
   ============================================================ */

@page {
  size: A4;
  margin: 16mm 14mm 14mm;
}

@media print {
  :root {
    --bg-page: #ffffff;
    --bg-surface: #ffffff;
    --bg-subtle: #ffffff;
    --border: #000000;
    --border-strong: #000000;
    --text-primary: #000000;
    --text-secondary: #000000;
    --text-tertiary: #333333;
  }

  html,
  body {
    background: #ffffff !important;
    font-size: 10.5pt;
    line-height: 1.55;
  }

  /* 屏幕专用元素一律不出现在纸上 */
  .no-print,
  nav,
  aside,
  header.app-header,
  .mobile-tabbar,
  button,
  .step-flow,
  .print-hide {
    display: none !important;
  }

  /* 打印时才出现的抬头与页脚 */
  .print-only {
    display: block !important;
  }

  .print-header {
    display: flex !important;
    justify-content: space-between;
    align-items: flex-end;
    border-bottom: 1.5px solid #000;
    padding-bottom: 6px;
    margin-bottom: 14px;
  }

  .print-footer {
    display: block !important;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    border-top: 0.5px solid #000;
    padding-top: 4px;
    font-size: 8.5pt;
    color: #333;
    text-align: center;
  }

  /* 版面：铺满 A4 内容区 */
  .print-root {
    display: block !important;
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .print-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
  }

  /* 卡片去描边、去圆角，改成分节标题 */
  .card {
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin-bottom: 12px;
    -moz-column-break-inside: avoid;
         break-inside: avoid;
  }

  .print-section-title {
    font-size: 11pt;
    font-weight: 600;
    border-left: 3px solid #000;
    padding-left: 6px;
    margin: 10px 0 6px;
  }

  /* 表格：纯黑细线、表头灰底、单元格居中 */
  table {
    width: 100% !important;
    border-collapse: collapse !important;
    table-layout: auto !important;
  }

  th,
  td {
    border: 0.5pt solid #000 !important;
    padding: 3px 5px !important;
    background: transparent !important;
    color: #000 !important;
    text-align: center !important;
    vertical-align: middle !important;
    font-size: 9.5pt;
  }

  th {
    background: #f0f0f0 !important;
    font-weight: 600;
  }

  /* 分级徽标：纸上只留文字加边框，不靠色块 */
  .verdict-badge {
    background: transparent !important;
    border: 0.8pt solid #000 !important;
    color: #000 !important;
  }

  /* 依据条目：转为编号列表样式 */
  .evidence-item {
    background: transparent !important;
    border: none !important;
    border-bottom: 0.5pt solid #000 !important;
    padding: 4px 0 !important;
    -moz-column-break-inside: avoid;
         break-inside: avoid;
  }

  /* 因子条在纸上不可读，改为数值文本 */
  .factor-bar-track {
    display: none !important;
  }

  .print-avoid-break {
    -moz-column-break-inside: avoid;
         break-inside: avoid;
  }

  .print-page-break {
    -moz-column-break-before: page;
         break-before: page;
  }

  a {
    text-decoration: none;
    color: #000;
  }
}

/* 屏幕上隐藏打印专用元素 */
.print-only {
  display: none;
}
.placeholder\:text-ink-3::-moz-placeholder {
  color: var(--text-tertiary);
}
.placeholder\:text-ink-3::placeholder {
  color: var(--text-tertiary);
}
.first\:pt-0:first-child {
  padding-top: 0px;
}
.last\:border-0:last-child {
  border-width: 0px;
}
.last\:border-b-0:last-child {
  border-bottom-width: 0px;
}
.last\:pb-0:last-child {
  padding-bottom: 0px;
}
.focus-within\:border-brand-600:focus-within {
  border-color: var(--brand-600);
}
.hover\:border-brand-100:hover {
  border-color: var(--brand-100);
}
.hover\:bg-bad-bg:hover {
  background-color: var(--grade-bad-bg);
}
.hover\:bg-brand-700:hover {
  background-color: var(--brand-700);
}
.hover\:bg-hover:hover {
  background-color: var(--bg-hover);
}
.hover\:text-bad:hover {
  color: var(--grade-bad-text);
}
.hover\:text-brand-700:hover {
  color: var(--brand-700);
}
.hover\:text-ink:hover {
  color: var(--text-primary);
}
.hover\:text-ink-2:hover {
  color: var(--text-secondary);
}
.hover\:underline:hover {
  text-decoration-line: underline;
}
.hover\:decoration-brand-600:hover {
  text-decoration-color: var(--brand-600);
}
.hover\:shadow-d2:hover {
  --tw-shadow: var(--shadow-2);
  --tw-shadow-colored: var(--shadow-2);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.focus\:border-brand-600:focus {
  border-color: var(--brand-600);
}
.focus\:outline-none:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
}
.active\:scale-\[0\.98\]:active {
  --tw-scale-x: 0.98;
  --tw-scale-y: 0.98;
  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-hover:active {
  background-color: var(--bg-hover);
}
.disabled\:cursor-not-allowed:disabled {
  cursor: not-allowed;
}
.disabled\:bg-na-bg:disabled {
  background-color: var(--grade-none-bg);
}
.disabled\:bg-subtle:disabled {
  background-color: var(--bg-subtle);
}
.disabled\:text-ink-3:disabled {
  color: var(--text-tertiary);
}
.disabled\:text-ink-disabled:disabled {
  color: var(--text-disabled);
}
.disabled\:no-underline:disabled {
  text-decoration-line: none;
}
.disabled\:opacity-50:disabled {
  opacity: 0.5;
}
.disabled\:opacity-60:disabled {
  opacity: 0.6;
}
.group:hover .group-hover\:text-brand-700 {
  color: var(--brand-700);
}
.group:hover .group-hover\:opacity-100 {
  opacity: 1;
}
@media (min-width: 640px) {

  .sm\:ml-auto {
    margin-left: auto;
  }

  .sm\:mt-0 {
    margin-top: 0px;
  }

  .sm\:block {
    display: block;
  }

  .sm\:inline {
    display: inline;
  }

  .sm\:flex {
    display: flex;
  }

  .sm\:hidden {
    display: none;
  }

  .sm\:w-64 {
    width: 16rem;
  }

  .sm\:w-auto {
    width: auto;
  }

  .sm\:max-w-\[46ch\] {
    max-width: 46ch;
  }

  .sm\:max-w-\[52\%\] {
    max-width: 52%;
  }

  .sm\:flex-1 {
    flex: 1 1 0%;
  }

  .sm\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sm\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sm\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .sm\:flex-row {
    flex-direction: row;
  }

  .sm\:items-end {
    align-items: flex-end;
  }

  .sm\:items-center {
    align-items: center;
  }

  .sm\:justify-end {
    justify-content: flex-end;
  }

  .sm\:justify-between {
    justify-content: space-between;
  }

  .sm\:gap-3 {
    gap: 0.75rem;
  }

  .sm\:gap-4 {
    gap: 1rem;
  }

  .sm\:gap-x-6 {
    -moz-column-gap: 1.5rem;
         column-gap: 1.5rem;
  }

  .sm\:p-9 {
    padding: 2.25rem;
  }

  .sm\:py-10 {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }

  .sm\:text-right {
    text-align: right;
  }
}
@media (min-width: 1024px) {

  .md\:col-span-1 {
    grid-column: span 1 / span 1;
  }

  .md\:col-span-2 {
    grid-column: span 2 / span 2;
  }

  .md\:col-span-3 {
    grid-column: span 3 / span 3;
  }

  .md\:block {
    display: block;
  }

  .md\:inline {
    display: inline;
  }

  .md\:flex {
    display: flex;
  }

  .md\:table {
    display: table;
  }

  .md\:table-cell {
    display: table-cell;
  }

  .md\:grid {
    display: grid;
  }

  .md\:hidden {
    display: none;
  }

  .md\:h-9 {
    height: 2.25rem;
  }

  .md\:max-w-md {
    max-width: 28rem;
  }

  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .md\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .md\:grid-cols-\[1\.05fr_1fr\] {
    grid-template-columns: 1.05fr 1fr;
  }

  .md\:grid-cols-\[1\.2fr_90px_70px_1fr_120px_36px\] {
    grid-template-columns: 1.2fr 90px 70px 1fr 120px 36px;
  }

  .md\:grid-cols-\[1fr_110px_90px_1fr_90px_36px\] {
    grid-template-columns: 1fr 110px 90px 1fr 90px 36px;
  }

  .md\:grid-cols-\[1fr_150px_150px\] {
    grid-template-columns: 1fr 150px 150px;
  }

  .md\:grid-cols-\[220px_1fr\] {
    grid-template-columns: 220px 1fr;
  }

  .md\:space-y-1\.5 > :not([hidden]) ~ :not([hidden]) {
    --tw-space-y-reverse: 0;
    margin-top: calc(0.375rem * calc(1 - var(--tw-space-y-reverse)));
    margin-bottom: calc(0.375rem * var(--tw-space-y-reverse));
  }

  .md\:border-0 {
    border-width: 0px;
  }

  .md\:p-0 {
    padding: 0px;
  }

  .md\:pb-0 {
    padding-bottom: 0px;
  }

  .md\:text-\[14px\] {
    font-size: 14px;
  }
}
@media (min-width: 1280px) {

  .lg\:bottom-0 {
    bottom: 0px;
  }

  .lg\:col-span-1 {
    grid-column: span 1 / span 1;
  }

  .lg\:col-span-2 {
    grid-column: span 2 / span 2;
  }

  .lg\:-mx-6 {
    margin-left: -1.5rem;
    margin-right: -1.5rem;
  }

  .lg\:mx-5 {
    margin-left: 1.25rem;
    margin-right: 1.25rem;
  }

  .lg\:mb-5 {
    margin-bottom: 1.25rem;
  }

  .lg\:block {
    display: block;
  }

  .lg\:flex {
    display: flex;
  }

  .lg\:table-cell {
    display: table-cell;
  }

  .lg\:hidden {
    display: none;
  }

  .lg\:w-48 {
    width: 12rem;
  }

  .lg\:w-auto {
    width: auto;
  }

  .lg\:flex-none {
    flex: none;
  }

  .lg\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .lg\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .lg\:grid-cols-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .lg\:grid-cols-6 {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .lg\:grid-cols-\[1\.1fr_0\.9fr\] {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .lg\:grid-cols-\[1fr_1fr\] {
    grid-template-columns: 1fr 1fr;
  }

  .lg\:grid-cols-\[22px_180px_minmax\(0\2c 1fr\)_96px\] {
    grid-template-columns: 22px 180px minmax(0,1fr) 96px;
  }

  .lg\:flex-row {
    flex-direction: row;
  }

  .lg\:items-start {
    align-items: flex-start;
  }

  .lg\:items-center {
    align-items: center;
  }

  .lg\:gap-10 {
    gap: 2.5rem;
  }

  .lg\:gap-3 {
    gap: 0.75rem;
  }

  .lg\:gap-6 {
    gap: 1.5rem;
  }

  .lg\:gap-8 {
    gap: 2rem;
  }

  .lg\:gap-x-0 {
    -moz-column-gap: 0px;
         column-gap: 0px;
  }

  .lg\:gap-x-5 {
    -moz-column-gap: 1.25rem;
         column-gap: 1.25rem;
  }

  .lg\:gap-x-6 {
    -moz-column-gap: 1.5rem;
         column-gap: 1.5rem;
  }

  .lg\:gap-y-5 {
    row-gap: 1.25rem;
  }

  .lg\:whitespace-nowrap {
    white-space: nowrap;
  }

  .lg\:border-l {
    border-left-width: 1px;
  }

  .lg\:border-line {
    border-color: var(--border);
  }

  .lg\:px-0 {
    padding-left: 0px;
    padding-right: 0px;
  }

  .lg\:px-5 {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .lg\:px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .lg\:px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .lg\:py-0 {
    padding-top: 0px;
    padding-bottom: 0px;
  }

  .lg\:py-3\.5 {
    padding-top: 0.875rem;
    padding-bottom: 0.875rem;
  }

  .lg\:py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .lg\:py-5 {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
  }

  .lg\:py-6 {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }

  .lg\:py-7 {
    padding-top: 1.75rem;
    padding-bottom: 1.75rem;
  }

  .lg\:py-8 {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .lg\:pb-5 {
    padding-bottom: 1.25rem;
  }

  .lg\:pb-8 {
    padding-bottom: 2rem;
  }

  .lg\:pl-0 {
    padding-left: 0px;
  }

  .lg\:pt-0 {
    padding-top: 0px;
  }

  .lg\:text-\[26px\] {
    font-size: 26px;
  }

  .lg\:text-\[28px\] {
    font-size: 28px;
  }

  .lg\:text-body {
    font-size: 14px;
    line-height: 22px;
  }

  .lg\:leading-8 {
    line-height: 2rem;
  }

  .lg\:leading-\[1\.35\] {
    line-height: 1.35;
  }

  .lg\:shadow-none {
    --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 print {

  .print\:flex {
    display: flex;
  }
}
