/* ==========================================================================
   GMPLIMS · 实验室信息管理系统 产品页
   list_62.css
   ========================================================================== */

* {
    box-sizing: border-box;
}

.lims-page {
    --ink: #0a1322;
    --ink-2: #16233c;
    --muted: #5a6779;
    --faint: #8a97ab;
    --line: #dce3ee;
    --line-2: #e9eef6;
    --paper: #f3f6fb;
    --card: #ffffff;
    --lime: #cdf463;
    --lime-2: #b7ea3d;
    --teal: #11b39c;
    --amber: #eeb35b;
    --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
    position: relative;
    overflow: clip;
    color: var(--ink);
    background: var(--paper);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.lims-page :where(h1, h2, h3, h4, p, ul, ol, li, dl, dd, dt) {
    margin: 0;
    padding: 0;
    list-style: none;
}

.lims-page :where(a) {
    color: inherit;
    text-decoration: none;
}

.lims-page :where(button) {
    font: inherit;
    color: inherit;
}

.lims-page a:focus-visible,
.lims-page button:focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: 3px;
}

.lims-page section[id] {
    scroll-margin-top: 148px;
}

.lims-wrap {
    position: relative;
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}

/* ================================ BUTTONS ================================ */

.lims-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 50px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.lims-btn i {
    font-style: normal;
    font-family: var(--mono);
    font-size: 13px;
    letter-spacing: 0;
}

.lims-btn.is-primary {
    color: #f6ffe6;
    background: var(--ink);
}

.lims-btn.is-primary:hover {
    background: #000;
    transform: translateY(-2px);
}

.lims-btn.is-lime {
    color: #15240a;
    background: var(--lime);
}

.lims-btn.is-lime:hover {
    background: var(--lime-2);
    transform: translateY(-2px);
}

.lims-btn.is-ghost {
    color: var(--ink);
    border-color: #c9d2e0;
    background: #fff;
}

.lims-btn.is-ghost:hover {
    border-color: var(--ink);
    transform: translateY(-2px);
}

/* ================================ SHARED ================================= */

.lims-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--faint);
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.lims-tag::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: var(--lime-2);
}

.lims-sec {
    padding: 88px 0;
}

.lims-sec-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 400px);
    gap: 40px;
    align-items: end;
    margin-bottom: 44px;
}

.lims-sec-head h2 {
    margin-top: 14px;
    font-size: clamp(28px, 3.4vw, 42px);
    font-weight: 800;
    line-height: 1.16;
    letter-spacing: -0.03em;
}

.lims-sec-head h2 em {
    font-style: normal;
    background: linear-gradient(transparent 64%, var(--lime) 64%);
}

.lims-sec-head p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.85;
}

/* ================================= HERO ================================== */

.lims-hero {
    position: relative;
    padding: 118px 0 0;
    background:
        radial-gradient(72% 54% at 82% -6%, rgba(205, 244, 99, 0.26), transparent 62%),
        radial-gradient(52% 44% at 4% 4%, rgba(17, 179, 156, 0.07), transparent 60%),
        var(--paper);
}

.lims-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: linear-gradient(90deg, rgba(10, 19, 34, 0.05) 1px, transparent 1px);
    background-size: 104px 100%;
    -webkit-mask-image: linear-gradient(180deg, #000, transparent 82%);
    mask-image: linear-gradient(180deg, #000, transparent 82%);
}

.lims-crumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 42px;
    color: var(--faint);
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.06em;
}

.lims-crumbs a {
    color: #6d7b90;
    transition: color 0.2s ease;
}

.lims-crumbs a:hover {
    color: var(--ink);
}

.lims-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 384px;
    gap: 56px;
    align-items: start;
    padding-bottom: 54px;
}

.lims-kicker {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    color: #4d5a6d;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.lims-kicker .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--lime-2);
    box-shadow: 0 0 0 4px rgba(183, 234, 61, 0.24);
}

.lims-kicker .sep {
    width: 22px;
    height: 1px;
    background: #c2ccdc;
}

.lims-kicker .cn {
    letter-spacing: 0.06em;
    color: #26354b;
    font-weight: 700;
}

.lims-kicker .en {
    color: #9aa6b8;
    font-size: 9.5px;
    letter-spacing: 0.16em;
}

