body{color:#172033;background:#f5f7fb;margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.layout{height:100vh;min-height:100vh;display:flex;overflow:hidden}.side{color:#fff;box-sizing:border-box;background:#111827;flex-direction:column;width:240px;height:100vh;padding:20px;display:flex;position:sticky;top:0;overflow:auto}.side h2{margin-bottom:18px;font-size:18px}.side a{color:#d1d5db;padding:10px 0;text-decoration:none;display:block}.side a.router-link-active{color:#fff;font-weight:700}.main{box-sizing:border-box;flex:1;height:100vh;padding:24px;overflow:auto}.card{background:#fff;border-radius:12px;margin-bottom:16px;padding:18px;box-shadow:0 4px 12px #0000000d}.grid{grid-template-columns:repeat(4,1fr);gap:16px;display:grid}.grid.two{grid-template-columns:1fr 1fr}.num{margin-top:8px;font-size:28px;font-weight:700}.table{border-collapse:collapse;background:#fff;border-radius:12px;width:100%;overflow:hidden}.table th,.table td{text-align:left;vertical-align:top;border-bottom:1px solid #eef2f7;padding:12px}.badge{background:#e5e7eb;border-radius:999px;padding:4px 8px;font-size:12px}.badge.高{color:#991b1b;background:#fee2e2}.badge.中{color:#92400e;background:#fef3c7}.badge.低{color:#166534;background:#dcfce7}textarea,input,select{box-sizing:border-box;background:#fff;border:1px solid #d1d5db;border-radius:8px;width:100%;margin:6px 0;padding:10px}button{color:#fff;cursor:pointer;background:#2563eb;border:0;border-radius:8px;margin-right:8px;padding:10px 16px}.viewer-box{background:#ffffff14;border-radius:10px;margin-bottom:14px;padding:10px}.viewer-box label{color:#e5e7eb;font-size:13px;display:block}.viewer-box input{color:#111827;background:#fff}.viewer-box small{color:#cbd5e1;line-height:1.5}.filter{flex-wrap:wrap;align-items:end;gap:10px;display:flex}.filter label{color:#64748b;font-size:13px}.filter input,.filter select{width:260px}.month-title{margin-left:8px;font-size:20px;font-weight:700}.calendar{background:#dbe3ef;border:1px solid #dbe3ef;border-radius:12px;grid-template-columns:repeat(7,minmax(150px,1fr));gap:1px;display:grid;overflow:hidden}.cal-head{text-align:center;background:#eef2ff;padding:10px;font-weight:700}.cal-cell{box-sizing:border-box;background:#fff;min-height:150px;padding:8px}.cal-cell.muted{color:#94a3b8;background:#f8fafc}.date-no{color:#475569;margin-bottom:6px;font-weight:700}.event{color:#0f172a;background:#eff6ff;border-left:4px solid #3b82f6;border-radius:6px;margin:5px 0;padding:6px;font-size:12px;line-height:1.45}.event.高{background:#fef2f2;border-left-color:#ef4444}.event.中{background:#fffbeb;border-left-color:#f59e0b}.event.低{background:#f0fdf4;border-left-color:#22c55e}.event small{color:#475569;max-height:48px;display:block;overflow:hidden}pre{color:#e5e7eb;background:#0f172a;border-radius:10px;padding:12px;overflow:auto}@media (width<=1100px){.layout{height:auto;display:block;overflow:visible}.side{width:auto;height:auto;display:block;position:relative}.main{height:auto}.grid,.grid.two{grid-template-columns:repeat(2,1fr)}.calendar{grid-template-columns:repeat(1,1fr)}.cal-head{display:none}.filter input,.filter select{width:100%}}.grid.four{grid-template-columns:repeat(4,1fr)}.stat span{color:#64748b;font-size:13px;display:block}.stat b{margin-top:6px;font-size:30px;display:block}.muted-text{color:#64748b}.inner{box-shadow:none;background:#f8fafc;margin-top:14px}.chips{flex-wrap:wrap;gap:6px;display:flex}.chip{color:#3730a3;background:#eef2ff;border-radius:999px;margin:2px;padding:4px 8px;font-size:12px;display:inline-block}.org-tree{font-size:14px}.org-node{border-left:2px solid #dbeafe;margin:4px 0;padding:8px 0 8px 12px}.org-title{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.org-id{color:#64748b;font-size:12px}.org-leader{color:#166534;background:#dcfce7;border-radius:999px;padding:2px 8px;font-size:12px}.org-users{padding:6px 0}.org-children{margin-left:12px}.level{white-space:nowrap;background:#e5e7eb;border-radius:999px;padding:4px 8px;font-size:12px;display:inline-block}.level-1{color:#991b1b;background:#fee2e2}.level-2{color:#9a3412;background:#ffedd5}.level-3{color:#92400e;background:#fef3c7}.level-4{color:#166534;background:#dcfce7}.level-0{color:#374151;background:#e5e7eb}.table.compact th,.table.compact td{padding:8px}@media (width<=1100px){.grid.four{grid-template-columns:repeat(2,1fr)}}.hint{color:#8a5a00;margin-left:10px;font-size:12px}.event .problem{color:#9f1239;margin-top:4px;display:block}.event .action{color:#166534;margin-top:3px;display:block}.login-page{background:#f5f7fb;justify-content:center;align-items:center;min-height:100vh;display:flex}.login-card{text-align:center;background:#fff;border:1px solid #e5e7eb;border-radius:14px;width:420px;max-width:92vw;padding:28px;box-shadow:0 10px 30px #0f172a14}.login-card h1{margin:0 0 12px;font-size:24px}.login-card button{color:#fff;cursor:pointer;background:#1677ff;border:0;border-radius:10px;margin-top:16px;padding:10px 18px}.error-text{color:#dc2626;text-align:left;background:#fef2f2;border:1px solid #fecaca;border-radius:8px;padding:8px}.viewer-box.authed b{color:#111827;margin:4px 0;display:block}.viewer-box .ghost{color:#374151;cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:6px;margin-top:8px;padding:4px 8px}.readonly-user{color:#111827;background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;height:34px;padding:0 10px;line-height:34px}.side-badge{color:#92400e;background:#fef3c7;border-radius:999px;margin-top:6px;padding:3px 8px;font-size:12px;display:inline-block}.personnel-table select{min-width:110px}.reminder-cell label{color:#334155;margin:4px 0;display:block}.reminder-cell input{width:auto;margin-right:6px}.reminder-cell small{color:#64748b}.personnel-table td{font-size:13px}.personnel-table th{white-space:nowrap}.tabs{gap:8px;margin-bottom:12px;display:flex}.tabs button{color:#374151;background:#e5e7eb}.tabs button.active{color:#fff;background:#2563eb}.report-item{background:#f8fafc;border:1px solid #e5e7eb;border-radius:10px;margin:10px 0;padding:12px}.report-item h4{margin:0 0 4px}.report-item small{color:#64748b}.event{cursor:pointer}.event.plan{background:#e0f2fe;border-left-color:#0284c7}.event.progress{background:#eff6ff;border-left-color:#3b82f6}.event.summary{background:#f5f3ff;border-left-color:#8b5cf6}.event.report{background:#fff7ed;border-left-color:#f97316}.modal-mask{z-index:9999;background:#0f172a73;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.modal-card{background:#fff;border-radius:14px;width:720px;max-width:92vw;max-height:82vh;padding:20px;overflow:auto;box-shadow:0 24px 80px #00000040}.modal-card.wide{width:920px}.modal-close{float:right;background:#64748b}.detail-pre{white-space:pre-wrap;color:#0f172a;background:#f8fafc;border:1px solid #e5e7eb;max-height:360px;overflow:auto}.detail-row{background:#f8fafc;border:1px solid #e5e7eb;border-radius:10px;margin:8px 0;padding:10px}.detail-row pre{white-space:pre-wrap;color:#0f172a;background:0 0;max-height:none;margin:6px 0 0;padding:0;overflow:visible}.day-block{background:#eff6ff;border-left-color:#3b82f6}.mini-title{color:#334155;background:#f1f5f9;border-radius:6px;margin-top:4px;padding:2px 6px;display:block}.mini-title.plan{color:#1d4ed8;background:#dbeafe}.mini-title.progress{color:#0369a1;background:#e0f2fe}.mini-title.daily_summary{color:#6d28d9;background:#ede9fe}.mini-title.weekly_report,.mini-title.monthly_report,.mini-title.quarterly_report{color:#c2410c;background:#ffedd5}.mini-title.rd_task{color:#166534;background:#dcfce7}.detail-section{border-top:1px solid #e5e7eb;margin-top:12px;padding-top:8px}.chip.done{color:#166534;background:#dcfce7}.danger{background:#dc2626}.small{padding:5px 10px;font-size:12px}.rd-form{grid-template-columns:repeat(2,minmax(240px,1fr));gap:10px;display:grid}.rd-form h3,.rd-form textarea,.rd-form button{grid-column:1/-1}.rd-form input,.rd-form select,.rd-form textarea{margin:0}.table tr{cursor:pointer}.table tr:hover{background:#f8fafc}.form-grid{grid-template-columns:150px 1fr;align-items:start;gap:10px;display:grid}.form-grid label{color:#334155;padding-top:12px;font-weight:600}.richbox{background:#fff;border:1px solid #d1d5db;border-radius:8px;min-height:180px;padding:10px;overflow:auto}.modal-actions{gap:8px;margin-top:14px;display:flex}.rd-modal input,.rd-modal select,.rd-modal textarea{margin:0}button.active{color:#1d4ed8;background:#eff6ff;border-color:#2563eb;font-weight:700}.side-spacer{flex:1;min-height:18px}.side .bottom-link{border-top:1px solid #ffffff1f;margin-top:12px;padding-top:14px}.owner-input-row{align-items:center;gap:8px;display:flex}.owner-input-row input{flex:1}.owner-input-row select{width:220px}.filter .owner-filter{min-width:260px}.status-tabs button.active{color:#fff;background:#2563eb}.table td .inline-owner{min-width:180px}
