/* Satnam Siri WaheGuru Sahib Ji */
.tool-main { max-width: 1460px; padding-top: 30px; padding-bottom: 72px; }
.tool-main svg { fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.tool-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.tool-ic { width: 48px; height: 48px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; flex: none; }
.tool-ic svg { width: 25px; height: 25px; }
.tool-head > div:not(.tool-ic) { flex: 1; min-width: 0; }
.tool-head h1 { margin: 0; font-size: clamp(1.4rem, 1rem + 1.9vw, 2rem); letter-spacing: -.02em; }
.tool-head > div > p { margin: 3px 0 0; color: var(--muted); font-size: .92rem; }
.ct [hidden] { display: none !important; }
.ct-badge { display: flex; align-items: center; gap: 10px; margin: 0; flex: none; }
.ct-badge svg { width: 21px; height: 21px; color: var(--ok-ink); flex: none; }
.ct-badge span { display: flex; flex-direction: column; line-height: 1.3; font-size: .79rem; color: var(--muted); }
.ct-badge b { font-size: .85rem; color: var(--text); }
.ct-rail a.is-active { background: var(--accent-soft); }
.ct-rail a.is-active b, .ct-rail a.is-active i { color: var(--accent); }
.ct-saved { margin-top: 10px; padding: 11px; border: 1px solid var(--border); border-radius: 10px; background: var(--bg-3); }
.ct-saved-row { display: flex; flex-wrap: wrap; gap: 5px; min-height: 22px; }
.ct-saved-row i { width: 22px; height: 22px; border-radius: 4px; border: 1px solid var(--border); display: block; }
.ct-saved-row .ct-more { display: grid; place-items: center; font-size: .66rem; font-style: normal; font-weight: 700; color: var(--muted); background: var(--bg-2); }
.ct-card { background: var(--bg-2); border: 1px solid var(--border); border-radius: 12px; padding: 16px 18px; scroll-margin-top: 78px; }
.ct-card:focus { outline: none; }
.ct-h { margin: 0 0 4px; font-size: 1rem; letter-spacing: -.01em; }
.ct-h3 { margin: 0; font-size: .87rem; }
.ct-h-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 4px; flex-wrap: wrap; }
.ct-h-row .ct-h { margin-bottom: 0; }
.ct-inline-n { font-weight: 400; margin: 0; }
.ct-sub { margin: 0 0 12px; color: var(--muted); font-size: .83rem; }
.ct-dim { color: var(--faint); font-size: .77rem; line-height: 1.55; margin: 9px 0 0; }
.ct-empty { margin: 0; padding: 14px 4px; color: var(--faint); font-size: .83rem; }
.ct-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 38px; padding: 0 13px;
  border: 1px solid var(--border); border-radius: 9px; background: var(--bg-2); color: var(--text);
  font: inherit; font-size: .86rem; font-weight: 600; cursor: pointer; }
.ct-btn svg { width: 16px; height: 16px; }
.ct-btn:hover { border-color: var(--accent); color: var(--accent); }
.ct-btn-soft { background: var(--bg-3); }
.ct-btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.ct-btn-primary:hover { color: var(--accent-ink); filter: brightness(1.06); }
.ct-btn.ct-sm { height: 31px; padding: 0 10px; font-size: .79rem; }
.ct-btn.ct-sm svg { width: 14px; height: 14px; }
.ct-icbtn { width: 38px; height: 38px; display: inline-grid; place-items: center; border: 1px solid var(--border);
  border-radius: 9px; background: var(--bg-2); color: var(--muted); cursor: pointer; flex: none; }
.ct-icbtn svg { width: 17px; height: 17px; }
.ct-icbtn:hover { border-color: var(--accent); color: var(--accent); }
.ct-seg { display: inline-flex; background: var(--bg-3); border: 1px solid var(--border); border-radius: 9px; padding: 3px; gap: 3px; }
.ct-seg button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 31px; padding: 0 11px;
  border: 0; border-radius: 7px; background: none; color: var(--muted); font: inherit; font-size: .81rem; font-weight: 600;
  white-space: nowrap; cursor: pointer; }
.ct-seg button svg { width: 15px; height: 15px; flex: none; }
.ct-seg button:hover { color: var(--text); }
.ct-seg button.is-active { background: var(--accent); color: var(--accent-ink); box-shadow: var(--shadow-sm); }
.ct-tabs { display: flex; width: 100%; margin: 10px 0; }
.ct-tabs button { flex: 1; padding: 0 5px; }
.ct-field { margin-bottom: 12px; }
.ct-field > label { display: block; font-size: .79rem; font-weight: 600; color: var(--muted); margin-bottom: 5px; }
.ct-field.ct-inline { display: flex; align-items: center; gap: 9px; margin: 0; }
.ct-field.ct-inline > label { margin: 0; white-space: nowrap; }
.ct-input, .ct-select { width: 100%; height: 40px; padding: 0 11px; border: 1px solid var(--border); border-radius: 9px;
  background: var(--bg-2); color: var(--text); font: inherit; font-size: .86rem; }
