:root {
  color-scheme: light;
  --bg: #f4f7f6;
  --surface: #ffffff;
  --surface-2: #eef4f2;
  --ink: #16201d;
  --muted: #64716e;
  --line: #d8e2df;
  --green: #15956f;
  --green-2: #0c765a;
  --blue: #2563eb;
  --blue-2: #0f4fb8;
  --amber: #f59e0b;
  --orange: #ea580c;
  --red: #dc2626;
  --shadow: 0 20px 45px rgba(22, 32, 29, 0.1);
  font-family:
    Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
}

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

button {
  cursor: pointer;
}

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

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(216, 226, 223, 0.82);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
}

.topbar__inner {
  display: flex;
  align-items: center;
  min-height: 64px;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.brand__mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: #16201d;
  color: #fff;
  letter-spacing: 0;
}

.brand__text {
  letter-spacing: 0;
}

.primary-nav {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 2px;
  overflow-x: auto;
}

.primary-nav a {
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 14px;
  white-space: nowrap;
}

.primary-nav a:hover {
  background: var(--surface-2);
  color: var(--ink);
}

.topbar__actions,
.form-actions,
.logo-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.solid-btn,
.ghost-btn,
.plain-btn,
.download-btn {
  min-height: 38px;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 0 14px;
  font-weight: 700;
}

.solid-btn {
  background: var(--green);
  color: #fff;
}

.solid-btn:hover {
  background: var(--green-2);
}

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

.ghost-btn:hover,
.download-btn:hover,
.plain-btn:hover {
  border-color: #b8c7c3;
  background: #f8fbfa;
}

.plain-btn {
  border-color: transparent;
  background: transparent;
  color: var(--muted);
}

.platform-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(21, 149, 111, 0.12), rgba(37, 99, 235, 0.08) 48%, rgba(245, 158, 11, 0.1)),
    #f8fbfa;
}

.hero-grid {
  display: grid;
  min-height: 520px;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 42px;
  align-items: center;
  padding: 58px 0 64px;
}

.hero-copy h1 {
  max-width: 720px;
  margin: 10px 0 16px;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.04;
  letter-spacing: 0;
}

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

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hero-actions .solid-btn,
.hero-actions .ghost-btn {
  min-height: 46px;
  padding: 0 18px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 620px;
  margin-top: 28px;
}

