:root {
  --ink: #172d34;
  --deep: #113037;
  --navy: #183940;
  --teal: #327c76;
  --teal-dark: #25645f;
  --teal-soft: #e4f1ed;
  --gold: #c99b5b;
  --paper: #f5f4ef;
  --surface: #fffefa;
  --line: #dfe5e0;
  --muted: #75858a;
  --soft: #edf0eb;
  --warning: #a76a26;
  --warning-bg: #faf0df;
  --danger: #a54f4f;
  --danger-bg: #fbebeb;
  --shadow: 0 16px 42px rgba(25, 46, 45, .055);
  --radius: 12px;
}

* { box-sizing: border-box; }
html { background: var(--paper); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 15px/1.55 -apple-system, BlinkMacSystemFont, "PingFang SC", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button, .primary-button, .outline-button, .table-action-button { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid rgba(50, 124, 118, .3);
  outline-offset: 2px;
}
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: "Songti SC", "STSong", Georgia, serif; font-weight: 700; }
h1 { font-size: clamp(28px, 3vw, 36px); letter-spacing: .015em; line-height: 1.24; margin: 10px 0 11px; }
h2 { font-size: 21px; line-height: 1.3; letter-spacing: .015em; }

.shell { min-height: 100vh; display: grid; grid-template-columns: 248px minmax(0, 1fr); }
.sidebar {
  background: var(--deep);
  color: #e6eeeb;
  padding: 32px 20px 25px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.sidebar::after {
  content: "";
  position: absolute;
  width: 290px;
  height: 290px;
  border: 1px solid rgba(224, 234, 219, .07);
  border-radius: 50%;
  bottom: -153px;
  left: -115px;
  box-shadow: 0 0 0 49px rgba(224,234,219,.025), 0 0 0 100px rgba(224,234,219,.019);
  pointer-events: none;
}
.brand { display: flex; align-items: center; gap: 12px; padding: 2px 10px 43px; position: relative; z-index: 1; }
.brand-mark {
  width: 37px;
  height: 37px;
  border: 1px solid rgba(230,240,232,.55);
  border-radius: 10px;
  display: grid;
  place-items: center;
  position: relative;
  flex: none;
}
.brand-mark span { width: 17px; height: 18px; border-left: 2px solid #e7bf88; border-right: 2px solid #e7bf88; border-bottom: 2px solid #e7bf88; transform: skewY(-9deg); }
.brand-mark span::after { content: ""; display: block; height: 16px; border-left: 1px solid #e7bf88; margin-left: 7px; margin-top: -9px; }
.brand-title { font-family: "Songti SC", "STSong", Georgia, serif; font-weight: 700; font-size: 18px; line-height: 1.1; letter-spacing: .04em; }
.brand-sub { font-size: 8px; letter-spacing: .25em; color: #9cb6b6; margin-top: 6px; }
.nav-group { position: relative; z-index: 1; }
.nav-label { color: #78969a; font-size: 10px; font-weight: 700; letter-spacing: .2em; padding: 0 13px; margin: 2px 0 13px; }
.nav-link { display: flex; align-items: center; gap: 13px; padding: 12px 14px; border-radius: 9px; margin: 3px 0; font-size: 13px; font-weight: 600; color: #b8c9c6; transition: background .15s ease, color .15s ease; }
.nav-link:hover { background: rgba(242,250,242,.08); color: #f5fbf6; }
.nav-link .nav-icon { display: grid; place-items: center; width: 18px; height: 18px; color: #a9bfbc; font-size: 17px; font-weight: 400; }
.nav-link.active { color: #fff; background: rgba(242,250,242,.12); box-shadow: inset 3px 0 0 #d5aa6d; }
.nav-link.active .nav-icon { color: #e5c18e; }
.sidebar-spacer { flex: 1; min-height: 30px; }
.help-block { position: relative; z-index: 1; padding: 17px 14px; border: 1px solid rgba(232,242,236,.15); border-radius: 10px; color: #adc3c0; font-size: 11px; line-height: 1.75; }
.help-block strong { display: block; color: #f5f6ef; font-size: 12px; margin-bottom: 4px; }
.sidebar-user { position: relative; z-index: 1; display: flex; align-items: center; gap: 10px; padding: 20px 5px 0; font-size: 12px; min-width: 0; }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: #d8bea0; color: var(--deep); display: grid; place-items: center; font-weight: 700; flex: none; }
.sidebar-user-copy { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-user small { display: block; color: #88a6a5; font-size: 10px; margin-top: 1px; overflow: hidden; text-overflow: ellipsis; }

.canvas { min-width: 0; min-height: 100vh; background: radial-gradient(circle at 90% 3%, #e9efea 0, transparent 27%), var(--paper); }
.topbar { height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 48px; border-bottom: 1px solid #e1e6df; background: rgba(255,255,250,.84); }
.breadcrumb { min-width: 0; font-size: 12px; color: #7a888c; display: flex; align-items: center; gap: 10px; }
.crumb-parent:hover { color: var(--teal); }
.crumb-current { color: var(--ink); font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.top-actions { display: flex; align-items: center; gap: 13px; font-size: 11px; color: #6f8182; flex: none; }
.role-badge { border: 1px solid #d7e2dd; background: #edf4ef; color: #37746b; padding: 5px 10px; border-radius: 100px; font-weight: 700; letter-spacing: .05em; white-space: nowrap; }
.top-user { max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.logout-form { margin: 0; }
.link-button { border: 0; padding: 4px 0; color: #697c7e; background: transparent; font-size: 11px; }
.link-button:hover { color: var(--teal-dark); text-decoration: underline; }

.page { max-width: 1510px; margin: auto; padding: 42px 48px 54px; }
.page-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 30px; }
.admin-head { align-items: center; }
.admin-head h1 { margin-bottom: 10px; }
.eyebrow { color: var(--teal); font-size: 11px; letter-spacing: .18em; font-weight: 800; }
.page-lead { color: #738387; font-size: 13px; margin: 0; }
.deadline-chip { display: flex; align-items: center; gap: 10px; color: #3d6565; border: 1px solid #d8e6dd; background: #f7fbf7; border-radius: 8px; padding: 11px 14px; font-size: 11px; white-space: nowrap; }
.deadline-chip.closed { color: var(--warning); background: var(--warning-bg); border-color: #ecd9b8; }
.clock { border: 1.8px solid currentColor; width: 15px; height: 15px; border-radius: 50%; position: relative; flex: none; }
.clock::after { content: ""; position: absolute; height: 5px; width: 4px; border-left: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; top: 3px; left: 6px; }
.deadline-chip strong { font-size: 12px; margin-left: 3px; }

.card { background: var(--surface); border: 1px solid #e4e9e4; border-radius: var(--radius); box-shadow: var(--shadow); }
.allocation { background: linear-gradient(115deg, #173d43, #234c4f); border-radius: 14px; color: #f9faf4; padding: 27px 31px; display: grid; grid-template-columns: minmax(0,1.8fr) 1fr 1fr; align-items: center; min-height: 175px; position: relative; overflow: hidden; box-shadow: 0 18px 38px rgba(20,54,56,.12); }
.allocation::before { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; border: 1px solid rgba(232,242,228,.12); right: -76px; top: -140px; box-shadow: 0 0 0 50px rgba(255,255,255,.025), 0 0 0 105px rgba(255,255,255,.018); }
.allocation::after { content: ""; position: absolute; width: 66px; height: 80px; border-left: 2px solid rgba(220,184,128,.35); border-right: 2px solid rgba(220,184,128,.35); right: 29px; bottom: -30px; transform: skewY(-12deg); }
.allocation > * { position: relative; z-index: 1; min-width: 0; }
.allocation-title { color: #aac9c4; font-size: 10px; letter-spacing: .18em; font-weight: 700; }
.allocation h2 { color: #fff; font-size: 27px; margin: 7px 0 9px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.allocation p { color: #bdcfcb; margin: 0; font-size: 11px; line-height: 1.55; overflow-wrap: anywhere; max-width: 470px; }
.allocation-stat { border-left: 1px solid rgba(234,243,236,.17); padding-left: 25px; }
.allocation-stat span { display: block; color: #acc5c1; font-size: 11px; margin-bottom: 2px; }
.allocation-stat strong { display: block; font-size: 29px; font-weight: 550; font-variant-numeric: tabular-nums; letter-spacing: -.03em; }
.allocation-stat em { font-size: 12px; font-style: normal; font-weight: 400; margin-left: 4px; color: #d9e5df; }
.compact-allocation { min-height: 145px; margin-bottom: 20px; }
.compact-allocation h2 { font-size: 24px; }

.section-grid { display: grid; grid-template-columns: minmax(0, 1.78fr) minmax(260px,.84fr); gap: 20px; margin-top: 20px; }
.form-card { padding: 27px 31px 29px; }
.section-title-row { display: flex; align-items: start; justify-content: space-between; gap: 12px; padding-bottom: 23px; border-bottom: 1px solid var(--line); margin-bottom: 23px; }
.section-title-row h2 { margin: 2px 0 3px; }
.section-title-row p { color: #879394; font-size: 11px; margin: 0; }
.step-pill { background: var(--teal-soft); color: #32756f; padding: 5px 9px; border-radius: 4px; font-size: 10px; font-weight: 800; white-space: nowrap; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 19px; }
.field.wide { grid-column: 1 / -1; }
.field label { font-weight: 700; display: block; font-size: 12px; margin-bottom: 7px; }
.field label i { color: #bd765f; font-style: normal; margin-left: 3px; }
.optional-label { color: #94a3a0; font-size: 10px; font-weight: 400; margin-left: 3px; }
.field input, .field textarea, .field select { width: 100%; border: 1px solid #dbe3de; background: #fcfdfa; border-radius: 7px; outline: none; padding: 12px 13px; color: var(--ink); font-size: 12px; min-height: 42px; }
.field textarea { resize: vertical; min-height: 69px; }
.field select { appearance: auto; }
.field input:read-only, .field textarea:read-only { color: #637675; background: #f5f7f3; }
.field input::placeholder, .field textarea::placeholder { color: #a4afad; }
.field .hint { color: #92a09f; font-size: 10px; margin-top: 5px; }
.input-unit { position: relative; }
.input-unit input { padding-right: 43px; }
.input-unit span { position: absolute; right: 14px; top: 10px; font-size: 12px; color: #8b9997; pointer-events: none; }
.form-actions { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 23px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.form-actions small { color: #90a09d; font-size: 10px; max-width: 430px; }
.primary-button, .outline-button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; border-radius: 7px; padding: 10px 20px; font-weight: 700; font-size: 12px; white-space: nowrap; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.primary-button { background: var(--teal); border: 1px solid var(--teal); color: white; box-shadow: 0 5px 13px rgba(49,120,112,.16); }
.primary-button:hover { background: var(--teal-dark); transform: translateY(-1px); box-shadow: 0 7px 17px rgba(49,120,112,.22); }
.primary-button span { font-size: 16px; vertical-align: -1px; }
.outline-button { border: 1px solid #d4ded8; background: #fffefa; color: #416368; }
.outline-button:hover { border-color: #a9c4bb; background: #f5faf6; }
.rail { display: flex; flex-direction: column; gap: 17px; }
.rail-card { padding: 24px 22px; }
.rail-card h3 { margin-bottom: 15px; font-size: 13px; }
.guide-item { display: flex; align-items: flex-start; gap: 10px; margin: 14px 0; }
.guide-num { flex: none; border: 1px solid #d7e2d9; color: #5a8c7e; background: #f5f9f4; width: 21px; height: 21px; border-radius: 50%; display: grid; place-items: center; font-size: 10px; font-weight: 700; }
.guide-item p { font-size: 11px; line-height: 1.65; color: #748587; margin: 0; }
.guide-item p b { display: block; color: #314b4d; margin-bottom: 2px; }
.status-card { background: #f2f5ee; border-color: #e2e8dc; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); display: inline-block; margin-right: 7px; }
.status-dot.done { background: var(--teal); }
.status-dot.closed { background: var(--warning); }
.status-card p { font-size: 11px; color: #697d7d; margin: 8px 0 0; }
.privacy { border-top: 1px solid #dfe7df; padding-top: 12px; margin-top: 14px; font-size: 10px; color: #81908c; line-height: 1.7; }

.admin-buttons { display: flex; gap: 9px; flex-wrap: wrap; justify-content: flex-end; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat-card { padding: 23px 24px 21px; min-height: 125px; position: relative; overflow: hidden; }
.stat-card::after { content: ""; position: absolute; height: 44px; width: 44px; border-radius: 12px; background: #eaf1eb; right: -11px; top: -11px; transform: rotate(24deg); }
.stat-card .caption { color: #879596; font-size: 11px; font-weight: 700; }
.stat-card strong { display: block; font-size: 31px; line-height: 1.35; margin: 7px 0 1px; letter-spacing: -.04em; font-weight: 650; font-variant-numeric: tabular-nums; }
.stat-card small { font-size: 10px; color: #93a2a0; }
.stat-card.featured { background: var(--navy); border-color: var(--navy); color: white; }
.stat-card.featured::after { background: rgba(255,255,255,.06); }
.stat-card.featured .caption, .stat-card.featured small { color: #abc3c0; }
.admin-middle { display: grid; grid-template-columns: 1.5fr 1fr; gap: 16px; margin-top: 17px; }
.progress-card, .notice-card { padding: 22px 25px; min-height: 132px; }
.progress-heading { display: flex; justify-content: space-between; font-size: 12px; font-weight: 700; }
.progress-heading span:last-child { color: var(--teal); }
.progress-track { height: 8px; border-radius: 100px; background: #e7ece6; margin: 16px 0 12px; overflow: hidden; }
.progress-track > span { display: block; height: 100%; background: linear-gradient(90deg,#2e7d76,#68a695); border-radius: inherit; transition: width .25s ease; }
.progress-foot { display: flex; justify-content: space-between; color: #91a09b; font-size: 10px; }
.notice-card { display: flex; gap: 15px; background: #fcf8ee; border-color: #eee2c9; }
.notice-sign { border: 1px solid #e9d4a9; background: #fff8e7; border-radius: 7px; color: #ac7d3a; height: 29px; width: 29px; display: grid; place-items: center; flex: none; font-weight: 800; }
.notice-card h3 { margin: 1px 0 5px; color: #6f5b39; }
.notice-card p { margin: 0; color: #968562; font-size: 11px; line-height: 1.7; }
.table-card { margin-top: 17px; overflow: hidden; position: relative; }
.table-head { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 22px 25px 18px; }
.table-head h2 { margin: 0 0 4px; }
.table-head p { color: #9aa8a2; font-size: 10px; margin: 0; }
.filter-chips { display: flex; align-items: center; gap: 6px; }
.filter-chips span, .table-count { padding: 6px 10px; border-radius: 5px; border: 1px solid #e0e7e0; font-size: 10px; color: #788987; }
.filter-chips span.active { background: #e8f2ed; border-color: #cde2d8; color: #32766a; font-weight: 700; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: 11px; }
th { color: #90a09e; font-size: 10px; font-weight: 700; background: #f6f8f4; padding: 12px 25px; white-space: nowrap; }
td { border-top: 1px solid #edf0ea; padding: 15px 25px; color: #53696d; white-space: nowrap; vertical-align: middle; }
td:first-child { color: #253e43; font-weight: 700; }
.status { font-size: 10px; padding: 4px 9px; border-radius: 100px; display: inline-block; font-weight: 700; }
.status.done { background: #e5f2e8; color: #36766a; }
.status.wait { background: #f9efdf; color: #a87632; }
.status.review { background: #e8edf3; color: #5f778e; }
.table-link { color: #397f75; font-weight: 700; }
.table-link:hover { color: var(--teal-dark); text-decoration: underline; }
.table-foot { padding: 14px 25px; color: #97a5a0; font-size: 10px; border-top: 1px solid #edf0ea; }
.table-empty { padding: 36px 25px; text-align: center; color: #93a09d; }
.table-actions { display: flex; align-items: center; gap: 6px; }
.table-actions form { display: flex; align-items: center; gap: 5px; margin: 0; }
.compact-input { width: 94px; min-height: 31px; border: 1px solid #dbe3de; border-radius: 5px; padding: 5px 7px; font-size: 10px; }
.table-action-button { border: 1px solid #d3dfd8; border-radius: 5px; background: #f7faf6; color: #49756f; padding: 6px 8px; font-size: 10px; font-weight: 700; white-space: nowrap; }
.table-action-button:hover { border-color: #9fc2b5; background: #eef7f1; }
.table-action-button.danger { color: var(--danger); border-color: #efd1d1; background: #fff7f6; }

.record-card { padding: 28px 31px; }
.record-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.record-card-head h2 { margin: 5px 0 0; }
.record-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; }
.record-item { padding: 18px 0; border-bottom: 1px solid #edf0ea; min-width: 0; }
.record-item.record-wide { grid-column: 1 / -1; }
.record-item span { display: block; color: #899996; font-size: 11px; margin-bottom: 5px; }
.record-item strong { display: block; color: #2b474b; font-size: 13px; overflow-wrap: anywhere; }
.record-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #97a5a0; font-size: 10px; padding-top: 15px; }
.record-actions { margin-top: 5px; }
.empty-state { padding: 58px 25px; text-align: center; }
.empty-state h2 { margin: 14px 0 7px; }
.empty-state p { color: #82918d; font-size: 12px; margin-bottom: 21px; }
.empty-icon { margin: auto; width: 40px; height: 40px; border: 1px solid #c6dbd0; border-radius: 50%; display: grid; place-items: center; color: var(--teal); font-size: 21px; }
.compact-empty { padding: 30px 15px; }

.detail-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, .85fr); gap: 20px; }
.history-card { padding: 27px 25px; }
.history-list { list-style: none; padding: 0; margin: 0; }
.history-list li { display: flex; gap: 12px; position: relative; padding: 2px 0 20px; }
.history-list li:last-child { padding-bottom: 0; }
.history-list li:not(:last-child)::after { content: ""; position: absolute; width: 1px; background: #dbe5dd; left: 4px; top: 14px; bottom: 0; }
.history-dot { width: 9px; height: 9px; border: 2px solid #70a89a; background: #f5fbf5; border-radius: 50%; margin-top: 4px; flex: none; position: relative; z-index: 1; }
.history-list strong { display: block; color: #314d50; font-size: 12px; }
.history-list span:not(.history-dot) { display: block; color: #899a95; font-size: 10px; margin-top: 3px; }
.history-list p { color: #748583; font-size: 11px; margin: 6px 0 0; line-height: 1.6; }
.muted-copy { color: #91a09c; font-size: 11px; }
.correction-card { margin-top: 20px; padding: 27px 31px 29px; }

.settings-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); gap: 20px; }
.settings-rail { display: flex; flex-direction: column; gap: 17px; }
.settings-deadline { display: block; color: #2e5c5c; font-size: 19px; margin: 5px 0 7px; }
.compact-history { max-height: 380px; overflow-y: auto; padding-right: 4px; }
.account-create-card { margin-bottom: 17px; }
.account-table-card { margin-top: 0; }

.flash { margin: -12px 0 20px; border-radius: 8px; border: 1px solid; padding: 11px 14px; font-size: 12px; }
.flash-error { color: #8d4f4f; background: #fff4f2; border-color: #efceca; }
.flash-success { color: #3d7668; background: #eff8f1; border-color: #cce4d4; }
.flash-info { color: #4f6e75; background: #eff6f7; border-color: #d2e3e4; }
.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; }

.auth-page { min-height: 100vh; display: grid; place-items: center; position: relative; overflow: hidden; padding: 28px 18px; background: radial-gradient(circle at 14% 9%, #e7efea 0, transparent 27%), radial-gradient(circle at 90% 87%, #e7ede6 0, transparent 25%), var(--paper); }
.auth-atmosphere { position: absolute; width: 550px; height: 550px; border: 1px solid rgba(50,124,118,.09); border-radius: 50%; right: -260px; top: -215px; box-shadow: 0 0 0 54px rgba(50,124,118,.025), 0 0 0 108px rgba(50,124,118,.018); }
.auth-card { position: relative; width: min(100%, 430px); padding: 38px 40px 34px; background: rgba(255,255,250,.88); border: 1px solid #e0e8e0; border-radius: 16px; box-shadow: 0 24px 70px rgba(25, 46, 45, .09); }
.auth-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 49px; }
.auth-brand .brand-mark { border-color: #b6cec6; background: #eef6f0; }
.auth-brand .brand-title { color: var(--deep); }
.auth-brand .brand-sub { color: #6b9790; }
.auth-heading h1 { font-size: 31px; margin: 9px 0 9px; }
.auth-heading p { color: #788886; font-size: 12px; margin-bottom: 26px; }
.login-form .field { margin-bottom: 17px; }
.auth-submit { width: 100%; margin-top: 6px; min-height: 44px; }
.auth-help { color: #8c9a95; border-top: 1px solid var(--line); padding-top: 17px; margin: 22px 0 0; font-size: 10px; line-height: 1.7; }

@media (max-width: 1170px) {
  .shell { grid-template-columns: 206px minmax(0, 1fr); }
  .sidebar { padding-left: 16px; padding-right: 16px; }
  .page { padding: 35px 30px; }
  .topbar { padding: 0 30px; }
  .section-grid { grid-template-columns: minmax(0,1.5fr) minmax(230px,.8fr); }
  .allocation-stat { padding-left: 17px; }
  th, td { padding-left: 15px; padding-right: 15px; }
}
@media (max-width: 900px) {
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-grid, .settings-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .shell { display: block; }
  .sidebar { display: none; }
  .canvas { min-height: 100vh; }
  .topbar { height: 59px; padding: 0 19px; }
  .breadcrumb { font-size: 10px; }
  .crumb-parent, .crumb-sep { display: none; }
  .top-actions { gap: 8px; }
  .top-user { max-width: 85px; }
  .page { padding: 26px 18px 35px; }
  .page-head { align-items: flex-start; display: block; margin-bottom: 19px; }
  h1 { font-size: 27px; margin: 8px 0 8px; }
  .page-lead { font-size: 11px; line-height: 1.7; }
  .deadline-chip { display: inline-flex; margin-top: 16px; padding: 8px 11px; }
  .allocation { grid-template-columns: 1fr 1fr; min-height: 0; padding: 22px 19px; gap: 15px 8px; }
  .allocation-main { grid-column: 1/-1; }
  .allocation h2 { font-size: 23px; }
  .allocation p { max-width: 95%; font-size: 10px; }
  .allocation-stat { padding-left: 10px; }
  .allocation-stat:nth-child(2) { border-left: none; padding-left: 0; }
  .allocation-stat strong { font-size: 24px; }
  .section-grid { display: flex; flex-direction: column; gap: 13px; margin-top: 13px; }
  .form-card, .correction-card, .record-card { padding: 20px 18px; }
  .section-title-row { padding-bottom: 16px; margin-bottom: 17px; }
  .fields { display: block; }
  .field { margin-bottom: 15px; }
  .form-actions { margin-top: 9px; padding-top: 18px; align-items: stretch; flex-direction: column; }
  .form-actions .primary-button, .form-actions .outline-button { width: 100%; padding: 12px; }
  .rail-card { padding: 20px 18px; }
  .admin-buttons { margin-top: 16px; justify-content: flex-start; }
  .admin-buttons .primary-button, .admin-buttons .outline-button { flex: 1; }
  .stat-grid { gap: 9px; }
  .stat-card { min-height: 105px; padding: 17px; }
  .stat-card strong { font-size: 25px; }
  .admin-middle { display: block; }
  .notice-card { margin-top: 10px; }
  .table-card { overflow: hidden; }
  .table-head { min-width: 650px; }
  table { min-width: 760px; }
  .table-foot { min-width: 650px; }
  .record-grid { display: block; }
  .record-item.record-wide { grid-column: auto; }
  .record-meta { display: block; line-height: 1.8; }
  .record-actions { margin-top: 10px; }
  .auth-card { padding: 30px 24px 27px; }
  .auth-brand { margin-bottom: 38px; }
}
