:root {
  --color-primary: #0d9488;
  --color-primary-strong: #0f766e;
  --color-on-primary: #000000;
  --color-secondary: #14b8a6;
  --color-accent: #ea580c;
  --color-accent-strong: #c2410c;
  --color-on-accent: #1c1917;
  --color-background: #f0fdfa;
  --color-foreground: #134e4a;
  --color-card: #ffffff;
  --color-card-foreground: #134e4a;
  --color-muted: #e8f1f4;
  --color-muted-foreground: #475569;
  --color-border: #99f6e4;
  --color-border-strong: #6f918d;
  --color-destructive: #b91c1c;
  --color-ring: #0d9488;
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --duration-fast: 160ms;
  --duration-standard: 200ms;
  color-scheme: light;
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 0;
  scroll-behavior: auto;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  min-width: 0;
  background: var(--color-background);
  color: var(--color-foreground);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.dialog-open {
  overflow: hidden;
}

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

button,
a,
input,
select,
textarea {
  touch-action: manipulation;
}

button,
select,
label[for],
input[type="checkbox"] {
  cursor: pointer;
}

button {
  border: 0;
}

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

a {
  color: inherit;
}

svg {
  display: block;
  flex: 0 0 auto;
}

p,
h1,
h2,
h3,
ul,
dl,
dd {
  margin: 0;
}

h1,
h2,
h3 {
  line-height: 1.12;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

h1 {
  max-width: 780px;
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  font-weight: 750;
}

h1 span {
  color: var(--color-primary-strong);
}

h2 {
  font-size: clamp(1.65rem, 2.5vw, 2rem);
  font-weight: 720;
}

h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

[hidden] {
  display: none !important;
}

.shell {
  width: min(1280px, calc(100% - 80px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--color-foreground);
  color: white;
  opacity: 0;
  pointer-events: none;
}

.skip-link:focus {
  opacity: 1;
  pointer-events: auto;
}

:focus-visible {
  outline: 3px solid var(--color-ring);
  outline-offset: 3px;
}

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  min-height: 88px;
  padding-block: 16px;
}

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

.brand-mark {
  width: 40px;
  height: 40px;
  color: var(--color-foreground);
}

.brand-name {
  font-size: 1.2rem;
  font-weight: 750;
  letter-spacing: -0.025em;
  line-height: 1.3;
}

.brand-tagline {
  color: var(--color-muted-foreground);
  font-size: 0.8rem;
  line-height: 1.4;
}

.header-actions {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: var(--space-md);
}

.saved-count {
  min-width: 70px;
  color: var(--color-primary-strong);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.85rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  gap: var(--space-sm);
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  transition: background-color var(--duration-fast) ease, border-color var(--duration-fast) ease, color var(--duration-fast) ease, opacity var(--duration-fast) ease;
}

.button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.button:not(:disabled):active {
  opacity: 0.82;
}

.button-accent {
  background: var(--color-accent);
  color: var(--color-on-accent);
}

.button-accent:not(:disabled):hover {
  background: #f97316;
}

.button-primary {
  background: var(--color-foreground);
  color: white;
}

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

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

.button-quiet:not(:disabled):hover {
  border-color: var(--color-primary-strong);
  background: var(--color-muted);
}

.status-banner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 16px;
  padding: 14px 18px;
  border: 1px solid var(--color-accent-strong);
  border-radius: var(--radius-md);
  background: #fff7ed;
  color: #7c2d12;
}

.status-banner svg {
  width: 22px;
  height: 22px;
  margin-top: 2px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.loading-state,
.load-error {
  margin-top: 40px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-card);
}

.loading-state {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  gap: 12px;
  color: var(--color-muted-foreground);
}

.loading-mark {
  width: 12px;
  height: 12px;
  border: 2px solid var(--color-primary);
  border-radius: 50%;
}

.load-error {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  padding: var(--space-lg);
  border-color: var(--color-destructive);
}

.load-error > div > p:last-child {
  margin-top: 8px;
  font-size: 1.1rem;
  font-weight: 650;
}

.directory-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  align-items: end;
  gap: var(--space-2xl);
  padding-block: 48px 40px;
}

.eyebrow {
  color: var(--color-primary-strong);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.11em;
  line-height: 1.5;
}

