#hwcalc .control-group-row .control-group.material-category-group{flex:1}#hwcalc .control-group-row .control-group.material-group{flex:2.5}#hwcalc .unit{font-size:.85rem;color:var(--text-secondary);margin-top:-.25rem;text-align:right}#hwcalc .custom-select-trigger.active{border-color:var(--primary-color);box-shadow:0 0 0 3px rgba(0,0,0,.1)}#hwcalc .custom-select-trigger.active::after{transform:rotate(180deg)}#hwcalc .custom-select-options.show{display:block}#hwcalc .custom-select-option{padding:.75rem 1rem;cursor:pointer;transition:background-color .15s,color .15s}#hwcalc .custom-select-option:hover{background-color:#c8181d;color:white}#hwcalc .custom-select-option.selected{background-color:#f8f9fa;color:var(--primary-color);font-weight:500}#hwcalc .custom-select-option.selected:hover{background-color:#c8181d;color:white}#hwcalc .speed-card{border:1px solid var(--border-color);border-radius:8px;overflow:hidden;transition:transform .2s,box-shadow .2s;display:flex;flex-direction:column;height:100%}#hwcalc select option:hover,#hwcalc select option:active,#hwcalc select option:checked{background:#c8181d!important;color:#fff!important}#hwcalc select:focus option:checked{background:#c8181d!important;color:#fff!important}#hwcalc .speed-content{padding:1rem;flex-grow:1;display:flex;flex-direction:column}#hwcalc .speed-value{font-size:1.8rem;font-weight:700;color:var(--primary-color);margin:.5rem 0}#hwcalc .quality-grade{display:block;background:var(--primary-color);color:white;padding:4px 8px;border-radius:4px;font-size:.85rem;font-weight:700;margin-bottom:.5rem;text-align:center;width:fit-content;margin-left:auto;margin-right:auto}#hwcalc .speed-desc{font-size:.75rem;color:var(--text-secondary);margin-top:.25rem}#hwcalc .speed-card:hover{transform:translateY(-2px);box-shadow:0 6px 12px rgba(0,0,0,.08);border-color:var(--primary-color)}#hwcalc .speed-image{width:100%;height:100px;background-color:#f5f5f5;display:flex;align-items:center;justify-content:center;overflow:hidden;border-bottom:1px solid var(--border-color)}#hwcalc .speed-image img{width:100%;height:100%;object-fit:cover;display:block}