:root {
  color-scheme: light;
  --bg: #f3f1e9;
  --paper: #fffdf7;
  --ink: #1b2b23;
  --muted: #59645d;
  --line: #c8cec3;
  --line-strong: #929e93;
  --green: #214d3a;
  --green-dark: #153529;
  --lime: #dcf2ae;
  --accent-red: #a5412d;
  --serif: Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  min-width: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

a {
  color: inherit;
}

svg {
  display: block;
}

::selection {
  background: var(--lime);
  color: var(--green-dark);
}

:focus-visible {
  outline: 3px solid var(--accent-red);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--ink);
  color: white;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform 140ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  border-bottom: 1px solid var(--line);
}

.header-inner,
.main-shell,
.footer-inner {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding-right: 32px;
  padding-left: 32px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 20px;
  padding-bottom: 20px;
}

.brand {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border-radius: 10px;
  background: var(--green);
  color: var(--lime);
  transform: rotate(-2deg);
}

.brand-mark svg {
  width: 36px;
  height: 36px;
}

.brand-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.brand-name {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.6px;
  line-height: 1.15;
}

.brand-tagline {
  min-height: 18px;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.header-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
}

.saved-count {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px dashed var(--line-strong);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.saved-count > span {
  width: 9px;
  height: 12px;
  background: var(--green);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 72%, 0 100%);
  font-size: 0;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease, transform 140ms ease;
}

.button:active:not(:disabled) {
  transform: translateY(1px);
}

.button-primary {
  border-color: var(--green);
  background: var(--green);
  box-shadow: 2px 2px 0 var(--green-dark);
  color: white;
}

.button-primary:hover:not(:disabled) {
  border-color: var(--green-dark);
  background: var(--green-dark);
}

.button-secondary {
  border-color: var(--ink);
  background: var(--paper);
  color: var(--ink);
}

.button-secondary:hover {
  background: var(--lime);
}

.button-quiet {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--ink);
}

