:root {
    color-scheme: light;
    --navy: #102c40;
    --ink: #183345;
    --muted: #607382;
    --blue: #155ec1;
    --teal: #167c74;
    --paper: #f5f7fa;
    --line: #dce4eb;
    --white: #fff;
    --radius: 14px;
    font-family: Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    font-size: 15px;
    line-height: 1.55;
    color: var(--ink);
    background: var(--paper);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    color: var(--blue);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

button,input,textarea,select {
    font: inherit;
}

button,a,input,textarea,summary {
    touch-action: manipulation;
}

button {
    cursor: pointer;
}

button:disabled {
    cursor: wait;
    opacity: .65;
}

button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible {
    outline: 3px solid #5c9dff;
    outline-offset: 3px;
}

h1,h2,h3,p {
    margin: 0;
}

h1 {
    font-size: clamp(1.9rem,4vw,2.55rem);
    letter-spacing: -.045em;
    line-height: 1.18;
}

h2 {
    font-size: 1.25rem;
    letter-spacing: -.025em;
    line-height: 1.35;
}

h3 {
    font-size: 1rem;
}

ul {
    padding-left: 1.3rem;
}

small {
    font-size: .8rem;
}

svg {
    flex-shrink: 0;
}

.icon {
    width: 1.25rem;
    height: 1.25rem;
    vertical-align: middle;
}

.muted {
    color: var(--muted);
}

.eyebrow {
    text-transform: uppercase;
    font-size: .7rem;
    font-weight: 750;
    letter-spacing: .12em;
    color: var(--teal);
    display: block;
    margin-bottom: .6rem;
}

.skip-link {
    position: fixed;
    left: 1rem;
    top: -5rem;
    background: var(--white);
    padding: .75rem 1rem;
    z-index: 100;
}

.skip-link:focus {
    top: .5rem;
}

.site-header {
    background: var(--navy);
    color: #fff;
    min-height: 80px;
}

.header-inner {
    max-width: 1220px;
    padding: 0 40px;
    margin: auto;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    color: #fff;
    font-size: 1.2rem;
    letter-spacing: -.025em;
    white-space: nowrap;
}

.brand:hover {
    text-decoration: none;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 37px;
    height: 37px;
    background: #95e0ce;
    color: var(--navy);
    border-radius: 10px;
}

.brand-mark .icon {
    width: 23px;
    height: 23px;
}

.brand-name {
    font-weight: 400;
    opacity: .8;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: .85rem;
}

.header-nav a {
    color: #fff;
}

.header-caption {
    color: #bdd0dd;
}

.header-button {
    border: 1px solid #526a7b;
    border-radius: 7px;
    background: transparent;
    color: #fff;
    padding: .4rem .75rem;
}

.header-button:hover {
    background: #294658;
}

.user-name {
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #bdd0dd;
}

.page-shell {
    width: 100%;
    max-width: 1220px;
    padding: 44px 40px 64px;
    margin: 0 auto;
    flex: 1;
}

.page-shell:focus {
    outline: none;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    max-width: 1220px;
    width: 100%;
    padding: 21px 40px;
    margin: auto;
    color: #6d7f8b;
    font-size: .75rem;
    border-top: 1px solid var(--line);
}

.page-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 30px;
}

.page-heading p {
    margin-top: .7rem;
    max-width: 650px;
    color: var(--muted);
}

.breadcrumbs {
    font-size: .8rem;
    display: flex;
    gap: .5rem;
    align-items: center;
    margin-bottom: 1.35rem;
}

.breadcrumbs span {
    color: var(--muted);
}

.panel {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 3px 14px #16324b03;
}

.panel-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 22px 24px;
    border-bottom: 1px solid var(--line);
}

.panel-body {
    padding: 24px;
}

.panel h2+p,.panel-heading p {
    color: var(--muted);
    font-size: .85rem;
    margin-top: .25rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    padding: .65rem 1rem;
    min-height: 41px;
    border-radius: 8px;
    border: 1px solid transparent;
    font-size: .85rem;
    font-weight: 650;
    line-height: 1.4;
    white-space: nowrap;
    text-decoration: none;
}

