/* A signal, opened (4.97). MC, 27 October: "the opened up card needs a better redesign to apple standards.....sections,
   shadows, depth", and "the question section must ideally be in a different color altogether".

   Grouped white cards on a warm grey ground, each under a small sentence-case heading; the headline lifted on its own
   card, tinted faintly in the signal's weight colour; the call last, on the site's dark ink with gold. The markup is
   src/views/cards/signal-card.js (minuteFace and callSection); the same card on /signal/<id> and in the sheet. */

.sg-read-card.sg-minute {
  --sgx-ground: #f2f2ef; --sgx-line: #ecece8; --sgx-r: 18px;
  --sgx-shadow: 0 1px 1px rgba(22, 23, 26, .04), 0 10px 24px -14px rgba(22, 23, 26, .16);
  display: flex; flex-direction: column; gap: 26px; padding: 16px clamp(14px, 3vw, 28px) 28px;
  background: var(--sgx-ground); border-radius: 0; color: #16171a;
}
.sg-read-card.sg-minute > * { width: 100%; max-width: 680px; margin-inline: auto; padding-inline: 0; }
.page-card .sg-read-card.sg-minute { border: 0; border-radius: 24px; }

/* ------------------------------------------------------------------ the headline, lifted */
.sg-minute .sgr-head { display: grid; gap: 14px; padding: 20px 20px 22px; border-radius: 22px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--tone, #3fae6a) 10%, #fff) 0%, #fff 150px);
  box-shadow: 0 1px 2px rgba(22, 23, 26, .05), 0 22px 44px -22px rgba(11, 26, 51, .3); }
