/* =========================================================================
 * richsnippet.css — GENERATED by tools/gen_tool_pages.php from the live capture
 * at tests/harvest/page-rich-snippet-checker.html.
 *
 * This page was already server-rendered HTML with a hand-written <style>
 * block, so this is that stylesheet extracted to a file, not a translation.
 *
 * Every rule is scoped under .tool-richsnippet because the original styled bare
 * element selectors (body, header, main, h1) which would otherwise leak into
 * every other page sharing the stylesheet cascade.
 * ========================================================================= */

.tool-richsnippet,
.tool-richsnippet::before,
.tool-richsnippet::after { box-sizing: border-box; margin: 0; padding: 0; }
.tool-richsnippet { font-family: 'Inter', sans-serif; background: linear-gradient(135deg, #191F6C 0%, #0f1447 60%, #0a0e35 100%); min-height: 100vh; color: #fff; display: flex; flex-direction: column; }
.tool-richsnippet a { text-decoration: none; color: inherit; }
.tool-richsnippet header { padding: 24px 40px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,0.08); }
.tool-richsnippet .logo-tagline { font-size: 12px; color: rgba(255,255,255,0.5); margin-top: 2px; font-weight: 400; }
.tool-richsnippet main { flex: 1; display: flex; flex-direction: column; align-items: center; padding: 48px 24px 72px; }
.tool-richsnippet .back-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: rgba(255,255,255,0.5); margin-bottom: 36px; transition: color 0.15s; align-self: flex-start; max-width: 820px; width: 100%; }
.tool-richsnippet .back-link:hover { color: #009844; }
.tool-richsnippet .badge { display: inline-block; background: rgba(0,152,68,0.18); border: 1px solid rgba(0,152,68,0.4); color: #4cd87a; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 14px; border-radius: 100px; margin-bottom: 16px; }
.tool-richsnippet h1 { font-size: clamp(26px, 4vw, 44px); font-weight: 800; text-align: center; line-height: 1.15; letter-spacing: -0.8px; max-width: 720px; margin-bottom: 12px; }
.tool-richsnippet h1 span { color: #009844; }
.tool-richsnippet .subtitle { font-size: 16px; color: rgba(255,255,255,0.6); text-align: center; max-width: 600px; line-height: 1.6; margin-bottom: 36px; }
.tool-richsnippet .search-box { display: flex; gap: 10px; width: 100%; max-width: 640px; margin-bottom: 14px; }
.tool-richsnippet .search-input { flex: 1; min-width: 0; padding: 14px 18px; border-radius: 14px; border: 1.5px solid rgba(255,255,255,0.15); background: rgba(255,255,255,0.07); color: #fff; font-size: 16px; font-family: 'Inter', sans-serif; outline: none; transition: border-color 0.2s; }
.tool-richsnippet .search-input:focus { border-color: #009844; }
.tool-richsnippet .search-input::placeholder { color: rgba(255,255,255,0.35); }
.tool-richsnippet .search-btn { width: 100%; max-width: 640px; padding: 16px 28px; margin-top: 18px; background: #009844; color: #fff; border: none; border-radius: 14px; font-size: 15px; font-weight: 700; cursor: pointer; font-family: 'Inter', sans-serif; transition: background 0.2s; white-space: nowrap; }
.tool-richsnippet .search-btn:hover:not(:disabled) { background: #007a37; }
.tool-richsnippet .search-btn:disabled { background: rgba(0,152,68,0.4); cursor: not-allowed; }
.tool-richsnippet .input-error { width: 100%; max-width: 640px; text-align: center; font-size: 13px; color: #f87171; min-height: 20px; margin-bottom: 8px; }
.tool-richsnippet .js-note { width: 100%; max-width: 640px; text-align: center; font-size: 12px; color: rgba(255,255,255,0.4); margin-top: 4px; margin-bottom: 24px; }
.tool-richsnippet .result-wrap { width: 100%; max-width: 820px; margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.tool-richsnippet .spinner { width: 36px; height: 36px; border: 3px solid rgba(255,255,255,0.12); border-top-color: #009844; border-radius: 50%; animation: spin 0.8s linear infinite; margin: 48px auto; }
@keyframes spin {
.tool-richsnippet to { transform: rotate(360deg); }
 
}
.tool-richsnippet .summary-bar { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 16px; padding: 22px 26px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.tool-richsnippet .summary-icon { width: 40px; height: 40px; border-radius: 50%; background: rgba(0,152,68,0.2); border: 1px solid rgba(0,152,68,0.4); display: flex; align-items: center; justify-content: center; font-size: 22px; color: #4cd87a; flex-shrink: 0; }
.tool-richsnippet .summary-icon.warn { background: rgba(251,191,36,0.18); border-color: rgba(251,191,36,0.4); color: #fbbf24; }
.tool-richsnippet .summary-icon.bad { background: rgba(239,68,68,0.15); border-color: rgba(239,68,68,0.4); color: #f87171; }
.tool-richsnippet .summary-text { flex: 1; min-width: 200px; }
.tool-richsnippet .summary-headline { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.tool-richsnippet .summary-sub { font-size: 13px; color: rgba(255,255,255,0.55); }
.tool-richsnippet .spill { display: flex; flex-wrap: wrap; gap: 8px; }
.tool-richsnippet .s-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 100px; }
.tool-richsnippet .s-pill.ok { background: rgba(0,152,68,0.18); border: 1px solid rgba(0,152,68,0.4); color: #4cd87a; }
.tool-richsnippet .s-pill.fail { background: rgba(239,68,68,0.12); border: 1px solid rgba(239,68,68,0.35); color: #f87171; }
.tool-richsnippet .s-pill.warn { background: rgba(251,191,36,0.12); border: 1px solid rgba(251,191,36,0.35); color: #fbbf24; }
.tool-richsnippet .s-pill.neutral { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); color: rgba(255,255,255,0.6); }
.tool-richsnippet .sec-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 16px; overflow: hidden; }
.tool-richsnippet .sec-header { padding: 16px 24px; display: flex; align-items: center; gap: 10px; cursor: pointer; user-select: none; }
.tool-richsnippet .sec-header.has-body { border-bottom: 1px solid rgba(255,255,255,0.08); }
.tool-richsnippet .sec-icon { font-size: 18px; }
.tool-richsnippet .sec-title { font-size: 15px; font-weight: 700; }
.tool-richsnippet .sec-meta { font-size: 12px; color: rgba(255,255,255,0.5); margin-left: 8px; }
.tool-richsnippet .sec-badge { font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 100px; text-transform: uppercase; letter-spacing: 0.05em; margin-left: auto; }
.tool-richsnippet .sec-badge.ok { background: rgba(0,152,68,0.18); border: 1px solid rgba(0,152,68,0.3); color: #4cd87a; }
.tool-richsnippet .sec-badge.warn { background: rgba(251,191,36,0.15); border: 1px solid rgba(251,191,36,0.3); color: #fbbf24; }
.tool-richsnippet .sec-badge.fail { background: rgba(239,68,68,0.15); border: 1px solid rgba(239,68,68,0.3); color: #f87171; }
.tool-richsnippet .sec-toggle { color: rgba(255,255,255,0.4); font-size: 14px; margin-left: 10px; transition: transform 0.2s; }
.tool-richsnippet .sec-toggle.open { transform: rotate(180deg); }
.tool-richsnippet .sec-body { padding: 18px 24px 22px; display: none; }
.tool-richsnippet .sec-body.open { display: block; }
.tool-richsnippet .sec-desc { font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.6; margin-bottom: 14px; }
.tool-richsnippet .field-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.tool-richsnippet .field-chip { font-size: 11px; font-family: 'Courier New', monospace; padding: 3px 9px; border-radius: 6px; background: rgba(0,0,0,0.25); color: rgba(255,255,255,0.7); border: 1px solid rgba(255,255,255,0.08); }
.tool-richsnippet .field-chip.miss-req { background: rgba(239,68,68,0.12); color: #f87171; border-color: rgba(239,68,68,0.3); }
.tool-richsnippet .field-chip.miss-rec { background: rgba(251,191,36,0.1); color: #fbbf24; border-color: rgba(251,191,36,0.3); }
.tool-richsnippet .fix-tip { font-size: 13px; color: rgba(255,255,255,0.6); background: rgba(0,152,68,0.06); border-left: 3px solid rgba(0,152,68,0.4); padding: 10px 14px; border-radius: 6px; margin-top: 12px; line-height: 1.55; }
.tool-richsnippet .fix-tip.warn { background: rgba(251,191,36,0.06); border-left-color: rgba(251,191,36,0.4); }
.tool-richsnippet .fix-tip.fail { background: rgba(239,68,68,0.06); border-left-color: rgba(239,68,68,0.4); }
.tool-richsnippet .item-block { background: rgba(0,0,0,0.2); border-radius: 8px; padding: 12px 14px; margin-top: 12px; }
.tool-richsnippet .item-block-head { display: flex; align-items: center; gap: 8px; font-size: 12px; color: rgba(255,255,255,0.5); margin-bottom: 8px; }
.tool-richsnippet .json-pre { font-family: 'Courier New', monospace; font-size: 11px; color: rgba(255,255,255,0.65); white-space: pre-wrap; word-break: break-word; max-height: 220px; overflow: auto; background: rgba(0,0,0,0.3); padding: 10px; border-radius: 6px; }
.tool-richsnippet .suggest-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.09); border-radius: 12px; padding: 16px 18px; }
.tool-richsnippet .suggest-title { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.tool-richsnippet .suggest-reason { font-size: 12px; color: rgba(255,255,255,0.55); line-height: 1.6; }
.tool-richsnippet .copy-btn { width: 100%; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.15); color: #fff; font-size: 14px; font-weight: 600; padding: 15px 24px; border-radius: 12px; cursor: pointer; font-family: 'Inter', sans-serif; transition: background 0.2s, border-color 0.2s; display: flex; align-items: center; justify-content: center; gap: 8px; }
.tool-richsnippet .copy-btn:hover { background: rgba(0,152,68,0.18); border-color: rgba(0,152,68,0.4); }
.tool-richsnippet .copy-btn.copied { background: rgba(0,152,68,0.25); border-color: rgba(0,152,68,0.5); color: #4cd87a; }
.tool-richsnippet .error-banner { background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.3); border-radius: 16px; padding: 24px; text-align: center; color: #f87171; font-size: 14px; }
.tool-richsnippet .empty-banner { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: 16px; padding: 32px; text-align: center; color: rgba(255,255,255,0.6); font-size: 14px; line-height: 1.7; }
.tool-richsnippet .info-banner { background: rgba(251,191,36,0.08); border: 1px solid rgba(251,191,36,0.35); border-radius: 12px; padding: 14px 18px; font-size: 13px; color: #fbbf24; line-height: 1.6; }
.tool-richsnippet footer { padding: 28px 40px; border-top: 1px solid rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.tool-richsnippet footer p { font-size: 13px; color: rgba(255,255,255,0.4); }
.tool-richsnippet footer a { color: rgba(255,255,255,0.55); transition: color 0.15s; }
.tool-richsnippet footer a:hover { color: #009844; }

