.msc-download-experience{background:var(--msc-surface,#fff);color:var(--msc-text,#1c3448)}
.msc-de-content{max-width:var(--msc-content-width,1120px);margin:0 auto;padding:clamp(18px,4vw,44px)}
.msc-de-single>section,.msc-de-description{margin-block:2rem}.msc-de-toolbar,.msc-de-categories,.msc-de-filter{display:flex;flex-wrap:wrap;align-items:center;gap:1rem}
.msc-de-toolbar{padding:1rem;border:1px solid var(--msc-border,#dde5eb);border-radius:var(--msc-radius-md,16px)}
.msc-de-categories a{font-size:.9rem}
.msc-de-limited-preview{width:100%;max-width:100%;height:auto;border:1px solid var(--msc-border,#dde5eb);border-radius:var(--msc-radius-md,16px)}
.msc-de-thumbnail{width:100%;max-height:160px;object-fit:contain;object-position:top;display:block;margin-block:.75rem}
.msc-de-icon{width:48px;height:48px;object-fit:contain}
[data-msc-de-viewer] iframe{width:100%;height:700px;max-height:85vh;border:1px solid var(--msc-border,#dde5eb);margin-top:1rem}
.msc-de-details{display:grid;grid-template-columns:minmax(120px,1fr) 2fr;gap:.75rem;padding:1.25rem;border:1px solid var(--msc-border,#dde5eb);border-radius:var(--msc-radius-md,16px)}
.msc-de-details dd{margin:0}.msc-de-details dt{font-weight:600}.msc-de-files{list-style:none;margin:0;padding:0}.msc-de-files li{display:flex;flex-wrap:wrap;align-items:center;gap:1rem;padding:1rem;border-bottom:1px solid var(--msc-border,#dde5eb)}
.msc-de-filter label{display:grid;gap:.35rem}.msc-de-filter input,.msc-de-filter select{max-width:100%}.msc-de-status{min-height:1.5em}
.msc-de-content button:focus-visible,.msc-de-content a:focus-visible{outline:3px solid var(--msc-blue,#0099ff);outline-offset:3px}
@media(max-width:600px){.msc-de-details{grid-template-columns:1fr}.msc-de-details dd{margin-bottom:.5rem}.msc-de-filter label{width:100%}}

/* Match the established download detail template using the active MSC/theme tokens. */
.msc-de-single{border-radius:var(--msc-radius-lg,16px);color:var(--global-palette4,var(--msc-text,#232c39))}
.msc-de-single .msc-de-toolbar{display:flex;flex-wrap:nowrap;gap:16px;padding:15px 20px;border:.5px solid var(--msc-border,#ccc);border-radius:10px;background:var(--msc-surface-subtle,rgba(249,249,250,.9));margin-bottom:17px;min-height:91px}
.msc-de-single .msc-de-toolbar-icon{flex:none;display:block;line-height:0}.msc-de-single .msc-de-icon{width:48px;height:48px;border-radius:8px}
.msc-de-toolbar-heading{flex:1;min-width:0}.msc-de-single .msc-de-toolbar h3{font-size:24px;line-height:1.3;font-weight:500;margin:0}.msc-de-toolbar-heading h3 a{color:var(--global-palette1,var(--msc-blue,#0099ff));text-decoration:none}
.msc-de-single .msc-de-details-link{display:block;font-size:16px;line-height:1.3;font-weight:300;color:var(--global-palette6,#777);text-decoration:none}
.msc-de-toolbar-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;flex:none}
.msc-de-single [data-msc-de-action],.msc-de-secondary-button{font-family:inherit;font-size:14px;line-height:1;font-weight:500;text-transform:uppercase;padding:11px 16px;min-height:38px;border:1px solid var(--global-palette1,var(--msc-blue,#0099ff));border-radius:4px;color:var(--msc-on-accent,#fff);background:var(--global-palette1,var(--msc-blue,#0099ff));text-decoration:none;cursor:pointer}
.msc-de-single button[data-msc-de-action]:is(:hover,:focus-visible,:active){background:var(--msc-blue,#0099ff);border-color:var(--msc-blue,#0099ff);color:var(--msc-on-accent,#fff)}.msc-de-single [data-msc-de-action][hidden]{display:none}.msc-de-secondary-button{color:var(--global-palette4,#232c39);background:var(--global-palette7,#eee);border-color:var(--msc-border,#ccc)}
.msc-de-single .msc-de-description{margin:0}.msc-de-single>section{margin:0}.msc-de-single .msc-de-preview{margin:0 0 15px}.msc-de-preview>h4{color:var(--global-palette6,#777);text-transform:uppercase;margin-top:0}
.msc-de-single [data-msc-de-viewer] iframe{display:block;width:100%;height:700px;max-height:none;margin:0 0 15px;border:1px solid var(--msc-border,#ddd);border-radius:6px;background:var(--msc-surface-subtle,#f9f9fa)}
.msc-de-guest-preview{padding:10px 20px;margin-bottom:10px;border:0;border-radius:0}.msc-de-guest-preview h4{font-size:1.2em;margin-top:0}.msc-de-guest-preview h4 a{text-decoration:underline}.msc-de-preview-note{font-size:.9em;color:var(--global-palette6,#777);margin-bottom:0}.msc-de-guest-preview .msc-de-limited-preview{display:block;margin-top:1rem}
.msc-de-meta-list{list-style:none;margin:0 0 8px;padding:0}.msc-de-meta-list>li{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:52px;padding:12px 16px;border:.5px solid var(--msc-border,#ccc);margin:0;list-style:none}.msc-de-meta-list>li+li{border-top:0}
.msc-de-meta-list .msc-de-meta-title{background:var(--global-palette1,var(--msc-blue,#0099ff));color:var(--msc-on-accent,#fff);border-radius:10px 10px 0 0}.msc-de-meta-list .msc-de-meta-action{justify-content:flex-end;background:var(--msc-surface-subtle,rgba(249,249,250,.9));border-radius:0 0 10px 10px}
.msc-de-meta-badge{display:inline-block;padding:5.95px 11.05px;font-size:inherit;font-weight:600;line-height:1;color:var(--global-palette5,#777);background:var(--global-palette7,#eee);border-radius:4px;text-align:right;max-width:60%;overflow-wrap:anywhere}.msc-de-meta-categories{line-height:1.3}.msc-de-meta-categories a{color:inherit;text-decoration:none}.msc-de-type-icon{display:block;width:16px;height:16px;object-fit:contain}.msc-de-single .msc-de-status:empty{display:none}
@media(max-width:768px){.msc-de-single .msc-de-toolbar{flex-wrap:wrap}.msc-de-toolbar-heading{flex-basis:calc(100% - 64px)}.msc-de-toolbar-actions{width:100%;justify-content:flex-end}.msc-de-meta-list>li{gap:10px}.msc-de-meta-badge{max-width:65%}.msc-de-single [data-msc-de-viewer] iframe{height:700px}}

.msc-de-meta-title [data-msc-de-action]{text-transform:none;background:none;border:0;border-radius:0;font:inherit;font-weight:400;color:var(--msc-on-accent,#fff);padding:0;min-height:0;text-align:left}.msc-de-meta-title [data-msc-de-action]:hover{background:none;text-decoration:underline}
.msc-de-preview:has([data-msc-de-auto-preview][hidden]) [data-msc-de-viewer]{min-height:700px}

.msc-de-single .msc-de-description{padding-top:var(--global-md-spacing,32px)}
.msc-de-preview>h4,.msc-de-single #files>h4{font-size:20px;line-height:1.3;font-weight:500}
.msc-de-meta-categories{display:flex;flex-wrap:wrap;row-gap:3px;justify-content:flex-end;width:fit-content;line-height:1}

.msc-de-single .msc-de-meta-list{margin:0 0 8px;padding:0}
.msc-de-single .msc-de-description p:last-of-type{margin-bottom:var(--global-md-spacing,32px)}
.msc-de-single .msc-de-preview>h4{margin:0}
.msc-de-single .msc-de-preview{margin:0}
.msc-de-single [data-msc-de-viewer] iframe{display:inline-block}

#main.msc-download-experience:has(>.msc-de-single){background:transparent}#main.msc-download-experience>.msc-de-single{border-radius:var(--msc-radius-lg,16px)}

/* Shared download/archive surface, with no nested page landmarks. */
#main.msc-download-experience:has(>.msc-de-content){border-radius:var(--msc-radius-lg,16px)}
#main.msc-download-experience>.msc-de-content{max-width:none;padding:var(--global-md-spacing,32px)}
.msc-de-archive h1{font-family:inherit;font-size:35px;line-height:1.2;font-weight:500}
.msc-de-archive .msc-de-filter{margin-block:var(--global-md-spacing,32px);align-items:end}
.msc-de-archive .msc-de-filter button{background:var(--msc-blue,#0099ff);border:1px solid var(--msc-blue,#0099ff);color:var(--msc-on-accent,#fff);border-radius:4px}
.msc-de-archive .msc-de-filter button:is(:hover,:focus-visible,:active){background:var(--msc-blue,#0099ff);border-color:var(--msc-blue,#0099ff);color:var(--msc-on-accent,#fff)}
@media(max-width:600px){#main.msc-download-experience>.msc-de-content{padding:24px}.msc-de-archive h1{font-size:30px}.msc-de-archive .msc-de-filter :is(input,select){width:100%;min-width:0}.msc-de-archive .msc-de-filter button{width:100%}}

/* Reserve the favourite control beside the title, not the whole card body. */

.msc-de-single .msc-de-guest-preview{padding-inline:0}
