:root {
  --bg: #07111f;
  --panel: #0f1e33;
  --panel-2: #142a45;
  --text: #eaf3ff;
  --muted: #a7bdd8;
  --accent: #1f5a93;
  --accent-2: #ff7f2a;
  --warn: #ffcf4a;
  --danger: #ff6b6b;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: linear-gradient(160deg, #07111f, #0d1f34 60%, #0a1728);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Arial, sans-serif;
}
.board {
  height: calc(100vh - 88px);
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 16px;
  padding: 16px;
}
.calendar-panel, .todo-panel {
  background: rgba(15, 30, 51, 0.92);
  border: 1px solid rgba(112, 172, 236, 0.22);
  border-radius: 16px;
  overflow: hidden;
}
.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 18px;
  background: rgba(20, 42, 69, 0.8);
  border-bottom: 1px solid rgba(112, 172, 236, 0.2);
}
.brand-head { align-items: center; }
.brand-wrap { display: flex; align-items: center; gap: 14px; }
.brand-logo {
  width: 280px;
  height: 66px;
  object-fit: contain;
}
.brand-sub {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: #d8e5f7;
  font-weight: 700;
  margin-top: 2px;
}
.panel-head h1, .panel-head h2 { margin: 0; }
.panel-head h1 { font-size: 2rem; }
.panel-head h2 { font-size: 1.25rem; }
.sub { color: var(--muted); font-size: 0.95rem; }
.weekday-row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  padding: 8px 10px;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.02em;
}
.weekday-row div { text-align: center; }
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-auto-rows: 1fr;
  gap: 8px;
  padding: 10px;
  height: calc(100% - 110px);
}
.day-cell {
  background: rgba(8, 19, 34, 0.9);
  border: 1px solid rgba(112, 172, 236, 0.2);
  border-radius: 12px;
  padding: 8px;
  min-height: 110px;
  display: flex;
  flex-direction: column;
}
.day-cell.other { opacity: 0.45; }
.day-cell.today { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(55, 199, 255, 0.2) inset; }
.day-num { font-weight: 800; font-size: 1rem; }
.events { margin-top: 6px; display: flex; flex-direction: column; gap: 6px; }
.event {
  background: rgba(31, 90, 147, 0.24);
  border-left: 4px solid var(--accent-2);
  border-radius: 6px;
  padding: 4px 6px;
  font-size: 0.85rem;
  line-height: 1.2;
}
.event.warn { border-left-color: var(--warn); background: rgba(255, 207, 74, 0.15); }
.event.alert { border-left-color: var(--danger); background: rgba(255, 107, 107, 0.2); }
.todo-panel { display: flex; flex-direction: column; }
.todo-list, .notes-list {
  list-style: none;
  margin: 0;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.todo-list li, .notes-list li {
  background: rgba(8, 19, 34, 0.8);
  border: 1px solid rgba(112, 172, 236, 0.2);
  border-radius: 10px;
  padding: 10px;
  font-size: 1rem;
}
.todo-list li::before { content: "☐ "; color: var(--accent-2); font-weight: 700; }
.notes-list li::before { content: "• "; color: var(--warn); font-weight: 700; }
.ticker-wrap {
  height: 72px;
  display: grid;
  grid-template-columns: 120px 1fr;
  align-items: center;
  background: #04101d;
  border-top: 1px solid rgba(112, 172, 236, 0.25);
}
.ticker-label {
  text-align: center;
  font-weight: 900;
  color: #ffb2b2;
  letter-spacing: 0.06em;
}
.ticker-viewport { overflow: hidden; white-space: nowrap; }
.ticker-track {
  display: inline-block;
  padding-left: 100%;
  animation: ticker 35s linear infinite;
  font-size: 1.2rem;
  font-weight: 700;
}
.ticker-item { margin-right: 56px; color: #fff0a6; }
@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}
ranslateX(-100%); }
}
: 0.06em;
}
.ticker-viewport { overflow: hidden; white-space: nowrap; }
.ticker-track {
  display: inline-block;
  padding-left: 100%;
  animation: ticker 35s linear infinite;
  font-size: 1.2rem;
  font-weight: 700;
}
.ticker-item { margin-right: 56px; color: #fff0a6; }
@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}
