/* ─── Yearly today card ───────────────────────────────────────────────────── */

.yearly-header {
  margin-bottom: 16px;
}

.yh-day {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: .04em;
  margin-bottom: 4px;
}

.yh-week {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 4px;
  line-height: 1.3;
}

.yh-theme {
  font-size: 13px;
  color: var(--text2);
  line-height: 1.5;
}

.yearly-emergency {
  background: var(--amber-bg);
  border: 1px solid rgba(201, 168, 80, 0.3);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 14px;
}

.ye-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.ye-body {
  font-size: 13px;
  color: var(--text2);
  line-height: 1.6;
}

.yearly-checkin-nudge {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 14px;
  font-size: 13px;
  color: var(--text2);
  line-height: 1.5;
}

.yearly-card {
  padding-bottom: 16px;
}

.yearly-card h3 {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 400;
  margin: 18px 0 8px;
  color: var(--text);
}

.yearly-card div {
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 6px;
}

.yearly-card details {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 14px;
  margin-top: 10px;
  font-size: 13px;
}

.yearly-card details summary {
  cursor: pointer;
  font-weight: 500;
  color: var(--text2);
  list-style: none;
}

.yearly-card details[open] summary {
  margin-bottom: 8px;
}

.yearly-card details div {
  color: var(--text2);
  font-size: 13px;
  line-height: 1.6;
}

.yearly-not-forget {
  margin-top: 16px;
  padding: 12px 14px;
  background: var(--accent-dim);
  border-radius: 10px;
  font-size: 13px;
  color: var(--text2);
  line-height: 1.9;
}

.yearly-not-forget a {
  color: var(--accent);
  cursor: pointer;
  text-decoration: none;
}

.yearly-unavailable {
  padding: 20px 0;
  font-size: 14px;
  color: var(--text2);
  text-align: center;
}

/* ─── Yearly weeks list (protocols screen) ────────────────────────────────── */

.yw-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.yw-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  cursor: pointer;
  transition: border-color .15s;
}

.yw-item:active {
  border-color: var(--accent);
}

.yw-item.yw-current {
  border-color: var(--accent);
  background: var(--accent-dim);
}

.yw-item.yw-locked {
  cursor: default;
  opacity: .55;
}

.yw-num {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--text3);
  white-space: nowrap;
  min-width: 64px;
}

.yw-title {
  flex: 1;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.3;
}

.yw-state {
  font-size: 11px;
  color: var(--text3);
  white-space: nowrap;
}

.yw-arrow {
  font-size: 14px;
  color: var(--accent);
}

/* ─── Yearly week detail screen ──────────────────────────────────────────── */

.yw-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.yw-back-btn {
  background: none;
  border: none;
  color: var(--accent);
  font-size: 14px;
  cursor: pointer;
  font-family: var(--sans);
  padding: 0;
}

.yw-week-label {
  font-size: 13px;
  color: var(--text3);
  margin-left: auto;
}

.yw-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 6px;
}

.yw-theme {
  font-size: 13px;
  color: var(--text2);
  line-height: 1.5;
  margin-bottom: 16px;
}

.yw-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 20px 0;
}

.yw-longread {
  font-size: 14px;
  color: var(--text);
  line-height: 1.7;
}

.yw-longread-intro {
  font-style: italic;
  color: var(--text2);
  margin-bottom: 20px;
  font-size: 15px;
  line-height: 1.6;
}

.yw-section-heading {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
  margin: 24px 0 10px;
}

.yw-section-body {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 16px;
}

.yw-nav-arrows {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
  padding-bottom: 16px;
}

.yw-nav-btn {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 13px;
  color: var(--text2);
  cursor: pointer;
  font-family: var(--sans);
}

.yw-nav-btn:disabled {
  opacity: .45;
  cursor: default;
}