.intro-heading .eyebrow {
  margin-bottom: 12px;
}

.intro-note {
  padding-left: var(--space-lg);
  border-left: 3px solid var(--color-accent);
}

#product-summary {
  max-width: 46ch;
  color: var(--color-muted-foreground);
  line-height: 1.7;
}

.local-note {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-top: 18px;
  color: var(--color-foreground);
  font-size: 0.82rem;
  font-weight: 650;
}

.local-note svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--color-primary-strong);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.section-heading .eyebrow {
  margin-bottom: 4px;
}

#result-count {
  flex: 0 0 auto;
  padding-bottom: 3px;
  color: var(--color-muted-foreground);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.9rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(260px, 1.7fr) minmax(180px, 0.8fr) auto auto;
  align-items: end;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  padding: 18px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-card);
}

.field {
  min-width: 0;
}

.field > label,
.form-field > label,
.label-row label {
  display: block;
  margin-bottom: 7px;
  color: var(--color-foreground);
  font-size: 0.84rem;
  font-weight: 700;
}

.input-with-icon {
  position: relative;
}

.input-with-icon > svg {
  position: absolute;
  top: 50%;
  left: 15px;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--color-muted-foreground);
  stroke-width: 1.8;
  stroke-linecap: round;
  transform: translateY(-50%);
  pointer-events: none;
}

input,
select,
textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--color-border-strong);
  border-radius: 10px;
  background: var(--color-card);
  color: #173b38;
  font-size: 1rem;
  transition: border-color var(--duration-fast) ease, background-color var(--duration-fast) ease;
}

input,
select {
  min-height: 50px;
  padding: 11px 13px;
}

.input-with-icon input {
  padding-left: 44px;
}

select {
  padding-right: 36px;
}

textarea {
  min-height: 96px;
  padding: 12px 13px;
  line-height: 1.5;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: #5f6f7a;
  opacity: 1;
}

input:hover,
select:hover,
textarea:hover {
  border-color: var(--color-primary-strong);
}

input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-width: 2px;
  border-color: var(--color-destructive);
  background: #fffafa;
}

.saved-control {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--color-border-strong);
  border-radius: 10px;
  background: var(--color-card);
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
  transition: border-color var(--duration-fast) ease, background-color var(--duration-fast) ease;
}

.saved-control:hover {
  border-color: var(--color-primary-strong);
  background: var(--color-muted);
}

.saved-control:has(input:checked) {
  border-color: var(--color-primary-strong);
  background: #ccfbf1;
}

.saved-control input {
  width: 20px;
  min-height: 20px;
  height: 20px;
  margin: 0;
  padding: 0;
  accent-color: var(--color-primary-strong);
}

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

.tool-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: var(--space-lg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-card);
  transition: border-color var(--duration-standard) ease, background-color var(--duration-standard) ease;
}

.tool-card:hover {
  border-color: var(--color-primary);
}

.tool-card[data-saved="true"] {
  border-color: var(--color-primary-strong);
  background: #fbffff;
}

.card-topline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-sm);
  margin-bottom: 18px;
}

.tool-index {
  color: var(--color-primary-strong);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.8rem;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
}

.category-label {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 3px 9px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-background);
  color: var(--color-primary-strong);
  font-size: 0.72rem;
  font-weight: 750;
}

.tool-card h3 {
  overflow-wrap: anywhere;
}

.tool-summary {
  margin-top: 12px;
  color: var(--color-muted-foreground);
  line-height: 1.6;
}

.best-for {
  margin-top: 18px;
  padding: 12px 14px;
  border-left: 2px solid var(--color-secondary);
  background: var(--color-background);
}

.best-for span {
  display: block;
  margin-bottom: 3px;
  color: var(--color-primary-strong);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.66rem;
  font-weight: 750;
  letter-spacing: 0.1em;
}

.best-for p {
  color: #294f4b;
  font-size: 0.88rem;
  line-height: 1.55;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 18px;
  padding: 0;
  list-style: none;
}

.tag-list li {
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--color-muted);
  color: #3f5264;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.7rem;
  line-height: 1.6;
}

.tool-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--color-muted);
}

