@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  --font-body: "Manrope", "Segoe UI", sans-serif;
  --font-display: "IBM Plex Sans", "Segoe UI", sans-serif;
  --bg: #f5f7fb;
  --bg-soft: #edf2f7;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --surface-muted: #f1f5f9;
  --line: #e2e8f0;
  --line-strong: #d4dde8;
  --text: #0f172a;
  --text-soft: #64748b;
  --brand: #12d6c5;
  --brand-strong: #08b8a8;
  --navy: #123a59;
  --navy-strong: #0d2f49;
  --navy-deep: #061827;
  --danger: #c7425f;
  --warning: #b88218;
  --success: #0d9f74;
  --shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(18, 214, 197, 0.06), transparent 24%),
    linear-gradient(180deg, #f7f9fc 0%, #f2f6fb 100%);
}

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

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

svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 258px minmax(0, 1fr);
}

.sidebar {
  position: sticky;
  top: 0;
  min-height: 100vh;
  padding: 26px 18px 18px;
  background:
    linear-gradient(180deg, rgba(8, 33, 54, 0.15), transparent 26%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-strong) 58%, #0b2b43 100%);
  color: #edf5fc;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, #ffffff 0%, #f7fbff 100%);
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 1.45rem;
  box-shadow: 0 10px 24px rgba(4, 12, 22, 0.28);
}

.brand-copy {
  display: grid;
  gap: 4px;
}

.brand-copy strong {
  font-family: var(--font-display);
  font-size: 1rem;
}

.brand-copy small {
  color: rgba(237, 245, 252, 0.7);
  font-size: 0.84rem;
}

.sidebar-context {
  padding: 15px 16px;
  border-radius: 16px;
  background: rgba(6, 24, 39, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 6px;
}

.sidebar-context strong {
  font-size: 1rem;
}

.sidebar-context span {
  color: rgba(237, 245, 252, 0.72);
  font-size: 0.88rem;
}

.sidebar-context-label,
.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 800;
}

.sidebar-context-label {
  color: rgba(237, 245, 252, 0.58);
}

.eyebrow {
  color: #7b8a9c;
}

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

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  color: rgba(237, 245, 252, 0.78);
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.nav-item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  transform: translateX(1px);
}

.nav-item.is-active {
  background: var(--navy-deep);
  color: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.nav-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 18px;
}

.nav-icon svg {
  width: 18px;
  height: 18px;
}

.content-shell {
  min-width: 0;
  padding: 22px 24px 28px;
  display: grid;
  gap: 18px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 0 18px;
  border-bottom: 1px solid var(--line);
}

.topbar-copy h1,
.panel-head h2,
.login-card h2,
.login-hero-copy h1 {
  margin: 4px 0 0;
  font-family: var(--font-display);
  line-height: 1.1;
}

.topbar-copy h1 {
  font-size: 2rem;
}

.topbar-tools {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.notification-wrap {
  position: relative;
}

.icon-btn {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: #2b3f55;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.03);
}

.icon-btn:hover {
  border-color: #bfd1e1;
  color: var(--navy);
}

.icon-btn svg {
  width: 18px;
  height: 18px;
}

.icon-badge {
  position: absolute;
  top: 7px;
  right: 6px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: #ea223f;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.icon-badge[hidden] {
  display: none;
}

.notification-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 320px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
  z-index: 30;
  display: grid;
  gap: 12px;
}

.notification-panel[hidden] {
  display: none;
}

.notification-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
}

.notification-list {
  display: grid;
  gap: 10px;
  max-height: 320px;
  overflow: auto;
}

.notification-item {
  padding: 12px 13px;
  border-radius: 14px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  display: grid;
  gap: 5px;
}

.notification-item strong {
  font-size: 0.92rem;
}

.profile-chip {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 8px 10px 8px 8px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.profile-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #e8fffd, #d4f6f2);
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 1rem;
}

.profile-copy {
  display: grid;
  gap: 3px;
}

.profile-copy strong {
  font-size: 0.92rem;
}

.profile-copy small,
.helper-text {
  color: var(--text-soft);
}

.helper-text {
  margin: 0;
  line-height: 1.5;
}

.btn {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  border-radius: 14px;
  padding: 11px 15px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
  border-color: #c9d7e4;
}

.btn:disabled {
  opacity: 0.6;
  cursor: progress;
  transform: none;
}

