/* ================= 登录 / 注册 ================= */
.auth-body { min-height: 100vh; display: grid; grid-template-columns: 1.12fr .88fr; background: #050a11; position: relative; overflow: hidden; }
.auth-body::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(760px 480px at 18% 8%, rgba(46, 120, 255, .2), transparent 65%),
        radial-gradient(620px 420px at 78% 92%, rgba(46, 224, 207, .12), transparent 65%);
}
.auth-visual { position: relative; padding: 44px 52px; display: flex; flex-direction: column; justify-content: space-between; border-right: 1px solid var(--line); z-index: 1; overflow: hidden; }
.auth-brand { display: flex; align-items: center; gap: 12px; position: relative; z-index: 2; }
.auth-brand .brand-mark { width: 44px; height: 44px; }
.auth-brand strong { font-size: 15px; letter-spacing: .8px; display: block; }
.auth-brand em { font-style: normal; font-size: 9px; letter-spacing: 2.6px; color: var(--dim); font-family: var(--mono); }
.auth-mesh { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .8; pointer-events: none; }
.auth-mesh path { fill: none; stroke: rgba(90, 175, 235, .16); stroke-width: 1; }
.auth-mesh path.hot { stroke: rgba(63, 228, 207, .55); stroke-width: 1.4; filter: drop-shadow(0 0 6px rgba(63, 228, 207, .45)); }
.auth-mesh circle { fill: #49e9d6; }
.auth-copy { position: relative; z-index: 2; max-width: 540px; margin-bottom: 10px; }
.auth-copy .eyebrow { margin-bottom: 14px; }
.auth-copy h1 { font-size: 37px; line-height: 1.28; font-weight: 600; letter-spacing: 1px; margin-bottom: 14px; }
.auth-copy h1 span { background: linear-gradient(100deg, #6ff4e2, #56a6ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.auth-copy p { font-size: 13px; color: var(--muted); max-width: 460px; line-height: 1.9; }
.auth-stats { display: flex; gap: 30px; margin-top: 28px; position: relative; z-index: 2; }
.auth-stat strong { display: block; font-family: var(--mono); font-size: 24px; letter-spacing: -.5px; }
.auth-stat span { font-size: 10.5px; color: var(--dim); letter-spacing: .6px; }
.auth-foot { position: relative; z-index: 2; font-size: 10.5px; color: var(--dim); display: flex; gap: 16px; align-items: center; }
.auth-foot .sep { width: 1px; height: 10px; background: var(--line-strong); }

.auth-panel { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 40px 28px; }
.auth-form { width: 100%; max-width: 386px; animation: rise .55s ease both; }
.auth-form-head .eyebrow { margin-bottom: 10px; }
.auth-form-head h2 { font-size: 25px; font-weight: 600; letter-spacing: .6px; }
.auth-form-head p { font-size: 12px; color: var(--dim); margin-top: 6px; }
.auth-form form { margin-top: 26px; display: flex; flex-direction: column; gap: 15px; }
.auth-field { position: relative; }
.auth-field > .ic { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--dim); }
.auth-field input {
    width: 100%; height: 44px; padding: 0 13px 0 40px;
    border-radius: 10px; border: 1px solid var(--line);
    background: rgba(9, 18, 31, .8); color: var(--text); font-size: 13px; font-family: inherit; outline: none;
    transition: .18s;
}
.auth-field input:focus { border-color: rgba(63, 228, 207, .55); box-shadow: 0 0 0 3px rgba(63, 228, 207, .08); }
.auth-field input::placeholder { color: var(--dim); }
.auth-field .toggle-eye { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: var(--dim); cursor: pointer; padding: 3px; }
.auth-submit { height: 44px; border-radius: 10px; border: 0; background: linear-gradient(120deg, #5bf1dd, #3ba9ff); color: #04201f; font-weight: 650; font-size: 13.5px; letter-spacing: .6px; cursor: pointer; margin-top: 4px; box-shadow: 0 14px 30px rgba(52, 200, 220, .22); transition: .18s; }
.auth-submit:hover { filter: brightness(1.05); box-shadow: 0 16px 36px rgba(52, 200, 220, .3); }
.auth-submit[disabled] { opacity: .6; cursor: wait; }
.auth-switch { margin-top: 18px; font-size: 12px; color: var(--dim); text-align: center; }
.auth-switch a { color: var(--cyan); }
.auth-switch a:hover { text-decoration: underline; }
.auth-legal { margin-top: 30px; font-size: 10px; color: var(--dim); text-align: center; line-height: 1.9; }
.auth-error { min-height: 16px; font-size: 11.5px; color: var(--red); }

/* ================= 工作台 ================= */
.wb-hero { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.wb-hero h1 { font-size: 28px; font-weight: 600; letter-spacing: .5px; margin: 6px 0 5px; }
.wb-hero p { font-size: 12.5px; color: var(--muted); }
.wb-date { display: flex; align-items: center; gap: 10px; padding: 8px 13px; border: 1px solid var(--line); border-radius: 9px; background: rgba(255, 255, 255, .02); font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
.wb-date .ic { color: var(--cyan); }

.wb-main { display: grid; grid-template-columns: 1.45fr .85fr; gap: 16px; }
.wb-bottom { display: grid; grid-template-columns: 1.2fr .8fr; gap: 16px; margin-top: 16px; }
.chart-box { position: relative; width: 100%; height: 226px; }
.chart-box canvas, .chart-box svg { width: 100%; height: 100%; display: block; }
.chart-tall { height: 286px; }
.chart-legend { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 10px; font-size: 11px; color: var(--muted); }
.chart-legend i { width: 8px; height: 8px; border-radius: 2px; display: inline-block; margin-right: 5px; }

.stage-legend { display: flex; flex-direction: column; gap: 9px; margin-top: 4px; }
.stage-legend .row { display: flex; align-items: center; gap: 9px; font-size: 11.5px; }
.stage-legend .row i { width: 7px; height: 7px; border-radius: 2px; }
.stage-legend .row b { margin-left: auto; font-family: var(--mono); font-weight: 500; color: var(--text-2); }

.alert-list { display: flex; flex-direction: column; }
.alert-row { display: flex; align-items: center; gap: 11px; padding: 11px 0; border-bottom: 1px dashed rgba(122, 162, 214, .1); }
.alert-row:last-child { border-bottom: 0; }
.alert-row .sev { width: 3px; height: 30px; border-radius: 3px; background: var(--amber); flex: none; }
.alert-row .sev.high { background: var(--red); box-shadow: 0 0 10px rgba(255, 115, 115, .5); }
.alert-row .sev.low { background: var(--blue); }
.alert-row strong { display: block; font-size: 12.5px; font-weight: 520; }
.alert-row span { display: block; font-size: 10.5px; color: var(--dim); margin-top: 2px; }
.alert-row .right { margin-left: auto; text-align: right; }
.alert-row .val { font-family: var(--mono); font-size: 12px; color: var(--amber); }

.proj-list { display: flex; flex-direction: column; gap: 2px; }
.proj-row { display: grid; grid-template-columns: 1fr 130px 54px; align-items: center; gap: 12px; padding: 9px 4px; border-bottom: 1px dashed rgba(122, 162, 214, .08); }
.proj-row:last-child { border-bottom: 0; }
.proj-row strong { display: block; font-size: 12px; font-weight: 500; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.proj-row span { display: block; font-size: 10px; color: var(--dim); margin-top: 1px; }
.proj-row b { font-family: var(--mono); font-size: 11px; font-weight: 500; text-align: right; color: var(--muted); }

.eq-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 12px; }
.eq-cell { padding: 10px; border-radius: 8px; border: 1px solid var(--line); background: rgba(255, 255, 255, .018); text-align: center; }
.eq-cell b { display: block; font-family: var(--mono); font-size: 19px; color: var(--text); }
.eq-cell span { font-size: 10px; color: var(--dim); }
.eq-cell.run b { color: var(--green); }
.eq-cell.warn b { color: var(--amber); }
.eq-cell.err b { color: var(--red); }

.todo-row { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px dashed rgba(122, 162, 214, .08); font-size: 12px; }
.todo-row:last-child { border-bottom: 0; }
.todo-row .ic { color: var(--amber); }
.todo-row span { color: var(--dim); font-size: 10.5px; }
.todo-row .right { margin-left: auto; }

/* ================= 详情 / 通用块 ================= */
.quick-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.link-more { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; color: var(--cyan); cursor: pointer; }
.link-more:hover { text-decoration: underline; }

.stat-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.stat-cell { background: rgba(11, 20, 33, .94); padding: 12px 14px; }
.stat-cell span { display: block; font-size: 10.5px; color: var(--dim); }
.stat-cell b { display: block; font-family: var(--mono); font-size: 19px; font-weight: 500; margin-top: 3px; }

.info-note { display: flex; gap: 9px; padding: 11px 13px; border-radius: 9px; border: 1px solid rgba(240, 180, 92, .18); background: rgba(240, 180, 92, .055); font-size: 11.5px; color: #e6c896; line-height: 1.75; }
.info-note .ic { color: var(--amber); margin-top: 1px; }

.sync-row { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 4px; }
.sync-btn { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border-radius: 7px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); color: var(--muted); font-size: 11px; cursor: pointer; }
.sync-btn:hover { border-color: rgba(63, 228, 207, .35); color: var(--cyan); }

/* ================= 看板 ================= */
.kanban { display: grid; grid-template-columns: repeat(5, minmax(238px, 1fr)); gap: 12px; overflow-x: auto; padding: 4px 2px 10px; align-items: start; }
.kb-col { background: rgba(255, 255, 255, .016); border: 1px solid var(--line); border-radius: 12px; display: flex; flex-direction: column; min-height: 430px; transition: .18s; }
.kb-col.over { border-color: rgba(63, 228, 207, .5); background: rgba(63, 228, 207, .045); }
.kb-head { display: flex; align-items: center; gap: 8px; padding: 11px 12px; border-bottom: 1px solid var(--line); }
.kb-head .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); }
.kb-head h4 { font-size: 12px; font-weight: 560; letter-spacing: .4px; }
.kb-count { margin-left: auto; font-family: var(--mono); font-size: 10.5px; color: var(--dim); border: 1px solid var(--line); border-radius: 20px; padding: 0 6px; }
.kb-add { border: 0; background: transparent; color: var(--dim); cursor: pointer; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 5px; }
.kb-add:hover { background: rgba(63, 228, 207, .1); color: var(--cyan); }
.kb-body { padding: 8px; display: flex; flex-direction: column; gap: 8px; flex: 1; min-height: 100px; }
.kb-card { position: relative; padding: 11px 11px 10px 13px; border-radius: 9px; border: 1px solid var(--line); background: linear-gradient(155deg, rgba(20, 34, 55, .82), rgba(10, 18, 30, .9)); cursor: grab; transition: .18s; overflow: hidden; }
.kb-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--blue); opacity: .6; }
.kb-card[data-priority="紧急"]::before { background: var(--red); opacity: 1; }
.kb-card[data-priority="高"]::before { background: var(--amber); opacity: .9; }
.kb-card[data-priority="低"]::before { background: var(--dim); }
.kb-card:hover { border-color: rgba(63, 228, 207, .3); transform: translateY(-1px); box-shadow: 0 12px 26px rgba(0, 0, 0, .35); }
.kb-card.dragging { opacity: .4; }
.kb-card .code { font-family: var(--mono); font-size: 9.5px; color: var(--dim); letter-spacing: .3px; }
.kb-card h5 { font-size: 12.5px; font-weight: 520; margin: 4px 0 3px; line-height: 1.5; }
.kb-card .proj { font-size: 10.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kb-meta { display: flex; align-items: center; gap: 8px; margin-top: 9px; font-size: 10px; color: var(--dim); }
.kb-meta .avatar-xs { width: 18px; height: 18px; font-size: 9px; }
.kb-meta .right { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.kb-meta .due.over { color: var(--red); }
.kb-bar { margin-top: 8px; }
.kb-empty { border: 1px dashed rgba(122, 162, 214, .16); border-radius: 8px; padding: 16px 8px; text-align: center; font-size: 10.5px; color: var(--dim); }

/* ================= 版本对照 ================= */
.vc-layout { display: grid; grid-template-columns: 292px 1fr; gap: 16px; align-items: start; }
.vc-list { display: flex; flex-direction: column; gap: 6px; max-height: 620px; overflow-y: auto; padding-right: 3px; }
.vc-item { padding: 11px 12px; border-radius: 9px; border: 1px solid var(--line); background: rgba(255, 255, 255, .016); cursor: pointer; transition: .16s; }
.vc-item:hover { border-color: var(--line-strong); }
.vc-item.active { border-color: rgba(63, 228, 207, .42); background: rgba(63, 228, 207, .055); box-shadow: inset 3px 0 0 rgba(63, 228, 207, .8); }
.vc-item .top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.vc-item .code { font-family: var(--mono); font-size: 10px; color: var(--cyan); }
.vc-item h5 { font-size: 12px; font-weight: 500; margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vc-item .sub { font-size: 10px; color: var(--dim); margin-top: 2px; }
.vc-compare-head { display: flex; align-items: center; gap: 14px; padding: 4px 0 14px; }
.vc-pane { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.vc-col { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.vc-col-head { padding: 9px 12px; background: rgba(255, 255, 255, .025); border-bottom: 1px solid var(--line); font-size: 11px; color: var(--muted); display: flex; align-items: center; gap: 7px; }
.vc-param { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; border-bottom: 1px dashed rgba(122, 162, 214, .09); font-size: 11.5px; }
.vc-param:last-child { border-bottom: 0; }
.vc-param span { color: var(--dim); }
.vc-param b { font-family: var(--mono); font-weight: 500; color: var(--text-2); }
.vc-param.changed b { color: var(--amber); }
.vc-param.changed { background: rgba(240, 180, 92, .05); }
.vc-empty { display: grid; place-items: center; height: 300px; color: var(--dim); font-size: 12px; }

/* ================= 卡片库 ================= */
.mat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(272px, 1fr)); gap: 14px; }
.mat-card { position: relative; border: 1px solid var(--line); border-radius: 13px; background: linear-gradient(160deg, rgba(18, 31, 50, .9), rgba(9, 17, 29, .92)); overflow: hidden; transition: .2s; }
.mat-card:hover { transform: translateY(-2px); border-color: rgba(63, 228, 207, .3); box-shadow: 0 20px 40px rgba(0, 0, 0, .35); }
.mat-swatch { height: 66px; position: relative; }
.mat-swatch::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(255, 255, 255, .16), transparent 45%, rgba(0, 0, 0, .32)); }
.mat-swatch .code { position: absolute; left: 12px; bottom: 8px; z-index: 2; font-family: var(--mono); font-size: 9.5px; color: rgba(255, 255, 255, .82); text-shadow: 0 1px 3px rgba(0, 0, 0, .5); }
.mat-body { padding: 13px 14px 14px; }
.mat-body h4 { font-size: 13px; font-weight: 540; line-height: 1.5; }
.mat-spec { display: flex; flex-wrap: wrap; gap: 5px; margin: 8px 0 11px; }
.mat-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; border-top: 1px dashed rgba(122, 162, 214, .1); padding-top: 10px; }
.mat-price { font-family: var(--mono); font-size: 16px; color: var(--cyan); }
.mat-price small { font-size: 9px; color: var(--dim); margin-left: 2px; }
.mat-stock { font-size: 10px; color: var(--dim); text-align: right; }
.mat-stock b { display: block; font-family: var(--mono); font-size: 12px; color: var(--text-2); }
.mat-actions { position: absolute; right: 8px; top: 8px; display: flex; gap: 4px; opacity: 0; transition: .18s; z-index: 3; }
.mat-card:hover .mat-actions { opacity: 1; }
.mat-actions .btn { background: rgba(5, 11, 19, .7); backdrop-filter: blur(6px); }

.eq-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(282px, 1fr)); gap: 14px; }
.eq-card { border: 1px solid var(--line); border-radius: 13px; background: linear-gradient(160deg, rgba(18, 31, 50, .9), rgba(9, 17, 29, .92)); padding: 14px; transition: .2s; position: relative; overflow: hidden; }
.eq-card:hover { border-color: rgba(63, 228, 207, .28); transform: translateY(-2px); }
.eq-card .led { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 9px rgba(69, 212, 146, .8); }
.eq-card .led.idle { background: var(--blue); box-shadow: 0 0 9px rgba(91, 147, 255, .7); }
.eq-card .led.maint { background: var(--amber); box-shadow: 0 0 9px rgba(240, 180, 92, .7); }
.eq-card .led.down { background: var(--red); box-shadow: 0 0 9px rgba(255, 115, 115, .8); }
.eq-top { display: flex; align-items: center; gap: 8px; }
.eq-top h4 { font-size: 13px; font-weight: 540; }
.eq-top .status { margin-left: auto; font-size: 10px; color: var(--muted); display: flex; align-items: center; gap: 5px; }
.eq-model { font-family: var(--mono); font-size: 10.5px; color: var(--dim); margin-top: 4px; }
.eq-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 10px; margin: 11px 0; font-size: 10.5px; color: var(--dim); }
.eq-meta b { display: block; color: var(--text-2); font-size: 11.5px; font-weight: 500; margin-top: 1px; }
.eq-util { display: flex; align-items: center; gap: 8px; }
.eq-util .progress { flex: 1; }
.eq-util b { font-family: var(--mono); font-size: 11px; }
.eq-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; padding-top: 9px; border-top: 1px dashed rgba(122, 162, 214, .1); font-size: 10.5px; color: var(--dim); }