.lims-hero h1 {
    margin: 22px 0 22px;
    font-size: clamp(40px, 4.6vw, 62px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.lims-hero h1 em {
    font-style: normal;
    background: linear-gradient(transparent 62%, var(--lime) 62%);
}

.lims-lead {
    max-width: 590px;
    color: #536172;
    font-size: 15.5px;
    line-height: 1.95;
}

.lims-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.lims-hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 26px;
    margin-top: 30px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

.lims-hero-points li {
    position: relative;
    padding-left: 18px;
    color: #4b596c;
    font-size: 12.5px;
    letter-spacing: 0.01em;
}

.lims-hero-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: var(--ink);
}

/* 样品队列控制台 */

.lims-console {
    position: relative;
    padding: 20px;
    overflow: hidden;
    border: 1px solid rgba(205, 244, 99, 0.18);
    border-radius: 16px;
    color: #e9f0fb;
    background: linear-gradient(180deg, #0b1526, #0a1220);
    box-shadow: 0 38px 74px -42px rgba(10, 19, 34, 0.72);
    font-family: var(--mono);
}

.lims-console::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 100% 26px;
}

.lims-console-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 10.5px;
    letter-spacing: 0.18em;
    color: #9fb0c6;
}

.lims-console-live {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #cdf463;
    font-size: 10px;
    letter-spacing: 0.14em;
}

.lims-console-live i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #cdf463;
    box-shadow: 0 0 0 4px rgba(205, 244, 99, 0.14);
    animation: limsPulse 2.4s ease-in-out infinite;
}

.lims-console-meta {
    margin-top: 8px;
    color: #7c8ea6;
    font-size: 10px;
    letter-spacing: 0.08em;
}

.lims-queue {
    margin-top: 14px;
}

.lims-queue li {
    padding: 12px 0;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
}

.lims-q-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.lims-q-id {
    color: #8ea2ba;
    font-size: 10.5px;
    letter-spacing: 0.06em;
}

.lims-q-name {
    margin-top: 5px;
    color: #e9f0fb;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
    font-size: 12.5px;
}

.lims-q-bar {
    margin-top: 9px;
    height: 3px;
    overflow: hidden;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.1);
}

