.tools-dr.grid-management-drawer { width: min(1460px, 76vw); max-width: 96vw; right: -1500px; }
.tools-dr.grid-management-drawer.on { right: 0; }
.tools-dr.grid-management-drawer .tools-dr-bd { min-height: 0; padding: 0; overflow: hidden; }
.grid-crypto-management-body, #gridCryptoManagementMount, .grid-management-shell { height: 100%; min-height: 0; }
.grid-crypto-management-body {
  color: #dce6ef;
  background: #0d1523;
  font-family: "Microsoft YaHei", Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
  -webkit-font-smoothing: auto;
  -moz-osx-font-smoothing: auto;
  text-rendering: auto;
}
.grid-crypto-management-body button,
.grid-crypto-management-body input,
.grid-crypto-management-body select { font-family: inherit; letter-spacing: 0; }
.grid-management-workspace { display: grid; grid-template-columns: 188px minmax(0, 1fr); height: 100%; min-height: 0; }
.grid-management-side { display: flex; min-height: 0; flex-direction: column; border-right: 1px solid #26384d; background: #101a28; }
.grid-management-brand { display: flex; align-items: center; gap: 10px; min-height: 70px; padding: 0 18px; border-bottom: 1px solid #26384d; color: #eef4f8; }
.grid-management-brand span { display: grid; width: 30px; height: 30px; place-items: center; border: 1px solid #48cbb7; border-radius: 4px; color: #8bf1de; background: #123b3b; font-size: 10px; font-weight: 800; letter-spacing: 1px; }
.grid-management-brand strong { display: block; font-size: 14px; }
.grid-management-brand small { display: block; margin-top: 3px; color: #7891a3; font-size: 10px; }
.grid-management-main { min-width: 0; min-height: 0; overflow: auto; background: #0d1523; }
.grid-management-head {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 18px 18px 15px; border-bottom: 1px solid #26384d; background: #151f2d;
}
.grid-management-eyebrow, .grid-section-kicker { display: block; color: #76cfc5; font-family: Arial, "Microsoft YaHei", sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 1px; }
.grid-management-title h1 { margin: 3px 0 0; padding: 0; color: #f4f8ff; background: transparent; font-size: 24px; font-weight: 700; letter-spacing: 0; line-height: 1.35; text-shadow: none; }
.grid-management-title p { margin: 5px 0 0; color: #a5b5c3; font-size: 13px; }
.grid-management-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.grid-product-scope { display: flex; min-height: 44px; margin-right: 6px; padding: 0 10px 0 12px; align-items: center; gap: 12px; border: 1px solid #30485f; border-left: 3px solid #2db9a3; border-radius: 5px; color: #8fa5b8; background: #101a28; cursor: pointer; }
.grid-product-scope-copy { display: grid; gap: 0; }
.grid-product-scope small { color: #8298aa; font-size: 10px; font-weight: 600; line-height: 1.2; }
.grid-product-scope select { width: 190px; height: 24px; padding: 0 22px 0 0; border: 0; color: #f2f7fb; background-color: transparent; font-size: 13px; font-weight: 600; outline: 0; cursor: pointer; }
.grid-product-scope b { padding-left: 10px; border-left: 1px solid #30485f; color: #68cfc0; font-family: Consolas, monospace; font-size: 11px; font-weight: 600; }
.grid-product-scope:focus-within { border-color: #2eaa97; border-left-color: #58d6c2; box-shadow: 0 0 0 2px rgba(46,170,151,.12); }
.grid-management-button { min-height: 36px; padding: 0 13px; border: 1px solid #36516d; border-radius: 5px; color: #e7eff5; background: #1a2a3d; font-size: 14px; font-weight: 600; cursor: pointer; }
.grid-management-button:hover { border-color: #4e789d; background: #21364d; }
.grid-management-button.primary { border-color: #158f80; color: #eafffb; background: #087568; }
.grid-management-button:disabled { opacity: .5; cursor: not-allowed; }
.grid-adapter-state { display: inline-flex; align-items: center; gap: 7px; min-height: 32px; padding: 0 10px; border: 1px solid #6d5622; border-radius: 4px; color: #f4c96b; background: #2b2417; font-size: 12px; }
.grid-adapter-state.ready { border-color: #226c5e; color: #79dbc8; background: #102d29; }
.grid-adapter-state i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.grid-management-metrics { display: grid; grid-template-columns: repeat(4, minmax(150px, 1fr)); border-bottom: 1px solid #26384d; background: #101a28; }
.grid-metric { min-width: 0; padding: 14px 18px; border: 0; border-right: 1px solid #26384d; color: inherit; background: transparent; text-align: left; cursor: pointer; }
.grid-metric:last-child { border-right: 0; }
.grid-metric:hover { background: #172436; }
.grid-metric span { display: block; color: #c4d0df; font-size: 13px; font-weight: 600; }
.grid-metric strong { display: block; margin-top: 5px; color: #fff; font-family: Arial, "Microsoft YaHei", sans-serif; font-size: 26px; font-weight: 700; }
.grid-metric small { display: block; margin-top: 4px; color: #7892a6; font-size: 12px; }
.grid-metric.warn strong { color: #f0bd5c; }
.grid-metric.danger strong { color: #ef7d87; }
.grid-management-metrics .grid-metric.danger { color: inherit; background: transparent; }
.grid-management-metrics .grid-metric.danger:hover { background: #172436; }
.grid-metric.good strong { color: #54cfb7; }
.grid-management-nav { display: flex; gap: 3px; padding: 12px 10px; flex-direction: column; overflow: auto; }
.grid-nav-label { padding: 5px 12px 4px; color: #63798c; font-size: 10px; font-weight: 700; }
.grid-nav-label.secondary { margin-top: 12px; padding-top: 12px; border-top: 1px solid #223448; }
.grid-management-tab { position: relative; display: flex; align-items: center; gap: 9px; flex: 0 0 auto; min-height: 40px; padding: 0 14px; border: 0; border-radius: 4px; color: #b4c0d0; background: transparent; font-size: 13px; font-weight: 600; text-align: left; cursor: pointer; }
.grid-management-tab span { color: #71899b; font-family: Consolas, monospace; font-size: 11px; }
.grid-management-tab.active { color: #6de0ca; }
.grid-management-tab:hover { color: #c8d7e3; background: #17263a; }
.grid-management-tab.active { color: #e8fffb; background: #153c46; }
.grid-management-tab.active::before { content: ''; position: absolute; top: 9px; bottom: 9px; left: 0; width: 3px; border-radius: 2px; background: #29bda5; }
.grid-management-side-foot { margin-top: auto; padding: 14px 12px; border-top: 1px solid #26384d; }
.grid-management-side-foot .grid-adapter-state { box-sizing: border-box; width: 100%; justify-content: center; }
.grid-management-toolbar { display: flex; align-items: center; gap: 8px; padding: 12px 28px; border-bottom: 1px solid #223247; background: #101a28; flex-wrap: wrap; }
.grid-management-input, .grid-management-select { box-sizing: border-box; height: 36px; min-width: 180px; padding: 0 10px; border: 1px solid #3d5872; border-radius: 4px; outline: 0; color: #edf3f7; background: #0d1724; font-size: 14px; }
.grid-management-input:focus, .grid-management-select:focus { border-color: #2eaa97; }
.grid-management-input.search { width: min(360px, 100%); }
.grid-management-content { padding: 18px 28px 32px; }
.grid-at-workflow { display: flex; min-height: 54px; padding: 0 18px; align-items: center; gap: 12px; border-bottom: 1px solid #26384d; background: #0f1927; }
.grid-at-workflow > span { display: inline-flex; min-height: 30px; padding: 0 10px; align-items: center; gap: 7px; border: 1px solid #34495c; border-radius: 3px; color: #8196a7; background: #101c2a; font-size: 12px; }
.grid-at-workflow > span b { color: #60798d; font: 10px Consolas, monospace; }
.grid-at-workflow > span.active { border-color: #258f80; color: #e3faf5; background: #153b42; }
.grid-at-workflow > span.active b, .grid-at-workflow > span.done b { color: #5ed3bc; }
.grid-at-workflow > span.done { border-color: #29685f; color: #7fd9c7; }
.grid-at-workflow > span.locked { opacity: .58; }
.grid-at-workflow > i { color: #536a7d; font-size: 18px; font-style: normal; }
.grid-at-preflight { padding: 15px 18px; border-bottom: 1px solid #26384d; background: #101a28; }
.grid-at-debug-sn { display: grid; grid-template-columns: minmax(320px, 520px) max-content; gap: 10px; align-items: end; justify-content: start; }
.grid-at-debug-sn label, .grid-at-debug-controls label { display: grid; gap: 6px; color: #9fb0bf; font-size: 12px; }
.grid-at-debug-sn .grid-management-input { width: 100%; }
.grid-at-statuses { display: flex; gap: 7px; margin-top: 12px; flex-wrap: wrap; }
.grid-at-status { display: inline-flex; min-height: 25px; padding: 0 8px; align-items: center; gap: 6px; border: 1px solid #34485c; border-radius: 3px; color: #8499aa; background: #0d1724; font-size: 11px; }
.grid-at-status i { width: 6px; height: 6px; border-radius: 50%; background: #657b8d; }
.grid-at-status.ok { border-color: #226c5e; color: #74d8c4; }
.grid-at-status.ok i { background: #35c5a9; }
.grid-at-status.bad { border-color: #70414b; color: #ee8b95; }
.grid-at-status.bad i { background: #dc6672; }
.grid-at-preflight p { margin: 9px 0 0; color: #8198aa; font-size: 12px; }
.grid-at-command-browser { border-bottom: 1px solid #26384d; background: #0d1724; }
.grid-at-command-title { display: flex; min-height: 52px; padding: 0 18px; align-items: center; justify-content: space-between; gap: 16px; }
.grid-at-command-title div { display: grid; gap: 2px; }
.grid-at-command-title strong { color: #e5edf4; font-size: 14px; }
.grid-at-command-title span { color: #758a9b; font-size: 11px; }
.grid-at-command-title em { color: #b79757; font-size: 10px; font-style: normal; }
.grid-at-command-title-actions { display: flex !important; align-items: center; justify-content: flex-end; gap: 12px; }
.grid-at-catalog-toggle { display: inline-flex; min-width: 92px; min-height: 30px; padding: 0 10px; align-items: center; justify-content: center; gap: 7px; border: 1px solid #36566c; border-radius: 4px; color: #b9ccd9; background: #142334; font-size: 11px; cursor: pointer; white-space: nowrap; }
.grid-at-catalog-toggle:hover { border-color: #3a8c7e; color: #82dfce; background: #163039; }
.grid-at-catalog-toggle:focus-visible { outline: 2px solid #2eaa97; outline-offset: 2px; }
.grid-at-catalog-toggle span { color: inherit; font-size: 9px; }
.grid-at-catalog-warning { margin: 0 18px 12px; padding: 8px 10px; border-left: 3px solid #bd8b35; color: #e1bc72; background: #292317; font-size: 11px; }
.grid-at-category-tabs { display: flex; padding: 0 18px; gap: 4px; border-bottom: 1px solid #26384d; overflow-x: auto; }
.grid-at-category-tab { display: inline-flex; min-height: 36px; padding: 0 12px; align-items: center; gap: 7px; border: 0; border-bottom: 2px solid transparent; color: #8da0b1; background: transparent; font-size: 12px; cursor: pointer; white-space: nowrap; }
.grid-at-category-tab:hover { color: #d5e1e9; background: #132132; }
.grid-at-category-tab.active { border-bottom-color: #37bca7; color: #7be1ce; background: #132832; }
.grid-at-category-tab span { display: grid; min-width: 19px; height: 18px; padding: 0 4px; place-items: center; border-radius: 9px; color: #8ea2b3; background: #223346; font: 10px Consolas, monospace; }
.grid-at-command-grid { display: grid; grid-template-columns: repeat(3, minmax(210px, 1fr)); gap: 8px; padding: 14px 18px 18px; }
.grid-at-command { position: relative; display: grid; min-height: 78px; padding: 11px 12px; align-content: space-between; gap: 8px; border: 1px solid #2b4054; border-radius: 4px; color: #c6d3de; background: #111d2b; text-align: left; cursor: pointer; }
.grid-at-command:hover { border-color: #397b6d; background: #152634; }
.grid-at-command.selected { border-color: #32af99; box-shadow: inset 3px 0 #32af99; background: #153039; }
.grid-at-command.diagnostic { border-color: #315873; }
.grid-at-command.diagnostic.selected { border-color: #4b9cc5; box-shadow: inset 3px 0 #4b9cc5; background: #162d3b; }
.grid-at-command.control { border-color: #5e4e30; }
.grid-at-command.control.selected { border-color: #b78b3e; box-shadow: inset 3px 0 #b78b3e; background: #2a281f; }
.grid-at-command-copy { display: grid; min-width: 0; gap: 4px; }
.grid-at-command code { overflow: hidden; color: #83dfce; font: 12px Consolas, monospace; text-overflow: ellipsis; white-space: nowrap; }
.grid-at-command strong { color: #d8e2ea; font-size: 12px; font-weight: 600; }
.grid-at-command small { color: #708799; font-size: 10px; }
.grid-at-command > b { position: absolute; right: 9px; bottom: 9px; color: #6e9b92; font-size: 9px; font-weight: 500; }
.grid-at-command.diagnostic > b { color: #69add0; }
.grid-at-command.control > b { color: #c39a50; }
.grid-at-console { min-width: 0; }
.grid-at-console-head { display: flex; min-height: 50px; padding: 0 18px; align-items: center; justify-content: space-between; border-bottom: 1px solid #26384d; background: #101a28; }
.grid-at-console-head > div { display: grid; gap: 2px; }
.grid-at-console-head strong { color: #e3ebf2; font-size: 14px; }
.grid-at-console-head span { color: #7c92a4; font-size: 11px; }
.grid-at-console-state { display: inline-flex; align-items: center; gap: 6px; color: #8295a5; font: 10px Consolas, monospace; }
.grid-at-console-state i { width: 7px; height: 7px; border-radius: 50%; background: #667b8c; }
.grid-at-console-state.ready { color: #66d5bf; }
.grid-at-console-state.ready i { background: #39c7aa; }
.grid-at-debug-controls { display: grid; grid-template-columns: minmax(280px,1fr) auto; gap: 12px; align-items: end; padding: 18px; border-bottom: 1px solid #26384d; }
.grid-at-debug-controls label { display: grid; gap: 6px; color: #9fb0bf; font-size: 12px; }
.grid-at-debug-controls .grid-management-input, .grid-at-debug-controls .grid-management-select { width: 100%; min-width: 0; }
#gridAtDebugFeedback { min-height: 24px; padding: 8px 18px 0; color: #80cfc3; font-size: 12px; }
.grid-at-history-head { display: flex; padding: 8px 18px 0; align-items: center; justify-content: space-between; color: #d6e0e8; font-size: 12px; }
.grid-at-history-head span { color: #758b9e; font-size: 10px; }
.grid-at-debug-history { display: grid; gap: 8px; padding: 14px 18px 18px; }
.grid-at-debug-entry { border: 1px solid #294158; border-left: 3px solid #2eaa97; border-radius: 4px; background: #0b1522; }
.grid-at-debug-entry.failed { border-left-color: #dc6672; }
.grid-at-debug-entry header { display: grid; grid-template-columns: 88px minmax(220px,1fr) 56px 80px; gap: 10px; align-items: center; padding: 9px 12px; border-bottom: 1px solid #223448; color: #91a5b6; font-size: 12px; }
.grid-at-debug-entry header code { color: #e7f2f8; font-size: 13px; }
.grid-at-debug-entry header b { color: #5ed3bc; }
.grid-at-debug-entry.failed header b { color: #ef7d87; }
.grid-at-debug-entry > pre, .grid-at-debug-entry details { margin: 0; padding: 11px 12px; overflow-wrap: anywhere; white-space: pre-wrap; color: #cbd7e1; font: 12px/1.6 Consolas, monospace; }
.grid-at-debug-meta { padding: 0 12px 9px; color: #71889a; font-size: 10px; }
.grid-at-debug-entry details { border-top: 1px solid #223448; }
.grid-at-debug-entry details summary { cursor: pointer; color: #7da6c4; }
.grid-at-debug-entry details small { display: block; margin-top: 8px; color: #6ed5c2; }
@media (max-width: 1100px) { .grid-at-command-grid { grid-template-columns: repeat(2, minmax(210px, 1fr)); } }
@media (max-width: 720px) { .grid-at-workflow { padding: 10px 12px; align-items: stretch; gap: 5px; } .grid-at-workflow > span { padding: 0 6px; font-size: 10px; } .grid-at-workflow > i { align-self: center; } .grid-at-debug-sn, .grid-at-debug-controls, .grid-at-command-grid { grid-template-columns: 1fr; } .grid-at-command-title { align-items: flex-start; padding: 12px 14px; flex-direction: column; gap: 8px; } .grid-at-command-title-actions { width: 100%; align-items: flex-start; flex-direction: column; } .grid-at-catalog-toggle { width: 100%; } .grid-at-category-tabs, .grid-at-command-grid { padding-left: 14px; padding-right: 14px; } .grid-at-debug-entry header { grid-template-columns: 1fr auto; } }
.grid-management-overview { display: block; }
.grid-overview-empty { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); min-height: 330px; border: 1px solid #2a4055; background: #101b29; }
.grid-overview-empty-copy { display: flex; max-width: 650px; padding: 44px 42px; justify-content: center; flex-direction: column; }
.grid-overview-empty-copy h2 { margin: 18px 0 8px; color: #edf4f8; font-size: 22px; letter-spacing: 0; }
.grid-overview-empty-copy p { max-width: 620px; margin: 0; color: #9dafbd; font-size: 13px; line-height: 1.8; }
.grid-overview-status { display: inline-flex; width: max-content; min-height: 27px; padding: 0 9px; align-items: center; gap: 7px; border: 1px solid #6d5622; border-radius: 3px; color: #e4bd69; background: #282216; font-size: 11px; }
.grid-overview-status.ready { border-color: #24695e; color: #75d5c2; background: #102b29; }
.grid-overview-status i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.grid-overview-empty-actions { display: flex; gap: 8px; margin-top: 22px; }
.grid-overview-boundary { display: grid; margin: 0; padding: 34px 30px; align-content: center; gap: 0; border-left: 1px solid #2a4055; background: #0e1825; }
.grid-overview-boundary div { padding: 15px 0; border-bottom: 1px solid #24374a; }
.grid-overview-boundary div:last-child { border-bottom: 0; }
.grid-overview-boundary dt { margin-bottom: 4px; color: #6f8799; font-size: 11px; }
.grid-overview-boundary dd { margin: 0; color: #d5e0e8; font-size: 13px; }
.grid-overview-health { display: grid; grid-template-columns: minmax(300px, 1fr) minmax(210px, .55fr); min-height: 112px; margin-bottom: 14px; padding: 0 18px; align-items: center; gap: 18px; border: 1px solid #2b4557; border-left: 3px solid #2fb8a3; background: #10202a; }
.grid-overview-health-main { min-width: 0; }
.grid-overview-health-main > span, .grid-overview-channel > span { display: block; color: #8da2b1; font-size: 11px; }
.grid-overview-health-main > strong { display: inline-block; margin: 3px 0 8px; color: #eaf4f3; font-size: 24px; line-height: 1; }
.grid-overview-health-main > small, .grid-overview-channel > small { display: block; margin-top: 6px; color: #8fa3b1; font-size: 11px; }
.grid-overview-channel { padding: 8px 18px; border-left: 1px solid #324b5d; }
.grid-overview-channel strong { display: block; margin-top: 3px; color: #e1b761; font-size: 15px; }
.grid-overview-channel.ready strong { color: #62d2bd; }
.grid-overview-primary { display: grid; grid-template-columns: minmax(330px, .85fr) minmax(460px, 1.15fr); gap: 14px; margin-bottom: 14px; align-items: start; }
.grid-overview-primary > section { min-width: 0; margin: 0; }
.grid-task-list { display: grid; }
.grid-task-row { display: grid; grid-template-columns: minmax(0, 1fr) 44px 12px; min-height: 62px; padding: 9px 13px; align-items: center; gap: 10px; border: 0; border-bottom: 1px solid #243649; border-left: 3px solid #4c91ba; color: #d9e4eb; background: transparent; text-align: left; cursor: pointer; }
.grid-task-row:last-child { border-bottom: 0; }
.grid-task-row:hover { background: #172638; }
.grid-task-row.is-warn { border-left-color: #c99b46; }
.grid-task-row.is-danger { border-left-color: #d45f70; }
.grid-task-row span, .grid-task-row b, .grid-task-row small { display: block; }
.grid-task-row b { font-size: 13px; }
.grid-task-row small { margin-top: 3px; color: #8399a9; font-size: 11px; }
.grid-task-row strong { color: #f0f5f8; font-size: 19px; text-align: right; }
.grid-task-row > i { color: #637f92; font-size: 18px; font-style: normal; }
.grid-task-clear { display: flex; min-height: 126px; padding: 22px; align-items: center; justify-content: center; gap: 12px; color: #bed0d8; }
.grid-task-clear > i { width: 9px; height: 9px; border-radius: 50%; background: #45c6ad; }
.grid-task-clear b, .grid-task-clear small { display: block; }
.grid-task-clear small { margin-top: 4px; color: #8097a7; font-size: 11px; }
.grid-command { display: grid; grid-template-columns: 74px minmax(240px, 1fr) 230px auto; gap: 18px; align-items: center; margin-bottom: 16px; padding: 18px 20px; border: 1px solid #285160; border-radius: 6px; background: #11232d; }
.grid-command-seal { display: grid; width: 60px; height: 60px; place-content: center; border: 1px solid #3eaa9f; border-radius: 50%; color: #83e8d6; background: #133d42; transform: rotate(-8deg); }
.grid-command-seal span { font-size: 16px; font-weight: 800; letter-spacing: 1px; }
.grid-command-seal small { margin-top: 2px; color: #5ba99e; font-size: 9px; text-align: center; }
.grid-command-copy h2 { margin: 5px 0 8px; color: #f0f6ff; font-size: 18px; font-weight: 700; }
.grid-command-copy h2 strong { color: #64d8c3; font-size: 26px; font-weight: 700; }
.grid-command-copy p { margin: 7px 0 0; color: #a1b4bf; font-size: 13px; }
.grid-health-track { height: 7px; overflow: hidden; border-radius: 1px; background: #203d47; }
.grid-health-track i { display: block; height: 100%; background: #48c9b1; }
.grid-command-state { display: grid; gap: 4px; padding: 10px 12px; border-left: 1px solid #594625; color: #e2ba67; }
.grid-command-state.ready { border-left-color: #246d61; color: #71d5c0; }
.grid-command-state span { font-size: 12px; }
.grid-command-state strong { color: #e6eef0; font-size: 13px; font-weight: 600; }
.grid-command-state small { color: #96aab5; font-size: 12px; line-height: 1.5; }
.grid-command-action { white-space: nowrap; }
.grid-lifecycle { margin-bottom: 16px; padding: 14px 16px 16px; border: 1px solid #283b51; border-radius: 6px; background: #121d2b; }
.grid-lifecycle header { display: flex; justify-content: space-between; gap: 12px; align-items: end; margin-bottom: 18px; }
.grid-lifecycle h2 { margin: 4px 0 0; color: #e7eef9; font-size: 17px; font-weight: 700; }
.grid-lifecycle header small { color: #93a7b7; font-size: 12px; }
.grid-lifecycle-rail { display: grid; grid-template-columns: repeat(5, 1fr); position: relative; }
.grid-lifecycle-rail::before { content: ''; position: absolute; top: 15px; right: 8%; left: 8%; height: 1px; background: #2b4658; }
.grid-lifecycle-step { position: relative; display: grid; justify-items: center; gap: 4px; color: #71889b; text-align: center; }
.grid-lifecycle-step span { z-index: 1; display: grid; width: 30px; height: 30px; place-items: center; border: 1px solid #355167; border-radius: 50%; color: #7692a5; background: #121d2b; font-family: Consolas, monospace; font-size: 10px; }
.grid-lifecycle-step.reached span { border-color: #3daf9e; color: #9cebdd; background: #153a42; }
.grid-lifecycle-step strong { color: #d5e0e7; font-size: 13px; font-weight: 600; }
.grid-lifecycle-step b { color: #fff; font-family: Arial, "Microsoft YaHei", sans-serif; font-size: 21px; font-weight: 700; }
.grid-lifecycle-step small { color: #8fa5b5; font-size: 12px; }
.grid-operations { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr); gap: 14px; align-items: stretch; margin-bottom: 14px; }
.grid-action-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; padding: 14px; }
.grid-action-card { display: flex; min-height: 128px; padding: 16px 14px; border: 1px solid #2b4054; border-left: 3px solid #4da9d2; border-radius: 4px; color: #d7e4eb; background: #142333; flex-direction: column; text-align: left; cursor: pointer; }
.grid-action-card:hover { background: #1b3145; }
.grid-action-card.warn { border-left-color: #d5a34d; }.grid-action-grid .grid-action-card.danger { border-left-color: #dd6978; color: #d7e4eb; background: #142333; }.grid-action-grid .grid-action-card.danger:hover { background: #1b3145; }.grid-action-card.info { border-left-color: #62a9dc; }
.grid-action-card span { display: block; color: #c4d0df; font-size: 14px; font-weight: 600; }.grid-action-card strong { display: block; margin: 8px 0 7px; color: #fff; font-family: Arial, "Microsoft YaHei", sans-serif; font-size: 30px; font-weight: 700; line-height: 1; }.grid-action-card > small { display: block; margin-top: auto; color: #9eafc2; font-size: 13px; line-height: 1.45; }
.grid-project-row { width: 100%; display: grid; grid-template-columns: minmax(150px, 1.15fr) minmax(120px, 1.35fr) 54px; gap: 13px; align-items: center; min-height: 78px; padding: 10px 4px; border: 0; color: #afbecb; background: transparent; text-align: left; cursor: pointer; }
.grid-project-identity b { display: block; color: #f0f6ff; font-size: 15px; font-weight: 700; }.grid-project-row small { display: block; margin-top: 7px; color: #9eafc2; font-size: 13px; line-height: 1.4; }.grid-project-progress { display: grid; gap: 2px; }.grid-project-row em { color: #79d7c5; font-family: Arial, "Microsoft YaHei", sans-serif; font-size: 22px; font-style: normal; font-weight: 700; line-height: 1; text-align: right; }.grid-project-row em small { margin-top: 7px; font-family: "Microsoft YaHei", Arial, sans-serif; font-size: 12px; font-weight: 400; }
.grid-activity-list { display: grid; grid-template-columns: 1fr; padding: 6px 14px; }.grid-activity-item { display: flex; width: 100%; gap: 10px; align-items: flex-start; padding: 10px 0; border: 0; border-bottom: 1px solid #223447; color: #d7e1e7; background: transparent; font-size: 13px; text-align: left; cursor: pointer; }.grid-activity-item i { flex: 0 0 auto; width: 7px; height: 7px; margin-top: 6px; border-radius: 50%; background: #48c9b1; }.grid-activity-item b, .grid-activity-item small { display: block; }.grid-activity-item small { margin-top: 3px; color: #91a5b4; font-size: 12px; }
.grid-text-action { border: 0; color: #77ced7; background: transparent; font-size: 12px; font-weight: 600; cursor: pointer; }
.grid-filter-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 28px; padding: 0 7px 0 10px; border: 1px solid #2b7a77; border-radius: 3px; color: #8ee4d5; background: #123837; font-size: 11px; }.grid-filter-chip button { border: 0; color: inherit; background: transparent; cursor: pointer; }
.grid-recent-jobs { margin-top: 0 !important; }
.grid-management-band { border: 1px solid #283b51; border-radius: 6px; background: #121d2b; overflow: hidden; }
.grid-management-band + .grid-management-band { margin-top: 16px; }
.grid-management-band-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 14px; border-bottom: 1px solid #283b51; }
.grid-management-band-head h2 { margin: 0; color: #e7eef9; font-size: 17px; font-weight: 700; letter-spacing: 0; line-height: 1.35; }
.grid-management-band-head span { color: #9bafbd; font-size: 12px; }
.grid-project-bars { padding: 0 14px; }
.grid-project-track { display: block; height: 8px; overflow: hidden; border-radius: 2px; background: #253447; }
.grid-project-track i { display: block; height: 100%; border-radius: inherit; background: #31b7a0; }
.grid-empty { padding: 48px 20px; color: #72869a; text-align: center; font-size: 13px; }
.grid-table-wrap { overflow: auto; }
.grid-management-table { width: 100%; min-width: 960px; border-collapse: collapse; font-size: 14px; line-height: 1.5; }
.grid-management-table th { padding: 11px; color: #c4d0df; background: #162334; font-size: 14px; font-weight: 700; text-align: left; white-space: nowrap; }
.grid-management-table td { padding: 11px; border-top: 1px solid #223247; color: #d0dbe3; vertical-align: middle; }
.grid-management-table tbody tr { cursor: pointer; }
.grid-management-table tbody tr:hover { background: #182638; }
.grid-management-table code { color: #9bd6ff; font-family: Consolas, monospace; font-size: 13px; }
.grid-cell-main { display: block; color: #f0f6ff; font-weight: 700; }
.grid-cell-sub { display: block; margin-top: 3px; color: #9cacc0; font-size: 13px; }
.grid-status { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.grid-status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #7b8a98; }
.grid-status.good::before { background: #3ec7a9; }
.grid-status.warn::before { background: #e4ae4f; }
.grid-status.danger::before { background: #e76875; }
.grid-status.info::before { background: #5aaee6; }
.grid-inline-action { padding: 4px 8px; border: 1px solid #355b76; border-radius: 4px; color: #9fd4ec; background: transparent; cursor: pointer; }
.grid-detail-panel { position: fixed; z-index: 10020; top: 0; right: 0; bottom: 0; width: min(620px, 96vw); transform: translateX(100%); transition: transform .2s ease; border-left: 1px solid #39526b; background: #101a28; box-shadow: -14px 0 34px rgba(0,0,0,.34); overflow: auto; }
.grid-detail-panel.open { transform: translateX(0); }
.grid-detail-head { position: sticky; z-index: 1; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 18px; border-bottom: 1px solid #2a3d52; background: #151f2d; }
.grid-detail-head h2 { margin: 0; font-size: 17px; letter-spacing: 0; }
.grid-icon-button { display: inline-grid; width: 32px; height: 32px; padding: 0; place-items: center; border: 1px solid #3b5065; border-radius: 5px; color: #aebdca; background: transparent; font-size: 15px; line-height: 1; cursor: pointer; transition: border-color .16s ease, color .16s ease, background .16s ease; }
.grid-icon-button:hover { border-color: #56728d; color: #f1f6fa; background: #1b2c3e; }
.grid-icon-button:focus-visible { outline: 2px solid #2eaa97; outline-offset: 2px; }
.grid-detail-body { padding: 16px 18px 28px; }
.grid-detail-section { padding: 0 0 16px; border-bottom: 1px solid #293a4d; }
.grid-detail-section + .grid-detail-section { padding-top: 16px; }
.grid-detail-section h3 { margin: 0 0 10px; color: #adc0ce; font-size: 13px; }
.grid-detail-kv { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 8px 12px; font-size: 13px; }
.grid-detail-kv dt { color: #74899c; }
.grid-detail-kv dd { min-width: 0; margin: 0; color: #d2dce5; overflow-wrap: anywhere; }
.grid-timeline { display: grid; }
.grid-timeline-item { position: relative; padding: 0 0 15px 20px; color: #d0dbe3; font-size: 13px; }
.grid-timeline-item::before { content: ''; position: absolute; top: 4px; left: 2px; width: 7px; height: 7px; border-radius: 50%; background: #38bca5; }
.grid-timeline-item::after { content: ''; position: absolute; top: 13px; bottom: 0; left: 5px; width: 1px; background: #33475b; }
.grid-timeline-item:last-child::after { display: none; }
.grid-timeline-item small { display: block; margin-top: 3px; color: #72879a; }
.grid-management-modal { position: fixed; z-index: 10030; inset: 0; display: none; place-items: center; padding: 18px; background: rgba(4,9,15,.72); }
.grid-management-modal.open { display: grid; }
.grid-management-dialog { width: min(780px, 96vw); max-height: 88vh; overflow: auto; border: 1px solid #39536d; border-radius: 7px; background: #111d2b; box-shadow: 0 18px 50px rgba(0,0,0,.45); }
.grid-management-dialog-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid #2b4055; }
.grid-management-dialog-head h2 { margin: 0; font-size: 16px; }
.grid-management-dialog-body { padding: 16px; }
.grid-management-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 8px; align-items: end; }
.grid-management-form label { display: grid; gap: 5px; color: #8296aa; font-size: 11px; }
.grid-management-form input { width: 100%; min-width: 0; }
.grid-project-list { margin-top: 16px; border-top: 1px solid #2a3c50; }
.grid-project-list-row { display: grid; grid-template-columns: minmax(120px, 1fr) minmax(100px, 1fr) minmax(90px, .7fr) 60px; gap: 8px; padding: 10px 4px; border-bottom: 1px solid #24364a; color: #b8c7d3; font-size: 12px; }
.grid-management-error { padding: 12px 28px; color: #ff9aa4; border-bottom: 1px solid #6b3038; background: #2c171b; font-size: 12px; }
.grid-issuance-workbench { box-sizing: border-box; height: 100%; padding: 18px 22px 30px; overflow: auto; background: #0d1523; }
.grid-issuance-toolbar { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid #26384d; color: #8fa2b4; font-size: 12px; }
.grid-issuance-toolbar button { min-height: 34px; padding: 0 12px; border: 1px solid #36516d; border-radius: 5px; color: #dbe8f4; background: #1a2a3d; cursor: pointer; }
.grid-device-check { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 16px; }
.grid-device-check > div { min-width: 0; }
.grid-device-check small { display: block; margin-bottom: 3px; color: #8194a8; font-size: 11px; }
.grid-device-check strong { display: block; color: #e2ebf3; font-size: 13px; overflow-wrap: anywhere; }
.grid-device-check p { grid-column: 1 / -1; display: flex; gap: 10px; margin: 2px 0 0; padding-top: 9px; border-top: 1px solid #2a3c50; color: #91a5b8; font-size: 12px; }
.grid-device-check p b { flex: 0 0 auto; color: #e4ae4f; }
.grid-device-check.ready p b { color: #3ec7a9; }
.grid-device-check .grid-device-check-next { margin-top: -4px; padding-top: 0; border-top: 0; color: #b7c5d2; }
.grid-device-check.blocked .grid-device-check-next { color: #ff9aa4; }
.grid-csr-actions { display: flex; gap: 8px; margin-top: 8px; }
.grid-csr-actions button { display: none; align-items: center; min-height: 34px; padding: 0 12px; border: 1px solid #36516d; border-radius: 5px; color: #dbe8f4; background: #1a2a3d; cursor: pointer; }
.grid-csr-actions button:disabled { cursor: not-allowed; opacity: .55; }
.grid-crypto-debug { margin-top: 10px; border: 1px solid #2d4359; border-radius: 6px; background: #090f18; overflow: hidden; }
.grid-crypto-debug[hidden] { display: none !important; }
.grid-crypto-debug > header { display: flex; min-height: 44px; padding: 8px 10px; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid #26394d; background: #111c29; }
.grid-crypto-debug > header > div:first-child { display: flex; min-width: 0; align-items: baseline; gap: 10px; }
.grid-crypto-debug > header strong { color: #e4edf5; font-size: 13px; }
.grid-crypto-debug > header span { color: #7990a4; font-size: 11px; overflow-wrap: anywhere; }
.grid-crypto-debug-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 7px; }
.grid-crypto-debug-actions label { display: inline-flex; align-items: center; gap: 5px; color: #91a5b8; font-size: 11px; }
.grid-crypto-debug-actions button { min-height: 28px; padding: 0 9px; border: 1px solid #38526b; border-radius: 4px; color: #c9d8e5; background: #182739; cursor: pointer; }
.grid-crypto-debug-log { height: 310px; overflow: auto; font-family: Consolas, "Courier New", monospace; font-size: 12px; line-height: 1.55; }
.grid-crypto-debug-empty { padding: 18px; color: #667d91; text-align: center; }
.grid-crypto-trace-event { display: grid; grid-template-columns: 92px 46px minmax(0, 1fr); border-bottom: 1px solid #192838; }
.grid-crypto-trace-event:last-child { border-bottom: 0; }
.grid-crypto-trace-time, .grid-crypto-trace-direction { padding: 8px 7px; color: #71879a; }
.grid-crypto-trace-direction { font-weight: 700; text-align: center; }
.grid-crypto-trace-event.tx .grid-crypto-trace-direction { color: #5ab4e8; }
.grid-crypto-trace-event.rx .grid-crypto-trace-direction { color: #48c9ad; }
.grid-crypto-trace-event.failure .grid-crypto-trace-direction { color: #ef7d88; }
.grid-crypto-trace-body { min-width: 0; padding: 8px 10px; border-left: 1px solid #192838; }
.grid-crypto-trace-title { display: flex; align-items: baseline; gap: 8px; color: #d8e5ef; overflow-wrap: anywhere; }
.grid-crypto-trace-title small { color: #70869a; }
.grid-crypto-trace-fields { display: grid; gap: 4px; margin-top: 5px; }
.grid-crypto-trace-fields div { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 8px; }
.grid-crypto-trace-fields b { color: #667e93; font-weight: 400; }
.grid-crypto-trace-fields pre { min-width: 0; margin: 0; color: #aebfcd; white-space: pre-wrap; overflow-wrap: anywhere; }
.grid-crypto-trace-event.failure .grid-crypto-trace-title, .grid-crypto-trace-event.failure pre { color: #ff9aa4; }
@media (max-width: 1100px) {
  .grid-management-metrics { grid-template-columns: repeat(4, minmax(120px, 1fr)); }
  .grid-metric:nth-child(3) { border-right: 0; }
  .grid-management-overview { grid-template-columns: 1fr; }
  .grid-overview-primary { grid-template-columns: 1fr; }
  .grid-command { grid-template-columns: 60px minmax(0, 1fr) 180px; }.grid-command-action { grid-column: 1 / -1; justify-self: start; }
  .grid-operations { grid-template-columns: 1fr; }.grid-action-grid { grid-template-columns: repeat(5, minmax(110px, 1fr)); overflow-x: auto; }
}
@media (max-width: 900px) {
  .tools-dr.grid-management-drawer { width: 96vw; }
  .grid-management-workspace { display: flex; flex-direction: column; }
  .grid-management-side { flex: 0 0 auto; border-right: 0; border-bottom: 1px solid #26384d; }
  .grid-management-brand { min-height: 52px; }
  .grid-management-nav { padding: 6px 10px; flex-direction: row; overflow-x: auto; }
  .grid-nav-label { display: none; }
  .grid-management-tab { min-height: 36px; white-space: nowrap; }
  .grid-management-tab.active::before { top: auto; right: 10px; bottom: 0; left: 10px; width: auto; height: 2px; }
  .grid-management-side-foot { display: none; }
  .grid-management-main { flex: 1 1 auto; }
  .grid-management-head { align-items: flex-start; flex-direction: column; }
  .grid-management-actions { width: 100%; }
}
@media (max-width: 680px) {
  .tools-dr.grid-management-drawer { width: 100vw; max-width: 100vw; }
  .grid-management-head { align-items: flex-start; padding: 14px 12px; flex-direction: column; }
  .grid-management-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
  .grid-product-scope { grid-column: 1 / -1; margin-right: 0; }
  .grid-product-scope-copy { min-width: 0; flex: 1; }
  .grid-product-scope select { width: 100%; }
  .grid-management-actions .grid-management-button { min-width: 0; width: 100%; padding-right: 8px; padding-left: 8px; white-space: nowrap; }
  .grid-management-actions .grid-management-button.primary { grid-column: 1 / -1; }
  .grid-management-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-metric:nth-child(odd) { border-right: 1px solid #26384d; }
  .grid-metric:nth-child(even) { border-right: 0; }
  .grid-management-toolbar { padding-right: 12px; padding-left: 12px; }
  .grid-management-input.search, .grid-management-select { width: 100%; min-width: 0; }
  .grid-management-content { padding: 12px; }
  .grid-overview-empty { grid-template-columns: 1fr; }
  .grid-overview-empty-copy { padding: 30px 24px; }
  .grid-overview-boundary { padding: 12px 24px 24px; border-top: 1px solid #2a4055; border-left: 0; }
  .grid-overview-health { grid-template-columns: 1fr; padding: 16px; }
  .grid-overview-channel { padding: 10px 0; border-top: 1px solid #324b5d; border-left: 0; }
  .grid-command { grid-template-columns: 48px minmax(0, 1fr); gap: 12px; padding: 14px; }.grid-command-seal { width: 46px; height: 46px; }.grid-command-seal span { font-size: 12px; }.grid-command-state { grid-column: 1 / -1; border-top: 1px solid #594625; border-left: 0; }.grid-command-state.ready { border-top-color: #246d61; }.grid-command-action { width: 100%; }.grid-lifecycle { overflow: hidden; }.grid-lifecycle header { align-items: start; flex-direction: column; }.grid-lifecycle-rail { min-width: 620px; }.grid-lifecycle { overflow-x: auto; }.grid-action-grid { grid-template-columns: repeat(5, 150px); padding: 12px; }.grid-project-row { grid-template-columns: minmax(150px, 1fr) minmax(110px, 1fr) 56px; gap: 10px; min-width: 360px; }
  .grid-activity-list { grid-template-columns: 1fr; }
  .grid-management-form { grid-template-columns: 1fr; }
  .grid-detail-kv { grid-template-columns: 92px minmax(0, 1fr); }
  .grid-issuance-workbench { padding: 12px; }
  .grid-device-check { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-crypto-debug > header { align-items: flex-start; flex-direction: column; }
  .grid-crypto-debug-actions { width: 100%; flex-wrap: wrap; }
  .grid-crypto-trace-event { grid-template-columns: 76px 38px minmax(0, 1fr); }
}
.grid-at-allowlist-admin{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:16px;padding:12px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.03)}
.grid-at-allowlist-admin strong{flex-basis:100%;font-size:13px}.grid-at-allowlist-admin input{min-width:180px}.grid-at-allowlist-admin #gridAtAllowlistRecords{flex-basis:100%;font-size:12px;line-height:1.8;color:#9aa8bc}
