/* Shared by live Razor examples and standalone starter-kit examples. */
:root{--mu-demo-ink:#142440;--mu-demo-muted:#647792;--mu-demo-line:#dfe6f1;--mu-demo-blue:#2559e8}
.mu-demo-page{width:min(1240px,calc(100% - 64px));margin:0 auto;padding:28px 0 48px;font-family:Inter,'Segoe UI',Arial,sans-serif;color:var(--mu-demo-ink);line-height:1.75}
.mu-demo-breadcrumb{display:flex;flex-wrap:wrap;gap:9px;font-size:11px;color:#8291a7;margin-bottom:24px}.mu-demo-breadcrumb a{color:#647792;text-decoration:none}.mu-demo-breadcrumb a:hover{color:#2559e8}
.mu-demo-shell{display:grid;grid-template-columns:230px minmax(0,1fr);gap:36px;align-items:start}
.mu-demo-sidebar{position:sticky;top:20px;min-width:0}.mu-demo-navigation{border:1px solid var(--mu-demo-line);border-radius:12px;background:#f8faff;overflow:hidden}.mu-demo-navigation summary{cursor:pointer;list-style:none;padding:17px 18px;font-size:13px;font-weight:600}.mu-demo-navigation summary::-webkit-details-marker{display:none}.mu-demo-navigation summary::after{content:'⌄';float:right;color:#8291a7}.mu-demo-navigation[open] summary{border-bottom:1px solid #e8edf6}
.mu-demo-nav-search{padding:16px 14px 12px}.mu-demo-nav-search label{display:block;font-size:10px;font-weight:600;margin-bottom:7px;color:#647792}.mu-demo-nav-search input{display:block;box-sizing:border-box;width:100%;font:inherit;font-size:11px;padding:9px 10px;border:1px solid #ccd8eb;border-radius:7px;background:#fff;color:#142440}.mu-demo-nav-count{font-size:10px;color:#8291a7;margin:6px 0 0}
.mu-demo-nav-list{max-height:58vh;overflow:auto;padding:0 10px 12px;scrollbar-width:thin;scrollbar-color:#ccd8eb transparent}.mu-demo-nav-group{margin-bottom:17px}.mu-demo-nav-group h2{font-family:inherit;font-size:10px;font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:#8291a7;margin:10px 8px 6px;line-height:1.6}.mu-demo-nav-link{display:block;font-size:11px;line-height:1.5;padding:8px 10px;color:#566b88;text-decoration:none;border-radius:6px;border-left:2px solid transparent}.mu-demo-nav-link:hover{background:#edf3ff;color:#2559e8}.mu-demo-nav-link[aria-current=page]{background:#eaf0ff;border-left-color:#2559e8;color:#2559e8;font-weight:600}
.mu-demo-sidebar-footer{padding:14px 18px;border-top:1px solid #e8edf6;font-size:10px;color:#8291a7}.mu-demo-sidebar-footer a{color:#2559e8;display:block;font-weight:600;margin-bottom:4px;text-decoration:none}
.mu-demo-content{min-width:0}.mu-demo-kicker{font-size:9px;letter-spacing:.14em;font-weight:700;color:#7b8da7;margin:2px 0 12px}.mu-demo-content .demo-card{border:0;border-radius:0;background:transparent;box-shadow:none;overflow:visible;margin:0}.mu-demo-content .demo-card-header{font-family:inherit;font-size:clamp(28px,3.2vw,40px);font-weight:600;letter-spacing:-.04em;line-height:1.2;border:0;background:none;padding:0;margin:0 0 18px}.mu-demo-content .demo-card-body{padding:0}.mu-demo-content .demo-description{font-size:15px;line-height:1.9;color:#647792;margin:0 0 28px;max-width:740px}
.mu-demo-content .demo-card-body>div[id^=demo],.mu-demo-content .demo-card-body>.mu-uploader{padding:26px;border:1px solid var(--mu-demo-line);border-radius:12px;background:#fff;box-shadow:0 8px 24px #183c7a06;margin-bottom:24px;box-sizing:border-box}
.mu-demo-content .code-panel,.mu-demo-content .pkg-code,.mu-demo-content .mu-demo-code{border:1px solid #233858;border-radius:12px;overflow:hidden;background:#142440;margin:24px 0 0;box-shadow:none;position:relative}
.mu-demo-code-bar{display:flex;align-items:center;gap:8px;min-height:46px;padding:8px 12px 8px 18px;border-bottom:1px solid #ffffff16;background:#142440;box-sizing:border-box}.mu-demo-code-label{margin-right:auto;font-family:'Segoe UI',Arial,sans-serif;font-size:10px;letter-spacing:.02em;color:#a8bbd8;line-height:1.5}
.mu-demo-code-toggle,.mu-demo-copy,.mu-demo-code-bar .pkg-copy-btn{position:static!important;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;min-height:28px;font:500 10px/1.4 'Segoe UI',Arial,sans-serif;color:#d6e3f8;background:#ffffff0b;border:1px solid #ffffff24;border-radius:5px;padding:5px 9px;cursor:pointer;box-shadow:none;margin:0;transform:none}.mu-demo-code-toggle:hover,.mu-demo-copy:hover,.mu-demo-code-bar .pkg-copy-btn:hover{background:#ffffff18;color:#fff}
.mu-demo-content .code-panel pre,.mu-demo-content .pkg-code pre{font:12px/1.85 Consolas,'Courier New',monospace;background:#142440;color:#d6e3f8;margin:0;padding:22px;white-space:pre;overflow-x:auto;word-break:normal;tab-size:4}.mu-demo-content .code-panel pre code,.mu-demo-content .pkg-code pre code{font:inherit;color:inherit;background:transparent;padding:0;border:0}
.mu-demo-notes{margin-top:24px;padding:24px;border:1px solid var(--mu-demo-line);border-radius:12px;background:#f8faff;font-size:13px;color:#647792;line-height:1.85}.mu-demo-notes h2{font-family:inherit;font-size:17px;font-weight:600;letter-spacing:-.02em;color:#142440;margin:22px 0 10px}.mu-demo-notes h2:first-child{margin-top:0}.mu-demo-notes p{line-height:1.85;font-size:13px}.mu-demo-notes code{font-size:11px;overflow-wrap:anywhere}
.mu-demo-content .demo-expect,.mu-demo-content .pkg-expect{display:block;border:1px solid #dce5f4;background:#f5f8fe;padding:16px 20px;border-radius:9px;font-size:12px;color:#647792;margin-bottom:24px;line-height:1.8}.mu-demo-content .pkg-expect strong{display:inline;margin-right:4px}
.mu-demo-next{margin-top:32px;padding:22px 24px;border:1px solid var(--mu-demo-line);border-radius:12px;background:#f7f9fd;display:flex;justify-content:space-between;align-items:center;gap:22px}.mu-demo-next h2{font-family:inherit;font-size:17px;font-weight:600;letter-spacing:-.025em;color:#142440;margin:0 0 6px}.mu-demo-next p{font-size:12px;line-height:1.8;color:#647792;margin:0}.mu-demo-next-links{display:flex;flex-wrap:wrap;gap:12px}.mu-demo-next a{color:#2559e8;font-size:11px;font-weight:600;white-space:nowrap;text-decoration:none}
/* The offline demo uses the same content hierarchy and code chrome. */
.pkg-shell .mu-demo-page{width:100%;padding:24px 0 40px}.mu-demo-content .pkg-section{padding:0;margin:0 0 24px}.mu-demo-content .pkg-section-title{margin:0 0 24px}.mu-demo-content .pkg-section-title h1{font-family:inherit;font-size:clamp(28px,3.2vw,40px);font-weight:600;letter-spacing:-.04em;line-height:1.2;margin:0 0 18px}.mu-demo-content .pkg-section-title>p{font-size:15px;color:#647792;line-height:1.9;margin-bottom:24px}.mu-demo-content .pkg-breadcrumbs{display:none}.mu-demo-content .pkg-demo-shell{display:block}.mu-demo-content .pkg-demo-shell>article.pkg-card{border:1px solid var(--mu-demo-line);border-radius:12px;box-shadow:0 8px 24px #183c7a06;margin-bottom:24px}.mu-demo-content .pkg-demo-shell>aside.pkg-card{border:0;border-radius:0;box-shadow:none;background:transparent}.mu-demo-content .pkg-demo-shell>aside>.pkg-card-body{padding:0}.mu-demo-content .pkg-demo-shell>aside h2{font-size:18px;font-weight:600;letter-spacing:-.025em;margin-bottom:16px}.mu-demo-content .pkg-callout{border-radius:9px;font-size:12px;line-height:1.8}.mu-demo-content .pkg-note{font-size:12px;border-radius:9px}
.mu-demo-page [hidden]{display:none!important}.mu-demo-page button:focus-visible,.mu-demo-page input:focus-visible,.mu-demo-page summary:focus-visible,.mu-demo-page a:focus-visible{outline:3px solid #7da5fa;outline-offset:3px}
@media(max-width:1000px){.mu-demo-page{width:calc(100% - 40px);padding-top:22px}.mu-demo-shell{grid-template-columns:1fr;gap:24px}.mu-demo-sidebar{position:static}.mu-demo-nav-list{max-height:260px}.mu-demo-content .demo-card-header,.mu-demo-content .pkg-section-title h1{font-size:32px}.mu-demo-next{display:block}.mu-demo-next-links{margin-top:14px}}
@media(max-width:540px){.mu-demo-content .demo-card-body>div[id^=demo],.mu-demo-content .demo-card-body>.mu-uploader{padding:18px}.mu-demo-notes{padding:19px}.mu-demo-code-bar{padding-left:13px}.mu-demo-content .code-panel pre,.mu-demo-content .pkg-code pre{padding:18px;font-size:11px}.mu-demo-code-label{font-size:9px}.mu-demo-code-toggle,.mu-demo-copy{padding:5px 7px}}

.mu-demo-code-bar .pkg-copy-btn{opacity:1}

.mu-demo-package .pkg-shell{width:min(1240px,calc(100% - 64px));max-width:none}.mu-demo-package .pkg-header{padding:0}.mu-demo-package .pkg-topbar{padding:24px 0}.mu-demo-package .pkg-brand strong{display:block;color:#142440;font-size:22px;letter-spacing:-.05em;line-height:1.2}.mu-demo-package .pkg-brand small{display:block;font-size:8px;letter-spacing:.13em;color:#7b8da7;margin-top:5px}.mu-demo-package .pkg-offline-note{max-width:none!important;padding:13px 18px!important;background:#f5f8fe!important;border-color:#dfe6f1!important;color:#647792!important;font-size:12px!important;line-height:1.8!important}.mu-demo-package .pkg-offline-note strong{color:#334c70}.mu-demo-package .pkg-offline-note a{color:#2559e8!important}@media(max-width:1000px){.mu-demo-package .pkg-shell{width:calc(100% - 40px)}}
