:root {
  color-scheme: light;
  --ink: #101820;
  --muted: #64707d;
  --line: rgba(16, 24, 32, 0.13);
  --paper: #ffffff;
  --soft: #f3f6f8;
  --blue: #0b63ce;
  --blue-dark: #073f85;
  --green: #0f7a5a;
  --red: #b02a2a;
  --amber: #d9941c;
  --shadow: 0 18px 42px rgba(16, 24, 32, 0.11);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

.seller-type-notice {
  grid-column: 1 / -1;
  margin: -8px 0 4px;
  padding: 12px 14px;
  border: 1px solid rgba(194, 116, 14, 0.32);
  border-radius: 8px;
  color: #684100;
  background: #fff5dc;
  font-weight: 800;
  line-height: 1.45;
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  box-shadow: none;
  transform: none;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #eef2f5;
  color: var(--ink);
}

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 10px;
  font-size: clamp(2.1rem, 5vw, 4.6rem);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 10px;
  font-size: clamp(1.45rem, 3vw, 2.45rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.08rem;
}

p {
  color: var(--muted);
  line-height: 1.55;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 76px;
  padding: 12px clamp(16px, 3.5vw, 48px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, #102c43, #0b63ce);
  color: #fff;
  font-weight: 950;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.nav-link,
.link-button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.nav-link {
  min-height: 38px;
  padding: 0 12px;
  border-radius: 8px;
}

.nav-link:hover,
.nav-link.is-active,
.link-button:hover {
  color: var(--blue);
}

.nav-link.is-active {
  background: #e7f0ff;
}

.app-shell {
  min-height: calc(100vh - 76px);
  padding: clamp(18px, 3vw, 36px);
}

.app-view {
  display: none;
  max-width: 1500px;
  margin: 0 auto;
}

.app-view.is-active {
  display: grid;
  gap: 18px;
}

.page-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(11, 99, 206, 0.12), rgba(15, 122, 90, 0.08)),
    var(--paper);
  box-shadow: var(--shadow);
}

.page-head.compact {
  align-items: center;
}

.page-head p {
  max-width: 760px;
  margin-bottom: 0;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.button.primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 12px 26px rgba(11, 99, 206, 0.22);
}

.button.secondary {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
}

.featured-offer,
.listing-detail,
.market-layout,
.seo,
.listing-form,
.mini-form,
.safety-grid article,
.rules-list article,
.admin-grid article,
.moderation-log {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.featured-offer {
  display: grid;
  grid-template-columns: minmax(320px, 1.1fr) minmax(0, 0.9fr);
  gap: 22px;
  padding: clamp(16px, 2.4vw, 26px);
}

.featured-empty {
  grid-column: 1 / -1;
  padding: 24px;
}

.featured-media {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.featured-media > img,
.main-photo > img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  background: #dfe6ee;
}

.featured-copy {
  display: grid;
  align-content: center;
  gap: 10px;
}

.thumbnail-row {
  display: flex;
  gap: 8px;
  min-height: 62px;
  overflow-x: auto;
}

.thumbnail-row button {
  flex: 0 0 86px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  background: #dfe6ee;
  cursor: pointer;
  overflow: hidden;
}

.thumbnail-row button:hover {
  border-color: var(--blue);
}

.thumbnail-row img {
  display: block;
  width: 100%;
  height: 60px;
  object-fit: cover;
}

.thumbnail-row span {
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  font-weight: 800;
}

.market-layout {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: clamp(14px, 2vw, 20px);
}

.filters {
  position: sticky;
  top: 94px;
  display: grid;
  gap: 13px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.filter-head,
.results-head,
.detail-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
}

.filter-head h2 {
  margin: 0;
  font-size: 1.2rem;
}

label,
fieldset {
  display: grid;
  gap: 7px;
  margin: 0;
  color: #344252;
  font-size: 0.86rem;
  font-weight: 850;
}

label {
  position: relative;
}

.listing-form label:has(input:required)::after,
.listing-form label:has(select:required)::after,
.listing-form label:has(textarea:required)::after,
.mini-form label:has(input:required)::after,
.mini-form label:has(select:required)::after {
  content: "wymagane";
  position: absolute;
  top: 0;
  right: 0;
  color: var(--red);
  font-size: 0.7rem;
  font-weight: 950;
}

.field-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.required-note,
.field-help {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
}

.required-badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: #ffe5e5;
  color: #b42318;
  font-size: 0.72rem;
  font-weight: 950;
  white-space: nowrap;
}

.required-badge.muted {
  background: #fff3ce;
  color: #7a5200;
}

fieldset {
  padding: 0;
  border: 0;
}

legend {
  margin-bottom: 7px;
  font-weight: 900;
}

select,
input,
textarea {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(16, 24, 32, 0.2);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

input.is-invalid,
select.is-invalid,
textarea.is-invalid,
input:invalid:user-invalid,
select:invalid:user-invalid,
textarea:invalid:user-invalid {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(176, 42, 42, 0.14);
}

select.is-invalid,
input.is-invalid,
textarea.is-invalid {
  border-color: #d92d20;
  box-shadow: 0 0 0 3px rgba(217, 45, 32, 0.12);
}

.autocomplete-list {
  position: absolute;
  z-index: 20;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  display: grid;
  max-height: 260px;
  overflow: auto;
  padding: 6px;
  border: 1px solid rgba(16, 24, 32, 0.16);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(16, 24, 32, 0.16);
}

.autocomplete-list button,
.autocomplete-empty {
  min-height: 36px;
  padding: 0 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 850;
  text-align: left;
}

.autocomplete-list button {
  cursor: pointer;
}

.autocomplete-list button:hover,
.autocomplete-list button:focus-visible {
  background: var(--soft);
}

.autocomplete-empty {
  display: grid;
  align-items: center;
  color: var(--muted);
}

textarea {
  padding-top: 11px;
  resize: vertical;
}

.two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.checks {
  display: grid;
  gap: 7px;
  max-height: 180px;
  overflow: auto;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
}

.check-row input {
  width: 18px;
  height: 18px;
  min-height: 18px;
  accent-color: var(--blue);
}

.results {
  min-width: 0;
  padding: 4px;
}

.count-pill,
.seller-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #e7f0ff;
  color: var(--blue-dark);
  font-size: 0.8rem;
  font-weight: 900;
}

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

.offer-card {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.car-visual {
  min-height: 126px;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background:
    radial-gradient(circle at 24% 28%, rgba(255, 255, 255, 0.78), transparent 20%),
    radial-gradient(circle at 72% 18%, rgba(255, 255, 255, 0.48), transparent 24%),
    linear-gradient(135deg, rgba(222, 230, 238, 0.96), rgba(169, 184, 201, 0.92));
  filter: saturate(0.86);
}

.car-visual.XL {
  min-height: auto;
  aspect-ratio: 16 / 9;
}

.car-visual.has-photo {
  background: #dfe6ee;
  filter: none;
}

.car-visual.has-photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 126px;
  object-fit: cover;
}

.car-visual.has-photo::before,
.car-visual.has-photo::after,
.car-visual.has-photo .camera-mark {
  content: none;
  display: none;
}

.car-visual::before {
  content: "";
  position: absolute;
  inset: -18px;
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.35), transparent 34%, rgba(255, 255, 255, 0.18)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0 2px, transparent 2px 14px);
  filter: blur(10px);
  transform: scale(1.04);
}

