:root {
  color-scheme: light;
  --paper: #f8f8f2;
  --surface: #fffefa;
  --ink: #193128;
  --muted: #4c6055;
  --dark: #142e25;
  --line: #dce2d7;
  --accent: #ffc46e;
  --accent-hover: #ffb24b;
  --radius: 16px;
  --display: Georgia, "Times New Roman", serif;
  --body: "Avenir Next", Avenir, "Segoe UI", system-ui, sans-serif;
  font: 100% / 1.55 var(--body);
  color: var(--ink);
  background: var(--paper);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-width: 280px; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .5; }
a, button, input, select { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #328763; outline-offset: 4px; }
[hidden] { display: none !important; }
h1, h2, h3, p, dl, dd { margin: 0; }
h1, h2, h3 { line-height: 1.14; }
h1, h2 { font-family: var(--display); font-weight: 400; letter-spacing: -.045em; }
.wrap { width: min(100% - 4rem, 74rem); margin-inline: auto; }
.skip { position: absolute; top: .6rem; left: .6rem; z-index: 5; padding: .6rem 1rem; background: var(--accent); transform: translateY(-200%); }
.skip:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.header { background: var(--surface); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; justify-content: space-between; align-items: center; min-height: 75px; gap: 1.5rem; }
.header nav, .footer nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.35rem); font-size: .9375rem; font-weight: 650; }
.header nav a:hover, .footer nav a:hover, .trail a:hover, .quick-links a:hover { text-decoration: underline; text-underline-offset: .24em; }
.brand { display: inline-flex; align-items: center; gap: .56rem; font-weight: 800; font-size: 1.47rem; line-height: .86; letter-spacing: -.075em; }
.brand small { display: block; margin: .36rem 0 0 .08rem; font-size: .58rem; letter-spacing: .24em; }
.brand-dot { color: #bc631f; }
.brand-mark { display: grid; grid-template-columns: repeat(2, 7px); gap: 3px; transform: rotate(-9deg); padding: .48rem; border-radius: 8px; background: var(--dark); }
.brand-mark i { width: 7px; height: 7px; border-radius: 1px; background: var(--accent); }
.brand-mark i:last-child { background: #9ac9ab; }
.saved-nav { display: inline-flex; align-items: center; gap: .6rem; font-weight: 650; font-size: .9375rem; padding: .49rem .83rem; border: 1px solid var(--line); border-radius: 999px; }
.saved-nav:hover, .saved-nav:focus-visible { background: #edf3e9; }
.bookmark { display: inline-block; width: .8rem; height: 1.06rem; flex: none; background: currentColor; clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 72%, 0 100%, 0 0, 13% 0, 13% 76%, 50% 55%, 87% 76%, 87% 14%, 13% 14%, 13% 0); }
[aria-pressed="true"] .bookmark { clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 72%, 0 100%); }
.jump { display: inline-grid; flex: 0 0 auto; place-items: center; width: 1.75rem; height: 1.75rem; border-radius: 50%; background: #edf0e8; color: inherit; }
.jump::before { content: ""; width: .62rem; height: .62rem; border: 1.5px solid currentColor; border-radius: 2px; transform: rotate(45deg); }
.eyebrow { font-size: .8125rem; font-weight: 800; letter-spacing: .135em; }
.hero { position: relative; isolation: isolate; overflow: hidden; color: #f5f5e9; background: radial-gradient(ellipse at 79% 34%, #285340 0, #1b3b2f 38%, var(--dark) 74%); }
.hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(#abcaba13 1px, transparent 1px), linear-gradient(90deg, #abcaba13 1px, transparent 1px); background-size: 2.75rem 2.75rem; mask-image: linear-gradient(90deg, transparent 15%, #000 92%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.37fr) minmax(0, .93fr); align-items: center; gap: clamp(2.75rem, 6.5vw, 6rem); padding-block: clamp(3.65rem, 7vw, 6.1rem); }
.hero .eyebrow { color: #e1e8d9; display: flex; align-items: center; gap: .7rem; }
.hero-rule { background: var(--accent); height: 2px; width: 1.9rem; flex: 0 0 auto; }
.hero h1 { font-size: clamp(3rem, 6.05vw, 5.55rem); line-height: .98; margin: 1.05rem 0 1.35rem; }
.hero h1 em { color: #ffd18e; font-weight: inherit; }
.lede { color: #d7e6db; font-size: clamp(1rem, 1.57vw, 1.2rem); max-width: 31rem; }
.search-form { display: flex; align-items: stretch; gap: .5rem; padding: .38rem; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: .8rem; min-height: 3.55rem; max-width: 42rem; }
.hero .search-form { margin-top: 1.58rem; border-color: transparent; }
.search-field { display: flex; align-items: center; gap: .85rem; flex: 1; min-width: 0; padding-inline: .75rem; }
.search-field input { color: var(--ink); background: transparent; border: 0; width: 100%; min-width: 0; padding: .45rem 0; }
.search-field input::placeholder { color: #5b6d63; opacity: 1; }
.lens { position: relative; width: .94rem; height: .94rem; border: 2px solid currentColor; border-radius: 50%; color: #476455; flex: 0 0 auto; }
.lens::after { content: ""; position: absolute; height: 2px; width: .43rem; background: currentColor; transform: rotate(46deg); top: .72rem; left: .63rem; border-radius: 2px; }
.button { display: inline-flex; align-items: center; justify-content: center; padding: .65rem 1rem; min-height: 2.8rem; border: 1px solid transparent; border-radius: .55rem; font-size: .9375rem; font-weight: 750; white-space: nowrap; }
.button-accent { background: var(--accent); color: #23271b; }
.button-accent:hover:not(:disabled) { background: var(--accent-hover); }
.button-outline { border-color: #b9c5b6; background: transparent; color: var(--ink); }
.button-outline:hover:not(:disabled) { background: #e9efe4; border-color: #91a38e; }
.button-light { color: #f5f5e9; border-color: #769385; background: transparent; }
.button-light:hover:not(:disabled) { background: #335449; }
.quick-links { margin-top: .8rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: .42rem .8rem; font-size: .875rem; color: #d7e5d9; }
.quick-links > span { font-weight: 750; }
.quick-links a { text-decoration: underline; text-decoration-color: #aac5b5; text-underline-offset: 3px; }

.hero-sample { background: #f7f9f2; color: var(--ink); padding: clamp(1.1rem, 2.5vw, 1.65rem); border: 1px solid #d5e6d2; border-radius: 1.28rem; box-shadow: 0 14px 58px #0b241f70; }
.sample-top { display: flex; gap: .7rem; align-items: center; }
.sample-top > div { display: grid; gap: .08rem; min-width: 0; }
.sample-top > div span { color: #456355; font-size: .75rem; font-weight: 800; letter-spacing: .12em; }
.sample-top strong { font-size: 1.075rem; line-height: 1.2; }
.sample-top a { margin-left: auto; border-radius: 50%; }
.sample-top a:hover .jump { background: #dce8d6; }
.hero-sample-icon { display: grid; place-items: center; flex: 0 0 auto; width: 2.7rem; height: 2.7rem; border-radius: 10px; background: #e0ecdc; font: 1.64rem var(--display); }
.sample-output { display: flex; justify-content: space-between; align-items: end; gap: .6rem; margin: 1.7rem 0 .85rem; }
.sample-output span { display: block; color: var(--muted); font-size: .875rem; font-weight: 650; }
.sample-output strong { display: block; margin-top: .11rem; font: clamp(2.35rem, 4vw, 3.1rem)/1.06 var(--display); letter-spacing: -.065em; overflow-wrap: anywhere; }
.sample-balance { text-align: right; }
.sample-balance b { font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.sample-bar { background: #dce8d8; height: .68rem; border-radius: 30px; overflow: hidden; }
.sample-bar i { display: block; height: 100%; width: var(--share); background: #548866; border-radius: inherit; transition: width .16s ease-out; }
.sample-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; margin-top: 1.12rem; }
.sample-inputs label { display: grid; gap: .28rem; font-size: .875rem; font-weight: 700; }
.sample-inputs span { display: flex; align-items: center; background: var(--surface); border: 1px solid #cdd9cc; border-radius: .55rem; padding-left: .7rem; }
.sample-inputs b { font-size: .9rem; color: var(--muted); }
.sample-inputs input { min-width: 0; width: 100%; padding: .5rem .625rem .5rem .28rem; font-weight: 650; border: 0; background: transparent; color: var(--ink); }

.standards { border-bottom: 1px solid var(--line); background: #eef1e8; }
.standards-inner { display: grid; grid-template-columns: repeat(4, 1fr); padding-block: 1.12rem; }
.standards-inner div { display: grid; gap: .12rem; padding-inline: 1.4rem; border-left: 1px solid #d1dbcc; }
.standards-inner div:first-child { padding-inline-start: 0; border-left: 0; }
.standards-inner strong { color: #254638; font: 2.08rem/1.05 var(--display); letter-spacing: -.045em; }
.standards-inner span { color: var(--muted); font-size: .875rem; font-weight: 650; }

.section { padding-block: clamp(2.9rem, 6vw, 5.3rem); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.35rem; }
.section-heading .eyebrow, .subhead .eyebrow { color: #446b53; margin-bottom: .5rem; }
.section-heading h2 { font-size: clamp(2.25rem, 4vw, 3.45rem); }
.collection-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; }
.collection-card { position: relative; display: grid; justify-items: start; gap: .26rem; min-height: 9.75rem; padding: 1.05rem; border-radius: var(--radius); border: 1px solid color-mix(in srgb, var(--tile) 77%, var(--ink)); background: var(--tile); }
.collection-card:hover { background: color-mix(in srgb, var(--tile) 91%, #759780); }
.collection-card strong { font-size: 1.08rem; line-height: 1.2; align-self: end; }
.collection-card > span:last-child { align-self: start; font-size: .875rem; color: #385547; }
.collection-card b { padding-inline: .12rem; }
.collection-mark { font-size: 1.85rem; line-height: 1; color: #365d46; }
.collection-card .jump { position: absolute; right: .9rem; top: .9rem; background: #ffffff69; }
.apricot { --tile: #f6e8d1; }
.mint { --tile: #e1efdd; }
.lime { --tile: #e8edce; }
.blue { --tile: #dfeaf0; }
.lilac { --tile: #ece7f3; }
.pink { --tile: #f4e7ee; }
.peach { --tile: #f9e8df; }
.teal { --tile: #dfeee9; }

.section-featured { border-top: 1px solid var(--line); background: #f0f2eb; }
.results-grid, .plain-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem; }
.result-card, .plain-card { display: grid; align-content: start; gap: .18rem; padding: 1.08rem; border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); }
.result-card:hover, .plain-card:hover { border-color: #8da692; box-shadow: 0 5px 16px #17362c0b; }
.card-top { display: flex; justify-content: space-between; align-items: center; gap: .35rem; margin-bottom: .62rem; }
.chip { display: inline-flex; align-items: center; padding: .23rem .58rem; border-radius: 999px; background: var(--tile); color: #2d5140; font-size: .8125rem; font-weight: 750; }
.result-card strong, .plain-card strong { font-size: 1.12rem; line-height: 1.2; }
.trade-label { color: #376049; font-weight: 700; font-size: .875rem; }
.card-description { margin-top: .3rem; color: var(--muted); font-size: .9375rem; line-height: 1.5; }
.plain-card { position: relative; gap: .25rem; padding-right: 3rem; }
.plain-card span:not(.jump) { color: var(--muted); font-size: .875rem; }
.plain-card .jump { position: absolute; right: .9rem; top: .9rem; }
.topic-links { display: flex; flex-wrap: wrap; gap: .5rem .66rem; margin-top: 1.25rem; }
.topic-links a { padding: .43rem .75rem; border-radius: 999px; border: 1px solid #c2cebd; font-weight: 700; font-size: .875rem; }
.topic-links a:hover { background: #e4ebdf; }

.subhead { background: #e8efe5; border-bottom: 1px solid var(--line); padding-block: 1.6rem clamp(2rem, 5vw, 3.65rem); }
.subhead h1 { font-size: clamp(2.65rem, 6vw, 5rem); line-height: 1.02; max-width: 63rem; }
.subhead h1 em { color: #346850; font-weight: inherit; }
.subhead p:not(.eyebrow) { color: var(--muted); max-width: 46rem; font-size: 1.1rem; margin-top: .75rem; }
.subhead .search-form { margin-top: 1.25rem; }
.trail { display: flex; align-items: baseline; flex-wrap: wrap; gap: .35rem .6rem; margin-bottom: 1.35rem; font-weight: 650; color: #426252; font-size: .875rem; }
.trail [aria-current="page"] { color: var(--ink); }
.sub-count { display: inline-block; margin-top: .9rem; border-radius: 999px; background: #d8e5d7; padding: .28rem .75rem; font-size: .875rem; font-weight: 750; }
.library { padding-block: 1.65rem 4rem; }
.filters { display: flex; flex-wrap: wrap; align-items: end; gap: .65rem; margin-bottom: 1rem; }
.filters label { display: grid; gap: .22rem; font-size: .875rem; font-weight: 750; min-width: min(100%, 13rem); }
.filters select { appearance: none; max-width: 100%; padding: .61rem 2.15rem .61rem .74rem; color: var(--ink); border: 1px solid #b9c5b6; border-radius: .5rem; background-color: var(--surface); background-image: linear-gradient(45deg, transparent 50%, #456355 50%), linear-gradient(135deg, #456355 50%, transparent 50%); background-position: calc(100% - 15px) 51%, calc(100% - 10px) 51%; background-size: 5px 5px; background-repeat: no-repeat; }
.results-status { color: var(--muted); font-size: .9375rem; font-weight: 650; margin-bottom: .72rem; }
.results-status:empty { display: none; }
.bare { color: inherit; background: transparent; border: 0; font-weight: 750; font-size: .875rem; padding: .4rem .1rem; text-decoration: underline; text-underline-offset: .21rem; }
.bare:hover { text-decoration-thickness: 2px; }
.pagination { margin-top: 1.4rem; display: flex; align-items: center; justify-content: center; gap: .7rem; }
.pagination > span { color: var(--muted); font-size: .875rem; text-align: center; }
.empty-state { grid-column: 1 / -1; padding: 2.1rem; border: 1px dashed #a7baa5; border-radius: var(--radius); background: #f0f3ed; }
.empty-state h2 { font-size: 2rem; }
.empty-state p { margin-top: .45rem; }
.empty-state a { margin-top: .85rem; }
.trade-group + .trade-group { margin-top: 2rem; }
.trade-group h2 { margin-bottom: .75rem; font-size: 2rem; }

.calc-head h1 { font-size: clamp(2.35rem, 4.85vw, 4.4rem); }
.calc-head .eyebrow { text-transform: uppercase; }
.calc-head .eyebrow a:hover { text-decoration: underline; text-underline-offset: 3px; }
.calc-body { padding-block: 1.55rem 4.3rem; }
.calc-grid { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr); align-items: start; gap: 1rem; }
.input-panel, .output-panel { padding: clamp(1.05rem, 2.4vw, 1.65rem); border-radius: var(--radius); }
.input-panel { border: 1px solid var(--line); background: var(--surface); }
.panel-title { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.17rem; }
.panel-title h2, .formula h2, .reading h2 { font-size: 2.05rem; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: .89rem .74rem; }
.input-group { display: grid; min-width: 0; gap: .34rem; }
.input-group label { font-size: .875rem; font-weight: 750; }
.input-group small { color: var(--muted); font-size: .8125rem; }
.numeric { display: flex; align-items: center; gap: .1rem; border: 1px solid #b9c5b6; border-radius: .52rem; background: #fbfcf8; color: #486254; }
.numeric span { font-size: .875rem; padding-inline: .26rem .62rem; font-weight: 700; }
.numeric input { padding: .57rem .58rem; min-width: 0; width: 100%; color: var(--ink); border: 0; border-radius: .52rem; background: transparent; font-variant-numeric: tabular-nums; }
.numeric.prefix span { padding-inline: .68rem .03rem; }
.numeric.prefix input { padding-inline-start: .34rem; }
.numeric:has([aria-invalid]) { border-color: #a84034; }
.error { margin-top: .8rem; color: #922e24; font-weight: 700; font-size: .875rem; }
.example-note { margin-top: 1.12rem; padding: .75rem .85rem; background: #edf3e8; border-radius: .55rem; color: #355746; font-size: .875rem; }
.example-note p { margin-top: .22rem; }

.output-panel { color: #f9f9ee; background: radial-gradient(ellipse at 90% 0%, #2e5946, var(--dark) 75%); border: 1px solid #235143; }
.output-panel :focus-visible, .hero :focus-visible { outline-color: #ffcf8c; }
.hero .search-field :focus-visible, .hero .sample-inputs :focus-visible { outline-color: #328763; }
.save-button { display: inline-flex; align-items: center; gap: .5rem; }
.output-value { border-top: 1px solid #688577; padding: .65rem 0; display: flex; justify-content: space-between; align-items: baseline; gap: .55rem; }
.output-value dt { color: #e0e9dd; font-weight: 640; font-size: .9rem; }
.output-value dd { font-weight: 750; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; text-align: right; }
.output-primary { display: block; border-top: 0; padding: 0 0 .85rem; }
.output-primary dd { color: #ffd18e; font: clamp(2.1rem, 4.1vw, 3.85rem)/1.04 var(--display); letter-spacing: -.055em; margin-top: .22rem; text-align: left; }
.compare-box { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; background: #ffffff12; border-radius: .6rem; margin-top: .45rem; padding: .65rem .75rem; overflow-wrap: anywhere; }
.compare-box span, .compare-box strong { display: block; }
.compare-box span { color: #e0e9dd; font-size: .8125rem; }
.compare-box strong { font-size: 1rem; }
.calc-actions { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .8rem; }
.action-status { color: #e0e9dd; font-size: .875rem; margin-top: .6rem; }
.action-status:empty { display: none; }
.share-fallback { margin-top: .4rem; width: 100%; min-width: 0; padding: .4rem; color: var(--ink); background: var(--surface); border: 0; border-radius: .35rem; }
.formula { padding-block: 1.45rem; max-width: 53rem; }
.formula p { color: var(--muted); margin-top: .45rem; }
.formula .formula-expression { border-left: 3px solid #79a58a; padding: .5rem .7rem; background: #ebf0e7; margin-top: .65rem; color: var(--ink); }
.related { margin-top: .7rem; }
.related .section-heading h2 { font-size: clamp(1.8rem, 3vw, 2.2rem); }
.reading > * { max-width: 47rem; }
.reading p { margin-block: .55rem 1.65rem; color: var(--muted); }

.footer { border-top: 1px solid var(--line); background: #e8ede3; }
.footer-inner { display: flex; justify-content: space-between; gap: 1.35rem; padding-block: 1.65rem; align-items: center; }
.footer p { color: var(--muted); font-size: .875rem; margin-top: .6rem; }

@media (max-width: 920px) {
  .wrap { width: min(100% - 3rem, 74rem); }
  .hero-grid { gap: 1.65rem; }
  .collection-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .wrap { width: calc(100% - 2rem); }
  .header-inner { min-height: 0; flex-wrap: wrap; gap: .65rem; padding-block: .75rem .5rem; }
  .header nav { order: 3; width: 100%; border-top: 1px solid var(--line); justify-content: space-between; padding-top: .45rem; gap: .35rem; }
  .hero-grid, .calc-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 1.5rem; padding-block: 2.4rem; }
  .hero h1 { font-size: clamp(2.8rem, 10.5vw, 4.2rem); }
  .hero-sample { max-width: 33rem; }
  .standards-inner { grid-template-columns: repeat(2, 1fr); gap: .85rem 0; }
  .standards-inner div { padding-inline-start: .8rem; }
  .standards-inner div:nth-child(3) { padding-inline-start: 0; border-left: 0; }
  .section-heading { align-items: start; flex-direction: column; }
  .results-grid, .plain-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filters label { flex: 1; min-width: min(100%, 10rem); }
  .footer-inner { flex-direction: column; align-items: start; }
  .footer nav { flex-wrap: wrap; gap: .5rem .95rem; }
}
@media (max-width: 419px) {
  .results-grid, .plain-grid, .field-grid { grid-template-columns: 1fr; }
  .search-field { padding-inline: .4rem; gap: .55rem; }
  .collection-card { padding: .83rem; }
  .collection-card strong { font-size: .98rem; }
  .collection-card .jump { right: .55rem; top: .55rem; }
  .panel-title { gap: .6rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

.feedback-widget {
  --feedback-offset: clamp(.75rem, 2vw, 1.5rem);
  --feedback-bottom: max(var(--feedback-offset), env(safe-area-inset-bottom));
  position: fixed;
  z-index: 8;
  inset-inline-end: max(var(--feedback-offset), env(safe-area-inset-right));
  inset-block-end: var(--feedback-bottom);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .65rem;
}
.feedback-launcher {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-height: 3rem;
  padding: .6rem 1rem;
  color: #fffefa;
  background: var(--dark);
  border: 1px solid #678776;
  border-radius: 999px;
  box-shadow: 0 4px 16px #132c2440;
  font-size: .9375rem;
  font-weight: 750;
}
.feedback-launcher:hover, .feedback-launcher[aria-expanded="true"] { background: #264d3e; }
.feedback-bubble {
  position: relative;
  width: 1rem;
  height: .77rem;
  border: 1.5px solid var(--accent);
  border-radius: .24rem;
}
.feedback-bubble::after {
  position: absolute;
  inset-block-end: -.25rem;
  inset-inline-start: .15rem;
  width: .29rem;
  height: .27rem;
  transform: skewY(-32deg);
  border-inline-start: 1.5px solid var(--accent);
  border-block-end: 1.5px solid var(--accent);
  background: #264d3e;
  content: "";
}
.feedback-panel {
  order: -1;
  width: min(23rem, calc(100vw - var(--feedback-offset) - var(--feedback-offset)));
  max-height: calc(100dvh - var(--feedback-bottom) - 4rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: .9rem 1rem 1rem;
  background: var(--surface);
  border: 1px solid #c4d2c4;
  border-radius: var(--radius);
  box-shadow: 0 8px 30px #132c2433;
}
.feedback-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.feedback-heading h2 { font-size: 1.7rem; }
.feedback-close {
  display: grid;
  flex: none;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  color: var(--ink);
  background: #e9efe4;
  border: 0;
  border-radius: 50%;
  font-size: 1.65rem;
  line-height: 1;
}
.feedback-close:hover { background: #dce8d8; }
.feedback-panel form { display: grid; gap: .4rem; margin-top: .48rem; }
.feedback-panel label { font-size: .875rem; font-weight: 750; }
.feedback-panel select, .feedback-panel textarea {
  min-width: 0;
  padding: .55rem .65rem;
  border: 1px solid #b9c5b6;
  border-radius: .5rem;
  background-color: #fbfcf8;
  color: var(--ink);
  font: inherit;
}
.feedback-panel select {
  appearance: none;
  padding-inline-end: 2rem;
  margin-bottom: .4rem;
  background-image: linear-gradient(45deg, transparent 50%, #456355 50%), linear-gradient(135deg, #456355 50%, transparent 50%);
  background-position: calc(100% - 15px) 51%, calc(100% - 10px) 51%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}
.feedback-panel textarea { resize: vertical; }
.feedback-panel small { font-size: .8125rem; color: var(--muted); }
.feedback-actions { display: grid; justify-items: start; gap: .5rem; margin-top: .25rem; }
.feedback-actions p { font-size: .875rem; color: var(--muted); }
.feedback-actions p:empty { display: none; }
.feedback-link { font-weight: 700; text-decoration: underline; text-underline-offset: .2rem; justify-self: start; }

.analytics-trigger { margin-top: .35rem; }
.analytics-preferences {
  position: fixed;
  z-index: 7;
  inset-inline-start: 1rem;
  inset-block-end: 1rem;
  width: min(25rem, calc(100vw - 2rem));
  padding: .9rem 1rem;
  background: var(--surface);
  border: 1px solid #c4d2c4;
  border-radius: var(--radius);
  box-shadow: 0 8px 30px #132c2433;
}
.analytics-preferences h2 { font-size: 1.45rem; }
.analytics-preferences p { margin-top: .3rem; color: var(--muted); }
.analytics-actions { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .65rem; }
@media (max-width: 680px) {
  .analytics-preferences { inset-block-end: calc(4.4rem + env(safe-area-inset-bottom)); }
}
