:root {
  color-scheme: light;
  --bg: #f5f7fb;
  --panel: #ffffff;
  --ink: #172033;
  --muted: #62708a;
  --line: #dbe2ee;
  --brand: #0a73e8;
  --brand-dark: #0759b5;
  --success: #0f8a5f;
  --warn: #a36300;
  --danger: #c73535;
  --focus: rgba(10, 115, 232, 0.2);
  --font-sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.hidden {
  display: none !important;
}

.auth-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 15% 10%, rgba(10, 115, 232, 0.12), transparent 32%),
    radial-gradient(circle at 85% 90%, rgba(15, 138, 95, 0.09), transparent 30%),
    linear-gradient(145deg, #f8fbff 0%, #f3f6fb 100%);
}

.public-shell {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 24px 28px 56px;
}

.public-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.public-about-shell,
.public-pricing-shell {
  padding-top: 18px;
}

.public-site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 0 24px;
}

.public-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
}

.public-brand > span:last-child {
  display: grid;
  line-height: 1.2;
}

.public-brand strong {
  font-size: 18px;
}

.public-brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
}

.public-brand .brand-mark {
  width: 40px;
  height: 40px;
  flex-basis: 40px;
}

.public-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.public-nav > a:not(.button-link) {
  border-radius: 6px;
  padding: 8px 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.public-nav > a:not(.button-link):hover,
.public-nav > a.active {
  background: #e8f1ff;
  color: var(--brand-dark);
}

.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
  align-items: center;
  gap: 54px;
  min-height: 520px;
  border: 1px solid #d8e5f5;
  border-radius: 24px;
  padding: 56px;
  background:
    radial-gradient(circle at 90% 10%, rgba(10, 115, 232, 0.13), transparent 34%),
    linear-gradient(145deg, #ffffff, #f4f8ff);
  box-shadow: 0 24px 60px rgba(23, 32, 51, 0.08);
}

.about-hero-content {
  display: grid;
  align-content: center;
  gap: 20px;
}

.about-eyebrow {
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-hero h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(36px, 5vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.about-hero-content > p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

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

.about-actions .button-link {
  min-height: 44px;
  padding: 11px 18px;
}

.about-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 18px;
  color: #46536a;
  font-size: 12px;
  font-weight: 700;
}

.about-highlights span::before {
  content: "✓";
  margin-right: 6px;
  color: var(--success);
}

.about-product-preview {
  border: 1px solid #d5deeb;
  border-radius: 16px;
  padding: 20px;
  background: #fff;
  box-shadow: 0 22px 50px rgba(23, 32, 51, 0.14);
}

.preview-topline {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 17px;
  border-bottom: 1px solid var(--line);
}

.preview-topline .status {
  margin-left: auto;
}

.preview-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 5px #e8f1ff;
}

.preview-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 20px 0 14px;
}

.preview-stats div {
  display: grid;
  gap: 4px;
}

.preview-stats span,
.preview-list small {
  color: var(--muted);
  font-size: 11px;
}

.preview-stats strong {
  font-size: 22px;
}

.preview-progress {
  height: 7px;
  overflow: hidden;
  border-radius: 99px;
  background: #e8edf4;
}

.preview-progress span {
  display: block;
  width: 69%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand), #39a0ff);
}