.button:hover {
    text-decoration: none;
}

.button-primary {
    background: var(--blue);
    color: #fff;
    box-shadow: 0 2px 3px #155ec110;
}

.button-primary:hover {
    background: #104da1;
}

.button-secondary {
    background: #fff;
    color: var(--ink);
    border-color: var(--line);
}

.button-secondary:hover {
    background: #f3f6fa;
    border-color: #b8c7d2;
}

.button-danger {
    background: #fff;
    color: #ad3333;
    border-color: #efd7d7;
}

.button-danger:hover {
    background: #fff3f3;
}

.button-small {
    min-height: 32px;
    padding: .4rem .65rem;
    font-size: .75rem;
}

.button-full {
    width: 100%;
}

.button[aria-disabled=true] {
    opacity: .45;
    cursor: default;
}

.text-button {
    border: 0;
    background: none;
    color: var(--blue);
    padding: 0;
    font-size: .8rem;
    text-align: left;
}

.text-button.danger {
    color: #ac3838;
}

.actions {
    display: flex;
    align-items: center;
    gap: .65rem;
    flex-wrap: wrap;
}

.notice {
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: 16px 20px;
    border-radius: 10px;
    border: 1px solid;
    margin-bottom: 24px;
    font-size: .9rem;
}

.notice ul {
    margin: .45rem 0 0;
}

.notice-success {
    background: #ecf8f4;
    color: #246a55;
    border-color: #c5e9dc;
}

.notice-danger {
    background: #fff0f0;
    color: #9c3030;
    border-color: #efd0d0;
}

.notice-info {
    background: #edf4ff;
    color: #2d527f;
    border-color: #c9dbf5;
}

.stack-form {
    display: flex;
    flex-direction: column;
    gap: 17px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.field label,.field-label {
    font-size: .8rem;
    font-weight: 650;
}

.field input,.field textarea,.field select {
    width: 100%;
    min-height: 43px;
    border: 1px solid #cbd7e1;
    border-radius: 8px;
    background: #fff;
    padding: .65rem .8rem;
    color: var(--ink);
    line-height: 1.4;
}

.field input::placeholder,.field textarea::placeholder {
    color: #8593a0;
}

.field textarea {
    resize: vertical;
    min-height: 90px;
}

.field input:disabled,.field textarea:disabled {
    background: #f3f6f9;
    color: var(--muted);
}

.field-help {
    color: var(--muted);
    font-size: .75rem;
    font-weight: 400;
}

.optional {
    color: var(--muted);
    font-weight: 400;
}

.checkbox-field {
    display: flex;
    align-items: center;
    gap: .55rem;
    font-size: .85rem;
}

.checkbox-field input {
    width: 17px;
    height: 17px;
    accent-color: var(--blue);
    flex-shrink: 0;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-footnote {
    color: var(--muted);
    font-size: .75rem;
    line-height: 1.55;
    margin-top: 20px;
}

.soft-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    background: #e8f3f1;
    color: var(--teal);
    border-radius: 11px;
    flex-shrink: 0;
}

.soft-icon.blue {
    background: #edf3fc;
    color: var(--blue);
}

.badge {
    display: inline-flex;
    align-items: center;
    border-radius: 5px;
    background: #edf7f2;
    color: #26755c;
    padding: .2rem .5rem;
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .02em;
    white-space: nowrap;
}

.badge-muted {
    background: #eef1f5;
    color: #667786;
}

.badge-danger {
    background: #fff0ed;
    color: #aa4b3e;
}

.badge-outline {
    background: transparent;
    border: 1px solid #d2e2dd;
    color: var(--teal);
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 16px;
    margin-bottom: 28px;
}

.stat {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 22px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
}

.stat-value {
    font-size: 1.6rem;
    letter-spacing: -.04em;
    font-weight: 700;
    line-height: 1.2;
}

.stat-label {
    font-size: .75rem;
    color: var(--muted);
    margin-top: 4px;
}

.workspace-grid {
    display: grid;
    grid-template-columns: minmax(0,1fr) 340px;
    gap: 24px;
    align-items: start;
}

.collection-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.collection-card {
    display: flex;
    gap: 17px;
    padding: 24px;
    align-items: flex-start;
    transition: border-color .15s,box-shadow .15s;
}

.collection-card:hover {
    border-color: #b1c4d6;
    box-shadow: 0 4px 14px #16324b08;
}

.collection-card-content {
    min-width: 0;
    flex: 1;
}

.collection-title {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 4px;
}

.collection-title a {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--ink);
    overflow-wrap: anywhere;
}