.car-visual::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 52px;
  height: 42px;
  border: 2px solid rgba(16, 24, 32, 0.5);
  border-radius: 12px;
  background:
    radial-gradient(circle at 50% 56%, transparent 0 9px, rgba(16, 24, 32, 0.5) 10px 12px, transparent 13px),
    linear-gradient(rgba(16, 24, 32, 0.5), rgba(16, 24, 32, 0.5)) 12px 9px / 9px 3px no-repeat,
    linear-gradient(rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.76));
  box-shadow: 0 14px 32px rgba(16, 24, 32, 0.14);
  transform: translate(-50%, -50%);
  backdrop-filter: blur(8px);
}

.offer-main,
.featured-copy {
  min-width: 0;
}

.offer-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.offer-title {
  margin-bottom: 6px;
  font-size: 1.08rem;
}

.price {
  color: var(--blue);
  font-size: clamp(1.24rem, 2.4vw, 1.8rem);
  font-weight: 950;
  white-space: nowrap;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 10px 0;
  color: #344252;
  font-weight: 780;
}

.meta span {
  padding: 6px 8px;
  border-radius: 999px;
  background: var(--soft);
}

.description-preview {
  display: -webkit-box;
  margin-bottom: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.description-box {
  display: grid;
  gap: 8px;
  max-height: 260px;
  margin-top: 6px;
  padding: 14px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  overscroll-behavior: contain;
}

.description-box strong {
  font-size: 0.95rem;
}

.description-box p {
  margin: 0;
  color: var(--muted);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.contact-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
  color: #314254;
  font-weight: 850;
}

.contact-strip span,
.contact-strip a {
  padding: 7px 10px;
  border-radius: 999px;
  background: #eef4fb;
  text-decoration: none;
}

.offer-actions,
.form-actions,
.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.link-button.danger {
  color: var(--red);
}

.listing-detail,
.listing-form {
  padding: clamp(16px, 2.4vw, 26px);
}

.detail-content {
  display: grid;
  grid-template-columns: minmax(320px, 1.08fr) minmax(0, 0.92fr);
  gap: 22px;
}

.detail-gallery {
  display: grid;
  gap: 12px;
}

.detail-panel {
  display: grid;
  align-content: start;
}

.buyer-info,
.risk-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.buyer-info {
  align-items: flex-start;
}

.buyer-info summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--blue-dark);
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}

.buyer-info summary::-webkit-details-marker {
  display: none;
}

.buyer-info summary span {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 950;
}

.buyer-info > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
  padding-top: 10px;
}