.preview-list {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.preview-list > div {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  border: 1px solid #e2e8f1;
  border-radius: 9px;
  padding: 10px;
}

.preview-list > div > span:nth-child(2) {
  display: grid;
}

.preview-list b {
  color: var(--brand-dark);
  font-size: 11px;
}

.preview-icon {
  display: inline-grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 7px;
  background: #e8f1ff;
  color: var(--brand-dark);
  font-size: 11px;
  font-weight: 800;
}

.about-section {
  padding: 88px 0 72px;
}

.about-section-heading {
  max-width: 680px;
  margin: 0 auto 34px;
  text-align: center;
}

.about-section-heading h2,
.about-workflow h2,
.about-cta h2 {
  margin: 8px 0 10px;
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.about-section-heading p,
.about-cta p,
.workflow-list p {
  margin: 0;
  color: var(--muted);
}

.about-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.about-feature-card {
  min-height: 210px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
  background: #fff;
}

.feature-number {
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
}

.about-feature-card h3 {
  margin: 28px 0 8px;
  font-size: 17px;
}

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

.about-workflow {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 60px;
  border-radius: 20px;
  padding: 46px;
  background: #172033;
  color: #fff;
}

.about-workflow .about-eyebrow {
  color: #70b5ff;
}

.workflow-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.workflow-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.workflow-list li:last-child {
  border-bottom: 0;
}

.workflow-list li > span {
  display: inline-grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 8px;
  background: var(--brand);
  font-size: 12px;
  font-weight: 800;
}

.workflow-list strong {
  font-size: 15px;
}

.workflow-list p {
  margin-top: 3px;
  color: #aeb9cb;
  font-size: 12px;
}

.about-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 28px;
  border: 1px solid #cfe0f5;
  border-radius: 18px;
  padding: 34px 38px;
  background: #edf5ff;
}

.about-cta h2 {
  font-size: 24px;
}

.pricing-hero {
  display: grid;
  justify-items: center;
  border: 1px solid #d8e5f5;
  border-radius: 24px;
  padding: 62px 28px 58px;
  background:
    radial-gradient(circle at 50% 0%, rgba(10, 115, 232, 0.14), transparent 42%),
    linear-gradient(145deg, #ffffff, #f4f8ff);
  text-align: center;
  box-shadow: 0 24px 60px rgba(23, 32, 51, 0.08);
}

.pricing-hero h1 {
  max-width: 720px;
  margin: 12px 0 14px;
  font-size: clamp(36px, 5vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.pricing-hero p {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.pricing-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 26px;
}

.pricing-hero-actions .button-link {
  min-height: 44px;
  padding: 11px 18px;
}

.pricing-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.pricing-benefits div {
  display: grid;
  gap: 3px;
  padding: 20px 24px;
  border-right: 1px solid var(--line);
}

.pricing-benefits div:last-child {
  border-right: 0;
}

.pricing-benefits strong {
  font-size: 14px;
}

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

.public-pricing-section {
  padding: 82px 0 46px;
}

.pricing-section-heading {
  margin-bottom: 38px;
}

.public-pricing-grid {
  align-items: stretch;
}

.public-pricing-grid .pricing-card {
  position: relative;
  min-height: 355px;
  align-content: start;
  border-radius: 14px;
  padding: 24px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(23, 32, 51, 0.06);
}

.public-pricing-grid .pricing-card.featured {
  border-color: var(--brand);
  box-shadow: 0 18px 42px rgba(10, 115, 232, 0.16);
}

.pricing-popular {
  position: absolute;
  top: 0;
  right: 18px;
  border-radius: 0 0 7px 7px;
  padding: 5px 10px;
  background: var(--brand);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.public-pricing-grid .pricing-head h3 {
  font-size: 20px;
}

.public-pricing-grid .pricing-price {
  margin-top: 18px;
  font-size: 30px;
  letter-spacing: -0.025em;
}

.pricing-duration {
  margin-top: 2px;
  color: var(--muted);
  font-size: 13px;
}

.public-pricing-grid .pricing-features {
  margin-top: auto;
}

.public-pricing-grid .pricing-features div {
  padding: 12px 0 2px;
}

.pricing-select-button {
  width: 100%;
  min-height: 42px;
  justify-content: center;
  margin-top: 2px;
}

.pricing-note {
  max-width: 720px;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.pricing-cta {
  margin-top: 0;
}

.auth-panel {
  width: min(480px, 100%);
  background: var(--panel);
  border: 1px solid rgba(207, 219, 235, 0.9);
  border-radius: 18px;
  padding: 30px;
  display: grid;
  gap: 24px;
  box-shadow: 0 24px 64px rgba(23, 32, 51, 0.12);
}

.auth-heading {
  display: grid;
  gap: 14px;
  text-align: center;
}

.auth-heading .muted {
  margin-top: 0;
  font-size: 13px;
}

.auth-heading a {
  color: var(--brand-dark);
  font-weight: 700;
  text-decoration: none;
}

.auth-heading a:hover {
  text-decoration: underline;
}

.auth-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: left;
}

.auth-brand > span:last-child {
  display: grid;
  gap: 1px;
}

.auth-brand strong {
  color: var(--ink);
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.auth-brand small {
  color: var(--muted);
  font-size: 12px;
}

.brand-mark {
  display: inline-grid;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
}

.brand-mark svg {
  width: 100%;
  height: 100%;
}

.brand-mark rect {
  fill: var(--brand);
}

.brand-mark path:not(.brand-mark-lines) {
  fill: #fff;
}

.brand-mark-lines {
  fill: none;
  stroke: var(--brand);
  stroke-linecap: round;
  stroke-width: 4;
}

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

.auth-form-heading {
  display: grid;
  gap: 5px;
  margin-bottom: 2px;
}

.auth-form-heading h1 {
  font-size: 24px;
}

.auth-form-heading p {
  color: var(--muted);
  font-size: 13px;
}

.auth-form label {
  color: var(--ink);
  font-size: 13px;
}

.auth-form input {
  min-height: 44px;
}

.auth-submit {
  width: 100%;
  min-height: 44px;
  margin-top: 2px;
}

.password-field {
  position: relative;
  display: block;
}

.password-field input {
  padding-right: 68px;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 6px;
  min-height: 32px;
  transform: translateY(-50%);
  border-radius: 5px;
  padding: 5px 9px;
  background: transparent;
  color: var(--brand-dark);
  font-size: 12px;
}

.password-toggle:hover {
  background: #e8f1ff;
}

.auth-feedback {
  border: 1px solid #efb6b6;
  border-radius: 8px;
  background: #fff2f2;
  color: #9f2828;
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.45;
}

.auth-feedback.success {
  border-color: #a9ddc8;
  background: #eefaf5;
  color: #08704b;
}

.auth-form-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 2px;
}

.link-button {
  border: 0;
  background: transparent;
  color: var(--brand-dark);
  padding: 0;
  justify-self: start;
  min-height: auto;
  font-size: 13px;
}

.link-button:hover {
  background: transparent;
  color: var(--brand);
  text-decoration: underline;
}

.app-shell {
  width: 100%;
  margin: 0;
  padding: 20px 28px 56px;
}

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

.topbar-heading {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
}

.topbar-heading h1 {
  font-size: 24px;
}

.topbar-heading p {
  font-size: 13px;
}

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

.mobile-menu-button {
  display: none;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  padding: 9px;
}

.mobile-menu-button svg,
.nav-button svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.mobile-menu-button svg {
  width: 24px;
  height: 24px;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 1px solid #b8d5f6;
  border-radius: 6px;
  padding: 7px 11px;
  background: #f4f8ff;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.contact-link:hover {
  border-color: var(--brand);
  background: #e8f1ff;
}

.user-menu {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 5px 6px 5px 7px;
}

.user-avatar {
  display: inline-grid;
  width: 31px;
  height: 31px;
  flex: 0 0 31px;
  place-items: center;
  border-radius: 9px;
  background: #e8f1ff;
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 800;
}

.user-menu-text {
  display: grid;
  min-width: 0;
  gap: 1px;
}

.user-menu-text strong {
  max-width: 180px;
  overflow: hidden;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-menu-text small {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.2;
}

.user-logout-button {
  min-height: 30px;
  border-left: 1px solid var(--line);
  border-radius: 0 6px 6px 0;
  background: transparent;
  color: var(--muted);
  padding: 5px 8px 5px 10px;
  font-size: 11px;
}

.user-logout-button:hover {
  background: #f5f7fb;
  color: var(--danger);
}

.app-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.sidebar {
  position: sticky;
  top: 14px;
  display: grid;
  gap: 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 4px 18px rgba(23, 32, 51, 0.04);
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  padding: 3px 4px 12px;
  border-bottom: 1px solid var(--line);
}

.sidebar-brand-mark {
  display: inline-grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
}

.sidebar-brand-mark svg {
  width: 100%;
  height: 100%;
}

.sidebar-brand-mark rect {
  fill: var(--brand);
}

.sidebar-brand-mark path:not(.sidebar-brand-lines) {
  fill: #fff;
}

.sidebar-brand-lines {
  fill: none;
  stroke: var(--brand);
  stroke-linecap: round;
  stroke-width: 4;
}

.sidebar-brand > span:last-child {
  display: grid;
  min-width: 0;
  gap: 1px;
}

.sidebar-brand strong {
  font-size: 14px;
  line-height: 1.2;
}

.sidebar-brand small {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.sidebar-nav {
  display: grid;
  gap: 5px;
}

.sidebar-label {
  padding: 8px 9px 3px;
  color: #8a95a8;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-button {
  position: relative;
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 42px;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  padding: 9px 10px;
  text-align: left;
  font-size: 13px;
  font-weight: 650;
}

.nav-button svg {
  width: 20px;
  height: 20px;
  color: #718096;
}

.nav-button:hover {
  background: #f2f6fc;
}

.nav-button.active {
  background: #e8f1ff;
  color: var(--brand-dark);
}

.nav-button.active::before {
  position: absolute;
  inset: 8px auto 8px 0;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--brand);
  content: "";
}

.nav-button.active svg {
  color: var(--brand);
}

.nav-badge {
  min-width: 20px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  padding: 2px 6px;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.4;
  text-align: center;
}

.sidebar-backdrop {
  display: none;
}

.content {
  min-width: 0;
  max-width: 1480px;
}

.page-section {
  min-width: 0;
}

.plan-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #f4f8ff;
  border: 1px solid #cfe1f7;
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 16px;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  font-size: clamp(26px, 2.4vw, 32px);
  line-height: 1.18;
  letter-spacing: -0.025em;
}

h2 {
  font-size: 19px;
  line-height: 1.3;
  letter-spacing: -0.012em;
}

.topbar p,
.muted {
  color: var(--muted);
  margin-top: 6px;
}

.grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 16px;
  margin-bottom: 16px;
}

.account-qr-grid {
  grid-template-columns: minmax(0, 3fr) minmax(220px, 1fr);
  align-items: start;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  margin-bottom: 16px;
}

.panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.row-form,
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}

.account-form {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.account-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.account-guide {
  border: 1px solid #f0c36a;
  border-radius: 8px;
  background: #fff8e6;
  color: #5c3f05;
  padding: 12px 14px;
  margin-bottom: 14px;
  font-size: 16px;
  line-height: 1.5;
}

.account-guide ol {
  margin: 8px 0;
  padding-left: 20px;
}

.account-guide p {
  margin: 0;
}

.proxy-expiry-summary {
  border: 1px solid #f0cf7a;
  border-radius: 8px;
  background: #fff8e5;
  color: #75510f;
  padding: 10px 12px;
  margin-bottom: 14px;
  font-size: 13px;
  line-height: 1.45;
}

.account-item {
  background: #fbfcfe;
}

.proxy-form {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.proxy-actions {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: nowrap;
}

.small-button {
  padding: 7px 9px;
  font-size: 12px;
}

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

.campaign-section {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.campaign-section-heading {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: #f8fafc;
}

.campaign-section-heading h3 {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.35;
  letter-spacing: -0.005em;
}

.campaign-section-heading p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
}

.campaign-section-number {
  display: grid;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.campaign-section-body {
  display: grid;
  gap: 16px;
  padding: 16px;
}

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

.campaign-input-card {
  display: grid;
  gap: 7px;
  align-content: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfe;
  padding: 14px;
  color: var(--ink);
}

.input-card-label {
  color: var(--ink);
}

.input-card-title {
  font-size: 14px;
  font-weight: 700;
}

.input-card-description,
.optional-text {
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.45;
}

.campaign-input-card .button-link {
  width: fit-content;
  margin-top: 2px;
}

.campaign-submit {
  display: flex;
  justify-content: flex-end;
  padding-top: 2px;
}

.campaign-submit .primary {
  min-width: 180px;
}

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

.campaign-note {
  border: 1px solid #cfe1f7;
  border-radius: 8px;
  background: #f4f8ff;
  color: #345173;
  padding: 12px;
  font-size: 13px;
  line-height: 1.45;
}

.campaign-guide {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid #f0c36a;
  border-radius: 8px;
  background: #fff8e6;
  color: #5c3f05;
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.5;
}

.campaign-guide > div {
  min-width: 0;
}

.campaign-guide p {
  margin-top: 2px;
  color: #75591d;
  font-size: 13px;
}

.campaign-guide details {
  flex: 0 0 auto;
}

.campaign-guide details[open] {
  flex-basis: 100%;
}

.campaign-guide summary,
.campaign-note-details summary {
  width: fit-content;
  cursor: pointer;
  color: var(--brand-dark);
  font-weight: 700;
}

.campaign-guide summary:hover,
.campaign-note-details summary:hover {
  color: var(--brand);
}

.campaign-guide ol {
  margin: 8px 0 0;
  padding-left: 20px;
}

.campaign-guide li + li {
  margin-top: 4px;
}

label,
.label-text {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.field-label {
  color: var(--ink);
  font-size: 14px;
}

.required-mark {
  color: var(--danger);
}

.field-help {
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.45;
}

.campaign-note-details {
  padding: 10px 12px;
}

.campaign-note-content {
  display: grid;
  gap: 7px;
  padding-top: 9px;
}

.campaign-note-content p {
  margin: 0;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  resize: vertical;
  transition: border-color 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
}

input:hover,
textarea:hover,
select:hover {
  border-color: #b9c5d6;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--focus);
  outline: none;
}

input:disabled,
textarea:disabled,
select:disabled {
  cursor: not-allowed;
  background: #f1f4f8;
  color: #7b8799;
  opacity: 1;
}

button,
.button-link {
  border: 0;
  border-radius: 6px;
  padding: 10px 14px;
  background: var(--brand);
  color: #fff;
  cursor: pointer;
  font-weight: 700;
  white-space: nowrap;
  transition: background-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

button:hover,
.button-link:hover {
  background: var(--brand-dark);
}

button:focus-visible,
.button-link:focus-visible,
a:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

button:disabled,
button[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.55;
}

button:disabled:hover,
button[aria-disabled="true"]:hover {
  background: var(--brand);
}

.button-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.icon-button {
  width: 38px;
  height: 38px;
  padding: 0;
}

.primary {
  width: fit-content;
}

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

.item {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  display: grid;
  gap: 10px;
}

.item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

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

.item-actions.nowrap {
  flex-wrap: nowrap;
}

.secondary {
  background: #eef3fb;
  color: var(--ink);
}

.secondary:hover {
  background: #dce8f8;
}

.danger {
  background: #f8e8e8;
  color: var(--danger);
}

.danger:hover {
  background: #f1d4d4;
}

.status {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
  background: #eef3fb;
  color: var(--muted);
}

.status.ok {
  color: var(--success);
  background: #e8f6ef;
}

.status.warn {
  color: var(--warn);
  background: #fff4df;
}

.status.bad {
  color: var(--danger);
  background: #fbeaea;
}

.qr-box {
  min-height: 220px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--muted);
  padding: 16px;
}

.qr-box img {
  width: min(200px, 100%);
  aspect-ratio: 1;
}

.choice-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.choice-list label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 10px;
  color: var(--ink);
  font-weight: 400;
}

.choice-list input {
  width: auto;
}

.inbox-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.55fr);
  gap: 14px;
  margin-top: 14px;
}

.inbox-filter-toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) minmax(150px, 0.8fr) minmax(180px, 1fr) auto auto;
  gap: 10px;
  align-items: center;
  margin-top: 12px;
}

.inbox-filter-toolbar .muted {
  margin-top: 0;
  white-space: nowrap;
}

.inbox-unread-filter {
  min-height: 40px;
}

.quick-reply-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
}

.quick-reply-manager {
  display: grid;
  gap: 12px;
  margin-top: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f8fafc;
  padding: 12px;
}

.quick-reply-form {
  display: grid;
  grid-template-columns: minmax(180px, 0.7fr) minmax(280px, 1.3fr) auto;
  gap: 10px;
  align-items: end;
}

.quick-reply-list {
  display: grid;
  gap: 8px;
}

.quick-reply-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.quick-reply-item p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  white-space: pre-wrap;
}

