html {
    color: #222;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    overflow-x: auto;
    overflow-y: scroll;
}

a {
    color: #cc1717;
    text-decoration: none;
}

footer {
    background: rgb(247,247,247);
    background: linear-gradient(180deg, rgba(247,247,247,1) 0%, rgba(255,255,255,1) 75%);
    border-top: #dadada solid 1px;
    color: #aaa;
    font-size: 12px;
    font-weight: bold;
    padding: 50px 0;
    margin: 50px 0 0 0;    
}

footer strong {
    font-size: 14px;
}

footer em {
    color: #d63b1e;
    display: inline-block;
    font-style: normal;
    padding: 5px 0 10px;
}

footer a {
    color: #aaa;
}

.both {
    clear: both;
}

.container {
    margin: 0 auto;
    padding: 0 20px;
}

.table-responsive {
    overflow: auto;
    width: 100%;
}

@media (min-width: 1024px) {
    .container {
        width: 1100px;
        padding: 0;
    }

    nav div.container {
        display: flex;
        align-items: center;
    }

    nav div.logo {
        text-align: left;
        width: 20%;
    }

    nav ul.links {
        text-align: right;
        width: 80%;
    }

    div.landing {
        display: table-cell;
        padding: 64px 0 64px 430px;
        vertical-align: middle;
    }

    div.landing-lists, div.landing-bofs, div.landing-graphs, div.landing-running, div.landing-contact, div.landing-news, div.landing-rules {
        background-position: center left;
        margin: 0;
        text-align: left;
    }

    div.submissions-action {
        width: 70%;
    }
}

@media (min-width: 550px) {
    /* Area-matched so every banner illustration reads at the same visual size. */
    div.landing-lists {
        background-size: 358px;
    }

    div.landing-bofs {
        background-size: 384px;
    }

    div.landing-graphs {
        background-size: 378px;
    }

    div.landing-running {
        background-size: 312px;
    }

    div.landing-contact {
        background-size: 385px;
    }

    div.landing-news {
        background-size: 346px;
    }

    div.landing-rules {
        background-size: 380px;
    }
}

.logo a {
    background: url('../img/logo.png') no-repeat left center;
    background-size: contain;
    display: inline-block;
    height: 42px;
    width: 180px;
}

.content {
    background: #fff;
    border-radius: 5px;
    padding: 20px 0;
}

.link {
    color: #cc1717;    
}

.landing {
    background-position: center top;
    background-repeat: no-repeat;
    height: 350px;
    padding: 375px 0 0 0;
    margin: 50px 0 0 0;
    text-align: center;
    position: relative;
}

.landing ul {
    list-style: none;
    margin: 30px 0;
    padding: 0;
}

.landing ul > li {
    display: inline-block;
    padding: 0 10px 15px 0;
}

.landing-page {
    background-image: url('../img/landing.svg');
    background-size: 600px;
}

.landing-running {
    background-image: url('../img/running.svg');
    background-size: contain;
}

.landing-lists {
    background-image: url('../img/lists.svg');
    background-size: contain;
}

.landing-graphs {
    background-image: url('../img/graphs.svg');
    background-size: contain;
}

.landing-bofs {
    background-image: url('../img/example.svg');
    background-size: contain;
}

.landing-contact {
    background-image: url('../img/contact.svg');
    background-size: contain;
}

.landing-news {
    background-image: url('../img/news.svg');
    background-size: contain;
}

.landing-rules {
    background-image: url('../img/rules.svg');
    background-size: contain;
}

.cfs-list {
    padding: 0;
}

.cfs-list li {
    display: inline-block;
    padding: 0 10px 15px 0;
    line-height: 33px;
}

.button, .button-navigation, .button-navigation-active, .button-highlight {
    align-items: center;
    border-radius: 6px;
    box-sizing: border-box;
    cursor: pointer;
    display: inline-flex;
    gap: 8px;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    padding: 8px 16px;
    text-align: center;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
}