.ct-input::placeholder { color: var(--faint); }
.ct-select { appearance: none; padding-right: 30px; width: auto; min-width: 126px;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 16px) 18px, calc(100% - 11px) 18px; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.ct-field > .ct-select { width: 100%; }
.ct-input:focus, .ct-select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.ct-drop { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 30px 18px; margin-top: 12px;
  border: 1.5px dashed var(--border); border-radius: 10px; text-align: center; }
.ct-drop.is-over { border-color: var(--accent); background: var(--accent-soft); }
.ct-drop-ic { width: 40px; height: 40px; color: var(--faint); margin-bottom: 5px; }
.ct-drop-t { margin: 0; font-size: 1.14rem; font-weight: 650; letter-spacing: -.01em; }
.ct-drop-s { margin: 2px 0 14px; color: var(--muted); font-size: .86rem; }
.ct-drop-f { margin: 14px 0 0; color: var(--faint); font-size: .77rem; line-height: 1.6; }
.ct-drop-hint { margin: 12px auto 0; max-width: 34ch; color: var(--faint); font-size: .78rem; line-height: 1.55; }
kbd { font-size: .73rem; font-family: inherit; color: var(--muted); background: var(--bg-3);
  border: 1px solid var(--border); border-radius: 5px; padding: 1px 6px; }
.ct-stage { margin-top: 12px; }
.ct-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.ct-bar .ct-replace { margin-left: auto; }
.ct-zoomer { display: inline-flex; align-items: center; gap: 2px; height: 38px; padding: 0 4px;
  border: 1px solid var(--border); border-radius: 9px; background: var(--bg-2); }
