/* Library prototype: shared base. Scholar's Stand roles, icons, controls, menus, tooltips, dialogs and
   toasts copied from ../workspace-chrome/harness.css (same values); the picker is PICKER.md verbatim. */
/* Workspace chrome prototypes: shared harness styles.
   Scholar's Stand roles from tokens.css's brand palette (navy, ivory, gold), light and dark. tokens.css
   maps its own role tokens to iOS system colours for the iPad replica; this prototype is the web app,
   so it reads the brand tokens directly under --pc-* names. */

.pc {
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --pc-bg: var(--brand-ivory);
  --pc-chrome: #FFFEF9;
  --pc-surface: #FFFEF9;
  --pc-surface-2: #F3EEE2;
  --pc-surface-3: #E9E2D2;
  --pc-hover: rgba(8, 43, 66, .06);
  --pc-press: rgba(8, 43, 66, .1);
  --pc-border: #E2DACA;
  --pc-border-strong: #C9BFA9;
  --pc-text: #192E45;
  --pc-text-2: #5A6874;
  --pc-primary: var(--brand-navy);
  --pc-on-primary: var(--brand-manuscript);
  --pc-accent: var(--brand-gold);
  --pc-accent-wash: rgba(188, 139, 37, .14);
  --pc-select: #2C4F73;
  --pc-select-wash: rgba(44, 79, 115, .10);
  --pc-focus: #2C4F73;
  --pc-danger: #A3282B;
  --pc-card: #FFFEF9;
  --pc-card-border: #E2DACA;
  --pc-pdf-bg: #ECE6D8;
  --pc-shadow-1: 0 1px 2px rgba(19, 34, 50, .08), 0 1px 1px rgba(19, 34, 50, .04);
  --pc-shadow-2: 0 6px 16px rgba(19, 34, 50, .10), 0 1px 3px rgba(19, 34, 50, .08);
  --pc-shadow-3: 0 18px 44px rgba(19, 34, 50, .18), 0 4px 10px rgba(19, 34, 50, .10);
  --pc-radius: 10px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .pc {
    --pc-bg: #0E1821; --pc-chrome: #132029; --pc-surface: #15212C; --pc-surface-2: #1C2A37; --pc-surface-3: #253646;
    --pc-hover: rgba(237, 232, 221, .07); --pc-press: rgba(237, 232, 221, .12);
    --pc-border: #2C3E4F; --pc-border-strong: #42576B; --pc-text: #EDE8DD; --pc-text-2: #AAB5BE;
    --pc-primary: var(--brand-gold-3); --pc-on-primary: #10202C; --pc-accent: var(--brand-gold-3); --pc-accent-wash: rgba(241, 195, 89, .14);
    --pc-select: #9DBBDA; --pc-select-wash: rgba(157, 187, 218, .14); --pc-focus: #9DBBDA; --pc-danger: #F08A84;
    --pc-card: #1C2A37; --pc-card-border: #33475A; --pc-pdf-bg: #0B141B;
    --pc-shadow-1: 0 1px 2px rgba(0, 0, 0, .4); --pc-shadow-2: 0 6px 16px rgba(0, 0, 0, .45); --pc-shadow-3: 0 18px 44px rgba(0, 0, 0, .55);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] .pc {
  --pc-bg: #0E1821; --pc-chrome: #132029; --pc-surface: #15212C; --pc-surface-2: #1C2A37; --pc-surface-3: #253646;
  --pc-hover: rgba(237, 232, 221, .07); --pc-press: rgba(237, 232, 221, .12);
  --pc-border: #2C3E4F; --pc-border-strong: #42576B; --pc-text: #EDE8DD; --pc-text-2: #AAB5BE;
  --pc-primary: var(--brand-gold-3); --pc-on-primary: #10202C; --pc-accent: var(--brand-gold-3); --pc-accent-wash: rgba(241, 195, 89, .14);
  --pc-select: #9DBBDA; --pc-select-wash: rgba(157, 187, 218, .14); --pc-focus: #9DBBDA; --pc-danger: #F08A84;
  --pc-card: #1C2A37; --pc-card-border: #33475A; --pc-pdf-bg: #0B141B;
  --pc-shadow-1: 0 1px 2px rgba(0, 0, 0, .4); --pc-shadow-2: 0 6px 16px rgba(0, 0, 0, .45); --pc-shadow-3: 0 18px 44px rgba(0, 0, 0, .55);
  color-scheme: dark;
}
:root[data-theme="light"] .pc { color-scheme: light; }

html, body.pc { height: 100%; }
body.pc {
  margin: 0; overflow: hidden; background: var(--pc-bg); color: var(--pc-text);
  font: 400 14px/1.45 "DS Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
.pc :focus-visible { outline: 2px solid var(--pc-focus); outline-offset: 2px; }
:where(.pc) button { font: inherit; color: inherit; }
.pc-skip { position: absolute; left: 8px; top: -48px; z-index: 100; padding: 8px 12px; border-radius: 8px; background: var(--pc-primary); color: var(--pc-on-primary); }
.pc-skip:focus { top: 8px; }

/* Icons: CSS masks over currentColor, from /design/icons */
.pi { display: inline-block; flex: none; width: 18px; height: 18px; background-color: currentColor; -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.pi-select { --i: url("../icons/select.svg"); } .pi-link { --i: url("../icons/link.svg"); } .pi-pen { --i: url("../icons/pen.svg"); }
.pi-highlighter { --i: url("../icons/highlighter.svg"); } .pi-eraser { --i: url("../icons/eraser.svg"); } .pi-clip { --i: url("../icons/sf-rectangle-dashed.svg"); }
.pi-hand { --i: url("../icons/hand.svg"); } .pi-lasso { --i: url("../icons/lasso.svg"); } .pi-note { --i: url("../icons/note-add.svg"); }
.pi-undo { --i: url("../icons/undo.svg"); } .pi-redo { --i: url("../icons/redo.svg"); } .pi-search { --i: url("../icons/search.svg"); }
.pi-more { --i: url("../icons/more.svg"); } .pi-close { --i: url("../icons/close.svg"); } .pi-sidebar { --i: url("../icons/sf-sidebar-left.svg"); }
.pi-workspace { --i: url("../icons/workspaces.svg"); } .pi-chevron-right { --i: url("../icons/chevron-right.svg"); } .pi-chevron-down { --i: url("../icons/chevron-down.svg"); }
.pi-plus { --i: url("../icons/plus.svg"); } .pi-trash { --i: url("../icons/trash.svg"); } .pi-edit { --i: url("../icons/edit.svg"); }
.pi-copy { --i: url("../icons/copy.svg"); } .pi-cut { --i: url("../icons/cut.svg"); } .pi-source { --i: url("../icons/source.svg"); }
.pi-return { --i: url("../icons/return.svg"); } .pi-list { --i: url("../icons/list.svg"); } .pi-excerpt { --i: url("../icons/excerpt.svg"); }
.pi-bookmark { --i: url("../icons/bookmark.svg"); } .pi-resize { --i: url("../icons/resize.svg"); } .pi-fit { --i: url("../icons/fit.svg"); }
.pi-help { --i: url("../icons/hint.svg"); } .pi-command { --i: url("../icons/bolt.svg"); } .pi-sun { --i: url("../icons/sun.svg"); } .pi-moon { --i: url("../icons/moon.svg"); }

/* ---------- controls ---------- */
.pc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 32px; padding: 0 12px; border: 1px solid transparent; border-radius: 8px; background: transparent; font-weight: 600; font-size: 13px; white-space: nowrap; cursor: pointer; transition: transform 160ms var(--ease-out), background-color 150ms ease, color 150ms ease; }
.pc-btn .pi { width: 16px; height: 16px; }
.pc-btn--primary { background: var(--pc-primary); color: var(--pc-on-primary); }
.pc-btn--quiet { color: var(--pc-text); }
.pc-btn--danger { color: var(--pc-danger); }
.pc-btn.is-left { margin-right: auto; }
.pc-icon-btn { display: inline-grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: var(--pc-text-2); cursor: pointer; transition: transform 160ms var(--ease-out), background-color 150ms ease, color 150ms ease; }
.pc-btn:active, .pc-icon-btn:active { transform: scale(0.97); }
.pc-btn:disabled, .pc-icon-btn:disabled { opacity: .4; cursor: default; }
@media (hover: hover) and (pointer: fine) {
  .pc-btn--quiet:hover, .pc-icon-btn:hover, .pc-side-row:hover, .pc-sticky.is-empty:hover, .pc-sticky.is-more:hover { background: var(--pc-hover); color: var(--pc-text); }
  .pc-btn--primary:hover { background: color-mix(in srgb, var(--pc-primary) 88%, var(--pc-on-primary)); }
  .pc-btn--danger:hover { background: color-mix(in srgb, var(--pc-danger) 10%, transparent); }
}
.pc-seg { display: inline-flex; gap: 2px; padding: 2px; border-radius: 9px; background: var(--pc-surface-2); }
.pc-seg button { flex: 1; height: 28px; padding: 0 10px; border: 0; border-radius: 7px; background: transparent; color: var(--pc-text-2); font-weight: 600; font-size: 12px; cursor: pointer; white-space: nowrap; }
.pc-seg button[aria-checked="true"] { background: var(--pc-surface); color: var(--pc-text); box-shadow: var(--pc-shadow-1); }
.pc-seg button[data-color]::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: var(--c); }

/* ---------- floating things: menus, popovers, palette, search ---------- */
.pc-pop { position: fixed; z-index: 1000; opacity: 0; transform: scale(0.96); }
.pc-pop[data-open] { opacity: 1; transform: none; transition: opacity 150ms var(--ease-out), transform 180ms var(--ease-out); }
.pc-pop[data-instant] { transition: none; }
@media (prefers-reduced-motion: reduce) { .pc-pop { transform: none; } .pc-pop[data-open] { transition: opacity 150ms ease; } }
.pc-menu { min-width: 220px; max-width: min(340px, calc(100vw - 16px)); max-height: calc(100vh - 16px); overflow: auto; padding: 5px; border-radius: 12px; background: var(--pc-surface); border: 1px solid var(--pc-border); box-shadow: var(--pc-shadow-3); }
.pc-menu:focus { outline: none; }
.pc-menu__title { margin: 4px 8px 6px; font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--pc-text-2); }
.pc-menu__head { margin: 8px 8px 2px; font-size: 11px; font-weight: 600; color: var(--pc-text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pc-menu__sep { height: 1px; margin: 4px 6px; background: var(--pc-border); }
.pc-menu__item { display: grid; grid-template-columns: 16px 1fr auto; align-items: center; gap: 8px; width: 100%; min-height: 32px; padding: 4px 8px 4px 6px; border: 0; border-radius: 7px; background: transparent; text-align: left; cursor: pointer; }
.pc-menu__item:focus { outline: none; background: var(--pc-select-wash); }
.pc-menu__item:focus-visible { outline: 2px solid var(--pc-focus); outline-offset: -2px; }
.pc-menu__item[aria-disabled="true"] { opacity: .45; cursor: default; }
.pc-menu__item.is-danger { color: var(--pc-danger); }
.pc-menu__label { overflow-wrap: anywhere; }
.pc-menu__key { color: var(--pc-text-2); font-size: 12px; font-variant-numeric: tabular-nums; }
.pc-menu__key .pi { width: 14px; height: 14px; }
.pc-menu__item[aria-checked="true"] .pc-menu__check { width: 14px; height: 14px; background: currentColor; -webkit-mask: url("../icons/check.svg") center / contain no-repeat; mask: url("../icons/check.svg") center / contain no-repeat; }
.pc-tip { position: fixed; z-index: 1100; display: flex; align-items: center; gap: 8px; padding: 5px 8px; border-radius: 7px; background: #10202C; color: #F3EEE2; font-size: 12px; font-weight: 600; pointer-events: none; opacity: 0; transform: scale(0.97); box-shadow: var(--pc-shadow-2); max-width: 280px; }
.pc-tip[data-open] { opacity: 1; transform: none; transition: opacity 125ms var(--ease-out), transform 125ms var(--ease-out); }
.pc-tip[data-instant] { transition: none; }
.pc-tip kbd { font: 600 11px/1 "DS Sans", system-ui, sans-serif; padding: 3px 5px; border-radius: 4px; background: rgba(255, 255, 255, .14); }
.pc-palette { width: 284px; padding: 12px; display: grid; gap: 10px; border-radius: 14px; background: var(--pc-surface); border: 1px solid var(--pc-border); box-shadow: var(--pc-shadow-3); }
.pc-palette__title { margin: 0; font-weight: 600; }
.pc-palette__swatches { display: grid; grid-template-columns: repeat(9, 1fr); gap: 4px; }
.pc-swatch { aspect-ratio: 1; border: 0; border-radius: 50%; background: var(--c); cursor: pointer; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); transition: transform 160ms var(--ease-out); }
.pc-swatch[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--pc-surface), 0 0 0 4px var(--pc-select); }
.pc-swatch:active, .pc-width:active { transform: scale(0.97); }
.pc-palette__widths { display: grid; grid-template-columns: repeat(8, 1fr); gap: 4px; }
.pc-width { display: grid; place-items: center; height: 30px; border: 0; border-radius: 7px; background: var(--pc-surface-2); cursor: pointer; }
.pc-width span { display: block; border-radius: 50%; background: var(--c); }
.pc-width[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--pc-select); }
/* ---------- dialogs ---------- */
.pc-dialog { width: min(440px, calc(100vw - 32px)); padding: 20px; border: 1px solid var(--pc-border); border-radius: 16px; background: var(--pc-surface); color: var(--pc-text); box-shadow: var(--pc-shadow-3); }
.pc-dialog--wide { width: min(760px, calc(100vw - 32px)); }
/* Readable from the first frame: the surface and backdrop are opaque and static; only a short settle and a light
   content fade ride on top, so a throttled or frozen animation never leaves the dialog see-through. */