.button:focus-visible,
.button-navigation:focus-visible,
.button-navigation-active:focus-visible,
.button-highlight:focus-visible,
input[type=submit]:focus-visible {
    outline: 2px solid #d63b1e;
    outline-offset: 2px;
}

/* Modern micro-interaction: subtle lift on hover, press on active */
.button:hover, .button-navigation:hover, .button-navigation-active:hover,
.button-highlight:hover, input[type=submit]:hover {
    transform: translateY(-1px);
}

.button:active, .button-navigation:active, .button-navigation-active:active,
.button-highlight:active, input[type=submit]:active {
    transform: translateY(0);
}

.button[disabled], .button-navigation[disabled], .button-navigation-active[disabled],
.button-highlight[disabled], input[type=submit]:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Secondary action: red outline that fills on hover */
.button {
    background: transparent;
    border: #d63b1e solid 1px;
    color: #d63b1e;
}

.button:hover {
    background: #d63b1e;
    color: #fff;
}

/* Tertiary action: neutral outline, red on hover */
.button-navigation {
    background: #fff;
    border: #d0d0d0 solid 1px;
    color: #5a5a5a;
}

.button-navigation:hover {
    border-color: #d63b1e;
    color: #d63b1e;
}

/* Current/selected navigation */
.button-navigation-active {
    background: #222;
    border: #222 solid 1px;
    color: #fff;
}

/* Tidy row of equal-width buttons (e.g. landing-page navigation) */
.button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    margin: 30px 0;
    padding: 0;
}

ul.button-group li {
    padding: 0;
}

.button-group .button {
    min-width: 140px;
}

nav {
    margin: 40px 0 0;
}

nav .container {
    display: block;
}

nav .logo {
    color: #e63946;
    font-size: 64px;
    font-weight: bold;
    user-select: none;
    min-width: 180px;
    text-align: center;
}

nav .links {
    list-style: none;
    padding: 0;
    text-align: center;
}

nav .links > li {
    display: inline-block;
    padding: 0 10px;
}

nav .links > li > a {
    color: #222;
}

/* Flash messages */
.message {
    padding: 10px;
    background: #eff8ff;
    color: #2779bd;
    border-color: #6cb2eb;
    border-width: 1px;
    border-style: solid;
    border-radius: 4px;
    margin: 20px 0 10px;
    text-align: center;
}
.message.hidden {
    display: none;
}
.message.success {
    background: #e3fcec;
    color: #1f9d55;
    border-color: #51d88a;
}
.message.error {
    background: #fcebea;
    color: #cc1f1a;
    border-color: #ef5753;
}

/* Paginator */

.paginator {
    text-align: right;
}

.pagination {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 20px 0 1rem;
}

.pagination li {
    margin: 0 5px;
}

.pagination li a {
    border: #bbb solid 1px;
    border-radius: 50px;
    display: inline-block;
    font-size: 12px;
    font-weight: bold;
    height: 20px;
    line-height: 18px;    
    text-align: center;
    transition: 0.2s;
    width: 20px;
}

.pagination li a:hover {
    background: #444;
    border-color: #444;
    color: #fff;
}

.pagination li.active a {
    border-color: #d63b1e;
    background: #d63b1e;
    border-radius: 50px;
    color: #fff;
}

.prev.disabled a,
.next.disabled a {
    cursor: not-allowed;
    color: #606c76;
}

.asc:after {
    content: " \2193";
}

.desc:after {
    content: " \2191";
}

/* Error */

.error-container {
    align-items: center;
    display: flex;
    flex-direction: column;
    height: 100vh;
    justify-content: center;
}

#error-404 {
    background-image: url('../img/404.svg');
    background-size: 600px;
    background-repeat: no-repeat;
    background-position: center;
    height: 400px;
}

#error-500 {
    background-image: url('../img/500.svg');
    background-size: 600px;
    background-repeat: no-repeat;
    background-position: center;
    height: 400px;
}

/* Tables */

