:root {
  --bg: #eef2ff;
  --bg-deep: #dfe7ff;
  --surface: rgba(246, 248, 255, 0.9);
  --surface-strong: #fbfcff;
  --line: #cfd8ff;
  --text: #1a2138;
  --muted: #68759b;
  --accent: #5173ff;
  --accent-strong: #8b7cff;
  --accent-soft: #e8ecff;
  --shadow: 0 22px 58px rgba(81, 115, 255, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Yu Gothic", "Hiragino Sans", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.96), transparent 28%),
    radial-gradient(circle at bottom right, rgba(139, 124, 255, 0.14), transparent 28%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
}

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

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

button {
  border: 0;
}

.app-shell {
  min-height: 100vh;
}

.app-header {
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 16px 24px 0;
  backdrop-filter: blur(18px);
}

.header-main,
.panel,
.hero-panel,
.card,
.metric-card,
.study-card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.header-main,
.panel,
.hero-panel {
  border-radius: 24px;
}

.header-main {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  padding: 12px;
}

.header-main-landing {
  justify-content: space-between;
}

.header-note {
  font-size: 0.82rem;
  color: var(--muted);
  white-space: nowrap;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
  overflow-x: auto;
  width: 100%;
  justify-content: flex-start;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.header-actions::-webkit-scrollbar {
  display: none;
}

.landing-brand {
  display: inline-grid;
  gap: 0;
  font-size: 1rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  line-height: 0.92;
}

.landing-header-actions {
  margin-left: auto;
}

.field {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.field span {
  font-size: 0.88rem;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--surface-strong);
  color: var(--text);
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.settings-note {
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--surface-strong);
  color: var(--text);
  line-height: 1.5;
}

.field input,
.field select,
.field textarea {
  grid-column: 2;
}

.field span {
  grid-column: 1;
}

.pair-switcher {
  min-width: 220px;
}

.compact-field {
  min-width: 0;
  grid-template-columns: minmax(0, 1fr);
}

.compact-field select {
  grid-column: 1;
  min-width: 170px;
  padding: 9px 12px;
  font-size: 0.92rem;
  border-radius: 14px;
}

.auth-button {
  white-space: nowrap;
}

.content {
  padding: 18px 24px 32px;
}

.metric-card {
  padding: 4px 6px;
}

.summary-label,
.eyebrow,
.preview-label,
.page-stat-label {
  display: block;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.page-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.page-head h1 {
  margin: 0;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.page-head-stats {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.page-stat {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  white-space: nowrap;
}

.page-stat-button {
  border: 1px solid transparent;
  color: inherit;
  cursor: pointer;
}

.page-stat-button.is-active {
  background: rgba(81, 115, 255, 0.16);
  border-color: rgba(81, 115, 255, 0.24);
}

.page-stat-button.is-alternate {
  background: rgba(255, 255, 255, 0.38);
  border-color: rgba(207, 216, 255, 0.92);
}

.page-stat strong {
  font-size: 0.8rem;
  font-weight: 700;
}

.page-stat-stars {
  gap: 5px;
}

.page-stat-symbol {
  font-size: 0.8rem;
  color: #f0ba49;
  letter-spacing: 0.04em;
}

.page-footer {
  display: flex;
  justify-content: center;
  margin-top: 28px;
  padding-bottom: 8px;
}

.page-footer-brand {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(104, 117, 155, 0.78);
}

.topbar-copy,
.hero-copy,
.panel p,
.card-copy,
.card-note,
.preview-value {
  margin: 0;
  line-height: 1.7;
  color: var(--muted);
}

.flash-message {
  margin-bottom: 16px;
  padding: 10px 14px;
  border-radius: 16px;
  background: rgba(26, 33, 56, 0.92);
  color: #fbfcff;
}

.stack,
.list-stack {
  display: grid;
  gap: 16px;
}

.landing-stack {
  gap: 28px;
}

.hero-panel,
.panel {
  padding: 24px;
}

.hero-panel {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  min-height: 0;
}

.hero-gradient {
  background:
    radial-gradient(circle at top right, rgba(139, 124, 255, 0.16), transparent 30%),
    linear-gradient(135deg, rgba(248, 249, 255, 0.94) 0%, rgba(234, 239, 255, 0.94) 100%);
}

.hero-actions-only {
  justify-content: flex-end;
}

.hero-panel h2 {
  margin: 8px 0 10px;
  font-size: 1.8rem;
}

.landing-hero {
  gap: 28px;
  align-items: stretch;
  overflow: hidden;
}

.landing-copy {
  max-width: 760px;
}

.landing-copy h2 {
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

.landing-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 22px;
}

.landing-signin-button {
  padding: 0 20px;
  min-width: 180px;
}

.landing-locale-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.52);
}

.landing-locale-button {
  min-height: 38px;
  padding: 0 16px;
}

.landing-hero-showcase {
  position: relative;
  flex: 1;
  min-width: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.landing-glow {
  position: absolute;
  inset: 18% 12%;
  background: radial-gradient(circle, rgba(81, 115, 255, 0.24) 0%, rgba(81, 115, 255, 0.02) 72%);
  filter: blur(18px);
}

.landing-desktop,
.landing-device {
  position: relative;
  width: min(680px, 100%);
  border-radius: 30px;
  background: linear-gradient(180deg, #242b45 0%, #20263d 100%);
  padding: 14px;
  box-shadow: 0 36px 70px rgba(22, 31, 69, 0.24);
}

.landing-desktop-toolbar {
  display: flex;
  gap: 8px;
  padding: 4px 2px 12px;
}

.landing-desktop-toolbar span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(210, 218, 246, 0.8);
}

.landing-device-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 120px;
  height: 18px;
  transform: translateX(-50%);
  border-radius: 0 0 14px 14px;
  background: #151a2e;
}

.landing-desktop-body,
.landing-device-screen {
  min-height: 420px;
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(248, 249, 255, 0.98) 0%, rgba(229, 235, 255, 0.98) 100%);
  padding: 16px;
}

.landing-desktop-body {
  display: grid;
  gap: 14px;
}

.landing-desktop-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--muted);
}

.landing-desktop-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(207, 216, 255, 0.92);
  box-shadow: 0 16px 32px rgba(124, 143, 218, 0.12);
}

