:root {
  --navy: #12304a;
  --ink: #173043;
  --muted: #6b7e89;
  --line: #dfe7ec;
  --surface: #fff;
  --soft: #f4f7f9;
  --mint: #3eaa98;
  --orange: #d98a2b;
  font-family: Inter, Pretendard, "Noto Sans KR", system-ui, sans-serif;
  color: var(--ink);
  background: #edf2f5;
}
* { box-sizing: border-box; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
body { margin: 0; background: #edf2f5; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.portal-topbar { display: flex; align-items: center; justify-content: space-between; min-height: 58px; padding: 0 34px; border-bottom: 1px solid #dbe4e9; background: rgba(255,255,255,.92); }
.portal-topbar p, .portal-topbar > span { margin: 0; color: #6b7e89; font-size: 12px; font-weight: 700; }
.portal-topbar p span { margin: 0 6px; color: #a7b5bd; }
.project-container { width: min(1540px, calc(100% - 48px)); margin: 0 auto; padding: 34px 0 60px; }
.project-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.eyebrow { margin: 0 0 7px; color: #2d927f; font-size: 10px; font-weight: 900; letter-spacing: .17em; }
.project-header h1 { margin: 0; color: var(--navy); font-size: clamp(28px, 3vw, 40px); letter-spacing: -.04em; }
.project-header p:not(.eyebrow) { margin: 10px 0 0; color: var(--muted); font-size: 14px; }
.connection-badge { display: flex; align-items: center; gap: 8px; padding: 9px 13px; border: 1px solid #cfe4df; border-radius: 999px; color: #287463; background: #f1fbf8; font-size: 12px; font-weight: 800; }
.connection-badge i { width: 8px; height: 8px; border-radius: 50%; background: #42af99; }
.connection-badge.is-loading { color: #71838d; border-color: #dce4e8; background: #f6f8f9; }
.connection-badge.is-loading i { background: #9babb3; }
.connection-badge.is-error { color: #a74d43; border-color: #efd1cc; background: #fff4f2; }
.connection-badge.is-error i { background: #cf6658; }
.page-alert, .upload-message { margin-bottom: 16px; padding: 13px 15px; border: 1px solid #edccc6; border-radius: 10px; color: #93463b; background: #fff4f2; font-size: 13px; font-weight: 700; }
.upload-message.is-success { color: #266f60; border-color: #c9e6df; background: #f1fbf8; }
.tab-list { display: inline-flex; gap: 4px; margin-bottom: 15px; padding: 4px; border: 1px solid #dce5ea; border-radius: 12px; background: #f9fbfc; }
.tab-button { min-height: 40px; padding: 0 18px; border: 0; border-radius: 9px; color: #637985; background: transparent; font-size: 13px; font-weight: 800; }
.tab-button[hidden] { display: none; }
.tab-button.is-active { color: #fff; background: var(--navy); box-shadow: 0 6px 14px rgba(18,48,74,.18); }
.tab-panel { padding: 24px; border: 1px solid #dbe4e9; border-radius: 16px; background: #fff; box-shadow: 0 14px 36px rgba(25,53,70,.06); }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.panel-heading h2 { margin: 0; color: var(--navy); font-size: 20px; letter-spacing: -.025em; }
.panel-heading p { margin: 6px 0 0; color: var(--muted); font-size: 12px; }
.heading-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.secondary-button { min-height: 38px; padding: 0 14px; border: 1px solid #d6e0e5; border-radius: 9px; color: #355468; background: #fff; font-size: 12px; font-weight: 800; }
.secondary-button:hover { border-color: #9cb3c1; background: #f6f9fa; }
.google-sheet-link { display: inline-flex; align-items: center; text-decoration: none; }
.ledger-add-button { min-height: 38px; padding: 0 15px; border: 1px solid var(--navy); border-radius: 9px; color: #fff; background: var(--navy); font-size: 12px; font-weight: 850; }
.ledger-add-button:disabled { cursor: not-allowed; opacity: .45; }
.ledger-filters { display: grid; grid-template-columns: repeat(4, minmax(120px, 1fr)) minmax(220px, 1.6fr); gap: 10px; padding: 14px; border: 1px solid #e0e8ec; border-radius: 12px; background: #f7f9fa; }
.ledger-filters label, .form-grid label { display: grid; gap: 6px; }
.ledger-filters label > span, .form-grid label > span { color: #536c7a; font-size: 11px; font-weight: 800; }
select, input { width: 100%; min-height: 40px; padding: 0 11px; border: 1px solid #d6e0e5; border-radius: 8px; color: #1e394a; background: #fff; outline: none; }
textarea { width: 100%; padding: 10px 11px; resize: vertical; border: 1px solid #d6e0e5; border-radius: 8px; color: #1e394a; background: #fff; outline: none; }
select:focus, input:focus, textarea:focus { border-color: #468f82; box-shadow: 0 0 0 3px rgba(63,166,148,.12); }
.ledger-summary { display: flex; align-items: center; justify-content: space-between; margin: 17px 2px 8px; color: #71838d; font-size: 11px; }
.ledger-summary strong { color: #24495f; font-size: 12px; }
.table-wrap { overflow: auto; border: 1px solid #e0e7eb; border-radius: 11px; }
.ledger-table { width: 100%; min-width: 1160px; border-collapse: collapse; font-size: 12px; }
.ledger-table th { position: sticky; top: 0; padding: 0; color: #536b78; background: #f4f7f8; text-align: left; white-space: nowrap; }
.ledger-table th > button { width: 100%; padding: 11px 10px; border: 0; color: inherit; background: transparent; text-align: left; font-size: 11px; font-weight: 850; }
.ledger-table th > button:hover { color: var(--navy); background: #ebf1f4; }
.ledger-table td { max-width: 240px; padding: 11px 10px; border-top: 1px solid #edf1f3; color: #314d5e; vertical-align: middle; }
.ledger-table tbody tr:hover { background: #fbfcfd; }
.ledger-table tbody tr.is-example { background: #fffbf3; }
.content-column { min-width: 230px; }
.amount-column, .amount-cell { text-align: right !important; font-variant-numeric: tabular-nums; }
.status-pill, .evidence-pill { display: inline-flex; align-items: center; gap: 5px; padding: 5px 8px; border-radius: 999px; color: #7b632c; background: #fff4d8; font-size: 10px; font-weight: 850; white-space: nowrap; }
.status-pill.is-complete, .evidence-pill.is-complete { color: #276f61; background: #eaf8f4; }
.status-pill.is-confirmed { color: #3d5f8c; background: #edf3fb; }
.status-select { width: auto; min-width: 108px; min-height: 30px; padding: 0 28px 0 9px; border: 1px solid #ead9a9; border-radius: 999px; color: #7b632c; background-color: #fff4d8; font-size: 10px; font-weight: 850; }
.status-select.is-complete { color: #276f61; border-color: #bfe1d8; background-color: #eaf8f4; }
.status-select.is-confirmed { color: #3d5f8c; border-color: #cad9ec; background-color: #edf3fb; }
.status-select.is-rejected { color: #9a3f37; border-color: #e4b8b3; background-color: #fff0ee; }
.status-select:disabled { cursor: not-allowed; opacity: .58; }
.evidence-pill { color: #6d7d86; background: #edf1f3; }
.row-actions { display: flex; gap: 6px; white-space: nowrap; }
.row-action { padding: 6px 9px; border: 1px solid #d5e0e5; border-radius: 7px; color: #294d62; background: #fff; font-size: 10px; font-weight: 850; }
.row-action.is-primary { color: #fff; border-color: var(--navy); background: var(--navy); }
.row-action:disabled { cursor: not-allowed; opacity: .48; }
.empty-cell { padding: 36px !important; color: #778993 !important; text-align: center; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 16px; color: #637783; font-size: 11px; font-weight: 750; }
.pagination button { min-height: 34px; padding: 0 12px; border: 1px solid #d7e0e5; border-radius: 8px; color: #345468; background: #fff; }
.ledger-admin-settings { display: flex; justify-content: flex-end; margin-top: 7px; }
.ledger-admin-settings button { padding: 2px 3px; border: 0; color: #a1adb4; background: transparent; font-size: 9px; font-weight: 650; }
.ledger-admin-settings button:hover, .ledger-admin-settings button:focus-visible { color: #657985; text-decoration: underline; }
.upload-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 16px; align-items: stretch; }
.form-card, .upload-summary-card { padding: 20px; border: 1px solid #e0e7eb; border-radius: 13px; background: #fff; }
.section-title { display: flex; align-items: center; gap: 11px; margin-bottom: 18px; }
.section-title > span { display: grid; flex: 0 0 28px; place-items: center; width: 28px; height: 28px; border-radius: 8px; color: #fff; background: var(--navy); font-size: 11px; font-weight: 900; }
.section-title h3 { margin: 0; color: #18374a; font-size: 15px; }
.section-title p { margin: 4px 0 0; color: #798a93; font-size: 11px; }
.form-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 13px; }
.wide-field { grid-column: span 2; }
.management-title { justify-content: flex-start; }
.management-title .management-unlock { margin-left: auto; }
.management-editor-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 11px; }
.management-editor-grid label { display: grid; gap: 5px; }
.management-editor-grid label > span { color: #536c7a; font-size: 10px; font-weight: 800; }
.management-editor-grid input, .management-editor-grid select { min-height: 36px; font-size: 11px; }
.management-editor-grid .management-wide { grid-column: span 2; }
.management-save-row { display: flex; grid-column: 1 / -1; align-items: center; justify-content: flex-end; gap: 12px; margin-top: 2px; }
.management-save-row span { margin-right: auto; color: #7a6a45; font-size: 10px; font-weight: 750; }
.ledger-detail-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; }
.ledger-detail-grid > div { min-width: 0; padding: 11px 12px; border: 1px solid #e1e8ec; border-radius: 9px; background: #f8fafb; }
.ledger-detail-grid .wide-detail { grid-column: span 2; }
.ledger-detail-grid dt { margin-bottom: 5px; color: #71838d; font-size: 10px; font-weight: 850; }
.ledger-detail-grid dd { overflow-wrap: anywhere; margin: 0; color: #23465b; font-size: 12px; font-weight: 750; }
.upload-empty { padding: 60px 24px; border: 1px dashed #c9d5db; border-radius: 12px; color: #71838d; background: #f8fafb; text-align: center; }
.upload-empty strong { display: block; margin-bottom: 7px; color: #35566a; font-size: 15px; }
.upload-empty p { margin: 0; font-size: 12px; }
.path-preview { display: grid; gap: 5px; margin-top: 16px; padding: 12px 14px; border-radius: 9px; background: #edf4f6; }
.path-preview span { color: #6a7d88; font-size: 10px; font-weight: 800; }
.path-preview strong { overflow-wrap: anywhere; color: #21495e; font-family: ui-monospace, SFMono-Regular, monospace; font-size: 11px; }
.upload-summary-card { color: #dce8ef; background: var(--navy); }
.upload-summary-card > p { margin: 0 0 12px; color: #9fb4c1; font-size: 10px; font-weight: 850; letter-spacing: .08em; }
.upload-summary-card > strong { display: block; color: #fff; font-size: 18px; }
.progress-track { overflow: hidden; height: 6px; margin: 12px 0 16px; border-radius: 999px; background: rgba(255,255,255,.13); }
.progress-track i { display: block; width: 0; height: 100%; border-radius: inherit; background: #68d1bf; transition: width .2s ease; }
.upload-summary-card ul { display: grid; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; }
.upload-summary-card li { display: flex; gap: 7px; color: #b9cbd5; font-size: 11px; }
.upload-summary-card li.is-ready { color: #d8fff8; }
.upload-summary-card small { color: #8fa7b6; font-size: 10px; }
.evidence-card { margin-top: 16px; }
.evidence-card-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.evidence-lock-message { color: #b45309; font-weight: 700; }
.document-field.is-locked .file-drop-zone { cursor: not-allowed; opacity: .5; }
.upload-all-button { flex: 0 0 auto; min-height: 38px; }
.document-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.document-field { position: relative; display: grid; grid-template-columns: 45px minmax(0,1fr); gap: 12px; min-height: 128px; padding: 14px; border: 1px dashed #bdcbd3; border-radius: 11px; background: #fafcfc; transition: border-color .15s, background .15s; }
.document-field.is-dragging { border-color: #238873; background: #e9f8f4; box-shadow: 0 0 0 3px rgba(35,136,115,.14); }
.document-field.is-dragging .file-drop-zone { border-color: #238873; color: #176957; background: #dcf4ee; transform: translateY(-1px); }
.document-field.is-ready { border-style: solid; border-color: #9ed4c9; background: #f4fbf9; }
.document-field.is-uploaded { border-style: solid; border-color: #72bdad; background: #edf9f6; }
.document-field.is-uploading { pointer-events: none; opacity: .7; }
.document-order { display: grid; place-items: center; align-self: start; width: 38px; height: 38px; border-radius: 10px; color: #214a60; background: #e4edf1; font-size: 12px; font-weight: 900; }
.document-content { min-width: 0; }
.document-content h4 { margin: 1px 0 3px; color: #19384a; font-size: 13px; }
.document-content > p { margin: 0 0 10px; color: #798a93; font-size: 10px; }
.file-drop-zone { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 58px; margin-bottom: 9px; padding: 9px 11px; border: 1.5px dashed #aebfc8; border-radius: 9px; color: #496877; background: #fff; cursor: pointer; transition: border-color .15s, color .15s, background .15s, transform .15s; }
.file-drop-zone:hover, .file-drop-zone:focus-visible { border-color: #3d9b89; color: #246f61; background: #f0faf7; outline: none; }
.file-drop-icon { display: grid; flex: 0 0 30px; place-items: center; width: 30px; height: 30px; border-radius: 8px; color: #fff; background: #3d9b89; font-size: 20px; font-weight: 500; line-height: 1; }
.file-drop-text { display: grid; min-width: 0; gap: 2px; }
.file-drop-text strong { font-size: 10px; font-weight: 850; }
.file-drop-text small { color: #81919a; font-size: 9px; }
.document-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.selected-file-list { display: grid; gap: 5px; margin: 0 0 8px; }
.selected-file-item { display: flex; min-width: 0; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 7px 6px 9px; border: 1px solid #d7e5e2; border-radius: 7px; color: #405f6e; background: #f7fbfa; font-size: 10px; }
.selected-file-item span { overflow: hidden; min-width: 0; text-overflow: ellipsis; white-space: nowrap; }
.selected-file-remove { flex: 0 0 auto; min-height: 24px; padding: 0 7px; border: 1px solid #e4c9c5; border-radius: 6px; color: #985044; background: #fff7f5; font-size: 9px; font-weight: 800; cursor: pointer; }
.selected-file-remove:hover, .selected-file-remove:focus-visible { border-color: #c97b6e; color: #7e352a; background: #fff0ed; outline: none; }
.selected-file-empty { color: #7b8d96; font-size: 10px; }
.file-select-button, .preview-button, .document-upload-button { display: inline-flex; align-items: center; min-height: 32px; padding: 0 10px; border: 1px solid #d1dde3; border-radius: 7px; color: #315267; background: #fff; font-size: 10px; font-weight: 850; }
.preview-button { border: 0; color: #2d7a6c; background: transparent; }
.preview-button[hidden] { display: none; }
.document-upload-button { color: #fff; border-color: var(--navy); background: var(--navy); }
.document-upload-button:disabled { cursor: not-allowed; opacity: .4; }
.document-number { margin-top: 9px; min-height: 35px; font-size: 11px; }
.file-preview { grid-column: 1 / -1; overflow: hidden; max-height: 220px; margin-top: 4px; border: 1px solid #dce5e9; border-radius: 8px; background: #fff; }
.file-preview img, .file-preview object { display: block; width: 100%; height: 210px; object-fit: contain; }
.submit-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 16px; padding: 14px 2px 0; }
.submit-row p { margin: 0; color: #71838d; font-size: 11px; }
.primary-button { min-width: 160px; min-height: 44px; padding: 0 20px; border: 0; border-radius: 10px; color: #fff; background: var(--navy); font-size: 12px; font-weight: 850; }
.primary-button:disabled { cursor: not-allowed; opacity: .42; }
.evidence-dialog { width: min(680px, calc(100% - 32px)); padding: 0; border: 0; border-radius: 15px; color: var(--ink); box-shadow: 0 26px 80px rgba(11,33,47,.3); }
.evidence-dialog::backdrop { background: rgba(12,31,43,.52); }
.project-reports-dialog { width: min(1080px, calc(100% - 32px)); max-height: 90vh; overflow: auto; }
.project-reports-content { padding: 18px 22px 24px; }
.report-settings-grid { display: grid; grid-template-columns: auto 1fr 1fr 1.3fr; align-items: center; gap: 12px; }
.report-settings-grid label { display: grid; gap: 5px; font-size: 12px; color: var(--muted); }
.report-settings-grid small { font-size: 10px; }
.report-settings-grid .report-enabled { display: flex; align-items: center; white-space: nowrap; }
.report-enabled input { width: 16px; min-height: 16px; height: 16px; }
.report-setting-actions { grid-column: 1/-1; display: flex; justify-content: flex-end; gap: 8px; }
.report-schedule-status { color: var(--muted); font-size: 12px; }
.report-history { display: grid; gap: 7px; max-height: 230px; overflow: auto; }
.report-history-row { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; padding: 10px; border: 1px solid var(--line); border-radius: 8px; font-size: 12px; }
.report-history-row span { flex: 1; }
.report-history-row a { color: #287463; }
.report-stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 15px 0; }
.report-stat-grid article { padding: 13px; border-radius: 10px; background: var(--soft); }
.report-stat-grid strong { display: block; margin-top: 5px; font-size: 22px; color: var(--navy); }
.report-stat-grid span { font-size: 11px; color: var(--muted); }
.report-table { width: 100%; border-collapse: collapse; font-size: 12px; margin-bottom: 18px; }
.report-table th, .report-table td { border-bottom: 1px solid var(--line); padding: 8px; text-align: left; }
.report-table th { background: var(--soft); white-space: nowrap; }
.report-issues { padding-left: 22px; font-size: 12px; line-height: 1.7; }
.report-issues li { margin-bottom: 10px; }
.report-issues .is-error { color: #a74d43; }
.report-file-path { display: block; color: var(--muted); word-break: break-all; }
@media (max-width: 760px) { .report-settings-grid { grid-template-columns: 1fr 1fr; } .report-stat-grid { grid-template-columns: repeat(2, 1fr); } .heading-actions { flex-wrap: wrap; } }
.dialog-heading { display: flex; justify-content: space-between; gap: 20px; padding: 20px 22px; border-bottom: 1px solid #e3eaee; }
.dialog-heading h2 { margin: 0; color: var(--navy); font-size: 18px; }
.dialog-heading p { margin: 5px 0 0; color: #72838d; font-size: 11px; }
.dialog-heading button { width: 34px; height: 34px; border: 0; border-radius: 8px; color: #647984; background: #f0f4f6; font-size: 22px; }
.evidence-file-list { display: grid; gap: 8px; max-height: 60vh; padding: 18px 22px 22px; overflow: auto; }
.evidence-file-item { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 14px; border: 1px solid #e0e7eb; border-radius: 9px; }
.evidence-file-item strong { display: block; color: #284b60; font-size: 12px; }
.evidence-file-item small { color: #7b8c95; font-size: 10px; }
.evidence-file-item a { color: #2b7669; font-size: 11px; font-weight: 850; text-decoration: none; }
.ledger-editor-dialog { width: min(900px, calc(100% - 32px)); }
.ledger-form-import { margin: 18px 22px 0; padding: 14px; border: 1px solid #bddbd4; border-radius: 11px; background: #f2faf8; }
.ledger-form-import-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; }
.ledger-form-import-heading > div { display: grid; gap: 3px; }
.ledger-form-import-heading strong { color: #28594f; font-size: 12px; }
.ledger-form-import-heading > div > span { color: #6d847f; font-size: 10px; }
.ledger-import-submitter { display: grid; flex: 0 0 210px; gap: 5px; }
.ledger-import-submitter > span { color: #536c7a; font-size: 10px; font-weight: 800; }
.ledger-import-submitter select, .ledger-form-import-controls select { height: 36px; padding: 0 10px; border: 1px solid #a9cfc7; border-radius: 8px; outline: 0; color: #284b60; background: #fff; font-size: 10px; }
.ledger-form-import-controls { display: flex; align-items: center; gap: 8px; margin-top: 11px; }
.ledger-form-import-controls select { min-width: 300px; flex: 1 1 auto; }
.ledger-form-import-controls button, .ledger-business-form-upload { display: inline-flex; min-height: 36px; align-items: center; justify-content: center; padding: 0 12px; border: 1px solid #2f9989; border-radius: 8px; color: #fff; background: #2f9989; font-size: 10px; font-weight: 800; cursor: pointer; }
.ledger-form-import-controls button:hover:not(:disabled), .ledger-business-form-upload:hover { background: #237d70; }
.ledger-form-import-controls button:disabled, .ledger-form-import-controls select:disabled, .ledger-business-form-upload:has(input:disabled) { opacity: .48; cursor: not-allowed; }
.ledger-business-form-upload { position: relative; color: #176e63; background: #fff; }
.ledger-business-form-upload input { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.ledger-form-import-or { color: #779088; font-size: 9px; }
.ledger-form-import > p { min-height: 14px; margin: 8px 0 0; color: #4f766d; font-size: 9px; }
.ledger-form-import > p:empty { display: none; }
.ledger-form-import > p.is-warning { color: #8a651f; }
.ledger-form-import > p.is-error { color: #a0443d; }
.ledger-editor-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding: 20px 22px; }
.ledger-editor-grid label { display: grid; gap: 6px; }
.ledger-editor-grid label > span { color: #536c7a; font-size: 11px; font-weight: 800; }
.ledger-editor-grid label[hidden] { display: none; }
.approval-password-field small { color: #71838d; font-size: 10px; }
.ledger-editor-grid .editor-wide { grid-column: span 2; }
.ledger-editor-dialog .upload-message { margin: 0 22px; }
.ledger-editor-actions { display: flex; justify-content: flex-end; gap: 8px; padding: 16px 22px 20px; border-top: 1px solid #e3eaee; }
.admin-password-dialog { width: min(520px, calc(100% - 32px)); }
.admin-password-grid { display: grid; gap: 12px; padding: 20px 22px; }
.admin-password-grid label { display: grid; gap: 6px; }
.admin-password-grid label > span { color: #536c7a; font-size: 11px; font-weight: 800; }
.admin-password-grid small { color: #71838d; font-size: 10px; }
.admin-password-dialog .upload-message { margin: 0 22px; }
.ledger-add-button.is-danger { border-color: #a4443c; background: #a4443c; }
.rejection-dialog { width: min(720px, calc(100% - 32px)); }
.rejection-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; padding: 20px 22px; }
.rejection-grid label { display: grid; gap: 6px; }
.rejection-grid label > span { color: #536c7a; font-size: 11px; font-weight: 800; }
.rejection-grid .rejection-wide { grid-column: 1 / -1; }
.rejection-image-field small { color: #71838d; font-size: 10px; }
.rejection-detail-content { display: grid; gap: 13px; padding: 20px 22px 24px; }
.rejection-detail-content dl { display: grid; grid-template-columns: 90px 1fr; gap: 8px 12px; margin: 0; }
.rejection-detail-content dt { color: #74868f; font-size: 11px; font-weight: 800; }
.rejection-detail-content dd { margin: 0; color: #294b5e; font-size: 12px; white-space: pre-wrap; }
.rejection-detail-images { display: flex; flex-wrap: wrap; gap: 8px; }
.rejection-detail-images a { display: block; width: 112px; height: 84px; overflow: hidden; border: 1px solid #dce5e9; border-radius: 8px; }
.rejection-detail-images img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1200px) { .ledger-filters { grid-template-columns: repeat(3, 1fr); } .search-field { grid-column: span 2; } .form-grid, .ledger-detail-grid, .management-editor-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 900px) { .project-container { width: min(100% - 28px, 1540px); padding-top: 24px; } .upload-layout { grid-template-columns: 1fr; } .upload-summary-card { order: -1; } .document-grid { grid-template-columns: 1fr; } .ledger-editor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ledger-form-import-heading { align-items: stretch; flex-direction: column; } .ledger-import-submitter { flex-basis: auto; } .ledger-form-import-controls { flex-wrap: wrap; } }
@media (max-width: 680px) { .portal-topbar { padding: 0 16px; } .portal-topbar > span { display: none; } .project-header { align-items: flex-start; flex-direction: column; } .tab-panel { padding: 16px; } .ledger-filters, .form-grid, .ledger-detail-grid, .ledger-editor-grid, .management-editor-grid { grid-template-columns: 1fr; } .search-field, .wide-field, .ledger-detail-grid .wide-detail, .ledger-editor-grid .editor-wide, .management-editor-grid .management-wide { grid-column: auto; } .panel-heading, .submit-row, .evidence-card-heading { align-items: stretch; flex-direction: column; } .heading-actions { align-items: stretch; flex-direction: column; } .heading-actions > * { justify-content: center; } .management-title { align-items: flex-start; flex-wrap: wrap; } .management-title .management-unlock { margin-left: 39px; } .management-save-row { align-items: stretch; flex-direction: column; } .primary-button { width: 100%; } .ledger-form-import { margin-inline: 14px; } .ledger-form-import-controls { align-items: stretch; flex-direction: column; } .ledger-form-import-controls select, .ledger-form-import-controls button, .ledger-business-form-upload { width: 100%; min-width: 0; } }