.inbox-threads {
  min-height: 260px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbfcfe;
  padding: 12px;
}

.inbox-messages {
  min-height: 180px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbfcfe;
  padding: 12px;
}

.inbox-threads {
  display: grid;
  align-content: start;
  gap: 8px;
  max-height: 640px;
  overflow: auto;
}

.inbox-thread {
  display: grid;
  gap: 6px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  padding: 12px;
  text-align: left;
  white-space: normal;
  box-shadow: 0 1px 2px rgba(23, 32, 51, 0.04);
}

.inbox-thread:hover,
.inbox-thread.active {
  border-color: var(--brand);
  background: #f4f8ff;
}

.inbox-thread-title,
.inbox-detail-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.customer-label {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  padding: 4px 8px;
  background: #eef3fb;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.customer-label.interested {
  background: #e8f1ff;
  color: var(--brand-dark);
}

.customer-label.callback {
  background: #fff4df;
  color: var(--warn);
}

.customer-label.closed {
  background: #e8f6ef;
  color: var(--success);
}

.customer-label.not_interested {
  background: #f1f3f6;
  color: #5d6675;
}

.customer-label.blacklist {
  background: #fbeaea;
  color: var(--danger);
}

.inbox-detail-head {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 12px;
  background: #fff;
}

.inbox-detail-head h3 {
  margin: 0;
  font-size: 17px;
}