.sg-minute .sgr-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 0; font-size: 13px; color: #6a6e67; }
.sg-minute .sgr-bars { height: 18px; gap: 2.5px; }
.sg-minute .sgr-bars i { width: 4px; border-radius: 1.5px; background: #dcdcd6; }
.sg-minute .sgr-bars i:nth-child(1) { height: 6px; } .sg-minute .sgr-bars i:nth-child(2) { height: 9px; } .sg-minute .sgr-bars i:nth-child(3) { height: 12px; }
.sg-minute .sgr-bars i:nth-child(4) { height: 15px; } .sg-minute .sgr-bars i:nth-child(5) { height: 18px; }
.sg-minute .sgr-bars i.on { background: var(--tone, #3fae6a); }
.sg-minute .sgr-flag { display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; }
.sg-minute .sgr-flag::before { content: none; }
.sg-minute .sgr-flag.is-verified { padding-left: 7px; background: rgba(63, 174, 106, .14); color: #23784a; }
.sg-minute .sgr-flag.is-verified::before { content: ""; width: 13px; height: 13px; border: 0; border-radius: 0; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7' fill='none' stroke='black' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7' fill='none' stroke='black' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.sg-minute .sgr-flag.is-reported { background: rgba(118, 118, 128, .12); color: #4b4f4a; }
.sg-minute .sgr-date { color: #6a6e67; }
.sg-minute .sgr-time { margin-left: auto; color: #8e928d; }
.sg-minute .sgr-hook { margin: 0; font-size: clamp(24px, 2.6vw, 30px); line-height: 1.16; font-weight: 600; letter-spacing: -.022em; text-wrap: pretty; }
.sg-minute .sgr-lead { margin: 0; font-size: 17px; line-height: 1.5; color: #3d403b; }

/* ------------------------------------------------------------------ the sections */
.sg-minute .sgr-body { display: flex; flex-direction: column; gap: 26px; padding: 0; font-size: 16px; line-height: 1.6; color: #16171a; }
.sg-minute .sgx-sec { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; }
.sg-minute .sgx-h { margin: 0 6px; font-size: 13.5px; font-weight: 600; letter-spacing: 0; text-transform: none; color: #6a6e67; }
.sg-minute .sgx-card { margin: 0; padding: 16px 18px; border-radius: var(--sgx-r); background: #fff; box-shadow: var(--sgx-shadow); }
.sg-minute .sgr-story p { margin: 0; font-size: 16.5px; line-height: 1.6; color: #16171a; }
.sg-minute .sgr-story p + p { margin-top: 12px; }

/* until now, and now: two halves joined by an arrow */
.sg-minute .sgr-shift { display: grid; grid-template-columns: 1fr; gap: 0; margin: 0; border-radius: var(--sgx-r); background: #fff; box-shadow: var(--sgx-shadow); }
.sg-minute .sgr-shift > div { padding: 16px 18px 18px; border-radius: 0; background: transparent; }
.sg-minute .sgr-shift .sgx-was { border-bottom: 1px solid var(--sgx-line); }
.sg-minute .sgr-shift .sgx-now { padding-top: 20px; padding-bottom: 16px; }
.sg-minute .sgr-shift span { display: block; font-size: 13px; font-weight: 600; letter-spacing: 0; color: #8e928d; }
.sg-minute .sgr-shift .sgx-now span { color: #16171a; }
.sg-minute .sgr-shift p { margin: 4px 0 0; font-size: 15.5px; line-height: 1.45; color: #6a6e67; }
.sg-minute .sgr-shift .sgx-now p { font-size: 16.5px; font-weight: 500; color: #16171a; }
.sg-minute .sgx-arrow { position: relative; z-index: 1; display: block; height: 0; }
.sg-minute .sgx-arrow svg { position: absolute; left: 50%; top: -14px; box-sizing: border-box; width: 28px; height: 28px; margin-left: -14px; padding: 6px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 0 1px var(--sgx-line), 0 4px 10px -4px rgba(22, 23, 26, .25); fill: none; stroke: #16171a; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* established, and not: list rows marked with a tick or a dashed circle */
.sg-minute .sgm-bounds { display: flex; flex-direction: column; gap: 26px; margin: 0; }
.sg-minute .sgx-list { margin: 0; padding: 0; list-style: none; overflow: hidden; }
.sg-minute .sgx-list li { position: relative; padding: 13px 18px 13px 52px; font-size: 15.5px; line-height: 1.45; }
.sg-minute .sgx-list li + li { background: linear-gradient(var(--sgx-line), var(--sgx-line)) 52px 0 / calc(100% - 52px) 1px no-repeat; }
.sg-minute .sgx-list li::before { content: ""; position: absolute; left: 18px; top: 13px; box-sizing: border-box; width: 22px; height: 22px; border-radius: 50%; }
.sg-minute .sgx-yes li::before { background: #3fae6a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.sg-minute .sgx-no li { color: #4b4f4a; }
.sg-minute .sgx-no li::before { border: 1.5px dashed #a3a6a0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12h10' stroke='%238e928d' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* ------------------------------------------------------------------ the five-minute read, behind one row */
.sg-minute .sgm-deep { margin: 0; padding: 0; border: 0; border-radius: 0; background: none; }
.sg-minute .sgm-deep[open] { padding: 0; }
.sg-minute .sgm-fold > summary { display: grid; grid-template-columns: 40px minmax(0, 1fr) 20px; align-items: center; gap: 12px; min-height: 68px; padding: 12px 16px;
  list-style: none; cursor: pointer; color: #16171a; }
.sg-minute .sgm-fold > summary::-webkit-details-marker { display: none; }
.sg-minute .sgm-fold > summary::before { content: none; }
.sg-minute .sgm-fold > summary:focus-visible { outline: 2px solid #3f7fd6; outline-offset: 3px; }
.sg-minute .sgm-fold > :not(summary) { margin-top: 26px; }
.sg-minute .sgx-book { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: #16171a; color: #fff; }
.sg-minute .sgx-book svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sg-minute .sgm-sum { display: grid; gap: 2px; padding: 0; min-width: 0; }
.sg-minute .sgm-sum b { font-size: 16.5px; font-weight: 600; color: #16171a; }
.sg-minute .sgm-sum small { font-size: 13.5px; font-weight: 400; color: #6a6e67; line-height: 1.4; }
.sg-minute .sgx-chev svg { display: block; width: 18px; height: 18px; fill: none; stroke: #a3a6a0; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s; }
.sg-minute .sgm-fold[open] .sgx-chev svg { transform: rotate(90deg); }

/* the record */
.sg-minute .sg-observed { margin: 0; font-size: 15px; line-height: 1.65; color: #33362f; }
.sg-minute .sg-note { margin: 0 0 10px; padding: 10px 12px; border-radius: 10px; background: #f5f5f1; font-size: 14px; line-height: 1.5; color: #4b4f4a; }

/* how it got here: a timeline, dots on a line */
.sg-minute .sg-trail { margin: 0; padding: 0; border: 0; list-style: none; }
.sg-minute .sg-trail li { position: relative; display: grid; grid-template-columns: 50px minmax(0, 1fr); column-gap: 34px; padding: 0 0 18px; }
.sg-minute .sg-trail li::before { content: ""; position: absolute; left: 64px; top: 5px; box-sizing: border-box; width: 10px; height: 10px; border-radius: 50%;
  background: #fff; border: 2px solid #fff; box-shadow: 0 0 0 1px #b9bcb5; }
.sg-minute .sg-trail li::after { content: ""; position: absolute; left: 68px; top: 16px; bottom: 0; width: 2px; background: #e4e4df; }
.sg-minute .sg-trail li:last-child { padding-bottom: 0; }
.sg-minute .sg-trail li:last-child::before { background: #16171a; box-shadow: 0 0 0 1px #16171a; }
.sg-minute .sg-trail li:last-child::after { content: none; }
.sg-minute .sg-trail span { padding-top: 1px; font-size: 13px; font-weight: 600; letter-spacing: 0; color: #6a6e67; font-variant-numeric: tabular-nums; }
.sg-minute .sg-trail p { margin: 0 !important; font-size: 15px; line-height: 1.5; color: #16171a; }
.sg-minute .sgx-reacts { margin-top: 16px; padding: 12px 14px; border-radius: 12px; background: #f5f5f1; }
.sg-minute .sgx-reacts span { display: block; font-size: 13px; font-weight: 600; color: #6a6e67; }
.sg-minute .sgx-reacts p { margin: 4px 0 0; font-size: 15px; line-height: 1.5; }

/* rows inside a card: what to watch, the words, the sources */
.sg-minute .sgx-rows { padding: 0 18px; list-style: none; }
.sg-minute .sgx-rows > li, .sg-minute .sgx-rows > div { padding: 14px 0; }
.sg-minute .sgx-rows > li + li, .sg-minute .sgx-rows > div + div { border-top: 1px solid var(--sgx-line); }
.sg-minute .sg-watch { margin: 0; color: #16171a; }
.sg-minute .sg-watch li { display: grid; justify-items: start; gap: 7px; font-size: 15px; line-height: 1.5; }
.sg-minute .sg-watch b { display: inline-flex; align-items: center; min-width: 0; height: 22px; margin: 0; padding: 0 9px; border-radius: 999px; font-size: 12px; font-weight: 600;
  background: rgba(63, 174, 106, .14); color: #23784a; }
.sg-minute .sg-watch b.sg-fx-weakens { background: rgba(224, 80, 63, .12); color: #a3412e; }
.sg-minute .sg-gloss { display: block; margin: 0; }
.sg-minute .sg-gloss dt { font-size: 15.5px; font-weight: 600; color: #16171a; }
.sg-minute .sg-gloss dd { margin: 3px 0 0; font-size: 14.5px; line-height: 1.5; color: #4b4f4a; }
.sg-minute .sg-source-list { margin: 0; padding: 0; font-size: 14.5px; }
.sg-minute .sg-source-list > li { padding: 0; }
.sg-minute .sg-source-list a { display: grid; grid-template-columns: 32px minmax(0, 1fr) 14px; align-items: center; gap: 12px; padding: 12px 0; color: #16171a; text-decoration: none; }
.sg-minute .sg-source-list a:hover b { text-decoration: underline; text-underline-offset: 3px; }
.sg-minute .sgx-mark { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: #f2f2ef; font-size: 14px; font-style: normal; font-weight: 700; color: #4b4f4a; }
.sg-minute .sg-source-list span { display: grid; gap: 2px; min-width: 0; }
.sg-minute .sg-source-list b { font-weight: 400; line-height: 1.35; }
.sg-minute .sg-source-list small { font-size: 12.5px; color: #8e928d; }
.sg-minute .sgx-out { width: 14px; height: 14px; fill: none; stroke: #a3a6a0; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* why it weighs this much: the one bar, then the four parts as tiles */
.sg-minute .sg-strength { margin: 0; }
.sg-minute .sgx-weight { padding: 0; overflow: hidden; }
.sg-minute .sg-overall { display: grid; gap: 8px; padding: 16px 18px; font-size: 13px; font-weight: 600; color: #6a6e67; }
.sg-minute .sgx-dials { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--sgx-line); border-block: 1px solid var(--sgx-line); }
.sg-minute .sg-dial { display: grid; gap: 8px; padding: 14px 16px; background: #fff; }
.sg-minute .sg-dial-k { font-size: 13px; font-weight: 600; color: #6a6e67; }
.sg-minute .sg-dial-v { font-size: 19px; font-weight: 600; letter-spacing: -.01em; color: #16171a; }
.sg-minute .sg-track { height: 6px; border-radius: 3px; background: #ececE8; }
.sg-minute .sg-track-wide { height: 8px; }
.sg-minute .sg-dial .sg-track > span { border-radius: 3px; }
.sg-minute .sg-rationale { margin: 0; padding: 14px 18px 16px; font-size: 14px; line-height: 1.55; color: #4b4f4a; }

/* ------------------------------------------------------------------ the call, on dark ink, last */
.sg-read-card .sgr-call { --gold: #efc84d; }
.sg-minute .sgr-call { display: grid; gap: 16px; margin: 0; padding: 22px 18px 20px; border-radius: 24px; color: #f4f2ec;
  background: linear-gradient(165deg, #23252b 0%, #16171a 55%, #0f1012 100%); box-shadow: 0 2px 4px rgba(11, 12, 14, .18), 0 28px 56px -26px rgba(11, 12, 14, .6); }
.sg-minute .sgr-call > * { max-width: none; margin: 0; }
.sgr-call .sgr-call-k { display: inline-flex; align-items: center; gap: 7px; margin: 0; font-size: 13px; font-weight: 600; color: var(--gold, #efc84d); }
.sgr-call .sgr-call-k::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px rgba(239, 200, 77, .18); }
.sg-minute .sgr-prompt { margin: -8px 0 0; font-size: 22px; line-height: 1.22; font-weight: 600; letter-spacing: -.015em; color: #f4f2ec; }
.sg-read-card .sgr-call .sg-options { display: grid; grid-template-columns: 1fr; gap: 8px; }
.sg-read-card .sgr-call .choice { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; width: 100%; padding: 14px; border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .05); color: #f4f2ec; text-align: left; transition: background .2s, border-color .2s; }
.sg-read-card .sgr-call .choice:hover:not(:disabled) { background: rgba(255, 255, 255, .09); }
.sg-read-card .sgr-call .choice.selected { border-color: var(--gold); background: rgba(239, 200, 77, .12); }
.sg-read-card .sgr-call .choice:disabled:not(.selected) { opacity: .45; }
.sgx-radio { display: block; box-sizing: border-box; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .35); }
.choice.selected .sgx-radio { border: 0; background: var(--gold, #efc84d) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='%2316171a' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat; }
.sg-read-card .sgr-call .choice-copy { display: grid; gap: 3px; min-width: 0; }
.sg-read-card .sgr-call .choice-heading { margin: 0; font-size: 16px; font-weight: 600; line-height: 1.3; color: #f4f2ec; }
.sg-read-card .sgr-call .choice-body { font-size: 14px; line-height: 1.45; color: rgba(244, 242, 236, .62); }
.sg-read-card .sgr-call .choice.selected .choice-body { color: rgba(244, 242, 236, .8); }
.sgx-go { width: 100%; min-height: 52px; border: 0; border-radius: 14px; background: var(--gold, #efc84d); color: #16171a; font: inherit; font-size: 16.5px; font-weight: 600; cursor: pointer; transition: background .2s, color .2s; }
.sgx-go:disabled { background: rgba(255, 255, 255, .12); color: rgba(244, 242, 236, .45); cursor: default; }
.sgx-go:not(:disabled):hover { background: #f6d56f; }
.sg-read-card .sgr-call .guide { margin: -6px 0 0; text-align: center; font-size: 13px; line-height: 1.45; color: rgba(244, 242, 236, .6); }
.sg-minute .sgr-call .sg-reveal { margin: 0; padding: 14px; border-radius: 14px; background: rgba(255, 255, 255, .06); }
.sg-minute .sgr-call .sg-reveal[hidden] { display: none; }
.sg-minute .sgr-call .next { margin-top: 12px; }

/* ------------------------------------------------------------------ the way out: two quiet buttons */
.sg-minute .sgr-foot { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 0; background: none; font-size: 15px; }
.sgx-btn { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 48px; border-radius: 14px; background: rgba(118, 118, 128, .12);
  color: #16171a !important; font-weight: 600; text-decoration: none; }
.sgx-btn:hover { background: rgba(118, 118, 128, .2); }
.sgx-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 520px) {
  .sg-minute .sgr-time { display: none; }
  .sg-read-card.sg-minute { gap: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .sg-minute .sgx-chev svg, .sg-read-card .sgr-call .choice, .sgx-go { transition: none; }
}