.tool-meta dt {
  color: var(--color-muted-foreground);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.tool-meta dd {
  margin-top: 2px;
  color: var(--color-foreground);
  font-size: 0.88rem;
  font-weight: 700;
}

.card-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin-top: auto;
  padding-top: 22px;
}

.visit-link,
.save-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  gap: var(--space-sm);
  border-radius: 10px;
  font-size: 0.86rem;
  font-weight: 750;
  line-height: 1.3;
  text-decoration: none;
  transition: background-color var(--duration-fast) ease, border-color var(--duration-fast) ease, color var(--duration-fast) ease;
}

.visit-link {
  border: 1px solid var(--color-border-strong);
  color: var(--color-foreground);
}

.visit-link:hover {
  border-color: var(--color-primary-strong);
  background: var(--color-background);
}

.visit-link svg,
.save-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.save-button {
  min-width: 100px;
  padding: 10px 14px;
  border: 1px solid var(--color-primary-strong);
  background: var(--color-card);
  color: var(--color-primary-strong);
}

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

.save-button[aria-pressed="true"] {
  background: var(--color-primary);
  color: var(--color-on-primary);
}

.save-button[aria-pressed="true"] svg {
  fill: currentColor;
}

.empty-state {
  padding: 48px 24px;
  border: 1px dashed var(--color-border-strong);
  border-radius: var(--radius-lg);
  background: var(--color-card);
  text-align: center;
}

.empty-state > svg {
  width: 48px;
  height: 48px;
  margin: 0 auto 18px;
  fill: none;
  stroke: var(--color-primary-strong);
  stroke-width: 1.8;
  stroke-linecap: round;
}

.empty-state p {
  margin: 10px auto 22px;
  color: var(--color-muted-foreground);
}

.secondary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-xl);
  padding-block: 64px;
}

.secondary-grid > section {
  min-width: 0;
  padding: var(--space-lg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-card);
}

.section-heading.compact {
  align-items: start;
  margin-bottom: 12px;
}

.section-kicker {
  flex: 0 0 auto;
  color: var(--color-muted-foreground);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.section-description {
  margin-bottom: 20px;
  color: var(--color-muted-foreground);
  font-size: 0.9rem;
}

.suggestion-empty {
  padding: 24px;
  border: 1px dashed var(--color-border-strong);
  border-radius: var(--radius-md);
  color: var(--color-muted-foreground);
  text-align: center;
}

.suggestion-items {
  display: grid;
  gap: 12px;
  padding: 0;
  list-style: none;
}

.suggestion-item {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-background);
}

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

.suggestion-item h3 {
  overflow-wrap: anywhere;
  font-size: 1rem;
}

.suggestion-item .category-label {
  flex: 0 0 auto;
  background: var(--color-card);
}

.suggestion-url {
  display: inline-block;
  max-width: 100%;
  margin-top: 8px;
  color: var(--color-primary-strong);
  font-size: 0.82rem;
  overflow-wrap: anywhere;
  text-underline-offset: 3px;
}

.suggestion-notes {
  margin-top: 10px;
  color: var(--color-muted-foreground);
  font-size: 0.88rem;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.faq-list {
  border-top: 1px solid var(--color-border);
}

.faq-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 56px;
  gap: var(--space-md);
  padding: 16px 4px;
  border-bottom: 1px solid var(--color-border);
  background: transparent;
  color: var(--color-foreground);
  font-weight: 700;
  text-align: left;
  transition: color var(--duration-fast) ease, background-color var(--duration-fast) ease;
}

.faq-trigger:hover {
  color: var(--color-primary-strong);
  background: var(--color-background);
}

.faq-trigger svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  transition: transform var(--duration-standard) ease;
}

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

.faq-panel {
  padding: 16px 32px 20px 4px;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-muted-foreground);
  font-size: 0.92rem;
}

.site-footer {
  border-top: 1px solid var(--color-border);
  background: var(--color-card);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: var(--space-lg);
  padding-block: 24px;
  color: var(--color-muted-foreground);
  font-size: 0.78rem;
}

.footer-inner strong {
  color: var(--color-foreground);
}

dialog {
  width: min(620px, calc(100% - 32px));
  max-width: 100%;
  max-height: calc(100dvh - 40px);
  margin: auto;
  padding: 0;
  overflow-y: auto;
  border: 1px solid var(--color-primary-strong);
  border-radius: var(--radius-lg);
  background: var(--color-card);
  color: var(--color-foreground);
}

