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