.custom-table {
    overflow-y: hidden;
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

.tb th {
    color: #5a5a5a;
    font-weight: 700;
    font-size: 12px;
    padding: 5px;
    text-transform: uppercase;
    text-align: left;
}

.tb .tb-center {
    text-align: center;
}

.tb .tb-id {
    width: 5%;
    text-align: center;
}

.tb .tb-number {
    text-align: right;
    width: 7%;
}

.tb th a {
    color: #5a5a5a;
    display: inline-block;
}

.tb tbody tr:hover {
    background: #ededed;
}

.tb td {
    padding: 5px;
}

.tb tr {
    border-bottom: 1px solid #ddd;
    border-collapse: collapse;
}

.tb td {
    vertical-align: middle;
}

.tb td {
    height: 30px;
}

.tb-info td {
    text-align: right;
}

.rank, .custom-rank {
    border-radius: 50px;
    color: #fff;
    display: inline-block;
    font-size: 12px;
    font-weight: bold;
    height: 23px;
    line-height: 22px;
    transition: 0.2s;
    width: 23px;
}

.rank {
    background: #d63b1e;
}

.rank:hover, .custom-rank:hover{
    background: #444;
    color: #fff;
}

.custom-rank {
    background: #222;
}

/* IO500 measurements read as a benchmark readout (monospace, tabular) */
.tb td.tb-metric {
    font-family: 'Lekton', monospace;
    font-size: 13px;
}

/* Score is the headline figure of that readout */
.tb td.tb-score {
    color: #d63b1e;
    font-weight: 700;
}

/* Align digits across rows in numeric columns */
.tb .tb-number {
    font-variant-numeric: tabular-nums;
}

/* Comfortable but compact rows */
.tb tbody td {
    padding: 9px 6px;
}

/* Keep the rank anchored when scrolling the table horizontally */
.tb th.tb-id,
.tb td.tb-id {
    position: sticky;
    left: 0;
    background: #fff;
    z-index: 1;
}

.tb tbody tr:hover td.tb-id {
    background: #ededed;
}

/* Podium colors for the top three ranks */
.rank-1 {
    background: #e6b400;
}

.rank-2 {
    background: #9ba3ab;
}

.rank-3 {
    background: #c77b3c;
}

/* Compound identity cell: institution + system + filesystem */
.tb .tb-identity {
    min-width: 190px;
}

.identity-institution {
    display: block;
    font-weight: 700;
}

.identity-meta {
    color: #7b7d82;
    display: block;
    font-size: 12px;
    margin-top: 3px;
}

.fs-tag {
    background: #f0f0ef;
    border-radius: 3px;
    color: #5a5a5a;
    font-size: 11px;
    font-weight: 600;
    padding: 1px 6px;
    white-space: nowrap;
}

/* Secondary sort links (System / FS Type) under the Institution header */
.tb-identity-sub {
    display: block;
    margin-top: 3px;
}

.tb-identity-sub a {
    font-size: 11px;
    font-weight: 400;
}

/* Primary action: solid red with subtle depth, darkens + lifts on hover */
input[type=submit], .button-highlight {
    background: #d63b1e;
    border-radius: 6px;
    border: #d63b1e solid 1px;
    box-shadow: 0 1px 2px rgba(214, 59, 30, 0.25);
    color: #fff;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 16px;
    transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
}

input[type=submit]:hover, .button-highlight:hover {
    background: #b8301a;
    border-color: #b8301a;
    box-shadow: 0 4px 12px rgba(214, 59, 30, 0.3);
    color: #fff;
}

input[type=text] {
    border: 1px solid #d0d0d0;
    box-sizing: border-box;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.1);
    border-radius: 3px;
    font-size: 13px;
    color: #303030;
    display: inline-block;    
    margin: 0 0 5px;
    padding: 8px 8px;
    width: 100%;
}

input[type=text]:read-only {
    background-color: #f7f7f7;
}

label {
    font-size: 10px;
    margin: 20px 5px 5px;
}

input[type=submit] {
    margin: 10px 0 20px;
}

h3 {
    border-bottom: #ddd dashed 1px;
    padding: 10px 0 5px;
}

p {
    line-height: 20px;
}

li {
    line-height: 24px;
}

