/* MFAE Premium Corporate | visual-only overlay | 2026-11 */
:root,[data-mfae-theme="light"]{
  --mfae-bg:#f1f5fa;--mfae-surface:#fff;--mfae-surface-alt:#f7f9fd;
  --mfae-sidebar:#fff;--mfae-text:#14243b;--mfae-muted:#61728b;
  --mfae-border:#dfe7f1;--mfae-field:#fff;--mfae-primary:#245bce;
  --mfae-primary-soft:#eaf0fc;--mfae-primary-ink:#1947a7;
  --mfae-shadow:0 3px 16px rgba(16,36,62,.035);
}
[data-mfae-theme="dark"]{
  --mfae-bg:#0b1424;--mfae-surface:#132238;--mfae-surface-alt:#192b43;
  --mfae-sidebar:#0f1b2d;--mfae-text:#eff5ff;--mfae-muted:#a8b8cf;
  --mfae-border:#30435d;--mfae-field:#102037;--mfae-primary:#6a9dff;
  --mfae-primary-soft:#1b365c;--mfae-primary-ink:#d4e4ff;
  --mfae-shadow:0 4px 20px rgba(0,0,0,.12);
}
.mfae-shell{font-family:Inter,ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif;letter-spacing:-.005em}
.mfae-shell .sidebar{border-right:1px solid var(--mfae-border);box-shadow:none}
.mfae-shell .mfae-brand-symbol{background:#245bce;border-radius:12px;box-shadow:0 4px 12px rgba(36,91,206,.16)}
.mfae-shell .nav{border-radius:8px;transition:background-color .13s ease,color .13s ease}
.mfae-shell .nav.active{box-shadow:inset 3px 0 0 #245bce}
.mfae-shell .top{border-bottom:1px solid var(--mfae-border)}
.mfae-shell .content{max-width:none}
.mfae-shell h1{font-size:22px;font-weight:750;letter-spacing:-.035em;line-height:1.2}
.mfae-shell h2{font-size:15px;font-weight:720;letter-spacing:-.018em}
.mfae-shell h3{font-size:13.5px;font-weight:700}
.mfae-shell .panel,.mfae-shell .card{border:1px solid var(--mfae-border);border-radius:12px;box-shadow:var(--mfae-shadow)}
.mfae-shell .item{border-color:var(--mfae-border);border-radius:9px;background:var(--mfae-surface-alt)}
.mfae-shell button{border-radius:8px;transition:background-color .13s ease,border-color .13s ease,box-shadow .13s ease}
.mfae-shell button.primary,.mfae-shell .primary{background:#245bce;color:#fff;box-shadow:none}
.mfae-shell button.primary:hover,.mfae-shell .primary:hover{background:#194bad}
.mfae-shell button:focus-visible,.mfae-shell input:focus-visible,.mfae-shell select:focus-visible,.mfae-shell textarea:focus-visible,.mfae-shell a:focus-visible{outline:2px solid #5388ec;outline-offset:2px}
.mfae-shell input,.mfae-shell textarea,.mfae-shell select{border-radius:8px;border-color:var(--mfae-border);background:var(--mfae-field);color:var(--mfae-text)}
.mfae-shell input:focus,.mfae-shell textarea:focus,.mfae-shell select:focus{border-color:#5285e0}
.mfae-shell .muted,.mfae-shell label{color:var(--mfae-muted)}
.mfae-shell .pill{border-radius:999px;font-weight:600}
.mfae-shell .notice{border-radius:9px}
@media(max-width:900px){.mfae-shell .content{padding:15px}}
@media(prefers-reduced-motion:reduce){.mfae-shell .nav,.mfae-shell button{transition:none}}


/* MFAE Premium Corporate — compact Dashboard utility row */
.mfae-dashboard-utility-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 14px;
    margin-bottom: 14px;
}

.mfae-dashboard-utility-row > .card {
    min-width: 0;
    padding: 18px 20px;
    min-height: 110px;
}

.mfae-dashboard-utility-row .mfae-workspace-shortcut button {
    font-size: 13px;
    padding: 9px 13px;
    width: auto;
}

@media (max-width: 700px) {
    .mfae-dashboard-utility-row {
        grid-template-columns: 1fr;
    }
}
