.color-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.color-source{min-width:0;display:flex;flex-direction:column}.color-source .tool-modes{margin-bottom:10px}.color-components{display:flex;align-items:flex-end;gap:8px}.color-components label{flex:1;min-width:0;font-size:14px}.color-components .tool-field{margin-top:5px;padding:0 10px}.color-source [hidden]{display:none}.color-sample,.color-palette i{border:1px solid rgb(22 38 62 / 26%);border-radius:10px}.color-sample{flex:1;min-height:76px;margin-top:10px}.color-sample{display:flex;align-items:flex-end;padding:8px;border-color:rgb(255 255 255 / 65%);box-shadow:inset 0 0 0 1px rgb(22 38 62 / 22%)}.color-sample span{padding:2px 8px;border-radius:5px;background:white;color:var(--text);font-size:12px}.color-result{min-width:0}.color-heading{display:flex;justify-content:space-between;align-items:center;gap:6px}.color-heading .tool-copy{margin:0}.color-values{margin:0}.color-values > div{display:flex;justify-content:space-between;align-items:baseline;gap:8px;padding:5px 0;border-bottom:1px solid #dfe5ed}.color-values dt{color:var(--text-2);font-size:14px}.color-values dd{margin:0;font-weight:600}.color-result summary{cursor:pointer;min-height:40px;padding:8px 0 0;color:var(--accent-ink)}.color-result summary:focus-visible{outline-color:var(--accent)}.color-matches{color:var(--text);background:white;border-radius:var(--r-l);padding:12px 16px}.color-palettes{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:8px 0}.color-palette{display:flex;gap:8px;align-items:center;font-size:14px}.color-palette i{flex:none;width:36px;height:36px}.color-palette b,.color-palette small{display:block}.color-palette small,.color-matches p{color:var(--text-2)}.color-matches p{margin:0;font-size:13px}@media(max-width:639px){.color-grid,.color-palettes{grid-template-columns:1fr;gap:8px}.color-sample{min-height:46px}.color-source .tool-field{height:44px}.color-source .tool-clear{top:2px}.color-components label{font-size:12px}[data-components="hsl"] label:nth-child(2){flex:1.45}.color-result{padding:8px 12px}.color-values > div{padding:2px 0}.color-palette b,.color-palette small{display:inline}.color-palette i{width:24px;height:24px}}