.pc-dialog[open] { animation: pc-dialog-in 140ms var(--ease-out); }
.pc-dialog[open] > * { animation: pc-dialog-content-in 140ms var(--ease-out); }
.pc-dialog[data-instant], .pc-dialog[data-instant] > * { animation: none; }
.pc-dialog::backdrop { background: rgba(8, 20, 30, .38); }
@keyframes pc-dialog-in { from { transform: translateY(4px) scale(0.985); } }
@keyframes pc-dialog-content-in { from { opacity: .7; } }
@media (prefers-reduced-motion: reduce) { .pc-dialog[open], .pc-dialog[open] > * { animation: none; } }
@keyframes pc-fade-in { from { opacity: 0; } }
.pc-dialog h2 { margin: 0 0 14px; font: 600 17px/1.3 "DS Sans", system-ui, sans-serif; letter-spacing: 0; }
.pc-dialog__foot { display: flex; gap: 8px; justify-content: flex-end; margin-top: 18px; }
.pc-form { display: grid; gap: 12px; }
.pc-form--grid .pc-row { display: grid; grid-template-columns: 150px 1fr; align-items: center; gap: 12px; }
.pc-field { display: grid; gap: 6px; font-weight: 600; font-size: 13px; }
.pc-field input, .pc-field textarea, .pc-row select, .pc-row input[type="range"] { font: 400 14px/1.4 inherit; color: var(--pc-text); }
.pc-field input, .pc-field textarea, .pc-row select { width: 100%; min-height: 36px; padding: 6px 10px; border: 1px solid var(--pc-border-strong); border-radius: 8px; background: var(--pc-bg); }
.pc-field textarea { resize: vertical; }
.pc-form__err { margin: 0; color: var(--pc-danger); font-size: 13px; }
.pc-keys { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px 28px; max-height: 64vh; overflow: auto; }
.pc-keys h3 { margin: 0 0 6px; font: 600 12px/1 "DS Sans", system-ui, sans-serif; text-transform: uppercase; letter-spacing: .05em; color: var(--pc-text-2); }
.pc-keys dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px; margin: 0; }
.pc-keys dt { font: 600 12px/20px "DS Sans", system-ui, sans-serif; padding: 0 6px; border-radius: 5px; background: var(--pc-surface-2); justify-self: start; white-space: nowrap; }
.pc-keys dd { margin: 0; font-size: 13px; line-height: 20px; }
.pc-keys__note { grid-column: 1 / -1; margin: 0; font-size: 12px; color: var(--pc-text-2); }

