/* FMT-TM17-shared (forecast) · FMT-TM13-shared — When call-fold: earth/olive parchment (site palette — not mint jade). Hosts slot it; they do not restyle it. */
.metis-timing {
  width: 100%;
  max-width: none;
  margin: 1.35rem 0 0.5rem;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  color: #2a1f0e;
  text-align: left;
  position: relative;
  z-index: 4;
  box-sizing: border-box;
}
.metis-timing[hidden] { display: none !important; }

.metis-timing-door {
  border: none;
  border-radius: 2px;
  padding: 0.5rem;
  /* Mirror Quantum Q31 stops — soft mist → mid olive → deep hush → soft return */
  background:
    linear-gradient(118deg, rgba(255, 248, 230, 0.4) 0%, rgba(255, 248, 230, 0) 38%),
    linear-gradient(145deg, #d0d0b8 0%, #98a070 28%, #4a5838 55%, #b8b898 100%);
  box-shadow:
    0 14px 28px rgba(42, 31, 14, 0.14),
    0 2px 0 rgba(255, 248, 230, 0.4) inset,
    0 -1px 0 rgba(42, 31, 14, 0.18) inset;
}

.metis-timing-door > summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  padding: 1.05rem 2.4rem 0.9rem;
  background:
    linear-gradient(105deg, rgba(255, 250, 240, 0.55) 0%, rgba(228, 224, 200, 0.4) 42%, rgba(176, 184, 148, 0.28) 100%);
  border: 1px solid rgba(42, 80, 32, 0.32);
  color: #2a1f0e;
  font-family: 'Cinzel', serif;
  font-size: 0.52rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.metis-timing-door > summary::-webkit-details-marker { display: none; }

.metis-timing-door > summary::after {
  content: '';
  position: absolute;
  right: 1rem;
  top: 50%;
  width: 7px;
  height: 7px;
  margin-top: -5px;
  font-size: 0;
  border-right: 1.5px solid rgba(42, 80, 32, 0.55);
  border-bottom: 1.5px solid rgba(42, 80, 32, 0.55);
  transform: rotate(45deg);
  opacity: 0.85;
  transition: transform 0.2s ease;
}

.metis-timing-door[open] > summary::after {
  transform: rotate(-135deg);
}

.metis-timing-sum-main {
  display: block;
  flex: 1;
  min-width: 0;
  text-align: center;
}

.metis-timing-sum-title {
  display: block;
  font-family: 'Cinzel Decorative', Cinzel, serif;
  font-size: 0.82rem;
  letter-spacing: 0.28em;
  color: #2a1f0e;
  text-shadow: 0 1px 0 rgba(255, 250, 235, 0.45);
}

.metis-timing-sum-sub {
  display: block;
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: none;
  color: rgba(42, 80, 32, 0.72);
  font-weight: 400;
  margin-top: 0.2rem;
}

/* FMT-TM25-shared — forecast on the reading parchment: one date, then the time around it */
.metis-timing-inner {
  padding: 1.35rem 1.4rem 1.25rem;
  text-align: start;
  border-top: none;
  background-color: #f3ead6;
  background-image:
    linear-gradient(180deg, rgba(255, 252, 244, 0.72) 0%, rgba(242, 232, 208, 0.35) 100%);
  border: 1px solid rgba(196, 168, 120, 0.55);
}

.metis-timing-horizon {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0 0.75rem;
}
.metis-timing-horizon-k {
  font-family: 'Cinzel', serif;
  font-size: 0.46rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(42, 80, 32, 0.72);
  margin-right: 0.2rem;
}
.metis-timing-horizon button {
  font-family: 'Cinzel', serif;
  font-size: 0.48rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid rgba(42, 80, 32, 0.4);
  background: rgba(255, 254, 248, 0.55);
  color: #2a1f0e;
  padding: 0.28rem 0.55rem;
  cursor: pointer;
  border-radius: 2px;
}
.metis-timing-horizon button.is-on {
  background: #2a1f0e;
  color: #f2e8d0;
  border-color: #2a1f0e;
}
.metis-timing-horizon button:disabled { opacity: 0.45; cursor: default; }

.metis-timing-btn {
  -webkit-appearance: none;
  appearance: none;
  font-family: 'Cinzel', serif;
  font-style: normal;
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 0.72rem 1.55rem;
  border-radius: 0;
  background: transparent;
  border: 1px solid rgba(42, 80, 32, 0.5);
  color: #2a1f0e;
  box-shadow: none;
  cursor: pointer;
}
.metis-timing-btn:hover:not(:disabled) {
  background: rgba(42, 80, 32, 0.9);
  color: #f2e8d0;
  border-color: rgba(42, 80, 32, 0.9);
}
.metis-timing-btn:disabled {
  opacity: 0.55;
  cursor: default;
}

.metis-timing-out { margin-top: 0.95rem; }

/* Plate copy — FMT-TM16 explanation blocks, not a bare date list */
.metis-timing-plate { margin: 0.15rem 0 0; }
.metis-timing-headline,
.metis-timing-call,
.metis-timing-answer {
  font-family: 'EB Garamond', serif;
  font-size: 1.22rem;
  line-height: 1.55;
  color: #2a1f0e;
  margin: 0;
}
.metis-timing-aside {
  font-family: 'EB Garamond', serif;
  font-size: 1.05rem;
  line-height: 1.5;
  color: #2a5020;
  margin: 0.55rem 0 0;
}
.metis-timing-section,
.metis-timing-alts {
  margin: 1rem 0 0;
  padding: 0.75rem 0 0;
  border-top: 1px solid rgba(12, 120, 82, 0.28);
}
.metis-timing-section-title {
  font-family: 'Cinzel', serif;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: #2a5020;
  margin: 0 0 0.45rem;
}
.metis-timing-idea,
.metis-timing-drew,
.metis-timing-why,
.metis-timing-window {
  font-family: 'EB Garamond', serif;
  font-size: 1.02rem;
  line-height: 1.5;
  color: #2a1f0e;
  margin: 0.35rem 0 0;
}
.metis-timing-idea { color: #2a5020; font-style: italic; }
.metis-timing-k {
  font-family: 'Cinzel', serif;
  font-size: 0.48rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(10, 90, 62, 0.75);
  font-style: normal;
}
.metis-timing-strength {
  font-family: 'Cinzel', serif;
  font-size: 0.42rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(10, 90, 62, 0.72);
}
.metis-timing-alt-list {
  list-style: none;
  margin: 0.55rem 0 0;
  padding: 0;
}
.metis-timing-alt-list li {
  padding: 0.45rem 0;
  border-top: 1px solid rgba(12, 120, 82, 0.18);
}
.metis-timing-alt-list li:first-child { border-top: 0; padding-top: 0; }
.metis-timing-alt-when {
  font-family: 'EB Garamond', serif;
  font-size: 1.08rem;
  font-style: italic;
  color: #2a1f0e;
  margin-right: 0.35rem;
}
.metis-timing-alt-why {
  display: block;
  font-family: 'EB Garamond', serif;
  font-size: 0.98rem;
  line-height: 1.45;
  color: #2a5020;
  margin-top: 0.15rem;
}
.metis-timing-refs {
  list-style: none;
  margin: 0.85rem 0 0;
  padding: 0.65rem 0 0;
  border-top: 1px solid rgba(12, 120, 82, 0.3);
}
.metis-timing-refs li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.35rem 0;
}
.metis-timing-ref-main {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}
.metis-timing-ref-when {
  font-family: 'EB Garamond', serif;
  font-size: 1.12rem;
  font-style: italic;
  color: #2a1f0e;
}
.metis-timing-ref-note {
  font-family: 'Cinzel', serif;
  font-size: 0.42rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(10, 90, 62, 0.68);
}
.metis-timing-ref-name {
  font-family: 'Cinzel', serif;
  font-size: 0.52rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(10, 90, 62, 0.82);
  text-align: right;
  flex: 0 0 auto;
}
.metis-timing-lines {
  list-style: none;
  margin: 0;
  padding: 0;
}
.metis-timing-line {
  padding: 0.55rem 0;
  border-top: 1px solid rgba(12, 120, 82, 0.24);
}
.metis-timing-role,
.metis-timing-tier {
  display: block;
  font-family: 'Cinzel', serif;
  font-size: 0.46rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.metis-timing-role { color: rgba(10, 90, 62, 0.68); }
.metis-timing-tier { color: #2a5020; margin-top: 0.12rem; }
.metis-timing-title {
  display: block;
  font-family: 'Cinzel', serif;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  margin-top: 0.2rem;
  color: #2a1f0e;
}
.metis-timing-detail {
  display: block;
  font-family: 'EB Garamond', serif;
  font-size: 1.02rem;
  line-height: 1.45;
  color: #2a5020;
  margin-top: 0.15rem;
}
.metis-timing-foot {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: 0.92rem;
  line-height: 1.45;
  color: rgba(10, 90, 62, 0.75);
  margin: 0.85rem 0 0;
}

/* FMT-TM25-shared — one lead, then quiet periods. Same ink and paper as the reading. */
.metis-fc-kicker,
.metis-fc-title {
  font-family: 'Cinzel', serif;
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(122, 96, 64, 0.88);
  margin: 0 0 0.85rem;
}
.metis-fc-lead,
.metis-fc-outlook {
  font-family: 'EB Garamond', serif;
  font-size: 1.18rem;
  line-height: 1.6;
  color: #2a1f0e;
  margin: 0;
}
.metis-fc-conf {
  display: block;
  font-family: 'Cinzel', serif;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 400;
  margin: 0 0 0.4rem;
}
.metis-fc-conf.is-clear,
.metis-fc-conf.is-likely,
.metis-fc-conf.is-unsettled,
.metis-fc-conf.is-no-firm-signal { color: #6a5030; }
.metis-fc-period {
  margin: 1.15rem 0 0;
  padding: 0.9rem 0 0;
  border-top: 1px solid rgba(196, 168, 120, 0.5);
}
.metis-fc-when {
  font-family: 'Cinzel', serif;
  font-size: 0.56rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 400;
  color: rgba(122, 96, 64, 0.9);
  margin: 0 0 0.45rem;
}
.metis-fc-period p {
  font-family: 'EB Garamond', serif;
  font-size: 1.08rem;
  line-height: 1.65;
  color: #2a1f0e;
  margin: 0.65rem 0 0;
}
.metis-fc-period p:first-of-type { margin-top: 0; }
.metis-fc-period strong { font-weight: 500; color: #2a1f0e; }
.metis-fc-why {
  margin: 1.15rem 0 0;
  padding: 0.85rem 0 0;
  border-top: 1px solid rgba(196, 168, 120, 0.5);
}
.metis-fc-why > summary {
  cursor: pointer;
  font-family: 'Cinzel', serif;
  font-size: 0.56rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(122, 96, 64, 0.9);
  list-style: none;
}
.metis-fc-why > summary::-webkit-details-marker { display: none; }
.metis-fc-why > summary::after { content: ' ▸'; }
.metis-fc-why[open] > summary::after { content: ' ▾'; }
.metis-fc-why ul {
  margin: 0.5rem 0 0;
  padding: 0 0 0 1rem;
}
.metis-fc-why li {
  font-family: 'EB Garamond', serif;
  font-size: 0.95rem;
  line-height: 1.45;
  color: rgba(42, 31, 14, 0.82);
  margin: 0.2rem 0 0;
}
.metis-fc-wait { font-style: italic; }

/* FMT-TM18-shared — one last card or rune over the question (tiles = shared clarifier G art) */
.metis-timing-last {
  margin: 1.1rem 0 0;
  padding: 0.75rem 0 0;
  border-top: 1px solid rgba(12, 120, 82, 0.22);
}
.metis-timing-last-k {
  font-family: 'Cinzel', serif;
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(42, 80, 32, 0.78);
  text-align: center;
  margin: 0 0 0.55rem;
}
.metis-timing-last .tri-overarch-choice-row {
  display: flex;
  justify-content: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}
.metis-timing-last-pic {
  display: flex;
  justify-content: center;
}
/* FMT-TM23-shared — last-draw picture sits above the reading; name tile if the art fails */
.metis-timing-last-pic img {
  display: block;
  width: 110px;
  max-width: 40%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(42, 31, 14, 0.28);
}
.metis-timing-last-tile {
  display: inline-block;
  padding: 1.6rem 0.8rem;
  min-width: 96px;
  border: 1px solid rgba(42, 80, 32, 0.4);
  border-radius: 6px;
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-align: center;
  color: #2a1f0e;
}
.metis-timing-last-tile[hidden] { display: none; }
.metis-timing-last-pic .rune-stone-photo { width: 96px; border-radius: 50%; box-shadow: none; }
.metis-timing-last-glyph {
  font-size: 2.4rem;
  line-height: 1;
  color: #2a1f0e;
}
.metis-timing-last-face { margin: 0; text-align: left; }
.metis-timing-last-period .metis-timing-last-pic { margin: 0.35rem 0 0.4rem; }
.metis-timing-last-read p.metis-fc-wait { font-style: italic; color: #2a5020; }
.metis-timing-last-name {
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: #2a1f0e;
  margin: 0.35rem 0 0;
}
@media (max-width: 560px) {
  .metis-fc-outlook { font-size: 1.14rem; }
  .metis-fc-period p { font-size: 1.06rem; }
}
/* FMT-TM24-shared — one quiet birth-date line (asked once) + “change birth date” inside Why */
.metis-timing-birth { margin: 0 0 0.7rem; }
.metis-timing-birth[hidden],
.metis-birth-night[hidden] { display: none; }
.metis-birth-line,
.metis-birth-night {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  font-family: 'EB Garamond', serif;
  font-size: 0.98rem;
  font-style: italic;
  color: rgba(42, 31, 14, 0.78);
  margin: 0 0.9rem 0.2rem 0;
}
.metis-birth-date {
  font: inherit;
  font-style: normal;
  color: #2a1f0e;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(42, 80, 32, 0.35);
  padding: 0.05rem 0.15rem;
}
.metis-birth-night-box { accent-color: #2a5020; margin: 0; }
.metis-fc-birth { list-style: none; margin-left: -1rem; }
.metis-fc-birth-link {
  font: inherit;
  font-size: 0.88rem;
  font-style: italic;
  color: rgba(42, 80, 32, 0.78);
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* FMT-TM27-shared — forecast reading prose flush both edges. Kickers / When labels / controls stay as they were. */
.metis-timing-answer,
.metis-timing-why,
.metis-timing-window,
.metis-timing-idea,
.metis-timing-drew,
.metis-timing-detail,
.metis-timing-alt-why,
.metis-fc-lead,
.metis-fc-outlook,
.metis-fc-period p,
.metis-timing-last-read p {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}
