:root {
  --surface: rgba(255, 251, 245, 0.86);
  --surface-strong: #fffdfa;
  --line: rgba(31, 24, 18, 0.1);
  --line-strong: rgba(31, 24, 18, 0.18);
  --text: #1f1812;
  --muted: #6f655b;
  --accent: #cb6231;
  --accent-dark: #8e3a1b;
  --danger-soft: rgba(166, 63, 35, 0.08);
  --shadow: 0 24px 80px rgba(64, 42, 23, 0.12);
  --shadow-soft: 0 14px 34px rgba(64, 42, 23, 0.08);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Noto Sans SC", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(203, 98, 49, 0.18), transparent 24%),
    radial-gradient(circle at 86% 20%, rgba(16, 115, 116, 0.12), transparent 18%),
    linear-gradient(135deg, #eadfce 0%, #f7f4ee 56%, #ece6dc 100%);
}

body.auth-modal-open {
  overflow: hidden;
}

body.auth-locked .app-shell,
body.auth-locked .topbar {
  filter: blur(10px);
  pointer-events: none;
  user-select: none;
}

.ambient-glow,
.grid-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.ambient-glow {
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.44), transparent 28%),
    radial-gradient(circle at 85% 76%, rgba(255, 255, 255, 0.3), transparent 24%);
}

.grid-noise {
  background-image:
    linear-gradient(rgba(31, 24, 18, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 24, 18, 0.026) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.72), transparent 96%);
}

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

.app-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(280px, 320px) minmax(0, 1fr);
  gap: 22px;
  max-width: 1540px;
  margin: 0 auto;
  padding: 24px;
}

.topbar {
  position: relative;
  z-index: 1;
  max-width: 1540px;
  margin: 0 auto;
  padding: 24px 24px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.topbar__brand {
  display: grid;
  gap: 4px;
}

.topbar__brand strong {
  font-family: "Space Grotesk", "Noto Sans SC", sans-serif;
  font-size: clamp(1.4rem, 2vw, 2rem);
}

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

.topbar__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}

.auth-user-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: var(--shadow-soft);
}

.auth-user-badge__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #1e9d68;
  box-shadow: 0 0 0 6px rgba(30, 157, 104, 0.12);
}

.credit-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(203, 98, 49, 0.22);
  background: rgba(255, 250, 245, 0.9);
  box-shadow: var(--shadow-soft);
}

.credit-badge__label {
  color: var(--muted);
  font-size: 0.88rem;
}

.credit-badge strong {
  font-family: "Space Grotesk", "Noto Sans SC", sans-serif;
  font-size: 1rem;
}

.credit-badge__meta {
  color: var(--muted);
  font-size: 0.82rem;
}

