.dc { display: grid; gap: 20px; }
.dc .brief h1 { font-size: 38px; }
.accts { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.acct { position: relative; display: grid; gap: 4px; padding: 18px; }
.acct-top { display: flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; margin-bottom: 8px; }
.acct-top svg { width: 16px; height: 16px; }
.acct-top small { font-weight: 400; color: var(--text-3); font-size: 12px; margin-left: auto; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 9em; }
.acct > b { font-size: 32px; line-height: 1.15; font-weight: 700; }
.acct-foot { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--hairline); font-size: 13px; color: var(--text-2); }
.acct-foot b { color: var(--text-1); font-weight: 600; }
.acct.off > b, .acct.off .m-sub, .acct.off .acct-foot { opacity: .4; }
.acct-warn { margin-top: 10px; padding: 8px 10px; border-radius: 10px; background: var(--down-soft); color: var(--down); font-size: 12.5px; }
.dc-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 18px; }
.legend { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 400; color: var(--text-3); }
.legend i { width: 14px; height: 3px; border-radius: 2px; margin-left: 10px; }
.legend i.dash { background: repeating-linear-gradient(90deg, var(--text-3) 0 4px, transparent 4px 8px); }
.chart-wrap { padding: 0 22px 18px; }
.chart { width: 100%; height: 200px; display: block; }
.chart line { stroke: var(--hairline); }
.chart path { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.chart path.draw, .spk path.draw { stroke-dasharray: 1; }
.chart-x { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--text-3); margin-top: 6px; }
.chart-note { margin-top: 10px; }
.cal { padding: 0 22px 18px; }
.cal-days, .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-days span { font-size: 11.5px; color: var(--text-3); text-align: center; padding-bottom: 6px; }
.cal-grid i { height: 26px; border-radius: 7px; background: var(--surface-2); }
.cal-grid i.on { background: color-mix(in srgb, var(--text-1) 62%, transparent); }
.cal-grid i.today { outline: 1.5px solid var(--text-1); outline-offset: 2px; }

.works { overflow: hidden; }
.wk-row { display: grid; grid-template-columns: 1.7fr repeat(5, 1fr); gap: 14px; align-items: center; padding: 16px 22px; border-top: 1px solid var(--hairline); }
.wk-head { font-size: 12.5px; color: var(--text-3); padding-block: 11px; }
.wk-head span { display: inline-flex; align-items: center; gap: 6px; }
.wk-head svg { width: 14px; height: 14px; }
.wk-row.open { background: var(--surface-2); }
.wk-title { display: grid; gap: 3px; }
.wk-title b { font-size: 16px; line-height: 1.45; font-weight: 700; }
.wk-title small { font-size: 12.5px; color: var(--text-3); }
.wk-title a { font-size: 12.5px; color: var(--accent); justify-self: start; }
.wk-cell { display: grid; gap: 2px; }
.wk-cell b { font-size: 16px; font-weight: 600; }
.spk { width: 84px; height: 28px; }
.spk path { fill: none; stroke: var(--text-2); stroke-width: 1.6; stroke-linecap: round; }
.takeoff { justify-self: start; font-style: normal; font-size: 11.5px; font-weight: 700; color: var(--bg); background: var(--up); padding: 1px 7px; border-radius: 6px; white-space: nowrap; }
.wk-detail { display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; padding: 6px 22px 24px; background: var(--surface-2); }
.wk-detail h4 { display: flex; align-items: center; font-size: 13.5px; font-weight: 600; color: var(--text-2); margin-bottom: 10px; }
.wk-detail .chart { height: 180px; }
.peer { display: flex; align-items: baseline; gap: 12px; margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: var(--surface-1); font-size: 13px; color: var(--text-2); }
.peer b.serif { font-size: 22px; color: var(--text-1); }
.peer .up { margin-left: auto; font-size: 15px; }
.wk-com p { display: grid; grid-template-columns: 60px 1fr; gap: 10px; padding: 8px 0; border-top: 1px solid var(--hairline); font-size: 14px; line-height: 1.6; }
.wk-com p .muted { font-size: 12px; padding-top: 2px; }
.mt { margin-top: 18px; }
.bar { display: grid; grid-template-columns: 60px 1fr 50px; gap: 10px; align-items: center; font-size: 13px; color: var(--text-2); padding: 5px 0; }
.bar i { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--ai) var(--v), var(--surface-1) var(--v)); }
.bar b { text-align: right; color: var(--text-1); font-weight: 600; }

.acct-top button:hover { text-decoration: underline; text-underline-offset: 3px; }
.dc .wk-title b { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
@media (max-width: 1100px) {
  .accts { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .acct { padding: 14px; }
  .acct-top small { min-width: 0; }
  .dc-grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .accts { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
  .dc-grid { grid-template-columns: 1fr; }
  .works { overflow-x: auto; }
  .wk-row { min-width: 620px; }
}