.collection-description {
    font-size: .85rem;
    color: var(--muted);
    margin-top: .7rem;
    overflow-wrap: anywhere;
}

.collection-meta {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 16px;
    font-size: .75rem;
    color: var(--muted);
}

.card-arrow {
    align-self: center;
    color: #718ba0;
}

.reference {
    font-size: .75rem;
    color: var(--muted);
    overflow-wrap: anywhere;
}

.empty-state {
    padding: 50px 26px;
    display: flex;
    align-items: center;
    text-align: center;
    flex-direction: column;
}

.empty-state .soft-icon {
    width: 58px;
    height: 58px;
    margin-bottom: 16px;
}

.empty-state .soft-icon .icon {
    width: 27px;
    height: 27px;
}

.empty-state p {
    font-size: .85rem;
    color: var(--muted);
    max-width: 380px;
    margin-top: 8px;
}

.empty-state .button {
    margin-top: 20px;
}

.login-layout {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 100px;
    max-width: 970px;
    margin: 64px auto 40px;
    align-items: center;
}

.login-intro h1 {
    font-size: clamp(2.2rem,4.6vw,3.3rem);
    margin-bottom: 24px;
}

.login-intro>p {
    color: var(--muted);
    line-height: 1.8;
    max-width: 440px;
}

.intro-detail {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-top: 32px;
    font-size: .85rem;
}

.intro-detail strong,.intro-detail span:not(.soft-icon) {
    display: block;
}

.intro-detail div>span {
    color: var(--muted);
    font-size: .8rem;
    margin-top: 2px;
}

.login-panel {
    padding: 34px;
}

.login-panel h2 {
    font-size: 1.6rem;
}

.login-panel .stack-form {
    margin-top: 25px;
}

.section-gap {
    margin-top: 28px;
}

.detail-grid {
    display: grid;
    grid-template-columns: minmax(0,1fr) 310px;
    gap: 24px;
    align-items: start;
}

.sidebar-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.share-box {
    padding: 22px 24px;
    background: #edf5f7;
    border: 1px solid #cde2e6;
    border-radius: var(--radius);
    margin-bottom: 26px;
}

.share-box h2 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.05rem;
}

.share-box p {
    font-size: .85rem;
    color: #54717d;
    margin: 8px 0 15px;
}

.copy-row {
    display: flex;
    gap: 10px;
}

.copy-row input {
    width: 100%;
    min-width: 0;
    font: inherit;
    font-size: .8rem;
    padding: .7rem .8rem;
    border: 1px solid #bcd3dc;
    border-radius: 8px;
    background: #fff;
    color: #375568;
}

.copy-status {
    font-size: .75rem;
    min-height: 1.2em;
    margin-top: 8px;
    color: var(--teal);
}

.filter-form {
    padding: 18px 24px;
    border-bottom: 1px solid var(--line);
    display: grid;
    grid-template-columns: minmax(130px,1fr) 140px 140px auto;
    gap: 12px;
    align-items: end;
}

.filter-form .field input {
    font-size: .8rem;
    min-height: 39px;
}

.filter-form label {
    font-size: .7rem;
}

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

.file-row {
    padding: 19px 24px;
    display: flex;
    align-items: center;
    gap: 14px;
    border-bottom: 1px solid var(--line);
}

.file-row:last-child {
    border-bottom: 0;
}

