:root {
  color-scheme: light;
  --ink: #172033;
  --muted: #647084;
  --line: #e1e6ef;
  --paper: #f3f6fa;
  --panel: #ffffff;
  --accent: #155eef;
  --accent-dark: #0b4bc7;
  --accent-soft: #e8f0ff;
  --brand-start: #12b76a;
  --brand-mid: #155eef;
  --brand-end: #0b4bc7;
  --button-colour: #155eef;
  --button-text-colour: #ffffff;
  --success: #067647;
  --success-soft: #dcfae6;
  --danger: #b42318;
  --danger-soft: #fee4e2;
  --warning: #b54708;
  --shadow: 0 12px 30px rgba(16, 24, 40, .08);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

/* Compatibility for the Laravel read-model screens while their workflows are
   progressively moved to the dedicated portal sections below. */
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
}

.muted {
  color: var(--muted);
}

.metric {
  margin-top: 5px;
  font-size: 25px;
  font-weight: 800;
}

.pill.ok {
  background: var(--success-soft);
  color: var(--success);
}

.pill.bad {
  background: var(--danger-soft);
  color: var(--danger);
}

textarea {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid #cfd6e2;
  border-radius: 5px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
  background: linear-gradient(110deg, var(--brand-start) 0%, var(--brand-mid) 72%, var(--brand-end) 100%);
  color: #fff;
  z-index: 10;
  box-shadow: 0 8px 22px rgba(21, 94, 239, .18);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 800;
}

.brand-logo {
  display: block;
  height: 42px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
}

.artwork-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin: 16px 0 24px;
}

.artwork-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.artwork-card h4 {
  margin: 14px 0 6px;
}

.artwork-card p {
  min-height: 38px;
  margin: 0 0 12px;
  font-size: 13px;
}

.artwork-preview {
  display: grid;
  place-items: center;
  height: 150px;
  overflow: hidden;
  border: 1px dashed #c4ccd8;
  border-radius: 7px;
  background: #f8fafc;
  color: var(--muted);
}

.artwork-preview.wide {
  height: 110px;
}

.artwork-preview img {
  width: 100%;
  height: 100%;
  padding: 10px;
  object-fit: contain;
}

.artwork-preview.wide img {
  padding: 0;
  object-fit: cover;
}

.inline-check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  color: var(--danger);
}

.inline-check input {
  width: auto;
}

.sidebar {
  position: fixed;
  top: 64px;
  bottom: 0;
  left: 0;
  z-index: 9;
  width: 260px;
  max-height: calc(100vh - 64px);
  max-height: calc(100dvh - 64px);
  background: #fff;
  border-right: 1px solid var(--line);
  padding: 24px 14px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  scrollbar-gutter: stable;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
}

.sidebar::-webkit-scrollbar {
  width: 10px;
}

.sidebar::-webkit-scrollbar-track {
  background: transparent;
}

.sidebar::-webkit-scrollbar-thumb {
  background: transparent;
  border: 3px solid #fff;
  border-radius: 999px;
}

.sidebar:hover::-webkit-scrollbar-thumb,
.sidebar:focus-within::-webkit-scrollbar-thumb {
  background: #cbd5e1;
}

.sidebar {
  scrollbar-color: transparent transparent;
}

.sidebar:hover,
.sidebar:focus-within {
  scrollbar-color: #cbd5e1 transparent;
}

.side-nav {
  display: grid;
  gap: 8px;
}

.side-nav a,
.side-nav button {
  min-height: 44px;
  justify-content: flex-start;
  width: 100%;
  border: 0;
  background: transparent;
  color: #273244;
  border-radius: 6px;
  padding: 10px 14px;
  font-weight: 600;
}

.side-nav a.active {
  color: #fff;
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
  box-shadow: 0 8px 18px rgba(21, 94, 239, .20);
}

.nav-icon {
  width: 22px;
  min-width: 22px;
  display: inline-flex;
  justify-content: center;
  font-size: 15px;
}

.app {
  padding-top: 64px;
  padding-left: 260px;
  min-height: 100vh;
}

.hero {
  min-height: 78px;
  display: flex;
  align-items: center;
  padding: 18px 32px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-start) 0%, var(--brand-mid) 66%, var(--brand-end) 100%);
}

.hero h1 {
  margin: 0 0 4px;
  font-size: 21px;
  color: #fff;
}

.hero p {
  margin: 0;
  font-size: 13px;
  opacity: .94;
  font-weight: 600;
}

h1 {
  margin: 0;
  font-size: 22px;
}

h2 {
  margin: 0 0 16px;
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

h3 {
  margin: 18px 0 10px;
  font-size: 15px;
}

a,
button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
}

