/* SHOW MUST GO ON — agenda → Pre-Event Readiness Brief. Builds on the site's tokens in styles.css. */

.sg-wrap { max-width: 60rem; margin: 0 auto; padding-inline: var(--gutter); }
.sg-section { padding-block: clamp(2.5rem, 5vw, 4rem); }
.sg-lead { font-size: 1.15rem; max-width: 46em; }
.sg-eyebrow { color: var(--gold-light); font-size: .95rem; letter-spacing: .04em; margin: 0 0 .75rem; }
.sg-quote { margin: 2.5rem 0 0; padding-left: 1.25rem; border-left: 2px solid var(--gold); font: italic 500 clamp(1.2rem, 2vw, 1.5rem)/1.4 "Cormorant Garamond", Georgia, serif; color: var(--ivory); max-width: 36em; }
.sg-card { padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid rgba(184, 151, 62, .35); border-radius: 3px; background: var(--char); }
.sg-field { display: grid; gap: .4rem; margin-bottom: 1.1rem; font-size: .95rem; font-weight: 600; }
.sg-field input, .sg-field select, .sg-field textarea {
  width: 100%; padding: .75rem .9rem; border: 1px solid #5a564e; border-radius: 2px;
  background: var(--ink); color: var(--ivory); font: 400 1rem/1.5 "Manrope", system-ui, sans-serif;
}
.sg-field .hint { font-weight: 400; color: var(--muted); font-size: .85rem; }
.sg-meta { color: var(--muted); font-size: .9rem; }
.sg-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }

#step-upload h1 { font-size: clamp(2.2rem, 5vw, 3.9rem); line-height: 1.08; margin: 0 0 1.25rem; }
.sm-h1 span { display: block; }
@media (min-width: 700px) { .sm-h1 span { white-space: nowrap; } }

/* three steps */
.sm-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(14rem, 100%), 1fr)); gap: 1rem 2rem; margin: 2rem 0 .5rem; padding: 0; list-style: none; counter-reset: step; }
.sm-steps li { counter-increment: step; color: var(--muted); font-size: .95rem; }
.sm-steps li::before { content: counter(step); display: block; margin-bottom: .35rem; font: 500 1.9rem/1 "Cormorant Garamond", Georgia, serif; color: var(--gold-light); }
.sm-steps strong { display: block; color: var(--ivory); font-weight: 600; }

.sm-notice { margin: 2rem 0 1rem; padding: 1rem 1.25rem; border-left: 3px solid var(--gold); background: rgba(184, 151, 62, .08); color: var(--muted); font-size: .95rem; max-width: 46em; }
.sm-notice strong { color: var(--ivory); }
.sm-consent { display: flex; gap: .75rem; align-items: flex-start; max-width: 46em; margin-bottom: 1.5rem; color: var(--ivory); font-size: .95rem; cursor: pointer; }
.sm-consent input { margin-top: .3rem; width: 1.1rem; height: 1.1rem; accent-color: var(--gold); flex: none; }

