*{box-sizing:border-box} :root{--ink:#25232d;--muted:#6d6877;--purple:#65538f;--orange:#a64b17;--border:#e8e4ec;--canvas:#f6f3ef;--surface:#fff;--amber:#815714;--green:#24604e}
body{margin:0;color:var(--ink);background:var(--canvas);font:400 15px/1.55 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}button,input,textarea{font:inherit}button,a,input,textarea{outline-offset:4px} :focus-visible{outline:3px solid var(--purple)}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}a{color:var(--purple)}svg{width:20px;height:20px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}.skip-link{position:fixed;top:-100px;left:20px;z-index:10;background:white;padding:12px}.skip-link:focus{top:12px}
.layout{min-height:100vh;display:grid;grid-template-columns:228px minmax(0,1fr)}.layout>aside{background:white;border-right:1px solid var(--border);padding:31px 18px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.brand{display:flex;align-items:center;gap:10px;padding:0 12px 35px;font-size:19px;letter-spacing:-.6px;font-weight:750}.brand-mark{width:34px;height:34px;background:var(--purple);border-radius:10px;display:grid;place-items:center;color:white}.brand span small{display:block;color:var(--muted);font-weight:500;letter-spacing:1.5px;font-size:10px;text-transform:uppercase;line-height:1.1;margin-top:4px}.nav-label{font-size:10px;letter-spacing:1.8px;color:#8a8394;text-transform:uppercase;font-weight:700;padding:0 14px;margin-bottom:10px}nav{display:grid;gap:5px}nav a{color:#665e70;text-decoration:none;display:flex;align-items:center;gap:12px;padding:12px 13px;border-radius:8px;font-weight:550;font-size:14px}nav a:hover{background:#faf8fc}nav a[aria-current=page]{background:#eee9f5;color:#56417f}nav .group-gap{margin-top:26px}.sidebar-footer{margin-top:auto;border-top:1px solid var(--border);padding:18px 12px 0;font-size:12px;color:var(--muted)}.dot{display:inline-block;background:#c08a31;width:7px;height:7px;border-radius:50%;margin-right:7px}.sidebar-footer strong{display:block;color:#554d61;margin-bottom:5px;font-weight:600}
.workspace{min-width:0}.topbar{height:78px;background:#fff;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;padding:0 40px;gap:15px}.breadcrumb{color:#82798c;font-size:13px}.breadcrumb strong{font-weight:500;color:#4c4359}.user{display:flex;align-items:center;gap:10px;font-size:12px}.avatar{width:33px;height:33px;border-radius:50%;display:grid;place-items:center;background:#f0edf6;color:var(--purple);font-weight:700}.user small{display:block;color:var(--muted)}.link-button{border:0;background:transparent;color:var(--muted);padding:8px;font-size:12px}.link-button:hover{color:var(--purple)}main{padding:36px 40px 24px;max-width:1560px;margin:0 auto}.eyebrow{font-size:10px;letter-spacing:1.7px;color:#81778c;text-transform:uppercase;font-weight:700;margin:0 0 9px}.heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px}h1{font-size:29px;line-height:1.25;letter-spacing:-.9px;margin:0 0 8px;font-weight:650}h2{font-size:16px;letter-spacing:-.25px;font-weight:650;margin:0}p{margin:0}.subtext{color:var(--muted);font-size:14px}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;border-radius:7px;padding:10px 16px;font-size:13px;font-weight:600;border:1px solid var(--border);text-decoration:none;background:#fff;color:var(--ink)}.button.primary{background:var(--purple);border-color:var(--purple);color:#fff}.button.primary:not(:disabled):hover{background:var(--orange);border-color:var(--orange);color:white}.button:not(.primary):not(:disabled):hover{background:#faf8fc;border-color:#c4b9d3}.button svg{width:16px;height:16px}
.banner{padding:15px 18px;display:flex;align-items:flex-start;gap:12px;background:#fbf6ea;border:1px solid #e9ddbf;border-radius:9px;color:#705420;font-size:12px;margin-bottom:25px}.banner svg{width:19px;margin-top:1px}.banner strong{display:block;font-size:13px;font-weight:650;margin-bottom:2px}.metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:26px}.metric{background:#fff;border:1px solid var(--border);border-radius:10px;padding:20px 22px}.metric-top{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:var(--muted)}.metric-top svg{color:#a69ab8;width:18px}.metric-value{font-size:29px;letter-spacing:-1px;margin:9px 0 2px;font-weight:600}.metric-value.word{font-size:20px;letter-spacing:-.5px;margin-top:16px;margin-bottom:9px}.metric small{font-size:11px;color:#867e90}.content-grid{display:grid;grid-template-columns:minmax(0,1fr) 305px;gap:21px;align-items:start}.panel{border:1px solid var(--border);background:white;border-radius:10px;overflow:hidden}.panel-header{display:flex;justify-content:space-between;align-items:center;padding:20px 23px;border-bottom:1px solid #efecf2;gap:12px}.count{display:inline-block;font-size:11px;font-weight:500;padding:1px 7px;background:#f3f0f7;border-radius:5px;margin-left:7px;color:#81758f}.panel-header small{font-size:11px;color:var(--muted)}.empty{padding:43px 24px 40px;text-align:center}.empty-symbol{width:63px;height:63px;display:grid;place-items:center;background:#f4f1f8;border:1px solid #eee8f5;border-radius:17px;color:#84719f;margin:0 auto 18px}.empty-symbol svg{width:29px;height:29px}.empty h3{margin:0 0 8px;font-size:16px;font-weight:600;letter-spacing:-.3px}.empty p{font-size:13px;color:var(--muted);max-width:390px;margin:0 auto 21px}.empty .fine{font-size:11px;margin-top:14px;color:#8e8499}.steps{padding:20px 23px}.step{display:flex;gap:11px;padding:15px 0;border-bottom:1px solid #f0edf3}.step:first-child{padding-top:2px}.step:last-of-type{border:0;padding-bottom:21px}.step-number{width:23px;height:23px;border:1px solid #ded6e7;border-radius:50%;display:grid;place-items:center;color:#8b7d9b;font-size:10px;flex-shrink:0}.step strong{font-size:12px;font-weight:600;display:block;line-height:1.45}.step small{color:#8a8194;font-size:11px}.wide{width:100%}.note{margin-top:16px;color:#8b8294;font-size:11px;line-height:1.6}.page-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;color:#988e9f;font-size:10px;margin-top:32px;padding-top:17px;border-top:1px solid #e8e3e9}.status-pill{display:inline-flex;align-items:center;gap:6px;border:1px solid #ebdfc5;color:#866120;background:#fcf8ef;border-radius:100px;font-size:10px;padding:4px 9px;white-space:nowrap}.status-pill .dot{margin:0;width:5px;height:5px}.panel-body{padding:24px}.scope-grid{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:21px}.field{margin-bottom:21px}.field label{display:block;font-size:12px;font-weight:650;margin-bottom:7px}.field input,.field textarea{width:100%;border:1px solid #dcd5e4;border-radius:6px;padding:11px 12px;background:#fff;color:var(--ink);font-size:13px}.field textarea{resize:vertical;min-height:115px;font-family:ui-monospace,monospace}.field small{font-size:11px;display:block;color:var(--muted);margin-top:6px}.field input::placeholder,.field textarea::placeholder{color:#a39baa}.form-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;padding-top:7px}.form-footer p{font-size:11px;color:var(--muted);max-width:300px}.facts{display:grid;gap:16px}.fact{padding-bottom:13px;border-bottom:1px solid #eee9f3}.fact strong{font-size:11px;color:var(--muted);display:block;margin-bottom:5px}.fact span{font-size:13px}.facts .status-pill{font-size:11px}.table-scroll{overflow:auto}table{border-collapse:collapse;width:100%;text-align:left;font-size:12px}th{font-size:10px;text-transform:uppercase;letter-spacing:.8px;background:#fcfbfd;color:#8e839a;font-weight:650}th,td{padding:15px 21px;border-bottom:1px solid #eeeaf3;vertical-align:top}.event{font-weight:550}.audit-detail{color:var(--muted);font-size:11px;max-width:300px;word-break:break-word}
.login-wrap{min-height:100vh;display:grid;place-items:center;padding:24px}.login-card{width:100%;max-width:440px;background:#fff;border:1px solid var(--border);border-radius:14px;padding:36px}.login-card .brand{padding:0 0 30px}.login-card h1{font-size:24px}.login-card .subtext{margin:13px 0 25px}.login-card .banner{margin:25px 0 0}.login-card .note{font-size:12px}.error{padding:12px 15px;background:#fcedeb;border:1px solid #ebc7c0;color:#8e3027;border-radius:7px;font-size:13px;margin:15px 0}.loading{padding:70px;text-align:center;color:var(--muted)}#notice:not(:empty){position:fixed;right:25px;bottom:25px;background:#30243e;color:#fff;box-shadow:0 8px 25px #32214422;border-radius:8px;padding:14px 20px;font-size:13px;max-width:min(440px,calc(100vw - 32px));z-index:20}
@media(max-width:1150px){main{padding:28px 26px}.topbar{padding:0 26px}.content-grid,.scope-grid{grid-template-columns:minmax(0,1fr) 270px}.layout{grid-template-columns:205px minmax(0,1fr)}.layout>aside{padding:27px 13px}.metric{padding:18px}.heading{align-items:flex-start}h1{font-size:26px}}
@media(max-width:940px){.content-grid,.scope-grid{grid-template-columns:minmax(0,1fr)}.steps{padding-top:16px}.steps-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.step,.step:first-child,.step:last-of-type{border:0;padding:5px 0 19px}.steps .wide{width:auto}.user small{display:none}.metrics{gap:12px}.metric{padding:16px}.metric-top{font-size:11px}.metric-value.word{font-size:18px}}
@media(max-width:700px){.layout{display:block}.layout>aside{position:static;height:auto;padding:16px;border-right:0;border-bottom:1px solid var(--border)}.brand{padding:0 0 15px}.nav-label,.sidebar-footer{display:none}nav{display:flex;overflow:auto;gap:5px}nav a{white-space:nowrap;padding:10px;font-size:12px}nav a svg{width:16px}nav .group-gap{margin-top:0}.topbar{height:58px;padding:0 19px}.avatar{display:none}.user{font-size:11px}.breadcrumb{font-size:11px}main{padding:24px 18px}.heading{display:block}.heading>.button{margin-top:17px}h1{font-size:25px}.subtext{font-size:13px}.metrics{grid-template-columns:1fr}.metric{display:grid;grid-template-columns:1fr auto;align-items:center;padding:15px 18px}.metric-top{font-size:12px}.metric-top svg{display:none}.metric-value,.metric-value.word{font-size:22px;margin:0 0 0 10px;grid-column:2;grid-row:1/3}.metric small{grid-column:1}.steps-list{display:block}.step,.step:first-child,.step:last-of-type{padding:10px 0 16px}.steps .wide{width:100%}.panel-header{padding:18px}.panel-body{padding:19px}.empty{padding:32px 20px}.banner{font-size:12px}.page-footer{align-items:flex-start}.page-footer span:last-child{max-width:130px;text-align:right}.form-footer{align-items:stretch;flex-direction:column}.form-footer .button{width:100%}.login-card{padding:26px}.user>span{max-width:120px}.table-scroll table{min-width:580px}}
@media(prefers-reduced-motion:no-preference){button,a,input,textarea{transition:background-color .15s,border-color .15s,color .15s}}

select{font:inherit;outline-offset:4px;width:100%;border:1px solid #dcd5e4;border-radius:6px;padding:11px 12px;background:white;color:var(--ink);font-size:13px}
.actions{display:flex;flex-wrap:wrap;gap:9px;align-items:center}.heading>.actions{flex-shrink:0}
.vm-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,330px),1fr));gap:16px;padding:20px}
.vm-card{padding:21px;border:1px solid var(--border);border-radius:9px;background:#fff;min-width:0}
.vm-title{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}.vm-title h2{overflow-wrap:anywhere}
.vm-spec{font-size:12px;color:var(--muted);overflow-wrap:anywhere;margin:14px 0}
.vm-state{display:inline-flex;gap:7px;align-items:center;white-space:nowrap;font-size:12px;flex-shrink:0}
.state-dot{display:inline-block;width:10px;height:10px;border-radius:50%;flex-shrink:0}.state-dot.green{background:#28805a}.state-dot.red{background:#c4433c}.state-dot.yellow{background:#d59618}.state-dot.gray{background:#92909a}
.tags{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:18px}.tags span{font-size:10px;background:#f2eef7;color:#655477;padding:3px 8px;border-radius:4px}
.matrix-card .note{margin-bottom:20px}.banner.connected{background:#edf6f0;border-color:#c4dfce;color:#2d5e44}.sync-date{display:block;font-size:10px;margin-top:4px}
.danger{color:#a73732}.break{overflow-wrap:anywhere}.job-list{padding:0 23px}.job{padding:22px 0;border-bottom:1px solid var(--border)}.job p{font-size:13px;margin:9px 0}.job small{color:var(--muted);font-size:11px;overflow-wrap:anywhere}
.job-state{font-size:11px;border-radius:5px;padding:4px 9px;background:#f0ebf7;white-space:nowrap}.job-state.succeeded{background:#e8f4ec;color:#24604e}.job-state.partial{background:#fdf0d4;color:#755013}.job-state.failed,.job-state.needs_attention{background:#fcedeb;color:#8e3027}
details{margin:12px 0;font-size:12px}summary{cursor:pointer;color:var(--purple)}pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#f8f6fa;border-radius:6px;padding:14px;font-size:11px}
dialog{border:1px solid var(--border);border-radius:12px;max-width:600px;width:calc(100% - 32px);padding:0;max-height:calc(100dvh - 40px);color:var(--ink);box-shadow:0 22px 90px #22192f30}
dialog::backdrop{background:#211a2d70}.dialog-header,.dialog-footer{padding:18px 24px;display:flex;gap:15px;align-items:center;justify-content:space-between;border-bottom:1px solid var(--border)}
.dialog-body{padding:22px 24px;overflow:auto}.dialog-footer{border-bottom:0;border-top:1px solid var(--border);justify-content:flex-end}.dialog-intro{font-size:13px;margin-bottom:20px}.form-columns{display:grid;grid-template-columns:1fr 1fr;gap:15px}
@media(max-width:700px){.heading>.actions{margin-top:18px}.vm-grid{padding:14px;gap:13px}.vm-card{padding:17px}.vm-title{gap:8px}.matrix-card .vm-title{flex-wrap:wrap}.dialog-header,.dialog-footer{padding:16px}.dialog-body{padding:18px 16px}.actions .button{flex-grow:1}.form-columns{grid-template-columns:1fr 1fr}.job-list{padding:0 18px}}

.user-list{display:grid;gap:15px;padding:20px;grid-template-columns:repeat(auto-fit,minmax(min(100%,330px),1fr))}
.user-identity{overflow-wrap:anywhere;max-width:320px}.user-identity small{overflow-wrap:anywhere}
@media(max-width:700px){.user-identity{max-width:130px}.user-identity small{display:none}.topbar .user{gap:3px}.topbar .link-button{padding:6px}.user-list{padding:14px}}

.onboarding-steps{list-style:none;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;padding:0;margin:24px 0}.onboarding-steps li{display:flex;gap:10px;padding:15px 12px;border:1px solid var(--border);border-radius:8px;background:var(--surface);min-width:0}.onboarding-steps strong{font-size:12px}.onboarding-steps p{font-size:11px;color:var(--muted);overflow-wrap:anywhere;margin-top:5px}.onboarding-steps .complete .step-number{background:#edf6f0;border-color:#c4dfce;color:var(--green)}
.environment-access{grid-template-columns:minmax(0,1.4fr) minmax(280px,1fr);margin-bottom:24px}.environment-access .panel-body>p{font-size:13px;margin-bottom:17px}.environment-access .actions{margin:18px 0}.environment-access pre{font-size:12px}.environment-access .note{font-size:12px;color:var(--muted)}.environment-access .fact p{font-size:12px;margin:5px 0}
#main>.panel+.panel{margin-top:24px}
@media(max-width:1150px){.onboarding-steps{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:940px){.environment-access{grid-template-columns:1fr}.onboarding-steps{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.onboarding-steps{grid-template-columns:1fr}}

.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.services-table{table-layout:fixed;font-size:12px;width:100%}.services-table th,.services-table td{padding:16px 14px;overflow-wrap:anywhere}.services-table th{color:var(--muted);letter-spacing:.4px}.services-table th:nth-child(1){width:18%}.services-table th:nth-child(2){width:17%}.services-table th:nth-child(3){width:24%}.services-table th:nth-child(4){width:20%}.services-table th:nth-child(5){width:21%}
.services-table tbody tr:hover{background:#fcfbfd}.services-table .vm-state{white-space:normal;align-items:flex-start;line-height:1.5}.services-table .state-dot{margin-top:4px}.service-name{font-size:13px}.service-container,.service-secondary{display:block;color:var(--muted);font-size:12px;margin-top:7px;overflow-wrap:anywhere}.service-digest{margin:9px 0 0;font-size:11px}.service-digest code{display:block;margin-top:8px}.service-notes{font-size:12px;margin-top:13px;line-height:1.6}.service-url{font-size:11px}.services-table .button{font-size:12px;padding:9px 12px}
.key-help p{font-size:13px;color:var(--muted);margin:0 0 10px}.key-help{margin:12px 0 20px}
.guide-dialog{max-width:960px;width:calc(100% - 32px);height:min(880px,calc(100dvh - 40px));overflow:hidden}
.guide-dialog[open]{display:flex;flex-direction:column}.guide-dialog .dialog-header,.guide-dialog .dialog-footer{flex-shrink:0}.guide-dialog .dialog-header h2{font-size:18px;line-height:1.5;overflow-wrap:anywhere}.guide-body{min-height:0;overflow-y:auto;overscroll-behavior:contain;font-size:14px;line-height:1.7}.guide-intro{background:#f4f0fa;border-left:3px solid var(--purple);padding:16px;margin-bottom:20px;border-radius:4px}
.guide-platforms{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:20px 0}.guide-platforms>span{font-weight:600}.guide-platforms [aria-pressed=true]{background:var(--purple);border-color:var(--purple);color:white}
.guide-index{display:block;background:#faf8fc;padding:16px;border:1px solid var(--border);border-radius:7px;margin:20px 0}.guide-index p{font-weight:650}.guide-index ol{margin:10px 0 0;padding-left:20px;list-style:disc}.guide-index button{border:0;background:transparent;color:var(--purple);text-align:left;padding:6px 3px;font-size:14px}
.guide-section{padding:22px 0;border-top:1px solid var(--border);scroll-margin-top:18px}.guide-section h3{font-size:17px;line-height:1.5;margin:0 0 16px}.guide-section p{margin:12px 0}.guide-section ol,.guide-links{padding-left:22px}.guide-section li{margin:10px 0}.guide-command{border:1px solid var(--border);border-radius:8px;padding:16px;margin:18px 0;background:#fdfcfe}.guide-command[hidden]{display:none}.guide-command-header{display:flex;align-items:flex-start;gap:12px;justify-content:space-between;flex-wrap:wrap}.guide-location{display:inline-block;border:1px solid #d6cbeb;border-radius:4px;background:#f1ecf8;color:#4e3b76;padding:3px 8px;font-size:12px;font-weight:650}.guide-command pre{font-size:13px;line-height:1.7;margin:14px 0}.guide-note{color:var(--muted)}.guide-copy-status{font-size:12px;color:var(--muted);flex:1;line-height:1.5}.guide-copy-buffer{position:fixed;left:0;top:0;width:1px;height:1px;opacity:0}
@media(max-width:940px){.services-table th,.services-table td{padding:13px 10px}.guide-dialog{max-width:calc(100% - 24px)}}
@media(max-width:700px){.services-scroll{overflow:visible}.services-scroll .services-table{min-width:0;display:block;table-layout:auto}.services-table thead{position:absolute;clip:rect(0,0,0,0);width:1px;height:1px;overflow:hidden}.services-table tbody{display:block}.services-table tr{display:block;padding:15px 18px;border-bottom:1px solid var(--border)}.services-table th,.services-table td{display:block;width:auto;padding:8px 0;border:0}.services-table td::before{content:attr(data-label);display:block;font-size:11px;color:var(--muted);font-weight:650;margin-bottom:5px}.services-table .service-name{font-size:14px}.guide-dialog{width:calc(100% - 16px);max-width:none;height:calc(100dvh - 24px);max-height:calc(100dvh - 24px)}.guide-dialog .dialog-footer{flex-wrap:wrap;gap:10px}.guide-copy-status{flex-basis:100%}.guide-platforms .button{flex:1}.guide-body{font-size:14px}.guide-command{padding:12px}.guide-dialog .dialog-header h2{font-size:17px}}

.computers-table{table-layout:auto}.computers-table ul{padding-left:18px;margin:8px 0}.computers-table td{overflow-wrap:anywhere}.computers-table .actions{flex-wrap:wrap}

.dialog-body>p{margin-bottom:14px}.dialog-body>p:last-child{margin-bottom:0}

/* Compact tables: keep columns at every width; scroll within the panel. */
.topbar{height:68px}
main{padding-top:26px}
.profile{position:relative;flex-shrink:0}
.profile-button{display:flex;align-items:center;gap:9px;min-height:42px;padding:5px 10px;border:1px solid var(--border);border-radius:8px;background:#fff;color:var(--ink);font:inherit;font-size:13px}
.profile-name{max-width:190px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.profile-button:hover{background:#f7f4fb}
.profile-menu{position:absolute;top:calc(100% + 8px);right:0;width:270px;max-width:calc(100vw - 24px);background:#fff;border:1px solid var(--border);border-radius:9px;box-shadow:0 10px 35px #22192f25;padding:6px;z-index:50}
.profile-menu[hidden]{display:none}
.profile-info{display:grid;gap:3px;padding:10px 12px 12px;border-bottom:1px solid var(--border);margin-bottom:5px;overflow-wrap:anywhere;font-size:13px}
.profile-info span,.profile-info small{font-size:12px;color:var(--muted)}
.profile-menu>[role=menuitem]{display:block;width:100%;border:0;border-radius:5px;background:#fff;text-align:left;padding:10px 12px;color:var(--ink);text-decoration:none;font:inherit;font-size:13px}
.profile-menu>[role=menuitem]:hover,.profile-menu>[role=menuitem]:focus-visible{background:#f2edf8;color:var(--purple)}
.profile-menu>.danger{color:#a73732;border-top:1px solid var(--border);margin-top:5px}
.data-scroll{position:relative;max-width:100%;overscroll-behavior-x:contain}
.data-table{table-layout:auto;font-size:13px;width:100%;min-width:760px}
.data-table th,.data-table td{padding:10px 12px;vertical-align:middle;border-bottom:1px solid var(--border);line-height:1.45;overflow-wrap:anywhere}
.data-table th{font-size:11px;letter-spacing:.3px;white-space:nowrap;color:var(--muted)}
.data-table tbody tr:last-child td{border-bottom:0}
.data-table tbody tr:hover td{background:#fcfbfd}
.data-table .button{min-height:32px;padding:6px 10px;font-size:12px;white-space:nowrap}
.data-table .note{margin-top:3px;font-size:12px}
.cell-note{display:block;color:var(--muted);font-size:12px;line-height:1.4;margin-top:3px;overflow-wrap:anywhere}
.cell-warning{display:block;font-size:12px;color:#a73732;margin-top:3px}
.cell-clamp{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
.nowrap{white-space:nowrap}
.table-actions{display:flex;align-items:center;gap:6px;flex-wrap:nowrap}
.data-table code{font-size:12px}
.data-table .vm-state{font-size:12px}
.data-table .state-dot{width:8px;height:8px}
.data-table .job-state{font-size:12px;display:inline-block;padding:3px 7px}
.row-actions{margin:0;flex-shrink:0}
.row-actions>summary{list-style:none;cursor:pointer;user-select:none}
.row-actions>summary::-webkit-details-marker{display:none}
.row-actions>summary::after{content:'⌄';margin-left:3px}
.row-actions[open]>summary{border-color:var(--purple)}
.row-menu{position:fixed;z-index:60;min-width:190px;max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);overflow:auto;padding:5px;background:#fff;border:1px solid var(--border);border-radius:8px;box-shadow:0 10px 35px #22192f25}
.row-menu .button{display:flex;width:100%;justify-content:flex-start;border:0;min-height:36px;font-size:13px;border-radius:4px;text-align:left}
.row-menu .cell-note{padding:9px}
.environment-filters{display:flex;flex-wrap:wrap;gap:12px;align-items:end;padding:15px 23px;border-bottom:1px solid var(--border)}
.environment-filters .field{flex:1 1 140px;min-width:0;margin:0}
.environment-filters .field:first-child{flex:1.4 1 190px}
.environment-filters .field:nth-child(3){flex:1.2 1 185px}
.environment-filters input,.environment-filters select{box-sizing:border-box;width:100%;min-height:40px}
.environment-filters .button{min-height:40px}
.data-table.environments-table{min-width:1050px}
.environments-table :is(th,td):first-child{min-width:20rem;width:20rem;max-width:23rem}
.environments-table td:nth-child(2){min-width:145px;max-width:210px}
.environments-table td:nth-child(3){min-width:125px;white-space:nowrap}
.environments-table td:nth-child(6){min-width:158px}
@media(min-width:820px){
 .environments-table :is(th,td):first-child{position:sticky;left:0;z-index:1;box-shadow:3px 0 5px #2921330e}
 .environments-table td:first-child{background:#fff}
}
.matrices-table{min-width:1050px}
.matrices-table td:first-child{min-width:190px;max-width:260px}
.matrices-table td:first-child .cell-note{-webkit-line-clamp:2;display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden}
.matrices-table td:nth-last-child(2){min-width:180px;max-width:260px}
.operations-table{min-width:1180px}
.operations-table td:first-child{min-width:105px;white-space:nowrap}
.operations-table td:nth-child(3){min-width:175px;max-width:220px}
.operations-table td:nth-child(4){min-width:165px;max-width:210px}
.operations-table td:nth-child(6){min-width:210px;max-width:310px}
.operations-table td:nth-child(7){min-width:150px}
.users-table{min-width:900px}
.users-table td:nth-child(2){min-width:210px}
.users-table td:nth-child(5){min-width:180px}
.data-table:is(.environments-table,.matrices-table,.operations-table,.users-table,.players-table) th:last-child,
.data-table:is(.environments-table,.matrices-table,.operations-table,.users-table,.players-table) td:last-child{position:sticky;right:0;background:#fff;box-shadow:-3px 0 5px #29213308;z-index:1}
.data-table:is(.environments-table,.matrices-table,.operations-table,.users-table,.players-table) th:last-child{background:#fcfbfd}
.audit-table{min-width:880px}
.audit-table td:nth-child(1){min-width:155px}
.audit-table td:nth-child(2){min-width:190px}
.audit-table td:nth-child(3){min-width:185px}
.audit-preview{max-width:320px;font-size:12px;color:var(--muted)}
.summary-table{min-width:600px;table-layout:fixed}
.summary-number{font-size:23px;font-weight:650}
.summary-table td{padding-top:12px;padding-bottom:12px}
.overview-summary{margin-bottom:20px}
.data-scroll .facts-table{min-width:0;table-layout:fixed}
.facts-table th:first-child,.facts-table td:first-child{width:30%}
.facts-table td{overflow-wrap:anywhere}
.record-dialog{max-width:1000px}
.record-dialog .dialog-body{max-height:calc(100dvh - 210px)}
.record-dialog h3{font-size:15px;margin:18px 0 10px}
.record-dialog pre{max-height:340px;overflow:auto}
.download-preview-note{display:flex;align-items:flex-start;gap:8px;margin:0 0 14px;color:var(--muted);font-size:12px}
.download-preview-note svg{width:16px;height:16px;color:var(--purple)}
.download-versions-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:12px;margin:0 0 20px}
.download-versions-summary>div{padding:12px 14px;border:1px solid var(--border);border-radius:10px;background:#faf8fc}
.download-versions-summary dt{display:flex;align-items:center;gap:9px;color:var(--muted);font-size:13px}
.download-version-icon,.download-system-icon{display:inline-grid;place-items:center;border-radius:8px;color:var(--purple);background:#eee8f6;flex:none}
.download-version-icon{width:30px;height:30px}
.download-version-icon svg{width:16px;height:16px}
.download-versions-summary dd{display:flex;align-items:center;flex-wrap:wrap;gap:4px 9px;margin:3px 0 0 39px;overflow-wrap:anywhere}
.download-versions-summary dd strong{font-size:20px;font-variant-numeric:tabular-nums;line-height:1.3}
.download-versions-summary dd small{flex-basis:100%;color:var(--muted)}
.download-version-status{display:inline-flex;align-items:center;gap:4px;border-radius:99px;padding:3px 7px;font-size:11px;font-weight:700}
.download-version-status svg{width:13px;height:13px;stroke-width:2}
.download-version-status.is-current{background:#e5f3ed;color:var(--green)}
.download-version-status.is-outdated{background:#fff0d9;color:var(--amber)}
button.download-version-status{border:0;padding:4px 8px}
button.download-version-status:hover{text-decoration:underline}
.environment-agent-version{display:flex;align-items:center;flex-wrap:wrap;gap:5px 8px;margin-top:3px}
.environment-agent-version .cell-note{margin:0}
.download-systems{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,238px),1fr));gap:12px;align-items:start}
.download-system{min-width:0;padding:12px;border:1px solid var(--border);border-radius:12px;background:var(--surface)}
.download-system>header{display:flex;align-items:center;gap:10px;margin-bottom:12px}
.download-system>header h3{margin:0;font-size:16px}
.download-system-icon{width:38px;height:38px}
.download-system[data-system="windows"] .download-system-icon{color:#245c8e;background:#e9f2fb}
.download-system[data-system="linux"] .download-system-icon{color:#815714;background:#fbf1df}
.download-architecture{border:1px solid var(--border);border-radius:8px;background:#fbfafc}
.download-architecture+.download-architecture{margin-top:8px}
.download-architecture summary{display:flex;align-items:center;gap:7px;min-height:40px;padding:8px 10px;cursor:pointer}
.download-architecture summary::-webkit-details-marker{display:none}
.download-architecture summary:hover{background:#f4eff8;border-radius:7px}
.download-architecture summary svg{width:15px;height:15px;color:var(--purple)}
.download-architecture summary small{margin-inline-start:auto;color:var(--muted);font-variant-numeric:tabular-nums}
.download-architecture-chevron{display:flex}
.download-architecture summary:not(:has(small)) .download-architecture-chevron{margin-inline-start:auto}
.download-architecture[open] .download-architecture-chevron{transform:rotate(90deg)}
.download-architecture ul{padding:0 10px;margin:0;list-style:none}
.download-architecture li{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:7px 0;border-top:1px solid var(--border)}
.download-release{display:flex;align-items:center;flex-wrap:wrap;gap:3px 6px;min-width:0;font-variant-numeric:tabular-nums}
.download-release .count{margin-left:0}
.download-architecture li .button{min-height:34px;padding:5px 9px;font-size:12px;flex:none}
.download-architecture li .button svg{width:14px;height:14px}
.environment-access{display:block;margin-top:24px}
.environment-access>.panel+.panel{margin-top:20px}
.environment-access .panel-body>p{margin-bottom:14px}
.readiness-state{color:#8d651f}
.readiness-state.done{color:#28805a}
.runtime-services-table{--inventory-badge-width:4.75rem;--inventory-toggle-inset:6px;min-width:620px}
.repository-services-table{min-width:800px}
#services-with_repository{container-type:inline-size;overflow:clip}
@container (min-width:800px){
 #services-with_repository .data-scroll:has(> .repository-services-table){overflow:visible}
}
.repository-services-table .repository-group-name{min-width:140px;max-width:200px;vertical-align:middle;font-size:12px;text-transform:none;letter-spacing:normal;color:var(--ink);font-weight:600;background:#fcfbfd;border-right:1px solid var(--border)}
.repository-services-table tbody+tbody tr:first-child>*{border-top:2px solid #e4deeb}
.auxiliary-services-table td:first-child{min-width:185px;max-width:260px}
.repository-services-table td[data-label="Na VM"]{min-width:365px}
.repository-services-table td[data-label="COMMIT DO BUILD"],.repository-services-table td[data-label="COMMIT MAIS ATUAL"]{min-width:125px;max-width:165px}
#services-with_repository{overflow:visible}
.service-inventory-heading{display:flex;align-items:center;flex:1;flex-wrap:wrap;gap:6px 10px;min-width:0}
.service-inventory-heading-controls{display:inline-flex;align-items:center;flex:none;gap:16px}
.service-inventory-heading-controls .count{margin-left:0}
.service-inventory-help{flex:none;display:flex;margin-inline-start:auto}
.service-inventory-help button{width:26px;height:26px;padding:0;border:1px solid var(--border);border-radius:50%;background:white;color:var(--purple);font:inherit;font-weight:700}
.service-inventory-help button:focus-visible{outline:2px solid var(--purple);outline-offset:2px}
#services-with_repository>.service-map{border:none;border-radius:0 0 9px 9px;margin:0}
.page-update{display:flex;flex-wrap:wrap;gap:4px 12px;align-items:center;max-width:100%}
.environment-heading .page-update{margin-top:12px}
.environment-toolbar{display:flex;align-items:flex-start;gap:12px;margin-top:12px;min-width:0}
.environment-toolbar .page-update{flex:1;min-width:0;margin-top:0}
.environment-power{flex:none;margin-inline-start:auto}

.page-update-status{position:relative;display:flex;flex-wrap:wrap;gap:0 8px;list-style:none;margin:0;padding:0}
.page-update-stage>button{display:flex;align-items:center;gap:6px;min-height:32px;padding:4px 5px;border:0;border-radius:4px;background:transparent;color:var(--ink);font:inherit;font-size:12px;font-weight:650}
.page-update-stage>button:focus-visible{outline:2px solid var(--purple);outline-offset:2px}
.page-update-stage>button:is(:hover,[aria-expanded=true]){background:#f4eff8}
.refresh-stage-dot{width:9px;height:9px;border-radius:50%;background:#817a89;flex:none}
.refresh-stage-dot.pending{background:#b98711}
.refresh-stage-dot.ready{background:#23744e}
.refresh-stage-dot.attention{background:#ad5026}
.refresh-spinner{display:inline-block;width:13px;height:13px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:repository-spin .8s linear infinite}
@keyframes repository-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.refresh-spinner{animation:none}}
.service-inventory-metrics{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin-bottom:18px}
.service-inventory-metrics .metric{display:flex;flex-direction:column;padding:14px 16px}
.service-inventory-metrics .metric-top{flex:1;min-height:36px;align-items:flex-start}
.service-inventory-metrics .metric-value{font-size:25px;margin:6px 0 2px}
@media(max-width:1150px){.service-inventory-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.service-inventory-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.service-inventory-metrics .metric{padding:12px}.service-inventory-metrics .metric-top{font-size:11px;min-height:34px}.service-inventory-metrics .metric-value{margin:6px 0 2px}}
.endpoint-switch{display:inline-flex;flex:none;align-items:center;gap:5px;min-height:28px;padding:3px 6px;border:0;border-radius:6px;background:transparent;color:inherit;font-size:12px;font-weight:600;cursor:pointer}
.endpoint-switch span{display:inline-flex;align-items:center;width:26px;height:15px;border-radius:10px;background:#717681}
.endpoint-switch span:before{content:"";width:11px;height:11px;margin:0 2px;background:white;border-radius:50%}
.endpoint-switch[aria-checked=true] span{background:#197549;justify-content:flex-end}
.endpoint-switch:enabled:hover{background:#f1eef7}
.endpoint-switch:focus-visible{outline:2px solid var(--purple);outline-offset:1px}
.endpoint-switch:disabled{opacity:.6;cursor:default}
.computers-table{min-width:860px}
.computers-table td:first-child{min-width:210px}
.computer-history-table{min-width:1120px}
.computer-history-table td:nth-child(1){min-width:190px}
.computer-history-table td:nth-child(2){min-width:205px}
.computer-history-table td:nth-child(5){min-width:170px;max-width:220px}
.computer-history-table td:nth-child(6){min-width:150px}
.test-account-filters{display:flex;flex-wrap:wrap;gap:12px;margin:0 0 16px}
.test-account-filters label{display:flex;flex:1 1 220px;flex-direction:column;gap:6px;max-width:360px;font-size:.85rem;font-weight:600}
.test-account-filters select{width:100%;min-height:40px;padding:8px 12px;border:1px solid var(--border);border-radius:7px;background:#fff;color:inherit}
.test-accounts-table{min-width:760px}
.test-accounts-table .account-credential{display:flex;align-items:flex-start;justify-content:space-between;gap:4px;min-height:28px}
.account-credential code{min-width:0;padding-top:2px;white-space:normal;overflow-wrap:anywhere}
.account-credential:has(.account-toggle[aria-pressed="false"]) code{flex-shrink:0;white-space:nowrap}
.account-actions{display:flex;flex-shrink:0;gap:2px}
.account-actions button{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;padding:5px;border:1px solid transparent;border-radius:6px;background:transparent;color:var(--purple)}
.account-actions button:hover:not(:disabled),.account-toggle[aria-pressed="true"]{background:#f0ecf8;border-color:#ded6ee}
.account-actions button:focus-visible{outline:2px solid var(--purple);outline-offset:2px}
.account-actions svg{width:16px;height:16px}
.table-scroll:not(.data-scroll) th,.table-scroll:not(.data-scroll) td{padding:10px 12px;vertical-align:middle}
@media(max-width:700px){
 .topbar{height:64px;gap:8px}
 .profile-name{max-width:130px}
 .profile-button .avatar{display:grid}
 .profile-button{min-height:42px}
 .profile-menu>[role=menuitem]{padding:12px}
 .data-table th,.data-table td{padding:10px 12px}
 .data-table .button{min-height:40px}
 .data-scroll .data-table{display:table}
 .data-table thead{display:table-header-group}
 .data-table tbody{display:table-row-group}
 .data-table tr{display:table-row}
 .data-table td,.data-table th{display:table-cell}
 .data-table td::before{display:none}
 .data-scroll .facts-table{min-width:360px}
 .record-dialog .dialog-body{max-height:calc(100dvh - 190px)}
}

/* Keep identifiers and role names intact rather than breaking words. */
.users-table td:first-child{min-width:160px;max-width:240px}
.users-table th:nth-child(3),.users-table td:nth-child(3){min-width:120px;white-space:nowrap}
.users-table td:nth-child(4){min-width:85px;white-space:nowrap}
.matrices-table td:nth-child(2){min-width:100px}
@media(max-width:1050px){
 .data-table.environments-table :is(th,td):last-child{position:static;box-shadow:none}
}
.matrices-table td:nth-child(3){min-width:125px}
.matrices-table td code{white-space:nowrap}
.matrices-table td:nth-child(4){min-width:175px}
.data-table .button.text-button{padding:0;min-height:0;border:0;background:transparent;color:var(--purple);font-size:13px;font-weight:650;white-space:normal;text-align:left;justify-content:flex-start}
.data-table .button.text-button:hover{text-decoration:underline}
.heading>div:first-child{min-width:0}
.heading h1{overflow-wrap:anywhere}
.breadcrumb{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* The shared action panel is portalled to body, outside sticky cell stacks. */
body>.floating-row-menu{z-index:1000}
.column-sort{display:flex;align-items:center;justify-content:space-between;gap:7px;width:100%;min-height:28px;border:0;padding:0;background:transparent;color:inherit;font:inherit;text-transform:inherit;letter-spacing:inherit;text-align:left;white-space:nowrap;cursor:pointer}
.column-sort:hover{color:var(--purple)}
.sort-indicator{font-size:13px;color:var(--muted);opacity:.65;flex-shrink:0}
th[aria-sort=ascending] .column-sort,th[aria-sort=descending] .column-sort,th[aria-sort=ascending] .sort-indicator,th[aria-sort=descending] .sort-indicator{color:var(--purple);opacity:1}
@media(max-width:700px){.column-sort{min-height:36px}}
.environment-skills-table th,
.environment-skills-table .column-sort{white-space:normal}
.environment-skills-table .column-sort>span:first-child{min-width:0;overflow-wrap:anywhere}
.data-scroll .facts-table.environment-skills-table{min-width:640px}


/* First-access instructions keep every control and note inside its numbered step. */
.computer-preparation{font-size:14px;line-height:1.65}
.computer-preparation .preparation-steps{margin:24px 0 0;padding-left:28px}
.preparation-steps>li{padding-left:3px;margin:0 0 28px}
.preparation-steps>li::marker{font-weight:650}
.preparation-steps>li>:is(h2,h3){font-size:15px;line-height:1.65;margin:0;font-weight:650}
.preparation-step-body{margin:12px 0 0 16px;min-width:0}
.preparation-step-body>ul{padding-left:22px;margin:16px 0}
.preparation-step-body li{margin:7px 0}
.preparation-step-body .field{margin-bottom:16px}
.preparer-download-row{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin:18px 0}
.preparer-download-row>.button{flex:none}
.preparer-open-note{flex:1 1 260px;min-width:0;font-size:13px;line-height:1.5;font-weight:600;color:var(--purple)}
.preparer-open-note a{font-weight:700;text-decoration:underline;text-underline-offset:3px}
.preparer-open-note small{display:block;margin-top:6px;font-weight:400;color:var(--muted)}
.preparation-notes{margin:18px 0 0;padding:12px 16px;background:#faf8fc;border-left:3px solid #d9d0e6;border-radius:4px;font-size:12px;color:var(--muted)}
.preparation-notes :is(h2,h3,h4){font-size:13px;color:var(--ink);margin:0 0 8px}
.preparation-notes ul{padding-left:20px;margin:0}
.computer-code-row{display:flex;align-items:center;gap:10px;min-width:0}
.computer-code-row pre{flex:1;min-width:0;margin:0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px}
.computer-code-row .button{flex:none;align-self:center}
.computer-pair-state{margin:8px 0 0;font-size:13px}
.computer-pair-state.error{margin:8px 0 0;color:#8e3027}
.preparation-step-body .guide-copy-status:empty{display:none}
.preparation-step-body>.note{font-size:12px;margin-top:12px}
@media(max-width:700px){
 .computer-preparation .preparation-steps{padding-left:22px}
 .preparation-step-body{margin-left:10px}
 .preparation-notes{padding:10px 12px}
 .computer-code-row{gap:8px}
 .computer-code-row .button{padding:10px 12px}
}
.boot-delete-choice label{display:flex;align-items:flex-start;gap:10px;margin-bottom:10px;font-size:13px;font-weight:650}
.boot-delete-choice input[type=checkbox]{width:18px;height:18px;flex:0 0 18px;margin:1px 0 0;padding:0;accent-color:var(--purple)}
.boot-delete-choice .field-help{margin-left:28px;color:var(--muted);font-size:12px;line-height:1.6}
.boot-delete-choice .field-help p+p{margin-top:8px}

.usage-filters{display:flex;flex-wrap:wrap;gap:12px;align-items:end;margin:18px 0}.usage-filters label{display:flex;flex-direction:column;gap:6px;font-size:.85rem;font-weight:600}.usage-filters input,.usage-filters select{min-height:40px;max-width:280px;padding:8px;border:1px solid var(--line,#ddd);border-radius:7px;background:#fff;color:inherit}

.usage-table{min-width:1420px}.usage-table td:first-child{min-width:145px}.usage-table td:nth-child(2){min-width:175px}.usage-table td:nth-child(3){min-width:180px}.usage-table td{white-space:nowrap}.usage-table .cell-note{white-space:normal;max-width:220px}.usage-table strong{display:block;max-width:220px;white-space:normal}

/* Players remain a compact, horizontally scrollable table. */
.data-table.players-table{min-width:1510px}
.players-table td:nth-child(2){white-space:nowrap;overflow-wrap:normal}
.players-table td:first-child{min-width:150px}
.players-table td:last-child{white-space:nowrap}

.player-config-dialog{max-width:960px;overflow:hidden}
.player-config-dialog form{display:flex;flex-direction:column;max-height:calc(100dvh - 42px)}
.player-config-dialog .dialog-header,.player-config-dialog .dialog-footer{flex-shrink:0}
.player-config-dialog .dialog-body{min-height:0;overflow:auto}
#player-service-fields .data-table{min-width:0}
#player-service-fields th{white-space:normal}
#player-service-fields input[type=number]{width:90px;max-width:100%}

/* Smartphones: steps and diagnostics belong to the central portal. */
.phone-dialog{width:min(1140px,96vw)}
.phone-step{border-top:1px solid var(--border,#e5e1ed);padding:18px 0}
.phone-step h3{font-size:1rem;margin:0 0 12px}
.phone-step-body{margin-left:22px}
.phone-step-body>.button{margin:0 8px 8px 0}
.phone-step details{margin:10px 0}
.phone-step summary{cursor:pointer;font-weight:600;color:var(--primary,#65518c)}
.phone-step li{margin:8px 0}
.phone-qr{display:flex;gap:20px;align-items:center;margin:12px 0;max-width:680px}
.phone-qr img,.phone-step td img{background:#fff;flex-shrink:0}
.phone-code{display:flex;align-items:center;gap:10px}
.phone-code code{overflow-wrap:anywhere;white-space:normal}
.phone-fingerprint{display:block;overflow-wrap:anywhere;font-size:.85em;padding:8px 0}
.phone-notice{background:#f2edf9;border-left:3px solid #7153ab;padding:10px 14px}
.phone-step .data-table td{vertical-align:top}
@media(max-width:640px){.phone-step-body{margin-left:8px}.phone-qr{display:block}.phone-code{flex-wrap:wrap}}

.smartphones-table{min-width:1050px}.smartphones-table td:first-child{min-width:150px}.smartphones-table td:nth-child(3){min-width:180px}.smartphones-table td:last-child{min-width:210px}

.player-config-dialog [data-phone-port]{width:110px;padding:9px 12px;border:1px solid #ddd5eb;border-radius:8px;background:#fff;font:inherit}

.smartphones-table td:last-child,.smartphones-table th:last-child{position:sticky;right:0;background:#fff;box-shadow:-3px 0 6px #3b26500a;z-index:1;min-width:180px}
.smartphones-table th:last-child{background:#faf9fc;z-index:2}

/* Collapsible navigation: preserve destination names for assistive technology. */
.sidebar-header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:30px}
.sidebar-header .brand{padding:0;gap:8px;font-size:18px;min-width:0}
.sidebar-header .brand>span{white-space:nowrap}
.sidebar-header .brand small{font-size:8px;letter-spacing:.8px}
.sidebar-toggle{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:34px;height:34px;border:1px solid var(--border);border-radius:7px;background:#fff;color:var(--purple);padding:6px}
.sidebar-toggle:hover{background:#eee9f5;border-color:#c4b9d3}
.layout>.sidebar{z-index:3}
.sidebar nav{flex:1;min-height:0;align-content:start;overflow-y:auto;overflow-x:hidden;padding:8px;margin:-8px}
.sidebar nav a{min-height:44px;flex-shrink:0}
.sidebar .nav-beta{display:inline-block;margin-inline-start:6px;padding:2px 5px;border-radius:4px;background:#eee8f7;color:#503b7a;font-size:10px;font-weight:700;line-height:1.2;vertical-align:middle}
.sidebar .sidebar-footer strong{display:flex;align-items:center;gap:7px}
.sidebar .sidebar-footer .state-dot{width:8px;height:8px}
.sidebar-collapsed .nav-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.sidebar-collapsed .sidebar nav a{justify-content:center;gap:0}
.sidebar-tooltip{position:fixed;z-index:60;max-width:calc(100vw - 16px);padding:7px 11px;border-radius:6px;background:#30243e;color:#fff;box-shadow:0 4px 12px #32214422;pointer-events:none;font-size:13px}
@media(min-width:701px){
 .layout.sidebar-collapsed{grid-template-columns:72px minmax(0,1fr)}
 .layout.sidebar-collapsed>.sidebar{padding:31px 10px}
 .sidebar-collapsed .sidebar-header{flex-direction:column;gap:14px;margin-bottom:24px}
 .sidebar-collapsed .sidebar-header .brand>span,.sidebar-collapsed .nav-label,.sidebar-collapsed .sidebar-copy{display:none}
 .sidebar-collapsed .sidebar nav a{padding:12px 10px}
 .sidebar-collapsed .sidebar-footer{padding:18px 0 0}
 .sidebar-collapsed .sidebar-footer strong{justify-content:center;margin:0}
}
@media(max-width:700px){
 .sidebar-header{margin-bottom:15px}
 .sidebar nav{flex:none;overflow-x:auto;overflow-y:hidden;padding:8px;margin:-8px}
 .sidebar-collapsed .sidebar nav a{min-width:44px}
}

/* Inventory groups share the same compact, independently sortable tables. */
.service-inventory{margin-top:24px;margin-bottom:24px}
.service-inventory>.panel+.panel{margin-top:24px}
.inventory-disclosure>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:54px;padding:12px 23px;list-style:none;cursor:pointer}
.inventory-disclosure>summary::-webkit-details-marker{display:none}
.inventory-disclosure>summary::after{content:"";width:8px;height:8px;flex:none;margin-inline-end:3px;border:solid var(--purple);border-width:0 2px 2px 0;transform:rotate(45deg)}
.inventory-disclosure[open]>summary{border-bottom:1px solid var(--border)}
.inventory-disclosure[open]>summary::after{transform:rotate(225deg)}
.inventory-disclosure>summary:focus-visible{outline:2px solid var(--purple);outline-offset:-4px}
.inventory-disclosure-description{padding:12px 23px;margin:0;color:var(--muted);font-size:12px}
.service-auxiliary-options{padding:12px 23px}

/* Secondary activity information stays compact at the end of the environment. */
#environment-activity{margin-top:24px}
.activity-footer-details{font-size:12px;line-height:1.6;color:var(--muted)}
.activity-footer-details p+p{margin-top:7px}

/* The overview contains aggregate indicators only, with no record lists. */
.data-scroll .dashboard-table{min-width:0;table-layout:fixed;font-size:15px}
.dashboard-table th:first-child{width:44%}
.dashboard-table th,.dashboard-table td{overflow-wrap:anywhere}
.dashboard-table td{padding:14px 22px;vertical-align:middle}
.dashboard-table .summary-number{font-size:24px;line-height:1.2}
.dashboard-value{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px 12px}
.dashboard-secondary{font-size:14px;color:var(--muted)}
.dashboard-note{display:block;color:var(--muted);font-size:12px;margin-top:4px}
.dashboard-table .dashboard-local-status{font-size:14px;white-space:normal}
@media(max-width:700px){.dashboard-table td{padding:13px 14px;font-size:14px}.dashboard-table .summary-number{font-size:22px}.dashboard-value{gap:4px 8px}}

.heading.environment-heading{display:block;margin-bottom:16px}
.environment-heading .eyebrow{margin:0 0 6px}
.vm-overview{margin-bottom:20px}
.vm-overview>.panel-header,.inventory-computer>.panel-header{padding-block:12px}
.vm-overview-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;padding:14px 18px}
.vm-overview-inventory{grid-template-columns:repeat(5,minmax(0,1fr));padding-top:0}
.vm-overview-card{min-width:0;padding:10px 14px;border:1px solid var(--border);border-radius:8px;overflow-wrap:anywhere}
.vm-overview-card h3{margin:0;color:var(--muted);font-size:13px;font-weight:600}
.vm-overview-value{margin-top:3px;font-size:20px;font-weight:650;font-variant-numeric:tabular-nums}
.vm-overview-value .vm-state{font-size:inherit}
.vm-overview-card .cell-note{margin:3px 0 0}
.inventory-connection-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.inventory-readiness-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.vm-identity-action{margin-top:6px;white-space:normal}
.vm-tools{margin-bottom:20px}
#main>.vm-overview+.vm-tools{margin-top:0}
.vm-tools>.panel-header{padding-block:12px}
.vm-tools-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px;padding:14px 18px}
.vm-tools-card{display:flex;flex-direction:column;align-items:center;gap:12px;min-width:0;padding:14px 10px;border:1px solid var(--border);border-radius:8px;text-align:center}
.vm-tools-card h3{margin:0;font-size:14px;line-height:1.35}
.vm-tool-icon{width:36px;height:36px;flex:none;fill:none;stroke:var(--purple);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.vm-tool-icon-database{fill:#003545;stroke:none}
.vm-tool-icon-files{fill:#a90000;stroke:none}
.vm-tool-action{margin-top:auto;max-width:100%}
.vm-tool-action .button{white-space:normal}
.vm-tool-action .cell-note{margin:6px 0 0}
@media(max-width:1200px){.vm-tools-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:940px){.vm-tools-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.vm-tools-grid{padding:10px;gap:8px}.vm-tools-card{padding-inline:8px}}
@media(max-width:940px){.vm-overview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.vm-overview-inventory{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:520px){.vm-overview-grid{padding:10px;gap:8px}.vm-overview-inventory{grid-template-columns:repeat(2,minmax(0,1fr));padding-top:0}.vm-overview-card{padding:9px 10px}}

.inventory-computer .vm-access-notice{margin:6px 0 0;color:var(--muted);font-size:12px}
@media(max-width:940px){.inventory-readiness-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.inventory-connection-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.vm-access-notice a{display:block;margin-top:2px;font-weight:600}

/* PP2: one guided flow per device, with labels independent of color. */
.player-workflow-dialog{width:min(940px,calc(100vw - 28px))}
.player-workflow-step{padding:18px 0;border-bottom:1px solid var(--border)}
.player-step-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.player-step-heading h3{margin:0;font-size:15px}.player-step-content{padding-left:22px}.player-step-content p{margin:12px 0;overflow-wrap:anywhere}
.player-step-status{display:inline-flex;align-items:center;gap:7px;border-radius:5px;padding:5px 9px;font-size:12px;font-weight:600}
.player-step-status.green{background:#edf8f1;color:#216346}.player-step-status.yellow,.player-update-warning{background:#fff7e4;color:#805900}.player-step-status.red{background:#fff1f2;color:#ad2336}
.player-observed-target{display:block;margin-top:12px;overflow-wrap:anywhere}.player-diagnostics{margin-top:22px}.player-diagnostics summary{cursor:pointer;color:var(--purple);font-weight:600}.player-update-warning{padding:12px;border-radius:6px}
.player-operation-progress{display:flex;align-items:center;gap:8px;color:#805900}.player-spinner{display:inline-block;width:14px;height:14px;border:2px solid #d9cda9;border-top-color:#805900;border-radius:50%;animation:player-spin 1s linear infinite;flex-shrink:0}
@keyframes player-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.player-spinner{animation:none}}@media(max-width:600px){.player-step-content{padding-left:10px}.player-step-content .button{white-space:normal}}

.commit-drift{white-space:nowrap;font-variant-numeric:tabular-nums;font-weight:600}
.commit-drift.current{color:#28805a}
.commit-drift.behind,.commit-drift.stale{color:#946418}
.commit-drift.diverged{color:#b33e3e}
.commit-drift.ahead{color:var(--purple)}
.commit-drift.pending{color:var(--muted)}
/* Keep each revision with the branch and source it describes. */
.inventory-vm{--inventory-build-width:24rem;display:grid;grid-template-columns:minmax(0,1fr) var(--inventory-build-width);gap:12px;align-items:center}
.inventory-vm-build{justify-self:end;inline-size:min(100%,var(--inventory-build-width));padding:9px 12px;border:1px solid var(--border);border-radius:8px;background:#faf8fc;overflow-wrap:anywhere}
@media(max-width:1050px){
 .inventory-vm{grid-template-columns:minmax(0,1fr);gap:10px}
}
.inventory-workspace{display:grid;justify-items:start;gap:3px;min-width:0;max-width:100%;font-size:12px;overflow-wrap:anywhere}
.execution-source-picker{min-width:0;margin-inline:0;padding:0;border:0}
.execution-source-picker legend{padding:0;margin-bottom:7px;font-size:12px;font-weight:650}
.execution-source-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));overflow:hidden;border:1px solid var(--border);border-radius:7px}
.execution-source-options label{position:relative;display:flex;min-width:0;margin:0;cursor:pointer}
.execution-source-options label+label{border-inline-start:1px solid var(--border)}
.execution-source-options input[type=radio]{width:1px;padding:0;border:0}
.execution-source-option{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:0;min-height:61px;padding:7px 5px;background:#fff;color:var(--muted);text-align:center;line-height:1.3;overflow-wrap:anywhere}
:is(.execution-source-option,.service-execution-model) svg{width:19px;height:19px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.execution-source-options label:hover .execution-source-option{background:#f7f4f9;color:var(--purple)}
.execution-source-options input:checked+.execution-source-option{background:#eee8f7;color:#503b7a;box-shadow:inset 0 -2px var(--purple)}
.execution-source-options input:focus-visible+.execution-source-option{outline:2px solid var(--purple);outline-offset:-3px}
.execution-branch-picker{min-width:0;margin-inline:0;padding:0;border:0}
.execution-branch-picker legend{padding:0;margin-bottom:7px;font-size:12px;font-weight:650}
.execution-branch-options{max-height:236px;overflow:auto;margin-block:6px;border:1px solid var(--border);border-radius:6px;background:white}
.execution-branch-options:empty{display:none}
.execution-branch-options button{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;width:100%;min-height:37px;padding:7px 10px;border:0;border-radius:0;background:white;color:var(--ink);font:inherit;text-align:start}
.execution-branch-options button+button{border-top:1px solid #f1edf4}
.execution-branch-options button:hover{background:#f8f5fa}
.execution-branch-options button[aria-pressed="true"]{background:#eee8f7;color:#503b7a;box-shadow:inset 3px 0 var(--purple)}
.execution-branch-options button:focus-visible{outline:2px solid var(--purple);outline-offset:-2px}
.execution-branch-label{display:flex;align-items:center;flex-wrap:wrap;gap:4px 7px;min-width:0;overflow-wrap:anywhere}
.execution-branch-age{justify-self:end;color:var(--muted);font-size:11px;text-align:end;font-variant-numeric:tabular-nums}
.execution-branch-options button[hidden],.execution-branch-picker [hidden],.execution-branch-picker [role=status]:empty{display:none}
.execution-branch-pr{padding:2px 5px;border-radius:4px;background:#eee8f7;color:#503b7a;font-size:11px;font-weight:650;white-space:nowrap}
.execution-branch-picker [data-branch-retry]{margin-top:5px}
.repository-group-name>.service-detail-button{display:flex;width:max-content;margin:6px auto}
.inventory-branch{display:grid;gap:4px;align-content:start;justify-items:start;min-width:0}
.inventory-build-heading{display:flex;align-items:center;gap:6px;flex-wrap:wrap;justify-self:stretch}
.service-version-badge{margin-inline-start:auto;padding:2px 7px;border-radius:4px;font-size:.76rem;font-weight:700;line-height:1.5;white-space:nowrap}
.service-version-badge.current{background:#d9f1e4;color:#1b633e}
.service-version-badge.outdated{background:#fbe1df;color:#982b25}
.service-version-badge.unknown{background:#eeeaf1;color:#5d5367}
.dialog-footer.service-update-footer{justify-content:flex-end;flex-wrap:wrap}
.service-update-footer .execution-remove-confirm{margin-inline-end:auto}
.inventory-branch-name{display:flex;align-items:center;gap:4px 8px;flex-wrap:wrap;max-width:100%}
.inventory-branch-name .branch-pr{font-size:12px;font-weight:600;white-space:nowrap;text-underline-offset:2px}
.branch-caption,.inventory-branch-name small{font-size:11px;font-weight:600;color:var(--muted)}
.branch-commit-value,.inventory-branch-name .branch-head{font-size:12px}
.branch-commit-value{display:inline-flex;align-items:center;gap:2px}
.inventory-branch-name small.commit-unconfirmed{color:#97610d}
.github-commit-link{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:5px;color:var(--muted);align-self:center}
.github-commit-link svg{width:15px;height:15px}
.github-commit-link:hover,.github-commit-link:focus-visible{background:#f1eef7;color:var(--purple)}
.github-commit-link:focus-visible{outline:2px solid currentColor;outline-offset:1px}
.inventory-service{display:grid;gap:4px;justify-items:start;min-width:0}
.inventory-service :is(.service-scope-badge,.service-status-badge,.service-access-badge),
.inventory-service-actions :is([data-action="service-remove"],[data-action="execution-remove"]){box-sizing:border-box;flex:none;inline-size:var(--inventory-badge-width)}
.inventory-service :is(.service-scope-badge,.service-status-badge,.service-access-badge){margin-inline-end:var(--inventory-toggle-inset)}
.runtime-services-table .inventory-service-actions .endpoint-switch{padding-inline:var(--inventory-toggle-inset)}
.service-access-list{display:grid;gap:4px;list-style:none;margin:2px 0 0;padding:0;max-width:100%;min-width:0}
.service-access-line{display:flex;align-items:flex-start;gap:6px;min-width:0;overflow-wrap:anywhere}
.service-access-label{display:inline-flex;align-items:center;gap:6px;flex:none;white-space:nowrap}
:is(.service-access-badge,.service-status-badge){padding:1px 5px;border-radius:4px;background:#f1eef3;color:#4f4659;font-size:.72rem;font-weight:600;line-height:1.4}
.service-access-protocol{color:var(--muted);font-size:.75rem;font-weight:600;line-height:18px}
.service-access-target{display:flex;align-items:flex-start;gap:6px;min-width:0}
.service-access-line :is(.service-url,.service-access-copy){min-width:0}
.service-access-copy{display:block;border:0;background:none;padding:0;color:var(--ink);font:inherit;text-align:left;overflow-wrap:anywhere}
.service-access-copy:hover code,.service-access-copy:focus-visible code{text-decoration:underline;text-underline-offset:2px}
.service-access-line .service-access-info,.inventory-service-title .service-title-info{position:relative;flex:none;margin:0;border:0;font-size:9px;line-height:1}
:is(.service-access-info,.service-title-info)::before{content:"";position:absolute;inset:3px;border:1px solid currentColor;border-radius:50%;pointer-events:none}
.inventory-service-title .service-title-info{margin-inline-start:4px}
.service-access-line .service-access-info:is(:hover,[aria-expanded=true]){background:transparent;text-decoration:none}
@media(max-width:600px){.service-access-line{flex-wrap:wrap;row-gap:2px}}
.runtime-services-table .button.service-detail-button{min-height:28px;margin-top:6px;padding:3px 9px}
.inventory-service-actions{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:6px}
.service-endpoint-actions{display:inline-flex;flex-wrap:wrap;align-items:center;gap:6px}
.service-tunnel-status{display:inline-flex;flex:none;align-items:center;gap:5px;color:var(--muted);font-size:.75rem}
.service-execution-model{display:inline-flex;align-items:center;gap:4px;white-space:nowrap}
.service-execution-model.detail-trigger{cursor:pointer}
.service-execution-model svg{width:13px;height:13px}
.runtime-services-table .inventory-service-actions .button.service-detail-button{margin-top:0;flex:none}
.inventory-service-actions [data-action="execution-remove"]:enabled{border-color:#dba39e;background:#fff5f4;color:#982b25}
.inventory-service-actions [data-action="execution-remove"]:enabled:hover{border-color:#c86760;background:#fce6e4}
.button.execution-remove-confirm{border-color:#a73732;background:#a73732;color:#fff}
.button.execution-remove-confirm:hover{border-color:#8d2b26;background:#8d2b26}
.inventory-service-name{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 6px;min-width:0;max-width:100%}
.inventory-service-title{min-width:0;max-width:100%;overflow-wrap:anywhere}
.inventory-service-badges{display:inline-flex;align-items:center;gap:6px;flex:none}
.inventory-service-name strong{min-width:0;overflow-wrap:anywhere}
.inventory-indicator{display:inline-flex;align-items:center;gap:5px;min-height:22px;font-size:12px;font-weight:400;line-height:1.3;text-align:start;color:var(--muted);cursor:help}
.repository-services-table .inventory-indicator .repository-indicator{flex:none;width:16px;height:16px;padding:0;border:0;background:transparent;pointer-events:none}
.inventory-indicator .repository-indicator svg{width:16px;height:16px}
.inventory-state,.diagnostic-state,.diagnostic-heading{display:flex;align-items:center;gap:6px}
.inventory-state{font-size:12px;color:var(--ink);text-align:start}
.inventory-state:has(.service-status-actions){flex-wrap:wrap}
.service-status-actions{display:inline-flex;align-items:center;gap:4px;flex-wrap:wrap}
.runtime-services-table .button.service-control-button{min-height:24px;padding:2px 6px;font-size:12px}
.service-log-output{background:var(--surface,#fff);padding:12px;border:1px solid var(--border);border-radius:6px;max-height:55vh;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere}
.service-status-badge{font-size:11px;font-weight:600;color:var(--muted)}
.inventory-state .state-dot{width:9px;height:9px;flex:0 0 9px;margin:0}
.service-url{max-width:100%;overflow-wrap:anywhere;font-size:12px;line-height:1.4;text-decoration:underline;text-underline-offset:2px}
.diagnostic-heading{justify-content:space-between;flex-wrap:wrap}
.diagnostic-heading h3{margin:0}
.service-diagnostic-list{margin:12px 0 20px}
.diagnostic-row{display:grid;grid-template-columns:minmax(7rem,.35fr) minmax(0,1fr);gap:12px;padding:10px 0;border-top:1px solid var(--border)}
.diagnostic-row dt{font-weight:600}
.diagnostic-row dd{margin:0;overflow-wrap:anywhere}
.diagnostic-row p{font-size:12px;margin:4px 0;color:var(--muted)}
.diagnostic-state{font-weight:600}
.diagnostic-state .diagnostic-icon{width:26px;height:26px;flex:none;cursor:default;pointer-events:none}
.diagnostic-state .diagnostic-icon svg{width:18px;height:18px}
.diagnostic-row .detail-facts{margin:6px 0}
@media(max-width:700px){
 .diagnostic-row{grid-template-columns:minmax(0,1fr);gap:4px}
 .repository-services-table td:last-child,.repository-services-table th:last-child{position:static}
}
.branch-badge{
 display:inline-block;max-width:100%;vertical-align:middle;padding:1px 6px;border-radius:5px;
 border:1px solid #dcd4e7;background:#f4f1f8;color:#4f426a;line-height:1.4;font-weight:500;
 white-space:normal;overflow-wrap:anywhere;
}
.commit-drift-label{display:flex;align-items:center;gap:7px;color:var(--ink);font-variant-numeric:tabular-nums}
.commit-drift-values{display:grid;gap:2px;min-width:0}
.commit-drift-line strong{white-space:nowrap}
.commit-drift-line .vm-count,.commit-drift-label.ahead .commit-drift-graph{color:#345d96}
.commit-drift-line .ref-count,.commit-drift-label.behind .commit-drift-graph{color:#91551f}
.commit-drift-graph{flex:0 0 42px;width:42px;height:auto;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.commit-drift-graph path{fill:none}
.commit-drift-graph circle{fill:var(--surface)}
.commit-drift-label.current .commit-drift-graph{color:#267554}
.commit-drift-label.diverged .commit-drift-graph{color:#844064}
.commit-drift-label.pending,.commit-drift-note{color:var(--muted)}
.commit-drift-label.stale .commit-drift-graph{color:var(--amber)}
.commit-drift-note{font-size:11px;line-height:1.4}
/* Authorizing an existing VM stays in a compact dialog, preserving the VM inventory. */
dialog.computer-access-dialog{width:1000px;max-width:calc(100vw - 32px)}
.computer-access-dialog .data-scroll{margin:16px 0}
.computer-access-dialog td:last-child .button{margin:3px 5px 3px 0}
.computer-access-dialog .access-agent-warning{padding:12px;border:1px solid #e5ce8b;background:#fff8e6;color:#765200;border-radius:7px}
.computer-access-dialog .access-dialog-feedback:not(:empty){padding:10px 0;font-weight:600}

/* Repository permission, branch presence and per-service artifact indicators. */
.repository-services-table .repository-indicator-column{width:auto;min-width:0;max-width:none;height:auto;padding:10px 12px;white-space:normal;text-align:left;vertical-align:middle;word-break:normal;overflow-wrap:normal}
.repository-indicator-title{display:inline-block;vertical-align:middle;writing-mode:horizontal-tb;transform:none;white-space:normal;line-height:1.35;word-break:normal;overflow-wrap:normal}
.repository-services-table .repository-indicator-cell{width:44px;min-width:44px;text-align:center;vertical-align:middle;padding:6px}
.repository-indicator{position:relative;display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;padding:5px;border:1px solid transparent;border-radius:7px;background:transparent;color:#777181;cursor:pointer}
.repository-indicator svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.repository-indicator.is-good{color:#227344;background:#eef8f1}
.repository-indicator.is-build{color:#65538f;background:#f1edf8}
.repository-indicator.is-remote{color:#246ba2;background:#edf5fc}
.repository-indicator.is-attention{color:#97610d;background:#fff5df}
.repository-indicator.is-unavailable,.repository-indicator.is-unknown{color:#777181;background:#f6f4f8}
.repository-indicator.is-loading{color:var(--purple);background:#f0ebf8}
.repository-indicator.is-loading svg{animation:repository-spin .8s linear infinite}
.repository-indicator:hover{border-color:currentColor}
.repository-indicator:focus-visible{outline:3px solid var(--purple);outline-offset:3px}
.repository-indicator-feedback{display:block;max-width:245px;margin-top:7px;font-size:11px;line-height:1.5;font-weight:400}
.repository-indicator-feedback .refresh-spinner{width:12px;height:12px;margin-right:3px}
.repository-indicator-help{display:block;margin-top:4px}
@media(prefers-reduced-motion:reduce){.repository-indicator.is-loading svg{animation:none}}

/* Cloud means repository Packages; its badge answers for the exact running commit. */
.repository-package-revision,.repository-execution-arrival,.repository-permission-uncertain,.repository-local-build-state{position:absolute;right:-3px;bottom:-3px;display:flex;align-items:center;justify-content:center;width:15px;height:15px;border:1px solid #fff;border-radius:50%;font-size:10px;font-weight:700;line-height:1;background:#f6f4f8;color:#777181}
.repository-package-revision.is-available{color:#227344;background:#ddf3e4}
.repository-package-revision.is-not_published,.repository-package-revision.is-mixed{color:#97610d;background:#ffedc5}


.repository-execution-arrival.is-inherited{color:#246ba2;background:#e2f0fc}
.repository-execution-arrival.is-built_here,.repository-execution-arrival.is-downloaded_here{color:#227344;background:#ddf3e4}
.repository-execution-arrival.is-mixed{color:#97610d;background:#ffedc5}

.repository-permission-uncertain{color:#97610d;background:#ffedc5}

.branch-head.is-stale,.commit-unconfirmed{color:#97610d}


/* Discreet indicators beside the entity they describe, with accessible controls. */
.repository-name-line,.repository-inline-value{display:flex;align-items:center;gap:5px;min-width:0}
.repository-name-line .repository-name-text{min-width:0;overflow-wrap:anywhere}
.repository-name-line .repository-indicator-inline,.repository-inline-value .repository-indicator-inline{flex:0 0 auto}
.repository-inline-value>code{min-width:0;overflow-wrap:anywhere}
.repository-commit-value{flex-wrap:wrap;gap:5px 7px}
.repository-commit-indicators{display:inline-flex;align-items:center;gap:5px;flex:0 0 auto}
.repository-indicator.repository-indicator-inline{width:24px;height:24px;padding:3px;background:transparent;border-radius:5px;vertical-align:middle}
.repository-indicator.repository-indicator-inline svg{width:18px;height:18px}
.repository-indicator.repository-indicator-inline:hover{background:#f1eef7}
.repository-indicator-inline .repository-package-revision,.repository-indicator-inline .repository-execution-arrival,.repository-indicator-inline .repository-permission-uncertain,.repository-indicator-inline .repository-local-build-state{width:12px;height:12px;font-size:9px;right:-1px;bottom:-1px}
.repository-services-table td[data-label="COMMIT DO BUILD"]{min-width:175px;max-width:220px}
.repository-local-build-state{color:#777181;background:#f6f4f8}

.runtime-services-table{margin:.25rem 0}
.service-view-switch { display:flex; align-items:center; gap:5px; }
.service-view-switch .button { min-height:26px; padding:3px 8px; font-size:12px; }
.service-internals-choice { display:inline-flex; align-items:center; gap:8px; margin:0; cursor:pointer; }
.service-internals-choice input { width:16px; height:16px; margin:0; padding:0; accent-color:var(--purple); }
.service-map-toolbar { flex-wrap:wrap; gap:10px; }
.service-map-toolbar output { min-width:4ch; text-align:center; color:var(--muted); font-size:13px; }
.service-map-legend { padding:10px 18px; }
.service-map-edit { display:flex; flex-wrap:wrap; align-items:center; gap:8px 14px; padding:10px 18px 0; }
.service-map-edit small { color:var(--muted); }
.service-map-viewport.can-reposition .service-map-node { cursor:grab; touch-action:none; user-select:none; }
.service-map-viewport.can-reposition .service-map-node.dragging { cursor:grabbing; }
.service-map-viewport {
  height:clamp(290px,57vh,650px);
  max-width:100%;
  overflow:auto;
  cursor:grab;
  overscroll-behavior:contain;
  background-color:#faf8fb;
  background-image:radial-gradient(#ded8e6 1px,transparent 1px);
  background-size:16px 16px;
  border-block:1px solid var(--border);
}
.service-map-viewport.is-panning,.service-map-viewport.is-panning * { cursor:grabbing; user-select:none; }
.service-map-edge,.service-map-info { cursor:pointer; }
.service-map-svg { display:block; width:auto; height:auto; stroke:none; }
.service-map-layer { pointer-events:none; }
.service-map-layer rect { fill:#f4effa; fill-opacity:.8; stroke:#d8cce8; }
.service-map-layer.backend rect { fill:#edf3fb; stroke:#ccd9ec; }
.service-map-layer.persistence rect { fill:#edf6ef; stroke:#c9dfce; }
.service-map-layer.external rect { fill:#eaf5f5; stroke:#b9dada; stroke-dasharray:5 4; }
.service-map-layer text { fill:var(--ink); font-size:15px; font-weight:700; }
.service-map-node { cursor:pointer; }
.service-map-node rect { fill:var(--surface); stroke:#b7a8c9; }
.service-map-node.infrastructure rect { fill:#f8f7fa; stroke:#a9a2b6; }
.service-map-node:hover rect,.service-map-node:focus-visible rect,.service-map-node[aria-pressed=true] rect { stroke:var(--purple); stroke-width:2.5; }
.service-map-node.muted,.service-map-access.muted { opacity:.58; }
.service-map-access { cursor:pointer; }
.service-map-access rect { fill:#e5f1ff; stroke:#8cb5e2; }
.service-map-access path { fill:none; stroke:#215a96; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; pointer-events:none; }
.service-map-access:hover,.service-map-access:focus-visible { opacity:1; }
.service-map-access:hover rect,.service-map-access:focus-visible rect { fill:#d3e8ff; stroke:#215a96; stroke-width:2; }
.service-map-info rect { fill:#f4eff8; stroke:#c9bbda; }
.service-map-info text { fill:var(--purple); stroke:none; text-anchor:middle; font-size:14px; font-weight:700; }
.service-map-info.muted { opacity:.58; }
.service-map-info:is(:hover,:focus-visible,[aria-expanded=true]) { opacity:1; }
.service-map-info:is(:hover,:focus-visible,[aria-expanded=true]) rect { stroke:var(--purple); stroke-width:2; }
.service-map-node circle { fill:var(--green); }
.service-map-node circle.unhealthy { fill:#a73732; }
.service-map-node text { fill:var(--ink); font-size:13px; font-weight:650; }
.service-map-node.infrastructure text { font-size:12px; }
.service-map-node text.secondary { fill:var(--muted); font-size:11px; font-weight:500; }
.service-map-node text.commit-drift { fill:currentColor; text-anchor:end; font-size:11px; }
.service-map-edge path { fill:none; stroke:var(--purple); stroke-width:1.5; }
.service-map-edge.browser path { stroke-dasharray:5 4; }
.service-map-edge text { fill:var(--purple); font-size:12px; font-weight:700; text-anchor:middle; paint-order:stroke; stroke:#faf8fb; stroke-width:4px; }
.service-map-svg marker path { fill:var(--purple); }
.service-map-node.external-destination rect { fill:#e8f5f5; stroke:#327078; stroke-dasharray:5 3; }
.service-map-node.external-destination:hover rect,.service-map-node.external-destination:focus-visible rect,
.service-map-node.external-destination[aria-pressed=true] rect { stroke:#205760; }
.service-map-external-icon { fill:none; stroke:#205760; stroke-width:1.75; stroke-linecap:round; stroke-linejoin:round; }
.service-map-edge.external-destination path { stroke:#327078; stroke-dasharray:6 4; }
.service-map-edge.external-destination text { fill:#205760; }
.service-map-svg #service-map-arrow-external path { fill:#327078; }
.service-map-details { padding:14px 18px; overflow-wrap:anywhere; }
.service-map-details h3 { font-size:15px; margin:0 0 4px; }
.service-map-details ul { margin:8px 0 0; padding-left:21px; }

.service-map-diagnosis { display:flex; flex-wrap:wrap; align-items:center; gap:10px; padding:12px 18px 0; }
.service-map-diagnosis small { color:var(--muted); }
.service-map-edge.observed path { stroke:var(--green); stroke-width:2; }
.service-map-edge.observed text { fill:var(--green); }
.service-map-edge.failed path { stroke:var(--amber); }
.service-map-edge.failed text { fill:var(--amber); }
.service-map-svg #service-map-arrow-observed path { fill:var(--green); }
.service-map-svg #service-map-arrow-failed path { fill:var(--amber); }
.service-map-edge.observed.configured path { stroke:var(--purple); stroke-width:1.5; }
.service-map-edge.observed.configured text { fill:var(--purple); }
.service-map-edge.probe-responded path,.service-map-edge.observed.configured.probe-responded path { stroke:#26734d; stroke-width:2.6; }
.service-map-edge.probe-responded text,.service-map-edge.observed.configured.probe-responded text { fill:#26734d; }
.service-map-edge.probe-failed path,.service-map-edge.observed.configured.probe-failed path { stroke:#ad3035; stroke-width:2.6; }
.service-map-edge.probe-failed text,.service-map-edge.observed.configured.probe-failed text { fill:#ad3035; }
.service-map-svg #service-map-arrow-probe-responded path { fill:#26734d; }
.service-map-svg #service-map-arrow-probe-failed path { fill:#ad3035; }
.service-map-edge.probe-blocked path,.service-map-edge.observed.configured.probe-blocked path { stroke:#986405; stroke-width:2.6; }
.service-map-edge.probe-blocked text,.service-map-edge.observed.configured.probe-blocked text { fill:#986405; }
.service-map-edge.probe-inconclusive path,.service-map-edge.observed.configured.probe-inconclusive path { stroke:#626875; stroke-width:2.6; }
.service-map-edge.probe-inconclusive text,.service-map-edge.observed.configured.probe-inconclusive text { fill:#626875; }
.service-map-edge[data-map-edge] path.service-map-edge-hit[aria-hidden=true] { stroke-opacity:0; stroke-width:16; pointer-events:stroke; }
.service-map-edge:is(:hover,:focus-visible,[aria-expanded=true]) text { text-decoration:underline; }
.service-map-svg #service-map-arrow-probe-blocked path { fill:#986405; }
.service-map-svg #service-map-arrow-probe-inconclusive path { fill:#626875; }

#environment-issues{margin-bottom:20px}
.environment-issues-table td:nth-child(3){overflow-wrap:anywhere}

/* Scope colors are independent of the health indicator. */
:is(.service-scope-badge,.service-execution-model){flex:none;padding:2px 7px;border-radius:4px;background:#f1eef3;color:#4f4659;font-size:.76rem;line-height:1.5}
.service-scope-badge{font-weight:700}
.service-scope-badge[data-service-scope="base"]{background:#b7d5fc;color:#183e74}
.service-scope-badge[data-service-scope="ad_hoc"]{background:#d7b9f6;color:#4e2479}
[data-execution-scope="base"]{--execution-scope-tint:#fff}
[data-execution-scope="ad_hoc"]{--execution-scope-tint:#edf0f3}
.service-map-node[data-execution-scope]>rect{fill:var(--execution-scope-tint)}

.matrix-maintenance-panel + .matrix-maintenance-panel { margin-top:20px; }
.matrix-maintenance-schedule { display:flex; flex-wrap:wrap; gap:14px 32px; margin:0; }
.matrix-maintenance-schedule dt { font-size:12px; color:var(--muted); }
.matrix-maintenance-schedule dd { margin:3px 0 0; font-weight:600; overflow-wrap:anywhere; }
.matrix-maintenance-toggle { display:flex; align-items:center; gap:8px; margin-bottom:18px; font-weight:650; }
.matrix-maintenance-days { margin:0; padding:0; border:0; }
.matrix-maintenance-days legend { font-size:13px; font-weight:650; margin-bottom:7px; }
.matrix-maintenance-days > div { display:flex; flex-wrap:wrap; gap:8px; }
.matrix-maintenance-days label { display:flex; align-items:center; gap:6px; padding:6px 10px; border:1px solid var(--border); border-radius:6px; }
.matrix-maintenance-days input, .matrix-maintenance-toggle input { accent-color:var(--purple); }
.matrix-maintenance-result { display:flex; flex-wrap:wrap; gap:10px; align-items:center; }
.matrix-maintenance-result time { color:var(--muted); font-size:13px; }
.matrix-maintenance-progress { margin-top:8px; overflow-wrap:anywhere; }
@media(max-width:520px) { .matrix-maintenance-fields { grid-template-columns:1fr; gap:0; } }

.maintenance-report-table { min-width:620px; }
.maintenance-report-table td { overflow-wrap:anywhere; }
.maintenance-report-table td:last-child { min-width:180px; }
.maintenance-report-warnings { margin:0; padding-left:22px; overflow-wrap:anywhere; }

.mariadb-settings { display: grid; grid-template-columns: minmax(9rem, auto) 1fr; gap: .55rem 1rem; margin: .75rem 0; }
.mariadb-settings dt { font-weight: 600; }
.mariadb-settings dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.mariadb-instance { border: 1px solid var(--line, #ded8e8); border-radius: .5rem; padding: .8rem 1rem; margin: .65rem 0; }
.mariadb-instance summary { cursor: pointer; }
.mariadb-instance summary .note { margin-left: .6rem; }
.mariadb-password { display: block; margin-top: .5rem; }
.mariadb-password[hidden] { display: none; }
@media (max-width: 550px) {
 .mariadb-settings { grid-template-columns: 1fr; gap: .35rem; }
 .mariadb-settings dd + dt { margin-top: .5rem; }
}

.proxy-table td[data-label="Serviço na VM"],.proxy-table td[data-label="Serviço na LAN"]{min-width:14rem;overflow-wrap:anywhere}
.proxy-wizard select,.proxy-wizard input{width:100%;min-width:0}
.proxy-wizard [data-preview]{overflow-wrap:anywhere}
.proxy-wizard [data-proxy-error]:empty{display:none}

/* ADB onboarding follows the selected computer and never infers absence offline. */
.player-adb-help{margin:0 0 18px;padding:12px 14px;border:1px solid var(--border);border-radius:7px;background:#faf9fc}
.player-adb-status{display:flex;align-items:flex-start;gap:8px;margin:0;font-size:14px}
.player-adb-status.detected{color:#216346}.player-adb-status.missing{color:#ad2336}.player-adb-status.unknown{color:#805900}
.player-adb-icon{flex:none;font-size:18px;line-height:1.2}
.player-adb-instructions{margin-top:12px}.player-adb-instructions summary{cursor:pointer;color:var(--purple);font-weight:600}
.player-adb-instructions h4{font-size:14px;margin:14px 0 8px}.player-adb-instructions ol{padding-left:22px}
.player-adb-instructions li{margin:8px 0}.player-adb-instructions code{overflow-wrap:anywhere}
.player-adb-help>.button{margin-top:12px}

.player-proxy-required{display:flex;align-items:center;gap:12px;padding:8px 10px;margin:10px 0;border:1px solid #f0c4cb;border-radius:6px;background:#fff1f2;color:#9b2534}
.player-proxy-required p{flex:1;min-width:0;margin:0;font-size:13px;line-height:1.45;overflow-wrap:anywhere}
.player-proxy-required .button{flex:none;min-height:34px;padding:6px 10px;font-size:13px;white-space:nowrap}
@media(max-width:520px){.player-proxy-required{flex-wrap:wrap;gap:8px}.player-proxy-required p{flex-basis:100%}}

.player-account-warning{display:block;margin-top:10px;padding:8px 10px;border:1px solid #e5ce8b;border-radius:6px;background:#fff8e6;color:#765200}

.player-step-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}

.player-development-switch{display:inline-flex;align-items:center;gap:8px;border:0;background:transparent;color:inherit;font:inherit;text-align:left;min-height:36px;padding:4px;cursor:pointer}
.player-development-switch:focus-visible{outline:2px solid var(--primary,#65538f);outline-offset:3px;border-radius:5px}
.player-development-switch:disabled{cursor:not-allowed;opacity:.65}
.player-switch-track{display:inline-flex;align-items:center;flex-shrink:0;width:36px;height:20px;padding:2px;border:1px solid #85818d;border-radius:20px;background:#e5e3e8}
.player-switch-track>span{width:14px;height:14px;border-radius:50%;background:#fff;box-shadow:0 1px 2px #0003}
.player-development-switch[aria-checked="true"] .player-switch-track{background:var(--primary,#65538f);border-color:var(--primary,#65538f)}
.player-development-switch[aria-checked="true"] .player-switch-track>span{transform:translateX(16px)}


/* PP2: saved intent and a compact, persistent automatic setup. */
.player-registration-account{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.player-registration-links{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:8px 0 20px}
.player-workflow-overview{padding:16px;background:var(--surface-muted,#f8f7fb);border-radius:10px;margin-bottom:12px}
.player-workflow-overview p{margin:8px 0}
details.player-workflow-step{margin:0;border:0;border-top:1px solid var(--border,#e5e1ee);padding:0;font-size:14px}
.player-workflow-step>summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:10px;padding:12px 4px}
.player-workflow-step>summary::-webkit-details-marker{display:none}
.player-workflow-step>summary:focus-visible{outline:2px solid var(--primary,#66528f);outline-offset:2px;border-radius:4px}
.player-phase-icon{display:inline-flex;flex:0 0 24px;align-items:center;justify-content:center;width:24px;height:24px;font-weight:700;border-radius:50%}
.player-phase-icon.green{color:#176949;background:#eaf6f0}
.player-phase-icon.red{color:#b42318;background:#fff0f0}
.player-phase-icon.yellow{color:#876000;background:#fff6df}
.player-phase-icon.neutral{color:#686272;background:#efedf3}
.player-step-title{flex:1;font-weight:650}
.player-step-status{font-size:.82rem;white-space:nowrap}
.player-step-status.neutral{color:var(--muted,#686272)}
.player-step-chevron{font-size:22px;transition:transform .15s}
.player-workflow-step[open] .player-step-chevron{transform:rotate(90deg)}
.player-step-content{padding:0 12px 16px 38px}
.player-workflow-step .player-step-content p{margin-top:0}
.player-diagnostics{margin-top:18px}
@media(max-width:640px){.player-registration-account{grid-template-columns:1fr}.player-step-title{font-size:.9rem}.player-step-status{font-size:.75rem}.player-step-heading{gap:6px}.player-step-content{padding-left:8px}}
@media(prefers-reduced-motion:reduce){.player-step-chevron{transition:none}.player-spinner{animation:none}}

.player-registration-dialog{max-width:800px}

/* Compact Player identity and LAN ping, with full labels available to assistive tools. */
.player-serial-line{display:flex;flex-wrap:wrap;column-gap:12px;row-gap:2px;align-items:baseline}
.player-token{white-space:nowrap}
.player-computer{font-size:11px;max-width:320px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.player-ping-line{display:flex;align-items:center;gap:6px}
.player-ping-indicator{display:inline-flex;align-items:center}
.player-ping-indicator .state-dot{margin:0}

.player-mode-permission{margin-top:7px}.players-table td{vertical-align:top}.players-table .player-step-status{font-size:11px}.players-table td:nth-child(3){min-width:190px}

.players-table td:nth-child(5){min-width:170px}

.player-step-retry{margin:14px 0}.player-account-correction{display:flex;flex-direction:column;gap:6px;max-width:280px}.player-account-correction input{width:100%}

.player-cell-heading,.player-mode-controls{display:flex;align-items:center;gap:6px}.player-cell-refresh{display:inline-flex;align-items:center;justify-content:center;flex:0 0 28px;width:28px;height:28px;padding:5px;border:1px solid transparent;border-radius:6px;background:transparent;color:var(--purple);cursor:pointer}.player-cell-refresh:hover:not(:disabled){background:#f0ecf8;border-color:#ded6ee}.player-cell-refresh:focus-visible{outline:2px solid var(--purple);outline-offset:2px}.player-cell-refresh:disabled{cursor:default;opacity:.5}.player-cell-refresh[aria-busy="true"]{opacity:1}.player-cell-refresh svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.player-cell-refresh .player-spinner{width:14px;height:14px}

.players-table th:last-child,.players-table td:last-child{width:1%;min-width:100px}.players-table td:last-child .table-actions{flex-wrap:nowrap}.players-table .row-actions>summary{padding-inline:12px}

.players-table .player-cell-heading{min-height:30px;flex-wrap:nowrap;align-items:center}.players-table .player-cell-heading>.player-step-status{white-space:nowrap}.players-table .player-cell-detail{margin-top:7px}.players-table .player-step-status .player-spinner{margin-right:5px}

.players-table td>.player-step-status{vertical-align:top}

.players-table :is(th,td):nth-child(6){width:240px;max-width:240px;box-sizing:border-box}
.players-table td:nth-child(6)>*{max-width:216px}
.player-destination-vm,.player-destination-url{display:block;white-space:normal;overflow-wrap:anywhere}

.usage-filter-panel{overflow:visible;position:relative;z-index:2}.usage-owner-filter{display:flex;flex-direction:column;gap:6px;font-size:.85rem;width:260px;max-width:100%}.usage-owner-picker{position:relative;width:100%;min-width:0}.usage-owner-picker>summary{display:flex;width:100%;justify-content:space-between;list-style:none;min-height:40px}.usage-owner-picker>summary::-webkit-details-marker{display:none}.usage-owner-options{position:absolute;z-index:10;top:calc(100% + 6px);left:0;min-width:0;width:100%;max-width:calc(100vw - 32px);padding:12px;background:#fff;border:1px solid var(--border);border-radius:10px;box-shadow:0 8px 24px #29213326}.usage-owner-tools{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:8px}.usage-owner-tools .button{font-size:12px;padding:6px 8px;min-height:32px}.usage-owner-options fieldset{margin:0;padding:0;border:0;max-height:240px;overflow:auto}.usage-filters .usage-owner-options label{display:flex;flex-direction:row;align-items:center;gap:9px;min-height:36px;font-size:13px;font-weight:400;cursor:pointer}.usage-owner-options label span{overflow-wrap:anywhere}.usage-filters .usage-owner-options input[type=checkbox]{width:18px;min-width:18px;max-width:18px;min-height:18px;height:18px;margin:0;padding:0;accent-color:var(--purple)}

/* Column explanations remain separate from sort controls and work by mouse or keyboard. */
.column-info{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;margin-inline-start:5px;padding:0;border:1px solid currentColor;border-radius:50%;background:transparent;color:var(--muted);font:inherit;font-size:11px;vertical-align:middle}
.column-info:focus-visible{outline:2px solid var(--purple);outline-offset:3px}
.usage-summary-table{min-width:1120px}.usage-summary-table td:first-child{min-width:200px}.usage-summary-table td:nth-child(n+2){min-width:0}

/* Statistic titles stay compact; the help icon follows the text, with sorting separate. */
.usage-table,.usage-summary-table{min-width:0}
.usage-table th,.usage-table td{padding-inline:8px}
.usage-table th{text-align:left;vertical-align:bottom}
.usage-table .usage-column-heading{display:inline-flex;align-items:center;gap:3px;position:relative;padding-inline-end:13px}
.usage-table th[data-column-help] .column-sort{display:inline-flex;align-items:center;justify-content:flex-start;position:relative;width:auto;min-height:0;gap:0;vertical-align:bottom}
.usage-table th[data-column-help] .column-sort .sort-indicator{position:absolute;inset-inline-start:calc(100% + 20px);font-size:10px}
.usage-table .column-info{width:13px;height:13px;min-width:13px;margin:0;font-size:9px;line-height:1;cursor:pointer;flex:none}
.usage-summary-table th:nth-child(n+2):nth-child(-n+8),
.usage-table:not(.usage-summary-table) th:nth-child(n+4):nth-child(-n+10){height:220px;width:36px;padding:10px 8px;text-align:left;vertical-align:bottom}
.usage-summary-table th:nth-child(n+2):nth-child(-n+8) .usage-column-heading,
.usage-table:not(.usage-summary-table) th:nth-child(n+4):nth-child(-n+10) .usage-column-heading{flex-direction:column-reverse;align-items:flex-start;gap:3px;padding-inline-end:0;padding-block-end:15px}
.usage-summary-table th:nth-child(n+2):nth-child(-n+8) .column-sort>span:first-child,
.usage-table:not(.usage-summary-table) th:nth-child(n+4):nth-child(-n+10) .column-sort>span:first-child{writing-mode:vertical-rl;transform:rotate(180deg);white-space:nowrap;text-align:left}
.usage-summary-table th:nth-child(n+2):nth-child(-n+8) .sort-indicator,
.usage-table:not(.usage-summary-table) th:nth-child(n+4):nth-child(-n+10) .sort-indicator{inset-inline-start:0;inset-block-start:calc(100% + 3px)}
@media(pointer:coarse){.usage-table .column-info{width:24px;height:24px;min-width:24px;font-size:12px}}

:where(.detail-trigger:not(.player-step-status,.state-dot,.error)){
 border:0;padding:0;background:transparent;color:inherit;font:inherit;text-align:inherit;max-inline-size:100%;
}
.detail-trigger:is(.state-dot,.player-step-status){border:0}
.detail-trigger.state-dot{padding:0}
.detail-trigger.commit-drift{font-weight:600}
.detail-trigger.image-revision{display:inline-flex;align-items:baseline;gap:6px}
.detail-trigger:hover:not(.state-dot),.detail-trigger[aria-expanded=true]:not(.state-dot){text-decoration:underline}
.detail-trigger:focus-visible,.detail-trigger.state-dot[aria-expanded=true]{outline:2px solid var(--purple);outline-offset:2px}
.column-info:is(:hover,[aria-expanded=true]),.service-inventory-help button:is(:hover,[aria-expanded=true]){
 background:#f4eff8;color:var(--purple);
}
.detail-popover{
 position:fixed;inset:auto;z-index:150;margin:0;padding:16px;
 width:min(27rem,calc(100vw - 24px));max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);overflow:hidden;
 border:1px solid var(--border);border-radius:10px;background:var(--surface);color:var(--ink);
 box-shadow:0 8px 28px #22192f33;font-size:14px;line-height:1.55;overflow-wrap:anywhere;
}
.detail-popover:is(:popover-open,:not([popover])){display:flex;flex-direction:column}
.detail-popover-header{flex:none;display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:8px}
.detail-popover-header h2{font-size:16px;line-height:1.4;padding-block-start:4px}
.detail-popover-header button{
 flex:none;display:grid;place-items:center;width:30px;height:30px;padding:0;
 border:1px solid var(--border);border-radius:6px;background:transparent;color:var(--muted);
 font-size:21px;line-height:1;
}
.detail-popover-header button:hover{background:#f4eff8;color:var(--purple)}
.detail-popover-body{display:grid;align-content:start;gap:10px;min-height:0;overflow:auto;overscroll-behavior:contain}
.detail-popover-body:focus-visible{outline-offset:-3px}
.detail-popover-body p{white-space:pre-wrap}
.detail-popover-body ul{padding-inline-start:20px;margin:0}
.detail-popover-body li+li{margin-top:6px}
.detail-summary{font-weight:650}
.detail-facts{display:grid;gap:8px;margin:0;background:#f8f6fa;border-radius:6px;padding:10px 12px}
.detail-facts dt{color:#554d61;font-size:12px;font-weight:650}
.detail-facts dd{margin:0}
.detail-popover-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px}
.detail-popover-actions p{color:var(--muted);font-size:12px}

/* Alternate consolidated view: owner series share the selected time buckets and filters. */
.usage-chart-panel .panel-header{align-items:flex-end;flex-wrap:wrap}
.usage-presentation-controls{display:flex;align-items:flex-end;flex-wrap:wrap;gap:14px}
.usage-presentation-switch{display:flex;gap:6px}.usage-presentation-switch .button{min-height:36px}
.usage-chart-metric{display:flex;flex-direction:column;gap:5px;font-size:13px;color:var(--muted)}
.usage-chart-metric select{min-width:210px;min-height:38px;padding:7px 10px;border:1px solid var(--border);border-radius:6px;background:white;color:var(--ink);font:inherit}
.usage-chart{padding:18px 24px 24px;min-width:0}
.usage-chart-description{margin:0 0 12px;color:var(--muted);font-size:12px}
.usage-chart-svg{display:block;width:100%;height:auto;min-height:210px;touch-action:pan-y;outline-offset:3px}
.usage-chart-svg:focus-visible{outline:2px solid var(--purple)}
.usage-chart-grid{stroke:var(--border);stroke-width:1;vector-effect:non-scaling-stroke}
.usage-chart-line{fill:none;stroke-width:2.5;stroke-linejoin:round;stroke-linecap:round;vector-effect:non-scaling-stroke}
.usage-chart-tick{fill:var(--muted);font:12px Inter,system-ui,sans-serif}
.usage-chart-axis-label{fill:var(--ink);font:13px Inter,system-ui,sans-serif}
.usage-chart-cursor{stroke:var(--muted);stroke-width:1;stroke-dasharray:3 4;pointer-events:none;vector-effect:non-scaling-stroke}
.usage-chart-inspection{border-top:1px solid var(--border);padding-top:14px;font-size:13px}
.usage-chart-inspection>strong{display:block;margin-bottom:10px}
.usage-chart-inspection ul{display:flex;flex-wrap:wrap;gap:10px 24px;list-style:none;margin:0;padding:0}
.usage-chart-inspection li{display:flex;align-items:center;gap:7px;min-width:0}
.usage-chart-inspection li>span:not(.usage-series-swatch){overflow-wrap:anywhere}
.usage-series-swatch{display:inline-block;width:22px;min-width:22px;height:10px;flex:none;border:0}
.usage-chart-pending{margin:0;padding:12px 24px;background:#f8f6fb;color:var(--muted);font-size:13px}
@media(max-width:700px){.usage-chart{padding:16px 12px}.usage-chart-svg{min-height:0}.usage-presentation-controls{width:100%}.usage-chart-inspection ul{display:grid;gap:10px}.usage-chart-inspection li{flex-wrap:wrap}}

.usage-chart-svg text{stroke:none}

/* The portal frames the map. progic-ai owns its presentation. */
.skills-views { margin-bottom: 1rem; }
.skills-views button[aria-pressed="true"] { border-color: currentColor; }
.record-dialog.skills-map-open { width: min(96vw, 90rem); max-width: none; }
[data-skills-map-panel] iframe { display: block; width: 100%; height: 64dvh; border: 0; margin-top: .5rem; }


body.admin-mode::after{content:"";position:fixed;inset:0;border:5px solid #c52323;pointer-events:none;z-index:2147483647}
.topbar-controls{display:flex;align-items:center;gap:12px;margin-left:auto;flex-shrink:0}
.access-mode{display:inline-flex;align-items:center;gap:2px;padding:3px;border:1px solid var(--border);border-radius:8px;background:var(--canvas)}
.access-mode button{border:0;border-radius:5px;padding:0 10px;min-height:34px;background:transparent;color:var(--ink);font:inherit;font-size:13px;cursor:pointer}
.access-mode button[aria-pressed="true"]{background:var(--purple);color:#fff}
.access-mode button[aria-pressed="false"]:hover{background:#fff}
.access-mode button:focus-visible{outline:2px solid var(--purple);outline-offset:2px}
.access-mode button:disabled{cursor:wait}
@media(max-width:520px){
 .topbar-controls{gap:6px}
 .access-mode button{padding-inline:7px}
 .access-mode + .profile .profile-name{display:none}
}

.profile .avatar,.creator-avatar .avatar{position:relative;overflow:hidden;flex-shrink:0}
.profile .avatar img,.creator-avatar .avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:inherit}
.profile .avatar img[hidden],.creator-avatar .avatar img[hidden]{display:none}
.detail-trigger.creator-avatar{display:inline-grid;vertical-align:middle;border-radius:50%}
.detail-trigger.creator-avatar:is(:hover,[aria-expanded=true]){text-decoration:none}
.creator-avatar .avatar{display:grid;width:32px;height:32px;font-size:11px}
.profile .profile-info{grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px}
.profile .profile-info .profile-avatar-large{width:44px;height:44px;font-size:15px}
.profile-identity{display:grid;gap:3px;min-width:0}

.profile-chevron{display:block;flex:0 0 16px;color:var(--muted);transition:transform .16s ease}
.profile-button[aria-expanded="true"] .profile-chevron{transform:rotate(180deg)}
@media(prefers-reduced-motion:reduce){.profile-chevron{transition:none}}

.runtime-services-table .button.service-version-info{width:26px;padding:2px;justify-content:center}
.runtime-services-table .service-version-info svg{width:15px;height:15px}
.repository-services-table .repository-group-name{text-align:center}
.repository-group-name>.repository-name-line{justify-content:center}
.repository-group-name>.service-detail-button{margin-inline:auto}
