:root {
  color-scheme: light;
  --bg: #f4f6f8;
  --surface: #ffffff;
  --surface-soft: #f8fafb;
  --surface-strong: #edf1f4;
  --line: #d7dde4;
  --line-strong: #aeb8c3;
  --text: #171a1f;
  --muted: #5f6875;
  --accent: #0b7b70;
  --accent-dark: #075f58;
  --blue: #2458c6;
  --amber: #a96712;
  --rose: #bd3d58;
  --success: #137447;
  --danger: #b42318;
  --radius: 7px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--bg);
}

body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  color: var(--text);
  background: var(--bg);
  letter-spacing: 0;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  border-radius: 6px;
}

button {
  cursor: pointer;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(11, 123, 112, 0.24);
  outline-offset: 2px;
}

.shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.site-header__inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  color: var(--text);
  font-weight: 800;
}

.brand__mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  color: #ffffff;
  background: #171a1f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  font-weight: 700;
  line-height: 1;
}

.brand__wordmark {
  font-size: 16px;
}

.main-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 2px;
}

.main-nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-radius: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
}

.main-nav a:hover {
  color: var(--text);
  background: var(--surface-soft);
}

.main-nav a[aria-current="page"] {
  color: var(--text);
  box-shadow: inset 0 -2px 0 var(--accent);
}

.language-menu {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.language-select {
  width: 138px;
  min-height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  padding: 0 32px 0 10px;
  color: var(--text);
  background: var(--surface);
  font-size: 13px;
  font-weight: 650;
}

.page {
  flex: 1;
  padding: 38px 0 64px;
}

.page--home {
  padding-top: 0;
}

h1,
h2,
h3,
h4,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0 0 14px;
  font-size: 42px;
  line-height: 1.12;
  letter-spacing: 0;
}

h2 {
  margin: 0 0 10px;
  font-size: 28px;
  line-height: 1.18;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: 0;
}

p {
  line-height: 1.72;
}

.kicker {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.lead {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.home-hero {
  min-height: 248px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 56px;
  align-items: center;
  padding: 52px 0 42px;
  border-bottom: 1px solid var(--line);
}

.home-hero__copy {
  min-width: 0;
}

.home-hero__copy h1 {
  max-width: 760px;
  font-size: 48px;
}

.home-hero__copy .lead {
  max-width: 680px;
}

.local-proof {
  align-self: end;
  padding: 4px 0 4px 18px;
  border-left: 2px solid var(--accent);
}

.local-proof__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
}

.status-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(19, 116, 71, 0.1);
}

.local-proof p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.hero-index {
  align-self: end;
  display: grid;
  gap: 6px;
  padding-left: 18px;
  border-left: 2px solid var(--accent);
  color: var(--muted);
  font-size: 13px;
}

.hero-index strong {
  color: var(--text);
  font-size: 24px;
}

.language-suggestion {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 50;
  max-width: min(440px, calc(100% - 40px));
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 12px 36px rgba(23, 26, 31, 0.14);
}

.language-suggestion span {
  margin-right: 4px;
  color: var(--text);
  font-size: 14px;
}

.article {
  max-width: 860px;
}

