:root {
  color: #17202a;
  background: #eef2f5;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.app {
  min-height: 100vh;
}

.login-view {
  display: grid;
  min-height: 100vh;
  padding: 24px;
  place-items: center;
}

.login-panel {
  width: min(100%, 390px);
  padding: 28px;
  border: 1px solid #d8dee7;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 16px 34px rgba(25, 33, 42, 0.08);
}

.brand-mark {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 8px;
  color: #ffffff;
  background: #1f6feb;
  font-weight: 900;
  place-items: center;
}

.login-panel h1,
.topbar h1,
.focus-card h2,
.meeting-card h2,
.section-heading h2 {
  margin: 0;
  letter-spacing: 0;
}

.login-panel h1 {
  font-size: 30px;
}

.login-panel p {
  margin: 8px 0 22px;
  color: #657182;
  line-height: 1.55;
}

.login-panel form {
  display: grid;
  gap: 10px;
}

.login-panel label {
  color: #4b5563;
  font-size: 14px;
  font-weight: 800;
}

.login-panel input {
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid #cfd7e2;
  border-radius: 8px;
  background: #f8fafc;
  font-size: 16px;
}

.login-panel button {
  min-height: 48px;
  margin-top: 8px;
  border: 0;
  border-radius: 8px;
  color: #ffffff;
  background: #1f6feb;
  font-weight: 900;
}

.error-text {
  min-height: 22px;
  margin-top: 12px;
  color: #b42318;
  font-size: 14px;
}

.today-view {
  width: min(100%, 760px);
  margin: 0 auto;
  padding: max(18px, env(safe-area-inset-top)) 16px max(24px, env(safe-area-inset-bottom));
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 4px 0 16px;
}

.eyebrow {
  margin: 0 0 4px;
  color: #64748b;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.topbar h1 {
  font-size: 34px;
  line-height: 1.05;
}

.icon-button {
  display: grid;
  width: 46px;
  height: 46px;
  border: 1px solid #d8dee7;
  border-radius: 8px;
  color: #17202a;
  background: #ffffff;
  font-size: 24px;
  place-items: center;
}

.status-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.status-row div,
.focus-card,
.meeting-card,
.content-section {
  border: 1px solid #d8dee7;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(25, 33, 42, 0.06);
}

.status-row div {
  padding: 12px;
}

.status-row span,
.section-label,
.item-meta {
  color: #657182;
  font-size: 13px;
}

.status-row strong {
  display: block;
  margin-top: 5px;
  overflow: hidden;
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.focus-card,
.meeting-card {
  margin-bottom: 12px;
  padding: 18px;
}

.focus-card {
  color: #ffffff;
  background: #19212a;
}

.focus-card .section-label,
.focus-card p {
  color: #b8c2cf;
}

.focus-card h2,
.meeting-card h2 {
  margin-top: 8px;
  font-size: 22px;
  line-height: 1.22;
}

.focus-card p,
.meeting-card p {
  margin: 8px 0 0;
  line-height: 1.5;
}

.content-section {
  margin-bottom: 12px;
  overflow: hidden;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 16px;
  border-bottom: 1px solid #e4e9f0;
}

.section-heading h2 {
  font-size: 18px;
}

.section-heading span {
  display: grid;
  min-width: 28px;
  height: 28px;
  border-radius: 999px;
  color: #ffffff;
  background: #1f6feb;
  font-size: 13px;
  font-weight: 900;
  place-items: center;
}

.list {
  display: grid;
}

.item {
  padding: 14px 16px;
  border-bottom: 1px solid #e4e9f0;
}

.item:last-child {
  border-bottom: 0;
}

.item-title {
  margin: 0;
  font-size: 16px;
  font-weight: 850;
  line-height: 1.45;
}

.item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 7px;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: #eef2f5;
  font-weight: 800;
}

.badge.p0 {
  color: #b42318;
  background: #fee4e2;
}

.empty {
  padding: 18px 16px;
  color: #657182;
  line-height: 1.5;
}

@media (min-width: 720px) {
  .today-view {
    padding-top: 28px;
  }
}
