@keyframes toastSlideIn{from{transform:translateY(20px);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes toastSlideOut{from{transform:translateY(0);opacity:1}to{transform:translateY(20px);opacity:0}}@keyframes toolResultIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes spin{to{transform:rotate(360deg)}}@keyframes wizardFadeIn{from{opacity:0;transform:translateX(10px)}to{opacity:1;transform:translateX(0)}}.contrastCheckerPage{min-height:100vh;background:var(--color-bg-secondary, #f8fafc);color:var(--color-text-primary, #0f172a);padding:32px 5% 48px;transition:background .3s ease,color .3s ease}.contrastChecker{max-width:960px;margin:0 auto;padding:0 16px}.contrastChecker__input{background:var(--color-bg-card, #ffffff);border:1px solid var(--color-border, #e2e8f0);border-radius:16px;padding:24px;margin-bottom:24px;margin-bottom:24px}.contrastChecker__inputRow{display:grid;grid-template-columns:1fr auto 1fr;gap:24px;align-items:center}@media(max-width: 768px){.contrastChecker__inputRow{grid-template-columns:1fr}}.contrastChecker__field{display:flex;flex-direction:column;gap:4px}.contrastChecker__label{display:block;font-size:1.5rem;font-weight:500;color:var(--color-text-secondary, #475569);margin-bottom:4px}.contrastChecker__pickerWrapper{display:flex;gap:8px;align-items:center}.contrastChecker__picker{width:56px;height:46px;border:none;border-radius:8px;cursor:pointer;padding:2px;background:none}.contrastChecker__picker::-webkit-color-swatch-wrapper{padding:2px}.contrastChecker__picker::-webkit-color-swatch{border-radius:4px;border:none}.contrastChecker__hexInput{width:100%;padding:14px 18px;background:var(--color-bg-input, #f1f5f9);border:1px solid var(--color-border, #e2e8f0);border-radius:8px;color:var(--color-text-primary, #0f172a);font-size:1.6rem;line-height:1.5;transition:border-color .15s cubic-bezier(0.22, 1, 0.36, 1),background .15s cubic-bezier(0.22, 1, 0.36, 1);width:120px;font-family:monospace;text-transform:uppercase}.contrastChecker__hexInput::-moz-placeholder{color:var(--color-text-muted, #94a3b8)}.contrastChecker__hexInput::placeholder{color:var(--color-text-muted, #94a3b8)}.contrastChecker__hexInput:focus{outline:none;border-color:var(--color-accent, #2563eb);box-shadow:0 0 0 1px var(--color-accent, #2563eb)}.contrastChecker__hexInput:focus-visible{outline:none}.contrastChecker__swapBtn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:14px 28px;min-height:48px;background:rgba(0,0,0,0);color:var(--color-text-primary, #0f172a);border:1px solid var(--color-border, #e2e8f0);border-radius:8px;font-size:1.6rem;font-weight:600;cursor:pointer;transition:border-color .15s cubic-bezier(0.22, 1, 0.36, 1),color .15s cubic-bezier(0.22, 1, 0.36, 1),background .15s cubic-bezier(0.22, 1, 0.36, 1);text-decoration:none;align-self:flex-end;padding:12px 16px;font-size:2rem;line-height:1}.contrastChecker__swapBtn:hover{border-color:#2563eb;color:#2563eb;background:rgba(37,99,235,.08)}.contrastChecker__swapBtn:active{background:rgba(37,99,235,.12)}.contrastChecker__swapBtn:focus-visible{outline:2px solid #2563eb;outline-offset:2px}.contrastChecker__swapBtn:disabled{opacity:.5;cursor:not-allowed}@media(max-width: 768px){.contrastChecker__swapBtn{align-self:stretch;text-align:center}}.contrastChecker__result{background:var(--color-bg-card, #ffffff);border:1px solid var(--color-border, #e2e8f0);border-radius:16px;padding:24px;margin-bottom:24px;margin-bottom:24px}.contrastChecker__resultTitle{font-size:2rem;font-weight:600;color:var(--color-text-primary, #0f172a);margin:0 0 16px;padding-bottom:8px;border-bottom:1px solid var(--color-border, #e2e8f0)}.contrastChecker__ratioDisplay{text-align:center;padding:24px 0;border-bottom:1px solid var(--color-border, #e2e8f0);margin-bottom:24px}.contrastChecker__ratioValue{font-size:4.8rem;font-weight:900;color:var(--color-text-primary, #0f172a);line-height:1;margin-bottom:4px}.contrastChecker__ratioLabel{font-size:1.6rem;color:var(--color-text-muted, #94a3b8)}.contrastChecker__grid{display:grid;grid-template-columns:repeat(4, 1fr);gap:16px}@media(max-width: 768px){.contrastChecker__grid{grid-template-columns:repeat(2, 1fr)}}.contrastChecker__badge{display:flex;flex-direction:column;align-items:center;gap:4px;padding:16px;border-radius:12px;background:var(--color-bg-input, #f1f5f9);border:1px solid var(--color-border, #e2e8f0)}.contrastChecker__badgeLabel{font-size:1.4rem;font-weight:600;color:var(--color-text-secondary, #475569);text-transform:uppercase;letter-spacing:.06em}.contrastChecker__badgeStatus{font-size:1.8rem;font-weight:700}.contrastChecker__badgeStatus_state_pass{color:#22c55e}.contrastChecker__badgeStatus_state_fail{color:#ef4444}.contrastChecker__badgeDesc{font-size:1.1rem;color:var(--color-text-muted, #94a3b8);text-align:center;line-height:1.4}.contrastChecker__preview{background:var(--color-bg-card, #ffffff);border:1px solid var(--color-border, #e2e8f0);border-radius:16px;padding:24px;margin-bottom:24px}.contrastChecker__previewTitle{font-size:2rem;font-weight:600;color:var(--color-text-primary, #0f172a);margin:0 0 16px;padding-bottom:8px;border-bottom:1px solid var(--color-border, #e2e8f0)}.contrastChecker__previewPanel{border-radius:12px;padding:32px;transition:background .15s cubic-bezier(0.22, 1, 0.36, 1)}.contrastChecker__previewHeading{font-size:2.8rem;font-weight:700;margin:0 0 16px;line-height:1.2}.contrastChecker__previewBody{font-size:1.6rem;line-height:1.6;margin:0 0 8px}.contrastChecker__previewSmall{font-size:1.4rem;opacity:.8}.contrastCheckerToast{position:fixed;bottom:24px;right:24px;padding:14px 24px;background:#22c55e;color:#fff;border-radius:12px;font-weight:500;box-shadow:0 4px 12px rgba(0,0,0,.08);z-index:1000;display:none;animation:toastSlideIn .3s ease forwards}@media(max-width: 640px){.contrastCheckerToast{left:16px;right:16px;bottom:16px;text-align:center}}.contrastCheckerToast_success{display:block;background:#22c55e;color:#fff}.contrastCheckerToast_success::before{content:"✓ "}.contrastCheckerToast_error{display:block;background:#ef4444;color:#fff}.contrastCheckerToast_error::before{content:"✕ "}.contrastCheckerToast_info{display:block;background:#2563eb;color:#fff}.contrastCheckerToast_info::before{content:"ⓘ "}.contrastCheckerToast_warning{display:block;background:#eab308;color:#fff}.contrastCheckerToast_warning::before{content:"⚠ "}