body.monitor-page{--bg:#f5f7f9;--text:#263443;--muted:#627182;--line:#e2e8ec;--card:#ffffff;background:var(--bg);color:var(--text)}
.monitor-page .top{background:#ffffff;border-color:#e2e8ec;color:#263443;gap:24px}.monitor-page .top .logo{letter-spacing:-.5px}.monitor-page .top nav a.active{background:#eaf6f1;color:#16765f}.monitor-page .top button{background:transparent;color:#627182;border-color:#e2e8ec}.monitor-page main{max-width:1800px;padding:30px 28px 35px}.monitor-page input,.monitor-page select{background:#ffffff;border-color:#e2e8ec;color:#263443}.monitor-page button:focus-visible,.monitor-page a:focus-visible{outline:2px solid #16765f;outline-offset:3px}
.mc-shell{font-size:14px}.mc-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px}.mc-eyebrow{font-size:10px;font-weight:700;letter-spacing:2px;color:#16765f;margin-bottom:10px}.mc-heading h1{font-size:29px;letter-spacing:-1px;display:flex;align-items:center;gap:15px;margin:0}.mc-heading p{color:#627182;margin:9px 0 0;font-size:13px}.mc-live{font-size:10px;letter-spacing:0;color:#16765f;border:1px solid #baded0;border-radius:20px;padding:4px 9px;background:#eaf6f1}.mc-live.off{color:#865c19;border-color:#ead8b3;background:#fff8eb}.mc-switch{display:flex;border:1px solid #e2e8ec;border-radius:9px;padding:4px;flex-shrink:0}.mc-shell button{font:inherit;background:transparent;color:inherit;border:1px solid #e2e8ec;border-radius:8px;font-weight:500}.mc-switch button{border:0;padding:8px 15px;font-size:12px;color:#627182}.mc-switch button.on{background:#eaf6f1;color:#16765f}.mc-metrics{display:grid;grid-template-columns:1.1fr 1.2fr 1fr 1fr 1fr;gap:12px;margin-bottom:20px}.mc-metric{border:1px solid #e2e8ec;background:linear-gradient(120deg,#ffffff,#ffffff);padding:17px 18px;border-radius:12px;min-width:0}.mc-metric>span{color:#627182;font-size:11px}.mc-metric strong{display:block;font-size:24px;letter-spacing:-.6px;margin:7px 0}.mc-metric strong.mc-clock{font-size:18px;margin:13px 0}.mc-metric em{font-style:normal;color:#627182;font-size:12px;margin-left:8px}.mc-metric small{display:block;color:#627182;font-size:10px}.mc-layout{display:grid;grid-template-columns:230px minmax(0,1fr) 275px;gap:16px;align-items:start}.mc-panel{background:#ffffff;border:1px solid #e2e8ec;border-radius:12px;padding:20px;min-width:0}.mc-panel h2{font-size:14px;margin:0}.mc-panel h3{font-size:12px}.mc-section-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.mc-section-head>span{font-size:11px;color:#627182;background:#f1f5f7;padding:2px 7px;border-radius:5px}.mc-sidebar{padding:17px 12px}.mc-sidebar .mc-section-head{padding:0 7px}.mc-sidebar input{font-size:12px;margin-bottom:12px;padding:9px}.mc-group h3{font-size:10px;text-transform:uppercase;letter-spacing:.6px;color:#627182;display:flex;justify-content:space-between;margin:18px 8px 8px}.mc-project{width:100%;display:block;text-align:left!important;padding:10px!important;border:1px solid transparent!important;margin:3px 0}.mc-project b{display:block;font-weight:550;font-size:12px;margin-bottom:4px}.mc-project small{font-size:10px;display:flex;align-items:center;gap:6px;color:#627182}.mc-project:hover{background:#f1f5f7}.mc-project.selected{background:#eaf6f1;border-color:#baded0!important;color:#16765f}.mc-lamp{display:inline-block;width:6px;height:6px;border-radius:50%;background:#627182;flex-shrink:0}.mc-lamp.running{background:#16765f;box-shadow:0 0 9px #16765f33;animation:mc-pulse 1.8s infinite}.mc-lamp.started{background:#3979b9}.mc-lamp.waiting,.mc-lamp.queued{background:#bd841f}.mc-lamp.error{background:#ce4557;box-shadow:0 0 7px #ce455733}.mc-lamp.completed,.mc-lamp.idle,.mc-lamp.turn_complete{background:#6a8c82}.mc-lamp.disconnected,.mc-lamp.stale{background:#a27535}.mc-return{display:block;font-size:11px;color:#16765f;padding:16px 8px 4px}.mc-center{display:grid;gap:16px;min-width:0}.mc-active-list{display:flex;gap:10px;flex-wrap:wrap}.mc-active-list button{padding:10px 13px;text-align:left;background:#eaf6f1;border-color:#baded0}.mc-active-list b{font-size:12px;display:block}.mc-active-list small{display:flex;align-items:center;gap:6px;font-size:10px;color:#16765f;margin-top:5px}.mc-empty{padding:17px 8px;color:#627182;font-size:12px;line-height:1.9}.mc-empty small{font-size:11px;color:#627182}.mc-work-title{position:relative;padding-bottom:18px;border-bottom:1px solid #e2e8ec}.mc-work-title h2{font-size:22px;letter-spacing:-.6px}.mc-work-title p{color:#627182;font-size:12px;margin:7px 0}.mc-status{display:flex;gap:6px;align-items:center;color:#627182;font-size:11px;margin-top:12px}.mc-tabs{display:flex;gap:20px;margin:20px 0 10px;border-bottom:1px solid #e2e8ec}.mc-tabs button{border:0;border-radius:0;font-size:12px;color:#627182;padding:0 0 12px}.mc-tabs button.on{color:#16765f;border-bottom:2px solid #16765f}.mc-flow{display:flex;align-items:center;padding:25px 0 30px;overflow-x:auto;gap:0}.mc-step{flex:1;min-width:125px;text-align:left;padding:15px 12px!important;background:#ffffff!important;border-color:#e2e8ec!important;display:flex;flex-direction:column;gap:9px}.mc-step.focus{outline:1px solid #baded0;background:#eaf6f1!important}.mc-step.running{border-color:#16765f!important;box-shadow:0 0 20px #16765f14}.mc-step b{font-size:12px;font-weight:600}.mc-step small{display:flex;align-items:center;gap:6px;font-size:10px;color:#627182}.mc-step-no{font-family:ui-monospace,monospace;font-size:9px;letter-spacing:1px;color:#627182}.mc-role{font-size:9px;color:#627182}.mc-wire{flex:0 0 22px;text-align:center;color:#627182}.mc-wire.lit{color:#16765f;text-shadow:0 0 7px #16765f}.mc-muted{color:#627182}.mc-small{font-size:11px;line-height:1.8}.mc-detail{font-size:11px}.mc-detail h2{font-size:16px;margin-bottom:22px}.mc-detail dt{color:#627182;font-size:10px;margin-top:16px}.mc-detail dd{margin:5px 0 0;color:#263443;line-height:1.8;overflow-wrap:anywhere}.mc-detail h3{margin-top:25px;padding-top:15px;border-top:1px solid #e2e8ec}.mc-event{border-left:1px solid #e2e8ec;margin:13px 0;padding:0 0 0 12px}.mc-event time{display:block;color:#627182;font-size:9px}.mc-event b{display:block;font-size:11px;font-weight:500;color:#263443;margin:5px 0}.mc-event small{display:block;color:#627182;font-size:10px}.mc-coverage h2{margin-bottom:14px}.mc-source{display:inline-block;font-size:10px;border:1px solid #ead8b3;color:#865c19;padding:5px 7px;border-radius:6px;margin:0 6px 6px 0}.mc-source.ok{color:#16765f;border-color:#baded0}.mc-source b{font-weight:500;margin-right:5px}.mc-sessions{margin-top:18px}.mc-session-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(235px,1fr));gap:10px;max-height:310px;overflow:auto}.mc-session{text-align:left;padding:14px!important;display:flex;flex-direction:column;gap:9px;background:#ffffff!important}.mc-session>div{display:flex;justify-content:space-between;gap:10px;font-size:10px}.mc-session>div>span{display:flex;align-items:center;gap:5px;color:#627182}.mc-session strong{font-size:12px;color:#263443;font-weight:500}.mc-session code{font-size:10px;color:#627182}.mc-session small{font-size:10px;color:#627182}.mc-session.unassigned{border-style:dashed;border-color:#ead8b3}.mc-session.unassigned strong{color:#865c19}.mc-footer{display:flex;justify-content:space-between;color:#627182;letter-spacing:1px;font-size:9px;padding-top:20px}.mc-notice{border:1px solid #ead8b3;background:#fff8eb;color:#865c19;padding:12px 16px;border-radius:9px;font-size:12px;margin-bottom:16px}.mc-notice.demo{border-color:#c6d8ef;background:#eef4fc;color:#365d87}.mc-demo-controls{background:#f3f7fc;border:1px dashed #c6d8ef;border-radius:8px;padding:14px}.mc-demo-controls label{font-size:11px;color:#627182}.mc-demo-controls select{margin:7px 0 13px}.mc-demo-controls button{font-size:11px;padding:7px;margin:0 5px 5px 0}.mc-demo-controls p{font-size:10px;color:#627182}.mc-run-list h3{color:#263443}.mc-run-list h3 span{font-weight:400;color:#627182}.mc-run-list>div{display:flex;gap:8px;flex-wrap:wrap;border-top:1px solid #e2e8ec;padding:10px 0;font-size:10px}.mc-run-list code{color:#627182}.mc-run-list span{display:flex;align-items:center;gap:5px}.mc-run-list small{color:#627182}.mc-loading{padding:60px;text-align:center;color:#16765f}
@keyframes mc-pulse{50%{opacity:.5}}
@media(min-width:1600px){.mc-layout{grid-template-columns:250px minmax(0,1fr) 310px}}
@media(max-width:1150px){.mc-layout{grid-template-columns:210px minmax(0,1fr)}.mc-detail{grid-column:1/-1;display:block}.mc-detail dl{display:grid;grid-template-columns:160px 1fr}.mc-detail dt,.mc-detail dd{margin:5px}.mc-metrics{grid-template-columns:repeat(3,1fr)}}
@media(max-width:700px){.monitor-page .top{gap:8px;flex-wrap:wrap;padding:10px 12px}.monitor-page .top .logo{font-size:15px}.monitor-page .top nav{order:3;width:100%;gap:5px;overflow:auto}.monitor-page .top nav a{font-size:12px;white-space:nowrap;padding:6px 8px}.monitor-page main{padding:20px 12px}.mc-heading{display:block}.mc-heading h1{font-size:23px}.mc-heading p{font-size:11px}.mc-switch{margin-top:16px;width:max-content}.mc-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.mc-metric{padding:12px}.mc-metric strong{font-size:19px}.mc-metric strong.mc-clock{font-size:14px}.mc-metric:last-child{grid-column:1/-1}.mc-layout{display:flex;flex-direction:column}.mc-layout>*{width:100%}.mc-sidebar{max-height:310px;overflow:auto}.mc-group{display:flex;gap:6px;flex-wrap:wrap}.mc-group h3{width:100%}.mc-project{width:calc(50% - 3px);min-width:0}.mc-panel{padding:16px}.mc-flow{flex-direction:column;align-items:stretch;overflow:visible}.mc-step{min-width:0}.mc-wire{transform:rotate(90deg);flex-basis:24px}.mc-footer{flex-direction:column;gap:8px}.mc-detail dl{grid-template-columns:100px 1fr}.mc-session-grid{grid-template-columns:1fr}.mc-live{font-size:9px;padding:3px 6px}.mc-heading h1{gap:8px}}
@media(prefers-reduced-motion:reduce){.mc-shell *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

@media(min-width:701px){.mc-sidebar{max-height:780px;overflow:auto;scrollbar-color:#e2e8ec #ffffff}.mc-detail{max-height:780px;overflow:auto;scrollbar-color:#e2e8ec #ffffff}}
.monitor-page .modal-box{background:#ffffff;color:#263443;border:1px solid #e2e8ec}.monitor-page .modal-box button{background:#eaf6f1;color:#16765f;border-color:#baded0}

/* Light workspace: restrained borders, readable type and clear hierarchy. */
.monitor-page{color-scheme:light}.monitor-page .top{padding-top:15px;padding-bottom:15px}.monitor-page .top nav a.active{font-weight:700}.mc-panel,.mc-metric{box-shadow:0 3px 15px #23344304;border-radius:16px}.mc-metrics{gap:16px;margin-bottom:26px}.mc-panel{padding:24px}.mc-panel h2{font-size:17px}.mc-heading{margin-bottom:30px}.mc-heading h1{font-size:30px}.mc-heading p{font-size:14px}.mc-eyebrow{letter-spacing:.5px;font-size:12px}.mc-sidebar{padding:20px 12px}.mc-sidebar input{font-size:14px}.mc-project{padding:12px!important}.mc-project b{font-size:14px}.mc-project small{font-size:12px}.mc-group h3{font-size:12px;letter-spacing:0}.mc-metric>span{font-size:13px}.mc-metric small{font-size:12px;line-height:1.6}.mc-metric strong{font-size:27px}.mc-step{min-width:135px;padding:19px 15px!important;border-radius:12px!important}.mc-step.focus{outline:none;border-color:#9acfb9!important;box-shadow:0 0 0 2px #eaf6f1}.mc-step b{font-size:14px}.mc-step small,.mc-role{font-size:12px}.mc-step-no{font-size:11px;letter-spacing:0}.mc-tabs button{font-size:14px}.mc-small,.mc-detail{font-size:13px}.mc-detail dt{font-size:12px}.mc-detail h2{font-size:18px}.mc-event b{font-size:13px}.mc-event small,.mc-event time{font-size:12px}.mc-session{border-radius:12px!important}.mc-session strong{font-size:14px}.mc-session small,.mc-session code,.mc-session>div{font-size:12px}.mc-source{font-size:12px;padding:6px 9px}.mc-empty{font-size:14px}.mc-empty small{font-size:12px}.mc-status,.mc-live{font-size:12px}.mc-return{font-size:13px}.mc-notice{font-size:13px}.mc-footer{letter-spacing:0;font-size:11px}.mc-work-title p{font-size:14px}.mc-switch button{font-size:13px}.monitor-page .modal-box button{background:#16765f;color:#fff;border-color:#16765f}
@media(max-width:700px){.mc-heading h1{font-size:24px;flex-wrap:wrap}.mc-panel{padding:18px}.mc-metrics{gap:10px}.mc-metric strong{font-size:24px}.mc-metric small{font-size:11px}.mc-project{padding:10px!important}.mc-step{min-width:0}.mc-project b{font-size:13px}.mc-project small{font-size:11px}.mc-detail dl{grid-template-columns:95px minmax(0,1fr)}}