/* ================= 报表 ================= */
.report-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.report-kpi { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin-bottom: 16px; }
.report-kpi .cell { background: rgba(11, 20, 33, .94); padding: 13px 16px; }
.report-kpi .cell span { font-size: 10.5px; color: var(--dim); display: block; }
.report-kpi .cell b { font-family: var(--mono); font-size: 22px; font-weight: 500; display: block; margin-top: 3px; }
.report-kpi .cell b small { font-size: 11px; color: var(--dim); }
.report-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; }
.legend-row { display: flex; flex-wrap: wrap; gap: 16px; font-size: 11px; color: var(--muted); margin-top: 8px; }
.legend-row span { display: inline-flex; align-items: center; gap: 6px; }
.legend-row i { width: 8px; height: 8px; border-radius: 2px; }
.bar-cell { display: flex; align-items: center; gap: 8px; }
.bar-cell .progress { width: 76px; }
.bar-cell b { font-family: var(--mono); font-size: 11px; }

/* ================= 天幕专项 ================= */
.canopy-hero { display: flex; align-items: center; gap: 16px; padding: 15px 17px; border: 1px solid var(--line); border-radius: 12px; background: linear-gradient(120deg, rgba(63, 228, 207, .06), rgba(10, 18, 30, .85) 55%); margin-bottom: 16px; }
.canopy-hero .hero-ic { width: 46px; height: 46px; border-radius: 11px; display: grid; place-items: center; background: rgba(63, 228, 207, .08); border: 1px solid rgba(63, 228, 207, .2); color: var(--cyan); }
.canopy-hero h3 { font-size: 15px; font-weight: 560; }
.canopy-hero p { font-size: 11.5px; color: var(--dim); margin-top: 2px; }
.canopy-hero .right { margin-left: auto; display: flex; gap: 8px; }
.panel-matrix { display: grid; grid-template-columns: repeat(12, 1fr); gap: 3px; }
.panel-matrix i { aspect-ratio: 1.6; border-radius: 2px; background: rgba(63, 228, 207, .16); border: 1px solid rgba(63, 228, 207, .1); }
.panel-matrix i.warn { background: rgba(240, 180, 92, .28); border-color: rgba(240, 180, 92, .3); }
.panel-matrix i.bad { background: rgba(255, 115, 115, .3); border-color: rgba(255, 115, 115, .35); }
.panel-matrix i.dim { background: rgba(255, 255, 255, .035); border-color: transparent; }
.matrix-note { font-size: 10.5px; color: var(--dim); margin-top: 8px; display: flex; gap: 12px; }
.matrix-note span { display: inline-flex; align-items: center; gap: 5px; }
.matrix-note i { width: 7px; height: 7px; border-radius: 2px; }

