.hex-to-hsv-container{min-height:100vh;background-color:#f9fafb;padding:2rem 1rem}@media(min-width:640px){.hex-to-hsv-container{padding:3rem 1.5rem}}.converter-card{max-width:42rem;margin:0 auto;background-color:#fff;border-radius:.5rem;box-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -2px rgba(0,0,0,.05);overflow:hidden;transition:all .2s ease-in-out}.converter-card:hover{box-shadow:0 20px 25px -5px rgba(0,0,0,.1),0 10px 10px -5px rgba(0,0,0,.04)}.card-header{padding:1.5rem;border-bottom:1px solid #e5e7eb}.card-header .subtitle{text-transform:uppercase;letter-spacing:.05em;font-size:.875rem;font-weight:600;color:#4f46e5;margin-bottom:.25rem}.card-header .title{font-size:1.5rem;font-weight:700;color:#1f2937;line-height:1.25}.card-body{padding:1.5rem}.color-preview{width:100%;height:8rem;border-radius:.5rem;margin-bottom:1.5rem;box-shadow:inset 0 2px 4px 0 rgba(0,0,0,.06);transition:all .2s ease-in-out;position:relative;overflow:hidden}.color-preview:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;background-image:linear-gradient(45deg,rgba(0,0,0,.05) 25%,transparent 0),linear-gradient(-45deg,rgba(0,0,0,.05) 25%,transparent 0),linear-gradient(45deg,transparent 75%,rgba(0,0,0,.05) 0),linear-gradient(-45deg,transparent 75%,rgba(0,0,0,.05) 0);background-size:20px 20px;background-position:0 0,0 10px,10px -10px,-10px 0;z-index:-1}.input-group{margin-bottom:1.5rem}.input-group .input-label{display:block;font-size:.875rem;font-weight:500;color:#4b5563;margin-bottom:.5rem}.input-group .input-wrapper{position:relative}.input-group .input-wrapper .hex-input{display:block;width:100%;padding:.75rem 1rem;background-color:#f3f4f6;border:1px solid #e5e7eb;border-radius:.375rem;font-size:1rem;color:#1f2937;transition:all .2s ease-in-out}.input-group .input-wrapper .hex-input:focus{outline:none;box-shadow:0 0 0 2px rgba(79,70,229,.25);border-color:#4f46e5}.input-group .input-wrapper .hex-input.error{border-color:#ef4444;background-color:#fee2e2}.input-group .input-wrapper .error-message{margin-top:.5rem;color:#ef4444;font-size:.875rem}.results-section{background-color:#f3f4f6;padding:1.25rem;border-radius:.5rem;margin-bottom:1.5rem}.results-section .results-title{font-size:1.125rem;font-weight:500;color:#1f2937;margin-bottom:1rem}.results-section .hsv-values{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}.results-section .hsv-values .hsv-value-card{background-color:#fff;padding:.875rem;border-radius:.375rem;box-shadow:0 1px 2px 0 rgba(0,0,0,.05);transition:all .2s ease-in-out}.results-section .hsv-values .hsv-value-card:hover{transform:translateY(-2px);box-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -1px rgba(0,0,0,.06)}.results-section .hsv-values .hsv-value-card .value-label{font-size:.75rem;color:#6b7280;margin-bottom:.25rem}.results-section .hsv-values .hsv-value-card .value-number{font-size:1.25rem;font-weight:700;color:#1f2937}.results-section .hsv-values .hsv-value-card.hue-card{border-left:3px solid #f59e0b}.results-section .hsv-values .hsv-value-card.saturation-card{border-left:3px solid #10b981}.results-section .hsv-values .hsv-value-card.value-card{border-left:3px solid #3b82f6}.results-section .copy-button-wrapper{display:flex;justify-content:flex-end;margin-top:1rem}.results-section .copy-button-wrapper .copy-button{padding:.5rem 1rem;border-radius:.375rem;font-weight:500;transition:all .2s ease-in-out;cursor:pointer;background-color:#4f46e5;color:#fff;display:inline-flex;align-items:center}.results-section .copy-button-wrapper .copy-button:focus{outline:none;box-shadow:0 0 0 2px rgba(79,70,229,.25)}.results-section .copy-button-wrapper .copy-button:hover{background-color:#4338ca}.results-section .copy-button-wrapper .copy-button .copy-icon{margin-right:.5rem;height:1rem;width:1rem}.results-section .copy-button-wrapper .copy-button.copied{background-color:#10b981}.history-section{margin-top:1.5rem}.history-section .history-title{font-size:.875rem;font-weight:500;color:#4b5563;margin-bottom:.75rem}.history-section .color-history{display:flex;flex-wrap:wrap;gap:.5rem}.history-section .color-history .history-color{width:2rem;height:2rem;border-radius:9999px;border:2px solid #e5e7eb;cursor:pointer;transition:all .2s ease-in-out;position:relative}.history-section .color-history .history-color:hover{transform:scale(1.15);z-index:1;box-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -1px rgba(0,0,0,.06)}.history-section .color-history .history-color:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;border-radius:9999px;background-image:linear-gradient(45deg,rgba(0,0,0,.05) 25%,transparent 0),linear-gradient(-45deg,rgba(0,0,0,.05) 25%,transparent 0),linear-gradient(45deg,transparent 75%,rgba(0,0,0,.05) 0),linear-gradient(-45deg,transparent 75%,rgba(0,0,0,.05) 0);background-size:10px 10px;background-position:0 0,0 5px,5px -5px,-5px 0;z-index:-1}.info-section{margin-top:2rem;padding-top:1.5rem;border-top:1px solid #e5e7eb}.info-section .info-text{font-size:.875rem;color:#4b5563;line-height:1.5}.info-section .info-text p{margin-bottom:.5rem}.info-section .info-text strong{font-weight:600;color:#1f2937}.info-section .info-list{list-style-type:disc;padding-left:1.5rem;margin-top:.5rem}.info-section .info-list li{margin-bottom:.25rem}.info-section .info-list li:last-child{margin-bottom:0}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes slideUp{0%{transform:translateY(10px);opacity:0}to{transform:translateY(0);opacity:1}}.fade-in{animation:fadeIn .3s ease-in-out}.slide-up{animation:slideUp .3s ease-in-out}@media(prefers-color-scheme:dark){.hex-to-hsv-container{background-color:#111827}.converter-card{background-color:#1f2937}.card-header{border-bottom-color:#4b5563}.card-header .title{color:#f9fafb}.input-group .input-label{color:#e5e7eb}.input-group .input-wrapper .hex-input{background-color:#374151;border-color:#4b5563;color:#f9fafb}.input-group .input-wrapper .hex-input.error{border-color:#f87171;background-color:rgba(239,68,68,.2)}.results-section{background-color:#374151}.results-section .results-title{color:#f9fafb}.results-section .hsv-values .hsv-value-card{background-color:#1f2937}.results-section .hsv-values .hsv-value-card .value-label{color:#d1d5db}.results-section .hsv-values .hsv-value-card .value-number{color:#f9fafb}.info-section{border-top-color:#4b5563}.info-section .info-text{color:#e5e7eb}.info-section .info-text strong{color:#f9fafb}}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}