:root {
  --bg: #05070f;
  --fg: #e8edf2;
  --muted: #8b97a5;
  --accent: #d0dc7e;
  --accent-contrast: #12160a;
  --card: #14181d;
  --line: #232a32;
  --well: #0f1216;
  --calm: #7ee0a8;
  --warn: #e0b87e;
  --alert: #e0937e;
  --read: 46rem;
  --wide: 80rem;
  --bar-start: 0px;
  --bar-end: 0px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.bar { position: sticky; top: 0; z-index: 5; background: var(--bg); border-bottom: 1px solid var(--line); }
.bar > .bar-inner { margin-left: var(--bar-start); margin-right: var(--bar-end); }
:root[data-window="mac-app"] { --bar-start: 4rem; }
@media (display-mode: window-controls-overlay) {
  :root { --bar-start: max(0px, calc(env(titlebar-area-x, 0px) - 1rem)); --bar-end: max(0px, calc(100vw - env(titlebar-area-x, 0px) - env(titlebar-area-width, 100vw) - 1rem)); }
  .bar { min-height: env(titlebar-area-height, 0px); -webkit-app-region: drag; app-region: drag; }
  .bar a, .bar button, .bar select, .bar input, .bar label { -webkit-app-region: no-drag; app-region: no-drag; }
}
.bar-inner { display: flex; align-items: center; gap: 1rem; }
.spacer { flex: 1; }
.brand { display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.3rem 0.4rem; margin-left: -0.4rem; border: 0; border-radius: 0.5rem; background: none; color: var(--fg); font: inherit; font-size: 1.05rem; font-weight: 700; cursor: pointer; }
.brand:hover { background: var(--card); }
.brand::after { content: ""; width: 0.35rem; height: 0.35rem; margin: -0.2rem 0 0 0.1rem; border: solid var(--muted); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.mark { width: 0.9rem; height: 0.9rem; border-radius: 0.3rem; background: var(--accent); flex: none; }
.me { width: 2rem; height: 2rem; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--card); color: var(--muted); display: grid; place-items: center; cursor: pointer; flex: none; }
.me:hover { color: var(--fg); }
.me svg { width: 1.1rem; height: 1.1rem; }
.menu { position: fixed; inset: auto; top: 3.6rem; bottom: auto; width: max-content; height: auto; max-height: calc(100vh - 4.5rem); overflow-y: auto; margin: 0; min-width: 14rem; padding: 0.35rem; background: var(--card); color: var(--fg); border: 1px solid var(--line); border-radius: 0.75rem; box-shadow: 0 12px 30px rgb(0 0 0 / 0.5); }
.menu:popover-open { display: grid; align-content: start; gap: 2px; }
.menu-start { left: calc(0.6rem + var(--bar-start)); }
.menu-end { right: calc(0.6rem + var(--bar-end)); }
.menu > a, .menu > button { display: flex; align-items: center; gap: 0.65rem; width: 100%; padding: 0.5rem 0.7rem; border: 0; border-radius: 0.5rem; background: none; color: var(--fg); font: inherit; font-size: 0.92rem; text-align: left; text-decoration: none; cursor: pointer; }
.menu > a:hover, .menu > button:hover { background: var(--line); }
.menu > [aria-current] { font-weight: 600; }
.menu > a > i { width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--muted); }
.menu hr { width: 100%; margin: 0.25rem 0; border: 0; border-top: 1px solid var(--line); }
.menu .to-sluice > i { background: #7ec4e0; }
.menu .to-scan > i { background: #b8a0e8; }
.menu .to-iris > i { background: #d0dc7e; }
.menu .to-streamline > i { background: #e0877e; }
.menu .to-exchange > i { background: #7ee0a8; }
.menu .to-cadence > i { background: #e0b07e; }
.menu .to-account > i { background: #e89ab8; }
.shell { flex: 1 0 auto; width: 100%; max-width: calc(var(--shell) + 14.5rem); margin: 0 auto; padding: 0 1.25rem; display: grid; grid-template-columns: 12.5rem minmax(0, 1fr) 12.5rem; gap: 2rem; }
.nav { position: sticky; top: 3.5rem; align-self: start; padding: 1.5rem 0; display: grid; gap: 0.15rem; }
.nav a, .nav button { display: flex; justify-content: space-between; align-items: center; padding: 0.5rem 0.75rem; border: 0; border-radius: 0.55rem; background: none; color: var(--muted); font: inherit; font-size: 0.93rem; text-align: left; text-decoration: none; cursor: pointer; }
.nav a:hover, .nav button:hover { color: var(--fg); background: var(--card); }
.nav [aria-current="page"], .nav [aria-pressed="true"] { color: var(--fg); background: var(--card); box-shadow: inset 2px 0 0 var(--accent); }
.nav .count { font-size: 0.75rem; color: var(--accent-contrast); background: var(--accent); border-radius: 999px; padding: 0 0.45rem; font-weight: 700; }
.nav hr { border: 0; border-top: 1px solid var(--line); margin: 0.75rem 0.5rem; }
.tabbar { display: none; }
@media (max-width: 1100px) {
  .shell { max-width: var(--shell); grid-template-columns: minmax(0, 1fr); gap: 0; }
  .nav { display: none; }
  body:has(.tabbar:not([hidden])) { padding-bottom: 4.5rem; }
  .tabbar { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; background: var(--card); border-top: 1px solid var(--line); padding: 0.35rem env(safe-area-inset-right) calc(0.35rem + env(safe-area-inset-bottom)) env(safe-area-inset-left); }
  .tabbar a, .tabbar button { display: grid; justify-items: center; gap: 0.1rem; padding: 0.3rem 0; border: 0; background: none; color: var(--muted); font: inherit; font-size: 0.7rem; text-decoration: none; position: relative; cursor: pointer; }
  .tabbar b { font-size: 1.05rem; font-weight: 400; }
  .tabbar [aria-current="page"], .tabbar [aria-pressed="true"] { color: var(--accent); }
  .tabbar .count { position: absolute; top: 0; left: 55%; font-size: 0.65rem; background: var(--accent); color: var(--accent-contrast); border-radius: 999px; padding: 0 0.35rem; font-weight: 700; }
}
img[data-turn="90"] { rotate: 90deg; }
img[data-turn="180"] { rotate: 180deg; }
img[data-turn="270"] { rotate: 270deg; }
.freshtoast { position: fixed; left: 50%; bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 40; max-width: calc(100vw - 2rem); padding: 0.55rem 1.1rem; background: var(--card); color: var(--fg); border: 1px solid var(--accent); border-radius: 999px; box-shadow: 0 12px 30px rgb(0 0 0 / 0.45); font-size: 0.9rem; text-align: center; }
@media (max-width: 1100px) { .freshtoast { bottom: calc(5.2rem + env(safe-area-inset-bottom, 0px)); } }
:root {
  --shell: var(--wide);
}
html { height: 100%; }
body {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.5 system-ui, sans-serif;
}
.bar { padding: 0.75rem 1rem; }
a.brand { text-decoration: none; }
a.brand::after { display: none; }
h1 { font-size: 1.3rem; margin: 0 0 0.6rem; }
h2 { font-size: 1.1rem; margin: 0 0 0.6rem; }
h3 { font-size: 1rem; margin: 1rem 0 0.4rem; }
main { padding: 1rem; flex: 1; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.25rem; margin-bottom: 1rem; }
.muted { color: var(--muted); font-size: 0.875rem; margin: 0 0 0.75rem; }
a { color: var(--accent); text-decoration-color: color-mix(in srgb, var(--accent) 40%, transparent); }
a:hover { text-decoration-color: var(--accent); }
footer { padding: 1rem; border-top: 1px solid var(--line); margin-top: auto; display: flex; gap: 1.25rem; flex-wrap: wrap; font-size: 0.875rem; }
footer a { color: var(--muted); }
.section-title { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); margin: 0 0 0.75rem; font-weight: 600; }
.hero { font-size: 3rem; font-weight: 600; line-height: 1.1; margin: 0 0 0.25rem; }
.notice { border-left: 2px solid var(--accent); padding-left: 0.75rem; margin: 0 0 1rem; font-size: 0.875rem; color: var(--muted); }
.notice.alert { border-left-color: var(--alert); color: var(--fg); }
.actions { margin: 0.5rem 0 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
button.ghost, button.primary, a.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  font: inherit;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: none;
}
button.ghost { background: transparent; color: var(--accent); border: 1px solid var(--accent); }
button.ghost:hover { background: var(--accent); color: var(--accent-contrast); }
button.primary, a.button.primary { background: var(--accent); color: var(--accent-contrast); border: 1px solid var(--accent); font-weight: 600; }
button:disabled { opacity: 0.45; cursor: not-allowed; }
a.button.ghost { background: transparent; color: var(--accent); border: 1px solid var(--accent); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.column { max-width: var(--shell); margin-left: auto; margin-right: auto; width: 100%; }
.lead { font-size: 1.05rem; margin: 0 0 0.75rem; }
.facts { list-style: none; padding: 0; margin: 0 0 0.75rem; display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; color: var(--muted); font-size: 0.9rem; }
.views { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr)); gap: 0.75rem; }
.views figure { margin: 0; position: relative; }
.view-turn { position: absolute; top: 0.35rem; right: 0.35rem; width: 2.25rem; height: 2.25rem; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--fg); font: inherit; font-size: 1.15rem; line-height: 1; cursor: pointer; opacity: 0.9; }
.view-turn:hover, .view-turn:focus-visible { border-color: var(--accent); color: var(--accent); opacity: 1; }
.turn-status { margin: 0.5rem 0 0; font-size: 0.85rem; }
.turn-status:empty { display: none; }
.views img { display: block; width: 100%; aspect-ratio: 1; object-fit: contain; background: var(--well); border: 1px solid var(--line); border-radius: 10px; }
.views figcaption { font-size: 0.8rem; color: var(--muted); margin-top: 0.3rem; font-variant-numeric: tabular-nums; }
.views .cut img { border-style: dashed; }
.views .view-blank { display: flex; width: 100%; aspect-ratio: 1; background: var(--well); border: 1px solid var(--line); border-radius: 10px; }
.picture-missing { display: flex; align-items: center; justify-content: center; padding: 0.5rem; box-sizing: border-box; text-align: center; color: var(--muted); font-size: 0.8rem; }
.near a { display: block; color: inherit; text-decoration: none; border-radius: 10px; }
.near a:hover img, .near a:focus-visible img { border-color: var(--accent); }
.near figcaption { display: flex; flex-direction: column; gap: 0.1rem; }
.near figcaption strong { color: var(--fg); font-weight: 600; }
.near .no-picture { display: grid; place-items: center; aspect-ratio: 1; background: var(--well); border: 1px dashed var(--line); border-radius: 10px; color: var(--muted); font-size: 0.85rem; text-align: center; padding: 0.5rem; }
.motion { margin: 0 0 1rem; }
.motion-stage { position: relative; width: 100%; aspect-ratio: 16 / 9; background: var(--well); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.motion-frame { position: absolute; inset: 0; background-repeat: no-repeat; }
.motion-clip { display: block; width: 100%; height: 100%; object-fit: contain; }
.motion-mask { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; }
.motion-still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.motion-notes .notice button { margin-left: 0.5rem; }
.framed { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem; }
.framed-view, .framed-crop { flex: none; height: 6rem; max-width: 60%; background-color: var(--well); border: 1px solid var(--line); border-radius: 10px; }
.framed-view { aspect-ratio: 1; object-fit: contain; }
.framed-crop { background-repeat: no-repeat; }
.where-stage { position: relative; display: inline-block; max-width: 100%; }
.where-stage img { display: block; max-width: 100%; border-radius: 10px; }
.where-seen { display: block; width: min(100%, var(--frame-w, 720px)); aspect-ratio: var(--frame-ratio, 16 / 9); background: var(--well); border-radius: 10px; overflow: hidden; }
.where-seen.where-sphere { width: 100%; aspect-ratio: 16 / 10; }
.where-layer { position: absolute; inset: 0; }
.where-layer img { width: 100%; height: 100%; object-fit: contain; }
.where-next { visibility: hidden; }
.where-seen::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0; background: linear-gradient(100deg, transparent 30%, var(--line) 50%, transparent 70%) 0 0 / 200% 100%; transition: opacity 0.15s; }
.where-seen[aria-busy="true"]::after { opacity: .6; transition-delay: 0.12s; animation: where-wait 1.2s linear infinite; }
@keyframes where-wait { from { background-position: 100% 0; } to { background-position: -100% 0; } }
@media (prefers-reduced-motion: reduce) { .where-seen[aria-busy="true"]::after { animation: none; } }
.where-frames { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.where-frames [aria-pressed="true"] { border-color: var(--accent); font-weight: 600; }
.seen-outline { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.seen-outline path { fill: rgba(255, 255, 255, 0.14); stroke: var(--mark, #fff); stroke-width: 2px; }
.seen-sphere-stage { display: block; width: 100%; aspect-ratio: 16 / 10; }
.seen-sphere, .seen-sphere-outline { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 10px; }
.seen-sphere { cursor: grab; touch-action: none; }
.seen-sphere-outline { pointer-events: none; }
.motion-mark { position: absolute; z-index: 2; border: 2px solid var(--mark, #fff); border-radius: 4px; box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.6); pointer-events: none; }
.motion figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.75rem; font-size: 0.85rem; margin-top: 0.4rem; }
.motion figcaption .muted { margin: 0; font-variant-numeric: tabular-nums; }
.scrub { margin-top: 0.4rem; }
.scrub-bar { display: block; width: 100%; height: 2.75rem; margin: 0; accent-color: var(--accent); cursor: pointer; touch-action: pan-y; }
.scrub-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; }
.scrub-row button { display: inline-grid; place-items: center; min-width: 2.75rem; height: 2.75rem; padding: 0 0.6rem; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--fg); font: inherit; font-size: 0.875rem; cursor: pointer; }
.scrub-row button:hover, .scrub-row button:focus-visible { border-color: var(--accent); color: var(--accent); }
.scrub-row svg { width: 1.25rem; height: 1.25rem; fill: currentColor; }
.scrub-at { margin-left: auto; font-size: 0.8rem; color: var(--muted); font-variant-numeric: tabular-nums; }
button.ghost.small { padding: 0.25rem 0.8rem; font-size: 0.8rem; }
.layers { display: inline-flex; gap: 0.4rem; margin-left: auto; }
.layers button[aria-pressed="true"] { background: var(--accent); color: var(--accent-contrast); }
.layers button[aria-pressed="false"] { opacity: 0.7; }
.evidence-section + .evidence-section { margin-top: 1rem; }
.entries { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.75rem; }
.entry { border-left: 3px solid var(--swatch, var(--line)); padding-left: 0.75rem; }
.entry-title { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.entry-meta { margin: 0.1rem 0 0.4rem; color: var(--muted); font-size: 0.8rem; }
.entry-facts { display: grid; grid-template-columns: minmax(7rem, max-content) 1fr; gap: 0.2rem 1rem; margin: 0; font-size: 0.875rem; }
.entry-facts dt { color: var(--muted); }
.entry-facts dd { margin: 0; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.entry-facts dd.alone { grid-column: 1 / -1; color: var(--muted); }
.entry-facts code { font-size: 0.85em; margin-right: 0.5rem; }
.find { display: flex; gap: 0.5rem; margin: 0 0 0.75rem; }
.find input { flex: 1; min-width: 0; }
input[type="search"], select { font: inherit; font-size: 0.9rem; color: var(--fg); background: var(--well); border: 1px solid var(--line); border-radius: 8px; padding: 0.45rem 0.7rem; }
.controls { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; margin: 0 0 0.75rem; font-size: 0.875rem; color: var(--muted); }
.controls label { display: inline-flex; align-items: center; gap: 0.5rem; min-width: 0; max-width: 100%; }
.controls select { flex: 1 1 auto; min-width: 0; max-width: 100%; text-overflow: ellipsis; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.chip { font: inherit; font-size: 0.85rem; padding: 0.25rem 0.75rem; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--fg); cursor: pointer; }
.chip:hover { border-color: var(--accent); }
.chip-toggle { border-style: dashed; color: var(--accent); }
.words-unsent { margin: 0.6rem 0 0; }
.chip[aria-pressed="true"] { background: var(--accent); color: var(--accent-contrast); border-color: var(--accent); font-weight: 600; }
.tiles { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)); gap: 0.75rem; }
.tile { display: block; color: var(--fg); text-decoration: none; background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.tile:hover { border-color: var(--accent); }
.tile img { color: transparent; }
.tile img, .tile-blank { display: block; width: 100%; aspect-ratio: 1; object-fit: contain; background: var(--well); border-bottom: 3px solid var(--swatch, var(--line)); }
.tile img[data-turn] { border-bottom-width: 0; }
.tile img[data-turn="90"] { border-right: 3px solid var(--swatch, var(--line)); }
.tile img[data-turn="180"] { border-top: 3px solid var(--swatch, var(--line)); }
.tile img[data-turn="270"] { border-left: 3px solid var(--swatch, var(--line)); }
.tile .tile-blank.picture-missing { display: flex; }
.tile-text { display: block; padding: 0.5rem 0.65rem 0.6rem; }
.tile-word { display: block; font-weight: 600; overflow-wrap: anywhere; }
.tile-skeleton { pointer-events: none; }
.tile-skeleton .tile-blank, .tile-skeleton .tile-bar { position: relative; overflow: hidden; }
.tile-bar { display: block; height: 0.8rem; margin: 0.35rem 0; border-radius: 4px; background: var(--well); }
.tile-bar.short { width: 60%; }
.tile-skeleton .tile-blank::after, .tile-skeleton .tile-bar::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, var(--line) 50%, transparent 70%) 0 0 / 200% 100%; animation: where-wait 1.2s linear infinite; }
@media (prefers-reduced-motion: reduce) { .tile-skeleton .tile-blank::after, .tile-skeleton .tile-bar::after { animation: none; opacity: .6; } }
.tile-meta { display: block; color: var(--muted); font-size: 0.8rem; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.actions.more { justify-content: center; }
.gaps summary { cursor: pointer; color: var(--muted); font-size: 0.875rem; }
.gap-list { list-style: none; margin: 0.75rem 0 0; padding: 0; }
.gap-list li { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; padding: 0.5rem 0; border-top: 1px solid var(--line); font-size: 0.875rem; }
.gap-list li span { flex: 1 1 16rem; }
.view-open { display: block; width: 100%; padding: 0; margin: 0; border: 0; background: none; border-radius: 10px; cursor: zoom-in; }
.view-open:hover img, .view-open:focus-visible img { border-color: var(--accent); }
.viewer { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(5, 7, 9, 0.96); color: var(--fg); overflow: hidden; }
.viewer::backdrop { background: rgba(0, 0, 0, 0.8); }
.viewer-figure { display: grid; grid-template-rows: minmax(0, 1fr) auto; place-items: center; gap: 0.5rem; height: 100%; margin: 0; padding: 3.5rem 3.5rem 1rem; }
.viewer-room { display: grid; place-items: center; width: 100%; height: 100%; min-height: 0; container-type: size; }
.viewer-figure img { display: block; max-width: 100cqw; max-height: 100cqh; }
.viewer-figure img[data-turn="90"], .viewer-figure img[data-turn="270"] { max-width: 100cqh; max-height: 100cqw; }
.viewer-figure figcaption { position: relative; padding: 0.25rem 0.75rem; border-radius: 999px; background: rgba(5, 7, 9, 0.8); font-size: 0.875rem; font-variant-numeric: tabular-nums; }
.viewer-zoom { margin-left: 0.75rem; }
.viewer-figure figcaption .muted { margin: 0 0 0 0.5rem; }
.viewer-close { position: absolute; top: 0.75rem; right: 0.75rem; }
.viewer-step { position: absolute; top: 50%; transform: translateY(-50%); width: 2.75rem; height: 2.75rem; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--fg); font: inherit; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.viewer-step:hover, .viewer-step:focus-visible { border-color: var(--accent); color: var(--accent); }
.viewer-prev { left: 0.5rem; }
.viewer-next { right: 0.5rem; }
.feedback-link { background: none; border: 0; padding: 0; font: inherit; color: var(--muted); text-decoration: underline; cursor: pointer; }
.feedback-link:hover, .feedback-link:focus-visible { color: var(--fg); }
dialog.feedback { width: min(32rem, calc(100vw - 2rem)); background: var(--card); color: var(--fg); border: 1px solid var(--line); border-radius: 12px; padding: 1.25rem; }
dialog.feedback::backdrop { background: rgb(0 0 0 / 0.6); }
.feedback-form h2 { margin: 0 0 0.5rem; font-size: 1.125rem; }
.feedback-note, .feedback-status { color: var(--muted); font-size: 0.875rem; margin: 0 0 0.75rem; }
.feedback-status:empty { display: none; }
.feedback-field { display: grid; gap: 0.35rem; margin-bottom: 0.75rem; font-size: 0.875rem; }
.feedback-field textarea, .feedback-field select { font: inherit; color: var(--fg); background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 0.5rem; width: 100%; box-sizing: border-box; }
.feedback-field textarea { resize: vertical; }
.feedback-shared { border: 1px solid var(--line); border-radius: 8px; padding: 0.5rem 0.75rem 0.25rem; margin: 0 0 0.75rem; font-size: 0.875rem; }
.feedback-shared legend { padding: 0 0.25rem; }
.feedback-details { list-style: none; margin: 0; padding: 0; }
.feedback-details li { margin-bottom: 0.5rem; }
.feedback-details label { display: grid; grid-template-columns: auto 1fr; gap: 0.1rem 0.5rem; align-items: baseline; cursor: pointer; }
.feedback-details code { grid-column: 2; color: var(--muted); font-size: 0.8125rem; overflow-wrap: anywhere; }
.feedback-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.5rem; }
.feedback-actions button { font: inherit; border-radius: 8px; padding: 0.45rem 0.9rem; cursor: pointer; }
.feedback-cancel { background: transparent; color: var(--accent); border: 1px solid var(--accent); }
.feedback-send { background: var(--accent); color: var(--accent-contrast); border: 1px solid var(--accent); font-weight: 600; }
.feedback-send:disabled { opacity: 0.45; cursor: not-allowed; }
.feedback-signin { display: flex; gap: 0.5rem; margin: 0 0 0.75rem; }
.feedback-signin[hidden] { display: none; }
.installbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1rem; padding: 0.6rem 1rem; background: var(--card); border-bottom: 1px solid var(--accent); color: var(--fg); font-size: 0.875rem; }
.installbar-text { margin: 0; flex: 1 1 20rem; }
.installbar-actions { display: flex; gap: 0.5rem; }
.installbar-actions button { font: inherit; border-radius: 8px; padding: 0.35rem 0.8rem; cursor: pointer; }
.installbar-install { background: var(--accent); color: var(--accent-contrast); border: 1px solid var(--accent); font-weight: 600; }
.installbar-dismiss { background: transparent; color: var(--accent); border: 1px solid var(--accent); }
