.mg-nav{margin-bottom:30px}.mg-topbar-note{color:hsl(var(--muted-foreground));font-size:10px}.mg-page{flex-direction:column;gap:28px;max-width:1180px;display:flex}.mg-muted{color:hsl(var(--muted-foreground))}.mg-heading{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:24px;display:flex}.mg-heading h1{letter-spacing:-.8px;margin:10px 0 8px;font-family:Agent Satoshi,sans-serif;font-size:27px;font-weight:700;line-height:1.3}.mg-heading p{max-width:640px;color:hsl(var(--muted-foreground));font-size:12px;line-height:1.8}.mg-period{background:var(--af-paper);border-radius:6px}.mg-period button,.mg-check-controls button,.mg-editor button[role=radio],.mg-autonomy-row button[role=radio],.mg-default button[role=radio]{padding-inline:10px;font-size:11px}.af-theme [data-state=on][role=radio]{background:var(--af-selected);color:hsl(var(--foreground));font-weight:600}.mg-kpis{border:1px solid hsl(var(--border));background:var(--af-paper);border-radius:8px;grid-template-columns:repeat(5,minmax(0,1fr));display:grid}.mg-stat{flex-direction:column;gap:6px;min-width:0;padding:18px 20px;display:flex}.mg-stat+.mg-stat{border-left:1px solid var(--af-line)}.mg-stat-label{color:hsl(var(--muted-foreground));font-size:10px}.mg-stat strong{letter-spacing:-.6px;font-variant-numeric:tabular-nums;font-size:26px;font-weight:600;line-height:1.2}.mg-stat-hero{background:hsl(var(--accent) / .45)}.mg-stat-hero strong{color:hsl(var(--primary));font-size:34px}.mg-stat small{color:hsl(var(--muted-foreground));font-size:10px;line-height:1.5}.mg-delta{color:var(--af-red);font-size:10px;font-weight:500}.mg-delta[data-up=true]{color:var(--af-success)}.mg-assumptions{margin-top:-16px}.mg-assumptions-trigger{color:hsl(var(--muted-foreground));align-items:center;gap:8px;font-size:11px;display:flex}.mg-assumptions-trigger>svg{width:12px;height:12px;transition:transform .15s}.mg-assumptions-trigger[data-state=open]>svg,.mg-examples-trigger[data-state=open]>svg{transform:rotate(90deg)}.mg-assumptions-trigger>span{color:hsl(var(--foreground));font-weight:500}.mg-assumptions-trigger small{font-size:10px}.mg-method{max-width:720px;color:hsl(var(--muted-foreground));margin:14px 0;font-size:11px;line-height:1.8}.mg-assumption-fields{flex-wrap:wrap;gap:14px 24px;display:flex}.mg-assumption-fields label,.mg-param{color:hsl(var(--muted-foreground));flex-direction:column;gap:6px;font-size:10px;display:flex}.mg-input{align-items:center;gap:6px;display:inline-flex}.mg-input i{color:hsl(var(--muted-foreground));font-size:11px;font-style:normal}.mg-input input{background:var(--af-paper);font-variant-numeric:tabular-nums;width:92px;height:30px;font-size:12px}.mg-param .mg-input input{width:72px}.mg-panel{border:1px solid hsl(var(--border));background:var(--af-paper);border-radius:8px}.mg-panel-heading{justify-content:space-between;align-items:flex-start;gap:12px;padding:18px 22px 8px;display:flex}.mg-panel-heading h2{font-size:13px;font-weight:600}.mg-panel-heading p{color:hsl(var(--muted-foreground));margin-top:4px;font-size:11px}.mg-chart{padding:4px 16px 12px;position:relative}.mg-chart svg{width:100%;height:auto;display:block}.mg-grid line{stroke:var(--af-line);stroke-width:1px}.mg-grid text,.mg-axis{fill:var(--af-quiet);font-variant-numeric:tabular-nums;font-size:7.5px}.mg-bar{fill:#7fa3c1;transition:fill .12s}.mg-bar-hover{fill:var(--af-blue)}.mg-hit{fill:#0000}.mg-marker line{stroke:var(--af-amber);stroke-width:1px}.mg-marker text{fill:hsl(var(--foreground));font-size:7.5px}.mg-tooltip{border:1px solid hsl(var(--border));background:var(--af-paper);color:hsl(var(--muted-foreground));white-space:nowrap;pointer-events:none;border-radius:6px;flex-direction:column;gap:3px;padding:9px 11px;font-size:10px;display:flex;position:absolute;top:8px;transform:translate(-50%);box-shadow:0 6px 18px #2633401a}.mg-tooltip strong{color:hsl(var(--foreground));font-weight:600}.mg-projection{background:var(--af-success-tint);border:1px solid #cfe0d4;border-radius:8px;align-items:flex-start;gap:12px;padding:16px 20px;display:flex}.mg-projection>svg{width:16px;height:16px;color:var(--af-success);flex-shrink:0;margin-top:2px}.mg-projection strong{font-size:12px;font-weight:600;display:block}.mg-projection span{color:hsl(var(--muted-foreground));margin-top:4px;font-size:11px;display:block}.mg-section-heading h2>span{margin-left:6px}.mg-patterns{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.mg-pattern{border:1px solid hsl(var(--border));background:var(--af-paper);border-radius:8px;flex-direction:column;gap:8px;padding:18px 20px;display:flex}.mg-pattern-meta{color:hsl(var(--muted-foreground));justify-content:space-between;gap:8px;font-size:10px;display:flex}.mg-pattern-meta span:last-child{font-variant-numeric:tabular-nums}.mg-pattern h3{font-size:13px;font-weight:600;line-height:1.5}.mg-pattern>p{color:hsl(var(--muted-foreground));font-size:11px;line-height:1.7}.mg-examples-trigger{color:hsl(var(--primary));align-items:center;gap:6px;font-size:10px;display:flex}.mg-examples-trigger>svg{width:11px;height:11px;transition:transform .15s}.mg-examples{color:hsl(var(--muted-foreground));margin-top:8px;padding-left:17px;font-size:10px;line-height:2;list-style:outside}.mg-pattern-action{border-top:1px solid var(--af-line);color:hsl(var(--muted-foreground));justify-content:space-between;align-items:center;gap:10px;margin-top:auto;padding-top:10px;font-size:10px;display:flex}.mg-addressed{text-align:left;width:100%;color:var(--af-success);align-items:center;gap:8px;font-size:11px;font-weight:500;display:flex}.mg-addressed svg{flex-shrink:0;width:14px;height:14px}.mg-addressed span{flex:1}.mg-table{border-collapse:collapse;width:100%;font-size:11px}.mg-table th{text-align:left;letter-spacing:.6px;text-transform:uppercase;color:hsl(var(--muted-foreground));border-bottom:1px solid var(--af-line);padding:10px 22px;font-size:9px;font-weight:500}.mg-table td{border-bottom:1px solid var(--af-line);padding:12px 22px}.mg-table tr:last-child td{border-bottom:0}.mg-num{font-variant-numeric:tabular-nums;white-space:nowrap;text-align:right!important}.mg-acceptance{font-variant-numeric:tabular-nums;align-items:center;gap:10px;display:inline-flex}.mg-sparkline{width:72px;height:22px}.mg-sparkline polyline{fill:none;stroke:#7fa3c1;stroke-width:2px;stroke-linejoin:round;stroke-linecap:round}.mg-sparkline circle{fill:var(--af-blue);stroke:var(--af-paper);stroke-width:2px}.mg-autonomy{background:var(--af-soft);color:hsl(var(--muted-foreground));white-space:nowrap;border-radius:4px;padding:2px 8px;font-size:10px;display:inline-flex}.mg-autonomy[data-level=apply]{background:var(--af-success-tint);color:var(--af-success)}.mg-flash{background:var(--af-amber-tint);border:1px solid #ecdcbc;border-radius:6px;align-items:center;gap:10px;margin-top:-12px;padding:10px 14px;font-size:11px;display:flex}.mg-flash>svg{width:14px;height:14px;color:var(--af-amber)}.mg-flash>span{flex:1}.mg-split{grid-template-columns:280px minmax(0,1fr);align-items:start;gap:20px;display:grid}.mg-list{flex-direction:column;gap:4px;display:flex}.mg-list-item{text-align:left;border:1px solid #0000;border-radius:6px;flex-direction:column;gap:5px;padding:12px 14px;display:flex}.mg-list-item:hover{background:var(--af-soft)}.mg-list-active{background:var(--af-paper);border-color:hsl(var(--border))}.mg-list-item strong{font-size:12px;font-weight:500;line-height:1.5}.mg-list-item small{color:hsl(var(--muted-foreground));font-size:10px}.mg-sop-status{letter-spacing:.8px;text-transform:uppercase;color:var(--af-success);font-size:9px;font-weight:600}.mg-sop-status[data-status=draft]{color:var(--af-amber)}.mg-sop-status[data-status=paused]{color:var(--af-quiet)}.mg-editor{border:1px solid hsl(var(--border));background:var(--af-paper);border-radius:8px;flex-direction:column;gap:18px;padding:22px 24px;display:flex}.mg-editor-heading{align-items:center;gap:12px;display:flex}.mg-title-input{height:40px;box-shadow:none;border-color:#0000;flex:1;margin-left:-8px;padding-inline:8px;font-size:17px;font-weight:550}.mg-title-input:hover,.mg-title-input:focus-visible{border-color:hsl(var(--border))}.mg-editor-meta{color:hsl(var(--muted-foreground));margin-top:-12px;font-size:10px}.mg-editor-grid{grid-template-columns:240px minmax(0,1fr);gap:20px;display:grid}.mg-field{flex-direction:column;gap:8px;min-width:0;display:flex}.mg-field>span,.mg-field>legend{color:hsl(var(--muted-foreground));margin-bottom:8px;font-size:10px;font-weight:500}.mg-field>span{margin-bottom:0}.mg-field [role=combobox]{background:var(--af-paper);height:32px;font-size:12px}.mg-projects{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 16px;display:grid}.mg-projects label{align-items:center;gap:8px;font-size:11px;display:flex}.mg-body{background:hsl(var(--background));font-family:ui-monospace,monospace;font-size:12px;line-height:1.9}.mg-effect{background:hsl(var(--background));border:1px solid var(--af-line);border-radius:7px;flex-direction:column;gap:12px;padding:16px 18px;display:flex}.mg-effect>p{color:hsl(var(--muted-foreground));font-size:11px;line-height:1.8}.mg-effect>button{align-self:flex-start}.mg-effect-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;display:grid}.mg-effect-figure span{color:hsl(var(--muted-foreground));font-size:10px}.mg-effect-figure div{font-variant-numeric:tabular-nums;align-items:center;gap:8px;margin-top:6px;display:flex}.mg-effect-figure s{color:var(--af-quiet);font-size:12px}.mg-effect-figure svg{width:12px;height:12px;color:var(--af-quiet)}.mg-effect-figure strong{color:var(--af-success);font-size:18px;font-weight:600}.mg-replay{align-items:flex-start;gap:10px;display:flex}.mg-replay>svg{width:15px;height:15px;color:var(--af-success);flex-shrink:0;margin-top:2px}.mg-replay strong{font-size:12px;font-weight:600;display:block}.mg-replay span{color:hsl(var(--muted-foreground));margin-top:4px;font-size:11px;display:block}.mg-checks{border:1px solid hsl(var(--border));background:var(--af-paper);border-radius:8px;flex-direction:column;display:flex}.mg-check{grid-template-columns:auto minmax(0,1fr) 160px;align-items:start;gap:18px;padding:20px 22px;display:grid}.mg-check+.mg-check{border-top:1px solid var(--af-line)}.mg-check-off .mg-check-copy,.mg-check-off .mg-check-stats{opacity:.5}.mg-check-copy h3{font-size:13px;font-weight:600}.mg-check-copy>p{color:hsl(var(--muted-foreground));margin-top:4px;font-size:11px;line-height:1.7}.mg-check-controls{flex-wrap:wrap;align-items:flex-end;gap:12px 16px;margin-top:12px;display:flex}.mg-tag{background:var(--af-soft);color:hsl(var(--muted-foreground));border-radius:4px;align-self:center;padding:3px 8px;font-size:10px}.mg-param{flex-direction:row;align-items:center;gap:8px}.af-theme p.mg-noisy{color:var(--af-amber);margin-top:10px;font-size:11px}.mg-check-stats{color:hsl(var(--muted-foreground));font-variant-numeric:tabular-nums;flex-direction:column;gap:4px;font-size:10px;display:flex}.mg-check-stats strong{color:hsl(var(--foreground));font-size:20px;font-weight:600}.mg-meter{background:#dbe7f0;border-radius:3px;height:6px;margin-top:6px;display:block;overflow:hidden}.mg-meter>span{background:var(--af-success);border-radius:3px;height:100%;display:block}.mg-meter[data-level=fair]{background:#f3e7cf}.mg-meter[data-level=fair]>span{background:var(--af-amber)}.mg-meter[data-level=poor]{background:#f1dfd9}.mg-meter[data-level=poor]>span{background:var(--af-red)}.mg-switch{background:hsl(var(--border));border-radius:10px;flex-shrink:0;width:34px;height:20px;margin-top:1px;padding:2px;transition:background .15s}.mg-switch>span{background:#fff;border-radius:50%;width:16px;height:16px;transition:transform .15s;display:block;box-shadow:0 1px 2px #0002}.mg-switch[aria-checked=true]{background:hsl(var(--primary))}.mg-switch[aria-checked=true]>span{transform:translate(14px)}.mg-autonomy-rows,.mg-defaults{padding:6px 22px 10px}.mg-autonomy-row{border-top:1px solid var(--af-line);grid-template-columns:minmax(170px,1fr) auto 220px;grid-template-areas:"name level reviewer""name note note";align-items:center;gap:6px 18px;padding:14px 0;display:grid}.mg-autonomy-row:first-child{border-top:0}.mg-autonomy-row>div:first-child{grid-area:name}.mg-autonomy-row strong,.mg-default strong{font-size:12px;font-weight:500;display:block}.mg-autonomy-row>div:first-child span,.mg-default>div span{color:hsl(var(--muted-foreground));margin-top:4px;font-size:10px;display:block}.mg-level{grid-area:level;justify-self:start}.mg-reviewer{background:var(--af-paper);grid-area:reviewer;height:32px;font-size:11px}.mg-autonomy-note{color:hsl(var(--muted-foreground));grid-area:note;font-size:10px}.mg-default{border-top:1px solid var(--af-line);justify-content:space-between;align-items:center;gap:16px;padding:14px 0;display:flex}.mg-default:first-child{border-top:0}@container (width<=1150px){.mg-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.mg-stat:nth-child(4){border-left:0}.mg-stat:nth-child(n+4){border-top:1px solid var(--af-line)}.mg-split{grid-template-columns:1fr}.mg-list{flex-direction:row;overflow-x:auto}.mg-list-item{min-width:220px}}@container (width<=900px){.mg-patterns,.mg-editor-grid{grid-template-columns:1fr}.mg-check{grid-template-columns:auto minmax(0,1fr)}.mg-check-stats{grid-column:2}.mg-autonomy-row{grid-template-columns:1fr;grid-template-areas:"name""level""reviewer""note"}.mg-table th:nth-child(n+6),.mg-table td:nth-child(n+6){display:none}}@container (width<=620px){.mg-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.mg-stat{border-top:1px solid var(--af-line);border-left:0!important}.mg-table th,.mg-table td{padding-inline:12px}.mg-table th:nth-child(n+4),.mg-table td:nth-child(n+4){display:none}}