.btn-primary {
  border-color: transparent;
  color: #053138;
  background: linear-gradient(135deg, var(--brand) 0%, #86efe4 100%);
  box-shadow: 0 10px 20px rgba(18, 214, 197, 0.16);
}

.btn-secondary {
  background: var(--surface-soft);
}

.btn-quiet {
  background: transparent;
}

.btn-danger {
  background: rgba(199, 66, 95, 0.08);
  color: var(--danger);
  border-color: rgba(199, 66, 95, 0.14);
}

.btn-sm {
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 0.9rem;
}

.btn-block {
  width: 100%;
}

.page-shell {
  display: grid;
  gap: 18px;
}

.page-tabs {
  display: flex;
  gap: 22px;
  align-items: center;
  overflow-x: auto;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--line);
}

.page-tab {
  border: 0;
  background: transparent;
  padding: 0 0 12px;
  color: var(--text-soft);
  font-weight: 700;
  cursor: pointer;
  position: relative;
  white-space: nowrap;
}

.page-tab:hover {
  color: var(--text);
}

.page-tab.is-active {
  color: var(--text);
}

.page-tab.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  border-radius: 999px;
  background: var(--navy);
}

.tab-panel[hidden] {
  display: none !important;
}

.page-stack,
.activity-list,
.queue-list,
.tip-list {
  display: grid;
  gap: 18px;
}

.page-grid {
  display: grid;
  gap: 18px;
}

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

.campaign-grid {
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: start;
}

.preview-column {
  position: sticky;
  top: 22px;
  align-self: start;
}

.surface-panel,
.login-card,
.login-hero {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.surface-panel,
.login-card,
.login-hero {
  padding: 22px;
}

.panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.panel-head h2 {
  font-size: 1.3rem;
}

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

.summary-card {
  padding: 16px;
  border-radius: 18px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  display: grid;
  gap: 8px;
}

.summary-card strong {
  font-size: 1.7rem;
  font-family: var(--font-display);
}

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

.hero-card {
  position: relative;
  overflow: hidden;
  min-height: 214px;
  padding: 20px;
  border-radius: 20px;
  color: #ffffff;
  display: grid;
  align-content: space-between;
  gap: 20px;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 0 100%, rgba(255, 255, 255, 0.22), transparent 45%),
    repeating-radial-gradient(circle at 10% 10%, rgba(255, 255, 255, 0.16) 0 1px, transparent 1px 28px);
  opacity: 0.5;
}

.hero-card > * {
  position: relative;
  z-index: 1;
}

.hero-card.teal {
  background: linear-gradient(135deg, #5b53c5 0%, #7e78df 46%, #8fb1ff 100%);
}

.hero-card.blue {
  background: linear-gradient(135deg, #1185f0 0%, #2b95ff 42%, #61b8ff 100%);
}

.hero-card h3,
.hero-card p {
  margin: 0;
}

.hero-card-value {
  font-size: 2.2rem;
  font-family: var(--font-display);
}

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

.hero-card-grid strong {
  display: block;
  margin-top: 3px;
  font-size: 1rem;
}

.activity-card,
.list-card {
  padding: 16px 17px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--surface-soft);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.activity-card:hover,
.list-card:hover {
  background: #fbfdff;
}

.activity-card h5,
.activity-card p,
.list-card h5,
.list-card p {
  margin: 0;
}

.activity-card-copy {
  display: grid;
  gap: 6px;
}

.activity-card-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--text-soft);
  font-size: 0.86rem;
}

.selection-banner {
  padding: 15px 16px;
  border-radius: 18px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  line-height: 1.5;
}

.selection-banner-strong {
  border-color: rgba(18, 214, 197, 0.18);
  background: linear-gradient(180deg, #ffffff 0%, #effcf8 100%);
}

.banner-actions,
.toolbar-row,
.row-actions,
.composer-meta,
.pagination-actions,
.action-progress-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.stat-strip {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.stat-pill,
.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.84rem;
  font-weight: 800;
}

.stat-pill {
  background: var(--surface-soft);
  border-color: var(--line);
  color: var(--text-soft);
}

.status-chip.success {
  background: rgba(13, 159, 116, 0.12);
  color: var(--success);
}

.status-chip.warning {
  background: rgba(184, 130, 24, 0.12);
  color: var(--warning);
}

.status-chip.danger {
  background: rgba(199, 66, 95, 0.12);
  color: var(--danger);
}

.status-chip.neutral {
  background: rgba(100, 116, 139, 0.12);
  color: var(--text-soft);
}

.field {
  display: grid;
  gap: 8px;
}

.field span {
  font-weight: 700;
}

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

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: rgba(8, 184, 168, 0.42);
  box-shadow: 0 0 0 4px rgba(18, 214, 197, 0.12);
}

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

