.harness-view{--hv-bg:var(--am-bg,#0f1621);--hv-panel:var(--am-surface,#141c28);--hv-violet:var(--am-surface-violet,#191c30);--hv-line:var(--am-border,#293246);--hv-text:var(--am-text,#eceeff);--hv-muted:var(--am-muted,#aebacd);--hv-purple:var(--am-action,#8b5cf6);--hv-cyan:var(--am-cyan,#6fdcea);box-sizing:border-box;display:grid;grid-template-columns:72px minmax(0,1fr);width:100%;min-height:100%;color:var(--hv-text);background:var(--hv-bg);font:13px/1.45 var(--nos-font-ui,Inter,system-ui,sans-serif);color-scheme:dark}
.harness-view *{box-sizing:border-box}.harness-view button,.harness-view input,.harness-view select{font:inherit}.harness-view button{cursor:pointer}.harness-view button:disabled{cursor:not-allowed;opacity:.48}.harness-view :focus-visible{outline:2px solid var(--hv-cyan);outline-offset:2px}.harness-view .hv-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.hv-rail{border-right:1px solid var(--hv-line);background:#10192a;display:flex;align-items:center;flex-direction:column;gap:19px;padding:15px 8px}.hv-rail__brand{display:grid;place-items:center;width:43px;height:43px;border:1px solid #8c65f5;border-radius:11px;background:#0b1021;color:#ded1ff;box-shadow:0 0 12px #7c4dca66;font-size:15px;font-weight:700;letter-spacing:-1px}.hv-rail__label{writing-mode:vertical-rl;color:#7988aa;letter-spacing:.22em;font-size:9px}.hv-rail__current{display:grid;justify-items:center;gap:6px;padding:8px 3px;width:100%;border-radius:8px;background:#281c55;color:#cfc5ff;font-size:23px}.hv-rail__current span{font-size:9px;text-align:center;line-height:1.15}
.hv-workspace{min-width:0;padding:17px 19px 24px}.hv-head{display:flex;justify-content:space-between;gap:16px;align-items:start;margin-bottom:16px}.hv-head h1{font-size:23px;line-height:1.18;font-weight:650;letter-spacing:-.035em;margin:3px 0}.hv-head h1 span{font-weight:450;color:#d8d6ed}.hv-head p{margin:0;color:var(--hv-muted);font-size:11px}.hv-head .hv-kicker{color:#9b84e6;font-size:9px;letter-spacing:.18em;font-weight:750}.hv-kicker span{padding:0 5px;color:#657393}.hv-icon-button{border:1px solid var(--hv-line);background:var(--hv-panel);color:var(--hv-cyan);border-radius:8px;width:34px;height:34px;font-size:20px;line-height:1}.hv-icon-button:hover,.hv-actions button:hover:not(:disabled){border-color:var(--hv-purple)}
.hv-summary{display:grid;grid-template-columns:1fr 1fr 1.25fr;gap:8px;margin-bottom:9px}.hv-summary__card{min-width:0;min-height:76px;padding:10px 12px;background:linear-gradient(120deg,#172235,#111b2b);border:1px solid var(--hv-line);border-radius:8px}.hv-meter__top{display:flex;justify-content:space-between;gap:12px;font-size:11px}.hv-meter__top span,.hv-dependencies>span:first-child{color:#d3dbec}.hv-meter__top strong{font-weight:600;font-variant-numeric:tabular-nums}.hv-meter__track{height:8px;margin-top:13px;border-radius:6px;background:#23334a;overflow:hidden}.hv-meter__track i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#42cbec,#6de5ea)}.hv-dependencies{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px}.hv-dependencies strong{font-size:14px;font-variant-numeric:tabular-nums}.hv-dependencies__line{white-space:nowrap;color:var(--hv-cyan);letter-spacing:1px}
.hv-columns{display:grid;grid-template-columns:minmax(0,1.68fr) minmax(280px,.76fr);gap:9px;align-items:stretch}.hv-main{min-width:0;display:grid;grid-template-rows:minmax(275px,auto) minmax(140px,auto);gap:9px}.hv-panel{min-width:0;background:var(--hv-panel);border:1px solid var(--hv-line);border-radius:9px;overflow:hidden}.hv-panel__heading{min-height:43px;padding:10px 12px;border-bottom:1px solid var(--hv-line);display:flex;justify-content:space-between;gap:12px;align-items:center}.hv-panel h2{margin:0;font-size:13px;font-weight:650}.hv-panel h2 small{display:inline-grid;place-items:center;padding:1px 6px;border-radius:12px;background:#282244;color:#c4b0ff;margin-left:5px;font-size:10px}.hv-panel__heading>small{color:var(--hv-muted)}.hv-controls{display:flex;align-items:center;gap:8px}.hv-order{font-size:10px;color:#95a1b9}.hv-controls select{max-width:132px;min-height:29px;padding:4px 23px 4px 8px;color:#d8dcf0;border:1px solid #334058;border-radius:5px;background:#111c2d}.hv-search{display:block;padding:7px 11px;border-bottom:1px solid var(--hv-line)}.hv-search span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.hv-search input{height:28px;width:100%;padding:4px 9px;border:1px solid #2f3d55;border-radius:5px;background:#101a29;color:var(--hv-text);font-size:11px}.hv-search input::placeholder{color:#8998b2}
.hv-table-wrap{max-width:100%;overflow-x:auto}.hv-queue table{width:100%;border-collapse:collapse;text-align:left;min-width:620px}.hv-queue th{position:sticky;top:0;background:#111a2a;color:#9eabc2;font-size:10px;font-weight:500}.hv-queue th,.hv-queue td{padding:7px 9px;border-bottom:1px solid #263249;vertical-align:middle}.hv-queue td{font-size:11px}.hv-queue tbody tr:hover{background:#1b2640}.hv-queue tbody tr.is-selected{background:linear-gradient(90deg,#292157,#241c3c);box-shadow:inset 2px 0 0 #a97bff}.hv-queue td:first-child{width:28px;text-align:center;color:#8899ba;font-variant-numeric:tabular-nums}.hv-row-button{padding:0;text-align:left;color:var(--hv-text);background:none;border:none;font-weight:550;max-width:240px;overflow-wrap:anywhere}.hv-queue td small,.hv-row-button small{display:block;color:#8e9bb6;font-size:10px}.hv-status{display:inline-flex;align-items:center;gap:5px;border:1px solid #385070;background:#12263a;color:#82dbff;padding:2px 6px;border-radius:5px;white-space:nowrap;font-size:10px;font-weight:650}.hv-status:before{content:'';width:5px;height:5px;background:currentColor;border-radius:50%}.hv-status[data-state=accepted]{color:#73e0c8;border-color:#26594f;background:#102d2a}.hv-status[data-state=reported_complete],.hv-status[data-state=rework],.hv-status[data-state=hold]{color:#f2c576;border-color:#725526;background:#342817}.hv-status[data-state=failed],.hv-status[data-state=blocked],.hv-status[data-state=stopped]{color:#ff7d9c;border-color:#75314c;background:#351a2a}.hv-status[data-state=ready]{color:#c6a5ff;border-color:#6546a0;background:#2b2048}.hv-empty{padding:15px;color:var(--hv-muted);font-size:11px}
.hv-journal ol{list-style:none;margin:0;padding:2px 11px 10px}.hv-journal li{display:grid;grid-template-columns:48px 8px minmax(0,1fr);gap:9px;align-items:start;padding:6px 2px;border-bottom:1px solid #263249;font-size:10px}.hv-journal time{color:#a3aec4;font-variant-numeric:tabular-nums}.hv-event-dot{width:7px;height:7px;margin-top:4px;border-radius:50%;background:var(--hv-cyan);box-shadow:0 0 5px #66dcea88}.hv-journal li small{display:block;color:#8899b2}.hv-journal .hv-empty{margin:0}
.hv-inspector{padding-bottom:13px;background:linear-gradient(155deg,#151e2f,#111a2a)}.hv-inspector h3{font-size:15px;line-height:1.2;margin:13px 12px 3px;overflow-wrap:anywhere}.hv-inspector__id{font-size:10px;color:#a5afd0;margin:0 12px 14px}.hv-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px 8px;padding:0 12px 14px;border-bottom:1px solid var(--hv-line)}.hv-facts div{min-width:0}.hv-facts span{display:block;color:#9da9bf;font-size:10px}.hv-facts strong{display:block;font-size:11px;font-weight:550;overflow-wrap:anywhere}.hv-inspector__section{padding:10px 12px;border-bottom:1px solid var(--hv-line)}.hv-inspector__section h4{font-size:10px;margin:0 0 4px;color:#dddaf2;font-weight:700}.hv-inspector__section p{font-size:11px;color:#bcc7dc;margin:0 0 5px;overflow-wrap:anywhere}.hv-actions{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:13px 12px 0}.hv-actions button{min-height:32px;padding:5px;border:1px solid #465170;border-radius:5px;background:#1d2943;color:#e4e8ff;font-size:11px}.hv-actions button:first-child{background:#5339ad;border-color:#7256d2}.hv-actions__stop{grid-column:1/-1}.hv-command-note{padding:0 12px;margin:9px 0 0;color:#9da9bf;font-size:10px;line-height:1.4}.hv-action-error,.hv-notice{margin:8px 12px;padding:8px 10px;border:1px solid #a14a68;border-radius:6px;background:#3b1d30;color:#ffc2d2;font-size:11px}.hv-notice{margin:0 0 9px;border-color:#726037;background:#2d291d;color:#f4d498}.hv-state{max-width:580px;margin:38px auto;padding:30px;border:1px solid var(--hv-line);border-radius:9px;background:var(--hv-panel)}.hv-state h2{font-size:18px;margin:0 0 8px}.hv-state p{color:var(--hv-muted)}.hv-state button{border:1px solid var(--hv-purple);border-radius:6px;padding:8px 13px;background:var(--hv-violet);color:var(--hv-text)}
@media(max-width:900px){.hv-columns{grid-template-columns:minmax(0,1fr)}.hv-main{grid-template-rows:auto auto}.hv-inspector{max-width:none}.hv-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.hv-dependencies__line{display:none}}
@media(max-width:520px){.harness-view{display:block}.hv-rail{display:none}.hv-workspace{padding:12px}.hv-head h1{font-size:19px}.hv-summary{grid-template-columns:1fr;gap:6px}.hv-summary__card{min-height:59px}.hv-summary__card .hv-meter__track{margin-top:8px}.hv-columns{display:block}.hv-main{display:block}.hv-panel{margin-bottom:8px}.hv-controls{gap:4px}.hv-order{display:none}.hv-panel__heading{gap:5px}.hv-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.hv-queue table,.hv-queue tbody{display:block;min-width:0}.hv-queue thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.hv-queue tbody tr{display:grid;grid-template-columns:20px minmax(0,1fr) auto;gap:2px 7px;padding:8px;border-bottom:1px solid #263249}.hv-queue th,.hv-queue td{border:0;padding:0}.hv-queue td:first-child{grid-column:1;grid-row:1/4;text-align:left;padding-top:1px}.hv-queue td:nth-child(2){grid-column:2;grid-row:1}.hv-queue td:nth-child(3){grid-column:2;grid-row:2;color:#9eabc2}.hv-queue td:nth-child(3):before{content:'Pôle : ';color:#8291ad}.hv-queue td:nth-child(4){grid-column:2;grid-row:3;color:#9eabc2}.hv-queue td:nth-child(4) small{display:inline;margin-left:5px}.hv-queue td:nth-child(5){grid-column:3;grid-row:1/3;text-align:right}.hv-queue td:nth-child(6){grid-column:3;grid-row:3;text-align:right;color:#9eabc2}.hv-queue td:nth-child(6):before{content:'Budget : ';color:#8291ad}}
@media(prefers-reduced-motion:no-preference){.hv-icon-button,.hv-actions button{transition:border-color .15s ease,background-color .15s ease}}