.code, .code-block {
    background: #eee;
    border-radius: 3px;
    font-family: 'Lekton', monospace;
    font-size: 12px;
}

.code-block {
    font-size: 10px;
    line-height: 16px;
    padding: 10px 15px;
    overflow-x: auto;
}

.code {
    padding: 2px 5px;
}

.bib {
    padding: 5px 20px;
    white-space: pre-wrap;
}

.note {
    color: #bbb;
    font-size: 12px;
}

.credits {
    display: inline-block;
    position: absolute;
    bottom: 0px;
    right: 20px;
    color: #bbb;
    font-size: 10px;
}

.information {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 20px 0;
    width: 100%;
}

.information tr {
    border: none;
}

.information h4 {
    background: #fff;
    color: #d63b1e;
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    left: 20px;
    margin: 0;
    padding: 5px;
    position: absolute;
    text-transform: uppercase;
    top: -12px;
}

.information-data, .information-metadata {
    border: #e6e6e6 solid 1px;
    border-radius: 4px;
    box-sizing: border-box;
    padding: 15px 20px;
    position: relative;
    flex-basis: 400px;
    flex-grow: 1;
    width: 45%;
}

/* Submission view: title + subtitle and the headline result */
.submissions-subtitle {
    color: #6d6d6d;
    font-size: 13px;
    margin: 4px 0 0;
}

.submissions-name .badge {
    vertical-align: middle;
    margin-right: 8px;
}

.result-hero {
    display: flex;
    flex-wrap: wrap;
    margin: 22px 0 32px;
}

.result-metric {
    flex: 1 1 150px;
    min-width: 140px;
    padding: 2px 28px;
    border-left: 1px solid #e6e6e6;
}

.result-metric:first-child {
    border-left: none;
    padding-left: 4px;
}

.result-label {
    color: #6d6d6d;
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.result-value {
    color: #222;
    display: block;
    font-family: 'Lekton', monospace;
    font-size: 22px;
    font-weight: 600;
    margin-top: 6px;
}

.result-metric-primary .result-value {
    color: #d63b1e;
    font-weight: 700;
}

.result-value small {
    color: #9a9da1;
    font-size: 12px;
    font-weight: 400;
    margin-left: 4px;
}

/* Submission view: card grid that keeps columns even and lets each card
   hug its own content instead of stretching to the tallest in the row. */
.information-grid {
    display: block;
    column-width: 400px;
    column-gap: 22px;
}

.information-grid .information-metadata,
.information-grid .information-data {
    width: 100%;
    flex-basis: auto;
    margin: 0 0 22px;
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
}

/* Numeric detail tables read as benchmark readouts */
.tb-info.tb-num td {
    font-family: 'Lekton', monospace;
    font-variant-numeric: tabular-nums;
}

.release-information {
    box-sizing: border-box;
    clear: both;
    margin: 0 0 20px;
    width: 100%;    
}

dt {
    font-family: 'Lekton', monospace;
    font-size: 12px;
    padding: 5px 0;
}

dd {
    display: none;
    margin: 0;
}

.file {
    background-image: url('../img/file.svg');
    background-size: 20px;
    background-repeat: no-repeat;
    background-position: center left;
    padding-left: 30px;
    cursor: pointer;
}

.submissions-lists {
    margin: 20px 0 0;
}

.submissions-lists ol, .submissions-lists ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.submissions-lists ol {
    display: flex;
    flex-wrap: wrap;
}

.submissions-lists li {
    background: #fafafa;
    border: #dadada solid 1px;
    flex-grow: 1;
    flex-basis: 15%;
    border-radius: 3px;
    margin: 5px;
}

.submissions-lists li a {
    color: #222;
}

.submissions-lists h4 {
    font-size: 32px;
    text-align: center;
}

.submissions-lists ul > li {
    background: #fff;
    box-sizing: border-box;
    display: block;
    font-size: 12px;
    margin: 10px;
    text-align: center;
    transition: .1s;
    width: auto;
}

.submissions-lists ul > li:hover{
    background: #d63b1e;
    border-color: #d63b1e;
}

.submissions-lists ul > li > a {
    display: block;
}

.submissions-lists ul > li > a:hover{
    color: #fff;
}

.submissions-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin: 0 0 25px;
}