button.primary,
.button.primary {
  background: linear-gradient(135deg, var(--accent-dark), var(--button-colour));
  color: var(--button-text-colour);
  border-color: var(--button-colour);
  box-shadow: 0 8px 18px rgba(21, 94, 239, .18);
}

button.danger {
  background: var(--danger);
  color: #fff;
  border-color: var(--danger);
}

button.ghost {
  background: transparent;
}

main {
  padding: 22px 32px 34px;
  max-width: 1700px;
  margin: 0 auto;
}

section {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
}

.stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(170px, 1fr));
  gap: 18px;
  margin-bottom: 16px;
}

.stat-card {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  box-shadow: var(--shadow);
}

.stat-icon {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 800;
  font-size: 20px;
}

.stat-label {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 5px;
}

.stat-value {
  font-size: 25px;
  font-weight: 800;
}

.stat-sub {
  color: var(--muted);
  font-size: 13px;
  margin-top: 5px;
}

.qr-panel {
  display: grid;
  grid-template-columns: minmax(180px, 260px) 1fr;
  gap: 24px;
  align-items: start;
}

.qr-code {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
}

.qr-code svg {
  display: block;
  width: 100%;
  height: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

th,
td {
  padding: 13px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-size: 14px;
}

th {
  color: #344054;
  font-size: 12px;
  font-weight: 800;
}

code,
pre {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  background: #f6f8fb;
  border: 1px solid var(--line);
  border-radius: 6px;
}

code {
  padding: 2px 5px;
}

pre {
  padding: 14px;
  overflow-x: auto;
  line-height: 1.45;
}

input,
select {
  width: 100%;
  min-height: 40px;
  padding: 9px 12px;
  border: 1px solid #cfd6e2;
  border-radius: 5px;
  background: #fff;
  color: var(--ink);
}

input:focus,
select:focus {
  outline: 2px solid rgba(21, 94, 239, .16);
  border-color: var(--accent);
}

label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 13px;
}

label span {
  color: var(--muted);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
  align-items: end;
}

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

.inline-form {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin: 0;
}

.inline-form input {
  width: auto;
}

.password-wrap {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) 42px;
  gap: 6px;
  align-items: center;
}

.password-wrap input {
  min-width: 0;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 12px;
}

.password-toggle {
  min-width: 42px;
  width: 42px;
  padding: 0;
}

.notice {
  padding: 12px;
  border: 1px solid #99e6d8;
  background: #ecfdf7;
  border-radius: 6px;
  margin-bottom: 16px;
}

.impersonation-notice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.error {
  padding: 12px;
  border: 1px solid #f3aaa3;
  background: #fff1f0;
  color: var(--danger);
  border-radius: 6px;
  margin-bottom: 16px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #eef2f6;
  font-size: 12px;
}

.pill.on {
  background: var(--success-soft);
  color: var(--success);
}

.pill.off {
  background: var(--danger-soft);
  color: var(--danger);
}

.pill.warn {
  background: #fff4df;
  color: #a45f00;
}

.secret {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 12px;
  word-break: break-all;
}

.session-user {
  color: var(--muted);
  font-size: 14px;
}

.empty {
  color: var(--muted);
  padding: 28px 0;
  text-align: center;
}

.table-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.count-pill {
  background: #f2f4f7;
  color: var(--muted);
  border-radius: 999px;
  padding: 6px 12px;
  font-weight: 700;
  font-size: 12px;
}

.api-table-wrap {
  overflow-x: auto;
}

.api-table-wrap code {
  white-space: nowrap;
}

.api-code {
  overflow-x: auto;
  padding: 16px;
  border: 1px solid #d7e0ea;
  border-radius: 8px;
  background: #0b172a;
  color: #e6edf7;
  font: 13px/1.55 ui-monospace, SFMono-Regular, Consolas, monospace;
  white-space: pre;
}

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

.search-panel input {
  min-height: 45px;
}

.portal-public {
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 20%, rgba(18, 183, 106, .18), transparent 28%),
    linear-gradient(135deg, #0a2540 0%, #155eef 52%, #f7fafc 52%, #eef3f8 100%);
}

.portal-public .app {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 24px;
}

.portal-public main {
  width: min(100%, 440px);
  padding: 0;
  margin: 0;
}

.login {
  margin: 0;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, .62);
  box-shadow: 0 24px 60px rgba(16, 24, 40, .20);
}

.login .login-mark {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  margin-bottom: 18px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 20px;
}

.login h2 {
  margin-bottom: 6px;
  font-size: 24px;
}

.login p {
  margin: 0 0 20px;
  color: var(--muted);
  line-height: 1.5;
}

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

.login input {
  min-height: 46px;
}

.login button.primary,
.login .button.primary {
  width: 100%;
  min-height: 46px;
}

