:root {
  --ink: #172033;
  --ink-soft: #526078;
  --muted: #8a95a8;
  --line: #e8edf4;
  --line-strong: #dce3ee;
  --primary: #3155d9;
  --primary-dark: #2441ae;
  --navy: #0b1220;
  --navy-soft: #111b2e;
  --blue-soft: #edf3ff;
  --green: #1b9b75;
  --green-soft: #e9f8f2;
  --amber: #b87918;
  --amber-soft: #fff7e7;
  --danger: #bd3c43;
  --danger-soft: #fff0f1;
  --bg: #f5f7fb;
  --white: #fff;
  --shadow: 0 24px 70px rgba(17, 29, 61, .12);
  --shadow-soft: 0 10px 32px rgba(25, 41, 78, .06);
}

* { box-sizing: border-box; }
html { min-height: 100%; }
body { margin: 0; color: var(--ink); font-family: "Microsoft YaHei", "微软雅黑", "Malgun Gothic", "Segoe UI", Arial, sans-serif; background: var(--bg); -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; }
[hidden] { display: none !important; }

/* Shared brand language */
.brand-lockup { display: flex; align-items: center; gap: 12px; color: inherit; }
.brand-lockup strong { display: block; font-size: 15px; letter-spacing: -.03em; }
.brand-lockup small { display: block; margin-top: 3px; color: rgba(255,255,255,.48); font-size: 9px; letter-spacing: .18em; }
.brand-symbol { position: relative; width: 42px; height: 42px; overflow: hidden; border: 1px solid rgba(255,255,255,.26); border-radius: 13px; background: linear-gradient(135deg, #fff, #cbd7ff); color: var(--primary); box-shadow: 0 9px 20px rgba(0,0,0,.16); }
.brand-symbol span, .brand-symbol b { position: absolute; font-size: 22px; line-height: 1; font-weight: 900; letter-spacing: -.15em; }
.brand-symbol span { top: 9px; left: 8px; }
.brand-symbol b { right: 7px; bottom: 7px; color: #7190ed; }
.brand-symbol i { position: absolute; top: 20px; left: 8px; width: 27px; height: 4px; transform: rotate(-28deg); border-radius: 99px; background: #ff6b6b; opacity: .9; }
.eyebrow { margin: 0 0 12px; color: #6e83ba; font-size: 10px; font-weight: 800; letter-spacing: .18em; }
.eyebrow.light { color: #9cb4ff; }
.pulse-dot, .status-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #4ed2a2; box-shadow: 0 0 0 4px rgba(78,210,162,.12); }

/* Login */
.login-page { position: relative; min-height: 100vh; display: grid; place-items: center; overflow: hidden; padding: 28px; background: #080e1a; }
.login-noise { position: fixed; inset: 0; pointer-events: none; opacity: .12; background-image: radial-gradient(rgba(255,255,255,.35) .5px, transparent .5px); background-size: 5px 5px; }
.login-shell { position: relative; z-index: 1; width: min(1080px, 100%); min-height: 650px; display: grid; grid-template-columns: 1.08fr .92fr; overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: 28px; background: #fff; box-shadow: 0 30px 100px rgba(0,0,0,.38); }
.login-showcase { position: relative; display: flex; flex-direction: column; min-height: 650px; overflow: hidden; padding: 54px 58px 42px; color: #fff; background: linear-gradient(147deg, #101e3a 0%, #102b63 50%, #1c4a9a 100%); }
.login-showcase:after { position: absolute; right: -140px; bottom: -150px; width: 460px; height: 460px; border: 1px solid rgba(137,171,255,.24); border-radius: 50%; box-shadow: 0 0 0 34px rgba(137,171,255,.06), 0 0 0 86px rgba(137,171,255,.04); content: ""; }
.login-showcase-glow { position: absolute; width: 260px; height: 260px; border-radius: 50%; filter: blur(10px); opacity: .24; }
.glow-one { top: -120px; right: 80px; background: #5e8bff; }
.glow-two { bottom: 80px; left: -160px; background: #5a44d8; }
.login-showcase .brand-lockup, .showcase-copy, .showcase-metrics, .showcase-footer { position: relative; z-index: 1; }
.showcase-copy { margin-top: auto; }
.showcase-copy h1 { max-width: 500px; margin: 0 0 20px; font-size: clamp(34px, 4vw, 52px); line-height: 1.13; letter-spacing: -.08em; }
.showcase-copy h1 em { color: #91b0ff; font-style: normal; }
.showcase-copy > p:last-child { max-width: 405px; margin: 0; color: #b7c8ed; font-size: 14px; line-height: 1.9; }
.showcase-metrics { display: flex; gap: 0; margin-top: 62px; }
.showcase-metrics > div { min-width: 135px; padding-right: 20px; border-right: 1px solid rgba(255,255,255,.18); }
.showcase-metrics > div + div { padding-left: 20px; }
.showcase-metrics > div:last-child { border-right: 0; }
.showcase-metrics strong { display: block; margin-bottom: 7px; color: #89aaff; font-size: 20px; letter-spacing: .08em; }
.showcase-metrics span { color: #c5d1ea; font-size: 11px; }
.showcase-footer { margin-top: auto; color: #8da4d0; font-size: 9px; letter-spacing: .17em; }
.showcase-footer .pulse-dot { margin-right: 8px; vertical-align: 1px; }
.showcase-footer span:not(.pulse-dot) { margin: 0 7px; color: #718aba; }
.login-form-panel { display: flex; flex-direction: column; min-width: 0; padding: 54px 58px 38px; background: #fff; }
.form-panel-top { display: flex; align-items: center; justify-content: space-between; color: var(--ink-soft); font-size: 12px; }
.panel-kicker { font-weight: 700; }
.online-badge { display: inline-flex; align-items: center; gap: 8px; color: var(--green); font-size: 10px; font-weight: 800; letter-spacing: .04em; }
.online-badge i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-soft); }
.login-heading { margin: auto 0 34px; }
.login-heading .eyebrow { color: #5a70bb; }
.login-heading h2 { margin: 0 0 9px; font-size: 34px; letter-spacing: -.07em; }
.login-heading p:last-child { margin: 0; color: var(--muted); font-size: 13px; }
.form-stack { display: grid; gap: 10px; }
.form-stack label { margin-top: 9px; color: var(--ink-soft); font-size: 12px; font-weight: 700; }
.input-wrap { position: relative; }
.input-wrap input { padding-left: 42px !important; }
.input-icon { position: absolute; top: 50%; left: 15px; transform: translateY(-51%); color: #8ca1cc; font-size: 17px; }
.form-stack input, .toolbar input, .inline-form input, .inline-form select, .select-control { width: 100%; border: 1px solid var(--line-strong); border-radius: 11px; outline: none; background: #fbfcfe; color: var(--ink); transition: border-color .2s, box-shadow .2s, background .2s; }
.form-stack input, .toolbar input, .inline-form input { padding: 13px 14px; }
.form-stack input::placeholder, .toolbar input::placeholder, .inline-form input::placeholder { color: #aab4c3; }
.form-stack input:focus, .toolbar input:focus, .inline-form input:focus, .inline-form select:focus, .select-control:focus { border-color: #6a86e8; background: #fff; box-shadow: 0 0 0 4px #edf2ff; }
.primary-button, .ghost-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 10px; font-weight: 700; transition: transform .2s, background .2s, box-shadow .2s; }
.primary-button { min-height: 45px; padding: 12px 18px; background: var(--primary); color: #fff; box-shadow: 0 8px 16px rgba(49,85,217,.18); }
.primary-button:hover { transform: translateY(-1px); background: var(--primary-dark); box-shadow: 0 11px 20px rgba(49,85,217,.24); }
.primary-button.compact, .ghost-button { min-height: 38px; padding: 9px 14px; font-size: 12px; box-shadow: none; }
.login-button { width: 100%; margin-top: 13px; min-height: 52px; border-radius: 12px; font-size: 13px; }
.button-arrow { margin-left: auto; font-size: 19px; font-weight: 400; }
.ghost-button { background: #f1f4f8; color: var(--ink-soft); }
.ghost-button:hover { background: #e5ebf4; }
.form-error { margin-top: 5px; padding: 11px 12px; border: 1px solid #ffd9dc; border-radius: 9px; background: var(--danger-soft); color: var(--danger); font-size: 12px; line-height: 1.5; }
.spinner { display: inline-block; width: 15px; height: 15px; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.login-security { display: flex; align-items: flex-start; gap: 10px; margin-top: 24px; color: #68758a; font-size: 11px; line-height: 1.6; }
.login-security small { color: #a1abba; }
.security-icon { display: grid; width: 19px; height: 19px; place-items: center; border-radius: 50%; background: var(--green-soft); color: var(--green); font-weight: 900; }
.login-panel-footer { display: flex; justify-content: space-between; margin-top: auto; padding-top: 35px; color: #a4adbb; font-size: 10px; }

/* Application shell */
.app-page { min-height: 100vh; background: var(--bg); }
.app-layout { min-height: 100vh; display: flex; }
.sidebar { width: 255px; display: flex; flex-direction: column; flex: 0 0 255px; padding: 28px 16px 20px; color: #c4cee2; background: var(--navy); }
.sidebar-top { padding: 0 11px; }
.sidebar-lockup { color: #fff; }
.sidebar-lockup small { color: #6f7d9d; }
.workspace-chip { display: flex; align-items: center; gap: 9px; margin: 33px 0 32px; padding: 10px 11px; border: 1px solid rgba(255,255,255,.09); border-radius: 9px; background: rgba(255,255,255,.04); color: #a9b6d1; font-size: 11px; }
.workspace-chip small { margin-left: auto; color: #5dca9d; font-size: 8px; font-weight: 800; letter-spacing: .08em; }
.side-nav { display: grid; gap: 5px; }
.nav-caption { margin: 0 13px 9px; color: #61708e; font-size: 9px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.nav-caption-lower { margin-top: 29px; }
.nav-item { display: flex; align-items: center; gap: 12px; width: 100%; border: 0; border-radius: 9px; padding: 12px 13px; background: transparent; color: #8997b3; text-align: left; font-size: 12px; font-weight: 600; text-decoration: none; }
.nav-item:hover, .nav-item.active { background: linear-gradient(90deg, rgba(61,95,214,.34), rgba(61,95,214,.12)); color: #fff; }
.nav-item.active { box-shadow: inset 3px 0 #7090ff; }
.nav-icon { display: grid; width: 20px; place-items: center; color: #8499d0; font-size: 18px; line-height: 1; }
.nav-item.active .nav-icon { color: #a6bbff; }
.nav-count { margin-left: auto; color: #5f7198; font-size: 8px; letter-spacing: .1em; }
.sidebar-bottom { margin-top: auto; padding: 0 10px; }
.sidebar-help { display: flex; align-items: center; gap: 10px; padding: 14px 10px; border-top: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08); }
.help-icon { display: grid; width: 23px; height: 23px; place-items: center; border: 1px solid #526584; border-radius: 50%; color: #91a3c7; font-size: 12px; }
.sidebar-help strong, .sidebar-help small { display: block; }
.sidebar-help strong { color: #cbd5e8; font-size: 11px; }
.sidebar-help small { margin-top: 3px; color: #697894; font-size: 10px; }
.sidebar-version { margin-top: 16px; color: #53627e; font-size: 8px; letter-spacing: .12em; }
.sidebar-version span { float: right; color: #7889ad; }
.main-content { min-width: 0; flex: 1; padding: 27px 48px 46px; }
.topbar { display: flex; align-items: center; justify-content: space-between; min-height: 45px; margin-bottom: 47px; }
.breadcrumb { display: flex; align-items: center; gap: 10px; color: #98a2b3; font-size: 12px; }
.breadcrumb b { color: #c1c9d6; font-weight: 400; }
.breadcrumb strong { color: var(--ink); font-size: 13px; }
.topbar-actions { display: flex; align-items: center; gap: 24px; }
.topbar-status { display: flex; align-items: center; gap: 9px; color: #75839a; font-size: 10px; }
.user-menu { display: flex; align-items: center; gap: 10px; padding-left: 20px; border-left: 1px solid var(--line-strong); }
.avatar { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 50%; background: #e7edff; color: var(--primary); font-size: 12px; font-weight: 800; }
.user-meta strong, .user-meta small { display: block; }
.user-meta strong { color: var(--ink); font-size: 11px; }
.user-meta small { margin-top: 3px; color: #929daf; font-size: 9px; }
.icon-button { display: grid; width: 29px; height: 29px; place-items: center; border: 0; border-radius: 8px; background: transparent; color: #8995a8; font-size: 16px; }
.icon-button:hover { background: #eef2f7; color: var(--primary); }
.page-section { display: none; max-width: 1240px; margin: 0 auto; }
.active-section { display: block; }
.page-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 32px; }
.page-intro h1, .section-head h1 { margin: 0 0 11px; color: var(--ink); font-size: 31px; letter-spacing: -.065em; }
.page-intro p:last-child, .section-head > div > p:last-child { max-width: 660px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.intro-date { min-width: 190px; padding: 17px 18px; border: 1px solid var(--line); border-radius: 12px; background: #fff; text-align: right; box-shadow: var(--shadow-soft); }
.intro-date span, .intro-date small { display: block; color: #9aa6b8; font-size: 8px; letter-spacing: .12em; }
.intro-date strong { display: block; margin: 4px 0; color: var(--green); font-size: 17px; letter-spacing: .1em; }
.intro-date small { font-size: 10px; letter-spacing: 0; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; margin-bottom: 19px; }
.stat-card, .surface-card, .settings-card, .table-card, .inline-panel { border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow-soft); }
.stat-card { min-height: 145px; padding: 20px 21px 16px; }
.stat-top { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 11px; }
.stat-icon { display: grid; width: 26px; height: 26px; place-items: center; border-radius: 8px; background: #edf1ff; color: var(--primary); font-size: 14px; }
.stat-icon.blue { background: #edf6ff; color: #3985cf; }
.stat-icon.green { background: var(--green-soft); color: var(--green); }
.stat-card strong { display: block; margin: 12px 0 3px; color: var(--ink); font-size: 28px; letter-spacing: -.05em; }
.stat-card small { color: #9aa5b5; font-size: 10px; }
.stat-line { height: 3px; margin-top: 15px; overflow: hidden; border-radius: 99px; background: #edf0fb; }
.stat-line i { display: block; width: 68%; height: 100%; border-radius: inherit; background: var(--primary); }
.blue-line { background: #edf6ff; }.blue-line i { width: 54%; background: #5da1dd; }.green-line { background: #eaf8f2; }.green-line i { width: 82%; background: #62c6a2; }
.workspace-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, .9fr); gap: 19px; }
.surface-card { padding: 23px 24px; }
.card-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; }
.card-heading h2 { margin: 0; font-size: 18px; letter-spacing: -.04em; }
.card-heading .eyebrow { margin-bottom: 8px; }
.card-label, .signal-live { padding: 6px 8px; border-radius: 6px; background: #f2f5fb; color: #8b99ad; font-size: 8px; font-weight: 800; letter-spacing: .1em; }
.flow-track { display: flex; align-items: center; gap: 11px; margin-top: 35px; }
.flow-step { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1; }
.flow-number { display: grid; width: 29px; height: 29px; flex: 0 0 29px; place-items: center; border-radius: 8px; background: var(--blue-soft); color: var(--primary); font-size: 9px; font-weight: 800; }
.flow-step strong, .flow-step small { display: block; white-space: nowrap; }.flow-step strong { overflow: hidden; color: var(--ink-soft); font-size: 11px; text-overflow: ellipsis; }.flow-step small { margin-top: 5px; color: #9da8b8; font-size: 9px; }.flow-arrow { color: #b2bfd2; font-size: 16px; }
.signal-live { background: var(--green-soft); color: var(--green); }.signal-card { padding-bottom: 13px; }.signal-row { display: flex; align-items: center; gap: 10px; padding: 14px 0; border-bottom: 1px solid #f0f2f6; }.signal-row:last-child { border-bottom: 0; }.signal-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-soft); }.signal-dot.blue { background: #5599dc; box-shadow: 0 0 0 4px #edf6ff; }.signal-dot.green { background: #48b98b; box-shadow: 0 0 0 4px #eaf8f2; }.signal-row div { min-width: 0; flex: 1; }.signal-row strong, .signal-row small { display: block; }.signal-row strong { color: var(--ink-soft); font-size: 11px; }.signal-row small { margin-top: 4px; overflow: hidden; color: #9ba6b7; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }.signal-row b { color: var(--green); font-size: 10px; font-weight: 700; }
.quick-strip { display: flex; align-items: center; gap: 14px; margin-top: 19px; padding: 16px 19px; border: 1px solid #dfe7fb; border-radius: 13px; background: linear-gradient(90deg, #f0f4ff, #f9fbff); }.quick-icon { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 10px; background: #e0e8ff; color: var(--primary); font-size: 16px; }.quick-strip strong, .quick-strip span { display: block; }.quick-strip strong { color: var(--ink-soft); font-size: 12px; }.quick-strip span { margin-top: 4px; color: #8996aa; font-size: 10px; }.quick-note { margin-left: auto; color: #8195c8 !important; font-size: 9px !important; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }.section-head h1 { margin-bottom: 9px; }.section-head .eyebrow { margin-bottom: 10px; }.button-row { display: flex; gap: 9px; }.button-row .primary-button span, .section-head .primary-button span { font-size: 17px; font-weight: 400; line-height: 0; }
.inline-panel { margin-bottom: 20px; padding: 20px 22px; }.inline-panel-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }.inline-panel-title strong, .inline-panel-title small { display: block; }.inline-panel-title strong { font-size: 14px; }.inline-panel-title small { margin-top: 4px; color: var(--muted); font-size: 10px; }.close-button { border: 0; background: transparent; color: #9ba7b8; font-size: 22px; }.inline-form { display: flex; align-items: flex-end; gap: 12px; }.inline-form > div { flex: 1; }.inline-form label { display: grid; gap: 7px; color: var(--ink-soft); font-size: 10px; font-weight: 700; }.inline-form select { height: 43px; padding: 0 12px; }.inline-form .primary-button { flex: 0 0 auto; }
.table-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 28px 2px 13px; }.toolbar-title strong, .toolbar-title span { display: block; }.toolbar-title strong { color: var(--ink); font-size: 13px; }.toolbar-title span { margin-top: 4px; color: #9ba6b6; font-size: 10px; }.toolbar-meta { color: #9ba6b6; font-size: 10px; }.table-card { overflow: auto; }.table-card table { width: 100%; border-collapse: collapse; font-size: 12px; }.table-card th, .table-card td { padding: 15px 18px; border-bottom: 1px solid #eef1f5; text-align: left; white-space: nowrap; }.table-card th { color: #93a0b3; background: #fbfcfe; font-size: 9px; font-weight: 800; letter-spacing: .08em; }.table-card td { color: var(--ink-soft); }.table-card tr:last-child td { border-bottom: 0; }.table-card td strong { color: var(--ink); }.table-card tbody tr:hover { background: #fbfcff; }.table-card .ghost-button { min-height: 31px; padding: 6px 10px; font-size: 10px; }.badge { display: inline-flex; align-items: center; gap: 5px; padding: 5px 8px; border-radius: 99px; font-size: 10px; font-weight: 700; }.badge:before { width: 5px; height: 5px; border-radius: 50%; background: currentColor; content: ""; }.badge.success { background: var(--green-soft); color: var(--green); }.badge.off { background: #f0f2f6; color: #8792a3; }.badge.admin { background: #edf1ff; color: var(--primary); }
.fta-callout { display: flex; align-items: center; gap: 14px; padding: 15px 17px; border: 1px solid #f4e5c4; border-radius: 12px; background: #fffaf0; }.fta-callout-icon { display: grid; width: 33px; height: 33px; place-items: center; border-radius: 9px; background: #fff0ca; color: var(--amber); font-size: 17px; }.fta-callout strong, .fta-callout span { display: block; }.fta-callout strong { color: #7f5b22; font-size: 11px; }.fta-callout span:not(.fta-callout-badge) { margin-top: 4px; color: #a68b5e; font-size: 10px; line-height: 1.5; }.fta-callout-badge { margin-left: auto; padding: 6px 8px; border-radius: 6px; background: #fff1cb; color: var(--amber); font-size: 8px; font-weight: 800; white-space: nowrap; }.toolbar-actions { display: flex; gap: 9px; }.search-box { display: flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 9px; background: #fff; }.search-box > span { padding-left: 10px; color: #9ba8ba; font-size: 17px; }.search-box input { width: 220px; border: 0; outline: 0; padding: 10px 8px; color: var(--ink); font-size: 11px; }.search-box button { border: 0; border-left: 1px solid var(--line); padding: 10px 12px; background: #f7f9fc; color: var(--primary); font-size: 10px; font-weight: 700; }.select-control { width: auto; min-width: 100px; padding: 0 10px; color: var(--ink-soft); font-size: 10px; }
.notice { margin: 12px 0; padding: 11px 13px; border: 1px solid #dbe5ff; border-radius: 9px; background: #f2f5ff; color: #3b55a8; font-size: 11px; line-height: 1.6; }.notice.error { border-color: #ffd9dc; background: var(--danger-soft); color: var(--danger); }.notice.success { border-color: #c9eedf; background: var(--green-soft); color: var(--green); }
.settings-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 19px; max-width: 930px; }.settings-card { padding: 26px; }.settings-card-heading { display: flex; gap: 13px; align-items: flex-start; margin-bottom: 25px; }.settings-icon { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 11px; background: var(--blue-soft); color: var(--primary); }.settings-card h2 { margin: 0 0 6px; font-size: 18px; }.settings-card-heading p { margin: 0; color: var(--muted); font-size: 11px; }.narrow { max-width: 420px; }.narrow input { padding: 12px 13px; }.security-side { padding: 25px; border: 1px solid #dfe8f9; border-radius: 14px; background: linear-gradient(155deg, #f1f5ff, #fbfcff); }.security-side-icon { display: grid; width: 33px; height: 33px; place-items: center; margin-bottom: 19px; border-radius: 10px; background: #dfe8ff; color: var(--primary); font-weight: 900; }.security-side strong { display: block; font-size: 14px; }.security-side p { margin: 10px 0 22px; color: #7584a0; font-size: 11px; line-height: 1.7; }.security-rule { display: flex; align-items: center; gap: 8px; margin-top: 10px; color: #6f7f9c; font-size: 10px; }.security-rule span { width: 5px; height: 5px; border-radius: 50%; background: var(--green); }
.toast { position: fixed; right: 28px; bottom: 26px; z-index: 20; max-width: 350px; padding: 13px 16px; border: 1px solid #dce5fb; border-radius: 10px; background: #fff; color: var(--ink-soft); box-shadow: var(--shadow); font-size: 12px; }.toast.error { border-color: #ffd9dc; color: var(--danger); }.toast.success { border-color: #c9eedf; color: var(--green); }

.release-list { display: grid; gap: 14px; max-width: 920px; }
.release-card { padding: 21px 24px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow-soft); }
.release-card.release-current { border-color: #cbd8ff; background: linear-gradient(135deg, #f5f7ff, #fff); }
.release-meta { display: flex; align-items: center; gap: 12px; color: #98a4b6; font-size: 10px; }
.release-version { color: var(--primary); font-weight: 800; letter-spacing: .08em; }
.release-meta b { margin-left: auto; padding: 5px 8px; border-radius: 6px; background: var(--green-soft); color: var(--green); font-size: 9px; }
.release-card h2 { margin: 13px 0 7px; color: var(--ink); font-size: 17px; }
.release-card p, .release-card li { color: var(--muted); font-size: 11px; line-height: 1.8; }
.release-card p { margin: 0; }.release-card ul { margin: 10px 0 0; padding-left: 19px; }.release-card code { padding: 2px 5px; border-radius: 4px; background: #edf1ff; color: #405bc0; font-size: 10px; }
.manual-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .8fr); gap: 19px; max-width: 1050px; }
.manual-card { padding: 24px; }.manual-steps { display: grid; gap: 0; margin: 24px 0 0; padding: 0; list-style: none; }.manual-steps li { display: flex; gap: 15px; padding: 17px 0; border-top: 1px solid #eef1f5; }.manual-steps li:first-child { border-top: 0; padding-top: 0; }.manual-steps > li > span { display: grid; width: 30px; height: 30px; flex: 0 0 30px; place-items: center; border-radius: 8px; background: var(--blue-soft); color: var(--primary); font-size: 9px; font-weight: 800; }.manual-steps strong { display: block; color: var(--ink-soft); font-size: 12px; }.manual-steps p { margin: 5px 0 0; color: var(--muted); font-size: 10px; line-height: 1.7; }.manual-side { display: grid; align-content: start; gap: 19px; }.source-card, .faq-card { padding: 22px; }.source-card h2, .faq-card h2 { margin: 0 0 18px; font-size: 17px; }.source-card dl { margin: 0; }.source-card dl > div { padding: 11px 0; border-top: 1px solid #eef1f5; }.source-card dl > div:first-child { border-top: 0; padding-top: 0; }.source-card dt { color: var(--ink-soft); font-size: 11px; font-weight: 700; }.source-card dd { margin: 5px 0 0; color: var(--muted); font-size: 10px; line-height: 1.6; }.faq-card details { padding: 11px 0; border-top: 1px solid #eef1f5; }.faq-card summary { cursor: pointer; color: var(--ink-soft); font-size: 11px; font-weight: 700; }.faq-card details p { margin: 8px 0 0; color: var(--muted); font-size: 10px; line-height: 1.7; }

 .fta-filters { flex-wrap: wrap; justify-content: flex-end; }
 .filter-control { width: 130px; min-height: 38px; padding: 0 10px; border: 1px solid var(--line-strong); border-radius: 9px; outline: 0; background: #fff; color: var(--ink); font-size: 11px; }
 .filter-control:focus { border-color: #6a86e8; box-shadow: 0 0 0 4px #edf2ff; }
 .danger-button { display: inline-flex; align-items: center; justify-content: center; border: 1px solid #ffd1d5; border-radius: 10px; background: #fff4f4; color: #c8424b; font-weight: 700; }
 .danger-button.compact { min-height: 38px; padding: 9px 14px; font-size: 12px; }
 .danger-button:hover { background: #ffe7e8; }
 .badge.warning { background: #fff0dc; color: #b66a00; }
 .conflict-row { background: #fffdf8; }
 .pagination-bar { display: flex; align-items: center; justify-content: center; gap: 16px; padding: 16px 0 4px; color: var(--muted); font-size: 11px; }
 .pagination-bar button:disabled { cursor: not-allowed; opacity: .45; }

@media (max-width: 980px) { .login-shell { grid-template-columns: 1fr; max-width: 600px; }.login-showcase { min-height: 330px; padding: 35px 42px; }.showcase-copy { margin-top: 50px; }.showcase-copy h1 { font-size: 38px; }.showcase-metrics { margin-top: 33px; }.login-form-panel { min-height: 500px; padding: 40px 42px; }.workspace-grid, .manual-layout { grid-template-columns: 1fr; }.main-content { padding: 27px 30px 42px; } }
@media (max-width: 760px) { .login-page { padding: 0; }.login-shell { min-height: 100vh; border: 0; border-radius: 0; }.login-showcase { display: none; }.login-form-panel { min-height: 100vh; padding: 32px 25px 25px; }.login-heading { margin: 80px 0 28px; }.app-layout { display: block; }.sidebar { width: 100%; min-height: auto; padding: 17px 15px 15px; }.sidebar-top { padding: 0 6px; }.workspace-chip { margin: 17px 0 18px; }.side-nav { display: flex; overflow: auto; margin: 0 -3px; }.nav-caption, .nav-count, .sidebar-bottom { display: none; }.nav-item { width: auto; flex: 0 0 auto; white-space: nowrap; padding: 10px 12px; }.nav-icon { width: auto; font-size: 16px; }.main-content { padding: 22px 16px 34px; }.topbar { display: block; margin-bottom: 33px; }.topbar-actions { justify-content: space-between; margin-top: 16px; }.user-menu { padding-left: 0; border-left: 0; }.page-intro { display: block; }.page-intro h1, .section-head h1 { font-size: 27px; }.intro-date { display: none; }.stats-grid { grid-template-columns: 1fr; }.flow-track { display: grid; gap: 13px; }.flow-arrow { display: none; }.flow-step { width: 100%; }.quick-strip { align-items: flex-start; }.quick-note { display: none; }.section-head { align-items: flex-start; flex-direction: column; margin-bottom: 20px; }.section-head .primary-button, .button-row { width: 100%; }.button-row .primary-button { flex: 1; }.inline-form { display: grid; }.inline-form .primary-button { width: 100%; }.table-toolbar { align-items: flex-start; flex-direction: column; }.toolbar-actions { width: 100%; flex-wrap: wrap; }.search-box { flex: 1; min-width: 210px; }.search-box input { width: 100%; }.fta-callout { align-items: flex-start; }.fta-callout-badge { display: none; }.settings-layout { grid-template-columns: 1fr; }.toast { right: 16px; bottom: 16px; left: 16px; max-width: none; } }
