.hermes-repair-overlay{position:fixed;inset:0;z-index:14000;background:#03090ee8;display:flex;align-items:center;justify-content:center;padding:22px;color:#dce8ed;font:14px/1.5 var(--font-body,system-ui,sans-serif)}
.hermes-repair-overlay[hidden],.hermes-repair-overlay [hidden]{display:none!important}
.hermes-repair-console{width:min(1040px,100%);height:min(850px,94dvh);display:flex;flex-direction:column;position:relative;overflow:hidden;background:#0b151c;border:1px solid #2c4855;border-radius:12px;box-shadow:0 24px 90px #0009}
.hermes-repair-console header{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:16px 20px;border-bottom:1px solid #29414a;flex-shrink:0}
.hr-heading small{font-size:10px;letter-spacing:.16em;color:#80c4d4}.hr-heading h2{font:600 19px/1.3 var(--font-body,system-ui,sans-serif);margin:3px 0 5px;color:#edf8ff}.hr-heading span{font-size:12px;color:#a8bbc6}.hr-heading #hr-connection{margin-left:12px;color:#7da1ac}
.hr-controls{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}.hermes-repair-console button{font:600 11px/1.3 var(--font-body,system-ui,sans-serif);letter-spacing:.05em;color:#c4e4ec;background:#11242d;border:1px solid #3b5d6a;border-radius:6px;padding:9px 12px;cursor:pointer;white-space:nowrap}.hermes-repair-console button:hover{background:#1e3e4b}.hermes-repair-console button:disabled{opacity:.4;cursor:default}.hermes-repair-console button:focus-visible,.hermes-repair-console textarea:focus-visible,.hermes-repair-console select:focus-visible{outline:2px solid #77d6ec;outline-offset:2px}
#hr-stop{border-color:#957749;color:#f1d39e}#hr-finish{border-color:#905e5e;color:#f2bfbf}#hr-state[data-state=starting]::before{content:'';display:inline-block;width:8px;height:8px;margin-right:7px;background:#91d5e3;border-radius:50%;animation:hr-pulse 1s infinite alternate}@keyframes hr-pulse{to{opacity:.25}}
.hr-history{flex:1;min-height:100px;overflow:auto;overscroll-behavior:contain;padding:20px;scrollbar-width:thin;scrollbar-color:#345563 #0b151c}.hr-message{white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 15px;max-width:95%;padding:10px 13px;border-left:2px solid #395764;background:#10212a;font-size:14px}.hr-user{margin-left:8%;border-left-color:#84c8da;background:#17313c}.hr-assistant{border-left-color:#68a2b4;background:transparent}.hr-notice{font-size:12px;color:#9bb3be;background:transparent;border-left:0;padding:3px 0}.hr-error{color:#f5b2aa}.hr-summary{border-color:#71a78c;background:#132a23}
.hr-activity{margin:7px 0 13px;background:#0e1d24;border:1px solid #213b47;border-radius:5px;padding:8px 11px;font-size:12px;color:#a1bfcc}.hr-activity summary{cursor:pointer}.hermes-repair-console pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:300px;overflow:auto;font:11px/1.5 Consolas,monospace;color:#b5c6ce}.hr-proposal{flex-shrink:0;max-height:34%;overflow:auto;padding:12px 20px;background:#172b30;border-block:1px solid #476c72;font-size:12px}.hr-proposal summary{cursor:pointer;font-weight:600}.hr-proposal strong{display:block;margin-top:9px;color:#d9eaee}.hr-proposal p{margin:3px 0 5px;white-space:pre-wrap;overflow-wrap:anywhere}.hr-proposal button{margin:10px 8px 0 0}.hr-proposal button:first-of-type{background:#1f5149;border-color:#5c9f8a}
.hr-error[role=alert]{padding:8px 20px;border-top:1px solid #693e3e;max-height:100px;overflow:auto;font-size:12px}#hr-form{display:flex;gap:10px;padding:14px 20px 9px;margin:0;border-top:1px solid #29414a;flex-shrink:0}#hr-input{resize:vertical;min-height:50px;max-height:150px;flex:1;width:0;background:#071117;color:#e2edf0;border:1px solid #36515e;border-radius:6px;padding:10px;font:14px/1.4 var(--font-body,system-ui,sans-serif)}#hr-send{align-self:flex-end}
.hermes-repair-console footer{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 20px 12px;flex-shrink:0;min-height:32px}#hr-queue{font-size:10px;color:#78939f}.hr-pills{display:flex;gap:7px;align-items:center;margin-left:auto}.hr-pill-wrap{position:relative}.hermes-repair-console .hr-pill{border-radius:999px;padding:5px 10px;font-size:10px;letter-spacing:0;max-width:260px;overflow:hidden;text-overflow:ellipsis;background:#10212a;border-color:#304c59;color:#a8c3d0}.hr-popover{position:absolute;bottom:35px;right:0;width:300px;max-width:calc(100vw - 46px);padding:15px;background:#10232d;border:1px solid #426571;border-radius:9px;box-shadow:0 9px 30px #0009;z-index:5;max-height:55dvh;overflow:auto;font-size:12px}.hr-popover strong{font-size:13px}.hr-popover p{font-size:10px;color:#99aeb9;margin:7px 0 10px}.hr-popover label{display:block;margin:10px 0;color:#acbec7}.hr-popover select{display:block;width:100%;padding:8px;margin-top:4px;background:#07161e;border:1px solid #375965;color:#e1edf2;border-radius:4px}.hr-popover small{display:block;font-size:10px;color:#99aeb9}.hr-usage-row{margin-top:12px;color:#9fb7c2}.hr-popover b{font-weight:500;color:#dfedf1}.hr-history-picker{padding:10px 20px;max-height:200px;overflow:auto;flex-shrink:0;border-bottom:1px solid #35505c}.hr-history-picker button{display:block;width:100%;text-align:left;margin:5px 0}.hr-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
@media(max-width:640px){.hermes-repair-overlay{padding:6px}.hermes-repair-console{height:98dvh;border-radius:8px}.hermes-repair-console header{padding:11px;align-items:flex-start;flex-direction:column;gap:8px}.hr-heading h2{font-size:16px}.hr-controls{width:100%;justify-content:flex-start}.hermes-repair-console button{padding:8px 9px}.hr-history{padding:12px}.hr-proposal{padding:10px 12px;max-height:32%}#hr-form{padding:10px 10px 8px}.hermes-repair-console footer{padding:0 10px 10px;flex-wrap:wrap}#hr-queue{width:100%}.hr-pills{margin-left:auto}.hermes-repair-console .hr-pill{max-width:230px}.hr-popover{position:fixed;right:15px;bottom:65px;max-width:calc(100vw - 30px)}.hr-message{max-width:100%}}