.lims-q-bar i {
    display: block;
    width: var(--w, 0%);
    height: 100%;
    border-radius: 2px;
    background: linear-gradient(90deg, #cdf463, #74dfae);
}

.lims-q-bar.is-empty i {
    background: rgba(255, 255, 255, 0.16);
}

.lims-console-foot {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.lims-console-foot b {
    display: block;
    color: #f2f7ff;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.lims-console-foot span {
    color: #7c8ea6;
    font-size: 9.5px;
    letter-spacing: 0.08em;
}

.lims-barcode {
    height: 26px;
    opacity: 0.1;
    background-image: repeating-linear-gradient(90deg, #0a1322 0 2px, transparent 2px 5px, #0a1322 5px 6px, transparent 6px 11px);
}

/* ================================ STRIP ================================== */

.lims-strip {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #fff;
}

.lims-strip-inner {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.lims-strip-item {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 20px 26px;
    border-left: 1px solid var(--line-2);
}

.lims-strip-item:first-child {
    padding-left: 0;
    border-left: 0;
}

.lims-strip-item b {
    font-family: var(--mono);
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.lims-strip-item span {
    color: var(--muted);
    font-size: 12.5px;
}

/* ================================ SUBNAV ================================= */

.lims-subnav {
    position: sticky;
    top: 76px;
    z-index: 40;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.92);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.lims-subnav-inner {
    display: flex;
    gap: 6px;
    padding: 10px 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.lims-subnav-inner::-webkit-scrollbar {
    display: none;
}

.lims-subnav a {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
    height: 38px;
    padding: 0 14px;
    border-radius: 9px;
    color: #4c5a6e;
    font-size: 13.5px;
    font-weight: 600;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease;
}

.lims-subnav a i {
    color: var(--faint);
    font-family: var(--mono);
    font-size: 10px;
    font-style: normal;
}

.lims-subnav a:hover {
    color: var(--ink);
    background: #eef2f8;
}

.lims-subnav a.is-current {
    color: #f4ffe0;
    background: var(--ink);
}

.lims-subnav a.is-current i {
    color: var(--lime);
}

/* =============================== WORKBENCH =============================== */

.lims-workbench {
    border-bottom: 1px solid var(--line-2);
    background: linear-gradient(180deg, #fff, #f7f9fd 58%, var(--paper));
}

.lims-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 5px;
    margin-bottom: 22px;
    border-radius: 12px;
    background: #e8edf5;
}

.lims-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    padding: 0 16px;
    border: 0;
    border-radius: 8px;
    color: #4c5a6e;
    background: transparent;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.lims-tab i {
    color: var(--faint);
    font-family: var(--mono);
    font-size: 10px;
    font-style: normal;
}

.lims-tab:hover {
    color: var(--ink);
}

.lims-tab.is-active {
    color: #f4ffe0;
    background: var(--ink);
    box-shadow: 0 10px 20px -14px rgba(10, 19, 34, 0.8);
}

.lims-tab.is-active i {
    color: var(--lime);
}

.lims-panel {
    display: none;
}

.lims-panel.is-active {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    gap: 20px;
    align-items: start;
    animation: limsFade 0.32s ease both;
}

.lims-mock {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 26px 60px -48px rgba(10, 19, 34, 0.6);
}

.lims-mock-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    color: #a9bad0;
    background: #0d1626;
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.14em;
}

.lims-mock-bar span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.lims-mock-bar span::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--lime);
}

.lims-mock-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.lims-table {
    width: 100%;
    min-width: 520px;
    border-collapse: collapse;
    font-size: 13px;
}

.lims-table th {
    padding: 11px 14px;
    border-bottom: 1px solid var(--line-2);
    color: var(--faint);
    background: #f7f9fd;
    font-family: var(--mono);
    font-size: 9.5px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-align: left;
    text-transform: uppercase;
}

.lims-table td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--line-2);
    color: #28374d;
    vertical-align: middle;
}

.lims-table tr:last-child td {
    border-bottom: 0;
}

.lims-table td:first-child {
    color: #4f6a8f;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.02em;
}

.lims-table b {
    font-weight: 700;
}

.lims-sub {
    color: #7c8ea6;
    font-size: 11px;
}

.lims-notes {
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
}

.lims-notes h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.lims-notes h3::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 1px;
    background: var(--lime-2);
}

.lims-notes ul {
    display: grid;
    gap: 9px;
    margin-top: 12px;
}

.lims-notes li {
    position: relative;
    padding-left: 16px;
    color: var(--muted);
    font-size: 12.5px;
    line-height: 1.75;
}

.lims-notes li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 1px;
    background: #b9c4d6;
}

/* 状态标签 */

.lims-chip {
    display: inline-flex;
    align-items: center;
    height: 21px;
    padding: 0 8px;
    border: 1px solid #dde4ee;
    border-radius: 5px;
    color: #3c4b60;
    background: #eef2f8;
    font-family: var(--mono);
    font-size: 9.5px;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.lims-chip.is-run {
    color: #3f5a00;
    border-color: #dcf3a2;
    background: #f4ffdb;
}

.lims-chip.is-review {
    color: #8a5a12;
    border-color: #f6dfb6;
    background: #fff5e4;
}

.lims-chip.is-ok {
    color: #0b6f61;
    border-color: #bdeee4;
    background: #e7faf6;
}

.lims-chip.is-wait {
    color: #65748a;
    border-color: #e0e6f0;
    background: #f1f4f9;
}

.lims-console .lims-chip {
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    color: #9fb0c6;
}

.lims-console .lims-chip.is-run {
    color: #d9ff8a;
    border-color: rgba(205, 244, 99, 0.28);
    background: rgba(205, 244, 99, 0.14);
}

.lims-console .lims-chip.is-review {
    color: #f5c887;
    border-color: rgba(238, 179, 91, 0.26);
    background: rgba(238, 179, 91, 0.14);
}

.lims-console .lims-chip.is-ok {
    color: #7fe6d5;
    border-color: rgba(17, 179, 156, 0.32);
    background: rgba(17, 179, 156, 0.16);
}

.lims-console .lims-chip.is-wait {
    color: #9fb0c6;
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
}

/* 检验记录卡 */

.lims-record {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
}

.lims-record-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--line-2);
    color: #4f6a8f;
    background: #f7f9fd;
    font-family: var(--mono);
    font-size: 11.5px;
    letter-spacing: 0.06em;
}

