:root {
  --ink: #0f2e33;
  --teal: #0e7490;
  --teal-d: #0b5c73;
  --mist: #e6f2f4;
  --line: #cfe2e6;
  --paper: #f4f9fa;
  --amber: #b45309;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font: 14px/1.85 "Microsoft YaHei", "Segoe UI", sans-serif; color: #26333a; background: var(--paper); }
a { color: var(--teal); text-decoration: none; }
.mono { font-family: Consolas, "JetBrains Mono", monospace; }

.hpc-in { width: 1160px; max-width: 97vw; margin: 0 auto; }
.hpc-top { background: #0b3a44; color: #9fc6cf; font-size: 12px; }
.hpc-top-in { display: flex; justify-content: space-between; height: 30px; align-items: center; }
.hpc-top a { color: #9fc6cf; margin: 0 5px; }
.hpc-top a:hover { color: #fff; }
.hpc-top i { font-style: normal; color: #14586a; margin: 0 8px; }

.hpc-head { background: #fff; border-bottom: 4px solid var(--teal); }
.hpc-head-in { display: flex; justify-content: space-between; align-items: center; height: 96px; }
.hpc-brand { display: flex; gap: 16px; align-items: center; }
.hpc-brand svg { width: 58px; height: 58px; }
.hpc-brand b { display: block; font-size: 28px; color: var(--ink); letter-spacing: 6px; }
.hpc-brand i { font-style: normal; font-size: 10.5px; color: #7d9aa3; letter-spacing: 1.2px; }
.hpc-search { display: flex; }
.hpc-search input { width: 240px; padding: 9px 14px; border: 1px solid var(--teal); border-right: 0; outline: none; }
.hpc-search button { padding: 0 20px; background: var(--teal); color: #fff; border: 0; cursor: pointer; }

.hpc-nav { background: var(--mist); border-bottom: 1px solid var(--line); }
.hpc-nav-in { display: flex; }
.hpc-nav-in a { color: #35505a; padding: 0 25px; line-height: 44px; font-size: 15px; }
.hpc-nav-in a:hover, .hpc-nav-in a.on { background: var(--teal); color: #fff; }
.hpc-nav-in a.hpc-nav-login { margin-left: auto; color: var(--teal-d); font-weight: 700; }

.hpc-msg { margin: 10px 0 0; padding: 8px 14px; font-size: 13.5px; }
.hpc-msg.error { background: #fbebe9; border: 1px solid #efc4bd; color: #a33326; }
.hpc-msg.success { background: #e8f6ee; border: 1px solid #bfe3cf; color: #1e7a45; }

.hpc-main { padding: 20px 0 30px; min-height: 500px; }

.hpc-hero { position: relative; height: 280px; overflow: hidden; background: #10343d; margin-bottom: 16px; }
.hpc-hero img { width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.hpc-hero-txt { position: absolute; left: 40px; top: 66px; color: #fff; max-width: 640px; }
.hpc-hero-txt h1 { font-size: 32px; letter-spacing: 3px; }
.hpc-hero-txt p { margin: 10px 0 18px; font-size: 14.5px; color: #cfe8ed; }
.hpc-hero-btns { display: flex; gap: 12px; }

.hpc-btn { display: inline-block; background: var(--teal); color: #fff; border: 1px solid var(--teal); padding: 8px 24px; font-size: 14px; cursor: pointer; text-align: center; }
.hpc-btn:hover { background: var(--teal-d); }
.hpc-btn.ghost { background: #fff; color: var(--teal); }
.hpc-btn.ghost:hover { background: var(--mist); }
.hpc-btn.ghost2 { background: rgba(255,255,255,.14); color: #fff; border-color: #9fc6cf; }
.hpc-btn.light { background: #f0fdfa; color: var(--teal-d); border-color: #f0fdfa; }
.hpc-btn.sm { padding: 3px 12px; font-size: 12.5px; }
.hpc-btn.wide { width: 100%; padding: 10px 0; font-size: 15px; }

.hpc-quickbar { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-bottom: 18px; }
.hpc-quickbar a { background: #fff; padding: 16px 14px 13px; display: flex; flex-direction: column; gap: 3px; }
.hpc-quickbar b { color: var(--ink); font-size: 15.5px; }
.hpc-quickbar span { color: #7d9aa3; font-size: 12px; }
.hpc-quickbar a:hover { background: var(--mist); }
.hpc-quickbar a:hover b { color: var(--teal-d); }

.hpc-cols { display: grid; grid-template-columns: 1fr 320px; gap: 18px; align-items: start; }
.hpc-sec { background: #fff; border: 1px solid var(--line); margin-bottom: 16px; }
.hpc-sec-hd { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-bottom: 2px solid var(--teal); }
.hpc-sec-hd b { color: var(--ink); font-size: 16.5px; }
.hpc-more { font-size: 12.5px; color: #7d9aa3; }
.hpc-note { font-size: 12px; color: #93a8b0; }

.hpc-list { list-style: none; padding: 6px 14px 10px; }
.hpc-list li { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px dashed #e2edf0; }
.hpc-list li:last-child { border-bottom: 0; }
.hpc-list a { flex: 1; color: #2c3d46; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hpc-list a:hover { color: var(--teal-d); }
.hpc-list li.top a { font-weight: 700; }
.hpc-list time { color: #93a8b0; font-size: 12px; font-family: Consolas, monospace; }
.hpc-cat { flex: none; font-size: 11px; color: #fff; padding: 0 8px; line-height: 20px; }
.hpc-cat.news { background: var(--teal); }
.hpc-cat.maint { background: var(--amber); }
.hpc-cat.train { background: #5b8c3e; }
.hpc-cat.doc { background: #64748b; }
.hpc-cat-tabs a { font-size: 12.5px; color: #57707a; border: 1px solid var(--line); padding: 2px 12px; margin-left: 6px; }
.hpc-cat-tabs a.on { background: var(--teal); border-color: var(--teal); color: #fff; }

.hpc-doc-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: #e2edf0; border: 1px solid #e2edf0; border-top: 0; }
.hpc-doc-cards a { background: #fff; padding: 16px 18px; }
.hpc-doc-cards b { display: block; color: var(--teal-d); font-size: 15px; margin-bottom: 4px; }
.hpc-doc-cards p { font-size: 12.5px; color: #7d9aa3; }
.hpc-doc-cards a:hover { background: var(--mist); }

.hpc-panel { background: #fff; border: 1px solid var(--line); margin-bottom: 14px; }
.hpc-panel-hd { padding: 9px 12px; border-bottom: 2px solid var(--teal); color: var(--ink); font-weight: 700; display: flex; justify-content: space-between; align-items: center; }
.hpc-live { font-size: 11px; color: #2fa463; font-weight: 400; }
.hpc-cluster { list-style: none; padding: 6px 12px 10px; }
.hpc-cluster li { display: flex; align-items: center; gap: 8px; padding: 7px 0; border-bottom: 1px dashed #e2edf0; }
.hpc-cluster li:last-child { border-bottom: 0; }
.hpc-cluster b { width: 74px; font-family: Consolas, monospace; color: var(--teal-d); }
.hpc-cluster span { flex: 1; font-size: 12.5px; color: #6a828c; }
.hpc-cluster i { width: 9px; height: 9px; border-radius: 50%; }
.hpc-cluster i.ok { background: #2fa463; }
.hpc-cluster i.busy { background: #e0a13c; }
.hpc-side-list { list-style: none; padding: 6px 12px 10px; }
.hpc-side-list li { display: flex; justify-content: space-between; gap: 8px; padding: 7px 0; border-bottom: 1px dashed #e2edf0; }
.hpc-side-list li:last-child { border-bottom: 0; }
.hpc-side-list a { font-size: 13px; color: #2c3d46; }
.hpc-side-list time { font-size: 11.5px; color: #93a8b0; flex: none; font-family: Consolas, monospace; }

.hpc-crumb { font-size: 12.5px; color: #7d9aa3; padding: 2px 2px 10px; }
.hpc-article { background: #fff; border: 1px solid var(--line); padding: 28px 36px 24px; }
.hpc-article h1 { font-size: 22px; color: var(--ink); text-align: center; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.hpc-art-meta { text-align: center; font-size: 12px; color: #93a8b0; padding: 10px 0 16px; border-bottom: 1px dashed #e2edf0; }
.hpc-art-body p { text-indent: 2em; font-size: 14.5px; line-height: 2.05; color: #33454e; margin: 13px 0; }
.hpc-art-h2 { font-size: 16.5px; color: var(--teal-d); margin: 20px 0 8px; padding-left: 10px; border-left: 4px solid var(--teal); }
.hpc-art-sig { text-align: right; line-height: 1.9; color: #33454e; margin-top: 18px; }
.hpc-art-foot { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.hpc-rel { margin-top: 16px; border: 1px solid var(--line); background: var(--paper); padding: 12px 16px; }
.hpc-rel b { color: var(--teal-d); }
.hpc-rel li { margin-left: 22px; list-style: disc; }

.hpc-table { width: 100%; border-collapse: collapse; font-size: 13.5px; margin: 10px 0; }
.hpc-table th { background: var(--mist); color: var(--ink); text-align: left; padding: 8px 12px; border: 1px solid var(--line); white-space: nowrap; }
.hpc-table td { padding: 8px 12px; border: 1px solid #e0ebee; color: #33454e; }
.hpc-state { font-size: 11.5px; padding: 0 9px; }
.hpc-state.idle { color: #1e7a45; background: #e8f6ee; }
.hpc-state.mix, .hpc-state.alloc { color: var(--amber); background: #fbf0dd; }

.hpc-docs-layout { display: grid; grid-template-columns: 250px 1fr; gap: 16px; align-items: start; }
.hpc-docs-group { padding: 10px 14px 4px; color: var(--teal-d); font-weight: 700; font-size: 13.5px; }
.hpc-docs-side ul { list-style: none; }
.hpc-docs-side li a { display: block; padding: 5px 14px 5px 24px; font-size: 13px; color: #4c626c; border-left: 3px solid transparent; }
.hpc-docs-side li a:hover { background: var(--mist); }
.hpc-docs-side li a.on { border-left-color: var(--teal); color: var(--teal-d); background: var(--mist); }

.hpc-stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 16px; }
.hpc-stat { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--teal); padding: 16px 18px 12px; }
.hpc-stat b { display: block; font: 700 26px/1.3 Georgia, serif; color: var(--teal-d); }
.hpc-stat span { font-size: 12.5px; color: #7d9aa3; }
.hpc-bar { height: 8px; background: #e2edf0; position: relative; min-width: 120px; }
.hpc-bar i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--teal); }

.hpc-login-wrap { display: flex; justify-content: center; padding: 40px 0; }
.hpc-login-box { width: 420px; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--teal); padding: 30px 34px 26px; }
.hpc-login-box > b { font-size: 20px; color: var(--ink); display: block; padding-bottom: 8px; }
.hpc-login-box > p { font-size: 12.5px; color: #7d9aa3; margin: 6px 0 16px; }
.hpc-login-box form { display: flex; flex-direction: column; gap: 12px; }
.hpc-login-box input { border: 1px solid #c3d8dd; padding: 10px 12px; font-size: 14px; outline: none; }
.hpc-login-box input:focus { border-color: var(--teal); }

.hpc-dash-hd { display: flex; justify-content: space-between; align-items: center; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--teal); padding: 12px 16px; margin-bottom: 14px; }
.hpc-dash-hd span:first-child { font-size: 16px; color: var(--ink); }
.hpc-dash-hd i { font-style: normal; font-size: 12.5px; color: #7d9aa3; margin-left: 10px; }
.hpc-dash-cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-bottom: 16px; }
.hpc-dc { background: #fff; border: 1px solid var(--line); padding: 12px 16px 9px; }
.hpc-dc b { display: block; font-size: 18px; color: var(--teal-d); font-family: Georgia, serif; }
.hpc-dc span { font-size: 12px; color: #7d9aa3; }
.hpc-job-st { font-size: 11px; padding: 0 8px; line-height: 20px; display: inline-block; color: #fff; }
.st-completed { background: #2fa463; }
.st-running { background: var(--teal); }
.st-pending { background: #e0a13c; }
.st-failed { background: #c0392b; }
.st-cancelled { background: #7d8fa0; }
.st-timeout { background: #8a5210; }

.hpc-submit-form { padding: 12px; display: flex; flex-direction: column; gap: 7px; }
.hpc-submit-form label { font-size: 12.5px; color: #4c626c; }
.hpc-submit-form input, .hpc-submit-form select, .hpc-submit-form textarea { border: 1px solid #c3d8dd; padding: 7px 10px; font-size: 13px; font-family: inherit; outline: none; }
.hpc-submit-form textarea { font-family: Consolas, monospace; }
.hpc-form-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hpc-cmds { padding: 10px 14px; font-size: 12.5px; }
.hpc-cmds p { padding: 3px 0; color: var(--teal-d); }
.hpc-cmds span { color: #93a8b0; margin-left: 10px; }

.hpc-apply-layout { display: grid; grid-template-columns: 1fr 300px; gap: 16px; align-items: start; }
.hpc-apply-form { padding: 16px 14px; }
.hpc-apply-type { display: flex; gap: 18px; flex-wrap: wrap; padding: 4px 0 12px; border-bottom: 1px dashed #e2edf0; margin-bottom: 14px; }
.hpc-apply-type label { font-size: 14px; color: #33454e; cursor: pointer; }
.hpc-apply-form .fld { margin-bottom: 11px; }
.hpc-apply-form label { display: block; font-size: 13px; color: #4c626c; margin-bottom: 3px; }
.hpc-apply-form label i { color: #c0392b; font-style: normal; }
.hpc-apply-form input, .hpc-apply-form select, .hpc-apply-form textarea { width: 100%; border: 1px solid #c3d8dd; padding: 8px 10px; font-size: 14px; font-family: inherit; outline: none; }
.hpc-apply-form input:focus, .hpc-apply-form textarea:focus { border-color: var(--teal); }
.hpc-apply-form .full { grid-column: 1 / -1; }
.hpc-apply-actions { display: flex; gap: 12px; margin-top: 6px; }
.hpc-rule { list-style: none; padding: 8px 12px 12px; }
.hpc-rule li { padding: 4px 0 4px 16px; position: relative; font-size: 13px; color: #4c626c; }
.hpc-rule li::before { content: ""; position: absolute; left: 0; top: 13px; width: 5px; height: 5px; background: var(--teal); }
.hpc-flow2 p { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 13px; color: #33454e; border-bottom: 1px dashed #e2edf0; }
.hpc-flow2 b { width: 22px; height: 22px; flex: none; background: var(--teal); color: #fff; border-radius: 50%; text-align: center; line-height: 22px; font-size: 12px; }

.hpc-query { display: flex; gap: 10px; padding: 14px; }
.hpc-query input { flex: 1; border: 1px solid #c3d8dd; padding: 8px 12px; outline: none; }
.hpc-apply-result { padding: 0 14px 14px; }
.hpc-ar-hd { display: flex; align-items: center; gap: 14px; padding: 10px 0 8px; }
.hpc-appid { color: var(--amber); font-family: Consolas, monospace; font-size: 17px; }
.hpc-done { text-align: center; padding: 40px 20px; }
.hpc-done > b { display: block; font-size: 19px; color: #1e7a45; margin-bottom: 12px; }
.hpc-done p { color: #33454e; margin: 6px 0; }
.hpc-done div { margin-top: 18px; }

.hpc-foot { background: #0b3a44; color: #9fc6cf; margin-top: 10px; }
.hpc-foot-in { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 24px; padding: 24px 0 16px; }
.hpc-foot b { display: block; color: #fff; font-size: 14.5px; margin-bottom: 8px; }
.hpc-foot p { font-size: 12.5px; line-height: 2; }
.hpc-foot a { color: #9fc6cf; }
.hpc-foot a:hover { color: #fff; }
.hpc-foot-bar { border-top: 1px solid #14586a; text-align: center; font-size: 12px; color: #6f9aa5; padding: 12px 0 16px; }
