/* Daily revision follows the existing surface, type and spacing tokens.
   Only the primary action carries a little light and movement. */
.daily-card {
  padding: 26px 28px;
  margin-bottom: 24px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  background: var(--surface);
}
.daily-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; }
.daily-title { margin: 0; font-family: var(--font); font-size: 1.25rem; font-weight: 600; line-height: 1.35; letter-spacing: -.035em; }
:root[lang|="zh"] .daily-title { letter-spacing: 0; }
.daily-date { flex-shrink: 0; color: var(--text-dim); font-size: .73rem; font-variant-numeric: tabular-nums; }
.daily-description { margin: 7px 0 0; color: var(--text-dim); font-size: .85rem; line-height: 1.6; }
.daily-breakdown { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 0; margin-top: 18px; color: var(--text-dim); font-size: .76rem; }
.daily-breakdown > span { display: inline-flex; align-items: center; }
.daily-breakdown > span + span::before { content: ''; width: 2px; height: 2px; margin: 0 10px; border-radius: 50%; background: var(--text-faint); }
.daily-duration { white-space: nowrap; }
.daily-footer { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-top: 26px; }
.daily-progress-wrap { flex: 1; max-width: 200px; min-width: 90px; }
.daily-progress-text { display: block; margin-bottom: 9px; color: var(--text-dim); font-size: .72rem; line-height: 1.4; font-variant-numeric: tabular-nums; }
.daily-progress { height: 3px; overflow: hidden; border-radius: var(--pill); background: var(--hairline); }
.daily-progress-fill { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--text); transition: width .6s var(--ease); }
.daily-note { margin: 18px 0 0; color: var(--text-dim); font-size: .75rem; line-height: 1.6; }
.daily-start { flex-shrink: 0; min-height: 46px; padding: 12px 21px; font-size: .82rem; }
.daily-start-icon { flex-shrink: 0; width: 15px; height: 15px; transition: transform .3s var(--ease); }

/* Reference: a dark pill with a moving light across its surface and rim.
   Graphite keeps it in Etch's neutral palette; the reflection is silver-blue.
   Animate a CSS angle, so there are no timers or pointer-tracking scripts. */
@property --etch-shine-angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
.btn.etch-shine {
  --etch-shine-angle: 0deg;
  --button-ink: #15171b;
  --button-light: #2b3949;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  position: relative;
  border: 1px solid transparent;
  border-radius: var(--pill);
  color: #fff;
  background:
    linear-gradient(170deg, rgba(255,255,255,.06), transparent 48%) padding-box,
    conic-gradient(from var(--etch-shine-angle), var(--button-ink) 0deg, var(--button-light) 80deg, var(--button-ink) 135deg, #101215 270deg, var(--button-ink) 360deg) padding-box,
    conic-gradient(from var(--etch-shine-angle), #555d68 0deg, #c4d7ed 75deg, #5d738e 105deg, #262a31 155deg, #333840 290deg, #555d68 360deg) border-box;
  box-shadow: 0 2px 4px rgba(0,0,0,.10), inset 0 1px 0 rgba(255,255,255,.04);
  animation: etch-button-light 5s linear infinite;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), opacity .25s var(--ease);
}
@keyframes etch-button-light { to { --etch-shine-angle: 360deg; } }
@media (hover: hover) {
  .btn.etch-shine:not(:disabled):hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,.15), inset 0 1px 0 rgba(255,255,255,.1); }
  .btn.etch-shine:not(:disabled):hover .daily-start-icon { transform: translateX(2px); }
}
.btn.etch-shine:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.btn.etch-shine:not(:disabled):active { transform: translateY(0) scale(.98); box-shadow: 0 1px 2px rgba(0,0,0,.1); }
.btn.etch-shine:disabled { animation: none; }
.daily-session-label { margin-bottom: 12px; color: var(--text-dim); font-size: .75rem; }
@media (max-width: 560px) {
  .daily-card { padding: 23px 22px; }
  .daily-heading { gap: 12px; }
  .daily-title { font-size: 1.1rem; }
  .daily-date { font-size: .68rem; }
  .daily-description { font-size: .81rem; }
  .daily-footer { flex-direction: column; align-items: stretch; gap: 20px; margin-top: 24px; }
  .daily-progress-wrap { max-width: none; }
  .daily-start { width: 100%; }
}
@media (max-width: 359px) {
  .daily-card { padding: 21px 18px; }
  .daily-heading { align-items: flex-start; flex-direction: column; gap: 5px; }
}
@media (prefers-reduced-motion: reduce) {
  .btn.etch-shine { animation: none; }
  .btn.etch-shine, .daily-start-icon, .daily-progress-fill { transition: none; }
}
@media (forced-colors: active) {
  .btn.etch-shine { background: ButtonFace; color: ButtonText; border-color: ButtonText; animation: none; }
  .daily-progress { border: 1px solid CanvasText; }
  .daily-progress-fill { background: Highlight; }
}
