
.toolroll-app.toolroll-hex-rgb-hsl-converter { width: 100%; max-width: 760px; box-sizing: border-box; color: #273142; line-height: 1.6; }
.toolroll-app.toolroll-hex-rgb-hsl-converter *, .toolroll-app.toolroll-hex-rgb-hsl-converter *::before, .toolroll-app.toolroll-hex-rgb-hsl-converter *::after { box-sizing: border-box; }
.toolroll-app.toolroll-hex-rgb-hsl-converter [hidden] { display: none !important; }
.toolroll-app.toolroll-hex-rgb-hsl-converter fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.toolroll-app.toolroll-hex-rgb-hsl-converter legend, .toolroll-app.toolroll-hex-rgb-hsl-converter .toolroll-hex-rgb-hsl-converter__panel > label { display: block; margin: 0 0 7px; padding: 0; font-weight: 700; }
.toolroll-app.toolroll-hex-rgb-hsl-converter .toolroll-hex-rgb-hsl-converter__modes { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.toolroll-app.toolroll-hex-rgb-hsl-converter .toolroll-hex-rgb-hsl-converter__modes legend { width: 100%; }
.toolroll-app.toolroll-hex-rgb-hsl-converter .toolroll-hex-rgb-hsl-converter__modes label { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.toolroll-app.toolroll-hex-rgb-hsl-converter .toolroll-hex-rgb-hsl-converter__panel { margin-top: 18px; }
.toolroll-app.toolroll-hex-rgb-hsl-converter .toolroll-hex-rgb-hsl-converter__channels { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.toolroll-app.toolroll-hex-rgb-hsl-converter .toolroll-hex-rgb-hsl-converter__channels:not([hidden]) { display: grid; }
.toolroll-app.toolroll-hex-rgb-hsl-converter .toolroll-hex-rgb-hsl-converter__channels legend { grid-column: 1 / -1; }
.toolroll-app.toolroll-hex-rgb-hsl-converter .toolroll-hex-rgb-hsl-converter__channels label { color: #465367; font-size: .9rem; font-weight: 700; }
.toolroll-app.toolroll-hex-rgb-hsl-converter input[type="text"], .toolroll-app.toolroll-hex-rgb-hsl-converter input[type="number"] { width: 100%; min-width: 0; padding: 10px 11px; border: 1px solid #8a96a6; border-radius: 7px; background: #fff; color: inherit; font: inherit; }
.toolroll-app.toolroll-hex-rgb-hsl-converter input[aria-invalid="true"] { border-color: #c43d2b; background: #fff8f6; }
.toolroll-app.toolroll-hex-rgb-hsl-converter .toolroll-hex-rgb-hsl-converter__hint { margin: 6px 0 0; color: #58677b; font-size: .88rem; }
.toolroll-app.toolroll-hex-rgb-hsl-converter .toolroll-hex-rgb-hsl-converter__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.toolroll-app.toolroll-hex-rgb-hsl-converter button { padding: 9px 14px; border: 1px solid #68778b; border-radius: 7px; background: #fff; color: #273142; font: inherit; font-weight: 700; cursor: pointer; }
.toolroll-app.toolroll-hex-rgb-hsl-converter button[data-action="convert"] { border-color: #1769aa; background: #1769aa; color: #fff; }
.toolroll-app.toolroll-hex-rgb-hsl-converter button:disabled { cursor: not-allowed; opacity: .55; }
.toolroll-app.toolroll-hex-rgb-hsl-converter .toolroll-hex-rgb-hsl-converter__result { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 20px; margin-top: 22px; padding: 16px; border: 1px solid #c7d0dc; border-radius: 8px; }
.toolroll-app.toolroll-hex-rgb-hsl-converter .toolroll-hex-rgb-hsl-converter__swatch { min-height: 150px; border: 1px solid #68778b; border-radius: 8px; background: #fff; }
.toolroll-app.toolroll-hex-rgb-hsl-converter .toolroll-hex-rgb-hsl-converter__values { display: grid; gap: 12px; margin: 0; }
.toolroll-app.toolroll-hex-rgb-hsl-converter .toolroll-hex-rgb-hsl-converter__values > div { min-width: 0; }
.toolroll-app.toolroll-hex-rgb-hsl-converter .toolroll-hex-rgb-hsl-converter__values dt { color: #58677b; font-size: .86rem; }
.toolroll-app.toolroll-hex-rgb-hsl-converter .toolroll-hex-rgb-hsl-converter__values dd { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 3px 0 0; }
.toolroll-app.toolroll-hex-rgb-hsl-converter .toolroll-hex-rgb-hsl-converter__values code { min-width: 0; overflow-wrap: anywhere; font-size: .95rem; font-weight: 700; }
.toolroll-app.toolroll-hex-rgb-hsl-converter .toolroll-hex-rgb-hsl-converter__status { margin: 16px 0 0; padding: 10px 12px; border-radius: 7px; background: #eef1f5; color: #3b4658; font-size: .9rem; }
.toolroll-app.toolroll-hex-rgb-hsl-converter .toolroll-hex-rgb-hsl-converter__status[data-state="error"] { border-left: 4px solid #c43d2b; background: #fde8e4; color: #7a271a; }
.toolroll-app.toolroll-hex-rgb-hsl-converter .toolroll-hex-rgb-hsl-converter__status[data-state="success"] { border-left: 4px solid #137a52; background: #e2f4eb; color: #0b5135; }
.toolroll-app.toolroll-hex-rgb-hsl-converter input:focus-visible, .toolroll-app.toolroll-hex-rgb-hsl-converter button:focus-visible { outline: 3px solid #79b8f3; outline-offset: 2px; }
@media (max-width: 560px) { .toolroll-app.toolroll-hex-rgb-hsl-converter .toolroll-hex-rgb-hsl-converter__channels:not([hidden]), .toolroll-app.toolroll-hex-rgb-hsl-converter .toolroll-hex-rgb-hsl-converter__result { grid-template-columns: 1fr; }.toolroll-app.toolroll-hex-rgb-hsl-converter .toolroll-hex-rgb-hsl-converter__swatch { min-height: 120px; }.toolroll-app.toolroll-hex-rgb-hsl-converter .toolroll-hex-rgb-hsl-converter__values dd { align-items: stretch; flex-direction: column; }.toolroll-app.toolroll-hex-rgb-hsl-converter .toolroll-hex-rgb-hsl-converter__values button, .toolroll-app.toolroll-hex-rgb-hsl-converter .toolroll-hex-rgb-hsl-converter__actions button { width: 100%; } }