.lims-record dl {
    padding: 4px 18px;
}

.lims-record dl > div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px dashed var(--line-2);
    font-size: 13px;
}

.lims-record dl > div:last-child {
    border-bottom: 0;
}

.lims-record dt {
    color: var(--faint);
    font-weight: 500;
}

.lims-record dd {
    color: #1e2c42;
    font-weight: 600;
    text-align: right;
}

.lims-record dd b {
    color: #0b6f61;
    font-family: var(--mono);
    font-size: 15px;
}

.lims-record dd em {
    margin-left: 6px;
    padding: 2px 5px;
    border: 1px solid var(--line);
    border-radius: 4px;
    color: #7c8ea6;
    font-family: var(--mono);
    font-size: 9px;
    font-style: normal;
}

.lims-record-sign {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 14px 18px;
    border-top: 1px solid var(--line-2);
    background: #fafbfe;
}

.lims-record-sign > div {
    display: flex;
    flex-direction: column;
    gap: 3px;
    color: var(--faint);
    font-size: 10.5px;
}

.lims-record-sign b {
    color: #1e2c42;
    font-size: 13px;
}

.lims-record-sign i {
    color: #8a97ab;
    font-family: var(--mono);
    font-size: 9.5px;
    font-style: normal;
}

.lims-record-sign i.is-done {
    color: #0b6f61;
}

/* 仪器 / 试剂列表 */

.lims-list {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
}

.lims-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 13px 18px;
    border-top: 1px solid var(--line-2);
}

.lims-list li:first-child {
    border-top: 0;
}

.lims-list b {
    display: block;
    color: #10233f;
    font-family: var(--mono);
    font-size: 11.5px;
    letter-spacing: 0.03em;
}

.lims-list span {
    color: var(--muted);
    font-size: 12px;
}

.lims-list-r {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 10px;
}

.lims-list-r em {
    color: var(--faint);
    font-family: var(--mono);
    font-size: 10px;
    font-style: normal;
}

/* ============================ BUILT-IN FLOWS ============================ */

.lims-lifecycle {
    background: var(--paper);
}

.lims-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    margin: -18px 0 22px;
    color: var(--muted);
    font-size: 12px;
}

.lims-legend span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.lims-legend i {
    width: 9px;
    height: 9px;
    border-radius: 2px;
}

.lims-legend i.is-start {
    background: var(--lime-2);
}

.lims-legend i.is-auto {
    background: var(--ink);
}

.lims-legend i.is-note {
    border-radius: 50%;
    background: #c3cedf;
}

.lims-badge {
    display: inline-flex;
    align-items: center;
    height: 20px;
    padding: 0 7px;
    border: 1px solid #dde4ee;
    border-radius: 5px;
    color: #3c4b60;
    background: #eef2f8;
    font-family: var(--mono);
    font-size: 9.5px;
    letter-spacing: 0.04em;
}

.lims-badge.is-start {
    color: #3f5a00;
    border-color: #dcf3a2;
    background: #f4ffdb;
}

.lims-badge.is-auto {
    color: #31425c;
    border-color: #dbe3ef;
    background: #f4f7fc;
}

/* 主线：四条自动串联的流程 */

.lims-chain {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
}

.lims-chain > li {
    position: relative;
    display: grid;
    grid-template-rows: auto auto 1fr auto;
    padding: 22px 20px 20px;
    border-left: 1px solid var(--line-2);
    transition: background 0.2s ease;
}

.lims-chain > li:first-child {
    border-left: 0;
}

.lims-chain > li:hover {
    background: #fbfdff;
}

/* 卡片之间的触发箭头 */
.lims-chain > li + li::before {
    content: "→";
    position: absolute;
    top: 50%;
    left: -11px;
    margin-top: -11px;
    width: 22px;
    height: 22px;
    border: 1px solid #cdd8e8;
    border-radius: 50%;
    color: var(--ink);
    background: #fff;
    font-family: var(--mono);
    font-size: 12px;
    line-height: 20px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(10, 19, 34, 0.08);
}

