/* Shared model/workflow activity pages: restore the original visual hierarchy. */
main:has(>.ma-root){display:block!important;overflow-y:auto!important;padding:4px 4px 4px 0!important}
.ma-root{--ma-muted:#7e7f82;--ma-border:rgba(255,255,255,.055);box-sizing:border-box;width:100%;min-width:0;min-height:100%;border:1px solid var(--ma-border);border-radius:16px;background:#111314;color:#eee;font:14px/1.5 Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.ma-root *{box-sizing:border-box}.ma-root a{color:inherit;text-decoration:none}.ma-root button,.ma-root select{font:inherit;color:inherit}.ma-root [hidden]{display:none!important}.ma-root button:disabled{opacity:.45}.ma-root a:focus-visible,.ma-root button:focus-visible,.ma-root select:focus-visible,.ma-root summary:focus-visible{outline:2px solid #c8ff16;outline-offset:4px}
.ma-header{display:flex;align-items:center;gap:8px;min-height:52px;padding:9px 16px;position:relative;z-index:2}.ma-header>a,.ma-header>span{color:var(--ma-muted)}.ma-header strong{font-weight:550;min-width:0;overflow-wrap:anywhere}.ma-variant{position:relative;flex-shrink:0}.ma-variant summary{display:flex;gap:12px;align-items:center;cursor:pointer;border:1px solid #2c2d2e;border-radius:8px;padding:6px 10px;list-style:none}.ma-variant summary::-webkit-details-marker{display:none}.ma-variant summary svg{width:12px;height:12px}.ma-variant-menu{position:absolute;top:calc(100% + 6px);left:0;min-width:190px;background:#202123;padding:6px;border:1px solid #333;border-radius:10px;box-shadow:0 12px 40px #0008}.ma-variant-menu a{display:block;padding:8px;border-radius:6px}.ma-variant-menu a:hover{background:#ffffff0b}
.ma-content{max-width:1440px;margin:0 auto;padding:0 32px 28px}.ma-tabs{display:flex;gap:0;border-bottom:1px solid #2b2c2d;overflow-x:auto;scrollbar-width:none;min-height:40px}.ma-tabs a{display:flex;align-items:center;justify-content:center;padding:10px 12px 12px;color:#727376;white-space:nowrap;border-bottom:2px solid transparent;line-height:20px;font-weight:500}.ma-tabs a:hover{color:#eee}.ma-tabs a[aria-current]{border-bottom-color:#eee;color:#eee}
.ma-root[data-model-activity="requests"] .ma-header{border-bottom:1px solid #292a2b}.ma-promo{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:130px 0 32px;padding:18px 20px;min-height:88px;border-radius:20px;background:linear-gradient(170deg,#001448 0%,#153061 50%,#50699b 100%);overflow:hidden}.ma-promo-copy{display:flex;align-items:center;gap:16px;min-width:0}.ma-promo-icon{display:grid;place-items:center;flex:0 0 36px;height:36px;background:#c8ff00;color:#142000;border-radius:8px}.ma-promo-icon svg{width:23px;height:23px}.ma-promo strong{display:block;color:#ccff00;font-size:17px;font-weight:650;line-height:1.3;letter-spacing:-.5px}.ma-promo small{display:block;font-size:12px;line-height:1.5;margin-top:4px;color:#9baed2}.ma-promo>a{flex-shrink:0;background:#fff;color:#151719;font-weight:550;padding:12px 18px;border-radius:12px}
.ma-controls{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:44px 0 14px;min-height:28px}.ma-controls h2{font-size:14px;font-weight:500;margin:0;color:var(--ma-muted)}.ma-actions{display:flex;align-items:center;gap:14px}.ma-refresh{display:grid;place-items:center;width:26px;height:28px;padding:0;border:0;background:none;cursor:pointer;border-radius:6px}.ma-refresh:hover{background:#ffffff09}.ma-refresh svg{width:19px;height:19px}.ma-period-wrap{display:flex;gap:5px;align-items:center}.ma-period-wrap>svg{width:16px;height:16px}.ma-period-wrap select{border:0;background:transparent;font-size:12px;cursor:pointer;max-width:160px;padding:4px}.ma-period-wrap option{background:#202123;color:#eee}
.ma-request-toolbar{height:0;position:relative;z-index:1}.ma-request-toolbar .ma-refresh{position:absolute;right:0;top:14px;color:#85868a}
.ma-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:340px;text-align:center;padding:28px 16px;border:0;background:transparent}.ma-empty h3{font-size:14px;color:#eee;font-weight:500;margin:0}.ma-empty p{font-size:14px;color:var(--ma-muted);margin:0;max-width:540px}.ma-empty a{font-size:13px;text-decoration:underline;text-underline-offset:4px;margin-top:6px}.ma-root[data-model-activity="requests"] [data-activity-body]{min-height:340px}.ma-root[data-model-activity="requests"] .ma-empty{min-height:max(340px,calc(100vh - 380px))}
.ma-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:4px solid #181a1b;border-radius:14px;overflow:hidden;margin:0 0 32px}.ma-metrics>div{min-width:0;min-height:116px;padding:14px 12px;display:flex;flex-direction:column;justify-content:space-between;border-right:2px solid #181a1b}.ma-metrics>div:last-child{border-right:0}.ma-metrics strong{display:block;font-size:28px;font-weight:500;line-height:1.2}.ma-metrics span{color:var(--ma-muted);font-size:14px}.ma-chart-section{margin:0 0 28px}.ma-chart-section h3{color:var(--ma-muted);font-size:14px;font-weight:500;margin:0}.ma-chart-empty{height:180px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:6px;text-align:center;color:#6f7073;padding:16px}.ma-chart-empty strong{font-size:14px;font-weight:500}.ma-chart-empty p{font-size:12px;margin:0}.ma-chart{display:flex;gap:6px;height:180px;align-items:end;padding:22px 0 0}.ma-chart>div{flex:1;height:100%;min-width:0;display:flex;flex-direction:column;justify-content:end;align-items:center}.ma-chart i{display:block;background:#a5a5df;width:100%;border-radius:3px 3px 0 0}.ma-chart span{font-size:10px;color:#777}.ma-chart-labels{display:flex;justify-content:space-between;color:#6f7073;font-size:11px;margin-top:6px}.ma-latency-list{min-height:180px;padding:24px 0}.ma-latency-row{display:grid;grid-template-columns:70px 1fr 64px;gap:14px;align-items:center;margin:12px 0;color:#8b8c90;font-size:12px}.ma-latency-track{height:6px;background:#242629;border-radius:99px;overflow:hidden}.ma-latency-track i{display:block;height:100%;background:#a5a5df}.ma-latency-row b{font-weight:500;text-align:right;color:#ccc}
.ma-table-wrap{overflow-x:auto;margin:32px 0 20px;max-width:100%}.ma-root table{width:100%;border-collapse:collapse;font-size:13px}.ma-root th,.ma-root td{text-align:left;padding:14px 12px;border-bottom:1px solid #292b2d;overflow-wrap:anywhere}.ma-root th{font-weight:500;color:var(--ma-muted)}.ma-root th:nth-child(2){width:38%}.ma-root td:first-child{white-space:nowrap}.ma-more{border:1px solid #3c3e40;background:#222426;color:#eee;border-radius:8px;padding:8px 14px;cursor:pointer;margin:10px 0 20px}.ma-status{font-size:12px;color:#aaa;overflow-wrap:anywhere}.ma-status:empty{display:none}.ma-status:not(.ma-status-visible){position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.ma-status-visible{padding:10px 0}
@media(max-width:1023px){main:has(>.ma-root){padding:var(--mobile-header-height,56px) 0 0!important}.ma-root{border-radius:0;border:0}.ma-header{padding-right:150px;min-height:62px;flex-wrap:wrap;justify-content:flex-start}.ma-header strong{max-width:100%}.ma-variant{flex-shrink:1}.ma-variant summary{font-size:12px}.ma-content{padding-left:20px;padding-right:20px}.ma-promo{margin-top:60px}}
@media(max-width:600px){.ma-header{padding:12px 16px;padding-right:146px;gap:6px;font-size:12px}.ma-variant{flex-basis:auto}.ma-variant summary{padding:4px 8px}.ma-content{padding:0 16px 24px}.ma-tabs a{font-size:13px;padding:10px 10px}.ma-promo{margin:38px 0 24px;min-height:102px;padding:14px;border-radius:14px;gap:12px}.ma-promo-copy{gap:10px}.ma-promo strong{font-size:13px;letter-spacing:-.2px}.ma-promo small{font-size:11px}.ma-promo-icon{flex-basis:30px;height:30px}.ma-promo>a{font-size:11px;padding:8px 10px;max-width:82px;text-align:center}.ma-controls{margin-top:30px;gap:8px}.ma-actions{gap:6px}.ma-controls h2{font-size:13px}.ma-period-wrap select{font-size:11px;max-width:128px}.ma-metrics{border-width:2px;margin-bottom:28px;border-radius:10px}.ma-metrics>div{padding:12px 9px;min-height:108px;border-right-width:1px}.ma-metrics strong{font-size:25px}.ma-metrics span{font-size:11px}.ma-chart-section h3{font-size:13px}.ma-chart-empty{height:174px}.ma-root[data-model-activity="requests"] .ma-empty{min-height:340px;padding:24px 8px}.ma-root td{min-width:120px}.ma-root td:nth-child(2){min-width:240px}.ma-root th{white-space:nowrap}}