.login .button:not(.primary) {
  width: 100%;
  border-color: transparent;
  background: transparent;
  color: var(--accent);
  font-weight: 700;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.support-welcome {
  position: relative;
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  min-height: 148px;
  padding: 28px 30px;
  overflow: hidden;
  border: 0;
  color: #fff;
  background:
    radial-gradient(circle at 90% 15%, rgba(255, 255, 255, .16), transparent 28%),
    linear-gradient(125deg, #102a4c 0%, #155eef 58%, #12b76a 135%);
  box-shadow: 0 20px 45px rgba(21, 53, 95, .18);
}

.support-welcome::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: 12%;
  bottom: -138px;
  border: 26px solid rgba(255, 255, 255, .07);
  border-radius: 999px;
  pointer-events: none;
}

.support-welcome h2 {
  margin: 3px 0 7px;
  color: #fff;
  font-size: 24px;
}

.support-welcome p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, .82);
  line-height: 1.55;
}

.support-welcome > .button {
  position: relative;
  z-index: 1;
  min-height: 44px;
  padding-inline: 18px;
  border-color: rgba(255, 255, 255, .9);
  background: #fff;
  color: #154ca8;
  font-weight: 800;
  box-shadow: 0 9px 24px rgba(8, 27, 58, .18);
}

.support-welcome-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 18px;
  background: rgba(255, 255, 255, .13);
  font-size: 27px;
  backdrop-filter: blur(8px);
}

.support-eyebrow {
  display: block;
  color: #64748b;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .09em;
  line-height: 1.3;
  text-transform: uppercase;
}

.support-welcome .support-eyebrow {
  color: rgba(255, 255, 255, .67);
}

.support-live-indicator {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 999px;
  background: rgba(10, 37, 70, .28);
  font-size: 12px;
  font-weight: 800;
}

.support-live-indicator i {
  color: #6ce9a6;
  font-size: 8px;
  box-shadow: 0 0 0 4px rgba(108, 233, 166, .12);
  border-radius: 999px;
}

.support-welcome-actions {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.support-welcome-button {
  min-height: 42px;
  padding-inline: 16px;
  border-color: #fff;
  background: #fff;
  color: #154ca8;
  font-weight: 800;
  box-shadow: 0 9px 24px rgba(8, 27, 58, .18);
}

.support-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: 12px;
  margin: 0 0 16px;
}

.support-admin-welcome + .support-stats,
.support-admin-create + .support-stats {
  grid-template-columns: repeat(5, minmax(140px, 1fr));
}

.support-stat {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
  padding: 15px 17px;
  border: 1px solid #e6eaf0;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 7px 20px rgba(16, 24, 40, .045);
}

.support-stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #eff4ff;
  color: #155eef;
}

.support-stat strong,
.support-stat small {
  display: block;
}

.support-stat strong {
  color: #172033;
  font-size: 20px;
  line-height: 1.05;
}

