/* Pieces of the free tools and reports that theme.css builds on: tarot flip, report print layout, notes. Shares tokens with living-sky.css. */
.choice{display:flex;flex-wrap:wrap;gap:10px}
.choice label{display:flex;align-items:center;gap:8px;min-height:46px;padding:10px 16px;margin:0;border:1px solid #b5b8e03a;border-radius:999px;cursor:pointer;font-size:14px;color:var(--ink)}
.choice label:has(input:checked){border-color:var(--gold);background:#e6cba015;color:var(--gold)}
.choice input{accent-color:#e6cba0;width:18px;height:18px;margin:0}
#result{padding-top:34px;scroll-margin-top:12px}
#result:focus{outline:none}
.tool-cards{display:grid;gap:16px;margin:0 0 20px}
.tool-card{border:1px solid var(--line);background:#0a102a70;border-radius:4px;padding:20px}
.tool-card p:last-child{margin-bottom:0}
.source,.arithmetic{font-size:12px!important;color:var(--muted)!important;margin:0!important}
.arithmetic{margin-top:12px!important}
.motif{color:#d7d1c3!important}
.question{border-left:2px solid #e6cba066;padding:4px 0 4px 14px;color:#e8e1d6!important}
.question span{display:block;font-size:9px;letter-spacing:1.8px;color:var(--gold);margin-bottom:4px;text-transform:uppercase}
.tool-notes{margin:8px 0 26px}
.tool-notes p{font-size:12px!important;color:var(--muted)!important;line-height:1.7!important}
.tool-next{border-top:1px solid var(--line);padding-top:20px;margin-bottom:44px}
.tool-next ul{list-style:none;margin:0;padding:0}
.tool-next a{display:inline-flex;align-items:center;min-height:44px;font-size:14px}
.tarot-spread{grid-template-columns:repeat(3,minmax(0,1fr))}
.tarot-card{opacity:0;transform:translateY(10px);animation:card-in .6s ease forwards;animation-delay:var(--delay,0ms);text-align:left}
.tarot-card h3{font-size:22px;margin-bottom:10px;color:var(--gold)}
.tarot-card .eyebrow{font-size:8px}
.tarot-art{display:block;width:100%;max-width:220px;height:auto;aspect-ratio:2/3;margin:0 auto 18px;border-radius:6px;border:1px solid #e6cba055;box-shadow:0 10px 30px #0008;background:#0a102a}
.tarot-flip{position:relative;max-width:220px;aspect-ratio:2/3;margin:0 auto 18px;perspective:1000px}
.tarot-flip .tarot-art{position:absolute;inset:0;margin:0;backface-visibility:hidden;animation:.9s cubic-bezier(.3,.1,.2,1) forwards;animation-delay:calc(var(--delay,0ms) + .45s)}
.tarot-face{transform:rotateY(180deg);animation-name:flip-face!important}
.tarot-back{animation-name:flip-back!important}
@keyframes flip-face{to{transform:rotateY(0)}}
@keyframes flip-back{to{transform:rotateY(-180deg)}}
@keyframes card-in{to{opacity:1;transform:none}}
#redraw{margin:0 0 20px}
.tool-offer{border-left:3px solid var(--gold);padding:4px 0 4px 16px;margin:26px 0;font-size:14px;line-height:1.75;color:#d8d2c8}
.tool-offer a{color:var(--gold)}
.report-page section{margin:0 0 34px}
.report-page h3{margin:18px 0 8px;color:var(--gold)}
.report-list{margin:0 0 18px;padding:0 0 0 20px;font-size:14px;line-height:1.8;color:#e8e1d6}
.report-list li{margin:0 0 8px}
.evening-cards{display:grid;gap:16px;margin:0 0 20px}
.evening-card{border:1px solid var(--line);background:#0a102a70;border-radius:4px;padding:20px}
.evening-card h3{margin:2px 0 8px;font:normal 22px Georgia;color:var(--gold)}
.evening-card h4{margin:14px 0 6px;font-size:14px;color:var(--gold)}
.evening-card p:last-child,.evening-card ul:last-child{margin-bottom:0}
.evening-basis{font-size:12px!important;color:var(--muted)!important}
.demo-note{font-size:12px!important;color:var(--muted)!important;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:10px 0;margin:0 0 30px!important}
/* Print and PDF: the paid report (/order), the demo reports (/examples/*) and tool results share this layout. */
@media print{
  @page{margin:16mm}
  body{background:#fff!important;color:#000!important}
  body::before,body::after,canvas,.skip-link,.site-header,footer,.tool-next,.ad-break,#redraw{display:none!important}
  .demo-note,.tool-notes p,.source{color:#333!important}
  .report-page section{break-inside:avoid-page;margin-bottom:18px}
  .report-page h2{break-after:avoid}
  .evening-card{break-inside:avoid;border:1px solid #999;padding:12px;color:#000!important}
  .evening-card h3,.evening-card h4,.evening-card p,.evening-card li,.evening-basis{color:#000!important}
  .tool-card,.tarot-card{break-inside:avoid;box-shadow:none;opacity:1!important;transform:none!important;animation:none!important}
  .tarot-art,.tarot-flip{max-width:34mm;box-shadow:none;margin-bottom:8px}
  .tarot-back{display:none!important}
  .tarot-flip .tarot-art{animation:none!important}
  .tarot-face{transform:none}
}
@media(prefers-reduced-motion:reduce){.tarot-card{animation:none;opacity:1;transform:none}.tarot-flip .tarot-art{animation:none!important}.tarot-face{transform:none}.tarot-back{display:none!important}}
@media(max-width:760px){
  .tarot-spread{grid-template-columns:1fr}
  .choice label{flex:1 1 auto}
}
