:root {
  --ink: #242a30;
  --muted: #616b75;
  --green: #e3f2fd;
  --cream: #f7f8fa;
  --line: #dfe4e9;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  font-synthesis: none
}

* {
  box-sizing: border-box
}

body {
  margin: 0;
  background: var(--cream);
  font-size: 14px;
  line-height: 1.6
}

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

button,
input,
textarea {
  font: inherit
}

button {
  cursor: pointer
}

button:disabled {
  opacity: .55;
  cursor: not-allowed
}

:focus-visible {
  outline: 3px solid #1976d2;
  outline-offset: 3px
}

[hidden] {
  display: none !important
}

h1,
h2,
h3,
p {
  margin-top: 0
}

h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -.045em
}

h1 {
  font-size: clamp(38px, 5.7vw, 80px);
  font-weight: 650
}

h2 {
  font-size: 38px;
  font-weight: 650
}

h3 {
  font-size: 21px
}

p,
small {
  color: var(--muted)
}

small {
  font-size: 12px
}

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 24px 0
}

.wrap {
  max-width: 1240px;
  margin: auto;
  padding-left: 40px;
  padding-right: 40px
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 750;
  letter-spacing: -.04em;
  font-size: 20px;
  white-space: nowrap
}

.brand-mark {
  width: 39px;
  height: 39px;
  border-radius: 13px;
  background: var(--ink);
  color: var(--green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 31px;
  font-weight: 800
}

.brand-mark span {
  font-size: 23px;
  align-self: flex-end;
  margin-bottom: 1px
}

.button {
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 14px 24px;
  border-radius: 9px;
  font-weight: 650;
  line-height: 1.5;
  transition: background .15s
}

.dark {
  background: var(--ink);
  color: white
}

.dark:hover {
  background: #1565c0
}

.light {
  background: var(--green);
  color: var(--ink)
}

.outline {
  background: transparent;
  border-color: #cbd5cd;
  color: var(--ink)
}

.small {
  padding: 9px 15px;
  font-size: 13px
}

.full {
  width: 100%
}

.text-link {
  border: 0;
  background: none;
  color: var(--ink);
  font-weight: 650;
  font-size: 13px;
  padding: 0;
  text-decoration: underline;
  text-decoration-color: #b0bdb0;
  text-underline-offset: 5px
}

.eyebrow {
  font-size: 10px;
  letter-spacing: .14em;
  font-weight: 750;
  display: block;
  margin-bottom: 20px
}

.eyebrow i {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #1976d2;
  border-radius: 50%;
  margin-right: 8px
}

.site-nav {
  height: 96px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line)
}

.site-nav nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 13px
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
  min-height: 680px;
  padding-top: 55px;
  padding-bottom: 65px
}

.hero h1 {
  margin-bottom: 24px
}

.hero em,
.auth-story em {
  font-style: normal;
  color: #1976d2
}

.hero-copy>p {
  font-size: 16px;
  max-width: 400px;
  line-height: 1.9
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 32px
}

.hero-notes {
  display: flex;
  gap: 22px;
  font-size: 11px;
  color: var(--muted);
  margin-top: 20px
}

.hero-art {
  height: 530px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse, #e3f2fd, transparent 67%)
}

.art-orbit {
  border: 1px solid #bbdefb;
  border-radius: 50%;
  position: absolute;
  width: 470px;
  height: 470px
}

.orbit-two {
  width: 365px;
  height: 365px
}

.phone {
  z-index: 1;
  width: 240px;
  height: 445px;
  background: #fff;
  border: 7px solid #1565c0;
  border-radius: 38px;
  transform: rotate(6deg);
  box-shadow: 22px 30px 45px #1f332522;
  overflow: hidden;
  display: flex;
  flex-direction: column
}

.phone-top {
  padding: 11px 20px 6px;
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  font-weight: 700
}

.phone-contact {
  text-align: center;
  padding: 7px;
  border-bottom: 1px solid #eee
}

.avatar {
  display: grid;
  place-items: center;
  margin: 0 auto 4px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e3f2fd;
  font-size: 16px
}

.phone-contact strong,
.phone-contact small {
  display: block;
  font-size: 10px
}

.phone-contact small {
  font-size: 8px
}

.phone-thread {
  padding: 14px 12px;
  flex: 1
}

.phone-thread>small {
  display: block;
  text-align: center;
  font-size: 8px;
  margin-bottom: 18px
}

.phone-thread p {
  font-size: 11px;
  line-height: 1.6;
  background: #f0f2ee;
  color: var(--ink);
  padding: 12px;
  border-radius: 13px 13px 13px 0
}

.phone-thread .reply {
  background: var(--green);
  margin-left: 32px;
  border-radius: 13px 13px 0 13px
}

.phone-input {
  border: 1px solid #ddd;
  margin: 0 12px 15px;
  border-radius: 20px;
  font-size: 10px;
  padding: 7px;
  color: #999
}

.phone-input span {
  float: right;
  color: #356634
}

.floating-note {
  position: absolute;
  left: 0;
  top: 52px;
  z-index: 2;
  background: white;
  border: 1px solid #e2e8d9;
  border-radius: 14px;
  padding: 15px;
  display: flex;
  align-items: center;
  gap: 11px;
  transform: rotate(-5deg)
}

.floating-note strong {
  font-size: 12px;
  line-height: 1.4;
  display: block
}

.floating-note small {
  font-size: 9px
}

.icon-bubble {
  background: var(--green);
  font-size: 22px;
  border-radius: 11px;
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center
}

.campaign-mini {
  position: absolute;
  right: -4px;
  bottom: 55px;
  z-index: 2;
  background: var(--ink);
  color: white;
  padding: 19px 23px;
  border-radius: 14px;
  transform: rotate(-5deg)
}

.mini-label {
  font-size: 8px;
  letter-spacing: .1em;
  color: #bbdefb
}

.campaign-mini strong {
  display: block;
  font-size: 16px;
  margin: 7px 0
}

.campaign-mini div {
  font-size: 10px;
  color: #cad5cb
}

.mini-dot,
.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #75b458;
  border-radius: 50%;
  margin-right: 5px
}

.art-caption {
  position: absolute;
  bottom: 0;
  font-size: 9px;
  color: #8b9586
}

.audience {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-top: 30px;
  padding-bottom: 33px;
  text-align: center
}

.audience>span {
  font-size: 9px;
  letter-spacing: .13em;
  color: var(--muted)
}

.audience>div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 20px;
  color: #586761;
  font-size: 17px
}

.features {
  padding-top: 95px;
  padding-bottom: 90px
}

.section-title {
  max-width: 700px
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px
}

.feature-grid article {
  border-top: 1px solid #d4ded3;
  padding-top: 26px
}

.feature-grid p {
  line-height: 1.9
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  margin-bottom: 22px;
  font-size: 13px;
  font-weight: 750
}

.blue {
  background: #e6edf6;
  color: #4269ad
}

.purple {
  background: #eee6f3;
  color: #7f4f9e
}

.green {
  background: #e3edce;
  color: #56702c
}

.pricing {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  padding-top: 55px;
  padding-bottom: 80px
}

.pricing>div>p {
  max-width: 390px;
  line-height: 1.9
}

.price-card {
  background: white;
  border: 1px solid #d7dfcf;
  border-radius: 18px;
  padding: 35px
}

.price-card>span {
  font-size: 11px;
  letter-spacing: .12em;
  font-weight: 700
}

.price {
  font-size: 72px;
  font-weight: 650;
  letter-spacing: -.05em;
  line-height: 1.4
}

.price small {
  font-size: 16px;
  letter-spacing: 0;
  color: var(--ink)
}

.price-card ul {
  padding: 0;
  list-style: none;
  line-height: 2.3;
  color: #55675b
}

.price-card li:before {
  content: "\2713";
  margin-right: 10px;
  color: #6b8c28
}

.final-cta {
  background: linear-gradient(120deg, #f1f5f9, #e3f2fd);
  color: #243b53;
  border: 1px solid #d4e5f5;
  border-radius: 22px;
  padding-top: 50px;
  padding-bottom: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1160px
}

.final-cta .button {
  background: #1976d2;
  color: #fff;
}

.final-cta .button:hover {
  background: #1565c0;
}

.final-cta h2 {
  margin: 0
}

.site-footer {
  padding-top: 42px;
  padding-bottom: 35px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px
}

.site-footer p {
  margin: 0;
  font-size: 12px
}

.site-footer>a:last-child {
  font-size: 12px
}

.auth-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 45% 55%
}