.buyer-info > div span,
.risk-flags span {
  padding: 7px 10px;
  border-radius: 999px;
  background: #fff7e3;
  color: #735019;
  font-weight: 850;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.listing-form {
  display: grid;
  gap: 16px;
}

.statements {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.statements label {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.statements input {
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin-top: 2px;
}

.photo-help {
  margin-top: -8px;
  color: var(--muted);
  font-size: 0.92rem;
}

.photo-preview {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.photo-preview img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.form-message {
  min-height: 24px;
  margin: 0;
  color: var(--green);
  font-weight: 900;
}

.form-message.is-error {
  color: #b42318;
}

.account-grid,
.admin-grid,
.safety-grid,
.rules-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.safety-grid,
.rules-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mini-form,
.admin-grid article,
.analytics-panel,
.moderation-log,
.support-box,
.safety-grid article,
.rules-list article {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.admin-login {
  max-width: 520px;
}

.auth-status {
  min-width: 220px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  color: var(--muted);
  font-weight: 900;
}

.support-box {
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.support-box h2,
.support-box p {
  margin: 0;
}

.support-box p {
  color: var(--muted);
}

.support-costs details {
  width: 100%;
}

.support-costs summary {
  cursor: pointer;
  color: var(--blue);
  font-weight: 950;
}

.support-costs p {
  margin-top: 12px;
}

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

.coffee-card {
  display: grid;
  gap: 10px;
  min-height: 128px;
  padding: 18px;
  border: 1px solid rgba(16, 24, 32, 0.14);
  border-radius: 8px;
  background:
    radial-gradient(circle at 82% 16%, rgba(255, 212, 127, 0.42), transparent 32%),
    linear-gradient(135deg, #fff, #f3f6f8);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.coffee-card:hover,
.coffee-card:focus-visible {
  border-color: rgba(22, 95, 179, 0.42);
  box-shadow: 0 14px 34px rgba(16, 24, 32, 0.12);
  transform: translateY(-1px);
}

.coffee-card span {
  color: var(--muted);
  font-weight: 950;
}

.coffee-card strong {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.support-prompt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(22, 95, 179, 0.16);
  border-radius: 8px;
  background: #f3f8ff;
}

.support-prompt p,
.support-prompt strong {
  margin: 0;
}

.support-prompt p {
  margin-top: 4px;
  color: var(--muted);
}

.policy-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.policy-panel article {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.policy-panel .policy-highlight {
  border-color: rgba(22, 95, 179, 0.22);
  background:
    radial-gradient(circle at 92% 8%, rgba(255, 212, 127, 0.25), transparent 28%),
    #f7fbff;
}

.policy-panel h2 {
  margin: 0;
  font-size: 1.05rem;
}

.policy-panel ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 19px;
  color: var(--muted);
}

.policy-panel li {
  line-height: 1.45;
}

.support-costs {
  margin-top: 14px;
}

.cost-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.cost-grid div {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.cost-grid strong {
  color: var(--ink);
}

.cost-grid span {
  color: var(--muted);
  font-weight: 800;
  line-height: 1.35;
}

.admin-list {
  display: grid;
  gap: 10px;
}

.analytics-panel {
  margin-bottom: 14px;
}

.analytics-cards {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.analytics-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 14px;
}

.metric-card {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.metric-card span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
}

.metric-card strong {
  color: var(--ink);
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1;
}

.analytics-row {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.admin-item {
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.admin-item small {
  color: var(--muted);
}

.admin-actions button {
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--blue);
  font-weight: 900;
  cursor: pointer;
}

.report-dialog {
  width: min(700px, calc(100vw - 28px));
  padding: 0;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(16, 24, 32, 0.28);
}

.report-dialog::backdrop {
  background: rgba(16, 24, 32, 0.45);
}

.report-form {
  display: grid;
  gap: 16px;
  padding: clamp(18px, 3vw, 28px);
}

.report-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
}

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 20px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
}

.footer-seo-links {
  display: flex;
  flex: 1 1 520px;
  flex-wrap: wrap;
  gap: 8px 14px;
  justify-content: center;
  font-size: 0.86rem;
}

.footer-seo-links a {
  color: #34506b;
  text-decoration: none;
}

.footer-seo-links a:hover {
  color: var(--blue);
  text-decoration: underline;
}

.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.empty-state {
  padding: 22px;
  border: 1px dashed rgba(16, 24, 32, 0.28);
  border-radius: 8px;
  color: var(--muted);
  background: var(--soft);
}

@media (max-width: 1100px) {
  .featured-offer,
  .market-layout,
  .detail-content,
  .form-grid,
  .safety-grid,
  .rules-list {
    grid-template-columns: 1fr;
  }

  .filters {
    position: static;
  }
}

@media (max-width: 760px) {
  .topbar,
  .page-head,
  .offer-card,
  .account-grid,
  .admin-grid,
  .policy-panel {
    grid-template-columns: 1fr;
  }

  .analytics-cards,
  .analytics-grid,
  .coffee-grid,
  .cost-grid {
    grid-template-columns: 1fr;
  }

  .support-prompt {
    align-items: stretch;
    flex-direction: column;
  }

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

  nav {
    justify-content: flex-start;
  }

  .two-cols {
    grid-template-columns: 1fr;
  }

  .photo-preview {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
