.ops-root {
  --op-ink:#17243a; --op-secondary:#596a82; --op-muted:#697a91;
  --op-blue:#315de4; --op-rule:#e2e7ef; --op-panel:#fff;
  display:grid; gap:19px; min-width:0; color:var(--op-ink);
}
.ops-root .ops-panel,.ops-root .ops-summary {
  min-width:0; border:1px solid var(--op-rule); border-radius:13px; background:var(--op-panel);
  box-shadow:0 3px 10px rgb(27 45 77 / 3%);
}
.ops-root .ops-panel {overflow:hidden}
.ops-root .ops-summary {display:flex;align-items:stretch;flex-wrap:wrap;padding:21px 0}
.ops-metric {flex:1 1 0;min-width:0;padding:0 clamp(13px,2vw,28px)}
.ops-metric+.ops-metric {border-left:1px solid var(--op-rule)}
.ops-metric>span,.ops-facts dt {display:block;color:var(--op-secondary);font-size:12px;font-weight:520}
.ops-metric strong {display:block;margin-top:6px;color:var(--op-ink);font-size:clamp(19px,1.65vw,27px);line-height:1.25;font-weight:660;letter-spacing:-.04em;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.ops-root .ops-warn {color:#a45509}
.ops-root .ops-good {color:#087456}
.ops-root .ops-blue,.ops-root .ops-profit {color:var(--op-blue)}
.ops-section {display:flex;align-items:center;gap:9px;padding:18px 20px;min-width:0}
.ops-section>h3 {margin:0;font-size:16px;line-height:1.5;font-weight:660;letter-spacing:-.02em;color:var(--op-ink)}
.ops-section>.ops-controls,.ops-section>.btn {margin-left:auto}
.ops-count {display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:21px;border-radius:5px;padding:0 5px;background:#eff2f7;color:#536783;font:550 11px/1.1 Arial,sans-serif;font-variant-numeric:tabular-nums}
.ops-tools,.ops-controls {display:flex;align-items:center;gap:9px;flex-wrap:wrap;min-width:0}
.ops-tools {justify-content:space-between}
.ops-section+.ops-tools,.ops-tabbody>.ops-tools {padding:3px 20px 15px}
.ops-tabbody>.ops-tools {padding-top:15px}
.ops-root .ops-search {display:inline-flex;align-items:center;gap:8px;border:1px solid #d8dfeb;border-radius:7px;padding:0 10px;min-width:120px;background:#fff;color:#75849c}
.ops-glyph {width:16px;height:16px;flex:none}
.ops-root .ops-search:focus-within {outline:2px solid #b8c9fc;border-color:#7c9af4}
.ops-root input.ops-filter {min-width:0;width:210px;max-width:100%;height:35px;border:0;outline:0;padding:0;margin:0;background:transparent;color:var(--op-ink);font:inherit;font-size:13px}
.ops-root .ops-filter::placeholder {color:#78879c}
.ops-root select.ops-picker {height:37px;max-width:100%;padding:0 9px;border:1px solid #d8dfeb;border-radius:7px;background:white;font:inherit;font-size:13px;color:var(--op-ink)}
.ops-root .btn {display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:35px;line-height:1.35;padding:7px 11px;border:1px solid #d7deea;background:#fff;box-shadow:0 1px 2px #10213a07;border-radius:7px;color:#354660;font-size:13px;font-weight:570;white-space:nowrap}
.ops-root .btn:hover {background:#f1f5fd;border-color:#b6c8e4}
.ops-root .btn.primary {color:#fff;background:#315de4;border-color:#315de4}
.ops-root .btn.primary:hover {background:#254dcc}
.ops-root .table-wrap {width:100%;overflow-x:auto;scrollbar-width:thin}
.ops-root table {width:100%;border-collapse:collapse;line-height:1.45;font-size:13px;color:#364762;font-variant-numeric:tabular-nums}
.ops-root th,.ops-root td {vertical-align:middle;text-align:left;white-space:nowrap;padding:12px 14px}
.ops-root th:first-child,.ops-root td:first-child {padding-left:20px}
.ops-root th:last-child,.ops-root td:last-child {padding-right:20px}
.ops-root th {background:#f6f8fc;color:#536582;font-size:11.5px;font-weight:580;border-top:1px solid var(--op-rule);border-bottom:1px solid var(--op-rule)}
.ops-root td {border-bottom:1px solid #edf0f6}
.ops-root tr:last-child td {border-bottom:0}
.ops-root tr:hover td {background:#f7f9ff}
.ops-root th.ops-numeric,.ops-root td.ops-numeric {text-align:right}
.ops-root td.ops-numeric {color:#283854}
.ops-root .ops-record {display:inline-flex;align-items:flex-start;flex-direction:column;background:none;color:#263e75;border:0;padding:3px 0;font:inherit;text-align:left;cursor:pointer}
.ops-root .ops-record:hover b {color:var(--op-blue);text-decoration:underline;text-underline-offset:3px}
.ops-root .ops-record b,.ops-primary-text {display:block;color:var(--op-ink);font-weight:610}
.ops-code,.ops-caption {display:block;margin-top:4px;color:var(--op-muted);font-size:11.5px;font-variant-numeric:tabular-nums}
.ops-root .table-wrap .btn,.ops-timeline .btn {min-height:27px;padding:3px 5px;color:var(--op-blue);background:none;border:0;box-shadow:none}
.ops-root .table-wrap .btn:hover,.ops-timeline .btn:hover {background:#eaf0ff}
.ops-root .ops-badge {display:inline-flex;align-items:center;gap:5px;white-space:nowrap;padding:3px 7px;border-radius:5px;font-size:11.5px;font-weight:550;line-height:1.45;color:#58677c;background:#eef1f6}
.ops-badge::before {content:"";width:5px;height:5px;border-radius:50%;background:currentColor}
.ops-root .ops-badge.is-blue {color:#315bc0;background:#edf2ff}
.ops-root .ops-badge.is-good {color:#227354;background:#e9f5ed}
.ops-root .ops-badge.is-warn {color:#935207;background:#fff3dd}
.ops-root .ops-badge.is-bad {color:#b24442;background:#fceced}
.ops-progress {display:inline-grid;gap:6px;min-width:100px;width:100%;max-width:144px;vertical-align:middle}
.ops-progress>span:first-child {display:flex;justify-content:space-between;align-items:center;gap:14px}
.ops-progress b {font-size:12px;color:#3c4b64;font-weight:550}
.ops-progress small {font-size:11px;color:#64738b}
.ops-track {display:block;width:100%;height:5px;border-radius:3px;background:#e7ecf5;overflow:hidden}
.ops-track i {display:block;height:100%;background:#456ad9;border-radius:inherit}
.ops-facts {display:grid;margin:0;padding:2px 20px 19px;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:18px 20px}
.ops-facts dt {margin:0}
.ops-facts dd {margin:4px 0 0;font-size:15px;font-weight:600;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.ops-facts .ops-code {font-size:14px;font-weight:590;color:#36466a}
.ops-note {margin:0 20px 18px;padding:8px 11px;border:1px solid #f3dfb8;border-radius:6px;color:#8c520e;background:#fffaef;font-size:13px;line-height:1.6}
.ops-empty {text-align:center;color:var(--op-muted);padding:33px 16px}
.ops-timeline {margin:0;padding:0 20px 13px;list-style:none}
.ops-timeline li {position:relative;display:grid;grid-template-columns:22px minmax(75px,1.1fr) repeat(2,minmax(93px,1fr)) minmax(72px,.8fr) auto;gap:12px;align-items:center;min-height:59px}
.ops-timeline li+li {border-top:1px solid #edf0f6}
.ops-timeline li:not(:last-child)::after {content:"";position:absolute;left:9px;top:calc(50% + 10px);height:calc(100% - 18px);width:2px;background:#e0e6f0}
.ops-timeline li.done:not(:last-child)::after {background:#b4ddce}
.ops-timeline-marker {position:relative;z-index:1;display:grid;place-items:center;width:20px;height:20px;border:1px solid #cbd4e1;background:#f2f5fa;border-radius:50%;color:#8090a6}
.ops-timeline-marker>i {height:6px;width:6px;border-radius:50%;background:currentColor}
.ops-timeline .done .ops-timeline-marker {background:#e1f3eb;border-color:#c1e5d5;color:#167454}
.ops-timeline .current .ops-timeline-marker {background:#e8efff;border-color:#a9befa;color:var(--op-blue)}
.ops-timeline .ops-glyph {width:13px;height:13px;stroke-width:2.2}
.ops-timeline .ops-badge {justify-self:start}
.ops-timeline-stage b,.ops-timeline-date span {display:block;font-size:13px}
.ops-timeline-stage small,.ops-timeline-date small {color:var(--op-muted);font-size:11px}
.ops-tabs {display:flex;gap:16px;border-bottom:1px solid var(--op-rule);padding:0 20px;overflow:auto}
.ops-tabs>button {display:inline-flex;align-items:center;gap:6px;white-space:nowrap;padding:8px 1px 10px;background:none;border:0;border-bottom:2px solid transparent;color:var(--op-secondary);font-size:13px;font-weight:550}
.ops-tabs>button[aria-pressed=true] {color:var(--op-blue);border-bottom-color:var(--op-blue)}
.ops-tabs>button[aria-pressed=true] .ops-count {color:#365ac1;background:#ecf1ff}
.ops-tabbody[hidden] {display:none}
.ops-tabactions {padding:12px 20px;display:flex;justify-content:flex-end}
.ops-root :is(button,a,select):focus-visible {outline:2px solid #6388ff;outline-offset:2px}
@media(max-width:1080px) {
  .ops-metric {padding:0 14px}
  .ops-root td,.ops-root th {padding:10px}
  .ops-root td:first-child,.ops-root th:first-child {padding-left:14px}
  .ops-root td:last-child,.ops-root th:last-child {padding-right:14px}
  .ops-section {padding:15px 14px}
  .ops-section+.ops-tools,.ops-tabbody>.ops-tools {padding-left:14px;padding-right:14px}
  .ops-progress {min-width:79px}
}
@media(max-width:680px) {
  .ops-root {gap:13px}
  .ops-root .ops-summary {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:0}
  .ops-metric {padding:13px}
  .ops-metric:nth-child(odd) {border-left:0}
  .ops-metric:nth-child(n+3) {border-top:1px solid var(--op-rule)}
  .ops-section {flex-wrap:wrap}
  .ops-section>.ops-controls {width:100%;margin-left:0}
  .ops-root input.ops-filter {width:170px}
  .ops-root .ops-search {max-width:100%}
  .ops-controls {gap:6px}
  .ops-facts {grid-template-columns:repeat(2,minmax(0,1fr));padding:3px 14px 16px;gap:15px}
  .ops-timeline {padding:0 14px 12px}
  .ops-timeline li {grid-template-columns:19px 1fr 1fr auto;gap:3px 9px;padding:9px 0}
  .ops-timeline-marker {grid-column:1;grid-row:1}
  .ops-timeline-stage {grid-column:2;grid-row:1}
  .ops-timeline-date {grid-row:2}
  .ops-timeline-date:nth-of-type(2) {grid-column:2}
  .ops-timeline-date:nth-of-type(3) {grid-column:3}
  .ops-timeline li>.ops-badge {grid-row:1;grid-column:3}
  .ops-timeline .btn {grid-row:1;grid-column:4}
  .ops-timeline li:not(:last-child)::after {top:33px;height:calc(100% - 20px)}
  .ops-tabs {padding:0 14px;gap:13px}
}

.ops-date-block {display:grid;gap:3px;justify-items:start;min-width:112px}
.ops-date-block>span:not(.ops-badge) {display:flex;gap:8px;align-items:baseline}
.ops-date-block small,.ops-date-source {font-size:11px;color:var(--op-muted)}
.ops-date-block time {color:#35415b;font-size:12px;font-variant-numeric:tabular-nums}
.ops-date-block .ops-badge {margin-top:3px}
.ops-root .ops-blocker {color:#8e5512}
.ops-root .ops-project-table td:first-child {white-space:normal;min-width:130px}
.ops-project-table .ops-record .ops-caption {margin:1px 0 0}
.ops-schedule {padding:0 20px 20px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.ops-schedule>div {border:1px solid var(--op-rule);border-radius:8px;padding:13px 16px}
.ops-schedule h4 {margin:0 0 10px;color:var(--op-ink);font-size:14px}
.ops-schedule .ops-date-block {grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;align-items:start}
.ops-schedule .ops-date-block>span:not(.ops-badge) {flex-direction:column;gap:2px}
.ops-schedule .ops-date-block time {font-size:14px}
.ops-date-source {display:block;margin-top:5px}
@media(max-width:680px){
  .ops-root .ops-project-table table,.ops-project-table tbody {display:block;width:100%}
  .ops-project-table thead {position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}
  .ops-project-table tr {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 12px;padding:14px;border-top:1px solid var(--op-rule)}
  .ops-root .ops-project-table td,.ops-root .ops-project-table td:first-child,.ops-root .ops-project-table td:last-child {display:block;min-width:0;width:auto;border:0;background:transparent;padding:0;white-space:normal}
  .ops-project-table td:nth-child(1) {grid-column:1;grid-row:1}
  .ops-project-table td:nth-child(2) {grid-column:1 / -1;grid-row:3}
  .ops-project-table td:nth-child(3) {grid-column:1;grid-row:2}
  .ops-project-table td:nth-child(4) {grid-column:2;grid-row:2}
  .ops-project-table td:nth-child(5) {grid-column:2;grid-row:1;text-align:right}
  .ops-project-table td:nth-child(3)::before,.ops-project-table td:nth-child(4)::before {display:block;font-size:12px;font-weight:610;color:#33435e;margin-bottom:4px}
  .ops-project-table td:nth-child(3)::before {content:"到料时间"}
  .ops-project-table td:nth-child(4)::before {content:"交货时间"}
  .ops-project-table .ops-progress {max-width:none;grid-template-columns:auto minmax(50px,100px);width:auto;align-items:center;gap:9px}
  .ops-project-table .ops-date-block {min-width:0}
  .ops-schedule {padding:0 14px 15px;gap:9px}
  .ops-schedule>div {padding:10px;min-width:0}
  .ops-schedule .ops-date-block {grid-template-columns:1fr}
}
.ops-project-types{display:flex;align-items:center;gap:4px;flex-wrap:wrap;width:fit-content;max-width:100%;padding:4px;border:1px solid #dce3ef;border-radius:10px;background:#eaf0f9}
.ops-project-types a{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:34px;padding:6px 13px;border-radius:7px;color:var(--op-secondary);font-size:13px;font-weight:600;text-decoration:none}
.ops-project-types a:hover{color:var(--op-blue);background:#f4f7ff}
.ops-project-types a[aria-current=page]{color:#244cbe;background:#fff;box-shadow:0 1px 4px rgb(28 53 96 / 13%)}
.ops-project-types a[aria-current=page] .ops-count,.ops-type-label{background:#eaf0ff;color:#3157c2}
.ops-type-label{border-radius:5px;padding:3px 8px;font-size:12px;font-weight:600}
.ops-row-actions{display:flex;gap:6px;flex-wrap:wrap}
.ops-project-drop{margin:0 20px 12px;padding:16px;border:1px dashed #a7bce5;border-radius:8px;text-align:center;color:var(--op-secondary);background:#f8faff}
.ops-project-drop.is-over{background:#e8efff;border-color:#315de4}
.ops-file-message{margin:0 20px;white-space:pre-line;color:var(--op-secondary);overflow-wrap:anywhere}
.ops-file-message:not(:empty){margin-bottom:12px}
@media(max-width:680px){.ops-project-table td:nth-child(6){grid-column:1 / -1}.ops-project-drop{margin:0 14px 10px}}
@media(max-width:500px){.ops-project-types{gap:2px}.ops-project-types a{gap:4px;padding:5px 8px}.ops-project-types .ops-count{min-width:17px}}