.auth-story {
  background: #e7edda;
  padding: 44px 55px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh
}

.auth-story h1 {
  font-size: clamp(42px, 5vw, 76px)
}

.auth-story p {
  line-height: 1.9
}

.auth-main {
  background: #fff;
  padding: 40px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative
}

.back-link {
  position: absolute;
  top: 35px;
  font-size: 12px;
  color: var(--muted)
}

.auth-card {
  max-width: 390px;
  width: 100%;
  margin: 50px auto
}

.auth-card h2 {
  font-size: 34px;
  margin-bottom: 15px
}

.auth-card form {
  margin-top: 20px
}

label {
  display: block;
  font-size: 12px;
  font-weight: 650;
  margin: 16px 0 7px
}

input:not([type=checkbox]),
textarea {
  border: 1px solid #d7dfd8;
  border-radius: 8px;
  padding: 12px 13px;
  width: 100%;
  background: white;
  color: var(--ink)
}

textarea {
  resize: vertical;
  line-height: 1.7
}

input:focus,
textarea:focus {
  border-color: #1976d2;
  outline: 2px solid #e3f2fd
}

input[type=checkbox] {
  accent-color: #1976d2;
  width: 16px;
  height: 16px;
  flex-shrink: 0
}

.auth-card form>.button {
  margin-top: 25px
}

.auth-switch {
  text-align: center;
  margin-top: 24px
}

.auth-switch a {
  font-weight: 700;
  text-decoration: underline
}

.or-divider {
  border-bottom: 1px solid var(--line);
  text-align: center;
  margin: 18px 0 30px;
  height: 12px
}

.or-divider span {
  padding: 0 12px;
  background: white;
  color: var(--muted);
  font-size: 11px
}

.notice {
  padding: 13px 16px;
  border: 1px solid #efcebe;
  background: #fff3ed;
  color: #8f3f21;
  border-radius: 9px;
  margin-bottom: 20px
}

.notice.success {
  border-color: #c7dcb5;
  background: #f0f7e8;
  color: #386030
}

.workspace {
  display: flex;
  min-height: 100vh;
  background: #f5f7f5
}

.app-sidebar {
  width: 248px;
  background: #fff;
  border-right: 1px solid var(--line);
  padding: 28px 18px;
  position: fixed;
  top: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  z-index: 5
}

.app-sidebar .brand {
  font-size: 17px;
  gap: 9px
}

.app-sidebar .brand-mark {
  width: 34px;
  height: 34px;
  font-size: 27px;
  flex-shrink: 0
}

.workspace-label {
  font-size: 9px;
  letter-spacing: .14em;
  color: #98a099;
  margin: 45px 12px 13px;
  font-weight: 750
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 15px;
  width: 100%;
  border: 0;
  border-radius: 9px;
  background: transparent;
  padding: 13px 14px;
  text-align: left;
  color: #718078;
  font-weight: 550;
  margin-bottom: 5px
}

.nav-item>span {
  font-size: 21px;
  width: 23px;
  text-align: center
}

.nav-item.active {
  color: var(--ink);
  background: #ebf3da;
  font-weight: 700
}

.nav-item:hover {
  background: #f2f5ed
}

.sidebar-bottom {
  margin-top: auto;
  padding-top: 25px;
  display: flex;
  gap: 9px;
  align-items: center
}

.sidebar-bottom>div:nth-child(2) {
  min-width: 0;
  flex: 1
}

.sidebar-bottom strong,
.sidebar-bottom small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px
}

.account-avatar {
  display: grid;
  place-items: center;
  background: #f0e8d6;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-weight: 700;
  flex-shrink: 0
}

.icon-button {
  background: none;
  border: 0;
  font-size: 22px;
  color: var(--muted);
  padding: 4px 8px;
  border-radius: 8px
}

.app-main {
  margin-left: 248px;
  width: calc(100% - 248px)
}

.app-header {
  height: 76px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 38px;
  background: #ffffffb8
}

.breadcrumb {
  font-size: 12px;
  color: var(--muted)
}

.breadcrumb strong {
  color: var(--ink);
  font-weight: 550
}

.app-header>div {
  font-size: 11px
}

.pill {
  display: inline-block;
  border-radius: 6px;
  background: #edf2e7;
  padding: 3px 8px;
  font-size: 10px;
  font-weight: 650;
  margin-left: 8px
}

.workspace-content {
  padding: 20px 24px;
  width: 100%;
  min-width: 0;
  margin: 0
}

.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px
}

.page-heading .eyebrow {
  margin-bottom: 11px;
  font-size: 9px
}

.page-heading h1 {
  font-size: 32px;
  letter-spacing: -.035em;
  margin-bottom: 8px
}

.page-heading p {
  font-size: 13px;
  margin-bottom: 0
}

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

.stat {
  background: white;
  border: 1px solid var(--line);
  padding: 22px;
  border-radius: 12px
}

.stat>span {
  font-size: 11px;
  color: var(--muted);
  display: block
}

.stat>strong {
  font-size: 31px;
  display: block;
  line-height: 1.3;
  margin: 13px 0 9px;
  letter-spacing: -.04em
}

.stat>small {
  display: block;
  font-size: 10px
}

.stat>.text-link {
  display: block;
  font-size: 10px;
  margin-top: 12px
}

.welcome-banner {
  background: #e8efd9;
  border: 1px solid #dbe4cc;
  border-radius: 15px;
  margin: 28px 0 34px;
  padding: 32px 36px;
  display: flex;
  justify-content: space-between;
  gap: 25px;
  align-items: center
}

.welcome-banner h2 {
  font-size: 32px;
  margin-bottom: 10px
}

.welcome-banner .eyebrow {
  font-size: 8px;
  margin-bottom: 15px
}

.welcome-banner p {
  font-size: 12px
}

.welcome-banner .button {
  padding: 10px 16px;
  font-size: 12px
}

.banner-message {
  background: white;
  transform: rotate(-4deg);
  padding: 26px;
  border-radius: 15px 15px 0 15px;
  box-shadow: 12px 15px 0 #d9e5c4
}

.banner-message>span {
  font-size: 8px;
  letter-spacing: .1em;
  color: #90a178
}

.banner-message>p {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.7;
  margin: 15px 0
}

.banner-message .message-tick {
  font-size: 9px;
  letter-spacing: 0
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin: 0 0 18px
}

.section-heading h2 {
  font-size: 18px;
  letter-spacing: -.02em;
  margin: 0
}

.table-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden
}

.table-scroll {
  overflow: auto
}

table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px
}

th {
  text-align: left;
  color: #7f8a82;
  background: #fbfcfa;
  font-size: 10px;
  font-weight: 600;
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap
}

td {
  padding: 17px 18px;
  border-bottom: 1px solid #edf0ea;
  vertical-align: middle
}

tr:last-child td {
  border: 0
}

td>small {
  display: block;
  font-size: 9px;
  margin-top: 4px
}

.message-preview {
  display: block;
  max-width: 300px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 12px;
  font-weight: 550
}

.badge {
  display: inline-block;
  font-size: 9px;
  border-radius: 5px;
  padding: 4px 7px;
  font-weight: 700;
  white-space: nowrap
}

.badge.good {
  background: #eaf5e4;
  color: #4a7845
}

.badge.bad {
  background: #fbeae7;
  color: #aa5042
}

.badge.pending {
  background: #fbf4d9;
  color: #9c812d
}

.badge.muted {
  background: #edf0f4;
  color: #687b93
}

.empty-state {
  text-align: center;
  padding: 38px;
  color: #8a978c
}

.empty-state>span {
  font-size: 25px;
  color: #94ae7f
}

.empty-state h3 {
  font-size: 16px;
  margin: 14px 0 7px
}

.empty-state p {
  font-size: 12px;
  margin: 0
}

.compose-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(240px, 1fr);
  gap: 25px
}

.panel {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px
}

.panel h2 {
  font-size: 19px;
  letter-spacing: -.02em;
  margin-bottom: 16px
}