.lims-chain-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.lims-chain h3 {
    margin-top: 10px;
    font-size: 15.5px;
    line-height: 1.45;
    letter-spacing: -0.01em;
}

.lims-chain p {
    margin-top: 8px;
    color: var(--muted);
    font-size: 12.5px;
    line-height: 1.72;
}

.lims-chain-rel {
    display: grid;
    align-self: end;
    gap: 5px;
    padding-top: 14px;
}

.lims-chain-rel li {
    display: block;
    padding: 0;
    border: 0;
    color: #6b7c93;
    font-family: var(--mono);
    font-size: 10px;
    line-height: 1.6;
    letter-spacing: 0.01em;
}

/* 起点流程：可手动新建 */

.lims-branches {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.lims-branches article {
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.lims-branches article:hover {
    border-color: #c9d4e4;
    transform: translateY(-2px);
}

.lims-branch-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.lims-branch-no {
    color: var(--faint);
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.14em;
}

.lims-branches h3 {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.5;
}

.lims-branches p {
    margin-top: 7px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.72;
}

/* ================================= BENTO ================================= */

.lims-capability {
    background: #fff;
    border-top: 1px solid var(--line-2);
    border-bottom: 1px solid var(--line-2);
}

.lims-bento {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 16px;
}

.lims-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    grid-column: span 4;
    gap: 12px;
    min-height: 218px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.lims-tile:hover {
    border-color: #c9d4e4;
    box-shadow: 0 28px 54px -48px rgba(10, 19, 34, 0.7);
    transform: translateY(-3px);
}

.lims-tile.is-5 {
    grid-column: span 5;
}

.lims-tile.is-3 {
    grid-column: span 3;
}

.lims-tile-kicker {
    color: var(--faint);
    font-family: var(--mono);
    font-size: 9.5px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.lims-tile h3 {
    font-size: 16px;
    letter-spacing: -0.01em;
}

.lims-tile p {
    color: var(--muted);
    font-size: 12.5px;
    line-height: 1.75;
}

.lims-alcoa {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: auto;
    padding-top: 6px;
}

.lims-alcoa span {
    display: inline-flex;
    align-items: center;
    height: 22px;
    padding: 0 7px;
    border: 1px solid var(--line);
    border-radius: 5px;
    color: #40506a;
    background: #f8fafd;
    font-family: var(--mono);
    font-size: 9.5px;
    letter-spacing: 0.02em;
}

.lims-alcoa span b {
    margin-right: 4px;
    color: #0b6f61;
}

/* 稳定性时间点 */

.lims-stab {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 4px;
    margin-top: auto;
    padding-top: 4px;
}

.lims-stab span {
    position: relative;
    padding-top: 18px;
    color: var(--faint);
    font-family: var(--mono);
    font-size: 9.5px;
    text-align: center;
}

.lims-stab span::before {
    content: "";
    position: absolute;
    top: 4px;
    left: 50%;
    width: 9px;
    height: 9px;
    margin-left: -4.5px;
    border: 1px solid #c6d1e2;
    border-radius: 50%;
    background: #fff;
}

.lims-stab span::after {
    content: "";
    position: absolute;
    top: 8px;
    left: 50%;
    width: 100%;
    height: 1px;
    background: #e2e8f1;
}

.lims-stab span:last-child::after {
    display: none;
}

.lims-stab span.is-done::before {
    border-color: var(--ink);
    background: var(--ink);
}

.lims-stab span.is-now::before {
    border-color: #8bbd17;
    background: var(--lime);
    box-shadow: 0 0 0 3px rgba(205, 244, 99, 0.4);
}

.lims-stab span.is-now {
    color: var(--ink);
    font-weight: 700;
}

/* 环境监控柱状 */

.lims-env {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: auto;
    padding-top: 6px;
}

.lims-env > div {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 6px;
    height: 92px;
    padding: 8px;
    border: 1px solid var(--line-2);
    border-radius: 8px;
    background: #fafcff;
    text-align: center;
}

.lims-env i {
    display: block;
    width: 100%;
    height: var(--h, 40%);
    border-radius: 4px 4px 2px 2px;
    background: linear-gradient(180deg, #dff7a7, #c3ea54);
}

.lims-env b {
    font-family: var(--mono);
    font-size: 11px;
}

.lims-env span {
    color: var(--faint);
    font-size: 9.5px;
}

/* 工作量三指标 */

.lims-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: auto;
    padding-top: 6px;
}

.lims-metrics div {
    padding: 9px 10px;
    border: 1px solid var(--line-2);
    border-radius: 8px;
    background: #fafcff;
}

.lims-metrics b {
    display: block;
    font-family: var(--mono);
    font-size: 16px;
    font-weight: 700;
}

.lims-metrics span {
    color: var(--faint);
    font-size: 9.5px;
}

/* =============================== INTEGRITY =============================== */

.lims-integrity {
    position: relative;
    padding: 92px 0;
    overflow: hidden;
    color: #e8eef8;
    background: #080f1c;
}

.lims-integrity::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(58% 62% at 88% 4%, rgba(205, 244, 99, 0.12), transparent 62%);
}

.lims-integrity-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 48px;
    align-items: center;
}

.lims-integrity .lims-tag {
    color: #8fa1b8;
}

.lims-integrity h2 {
    margin-top: 14px;
    font-size: clamp(28px, 3.2vw, 40px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.lims-integrity h2 em {
    color: var(--lime);
    font-style: normal;
}

.lims-integrity-lead {
    margin-top: 18px;
    color: #a9b8cb;
    font-size: 14.5px;
    line-height: 1.95;
}

.lims-integrity-points {
    display: grid;
    gap: 12px;
    margin-top: 24px;
}

.lims-integrity-points li {
    position: relative;
    padding-left: 22px;
    color: #cbd7e6;
    font-size: 13px;
    line-height: 1.7;
}

.lims-integrity-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 9px;
    height: 9px;
    border: 1px solid var(--lime);
    border-radius: 2px;
}

.lims-log {
    overflow: hidden;
    border: 1px solid rgba(205, 244, 99, 0.16);
    border-radius: 14px;
    background: #0b1524;
    box-shadow: 0 44px 90px -60px #000;
    font-family: var(--mono);
}

.lims-log-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    color: #8ea2ba;
    background: #0e1a2c;
    font-size: 10.5px;
    letter-spacing: 0.14em;
}

.lims-log-head i {
    color: var(--lime);
    font-style: normal;
}

.lims-log-lines {
    padding: 8px 0;
}

.lims-log-lines li {
    display: grid;
    grid-template-columns: 58px 66px 104px minmax(0, 1fr);
    gap: 12px;
    align-items: baseline;
    padding: 9px 16px;
    border-left: 2px solid transparent;
    color: #a9bacd;
    font-size: 11px;
    line-height: 1.6;
}

.lims-log-lines li:nth-child(2) {
    border-left-color: var(--lime);
    background: linear-gradient(90deg, rgba(205, 244, 99, 0.08), transparent 70%);
}

.lims-log-lines time {
    color: #66798f;
}

.lims-log-lines b {
    color: #dbe6f3;
    font-weight: 600;
}

.lims-log-lines span {
    color: #7fd7c7;
    letter-spacing: 0.02em;
}

.lims-log-lines em {
    overflow: hidden;
    color: #c7d3e2;
    font-style: normal;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lims-log-foot {
    padding: 12px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    color: #8ea2ba;
    font-size: 10px;
    letter-spacing: 0.06em;
}

/* =============================== INTEGRATION ============================= */

.lims-flow {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr) 40px minmax(0, 1fr);
    align-items: stretch;
}

.lims-flow-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
}