.file-row-main {
    min-width: 0;
    flex: 1;
}

.file-name {
    font-weight: 650;
    font-size: .9rem;
    color: var(--ink);
    overflow-wrap: anywhere;
}

.file-meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: .72rem;
    margin-top: 5px;
}

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

.sidebar-list>li {
    padding: 14px 0;
    border-bottom: 1px solid #e8edf1;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    font-size: .8rem;
}

.sidebar-list>li:first-child {
    padding-top: 0;
}

.sidebar-list>li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.sidebar-list strong {
    display: block;
    overflow-wrap: anywhere;
}

.sidebar-list small {
    color: var(--muted);
    display: block;
    font-size: .7rem;
    margin-top: 3px;
}

.sidebar-form {
    border-top: 1px solid var(--line);
    margin-top: 20px;
    padding-top: 20px;
}

.sidebar-form .stack-form {
    gap: 12px;
}

.subtle-label {
    color: var(--muted);
    font-size: .75rem;
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 0;
    font-size: .75rem;
    color: var(--muted);
}

.video-panel {
    overflow: hidden;
}

.video-frame {
    aspect-ratio: 16/9;
    display: grid;
    place-items: center;
    background: #0c2333;
    min-height: 240px;
}

.video-frame video {
    display: block;
    max-width: 100%;
    width: 100%;
    max-height: 70vh;
}

.preview-placeholder {
    color: #b6ccdb;
    text-align: center;
    padding: 30px;
}

.preview-placeholder .icon {
    width: 42px;
    height: 42px;
    margin-bottom: 15px;
}

.preview-placeholder p {
    font-size: .85rem;
    max-width: 380px;
    margin: auto;
}

.preview-caption {
    padding: 14px 22px;
    color: var(--muted);
    font-size: .75rem;
    border-top: 1px solid var(--line);
}

.metadata {
    margin: 0;
}

.metadata>div {
    padding: 13px 0;
    border-bottom: 1px solid #e8edf1;
}

.metadata>div:first-child {
    padding-top: 0;
}

.metadata>div:last-child {
    padding-bottom: 0;
    border: 0;
}

.metadata dt {
    font-size: .7rem;
    color: var(--muted);
    margin-bottom: 3px;
}

.metadata dd {
    margin: 0;
    font-size: .85rem;
    overflow-wrap: anywhere;
}

.notes {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    font-size: .9rem;
    color: #4d6575;
}

.filename-heading {
    overflow-wrap: anywhere;
}

.error-panel {
    max-width: 660px;
    margin: 64px auto;
}

.upload-shell {
    max-width: 850px;
    margin: 8px auto;
}

.upload-heading {
    text-align: center;
    margin-bottom: 30px;
}

.upload-heading .soft-icon {
    margin: 0 auto 18px;
    width: 54px;
    height: 54px;
}

.upload-heading h1 {
    font-size: 2.1rem;
}

.upload-heading p {
    margin: 12px auto 0;
    max-width: 590px;
    color: var(--muted);
    font-size: .9rem;
}

.upload-heading .reference {
    margin-top: 8px;
}

.upload-heading .eyebrow {
    margin-bottom: 9px;
}

.upload-section {
    padding: 26px 30px;
}

.upload-section+.upload-section {
    border-top: 1px solid var(--line);
}

.upload-section-heading {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 20px;
}

.step-number {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #eaf1fa;
    color: var(--blue);
    font-size: .75rem;
    font-weight: 700;
}

.drop-zone {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1.5px dashed #a7c0d2;
    border-radius: 12px;
    padding: 34px 20px;
    background: #f8fbfe;
    cursor: pointer;
    transition: background .15s,border-color .15s;
}

.drop-zone:hover,.drop-zone.is-dragging {
    background: #ecf4ff;
    border-color: var(--blue);
}

.drop-zone:focus-within {
    outline: 3px solid #5c9dff;
    outline-offset: 3px;
}

.drop-zone .icon {
    width: 31px;
    height: 31px;
    color: var(--blue);
    margin-bottom: 12px;
}