.panel>small {
  display: block;
  margin-top: 10px
}

.inline-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 14px
}

.file-button {
  margin: 0;
  cursor: pointer
}

.message-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  font-size: 11px;
  color: var(--muted);
  margin-top: 8px
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 400;
  font-size: 12px;
  line-height: 1.5;
  margin: 25px 0
}

.estimate dl {
  margin: 24px 0
}

.estimate dl>div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px
}

.estimate dt {
  color: var(--muted)
}

.estimate dd {
  margin: 0;
  font-weight: 650
}

.estimate p {
  font-size: 12px;
  line-height: 1.8
}

.tip {
  padding: 17px;
  background: #f2f6e9;
  border-radius: 8px;
  margin-top: 22px
}

.tip p {
  margin: 6px 0 0
}

.pager {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  margin-top: 18px;
  font-size: 11px;
  color: var(--muted)
}

.wallet-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin-bottom: 35px
}

.wallet-card {
  border-radius: 14px;
  background: var(--ink);
  padding: 38px;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center
}

.wallet-card>span {
  font-size: 10px;
  letter-spacing: .15em;
  color: #c3d4b6
}

.wallet-card>strong {
  font-size: 45px;
  letter-spacing: -.045em;
  margin: 20px 0 10px
}

.wallet-card>small {
  color: #c8dcbb
}

.wallet-layout form>.button {
  margin-top: 18px
}

.danger {
  color: #b44235 !important
}
.payment-delete {
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid #e7c8c3;
  border-radius: 6px;
  background: transparent;
  opacity: .28;
  transition: opacity .16s ease, background-color .16s ease, border-color .16s ease;
}

.table-card tbody tr:hover .payment-delete,
.payment-delete:hover,
.payment-delete:focus-visible {
  opacity: 1;
  background: #fff1ef;
  border-color: #dca9a1;
}

.payment-delete svg {
  width: 17px;
  height: 17px;
}

dialog {
  width: 480px;
  max-width: calc(100vw - 30px);
  max-height: 85vh;
  overflow: auto;
  border: 1px solid #d7dfd0;
  border-radius: 18px;
  padding: 35px;
  color: var(--ink);
  box-shadow: 0 30px 80px #14292033
}

dialog::backdrop {
  background: #14292070;
  backdrop-filter: blur(3px)
}

dialog h2 {
  font-size: 26px;
  margin-bottom: 16px
}

dialog p {
  font-size: 13px
}

dialog blockquote {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: #f2f5ee;
  padding: 18px;
  margin: 20px 0;
  border-radius: 10px;
  font-size: 14px
}

.dialog-close {
  position: absolute;
  right: 15px;
  top: 12px
}

.picker-row {
  display: flex;
  gap: 10px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
  margin: 0
}

.picker-row strong,
.picker-row small {
  display: block
}

.picker-row small {
  font-weight: 400
}

#use-contacts {
  margin-top: 20px
}

#assist .button {
  margin-top: 10px
}

@media(max-width:1100px) {
  .app-sidebar {
    width: 215px;
    padding: 23px 14px
  }

  .app-main {
    margin-left: 215px;
    width: calc(100% - 215px)
  }

  .app-sidebar .brand {
    font-size: 14px
  }

  .workspace-content {
    padding: 26px 22px
  }

  .app-header {
    padding: 0 22px
  }

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

  .compose-layout {
    grid-template-columns: 1fr
  }

  .compose-layout>aside {
    order: -1
  }

  .estimate dl {
    display: flex;
    gap: 20px;
    margin: 10px 0
  }

  .estimate dl>div {
    flex: 1
  }

  .estimate .tip {
    display: none
  }

  .hero {
    gap: 10px
  }

  .hero-art {
    transform: scale(.9)
  }

  .pricing {
    gap: 40px
  }

  .final-cta {
    margin: 0 30px
  }

  .auth-main,
  .auth-story {
    padding: 35px
  }
}

@media(max-width:760px) {
  .wrap {
    padding-left: 24px;
    padding-right: 24px
  }

  .site-nav {
    height: 78px
  }

  .site-nav nav {
    gap: 15px
  }

  .site-nav nav>a:nth-child(-n+2) {
    display: none
  }

  .site-nav .brand {
    font-size: 15px
  }

  .site-nav .small {
    padding: 8px 12px;
    font-size: 11px
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 45px;
    padding-bottom: 25px;
    gap: 0
  }

  .hero h1 {
    font-size: 58px
  }

  .hero-copy>p {
    font-size: 14px
  }

  .hero-art {
    height: 480px;
    max-width: 470px;
    width: 100%;
    margin: auto;
    transform: scale(.9)
  }

  .art-orbit {
    max-width: 100%;
    height: auto;
    aspect-ratio: 1
  }

  .floating-note {
    left: -10px
  }

  .campaign-mini {
    right: -5px
  }

  .audience>div {
    flex-wrap: wrap;
    justify-content: center;
    font-size: 14px
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 15px
  }

  .features {
    padding-top: 55px;
    padding-bottom: 35px
  }

  .feature-grid article {
    padding-top: 22px
  }

  .pricing {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 25px;
    padding-bottom: 45px
  }

  h2 {
    font-size: 30px
  }

  .final-cta {
    margin: 0 15px;
    padding: 32px 25px;
    flex-direction: column;
    align-items: flex-start;
    gap: 25px
  }

  .site-footer {
    flex-wrap: wrap;
    gap: 15px
  }

  .auth-page {
    grid-template-columns: 1fr
  }

  .auth-story {
    min-height: auto;
    padding: 24px
  }

  .auth-story>div,
  .auth-story>small {
    display: none
  }

  .auth-main {
    padding: 25px
  }

  .back-link {
    position: static
  }

  .auth-card {
    margin: 30px auto
  }

  .app-sidebar {
    position: static;
    width: 100%;
    padding: 15px;
    border-right: 0;
    border-bottom: 1px solid var(--line)
  }

  .workspace {
    display: block
  }

  .app-sidebar .brand {
    font-size: 17px
  }

  .workspace-label {
    display: none
  }

  .app-sidebar nav {
    display: flex;
    overflow: auto;
    gap: 5px;
    margin-top: 15px
  }

  .nav-item {
    width: auto;
    white-space: nowrap;
    padding: 8px 10px;
    font-size: 11px;
    gap: 6px;
    flex-shrink: 0
  }

  .nav-item>span {
    font-size: 16px;
    width: 18px
  }

  .app-main {
    margin: 0;
    width: 100%
  }

  .app-header {
    height: 55px;
    padding: 0 20px
  }

  .workspace-content {
    padding: 25px 16px
  }

  .page-heading {
    align-items: flex-start;
    flex-wrap: wrap
  }

  .page-heading h1 {
    font-size: 28px
  }

  .page-heading .button {
    padding: 10px 15px;
    font-size: 12px
  }

  .stats {
    gap: 10px
  }

  .stat {
    padding: 17px
  }

  .welcome-banner {
    padding: 25px
  }

  .banner-message {
    display: none
  }

  .welcome-banner h2 {
    font-size: 29px
  }

  .wallet-layout {
    grid-template-columns: 1fr
  }

  .wallet-card {
    padding: 28px
  }

  .wallet-card>strong {
    font-size: 35px
  }

  .panel {
    padding: 21px
  }

  .estimate dl {
    display: block
  }

  .estimate .eyebrow {
    margin-bottom: 10px
  }

  .pager {
    justify-content: center
  }

  .hero-actions {
    gap: 18px
  }

  .hero-notes {
    font-size: 10px;
    gap: 12px
  }

  .sidebar-bottom {
    margin-top: 10px;
    padding-top: 8px
  }

  .sidebar-bottom strong,
  .sidebar-bottom small {
    max-width: 250px
  }

  .sidebar-bottom .account-avatar {
    width: 25px;
    height: 25px
  }

  .sidebar-bottom .icon-button {
    margin-left: auto
  }
}

@media(prefers-reduced-motion:reduce) {
  * {
    transition: none !important
  }
}

.language-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.language-switch select {
  width: auto;
  padding: 8px 12px;
  margin: 0;
}

.auth-main>.language-switch {
  align-self: flex-end;
  margin-bottom: 20px;
}