.ct-zoomer span { min-width: 48px; text-align: center; font-size: .81rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.ct-zoomer .ct-icbtn { width: 30px; height: 30px; border: 0; border-radius: 7px; }
.ct-zoomer .ct-icbtn svg { width: 15px; height: 15px; }
.ct-viewport { position: relative; overflow: auto; border-radius: 10px; background: var(--bg-3);
  min-height: 250px; max-height: 60vh; display: grid; place-items: center; touch-action: pan-x pan-y; }
.ct-viewport.is-pan { cursor: grab; }
.ct-viewport.is-panning { cursor: grabbing; }
.ct-cv { display: block; max-width: none; cursor: crosshair; image-rendering: pixelated; }
.ct-cv:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.ct-loupe { position: absolute; width: 146px; height: 146px; border-radius: 50%; overflow: hidden; pointer-events: none;
  border: 3px solid var(--bg-2); box-shadow: var(--shadow-md); z-index: 3; }
.ct-loupe canvas { display: block; width: 100%; height: 100%; }
.ct-loupe-x { position: absolute; left: 50%; top: 50%; width: 15px; height: 15px; transform: translate(-50%, -50%);
  border: 2px solid #fff; outline: 1px solid rgba(0, 0, 0, .65); border-radius: 2px; }
.ct-readout { position: absolute; z-index: 3; padding: 8px 10px; border-radius: 9px; pointer-events: none;
  background: var(--bg-2); border: 1px solid var(--border); box-shadow: var(--shadow-md); font-size: .75rem; }
.ct-readout-grid { display: grid; grid-template-columns: auto auto; gap: 2px 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.ct-readout-grid b { color: var(--text); }
.ct-readout-c { display: flex; align-items: center; gap: 7px; margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--border-2); }
.ct-readout-c i { width: 16px; height: 16px; border-radius: 4px; border: 1px solid var(--border); flex: none; }
.ct-readout-c b { font-size: .81rem; font-variant-numeric: tabular-nums; }
.ct-hint { position: absolute; left: 50%; bottom: 11px; transform: translateX(-50%); z-index: 2; margin: 0;
  padding: 6px 13px; border-radius: 999px; background: rgba(15, 23, 41, .82); color: #fff; font-size: .77rem;
  white-space: nowrap; max-width: calc(100% - 20px); overflow: hidden; text-overflow: ellipsis; pointer-events: none; }
.ct-hint kbd { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .3); color: #fff; }
.ct-live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: -1px; }
.ct-notes { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.ct-note { display: flex; gap: 9px; padding: 9px 11px; border-radius: 9px; font-size: .8rem; line-height: 1.5;
  border: 1px solid color-mix(in srgb, var(--c-amber) 40%, var(--border)); background: color-mix(in srgb, var(--c-amber) 11%, transparent); }
.ct-note svg { width: 16px; height: 16px; color: var(--amber-ink); flex: none; margin-top: 1px; }
.ct-picks { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border-2); }
.ct-picks-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.ct-picks-act { display: flex; gap: 7px; }
.ct-picks-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: 8px; }
.ct-pick { position: relative; padding: 5px; border: 1px solid var(--border); border-radius: 9px; background: var(--bg-2); }
.ct-pick.is-on { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.ct-pick > button.ct-pick-main { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; text-align: left; }
.ct-pick-sw { display: block; height: 50px; border-radius: 6px; border: 1px solid var(--border-2); }
.ct-pick-n { display: block; margin-top: 5px; font-size: .67rem; color: var(--faint); }
.ct-pick-h { display: block; font-size: .73rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.ct-pick-star { position: absolute; top: 6px; right: 6px; width: 22px; height: 22px; display: grid; place-items: center;
  border: 0; border-radius: 5px; background: rgba(255, 255, 255, .8); color: #5b6472; cursor: pointer; }
.ct-pick-star svg { width: 13px; height: 13px; }
.ct-pick-star.is-on { color: #a8420a; }
.ct-pick-star.is-on svg { fill: currentColor; }
.ct-picks-note { margin-top: 10px; }
.ct-manual-row .ct-input { flex: 1; }
.ct-err { margin: 9px 0 0; padding: 8px 11px; border-radius: 8px; font-size: .82rem; line-height: 1.5;
  border: 1px solid color-mix(in srgb, var(--c-red) 40%, var(--border)); background: color-mix(in srgb, var(--c-red) 10%, transparent); }
.ct-presets { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; min-height: 30px; }
.ct-presets button { display: inline-flex; align-items: center; gap: 7px; height: 29px; padding: 0 11px 0 5px; flex: 0 0 auto;
  border: 1px solid var(--border); border-radius: 999px; background: var(--bg-2); color: var(--text);
  font: inherit; font-size: .75rem; font-weight: 600; cursor: pointer; white-space: nowrap; }
.ct-presets button i { width: 17px; height: 17px; border-radius: 50%; border: 1px solid var(--border); }
.ct-presets button:hover { border-color: var(--accent); }
.ct-row3 .ct-adj, .ct-row3 .ct-acts { flex: 1; justify-content: flex-start; }
.ct-cur-sw { width: 60px; height: 60px; border-radius: 9px; border: 1px solid var(--border); flex: none;
  background-image: repeating-conic-gradient(var(--border-2) 0% 25%, var(--bg-2) 0% 50%); background-size: 13px 13px; position: relative; }
.ct-cur-sw::after { content: ""; position: absolute; inset: 0; border-radius: 8px; background: var(--sw, transparent); }
.ct-slider { display: flex; align-items: center; gap: 10px; }
.ct-slider input[type="range"] { flex: 1; min-width: 0; accent-color: var(--accent); }
.ct-slider output { min-width: 44px; text-align: right; font-size: .79rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.ct-adj { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.ct-adj-row { display: grid; grid-template-columns: 100px minmax(0, 1fr) 44px; align-items: center; gap: 9px; }
.ct-adj-row label { display: flex; align-items: center; gap: 7px; font-size: .79rem; color: var(--muted); }
.ct-adj-row label svg { width: 15px; height: 15px; flex: none; }
.ct-adj-row input[type="range"] { width: 100%; min-width: 0; accent-color: var(--accent); }
.ct-adj-row input.ct-hue { accent-color: var(--c-teal); }
.ct-adj-row output { text-align: right; font-size: .79rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.ct-acts { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; }
.ct-act { display: flex; align-items: center; gap: 10px; width: 100%; height: 39px; padding: 0 12px;
  border: 1px solid var(--border); border-radius: 9px; background: var(--bg-2); color: var(--text);
  font: inherit; font-size: .85rem; font-weight: 600; text-align: left; cursor: pointer; }
.ct-act svg { width: 17px; height: 17px; color: var(--muted); flex: none; }
.ct-act:hover { border-color: var(--accent); color: var(--accent); }
.ct-act:hover svg { color: var(--accent); }
.ct-conv-body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.ct-conv-row { display: flex; align-items: center; gap: 9px; padding: 6px 0; border-bottom: 1px solid var(--border-2); }
.ct-conv-row:last-child { border-bottom: 0; }
.ct-conv-k { flex: none; width: 94px; font-size: .77rem; font-weight: 600; color: var(--muted); display: flex; align-items: center; gap: 5px; }
.ct-conv-v { flex: 1; min-width: 0; font-size: .8rem; font-variant-numeric: tabular-nums; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ct-conv-row .ct-icbtn { width: 28px; height: 28px; border: 0; background: none; }
.ct-conv-row .ct-icbtn svg { width: 15px; height: 15px; }
.ct-info { width: 16px; height: 16px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--faint); cursor: help; flex: none; }
.ct-info svg { width: 14px; height: 14px; }
.ct-info:hover { color: var(--accent); }
.ct-names { margin-top: 12px; padding-top: 11px; border-top: 1px solid var(--border-2); }
.ct-names-t { margin: 0 0 7px; font-size: .77rem; font-weight: 700; color: var(--muted); }
.ct-name { display: flex; align-items: center; gap: 8px; padding: 3px 0; font-size: .78rem; }
.ct-name i { width: 14px; height: 14px; border-radius: 3px; border: 1px solid var(--border); flex: none; }
.ct-name b { font-weight: 600; }
.ct-name span { color: var(--faint); }
.ct-name em { margin-left: auto; font-style: normal; color: var(--faint); font-variant-numeric: tabular-nums; font-size: .71rem; }
.ct-ct-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 10px; }
.ct-pair { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 8px; align-items: end; flex: 1 1 320px; }
.ct-pair .ct-field { margin-bottom: 0; }
.ct-swap { margin-bottom: 1px; }
.ct-swin { position: relative; }
.ct-swin .ct-input { padding-left: 36px; }
.ct-swin-sw { position: absolute; left: 6px; top: 6px; width: 27px; height: 27px; border-radius: 6px; border: 1px solid var(--border); }
.ct-score { display: flex; align-items: center; gap: 4px; flex: 0 0 auto; }
.ct-score b { font-size: 1.75rem; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.ct-score span { font-size: 1rem; color: var(--muted); }
.ct-grade { margin-left: 8px; padding: 3px 11px; border-radius: 999px; font-style: normal; font-size: .79rem; font-weight: 700; }
.ct-grade.g-aaa { color: #ffffff; background: #0f7034; }
.ct-grade.g-aa { color: #ffffff; background: #1d6bb8; }
.ct-grade.g-large { color: #ffffff; background: #8a5000; }
.ct-grade.g-fail { color: #ffffff; background: #b3261e; }
.ct-checks { list-style: none; margin: 0; padding: 9px 12px; border-radius: 9px; background: var(--bg-3);
  flex: 1 1 250px; max-width: 340px; display: grid; gap: 1px; }
.ct-checks li { display: flex; align-items: center; gap: 8px; padding: 2px 0; font-size: .78rem; }
.ct-checks li svg { width: 15px; height: 15px; flex: none; }
.ct-checks li.is-pass svg { color: var(--ok-ink); }
.ct-checks li.is-fail svg { color: var(--red-ink); }
.ct-checks li span { flex: 1; }
.ct-checks li b { font-weight: 600; font-variant-numeric: tabular-nums; }
.ct-checks li.is-pass b { color: var(--ok-ink); }
.ct-checks li.is-fail b { color: var(--red-ink); }
.ct-advice { flex: 1 1 290px; padding: 10px 12px; border-radius: 9px; border: 1px solid var(--border); background: var(--bg-3); }
.ct-advice-t { margin: 0 0 6px; font-size: .81rem; font-weight: 650; line-height: 1.5; }
.ct-advice-s { margin: 0; font-size: .74rem; line-height: 1.6; color: var(--muted); }
.ct-advice-s b { color: var(--text); font-variant-numeric: tabular-nums; }
.ct-advice.is-aaa { border-color: color-mix(in srgb, var(--ok) 42%, var(--border)); }
.ct-advice.is-aaa .ct-advice-t { color: var(--ok-ink); }
.ct-advice.is-aa .ct-advice-t { color: var(--ok-ink); }
.ct-advice.is-large { border-color: color-mix(in srgb, var(--c-amber) 42%, var(--border)); }
.ct-advice.is-large .ct-advice-t { color: var(--amber-ink); }
.ct-advice.is-fail { border-color: color-mix(in srgb, var(--c-red) 42%, var(--border)); }
.ct-advice.is-fail .ct-advice-t { color: var(--red-ink); }
.ct-pal-strip { margin-top: 10px; padding-bottom: 4px; }
.ct-pal { display: flex; flex-wrap: wrap; gap: 7px; }
.ct-pal:empty { display: none; }
.ct-sw { position: relative; flex: 0 0 44px; width: 44px; height: 44px; border: 1px solid var(--border);
  border-radius: 9px; overflow: hidden; background: var(--bg-2); }
.ct-sw > button.ct-sw-main { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.ct-sw-c { display: block; width: 100%; height: 100%; }
.ct-sw-h { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ct-sw-x { position: absolute; top: 2px; right: 2px; width: 17px; height: 17px; display: grid; place-items: center;
  border: 0; border-radius: 5px; background: rgba(255, 255, 255, .82); color: #5b6472; cursor: pointer; opacity: 0; }
.ct-sw-x svg { width: 12px; height: 12px; }
.ct-sw:hover .ct-sw-x, .ct-sw-x:focus-visible { opacity: 1; }
.ct-sw-x:hover { color: #b3261e; }
.ct-trash { margin-top: 10px; border: 1px solid var(--border); border-radius: 9px; background: var(--bg-3); }
.ct-trash summary { display: flex; align-items: center; gap: 8px; padding: 9px 11px; font-size: .79rem;
  font-weight: 600; color: var(--muted); cursor: pointer; list-style: none; }
.ct-trash summary::-webkit-details-marker { display: none; }
.ct-trash summary svg { width: 15px; height: 15px; flex: none; }
.ct-trash summary b { color: var(--text); font-variant-numeric: tabular-nums; }
.ct-trash summary:hover { color: var(--text); }
.ct-trash-body { padding: 0 11px 11px; }
.ct-trash-body .ct-pal-strip { margin-top: 0; }
.ct-trash-act { display: flex; gap: 7px; margin-top: 9px; }
.ct-exp-row { display: grid; grid-template-columns: minmax(190px, 240px) minmax(0, 1fr); gap: 14px; align-items: start; margin-top: 10px; }
.ct-exp-btns { display: flex; gap: 7px; }
.ct-exp-btns .ct-btn { flex: 1; }
.ct-exp-out { margin: 0; padding: 11px; border: 1px solid var(--border); border-radius: 9px; background: var(--bg-3);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .73rem; line-height: 1.6;
  overflow: auto; max-height: 158px; min-height: 92px; white-space: pre; }
.ct-exp-note { display: flex; gap: 9px; margin-top: 10px; padding: 9px 11px; border-radius: 9px; font-size: .77rem; line-height: 1.5;
  border: 1px solid color-mix(in srgb, var(--c-amber) 40%, var(--border)); background: color-mix(in srgb, var(--c-amber) 11%, transparent); }
.ct-exp-note svg { width: 16px; height: 16px; color: var(--amber-ink); flex: none; margin-top: 1px; }
.ct-exp-note code { font-size: .73rem; word-break: break-all; }
.ct-keys { display: flex; align-items: center; justify-content: center; gap: 7px; flex-wrap: wrap;
  margin-top: 18px; padding: 10px; border: 1px solid var(--border); border-radius: 10px; background: var(--bg-2);
  color: var(--muted); font-size: .77rem; }
.ct-keys > span { font-weight: 700; margin-right: 4px; }
.ct-keys kbd { margin-left: 6px; }
.ct-privacy { display: flex; align-items: flex-start; gap: 8px; margin: 18px 0 0; color: var(--faint); font-size: .79rem; line-height: 1.6; }
.ct-privacy svg { width: 15px; height: 15px; flex: none; margin-top: 3px; }
.ct-privacy a { color: var(--accent); text-decoration: underline; }
.ct-nowrap { white-space: nowrap; }
.ct-native { appearance: none; -webkit-appearance: none; padding: 0; border: 1px solid var(--border);
  border-radius: 6px; background: none; cursor: pointer; }
.ct-native::-webkit-color-swatch-wrapper { padding: 0; }
.ct-native::-webkit-color-swatch { border: 0; border-radius: 5px; }
.ct-native::-moz-color-swatch { border: 0; border-radius: 5px; }
.ct-native:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.ct-native-btn .ct-native { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; border: 0; z-index: 2; }
.ct-toast { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%) translateY(12px); z-index: 60;
  padding: 10px 15px; border: 1px solid var(--border); border-radius: 10px; background: var(--bg-2); color: var(--text);
  max-width: min(92vw, 340px); text-align: center;
  font-size: .84rem; font-weight: 600; box-shadow: var(--shadow-md); opacity: 0; pointer-events: none; transition: opacity .18s, transform .18s; }
.ct-toast.is-on { opacity: 1; transform: translateX(-50%) translateY(0); }
.ct-spine { position: sticky; top: 8px; z-index: 30; margin-bottom: 14px; padding: 11px 13px;
  background: var(--bg-2); border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow-sm); }
.ct-spine-main { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ct-spine-sw { position: relative; display: grid; place-items: center; width: 44px; height: 44px; flex: none;
  border-radius: 10px; border: 1px solid var(--border); overflow: hidden; cursor: pointer; }
.ct-spine-sw { background-image: repeating-conic-gradient(var(--border-2) 0% 25%, var(--bg-2) 0% 50%); background-size: 13px 13px; }
.ct-spine-sw::before { content: ""; position: absolute; inset: 0; background: var(--sw, transparent); }
.ct-spine-sw input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; border: 0; padding: 0; cursor: pointer; z-index: 2; }
.ct-spine-sw svg { position: relative; z-index: 1; }
.ct-spine-sw svg { width: 15px; height: 15px; color: #fff; opacity: 0; pointer-events: none;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.65)); transition: opacity .15s; }
.ct-spine-sw:hover { border-color: var(--accent); }
.ct-spine-sw:hover svg, .ct-spine-sw:focus-within svg { opacity: 1; }
.ct-spine-sw:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.ct-spine-id { display: flex; flex-direction: column; line-height: 1.25; min-width: 108px; }
.ct-spine-id b { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .98rem; }
.ct-spine-id span { font-size: .74rem; color: var(--muted); }
.ct-spine-in { display: flex; align-items: center; gap: 8px; flex: 1 1 260px; min-width: 0; }
.ct-spine-in .ct-input { height: 38px; }
.ct-spine-in .ct-btn { flex: none; height: 38px; }
.ct-spine-act { display: flex; align-items: center; gap: 7px; flex: none; }
.ct-spine-act .ct-icbtn { width: 34px; height: 34px; }
.ct-spine-second { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 9px;
  padding-top: 9px; border-top: 1px solid var(--border-2); }
.ct-spine-alpha { display: flex; align-items: center; gap: 9px; flex: 0 1 260px; min-width: 190px; }
.ct-spine-alpha > label { font-size: .76rem; font-weight: 600; color: var(--muted); white-space: nowrap; }
.ct-spine-alpha .ct-slider { flex: 1; min-width: 0; }
.ct-spine-saved { display: flex; align-items: center; gap: 9px; flex: 1 1 240px; min-width: 0; }
.ct-spine-lab { font-size: .76rem; font-weight: 600; color: var(--muted); white-space: nowrap; }
.ct-spine-lab b { color: var(--text); font-variant-numeric: tabular-nums; }
.ct-spine-saved .ct-saved-row { flex: 1; min-width: 0; flex-wrap: nowrap; overflow-x: auto; overflow-y: hidden;
  overscroll-behavior-x: contain; padding-bottom: 2px; scrollbar-width: thin; }
.ct-spine-saved .ct-saved-row > * { flex: none; }
.ct-spine .ct-err { margin: 8px 0 0; }
.ct-spine-more { display: none; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 8px;
  border: 1px solid var(--border); background: var(--bg-3); color: var(--muted); cursor: pointer; }
.ct-spine-more svg { width: 15px; height: 15px; transition: transform .18s; }
.ct-spine.is-open .ct-spine-more svg { transform: rotate(180deg); }
.ct-spine-more:hover { border-color: var(--accent); color: var(--accent); }
.ct-work { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 14px; align-items: stretch;
  transition: grid-template-columns .22s ease; }
.ct-work.is-narrow { grid-template-columns: minmax(230px, 0.36fr) minmax(0, 1fr); }
@media (prefers-reduced-motion: reduce) { .ct-work { transition: none; } }
.ct-pane-size { flex: none; }
@keyframes ct-size-hint {
  0%, 100% { box-shadow: 0 0 0 0 transparent; border-color: var(--border); }
  50% { box-shadow: 0 0 0 5px var(--accent-soft); border-color: var(--accent); color: var(--accent); }
}
.ct-pane-size.is-hint { animation: ct-size-hint 2.6s ease-in-out 2; }
@media (prefers-reduced-motion: reduce) { .ct-pane-size.is-hint { animation: none; border-color: var(--accent); color: var(--accent); } }
.ct-work.is-narrow .ct-drop { padding: 20px 12px; }
.ct-work.is-narrow .ct-drop-ic { width: 30px; height: 30px; }
.ct-work.is-narrow .ct-drop-t { font-size: 1rem; }
.ct-work.is-narrow .ct-drop-f { display: none; }
.ct-fold { border-top: 1px solid var(--border-2); }
.ct-fold:first-of-type { border-top: 0; }
.ct-fold > summary { display: flex; align-items: center; gap: 10px; flex-wrap: nowrap; cursor: pointer;
  margin: 9px 0; padding: 10px 12px; list-style: none; border: 1px solid var(--border); border-radius: 10px;
  background: var(--bg-3); }
.ct-fold > summary:hover { border-color: var(--accent); }
.ct-fold > summary::-webkit-details-marker { display: none; }
.ct-fold > summary::before { content: ""; width: 7px; height: 7px; flex: none; align-self: center;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(-45deg);
  transition: transform .18s; }
.ct-fold[open] > summary::before { transform: rotate(45deg); }
.ct-fold > summary:hover .ct-fold-t { color: var(--accent); }
.ct-fold > summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 8px; }
.ct-fold-n { display: grid; place-items: center; width: 22px; height: 22px; flex: none; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent); font-size: .74rem; font-weight: 800; }
.ct-fold-t { font-size: .89rem; font-weight: 700; color: var(--text); }
.ct-fold-t, .ct-fold-n { flex: none; }
.ct-fold-s { font-size: .76rem; color: var(--muted); margin-left: auto; min-width: 0; overflow: hidden;
  text-overflow: ellipsis; white-space: nowrap; }
.ct-fold > summary::before { order: 9; margin-left: 4px; }
.ct-fold[open] > summary { border-color: var(--accent); background: var(--accent-soft); }
.ct-fold[open] > summary .ct-fold-t { color: var(--accent); }
.ct-pane { display: flex; flex-direction: column; height: 660px; min-width: 0; }
.ct-pane > .ct-h { min-height: 22px; }
.ct-pane > .ct-sub, .ct-pane > .ct-do-tabs { min-height: 38px; margin-bottom: 10px; display: flex; align-items: center; }
.ct-pane > .ct-do-tabs { width: 100%; overflow-x: auto; }
.ct-pane-body { flex: 1; min-height: 0; }
#ct-sec-pick .ct-pane-body { display: flex; flex-direction: column; }
#ct-sec-pick .ct-drop { flex: 1; justify-content: center; }
.ct-pane-body.ct-scroller { overflow-y: auto; overscroll-behavior: contain; padding-right: 4px; }
.ct-do-sep { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--border-2); }
.ct-do > .ct-h-row:first-child { margin-top: 0; }
@media (max-width: 980px) {
  .ct-work, .ct-work.is-narrow { grid-template-columns: 1fr; }
  .ct-pane-size { display: none; }
  .ct-pane { height: auto; }
  .ct-pane-body.ct-scroller { overflow: visible; padding-right: 0; }
  .ct-spine { position: sticky; top: 0; border-radius: 0 0 12px 12px; padding: 7px 11px; }
  .ct-spine-more { display: inline-grid; }
  .ct-spine-main { flex-wrap: nowrap; gap: 8px; }
  .ct-spine-sw { width: 34px; height: 34px; }
  .ct-spine-id { min-width: 0; flex: 1; }
  .ct-spine-id b { font-size: .88rem; }
  .ct-spine-id span { display: none; }
  .ct-spine-second, .ct-spine-in, .ct-spine-act #ct-eyedropper,
  .ct-spine-act #ct-act-add, .ct-spine-act #ct-act-share { display: none; }
  .ct-spine.is-open .ct-spine-main { flex-wrap: wrap; }
  .ct-spine.is-open .ct-spine-second { display: flex; }
  .ct-spine.is-open .ct-spine-in { display: flex; flex-basis: 100%; }
  .ct-spine.is-open .ct-spine-act #ct-eyedropper { display: inline-grid; }
  .ct-spine.is-open .ct-spine-act #ct-act-add,
  .ct-spine.is-open .ct-spine-act #ct-act-share { display: inline-flex; }
}
.ct-cvd { display: grid; gap: 8px; }
.ct-cvd-row { display: grid; grid-template-columns: 36px minmax(0, 1fr) 112px 74px 86px; align-items: center; gap: 12px;
  padding: 9px 12px; border: 1px solid var(--border); border-radius: 11px; background: var(--bg-2); }
.ct-cvd-row.is-base { background: var(--bg-3); }
.ct-cvd-sw { display: block; width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--border); }
.ct-cvd-txt { display: flex; flex-direction: column; min-width: 0; gap: 1px; }
.ct-cvd-txt b { font-size: .9rem; }
.ct-cvd-txt span { font-size: .76rem; color: var(--muted); }
.ct-cvd .ct-cvd-prev { display: block; width: 112px; height: 34px; border-radius: 8px; border: 1px solid var(--border); stroke: none; }
.ct-cvd-ratio { font-size: .86rem; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; }
.ct-cvd-ratio b { color: var(--text); font-size: .96rem; }
.ct-cvd-grade { margin-left: 0; justify-self: start; text-align: center; white-space: nowrap; }
.ct-cvd-verdict { display: flex; align-items: flex-start; gap: 9px; margin: 4px 0 0; padding: 10px 12px;
  border-radius: 11px; font-size: .85rem; line-height: 1.45; }
.ct-cvd-verdict svg { flex: none; width: 17px; height: 17px; margin-top: 1px; fill: none; stroke: currentColor;
  stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ct-cvd-verdict.is-ok { color: var(--ok-ink); background: color-mix(in srgb, var(--ok) 12%, transparent); }
.ct-cvd-verdict.is-warn { color: var(--amber-ink); background: color-mix(in srgb, var(--c-amber) 15%, transparent); }
.ct-cvd-foot { margin: 12px 0 0; font-size: .8rem; line-height: 1.5; color: var(--muted); }
.ct-ck-sub { margin: 0 0 10px; color: var(--muted); font-size: .81rem; }
.ct-ck-native { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  height: 31px; padding: 0 11px; border: 1px solid var(--border); border-radius: 9px; background: var(--bg-3);
  color: var(--text); font-size: .79rem; font-weight: 600; cursor: pointer; }
.ct-ck-native:hover { border-color: var(--accent); color: var(--accent); }
.ct-ck-native input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; border: 0; padding: 0; }
.ct-ck-side { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ct-ck-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.ct-ck-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 5px 6px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--bg-2); color: var(--muted); font: inherit; font-size: .76rem;
  font-weight: 600; cursor: pointer; }
.ct-ck-chip i { display: block; width: 16px; height: 16px; border-radius: 50%; border: 1px solid var(--border); }
.ct-ck-chip em { font-style: normal; font-size: .64rem; text-transform: uppercase; letter-spacing: .04em; color: var(--faint); }
.ct-ck-chip:hover { border-color: var(--accent); }
.ct-ck-chip.is-on { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.ct-ck-addcustom { height: 34px; padding: 0 13px; }
.ct-ck-addcustom svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.ct-ck-judge { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 4px 0 14px;
  padding-top: 13px; border-top: 1px solid var(--border-2); }
.ct-ck-judge label { font-size: .79rem; font-weight: 600; color: var(--muted); }
.ct-ck-verdict { display: flex; align-items: flex-start; gap: 9px; margin: 0 0 12px; padding: 11px 13px;
  border-radius: 11px; font-size: .87rem; line-height: 1.45; }
.ct-ck-verdict:empty { display: none; }
.ct-ck-verdict svg { flex: none; width: 18px; height: 18px; margin-top: 1px; fill: none; stroke: currentColor;
  stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ct-ck-verdict.is-ok { color: var(--ok-ink); background: color-mix(in srgb, var(--ok) 12%, transparent); }
.ct-ck-verdict.is-warn { color: var(--amber-ink); background: color-mix(in srgb, var(--c-amber) 15%, transparent); }
.ct-ck-list { display: grid; gap: 8px; }
.ct-ck-row { display: grid; grid-template-columns: 26px minmax(78px, 1fr) 200px 74px 86px 62px; align-items: center; gap: 11px;
  padding: 8px 12px; border: 1px solid var(--border); border-radius: 11px; background: var(--bg-2); }
.ct-ck-row.is-miss { border-style: dashed; background: var(--bg-3); }
.ct-ck-rsw { display: block; width: 26px; height: 26px; border-radius: 7px; border: 1px solid var(--border); }
.ct-ck-hex { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .78rem; font-weight: 600; }
.ct-ck-list .ct-ck-prev { display: block; width: 200px; height: 44px; border-radius: 8px; border: 1px solid var(--border); stroke: none; }
.ct-ck-ratio { font-size: .84rem; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; }
.ct-ck-ratio b { color: var(--text); font-size: .95rem; }
.ct-ck-row .ct-grade { margin-left: 0; justify-self: start; text-align: center; white-space: nowrap; }
.ct-ck-fix { justify-self: end; }
.ct-ck-foot { margin: 4px 0 0; font-size: .78rem; color: var(--faint); }
@media (max-width: 1320px) {
  .ct-grid { grid-template-columns: 184px minmax(0, 1fr) minmax(0, 320px); }
}
@media (max-width: 1080px) {
  .tool-main { padding-top: 22px; }
  .ct-conv-body { max-height: 52vh; }
  .ct-card { scroll-margin-top: 12px; }
}
@media (max-width: 760px) {
  .tool-main { padding-bottom: 96px; }
  .tool-head { gap: 12px; }
  .ct-badge { width: 100%; }
  .ct-card { padding: 14px; }
  .ct-pair { grid-template-columns: minmax(0, 1fr); }
  .ct-swap { justify-self: center; transform: rotate(90deg); margin: 0; }
  .ct-drop { padding: 24px 14px; }
  .ct-fold-s { display: none; }
  .ct-drop-t { font-size: 1.02rem; }
  .ct-viewport { max-height: 52vh; min-height: 200px; }
  .ct-conv-k { width: 76px; }
  .ct-conv-body { max-height: 44vh; }
  .ct-exp-row { grid-template-columns: minmax(0, 1fr); }
  .ct-keys { display: none; }
  .ct-presets { flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-x: contain; padding-bottom: 4px; }
  .ct-cur { position: sticky; top: 68px; z-index: 6; box-shadow: var(--shadow-md); padding: 11px 12px; }
  .ct-cur .ct-h { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
  .ct-cur-sw { width: 44px; height: 44px; border-radius: 8px; }
  .ct-cur-sw::after { border-radius: 7px; }
  .ct-cur .ct-field { margin-bottom: 0; }
  .ct-cur .ct-field > label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
  .ct-tabbar a.is-active { color: var(--accent); }
}
@media (max-width: 430px) {
  .tool-main { padding-left: 14px; padding-right: 14px; }
  .ct-bar { gap: 6px; }
  .ct-bar .ct-field.ct-inline > label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
  .ct-picks-row { grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); }
  .ct-adj-row { grid-template-columns: 84px minmax(0, 1fr) 38px; gap: 7px; }
  .ct-score b { font-size: 1.5rem; }
  .ct-loupe { width: 112px; height: 112px; }
}
@media (max-width: 620px) {
  .ct-cvd-row { grid-template-columns: 30px minmax(0, 1fr) auto; gap: 8px 9px; padding: 8px 10px; }
  .ct-ck-row { grid-template-columns: 26px minmax(0, 1fr) 74px 62px; row-gap: 9px; }
  .ct-ck-list .ct-ck-prev { grid-column: 1 / -1; width: 200px; max-width: 100%; }
  .ct-ck-row .ct-grade { grid-column: 3 / 4; justify-self: end; }
  .ct-cvd-sw { width: 30px; height: 30px; }
  .ct-cvd .ct-cvd-prev { grid-column: 2 / -1; width: 100%; }
  .ct-cvd-ratio { grid-column: 2; }
  .ct-cvd-grade { grid-column: 3; justify-self: end; }
}
#ct-conv:empty { min-height: 368px; }
#ct-names:empty { min-height: 165px; }
#ct-presets:empty { min-height: 30px; }
#ct-saved-row:empty { min-height: 22px; }
#ct-checks:empty { min-height: 118px; }
#ct-cvd:empty { min-height: 434px; }
#ct-ck-list:empty { min-height: 112px; }
@media (max-width: 620px) { #ct-cvd:empty { min-height: 900px; } }
.ct-saved-sw { display: block; padding: 0; border: 1px solid var(--border); border-radius: 5px; background: none;
  cursor: pointer; line-height: 0; }
.ct-saved-sw i { display: block; width: 20px; height: 20px; border-radius: 3px; }
.ct-saved-sw:hover { border-color: var(--accent); }
.ct-saved-sw:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.ct-ck-chips { max-height: 104px; overflow-y: auto; overscroll-behavior: contain; align-content: flex-start; }
.ct-ck-drop { display: inline-grid; place-items: center; width: 17px; height: 17px; margin-left: 2px; padding: 0;
  border: 0; border-radius: 50%; background: var(--bg-3); color: var(--muted); cursor: pointer; }
.ct-ck-drop svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 2.6; }
.ct-ck-drop:hover { background: var(--c-red); color: #fff; }
@media (min-width: 981px) {
  #ct-do-palette .ct-presets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  #ct-do-palette .ct-presets button { width: 100%; }
}
.ct-ck-block { padding: 12px 0; border-top: 1px solid var(--border-2); }
.ct-ck-block:first-of-type { border-top: 0; padding-top: 4px; }
.ct-ck-h { margin: 0 0 8px; font-size: .85rem; font-weight: 700; }
.ct-ck-sides { display: flex; gap: 8px; flex-wrap: wrap; }
.ct-ck-sides button { display: flex; align-items: center; gap: 9px; padding: 8px 13px 8px 9px; border-radius: 10px;
  border: 1px solid var(--border); background: var(--bg-2); color: var(--text); font: inherit; cursor: pointer; }
.ct-ck-sides button i { display: block; width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--border); flex: none; }
.ct-ck-sides button span { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.25; }
.ct-ck-sides button b { font-size: .84rem; font-weight: 650; }
.ct-ck-sides button em { font-style: normal; font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: .73rem; color: var(--muted); }
.ct-ck-sides button:hover { border-color: var(--accent); }
.ct-ck-sides button.is-active { border-color: var(--accent); background: var(--accent-soft); }
.ct-ck-sides button.is-active b { color: var(--accent); }
.ct-ck-note { margin: 9px 0 0; font-size: .76rem; color: var(--faint); }
/* webk · v1.0.0 */