.hero-stats span {
  display: grid;
  gap: 2px;
  border: 1px solid rgba(216, 226, 223, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  padding: 14px;
  color: var(--muted);
  font-size: 13px;
}

.hero-stats strong {
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
}

.hero-showcase {
  border: 1px solid rgba(216, 226, 223, 0.92);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(22, 32, 29, 0.14);
  padding: 18px;
}

.showcase-head,
.showcase-board,
.showcase-list {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.showcase-head {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.showcase-head span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.showcase-board {
  align-items: stretch;
  padding: 18px 0;
}

.showcase-qr {
  display: grid;
  width: 178px;
  min-width: 178px;
  aspect-ratio: 1;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  border: 10px solid #f5faf8;
  border-radius: 8px;
  background: #fff;
  padding: 10px;
}

.showcase-qr i {
  border-radius: 4px;
  background: #16201d;
}

.showcase-qr i:nth-child(2),
.showcase-qr i:nth-child(4),
.showcase-qr i:nth-child(8) {
  background: #dbe7e3;
}

.showcase-meta {
  display: grid;
  min-width: 0;
  flex: 1;
  align-content: center;
  gap: 8px;
}

.showcase-meta span {
  color: var(--muted);
  line-height: 1.6;
}

.mini-chart {
  display: flex;
  height: 74px;
  align-items: end;
  gap: 8px;
  margin-top: 6px;
}

.mini-chart b {
  width: 100%;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, var(--green), var(--blue));
}

.showcase-list {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.showcase-list span {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 9px;
  background: #fbfdfc;
  color: var(--muted);
  text-align: center;
  font-size: 13px;
  font-weight: 800;
}

.tool-hub-band {
  padding: 28px 0;
  background: #fff;
}

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

.hub-card {
  min-height: 150px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfc;
  padding: 16px;
}

.hub-card.is-ready {
  border-color: rgba(21, 149, 111, 0.42);
  background: #effaf5;
}

.hub-card span {
  color: var(--green-2);
  font-size: 12px;
  font-weight: 900;
}

.hub-card h3 {
  margin: 18px 0 8px;
}

.hub-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.tool-hero {
  padding: 34px 0 42px;
}

.tool-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(340px, 0.82fr);
  gap: 18px;
  align-items: start;
}

.builder-panel,
.preview-panel,
.records-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.builder-panel {
  padding: 24px;
}

.panel-head,
.preview-toolbar,
.records-panel__head,
.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.panel-head h1,
.section-head h2,
.records-copy h2 {
  margin: 4px 0 0;
  line-height: 1.16;
  letter-spacing: 0;
}

.panel-head h1 {
  font-size: clamp(26px, 4vw, 42px);
}

.eyebrow {
  margin: 0;
  color: var(--green-2);
  font-size: 13px;
  font-weight: 800;
}

.status-pill,
.metric {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border-radius: 999px;
  padding: 0 10px;
  background: #e8f5ef;
  color: var(--green-2);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.tool-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-top: 24px;
  padding: 5px;
  border-radius: 8px;
  background: var(--surface-2);
}

.tool-tab {
  min-height: 38px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-weight: 800;
}

.tool-tab.is-active {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 6px 18px rgba(22, 32, 29, 0.08);
}

.builder-form {
  display: grid;
  gap: 18px;
  margin-top: 22px;
}

.mode-pane {
  display: none;
  gap: 16px;
}

.mode-pane.is-active {
  display: grid;
}

.field,
.color-field,
.range-field,
.check-field {
  display: grid;
  gap: 8px;
}

.field span,
.color-field span,
.range-field span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  padding: 10px 12px;
  outline: none;
}

.field textarea {
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(21, 149, 111, 0.14);
}

.split-fields,
.style-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

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

.color-field,
.range-field {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fbfdfc;
}

.color-field input {
  width: 100%;
  height: 36px;
  border: 0;
  padding: 0;
  background: transparent;
}

.range-field input {
  width: 100%;
  accent-color: var(--green);
}

.upload-zone {
  display: grid;
  min-height: 152px;
  place-items: center;
  border: 1px dashed #9db4ae;
  border-radius: 8px;
  padding: 22px;
  background: #fbfdfc;
  text-align: center;
}

.upload-zone input,
.logo-uploader input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.upload-zone__icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: #dff2eb;
  color: var(--green-2);
  font-size: 28px;
  line-height: 1;
}

.upload-zone__title {
  font-weight: 800;
}

.upload-zone__meta {
  color: var(--muted);
  font-size: 13px;
}

.logo-uploader {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 14px;
  background: #fff;
  font-weight: 800;
}

.check-field {
  display: inline-flex;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-weight: 700;
}

.check-field input {
  accent-color: var(--green);
}

.form-actions {
  flex-wrap: wrap;
  padding-top: 2px;
}