[dir="rtl"] .app-sidebar {
  left: auto;
  right: 0;
  border-right: 0;
  border-left: 1px solid var(--line);
}

[dir="rtl"] .app-main {
  margin-left: 0;
  margin-right: 248px;
}

[dir="rtl"] th,
[dir="rtl"] td {
  text-align: right;
}

[dir="rtl"] input[type="email"],
[dir="rtl"] #recipients {
  direction: ltr;
  text-align: left;
}

@media(max-width:1100px) {
  [dir="rtl"] .app-main {
    margin-right: 215px;
  }
}

@media(max-width:760px) {
  [dir="rtl"] .app-main {
    margin-right: 0;
  }
}

/* Shulekeeper primary and workspace colors. */
.dark,
.brand-mark {
  background: #1976d2;
  color: #fff;
}

.dark:hover {
  background: #1565c0;
}

.nav-item.active {
  background: #e3f2fd;
  color: #1976d2;
}

.app-sidebar {
  background: #f0f6fd;
}

.auth-story {
  background: #e3f2fd;
  color: #242a30;
}

.brand-logo {
  width: 40px;
  height: 40px;
  display: block;
  flex-shrink: 0;
}

/* Language control stays with navigation and accommodates translated labels. */
.site-nav {
  gap: 24px;
}

.site-nav nav {
  margin-inline-start: auto;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 24px;
}

.language-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.language-switch label {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.language-switch select {
  appearance: auto;
  font: inherit;
  font-size: 13px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #dfe4e9;
  border-radius: 8px;
  padding: 9px 10px;
  min-width: 104px;
  cursor: pointer;
}

html[lang="lg"] .hero h1,
html[lang="sw"] .hero h1 {
  font-size: clamp(40px, 5.2vw, 70px);
}

@media(max-width:900px) {
  .site-nav {
    flex-wrap: wrap;
    padding-block: 18px;
  }

  .site-nav nav {
    gap: 14px;
  }
}

@media(max-width:560px) {
  .site-nav nav {
    width: 100%;
    justify-content: flex-start;
  }

  .site-nav .language-switch {
    margin-inline-start: auto;
  }

  .language-switch label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
}

/* Compact top navigation and an accessible mobile drawer. */
.mobile-navigation,
.sidebar-close,
.sidebar-backdrop {
  display: none;
}

@media (max-width:900px) {
  .workspace {
    display: block;
  }

  .workspace .app-main,
  [dir="rtl"] .workspace .app-main {
    width: 100%;
    margin: 0;
  }

  .workspace .app-header {
    position: sticky;
    top: 0;
    z-index: 20;
    min-height: 68px;
    height: auto;
    padding: 12px 16px;
    gap: 12px;
    background: #fff;
    flex-wrap: wrap;
  }

  .mobile-navigation {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .mobile-navigation .brand {
    font-size: 17px;
    gap: 8px;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    color: #1976d2;
    background: #edf5ff;
  }

  .app-header .language-switch {
    margin-inline-start: auto;
  }

  .app-header .language-switch label {
    display: none;
  }

  .app-header .breadcrumb {
    width: 100%;
    order: 3;
    font-size: 12px;
    padding-inline-start: 50px;
  }

  .app-header>div:last-child {
    display: none;
  }

  .workspace .app-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: min(300px, 86vw);
    height: 100dvh;
    padding: 24px 18px;
    z-index: 50;
    background: #f0f6fd;
    border: 0;
    box-shadow: 8px 0 32px #16355326;
    transform: translateX(-105%);
    visibility: hidden;
    transition: transform .2s ease, visibility .2s;
    overflow-y: auto;
  }

  [dir="rtl"] .workspace .app-sidebar {
    inset: 0 0 0 auto;
    transform: translateX(105%);
  }

  .workspace.sidebar-open .app-sidebar {
    transform: translateX(0);
    visibility: visible;
  }

  .workspace .app-sidebar .workspace-label {
    display: block;
    margin-top: 32px;
  }

  .workspace .app-sidebar nav {
    display: flex;
    flex-direction: column;
    overflow: visible;
    gap: 6px;
    margin-top: 0;
  }

  .workspace .app-sidebar .nav-item {
    width: 100%;
    min-height: 48px;
    white-space: normal;
    font-size: 14px;
    padding: 12px 14px;
    gap: 12px;
    text-align: start;
  }

  .workspace .app-sidebar .sidebar-bottom {
    margin-top: auto;
    padding-top: 28px;
  }

  .sidebar-close {
    display: grid;
    place-items: center;
    position: absolute;
    top: 20px;
    inset-inline-end: 14px;
    width: 36px;
    height: 36px;
    font-size: 28px;
  }

  .app-sidebar>.brand {
    padding-inline-end: 36px;
  }

  .sidebar-backdrop:not([hidden]) {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 40;
    border: 0;
    border-radius: 0;
    background: rgba(20, 40, 65, .35);
  }

  body.sidebar-open {
    overflow: hidden;
  }

  .workspace-content {
    padding: 24px 16px;
  }
}

@media(prefers-reduced-motion:reduce) {
  .workspace .app-sidebar {
    transition: none;
  }
}

/* Shared full-width navbar above sidebar and content. */
.workspace {
  --navbar-height: 76px;
  padding-top: var(--navbar-height);
}

.workspace .workspace-navbar {
  position: fixed;
  inset: 0 0 auto;
  width: 100%;
  height: var(--navbar-height);
  min-height: 0;
  z-index: 30;
  padding: 0 24px;
  background: #fff;
  border-bottom: 1px solid #dfe4e9;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: nowrap;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 200px;
}

.navbar-brand .brand {
  font-size: 18px;
}

.navbar-brand .menu-toggle {
  display: none;
}

.workspace-navbar .breadcrumb {
  margin-inline: auto;
}

.workspace-navbar .language-switch {
  margin-inline-start: 0;
}

.workspace .app-sidebar {
  top: var(--navbar-height);
}

.workspace .workspace-label {
  margin-top: 12px;
}

@media(max-width:1100px) and (min-width:901px) {
  .navbar-brand {
    min-width: 167px;
  }
}

@media(max-width:900px) {
  .workspace {
    --navbar-height: 96px;
  }

  .workspace .workspace-navbar {
    padding: 10px 16px;
    gap: 8px 12px;
    flex-wrap: wrap;
    align-content: center;
  }

  .navbar-brand {
    min-width: 0;
  }

  .navbar-brand .menu-toggle {
    display: grid;
  }

  .navbar-brand .brand {
    font-size: 17px;
  }

  .workspace-navbar .language-switch {
    margin-inline-start: auto;
  }

  .workspace .workspace-navbar .breadcrumb {
    width: 100%;
    order: 3;
    padding-inline-start: 50px;
    margin: 0;
  }

  .workspace .app-sidebar {
    top: 0;
    height: 100dvh;
    padding-top: 65px;
  }

  .workspace .app-sidebar .workspace-label {
    margin-top: 12px;
  }
}

/* Header controls grouped on the right; sidebar toggle at the content edge. */
.workspace .workspace-navbar {
  justify-content: flex-start;
}

.workspace-navbar .language-switch {
  margin-inline-start: auto;
}

.navbar-region {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font-size: 12px;
}

.navbar-account {
  display: flex;
  align-items: center;
  gap: 10px;
  border-inline-start: 1px solid #dfe4e9;
  padding-inline-start: 18px;
  min-width: 0;
}

.navbar-account strong,
.navbar-account small {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 180px;
  font-size: 12px;
}

.navbar-account small {
  color: #616b75;
}

.workspace-toolbar {
  margin-bottom: 14px;
}

.workspace-toolbar button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: #edf5ff;
  color: #1976d2;
}

@media(min-width:901px) {
  .workspace.sidebar-collapsed .app-sidebar {
    display: none;
  }

  .workspace.sidebar-collapsed .app-main,
  [dir="rtl"] .workspace.sidebar-collapsed .app-main {
    margin: 0;
    width: 100%;
  }

  .sidebar-collapsed #desktop-sidebar-toggle svg {
    transform: rotate(180deg);
  }
}