.sm-upload { max-width: none; }
.sm-upload [hidden] { display: none !important; }
.sm-upload .btn:disabled { opacity: .45; cursor: not-allowed; }
.sm-upload .btn-gold:disabled:hover { background: var(--gold); border-color: var(--gold); }
.sm-drop { position: relative; display: grid; justify-items: center; gap: .4rem; padding: clamp(2rem, 5vw, 3rem) 1.5rem; border: 1px dashed var(--gold); border-radius: 3px; background: var(--char); text-align: center; cursor: pointer; transition: background .15s, border-color .15s; }
.sm-drop:hover, .sm-drop.over { background: rgba(184, 151, 62, .12); border-style: solid; }
.sm-drop input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.sm-drop:has(input:focus-visible) { outline: 2px solid var(--gold-light); outline-offset: 3px; }
.sm-drop-title { font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.6rem; color: var(--ivory); }
.sm-drop-sub { color: var(--muted); font-size: .9rem; }
.sm-drop-btn { margin-top: .75rem; }
.sm-drop-tick { display: none; color: var(--gold-light); font-size: .85rem; margin-top: .5rem; }
.sm-drop[data-disabled] { opacity: .55; cursor: not-allowed; border-color: #5a564e; }
.sm-drop[data-disabled]:hover { background: var(--char); border-style: dashed; }
.sm-drop[data-disabled] input { cursor: not-allowed; }
.sm-drop[data-disabled] .sm-drop-tick { display: block; }

.sm-or { display: flex; align-items: center; gap: 1rem; margin: 1.25rem 0; color: var(--muted); font-size: .85rem; }
.sm-or::before, .sm-or::after { content: ""; flex: 1; height: 1px; background: rgba(255, 255, 255, .1); }
.sm-paste-toggle { border: 0; background: none; padding: 0; font: inherit; cursor: pointer; }
.sm-paste-toggle:disabled { color: var(--muted); text-decoration-color: #5a564e; cursor: not-allowed; }
.sm-paste { margin-top: 1rem; }
.sm-paste textarea { resize: vertical; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .9rem; }

.sm-chip { display: inline-flex; align-items: center; gap: .6rem; margin-top: 1rem; padding: .5rem .9rem; border: 1px solid var(--gold); border-radius: 999px; color: var(--ivory); font-size: .9rem; }
.sm-chip-x { border: 0; background: none; color: var(--muted); font-size: 1.2rem; line-height: 1; cursor: pointer; }
.sm-chip-x:hover { color: #e88b7a; }
.sm-error { margin: .75rem 0 0; color: #e88b7a; font-size: .95rem; }

.sm-reading { min-height: 40vh; }
.sm-progress { height: 4px; max-width: 24rem; margin: .5rem 0 1.5rem; background: #3a3833; overflow: hidden; border-radius: 2px; }
.sm-progress span { display: block; height: 100%; width: 0; background: var(--gold); transition: width .25s linear; }
.sm-pct { margin: .25rem 0 0; font: 500 clamp(3rem, 8vw, 5rem)/1 "Cormorant Garamond", Georgia, serif; color: var(--gold-light); font-variant-numeric: tabular-nums; }
.sm-pending { margin: 1rem 0 0; padding: .9rem 1.1rem; border: 1px solid rgba(184, 151, 62, .35); border-radius: 3px; background: var(--char); position: sticky; top: .5rem; z-index: 3; }
.sm-pending p { margin: 0 0 .25rem; color: var(--muted); font-size: .92rem; max-width: none; }
.sm-pending strong { color: var(--gold-light); font-size: 1.1rem; font-variant-numeric: tabular-nums; margin-right: .25rem; }
.sm-pending .sm-progress { margin: .4rem 0 0; max-width: none; }

/* policy pages */
.sm-policy h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 2.5rem 0 .75rem; }
.sm-policy p, .sm-policy li { color: var(--muted); max-width: 46em; }
.sm-policy ul { padding-left: 1.2rem; }
.sm-todo { padding: .75rem 1rem; border: 1px dashed #e8b96b; color: #e8b96b; font-size: .9rem; max-width: 46em; }

/* ---- report ---- */
.sm-report h3 { margin-top: 2.5rem; padding-top: 1rem; border-top: 1px solid rgba(184, 151, 62, .4); font-size: 1.5rem; }
.sm-report-head h2 { margin-bottom: .5rem; }
.sm-ev-meta { color: var(--gold-light); font-size: 1.1rem; margin: 0 0 .5rem; }
.sm-disclaimer { font-size: .85rem; color: var(--muted); font-style: italic; }
.sm-summary { color: var(--ivory); font-size: 1.1rem; max-width: 46em; margin: 0; padding-left: 1.2rem; }
.sm-summary li { margin-bottom: .5rem; }
.sm-summary li::marker { color: var(--gold); }
.sm-notes { padding-left: 1.1rem; }
.sm-actions { margin-top: 1rem; }

.sm-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.sm-table th, .sm-table td { padding: .55rem .5rem; text-align: left; border-bottom: 1px solid rgba(255, 255, 255, .08); vertical-align: top; }
.sm-table th { color: var(--muted); font-weight: 600; font-size: .8rem; letter-spacing: .03em; }
.sm-table td:first-child { white-space: nowrap; color: var(--gold-light); }
.sm-legend { margin-top: .75rem; font-size: .85rem; }

.sm-status { display: inline-block; padding: .1rem .5rem; border: 1px solid; border-radius: 2px; font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.sm-status.confirmed { color: #8fd49a; border-color: #8fd49a; }
.sm-status.tentative { color: #e8b96b; border-color: #e8b96b; }
.sm-status.unknown { color: var(--muted); border-color: #5a564e; }

.sm-item { margin-top: 1.25rem; padding: 1.25rem clamp(1rem, 3vw, 1.75rem); border: 1px solid rgba(184, 151, 62, .3); border-radius: 3px; background: var(--char); break-inside: avoid; }
.sm-item header { display: grid; grid-template-columns: auto 1fr auto; gap: .25rem 1rem; align-items: baseline; }
.sm-item header h3 { margin: 0; padding: 0; border: 0; font-size: 1.35rem; }
.sm-item .sm-time { color: var(--gold-light); font-weight: 600; white-space: nowrap; }
.sm-item .sm-people { grid-column: 2; margin: 0; font-size: .9rem; }
.sm-item .sm-status { grid-column: 3; grid-row: 1; }
.sm-item[data-format="gap"] { border-style: dashed; }
.sm-analysis { margin-top: 1rem; }
.sm-analysis dl { display: grid; grid-template-columns: max-content 1fr; gap: .5rem 1.25rem; margin: 0; }
.sm-analysis dt { color: var(--gold-light); font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; padding-top: .15rem; }
.sm-analysis dd { margin: 0; color: var(--ivory); }
.sm-discuss-h { margin: 1.1rem 0 .4rem; color: var(--gold-light); font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; }
.sm-discuss { margin: 0; padding-left: 1.1rem; }
.sm-discuss li { color: var(--ivory); margin-bottom: .35rem; }
.sm-owner { display: block; color: var(--muted); font-size: .8rem; }
.sm-wait { animation: sm-pulse 1.2s ease-in-out infinite; }
@keyframes sm-pulse { 50% { opacity: .4; } }
.sm-team li { color: var(--ivory); margin-bottom: .5rem; }
.sm-how { margin-top: 2.5rem; padding: 1.25rem 1.5rem; border-left: 3px solid var(--gold); background: rgba(184, 151, 62, .08); }
.sm-how h3 { margin: 0 0 .5rem; padding: 0; border: 0; font-size: 1.3rem; }
.sm-print-footer { display: none; }
@media (max-width: 600px) {
  .sm-item header { grid-template-columns: 1fr; }
  .sm-item .sm-people, .sm-item .sm-status { grid-column: 1; grid-row: auto; justify-self: start; }
  .sm-analysis dl { grid-template-columns: 1fr; gap: .15rem 0; }
  .sm-analysis dd { margin-bottom: .6rem; }
}

/* ---- print / "Download as PDF" ---- */
@page { margin: 14mm 14mm 16mm; }
@media print {
  .site-header, .site-footer, .no-print, #contact-dialog { display: none !important; }
  body { background: #fff; color: #1d1c1a; font-size: 10.5pt; }
  main > section { display: none !important; }
  #step-report { display: block !important; padding: 0; }
  .sg-wrap { max-width: none; padding: 0; }
  h1, h2, h3, .sm-item header h3, .sm-analysis dd, .sm-discuss li, .sm-team li, .sm-summary { color: #1d1c1a; }
  .sg-eyebrow, .sm-ev-meta, .sm-item .sm-time, .sm-analysis dt, .sm-discuss-h { color: #8a6d23; }
  p, .sm-owner, .sg-meta, .sm-table th, .sm-disclaimer { color: #555; }
  .sm-item, .sm-how { background: #fff; border-color: #c9bc95; }
  .sm-report h3 { border-top-color: #c9bc95; }
  .sm-table td, .sm-table th { border-bottom-color: #ddd; }
  .sm-status.unknown { color: #666; border-color: #999; } .sm-status.confirmed { color: #2d7a3a; border-color: #2d7a3a; } .sm-status.tentative { color: #9a6a12; border-color: #9a6a12; }
  .sm-owner { display: block; border-bottom: 1px solid #bbb; margin-top: .3rem; width: 60%; color: #777; }
  .sm-print-footer { display: block; margin-top: 2rem; padding-top: .75rem; border-top: 1px solid #c9bc95; font-size: 9pt; color: #555; }
  a { text-decoration: none; }
}

/* ---- landing sections ---- */
.sm-trust { color: var(--muted); font-size: .9rem; margin: -.25rem 0 0; }
.sm-quote-top { margin: 2rem 0 .5rem; }
.sm-marketing h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); margin-bottom: 1rem; }
.sm-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(16rem, 100%), 1fr)); gap: 1.25rem; margin-top: 1.5rem; }
.sm-cards .sg-card h3 { margin: 0 0 .5rem; font-size: 1.35rem; }
.sm-cards .sg-card p { margin: 0; font-size: .95rem; }
.sm-closing { margin-top: 1.5rem; color: var(--ivory); font-style: italic; }
.sm-chips { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.25rem 0 0; padding: 0; list-style: none; }
.sm-chips li { padding: .5rem .9rem; border: 1px solid rgba(184, 151, 62, .5); border-radius: 999px; color: var(--ivory); font-size: .92rem; }
.sm-signature { color: var(--muted); }
.sm-testimonials { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(20rem, 100%), 1fr)); gap: 1.5rem; margin-top: 2rem; }
.sm-testimonials figure { margin: 0; padding: 1.25rem 1.5rem; border-left: 2px solid var(--gold); }
.sm-testimonials blockquote { margin: 0 0 .75rem; font: italic 500 1.2rem/1.45 "Cormorant Garamond", Georgia, serif; color: var(--ivory); }
.sm-testimonials figcaption { font-size: .9rem; color: var(--gold-light); }
.sm-testimonials figcaption span { display: block; color: var(--muted); }
.sm-share { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; }
.sm-share-after { margin-top: 1.5rem; }
.sm-share-after p { color: var(--ivory); margin-bottom: .5rem; }
.sm-faq details { border-top: 1px solid rgba(184, 151, 62, .35); }
.sm-faq details:last-child { border-bottom: 1px solid rgba(184, 151, 62, .35); }
.sm-faq summary { padding: 1rem 0; cursor: pointer; list-style: none; color: var(--ivory); font-weight: 600; display: flex; justify-content: space-between; gap: 1rem; }
.sm-faq summary::-webkit-details-marker { display: none; }
.sm-faq summary::after { content: "+"; color: var(--gold); font-weight: 400; }
.sm-faq details[open] summary::after { content: "\2212"; }
.sm-faq details p { margin: 0 0 1.1rem; max-width: 46em; }
.sm-fill td { height: 2.6rem; }
.sm-fill td:first-child { color: var(--ivory); white-space: normal; }
@media print { .sm-fill td { border-bottom: 1px solid #bbb; height: 2.2rem; } }

/* photo beside the upload area: top-aligned with the drop box on wide screens,
   tucked under it on the right on phones, pointing up at it */
.sm-upload { display: grid; grid-template-columns: minmax(0, 1fr) 15rem; column-gap: 2.5rem; align-items: start; }
.sm-upload > * { grid-column: 1; min-width: 0; }
.sm-photo { grid-column: 2; grid-row: 1 / span 6; display: block; width: 100%; height: auto; filter: drop-shadow(0 18px 28px rgba(0, 0, 0, .55)); }
@media (max-width: 900px) {
  .sm-upload { grid-template-columns: 1fr; }
  .sm-photo { grid-column: 1; grid-row: 2; width: 9.5rem; justify-self: end; margin: -.5rem 1rem 0 0; }
}

/* Reverse links: deliberately quiet, so they never compete with the upload */
.sm-more { padding-block: clamp(2rem, 4vw, 3rem); border-top: 1px solid rgba(184, 151, 62, .25); }
.sm-more h3 { margin: 0 0 1.25rem; font-size: 1.4rem; }
.sm-more-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(14rem, 100%), 1fr)); gap: 1.25rem 2rem; }
.sm-more-grid strong { display: block; margin-bottom: .2rem; font-size: .95rem; font-weight: 600; }
.sm-more-grid p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.5; }
.sm-more-grid a { color: var(--gold-light); text-decoration: underline 1px rgba(184, 151, 62, .6); text-underline-offset: .22em; }
.sm-more-grid a:hover { text-decoration-thickness: 2px; }
@media print { .sm-more { display: none; } }