.inbox-customer-form {
  display: grid;
  grid-template-columns: minmax(160px, 0.6fr) minmax(260px, 1.4fr) auto;
  gap: 10px;
  align-items: end;
  margin-bottom: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f8fafc;
  padding: 10px;
}

.inbox-customer-form textarea {
  min-height: 42px;
}

.inbox-customer-form button {
  align-self: end;
}

.inbox-message-list {
  display: grid;
  align-content: start;
  gap: 5px;
  max-height: 420px;
  overflow-y: auto;
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(10, 115, 232, 0.04) 25%, transparent 25%) 0 0 / 18px 18px,
    linear-gradient(315deg, rgba(10, 115, 232, 0.04) 25%, transparent 25%) 0 0 / 18px 18px,
    #f3f6fb;
  padding: 10px;
}

.inbox-message-row {
  display: flex;
  width: 100%;
}

.inbox-message-row.in {
  justify-content: flex-start;
}

.inbox-message-row.out {
  justify-content: flex-end;
}

.inbox-message-bubble {
  display: grid;
  gap: 1px;
  max-width: min(68%, 560px);
  border: 1px solid #e2e9f3;
  border-radius: 12px 12px 12px 4px;
  background: #fff;
  color: var(--ink);
  padding: 6px 8px;
  font-size: 13px;
  line-height: 1.25;
  box-shadow: 0 2px 8px rgba(23, 32, 51, 0.06);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.inbox-message-content {
  margin: 0;
  line-height: 1.25;
  font-size: 14px;
}

.inbox-message-bubble small {
  display: block;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.1;
}

.inbox-message-row.out .inbox-message-bubble {
  border-color: #0a73e8;
  border-radius: 12px 12px 4px 12px;
  background: #0a73e8;
  color: #fff;
}

.inbox-message-row.out .inbox-message-bubble small {
  color: rgba(255, 255, 255, 0.78);
}

.inbox-empty-state {
  display: grid;
  min-height: 180px;
  place-content: center;
  gap: 6px;
  text-align: center;
}

.inbox-reply-form {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.inbox-quick-reply-picker {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  gap: 8px;
}

.inbox-reply-form .item-actions {
  justify-content: flex-end;
}

.inbox-sync.warn {
  border-color: #f0c36a;
  background: #fff8e6;
  color: #5c3f05;
}

.inbox-summary {
  display: grid;
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.inbox-summary article {
  display: grid;
  gap: 5px;
  border: 1px solid #e1e8f2;
  border-radius: 12px;
  background: linear-gradient(145deg, #fff, #f7f9fc);
  padding: 12px 14px;
}

.inbox-summary span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.inbox-summary strong {
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
}

.quick-reply-manager-head,
.inbox-list-head,
.inbox-message-pagination,
.inbox-customer-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.quick-reply-manager-head p {
  margin: 3px 0 0;
}

.inbox-layout {
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 2fr);
  gap: 0;
  min-height: 680px;
  overflow: hidden;
  border: 1px solid #dce4ef;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(23, 32, 51, 0.07);
}

.inbox-list-panel {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  min-width: 0;
  border-right: 1px solid #dce4ef;
  background: #f8fafc;
}

.inbox-list-head {
  padding: 12px;
  border-bottom: 1px solid #e1e8f2;
  background: #fff;
}

.inbox-list-head > div {
  display: grid;
  gap: 2px;
}

.inbox-list-head select {
  width: auto;
  min-width: 110px;
  padding: 7px 28px 7px 9px;
  font-size: 12px;
}

.inbox-threads {
  gap: 0;
  min-height: 0;
  max-height: none;
  overflow-y: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
}

.inbox-thread {
  position: relative;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  border: 0;
  border-bottom: 1px solid #e7ecf3;
  border-radius: 0;
  padding: 12px;
  box-shadow: none;
}

.inbox-thread:hover,
.inbox-thread.active {
  border-color: #e7ecf3;
  background: #edf5ff;
}

.inbox-thread.active::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--brand);
  content: "";
}

.inbox-avatar {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: #deebff;
  color: var(--brand-dark);
  font-size: 14px;
  font-weight: 800;
}

.inbox-avatar.large {
  width: 44px;
  height: 44px;
  font-size: 16px;
}

.inbox-thread-body {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.inbox-thread-title {
  align-items: center;
}

.inbox-thread-title strong,
.inbox-thread-preview,
.inbox-thread-meta span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.inbox-thread-title time {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
}

.inbox-thread-preview {
  color: #485468;
  font-size: 13px;
}

.inbox-thread-meta {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 11px;
}

.inbox-thread-meta .customer-label {
  flex: 0 0 auto;
  padding: 2px 6px;
}

.inbox-unread-count {
  position: absolute;
  right: 12px;
  bottom: 11px;
  min-width: 19px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  padding: 2px 6px;
  font-size: 10px;
  font-weight: 800;
  text-align: center;
}

.inbox-list-empty {
  display: grid;
  min-height: 180px;
  place-content: center;
  gap: 5px;
  padding: 24px;
  text-align: center;
}

.inbox-pagination {
  display: flex;
  min-height: 51px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-top: 1px solid #e1e8f2;
  background: #fff;
  padding: 9px 12px;
  font-size: 12px;
}

.inbox-messages {
  min-width: 0;
  min-height: 0;
  border: 0;
  border-radius: 0;
  background: #fff;
  padding: 0;
}

.inbox-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 290px);
  min-height: 680px;
}