.landing-desktop-card h4 {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.2;
}

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

.landing-desktop-row {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(207, 216, 255, 0.88);
}

.landing-desktop-row strong {
  display: block;
  color: var(--accent);
  margin-bottom: 4px;
}

.landing-desktop-row p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.landing-section {
  display: grid;
  gap: 18px;
}

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

.landing-mini-card h3,
.landing-preview-card h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.landing-preview-card {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 18px;
  align-items: center;
}

.landing-preview-copy p:last-child {
  margin-top: 10px;
}

.landing-preview-points {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.landing-preview-point {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(207, 216, 255, 0.88);
}

.landing-preview-point h4 {
  margin: 0 0 6px;
  font-size: 0.98rem;
}

.landing-preview-point p {
  margin: 0;
}

.landing-preview-visual {
  display: flex;
  justify-content: center;
}

.landing-device {
  width: min(390px, 100%);
}

.landing-device-screen {
  min-height: 620px;
  display: grid;
  gap: 12px;
}

.landing-study-screen {
  align-content: start;
}

.landing-study-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--muted);
}

.landing-study-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(207, 216, 255, 0.9);
  box-shadow: 0 16px 32px rgba(124, 143, 218, 0.12);
}

.landing-study-card-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.landing-study-stars {
  display: inline-flex;
  gap: 4px;
}

.landing-star {
  color: #c8d2fb;
  font-size: 1rem;
}

.landing-star.is-active {
  color: #f0ba49;
}

.landing-study-card h4 {
  margin: 0;
  font-size: 1.55rem;
  line-height: 1.22;
}

.landing-study-fields {
  margin: 0;
  display: grid;
  gap: 12px;
}

