.dashboard-home{display:block}
.dashboard-stats{margin-bottom:16px}
.dashboard-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:16px}
.dashboard-column{display:flex;flex-direction:column;gap:16px;min-width:0}
.dashboard-card{background:var(--bg-elevated);border:1px solid var(--border);border-radius:10px;padding:20px}
.dashboard-summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:16px}
.dashboard-summary-item{padding:14px 16px;border:1px solid var(--border);border-radius:8px;background:var(--bg)}
.dashboard-summary-label{font-size:12px;color:var(--text-tertiary);margin-bottom:6px}
.dashboard-summary-value{font-size:18px;font-weight:600;color:var(--text-primary)}
.dashboard-summary-note{margin-top:4px;font-size:12px;color:var(--text-secondary)}
.dashboard-progress-list{display:flex;flex-direction:column;gap:12px}
.dashboard-progress-item{padding:14px 16px;border:1px solid var(--border);border-radius:8px;background:var(--bg)}
.dashboard-progress-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}
.dashboard-progress-title{font-size:13px;font-weight:500;color:var(--text-primary)}
.dashboard-progress-value{font-size:13px;color:var(--text-secondary)}
.dashboard-progress-note{font-size:12px;color:var(--text-secondary);margin-top:8px}
.dashboard-progress-track{height:6px;background:var(--bg-hover);border-radius:999px;overflow:hidden}
.dashboard-progress-fill{height:100%;background:var(--accent);border-radius:999px}
.dashboard-progress-fill.positive{background:var(--green)}
.dashboard-progress-fill.warning{background:var(--red)}
.dashboard-quick-grid{grid-template-columns:1fr 1fr}
.dashboard-quick-grid .quick-btn{padding:18px 12px}
.dashboard-link-list,.dashboard-compact-list,.dashboard-memo-list{display:flex;flex-direction:column}
.dashboard-link-btn,.dashboard-compact-item,.dashboard-memo-item{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--border);background:none;border-left:none;border-right:none;border-top:none;text-align:left;cursor:pointer;font-family:inherit}
.dashboard-link-btn:last-child,.dashboard-compact-item:last-child,.dashboard-memo-item:last-child{border-bottom:none;padding-bottom:0}
.dashboard-link-btn:first-child,.dashboard-compact-item:first-child,.dashboard-memo-item:first-child{padding-top:0}
.dashboard-link-main,.dashboard-item-main,.dashboard-memo-main{flex:1;min-width:0}
.dashboard-link-title,.dashboard-item-title,.dashboard-memo-title{font-size:14px;font-weight:500;color:var(--text-primary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dashboard-link-desc,.dashboard-item-meta,.dashboard-memo-meta{font-size:12px;color:var(--text-secondary);margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dashboard-link-arrow{font-size:16px;color:var(--text-tertiary)}
.dashboard-item-icon{width:32px;height:32px;border-radius:8px;background:var(--bg-hover);display:flex;align-items:center;justify-content:center;flex-shrink:0}
.dashboard-item-icon svg{width:16px;height:16px}
.dashboard-item-amount{font-size:14px;font-weight:500;flex-shrink:0}
.dashboard-item-amount.in{color:var(--green)}
.dashboard-item-amount.out{color:var(--text-primary)}
.dashboard-memo-dot{width:8px;height:8px;border-radius:50%;background:var(--text-tertiary);flex-shrink:0}
.dashboard-memo-dot.priority-high{background:#ef4444}
.dashboard-memo-dot.priority-medium{background:#f59e0b}
.dashboard-memo-dot.priority-low{background:#94a3b8}
.dashboard-memo-tag{font-size:12px;color:var(--text-tertiary);flex-shrink:0}
@media(max-width:960px){
  .dashboard-layout{grid-template-columns:1fr}
}
@media(max-width:768px){
  .dashboard-home .dashboard-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .dashboard-home .dashboard-stats .stat-card{margin:0;min-width:0;padding:16px}
  .dashboard-card{padding:16px}
  .dashboard-summary-grid{grid-template-columns:1fr}
  .dashboard-card .section-header{gap:8px;flex-wrap:wrap}
  .dashboard-progress-row{flex-direction:column;align-items:flex-start;gap:4px}
  .dashboard-quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .dashboard-link-btn,.dashboard-compact-item,.dashboard-memo-item{width:100%;padding:14px 0;align-items:flex-start}
  .dashboard-link-title,.dashboard-item-title,.dashboard-memo-title{white-space:normal;line-height:1.5}
  .dashboard-link-desc,.dashboard-item-meta,.dashboard-memo-meta{white-space:normal;line-height:1.5}
  .dashboard-compact-item,.dashboard-memo-item{flex-wrap:wrap}
  .dashboard-item-main{flex:1 1 calc(100% - 44px)}
  .dashboard-item-amount{width:100%;margin-left:44px;text-align:left}
  .dashboard-memo-main{flex:1 1 calc(100% - 20px)}
  .dashboard-memo-tag{width:100%;margin-left:20px}
}
@media(max-width:480px){
  .dashboard-home .dashboard-stats{grid-template-columns:1fr}
  .dashboard-card{padding:14px}
  .dashboard-summary-item,.dashboard-progress-item{padding:12px 14px}
  .dashboard-quick-grid{grid-template-columns:1fr}
}