.submissions-header h2 {
    margin: 0;
}

.submissions-header .submissions-action {
    width: auto;
    margin: 0;
    flex-grow: 0;
}

.submissions > h2 {
    float: left;
    margin-bottom: 30px;
    /*width: 30%;*/
}

.submissions > h2 span {
    background: #d63b1e;
    padding: 3px 7px;
    color: #fff;
    border-radius: 3px;
}

.submissions-name {
    width: 100%;
}

.submissions-action {
    float: right;
    margin: 15px 0;
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    flex-grow: 1;
    gap: 10px;
    box-sizing: border-box;
    justify-content: flex-end;
}

.submissions-action a {
    max-width: 175px;
}

.submissions-list-types {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin: 20px 0;
    border-bottom: 1px solid #ddd;
    box-sizing: border-box;
}

.submissions-list-types .tab {
    color: #5a5a5a;
    font-weight: bold;
    padding: 10px 16px;
    display: inline-flex;
    align-items: center;
    text-align: center;
    border-bottom: 3px solid transparent;
    margin-bottom: -1px;
    transition: 0.2s;
}

.submissions-list-types .tab:hover {
    color: #cc1717;
}

.submissions-list-types .tab-active {
    color: #d63b1e;
    border-bottom-color: #d63b1e;
}

.submissions-list-types .tab i {
    font-size: 16px;
    margin-right: 6px;
}

#disqus_thread {
    margin: 50px 0 0;
}

.optgroup-header {
    font-weight: bold;
}

.plots iframe,
.plots [data-plot-metric] {
    border: 0;
    height: 405px;
    margin: 0;
    padding: 0;
    width: 100%;
}

.plot-controls {
    display: flex;
    flex-direction: row;
    gap: 6px;
    justify-content: flex-end;
    margin: 0 0 8px;
}

.rangeslider-mask-min,
.rangeslider-mask-max {
    fill: rgba(0, 0, 0, 0.06) !important;
    fill-opacity: 1 !important;
}

.plot-controls button {
    cursor: pointer;
    flex-grow: 0;
    font-family: inherit;
    font-size: 0.85em;
    min-width: 70px;
    padding: 3px 10px;
    width: auto;
}

.plots {
    margin: 0;
    padding: 0;
}

.plots li {
    background: url('../img/loader.svg') center no-repeat;
    box-sizing: border-box;
    list-style: none;
    width: 100%;
}

.plot-box {
    border: #e6e6e6 solid 1px;
    border-radius: 4px;
    box-sizing: border-box;
    padding: 24px 28px;
    margin: 30px 0 0;
    display: block;
}

.plot-title {
    border: none;
    font-size: 16px;
    margin: 0 0 4px;
    padding: 0;
}

.plot-caption {
    color: #6d6d6d;
    font-size: 12px;
    margin: 0 0 10px;
}

/* Parallel-coordinates comparison */
.parcoords {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
}

.parcoords text {
    font-family: 'Inter', sans-serif;
}

.pc-axis {
    stroke: #d8d8d8;
    stroke-width: 1;
}

.pc-axis-label {
    fill: #5a5a5a;
    font-size: 13px;
    font-weight: 600;
}

.pc-axis-cap {
    fill: #b4b7bb;
    font-size: 10px;
}

.pc-line {
    fill: none;
    stroke-width: 2;
    opacity: 0.7;
    transition: opacity 0.15s, stroke-width 0.15s;
}

.pc-dot {
    opacity: 0.85;
}

.pc-series:hover .pc-line {
    stroke-width: 4;
    opacity: 1;
}

.pc-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    list-style: none;
    margin: 18px 0 0;
    padding: 0;
    font-size: 12px;
}

.pc-legend li {
    display: flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
    user-select: none;
    transition: opacity 0.15s;
}

.pc-legend li.pc-legend-off {
    opacity: 0.4;
    text-decoration: line-through;
}

