.mg-workspace{max-width:none;background:#f3f6fa;min-height:100vh}.mg-header{display:flex;justify-content:space-between;align-items:center;gap:24px;border-bottom:1px solid #dce4ed;padding-bottom:24px;margin-bottom:24px}.mg-header h1{margin:6px 0;font-size:28px}.mg-filters{display:flex;gap:12px;flex-wrap:wrap}.mg-filters label{font-size:12px;color:#65778b;display:flex;flex-direction:column;gap:6px}.mg-filters input,.mg-filters select{min-width:150px;background:#fff}.mg-metrics{display:grid;grid-template-columns:repeat(4,1fr);background:#fff;border:1px solid #dce4ed;border-radius:10px;margin-bottom:28px}.mg-metrics>div{padding:24px;border-right:1px solid #e8edf3;display:flex;justify-content:space-between;align-items:center;gap:14px}.mg-metrics>div:last-child{border:0}.mg-metrics strong{font-size:30px;color:#18354e;font-variant-numeric:tabular-nums}.mg-metrics span{color:#60758a;font-size:13px}.mg-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:26px 0 12px}.mg-heading h2{margin:0}.mg-number{font-size:18px;font-variant-numeric:tabular-nums}.mg-late{color:#ab352e!important;background:#fcebe9!important}.mg-workspace .sheet{box-shadow:none;border:1px solid #dce4ed}.mg-workspace th{white-space:nowrap;background:#eaf0f6;color:#51677e;font-size:12px}.mg-workspace td{padding:18px 16px}.mg-workspace .work-table td:first-child{min-width:170px}.mg-workspace button:focus-visible{outline:2px solid #2862da;outline-offset:3px}@media(max-width:1050px){.mg-header{align-items:flex-start;flex-direction:column}.mg-metrics{grid-template-columns:repeat(2,1fr)}}@media(max-width:600px){.mg-metrics>div{padding:16px}.mg-filters{width:100%}.mg-filters label{flex:1}.mg-filters input,.mg-filters select{min-width:110px;width:100%}}
/* Shared typography, dimensions and containment across all workspaces. */
:root{--control-height:40px;--surface-radius:10px;--control-radius:8px}
body{font-size:14px;line-height:1.6}button,input,select,textarea{font-family:inherit;font-size:14px;line-height:1.5}button{min-height:var(--control-height);padding:8px 14px;border-radius:var(--control-radius);white-space:normal}input:not([type=checkbox]):not([type=radio]),select{min-height:var(--control-height);padding:8px 10px;border-radius:var(--control-radius)}input[type=checkbox],input[type=radio]{width:16px;height:16px;min-height:0;flex:0 0 16px;padding:0;accent-color:var(--blue)}h1,.mg-header h1{font-size:28px;line-height:1.3;letter-spacing:-.4px}h2{font-size:18px;line-height:1.5}h3{font-size:16px;line-height:1.5}p{margin:8px 0 16px}label{font-size:13px;line-height:1.5}.muted,.side-foot{font-size:13px}.tag{font-size:12px;line-height:20px;padding:3px 9px;border-radius:6px}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #84a9ea;outline-offset:2px}
.workspace,.workspace>*{min-width:0}.workspace{padding:28px 32px}.workspace .top{align-items:flex-start}.workspace nav,.actions,.report-select,.toolbar>div{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.workspace nav{margin:20px 0}.workspace header.mg-header{height:auto;min-height:96px;padding:0 0 24px;background:transparent}.mg-filters{align-items:flex-end}.mg-filters label{min-width:0}.sheet,.setting-card,.toolbar,.metric{border-radius:var(--surface-radius)}.sheet{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}.sheet th{font-size:13px;line-height:1.5;padding:14px 16px}.sheet td,.mg-workspace td{font-size:14px;line-height:1.6;padding:16px;overflow-wrap:anywhere}.sheet td button{margin:3px 4px 3px 0}.setting-card{padding:22px;margin:18px 0}.setting-card h2:first-child{margin-top:0}.setting-grid{grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr))}.setting-grid>*{min-width:0}.plan-matrix{min-width:0;max-width:100%;overflow-x:auto}.plan-spec,.plan-platform{overflow-wrap:anywhere}.mg-metrics>div{min-width:0}.mg-metrics strong{flex-shrink:0}
/* Side panels have one bounded scrolling surface. */
body dialog#edit{position:fixed;inset:0 0 0 auto;margin:0;width:min(820px,100vw);max-width:100vw;height:100dvh;max-height:100dvh;border-radius:0;padding:24px;overflow-y:auto;overflow-x:hidden;box-sizing:border-box}dialog#edit form,dialog#edit form>*{max-width:100%;min-width:0;box-sizing:border-box}dialog#edit form{width:100%}dialog#edit h2{margin:0 0 18px;font-size:20px}dialog#edit label{font-size:13px;margin:14px 0}dialog#edit label:has(input[type=checkbox]),dialog#edit label:has(input[type=radio]){display:flex;gap:8px;align-items:center;flex-wrap:wrap}dialog#edit input[type=checkbox],dialog#edit input[type=radio]{display:inline-block;width:16px;height:16px;margin:0}dialog#edit input:not([type=checkbox]):not([type=radio]),dialog#edit select,dialog#edit textarea{max-width:100%;box-sizing:border-box}dialog#edit textarea{resize:vertical;overflow-wrap:anywhere;min-height:96px}dialog#edit .fields{grid-template-columns:repeat(3,minmax(0,1fr))}dialog#edit .fields>*{min-width:0}dialog#edit .foot{position:sticky;bottom:-24px;z-index:2;background:white;border-top:1px solid var(--line);padding:16px 0;margin-top:24px;display:flex;align-items:center;gap:10px;flex-wrap:wrap}dialog#edit .foot>a{margin-right:auto;overflow-wrap:anywhere}dialog#edit p{overflow-wrap:anywhere}dialog#edit .platform{padding:16px 0}dialog#edit #publication-checks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:18px}dialog#edit #publication-checks .platform{padding:12px;border:1px solid var(--line);border-radius:8px;background:#f8fafc}dialog#edit #publication-checks label{margin:0;color:var(--ink)}dialog#edit .recognition-fields{grid-template-columns:minmax(0,1fr) 180px;gap:16px}dialog#edit .recognition-fields label{margin:0;display:block}dialog#edit .recognition-meta{flex-wrap:wrap;gap:8px}dialog#edit .recognition-meta label{margin:0}dialog#edit .recognition-item{padding:16px;border-radius:10px}dialog#edit .recognition-head{flex-wrap:wrap;gap:8px}dialog#edit .recognition-head h2{margin:0}dialog#edit .recognition-head{margin-bottom:16px}dialog#edit .recognition-fields textarea{font-size:14px;line-height:1.6}dialog#edit table{min-width:600px}dialog#edit .sheet{width:100%}dialog#edit [hidden]{display:none!important}
@media(max-width:900px){.workspace{margin-left:0;padding:20px 16px}.mg-sidebar{position:static}.workspace header.mg-header{min-height:0}.mg-filters{width:100%}}
@media(max-width:600px){h1,.mg-header h1{font-size:24px}.mg-filters label{flex:1 1 130px}.mg-filters input,.mg-filters select{width:100%;min-width:0}body dialog#edit{padding:18px}dialog#edit .foot{bottom:-18px}dialog#edit .fields,dialog#edit .recognition-fields{grid-template-columns:minmax(0,1fr)}dialog#edit #publication-checks{grid-template-columns:1fr}.mg-metrics strong{font-size:26px}.mg-metrics>div{padding:16px;flex-direction:column;align-items:flex-start;gap:4px}.workspace .sheet table.work-table{min-width:760px}.workspace .sheet table.work-table thead{display:table-header-group}.workspace .sheet table.work-table tr{display:table-row}.workspace .sheet table.work-table th,.workspace .sheet table.work-table td{display:table-cell}.workspace .sheet table.report-matrix{min-width:1000px}.workspace .sheet table.report-matrix thead{display:table-header-group}.workspace .sheet table.report-matrix tr{display:table-row}}

.plan-count .completion-link{padding:0;border:0;border-radius:3px;background:none;color:#183b5b;font:inherit;font-size:25px;font-weight:700;font-variant-numeric:tabular-nums;text-decoration:none;cursor:default}.plan-count .completion-link:hover{color:#183b5b;background:none;text-decoration:none}.plan-count .completion-link:focus-visible{outline:2px solid var(--blue);outline-offset:4px}

/* V1.3.1: grouped navigation and bounded, readable management surfaces. */
.mg-sidebar{padding:20px 16px 12px;gap:0;overflow:hidden}
.mg-sidebar .side-project{font-size:24px;padding:12px 16px 20px;flex-shrink:0}
.mg-sidebar nav.mg-navigation{display:block;margin:0;min-height:0;flex:1;overflow-y:auto;overscroll-behavior:contain}
.mg-nav-group{margin-bottom:12px}.mg-nav-label{font-size:15px;font-weight:600;color:#e3ebf3;letter-spacing:0;padding:8px 16px 6px}
.mg-nav-group button{display:block;width:100%;min-height:40px;padding:9px 16px;margin:3px 0;font-size:14px;white-space:nowrap}
.mg-sidebar .side-foot{flex-shrink:0;display:block;margin-top:10px;padding:10px 12px 0;border-top:1px solid #506174}
.mg-sidebar .side-foot button{width:100%;padding:8px 4px}.mg-sidebar .u-version{padding-left:4px}
.workspace header.mg-header{position:static;top:auto;z-index:auto}
.mg-workspace .work-table td:last-child,.mg-workspace .work-table th:last-child{min-width:176px}
.mg-workspace .work-table td button{white-space:nowrap;overflow-wrap:normal;min-height:36px;padding:7px 10px}
.mg-workspace .work-table td h2{font-size:16px;line-height:1.5;margin:0}
.mg-workspace .work-table td p{margin:0 0 12px}.mg-workspace .work-table td p:last-child{margin-bottom:0}
.mg-workspace .mg-filters{width:auto;justify-content:flex-end}.mg-filters label{flex:0 1 160px}
.mg-filters button{white-space:nowrap}.mg-workspace button:disabled{cursor:not-allowed;opacity:.55}
@media (min-width:761px) and (max-width:900px){.mg-sidebar{display:block;position:static;width:auto;padding:8px 16px}.mg-sidebar nav.mg-navigation{display:flex;gap:12px;overflow:auto}.mg-nav-group{display:flex;margin:0;gap:4px;flex-shrink:0}.mg-nav-label,.mg-sidebar .side-foot{display:none}.mg-nav-group button{width:auto}}
@media(max-width:1050px){.mg-workspace .mg-filters{width:100%;justify-content:flex-start}.mg-filters label{flex:1 1 140px}}
.mg-sidebar .side-project{padding:8px 16px 12px;font-size:22px}
.mg-nav-group{margin-bottom:6px}.mg-nav-label{padding:10px 16px 6px}
.mg-nav-group button{min-height:36px;padding:7px 16px 7px 26px;margin:2px 0;font-size:14px;font-weight:400}
.mg-workspace .mg-filters label{flex:0 0 150px;width:150px;margin:0}
@media(min-width:1051px){.mg-workspace .mg-filters{flex-wrap:nowrap;flex-shrink:0}}
@media(max-width:1050px){.mg-workspace .mg-filters label{flex:1 1 140px;width:auto}}

.release-type-reminder{display:inline-block;margin:4px 0 4px 8px;padding:3px 7px;font-size:12px;line-height:1.5;color:#92400e;background:#fff7ed;border:1px solid #fed7aa;border-radius:5px;cursor:pointer}.release-type-reminder:focus-visible{outline:2px solid #92400e;outline-offset:2px}
