/* Yore Tools — shared styles. Uses the theme's tokens (--ink, --text, --muted, --rule, --paper,
   --wash, --accent, --accent-strong, --accent-wash, --brand, --brand-strong, --highlight, --serif,
   --sans, --radius). Readers are mostly 60+: 18px+ text, 48px+ tap targets, strong contrast. */
.yt { font-size: 18px; line-height: 1.55; color: var(--text); }
.yt-card { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); padding: 24px; }
.yt-card--wash { background: var(--wash); }
.yt-h { font: 600 clamp(24px, 3vw, 30px)/1.2 var(--serif); color: var(--ink); margin: 0 0 10px; }
.yt-q { font: 650 21px/1.35 var(--sans); color: var(--ink); margin: 0 0 16px; }
.yt-help { font-size: 16px; color: var(--muted); margin: -8px 0 16px; }
.yt-options { display: grid; gap: 10px; }
.yt-option { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 12px 16px; border: 1.5px solid #c9d1ca; border-radius: 10px; background: var(--paper); font: 500 18px/1.3 var(--sans); color: var(--ink); cursor: pointer; text-align: left; width: 100%; }
.yt-option:hover { border-color: var(--accent); background: var(--accent-wash); }
.yt-option[aria-pressed="true"], .yt-option:has(input:checked) { border-color: var(--accent); background: var(--accent-wash); box-shadow: inset 0 0 0 1px var(--accent); }
.yt-option input { width: 22px; height: 22px; accent-color: var(--accent); flex: 0 0 auto; }
.yt-input, .yt-select { width: 100%; min-height: 52px; padding: 10px 14px; font: 400 18px/1.3 var(--sans); color: var(--ink); background: var(--paper); border: 1.5px solid #98a39d; border-radius: 8px; }
.yt-input:focus, .yt-select:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.yt-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; align-items: center; }
.yt-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 12px 22px; font: 650 17px/1.2 var(--sans); color: #fff; background: var(--accent); border: 0; border-radius: 8px; cursor: pointer; text-decoration: none; }
.yt-btn:hover { background: var(--accent-strong); color: #fff; }
.yt-btn--ghost { background: var(--paper); color: var(--ink); border: 1.5px solid #c9d1ca; }
.yt-btn--ghost:hover { background: var(--wash); color: var(--ink); }
.yt-progress { height: 8px; background: var(--wash); border-radius: 99px; overflow: hidden; margin: 0 0 20px; }
.yt-progress > span { display: block; height: 100%; background: var(--accent); transition: width .25s; }
.yt-note { font-size: 15px; color: var(--muted); }
.yt-callout { border-left: 4px solid var(--brand-strong); background: var(--highlight); padding: 14px 18px; border-radius: 0 8px 8px 0; }
.yt-good { color: #1d6b43; font-weight: 650; }
.yt-warn { color: var(--brand-strong); font-weight: 650; }
.yt-big { font: 600 clamp(34px, 5vw, 48px)/1.05 var(--serif); color: var(--ink); }
@media (max-width: 640px) { .yt-card { padding: 18px 16px; } .yt-btn { width: 100%; } }
@media print { .yt-noprint { display: none !important; } }

/* Change log (modules/changelog) */
.yo-history__list { margin: 10px 0 6px; padding-left: 18px; font-size: 15.5px; }
.yo-history__list li { margin: 4px 0; }
.yo-history__list time { font-weight: 650; color: var(--ink); margin-right: 4px; }
.yo-changelog__day { font: 600 22px/1.3 var(--serif); color: var(--ink); margin: 28px 0 8px; }
.yo-changelog__list { margin: 0; padding-left: 20px; }
.yo-changelog__list li { margin: 6px 0; }

/* Directory: panel links, homepage checkup callout, tools grid */
.yt-panel-links { margin: 0; padding: 14px 24px; border-top: 1px solid var(--rule); font-size: 15.5px; line-height: 1.7; }
.yt-panel-links a { font-weight: 600; }
.yt-callout-cta { position: relative; display: grid; gap: 4px; margin: 0 0 24px; padding: 18px 56px 18px 22px; border-radius: var(--radius); background: var(--highlight); border: 1px solid #eadfc0; color: var(--ink); text-decoration: none; }
.yt-callout-cta:hover { border-color: var(--brand-strong); color: var(--ink); }
.yt-callout-cta__k { font: 700 13px/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--brand-strong); }
.yt-callout-cta__t { font: 600 clamp(21px, 2.4vw, 25px)/1.25 var(--serif); }
.yt-callout-cta__d { font-size: 16.5px; color: var(--text); }
.yt-callout-cta__go { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 28px; color: var(--brand-strong); }
.yt-grid-sec { margin-top: 48px; }
.yt-grid { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.yt-grid__item { display: grid; gap: 4px; height: 100%; padding: 16px 18px; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--paper); text-decoration: none; color: var(--text); }
.yt-grid__item:hover { border-color: var(--accent); background: var(--accent-wash); color: var(--text); }
.yt-grid__t { font: 650 18px/1.3 var(--sans); color: var(--accent-strong); }
.yt-grid__d { font-size: 15.5px; line-height: 1.45; }
@media (max-width: 640px) { .yt-panel-links { padding: 12px 16px; } }