.support-stat small {
  margin-top: 4px;
  overflow: hidden;
  color: #667085;
  font-size: 11px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.support-stat-amber .support-stat-icon { background: #fff6e5; color: #b54708; }
.support-stat-purple .support-stat-icon { background: #f4f0ff; color: #6938ef; }
.support-stat-green .support-stat-icon { background: #ecfdf3; color: #067647; }
.support-stat-red .support-stat-icon { background: #fff1f0; color: #b42318; }

.support-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 430px);
  gap: 16px;
  align-items: start;
}

.support-ticket-feed,
.support-new-ticket,
.support-admin-inbox,
.support-conversation,
.support-detail-sidebar section {
  border-radius: 10px;
  box-shadow: 0 9px 26px rgba(16, 24, 40, .055);
}

.support-new-ticket {
  position: sticky;
  top: 84px;
}

.support-section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.support-section-heading h2 {
  margin: 3px 0 0;
  color: #172033;
  font-size: 19px;
}

.support-heading-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #eff4ff;
  color: #155eef;
}

.support-form-intro {
  margin: -5px 0 18px;
  color: #667085;
  font-size: 13px;
  line-height: 1.55;
}

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

.support-compose-form label,
.support-filter-bar label,
.support-filter-grid label {
  gap: 7px;
  color: #475467;
  font-weight: 700;
}

.support-compose-form input:not([type="file"]),
.support-compose-form select,
.support-compose-form textarea,
.support-filter-bar select,
.support-filter-grid select {
  width: 100%;
  min-height: 43px;
  border: 1px solid #d7dde7;
  border-radius: 7px;
  color: #172033;
  background: #fff;
  font: inherit;
  font-size: 14px;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.support-compose-form textarea {
  min-height: 104px;
  padding: 11px 12px;
  resize: vertical;
  line-height: 1.5;
}

.support-compose-form input:focus,
.support-compose-form select:focus,
.support-compose-form textarea:focus,
.support-filter-bar select:focus,
.support-filter-grid select:focus {
  border-color: #84a9f8;
  outline: 0;
  box-shadow: 0 0 0 3px rgba(21, 94, 239, .11);
}

.support-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.support-technical-fields {
  display: grid;
  gap: 12px;
  padding: 15px;
  border: 1px solid #dbe7ff;
  border-radius: 8px;
  background: #f7faff;
}

.support-submit {
  width: 100%;
  min-height: 45px;
  font-weight: 800;
}

.support-upload-field {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  min-height: 72px;
  padding: 12px;
  overflow: hidden;
  border: 1px dashed #aebddd;
  border-radius: 8px;
  color: #344054;
  background: #f9fbff;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}

.support-upload-field:hover,
.support-upload-field:focus-within {
  border-color: #6d97ee;
  background: #f2f6ff;
}

.support-upload-field input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.support-upload-field strong,
.support-upload-field small {
  display: block;
}

.support-upload-field strong {
  color: #344054;
  font-size: 13px;
}

.support-upload-field small {
  margin-top: 3px;
  color: #7a8598;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.35;
}

.support-upload-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 9px;
  background: #e9f0ff;
  color: #155eef;
  font-size: 17px;
}

.support-upload-action {
  padding: 7px 9px;
  border: 1px solid #d5def0;
  border-radius: 6px;
  background: #fff;
  color: #315caa;
  font-size: 11px;
  font-weight: 800;
}

.support-file-summary {
  margin-top: -7px;
  color: #475467;
  font-size: 11px;
  line-height: 1.45;
}

.support-file-summary.is-error {
  color: #b42318;
  font-weight: 700;
}

.support-filter-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(130px, 1fr)) auto auto;
  gap: 9px;
  align-items: end;
  margin-bottom: 16px;
  padding: 12px;
  border: 1px solid #e6eaf0;
  border-radius: 8px;
  background: #f8fafc;
}

.support-filter-bar label span,
.support-filter-grid label span {
  font-size: 10px;
  letter-spacing: .025em;
  text-transform: uppercase;
}

.support-filter-bar button,
.support-filter-bar .button {
  min-height: 43px;
}

.support-ticket-list {
  display: grid;
  gap: 9px;
}

.support-ticket-card {
  position: relative;
  display: grid;
  grid-template-columns: 4px minmax(0, 1fr) auto;
  gap: 15px;
  align-items: stretch;
  min-height: 132px;
  padding: 0 16px 0 0;
  overflow: hidden;
  border: 1px solid #e3e8ef;
  border-radius: 9px;
  color: #172033;
  background: #fff;
  box-shadow: 0 3px 10px rgba(16, 24, 40, .025);
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.support-ticket-card:hover {
  border-color: #b9c9e7;
  box-shadow: 0 11px 25px rgba(16, 24, 40, .08);
  transform: translateY(-1px);
}

.support-ticket-accent { display: block; background: #9aa4b2; }
.support-ticket-accent-low { background: #98a2b3; }
.support-ticket-accent-normal { background: #155eef; }
.support-ticket-accent-high { background: #f79009; }
.support-ticket-accent-urgent { background: #d92d20; }

.support-ticket-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 15px 0;
}

.support-ticket-topline {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 7px;
}

.support-ticket-number {
  color: #47638f;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .03em;
}

.support-ticket-subject {
  overflow: hidden;
  color: #172033;
  font-size: 15px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.support-ticket-preview {
  margin-top: 4px;
  overflow: hidden;
  color: #667085;
  font-size: 12px;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.support-ticket-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 15px;
  margin-top: auto;
  padding-top: 10px;
  color: #768196;
  font-size: 10px;
  font-weight: 650;
}

.support-ticket-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.support-ticket-meta i { color: #98a2b3; }

.support-ticket-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 0;
  color: #98a2b3;
}

.support-badge,
.support-priority {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  width: max-content;
  min-height: 23px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.support-badge { background: #eef2f6; color: #475467; }
.support-status-open { background: #eef4ff; color: #1849a9; }
.support-status-waiting_on_liquidvoice { background: #fff6e5; color: #93370d; }
.support-status-waiting_on_customer { background: #f4f0ff; color: #5925dc; }
.support-status-resolved { background: #ecfdf3; color: #067647; }
.support-status-closed { background: #f2f4f7; color: #475467; }

.support-priority { color: #475467; background: #f2f4f7; }
.support-priority-high { color: #b54708; background: #fff6e5; }
.support-priority-urgent { color: #b42318; background: #fff1f0; }
.support-priority-low { color: #667085; background: #f2f4f7; }

.support-empty {
  padding: 44px 20px;
  text-align: center;
  color: #667085;
}

.support-empty > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 15px;
  background: #f2f6ff;
  color: #4b76cf;
  font-size: 21px;
}

.support-empty h3 { margin: 12px 0 4px; color: #344054; }
.support-empty p { margin: 0; font-size: 13px; }

.support-admin-inbox { padding: 24px; }

.support-admin-create {
  margin: 0 0 16px;
  overflow: hidden;
  border: 1px solid #d8e3f4;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 9px 26px rgba(16, 24, 40, .055);
}

.support-admin-create summary {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  padding: 17px 20px;
  cursor: pointer;
  list-style: none;
  color: #172033;
  background: linear-gradient(90deg, #f7faff, #fff);
}

.support-admin-create summary::-webkit-details-marker { display: none; }

.support-admin-create summary strong {
  display: block;
  font-size: 15px;
}

.support-admin-create summary small {
  display: block;
  margin-top: 3px;
  color: #667085;
  font-size: 12px;
  font-weight: 500;
}

.support-admin-create summary .support-heading-icon {
  width: 42px;
  height: 42px;
}

.support-create-chevron {
  color: #7b8ba5;
  transition: transform .2s ease;
}

.support-admin-create[open] .support-create-chevron { transform: rotate(180deg); }

.support-admin-create-body {
  display: grid;
  grid-template-columns: minmax(210px, 280px) minmax(0, 1fr);
  gap: 24px;
  padding: 22px;
  border-top: 1px solid #e8edf5;
}

.support-admin-create-note {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  align-self: start;
  padding: 15px;
  border: 1px solid #cfe0ff;
  border-radius: 9px;
  background: #f4f8ff;
  color: #155eef;
}

.support-admin-create-note > i { margin-top: 2px; }
.support-admin-create-note strong { display: block; color: #27456e; font-size: 13px; }
.support-admin-create-note p { margin: 5px 0 0; color: #5b6f8c; font-size: 12px; line-height: 1.55; }

.support-admin-create-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 2px;
}

.support-admin-create-submit > span {
  color: #667085;
  font-size: 12px;
  font-weight: 700;
}

.support-admin-create-submit > span i { margin-right: 5px; color: #155eef; }

.support-filter-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(130px, 1fr));
  gap: 10px;
  align-items: end;
  margin-bottom: 18px;
  padding: 14px;
  border: 1px solid #e4e9f1;
  border-radius: 9px;
  background: #f8fafc;
}

.support-filter-actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding-top: 2px;
}

.support-detail-header {
  margin-bottom: 16px;
  padding: 4px 2px;
}

.support-back-link {
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #47638f;
  font-size: 12px;
  font-weight: 750;
}

.support-detail-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-top: 15px;
}

.support-detail-title-row h2 {
  margin: 5px 0 0;
  color: #172033;
  font-size: 25px;
  line-height: 1.25;
}

.support-detail-badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}

.support-close-ticket-form { margin: 0; }

.support-close-ticket-button {
  min-height: 34px;
  padding: 7px 11px;
  border-color: #f2c7c7;
  color: #b42318;
  background: #fff7f6;
  font-size: 11px;
  font-weight: 800;
}

.support-close-ticket-button:hover {
  border-color: #e8a9a6;
  color: #8f1d14;
  background: #fff0ee;
}

.support-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  gap: 16px;
  align-items: start;
}

.support-detail-sidebar {
  position: sticky;
  top: 84px;
}

.support-detail-sidebar section { padding: 20px; }

.trial-dashboard-notice {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  padding: 14px 16px;
  border: 1px solid #b8ccff;
  background: linear-gradient(135deg, #f4f7ff, #eefaf5);
  box-shadow: 0 8px 22px rgba(21, 94, 239, .07);
}

.trial-dashboard-icon,
.upgrade-processing-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--brand-start));
}

.trial-dashboard-copy {
  display: grid;
  gap: 3px;
  flex: 1;
}

.trial-dashboard-copy strong { font-size: 15px; }
.trial-dashboard-copy span { color: var(--muted); font-size: 13px; }

.upgrade-hero,
.upgrade-processing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border: 1px solid #cbd8fa;
  background: linear-gradient(135deg, #fff, #f3f7ff);
}

.upgrade-hero h2,
.upgrade-processing h2 { margin: 4px 0 8px; }
.upgrade-hero p,
.upgrade-processing p { margin: 0; color: var(--muted); }

.upgrade-form {
  display: grid;
  gap: 18px;
}

.upgrade-plan-grid,
.upgrade-addon-grid {
  display: grid;
  gap: 12px;
}

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

.upgrade-plan-card,
.upgrade-addon-card {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.upgrade-plan-card:hover,
.upgrade-addon-card:hover {
  transform: translateY(-1px);
  border-color: #a9c0fb;
  box-shadow: 0 10px 24px rgba(21, 94, 239, .09);
}

.upgrade-plan-card:has(input:checked),
.upgrade-addon-card:has(input:checked) {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(21, 94, 239, .10);
}

.upgrade-plan-card input,
.upgrade-addon-card input {
  margin: 3px 0 0;
  accent-color: var(--accent);
}

.upgrade-plan-check { display: none; }

.upgrade-plan-copy,
.upgrade-addon-card > span {
  display: grid;
  gap: 6px;
  flex: 1;
}

.upgrade-plan-copy small,
.upgrade-addon-card small { color: var(--muted); line-height: 1.45; }
.upgrade-plan-copy em { color: #344054; font-size: 12px; font-style: normal; line-height: 1.45; }

.upgrade-plan-price,
.upgrade-addon-card > em {
  color: var(--accent-dark);
  font-weight: 800;
  font-style: normal;
  white-space: nowrap;
}

.upgrade-plan-price small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  text-align: right;
}

.upgrade-confirmation {
  display: grid;
  grid-template-columns: minmax(180px, .65fr) minmax(320px, 1.35fr);
  gap: 20px;
  align-items: center;
  border: 1px solid #a9c0fb;
  background: #f7f9ff;
}

.upgrade-confirmation > div:first-child { display: grid; gap: 3px; }
.upgrade-confirmation > div:first-child span,
.upgrade-confirmation > div:first-child small { color: var(--muted); }
.upgrade-confirmation > div:first-child strong { color: var(--accent-dark); font-size: 30px; }
.upgrade-confirmation .actions { grid-column: 1 / -1; margin: 0; }

.support-thread {
  display: grid;
  gap: 22px;
  padding: 18px 4px 26px;
}

.support-message {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.support-message.is-mine { flex-direction: row-reverse; }

.support-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border: 1px solid #dde5f2;
  border-radius: 10px;
  color: #315caa;
  background: #edf3ff;
  font-size: 13px;
}

.support-message.is-mine .support-avatar {
  border-color: #d7f2e5;
  color: #067647;
  background: #ecfdf3;
}

.support-message-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: min(78%, 720px);
}

.support-message.is-mine .support-message-content { align-items: flex-end; }

.support-message-meta {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 3px 6px;
  color: #667085;
  font-size: 10px;
}

.support-message-meta strong { color: #344054; font-size: 11px; }

.support-message-bubble {
  max-width: 100%;
  padding: 13px 15px;
  border: 1px solid #e1e7ef;
  border-radius: 5px 15px 15px 15px;
  color: #344054;
  background: #f7f9fc;
  box-shadow: 0 4px 12px rgba(16, 24, 40, .035);
}

.support-message.is-mine .support-message-bubble {
  border-color: #315fc1;
  border-radius: 15px 5px 15px 15px;
  color: #fff;
  background: linear-gradient(135deg, #174da9, #155eef);
  box-shadow: 0 7px 18px rgba(21, 94, 239, .16);
}

.support-message-body {
  font-size: 13px;
  line-height: 1.62;
  overflow-wrap: anywhere;
}

.support-attachments {
  display: grid;
  grid-template-columns: repeat(2, minmax(130px, 1fr));
  gap: 8px;
  margin-top: 11px;
}

.support-message-bubble > .support-attachments:first-child { margin-top: 0; }

.support-attachment {
  position: relative;
  display: block;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 9px;
  color: #344054;
  background: #fff;
}

.support-attachment img {
  display: block;
  width: 100%;
  height: 128px;
  object-fit: cover;
  background: #eef2f6;
  transition: transform .2s ease;
}

.support-attachment:hover img { transform: scale(1.025); }

.support-attachment > span {
  display: block;
  min-width: 0;
  padding: 8px 30px 8px 9px;
}

.support-attachment strong,
.support-attachment small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.support-attachment strong { font-size: 10px; }
.support-attachment small { margin-top: 2px; color: #7b8494; font-size: 9px; }
.support-attachment > i { position: absolute; right: 9px; bottom: 14px; color: #667085; font-size: 10px; }

.support-reply-composer {
  margin: 10px -22px -22px;
  padding: 19px 22px 22px;
  border-top: 1px solid #e6eaf0;
  border-radius: 0 0 10px 10px;
  background: #f8fafc;
}

.support-reply-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 13px;
}

.support-reply-heading > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  color: #315caa;
  background: #e9f0ff;
}

.support-reply-heading strong,
.support-reply-heading small { display: block; }
.support-reply-heading strong { color: #344054; font-size: 13px; }
.support-reply-heading small { margin-top: 2px; color: #768196; font-size: 10px; }

.support-composer-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.support-composer-actions > span {
  color: #7b8494;
  font-size: 10px;
}

.support-composer-actions button { min-width: 135px; }

.support-closed-note,
.support-help-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px;
  border: 1px solid #e0e5ed;
  border-radius: 9px;
  color: #475467;
  background: #f8fafc;
}

.support-closed-note { margin-top: 14px; }
.support-help-note { border-color: #dce7fa; background: #f4f8ff; }
.support-closed-note > i,
.support-help-note > i { margin-top: 2px; color: #5f7eb5; }
.support-closed-note strong,
.support-help-note strong { color: #344054; font-size: 12px; }
.support-closed-note p,
.support-help-note p { margin: 3px 0 0; color: #667085; font-size: 11px; line-height: 1.45; }

.support-detail-list {
  display: grid;
  gap: 0;
  margin: 0;
}

.support-detail-list > div {
  padding: 11px 0;
  border-bottom: 1px solid #edf0f4;
}

.support-detail-list > div:first-child { padding-top: 0; }
.support-detail-list > div:last-child { padding-bottom: 0; border-bottom: 0; }

.support-detail-list dt {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #7a8598;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.support-detail-list dt i { width: 12px; color: #91a0b7; text-align: center; }

.support-detail-list dd {
  margin: 5px 0 0 19px;
  color: #344054;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.support-technical-details {
  display: grid;
  gap: 12px;
  margin-top: 17px;
  padding-top: 15px;
  border-top: 1px solid #e7ebf0;
}

.support-technical-details h3 {
  margin: 0;
  color: #344054;
  font-size: 12px;
}

.support-technical-details strong {
  color: #7a8598;
  font-size: 9px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.support-technical-details p {
  margin: 3px 0 0;
  color: #475467;
  font-size: 11px;
  line-height: 1.5;
}

.support-manage-card {
  border-top: 3px solid #155eef;
}

@media (max-width: 1100px) {
  .stats {
    grid-template-columns: repeat(2, minmax(170px, 1fr));
  }

  .support-admin-welcome + .support-stats,
  .support-stats {
    grid-template-columns: repeat(2, minmax(150px, 1fr));
  }

  .support-page-grid,
  .support-detail-layout {
    grid-template-columns: 1fr;
  }

  .support-new-ticket,
  .support-detail-sidebar {
    position: static;
  }

  .support-filter-grid {
    grid-template-columns: repeat(3, minmax(130px, 1fr));
  }
}

@media (max-width: 900px) {
  .topbar {
    position: static;
    height: auto;
    padding: 14px;
    align-items: flex-start;
    flex-direction: column;
  }

  .sidebar {
    position: static;
    z-index: auto;
    width: auto;
    max-height: none;
    padding: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    overscroll-behavior-y: auto;
    scrollbar-gutter: auto;
    touch-action: pan-x;
  }

  .side-nav {
    display: flex;
    gap: 8px;
    min-width: max-content;
  }

  .side-nav form {
    margin: 0;
  }

  .side-nav a,
  .side-nav button {
    white-space: nowrap;
  }

  .app {
    padding: 0;
  }

  .hero {
    align-items: flex-start;
    flex-direction: column;
    padding: 20px 16px;
  }

  main {
    padding: 14px;
  }

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

  .upgrade-plan-grid,
  .upgrade-addon-grid,
  .upgrade-confirmation {
    grid-template-columns: 1fr;
  }

  .upgrade-confirmation .actions { grid-column: auto; }

  .trial-dashboard-notice,
  .upgrade-hero,
  .upgrade-processing {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .portal-public {
    background: #eef3f8;
  }

  .portal-public .app {
    padding: 16px;
  }

  .support-welcome {
    grid-template-columns: 52px 1fr;
    min-height: 0;
    padding: 22px;
  }

  .support-welcome-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    font-size: 21px;
  }

  .support-welcome > .button,
  .support-live-indicator {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .support-welcome-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

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

  .support-admin-create-submit {
    align-items: stretch;
    flex-direction: column;
  }

  .support-stats,
  .support-admin-welcome + .support-stats,
  .support-admin-create + .support-stats {
    grid-template-columns: 1fr 1fr;
  }

  .support-filter-bar,
  .support-filter-grid {
    grid-template-columns: 1fr;
  }

  .support-filter-actions { grid-column: auto; justify-content: stretch; }
  .support-filter-actions > * { flex: 1; }

  .support-detail-title-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .support-detail-badges { justify-content: flex-start; }

  .support-message-content { width: calc(100% - 44px); }

  .support-attachments { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .trial-dashboard-notice,
  .upgrade-hero,
  .upgrade-processing {
    display: grid;
    grid-template-columns: 1fr;
  }

  .trial-dashboard-notice .button,
  .upgrade-hero .button,
  .upgrade-processing .button { width: 100%; }

  .upgrade-plan-card,
  .upgrade-addon-card { padding: 14px; }

  .upgrade-plan-price,
  .upgrade-addon-card > em { white-space: normal; }

  .support-stats,
  .support-admin-welcome + .support-stats,
  .support-form-row {
    grid-template-columns: 1fr;
  }

  .support-ticket-card {
    grid-template-columns: 4px minmax(0, 1fr);
    padding-right: 12px;
  }

  .support-ticket-side {
    grid-column: 2;
    align-items: center;
    flex-direction: row;
    padding-top: 0;
  }

  .support-upload-field {
    grid-template-columns: 40px 1fr;
  }

  .support-upload-action { grid-column: 1 / -1; text-align: center; }

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

  .support-composer-actions button { width: 100%; }

  .support-attachments { grid-template-columns: 1fr; }
}

.trial-status-banner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin-bottom: 20px;
  padding: 16px 18px;
  border: 1px solid #bfd3ff;
  border-radius: 10px;
  background: #edf4ff;
  box-shadow: var(--shadow);
}

.trial-status-cancel_pending { border-color: #fedf89; background: #fffaeb; }
.trial-status-expired, .trial-status-payment_problem { border-color: #fecdca; background: #fff1f0; }
.trial-status-icon { color: var(--accent); font-size: 24px; }
.trial-status-expired .trial-status-icon, .trial-status-payment_problem .trial-status-icon { color: var(--danger); }
.trial-status-copy { display: grid; gap: 4px; }
.trial-status-copy span { color: var(--muted); font-size: 14px; }
.trial-status-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }

.trial-dashboard,
.trial-usage,
.trial-billing-card {
  margin-bottom: 22px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.trial-progress-track {
  height: 9px;
  margin: 10px 0 18px;
  overflow: hidden;
  border-radius: 99px;
  background: #e9edf4;
}

.trial-progress-track span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--brand-start), var(--accent)); }
.trial-checklist { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; }
.trial-checklist a, .trial-checklist > div { display: grid; grid-template-columns: auto 1fr; gap: 4px 9px; align-items: center; padding: 13px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); text-decoration: none; }
.trial-checklist .complete { border-color: #abefc6; background: #ecfdf3; }
.trial-checklist a > i, .trial-checklist > div > i { color: #98a2b3; }
.trial-checklist .complete > i { color: var(--success); }
.trial-checklist small { grid-column: 2; color: var(--accent); }
.trial-usage-stats { margin-bottom: 18px; }
.trial-chart-card { padding: 16px; border: 1px solid var(--line); border-radius: 8px; }
.trial-chart-head, .trial-chart-legend { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 13px; }
.trial-chart { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; height: 170px; margin: 18px 0 10px; }
.trial-chart-day { display: grid; grid-template-rows: 1fr auto; gap: 7px; min-width: 0; text-align: center; }
.trial-chart-bars { display: flex; gap: 4px; align-items: end; justify-content: center; min-height: 130px; }
.trial-chart-bars span { width: min(18px, 38%); min-height: 3px; border-radius: 4px 4px 0 0; }
.trial-chart-bars .calls, .trial-chart-legend i.calls { background: var(--accent); }
.trial-chart-bars .minutes, .trial-chart-legend i.minutes { background: var(--brand-start); }
.trial-chart-legend { justify-content: flex-start; }
.trial-chart-legend span { display: flex; gap: 6px; align-items: center; }
.trial-chart-legend i { width: 9px; height: 9px; border-radius: 50%; }
.trial-billing-card { display: grid; grid-template-columns: minmax(220px, .8fr) minmax(300px, 1.2fr); gap: 24px; align-items: start; }
.trial-billing-card h2 { margin-bottom: 5px; }
.trial-billing-card dl { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0; }
.trial-billing-card dl div { padding: 12px; border-radius: 7px; background: var(--paper); }
.trial-billing-card dt { color: var(--muted); font-size: 12px; text-transform: uppercase; }
.trial-billing-card dd { margin: 4px 0 0; font-weight: 700; }
.trial-billing-card form { grid-column: 1 / -1; }

@media (max-width: 760px) {
  .trial-status-banner, .trial-billing-card { grid-template-columns: 1fr; }
  .trial-status-actions { justify-content: stretch; }
  .trial-status-actions .button { flex: 1; text-align: center; }
  .trial-billing-card dl { grid-template-columns: 1fr; }
  .trial-chart { gap: 6px; }
  .trial-chart-head { align-items: flex-start; flex-direction: column; }
}
