:root { color-scheme: light; --bg: #f4f6f8; --panel: #ffffff; --text: #1d2630; --muted: #6d7885; --line: #cbd5df; --accent: #116a5c; --accent-strong: #0d5147; --danger-bg: #fff1f0; --danger-text: #a1261d; --ok-bg: #eaf7ee; --ok-text: #1b6b3a; } * { box-sizing: border-box; } body { margin: 0; background: var(--bg); color: var(--text); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; font-size: 15px; } a { color: var(--accent); text-decoration: none; } a:hover { text-decoration: underline; } .topbar { min-height: 58px; display: flex; align-items: center; gap: 22px; padding: 0 24px; background: #ffffff; border-bottom: 1px solid var(--line); } .brand { color: var(--text); font-weight: 750; font-size: 17px; } .navlinks { display: flex; align-items: center; gap: 16px; } .user { margin-left: auto; color: var(--muted); font-size: 13px; } .shell { width: min(1180px, calc(100vw - 32px)); margin: 28px auto; } .auth-panel, .panel, .empty-state { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 10px 30px rgba(29, 38, 48, 0.05); } .auth-panel { width: min(420px, 100%); margin: 72px auto; padding: 28px; } .panel { padding: 22px; } .empty-state { display: grid; gap: 18px; place-items: center; min-height: 280px; padding: 36px; } h1 { margin: 0 0 18px; font-size: 24px; letter-spacing: 0; } .panel-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; } .panel-head h1 { margin: 0; } .form-stack, .upload-box { display: grid; gap: 16px; } label { display: grid; gap: 7px; color: #344150; font-weight: 600; } input, select { width: 100%; min-height: 40px; border: 1px solid #cbd5df; border-radius: 6px; padding: 9px 11px; background: #fff; color: var(--text); font: inherit; } input:focus, select:focus { outline: 2px solid rgba(17, 106, 92, 0.18); border-color: var(--accent); } button, .button { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; border: 1px solid var(--accent); border-radius: 6px; padding: 9px 15px; background: var(--accent); color: #fff; font: inherit; font-weight: 700; cursor: pointer; } button:hover, .button:hover { background: var(--accent-strong); text-decoration: none; } .button.ghost { background: #fff; color: var(--accent); } .button.ghost:hover { background: #edf5f3; } .muted { margin: 18px 0 0; color: var(--muted); } .notice { border-radius: 6px; padding: 11px 12px; margin-bottom: 16px; } .notice.error { background: var(--danger-bg); color: var(--danger-text); } .notice.ok { background: var(--ok-bg); color: var(--ok-text); } .filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; padding: 16px; background: #f8fafb; border: 1px solid var(--line); border-radius: 8px; margin-bottom: 16px; } .sheet-select { grid-column: span 2; } .range-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; } .filter-actions { display: flex; align-items: end; gap: 10px; } .pager, .table-count { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; margin: 14px 0; color: var(--muted); } .pager a:last-child { justify-self: end; } .table-count { display: block; } .table-wrap { overflow: visible; border: 1px solid #9eabb7; border-radius: 8px; background: #fff; } table { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 560px; table-layout: auto; } .data-table { border-collapse: collapse !important; border: 1px solid #7f8c99 !important; } th, td { border-right: 1px solid #9eabb7; border-bottom: 1px solid #9eabb7; padding: 10px 12px; text-align: left; white-space: nowrap; } thead { position: sticky; top: 0; z-index: 100; } thead th { position: sticky !important; top: 0 !important; z-index: 100 !important; background: #e2e9ef !important; border: 1px solid #7f8c99 !important; color: #263240; font-size: 13px; font-weight: 800; box-shadow: 0 2px 0 #7f8c99; } .sticky-header { position: sticky !important; top: 0 !important; z-index: 100 !important; background: #e2e9ef !important; border: 1px solid #7f8c99 !important; } .data-table td { border: 1px solid #9eabb7 !important; } thead th:first-child, tbody td:first-child { border-left: 1px solid #9eabb7; } thead tr:first-child th { border-top: 1px solid #9eabb7; } tbody tr:hover { background: #f7fbfa; } .no-data { text-align: center; color: var(--muted); padding: 28px; } @media (max-width: 700px) { .topbar { flex-wrap: wrap; gap: 10px 16px; padding: 12px 16px; } .user { width: 100%; margin-left: 0; } .shell { width: calc(100vw - 20px); margin: 14px auto; } .auth-panel, .panel { padding: 18px; } .panel-head { align-items: flex-start; flex-direction: column; } .sheet-select { grid-column: auto; } .filter-actions { align-items: stretch; flex-direction: column; } .pager { grid-template-columns: 1fr; text-align: center; } .pager a:last-child { justify-self: stretch; } }