.panel {
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: 28px;
  background: var(--surface);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.history-pane {
  position: sticky;
  top: 24px;
  align-self: start;
  display: grid;
  gap: 18px;
  max-height: calc(100vh - 48px);
  padding: 22px;
  overflow: hidden;
}

.chat-pane {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-height: calc(100vh - 48px);
  padding: 18px;
  gap: 16px;
}

.history-pane__head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.history-pane__copy,
.history-empty p,
.history-card__prompt,
.empty-state p,
.empty-copy,
.status,
.attachment-preview__body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.eyebrow {
  margin: 0 0 10px;
  font-family: "Space Grotesk", "Noto Sans SC", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

h1,
h2 {
  margin: 0;
  font-family: "Space Grotesk", "Noto Sans SC", sans-serif;
  line-height: 1.05;
}

h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

h2 {
  font-size: clamp(1.5rem, 2.4vw, 2.3rem);
}

.meta-pill,
.history-card__meta span,
.featured-details span {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(31, 24, 18, 0.06);
  color: var(--text);
  font-size: 0.88rem;
}

.history-pane__quick,
.history-card__actions,
.history-card__meta,
.featured-details,
.conversation-actions,
.composer-tools,
.composer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.history-pane__quick {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.history-empty {
  display: grid;
  place-items: center;
  min-height: 160px;
  padding: 18px;
  border-radius: 24px;
  border: 1px dashed var(--line-strong);
  background: rgba(255, 255, 255, 0.42);
  text-align: center;
}

.history-list {
  display: grid;
  gap: 14px;
  overflow: auto;
  padding-right: 4px;
}

.history-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.58);
  box-shadow: var(--shadow-soft);
}

.history-card.is-active {
  border-color: rgba(203, 98, 49, 0.24);
  background: linear-gradient(135deg, rgba(203, 98, 49, 0.1), rgba(255, 255, 255, 0.86));
}

.history-card__thumb {
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 18px;
  aspect-ratio: 4 / 3;
  background: rgba(255, 255, 255, 0.65);
}

.history-card__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.history-card__prompt {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.ghost-button,
.primary-button,
.primary-link,
.inline-button,
.attach-trigger,
select {
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  color: var(--text);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease,
    opacity 160ms ease;
}

.ghost-button,
.primary-button,
.primary-link,
.inline-button,
.attach-trigger {
  padding: 12px 16px;
  font-weight: 700;
  text-decoration: none;
}

.ghost-button:hover,
.primary-button:hover,
.primary-link:hover:not(.disabled),
.inline-button:hover,
.attach-trigger:hover {
  transform: translateY(-1px);
}

.ghost-button--danger {
  background: var(--danger-soft);
}

.primary-button,
.primary-link {
  border: 0;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: #fff8f2;
  box-shadow: 0 18px 34px rgba(142, 58, 27, 0.24);
}

.primary-link.disabled {
  pointer-events: none;
  opacity: 0.5;
}

.chat-thread {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 0;
  overflow: auto;
  padding: 6px;
}

.empty-state {
  margin: auto;
  max-width: 520px;
  padding: 28px;
  border-radius: 26px;
  text-align: center;
  background: rgba(255, 255, 255, 0.4);
  border: 1px dashed var(--line-strong);
}

.chat-bubble {
  max-width: min(860px, 92%);
  padding: 16px;
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
}

.chat-bubble--user {
  align-self: flex-end;
  background: rgba(203, 98, 49, 0.12);
  border: 1px solid rgba(203, 98, 49, 0.18);
}

.chat-bubble--user p {
  margin: 0;
  line-height: 1.7;
  white-space: pre-wrap;
}

.chat-bubble--assistant {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  display: grid;
  gap: 12px;
  width: min(560px, 100%);
}

.assistant-card__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.chat-bubble__label {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--muted);
}

.featured-shell {
  position: relative;
  min-height: 260px;
  width: 100%;
  max-width: 520px;
  overflow: hidden;
  border-radius: 24px;
  border: 1px dashed rgba(31, 24, 18, 0.14);
  background:
    radial-gradient(circle at 50% 14%, rgba(203, 98, 49, 0.18), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(246, 239, 229, 0.98));
  display: grid;
  place-items: center;
}

.featured-shell img {
  width: 100%;
  max-height: 720px;
  object-fit: contain;
  display: block;
  position: relative;
  z-index: 1;
}

.featured-details {
  padding: 0;
  max-width: 100%;
}

.conversation-actions {
  justify-content: flex-end;
  max-width: 520px;
}

.info-card {
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(203, 98, 49, 0.14);
  background: rgba(203, 98, 49, 0.08);
  color: var(--accent-dark);
  line-height: 1.7;
}

.info-card--subtle {
  border-color: rgba(31, 24, 18, 0.08);
  background: rgba(255, 255, 255, 0.54);
  color: var(--muted);
}

.composer-bar {
  display: grid;
  gap: 10px;
}

.composer-shell {
  padding: 16px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: var(--surface-strong);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.44);
}

.attachment-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.attachment-thumb {
  position: relative;
  width: 72px;
  height: 72px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
}

.attachment-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.attachment-thumb__remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 999px;
  background: rgba(31, 24, 18, 0.72);
  color: #fff;
  font-size: 0.85rem;
  line-height: 1;
  cursor: pointer;
}

.image-preview-dialog {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: rgba(18, 14, 11, 0.66);
  box-shadow: none;
  overflow: hidden;
}

.image-preview-dialog::backdrop {
  background: rgba(18, 14, 11, 0.66);
  backdrop-filter: blur(6px);
}

.image-preview-dialog__toolbar {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow-soft);
  z-index: 2;
  backdrop-filter: blur(10px);
}

.image-preview-dialog__tool,
.image-preview-dialog__close {
  display: inline-grid;
  place-items: center;
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  cursor: pointer;
}