.pc-legend li:focus-visible {
    outline: 2px solid #d63b1e;
    outline-offset: 2px;
}

.pc-series.pc-hidden {
    display: none;
}

.pc-swatch {
    display: inline-block;
    width: 18px;
    height: 10px;
    border-radius: 2px;
    flex-shrink: 0;
}

.pc-legend-inst {
    color: #6d6d6d;
}

.footer {
    box-sizing: border-box;
    width: 50%;
}

footer > .container{
    display: flex;
}

.social-links {
    text-align: right;
    list-style: none;
    padding: 0;
    margin: 0;
}

.social-links li {
    display: inline-block;
    padding: 0 10px;
}

.social-links a {
    color: #aaa;
    font-size: 22px;
    transition: color 0.2s;
}

.social-links a:hover {
    color: #e63946;
}

.news {
    margin: 0;
    padding: 0;
}

.news > li {
    list-style: none;
}

.news ul {
    padding: 0 0 0 130px;
}

.date {
    background-color: #f8f8f8;
    background-image: url('../img/calendar.svg');
    background-size: 10px;
    background-repeat: no-repeat;
    background-position: 10px center;
    border-radius: 3px;
    color: #777;
    display: inline-block;
    font-family: 'Lekton', monospace;
    font-size: 12px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    line-height: 18px;
    padding: 3px 8px 3px 26px;
    margin: 0 10px 0 0;
    vertical-align: middle;
    white-space: nowrap;
}


.book {
    background-color: #f8f8f8;
    background-image: url('../img/book.svg');
    background-size: 10px;
    background-repeat: no-repeat;
    background-position: 10px center;
    border-radius: 3px;
    color: #777;
    font-size: 12px;
    font-weight: bold;
    padding: 3px 5px 3px 30px;    
    margin: 0 0 10px 0;
}

.doi a {
    float: right;
}

.gallery {
    display: flex;
}

.gallery > div {
    width: 50%;
}

.gallery img {
    box-sizing: border-box;
    width: 500px;
}

.file-buttons {
    list-style: none;
    margin: 0;
    padding: 0;
}

.file-buttons li {
    display: inline-block;
    padding: 0 10px 0 0;
}

.customize label {
    display: block;
    margin: 10px 5px 5px;
}

.unofficial {
    background: #d50000;
    border-radius: 3px;
    color: #fff;
    padding: 10px;
    text-align: center;
}

.unofficial-bottom {
    margin: 30px 0 0;
}

.call {
    margin-top: 20px;
    background: #fdf3f2;
    border: 1px solid #f3d4d0;
    border-left: 4px solid #d63b1e;
    border-radius: 4px;
    padding: 14px 18px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
}

.call i {
    color: #d63b1e;
    font-size: 18px;
    flex-shrink: 0;
}

.badge {
    display: inline-block;
    background-size: 20px;
    background-repeat: no-repeat;
    background-position: center;
    margin-bottom: -2px;
    width: 20px;
    height: 20px;
}

.badge-1 {

}

.badge-2 {
    background-image: url('../img/reproducibility-bronze.svg');
}

.badge-3 {
    background-image: url('../img/reproducibility-silver.svg');
}

.badge-4 {
    background-image: url('../img/reproducibility-gold.svg');
}

.questionnaires fieldset { 
    border: #bbb solid 1px;
    border-radius: 3px;
    box-sizing: border-box;
    padding: 15px 20px;
    position: relative;
    flex-basis: 400px;
    flex-grow: 1;
    margin-bottom: 30px;
}

.questionnaires fieldset legend {
    background: #fff;
    color: #d63b1e;
    display: block;
    font-size: 12px;
    font-weight: bold;
    left: 20px;
    margin: 0;
    padding: 5px;
    position: absolute;
    text-transform: uppercase;
    top: -12px;
}