dialog::backdrop {
  background: rgba(6, 47, 44, 0.68);
}

#suggestion-form {
  padding: 28px;
}

.dialog-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-md);
}

.dialog-header .eyebrow {
  margin-bottom: 4px;
}

.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-border-strong);
  border-radius: 10px;
  background: var(--color-card);
  color: var(--color-foreground);
  transition: background-color var(--duration-fast) ease, border-color var(--duration-fast) ease;
}

.icon-button:hover {
  border-color: var(--color-primary-strong);
  background: var(--color-muted);
}

.icon-button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.dialog-description {
  margin: 12px 0 22px;
  color: var(--color-muted-foreground);
  font-size: 0.9rem;
}

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

.label-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-md);
}

.field-meta,
.optional {
  color: var(--color-muted-foreground);
  font-size: 0.75rem;
  font-weight: 500;
}

.field-hint {
  margin-top: 6px;
  color: var(--color-muted-foreground);
  font-size: 0.76rem;
  line-height: 1.5;
}

.field-error {
  margin-top: 6px;
  color: var(--color-destructive);
  font-size: 0.8rem;
  font-weight: 650;
  line-height: 1.5;
}

.field-error:empty {
  display: none;
}

.error-summary {
  padding: 14px 16px;
  border: 1px solid var(--color-destructive);
  border-radius: var(--radius-md);
  background: #fff5f5;
  color: #7f1d1d;
}

.error-summary strong {
  display: block;
  margin-bottom: 6px;
}

.error-summary ul {
  padding-left: 20px;
}

.error-summary a {
  color: inherit;
  font-size: 0.84rem;
  text-underline-offset: 2px;
}

.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
}

.toast {
  position: fixed;
  z-index: 1000;
  right: 24px;
  bottom: 24px;
  max-width: calc(100% - 48px);
  padding: 14px 20px;
  border: 1px solid #115e59;
  border-radius: var(--radius-md);
  background: var(--color-foreground);
  color: white;
  font-weight: 700;
}

@media (max-width: 1100px) {
  .tool-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filter-panel {
    grid-template-columns: minmax(0, 1.5fr) minmax(180px, 1fr);
  }

  .saved-control,
  #clear-filters {
    width: 100%;
  }
}

@media (max-width: 760px) {
  .shell {
    width: calc(100% - 40px);
  }

  .directory-intro {
    grid-template-columns: 1fr;
    align-items: start;
    gap: var(--space-lg);
    padding-block: 36px 32px;
  }

  .intro-note {
    max-width: 62ch;
  }

  .secondary-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-block: 40px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 560px) {
  .shell {
    width: calc(100% - 32px);
  }

  .header-inner {
    flex-wrap: wrap;
    gap: 10px;
    padding-block: 12px;
  }

  .header-actions {
    justify-content: space-between;
    width: 100%;
  }

  .saved-count {
    text-align: left;
  }

  .button {
    min-height: 48px;
  }

  h1 {
    font-size: clamp(2rem, 9vw, 2.75rem);
  }

  .directory-intro {
    gap: 16px;
    padding-block: 24px;
  }

  .intro-note {
    display: none;
  }

  .section-heading {
    align-items: flex-start;
    margin-bottom: 16px;
  }

  .filter-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 16px;
  }

  .search-field,
  .category-field {
    grid-column: 1 / -1;
  }

  .saved-control,
  #clear-filters {
    min-height: 48px;
  }

  .saved-control {
    padding: 10px 8px;
  }

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

  .tool-card {
    padding: 20px;
  }

  .card-topline {
    margin-bottom: 14px;
  }

  .visit-link,
  .save-button {
    min-height: 48px;
  }

  .secondary-grid > section {
    padding: 20px;
  }

  .section-kicker {
    display: none;
  }

  .suggestion-item-header {
    flex-direction: column;
    gap: 8px;
  }

  #suggestion-form {
    padding: 22px 18px;
  }

  .dialog-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

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

  .toast {
    right: 16px;
    bottom: 16px;
    max-width: calc(100% - 32px);
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
}