.lims-flow-card.is-core {
    color: #eef6e2;
    border-color: var(--ink);
    background: var(--ink);
}

.lims-flow-card h3 {
    font-size: 15px;
    letter-spacing: -0.01em;
}

.lims-flow-card p {
    color: var(--muted);
    font-size: 12.5px;
    line-height: 1.7;
}

.lims-flow-card.is-core p {
    color: #b9c8da;
}

.lims-flow-label {
    color: var(--faint);
    font-family: var(--mono);
    font-size: 9.5px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.lims-flow-card.is-core .lims-flow-label {
    color: var(--lime);
}

.lims-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: auto;
}

.lims-chips span {
    display: inline-flex;
    align-items: center;
    height: 23px;
    padding: 0 8px;
    border: 1px solid var(--line);
    border-radius: 5px;
    color: #40506a;
    background: #f8fafd;
    font-family: var(--mono);
    font-size: 9.5px;
    letter-spacing: 0.02em;
}

.lims-flow-card.is-core .lims-chips span {
    color: #dbe9c9;
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.06);
}

.lims-flow-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a9b8cb;
    font-family: var(--mono);
    font-size: 16px;
}

.lims-flow-note {
    margin-top: 18px;
    color: var(--faint);
    font-family: var(--mono);
    font-size: 10.5px;
    letter-spacing: 0.04em;
}

