/* Pro Tools builder panel (pt-bridge.jsx). The same design as the mock
   (pt-bridge-mock.html); shared tokens come from base.css. */

.ptb-muted { color: var(--text-muted); }
.ptb-small { font-size: 12px; line-height: 1.5; }
.ptb-eyebrow { font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }

.ptb-hint { font-size: 12px; color: var(--text-secondary); display: inline-flex; align-items: center; gap: 6px; }
.ptb-hint::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--text-faint); flex: none; }
.ptb-hint.ok::before { background: var(--green); }
.ptb-hint.warn::before { background: var(--accent); }
.ptb-hint.busy::before { background: var(--blue); }

/* ─── Build panel ─────────────────────────────────────────────────── */
/* Starts below the top bar so the recording light stays visible during a build. */
.ptb-scrim {
  position: fixed; inset: var(--topbar-h) 0 0 0; z-index: 50;
  background: color-mix(in oklab, var(--bg) 72%, transparent);
  display: flex; justify-content: center; align-items: flex-start;
  padding: 16px;
}
.ptb-panel {
  width: min(1180px, 100%); height: 100%;
  display: flex; flex-direction: column;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
  animation: ptb-rise 200ms cubic-bezier(0.2, 0.8, 0.2, 1);
  transition: height 320ms cubic-bezier(0.2, 0.8, 0.2, 1), width 320ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
/* While building and after: narrower, and as tall as its content (height set from JS). */
.ptb-panel.compact { width: min(560px, 100%); }
.ptb-panel.compact .ptb-panel-body { flex: none; overflow: visible; }
@keyframes ptb-rise { from { transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) { .ptb-panel { animation: none; transition: none; } }

.ptb-panel-head { display: flex; align-items: center; gap: 24px; padding: 14px 18px 14px 22px; border-bottom: 1px solid var(--border); }
.ptb-panel-titles { min-width: 0; margin-right: auto; }
.ptb-panel-head h2 { margin: 0; font-size: 17px; font-weight: 600; letter-spacing: -0.005em; }
.ptb-panel-sub { margin-top: 2px; font-size: 12.5px; color: var(--text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ptb-x { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: var(--radius); background: transparent; color: var(--text-secondary); cursor: pointer; }
.ptb-x:hover:not(:disabled) { color: var(--text-primary); border-color: var(--border-strong); }
.ptb-x:disabled { opacity: 0.35; cursor: not-allowed; }
.ptb-x:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }

/* Stepper: numbered because the order is the flow. */
.ptb-steps { list-style: none; display: flex; gap: 4px; margin: 0; padding: 3px; background: var(--bg); border: 1px solid var(--border); border-radius: 999px; }
.ptb-steps button {
  display: inline-flex; align-items: center; gap: 8px;
  height: 30px; padding: 0 14px 0 6px; border: 0; border-radius: 999px;
  background: transparent; color: var(--text-muted); font: inherit; font-size: 12.5px; cursor: pointer;
  transition: background 140ms ease, color 140ms ease;
}
.ptb-steps button:hover { color: var(--text-primary); }
.ptb-steps button.on { background: var(--surface-3); color: var(--text-primary); font-weight: 600; }
.ptb-steps button.done { color: var(--text-secondary); }
.ptb-step-n { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; border: 1px solid var(--border-strong); color: inherit; }
.ptb-steps button.on .ptb-step-n { background: var(--accent); border-color: var(--accent); color: oklch(0.2 0.02 60); }
.ptb-steps button.done .ptb-step-n { background: color-mix(in oklab, var(--green) 22%, transparent); border-color: color-mix(in oklab, var(--green) 50%, transparent); color: var(--green); }
.ptb-steps button:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }

/* Editor on the left, Edit window preview on the right. */
.ptb-panel-grid { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); }
.ptb-panel-body { flex: 1; min-height: 0; overflow: auto; padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 14px; }

.ptb-step-intro h3 { margin: 0 0 4px; font-size: 15px; font-weight: 600; }
.ptb-step-intro p { margin: 0; max-width: 70ch; font-size: 13px; line-height: 1.55; color: var(--text-secondary); }
.ptb-step-intro .ptb-link-icon { vertical-align: -3px; color: var(--text-primary); }

.ptb-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ptb-field { display: flex; flex-direction: column; gap: 5px; font-size: 12px; color: var(--text-secondary); }
.ptb-field-wide { grid-column: 1 / -1; }
.ptb-panel input:not([type="checkbox"]):not(.ptb-name-input), .ptb-panel select {
  height: 30px; padding: 0 8px; min-width: 0;
  background: var(--surface-2); color: var(--text-primary);
  border: 1px solid var(--border); border-radius: var(--radius);
  font: inherit; font-size: 13px;
}
.ptb-panel input::placeholder { color: var(--text-muted); }
.ptb-panel input:focus-visible, .ptb-panel select:focus-visible { outline: 2px solid var(--accent); outline-offset: -1px; }
.ptb-panel input[type="checkbox"] { width: 16px; height: 16px; margin: 0; accent-color: var(--accent); flex: none; }
.ptb-location { position: relative; display: flex; align-items: center; gap: 8px; }
.ptb-location-path {
  flex: 1; min-width: 0; height: 30px; padding: 0 8px; display: flex; align-items: center;
  background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius);
  color: var(--text-primary); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.ptb-location .tb-btn { flex: none; }
.ptb-location-hint { font-size: 11.5px; color: var(--text-muted); }

/* Sections: one card per folder. */
.ptb-section { border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--bg); }
.ptb-section.loose { border-style: dashed; }
.ptb-section > .ptb-picker { margin: 8px 12px 0; }
.ptb-section-head {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 8px 12px; border-bottom: 1px solid var(--border);
  background: var(--surface); border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  font-size: 13.5px;
}
.ptb-section-name { flex: 1 1 160px; min-width: 0; display: flex; font-weight: 600; }
.ptb-section-name.static { display: block; }
.ptb-section.loose .ptb-section-name.static { font-weight: 500; color: var(--text-secondary); }
.ptb-section-head .ptb-swatch { width: 16px; height: 16px; }
.ptb-tag { flex: none; font-size: 11px; padding: 2px 7px; border-radius: 999px; border: 1px solid var(--border-strong); color: var(--text-secondary); }