/* ================= 审批流 ================= */
.flow-chain { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.flow-node { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 7px; border: 1px solid rgba(63, 228, 207, .2); background: rgba(63, 228, 207, .05); font-size: 11px; color: var(--text-2); }
.flow-node em { font-style: normal; font-size: 9.5px; color: var(--dim); }
.flow-arrow { color: var(--dim); display: grid; place-items: center; }
.flow-node-editor { display: flex; flex-direction: column; gap: 8px; }
.flow-node-row { display: grid; grid-template-columns: 26px 1fr 1fr 28px; gap: 8px; align-items: center; padding: 7px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255, 255, 255, .018); }
.flow-node-row .idx { font-family: var(--mono); font-size: 10px; color: var(--dim); text-align: center; }
.flow-node-row .input, .flow-node-row .select { height: 31px; font-size: 11.5px; }

/* ================= 用户 / 角色 ================= */
.role-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(212px, 1fr)); gap: 12px; }
.role-card { padding: 13px 14px; border: 1px solid var(--line); border-radius: 11px; background: rgba(255, 255, 255, .018); }
.role-card .top { display: flex; align-items: center; justify-content: space-between; }
.role-card h4 { font-size: 12.5px; font-weight: 540; }
.role-card p { font-size: 10.5px; color: var(--dim); margin-top: 5px; min-height: 30px; }
.role-card .scope { font-size: 10px; color: var(--muted); border-top: 1px dashed rgba(122, 162, 214, .1); margin-top: 9px; padding-top: 7px; }