.drop-zone strong {
    font-size: .95rem;
}

.drop-zone span {
    font-size: .8rem;
    color: var(--muted);
    margin-top: 6px;
}

.drop-zone .browse-label {
    color: var(--blue);
    font-weight: 650;
}

.drop-zone input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.upload-queue {
    list-style: none;
    margin: 18px 0 0;
    padding: 0;
}

.upload-item {
    border: 1px solid var(--line);
    border-radius: 9px;
    padding: 14px 16px;
    margin-top: 10px;
}

.upload-item-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.upload-item-name {
    font-size: .85rem;
    font-weight: 650;
    overflow-wrap: anywhere;
    display: block;
}

.upload-item-size {
    font-size: .7rem;
    color: var(--muted);
}

.upload-item-status {
    font-size: .75rem;
    color: var(--muted);
    margin-top: 8px;
    overflow-wrap: anywhere;
}

.upload-item-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.upload-item-controls label:focus-within {
    outline: 3px solid #5c9dff;
    outline-offset: 3px;
}

.upload-resume-notice {
    margin: 0 0 20px;
    padding: 14px 18px;
    color: #375f73;
    background: #edf5f8;
    border: 1px solid #d2e4eb;
    border-radius: 10px;
    font-size: .8rem;
}

.drop-zone:has(input:disabled) {
    cursor: default;
    opacity: .65;
}

.upload-item.is-complete {
    border-color: #b9dfd1;
    background: #f7fcfa;
}

.upload-item.is-complete .upload-item-status {
    color: #26755c;
}

.upload-item.is-failed {
    border-color: #edc5c5;
    background: #fffafa;
}

.upload-item.is-failed .upload-item-status {
    color: #a03838;
}

.upload-item progress {
    display: block;
    width: 100%;
    height: 5px;
    margin-top: 9px;
    border: 0;
    border-radius: 5px;
    overflow: hidden;
    background: #e4ebf1;
    accent-color: var(--blue);
}

.upload-item progress::-webkit-progress-bar {
    background: #e4ebf1;
    border-radius: 5px;
}

.upload-item progress::-webkit-progress-value {
    background: var(--blue);
    border-radius: 5px;
}

.upload-item progress::-moz-progress-bar {
    background: var(--blue);
    border-radius: 5px;
}

.upload-item.is-complete progress {
    accent-color: var(--teal);
}

.upload-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.upload-footer p {
    font-size: .75rem;
    color: var(--muted);
    max-width: 410px;
}

.upload-summary {
    font-size: .85rem;
    font-weight: 600;
    color: var(--teal);
    margin-top: 16px;
}

.upload-privacy {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: .75rem;
    color: var(--muted);
    margin: 20px 0;
}

.no-script {
    padding: 15px;
    background: #fff0ed;
    color: #9d3933;
    font-size: .85rem;
    margin-bottom: 20px;
}

details>summary {
    cursor: pointer;
    font-size: .85rem;
    font-weight: 650;
}

details[open]>summary {
    margin-bottom: 18px;
}