.field input:disabled,
.field textarea:disabled,
.field select:disabled {
  background: #f3f7fa;
  color: var(--text-soft);
}

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

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

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

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

.tip-item {
  padding: 16px;
  border-radius: 18px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  display: grid;
  gap: 6px;
}

.tip-item strong,
.selection-banner span,
.activity-card strong,
.list-card strong {
  font-size: 0.96rem;
}

.tip-item p,
.queue-card-message,
.sms-received-bubble p {
  margin: 0;
}

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

.data-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
}

.data-table th,
.data-table td {
  padding: 13px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.data-table th {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.76rem;
  color: var(--text-soft);
}

.data-table tbody tr:hover {
  background: #f9fcff;
}

.link-btn {
  border: 0;
  background: transparent;
  padding: 0;
  font-weight: 700;
  cursor: pointer;
  color: var(--navy);
}

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

.pagination-bar,
.pagination-preferences {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
  flex-wrap: wrap;
}

.pagination-meta,
.pagination-size {
  color: var(--text-soft);
  font-size: 0.9rem;
}

.page-size-select {
  min-width: 86px;
  border: 1px solid var(--line-strong);
  background: #ffffff;
  color: var(--text);
  border-radius: 12px;
  padding: 8px 12px;
}

.queue-card {
  padding: 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--surface-soft);
  display: grid;
  gap: 12px;
}

.queue-card-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.queue-card-meta {
  display: grid;
  gap: 4px;
}

.queue-card-message {
  padding: 13px 14px;
  border-radius: 16px 16px 16px 6px;
  background: #ffffff;
  border: 1px solid rgba(18, 58, 89, 0.08);
  line-height: 1.55;
  white-space: pre-wrap;
}

.queue-card-footer {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.upload-progress {
  display: grid;
  gap: 8px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--surface-soft);
}

.upload-progress[hidden] {
  display: none;
}

.progress-track {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: rgba(100, 116, 139, 0.12);
}

.progress-fill {
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand) 0%, #59ece0 100%);
  transition: width 0.18s ease;
}

.progress-fill.is-indeterminate {
  position: absolute;
  width: 36%;
  left: -36%;
  animation: progress-indeterminate 1.15s ease-in-out infinite;
}