.image-preview-dialog__close {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 1.2rem;
  z-index: 2;
}

.image-preview-dialog__viewport {
  overflow: hidden;
  width: 100%;
  height: 100%;
  cursor: grab;
  display: grid;
  place-items: center;
  padding: 0;
}

.image-preview-dialog__viewport:active {
  cursor: grabbing;
}

.image-preview-dialog img {
  display: block;
  max-width: none;
  max-height: none;
  width: auto;
  height: auto;
  object-fit: contain;
  transform-origin: center center;
  user-select: none;
  -webkit-user-drag: none;
}

textarea {
  width: 100%;
  min-height: 110px;
  padding: 0 0 14px;
  border: 0;
  background: transparent;
  color: var(--text);
  resize: none;
  outline: none;
}

.composer-footer {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}

.composer-tools {
  align-items: center;
}

.composer-tools select {
  min-width: 118px;
  min-height: 46px;
  padding: 0 14px;
  outline: none;
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position:
    calc(100% - 22px) calc(50% - 2px),
    calc(100% - 16px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.composer-actions {
  align-items: center;
  justify-content: flex-end;
}

.composer-hint {
  color: var(--muted);
  font-size: 0.9rem;
}

.attach-trigger {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
}

.attach-trigger__icon {
  font-size: 1.4rem;
  line-height: 1;
}

.status {
  padding: 0 8px;
}

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 20px;
}

.auth-modal[hidden] {
  display: none;
}

.auth-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(24, 18, 13, 0.5);
  backdrop-filter: blur(10px);
}

.auth-modal__dialog {
  position: relative;
  width: min(620px, calc(100vw - 32px));
  padding: 24px;
  display: grid;
  gap: 16px;
}

.auth-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.auth-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.auth-tabs .is-active {
  border-color: rgba(203, 98, 49, 0.38);
  background: rgba(203, 98, 49, 0.14);
}

.auth-panel {
  display: grid;
  gap: 12px;
}

.auth-form {
  display: grid;
  gap: 12px;
}

.auth-form--subtle {
  padding: 14px;
  border-radius: 20px;
  border: 1px dashed var(--line-strong);
  background: rgba(255, 255, 255, 0.42);
}

.redeem-panel .auth-form {
  gap: 14px;
}

.redeem-tip {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.auth-field {
  display: grid;
  gap: 6px;
}

.auth-field span {
  font-size: 0.92rem;
  font-weight: 700;
}

.auth-field input {
  min-height: 48px;
  padding: 0 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.8);
  outline: none;
}

.auth-field input:focus {
  border-color: rgba(203, 98, 49, 0.44);
  box-shadow: 0 0 0 4px rgba(203, 98, 49, 0.12);
}

.auth-switch {
  justify-self: start;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--accent-dark);
  font-weight: 700;
}

.auth-message[data-type="error"] {
  border-color: rgba(166, 63, 35, 0.22);
  background: rgba(166, 63, 35, 0.1);
  color: #8f3418;
}

.generation-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  overflow: hidden;
}

.generation-overlay::before {
  content: "";
  position: absolute;
  inset: -30%;
  background:
    conic-gradient(
      from 120deg,
      rgba(203, 98, 49, 0.08),
      rgba(16, 115, 116, 0.12),
      rgba(213, 173, 73, 0.08),
      rgba(203, 98, 49, 0.08)
    );
  animation: generation-rotate 10s linear infinite;
}

.generation-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.74) 42%, transparent 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent 74%);
  transform: translateX(-120%);
  animation: generation-sweep 2.9s ease-in-out infinite;
}

.generation-orb {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background:
    radial-gradient(
      circle at 34% 34%,
      rgba(255, 255, 255, 0.98),
      rgba(255, 255, 255, 0.16) 28%,
      rgba(203, 98, 49, 0.24) 52%,
      rgba(16, 115, 116, 0.16) 72%,
      transparent 100%
    );
  filter: blur(5px);
  animation: generation-pulse 3s ease-in-out infinite;
}

.generation-beam {
  position: absolute;
  width: min(84%, 560px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.98), transparent);
  box-shadow:
    0 0 28px rgba(255, 255, 255, 0.72),
    0 0 70px rgba(203, 98, 49, 0.2);
  animation: generation-breathe 2.4s ease-in-out infinite;
}