.ptb-seg { display: flex; flex: none; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.ptb-seg button { height: 28px; padding: 0 10px; background: var(--surface); color: var(--text-secondary); border: 0; border-right: 1px solid var(--border); font: inherit; font-size: 12px; cursor: pointer; }
.ptb-seg button:last-child { border-right: 0; }
.ptb-seg button.on { background: var(--surface-3); color: var(--text-primary); font-weight: 600; }
.ptb-seg button:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }

.ptb-tracks { list-style: none; margin: 0; padding: 4px 0; }
.ptb-track { display: flex; align-items: center; gap: 10px; padding: 3px 12px; min-height: 36px; font-size: 13px; color: var(--text-secondary); }
.ptb-track + .ptb-track { border-top: 1px solid color-mix(in oklab, var(--border) 50%, transparent); }
.ptb-track.off .ptb-ch, .ptb-track.off .ptb-name { opacity: 0.5; }
.ptb-track-label { flex: 1 1 120px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text-primary); }

.ptb-main-out { max-width: 360px; }
.ptb-out { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; font-size: 12px; font-weight: 400; color: var(--text-muted); }
.ptb-out input { width: 160px; }
.ptb-in input { width: 132px; }
.ptb-arrow { color: var(--text-faint); display: inline-flex; }
.ptb-dest { width: 132px; font-size: 12px; color: var(--text-secondary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ptb-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Edit window preview. */
.ptb-edit { min-height: 0; display: flex; flex-direction: column; border-left: 1px solid var(--border); background: var(--bg-rail); }
.ptb-edit-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 16px 10px; font-size: 12.5px; font-weight: 600; }
.ptb-edit-head .mono { font-size: 11px; font-weight: 400; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ptb-edit-list { flex: 1; min-height: 0; overflow: auto; list-style: none; margin: 0 10px; padding: 0; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); }
.ptb-edit-row { display: flex; align-items: center; gap: 8px; height: 30px; padding-right: 10px; font-size: 12.5px; border-bottom: 1px solid color-mix(in oklab, var(--border) 60%, transparent); }
.ptb-edit-row:last-child { border-bottom: 0; }
.ptb-edit-color { width: 4px; align-self: stretch; flex: none; }
.ptb-edit-row.folder { background: var(--surface); font-weight: 600; }
.ptb-edit-row.nested .ptb-edit-name { padding-left: 16px; color: var(--text-secondary); }
.ptb-edit-name { flex: 1; min-width: 0; display: flex; align-items: center; gap: 6px; }
.ptb-edit-name > span:not(.ptb-edit-fmt) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ptb-edit-name svg { flex: none; color: var(--text-muted); }
.ptb-edit-fmt { font-size: 10px; color: var(--text-muted); border: 1px solid var(--border); border-radius: 3px; padding: 0 3px; }
.ptb-edit-io { flex: none; display: grid; grid-template-columns: 74px 74px; gap: 6px; font-size: 10.5px; color: var(--text-muted); font-weight: 400; }
.ptb-edit-io span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 1px 5px; border-radius: 3px; background: var(--surface-2); }
.ptb-edit-empty { padding: 16px; font-size: 12.5px; color: var(--text-muted); }
.ptb-stats { display: grid; grid-template-columns: repeat(5, 1fr); margin: 10px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.ptb-stats > div { padding: 8px 10px; border-right: 1px solid var(--border); }
.ptb-stats > div:last-child { border-right: 0; }
.ptb-stats dt { font-size: 10.5px; color: var(--text-muted); }
.ptb-stats dd { margin: 2px 0 0; font-size: 16px; font-variant-numeric: tabular-nums; }
.ptb-stats .bad dd { color: var(--accent-text); }

.ptb-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* Wide enough for a stereo pair's "10–11". */
.ptb-ch { width: 36px; flex: none; text-align: right; font-size: 11px; color: var(--text-faint); font-variant-numeric: tabular-nums; }
.ptb-count { font-size: 11px; color: var(--text-muted); font-weight: 400; font-variant-numeric: tabular-nums; }
.ptb-swatch-none { background: var(--surface-3); }
.ptb-swatch { width: 14px; height: 14px; border-radius: 3px; flex: none; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.25); }
.ptb-bad { color: var(--accent-text); font-weight: 600; }
.ptb-issues { margin: 6px 0 0; padding-left: 16px; font-size: 12.5px; color: var(--text-secondary); }

