:root {
  color-scheme: light;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  color: #253246;
  background: #fffdf8;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  --ink: #253246;
  --muted: #818a97;
  --line: #e9e7df;
  --paper: #fffdf8;
  --blue: #1289d0;
  --blue-deep: #1169a5;
  --amber: #ee9b20;
  --mint: #2e9786;
  --red: #c94c48;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body { min-width: 320px; min-height: 100vh; margin: 0; display: flex; flex-direction: column; background: var(--paper); }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
[hidden] { display: none !important; }

.site-header, main, .site-footer { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.site-header { min-height: 98px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand-group, .header-actions { display: flex; align-items: center; }
.brand-group { gap: 13px; }
.brand-logo { display: grid; place-items: center; width: 62px; height: 62px; padding: 0; border: 0; border-radius: 50%; background: transparent; cursor: grab; touch-action: none; user-select: none; transition: transform .25s var(--ease), filter .25s var(--ease); }
.brand-logo img { width: 60px; height: 60px; object-fit: contain; user-select: none; pointer-events: none; }
.brand-logo:hover { transform: rotate(-5deg) scale(1.04); }
.brand-logo.is-dragging { cursor: grabbing; transform: scale(.84) rotate(-10deg); filter: saturate(1.18); }
.brand-name { font-size: 19px; font-weight: 750; line-height: 1.2; }
.brand-divider { width: 1px; height: 18px; margin-inline: 3px; background: #d9d5ca; }
.brand-domain { color: var(--muted); font-size: 13px; }
.header-actions { gap: 11px; }
.main-site-link, .login-open, .admin-identity { min-height: 40px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 6px; font-size: 13px; font-weight: 650; }
.main-site-link { padding: 0 11px; color: #596474; transition: background .2s ease, color .2s ease; }
.main-site-link svg, .login-open svg { width: 17px; height: 17px; }
.main-site-link:hover { color: var(--blue-deep); background: #eaf4fa; }
.login-open { padding: 0 14px; border: 1px solid #d9e1e5; background: #fff; cursor: pointer; transition: border-color .2s ease, color .2s ease, transform .2s var(--ease); }
.login-open:hover { border-color: #92c5de; color: var(--blue-deep); transform: translateY(-1px); }
.admin-identity { gap: 10px; color: #586475; }
.admin-identity > span { max-width: 92px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-identity button { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 6px; background: #fff; cursor: pointer; }
.admin-identity button:hover { color: var(--red); border-color: #ecc9c6; }
.admin-identity button svg { width: 16px; height: 16px; }
#accounts-open { padding: 0 10px; min-height: 34px; border: 1px solid #efd7aa; border-radius: 6px; background: #fff8e9; color: #875d1a; font-size: 12px; font-weight: 700; cursor: pointer; }
#accounts-open:hover { background: #fff0d1; }
.admin-identity #accounts-open { width: auto; min-width: 70px; max-width: none; padding-inline: 9px; flex: 0 0 auto; white-space: nowrap; }

main { flex: 1; }
.hero { min-height: 206px; display: flex; align-items: center; justify-content: space-between; padding: 34px 0 24px; }
.hero-copy h1 { margin: 0; color: #1e2f43; font-size: 43px; font-weight: 760; line-height: 1.2; }
.hero-copy p { margin: 13px 0 0; color: #737d89; font-size: 15px; line-height: 1.65; }
.primary-action { min-width: 148px; min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 0 18px; border: 0; border-radius: 6px; background: #1689cd; color: #fff; font-size: 14px; font-weight: 700; box-shadow: 0 5px 13px #1689cd24; cursor: pointer; transition: background .2s ease, transform .2s var(--ease), box-shadow .2s ease; }
.primary-action:hover { background: #0879bb; transform: translateY(-2px); box-shadow: 0 8px 16px #1689cd30; }
.primary-action svg { width: 18px; height: 18px; stroke-width: 2.2; }

.home-resources { min-height: 52px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.resource-caption { color: #7c8591; font-size: 12px; }
.resource-actions { height: 52px; display: flex; align-items: center; gap: 18px; }
.resource-button { height: 100%; display: inline-flex; align-items: center; gap: 8px; padding: 0; border: 0; background: transparent; color: #596779; font-size: 13px; cursor: pointer; transition: color .2s ease; }
.resource-button:hover { color: var(--blue-deep); }
.resource-button svg { width: 17px; height: 17px; }
.resource-separator { width: 1px; height: 16px; background: var(--line); }

.browse-section { padding: 39px 0 40px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 22px; }
.section-heading h2 { margin: 0; font-size: 23px; font-weight: 740; line-height: 1.3; }
.section-heading p { margin: 7px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.section-heading .result-count { margin: 0 1px 3px 0; font-size: 12px; white-space: nowrap; }
.filters { border-block: 1px solid var(--line); }
.filter-row { min-height: 62px; display: flex; align-items: center; gap: 16px; }
.class-filter-row { border-bottom: 1px solid #efede7; }
.filter-label { flex: 0 0 67px; color: #646f7c; font-size: 12px; font-weight: 700; }
.class-switch { flex: 1; display: grid; grid-template-columns: repeat(8, minmax(42px, 1fr)); gap: 5px; }
.class-switch button { min-width: 0; min-height: 32px; display: inline-flex; align-items: center; justify-content: center; padding: 0 5px; border: 1px solid transparent; border-radius: 5px; background: transparent; color: #5c6570; font-size: 12px; cursor: pointer; transition: background .18s ease, color .18s ease, border-color .18s ease; }
.class-switch button:hover { background: #f2f5f3; color: #335b58; }
.class-switch button.active { border-color: #cce5df; background: #eaf5f1; color: #287668; font-weight: 750; }
.query-row { min-height: 72px; gap: 17px; }
.date-filter, .query-filter { min-width: 0; display: flex; align-items: center; gap: 9px; }
.date-filter { flex: 1.55 1 0; }
.query-filter { flex: 1 1 0; }
.date-range { display: flex; min-width: 0; align-items: center; gap: 8px; }
.date-range > span { color: #a0a4a6; font-size: 11px; }
.date-range input { min-width: 0; width: 126px; min-height: 37px; padding: 0 8px; border: 1px solid #e4e2dc; border-radius: 5px; background: #fff; color: #455368; font-size: 11px; color-scheme: light; }
.date-range input:focus, .input-shell:focus-within { outline: 2px solid #acd7e9; outline-offset: 1px; border-color: transparent; }
.input-shell { min-width: 0; flex: 1; min-height: 37px; display: flex; align-items: center; gap: 7px; padding: 0 9px; border: 1px solid #e4e2dc; border-radius: 5px; background: #fff; transition: outline .15s ease; }
.input-shell svg { width: 15px; height: 15px; color: #939ba4; }
.input-shell input { width: 100%; min-width: 0; height: 33px; padding: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 12px; }
.input-shell input::placeholder { color: #a3a9ae; }
.clear-filters { width: 35px; height: 35px; flex: 0 0 35px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 5px; background: #fff; color: #7c8590; cursor: pointer; transition: color .15s ease, border-color .15s ease; }
.clear-filters:hover { border-color: #ddc994; color: #9d721f; }
.clear-filters svg { width: 16px; height: 16px; }
.list-head { min-height: 47px; display: grid; grid-template-columns: minmax(130px, 1.12fr) minmax(76px, .55fr) minmax(220px, 2fr) minmax(122px, .88fr) 19px; align-items: center; gap: 12px; padding: 0 17px; color: #8a919a; font-size: 11px; font-weight: 700; }
.post-row { width: 100%; min-height: 68px; display: grid; grid-template-columns: minmax(130px, 1.12fr) minmax(76px, .55fr) minmax(220px, 2fr) minmax(122px, .88fr) 19px; align-items: center; gap: 12px; padding: 0 17px; border: 0; border-top: 1px solid #efede7; background: transparent; text-align: left; cursor: pointer; transition: background .2s ease, transform .2s var(--ease); animation: row-enter .32s var(--ease) both; }
.post-row:hover { background: #f4f8f5; }
.post-row:active { transform: scale(.997); }
.post-name { min-width: 0; overflow: hidden; color: #26374d; font-size: 14px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.post-class { width: fit-content; padding: 5px 8px; border-radius: 4px; color: var(--class-ink); background: var(--class-bg); font-size: 11px; font-weight: 700; white-space: nowrap; }
.post-award { min-width: 0; overflow: hidden; color: #596575; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.post-date { color: #7b8590; font-size: 12px; white-space: nowrap; }
.post-arrow { width: 16px; height: 16px; color: #a4abb0; transition: transform .2s var(--ease), color .2s ease; }
.post-row:hover .post-arrow { color: var(--blue); transform: translateX(3px); }
.post-row[data-band="1"] { --class-bg: #eaf3fb; --class-ink: #2e73a0; }
.post-row[data-band="2"] { --class-bg: #fdf0dd; --class-ink: #9a6c28; }
.post-row[data-band="3"] { --class-bg: #e7f4ef; --class-ink: #347a66; }
.post-row[data-band="4"] { --class-bg: #f4ebfa; --class-ink: #79518d; }
.post-row[data-band="5"] { --class-bg: #fbeaea; --class-ink: #a7534d; }
.empty-state { min-height: 265px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px 16px 30px; text-align: center; }
.empty-symbol { width: 59px; height: 59px; display: grid; place-items: center; border: 1px solid #eee7d7; border-radius: 50%; background: #fff8e9; color: #da9c39; transform: rotate(-7deg); }
.empty-symbol svg { width: 31px; height: 31px; stroke-width: 1.55; }
.empty-state h3 { margin: 16px 0 0; color: #384558; font-size: 16px; font-weight: 720; }
.empty-state p { margin: 8px 0 0; color: #8b929c; font-size: 12px; line-height: 1.6; }
.empty-state button { min-height: 36px; display: inline-flex; align-items: center; gap: 7px; margin-top: 17px; padding: 0 10px; border: 0; border-radius: 5px; background: transparent; color: #267aa9; font-size: 12px; font-weight: 700; cursor: pointer; }
.empty-state button:hover { background: #edf5f8; }
.empty-state button svg { width: 15px; height: 15px; }
.site-footer { min-height: 73px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-top: 1px solid var(--line); color: #89909a; font-size: 11px; }
.footer-brand { color: #596577; font-weight: 700; }
.footer-brand span { padding: 0 4px; color: #c3bfb5; font-weight: 400; }
.site-footer > a { display: inline-flex; align-items: center; gap: 5px; transition: color .15s ease; }
.site-footer > a:hover { color: var(--blue-deep); }
.site-footer > a svg { width: 13px; height: 13px; }

.drag-target { position: fixed; z-index: 10; top: 24px; right: max(24px, calc((100vw - 1120px) / 2)); min-width: 132px; min-height: 100px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border: 1px dashed #d59425; border-radius: 7px; background: #fff9e9f2; color: #94681d; box-shadow: 0 7px 24px #593e1418; font-size: 12px; font-weight: 700; pointer-events: none; animation: target-enter .2s var(--ease) both; }
.drag-target svg { width: 22px; height: 22px; }
.drag-target.is-over { border-style: solid; background: #fff0cd; transform: scale(1.04); }

.modal { width: min(100% - 28px, 500px); max-height: min(92dvh, 850px); padding: 0; overflow: auto; border: 1px solid #e9e4d9; border-radius: 8px; background: #fffefa; color: var(--ink); box-shadow: 0 22px 70px #1d2a3b32; }
.modal::backdrop { background: #18283a70; backdrop-filter: blur(3px); }
.modal[open] { animation: modal-enter .25s var(--ease) both; }
.modal-panel { position: relative; padding: 32px 34px 30px; }
.compact-panel { padding-top: 36px; }
.modal-close { position: absolute; top: 18px; right: 18px; width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid transparent; border-radius: 5px; background: transparent; color: #8b929a; cursor: pointer; transition: color .15s ease, background .15s ease; }
.modal-close:hover { background: #f0eee8; color: #39485b; }
.modal-close svg { width: 17px; height: 17px; }
.modal-kicker { display: block; color: #a58243; font-size: 10px; font-weight: 750; letter-spacing: 1.2px; }
.modal-panel h2 { margin: 8px 0 0; color: #223349; font-size: 24px; font-weight: 750; line-height: 1.3; }
.modal-intro { margin: 9px 0 24px; color: #838b95; font-size: 13px; line-height: 1.65; }
.field { min-width: 0; display: flex; flex-direction: column; gap: 8px; color: #4b5868; font-size: 12px; font-weight: 700; }
.field > input, .field > select { width: 100%; min-height: 42px; padding: 0 11px; border: 1px solid #e2e0d9; border-radius: 5px; outline: 0; background: #fff; color: #344256; font-size: 13px; font-weight: 400; transition: border-color .15s ease, box-shadow .15s ease; }
.field > input::placeholder { color: #adb2b5; }
.field > input:focus, .field > select:focus { border-color: #74b7d5; box-shadow: 0 0 0 3px #75bfd31a; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px 14px; }
.field-wide { grid-column: 1 / -1; }
.field input[type="date"] { color-scheme: light; }
.upload-zone { min-height: 92px; display: flex; align-items: center; gap: 13px; padding: 12px; border: 1px dashed #d9d8d1; border-radius: 6px; background: #fff; cursor: pointer; transition: border-color .15s ease, background .15s ease; }
.upload-zone:hover, .upload-zone:focus-within { border-color: #75b6ce; background: #f4fbfd; }
.upload-zone input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.upload-icon { width: 39px; height: 39px; display: grid; flex: 0 0 39px; place-items: center; border-radius: 5px; background: #e9f4f8; color: #488ca5; }
.upload-icon svg { width: 19px; height: 19px; }
.upload-copy { min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.upload-copy strong { overflow: hidden; color: #4b5c6b; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.upload-copy small { color: #969da4; font-size: 10px; font-weight: 400; line-height: 1.45; }
#form-preview { width: 55px; height: 55px; margin-left: auto; object-fit: cover; border-radius: 4px; }
.modal-submit { width: 100%; min-height: 45px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin-top: 21px; padding: 0 13px; border: 0; border-radius: 5px; background: #1689cd; color: #fff; font-size: 13px; font-weight: 700; cursor: pointer; transition: background .15s ease, transform .15s ease; }
.modal-submit:hover { background: #0879bb; }
.modal-submit:disabled { cursor: wait; opacity: .68; }
.modal-submit svg { width: 16px; height: 16px; }
.form-error { margin: 12px 0 0; color: #bc4b46; font-size: 12px; line-height: 1.55; }
.detail-modal { width: min(100% - 28px, 640px); }
.detail-panel { padding-bottom: 27px; }
.detail-body { margin-top: 23px; }
.detail-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; padding: 19px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.detail-item { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.detail-item > span { color: #8c939c; font-size: 11px; }
.detail-item > strong { overflow-wrap: anywhere; color: #34445a; font-size: 13px; font-weight: 700; line-height: 1.5; }
.proof-heading { margin: 19px 0 10px; color: #687483; font-size: 12px; font-weight: 700; }
.proof-image { width: 100%; max-height: 57vh; display: block; object-fit: contain; border: 1px solid #eeece6; border-radius: 5px; background: #f7f6f2; }
.detail-actions, .confirm-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 20px; }
.secondary-action, .delete-action { min-height: 38px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 0 12px; border: 1px solid #e2e0d9; border-radius: 5px; background: #fff; font-size: 12px; font-weight: 650; cursor: pointer; transition: border-color .15s ease, background .15s ease, color .15s ease; }
.secondary-action svg, .delete-action svg { width: 15px; height: 15px; }
.secondary-action:hover { border-color: #b6d9e5; background: #f3fafc; color: #226f98; }
.delete-action { border-color: #e9c9c6; color: #b64b45; }
.delete-action:hover { border-color: #dba19d; background: #fff4f2; }
.accounts-panel { padding-bottom: 26px; }
.account-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.account-form .modal-submit, .account-form .form-error { grid-column: 1 / -1; margin-top: 2px; }
.account-form .modal-submit { min-height: 41px; }
.account-list { max-height: 240px; overflow: auto; margin-top: 18px; border-top: 1px solid var(--line); }
.account-row { min-height: 51px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid #efede7; }
.account-row > span { overflow: hidden; color: #445268; font-size: 13px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.account-row button { width: 31px; height: 31px; display: grid; flex: 0 0 31px; place-items: center; border: 0; border-radius: 4px; background: transparent; color: #a65a54; cursor: pointer; }
.account-row button:hover { background: #fff0ee; }
.account-row button svg { width: 16px; height: 16px; }
.account-empty { padding: 18px 0; color: #9299a0; font-size: 12px; }
.info-modal { width: min(100% - 28px, 560px); }
.info-panel { padding-bottom: 26px; }
.info-content { max-height: 61vh; overflow-y: auto; margin-top: 24px; border-top: 1px solid var(--line); }
.info-content h3 { display: flex; align-items: center; gap: 10px; margin: 22px 0 8px; color: #334359; font-size: 14px; font-weight: 740; }
.info-content h3 span { color: #bf8e35; font-size: 11px; font-weight: 750; }
.info-content p { margin: 0 0 17px 30px; color: #737d8a; font-size: 12px; line-height: 1.85; }
.changelog-content article { padding: 20px 0 4px; }
.changelog-content time { color: #b17c22; font-size: 11px; font-weight: 750; }
.changelog-content article h3 { margin-top: 9px; font-size: 17px; }
.changelog-content ul { margin: 11px 0 14px; padding-left: 20px; color: #737d8a; font-size: 12px; line-height: 1.9; }
.toast { position: fixed; z-index: 20; left: 50%; bottom: 26px; max-width: calc(100% - 32px); padding: 11px 17px; border: 1px solid #dce6e2; border-radius: 6px; background: #fffefa; color: #415b50; font-size: 13px; text-align: center; box-shadow: 0 8px 30px #283b301b; transform: translateX(-50%); animation: toast-enter .25s var(--ease) both; }

@keyframes row-enter { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
@keyframes target-enter { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }
@keyframes modal-enter { from { opacity: .6; transform: translateY(8px) scale(.99); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes toast-enter { from { opacity: 0; margin-bottom: -5px; } to { opacity: 1; margin-bottom: 0; } }

@media (max-width: 860px) {
  .site-header, main, .site-footer { width: min(100% - 44px, 720px); }
  .query-row { flex-wrap: wrap; padding-block: 12px; gap: 10px 14px; }
  .date-filter { flex-basis: calc(60% - 7px); }
  .query-filter { flex-basis: calc(40% - 7px); }
  .date-range input { width: min(130px, 17vw); }
  .query-row .filter-label { flex-basis: 58px; }
  .clear-filters { margin-left: auto; }
}
@media (max-width: 600px) {
  .site-header, main, .site-footer { width: calc(100% - 32px); }
  .site-header { min-height: 78px; }
  .brand-group { gap: 8px; }
  .brand-logo, .brand-logo img { width: 49px; height: 49px; }
  .brand-name { font-size: 16px; }
  .brand-divider { height: 15px; margin-inline: 1px; }
  .brand-domain { font-size: 11px; }
  .header-actions { gap: 4px; }
  .main-site-link, .login-open { min-height: 36px; gap: 5px; padding-inline: 8px; font-size: 11px; }
  .main-site-link svg, .login-open svg { width: 15px; height: 15px; }
  .admin-identity { gap: 5px; font-size: 11px; }
  .admin-identity > span { max-width: 54px; }
  .admin-identity button { width: 32px; height: 32px; }
  .admin-identity #accounts-open { min-width: 62px; max-width: 70px; min-height: 31px; padding-inline: 6px; font-size: 10px; }
  .hero { min-height: 164px; padding: 28px 0 23px; }
  .hero-copy h1 { font-size: 32px; }
  .hero-copy p { max-width: 240px; margin-top: 9px; font-size: 12px; }
  .primary-action { min-width: 116px; min-height: 41px; gap: 6px; padding-inline: 10px; font-size: 12px; }
  .primary-action svg { width: 16px; height: 16px; }
  .home-resources { min-height: 48px; }
  .resource-caption { font-size: 10px; }
  .resource-actions { height: 48px; gap: 12px; }
  .resource-button { gap: 5px; font-size: 11px; }
  .resource-button svg { width: 15px; height: 15px; }
  .browse-section { padding-top: 29px; }
  .section-heading { align-items: center; margin-bottom: 15px; }
  .section-heading h2 { font-size: 19px; }
  .section-heading p { max-width: 230px; font-size: 11px; }
  .section-heading .result-count { font-size: 10px; }
  .filter-row { gap: 8px; }
  .class-filter-row { align-items: flex-start; padding: 12px 0; }
  .class-filter-row > .filter-label { padding-top: 8px; }
  .filter-label { flex-basis: 48px; font-size: 11px; }
  .class-switch { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
  .class-switch button { min-height: 31px; padding-inline: 2px; font-size: 10px; }
  .query-row { min-height: 0; align-items: stretch; padding: 12px 0; gap: 10px 6px; }
  .date-filter { flex: 0 0 100%; justify-content: flex-start; }
  .date-filter .filter-label { flex-basis: 48px; }
  .date-range { flex: 1; }
  .date-range input { width: 0; flex: 1; min-height: 35px; padding-inline: 5px; font-size: 10px; }
  .query-filter { flex: 1 1 calc(50% - 35px); flex-direction: column; align-items: stretch; gap: 4px; }
  .query-row .filter-label { flex-basis: auto; }
  .input-shell { min-height: 35px; gap: 5px; padding-inline: 6px; }
  .input-shell input { height: 31px; font-size: 11px; }
  .clear-filters { align-self: end; width: 33px; height: 35px; flex-basis: 33px; margin-left: 0; }
  .list-head { min-height: 39px; grid-template-columns: minmax(62px, .75fr) 47px minmax(0, 1.5fr) 81px 12px; gap: 7px; padding-inline: 7px; font-size: 9px; }
  .post-row { min-height: 59px; grid-template-columns: minmax(62px, .75fr) 47px minmax(0, 1.5fr) 81px 12px; gap: 7px; padding-inline: 7px; }
  .post-name { font-size: 11px; }
  .post-class { padding: 4px 5px; font-size: 9px; }
  .post-award { font-size: 10px; }
  .post-date { font-size: 9px; }
  .post-arrow { width: 13px; height: 13px; }
  .empty-state { min-height: 235px; }
  .site-footer { min-height: 67px; gap: 8px; font-size: 9px; }
  .footer-brand span { padding: 0 2px; }
  .site-footer > a { gap: 2px; }
  .site-footer > a svg { width: 11px; height: 11px; }
  .drag-target { top: 13px; right: 12px; min-width: 94px; min-height: 77px; gap: 3px; font-size: 10px; }
  .drag-target svg { width: 18px; height: 18px; }
  .modal-panel { padding: 28px 21px 22px; }
  .modal-close { top: 12px; right: 12px; }
  .modal-kicker { font-size: 9px; }
  .modal-panel h2 { font-size: 21px; }
  .modal-intro { font-size: 12px; }
  .field { font-size: 11px; }
  .field > input, .field > select { min-height: 40px; font-size: 12px; }
  .form-grid { gap: 14px 9px; }
  .upload-zone { min-height: 80px; gap: 9px; padding: 9px; }
  .upload-icon { width: 34px; height: 34px; flex-basis: 34px; }
  .upload-copy strong { font-size: 11px; }
  .upload-copy small { font-size: 9px; }
  #form-preview { width: 46px; height: 46px; }
  .detail-meta { gap: 12px; }
  .proof-image { max-height: 52vh; }
  .info-content p { margin-left: 27px; }
}
@media (max-width: 365px) {
  .site-header, main, .site-footer { width: calc(100% - 24px); }
  .brand-group { gap: 6px; }
  .brand-logo, .brand-logo img { width: 42px; height: 42px; }
  .brand-name { font-size: 14px; }
  .brand-divider, .brand-domain { display: none; }
  .main-site-link, .login-open { padding-inline: 6px; font-size: 10px; }
  .main-site-link svg, .login-open svg { width: 13px; height: 13px; }
  .hero-copy h1 { font-size: 29px; }
  .primary-action { min-width: 103px; font-size: 11px; }
  .post-row, .list-head { grid-template-columns: minmax(56px, .72fr) 42px minmax(0, 1.5fr) 73px 11px; gap: 5px; padding-inline: 4px; }
  .post-name { font-size: 10px; }
  .post-award { font-size: 9px; }
  .post-date { font-size: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
