/* Preserve the scanner's cinema identity with readable left-to-right layout. */
html[lang=en] {font-family:Arial,Helvetica,sans-serif}
html[lang=en] .world::after {transform:scaleX(-1)}
html[lang=en] .first-look h1 {letter-spacing:-.025em;line-height:1.16}
html[lang=en] .first-look h1 em {font-weight:600}
html[lang=en] .supported {text-align:start}
html[lang=en] .button-arrow,html[lang=en] use[href="#arrow"] {transform-origin:center}
html[lang=en] svg:has(use[href="#arrow"]) {transform:scaleX(-1)}
html[lang=en] .outputs {flex-wrap:wrap;gap:10px 15px}
.language-switch {text-decoration:none;color:#e0eee9;border:1px solid #68828a;border-radius:7px;padding:5px 10px;font-size:14px;line-height:1.5;white-space:nowrap}
.language-switch:hover {background:#213641;border-color:#a9e9d5}
@media(max-width:600px) {
 html[lang=en] .masthead {flex-wrap:wrap}
 html[lang=en] .identity {margin-inline-end:auto}
 html[lang=en] .how {order:3}
 html[lang=en] .first-look h1 {font-size:30px;line-height:1.24}
 html[lang=en] .promise {font-size:17px;line-height:1.65}
 html[lang=en] .selection h2 {font-size:30px}
 html[lang=en] .result-heading {flex-wrap:wrap}
 html[lang=en] .sample-tag {max-width:100%}
}
@media(max-width:600px) {
 html[lang=en] .masthead {display:grid;grid-template-columns:1fr auto;gap:12px;min-height:128px;padding-block:15px}
 html[lang=en] .identity {grid-column:1;grid-row:1}
 html[lang=en] .language-switch {grid-column:2;grid-row:1;justify-self:end;width:max-content}
 html[lang=en] .how {grid-column:1;grid-row:2;justify-self:start;padding:0;min-height:34px}
 html[lang=en] .availability {grid-column:2;grid-row:2;justify-self:end;font-size:12px;padding:6px 7px}
}
/* Keep the photographed score upright and on the opposite side of the English copy. */
@media(min-width:901px) {
 html[lang=en] .world img {position:absolute;inset:0 auto auto 40%;width:100%;height:100%;mask-image:linear-gradient(90deg,transparent,#000 28%);-webkit-mask-image:linear-gradient(90deg,transparent,#000 28%)}
}
/* Language names are revealed only after opening the neutral Language control. */
.language-switch {position:relative;padding:0;border:0;background:none;line-height:1.5}
.language-switch>summary {display:flex;align-items:center;justify-content:center;gap:9px;list-style:none;border:1px solid #68828a;border-radius:7px;padding:5px 10px;min-height:36px;cursor:pointer;color:#e0eee9;font:14px/1.5 Arial,sans-serif;background:#101b23}
.language-switch>summary::-webkit-details-marker {display:none}
.language-switch:hover {background:none;border-color:transparent}
.language-switch>summary:hover,.language-switch[open]>summary {background:#213641;border-color:#a9e9d5}
.language-chevron {width:6px;height:6px;border-inline-end:1.5px solid currentColor;border-block-end:1.5px solid currentColor;transform:rotate(45deg);margin-top:-3px}
.language-switch[open] .language-chevron {transform:rotate(225deg);margin-top:3px}
.language-options {position:absolute;inset-inline-end:0;top:calc(100% + 8px);z-index:20;min-width:146px;padding:5px;border:1px solid #68828a;border-radius:9px;background:#12232d;box-shadow:0 8px 24px #0008}
.language-options a {display:block;padding:9px 12px;border-radius:5px;font:15px/1.5 Arial,sans-serif;color:#f2f5f4;text-decoration:none;white-space:nowrap}
.language-options a:hover,.language-options a:focus-visible {background:#29444e}
.language-options a[aria-current=page] {background:#213641}
.masthead:has(.language-switch[open]) {z-index:10}

.document-collection {padding:16px;margin-block:16px;border:1px solid #68828a;border-radius:10px;background:#12232d}.document-collection label {display:block;font-weight:600;margin-bottom:8px}.document-collection select {width:100%;padding:10px;border:1px solid #68828a;border-radius:7px;background:#0c1820;color:#fff}.document-collection p {margin-top:8px;font-size:14px;color:#c0cdd7}#contact-form {display:grid;gap:10px;margin-top:18px}#contact-form input {width:100%;padding:11px;border:1px solid #68828a;border-radius:7px;background:#0c1820;color:#fff}#contact-form button {margin-top:10px}#contact-dialog p {max-width:500px;color:#c0cdd7}