.landing-study-fields dt {
  margin: 0 0 4px;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.landing-study-fields dd {
  margin: 0;
  line-height: 1.65;
  color: var(--text);
}

.landing-study-fields dd strong {
  color: #2742d0;
  font-weight: 800;
}

.landing-device-row {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(207, 216, 255, 0.9);
  color: var(--muted);
  line-height: 1.55;
}

.landing-device-row.is-emphasis {
  color: var(--accent);
  font-weight: 700;
}

.hero-actions,
.card-actions,
.form-actions,
.confidence-row,
.study-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.section-head .card-actions {
  justify-content: flex-start;
}

.section-head {
  margin-bottom: 14px;
}

.tag-shortcuts {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.tag-shortcuts-extra {
  margin-top: 10px;
}

.tag-shortcut-button {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  color: var(--text);
  cursor: pointer;
}

.tag-shortcut-button[draggable="true"] {
  cursor: grab;
}

.tag-shortcut-button.is-active {
  background: linear-gradient(135deg, rgba(81, 115, 255, 0.16) 0%, rgba(139, 124, 255, 0.16) 100%);
  box-shadow: inset 0 0 0 1px rgba(81, 115, 255, 0.16);
}

.tag-shortcut-button.is-dragging {
  opacity: 0.55;
}

.tag-shortcut-button.is-drop-target {
  box-shadow: inset 0 0 0 2px rgba(39, 66, 208, 0.28);
  transform: translateY(-1px);
}

.tag-shortcut-button-others {
  background: linear-gradient(135deg, rgba(81, 115, 255, 0.18) 0%, rgba(81, 115, 255, 0.3) 100%);
  border-color: rgba(81, 115, 255, 0.5);
  color: #2742d0;
  font-weight: 700;
}

.tag-shortcut-button-others.is-active {
  background: linear-gradient(135deg, rgba(39, 66, 208, 0.24) 0%, rgba(81, 115, 255, 0.42) 100%);
  box-shadow: inset 0 0 0 1px rgba(39, 66, 208, 0.28);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  cursor: pointer;
}

.button.is-active {
  box-shadow: inset 0 0 0 1px rgba(81, 115, 255, 0.16);
  background: linear-gradient(135deg, rgba(81, 115, 255, 0.16) 0%, rgba(139, 124, 255, 0.16) 100%);
}

.icon-button {
  width: 44px;
  min-width: 44px;
  padding: 0;
}

.button-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
}

.button-icon svg {
  width: 20px;
  height: 20px;
}

.nav-icon-button,
.header-icon-button {
  border-radius: 16px;
}

.profile-button {
  overflow: hidden;
}

.profile-button-image {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.button-primary {
  color: white;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
}

.type-chip {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
}

.grid-2,
.grid-3,
.toolbar,
.inline-form,
.form-grid,
.card-grid {
  display: grid;
  gap: 16px;
}

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

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

.toolbar {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 18px;
  margin-top: 24px;
}

.toolbar.is-collapsed {
  display: none;
}

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

.toolbar .field {
  grid-template-columns: 84px minmax(0, 1fr);
}

.inline-form {
  grid-template-columns: 1fr auto;
}

.study-filter-form .field {
  grid-template-columns: 84px minmax(0, 1fr);
}

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

.span-2,
.form-actions {
  grid-column: 1 / -1;
}

.split-actions {
  justify-content: space-between;
}

.with-top-gap {
  margin-top: 20px;
}

.metric-card,
.card,
.study-card,
.person-row {
  border-radius: 22px;
}

.metric-card,
.card {
  padding: 20px;
}

.metric-card {
  background: linear-gradient(145deg, rgba(247, 248, 255, 0.9) 0%, rgba(232, 236, 255, 0.98) 100%);
}

.metric-card strong {
  display: block;
  margin: 4px 0 0;
  font-size: 1.8rem;
}

.card-grid {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.card-head,
.person-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
}

.card-head {
  flex-direction: column;
}

.card-head .star-group {
  width: 100%;
  justify-content: flex-end;
}

.card-title-block {
  width: 100%;
  min-width: 0;
}

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

.card h4 {
  margin: 6px 0 10px;
  line-height: 1.3;
}

.preview-block + .preview-block {
  margin-top: 12px;
}

.card-actions {
  margin-top: 22px;
}

.pagination-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}

.pagination-status {
  min-width: 64px;
  text-align: center;
  font-size: 0.88rem;
  color: var(--muted);
}

.preview-value strong,
.home-example-text strong,
.study-example strong,
.definition dd strong {
  font-weight: 800;
  color: #2742d0;
}

.definition {
  margin: 0 0 14px;
}

.definition dt {
  margin-bottom: 6px;
  font-size: 0.9rem;
  color: var(--muted);
}

.definition dd {
  margin: 0;
  line-height: 1.7;
  white-space: pre-wrap;
}

.person-row {
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.6);
}

.user-account-card {
  align-items: center;
}

.user-account-summary {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.user-account-image {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}

.user-account-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  color: #fff;
  font-weight: 700;
}

.home-example-text {
  margin: 2px 0 8px;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.55;
}

.empty-state {
  padding: 24px;
  text-align: center;
  border-radius: 20px;
  border: 1px dashed var(--line);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.46);
}

.is-muted {
  opacity: 0.55;
}

.is-hidden {
  display: none;
}