/* ================= Submission summary (view page) ================= */
.subview{
    margin-top:28px;
    --sv-accent:#d63b1e;--sv-ink:#b5302e;--sv-text:#232323;--sv-muted:#6d6d6d;
    --sv-faint:#8f8f8f;--sv-border:#dadada;--sv-border2:#c6c6c6;
    --sv-panel:#fff;--sv-panel2:#fafafa;--sv-dot:#c4c4c4;--sv-grid:#ededed;
    --sv-mono:'Lekton',ui-monospace,monospace;
    color:var(--sv-text);
}
.subview .mono{font-family:var(--sv-mono);font-variant-numeric:tabular-nums}
.subview a{color:var(--sv-ink)}

.sv-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:2px}
.sv-head-l{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.sv-verified{width:22px;height:22px;flex:none;color:var(--sv-accent)}
.subview h1{font-size:24px;font-weight:700;margin:0;letter-spacing:-.01em}
.sv-badges{display:flex;gap:8px;flex-wrap:wrap}
.sv-badge{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:600;padding:3px 9px;border-radius:999px;border:1px solid var(--sv-border2);color:var(--sv-muted);background:var(--sv-panel)}
.sv-badge{white-space:nowrap}
.sv-badge.sv-rank{color:#fff;background:var(--sv-accent);border-color:var(--sv-accent)}
.sv-badge.repro::before{content:"";width:8px;height:8px;border-radius:50%;background:#e6b400}
.sv-actions{display:flex;gap:8px;flex-wrap:wrap}
.subview .sv-head-l .badge{width:24px;height:24px;background-size:24px;flex:none}

.sv-strip{margin:14px 0 4px;padding:9px 14px;border:1px solid var(--sv-border);border-radius:8px;background:var(--sv-panel2);color:var(--sv-muted);font-size:13px;display:flex;flex-wrap:wrap;gap:6px 4px;align-items:center}
.sv-strip .sep{color:var(--sv-faint);margin:0 6px}
.sv-strip b{color:var(--sv-text);font-weight:600}

.sv-tabs{display:flex;gap:2px;border-bottom:1px solid var(--sv-border);margin:18px 0 22px}
.sv-tab{padding:9px 14px;font-size:13px;font-weight:600;color:var(--sv-muted);border-bottom:2px solid transparent;margin-bottom:-1px;text-decoration:none}
.sv-tab:hover{color:var(--sv-ink)}
.sv-tab.active{color:var(--sv-ink);border-bottom-color:var(--sv-accent)}

.sv-panel{position:relative;background:var(--sv-panel);border:1px solid var(--sv-border);border-radius:10px;padding:26px 20px 18px}
.subview > .sv-panel + .sv-panel,.subview > .sv-grid + .sv-panel,.subview > .sv-panel + .sv-grid,.subview > .sv-grid + .sv-grid{margin-top:16px}
.sv-ptitle{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--sv-muted);margin:0 0 14px}
.sv-grid{display:grid;gap:16px}
.sv-metrics{grid-template-columns:repeat(4,1fr)}
.sv-2col{grid-template-columns:1fr 1fr;align-items:stretch}

.sv-card{background:var(--sv-panel);border:1px solid var(--sv-border);border-radius:10px;padding:16px 18px}
.sv-card .lbl{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--sv-muted)}
.sv-card .val{font-family:var(--sv-mono);font-variant-numeric:tabular-nums;font-weight:600;font-size:26px;margin-top:8px;letter-spacing:-.01em}
.sv-card.hero .val{color:var(--sv-ink);font-size:30px}
.sv-card .u{font-size:13px;color:var(--sv-faint);font-weight:400;margin-left:3px;font-family:var(--sv-mono)}
.sv-scale{margin-top:6px;display:grid;grid-template-columns:1fr auto;gap:2px 10px;font-size:12.5px}
.sv-scale dt{color:var(--sv-muted);font-family:inherit;padding:0}
.sv-scale dd{display:block;margin:0;padding:0;font-family:var(--sv-mono);font-variant-numeric:tabular-nums;text-align:right}

.sv-shead{display:flex;justify-content:flex-end;align-items:baseline;gap:12px;flex-wrap:wrap;margin-bottom:2px}
.sv-nodetoggle{display:flex;gap:2px;border:1px solid var(--sv-border2);border-radius:6px;overflow:hidden}
.sv-nodetoggle button{font-family:inherit;font-size:11.5px;font-weight:600;padding:4px 10px;border:none;background:var(--sv-panel);color:var(--sv-muted);cursor:pointer}
.sv-nodetoggle button.on{background:var(--sv-accent);color:#fff}
.subview svg.sv-scatter{width:100%;height:auto;display:block;margin-top:6px;overflow:visible}
.sv-scatter .axis-line{stroke:var(--sv-border2)}
.sv-scatter .grid-line{stroke:var(--sv-grid)}
.sv-scatter .tick{fill:var(--sv-faint);font-size:8px;font-family:var(--sv-mono)}
.sv-scatter .axis-title{fill:var(--sv-muted);font-size:9.5px;font-weight:600}
.sv-scatter .dot{fill:var(--sv-dot)}
.sv-scatter .isoline{stroke:var(--sv-faint);stroke-dasharray:4 4;stroke-width:1;fill:none;opacity:.55}
.sv-scatter .iso-label{fill:var(--sv-faint);font-size:8px;font-family:var(--sv-mono)}
.sv-scatter .featured{fill:var(--sv-accent);stroke:var(--sv-panel);stroke-width:1.5}
.sv-caption{font-size:12px;color:var(--sv-muted);margin-top:10px}

.subview table.sv-tbl{width:100%;border-collapse:collapse;font-size:13px}
.subview table.sv-tbl caption{position:absolute;top:-8px;left:14px;background:var(--sv-panel);padding:0 8px;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--sv-muted)}
.subview table.sv-tbl caption .sv-lead{color:var(--sv-accent)}
.subview table.sv-tbl td{padding:7px 4px;border-bottom:1px solid var(--sv-border);height:30px;line-height:1.4}
.subview table.sv-tbl tbody tr:hover td{background:var(--sv-panel2)}
.subview table.sv-tbl td:first-child,.subview table.sv-tbl th:first-child{padding-left:10px}
.subview table.sv-tbl td:last-child,.subview table.sv-tbl th:last-child{padding-right:10px}
.subview table.sv-tbl td .sv-eh{display:inline-block;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.03em;padding:1px 6px;border-radius:4px;margin-right:8px;vertical-align:1px}
.subview table.sv-tbl td .sv-eh.easy{background:#eeeeee;color:#585858}
.subview table.sv-tbl td .sv-eh.hard{background:#fbe7e6;color:var(--sv-ink)}
.subview table.sv-tbl tr{border:none}
.subview table.sv-tbl tr:last-child td{border-bottom:none}
.subview table.sv-tbl td.num{font-family:var(--sv-mono);font-variant-numeric:tabular-nums;text-align:right;font-weight:500}
.subview table.sv-tbl td.u{color:var(--sv-faint);font-family:var(--sv-mono);width:1%;white-space:nowrap;padding-left:8px}
.subview table.sv-tbl.sv-top tr:first-child td.num{font-weight:600}
.subview table.sv-tbl thead th{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--sv-muted);text-align:right;padding:2px 4px 9px;border-bottom:1px solid var(--sv-border2)}
.subview table.sv-tbl thead th:first-child{text-align:left}
.subview table.sv-tbl .cu{color:var(--sv-faint);font-family:var(--sv-mono);font-size:11px;margin-left:5px;font-weight:400}
.sv-ret{padding-left:16px !important}
.sv-retw{display:flex;align-items:center;gap:9px;justify-content:flex-end}
.sv-retw .bar{width:56px;height:4px;background:var(--sv-border);border-radius:2px;overflow:hidden;flex:none}
.sv-retw .bar>i{display:block;height:100%;background:var(--sv-accent);border-radius:2px}
.sv-retw .p{font-family:var(--sv-mono);font-weight:600;min-width:36px;text-align:right}
.sv-note{font-size:12px;color:var(--sv-muted)}

@media(max-width:900px){.sv-metrics{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){.sv-2col{grid-template-columns:1fr}.sv-metrics{grid-template-columns:1fr}}