.tool-hex-to-rgb .hr-line { display: flex; gap: 10px; align-items: stretch; }
.tool-hex-to-rgb .hr-line input[type="text"] { flex: 1 1 auto; min-width: 0; font-family: var(--mono); font-size: 1.05rem; }
.tool-hex-to-rgb .hr-line input[type="color"] { flex: none; width: 60px; height: auto; min-height: 46px; }
.tool-hex-to-rgb .hr-swatch { margin-top: 16px; height: 120px; border-radius: var(--radius-sm); border: 1px solid var(--line); overflow: hidden;
  background: conic-gradient(var(--line) 25%, var(--cream) 0 50%, var(--line) 0 75%, var(--cream) 0) 0 0 / 20px 20px; }
.tool-hex-to-rgb .hr-swatch div { width: 100%; height: 100%; }
.tool-hex-to-rgb .hr-alpha-row { display: flex; gap: 12px; align-items: center; }
.tool-hex-to-rgb .hr-alpha-row output { min-width: 3.5em; text-align: right; font-weight: 700; font-family: var(--mono); }
.tool-hex-to-rgb .hr-rows { display: grid; }
.tool-hex-to-rgb .hr-r { display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.tool-hex-to-rgb .hr-r:first-child { padding-top: 0; }
.tool-hex-to-rgb .hr-r:last-child { border-bottom: 0; padding-bottom: 0; }
.tool-hex-to-rgb .hr-r span { font-size: .84rem; color: var(--ink-soft); grid-column: 1; }
.tool-hex-to-rgb .hr-r output { grid-column: 1; font-family: var(--mono); font-size: .95rem; word-break: break-word; min-width: 0; }
.tool-hex-to-rgb .hr-r .btn { grid-column: 2; grid-row: 1 / span 2; }
.tool-hex-to-rgb .hr-tiles .tile b { font-family: var(--mono); }
@media (max-width: 400px) { .tool-hex-to-rgb .result-box { padding: 14px 12px; } }
