:root{--bg: #f5f7fb;--surface: #fff;--border: #f0f0f0;--border-soft: #fafafa;--muted: #8c8c8c;--today: #e6f4ff;--weekend: #cf1322;--grid: #f0f0f0}[data-theme=dark]{--bg: #0d1117;--surface: #141414;--border: #303030;--border-soft: #1f1f1f;--muted: #8b949e;--today: #112a45;--weekend: #ff7875;--grid: #303030}body{margin:0;background:var(--bg)}.page-header{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:16px}.page-header h2{margin:0}.logo{color:#fff;font-weight:700;font-size:18px;padding:18px 24px;letter-spacing:.3px;white-space:nowrap;overflow:hidden}.logo span{color:#58a6ff}.muted{color:var(--muted)}.timeline{overflow-x:auto;background:var(--surface);border-radius:8px;border:1px solid var(--border)}.timeline table{border-collapse:collapse;min-width:100%}.timeline th,.timeline td{border-bottom:1px solid var(--border);padding:0;height:36px}.timeline td.name{padding-top:4px!important;padding-bottom:4px!important}.timeline th.day{font-size:11px;font-weight:500;color:var(--muted);min-width:30px;text-align:center;border-left:1px solid var(--border-soft)}.timeline th.day.today,.timeline td.today{background:var(--today)}.timeline th.day.weekend{color:var(--weekend)}.timeline td.name{position:sticky;left:0;background:var(--surface);z-index:2;padding:0 12px;white-space:nowrap;min-width:220px;font-size:13px;border-right:1px solid var(--border)}.timeline td.cell{position:relative;border-left:1px solid var(--border-soft)}.bar{position:absolute;top:6px;height:24px;border-radius:4px;color:#fff;font-size:11px;line-height:24px;padding:0 6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer;z-index:1;border:1px solid #fff;box-sizing:border-box}[data-theme=dark] .bar{border-color:var(--surface)}.bar.reserved{background:#d48806}.bar.active{background:#1f6feb}.bar.overdue{background:#cf1322}.bar.returned,.bar.closed{background:#8c8c8c}@media print{.no-print{display:none!important}body{background:#fff}}.contract{max-width:800px;margin:0 auto;background:#fff;padding:40px;font-size:14px;line-height:1.6;color:#000}.contract table{width:100%;border-collapse:collapse;margin:12px 0}.contract th,.contract td{border:1px solid #000;padding:4px 8px;text-align:left}.contract .sign{display:flex;justify-content:space-between;margin-top:48px}.timeline th.corner{position:sticky;left:0;background:var(--surface);z-index:3;text-align:left;padding:0 12px}.app-header{padding:0 16px;display:flex;justify-content:space-between;align-items:center;gap:8px;background:var(--surface)!important;border-bottom:1px solid var(--border)}