.article__header {
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.article-content {
  max-width: 860px;
}

.article-content section {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.article-content p,
.article-content li {
  color: #3f4854;
  font-size: 16px;
  line-height: 1.8;
}

.article-content li + li {
  margin-top: 10px;
}

.article-content details {
  padding: 15px 0;
  border-top: 1px solid var(--line);
}

.article-content summary {
  cursor: pointer;
  font-weight: 750;
}

.guide-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.guide-list a {
  min-width: 0;
  display: grid;
  gap: 7px;
  padding: 22px 24px 22px 0;
  border-bottom: 1px solid var(--line);
}

.guide-list a:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.guide-list a:nth-child(even) {
  padding-left: 24px;
}

.guide-list a:hover strong {
  color: var(--accent);
}

.guide-list span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.guide-list.compact {
  grid-template-columns: 1fr;
}

.guide-list.compact a,
.guide-list.compact a:nth-child(odd),
.guide-list.compact a:nth-child(even) {
  padding: 15px 0;
  border-right: 0;
}

.privacy-link {
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
}

.tool-index {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  border-bottom: 1px solid var(--line);
}

.tool-index__head {
  padding: 30px 28px 30px 0;
}

.tool-index__head h2 {
  margin: 0;
}

.tool-index__list {
  border-left: 1px solid var(--line);
}

.tool-entry {
  min-height: 116px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) minmax(150px, 210px) 82px;
  gap: 18px;
  align-items: center;
  padding: 22px 0 22px 24px;
  border-bottom: 1px solid var(--line);
  transition: background 0.16s ease, box-shadow 0.16s ease;
}

.tool-entry:last-child {
  border-bottom: 0;
}

.tool-entry:hover {
  background: var(--surface);
  box-shadow: inset 3px 0 0 var(--accent);
}

.tool-entry[data-accent="blue"]:hover {
  box-shadow: inset 3px 0 0 var(--blue);
}

.tool-entry[data-accent="rose"]:hover {
  box-shadow: inset 3px 0 0 var(--rose);
}

.tool-entry__number {
  color: var(--accent);
  font-size: 13px;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
}

.tool-entry[data-accent="blue"] .tool-entry__number {
  color: var(--blue);
}

.tool-entry[data-accent="rose"] .tool-entry__number {
  color: var(--rose);
}

.tool-entry__body {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.tool-entry__body strong {
  font-size: 19px;
}

.tool-entry__body span,
.tool-entry__meta {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.tool-entry__meta {
  font-size: 12px;
  font-weight: 700;
}

.tool-entry__action {
  justify-self: end;
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 800;
}

.section {
  padding: 34px 0;
}

.section__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.section__head > div {
  min-width: 0;
}

.section__head .lead {
  margin-top: 2px;
}

.section__head > .pill {
  margin-top: 4px;
}

.task-section {
  padding-top: 38px;
}

.task-section .section__head {
  margin-bottom: 0;
  padding-bottom: 16px;
}

.intent-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 28px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.intent-grid a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.intent-grid a:hover {
  color: var(--accent-dark);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.home-info {
  margin-top: 18px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface-strong);
}

.content-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.content-card {
  min-width: 0;
}

.content-band .content-card {
  padding: 4px 28px;
  border-left: 1px solid var(--line);
}

.content-band .content-card:first-child {
  padding-left: 0;
  border-left: 0;
}

.content-band .content-card:last-child {
  padding-right: 0;
}

.content-card p,
.content-card li {
  color: var(--muted);
  line-height: 1.68;
}

.content-card p {
  margin: 0;
}

.content-card ul,
.legal ul {
  margin: 10px 0 0;
  padding-left: 20px;
}

.pill {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border: 1px solid rgba(11, 123, 112, 0.24);
  border-radius: 999px;
  color: var(--accent-dark);
  background: rgba(11, 123, 112, 0.08);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.pill[data-accent="blue"] {
  border-color: rgba(36, 88, 198, 0.24);
  color: #1e4cae;
  background: rgba(36, 88, 198, 0.08);
}

.pill[data-accent="rose"] {
  border-color: rgba(189, 61, 88, 0.24);
  color: #a12f49;
  background: rgba(189, 61, 88, 0.08);
}

.tool-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 32px;
  align-items: start;
}

.panel {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.panel__body {
  padding: 20px;
}

.dropzone {
  position: relative;
  min-height: 238px;
  display: grid;
  place-items: center;
  padding: 24px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface-soft);
  text-align: center;
  transition: border-color 0.16s ease, background 0.16s ease;
}

.dropzone:hover,
.dropzone.is-dragging {
  border-color: var(--accent);
  background: #f2f8f7;
}

.dropzone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.dropzone__content {
  display: grid;
  gap: 10px;
  justify-items: center;
  pointer-events: none;
}

.dropzone__icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid #cfe1de;
  border-radius: 7px;
  color: var(--accent-dark);
  background: #eaf4f2;
  font-size: 18px;
}

.dropzone strong {
  font-size: 18px;
}

.dropzone span {
  color: var(--muted);
  font-size: 14px;
}

.settings {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.field {
  min-width: 0;
  display: grid;
  gap: 7px;
}

.field label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line-strong);
  padding: 9px 11px;
  color: var(--text);
  background: var(--surface);
}

.field textarea {
  min-height: 170px;
  resize: vertical;
  line-height: 1.58;
}

.range-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.range-row output {
  min-width: 48px;
  color: var(--muted);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 15px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  color: var(--text);
  background: var(--surface);
  font-weight: 750;
  transition: border-color 0.16s ease, background 0.16s ease;
}

.button:hover {
  border-color: #8794a3;
  background: var(--surface-soft);
}

.button:disabled {
  cursor: wait;
  opacity: 0.62;
}

.button--primary {
  border-color: var(--accent);
  color: #ffffff;
  background: var(--accent);
}

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

.button--ghost {
  min-height: 38px;
  padding: 0 10px;
  color: var(--muted);
}

.tool-rail {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 22px;
  padding-left: 26px;
  border-left: 1px solid var(--line);
}

.tool-rail .content-card {
  padding: 0 0 22px;
  border-bottom: 1px solid var(--line);
}

.tool-rail .content-card:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.tool-rail .content-card h3 {
  font-size: 16px;
}

.tool-rail .content-card p {
  margin: 0 0 10px;
  font-size: 14px;
}

.tool-rail .content-card li {
  margin-bottom: 6px;
  font-size: 14px;
}

.status-line {
  min-height: 24px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.results {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.result-row {
  min-height: 64px;
  display: grid;
  grid-template-columns: minmax(180px, 1fr) repeat(3, minmax(92px, auto)) auto;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.result-row__name {
  min-width: 0;
  overflow: hidden;
  color: var(--text);
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.result-row__meta {
  color: var(--muted);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.message {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  background: var(--surface-soft);
}

.message--error {
  border-color: #f3b9b4;
  color: var(--danger);
  background: #fff6f5;
}

.message--success {
  border-color: #a9dfbf;
  color: var(--success);
  background: #f2fbf6;
}

.download-slot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.results > .content-card.exif-editor {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.exif-editor {
  display: grid;
  gap: 14px;
}

.exif-editor .section__head {
  margin-bottom: 0;
  padding-bottom: 16px;
}

.exif-editor .section__head h3 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.exif-editor .section__head .toolbar {
  margin-top: 0;
}

.exif-table,
.exif-table__body {
  min-width: 0;
  display: grid;
  gap: 8px;
}

.exif-row {
  min-width: 0;
  display: grid;
  grid-template-columns:
    minmax(76px, 0.7fr)
    minmax(104px, 0.8fr)
    minmax(116px, 1fr)
    minmax(118px, 0.8fr)
    minmax(180px, 1.7fr)
    auto;
  gap: 8px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.exif-row--head {
  padding: 0 10px;
  border: 0;
  color: var(--muted);
  background: transparent;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.exif-row--system {
  background: var(--surface-soft);
}

.exif-row input,
.exif-row select,
.exif-row textarea {
  width: 100%;
  min-width: 0;
  min-height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  padding: 8px 10px;
  color: var(--text);
  background: var(--surface);
}

.exif-row textarea {
  resize: vertical;
  line-height: 1.45;
}

.exif-row input:disabled,
.exif-row select:disabled,
.exif-row textarea:disabled {
  color: var(--muted);
  background: var(--surface-strong);
}

.exif-row__name {
  min-width: 0;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.metadata-grid {
  display: grid;
  gap: 12px;
}

.metadata-section {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.metadata-section h4 {
  margin: 0 0 10px;
  font-size: 15px;
}

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

.metadata-field {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.metadata-field span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.metadata-field input,
.metadata-field select {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  padding: 8px 10px;
  color: var(--text);
  background: var(--surface);
}

.copy-grid {
  display: grid;
  gap: 10px;
}

.copy-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.copy-item span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
}

.legal {
  max-width: 780px;
  padding-top: 14px;
}

.legal > p:not(.kicker),
.legal li {
  color: var(--muted);
  line-height: 1.78;
}

.legal h2 {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 23px;
}

.legal a {
  color: var(--accent-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer {
  padding: 34px 0 20px;
  color: #aeb7c2;
  background: #171a1f;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(230px, 1.35fr) repeat(4, minmax(120px, 0.7fr));
  gap: 28px;
  align-items: start;
}

.site-footer__brand strong,
.site-footer__links strong {
  display: block;
  margin-bottom: 10px;
  color: #ffffff;
  font-weight: 800;
}

.site-footer__brand p {
  max-width: 390px;
  margin: 0;
  color: #aeb7c2;
  line-height: 1.65;
}

.site-footer__links {
  display: grid;
  gap: 3px;
}

.site-footer__links a {
  min-height: 30px;
  display: flex;
  align-items: center;
}

.site-footer__links a:hover {
  color: #ffffff;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid #30363f;
  color: #8f99a6;
  font-size: 13px;
}

[hidden] {
  display: none !important;
}

@media (max-width: 980px) {
  .home-hero {
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 32px;
  }

  .tool-layout {
    grid-template-columns: 1fr;
  }

  .tool-rail {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    padding: 24px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .tool-rail .content-card {
    padding: 0 24px 0 0;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .tool-rail .content-card:last-child {
    padding-right: 0;
    border-right: 0;
  }

  .tool-entry {
    grid-template-columns: 42px minmax(0, 1fr) 150px 82px;
  }

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

  .result-row__meta {
    white-space: normal;
  }

  .exif-row {
    grid-template-columns:
      minmax(76px, 0.7fr)
      minmax(104px, 0.8fr)
      minmax(116px, 1fr)
      minmax(118px, 0.8fr);
  }

  .exif-row textarea {
    grid-column: 1 / 4;
  }
}

@media (max-width: 720px) {
  .shell {
    width: min(100% - 28px, 1120px);
  }

  .site-header__inner {
    min-height: auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: 46px auto;
    gap: 0 12px;
    padding-top: 6px;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
  }

  .brand__mark {
    width: 32px;
    height: 32px;
    font-size: 20px;
  }

  .language-menu {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    justify-self: end;
  }

  .language-menu__label {
    display: none;
  }

  .language-select {
    width: 132px;
    min-height: 42px;
  }

  .main-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid var(--line);
    overflow: visible;
  }

  .main-nav a {
    min-height: 44px;
    padding: 4px 8px;
    font-size: 13px;
    line-height: 1.25;
    text-align: center;
    white-space: normal;
  }

  .main-nav a[aria-current="page"] {
    background: var(--surface-soft);
  }

  .page {
    padding: 26px 0 48px;
  }

  .page--home {
    padding-top: 0;
  }

  h1,
  .home-hero__copy h1 {
    font-size: 32px;
    line-height: 1.16;
  }

  h2 {
    font-size: 24px;
  }

  .home-hero {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 0 28px;
  }

  .local-proof {
    align-self: auto;
  }

  .tool-index {
    grid-template-columns: 1fr;
  }

  .tool-index__head {
    padding: 24px 0 18px;
  }

  .tool-index__list {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .tool-entry {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 10px 12px;
    padding: 20px 4px;
  }

  .tool-entry__number {
    grid-column: 1;
    grid-row: 1 / 3;
    align-self: start;
    padding-top: 4px;
  }

  .tool-entry__body {
    grid-column: 2;
  }

  .tool-entry__meta {
    grid-column: 2;
  }

  .tool-entry__action {
    grid-column: 2;
    justify-self: start;
  }

  .section {
    padding: 28px 0;
  }

  .section__head {
    flex-direction: column;
    gap: 14px;
    margin-bottom: 18px;
    padding-bottom: 18px;
  }

  .section__head > .pill {
    margin-top: 0;
  }

  .intent-grid {
    gap: 4px 22px;
  }

  .content-band {
    grid-template-columns: 1fr;
  }

  .content-band .content-card,
  .content-band .content-card:first-child,
  .content-band .content-card:last-child {
    padding: 20px 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .content-band .content-card:first-child {
    padding-top: 0;
    border-top: 0;
  }

  .content-band .content-card:last-child {
    padding-bottom: 0;
  }

  .panel__body {
    padding: 16px;
  }

  .dropzone {
    min-height: 204px;
    padding: 18px;
  }

  .settings,
  .metadata-fields {
    grid-template-columns: 1fr;
  }

  .tool-rail {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .tool-rail .content-card,
  .tool-rail .content-card:last-child {
    padding: 0 0 18px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .tool-rail .content-card:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .exif-row--head {
    display: none;
  }

  .exif-row {
    grid-template-columns: 1fr 1fr;
  }

  .exif-row__name,
  .exif-row textarea {
    grid-column: 1 / -1;
  }

  .exif-row .button {
    width: 100%;
  }

  .copy-item {
    grid-template-columns: 1fr;
  }

  .site-footer {
    padding-top: 30px;
  }

  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 22px;
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }

  .site-footer__bottom {
    display: grid;
  }

  .guide-list {
    grid-template-columns: 1fr;
  }

  .guide-list a,
  .guide-list a:nth-child(odd),
  .guide-list a:nth-child(even) {
    padding: 18px 0;
    border-right: 0;
  }

  .language-suggestion {
    right: 14px;
    bottom: 14px;
    max-width: calc(100% - 28px);
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .language-select {
    width: 124px;
    font-size: 12px;
  }

  .home-hero__copy .lead,
  .lead {
    font-size: 15px;
  }

  .result-row {
    grid-template-columns: 1fr;
  }

  .result-row__name {
    white-space: normal;
  }

  .results > .content-card.exif-editor {
    padding: 14px;
  }

  .exif-editor .section__head .toolbar,
  .exif-editor .section__head .button {
    width: 100%;
  }
}