@media (max-width: 960px) {
  .ptb-panel-head { flex-wrap: wrap; row-gap: 10px; }
  .ptb-steps { order: 3; width: 100%; }
  .ptb-steps li { flex: 1; }
  .ptb-steps button { width: 100%; justify-content: center; }
}
@media (max-width: 860px) {
  .ptb-scrim { padding: 0; }
  .ptb-panel { border-radius: 0; border-width: 0; }
  .ptb-panel-grid { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; }
  .ptb-edit { border-left: 0; border-top: 1px solid var(--border); max-height: 26vh; }
  .ptb-edit-io, .ptb-edit-head .mono { display: none; }
  .ptb-edit-head { padding: 10px 16px 8px; }
  .ptb-panel-body { padding: 16px; }
  .ptb-fields { grid-template-columns: 1fr; }
  .ptb-steps button { padding: 0 8px 0 4px; font-size: 12px; white-space: nowrap; }
  /* Only the current step keeps its label on a phone. */
  .ptb-steps li:has(button:not(.on)) { flex: none; }
  .ptb-steps button:not(.on) > span:last-child { display: none; }
  .ptb-track { flex-wrap: wrap; }
  .ptb-out { margin-left: 0; width: 100%; }
  .ptb-out input { flex: 1; }
  .ptb-in { flex: 1; display: flex; }
  .ptb-in input, .ptb-dest { width: auto; flex: 1; }
}

/* ─── Editing the tree: names, folder colors, stereo links ────────── */
.ptb-text-btn { padding: 0; border: 0; background: none; color: var(--accent-text); font: inherit; cursor: pointer; }
.ptb-text-btn:hover { text-decoration: underline; }
.ptb-text-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 2px; }

/* A name is a button until clicked, then a text field in the same place. */
.ptb-name-btn {
  margin-left: -6px; padding: 3px 6px;
  border: 1px solid transparent; border-radius: var(--radius);
  background: none; color: inherit; font: inherit; text-align: left; cursor: text;
}
.ptb-name-btn:hover { border-color: var(--border); background: var(--surface-2); }
.ptb-name-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
/* Renamed for this build. */
.ptb-name-btn.renamed::after {
  content: ""; display: inline-block; width: 5px; height: 5px; margin-left: 6px;
  border-radius: 50%; background: var(--accent); vertical-align: 2px;
}
.ptb-name-input {
  height: 26px; margin-left: -6px; padding: 0 6px;
  border: 1px solid var(--accent); border-radius: var(--radius);
  background: var(--surface); color: var(--text-primary); font: inherit; font-weight: inherit;
  outline: none; text-overflow: clip;
}

