#page-hecp,.hecp-runtime{color:var(--ink,#203c62);line-height:1.7;min-width:0}
#page-hecp *,.hecp-runtime *{box-sizing:border-box}
#page-hecp [hidden],.hecp-runtime [hidden]{display:none!important}
.hecp-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.hecp-card{background:var(--surface,#fff);border:1px solid var(--line,#dfe8f4);border-radius:14px;padding:22px;margin:18px 0;min-width:0}
.hecp-card h2{font-size:19px;margin:0 0 12px}
.hecp-card h3{font-size:16px;margin:12px 0 8px}
.hecp-card p{margin:10px 0}
.hecp-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:14px 0}
.hecp-actions>small{flex:1 1 240px}
.hecp-form{display:grid;gap:16px;margin:16px 0}
:is(#page-hecp,.hecp-runtime) label{display:grid;gap:6px;min-width:0;font-weight:500}
:is(#page-hecp,.hecp-runtime) :is(input,select,textarea){width:100%;min-width:0;max-width:100%;border:1px solid #cbd8ea;border-radius:8px;padding:10px 12px;font:inherit;color:inherit;background:#fff}
:is(#page-hecp,.hecp-runtime) textarea{resize:vertical;min-height:65px}
:is(#page-hecp,.hecp-runtime) button{min-height:42px}
:is(#page-hecp,.hecp-runtime) :is(button,summary,a,input,textarea,select):focus-visible{outline:3px solid #228b99;outline-offset:3px}
.hecp-form>button{justify-self:start}
.hecp-form small,.hecp-issue small{font-size:12px;color:#637b98;font-weight:400}
.hecp-classification{padding:12px 16px;border-radius:8px;background:#edf5ff;color:#214f8c}
.hecp-issue{padding:14px 0;border-top:1px solid #e5ecf5;overflow-wrap:anywhere}
.hecp-issue>small{display:block}
.hecp-issue a{margin-right:12px}
.hecp-warn{color:#915912}
:is(#page-hecp,.hecp-runtime) details{padding:12px 0}
:is(#page-hecp,.hecp-runtime) summary{cursor:pointer;font-weight:600;overflow-wrap:anywhere}
:is(#page-hecp,.hecp-runtime) pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:360px;overflow:auto;padding:14px;background:#f4f7fb;border-radius:8px;font:inherit}
.hecp-output{border-left:3px solid #2f63ff;padding:0 16px;margin:20px 0;overflow-wrap:anywhere}
.hecp-runtime{margin:20px 0}
.hecp-runtime>.hecp-card{padding:20px}
#page-hecp [role=status]{min-height:24px;overflow-wrap:anywhere}
#page-hecp [data-hecp-status]:empty{min-height:0;margin:0}
@media(max-width:700px){.hecp-grid{grid-template-columns:1fr}.hecp-card{padding:16px}.hecp-actions{gap:10px}.hecp-actions>button{flex:0 1 auto}}

.hecp-hero {
  display:flex; align-items:center; flex-wrap:wrap; gap:18px;
  margin-bottom:18px; padding:22px 24px; border:1px solid #d3e2f8; border-radius:14px;
  background:linear-gradient(112deg,#fff 25%,#edf5ff 72%,#e8f8fb);
}
.hecp-hero-icon,.hecp-scene-icon {
  display:grid; place-items:center; flex:none; border-radius:12px;
  color:#255edb; background:linear-gradient(145deg,#e7efff,#eefbff);
}
.hecp-hero-icon { width:60px; height:60px; }
.hecp-hero-icon svg { width:37px; height:37px; }
.hecp-hero-copy { flex:1 1 300px; min-width:0; }
.hecp-hero h1 { margin-bottom:4px; font-size:clamp(22px,2.3vw,32px); line-height:1.25; overflow-wrap:anywhere; }
.hecp-hero p { font-size:13px; color:#4e627e; }
.hecp-hero>.primary-button { white-space:nowrap; text-shadow:0 1px 2px #20477680; }
#page-hecp [data-hecp-status] {
  margin:0 0 14px; padding:8px 12px; color:#36577f;
  background:#edf5ff; border:1px solid #d8e7fa; border-radius:8px;
}
#page-hecp [data-hecp-status]:empty { display:none; }
#page-hecp [data-hecp-content] { container-type:inline-size; }
.hecp-toolbar {
  display:flex; align-items:flex-end; flex-wrap:wrap; gap:12px;
  padding:12px 16px; background:#fff; border:1px solid #dce7f5; border-radius:12px;
}
.hecp-toolbar label { flex:0 1 186px; font-size:12px; color:#465c77; }
.hecp-toolbar label:first-child { flex:1 1 240px; max-width:470px; }
.hecp-toolbar :is(input,select) { height:42px; }
.hecp-search { position:relative; display:block; }
.hecp-search svg { position:absolute; left:12px; top:50%; translate:0 -50%; color:#536a8d; pointer-events:none; }
#page-hecp .hecp-search input { padding-left:36px; }
.hecp-toolbar button { display:inline-flex; align-items:center; justify-content:center; gap:6px; }
.hecp-toolbar svg { width:17px; height:17px; }
.hecp-list-head { display:flex; align-items:baseline; gap:12px; margin:20px 0 10px; }
.hecp-list-head h2 { margin:0; font-size:18px; }
.hecp-list-head span { color:#586f8c; font-size:12px; }
.hecp-list { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.hecp-list>.hecp-card {
  display:flex; flex-direction:column; gap:12px; margin:0; padding:16px;
  border-color:#dce7f5; box-shadow:0 2px 6px #173b6b08;
  transition:border-color .16s ease,box-shadow .16s ease;
}
.hecp-list>.hecp-card:is(:hover,:focus-within) { border-color:#abc6f5; box-shadow:0 4px 12px #173b6b12; }
.hecp-card-heading { display:flex; align-items:center; gap:12px; }
.hecp-card-heading>div { min-width:0; }
.hecp-scene-icon { width:44px; height:44px; }
.hecp-scene-icon svg { width:24px; height:24px; }
.hecp-domain { display:block; color:#506989; font-size:12px; }
.hecp-card-heading h3 { margin:2px 0 0; font-size:17px; line-height:1.4; overflow-wrap:anywhere; }
.hecp-card-meta {
  display:flex; align-items:center; flex-wrap:wrap; gap:5px 9px;
  padding-top:10px; border-top:1px solid #e3ebf5; color:#4e637e; font-size:12px;
}
.hecp-release {
  display:inline-flex; align-items:center; gap:6px; max-width:100%;
  padding:2px 8px; border-radius:8px; background:#f0f3f8; color:#4e637e;
}
.hecp-release::before { content:""; flex:none; width:6px; height:6px; border-radius:50%; background:currentColor; }
.hecp-release.is-live { background:#eaf7f3; color:#226a55; }
.hecp-card-actions { display:flex; align-items:center; flex-wrap:wrap; gap:8px; margin-top:auto; }
#page-hecp .hecp-card-actions :is(button,a) {
  display:inline-flex; align-items:center; min-height:40px; padding:6px 10px;
  color:#244b83; font-size:13px; font-weight:600; text-decoration:none;
}
#page-hecp .hecp-card-actions a {
  margin-left:auto; border:1px solid #c3d5fa; border-radius:8px; background:#f4f8ff; color:#244e9c;
}
#page-hecp .hecp-card-actions a:hover { border-color:#97b5ee; background:#eaf2ff; }
.hecp-empty {
  grid-column:1/-1; margin:0; padding:24px 16px; text-align:center;
  border:1px dashed #cbd9eb; border-radius:12px; color:#586f8c; background:#fff;
}
#page-hecp [data-hecp-content]>section.hecp-card { border-color:#dce7f5; box-shadow:0 2px 8px #173b6b08; }
@container (max-width:1000px) {
  .hecp-list { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@container (max-width:620px) {
  .hecp-list { grid-template-columns:minmax(0,1fr); }
  .hecp-toolbar label:first-child { flex-basis:100%; max-width:none; }
  .hecp-toolbar label { flex:1 1 160px; }
}
@media (max-width:700px) {
  .hecp-hero { gap:12px; padding:16px; }
  .hecp-hero-copy { flex-basis:190px; }
  .hecp-hero-icon { width:42px; height:42px; }
  .hecp-hero-icon svg { width:27px; height:27px; }
}
@media (prefers-reduced-motion:reduce) {
  .hecp-list>.hecp-card { transition:none; }
}

.hecp-editor-view { max-width:1100px; margin:0 auto; }
#page-hecp:has(.hecp-editor-view)>.hecp-hero { display:none; }
.hecp-editor-view>header { margin:0 0 14px; }
.hecp-editor-view>header h2 { margin:0 0 2px; font-size:22px; }
.hecp-editor-view>header p,.hecp-editor-heading p,.hecp-editor-block>p {
  margin:0; font-size:13px; color:#4e637e;
}
.hecp-editor { gap:14px; }
.hecp-editor-section {
  display:grid; gap:12px; min-width:0; padding:18px;
  border:1px solid #dce7f5; border-radius:14px; background:#fff;
}
.hecp-workarea { display:grid; grid-template-columns:minmax(0,1fr); }
.hecp-workarea:has(>.hecp-assistant-drawer:not([hidden])) {
  grid-template-columns:minmax(0,1fr) clamp(320px,32%,410px); gap:16px;
}
.hecp-assistant-drawer {
  position:sticky; top:16px; align-self:start; min-width:0; max-height:calc(100dvh - 110px);
  display:flex; flex-direction:column; overflow:hidden;
  border:1px solid #cbdcf5; border-radius:14px; background:#fff; box-shadow:0 10px 28px #173b6b16;
}
.hecp-assistant-head {
  display:flex; align-items:flex-start; justify-content:space-between; gap:10px; flex:none;
  padding:14px 16px; border-bottom:1px solid #dce7f5; background:#f1f6ff;
}
.hecp-assistant-head h3,.hecp-assistant-head p,.hecp-assistant>p,.hecp-assistant-message p { margin:0; }
.hecp-assistant-head h3 { font-size:17px; }
.hecp-assistant-head p { color:#4e637e; font-size:13px; overflow-wrap:anywhere; }
.hecp-assistant { display:flex; flex-direction:column; min-height:0; gap:10px; margin:0; padding:14px; overflow:auto; }
.hecp-assistant-log { display:grid; gap:10px; min-height:72px; max-height:min(340px,45dvh); overflow:auto; }
.hecp-assistant-message {
  width:fit-content; max-width:100%; padding:10px 12px; border-radius:10px;
  border:1px solid #dce7f5; background:#f7faff; overflow-wrap:anywhere;
}
.hecp-assistant-message[data-role="user"] { justify-self:end; background:#e9f2ff; }
.hecp-assistant-message strong { display:block; margin-bottom:4px; color:#28508a; font-size:13px; }
.hecp-assistant-message p { white-space:pre-wrap; }
.hecp-assistant-message small { display:block; margin-top:4px; color:#4e637e; }
.hecp-assistant-sources { margin-top:8px; }
.hecp-assistant-sources div { margin-top:6px; }
.hecp-assistant-tools { display:flex; flex-wrap:wrap; align-items:flex-start; gap:8px; }
.hecp-assistant-search { flex:1 1 135px; min-width:0; }
.hecp-assistant-search summary { padding:9px; color:#2456a8; cursor:pointer; }
.hecp-assistant-search label { padding:4px 8px 8px; }
.hecp-assistant-files { display:flex; flex-wrap:wrap; gap:6px; padding:0; margin:0; list-style:none; }
.hecp-assistant-files li {
  display:flex; align-items:center; gap:5px; max-width:100%; padding:3px 4px 3px 9px;
  border:1px solid #dce7f5; border-radius:7px; background:#f1f6ff; font-size:12px;
}
.hecp-assistant-files span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
#page-hecp .hecp-assistant-files button { flex:none; min-height:27px; padding:2px 7px; }
.hecp-assistant-proposal { padding:10px 14px; border-radius:8px; background:#edf5ff; color:#234a80; }
.hecp-assistant [role=status] { color:#9a3412; }
.hecp-assistant [role=status]:empty { display:none; }
.hecp-assistant .hecp-actions { justify-content:space-between; gap:8px; margin:0; }
.hecp-assistant .hecp-actions [data-hecp=apply-proposal] { flex-basis:100%; }
@media (max-width:1180px) {
  .hecp-workarea:has(>.hecp-assistant-drawer:not([hidden])) { grid-template-columns:minmax(0,1fr); }
  .hecp-assistant-drawer {
    position:fixed; inset:auto 12px 12px auto; z-index:5;
    width:min(410px,calc(100% - 24px)); max-height:calc(100dvh - 24px);
  }
}
.hecp-editor-heading { display:flex; align-items:center; gap:12px; margin-bottom:2px; }
.hecp-editor-heading>span {
  display:grid; place-items:center; flex:none; width:38px; height:38px;
  border-radius:9px; color:#2456c3; background:#e9f1ff; font-size:15px; font-weight:700;
}
.hecp-editor-heading h3 { margin:0; font-size:17px; }
.hecp-editor .hecp-grid { align-items:start; gap:12px 16px; }
.hecp-editor .hecp-classification { margin:0; font-size:13px; }
.hecp-editor-block { display:grid; gap:8px; min-width:0; }
.hecp-editor-block + .hecp-editor-block { padding-top:12px; border-top:1px solid #e3ebf5; }
.hecp-editor-block h4 { margin:0; font-size:14px; }
.hecp-editor-block>button { justify-self:start; }
.hecp-input-preview { display:grid; gap:7px; margin:1px 0; padding:0; list-style:none; }
.hecp-input-preview li {
  display:grid; grid-template-columns:minmax(84px,auto) minmax(0,1fr); align-items:center; gap:8px;
  font-size:13px; overflow-wrap:anywhere;
}
.hecp-input-preview li>span:first-child { width:clamp(84px,9cqw,110px); font-weight:600; }
.hecp-input-required { color:#ae4949; }
.hecp-input-placeholder {
  padding:6px 9px; border:1px solid #dce7f5; border-radius:7px; background:#f7faff; color:#4e637e;
}
#page-hecp .hecp-input-config { padding:5px 0 0; }
.hecp-input-config>summary { color:#244e9c; font-size:13px; }
.hecp-input-config>p { margin:6px 0 8px; font-size:12px; color:#4e637e; }
.hecp-input-config>.hecp-editor-rows { margin-bottom:8px; }
.hecp-editor :is(input,textarea,select) { font-size:14px; }
#page-hecp .hecp-editor input[type=file] { padding:5px 7px; background:#f7faff; }
.hecp-editor input[type=file]::file-selector-button {
  padding:6px 10px; margin-right:9px; border:1px solid #c3d5fa; border-radius:6px;
  color:#244e9c; background:#edf4ff; font:inherit; cursor:pointer;
}
.hecp-editor [data-hecp-materials]:empty,.hecp-editor-rows:empty { display:none; }
.hecp-editor-rows { display:grid; gap:8px; }
.hecp-editor-row {
  display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.4fr) auto;
  align-items:end; gap:10px; min-width:0; padding:10px;
  border:1px solid #e0e9f7; border-radius:9px; background:#f7faff;
}
.hecp-editor-row[data-hecp-row=sections] { grid-template-columns:minmax(0,1fr) minmax(0,2fr) auto; align-items:start; }
.hecp-editor-row[data-hecp-row=sections]>button { margin-top:29px; }
.hecp-editor-row button { white-space:nowrap; }
.hecp-editor .hecp-actions { margin:0; }
#page-hecp .hecp-rule { padding:9px 12px; border:1px solid #e0e9f7; border-radius:8px; background:#f7faff; }
.hecp-rule textarea { display:block; margin-top:8px; }
.hecp-editor-delivery { background:linear-gradient(120deg,#fff,#edf6ff); border-color:#ccdff9; }
.hecp-editor-footer { justify-content:flex-end; }
.hecp-progress {
  display:flex; flex-wrap:wrap; gap:8px 14px; padding:0; margin:12px 0 16px;
  list-style:none; color:#526781; font-size:13px;
}
.hecp-progress li { display:flex; align-items:center; gap:5px; white-space:nowrap; }
.hecp-progress li span { border-radius:50%; padding:2px 7px; background:#e8f0fb; }
.hecp-progress li.is-done { color:#266654; }
.hecp-progress li[aria-current=step] { color:#194897; font-weight:700; }
.hecp-progress li[aria-current=step] span { background:#1b53b1; color:#fff; }
.hecp-intake-view>header h2 { margin:5px 0; font-size:clamp(23px,3vw,29px); }
.hecp-intake-breadcrumb { display:flex; align-items:center; gap:9px; color:#4e637e; font-size:13px; }
#page-hecp .hecp-intake-breadcrumb button { padding:0; border:0; min-height:32px; background:none; color:#2456a8; }
.hecp-intake-breadcrumb button:hover { text-decoration:underline; }
.hecp-intake-view .hecp-progress { gap:8px 12px; padding:11px 14px; border:1px solid #d9e5f5; border-radius:10px; background:#f8fbff; }
.hecp-intake-view .hecp-progress li { flex:1 0 auto; }
.hecp-intake-view .hecp-progress li:not(:last-child)::after { content:''; flex:1; min-width:10px; height:1px; margin-left:3px; background:#dce6f4; }
.hecp-intake { gap:0; margin:0; padding:0; border-color:#d4e1f4; box-shadow:0 4px 18px #34578b09; }
.hecp-intake-fields { display:grid; align-content:start; gap:17px; min-width:0; padding:clamp(15px,2vw,25px); }
.hecp-intake-fields label>strong { font-size:15px; }
.hecp-intake-fields strong small { margin-left:3px; }
.hecp-intake-fields textarea { min-height:124px; }
.hecp-intake-fields [data-hecp-materials]:empty { display:none; }
.hecp-intake-upload { display:flex; align-items:center; gap:10px; padding:7px 10px; border:1px dashed #a9c0e7; border-radius:8px; background:#f8fbff; color:#255edb; }
.hecp-intake-upload svg { flex:none; width:20px; height:20px; }
#page-hecp .hecp-intake-upload input[type=file] { padding:0; border:0; background:transparent; font-size:13px; }
.hecp-intake-upload input::file-selector-button { padding:6px 10px; margin-right:9px; border:1px solid #c3d5fa; border-radius:6px; color:#244e9c; background:#edf4ff; font:inherit; cursor:pointer; }
.hecp-intake-guide { align-self:start; margin:0 15px 15px; padding:16px; border:1px solid #dbe8f7; border-radius:10px; background:#eff6ff; }
.hecp-intake-guide h3 { margin:0 0 12px; font-size:16px; }
.hecp-intake-guide ol { display:grid; gap:12px; margin:0; padding:0; list-style:none; counter-reset:intake-item; }
.hecp-intake-guide li { display:grid; grid-template-columns:23px minmax(0,1fr); column-gap:8px; font-size:13px; }
.hecp-intake-guide li::before { grid-row:span 2; display:grid; place-items:center; align-self:start; height:23px; border-radius:50%; background:#dceaff; color:#2456a8; font-weight:650; counter-increment:intake-item; content:counter(intake-item); }
.hecp-intake-guide li>span { grid-column:2; color:#4e637e; }
.hecp-intake .hecp-intake-actions { margin:0; padding:13px clamp(15px,2vw,25px); border-top:1px solid #e3ebf5; }
.hecp-intake-actions>button:first-child { margin-right:auto; }
@container (min-width:760px) {
  .hecp-intake { grid-template-columns:minmax(0,1fr) minmax(235px,.5fr); }
  .hecp-intake-guide { margin:25px 25px 25px 0; }
  .hecp-intake .hecp-intake-actions { grid-column:1/-1; }
}
@container (max-width:620px) {
  .hecp-intake-view .hecp-progress li { flex:0 0 auto; }
  .hecp-intake-view .hecp-progress li::after { display:none; }
}
#page-hecp :is(input,select,textarea)[aria-invalid=true],
#page-hecp details.hecp-incomplete { border:1px solid #b43636; }
#page-hecp details.hecp-incomplete>summary::after { content:' · 有必填项待补'; color:#a12828; }
[data-hecp-missing]:empty { display:none; }
@container (min-width:880px) {
  .hecp-editor-inputs { grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:12px 20px; }
  .hecp-editor-inputs .hecp-editor-heading { grid-column:1/-1; }
  .hecp-editor-inputs .hecp-editor-block { align-content:start; }
  .hecp-editor-inputs .hecp-editor-block+.hecp-editor-block {
    padding:0 0 0 20px; border-top:0; border-left:1px solid #e3ebf5;
  }
  .hecp-editor-inputs .hecp-editor-row { grid-template-columns:repeat(2,minmax(0,1fr)) auto; }
  .hecp-editor-inputs .hecp-editor-row>label:nth-child(3) { grid-column:1/3; }
  .hecp-editor-inputs .hecp-editor-row>button { grid-column:3; }
}
@container (max-width:620px) {
  .hecp-editor-section { padding:13px; }
  .hecp-editor :is(.hecp-grid,.hecp-editor-row,.hecp-editor-row[data-hecp-row=sections]) { grid-template-columns:minmax(0,1fr); }
  .hecp-editor-row>button { justify-self:start; }
  .hecp-editor-row[data-hecp-row=sections]>button { margin-top:0; }
}

#page-hecp:has(.hecp-manage)>.hecp-hero { display:none; }
#page-hecp:has(.hecp-manage)>[data-hecp-status] { position:sticky; top:0; z-index:2; }
.hecp-manage {
  --hecp-border:#d9e5f5;
  --hecp-soft:#f5f8fe;
  --hecp-label:#4e637e;
  display:grid; gap:14px; font-size:14px; overflow-wrap:anywhere;
}
.hecp-manage-path { display:flex; flex-wrap:wrap; align-items:center; gap:10px; color:var(--hecp-label); }
#page-hecp .hecp-manage-path button { min-height:34px; padding:4px 9px; font-size:13px; }
.hecp-manage-path button:last-child { margin-left:auto; }
.hecp-manage-head {
  display:grid; grid-template-columns:minmax(0,1fr) auto; gap:14px 24px; align-items:center; margin:0;
  background:linear-gradient(112deg,#fff 26%,#f1f6ff 76%,#e9f8fa); border-color:var(--hecp-border);
}
.hecp-manage-head .hecp-scene-icon { width:54px; height:54px; border:1px solid #d5e6fc; }
.hecp-manage-head .hecp-scene-icon svg { width:30px; height:30px; }
.hecp-manage-head h2 { margin:0; font-size:clamp(23px,3cqw,32px); line-height:1.25; }
.hecp-manage-controls,.hecp-manage-meta { display:flex; flex-wrap:wrap; align-items:flex-end; gap:9px; }
.hecp-manage-controls label { font-size:12px; color:var(--hecp-label); }
.hecp-manage-controls select { max-width:235px; font-size:13px; }
.hecp-manage-controls a {
  padding:8px 12px; background:#fff; border:1px solid #bad0f6; border-radius:8px;
  color:#2452a0; font-weight:600; text-decoration:none;
}
.hecp-manage-controls a:hover { background:#eef5ff; }
.hecp-manage-meta { grid-column:1/-1; }
.hecp-tag { display:inline-flex; align-items:center; padding:2px 8px; border-radius:6px; color:#3a5476; background:#edf2fb; font-size:12px; }
.hecp-tag.is-pass { color:#14664f; background:#e5f6ee; }
.hecp-tag.is-warning { color:#84500b; background:#fff0d9; }
.hecp-manage-nav,.hecp-map,.hecp-release-summary {
  display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:10px;
}
.hecp-manage-nav button,.hecp-map button {
  display:flex; align-items:center; gap:9px; min-width:0; padding:10px 11px;
  text-align:start; border-color:var(--hecp-border); border-radius:10px;
}
.hecp-manage-nav strong,.hecp-map strong { display:block; line-height:1.35; }
.hecp-manage-nav small,.hecp-map small { display:block; color:var(--hecp-label); font-size:12px; margin-top:3px; }
.hecp-order {
  display:grid; place-items:center; flex:none; width:30px; height:30px; border-radius:8px;
  background:#e9f0fd; color:#2455a2; font-weight:700; font-size:12px; font-variant-numeric:tabular-nums;
}
.hecp-manage-nav [aria-pressed=true] {
  border-color:#83adf7; background:#edf5ff; color:#19478d; box-shadow:inset 0 -2px #2666d9;
}
.hecp-manage-nav [aria-pressed=true] .hecp-order { background:#2458b9; color:#fff; }
.hecp-next {
  display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:10px 16px;
  padding:11px 15px; background:#eaf4ff; border:1px solid #d1e3fa; border-radius:10px;
}
.hecp-next strong { color:#1c4b91; }
.hecp-next p { margin:2px 0 0; color:#364f70; }
.hecp-manage-panel { margin:0; }
.hecp-panel-head {
  display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:8px;
  margin-bottom:12px;
}
.hecp-panel-head h3 { margin:0; font-size:19px; }
.hecp-map,.hecp-release-summary { grid-template-columns:repeat(3,minmax(0,1fr)); margin-bottom:14px; }
.hecp-map button,.hecp-release-summary>div { background:var(--hecp-soft); }
.hecp-map button>span:last-child { margin-left:auto; color:#2458b9; font-size:21px; }
.hecp-spec-layout,.hecp-debug-grid { display:grid; grid-template-columns:minmax(0,1.25fr) minmax(0,1fr); gap:14px; align-items:start; }
#page-hecp details.hecp-manage-group {
  padding:0; margin-bottom:10px; border:1px solid var(--hecp-border); border-radius:10px; background:#fff;
}
.hecp-manage-group>summary {
  display:flex; flex-wrap:wrap; align-items:center; gap:7px; padding:10px 12px;
  background:var(--hecp-soft); border-radius:9px; list-style:none;
}
.hecp-manage-group>summary::-webkit-details-marker { display:none; }
.hecp-manage-group>summary::after { content:'▾'; color:#2458b9; margin-left:auto; }
.hecp-manage-group[open]>summary::after { rotate:180deg; }
.hecp-manage-group>summary span { font-weight:400; font-size:12px; color:var(--hecp-label); }
.hecp-manage-group>div { padding:10px 12px; }
.hecp-spec-text,.hecp-contract dd { white-space:pre-wrap; }
.hecp-spec-list,.hecp-checks { list-style:none; margin:0; padding:0; }
.hecp-spec-list>li { display:grid; grid-template-columns:30px minmax(0,1fr) auto; align-items:start; gap:9px; padding:8px 0; }
.hecp-spec-list>li+li,.hecp-checks>li+li { border-top:1px solid var(--hecp-border); }
#page-hecp .hecp-spec :is(.hecp-spec-list,.hecp-contract) button { min-height:32px; padding:3px 7px; font-size:12px; color:#2452a0; }
.hecp-contract { display:grid; gap:8px; margin:0; }
.hecp-contract>div,.hecp-debug-guide,.hecp-debug-form,.hecp-release-summary>div {
  padding:10px 12px; border:1px solid var(--hecp-border); border-radius:8px;
}
.hecp-contract dt { display:flex; justify-content:space-between; align-items:center; gap:8px; font-weight:650; }
.hecp-contract dd { margin:0; color:#3f5676; }
.hecp-contract dd strong { margin-inline-end:.35em; font-size:.9em; }
.hecp-debug-form { margin:0; padding:14px; }
.hecp-debug-guide { background:var(--hecp-soft); }
.hecp-debug-guide p { margin:4px 0; }
.hecp-manage h4 { margin:0; font-size:14px; }
.hecp-debug-guide details:last-child { padding-bottom:0; }
.hecp-debug-guide ol { margin:6px 0 0; padding-inline-start:1.5em; }
#page-hecp details.hecp-trial { margin:8px 0 0; padding:10px 12px; border:1px solid var(--hecp-border); border-radius:8px; }
.hecp-checks { margin-top:8px; }
.hecp-checks>li { display:flex; flex-wrap:wrap; gap:5px 8px; align-items:center; justify-content:space-between; padding:6px 0; }
.hecp-release-summary span { display:block; color:var(--hecp-label); font-size:12px; }
.hecp-manage .hecp-debug-history { margin-top:12px; }
#page-hecp .hecp-manage input[type=checkbox] { width:auto; }
#page-hecp .hecp-manage label:has(input[type=checkbox]) { grid-template-columns:auto 1fr; align-items:start; }
@container (max-width:940px) {
  .hecp-manage-nav { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@container (max-width:750px) {
  .hecp-manage-head,.hecp-spec-layout,.hecp-debug-grid { grid-template-columns:minmax(0,1fr); }
}
@container (max-width:520px) {
  .hecp-manage-nav { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .hecp-map,.hecp-release-summary { grid-template-columns:minmax(0,1fr); gap:6px; }
  .hecp-manage-nav button { padding:8px; }
}