.inbox-conversation {
  display: grid;
  grid-template-rows: auto auto minmax(260px, 1fr) auto;
  min-width: 0;
  min-height: 0;
  border-right: 1px solid #dce4ef;
}

.inbox-detail-head {
  align-items: center;
  min-height: 69px;
  margin: 0;
  padding: 11px 16px;
}

.inbox-contact-heading {
  display: flex;
  align-items: center;
  gap: 10px;
}

.inbox-contact-heading p {
  margin: 3px 0 0;
  font-size: 12px;
}

.inbox-message-pagination {
  border-bottom: 1px solid #e7ecf3;
  background: #f8fafc;
  padding: 7px 12px;
  color: var(--muted);
  font-size: 11px;
}

.inbox-message-list {
  max-height: 468px;
  border-radius: 0;
  padding: 18px;
}

.inbox-reply-form {
  margin: 0;
  border-top: 1px solid #dce4ef;
  background: #fff;
  padding: 12px;
}

.inbox-reply-form textarea {
  min-height: 76px;
  resize: vertical;
}

.inbox-reply-form .item-actions {
  align-items: center;
  justify-content: space-between;
}

.inbox-customer-panel {
  min-width: 0;
  background: #f8fafc;
  padding: 16px;
}

.inbox-customer-panel-head {
  display: grid;
  justify-content: stretch;
  gap: 3px;
  padding-bottom: 13px;
  border-bottom: 1px solid #dce4ef;
}