@media(max-width:900px) {
  .workspace {
    --navbar-height: 76px;
  }

  .workspace-toolbar {
    display: none;
  }

  .workspace .workspace-navbar .navbar-account {
    display: flex;
    padding-inline-start: 8px;
    gap: 6px;
  }

  .navbar-account>div[data-no-translate],
  .workspace-navbar .navbar-region {
    display: none;
  }

  .workspace .workspace-navbar {
    gap: 8px;
  }

  .workspace-navbar .language-switch select {
    min-width: 85px;
    max-width: 110px;
  }
}

@media(max-width:480px) {
  .workspace {
    --navbar-height: 112px;
  }

  .workspace .workspace-navbar {
    align-content: center;
  }

  .workspace-navbar .navbar-brand {
    width: 100%;
  }

  .workspace-navbar .language-switch {
    margin-inline-start: 50px;
  }

  .workspace-navbar .navbar-account {
    margin-inline-start: auto;
  }
}

.app-sidebar #desktop-sidebar-toggle {
  position: absolute;
  top: 10px;
  inset-inline-end: 10px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: #e3f2fd;
  color: #1976d2;
}

.workspace .workspace-label {
  margin-top: 38px;
}

.app-sidebar .nav-label {
  width: auto;
  font-size: inherit;
  text-align: start;
}

.navbar-account {
  position: relative;
  border: 0;
  padding-inline-start: 0;
}

.account-toggle {
  width: 40px;
  height: 40px;
  border: 1px solid #bbdefb;
  background: #e3f2fd;
  color: #1565c0;
  font-size: 14px;
  cursor: pointer;
}

.account-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  inset-inline-end: 0;
  width: 250px;
  padding: 8px;
  background: white;
  border: 1px solid #dfe4e9;
  border-radius: 12px;
  box-shadow: 0 10px 32px #243b5326;
}

.account-menu-identity {
  padding: 10px 12px;
  border-bottom: 1px solid #edf0f5;
  margin-bottom: 5px;
}

.account-dropdown button {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  padding: 12px;
  border-radius: 6px;
  text-align: start;
  font: inherit;
}

.account-dropdown button:hover {
  background: #edf5ff;
}

.account-dropdown #logout {
  color: #c62828;
}

@media(min-width:901px) {
  .workspace.sidebar-collapsed .app-sidebar {
    display: flex;
    width: 76px;
    padding-inline: 10px;
  }

  .sidebar-collapsed .workspace-label {
    visibility: hidden;
    height: 16px;
    margin-bottom: 13px;
  }

  .sidebar-collapsed .app-sidebar .nav-label {
    display: none;
  }

  .sidebar-collapsed .nav-item {
    justify-content: center;
    padding: 13px 8px;
  }

  .workspace.sidebar-collapsed .app-main {
    margin-left: 76px;
    width: calc(100% - 76px);
  }

  [dir="rtl"] .workspace.sidebar-collapsed .app-main {
    margin-left: 0;
    margin-right: 76px;
    width: calc(100% - 76px);
  }
}

@media(max-width:900px) {
  .app-sidebar #desktop-sidebar-toggle {
    display: none;
  }
}

/* Use available dashboard width without a large centered gutter. */
.workspace .workspace-content {
  max-width: none;
  padding: 20px 24px;
  margin: 0;
}

.workspace .page-heading {
  margin-bottom: 20px;
}

.workspace .page-heading h1 {
  margin-top: 0;
}

.workspace .page-heading .eyebrow {
  margin-bottom: 6px;
}

@media(max-width:760px) {
  .workspace .workspace-content {
    padding: 16px;
  }
}

.sms-account-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.sms-summary-card {
  background: #fff;
  border: 1px solid #dfe4e9;
  border-radius: 12px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.sms-summary-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  color: #1976d2;
  background: #edf5ff;
  flex-shrink: 0;
}

.sms-summary-icon svg {
  width: 26px;
  height: 26px;
}

.sms-summary-card>div {
  flex: 1;
  min-width: 0;
}

.sms-summary-card strong {
  display: block;
  font-size: 26px;
  line-height: 1.3;
  margin: 6px 0;
}

.sms-summary-card small,
.sms-summary-card>div>span {
  color: #616b75;
}

.sms-summary-card .button {
  color: #1976d2;
  border-color: #90caf9;
  padding: 9px 18px;
}

#topup-dialog {
  width: min(680px, calc(100vw - 32px));
}

#topup-dialog .panel {
  padding: 0;
  border: 0;
  box-shadow: none;
}

.topup-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 24px;
}

.topup-presets .selected {
  color: #1565c0;
  background: #e3f2fd;
  border-color: #1976d2;
}

.topup-estimate {
  color: #616b75;
  font-size: 13px;
}

@media(max-width:1100px) {
  .sms-summary-card {
    flex-wrap: wrap;
    padding: 20px;
  }
}

@media(max-width:760px) {
  .sms-account-summary {
    grid-template-columns: 1fr;
  }

  .sms-summary-card strong {
    font-size: 24px;
  }
}

.navbar-balance {
  color: #1565c0;
  background: #edf5ff;
  border: 1px solid #d4e5f5;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

@media(max-width:480px) {
  .navbar-balance {
    padding: 6px 8px;
    font-size: 12px;
  }
}

.overview-history {
  background: #fff;
  border: 1px solid #dfe4e9;
  border-radius: 10px;
  overflow: hidden;
  margin-top: 30px;
}

.history-tabs {
  display: flex;
  gap: 8px;
  padding: 0 16px;
  border-bottom: 1px solid #dfe4e9;
}

.history-tabs button {
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  color: #616b75;
  padding: 22px 16px;
  text-transform: uppercase;
  font: inherit;
  font-size: 13px;
}

.history-tabs button[aria-selected="true"] {
  color: #1976d2;
  border-bottom-color: #1976d2;
}

.history-refresh {
  display: flex;
  justify-content: flex-end;
  padding: 8px 16px;
}

.history-refresh button {
  color: #1976d2;
}

.overview-history .table-card {
  border: 0;
  border-radius: 0;
  min-height: 280px;
}

.overview-history .pager {
  padding: 12px 16px;
  border-top: 1px solid #edf0f5;
}

@media(max-width:560px) {
  .history-tabs {
    padding: 0 8px;
    gap: 0;
  }

  .history-tabs button {
    padding: 18px 10px;
    font-size: 12px;
  }
}

.api-key-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

.api-key-actions .button {
  min-height: 44px;
  padding: 10px 20px;
  margin: 0;
  white-space: nowrap;
}

.api-key-actions .outline {
  color: #1976d2;
  border-color: #90caf9;
  background: #fff;
}

.api-key-actions .outline:hover {
  background: #edf5ff;
}

@media(max-width:480px) {
  .api-key-actions {
    gap: 8px;
  }

  .api-key-actions .button {
    flex: 1;
    padding: 10px 8px;
    font-size: 12px;
    white-space: normal;
  }
}

/* Compact message composer. */
#tab-compose .compose-layout {
  display: block;
}

#compose-form {
  padding: 20px;
}

#compose-form h2 {
  margin: 0 0 12px;
}

#compose-form .section-heading {
  margin-bottom: 12px;
}

#compose-form hr {
  margin: 16px 0;
}

#compose-form textarea {
  min-height: 0;
  padding: 10px 12px;
}

#compose-form #recipients {
  height: 68px;
}

#compose-form #message {
  height: 90px;
}

#compose-form .inline-actions {
  margin-top: 12px;
  flex-wrap: wrap;
}

#compose-form .checkbox-label {
  margin: 16px 0;
}

.compose-assist {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  padding: 12px;
  background: #f0f7ff;
  border-radius: 8px;
  margin-top: 12px;
}

.ai-context-field {
  flex: 0 0 190px;
}

.ai-prompt-field {
  flex: 1;
  min-width: 0;
}

.compose-assist select,
.compose-assist input {
  width: 100%;
  height: 42px;
}

#compose-form #assist .button {
  margin: 0;
  min-height: 42px;
  white-space: nowrap;
}

@media (max-width: 700px) {
  #compose-form {
    padding: 16px;
  }

  .compose-assist {
    flex-wrap: wrap;
  }

  .ai-context-field,
  .ai-prompt-field {
    flex: 1 1 100%;
  }
}

/* Two-column compose workspace, matching the main Bulk SMS page. */
#compose-form .compose-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

#compose-form .compose-header h1 {
  font-size: 23px;
  margin: 0 0 4px;
}