.generation-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  padding: 20px 24px;
  border-radius: 26px;
  background: rgba(255, 250, 245, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 18px 44px rgba(64, 42, 23, 0.12);
  text-align: center;
}

.is-generating .featured-shell {
  max-width: 520px;
}

.generation-label,
.generation-stage,
.generation-timer {
  margin: 0;
}

.generation-label {
  font-family: "Space Grotesk", "Noto Sans SC", sans-serif;
  font-size: 0.86rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-dark);
}

.generation-timer {
  font-family: "Space Grotesk", "Noto Sans SC", sans-serif;
  font-size: clamp(2rem, 5vw, 3.1rem);
}

@keyframes generation-rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes generation-sweep {
  0% {
    transform: translateX(-120%);
  }

  55%,
  100% {
    transform: translateX(120%);
  }
}

@keyframes generation-pulse {
  0%,
  100% {
    transform: scale(0.94);
    opacity: 0.74;
  }

  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

@keyframes generation-breathe {
  0%,
  100% {
    opacity: 0.42;
    transform: scaleX(0.88);
  }

  50% {
    opacity: 0.96;
    transform: scaleX(1);
  }
}

.admin-shell {
  position: relative;
  z-index: 1;
  max-width: 1540px;
  margin: 0 auto;
  padding: 24px;
  display: grid;
  gap: 22px;
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(340px, 420px) minmax(0, 1fr);
  gap: 22px;
}

.admin-panel {
  padding: 22px;
  display: grid;
  gap: 18px;
}

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

.admin-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
}

.admin-form input,
.admin-form select {
  width: 100%;
  min-height: 48px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  padding: 0 16px;
  outline: none;
}

.admin-form input:focus,
.admin-form select:focus {
  border-color: rgba(203, 98, 49, 0.42);
  box-shadow: 0 0 0 4px rgba(203, 98, 49, 0.12);
}

.admin-message,
.admin-empty {
  margin: 0;
  color: var(--muted);
}

.admin-code-list,
.admin-table {
  display: grid;
  gap: 12px;
}

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

.admin-log-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  padding: 14px 16px;
  display: grid;
  gap: 10px;
}

.admin-log-card pre {
  margin: 0;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(31, 24, 18, 0.06);
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-word;
  line-height: 1.6;
}

.admin-code-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  padding: 14px 16px;
  display: grid;
  gap: 8px;
}

.admin-code-card strong {
  font-family: "Space Grotesk", "Noto Sans SC", sans-serif;
  letter-spacing: 0.08em;
}

.admin-table__row {
  display: grid;
  grid-template-columns: 1.6fr 0.8fr 0.8fr 1fr 1.2fr;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid var(--line);
}

.admin-table__row.is-head {
  background: rgba(31, 24, 18, 0.06);
  font-weight: 700;
}

.admin-table__row span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-table__row--wide {
  grid-template-columns: 1.9fr 0.7fr 0.8fr 0.9fr 1fr 1.3fr 1.4fr;
}

.admin-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

@media (max-width: 1120px) {
  .topbar {
    padding: 20px 20px 0;
  }

  .app-shell {
    grid-template-columns: 1fr;
  }

  .history-pane {
    position: static;
    max-height: none;
  }

  .chat-pane {
    min-height: 70vh;
  }

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

@media (max-width: 760px) {
  .topbar {
    padding: 16px 16px 0;
    display: grid;
    justify-content: stretch;
  }

  .topbar__actions {
    justify-content: stretch;
  }

  .app-shell {
    padding: 16px;
  }

  .history-pane,
  .chat-pane {
    padding: 16px;
  }

  .history-pane__quick,
  .composer-footer {
    grid-template-columns: 1fr;
    display: grid;
  }

  .composer-tools,
  .composer-actions,
  .conversation-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .assistant-card__top {
    display: grid;
  }

  .ghost-button,
  .primary-button,
  .primary-link,
  .inline-button,
  .attach-trigger,
  .credit-badge,
  .composer-tools select,
  .topbar__actions > *,
  .auth-tabs .ghost-button {
    width: 100%;
  }

  .admin-shell {
    padding: 16px;
  }

  .admin-panel {
    padding: 16px;
  }

  .admin-table__row {
    grid-template-columns: 1fr;
  }
}