/* ---------- toasts ---------- */
.pc-toasts { position: fixed; left: 50%; bottom: 72px; translate: -50% 0; z-index: 900; display: grid; gap: 6px; pointer-events: none; }
.pc-toast { display: flex; align-items: center; gap: 10px; max-width: min(520px, calc(100vw - 32px)); padding: 9px 10px 9px 14px; border-radius: 12px; background: #10202C; color: #F3EEE2; box-shadow: var(--pc-shadow-3); font-size: 13px; pointer-events: auto; animation: pc-toast-in 220ms var(--ease-out); }
.pc-toast[data-leaving] { opacity: 0; transition: opacity 150ms ease-out; }
.pc-toast__act { height: 28px; padding: 0 10px; border: 0; border-radius: 7px; background: rgba(255, 255, 255, .14); color: #fff; font-weight: 600; cursor: pointer; transition: transform 160ms var(--ease-out); }
.pc-toast__act:active { transform: scale(0.97); }
@keyframes pc-toast-in { from { opacity: 0; transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { .pc-toast { animation-name: pc-fade-in; } }

/* ---------- shared chrome bits variants reuse ---------- */
.pc-kbd { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 4px; background: var(--pc-surface-2); color: var(--pc-text-2); font: 600 11px/1 "DS Sans", system-ui, sans-serif; }
.pc-brand { display: inline-flex; align-items: center; gap: 8px; min-width: 0; font-weight: 600; }
.pc-brand img { width: 26px; height: 26px; flex: none; }
.pc-title { font: 600 14px/1.2 "DS Sans", system-ui, sans-serif; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.pc-sub { color: var(--pc-text-2); font-weight: 400; }

/* ---------- picker (PICKER.md, verbatim) ---------- */
.proto-picker {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2147483647;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.82);
  -webkit-backdrop-filter: blur(12px) saturate(1.4);
  backdrop-filter: blur(12px) saturate(1.4);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    0 8px 24px rgba(0, 0, 0, 0.24),
    0 2px 6px rgba(0, 0, 0, 0.12);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 13px;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  user-select: none;
  -webkit-user-select: none;
}

.proto-picker-highlight {
  position: absolute;
  top: 4px;
  left: 0;
  height: 28px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

/* The slide is enabled only after first paint (data-ready), so load doesn't animate. */
.proto-picker[data-ready] .proto-picker-highlight {
  transition:
    transform 250ms cubic-bezier(0.23, 1, 0.32, 1),
    width 250ms cubic-bezier(0.23, 1, 0.32, 1);
}

@media (prefers-reduced-motion: reduce) {
  .proto-picker[data-ready] .proto-picker-highlight { transition: none; }
}

.proto-picker-item {
  position: relative; /* sits above the highlight */
  display: flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  font: inherit;
  cursor: pointer;
  transition:
    color 150ms ease-out,
    transform 160ms cubic-bezier(0.23, 1, 0.32, 1);
}

@media (hover: hover) and (pointer: fine) {
  .proto-picker-item:hover {
    color: rgba(255, 255, 255, 0.85);
  }
}

.proto-picker-item:active {
  transform: scale(0.97);
}

.proto-picker-item:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.4);
  outline-offset: 2px;
}

.proto-picker-item[data-active] {
  color: #fff;
}

.proto-picker-divider {
  width: 1px;
  height: 16px;
  margin: 0 4px;
  background: rgba(255, 255, 255, 0.12);
}

.proto-picker-replay {
  padding: 0 10px;
  font-size: 14px;
}

.proto-picker[data-position="top"] {
  bottom: auto;
  top: 24px;
}
.pc-app.is-editing .pc-toasts { bottom: auto; top: 64px; } /* never over the open note's Save */
/* Sticky-note stack: up to three tabs fanned, with the count; the list holds any number. */
.pc-stack { position: relative; display: inline-flex; align-items: center; gap: 4px; height: 28px; padding: 0 6px 0 4px; border: 1px solid var(--pc-border); border-radius: 6px; background: transparent; cursor: pointer; transition: transform 160ms var(--ease-out), background-color 150ms ease; }
.pc-stack:active { transform: scale(0.97); }
.pc-stack__fan { position: relative; display: block; width: 30px; height: 20px; }
.pc-stack__tab { position: absolute; top: 0; left: calc(var(--i) * 5px); display: grid; place-items: center; width: 20px; height: 20px; border-radius: 4px; background: var(--fill); box-shadow: 0 0 0 1px color-mix(in srgb, var(--c) 45%, transparent); color: #192E45; font: 600 11px/1 "DS Sans", system-ui, sans-serif; }
.pc-stack__tab:last-child { left: 0; z-index: 3; }
.pc-stack__tab:nth-last-child(2) { z-index: 2; } .pc-stack__tab:nth-last-child(3) { z-index: 1; }
.pc-stack__count { min-width: 16px; font: 600 12px/1 "DS Sans", system-ui, sans-serif; color: var(--pc-text-2); font-variant-numeric: tabular-nums; }
@media (hover: hover) and (pointer: fine) { .pc-stack:hover { background: var(--pc-hover); } }

/* Library icons */
.pi-folder { --i: url("../icons/sf-folder.svg"); } .pi-matter { --i: url("../icons/matter.svg"); } .pi-folder-plus { --i: url("../icons/sf-folder-plus.svg"); } .pi-home { --i: url("../icons/sf-house.svg"); }
.pi-clock { --i: url("../icons/sf-clock.svg"); } .pi-grid { --i: url("../icons/sf-square-grid.svg"); } .pi-file { --i: url("../icons/sf-doc-richtext.svg"); }
.pi-star { --i: url("icons/star.svg"); } .pi-star-fill { --i: url("icons/star-fill.svg"); } .pi-archive { --i: url("icons/archive.svg"); } .pi-tag { --i: url("icons/tag.svg"); }
.pi-bin { --i: url("../icons/sf-trash.svg"); } .pi-sticky { --i: url("../icons/sticky.svg"); } .pi-restore { --i: url("../icons/return.svg"); }

/* Usage preferences (harness.js openPreferences): the core's sections as radio groups. */
.pc-prefs { display: grid; gap: 14px; max-height: 60vh; overflow: auto; }
.pc-prefs__sec { margin: 0; padding: 0; border: 0; display: grid; gap: 6px; }
.pc-prefs__sec legend { padding: 0; margin-bottom: 4px; font-weight: 600; font-size: 13px; color: var(--pc-text-2); }
.pc-prefs__row { display: flex; align-items: center; gap: 8px; min-height: 32px; }
.pc-dialog__text { margin: 0 0 10px; max-width: 52ch; line-height: 1.45; white-space: pre-wrap; }