/* =============================== COMPLIANCE ============================== */

.lims-checks {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.lims-check {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
}

.lims-check h3 {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 15px;
}

.lims-check h3 span {
    color: var(--faint);
    font-family: var(--mono);
    font-size: 9.5px;
    letter-spacing: 0.14em;
}

.lims-check ul {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.lims-check li {
    position: relative;
    padding-left: 24px;
    color: #33425a;
    font-size: 12.5px;
    line-height: 1.7;
}

.lims-check li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 3px;
    width: 16px;
    height: 16px;
    border-radius: 4px;
    color: #3d6400;
    background: #eefbd2;
    font-size: 10px;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
}

/* ================================= DEPLOY ================================ */

.lims-deploy {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.lims-deploy-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
}

.lims-deploy-card h3 {
    font-size: 16px;
}

.lims-deploy-card p {
    color: var(--muted);
    font-size: 12.5px;
    line-height: 1.75;
}

.lims-deploy-card.is-featured {
    color: #eef6e2;
    border-color: var(--ink);
    background: var(--ink);
}

.lims-deploy-card.is-featured h3 {
    color: #f6ffe6;
}

.lims-deploy-card.is-featured p {
    color: #b3c3d6;
}

.lims-deploy-card .lims-flow-label {
    color: var(--faint);
}

.lims-deploy-card.is-featured .lims-flow-label {
    color: var(--lime);
}

.lims-impl {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 20px;
}

.lims-impl li {
    padding: 18px;
    border: 1px dashed #c9d4e4;
    border-radius: 12px;
    background: #fafcff;
}

.lims-impl b {
    display: block;
    color: var(--faint);
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.14em;
}

.lims-impl h4 {
    margin-top: 6px;
    font-size: 14px;
}

.lims-impl p {
    margin-top: 6px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.7;
}

/* ================================== FAQ ================================== */

.lims-faq {
    background: #fff;
    border-top: 1px solid var(--line-2);
}

.lims-faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.lims-faq-item {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fbfcff;
}

.lims-faq-item h3 {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15px;
    line-height: 1.5;
}

.lims-faq-item h3 i {
    flex: 0 0 auto;
    margin-top: 2px;
    padding: 2px 6px;
    border: 1px solid var(--line);
    border-radius: 5px;
    color: #6b7c93;
    background: #f1f5fb;
    font-family: var(--mono);
    font-size: 10px;
    font-style: normal;
}

.lims-faq-item p {
    margin-top: 10px;
    color: var(--muted);
    font-size: 12.5px;
    line-height: 1.85;
}

/* ================================== CTA ================================== */

.lims-cta {
    position: relative;
    padding: 74px 0;
    overflow: hidden;
    color: #eef3fa;
    background: #080f1c;
}

.lims-cta::before {
    content: "";
    position: absolute;
    right: -110px;
    bottom: -160px;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(205, 244, 99, 0.2), transparent 62%);
}

.lims-cta-inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 40px;
    align-items: center;
}

.lims-cta .lims-tag {
    color: #8fa1b8;
}

.lims-cta h2 {
    margin-top: 12px;
    font-size: clamp(28px, 3.2vw, 40px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.lims-cta h2 em {
    color: var(--lime);
    font-style: normal;
}

.lims-cta p {
    margin-top: 14px;
    color: #a9b8cb;
    font-size: 13.5px;
    line-height: 1.8;
}

.lims-cta-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
}

.lims-cta-note {
    color: #7f90a6;
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.08em;
}

/* =============================== ANIMATION =============================== */

.lims-js [data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.lims-js [data-reveal].is-in {
    opacity: 1;
    transform: none;
}

@keyframes limsPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(0.82);
    }
}

