.daily-work { background:#fff;border-top:1px solid #d9e3ef;padding:20px;min-width:0; }
.daily-toolbar { display:flex;align-items:center;justify-content:space-between;gap:24px;border-bottom:1px solid #d9e3ef;margin-bottom:16px;min-width:0; }
.daily-layout { display:flex;align-items:stretch;flex:none;border:1px solid #d1dce9;border-radius:6px;overflow:hidden; }
.daily-layout button { background:#fff;border:0;padding:8px 14px;cursor:pointer;color:#476183;font:inherit;font-size:13px; }
.daily-layout button[aria-pressed=true] { background:#edf4ff;color:#1857d5;font-weight:600; }
.daily-tabs { display:flex;gap:12px;min-width:0;overflow:auto; }
.daily-tabs button { flex:none;padding:12px 8px;border:0;border-bottom:3px solid transparent;background:none;color:#567093;font:inherit;cursor:pointer; }
.daily-tabs button[aria-selected=true] { color:#1f5eea;border-bottom-color:#1f5eea;font-weight:600; }
.daily-tabs span { margin-left:8px;font-size:12px; }
.daily-filters { display:flex;align-items:center;gap:12px;margin-bottom:16px;flex-wrap:wrap; }
.daily-filters select,.daily-filters input[type=search] { border:1px solid #d4dfec;border-radius:5px;min-height:36px;padding:7px 10px;font:inherit;font-size:13px;background:#fff;color:#263e60;min-width:0; }
.daily-filters select { width:145px; }
.daily-filters label { display:flex;align-items:center;gap:6px;white-space:nowrap;font-size:13px; }
.daily-filters input[type=search] { flex:1;min-width:190px; }
.daily-table-scroll { overflow:auto;max-width:100%; }
.daily-table { width:100%;min-width:900px;table-layout:fixed;border-collapse:collapse;font-size:13px; }
.daily-table.compact { min-width:650px; }
.daily-table th { background:#f4f7fa;font-weight:500;color:#536b89; }
.daily-table th,.daily-table td { padding:13px 12px;border-bottom:1px solid #e3ebf3;text-align:left;white-space:normal;overflow-wrap:anywhere;vertical-align:middle; }
.daily-table small,.daily-group small { display:block;font-size:12px;color:#687f9a;margin-top:6px; }
.daily-title { display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;background:none;border:0;padding:0;color:#205ad7;text-align:left;font:inherit;font-weight:600;line-height:1.6;cursor:pointer;width:100%;overflow-wrap:anywhere; }
.daily-status { display:inline-block;font-size:12px;padding:3px 7px;border-radius:4px;background:#edf1f5;color:#617389;white-space:nowrap; }
.daily-status.pending,.daily-status.in_progress { color:#935a00;background:#fff5da; }
.daily-status.completed { color:#087f60;background:#e6f6ef; }
.daily-table .plan-period-overdue { color:#b42318; }
.daily-pager { display:flex;gap:12px;justify-content:flex-end;align-items:center;margin-top:18px;font-size:13px;color:#657e9a; }
.daily-pager>span:first-child { margin-right:auto; }
.daily-empty { padding:42px 16px!important;text-align:center!important;color:#7a8da6; }
.daily-error { padding:12px;background:#fff0f0;color:#b42318;margin-bottom:12px; }
.daily-group { border-bottom:1px solid #d9e3ef; }
.daily-group-heading { display:grid;grid-template-columns:18px minmax(0,1fr) 110px 110px;align-items:center;gap:12px;width:100%;padding:18px 12px;background:#f7f9fc;border:0;text-align:left;color:#193251;font:inherit;font-size:13px;cursor:pointer; }
.daily-group-heading strong { display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis; }
.daily-group-heading[aria-expanded=true] .period-chevron { transform:rotate(90deg); }
.daily-group-owner { overflow-wrap:anywhere; }
.daily-notices>button { display:flex;flex-direction:column;gap:8px;text-align:left;width:100%;padding:18px 0;border:0;border-bottom:1px solid #d9e3ef;background:none;color:#263e60;font:inherit;cursor:pointer;overflow-wrap:anywhere; }
.daily-notices small { color:#6b809d; }
@media(max-width:700px){
  .daily-work { padding:14px 10px; }
  .daily-toolbar { flex-wrap:wrap;gap:8px;padding-bottom:8px; }
  .daily-layout button { padding:8px; }
  .daily-filters { gap:8px; }
  .daily-filters select { width:calc(50% - 4px); }
  .daily-filters input[type=search] { min-width:100%; }
  .daily-group-heading { grid-template-columns:14px minmax(0,1fr) 88px;gap:8px;padding:14px 8px; }
  .daily-group-owner { display:none; }
  .daily-table,.daily-table.compact,.daily-table tbody { display:block;min-width:0;width:100%; }
  .daily-table colgroup,.daily-table thead { display:none; }
  .daily-table tbody tr { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px;padding:14px 2px;border-bottom:1px solid #e3ebf3; }
  .daily-table td { display:block;padding:3px 0;border:0;min-width:0; }
  .daily-table td:first-child { grid-column:1/-1; }
  .daily-table:not(.compact) td:nth-child(3)::before { content:'开始日期'; }
  .daily-table:not(.compact) td:nth-child(4)::before { content:'截止日期'; }
  .daily-table:not(.compact) td:nth-child(6)::before { content:'项目负责人'; }
  .daily-table.compact td:nth-child(2)::before { content:'开始日期'; }
  .daily-table.compact td:nth-child(3)::before { content:'截止日期'; }
  .daily-table.compact td:nth-child(5)::before { content:'完成日期'; }
  .daily-table td::before { display:block;color:#6b809d;font-size:12px;margin-bottom:4px; }
  .daily-table td:last-child:not(:first-child) { grid-column:2;text-align:right;align-self:end; }
  .daily-table .daily-empty { grid-column:1/-1; }
}
