@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,400;0,500;0,600;0,700&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'DM Sans', -apple-system, sans-serif;
  background: #f5f8f6;
  color: #2a3b30;
  min-height: 100vh;
  -webkit-tap-highlight-color: transparent;
}

.container {
  max-width: 520px;
  margin: 0 auto;
  padding: 20px 16px 40px;
}

/* Date bar */
.hub-date {
  font-size: 13px;
  color: #7a9a84;
  font-weight: 500;
  margin-bottom: 12px;
  letter-spacing: 0.3px;
}

/* Hero */
.hub-hero {
  margin-bottom: 24px;
}

.hub-hero h1 {
  font-size: 32px;
  font-weight: 700;
  color: #1e3528;
  letter-spacing: -0.5px;
  margin-bottom: 4px;
}

.hero-subtitle {
  font-size: 18px;
  color: #4a6b5a;
  font-weight: 500;
}

/* Monday card */
.monday-card {
  background: #fff;
  border-radius: 14px;
  padding: 24px;
  margin-top: 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  box-shadow: 0 2px 12px rgba(45,90,61,0.06);
  border: 1px solid #d0ddd4;
}

.monday-icon {
  font-size: 32px;
  flex-shrink: 0;
}

.monday-text strong {
  display: block;
  font-size: 17px;
  color: #1e3528;
  margin-bottom: 6px;
}

.monday-text p {
  font-size: 14px;
  color: #5a7a64;
  line-height: 1.5;
}

.monday-text a {
  color: #2d5a3d;
  font-weight: 600;
}

/* Session plan */
.session-plan {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 16px;
  box-shadow: 0 2px 12px rgba(45,90,61,0.06);
  border: 2px solid;
}

.session-header {
  padding: 12px 20px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
}

.session-block {
  padding: 16px 20px;
  border-bottom: 1px solid #eef2ef;
}

.session-block:last-child {
  border-bottom: none;
}

.block-header {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.block-icon {
  font-size: 18px;
}

.block-label {
  font-weight: 600;
  font-size: 15px;
  color: #1e3528;
  flex: 1;
}

.block-mins {
  font-size: 12px;
  color: #8fa898;
  font-weight: 500;
}

.block-link {
  font-size: 13px;
  color: #2d5a3d;
  font-weight: 600;
  text-decoration: none;
  background: #e8f5ec;
  padding: 4px 10px;
  border-radius: 6px;
}

.block-link:hover {
  background: #d4ecda;
}

.block-detail {
  margin-top: 8px;
  font-size: 14px;
  color: #4a6b5a;
  line-height: 1.5;
}

.block-detail strong {
  color: #1e3528;
}

.block-meta {
  display: block;
  font-size: 12px;
  color: #8fa898;
  margin-top: 2px;
}

/* Expressive exercises */
.expr-unit {
  font-weight: 600;
  color: #1e3528;
  margin-bottom: 8px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.expr-sentence {
  padding: 6px 0;
  font-size: 14px;
  color: #2a3b30;
  border-bottom: 1px solid #f0f4f1;
  line-height: 1.4;
}

.expr-sentence:last-child {
  border-bottom: none;
}

/* Complete button */
.complete-btn {
  width: 100%;
  background: #2d5a3d;
  color: #e8f5ec;
  border: none;
  border-radius: 12px;
  padding: 16px 20px;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s;
  margin-bottom: 32px;
}

.complete-btn:hover { background: #3a6f4e; }
.complete-btn:active { background: #1e4a2d; }

/* Log */
.log-section {
  margin-bottom: 32px;
}

.log-section h2 {
  font-size: 16px;
  color: #1e3528;
  margin-bottom: 12px;
  font-weight: 600;
}

.log-entry {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #eef2ef;
  font-size: 13px;
  align-items: baseline;
}

.log-date {
  color: #7a9a84;
  min-width: 120px;
  font-weight: 500;
}

.log-session {
  color: #2a3b30;
  font-weight: 600;
  min-width: 140px;
}

.log-sparks {
  color: #8fa898;
  font-size: 12px;
}

/* Footer */
.hub-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #e0e8e2;
  padding-top: 16px;
}

.drill-link {
  color: #2d5a3d;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
}

.drill-link:hover { text-decoration: underline; }

.reset-btn {
  background: none;
  border: none;
  color: #b0b8b2;
  font-size: 12px;
  cursor: pointer;
  font-family: inherit;
}

.reset-btn:hover { color: #8a908c; }

/* Responsive */
@media (max-width: 400px) {
  .hub-hero h1 { font-size: 26px; }
  .log-entry { flex-direction: column; gap: 2px; }
  .log-date { min-width: auto; }
  .log-session { min-width: auto; }
}