.star-group {
  display: flex;
  gap: 6px;
}

.star-group.compact {
  gap: 2px;
}

.star-button {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: transparent;
  color: #8993b5;
  font-size: 1rem;
  cursor: pointer;
}

.star-button.is-active {
  color: #f0ba49;
}

.star-button.is-solid {
  background: rgba(255, 255, 255, 0.6);
}

.study-card {
  padding: 28px;
  cursor: pointer;
}

.study-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 0.9rem;
}

.study-expression {
  margin: 0 0 18px;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
}

.study-tags {
  margin: -6px 0 14px;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(104, 117, 155, 0.84);
}

.study-example {
  font-size: 1.4rem;
  line-height: 1.7;
}

.study-back {
  display: none;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.study-back.is-visible {
  display: block;
}

.study-definition {
  margin: 0;
  display: grid;
  gap: 10px;
}

.study-definition dt {
  font-size: 0.85rem;
  color: var(--muted);
}

.study-definition dd {
  margin: 0;
  line-height: 1.7;
}

@media (max-width: 1080px) {
  .hero-panel,
  .person-row {
    flex-direction: column;
  }

  .landing-card-grid,
  .landing-preview-card {
    grid-template-columns: 1fr;
  }

  .landing-copy {
    max-width: none;
  }

  .landing-hero-showcase,
  .landing-preview-visual {
    justify-content: flex-start;
  }

  .header-main {
    padding: 10px;
  }

  .grid-2,
  .grid-3,
  .toolbar,
  .toolbar-4,
  .inline-form,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .study-filter-form {
    grid-template-columns: 1fr auto;
  }

  .pair-switcher {
    min-width: 0;
    width: 100%;
  }

  .field {
    grid-template-columns: 1fr;
  }

  .field span,
  .field input,
  .field select,
  .field textarea {
    grid-column: 1;
  }

  .toolbar .field {
    grid-template-columns: 84px minmax(0, 1fr);
  }

  .toolbar .field span,
  .toolbar .field input,
  .toolbar .field select {
    grid-column: auto;
  }

  .study-filter-form .field {
    grid-template-columns: 84px minmax(0, 1fr);
  }

  .study-filter-form .field span,
  .study-filter-form .field select {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .app-header {
    padding: 12px 12px 0;
  }

  .content {
    padding: 16px 12px 28px;
  }

  .header-main,
  .panel,
  .hero-panel {
    border-radius: 22px;
  }

  .header-actions {
    gap: 8px;
  }

  .landing-brand {
    font-size: 0.88rem;
    letter-spacing: 0.12em;
  }

  .landing-header-actions {
    flex-shrink: 0;
  }

  .landing-copy h2 {
    font-size: clamp(1.5rem, 8vw, 2.24rem);
    line-height: 1.16;
  }

  .landing-actions {
    align-items: stretch;
  }

  .landing-signin-button {
    width: 100%;
  }

  .landing-locale-switch {
    width: 100%;
    justify-content: center;
  }

  .landing-locale-button {
    flex: 1;
  }

  .landing-desktop,
  .landing-device {
    width: 100%;
    max-width: 100%;
  }

  .landing-desktop-body {
    min-height: 0;
  }

  .landing-device-screen {
    min-height: 540px;
  }

  .landing-card-grid {
    gap: 12px;
  }

  .landing-study-card h4 {
    font-size: 1.3rem;
  }

  .page-head {
    align-items: center;
    flex-direction: row;
  }

  .page-head-stats {
    gap: 6px;
  }

  .page-stat {
    padding: 4px 8px;
  }

  .card h4 {
    margin-bottom: 8px;
  }

  .compact-field select {
    min-width: 0;
  }

  .study-card {
    padding: 22px;
  }

  .study-expression {
    font-size: 1.7rem;
    margin-bottom: 14px;
  }

  .study-tags {
    margin: -4px 0 12px;
    font-size: 0.76rem;
  }

  .study-example {
    font-size: 1.2rem;
    line-height: 1.6;
  }

  .study-actions {
    justify-content: space-between;
  }

  .confidence-row {
    gap: 8px;
  }

  .button {
    min-height: 42px;
    padding: 0 16px;
  }

  .icon-button {
    width: 42px;
    min-width: 42px;
    padding: 0;
  }
}

@media (max-width: 900px) and (orientation: landscape) {
  .card-grid {
    grid-template-columns: 1fr;
  }

  .card {
    min-height: 0;
  }
}