.danger-zone {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

[hidden] {
    display: none!important;
}

@media(min-width:1200px) {
    .sidebar-sticky {
        position: sticky;
        top: 24px;
    }
}

@media(max-width:1050px) {
    .workspace-grid {
        grid-template-columns: minmax(0,1fr) 300px;
    }
    .detail-grid {
        grid-template-columns: minmax(0,1fr) 280px;
    }
    .filter-form {
        grid-template-columns: 1fr 1fr;
    }
    .filter-search {
        grid-column: 1/-1;
    }
    .login-layout {
        gap: 50px;
    }
    .user-name {
        display: none;
    }
}

@media(max-width:800px) {
    .header-inner {
        padding: 0 24px;
    }
    .page-shell {
        padding: 32px 24px 50px;
    }
    .site-footer {
        padding: 20px 24px;
    }
    .workspace-grid,.detail-grid {
        grid-template-columns: 1fr;
    }
    .workspace-grid>aside {
        order: 2;
    }
    .sidebar-stack {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    .stats-row {
        gap: 10px;
    }
    .stat {
        padding: 15px;
    }
    .stat .soft-icon {
        display: none;
    }
    .login-layout {
        gap: 32px;
        margin: 30px auto;
        grid-template-columns: 1fr;
        max-width: 460px;
    }
    .login-intro h1 {
        font-size: 2.6rem;
    }
    .login-intro .intro-detail {
        display: none;
    }
    .login-intro>p {
        font-size: .9rem;
    }
    .login-panel {
        padding: 28px;
    }
    .page-heading {
        align-items: flex-start;
    }
    .upload-heading h1 {
        font-size: 1.9rem;
    }
}

@media(max-width:560px) {
    .header-inner {
        min-height: 70px;
        padding: 0 18px;
        gap: 15px;
    }
    .site-header {
        min-height: 70px;
    }
    .brand {
        font-size: 1rem;
        gap: 9px;
    }
    .brand-mark {
        width: 31px;
        height: 31px;
    }
    .brand-mark .icon {
        width: 20px;
    }
    .header-nav {
        gap: 12px;
        font-size: .75rem;
    }
    .header-caption {
        display: none;
    }
    .header-button {
        padding: .3rem .5rem;
        font-size: .7rem;
    }
    .page-shell {
        padding: 26px 18px 40px;
    }
    .page-heading {
        flex-direction: column;
        gap: 18px;
        margin-bottom: 23px;
    }
    .page-heading h1 {
        font-size: 1.9rem;
    }
    .site-footer {
        padding: 18px;
        flex-direction: column;
        gap: 4px;
    }
    .stats-row {
        grid-template-columns: repeat(3,1fr);
        gap: 8px;
    }
    .stat {
        padding: 13px 10px;
    }
    .stat-value {
        font-size: 1.3rem;
    }
    .stat-label {
        font-size: .65rem;
    }
    .collection-card {
        padding: 19px 17px;
        gap: 12px;
    }
    .collection-card>.soft-icon {
        width: 35px;
        height: 35px;
    }
    .card-arrow {
        display: none;
    }
    .collection-title a {
        font-size: 1rem;
    }
    .collection-meta {
        gap: 12px;
    }
    .panel-heading {
        padding: 18px;
    }
    .panel-body {
        padding: 20px;
    }
    .sidebar-stack {
        display: flex;
    }
    .share-box {
        padding: 20px 18px;
    }
    .copy-row {
        flex-wrap: wrap;
    }
    .copy-row .button {
        width: 100%;
    }
    .filter-form {
        padding: 16px 18px;
        gap: 10px;
    }
    .file-row {
        padding: 17px 18px;
        align-items: flex-start;
        gap: 11px;
    }
    .file-row>.soft-icon {
        width: 32px;
        height: 32px;
    }
    .file-row .button {
        min-height: 32px;
        padding: .35rem .5rem;
    }
    .file-row .button span {
        display: none;
    }
    .file-row .button .icon {
        width: 17px;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .upload-section {
        padding: 22px 20px;
    }
    .upload-footer {
        align-items: stretch;
        flex-direction: column;
    }
    .upload-footer .actions {
        display: flex;
        flex-direction: column;
    }
    .upload-footer .button {
        width: 100%;
    }
    .drop-zone {
        padding: 26px 15px;
    }
    .login-intro h1 {
        font-size: 2.2rem;
    }
    .login-panel {
        padding: 25px;
    }
    .login-layout {
        margin: 15px auto;
    }
    .pagination .button {
        padding: .45rem .7rem;
    }
    .video-frame {
        min-height: 190px;
    }
    .notice {
        padding: 14px 16px;
    }
    .upload-item {
        padding: 12px;
    }
    .upload-item-heading {
        gap: 10px;
    }
}

@media(prefers-reduced-motion:reduce) {
    *,*::before,*::after {
        scroll-behavior: auto!important;
        transition: none!important;
    }
}