.inbox-customer-panel-head span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.inbox-customer-facts {
  display: grid;
  gap: 0;
  margin: 12px 0;
}

.inbox-customer-facts div {
  display: grid;
  gap: 3px;
  border-bottom: 1px solid #e4eaf2;
  padding: 9px 0;
}

.inbox-customer-facts dt {
  color: var(--muted);
  font-size: 11px;
}

.inbox-customer-facts dd {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 12px;
  font-weight: 600;
}

.inbox-customer-form {
  grid-template-columns: 1fr;
  align-items: stretch;
  gap: 10px;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
}

.inbox-customer-form textarea {
  min-height: 140px;
  resize: vertical;
}

.progress {
  height: 8px;
  background: #edf2f8;
  border-radius: 999px;
  overflow: hidden;
}

.progress span {
  display: block;
  height: 100%;
  background: var(--success);
}

.campaign-toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(180px, 220px) auto;
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
}

.inline-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  color: var(--ink);
  font-weight: 400;
}

.inline-check input {
  width: auto;
}

.campaign-table {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
  font-size: 13px;
}

.campaign-table th:last-child,
.campaign-table td.campaign-actions-cell {
  position: sticky;
  right: 0;
  z-index: 2;
  background: #fff;
  box-shadow: -8px 0 12px -12px rgba(23, 32, 51, 0.45);
}