.ptb-swatch-btn {
  display: inline-flex; flex: none; margin: -4px; padding: 3px;
  border: 1px solid transparent; border-radius: 5px; background: none; cursor: pointer;
}
.ptb-swatch-btn:hover, .ptb-swatch-btn[aria-expanded="true"] { border-color: var(--border-strong); }
.ptb-swatch-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }

.ptb-picker {
  display: flex; flex-direction: column; gap: 8px;
  margin: 4px 0 6px; padding: 10px;
  border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface-2);
}
/* Pro Tools' layout: 23 hues across, bright / mid / dark rows. */
.ptb-picker-grid { display: grid; grid-template-columns: repeat(23, minmax(0, 1fr)); gap: 3px; }
.ptb-picker-swatch {
  aspect-ratio: 1; min-width: 0; padding: 0; border: 0; border-radius: 3px; cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.25);
}
.ptb-picker-swatch:hover { transform: scale(1.18); }
.ptb-picker-swatch.on { outline: 2px solid var(--text-primary); outline-offset: 1px; }
.ptb-picker-swatch:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.ptb-picker-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; font-size: 11.5px; color: var(--text-muted); }
@media (max-width: 560px) {
  .ptb-picker-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4px; }
}

.ptb-fmt { flex: none; font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-text); }
.ptb-link {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 26px; height: 24px; padding: 0;
  border: 1px solid transparent; border-radius: var(--radius);
  background: none; color: var(--text-muted); cursor: pointer;
}
.ptb-track:hover .ptb-link { color: var(--text-secondary); }
.ptb-link:hover { border-color: var(--border); background: var(--surface-2); color: var(--text-primary); }
.ptb-link:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; color: var(--text-primary); }
.ptb-link.on { color: var(--accent-text); border-color: color-mix(in oklab, var(--accent) 40%, var(--border)); }

.ptb-notes { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.ptb-note {
  font-size: 12.5px; line-height: 1.45; padding: 8px 10px; border-radius: var(--radius);
  background: var(--surface-2); color: var(--text-secondary);
}
.ptb-note.problem { background: color-mix(in oklab, var(--accent) 14%, var(--surface)); color: var(--text-primary); }

/* The bridge isn't running: open it or download it. */
.ptb-missing {
  display: flex; flex-direction: column; gap: 4px;
  padding: 12px 14px; border-radius: var(--radius-lg);
  background: color-mix(in oklab, var(--accent) 10%, var(--surface));
  border: 1px solid color-mix(in oklab, var(--accent) 35%, var(--border));
}
.ptb-missing p { margin: 0; }
.ptb-missing-title { font-size: 13.5px; font-weight: 600; color: var(--text-primary); }
.ptb-missing-text { font-size: 12.5px; line-height: 1.45; color: var(--text-secondary); }
.ptb-missing-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 8px; }
.ptb-missing-actions a.tb-btn { text-decoration: none; }
.ptb-missing-actions a.tb-btn[aria-disabled] { opacity: 0.6; cursor: progress; }
.ptb-missing-meta { font-size: 11.5px; color: var(--text-muted); }

.ptb-panel-foot { display: flex; align-items: center; gap: 10px; padding: 14px 22px; border-top: 1px solid var(--border); }
.ptb-panel-foot .ptb-hint { margin-right: auto; }
.ptb-spacer { flex: 1; }

