:root { color-scheme: light; --ink: #192c3b; --muted: #6c7b88; --line: #dfe6eb; --accent: #137668; --accent-dark: #0b5b50; --surface: #fff; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; color: var(--ink); background: #f5f7f9; font-family: "Segoe UI", "Microsoft YaHei", sans-serif; font-size: 14px; line-height: 1.6; }
a { color: var(--accent); text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .6; }
button:focus-visible, a:focus-visible { outline: 3px solid #83c7bb; outline-offset: 3px; }
.site-header { height: 72px; background: var(--surface); border-bottom: 1px solid var(--line); }
.header-inner { max-width: 1248px; margin: auto; padding: 0 32px; height: 100%; display: flex; justify-content: space-between; align-items: center; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-size: 18px; font-weight: 700; letter-spacing: .5px; }
.brand-mark { display: grid; place-items: center; background: var(--accent); color: white; width: 32px; height: 32px; border-radius: 9px; font-size: 17px; }
.header-context { display: flex; gap: 16px; align-items: center; }
.exit-button { color: var(--muted); border: 1px solid var(--line); background: white; border-radius: 6px; padding: 5px 12px; font-size: 12px; }
.access-card { max-width: 460px; margin: 48px auto 0; padding: 34px; }
.access-card h1 { font-size: 24px; }
.access-description { margin-bottom: 28px; }
.access-password { margin-top: 20px; }
.access-submit { width: 100%; margin-top: 24px; }
nav { display: flex; gap: 8px; }
nav a { padding: 8px 15px; border-radius: 7px; color: var(--muted); }
nav a.active { background: #eaf5f1; color: var(--accent-dark); font-weight: 600; }
.page { max-width: 824px; padding: 34px 24px 60px; margin: auto; }
.page-wide { max-width: 1248px; }
.page-heading { margin-bottom: 25px; }
.eyebrow { color: var(--accent); font-size: 12px; letter-spacing: 2px; margin: 0 0 6px; font-weight: 600; }
h1 { margin: 0 0 6px; font-size: 28px; font-weight: 650; letter-spacing: .5px; }
h2 { font-size: 17px; margin: 0; font-weight: 650; }
p { margin: 0 0 10px; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.required { color: #c9554b; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 3px 15px #26384604; }
.report-card { padding: 28px 32px 0; }
.card-heading { display: flex; gap: 12px; justify-content: space-between; align-items: center; margin-bottom: 25px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 21px 24px; }
.field { min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field > label, .field-label { display: block; margin-bottom: 8px; font-weight: 500; }
input:not([type="hidden"]):not([type="file"]), select, textarea { width: 100%; border: 1px solid #ccd6de; border-radius: 7px; padding: 10px 12px; color: var(--ink); background: white; outline: none; min-height: 43px; }
input::placeholder, textarea::placeholder { color: #99a5b0; }
textarea { resize: vertical; min-height: 112px; line-height: 1.7; }
textarea.shipping-address { min-height: 80px; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px #13766812; }
.field > .upload-zone { position: relative; display: flex; flex-direction: column; gap: 6px; justify-content: center; align-items: center; min-height: 148px; border: 1px dashed #b4c8c3; border-radius: 8px; background: #f8fbfa; cursor: pointer; padding: 20px 12px; text-align: center; margin-bottom: 0; }
.upload-zone svg { color: var(--accent); margin-bottom: 3px; }
.upload-zone strong { font-size: 14px; font-weight: 500; }
.upload-zone:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.file-input { position: absolute; width: 100%; height: 100%; inset: 0; opacity: 0; cursor: pointer; }
.photo-previews { display: flex; flex-wrap: wrap; gap: 12px; }
.photo-previews:not(:empty) { padding-top: 14px; }
.photo-previews figure { width: 100px; height: 84px; margin: 0; position: relative; }
.photo-previews img { width: 100%; height: 100%; object-fit: cover; border-radius: 7px; border: 1px solid var(--line); }
.remove-photo { position: absolute; top: -7px; right: -7px; width: 24px; height: 24px; border: 2px solid white; background: #34434f; color: white; border-radius: 50%; padding: 0; font-size: 18px; line-height: 20px; }
.form-footer { display: flex; gap: 16px; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding: 22px 0; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 9px 24px; border: 1px solid #ccd6de; border-radius: 7px; color: var(--ink); background: white; white-space: nowrap; }
.button:hover { background: #f2f6f5; }
.button.primary { background: var(--accent); border-color: var(--accent); color: white; }
.button.primary:hover { background: var(--accent-dark); }
.button.compact { min-height: 37px; padding: 6px 18px; }
.notice { padding: 12px 16px; border-radius: 7px; margin-bottom: 20px; line-height: 1.7; }
.notice.error { background: #fff1ef; color: #a83f34; border: 1px solid #f1d0cb; }
.notice.warning { background: #fff8e9; color: #8f6320; border: 1px solid #efdeba; }
.notice.success { background: #ecf7f1; color: #216e50; border: 1px solid #cfe8d8; }
.notice ul { margin: 0; padding-left: 20px; }
.success-card { text-align: center; padding: 48px 24px; }
.success-icon { margin: 0 auto 20px; background: #e8f5ee; color: #18845c; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-size: 30px; }
.success-card h2 { font-size: 23px; margin-bottom: 8px; }
.receipt { display: flex; flex-direction: column; gap: 7px; background: #f5f8f9; border-radius: 8px; padding: 18px; margin: 25px auto; max-width: 380px; }
.number { font-variant-numeric: tabular-nums; font-family: Consolas, monospace; letter-spacing: .3px; }
.receipt .number { font-size: 22px; overflow-wrap: anywhere; }
.list-card { overflow: hidden; }
.filters { display: flex; align-items: end; gap: 16px; padding: 23px 24px; }
.filter-field { width: 185px; }
.filter-field label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.filters select { min-height: 37px; padding: 7px 10px; }
.filter-reset { padding: 7px 0; font-size: 13px; color: var(--muted); }
.export-button { margin-left: auto; }
.table-scroll { width: 100%; overflow-x: auto; }
.case-table { border-collapse: collapse; width: 100%; min-width: 940px; text-align: left; font-size: 13px; }
.case-table th { background: #f8fafb; color: #6a7986; font-size: 12px; font-weight: 500; padding: 13px 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); white-space: nowrap; }
.case-table td { padding: 20px; border-bottom: 1px solid #edf0f3; vertical-align: middle; }
.case-table tbody tr:last-child td { border-bottom: none; }
.case-table tbody tr:hover { background: #fbfdfc; }
.case-table td:first-child { white-space: nowrap; width: 205px; }
.case-table td:nth-child(2), .case-table td:nth-child(3), .case-table td:nth-child(5), .case-table td:last-child { white-space: nowrap; }
.description-excerpt { display: block; max-width: 245px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.handle-link { font-weight: 600; padding: 6px 0; }
.status { display: inline-block; white-space: nowrap; padding: 3px 10px; border-radius: 5px; font-size: 12px; font-weight: 500; }
.status.pending { background: #fff3dc; color: #94651d; }
.status.processing { background: #eaf1fc; color: #366da4; }
.status.completed { background: #e8f5ed; color: #347b54; }
.list-footer { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; border-top: 1px solid var(--line); }
.pagination { display: flex; align-items: center; gap: 18px; font-size: 12px; }
.pagination a { padding: 3px 0; color: var(--accent); }
.empty-state { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 270px; gap: 8px; }
.empty-state > span { font-size: 30px; color: #c1cdd4; font-weight: 300; }
.empty-state strong { font-weight: 500; font-size: 15px; }
.drawer-open { overflow: hidden; }
.drawer-overlay { position: fixed; inset: 0; z-index: 10; }
.drawer-backdrop { position: absolute; inset: 0; background: #172c3e55; }
.drawer { position: absolute; right: 0; top: 0; bottom: 0; width: min(640px, 100%); background: white; box-shadow: -12px 0 40px #172c3e15; }
.drawer-shell { display: flex; flex-direction: column; height: 100%; }
.drawer-header { display: flex; justify-content: space-between; align-items: center; padding: 22px 28px; border-bottom: 1px solid var(--line); }
.drawer-header h2 { font-size: 19px; margin-bottom: 5px; }
.close-drawer { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; font-size: 26px; color: var(--muted); border-radius: 6px; }
.close-drawer:hover { background: #f0f3f5; }
.drawer-body { flex: 1; overflow: auto; padding: 24px 28px; }
.drawer-footer { display: flex; justify-content: end; gap: 12px; padding: 19px 28px; border-top: 1px solid var(--line); }
.detail-section + .detail-section { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
h3 { font-size: 15px; margin: 0; font-weight: 600; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; margin: 0 0 20px; }
.facts dt { color: var(--muted); font-size: 12px; margin-bottom: 3px; }
.facts dd { margin: 0; overflow-wrap: anywhere; }
.facts .full { grid-column: 1 / -1; }
.address-text { white-space: pre-wrap; }
.original-description { white-space: pre-wrap; overflow-wrap: anywhere; border-radius: 7px; padding: 12px 14px; background: #f5f7f9; margin: 0 0 20px; }
.detail-photos { display: flex; flex-wrap: wrap; gap: 10px; }
.detail-photos img { width: 96px; height: 80px; object-fit: cover; border: 1px solid var(--line); border-radius: 6px; display: block; }
.handling-fields h3 { margin-bottom: 18px; }
.handling-fields .field + .field { margin-top: 19px; }
.handling-fields textarea { min-height: 80px; }
.handling-fields label .small { margin-left: 8px; font-weight: 400; }
.validation-summary-errors ul { margin: 0; padding-left: 18px; }
@media (max-width: 600px) {
    .site-header { height: 62px; }
    .header-inner { padding: 0 16px; }
    .brand { font-size: 16px; gap: 7px; }
    nav { gap: 2px; }
    nav a { padding: 7px 9px; font-size: 13px; }
    .page { padding: 26px 16px 40px; }
    h1 { font-size: 25px; }
    .report-card { padding: 23px 20px 0; }
    .form-grid { grid-template-columns: 1fr; gap: 20px; }
    input:not([type="hidden"]), select, textarea { font-size: 16px; }
    .form-footer { flex-direction: column; align-items: stretch; }
    .form-footer > .small { text-align: center; }
    .card-heading { gap: 8px; }
    .card-heading > .small { font-size: 11px; }
    .access-card { padding: 26px 22px; margin-top: 20px; }
    .filters { flex-wrap: wrap; gap: 14px 12px; padding: 20px; }
    .filter-field { width: calc(50% - 6px); }
    .filters select { font-size: 14px; }
    .list-footer { padding: 16px 20px; }
    .drawer-header, .drawer-body { padding: 20px; }
    .drawer-footer { padding: 16px 20px; }
    .drawer-footer .button { flex: 1; }
}