/* 登录页响应式 */
@media (max-width: 1080px) {
    .auth-body { grid-template-columns: 1fr; }
    .auth-visual { display: none; }
    .auth-panel { min-height: 100vh; }
}
@media (max-width: 1380px) {
    .report-kpi { grid-template-columns: repeat(3, 1fr); }
    .vc-layout { grid-template-columns: 260px 1fr; }
}
@media (max-width: 980px) {
    .wb-main, .wb-bottom, .report-grid { grid-template-columns: 1fr; }
    .report-kpi { grid-template-columns: repeat(2, 1fr); }
    .vc-layout { grid-template-columns: 1fr; }
    .vc-list { max-height: 260px; }
    .vc-pane { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .eq-strip { grid-template-columns: repeat(2, 1fr); }
    .proj-row { grid-template-columns: 1fr 84px 42px; }
    .kanban { grid-template-columns: repeat(5, 240px); }
}

/* ================= 流程卡片 / 角色 / 编码规则 ================= */
.flow-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(370px, 1fr)); gap: 14px; }
.flow-card { position: relative; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: linear-gradient(160deg, rgba(255,255,255,.032), rgba(255,255,255,.008)); overflow: hidden; transition: border-color .2s, transform .2s; }
.flow-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 2px; background: linear-gradient(90deg, var(--cyan), rgba(63,228,207,0) 70%); }
.flow-card:hover { border-color: rgba(63,228,207,.3); transform: translateY(-2px); }
.flow-card.off { opacity: .58; }
.flow-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.flow-head h4 { font-size: 14px; font-weight: 560; margin-top: 4px; }
.flow-head .code { font-size: 10px; color: var(--muted); letter-spacing: .06em; }
.flow-meta { display: flex; align-items: center; gap: 10px; margin: 9px 0; }
.flow-card .flow-note { font-size: 10.5px; color: var(--dim); min-height: 30px; margin-top: 8px; }
.flow-actions { display: flex; align-items: center; gap: 6px; border-top: 1px dashed rgba(122,162,214,.12); margin-top: 10px; padding-top: 10px; }
.flow-actions .left { flex: 1; }
.rule-pattern { display: inline-flex; align-items: center; gap: 4px; font-family: var(--mono); font-size: 11px; color: var(--cyan); }
.rule-pattern em { font-style: normal; color: var(--dim); }
.sample { font-size: 10.5px; color: var(--text-2); letter-spacing: .02em; }
.user-cell { display: flex; align-items: center; gap: 9px; }
.user-cell b { display: block; font-size: 12px; font-weight: 560; }
.user-cell span { display: block; font-size: 10px; color: var(--muted); }
.seq-no { display: inline-grid; place-items: center; width: 30px; height: 26px; border-radius: 7px; border: 1px solid rgba(63,228,207,.28); background: rgba(63,228,207,.07); font-family: var(--mono); font-size: 11px; color: var(--cyan); }
.seq-no.high { border-color: rgba(255,115,115,.4); background: rgba(255,115,115,.09); color: var(--red); }
.role-card .role-top { display: flex; align-items: center; gap: 9px; }
.role-top h4 { font-size: 12.5px; font-weight: 560; }
.role-top .mono { font-size: 9.5px; color: var(--dim); letter-spacing: .08em; }
.role-top b { margin-left: auto; font-family: var(--mono); font-size: 17px; color: var(--cyan); }
.role-ic { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; border: 1px solid rgba(91,147,255,.25); background: rgba(91,147,255,.08); color: var(--blue); flex: none; }
.role-members { display: flex; align-items: center; margin-top: 10px; border-top: 1px dashed rgba(122,162,214,.1); padding-top: 9px; }
.role-members .avatar-xs { margin-right: -6px; border: 2px solid var(--panel); }
.role-members .more { font-size: 10px; color: var(--dim); margin-left: 11px; }
.text-red { color: var(--red) !important; }
.row-risk td { background: rgba(255,115,115,.04); }