.inline-message {
  min-height: 20px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.inline-message.is-error {
  color: var(--red);
}

.preview-panel {
  position: sticky;
  top: 84px;
  padding: 18px;
}

.preview-label {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.phone-preview {
  margin-top: 14px;
  border: 1px solid #cbd8d4;
  border-radius: 26px;
  padding: 18px;
  background: #f9fbfa;
}

.phone-preview__bar {
  width: 74px;
  height: 5px;
  margin: 0 auto 18px;
  border-radius: 99px;
  background: #c3d0cc;
}

.canvas-frame {
  display: grid;
  place-items: center;
  border-radius: 8px;
  background:
    linear-gradient(45deg, #edf3f1 25%, transparent 25%),
    linear-gradient(-45deg, #edf3f1 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #edf3f1 75%),
    linear-gradient(-45deg, transparent 75%, #edf3f1 75%);
  background-color: #fff;
  background-position:
    0 0,
    0 10px,
    10px -10px,
    -10px 0;
  background-size: 20px 20px;
  padding: 14px;
}

#qrCanvas {
  display: block;
  width: min(100%, 360px);
  height: auto;
  border-radius: 6px;
  background: #fff;
}

.phone-preview__caption {
  min-height: 22px;
  margin-top: 12px;
  color: var(--muted);
  text-align: center;
  font-weight: 800;
}

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

.download-btn {
  width: 100%;
  border-color: var(--line);
  background: #fff;
}

.features-band,
.active-band,
.solutions-band,
.template-band,
.capability-band,
.pricing-band,
.records-band,
.faq-band {
  padding: 46px 0;
}

.active-band {
  border-top: 1px solid var(--line);
  background: #eef4f2;
}

.active-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: 18px;
  align-items: start;
}

.active-copy h2 {
  margin: 4px 0 12px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.16;
  letter-spacing: 0;
}

.active-copy p {
  color: var(--muted);
  line-height: 1.7;
}

.active-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 18px;
}

.active-form {
  display: grid;
  gap: 14px;
}

.active-upload {
  min-height: 132px;
}

.active-list-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.active-list-head span {
  color: var(--muted);
  font-size: 13px;
}

.active-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.active-item {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 10px;
}

.active-item img {
  width: 70px;
  height: 70px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid var(--line);
  background: #f5f8f7;
}

.active-item__body {
  min-width: 0;
}

.active-item__top,
.active-item__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.active-item__top {
  justify-content: space-between;
}

.active-item__body strong,
.active-item__url {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.active-item__url,
.active-item__meta {
  color: var(--muted);
  font-size: 12px;
}

.active-item__meta {
  margin: 6px 0 10px;
}

.active-item__actions {
  flex-wrap: wrap;
}

.replace-file {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 10px;
  background: #fff;
  font-size: 12px;
  font-weight: 800;
}

.replace-file input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.features-band {
  background: #fff;
}

.section-head {
  max-width: 680px;
}

.section-head h2,
.records-copy h2 {
  font-size: clamp(24px, 3vw, 34px);
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.feature-list article {
  min-height: 174px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: #fbfdfc;
}

.feature-index {
  color: var(--amber);
  font-size: 13px;
  font-weight: 900;
}

.feature-list h3 {
  margin: 20px 0 8px;
}

.feature-list p,
.solution-grid p,
.pricing-grid p,
.capability-copy p,
.records-copy p,
.faq-list p {
  color: var(--muted);
  line-height: 1.7;
}

.solutions-band {
  background: #fff;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.solution-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfc;
  padding: 18px;
}

.solution-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: #16201d;
  color: #fff;
  font-weight: 900;
}

.solution-grid h3 {
  margin: 18px 0 8px;
}

.solution-grid span {
  color: var(--green-2);
  font-size: 13px;
  font-weight: 900;
}

.template-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #f8fbfa;
}

.template-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.42fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

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

.template-card {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 14px;
}

.template-card span {
  color: var(--muted);
  font-size: 12px;
}

.template-qr {
  aspect-ratio: 1;
  border-radius: 8px;
  background:
    linear-gradient(90deg, currentColor 18%, transparent 18% 28%, currentColor 28% 42%, transparent 42% 58%, currentColor 58% 72%, transparent 72%),
    linear-gradient(0deg, currentColor 18%, transparent 18% 28%, currentColor 28% 42%, transparent 42% 58%, currentColor 58% 72%, transparent 72%),
    #fff;
  color: #16201d;
  border: 10px solid #f2f6f5;
}

.template-card--green .template-qr {
  color: var(--green);
}

.template-card--blue .template-qr {
  color: var(--blue);
}

.template-card--amber .template-qr {
  color: var(--orange);
}

.template-card--dark {
  background: #16201d;
  color: #fff;
}

.template-card--dark span {
  color: #b8c7c3;
}

.template-card--dark .template-qr {
  border-color: #26322f;
  background-color: #f8fafc;
}

.capability-band {
  background: #fff;
}

.capability-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: 24px;
  align-items: center;
}

.capability-copy h2 {
  margin: 4px 0 12px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.16;
}

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

.capability-list span {
  min-height: 72px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfc;
  padding: 18px;
  font-weight: 900;
}

.pricing-band {
  background: #eef4f2;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.pricing-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 20px;
}

.pricing-grid article.is-featured {
  border-color: rgba(21, 149, 111, 0.5);
  box-shadow: var(--shadow);
}

.pricing-grid span {
  color: var(--green-2);
  font-size: 12px;
  font-weight: 900;
}

.pricing-grid h3 {
  margin: 14px 0 8px;
}

.pricing-grid strong {
  display: block;
  font-size: 26px;
  line-height: 1.2;
}

.records-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.6fr) minmax(0, 1.4fr);
  gap: 18px;
  align-items: start;
}

