/* MythBake v1.0.6 — consolidated visual surfaces */
html[data-mb-theme="light"] {--mb-card:#e8eff6;--mb-nested:#f8fafc;--mb-edge:#9aafc3;--mb-shadow:0 4px 14px rgba(25,48,75,.13);}
html[data-mb-theme="medium"] {--mb-card:#e4ebf3;--mb-nested:#f4f7fa;--mb-edge:#879aaf;--mb-shadow:0 4px 14px rgba(25,48,75,.17);}
html[data-mb-theme="dark"] {--mb-card:#202d3b;--mb-nested:#2b3b4d;--mb-edge:#657c94;--mb-shadow:0 4px 14px rgba(0,0,0,.38);}
html[data-mb-theme] body :is(.card,.category-card,.system-card,.utility-card,.resource-card,.tool-card,.agent-card,.agent-detail-section,.agent-detail-item,.agent-detail-hero,.agents-hero,.agents-note,.agents-cta,.hero-panel,.resource-banner,.mb-video102,.mb-video102-grid article,.page-hero,.mb-services article,.mb-services .mb-cta,.agent-detail-notice,.notice,.mb-callout106,.hero) {background:var(--mb-card)!important;border:1px solid var(--mb-edge)!important;border-radius:16px!important;box-shadow:var(--mb-shadow)!important;}
html[data-mb-theme] body :is(.agent-detail-section .agent-detail-item,.mb-video102-grid article,.agent-detail-section .agent-detail-notice) {background:var(--mb-nested)!important;}
html[data-mb-theme] body :is(.agents-page,.agent-detail-page,.app) {background:var(--mb-bg)!important;}
html[data-mb-theme] body .header .nav-trigger {background:transparent!important;box-shadow:none!important;}
html[data-mb-theme] body .header .nav-trigger:hover {background:var(--mb-panel)!important;}
html[data-mb-theme] body .section-block {padding-block:30px;}
html[data-mb-theme] body .mb-callout106 {padding:24px!important;margin-block:24px;}
html[data-mb-theme] body .mb-callout106 h2 {margin-top:0;}
html[data-mb-theme] body .mb-callout106 p:last-child {margin-bottom:0;}
html[data-mb-theme] body .mb-callout106 a {text-decoration:underline;}
@media(max-width:760px){html[data-mb-theme] body .section-block {padding-block:22px;}html[data-mb-theme] body .mb-callout106 {padding:18px!important;}}

html[data-mb-theme] body :is(.card,.category-card,.system-card,.utility-card,.agent-card):hover {box-shadow:var(--mb-shadow)!important;}

/* v1.0.7: explicit action controls and card-link hover */
html[data-mb-theme] body :is(a.category-card,a.category-card *,a.system-card,a.system-card *):hover,
html[data-mb-theme] body :is(a.category-card,a.system-card):hover * {text-decoration:none!important;}
html[data-mb-theme] body :is(a.btn,a.agents-button,a.agent-detail-button,a.tool-action,a.visit,a.mb-action107) {display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:38px;padding:9px 15px;border:1px solid var(--mb-edge)!important;border-radius:8px!important;background:var(--mb-panel)!important;color:var(--mb-text)!important;text-decoration:none!important;font-weight:650;line-height:1.4;max-width:100%;white-space:normal;}
html[data-mb-theme] body :is(a.btn,a.agents-button,a.agent-detail-button,a.tool-action,a.visit,a.mb-action107):hover {background:var(--mb-nested)!important;border-color:var(--mb-accent)!important;text-decoration:none!important;}