#compose-form .compose-header p {
  margin: 0;
  color: var(--muted);
}

.compose-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
}

.compose-columns>div {
  min-width: 0;
}

#compose-form .compose-columns h2 {
  font-size: 16px;
}

#compose-form #recipients {
  height: 120px;
}

#compose-form #message {
  height: 150px;
}

.compose-modes {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 12px;
}

#compose-form .compose-modes label {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  font-weight: 400;
}

#compose-form .compose-modes input {
  width: auto;
  margin: 0;
  accent-color: #1976d2;
}

#compose-form .compose-assist {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  margin: 0 0 14px;
  padding: 12px;
}

#compose-form .compose-assist[hidden] {
  display: none;
}

#compose-form .ai-context-field {
  grid-column: 1 / -1;
}

#compose-form .compose-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 16px;
  border-top: 1px solid var(--line);
  margin-top: 20px;
  padding-top: 16px;
}

#compose-form .compose-footer .inline-actions {
  margin: 0;
}

@media (max-width: 1000px) {
  .compose-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
}

@media (max-width: 520px) {
  #compose-form .compose-header {
    align-items: flex-start;
    flex-direction: column;
  }

  #compose-form .compose-assist {
    grid-template-columns: minmax(0, 1fr);
  }

  #compose-form .compose-footer {
    justify-content: flex-start;
  }
}

/* Keep reset separate from the draft and send actions. */
#compose-form .compose-footer {
  justify-content: space-between;
  gap: 12px;
}

.compose-primary-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-inline-start: auto;
}

#compose-form .compose-primary-actions .button {
  min-height: 42px;
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 14px;
  line-height: 20px;
  white-space: nowrap;
}

.compose-reset {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  color: #526579;
  padding: 10px 12px;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}

.compose-reset:hover {
  background: #f0f7ff;
  color: #1976d2;
}

.compose-reset:focus-visible {
  outline: 2px solid #1976d2;
  outline-offset: 2px;
}

@media (max-width: 440px) {
  .compose-primary-actions {
    width: 100%;
  }

  #compose-form .compose-primary-actions .button {
    flex: 1;
    padding-inline: 10px;
  }
}

/* Balance leads the navbar account controls. */
.workspace-navbar .navbar-balance {
  margin-inline-start: auto;
}

.workspace-navbar .language-switch {
  margin-inline-start: 0;
}

/* Reserve wallet space while the initial account request is pending. */
.wallet-skeleton {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 5px;
  background: #e8eef5;
  color: transparent !important;
}

.wallet-skeleton>* {
  visibility: hidden;
}

.wallet-skeleton.wallet-skeleton-value {
  width: 155px;
  height: 32px;
  margin-block: 6px;
}

.wallet-skeleton.wallet-skeleton-details {
  width: 220px;
  max-width: 100%;
  height: 16px;
}

.wallet-skeleton::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, #f8fbff, transparent);
  transform: translateX(-100%);
  animation: wallet-loading 1.4s infinite;
}

@keyframes wallet-loading {
  to {
    transform: translateX(100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .wallet-skeleton::after {
    animation: none;
  }
}

.integration-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}

.integration-heading p {
  max-width: 680px;
  line-height: 1.6;
}

.integration-heading>a {
  flex-shrink: 0;
  margin-top: 8px;
}

#tab-integration .api-key-actions {
  margin: 20px 0;
}

.api-key-table {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.api-key-table table {
  width: 100%;
  min-width: 650px;
}

.key-prefix {
  display: block;
  color: var(--muted);
  margin-top: 5px;
}

#api-key-dialog,
#api-key-created-dialog {
  width: min(600px, calc(100vw - 32px));
}

#api-key-expiry {
  width: min(100%, 260px);
}

#api-key-dialog label {
  margin-top: 18px;
}

#api-key-dialog small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.key-dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 24px;
}

#api-key-result {
  font-family: monospace;
  background: #f0f7ff;
  overflow-wrap: anywhere;
  resize: none;
}

@media (max-width: 700px) {
  .integration-heading {
    flex-direction: column;
    gap: 4px;
  }
}

/* Dashboard theme. */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #526579;
}

.theme-toggle:hover {
  background: #e3f2fd;
}

.theme-sun {
  display: none;
}

[data-theme="dark"] {
  color-scheme: dark;
  --ink: #e6edf5;
  --muted: #a8b7c9;
  --cream: #101822;
  --line: #334155;
  --green: #213c57;
}

[data-theme="dark"] .theme-moon {
  display: none;
}

[data-theme="dark"] .theme-sun {
  display: block;
}

[data-theme="dark"] .workspace {
  background: #101822;
  color: var(--ink);
}

[data-theme="dark"] :is(.workspace-navbar, .app-sidebar, .panel, .sms-summary-card, .overview-history, .table-card, dialog, .account-dropdown) {
  background: #182332;
  color: var(--ink);
  border-color: var(--line);
}

[data-theme="dark"] :is(input, textarea, select, .language-switch select, #api-key-result) {
  background: #111c29;
  color: var(--ink);
  border-color: #46586d;
}

[data-theme="dark"] :is(input, textarea)::placeholder {
  color: #93a4b8;
}

[data-theme="dark"] :is(th, .compose-assist, #compose-form .compose-assist, .tip, .picker-row:hover) {
  background: #202e40;
  color: var(--muted);
}

[data-theme="dark"] :is(.button.outline, .api-key-actions .outline) {
  background: transparent;
  color: #8cc8ff;
  border-color: #496786;
}

[data-theme="dark"] :is(.nav-item, .icon-button, .compose-reset, .account-dropdown button, .history-tabs button) {
  color: #bdcbdc;
}

[data-theme="dark"] :is(.nav-item.active, .nav-item:hover, .theme-toggle:hover, .account-dropdown button:hover, .topup-presets .selected, .sms-summary-icon, .account-toggle, .navbar-balance, .app-sidebar #desktop-sidebar-toggle) {
  color: #8cc8ff;
  background: #213c57;
  border-color: #345775;
}

[data-theme="dark"] :is(.text-link, .history-tabs button[aria-selected="true"]) {
  color: #8cc8ff;
}

[data-theme="dark"] :is(.danger, .account-dropdown #logout) {
  color: #ff9b9b;
}

[data-theme="dark"] .notice {
  background: #422b23;
  border-color: #765044;
  color: #ffd0b3;
}

[data-theme="dark"] :is(.badge.good, .notice.success) {
  background: #193d30;
  color: #a1e7bb;
}

[data-theme="dark"] .badge.bad {
  background: #482b32;
  color: #ffb4ba;
}

[data-theme="dark"] .badge.pending {
  background: #443b22;
  color: #f2d893;
}

[data-theme="dark"] .badge.muted {
  background: #334155;
  color: #d5e0ed;
}

[data-theme="dark"] .wallet-skeleton {
  background: #29394d;
}

