.primary-nav a > i {
    width: 18px;
    color: #aeb7c4;
    font-size: 14px;
    text-align: center;
}

/* Developer settings */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.developer-tabs{display:flex;width:max-content;margin:-6px 0 16px;padding:4px;border:1px solid var(--line);border-radius:8px;background:rgba(255,255,255,.015)}
.developer-tabs a{min-width:116px;padding:8px 16px;border-radius:6px;color:var(--muted);text-align:center;text-decoration:none}.developer-tabs a.active{color:#d9ceff;background:linear-gradient(135deg,rgba(118,77,232,.4),rgba(86,54,177,.3))}.developer-tabs i{margin-right:6px}
.developer-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(290px,360px);gap:18px;align-items:start}.developer-main,.developer-aside{min-width:0}.developer-aside{display:grid;gap:12px}
.api-key-card{padding:0;overflow:visible}.api-card-heading{position:relative;display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:80px;padding:16px 18px;border-bottom:1px solid var(--line)}.api-card-heading h2,.quickstart-card h2{margin-bottom:2px}.api-card-heading h2 i{margin-right:8px;color:var(--bright)}.api-card-heading p,.quickstart-card p{margin-bottom:0;font-size:12px}
.create-key-menu{position:relative;flex:none}.create-key-menu summary{list-style:none;cursor:pointer}.create-key-menu summary::-webkit-details-marker{display:none}.create-key-menu form{position:absolute;top:calc(100% + 10px);right:0;z-index:5;width:300px;padding:16px;border:1px solid var(--line);border-radius:8px;background:var(--panel);box-shadow:0 18px 55px rgba(0,0,0,.4)}
.api-key-table-wrap{overflow-x:auto}.api-key-table{width:100%;border-collapse:collapse;font-size:12px}.api-key-table th,.api-key-table td{padding:13px 16px;border-bottom:1px solid var(--soft);text-align:left;vertical-align:middle}.api-key-table th{color:var(--muted);background:rgba(255,255,255,.012);font-weight:500;white-space:nowrap}.api-key-table td:first-child{min-width:145px}.api-key-table td:first-child strong,.api-key-table td:first-child small{display:block}.api-key-table td:first-child small{margin-top:2px;font-size:10px}.api-key-table code{color:#c2c9d3;font-size:11px;white-space:nowrap}.api-key-table form{display:block}.api-key-table tr.revoked{opacity:.52}
.permission-badge,.revoked-label{display:inline-flex;padding:4px 8px;border:1px solid rgba(133,92,246,.3);border-radius:5px;color:#b99fff;background:rgba(133,92,246,.09);font-size:10px;white-space:nowrap}.permission-badge.read{border-color:rgba(76,151,255,.3);color:#75adff;background:rgba(76,151,255,.08)}
.table-action{display:grid;width:32px;min-height:32px;padding:0;place-items:center;border-color:var(--line);background:transparent;color:var(--muted)}.table-action:hover{border-color:rgba(238,96,117,.5);color:var(--danger)}.api-empty{padding:55px 20px!important;color:var(--muted);text-align:center!important}.api-security-note{padding:12px 16px;color:var(--muted);font-size:11px}.api-security-note i{margin-right:7px}
.quickstart-card{padding:16px}.quickstart-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.quickstart-card>header>span{padding:7px 10px;border:1px solid var(--line);border-radius:6px;color:var(--muted);font-size:11px}.code-sample{margin:14px 0;overflow:hidden;border:1px solid var(--line);border-radius:7px;background:#070c14}.code-sample>div{display:flex;align-items:center;justify-content:space-between;padding:9px 10px;border-bottom:1px solid var(--line);font-size:11px}.code-sample .copy-button{min-height:27px;padding:4px 8px;font-size:10px}.code-sample pre{margin:0;padding:12px;overflow-x:auto;color:#b99fff;font-size:10px;line-height:1.7}.docs-link{font-size:11px;text-decoration:none}.docs-link i{margin-left:4px;font-size:9px}
.api-stat-card{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:12px;padding:14px 16px}.api-stat-card>div{min-width:0;display:grid}.api-stat-card strong{font-size:20px;line-height:1.3}.api-stat-card small,.api-stat-card span,.api-stat-card a{color:var(--muted);font-size:10px}.api-stat-card a{color:var(--bright);text-decoration:none}.stat-progress{height:4px;margin-top:8px;overflow:hidden;border-radius:4px;background:var(--soft)}.stat-progress b{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--accent),var(--bright))}.plan-stat{grid-template-columns:auto 1fr auto}.plan-stat .secondary-button{padding:7px 10px;border:1px solid var(--line);border-radius:6px;color:var(--text);white-space:nowrap}
@media(max-width:900px){.developer-layout{grid-template-columns:1fr}.developer-aside{grid-template-columns:repeat(2,minmax(0,1fr))}.quickstart-card{grid-column:1/-1}}
@media(max-width:700px){.developer-tabs{width:100%}.developer-tabs a{flex:1;min-width:0}.developer-aside{grid-template-columns:1fr}.api-card-heading{align-items:stretch;flex-direction:column}.create-key-menu .button-link{justify-content:center}.create-key-menu form{right:auto;left:0;width:min(100%,320px)}}

.primary-nav a.active > i {
    color: var(--bright);
}

.theme-form {
    display: block;
}

.theme-form .topbar-icon {
    padding: 0;
    border: 0;
    border-left: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
}

.inbox-heading-actions,
.inbox-switcher > div {
    display: flex;
    align-items: flex-end;
    gap: 10px;
}

.inbox-heading-actions {
    align-items: center;
}

.inbox-switcher {
    display: grid;
    gap: 5px;
}

.inbox-switcher label {
    display: block;
}

.inbox-switcher select {
    min-width: min(360px, 40vw);
}

.inbox-switcher button {
    white-space: nowrap;
}

.inbox-smtp-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 16px;
}

