.command-center {
  position: relative;
  margin: 12px 0 20px;
  padding: 13px 15px;
  border: 1px solid rgba(201, 166, 96, .23);
  border-radius: 13px;
  background:
    linear-gradient(90deg, rgba(201, 166, 96, .075), transparent 34%),
    rgba(22, 20, 25, .88);
  box-shadow: 0 14px 36px rgba(0, 0, 0, .22);
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
}
.command-center:hover { border-color: rgba(201, 166, 96, .34); }
.command-center.is-collapsed { background: rgba(22, 20, 25, .78); }
.agenda-toolbar {
  display: grid;
  grid-template-columns: minmax(230px, 1fr) auto auto;
  align-items: center;
  gap: 12px;
}
.agenda-identity { min-width: 0; }
.command-kicker {
  color: var(--champagne);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.agenda-title-row { display: flex; align-items: center; gap: 11px; min-width: 0; }
.agenda-title-row h2 {
  margin: 2px 0 0;
  color: #f3eee4;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -.015em;
  white-space: nowrap;
}
.agenda-summary {
  overflow: hidden;
  padding: 4px 8px;
  border: 1px solid rgba(130, 220, 168, .18);
  border-radius: 999px;
  background: rgba(130, 220, 168, .06);
  color: #a8d7bc;
  font-size: 9px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.agenda-summary.has-urgent { border-color: rgba(237, 152, 111, .26); background: rgba(237, 152, 111, .08); color: #edaa8b; }
.command-actions { display: flex; gap: 7px; align-items: center; }
.command-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 7px 11px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(255,255,255,.03);
  color: var(--text);
  cursor: pointer;
  font-size: 10px;
  font-weight: 700;
  text-decoration: none;
  transition: border-color .16s ease, background .16s ease, color .16s ease;
}
.command-button:hover { border-color: rgba(201,166,96,.5); background: var(--champagne-soft); color: #f1dba7; }
.command-button.primary { border-color: var(--champagne); background: var(--champagne); color: #1a1510; }
.command-button.primary:hover { background: #ddc17f; color: #17120d; }
.notification-button span { display:inline-grid; place-items:center; min-width:17px; height:17px; margin-left:4px; padding:0 5px; border-radius:999px; background:#d77f68; color:#fff; font-size:8px; }
.notification-button span[hidden] { display:none; }
.agenda-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 32px;
  padding: 6px 9px;
  border: 0;
  border-left: 1px solid var(--line-soft);
  background: transparent;
  color: var(--dim);
  cursor: pointer;
  font: inherit;
  font-size: 9px;
}
.agenda-toggle:hover { color: var(--champagne); }
.agenda-chevron { color: var(--champagne); font-size: 15px; line-height: 1; }
.agenda-body { margin-top: 11px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.065); }
.agenda-body[hidden] { display: none; }
.focus-panel { min-width: 0; }
.focus-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.focus-head span:last-child { color: var(--dim); font-weight: 500; letter-spacing: 0; text-transform: none; }
.focus-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.focus-case {
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  min-height: 62px;
  padding: 9px 10px;
  border: 1px solid rgba(255,255,255,.045);
  border-radius: 9px;
  background: rgba(5, 5, 7, .22);
  color: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: background .16s ease, border-color .16s ease, transform .16s ease;
}
.focus-case:hover { transform: translateY(-1px); border-color: rgba(201,166,96,.28); background: rgba(201,166,96,.055); }
.focus-dot { width: 7px; height: 7px; border-radius: 50%; background: #83d7a7; box-shadow: 0 0 0 4px rgba(131,215,167,.08); }
.focus-case.is-today .focus-dot { background: #e7c36e; box-shadow: 0 0 0 4px rgba(231,195,110,.09); }
.focus-case.is-overdue .focus-dot { background: #ed986f; box-shadow: 0 0 0 4px rgba(237,152,111,.09); }
.focus-case.is-unscheduled .focus-dot { background: #908b98; box-shadow: 0 0 0 4px rgba(144,139,152,.08); }
.focus-client { display: block; overflow: hidden; color: #f4eee4; font-size: 11px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.focus-meta { display: block; margin-top: 2px; overflow: hidden; color: var(--dim); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.focus-meta b { color: #edaa8b; font-weight: 800; }
.focus-next { grid-column: 2; min-width: 0; margin-top: -2px; }
.focus-next strong { display: block; overflow: hidden; color: var(--muted); font-size: 9.5px; text-overflow: ellipsis; white-space: nowrap; }
.focus-next span { color: var(--dim); font-size: 8.5px; }
.focus-case.is-overdue .focus-next span { color: #edaa8b; }
.focus-calm {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 24px 1fr;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid rgba(130, 220, 168, .17);
  border-radius: 8px;
  background: rgba(130, 220, 168, .045);
  color: var(--muted);
  font-size: 9.5px;
  line-height: 1.4;
}
.focus-calm strong { color: #bdebcf; }
.focus-calm-icon { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(130,220,168,.11); color: #82dca8; font-size: 11px; font-weight: 800; }
.focus-calm.needs-plan { border-color: rgba(201,166,96,.18); background: rgba(201,166,96,.045); }
.focus-calm.needs-plan strong, .focus-calm.needs-plan .focus-calm-icon { color: #ddc17f; }
.focus-calm.needs-plan .focus-calm-icon { background: rgba(201,166,96,.11); }
.focus-empty, .focus-error { grid-column: 1 / -1; display: grid; place-items: center; align-content: center; gap: 4px; min-height: 68px; color: var(--dim); font-size: 10px; text-align: center; }
.focus-empty strong { color: var(--muted); font-size: 11px; }
.focus-empty span { max-width: 280px; line-height: 1.45; }
.focus-skeleton { height: 62px; border-radius: 9px; background: linear-gradient(90deg, rgba(255,255,255,.02), rgba(255,255,255,.055), rgba(255,255,255,.02)); background-size: 200% 100%; animation: focusLoading 1.4s ease infinite; }
@keyframes focusLoading { to { background-position: -200% 0; } }

@media (max-width: 780px) {
  .agenda-toolbar { grid-template-columns: 1fr auto; }
  .command-actions { grid-column: 1; grid-row: 2; justify-content: flex-start; }
  .agenda-toggle { grid-column: 2; grid-row: 1 / span 2; align-self: stretch; }
  .focus-list { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .command-center { padding: 12px; }
  .agenda-title-row { align-items: flex-start; flex-direction: column; gap: 5px; }
  .agenda-title-row h2 { font-size: 21px; }
  .agenda-toggle-label { display: none; }
  .agenda-toggle { padding-left: 10px; }
  .command-actions { display:grid; grid-template-columns:1fr 1fr; width:100%; }
  .command-button { min-height: 34px; padding: 6px 8px; text-align:center; }
  .command-button.primary { grid-column:1 / -1; }
  .focus-head span:last-child { display: none; }
}