[data-theme="dark"] .wallet-skeleton::after {
  background: linear-gradient(90deg, transparent, #3c506a, transparent);
}

[data-theme="dark"] dialog::backdrop {
  background: rgb(0 0 0 / 65%);
}

.key-copy-row { display: flex; align-items: center; gap: 10px; }
.key-secret-field { position: relative; flex: 1; min-width: 0; }
#api-key-result { width: 100%; padding-inline-end: 44px; height: 44px; margin: 0; }
#toggle-api-key { position: absolute; inset-inline-end: 5px; top: 5px; width: 34px; height: 34px; display: grid; place-items: center; }
.key-eye-slash { display: none; }
#toggle-api-key[aria-pressed="true"] .key-eye-slash { display: block; }
.key-copy-row > .button { min-height: 44px; padding: 10px 16px; white-space: nowrap; }
@media (max-width: 440px) { .key-copy-row { flex-wrap: wrap; } .key-secret-field { flex-basis: 100%; } }

.auth-topbar {
  position: absolute;
  top: 28px;
  inset-inline: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.auth-topbar .back-link {
  position: static;
  white-space: nowrap;
}
.auth-topbar .language-switch {
  margin: 0;
}
@media (max-width: 1100px) {
  .auth-topbar { inset-inline: 35px; }
}
@media (max-width: 760px) {
  .auth-topbar { position: static; width: 100%; }
}

.site-nav .login-button {
  min-height: 40px;
  padding: 9px 22px;
  border: 1px solid #1976d2;
  border-radius: 8px;
  background: #fff;
  color: #1565c0;
  font-weight: 600;
  white-space: nowrap;
}
.site-nav .login-button:hover {
  background: #e3f2fd;
  border-color: #1565c0;
}
.site-nav .login-button:focus-visible {
  outline: 2px solid #1976d2;
  outline-offset: 3px;
}

.landing-menu-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid #d4e5f5;
  border-radius: 8px;
  color: #1565c0;
  background: #fff;
  font-weight: 600;
}
@media (max-width: 760px) {
  .landing .site-nav { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 16px; padding-block: 18px; }
  .landing-menu-toggle { display: inline-flex; margin-inline-start: auto; }
  .landing #landing-navigation { display: none; width: 100%; margin: 0; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: 12px; gap: 10px; }
  .landing #landing-navigation.is-open { display: flex; flex-direction: column; align-items: stretch; }
  .landing #landing-navigation > a { display: flex; align-items: center; min-height: 42px; padding: 10px 12px; }
  .landing #landing-navigation > a:not(.button):hover { background: #edf5ff; border-radius: 6px; }
  .landing #landing-navigation .language-switch { margin: 4px 0 0; padding-top: 12px; border-top: 1px solid var(--line); justify-content: space-between; }
  .landing #landing-navigation .language-switch label { position: static; width: auto; height: auto; clip-path: none; overflow: visible; }
}

/* Shared public-page theme and controls. */
.auth-topbar-controls { display: flex; align-items: center; gap: 16px; }
.landing .site-nav > .theme-toggle { margin-inline-start: auto; }
[data-theme="dark"] :is(.landing, .auth-page, .docs-page) { background: var(--cream); color: var(--ink); }
[data-theme="dark"] :is(.auth-main, .or-divider span, .price-card, .phone, .floating-note, .docs-content, .landing #landing-navigation) { background: #182332; color: var(--ink); border-color: var(--line); }
[data-theme="dark"] .auth-story { background: #19324b; }
[data-theme="dark"] :is(.final-cta, .campaign-mini) { background: #21364d; color: var(--ink); }
[data-theme="dark"] :is(.phone-thread p, .phone-input, .docs-callout) { background: #243348; color: var(--ink); border-color: var(--line); }
[data-theme="dark"] :is(.phone-thread p:last-child, .avatar, .icon-bubble, .feature-icon) { background: #213c57; color: #a2d1ff; }
[data-theme="dark"] :is(.hero-art) { background: radial-gradient(ellipse, #213c57, transparent 67%); }
[data-theme="dark"] :is(.art-orbit, .phone-contact, .phone-input, .docs-content h2, .docs-content td, .docs-content th) { border-color: var(--line); }
[data-theme="dark"] :is(.hero-copy p, .auth-story p, .auth-story small, .docs-hero > p, .docs-sidebar strong, .docs-content p, .docs-content li) { color: var(--muted); }
[data-theme="dark"] :is(.hero h1 em, .auth-story h1 em, .docs-hero h1 span, .docs-download, .docs-content a) { color: #8cc8ff; }
[data-theme="dark"] :is(.docs-facts span, .docs-sidebar a:hover) { background: #213c57; color: #a2d1ff; border-color: #345775; }
[data-theme="dark"] :is(.site-nav .login-button, .landing-menu-toggle) { background: #182332; color: #8cc8ff; border-color: #496786; }
[data-theme="dark"] .landing #landing-navigation > a:not(.button):hover { background: #213c57; }
[data-theme="dark"] :is(.docs-content pre, .docs-content code) { background: #0c1420; color: #c1dcf7; border-color: var(--line); }
@media (max-width: 760px) {
  .landing .site-nav .landing-menu-toggle { margin-inline-start: 0; }
  .auth-topbar-controls { gap: 8px; }
}

/* Anchor the mobile dropdown above the hero's text and illustration. */
@media (max-width: 760px) {
  .landing .site-nav {
    position: relative;
    z-index: 20;
    height: auto;
    min-height: 78px;
    flex-wrap: nowrap;
  }
  .landing #landing-navigation {
    position: absolute;
    top: calc(100% + 8px);
    inset-inline: 24px;
    width: auto;
    z-index: 1;
    max-height: calc(100dvh - 110px);
    overflow-y: auto;
    box-shadow: 0 12px 32px rgb(15 23 42 / 18%);
  }
}

/* Keep the landing theme control after the desktop navigation. */
.landing .site-nav > .theme-toggle {
  margin-inline-start: 0;
}
@media (max-width: 760px) {
  .landing .site-nav .landing-menu-toggle {
    margin-inline-start: auto;
  }
}
.inline-icon { display: inline-block; vertical-align: -2px; flex-shrink: 0; }
.auth-topbar .back-link, .button { align-items: center; }


/* First-paint ShuleSMS skeletons. */
.sms-startup { min-height: 100vh; background: var(--cream); color: var(--ink); }
.sms-startup-reader { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.sms-skeleton { position: relative; display: block; overflow: hidden; background: #e8edf2; border-radius: 5px; }
.sms-skeleton::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(255,255,255,.72), transparent); animation: sms-startup-shimmer 1.4s ease-in-out infinite; }
@keyframes sms-startup-shimmer { to { transform: translateX(100%); } }
.sms-startup-brand { display: flex; align-items: center; gap: 10px; }
.sms-startup-brand img { flex: 0 0 auto; }
.sms-startup-brand-name { width: 92px; height: 20px; }
.sms-startup-circle, .sms-startup-avatar { width: 40px; height: 40px; border-radius: 50%; }
.sms-startup-language { width: 104px; height: 40px; }

.sms-startup-auth { min-height: 100vh; display: grid; grid-template-columns: 45% 55%; }
.sms-startup-story { min-height: 100vh; padding: 44px 55px; background: #e3f2fd; display: flex; flex-direction: column; justify-content: space-between; }
.sms-startup-story-copy { display: flex; flex-direction: column; align-items: flex-start; }
.sms-startup-eyebrow { width: 166px; height: 10px; margin-bottom: 26px; }
.sms-startup-story-line { width: min(88%, 430px); height: 64px; margin-bottom: 14px; border-radius: 8px; }
.sms-startup-story-line.medium { width: min(72%, 350px); }
.sms-startup-story-line.accent { width: min(58%, 280px); background: #badcff; }
.sms-startup-story-detail { width: min(74%, 360px); height: 15px; margin-top: 26px; }
.sms-startup-story-detail.short { width: min(61%, 300px); margin-top: 10px; }
.sms-startup-story-foot { width: 175px; height: 12px; }
.sms-startup-auth-main { position: relative; min-height: 100vh; padding: 40px 60px; background: #fff; display: flex; flex-direction: column; }
.sms-startup-auth-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.sms-startup-auth-top > div { display: flex; align-items: center; gap: 16px; }
.sms-startup-back { width: 96px; height: 14px; }
.sms-startup-auth-card { width: 100%; max-width: 390px; margin: 82px auto 50px; }
.sms-startup-auth-title { width: 72%; height: 39px; margin-bottom: 16px; border-radius: 7px; }
.sms-startup-auth-copy { width: 92%; height: 15px; margin-bottom: 22px; }
.sms-startup-google { width: 100%; height: 40px; border: 1px solid var(--line); background: #f7f9fb; }
.sms-startup-divider { display: grid; grid-template-columns: 1fr 116px 1fr; align-items: center; gap: 10px; margin: 22px 0; }
.sms-startup-divider i { height: 1px; background: var(--line); }
.sms-startup-divider span { height: 10px; }
.sms-startup-label-line { width: 92px; height: 11px; margin: 0 0 8px; }
.sms-startup-input { width: 100%; height: 49px; margin-bottom: 18px; border: 1px solid var(--line); background: #f9fafb; border-radius: 8px; }
.sms-startup-submit { width: 100%; height: 51px; margin-top: 7px; background: #b7d7f7; border-radius: 8px; }
.sms-startup-switch { width: 210px; height: 12px; margin: 28px auto 0; }

.sms-startup-dashboard { min-height: 100vh; padding-top: 76px; background: #f5f7f5; }
.sms-startup-navbar { position: fixed; z-index: 3; inset: 0 0 auto; height: 76px; padding: 0 24px; display: flex; align-items: center; gap: 18px; background: #fff; border-bottom: 1px solid var(--line); }
.sms-startup-navbar .sms-startup-balance { width: 80px; height: 36px; margin-left: auto; }
.sms-startup-sidebar { position: fixed; z-index: 2; inset: 76px auto 0 0; width: 248px; padding: 38px 18px 24px; background: #f0f6fd; border-right: 1px solid var(--line); }
.sms-startup-collapse { width: 32px; height: 32px; margin: -26px 0 22px auto; }
.sms-startup-label { width: 108px; height: 9px; margin: 0 12px 14px; }
.sms-startup-nav-item { height: 60px; padding: 0 18px; display: flex; align-items: center; gap: 16px; margin-bottom: 4px; border-radius: 8px; }
.sms-startup-nav-item.active { background: #dfeffc; }
.sms-startup-nav-icon { width: 20px; height: 20px; flex: 0 0 auto; }
.sms-startup-nav-text { width: 112px; height: 13px; }
.sms-startup-main { min-height: calc(100vh - 76px); margin-left: 248px; padding: 24px; }
.sms-startup-page-heading { min-height: 76px; display: flex; justify-content: space-between; align-items: flex-start; }
.sms-startup-title { width: 160px; height: 34px; margin-bottom: 12px; }
.sms-startup-subtitle { width: 310px; height: 13px; }
.sms-startup-action { width: 164px; height: 51px; }
.sms-startup-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 8px 0 30px; }
.sms-startup-summary-card { min-height: 140px; padding: 28px 24px; display: flex; align-items: center; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.sms-startup-summary-icon { width: 48px; height: 48px; flex: 0 0 auto; background: #e6f1fc; }
.sms-startup-caption { width: 170px; height: 13px; margin-bottom: 12px; }
.sms-startup-value { width: 90px; height: 28px; margin-bottom: 11px; }
.sms-startup-value.wide { width: 140px; }
.sms-startup-meta { width: 155px; height: 11px; }
.sms-startup-small-button { width: 84px; height: 42px; margin-left: auto; }
.sms-startup-history { min-height: 490px; position: relative; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.sms-startup-tabs { height: 68px; padding: 0 32px; display: flex; align-items: center; gap: 28px; border-bottom: 1px solid var(--line); }
.sms-startup-tabs span { width: 104px; height: 13px; }
.sms-startup-empty { min-height: 350px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.sms-startup-spark { width: 22px; height: 22px; margin-bottom: 18px; }
.sms-startup-empty-title { width: 126px; height: 16px; margin-bottom: 12px; }
.sms-startup-empty-copy { width: 166px; height: 11px; }
.sms-startup-pagination { height: 66px; padding: 0 18px; display: flex; justify-content: flex-end; align-items: center; gap: 18px; border-top: 1px solid var(--line); }
.sms-startup-pagination span { width: 102px; height: 40px; }
.sms-startup-pagination span:nth-child(2) { width: 62px; height: 11px; }

[data-theme="dark"] .sms-startup, [data-theme="dark"] .sms-startup-dashboard { background: #101822; }
[data-theme="dark"] :is(.sms-startup-auth-main, .sms-startup-navbar, .sms-startup-summary-card, .sms-startup-history) { background: #182332; border-color: var(--line); }
[data-theme="dark"] :is(.sms-startup-story, .sms-startup-sidebar) { background: #19324b; border-color: var(--line); }
[data-theme="dark"] .sms-skeleton { background: #29394d; }
[data-theme="dark"] .sms-skeleton::after { background: linear-gradient(90deg, transparent, rgba(108,138,172,.34), transparent); }
[data-theme="dark"] .sms-startup-nav-item.active { background: #213c57; }
[data-theme="dark"] :is(.sms-startup-input, .sms-startup-google) { background: #111c29; border-color: #46586d; }

@media (max-width: 900px) {
  .sms-startup-dashboard { padding-top: 76px; }
  .sms-startup-sidebar { display: none; }
  .sms-startup-main { margin-left: 0; padding: 18px 16px; }
  .sms-startup-navbar { height: 76px; padding: 0 16px; gap: 10px; }
  .sms-startup-navbar .sms-startup-brand-name, .sms-startup-navbar .sms-startup-balance { display: none; }
}
@media (max-width: 760px) {
  .sms-startup-auth { grid-template-columns: 1fr; }
  .sms-startup-story { min-height: auto; padding: 24px; }
  .sms-startup-story-copy, .sms-startup-story-foot { display: none; }
  .sms-startup-auth-main { min-height: calc(100vh - 88px); padding: 25px; }
  .sms-startup-auth-card { margin: 30px auto; }
  .sms-startup-summary { grid-template-columns: 1fr; }
  .sms-startup-page-heading .sms-startup-action { display: none; }
}
@media (max-width: 480px) {
  .sms-startup-navbar .sms-startup-language { width: 86px; }
  .sms-startup-page-heading { min-height: 70px; }
  .sms-startup-subtitle { width: 220px; }
  .sms-startup-summary-card { padding: 20px 16px; }
}
@media (prefers-reduced-motion: reduce) { .sms-skeleton::after { animation: none; } }
/* Profile settings dialog. */
#profile-dialog {
  width: min(540px, calc(100vw - 32px));
  padding: 0;
  overflow: hidden;
  border-radius: 12px;
  border-color: var(--line);
}
.profile-dialog-header {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 30px 24px;
  border-bottom: 1px solid var(--line);
}
.profile-dialog-identity {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}
.profile-dialog-avatar {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e3f2fd;
  color: #1565c0;
  font-size: 15px;
  font-weight: 750;
}
#profile-dialog .profile-dialog-header h2 {
  margin: 0 0 5px;
  font-size: 24px;
  letter-spacing: 0;
}
#profile-dialog .profile-dialog-header p {
  max-width: 330px;
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}
#profile-dialog .dialog-close {
  position: static;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: grid;
  place-items: center;
  margin: -6px -8px 0 0;
  border-radius: 50%;
  color: var(--muted);
  font-size: 24px;
  line-height: 1;
}
#profile-dialog .dialog-close:hover {
  background: #edf5ff;
  color: #1565c0;
}
.profile-dialog-form {
  padding: 26px 30px 30px;
}
.profile-field + .profile-field {
  margin-top: 20px;
}
.profile-field label {
  display: block;
  margin: 0 0 8px;
  font-weight: 700;
}
.profile-field input {
  width: 100%;
  height: 50px;
  margin: 0;
}
.profile-field input[readonly] {
  background: #f4f6f8;
  color: var(--muted);
  cursor: not-allowed;
}
.profile-field small {
  display: block;
  margin-top: 7px;
  line-height: 1.45;
}
.profile-dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.profile-dialog-actions .button {
  min-width: 116px;
  padding: 11px 18px;
}
[data-theme="dark"] .profile-dialog-avatar {
  background: #213c57;
  color: #8cc8ff;
}
[data-theme="dark"] #profile-dialog .dialog-close:hover {
  background: #213c57;
  color: #8cc8ff;
}
[data-theme="dark"] .profile-field input[readonly] {
  background: #202e40;
  color: var(--muted);
}
@media (max-width: 520px) {
  .profile-dialog-header { padding: 22px 20px 20px; }
  .profile-dialog-form { padding: 22px 20px 24px; }
  .profile-dialog-avatar { width: 42px; height: 42px; flex-basis: 42px; }
  #profile-dialog .profile-dialog-header h2 { font-size: 21px; }
  .profile-dialog-actions { flex-direction: column-reverse; }
  .profile-dialog-actions .button { width: 100%; }
}
#delete-payment-dialog {
  width: 440px;
}

.confirm-dialog-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.confirm-dialog-header h2 {
  margin: 0 0 7px;
}

.confirm-dialog-header p {
  margin: 0;
  color: var(--muted);
}

.confirm-dialog-icon {
  width: 42px;
  height: 42px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: #fff1ef;
}

.confirm-dialog-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin: 26px 0;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.danger-action {
  background: #b44235 !important;
}

.danger-action:hover {
  background: #96372d !important;
}

[data-theme="dark"] .confirm-dialog-icon {
  background: #452924;
}