.inbox-smtp-card > div,
.inbox-smtp-card > div > span:last-child {
    display: flex;
    align-items: center;
    gap: 12px;
}

.inbox-smtp-card > div > span:last-child {
    align-items: flex-start;
    flex-direction: column;
    gap: 0;
}

.smtp-icon {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 7px;
    color: var(--bright);
    background: rgba(133, 92, 246, .12);
}

.inbox-smtp-card dl {
    display: flex;
    gap: 34px;
    margin: 0;
}

.inbox-smtp-card dl div {
    display: grid;
}

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

.inbox-smtp-card dd {
    margin: 2px 0 0;
    color: var(--text);
    font-size: 12px;
}

.smtp-ready {
    color: var(--green) !important;
}

.smtp-ready i {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 5px;
    border-radius: 50%;
    background: var(--green);
}

.inbox-page-heading .muted { margin: 3px 0 0; }
.inbox-page-heading #poll-status i { color: var(--green); font-size: 7px; }
.inbox-setup { margin-bottom: 14px; padding: 0; }
.inbox-setup summary { padding: 12px 16px; color: var(--muted); cursor: pointer; list-style-position: inside; }
.inbox-setup summary i { margin: 0 5px 0 3px; }
.inbox-setup .inbox-smtp-card,
.inbox-setup .inbox-credentials { margin: 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; box-shadow: none; }
.mailbox { min-height: 650px; display: grid; grid-template-columns: minmax(300px, 370px) minmax(0, 1fr); padding: 0; overflow: hidden; }
.mailbox-list-pane { min-width: 0; border-right: 1px solid var(--line); }
.mailbox-search { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 9px; margin: 12px; padding: 0 10px; border: 1px solid var(--line); border-radius: 6px; background: var(--bg); }
.mailbox-search label { display: block; color: var(--muted); }
.mailbox-search input { min-width: 0; padding: 10px 0; border: 0; background: transparent; box-shadow: none; }
.mailbox-search button { width: 28px; min-height: 28px; }
.mailbox-list-summary { display: flex; justify-content: space-between; padding: 0 14px 11px; color: var(--muted); font-size: 11px; }
.mailbox .message-list { border-top: 1px solid var(--line); }
.mailbox .message-row { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; align-items: center; gap: 10px; min-height: 84px; padding: 12px 14px; }
.mailbox .message-row > i { color: var(--muted); }
.mailbox .message-row > span { min-width: 0; display: grid; }
.mailbox .message-row strong,
.mailbox .message-row small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mailbox .message-row time { align-self: start; padding-top: 2px; font-size: 10px; white-space: nowrap; }
.mailbox .message-row.selected { background: rgba(133, 92, 246, .14); box-shadow: inset 3px 0 var(--accent); }
.mailbox-viewer-pane { min-width: 0; }
.message-heading { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.message-heading h2 { margin: 2px 0 0; font-size: 19px; }
.message-heading form { display: block; }
.message-heading .danger { border: 1px solid rgba(238, 96, 117, .4); }
.message-overview { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 12px 20px; border-bottom: 1px solid var(--line); }
.message-overview div { min-width: 0; }
.message-overview dt { color: var(--muted); font-size: 10px; }
.message-overview dd { margin: 2px 0 0; overflow-wrap: anywhere; font-size: 12px; }
.mailbox-viewer-pane .tabs { margin: 0; padding: 0 10px; }
.mailbox-message-viewer { min-height: 470px; padding: 14px; }
.mailbox-message-viewer iframe { height: 480px; border: 1px solid var(--line); }
.mailbox-message-viewer pre { max-height: 510px; margin: 0; padding: 15px; border: 1px solid var(--line); border-radius: 6px; background: var(--bg); overflow: auto; color: var(--text); font: 12px/1.55 ui-monospace, SFMono-Regular, Consolas, monospace; }
.preview-controls { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.message-resource-list { display: grid; gap: 8px; }
.message-resource-list a { display: flex; align-items: center; gap: 9px; padding: 12px; border: 1px solid var(--line); border-radius: 6px; color: var(--text); text-decoration: none; overflow-wrap: anywhere; }
.message-resource-list a small { margin-left: auto; white-space: nowrap; }
.mailbox-empty > i { margin-bottom: 14px; color: var(--bright); font-size: 28px; }

.dashboard-heading .muted,
.manage-heading .muted,
.section-heading p {
    margin: 4px 0 0;
}

.button-link {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 9px 15px;
    border: 1px solid #744be5;
    border-radius: 6px;
    background: linear-gradient(135deg, #784de8, #6040d3);
    color: #fff;
    font-weight: 650;
    text-decoration: none;
}

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

.stat-card {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 12px;
}

.stat-card > div {
    display: grid;
}

.stat-card strong {
    margin-top: 2px;
    font-size: 24px;
    line-height: 1.1;
}

.stat-card > a,
.stat-detail {
    grid-column: 2;
    color: var(--muted);
    font-size: 11px;
}

.stat-card > a {
    color: var(--bright);
    text-decoration: none;
}

.stat-icon,
.recent-icon {
    display: grid;
    place-items: center;
    border-radius: 8px;
    color: var(--bright);
    background: rgba(133, 92, 246, .12);
}

.stat-icon {
    width: 42px;
    height: 42px;
}

.chart-card,
.recent-card {
    margin-top: 16px;
}

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

.section-heading h2 {
    margin-bottom: 0;
}

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

.usage-chart {
    height: 240px;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    align-items: end;
    gap: clamp(8px, 3vw, 32px);
    margin-top: 26px;
    padding: 0 12px;
    border-bottom: 1px solid var(--line);
}

.chart-column {
    height: 100%;
    display: grid;
    grid-template-rows: 20px 1fr 28px;
    gap: 5px;
    text-align: center;
}

.chart-value,
.chart-label {
    color: var(--muted);
    font-size: 11px;
}

.chart-bar-track {
    position: relative;
    display: block;
}

.chart-bar-track i {
    position: absolute;
    right: 18%;
    bottom: 0;
    left: 18%;
    min-height: 4px;
    border-radius: 5px 5px 0 0;
    background: linear-gradient(180deg, var(--bright), var(--accent));
}

.recent-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 13px;
    padding: 14px 2px;
    border-top: 1px solid var(--soft);
    color: var(--text);
    text-decoration: none;
}

.recent-row:nth-child(2) {
    margin-top: 16px;
}

.recent-row > span:nth-child(2) {
    display: grid;
}

.recent-row > i {
    color: var(--muted);
    font-size: 10px;
}

.recent-icon {
    width: 34px;
    height: 34px;
}

.compact-empty {
    padding: 35px 10px 18px;
    text-align: center;
}

.management-grid {
    display: grid;
    grid-template-columns: minmax(260px, .7fr) minmax(360px, 1.3fr);
    gap: 16px;
}

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

.projects-toolbar {
    position: relative;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin: -73px 0 25px;
}

.project-search {
    position: relative;
    display: block;
    width: min(310px, 35vw);
}

.project-search i {
    position: absolute;
    top: 13px;
    left: 14px;
    color: var(--muted);
    font-size: 12px;
}

.project-search input {
    height: 40px;
    padding-left: 38px;
}

.create-project-popover {
    position: relative;
    z-index: 2;
}

.create-project-popover summary {
    min-height: 40px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 15px;
    border: 1px solid #744be5;
    border-radius: 6px;
    background: linear-gradient(135deg, #784de8, #6040d3);
    color: #fff;
    font-weight: 650;
    cursor: pointer;
    list-style: none;
}

.create-project-popover summary::-webkit-details-marker {
    display: none;
}

.create-project-card {
    position: absolute;
    top: 49px;
    right: 0;
    width: 340px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .45);
}

.create-project-card h2 {
    margin-bottom: 5px;
}

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

.project-cards,
.projects-rail {
    display: grid;
    gap: 14px;
}

.project-card {
    padding: 18px;
}

.project-card[hidden],
.project-no-results[hidden] {
    display: none;
}

.project-card-header {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    align-items: center;
    gap: 14px;
}

.project-card-icon {
    width: 47px;
    height: 47px;
    display: grid;
    place-items: center;
    flex: none;
    border-radius: 9px;
    background: linear-gradient(135deg, #492a94, #272064);
    color: #fff;
    font-size: 16px;
    font-weight: 650;
}

.project-card-header h2 {
    margin: 0;
    font-size: 17px;
}

.project-card-header p {
    margin: 2px 0 0;
    font-size: 11px;
}

.project-card-header time {
    font-size: 10px;
}

.project-card-header form {
    display: block;
}

.project-delete {
    width: 34px;
    min-height: 34px;
    padding: 0;
    border-color: transparent;
    background: transparent;
    color: var(--muted);
}

.project-delete:hover {
    color: var(--danger);
    background: rgba(238, 96, 117, .08);
}

.project-metrics {
    display: flex;
    gap: clamp(35px, 9vw, 110px);
    margin: 19px 0 16px 61px;
}

.project-metrics > span {
    display: grid;
    grid-template-columns: 18px auto;
    column-gap: 7px;
    align-items: center;
}

.project-metrics > span > i {
    grid-row: 1 / 3;
    color: var(--muted);
}

.project-metrics small {
    font-size: 9px;
}

.project-active-dot {
    color: var(--green) !important;
    font-size: 7px;
    filter: drop-shadow(0 0 5px var(--green));
}

.project-inboxes {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 14px;
    border-top: 1px solid var(--soft);
}

.project-inboxes a,
.project-inboxes > span {
    min-width: 145px;
    display: grid;
    gap: 3px;
    padding: 9px 11px;
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--text);
    text-decoration: none;
}

.project-inboxes a:hover {
    border-color: rgba(133, 92, 246, .6);
    background: rgba(133, 92, 246, .06);
}

.project-inboxes small {
    font-size: 9px;
}

.project-inboxes small i {
    margin-left: 4px;
}

.project-inboxes .more-inboxes {
    min-width: auto;
    place-items: center;
    border-style: dashed;
    color: var(--bright);
}

.project-empty {
    padding: 65px 20px;
}

.project-empty .project-card-icon {
    margin: 0 auto 16px;
}

.project-no-results {
    text-align: center;
}

.projects-rail {
    position: sticky;
    top: 96px;
}

.projects-rail .panel {
    padding: 17px;
}

.projects-rail h2 {
    margin-bottom: 14px;
    font-size: 14px;
}

.usage-ring {
    --usage: 0;
    width: 125px;
    height: 125px;
    display: grid;
    place-items: center;
    margin: 7px auto 18px;
    border-radius: 50%;
    background: conic-gradient(var(--accent) calc(var(--usage) * 1%), #202938 0);
}

.usage-ring::before {
    content: "";
    grid-area: 1 / 1;
    width: 101px;
    height: 101px;
    border-radius: 50%;
    background: var(--panel);
}

.usage-ring span {
    z-index: 1;
    grid-area: 1 / 1;
    display: grid;
    text-align: center;
}

.usage-ring strong {
    font-size: 23px;
}

.usage-ring small {
    font-size: 9px;
}

.usage-key {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 10px;
}

.usage-key i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
}

.usage-key strong {
    color: var(--text);
}

.plan-summary .eyebrow {
    margin-bottom: 3px;
}

.plan-summary h2 {
    margin-bottom: 12px;
    font-size: 21px;
}

.plan-summary ul {
    display: grid;
    gap: 9px;
    margin: 0 0 16px;
    padding: 0;
    color: var(--muted);
    font-size: 11px;
    list-style: none;
}

.plan-summary li i {
    width: 19px;
    color: var(--green);
}

.plan-summary > a {
    display: block;
    padding-top: 13px;
    border-top: 1px solid var(--soft);
    text-decoration: none;
    font-size: 11px;
}

.management-grid .project-list {
    margin-top: 0;
}

.inline-form {
    grid-template-columns: 1fr auto;
    align-items: end;
    margin-bottom: 16px;
}

.admin-record {
    flex-wrap: wrap;
}

.admin-record > span {
    flex: 1 1 280px;
}

.admin-record .inline-form {
    flex: 1 1 280px;
    margin-bottom: 0;
}

.billing-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 18px;
}

.billing-card h2 {
    margin: 2px 0;
    font-size: 25px;
}

body[data-theme="light"] {
    color-scheme: light;
    --bg: #f4f6fa;
    --sidebar: #ffffff;
    --panel: #ffffff;
    --line: #dce1e9;
    --soft: #e9edf3;
    --text: #172033;
    --muted: #697386;
    --bright: #6840d9;
}

body[data-theme="light"] .sidebar {
    background: radial-gradient(circle at 0 30%, rgba(133, 92, 246, .06), transparent 38%), var(--sidebar);
}

body[data-theme="light"] .app-topbar {
    background: rgba(244, 246, 250, .92);
}

body[data-theme="light"] .primary-nav a {
    color: #536075;
}

body[data-theme="light"] .primary-nav a:hover {
    color: var(--text);
    background: #f7f5ff;
}

body[data-theme="light"] .primary-nav a.active {
    color: var(--bright);
    background: #f0ecff;
}

body[data-theme="light"] input,
body[data-theme="light"] select,
body[data-theme="light"] .credential code {
    background: #f8f9fc;
}

body[data-theme="light"] .panel {
    background: var(--panel);
    box-shadow: 0 8px 26px rgba(26, 35, 52, .05);
}

body[data-theme="light"] .message-row:hover {
    background: #f7f5ff;
}

.inbox-credentials {
    margin-bottom: 16px;
}

.credential-heading,
.credential-row,
.credential-actions,
.revealed-password span {
    display: flex;
    align-items: center;
}

.credential-heading,
.credential-row {
    justify-content: space-between;
    gap: 20px;
}

.credential-heading h2 {
    margin: 2px 0 0;
}

.credential-row {
    padding: 14px 0;
    border-top: 1px solid var(--soft);
}

.credential-row > span {
    display: grid;
}

.credential-actions {
    gap: 8px;
}

.credential-actions form {
    display: block;
}

.credential-actions button i {
    margin-right: 7px;
}

.secondary-button,
.copy-button {
    border-color: var(--line);
    background: transparent;
    color: var(--text);
}

.revealed-password {
    display: grid;
    gap: 8px;
    margin: 14px 0;
    padding: 14px;
    border: 1px solid rgba(84, 210, 120, .35);
    border-radius: 7px;
    background: rgba(84, 210, 120, .07);
}

.revealed-password span {
    gap: 8px;
}

.revealed-password code {
    flex: 1;
    padding: 9px 11px;
    border-radius: 5px;
    background: rgba(0, 0, 0, .16);
    color: var(--text);
    overflow-wrap: anywhere;
}

@media (max-width: 900px) {
    .primary-nav a > i {
        font-size: 16px;
    }

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

    .projects-layout {
        grid-template-columns: 1fr;
    }

    .projects-rail {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mailbox {
        grid-template-columns: minmax(270px, 34%) minmax(0, 1fr);
    }

    .message-overview {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

@media (max-width: 700px) {

    .stat-grid,
    .management-grid {
        grid-template-columns: 1fr;
    }

    .projects-toolbar {
        display: grid;
        margin: 0 0 18px;
    }

    .project-search,
    .create-project-popover summary {
        width: 100%;
    }

    .create-project-popover summary {
        justify-content: center;
    }

    .create-project-card {
        position: static;
        width: 100%;
        margin-top: 8px;
    }

    .project-card-header {
        grid-template-columns: auto 1fr auto;
    }

    .project-card-header time {
        display: none;
    }

    .project-metrics {
        margin-left: 0;
    }

    .project-inboxes a,
    .project-inboxes > span {
        flex: 1 1 130px;
        min-width: 0;
    }

    .projects-rail {
        grid-template-columns: 1fr;
    }

    .dashboard-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .usage-chart {
        height: 190px;
        gap: 5px;
        padding: 0;
    }

    .inline-form,
    .billing-card {
        grid-template-columns: 1fr;
    }
    .page-heading,
    .inbox-heading-actions,
    .inbox-switcher,
    .inbox-switcher > div {
        width: 100%;
    }

    .page-heading,
    .inbox-heading-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .inbox-switcher select {
        min-width: 0;
        flex: 1;
    }

    .mailbox {
        display: block;
        min-height: 0;
    }

    .mailbox-list-pane {
        max-height: 420px;
        overflow-y: auto;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .mailbox-message-viewer iframe {
        height: 430px;
    }

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

    .inbox-smtp-card,
    .inbox-smtp-card dl {
        align-items: flex-start;
        flex-direction: column;
    }

    .inbox-smtp-card dl {
        width: 100%;
        gap: 12px;
    }

    .credential-row,
    .credential-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .credential-actions button {
        width: 100%;
    }
}