.progress-fill.is-error {
  width: 100%;
  background: linear-gradient(90deg, #ff6d86 0%, #d53b5c 100%);
}

.progress-fill.is-success {
  background: linear-gradient(90deg, #0dc08b 0%, #57d7ab 100%);
}

@keyframes progress-indeterminate {
  0% {
    left: -36%;
  }

  100% {
    left: 100%;
  }
}

.action-progress-shell {
  display: grid;
  gap: 10px;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid rgba(18, 214, 197, 0.18);
  background: linear-gradient(180deg, #ffffff 0%, #f3fffb 100%);
  position: sticky;
  top: 18px;
  z-index: 20;
  box-shadow: 0 14px 30px rgba(8, 27, 44, 0.08);
}

.action-progress-shell[hidden] {
  display: none;
}

.action-progress-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.composer-meta {
  justify-content: space-between;
}

.preview-panel {
  display: grid;
  gap: 18px;
}

.phone-stage {
  display: flex;
  justify-content: center;
}

.phone-frame {
  position: relative;
  width: 100%;
  max-width: 288px;
  padding: 8px;
  border-radius: 36px;
  background: linear-gradient(180deg, #0a1119 0%, #172230 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 18px 34px rgba(15, 23, 42, 0.25);
}

.phone-camera {
  position: absolute;
  top: 12px;
  left: 50%;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle at 35% 35%, #36424c 0%, #091018 68%);
  z-index: 3;
}

.phone-screen {
  min-height: 544px;
  border-radius: 29px;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto auto 1fr;
  background: linear-gradient(180deg, #f7f9fc 0%, #edf2f7 100%);
}

.phone-statusbar {
  padding: 14px 16px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #102335;
  font-size: 0.84rem;
  font-weight: 800;
}

.phone-status-icons {
  display: flex;
  align-items: center;
  gap: 8px;
}

.signal-bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
}

.signal-bars i {
  width: 2px;
  border-radius: 999px;
  background: #102335;
  display: block;
}

.signal-bars i:nth-child(1) {
  height: 4px;
  opacity: 0.5;
}

.signal-bars i:nth-child(2) {
  height: 6px;
  opacity: 0.68;
}

.signal-bars i:nth-child(3) {
  height: 9px;
  opacity: 0.84;
}

.signal-bars i:nth-child(4) {
  height: 12px;
}

.wifi-icon {
  width: 12px;
  height: 9px;
  border: 2px solid #102335;
  border-top: 0;
  border-radius: 0 0 10px 10px;
  transform: rotate(180deg);
}

.battery-shell {
  width: 22px;
  height: 11px;
  border-radius: 3px;
  border: 1.6px solid #102335;
  padding: 1px;
  position: relative;
}

.battery-shell::after {
  content: "";
  position: absolute;
  right: -3px;
  top: 2px;
  width: 2px;
  height: 4px;
  border-radius: 0 2px 2px 0;
  background: #102335;
}

.battery-fill {
  display: block;
  width: 78%;
  height: 100%;
  border-radius: 2px;
  background: #102335;
}

.sms-appbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 14px;
  border-bottom: 1px solid rgba(16, 35, 53, 0.08);
}

.sms-back-icon {
  font-size: 1.4rem;
  line-height: 1;
  color: #102335;
}

.sms-sender-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #e1fffb 0%, #c8f4ef 100%);
  color: var(--navy);
  font-family: var(--font-display);
}

.sms-contact-meta {
  display: grid;
  gap: 2px;
}

.sms-contact-meta strong {
  color: #102335;
}

.sms-contact-meta p {
  margin: 0;
  color: #76889b;
  font-size: 0.8rem;
}

.sms-thread {
  padding: 18px 12px 16px;
  display: grid;
  align-content: start;
  gap: 14px;
  background:
    radial-gradient(circle at top right, rgba(176, 219, 255, 0.58), transparent 35%),
    linear-gradient(180deg, #f7f9fc 0%, #edf2f7 100%);
}

.sms-date-chip {
  justify-self: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(16, 35, 53, 0.08);
  color: #65778b;
  font-size: 0.75rem;
  font-weight: 800;
}

.sms-received-row {
  display: flex;
  justify-content: flex-start;
}

.sms-received-bubble {
  max-width: 88%;
  padding: 12px 13px 10px;
  border-radius: 18px 18px 18px 6px;
  background: #ffffff;
  color: #15263a;
  border: 1px solid rgba(16, 35, 53, 0.08);
  box-shadow: 0 12px 22px rgba(15, 23, 42, 0.08);
}

.sms-received-bubble p {
  white-space: pre-wrap;
  line-height: 1.5;
}

.sms-message-time {
  display: block;
  margin-top: 8px;
  color: #75869a;
  font-size: 0.74rem;
  text-align: right;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  max-width: 360px;
  padding: 12px 14px;
  border-radius: 16px;
  background: #102335;
  color: #ffffff;
  box-shadow: var(--shadow);
  z-index: 50;
}

.toast.is-error {
  background: #7d2140;
}

.empty-state {
  color: var(--text-soft);
}

.error-text,
.helper-text.is-error {
  color: var(--danger);
}

.helper-text.is-success {
  color: var(--success);
}

.login-page {
  min-height: 100vh;
  padding: 22px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at top left, rgba(18, 214, 197, 0.12), transparent 28%),
    linear-gradient(135deg, #f6f8fb 0%, #edf3f9 100%);
}

.login-layout {
  width: 100%;
  max-width: 1120px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 430px);
  gap: 20px;
}

.login-hero {
  background:
    radial-gradient(circle at top right, rgba(18, 214, 197, 0.14), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f4f8fc 100%);
  display: grid;
  gap: 22px;
}

.login-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.login-hero-copy {
  max-width: 520px;
}

.login-hero-copy p:last-child {
  margin: 14px 0 0;
  color: var(--text-soft);
  line-height: 1.7;
}

.login-card {
  align-self: center;
  display: grid;
  gap: 14px;
}

.login-card h2 {
  font-size: 1.8rem;
}

@media (max-width: 1260px) {
  .summary-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .preview-column {
    position: static;
  }
}

@media (max-width: 980px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    min-height: auto;
  }

  .page-grid.two-up,
  .form-grid.two,
  .form-grid.three,
  .hero-grid,
  .login-layout {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  .content-shell {
    padding: 18px 16px 24px;
  }

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

  .topbar-copy h1 {
    font-size: 1.7rem;
  }

  .selection-banner,
  .panel-head,
  .topbar-tools,
  .composer-meta,
  .pagination-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .profile-chip {
    width: 100%;
  }
}