.button-quiet:hover {
  background: var(--paper);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  align-items: end;
  gap: 40px;
  padding: 38px 0 30px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.35px;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow > span {
  margin: 0 5px;
  color: var(--line-strong);
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1 {
  max-width: 820px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(40px, 4vw, 56px);
  font-weight: 400;
  letter-spacing: -1.8px;
  line-height: 1.02;
}

h1 em {
  color: var(--green);
  font-weight: 400;
}

.intro-summary {
  max-width: 680px;
  min-height: 50px;
  margin: 17px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.shelf-note {
  padding-left: 23px;
  border-left: 1px solid var(--line-strong);
}

.shelf-note-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.shelf-note-top strong {
  font-family: var(--serif);
  font-size: 56px;
  font-weight: 400;
  letter-spacing: -2px;
  line-height: 0.9;
}

.shelf-note-top span {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 1px;
  line-height: 1.4;
  text-transform: uppercase;
}

.shelf-note p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.storage-status {
  margin-bottom: 24px;
  padding: 13px 16px;
  border-left: 4px solid var(--accent-red);
  background: #fff0df;
  font-size: 14px;
}

.loading-state {
  display: flex;
  min-height: 220px;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin: 20px 0 40px;
  border: 1px dashed var(--line-strong);
  border-radius: 14px;
  color: var(--muted);
  font-size: 14px;
}

.loading-mark {
  display: flex;
  height: 24px;
  align-items: end;
  gap: 3px;
}

.loading-mark i {
  display: block;
  width: 5px;
  height: 18px;
  background: var(--green);
}

.loading-mark i:nth-child(2) {
  height: 24px;
}

.loading-mark i:nth-child(3) {
  height: 13px;
}

.load-error {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 20px 0 40px;
  padding: 22px;
  border: 1px solid var(--accent-red);
  border-radius: 14px;
  background: #fff5ee;
}

.load-error h2 {
  margin: 0 0 5px;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
}

.load-error p {
  margin: 0;
  color: #753a2d;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.section-heading h2,
.panel-heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 35px;
  font-weight: 400;
  letter-spacing: -0.8px;
  line-height: 1.1;
}

.result-count {
  min-width: 76px;
  margin: 0 0 3px;
  padding: 6px 11px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.filter-bar {
  display: grid;
  grid-template-columns: minmax(250px, 1.7fr) minmax(170px, 0.85fr) auto auto;
  align-items: end;
  gap: 12px;
  margin-bottom: 22px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #e7e8df;
}

.filter-field {
  min-width: 0;
}

.filter-field > label,
.form-field > label {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 0 0 7px;
  font-size: 12px;
  font-weight: 750;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  font-size: 14px;
}

input,
select {
  height: 50px;
  padding: 0 13px;
}

select {
  padding-right: 32px;
  cursor: pointer;
}

textarea {
  min-height: 92px;
  padding: 11px 13px;
  line-height: 1.45;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--green);
}

input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: var(--accent-red);
  background: #fff9f6;
}

.search-field {
  position: relative;
}

.search-field svg {
  position: absolute;
  top: 50%;
  left: 13px;
  width: 20px;
  height: 20px;
  color: var(--muted);
  pointer-events: none;
  transform: translateY(-50%);
}

.search-field input {
  padding-left: 41px;
}

.saved-control {
  display: flex;
  height: 50px;
  align-items: center;
  gap: 9px;
  padding: 0 15px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--paper);
  cursor: pointer;
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
}

.saved-control:focus-within {
  border-color: var(--green);
}

.saved-control:has(input:checked) {
  border-color: var(--green);
  background: var(--lime);
}

.saved-control input {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  margin: 0;
  padding: 0;
  accent-color: var(--green);
}

.filter-bar > .button {
  min-height: 50px;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.tool-card {
  --card-accent: #2f6b50;
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 410px;
  flex-direction: column;
  padding: 21px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.tool-card::before {
  position: absolute;
  top: -1px;
  right: 20px;
  left: 20px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--card-accent);
  content: "";
}

.tool-card:hover,
.tool-card:focus-within {
  border-color: var(--card-accent);
  box-shadow: 0 7px 18px rgba(27, 43, 35, 0.07);
}

.tool-card[data-category="Typography"] {
  --card-accent: #87563f;
}

.tool-card[data-category="Assets"] {
  --card-accent: #476985;
}

.tool-card[data-category="Testing"] {
  --card-accent: #725681;
}

.tool-card[data-category="Sketching"] {
  --card-accent: #9a612d;
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
}

.card-origin {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
}

.card-index {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
}

.category-pill {
  padding: 4px 8px;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: var(--card-accent);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.4px;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
}

.save-button {
  display: inline-flex;
  min-width: 78px;
  min-height: 44px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0 11px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-size: 12px;
  font-weight: 750;
  transition: background-color 140ms ease, border-color 140ms ease;
}

.save-button:hover {
  background: #edf0e6;
}

.save-button[aria-pressed="true"] {
  border-color: var(--green);
  background: var(--lime);
  color: var(--green-dark);
}

.save-symbol {
  width: 14px;
  font-size: 17px;
  font-weight: 500;
  line-height: 1;
  text-align: center;
}

.tool-card h3 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.45px;
  line-height: 1.12;
}

.tool-summary {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.best-for {
  margin: 0 0 16px;
  padding: 10px 12px;
  border-left: 3px solid var(--card-accent);
  border-radius: 0 6px 6px 0;
  background: #f0f1ea;
}

.meta-label {
  display: block;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.9px;
  line-height: 1.3;
  text-transform: uppercase;
}

.best-for p {
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 1.45;
}

.tool-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.tool-tags li {
  padding: 3px 7px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.3;
}

.card-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.tool-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 0 0 13px;
}

.meta-group {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.meta-group dt {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
}

.meta-group dd {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
}

.visit-tool {
  display: flex;
  min-height: 45px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 14px;
  border-radius: 8px;
  background: var(--green);
  color: white;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
  transition: background-color 140ms ease;
}

.visit-tool::after {
  font-size: 17px;
  font-weight: 400;
  content: "↗";
}

.visit-tool:hover {
  background: var(--green-dark);
}

.empty-state {
  padding: 44px 20px;
  border: 1px dashed var(--line-strong);
  border-radius: 14px;
  text-align: center;
}

.empty-state > svg {
  width: 48px;
  height: 48px;
  margin: 0 auto;
  color: var(--green);
}

.empty-state h3 {
  margin: 13px 0 7px;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
}

.empty-state p {
  margin: 0 0 18px;
  color: var(--muted);
}

.secondary-content {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: start;
  gap: 40px;
  margin-top: 54px;
}

.suggestions-panel {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
}

.faq-panel {
  min-width: 0;
  padding-top: 4px;
}

.panel-heading h2 {
  font-size: 30px;
}

.panel-heading > p:not(.eyebrow) {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.suggestion-list {
  margin-top: 20px;
  border-top: 1px solid var(--line);
}

.suggestion-empty {
  margin: 0;
  padding: 22px 0 4px;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 17px;
  font-style: italic;
}

.suggestion-item {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.suggestion-item:last-child {
  padding-bottom: 2px;
  border-bottom: 0;
}

.suggestion-item-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.suggestion-item h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 400;
  line-height: 1.2;
}

.suggestion-category {
  flex: 0 0 auto;
  padding: 3px 7px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
}

.suggestion-url {
  display: block;
  margin: 8px 0;
  color: var(--green);
  font-family: var(--mono);
  font-size: 12px;
  overflow-wrap: anywhere;
  text-underline-offset: 3px;
}

.suggestion-notes {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.faq-list {
  margin-top: 18px;
  border-bottom: 1px solid var(--line);
}

.faq-trigger {
  display: flex;
  width: 100%;
  min-height: 60px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 0;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font-size: 15px;
  font-weight: 750;
  line-height: 1.35;
  text-align: left;
}

.faq-icon {
  flex: 0 0 auto;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 400;
  line-height: 1;
  transition: transform 140ms ease;
}

.faq-trigger[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 28px 18px 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.site-footer {
  margin-top: 54px;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  padding-top: 23px;
  padding-bottom: 28px;
}

.footer-brand {
  font-size: 14px;
  font-weight: 800;
}

.footer-inner p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.footer-index {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 1px;
}

#suggestion-dialog {
  width: min(560px, calc(100% - 32px));
  max-width: 560px;
  max-height: calc(100dvh - 40px);
  margin: auto;
  padding: 0;
  overflow-y: auto;
  border: 1px solid var(--ink);
  border-radius: 16px;
  background: var(--paper);
  box-shadow: 0 24px 70px rgba(16, 31, 23, 0.3);
  color: var(--ink);
}

#suggestion-dialog::backdrop {
  background: rgba(18, 32, 25, 0.62);
}

#suggestion-form {
  padding: 26px;
}

.dialog-heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -0.6px;
  line-height: 1.1;
}

.dialog-heading > p:not(.eyebrow) {
  margin: 11px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.suggestion-errors {
  margin-top: 18px;
  padding: 12px 14px;
  border: 1px solid var(--accent-red);
  border-radius: 8px;
  background: #fff2ec;
  color: #762f22;
  font-size: 13px;
}

.suggestion-errors p {
  margin: 0;
  font-weight: 750;
}

.suggestion-errors ul {
  margin: 6px 0 0;
  padding-left: 18px;
}

.form-field {
  margin-top: 18px;
}

.form-field .optional {
  margin-left: auto;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 400;
  text-transform: uppercase;
}

.field-hint,
.field-error {
  margin: 6px 0 0;
  font-size: 11px;
  line-height: 1.4;
}

.field-hint {
  color: var(--muted);
}

.field-error {
  color: #963824;
  font-size: 12px;
  font-weight: 650;
}

.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  z-index: 50;
  width: max-content;
  max-width: calc(100% - 32px);
  padding: 13px 18px;
  border: 1px solid var(--green-dark);
  border-radius: 9px;
  background: var(--ink);
  box-shadow: 0 8px 24px rgba(20, 36, 28, 0.22);
  color: white;
  font-size: 14px;
  font-weight: 650;
  text-align: center;
  transform: translateX(-50%);
}

@media (max-width: 1100px) {
  .filter-bar {
    grid-template-columns: minmax(200px, 1fr) minmax(160px, 0.7fr) auto;
  }

  .search-filter {
    grid-column: 1 / -1;
  }

  .tool-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .secondary-content {
    gap: 26px;
  }
}

@media (max-width: 760px) {
  .header-inner,
  .main-shell,
  .footer-inner {
    padding-right: 20px;
    padding-left: 20px;
  }

  .intro {
    grid-template-columns: minmax(0, 1fr) 160px;
    gap: 24px;
    padding-top: 30px;
  }

  h1 {
    font-size: 43px;
  }

  .shelf-note {
    padding-left: 17px;
  }

  .shelf-note-top strong {
    font-size: 48px;
  }

  .filter-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .search-filter,
  .filter-field:not(.search-filter) {
    grid-column: 1 / -1;
  }

  .saved-control,
  .filter-bar > .button {
    width: 100%;
  }

  .secondary-content {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 42px;
  }
}

@media (max-width: 680px) {
  .header-inner {
    flex-wrap: wrap;
    gap: 14px;
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .brand {
    flex: 1 1 100%;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .brand-mark svg {
    width: 32px;
    height: 32px;
  }

  .header-actions {
    display: grid;
    width: 100%;
    grid-template-columns: auto minmax(0, 1fr);
  }

  .header-actions .button {
    width: 100%;
  }

  .header-inner,
  .main-shell,
  .footer-inner {
    padding-right: 16px;
    padding-left: 16px;
  }

  .intro {
    grid-template-columns: minmax(0, 1fr);
    padding: 27px 0 23px;
  }

  .shelf-note {
    display: none;
  }

  h1 {
    font-size: clamp(35px, 10vw, 43px);
    letter-spacing: -1.15px;
    line-height: 1.05;
  }

  .intro-summary {
    min-height: 0;
    margin-top: 14px;
    font-size: 15px;
  }

  .section-heading h2 {
    font-size: 32px;
  }

  .filter-bar {
    gap: 10px;
    padding: 12px;
  }

  .tool-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .tool-card {
    min-height: 0;
    padding: 18px;
  }

  .tool-card h3 {
    font-size: 25px;
  }

  .load-error {
    align-items: flex-start;
    flex-direction: column;
  }

  .secondary-content {
    margin-top: 36px;
  }

  .suggestions-panel {
    padding: 20px;
  }

  .site-footer {
    margin-top: 38px;
  }

  .footer-inner {
    grid-template-columns: 1fr auto;
    gap: 6px 16px;
    padding-top: 20px;
  }

  .footer-inner p {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  #suggestion-dialog {
    width: calc(100% - 24px);
    max-height: calc(100dvh - 24px);
  }

  #suggestion-form {
    padding: 20px;
  }

  .dialog-heading h2 {
    font-size: 28px;
  }

  .dialog-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dialog-actions .button {
    width: 100%;
    padding-right: 10px;
    padding-left: 10px;
  }

  .toast {
    bottom: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}
