@media screen {
.phase-card{min-width:0}.phase-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:18px 0}.phase-grid>label,.phase-actions>label{display:grid;gap:7px;font-size:13px;font-weight:600;min-width:0}.phase-grid .wide,.wide{grid-column:1/-1}.phase-grid input:not([type=checkbox]),.phase-grid select,.phase-grid textarea,.phase-fold>label input{width:100%;box-sizing:border-box}.phase-grid label small{font-size:12px;font-weight:400;color:var(--muted,#526173);line-height:1.5}.phase-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:14px 0}.phase-actions>label{flex:1;min-width:180px}.phase-fold{border:1px solid var(--border,#d6dfe8);border-radius:8px;padding:16px;margin:16px 0}.phase-fold>summary{cursor:pointer;font-weight:650;font-size:14px;min-height:24px;line-height:1.6}.phase-fold>summary small{display:block;font-size:12px;font-weight:400;color:var(--muted,#526173);padding-left:16px}.phase-fold[open]>summary{margin-bottom:16px}.phase-fold p{font-size:13px;line-height:1.65}.phase-fieldset{border:1px solid var(--border,#d6dfe8);border-radius:8px;margin:20px 0;padding:18px}.phase-fieldset legend{font-weight:650;font-size:14px;padding:0 8px}.phase-check{display:flex;align-items:flex-start;gap:10px;font-size:13px;line-height:1.6;margin:14px 0}.phase-check input{width:18px;height:18px;flex:none;accent-color:#c90d0d}.phase-message{padding:10px 12px;border-radius:6px;background:var(--ms-surface-subtle,#f3f5f7);color:var(--text,#192331);line-height:1.65;font-size:13px;overflow-wrap:anywhere}.phase-message:empty{display:none}.phase-message.error{color:var(--ms-danger-text,#a21d24);border-left:3px solid currentColor}.phase-working{position:relative;overflow:hidden}.phase-working:after{content:"";display:block;height:3px;width:30%;margin-top:6px;background:#c90d0d;border-radius:2px;animation:phase-scan 1.6s ease-in-out infinite}.phase-progress{display:flex;align-items:center;gap:12px;font-size:13px;padding:14px 0}.phase-progress progress{width:min(50%,300px);height:7px;accent-color:#c90d0d}.phase-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin:22px 0}.phase-metrics article{border:1px solid var(--border,#d6dfe8);border-radius:8px;padding:16px;min-width:0}.phase-metrics strong{display:block;font-size:23px;font-weight:650;line-height:1.5;overflow-wrap:anywhere}.phase-metrics small{font-size:12px;color:var(--muted,#526173)}.phase-chart{height:260px;position:relative;margin:20px 0 30px;min-width:0}.phase-chart canvas{max-width:100%}.phase-table{max-width:100%;overflow:auto;border:1px solid var(--border,#d6dfe8);border-radius:8px;max-height:620px}.phase-table table{min-width:850px;width:100%;border-collapse:collapse;font-size:12px}.phase-table th{position:sticky;top:0;z-index:1;background:var(--ms-surface-subtle,#f3f5f7);text-align:left;font-weight:650}.phase-table th,.phase-table td{padding:11px 12px;border-bottom:1px solid var(--border,#d6dfe8);vertical-align:top;max-width:300px;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.phase-payment{border:1px solid var(--border,#d6dfe8);border-radius:8px;padding:18px;margin:14px 0;overflow-wrap:anywhere}.phase-payment .card-head p{font-size:13px;margin:8px 0}.phase-payment>small{font-size:12px;color:var(--muted,#526173)}.phase-qr{display:block;width:220px;max-width:100%;height:auto;margin:20px auto}.phase-library{display:flex;gap:16px;align-items:center;justify-content:space-between;flex-wrap:wrap;padding:14px 0;border-bottom:1px solid var(--border,#d6dfe8);font-size:13px}.phase-library small{display:block;margin-top:6px;color:var(--muted,#526173);font-size:12px}#msLibraries>progress{display:block;margin:18px 0;width:min(100%,360px);height:7px;accent-color:#c90d0d}.product-advanced-fold{margin:0;border:0;padding:0}.product-advanced-fold>.product-form-grid{margin-top:20px}.product-advanced-fold .product-check-grid{gap:12px;margin:16px 0}.product-advanced-fold>label{display:grid;gap:6px;margin:14px 0}.product-advanced-fold #peDownloadsWrap{margin-top:18px}
/* Connection and technical footer share one small disclosure; IDs stay in the DOM. */
.workspace-status.ms-system-status{display:block;padding:0;margin-bottom:20px;min-width:0}.ms-system-status>summary{display:flex;align-items:center;justify-content:space-between;gap:14px;cursor:pointer;list-style:none;padding:12px 16px}.ms-system-status>summary::-webkit-details-marker{display:none}.ms-system-status .workspace-status-summary small{display:none}.ms-system-status[open] .workspace-status-summary small{display:block}.ms-system-more{font-size:12px;color:var(--muted,#526173);white-space:nowrap}.ms-system-more:after{content:" ⌄"}.ms-system-status[open] .ms-system-more:after{content:" ⌃"}.ms-system-body{border-top:1px solid var(--border,#d6dfe8);padding:16px;display:grid;grid-template-columns:1fr auto;gap:16px;align-items:center}.ms-system-meta{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:10px 20px;font-size:11px;color:var(--muted,#526173);border-top:1px solid var(--border,#d6dfe8);padding-top:12px}.ms-system-meta strong{font-weight:600}.workspace-status.ms-system-status .workspace-status-services{width:auto;justify-content:flex-start;gap:40px}.workspace-status.ms-system-status .workspace-status-actions{margin:0}
/* Single brand mark at sign-in. */
.auth-brand>.ms-auth-round{background:none!important;box-shadow:none!important;width:64px!important;height:64px!important;border-radius:50%;flex:none}.ms-auth-round img{display:block;width:64px;height:64px;border-radius:50%;object-fit:contain}.auth-brand .ms-wordmark{display:none}.auth-brand{gap:16px}.auth-brand>div{display:grid;gap:4px}.auth-brand>div>strong{font-size:23px}
/* Real stage progress during startup; indeterminate for operations without a known total. */
.workspace-boot.ms-boot{padding:24px;background:var(--bg,#f3f5f7);z-index:11000}.ms-boot-panel{position:relative;isolation:isolate;width:min(100%,420px);min-height:250px;display:flex;flex-direction:column;align-items:center;text-align:center;padding:38px 28px;border:1px solid var(--border,#d6dfe8);border-top:3px solid #c90d0d;background:var(--card,#fff);border-radius:12px;overflow:hidden;box-shadow:0 15px 50px #0a14240a}.ms-boot-hat{position:absolute;z-index:-1;width:220px;height:275px;right:-20px;top:-20px;object-fit:contain;opacity:.10;pointer-events:none}.ms-boot-kicker{font-size:10px;letter-spacing:1.8px;color:var(--muted,#526173);font-weight:650}.ms-boot-panel>strong{font-size:30px;line-height:1.3;letter-spacing:-.7px;margin-top:16px}.ms-boot-panel p{font-size:13px;color:var(--muted,#526173);margin:10px 0;line-height:1.6}.ms-boot-panel .ms-boot-slogan{color:var(--text,#192331);font-size:15px}.ms-boot-panel>small{font-size:11px;color:var(--muted,#526173);margin-top:10px}.ms-boot-track{height:5px;width:100%;border-radius:4px;overflow:hidden;background:var(--border,#d6dfe8);margin-top:18px}.ms-boot-track>span{display:block;height:100%;width:var(--ms-progress,0%);border-radius:4px;background:linear-gradient(90deg,#a90b0b,#f41111);transition:width .45s ease}.ms-boot-track:not([aria-valuenow])>span{width:35%;animation:phase-scan 1.6s ease-in-out infinite}.ms-boot[data-state=error] .ms-boot-track>span{animation:none;width:100%;background:#a21d24}.ms-boot-panel>.workspace-retry{margin-top:16px}.ms-boot[data-state=loading] .workspace-retry{display:none}
@keyframes phase-scan{0%{transform:translateX(-110%)}100%{transform:translateX(390%)}}
@media(max-width:700px){.phase-grid{grid-template-columns:1fr}.phase-actions .btn{max-width:100%;white-space:normal}.phase-actions>label{min-width:0;flex-basis:100%}.phase-library{align-items:flex-start;flex-direction:column;gap:10px}.ms-system-more{font-size:11px}.ms-system-status>summary{padding:11px 12px}.ms-system-status .workspace-status-summary strong{font-size:12px}.ms-system-body{grid-template-columns:1fr;padding:12px}.workspace-status.ms-system-status .workspace-status-services{display:flex;flex-wrap:wrap;gap:14px}.workspace-status.ms-system-status .workspace-status-actions{align-items:flex-start}.phase-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.phase-metrics strong{font-size:20px}.phase-payment{padding:14px}.phase-chart{height:220px}.ms-boot-panel{padding:30px 20px}.phase-grid input,.phase-grid select,.phase-grid textarea{font-size:16px;min-height:44px}.phase-card .card-head.split{align-items:flex-start}.product-advanced-fold>summary small{padding-left:0}.phase-table table{min-width:850px}}
@media(prefers-reduced-motion:reduce){.phase-working:after,.ms-boot-track>span{animation:none!important;transition:none!important}.ms-boot-track:not([aria-valuenow])>span{width:40%}}
}
@media print{.ms-boot,.ms-system-status{display:none!important}}