/* ─── Progress + result ───────────────────────────────────────────── */
.ptb-progress { height: 6px; border-radius: 999px; background: var(--surface-3); overflow: hidden; }
/* Full width, scaled from the left: transform animates without re-layout. */
.ptb-progress-fill { height: 100%; background: var(--accent); transform-origin: left center; transition: transform 200ms ease; }
.ptb-progress-fill.done { background: var(--green); }
.ptb-progress-fill.failed { background: var(--red); }
/* The current step, under the bar. Each step replaces the last. */
.ptb-current { display: flex; align-items: baseline; gap: 12px; font-size: 12px; color: var(--text-secondary); margin-top: -4px; }
.ptb-current-text { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; animation: ptb-step-in 160ms ease-out; }
.ptb-current-pct { color: var(--text-muted); font-variant-numeric: tabular-nums; }
.ptb-current.ok .ptb-current-text { color: var(--green); }
.ptb-current.warn .ptb-current-text { color: var(--accent-text); }
.ptb-current.fail .ptb-current-text { color: var(--red); }
@keyframes ptb-step-in { from { transform: translateY(3px); } }
@media (prefers-reduced-motion: reduce) { .ptb-current-text { animation: none; } }

.ptb-result { padding: 14px 16px; border-radius: var(--radius-lg); font-size: 13px; line-height: 1.5; display: flex; flex-direction: column; gap: 6px; }
.ptb-result.ok { background: color-mix(in oklab, var(--green) 12%, var(--surface)); border: 1px solid color-mix(in oklab, var(--green) 40%, var(--border)); }
.ptb-result.fail { background: color-mix(in oklab, var(--red) 10%, var(--surface)); border: 1px solid color-mix(in oklab, var(--red) 40%, var(--border)); }
.ptb-result-title { font-weight: 600; font-size: 14px; }
.ptb-result-sub { font-weight: 400; color: var(--text-secondary); }
.ptb-summary { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 5px 16px; margin: 4px 0 0; font-size: 13px; }
.ptb-summary dt { color: var(--text-muted); }
.ptb-summary dd { margin: 0; color: var(--text-primary); overflow-wrap: anywhere; }
.ptb-summary-path { font-size: 12px; color: var(--text-secondary); }
.ptb-summary summary { cursor: pointer; color: var(--accent-text); }
.ptb-summary details .ptb-notes { margin-top: 6px; }


/* ─── Accessibility toast ─────────────────────────────────────────── */
/* Floats over the bottom of the Edit window preview, above the footer. */
.ptb-panel-grid { position: relative; }
.ptb-toast {
  position: absolute; right: 16px; bottom: 16px; z-index: 4;
  width: min(380px, calc(100% - 32px));
  display: flex; flex-direction: column; gap: 6px;
  padding: 14px 16px;
  background: var(--surface-2);
  border: 1px solid color-mix(in oklab, var(--accent) 45%, var(--border-strong));
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  animation: ptb-toast-in 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.ptb-toast.ok { border-color: color-mix(in oklab, var(--green) 50%, var(--border-strong)); }
@keyframes ptb-toast-in { from { transform: translateY(10px); } }
@media (prefers-reduced-motion: reduce) { .ptb-toast { animation: none; } }
.ptb-toast p { margin: 0; }
.ptb-toast-title { font-size: 13.5px; font-weight: 600; color: var(--text-primary); }
.ptb-toast.ok .ptb-toast-title { color: var(--green); }
.ptb-toast-text { font-size: 12.5px; line-height: 1.5; color: var(--text-secondary); }
.ptb-toast-steps { margin: 2px 0 0; padding-left: 18px; font-size: 12.5px; line-height: 1.5; color: var(--text-secondary); }
.ptb-toast-steps li + li { margin-top: 3px; }
.ptb-toast-steps li.done { color: var(--text-muted); }
.ptb-toast-steps b { color: var(--text-primary); font-weight: 600; }
.ptb-toast-actions { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.ptb-toast-wait { font-size: 12px; color: var(--text-muted); }
@media (max-width: 860px) {
  .ptb-toast { position: fixed; left: 16px; right: 16px; bottom: 76px; width: auto; }
}

/* ─── Folder type for every section, click track toggle ───────────── */
.ptb-all-sections { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 12.5px; color: var(--text-secondary); }
.ptb-click-toggle {
  flex: none; height: 24px; padding: 0 9px;
  border: 1px solid var(--border); border-radius: 999px;
  background: none; color: var(--text-muted); font: inherit; font-size: 11.5px; cursor: pointer;
}
.ptb-click-toggle:hover { color: var(--text-primary); border-color: var(--border-strong); }
.ptb-click-toggle.on { color: var(--accent-text); border-color: color-mix(in oklab, var(--accent) 45%, var(--border)); background: color-mix(in oklab, var(--accent) 10%, transparent); }
.ptb-click-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