@keyframes limsFade {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lims-js [data-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .lims-console-live i {
        animation: none;
    }

    .lims-panel.is-active {
        animation: none;
    }
}

/* =============================== RESPONSIVE ============================== */

@media (max-width: 1080px) {
    .lims-hero-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 36px;
    }

    .lims-console {
        width: 100%;
        max-width: 660px;
    }

    .lims-sec-head {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }

    .lims-bento .lims-tile,
    .lims-bento .lims-tile.is-5,
    .lims-bento .lims-tile.is-3 {
        grid-column: span 6;
    }

    .lims-chain {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lims-chain > li:nth-child(3) {
        border-left: 0;
    }

    .lims-chain > li:nth-child(n + 3) {
        border-top: 1px solid var(--line-2);
    }

    .lims-chain > li + li::before {
        display: none;
    }
    .lims-branches {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .lims-panel.is-active {
        grid-template-columns: minmax(0, 1fr);
    }


    .lims-integrity-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 30px;
    }

    .lims-flow {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }

    .lims-flow-arrow {
        padding: 2px 0;
        transform: rotate(90deg);
    }

    .lims-checks,
    .lims-deploy {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lims-impl {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lims-cta-inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 26px;
    }

    .lims-cta-actions {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
    }
}

@media (max-width: 760px) {
    .lims-wrap {
        width: calc(100% - 32px);
    }

    .lims-sec {
        padding: 64px 0;
    }

    .lims-hero {
        padding-top: 100px;
    }

    .lims-crumbs {
        margin-bottom: 28px;
    }

    .lims-hero h1 {
        font-size: clamp(32px, 8.4vw, 44px);
    }

    .lims-hero-points {
        gap: 8px 18px;
    }

    .lims-strip-inner {
        grid-template-columns: 1fr 1fr;
    }

    .lims-strip-item {
        padding: 16px 18px;
        border-top: 1px solid var(--line-2);
    }

    .lims-strip-item:first-child,
    .lims-strip-item:nth-child(2) {
        border-top: 0;
    }

    .lims-strip-item:first-child {
        padding-left: 0;
    }

    .lims-strip-item:nth-child(3) {
        border-left: 0;
        padding-left: 0;
    }

    .lims-subnav a {
        height: 34px;
        padding: 0 12px;
        font-size: 12.5px;
    }

    .lims-tabs {
        width: 100%;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .lims-tab {
        flex: 0 0 auto;
    }

    /* 手机端表格：隐藏检验员列，避免横向滚动 */
    .lims-table {
        min-width: 0;
        font-size: 12px;
    }

    .lims-table th,
    .lims-table td {
        padding: 10px 8px;
    }

    .lims-table th:nth-child(5),
    .lims-table td:nth-child(5) {
        display: none;
    }

    .lims-mock-scroll {
        overflow-x: visible;
    }

    .lims-chain {
        grid-template-columns: minmax(0, 1fr);
    }

    .lims-chain > li {
        padding: 18px 20px;
        border-left: 0;
        border-top: 1px solid var(--line-2);
    }

    .lims-chain > li:first-child {
        border-top: 0;
    }

    .lims-branches {
        grid-template-columns: minmax(0, 1fr);
    }

    .lims-bento .lims-tile,
    .lims-bento .lims-tile.is-5,
    .lims-bento .lims-tile.is-3 {
        grid-column: span 12;
        min-height: 0;
    }

    .lims-checks,
    .lims-deploy,
    .lims-faq-grid,
    .lims-impl {
        grid-template-columns: minmax(0, 1fr);
    }

    .lims-log-lines li {
        grid-template-columns: 54px minmax(0, 1fr);
        gap: 4px 10px;
    }

    .lims-log-lines span,
    .lims-log-lines em {
        grid-column: 1 / -1;
    }

    .lims-log-lines em {
        white-space: normal;
    }

    .lims-barcode {
        height: 20px;
    }
}

@media (max-width: 460px) {
    .lims-hero-actions .lims-btn {
        flex: 1 1 100%;
    }

    .lims-console-foot b {
        font-size: 16px;
    }

    .lims-record dl > div {
        flex-direction: column;
        gap: 4px;
    }

    .lims-record dd {
        text-align: left;
    }
}