.records-panel {
  padding: 18px;
}

.records-panel__head {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.record-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

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

.record-item img {
  width: 56px;
  height: 56px;
  border-radius: 6px;
  object-fit: cover;
  background: #f5f8f7;
}

.record-item strong,
.record-item span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.record-item span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.record-actions {
  display: flex;
  gap: 6px;
}

.mini-btn {
  min-height: 32px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 800;
}

.mini-btn:hover {
  background: #f8fbfa;
}

.empty-state {
  display: grid;
  min-height: 120px;
  place-items: center;
  color: var(--muted);
  text-align: center;
}

.faq-band {
  background: #fff;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
  gap: 28px;
}

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

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfc;
  padding: 16px 18px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 900;
}

.faq-list p {
  margin-bottom: 0;
}

.site-footer {
  padding: 24px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 980px) {
  .topbar__inner {
    flex-wrap: wrap;
    padding: 12px 0;
  }

  .primary-nav {
    order: 3;
    flex-basis: 100%;
  }

  .tool-hero__grid,
  .hero-grid,
  .hub-grid,
  .active-layout,
  .solution-grid,
  .template-layout,
  .template-strip,
  .capability-grid,
  .pricing-grid,
  .records-layout,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .preview-panel {
    position: static;
  }

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

  .hub-grid,
  .template-strip,
  .capability-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(100% - 22px, 1180px);
  }

  .topbar__actions {
    width: 100%;
  }

  .topbar__actions button,
  .form-actions button {
    flex: 1;
  }

  .builder-panel {
    padding: 18px;
  }

  .panel-head,
  .preview-toolbar,
  .records-panel__head,
  .site-footer__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-grid {
    min-height: auto;
    padding: 34px 0;
  }

  .hero-stats,
  .tool-tabs,
  .split-fields,
  .style-grid,
  .download-grid,
  .feature-list,
  .hub-grid,
  .template-strip,
  .capability-list {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    font-size: 38px;
  }

  .showcase-board,
  .showcase-list {
    align-items: stretch;
    flex-direction: column;
  }

  .showcase-qr {
    width: 100%;
    min-width: 0;
  }

  .logo-row,
  .form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .record-item {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .active-item {
    grid-template-columns: 56px minmax(0, 1fr);
  }

  .active-item img {
    width: 56px;
    height: 56px;
  }

  .active-list-head,
  .active-item__top {
    align-items: flex-start;
    flex-direction: column;
  }

  .record-actions {
    grid-column: 1 / -1;
  }

  .mini-btn {
    flex: 1;
  }
}
