/* Windows timer page. The previews copy the tray menu in desktop/ui:
   idle (preview order 25, 5, 15, 45) and a running 25-minute session at 18:42. */
.timer-shots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 640px;
  margin: 0 auto 8px;
}
.timer-shots figure {
  margin: 0;
  min-width: 0;
  padding: 16px 14px 12px;
  background: #F7EFE4;
  border: 1px solid var(--wp-line, #EDE4D8);
  border-radius: 28px;
  box-shadow: var(--wp-shadow, 0 22px 44px -34px rgba(126, 45, 10, .42));
}
.timer-shots figcaption {
  margin-top: 12px;
  color: var(--wp-muted, #6E655C);
  font-size: .92rem;
  font-weight: 700;
  text-align: center;
}
.tray {
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
  overflow: hidden;
  color: #25211e;
  background: #fffdf8;
  border: 1px solid #e7d7c3;
  border-radius: 22px;
  box-shadow: 0 18px 40px -28px rgba(126, 45, 10, .28);
  font-family: Nunito, ui-rounded, system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.35;
}
.tray-head {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 12px;
  border-bottom: 1px solid #e7d7c3;
  background: #fffdf8;
}
.tray-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #25211e;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
}
.tray-dot {
  width: 14px;
  height: 14px;
  flex: none;
  border-radius: 50%;
  background: #f08a24;
  box-shadow: 0 0 0 4px rgba(240, 138, 36, .16);
}
.tray-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  padding: 8px 10px 10px;
}
.tray-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  padding: 10px;
  border: 1px solid #e7d7c3;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 40px -28px rgba(126, 45, 10, .28);
}
.tray-note {
  margin: 0;
  overflow-wrap: anywhere;
  color: #6e655c;
  font-family: Literata, Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.35;
}
.tray-label { margin: 0; font-size: 13px; font-weight: 800; }
.tray-hint, .tray-today {
  margin: 0;
  overflow-wrap: anywhere;
  color: #6e655c;
  font-size: 13px;
  font-weight: 700;
}
.tray-durs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  width: 100%;
}
.tray-custom, .tray-row {
  display: flex;
  gap: 6px;
  align-items: center;
  min-width: 0;
  width: 100%;
}
.tray-field {
  flex: 1 1 auto;
  min-width: 0;
  height: 34px;
  border: 1px solid #e7d7c3;
  border-radius: 999px;
  background: #fff;
}
.tray-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  max-width: 100%;
  padding: 7px 8px;
  overflow: hidden;
  color: #25211e;
  background: #fff;
  border: 1px solid #e7d7c3;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.tray-durs .tray-pill { width: 100%; padding-inline: 2px; }
.tray-pill.is-on { background: #ffe6cf; border-color: transparent; }
.tray-pill--go {
  flex: 0 0 auto;
  background: #d97706;
  border-color: transparent;
  box-shadow: 0 10px 18px -14px rgba(217, 119, 6, .95);
}
.tray-row .tray-pill { flex: 1 1 0; }
.tray-pill--wide { width: 100%; }
.tray-foot { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.tray-ring { position: relative; width: 128px; height: 128px; max-width: 100%; margin: 2px auto; }
.tray-ring svg { display: block; width: 100%; height: 100%; transform: rotate(-90deg); }
.tray-ring-track, .tray-ring-value { fill: none; stroke-width: 8; }
.tray-ring-track { stroke: #ffe6cf; }
.tray-ring-value {
  stroke: #d97706;
  stroke-linecap: round;
  /* 18:42 left of a 25:00 session → about a quarter of the ring is done. */
  stroke-dasharray: 326.726;
  stroke-dashoffset: 244.391;
}
.tray-clock {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  margin: 0;
  color: #25211e;
  font-size: 32px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
  line-height: 1;
}
.timer-note p { margin-top: 8px; }
.timer-note .btn { margin-top: 16px; max-width: 100%; white-space: normal; text-align: center; }
.timer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 720px) {
  .timer-shots { grid-template-columns: minmax(0, 1fr); max-width: 320px; }
  .timer-grid { grid-template-columns: minmax(0, 1fr); }
}
/* The Greek eyebrow is long once it is set in small caps. Keep it on one line on a phone. */
@media (max-width: 420px) {
  body.desktop-page .wp-head .wp-eyebrow { letter-spacing: .04em !important; }
}
