.sc-main {
    padding: 18px 0 54px;
    background: var(--paper);
}

.sc-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin: 26px 0 24px;
}

.tl-press main .sc-head h1 {
    margin: 0;
    max-width: 18ch;
    font-size: clamp(36px, 4.2vw, 64px) !important;
    line-height: .97 !important;
    letter-spacing: -.04em;
}

.sc-pdf {
    flex: none;
    white-space: nowrap;
}

.sc-catalog-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.sc-sheet {
    padding: 24px 32px 28px;
    background: var(--sheet);
    border-top: 2px solid var(--ink);
}

.sc-search {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--rule-strong);
}

.sc-size {
    margin: 0;
    padding: 0;
    border: 0;
    min-width: 0;
}

[data-order-dimensions] .pq-label > span { grid-column: 1 / -1; }

[data-order-dimensions] .sc-fields { grid-template-columns: repeat(3, minmax(0, 1fr)); }

[data-two-axes] .sc-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
[data-folder-format] .pp-formats { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.sc-size legend {
    margin-bottom: 8px;
    padding: 0;
    font-size: 17px;
    font-weight: 700;
}

.sc-fields {
    display: grid;
    grid-template-columns: repeat(3, minmax(80px, 146px)) auto;
    gap: 12px;
    align-items: end;
}

.sc-fields label,
.sc-sort {
    display: grid;
    gap: 4px;
    font-size: 13px;
    color: var(--ink-2);
}

.sc-fields input,
[data-order-dimensions] .sc-fields input[type=number],
.sc-sort select {
    box-sizing: border-box;
    width: 100%;
    height: 42px;
    padding: 0 12px;
    border: 1px solid var(--rule-strong);
    border-radius: 0;
    background: var(--sheet);
    color: var(--ink);
    font: 700 17px var(--sans);
}

.sc-sort {
    width: 252px;
    max-width: 100%;
}

.sc-sort select {
    font-size: 15px;
}

.sc-clear {
    align-self: end;
    margin: 0 0 9px 6px;
    padding: 0 0 2px;
    border-top: 0;
    border-right: 0;
    border-left: 0;
    background: transparent;
    font-size: 13px;
    cursor: pointer;
}

.sc-clear:disabled {
    color: var(--ink-3);
    cursor: default;
}

.sc-count {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 20px;
    padding: 16px 0 12px;
}

.tl-press main .sc-count h2 {
    margin: 0;
    font-size: 25px !important;
    line-height: 1.1 !important;
}

.sc-count p {
    margin: 0;
    color: var(--ink-2);
    font-size: 14px;
}

.sc-table-view {
    overflow-x: auto;
}

.sc-table {
    width: 100%;
    min-width: 800px;
    border-collapse: collapse;
    border-top: 1px solid var(--ink);
    font-variant-numeric: tabular-nums;
}

.sc-table :is(th, td) {
    padding: 12px 14px;
    border-bottom: 1px solid var(--rule);
    text-align: left;
    vertical-align: baseline;
}

.sc-table thead th {
    vertical-align: top;
    font-size: 14px;
    font-weight: 700;
}

.sc-table thead th:first-child { width: 9%; }
.sc-table thead th:nth-child(2) { width: 19%; }
.sc-table thead th:nth-child(3) { width: 20%; }
.sc-table thead th:nth-child(4) { width: 32%; }
[data-order-url] .sc-table thead th:nth-child(2),
[data-order-url] .sc-table thead th:nth-child(3) { width: 16%; }
[data-order-url] .sc-table thead th:nth-child(4) { width: 22%; }
[data-order-url] .sc-table thead th:last-child { width: 19%; }

.sc-table thead small {
    display: block;
    margin-top: 2px;
    color: var(--ink-2);
    font-size: 12px;
    font-weight: 500;
}

.sc-table tbody th {
    border-left: 3px solid transparent;
    white-space: nowrap;
}

.sc-table tbody :is([data-size], [data-flat]) {
    color: var(--ink);
    white-space: nowrap;
    font-size: 17px;
    font-weight: 700;
}

.sc-table tbody [data-difference] {
    color: var(--ink-2);
    font-size: 14px;
}

.sc-table tbody .sc-near {
    background: var(--paper);
}

.sc-table tbody .sc-near th {
    border-left-color: var(--g-d);
}

.sc-drawing .pr-link,
.sc-continue .pr-link {
    font-size: 14px;
}

.sc-drawing small:not([hidden]), .sc-table [data-ribbon]:not([hidden]) {
    display: block;
    margin-top: 4px;
    color: var(--ink-2);
    font-size: 12px;
    line-height: 1.35;
}

@media (max-width: 920px) {
    .sc-head, .sc-search { flex-wrap: wrap; }
    .sc-sheet { padding: 20px; }
}

@media (max-width: 560px) {
    .sc-fields { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .sc-clear { grid-column: 1 / -1; justify-self: start; margin: 0; }
}