.campaign-table th:last-child {
  z-index: 3;
  background: #f8fafc;
}

.campaign-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: max-content;
}

.admin-table {
  width: 100%;
  min-width: 1160px;
  border-collapse: collapse;
  font-size: 13px;
}

.admin-plan-control {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto;
  gap: 8px;
  align-items: center;
}

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

.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
}

.pagination-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.campaign-table th,
.admin-table th {
  background: #f8fafc;
  color: var(--muted);
  font-weight: 700;
}

.campaign-table tr:last-child td,
.admin-table tr:last-child td {
  border-bottom: 0;
}

.campaign-detail-row.hidden {
  display: none;
}

.campaign-detail-row td {
  background: #fbfdff;
  max-width: 0;
}

.mini-progress {
  height: 5px;
  background: #edf2f8;
  border-radius: 999px;
  overflow: hidden;
  margin-top: 8px;
  width: min(260px, 100%);
}

.mini-progress span {
  display: block;
  height: 100%;
  background: var(--success);
}

.load-more {
  margin-top: 12px;
}

.detail-box {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  margin-top: 4px;
  overflow: hidden;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.table-wrap.nested {
  max-width: 100%;
  border-color: #e4ebf5;
}

.detail-table {
  width: 100%;
  min-width: 860px;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 13px;
}

.detail-table th:nth-child(1) {
  width: 130px;
}

.detail-table th:nth-child(2) {
  width: 110px;
}

.detail-table th:nth-child(3) {
  width: 190px;
}

.detail-table th:nth-child(4) {
  width: 170px;
}

.detail-table th:nth-child(5) {
  width: auto;
}

.account-table {
  width: 100%;
  min-width: 1260px;
  border-collapse: collapse;
  font-size: 13px;
}

.account-table th,
.account-table td,
.detail-table th,
.detail-table td {
  border-bottom: 1px solid var(--line);
  padding: 10px;
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.account-table th,
.detail-table th {
  background: #f8fafc;
  color: var(--muted);
  font-weight: 700;
}

.account-table tr:last-child td,
.detail-table tr:last-child td {
  border-bottom: 0;
}

.account-inbox-toggle {
  display: grid;
  grid-template-columns: auto minmax(105px, 1fr);
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.account-inbox-toggle input {
  width: 17px;
  height: 17px;
  margin: 0;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

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

.profile-label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}

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

.pricing-card.active {
  border-color: var(--brand);
  background: #f4f8ff;
}

.pricing-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.pricing-head h3 {
  margin: 0;
  font-size: 18px;
}

.pricing-price {
  margin-top: 12px;
  font-size: 26px;
  font-weight: 800;
}

.pricing-features {
  display: grid;
  gap: 10px;
}

.pricing-features div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.pricing-features span {
  color: var(--muted);
}

@media (max-width: 820px) {
  body.menu-open {
    overflow: hidden;
  }

  .auth-shell {
    padding: 16px;
  }

  .auth-panel {
    padding: 22px 18px;
  }

  .public-shell {
    padding: 14px 14px 40px;
  }

  .public-site-header,
  .about-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .public-nav {
    width: 100%;
    flex-wrap: wrap;
  }

  .about-hero {
    grid-template-columns: 1fr;
    gap: 38px;
    min-height: 0;
    padding: 34px 24px;
  }

  .about-hero h1 {
    font-size: 36px;
  }

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

  .about-workflow {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 32px 24px;
  }

  .pricing-hero {
    padding: 44px 22px;
  }

  .pricing-hero h1 {
    font-size: 36px;
  }

  .pricing-benefits {
    grid-template-columns: 1fr;
  }

  .pricing-benefits div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .pricing-benefits div:last-child {
    border-bottom: 0;
  }

  .public-pricing-section {
    padding-top: 62px;
  }

  .campaign-guide {
    align-items: flex-start;
  }

  .campaign-guide details {
    flex-basis: 100%;
  }

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

  .topbar,
  .public-topbar,
  .grid,
  .form-grid,
  .row-form,
  .proxy-form,
  .campaign-toolbar,
  .pagination,
  .auth-panel,
  .recipient-methods,
  .inbox-layout,
  .inbox-customer-form,
  .inbox-filter-toolbar,
  .quick-reply-form,
  .inbox-quick-reply-picker {
    grid-template-columns: 1fr;
    display: grid;
  }

  .app-shell {
    padding: 14px 14px 40px;
  }

  .topbar {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding-bottom: 12px;
  }

  .topbar-heading {
    width: 100%;
  }

  .topbar-heading h1 {
    font-size: 21px;
  }

  .topbar-heading p {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-menu-button {
    display: inline-grid;
    place-items: center;
  }

  .topbar-actions {
    display: flex;
    width: 100%;
    justify-content: space-between;
  }

  .contact-link {
    min-height: 40px;
  }

  .user-menu {
    margin-left: auto;
  }

  .user-menu-text strong {
    max-width: 130px;
  }

  .inbox-filter-toolbar .muted {
    white-space: normal;
  }

  .quick-reply-item {
    display: grid;
  }

  .proxy-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .app-layout {
    grid-template-columns: 1fr;
    margin-left: 0;
  }

  .sidebar {
    position: fixed;
    z-index: 50;
    inset: 0 auto 0 0;
    width: min(286px, 86vw);
    align-content: start;
    overflow-y: auto;
    border-width: 0 1px 0 0;
    border-radius: 0 14px 14px 0;
    padding: 16px 12px;
    transform: translateX(-105%);
    transition: transform 180ms ease;
    box-shadow: 20px 0 50px rgba(23, 32, 51, 0.18);
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .sidebar-backdrop {
    position: fixed;
    z-index: 40;
    inset: 0;
    display: block;
    width: 100%;
    border-radius: 0;
    background: rgba(23, 32, 51, 0.42);
    padding: 0;
  }

  .sidebar-backdrop:hover {
    background: rgba(23, 32, 51, 0.42);
  }

  .nav-button {
    text-align: left;
  }

  .primary {
    width: 100%;
  }

  .campaign-submit .primary {
    min-width: 0;
  }

  .inbox-message-bubble {
    max-width: 100%;
  }

  .inbox-layout {
    overflow: visible;
  }

  .inbox-list-panel {
    min-height: 480px;
    border-right: 0;
    border-bottom: 1px solid #dce4ef;
  }

  .inbox-workspace {
    grid-template-columns: 1fr;
  }

  .inbox-conversation {
    border-right: 0;
  }

  .inbox-customer-panel {
    border-top: 1px solid #dce4ef;
  }
}

@media (max-width: 560px) {
  .about-feature-grid,
  .preview-stats {
    grid-template-columns: 1fr;
  }

  .about-feature-card {
    min-height: 0;
  }

  .preview-stats {
    gap: 12px;
  }

  .preview-stats div {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .preview-list > div {
    grid-template-columns: auto 1fr;
  }

  .preview-list b {
    grid-column: 2;
  }
}

@media (max-width: 520px) {
  .contact-link,
  .user-menu-text,
  .topbar-actions #workerStatus {
    display: none;
  }

  .topbar-actions {
    position: absolute;
    top: 14px;
    right: 14px;
    width: auto;
  }

  .topbar {
    position: relative;
    padding-right: 52px;
  }

  .user-menu {
    min-height: 42px;
    padding: 5px;
  }
}
