@font-face {
  font-family: "Open Sans";
  src: url("/assets/fonts/open-sans-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: Poppins;
  src: url("/assets/fonts/poppins-400-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Poppins;
  src: url("/assets/fonts/poppins-500-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: Poppins;
  src: url("/assets/fonts/poppins-600-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: Poppins;
  src: url("/assets/fonts/poppins-700-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: Poppins;
  src: url("/assets/fonts/poppins-800-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}
:root {
  font-family: "Open Sans", Arial, sans-serif;
  color: #1e2b37;
  background: #f3f6f6;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --brand-primary: #052757;
  --brand-primary-deep: #031b3e;
  --brand-accent: #23a00b;
  --brand-accent-deep: #176d0b;
  --brand-orange: #f88016;
  --brand-pale: #eaf3e8;
  --muted: #82909a;
  --line: #e7ecec;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
}
button,
input {
  font: inherit;
}
h1,
h2,
h3,
h4 {
  font-family: Poppins, sans-serif;
}
/* Shared body styles for functional account and settings screens */
.admin-body {
  background: #f4f7f7;
  color: #243541;
  font-family: "Open Sans", Arial, sans-serif;
}
.admin-eyebrow {
  margin: 0 0 6px;
  color: var(--brand-primary);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1.15px;
}
/* Shared components for the standalone account forms. */
.simple-page {
  min-height: 100vh;
  padding: 36px 20px;
  background: #f3f7f6;
  color: #263a42;
  font:
    15px/1.55 "Open Sans",
    Arial,
    sans-serif;
}
.simple-page .simple-brand {
  display: block;
  color: var(--brand-primary);
  font-size: 20px;
  font-weight: 800;
  text-decoration: none;
}
.simple-page .simple-brand img {
  display: block;
  width: 132px;
  height: auto;
}
.simple-card {
  max-width: 760px;
  margin: 24px auto;
  padding: 26px;
  border: 1px solid #e2eae8;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 35px #183b3810;
}
.simple-card h1,
.simple-card h2 {
  margin: 0 0 12px;
  color: #1d3540;
}
.simple-page .simple-card label {
  display: grid;
  gap: 6px;
  margin: 13px 0;
  color: #52666b;
  font-size: 13px;
}
.simple-page .simple-card input:not([type="checkbox"]),
.simple-page .simple-card select {
  width: 100%;
  min-height: 42px;
  padding: 9px 11px;
  border: 1px solid #dfe2ef;
  border-radius: 7px;
  background: #fff;
  color: #263a42;
  font: inherit;
}
.simple-page .simple-card button {
  min-height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 7px;
  background: var(--brand-primary);
  color: #fff;
  font-weight: 650;
  cursor: pointer;
}
.simple-page .simple-card label.check-line {
  display: flex;
  align-items: center;
  gap: 8px;
}
.simple-notice {
  max-width: 760px;
  margin: 16px auto;
  padding: 12px 15px;
  border: 1px solid #cde7dc;
  border-radius: 8px;
  background: #f0faf4;
  color: #286345;
}
.form-alert {
  padding: 11px 13px;
  border: 1px solid #f0c9c7;
  border-radius: 7px;
  background: #fff6f5;
  color: #8a3330;
}
.check-line {
  display: flex;
  align-items: center;
  gap: 8px;
}
.check-line input {
  width: 16px;
  height: 16px;
  flex: none;
}
/* Shared administration shell for dashboard, users, and settings */
.work-page {
  min-height: 100vh;
  background: #f3f6f6;
  color: #243541;
  font:
    14px/1.55 "Open Sans",
    Arial,
    sans-serif;
}
.work-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 3;
  width: 248px;
  display: flex;
  flex-direction: column;
  padding: 22px 15px 16px;
  background: #fff;
  border-right: 1px solid #e8eded;
}
.work-sidebar .work-brand {
  display: block;
  margin: 0 0 34px;
  padding: 0 9px;
}
.work-brand img {
  display: block;
  width: 132px;
  height: auto;
}
.work-nav-label {
  margin: 0;
  padding: 0 10px 9px;
  color: #9aa6a8;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.1px;
}
.work-nav-link {
  display: block;
  margin: 2px 0;
  padding: 10px 11px;
  border-radius: 7px;
  color: #637479;
  text-decoration: none;
  font-size: 13px;
}
.work-nav-link:hover,
.work-nav-link.active {
  background: var(--brand-pale);
  color: var(--brand-primary);
  font-weight: 650;
}
.work-sidebar-bottom {
  margin-top: auto;
  padding: 14px 9px 0;
  border-top: 1px solid #edf0f0;
  color: #36494f;
  font-size: 12px;
}
.work-sidebar-bottom small {
  display: block;
  margin-top: 2px;
  color: #849194;
  font-size: 10px;
}
.work-sidebar-bottom form {
  margin-top: 13px;
}
.work-sidebar-bottom button {
  width: 100%;
  min-height: 35px;
  border: 1px solid #e2eae8;
  border-radius: 6px;
  background: #fff;
  color: #576d70;
  text-align: left;
  padding: 0 10px;
  cursor: pointer;
}
.work-main {
  min-height: 100vh;
  margin-left: 248px;
}
.work-content {
  width: min(100% - 68px, 1240px);
  margin: 0 auto;
  padding: 42px 0;
}
.work-content > h1 {
  margin: 4px 0 6px;
  color: #223740;
  font-size: 32px;
  letter-spacing: -0.7px;
}
.work-content > p {
  color: #708185;
}
.work-content > .simple-card {
  max-width: none;
  margin: 22px 0;
}
.work-content > .simple-card:not(.table-card) {
  max-width: 680px;
  padding: 20px 22px;
}
.work-content > .simple-card h2 {
  font-size: 18px;
}
.users-page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 4px 0 22px;
}
.users-page-heading h1 {
  margin: 0;
  color: #223740;
  font:
    600 32px/1.2 Poppins,
    sans-serif;
  letter-spacing: -0.7px;
}
.users-page-heading p {
  margin: 6px 0 0;
  color: #708185;
  font-size: 13px;
}
.work-content .table-card {
  padding: 0 0 6px;
}
.table-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 14px;
}
.table-heading h2 {
  margin: 0;
  color: #1d3540;
  font:
    600 18px/1.35 Poppins,
    sans-serif;
}
.table-heading p {
  margin: 3px 0 0;
  color: #829096;
  font-size: 11px;
}
.work-content .table-card .responsive-table {
  padding: 0 18px 8px;
}
.work-content .stack-form {
  display: grid;
  width: min(100%, 560px);
  gap: 12px;
}
.work-content .stack-form > button {
  justify-self: start;
}
.work-content .stack-form label,
.work-content .inline-form label {
  display: grid;
  gap: 4px;
  margin: 0;
  color: #52666b;
  font-size: 12px;
}
.work-content .stack-form input,
.work-content .stack-form select,
.work-content .inline-form input {
  width: 100%;
  min-height: 40px;
  padding: 8px 11px;
  border: 1px solid #d9e1e5;
  border-radius: 7px;
  background: #fff;
  color: #263a42;
  font: inherit;
  font-size: 12px;
}
.work-content .stack-form input:focus-visible,
.work-content .stack-form select:focus-visible,
.work-content .stack-form textarea:focus-visible,
.work-content .inline-form input:focus-visible {
  outline: 3px solid #05275730;
  border-color: var(--brand-primary);
}
.work-content .smtp-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.work-content .smtp-form .field-wide,
.work-content .smtp-form button {
  grid-column: 1 / -1;
}
.work-content .smtp-form button {
  justify-self: start;
}
.work-content .check-line {
  margin: 8px 0;
}
.work-content .inline-form {
  display: flex;
  align-items: flex-end;
  gap: 12px;
}
.work-content .inline-form label {
  flex: 1;
}
.work-content .simple-notice {
  max-width: none;
}
.configured-url {
  display: grid;
  gap: 4px;
  width: min(100%, 620px);
  margin: 18px 0;
  padding: 11px 14px;
  border: 1px solid #e2eae8;
  border-radius: 8px;
  background: #fff;
  color: #687a7e;
  font-size: 12px;
}
.configured-url > span {
  font-weight: 650;
  color: #465c61;
}
.configured-url > code {
  color: var(--brand-primary);
  font-size: 13px;
  overflow-wrap: anywhere;
}
.configured-url > small {
  color: #8a989a;
  font-size: 11px;
}
.mail-page-intro {
  max-width: 720px;
  margin: 6px 0 16px;
  font-size: 13px;
}
.mail-page .work-content {
  padding: 26px 0;
}
.mail-settings-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  width: fit-content;
  max-width: 100%;
  margin: 18px 0 14px;
  padding: 4px;
  border: 1px solid #e1e7e9;
  border-radius: 9px;
  background: #fff;
}
.mail-settings-tab {
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: #617277;
  font: 600 12px/1.2 "Open Sans", Arial, sans-serif;
  cursor: pointer;
}
.mail-page .mail-settings-tabs {
  margin: 12px 0;
}
.mail-settings-tab[aria-selected="true"] {
  border-color: #dce2ff;
  background: var(--brand-pale);
  color: var(--brand-primary-deep);
}
.mail-settings-tab:disabled {
  color: #a5afb2;
  cursor: not-allowed;
}
.mail-settings-tab:focus-visible {
  outline: 2px solid var(--brand-primary);
  outline-offset: 2px;
}
.mail-settings-panel > .simple-card {
  max-width: 760px;
  margin: 0;
  padding: 18px 20px;
}
.mail-settings-panel > .simple-card h2 {
  margin-bottom: 8px;
}
.invitation-settings-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(260px, 0.8fr);
  align-items: start;
  gap: 12px;
  width: min(100%, 920px);
}
.invitation-settings-layout > .simple-card {
  max-width: none;
  min-width: 0;
  margin: 0;
  padding: 18px 20px;
}
.invitation-settings-layout > .simple-card h2 {
  margin-bottom: 8px;
}
.invitation-validity-form {
  max-width: 100%;
}
.smtp-settings-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(250px, 0.95fr);
  gap: 12px;
  width: min(100%, 920px);
}
.smtp-settings-layout > .simple-card {
  max-width: none;
  min-width: 0;
}
.mail-card-description {
  margin: 0 0 12px;
  color: #708185;
  font-size: 12px;
}
.mail-page .mail-test-form {
  display: grid;
  gap: 10px;
}
.mail-page .mail-test-form button {
  justify-self: start;
}
.mail-page .stack-form {
  gap: 8px;
}
.mail-page .stack-form input,
.mail-page .stack-form select {
  min-height: 36px;
  padding: 6px 9px;
}
.mail-feedback {
  width: min(100%, 760px);
  margin: 0 0 12px;
}
.mail-test-disabled {
  margin: 0 0 14px;
  color: #708185;
  font-size: 12px;
}
.mail-page-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
  margin-top: 17px;
  color: #7d8b8e;
  font-size: 11px;
}
.mail-page-footer > code {
  color: var(--brand-primary-deep);
  overflow-wrap: anywhere;
}
.mail-page-footer > small {
  flex-basis: 100%;
  color: #8a989a;
  font-size: 10px;
}
.work-content .stack-form textarea {
  width: 100%;
  min-height: 150px;
  padding: 8px 10px;
  border: 1px solid #dfe2ef;
  border-radius: 7px;
  background: #fff;
  color: #263a42;
  font:
    13px/1.5 "Open Sans",
    Arial,
    sans-serif;
  resize: vertical;
}
.work-mobile-nav {
  display: none;
}
.table-card table {
  width: 100%;
  min-width: 1020px;
  border-collapse: collapse;
  table-layout: fixed;
  white-space: nowrap;
}
.table-card th,
.table-card td {
  padding: 13px 14px;
  border-bottom: 1px solid #edf1f0;
  text-align: left;
  font-size: 12px;
}
.table-card th {
  color: #819093;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.55px;
}
.table-card th:nth-child(1) {
  width: 21%;
}
.table-card th:nth-child(2) {
  width: 30%;
}
.table-card th:nth-child(3) {
  width: 12%;
}
.table-card th:nth-child(4) {
  width: 14%;
}
.table-card th:nth-child(5) {
  width: 15%;
}
.table-card th:nth-child(6) {
  width: 8%;
}
.table-card th a {
  color: inherit;
  text-decoration: none;
}
.table-card th a:hover {
  color: var(--brand-primary);
}
.table-card tbody tr {
  transition: background-color 0.12s ease;
}
.table-card tbody tr:hover {
  background: #fafbfc;
}
.table-card tbody tr:last-child td {
  border-bottom: 0;
}
.table-card td {
  height: 58px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.table-card td:first-child {
  color: #263b47;
  font-weight: 650;
}
.table-card td:nth-child(2) {
  color: #607177;
}
.table-card td:nth-child(3) {
  color: #52656b;
}
.table-card .empty-table {
  height: auto;
  padding: 28px 12px;
  color: #819093;
  text-align: center;
}
.table-card td.account-actions {
  width: auto;
  text-align: right;
}
.account-edit-lock {
  display: inline-flex;
  width: 18px;
  height: 28px;
  align-items: center;
  justify-content: center;
  margin-right: 6px;
  color: #627780;
  vertical-align: middle;
  cursor: help;
}
.account-edit-lock svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
}
.account-edit-lock:focus-visible {
  border-radius: 3px;
  outline: 2px solid var(--brand-primary);
  outline-offset: 2px;
}
.edit-lock-warning {
  margin: 0 0 14px;
  padding: 9px 11px;
  border-left: 3px solid #bd7c31;
  background: #fff8eb;
  color: #654a2b;
  font-size: 12px;
}
.account-manage-button {
  min-width: 82px;
}
.small-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 9px;
  border: 1px solid #dfe5e5;
  border-radius: 5px;
  background: #fff;
  color: #40545a;
  font-size: 10px;
  font-weight: 650;
  line-height: 1.2;
  cursor: pointer;
  transition:
    background-color 0.14s,
    border-color 0.14s,
    color 0.14s,
    box-shadow 0.14s;
}
.small-button.primary-button {
  border-color: var(--brand-primary);
  background: var(--brand-primary);
  color: #fff;
}
.small-button.primary-button:hover {
  border-color: #3442dc;
  background: #3442dc;
  color: #fff;
  box-shadow: 0 2px 6px #031b3e24;
}
.small-button:focus-visible,
.submit-button:focus-visible {
  outline: 2px solid #031b3e;
  outline-offset: 2px;
}
.small-button:hover {
  border-color: #a8b7b8;
  background: #f8fafa;
}
.small-button.secondary-button {
  color: var(--brand-primary);
}
.small-button.danger-button {
  border-color: #ead9d8;
  color: #994b48;
}
.small-button.danger-button:hover {
  border-color: #d7aaa8;
  background: #fff8f7;
}
.status-badge {
  display: inline-flex;
  padding: 3px 7px;
  border-radius: 999px;
  background: #f0f2f2;
  color: #657477;
  font-size: 10px;
  font-weight: 650;
}
.status-active {
  background: #e8f5ee;
  color: #287248;
}
.status-invited {
  background: #fff5df;
  color: #8a6617;
}
.status-reset_pending {
  background: #fff0ed;
  color: #994b48;
}
.work-content > .simple-card.policy-card {
  padding: 17px 20px;
}
.policy-card > p {
  margin: 3px 0 12px;
  color: #718185;
  font-size: 12px;
}
.policy-form {
  max-width: 460px;
}
.policy-domains {
  display: grid;
  gap: 5px;
  margin: 9px 0;
  color: #637579;
  font-size: 12px;
}
.policy-domains textarea {
  width: 100%;
  min-height: 88px;
  padding: 8px 10px;
  border: 1px solid #dfe5e5;
  border-radius: 6px;
  font:
    12px/1.5 "Open Sans",
    Arial,
    sans-serif;
  resize: vertical;
}
.policy-form .small-button {
  margin-top: 6px;
}
.mobile-sort {
  display: none;
}
.account-dialog,
.invite-dialog {
  width: min(590px, calc(100vw - 36px));
  max-height: min(86dvh, 820px);
  margin: auto;
  padding: 0;
  border: 1px solid #dfe5e9;
  border-radius: 14px;
  background: #fff;
  color: #283c43;
  text-align: left;
  box-shadow: 0 24px 70px #172b3a30;
}
.account-dialog {
  position: fixed;
  inset: 0;
}
.account-dialog::backdrop,
.invite-dialog::backdrop {
  background: #152b3a66;
  backdrop-filter: blur(2px);
}
.dialog-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 21px 24px 17px;
  border-bottom: 1px solid #edf1f2;
}
.dialog-header .admin-eyebrow {
  margin-bottom: 5px;
}
.dialog-header h2 {
  margin: 0;
  color: #1d3540;
  font:
    600 20px/1.3 Poppins,
    sans-serif;
}
.dialog-header p:not(.admin-eyebrow) {
  margin: 5px 0 0;
  color: #738286;
  font-size: 12px;
}
.dialog-close {
  width: 30px;
  height: 30px;
  flex: none;
  border: 1px solid #e1e7e8;
  border-radius: 7px;
  background: #fff;
  color: #64767a;
  font-size: 21px;
  line-height: 1;
  cursor: pointer;
}
.dialog-content {
  max-height: calc(min(86dvh, 820px) - 84px);
  overflow: auto;
  padding: 0 24px 15px;
}
.management-section {
  padding: 12px 0;
  border-bottom: 1px solid #edf1f2;
}
.management-section:last-child {
  border-bottom: 0;
}
.management-section h3 {
  margin: 0 0 10px;
  color: #66777d;
  font:
    700 9px/1.4 "Open Sans",
    Arial,
    sans-serif;
  letter-spacing: 0.65px;
  text-transform: uppercase;
}
.account-edit-form,
.invite-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 14px;
}
.account-edit-form label,
.invite-form label,
.scheduled-reset {
  display: grid;
  gap: 5px;
  margin: 2px 0;
  color: #52666b;
  font-size: 11px;
  font-weight: 600;
}
.account-edit-form label:nth-child(3),
.account-edit-form button {
  grid-column: 1/-1;
}
.account-edit-form input,
.invite-form input,
.invite-form select,
.scheduled-reset input,
.scheduled-reset select {
  width: 100%;
  min-height: 36px;
  padding: 7px 9px;
  border: 1px solid #dfe5e5;
  border-radius: 6px;
  background: #fff;
  color: #263a42;
  font:
    12px "Open Sans",
    Arial,
    sans-serif;
}
.field-help {
  color: #718187;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.5;
}
.email-change-status {
  margin-top: 12px;
  padding: 11px 13px;
  border: 1px solid #d8e5ed;
  border-radius: 7px;
  background: #f5f9fc;
  color: #40545e;
  font-size: 11px;
  line-height: 1.5;
}
.email-change-status strong {
  color: #24465c;
}
.email-change-status p {
  margin: 6px 0 0;
}
.email-change-expired {
  color: #8a4c25;
}
.invite-form {
  padding: 19px 24px 23px;
}
.invite-form > label:nth-of-type(1),
.invite-form > label:nth-of-type(2),
.invite-form > label:nth-of-type(3) {
  grid-column: span 1;
}
.invite-form > label:nth-of-type(4),
.invite-form > label:nth-of-type(5),
.invite-form > .schedule-field,
.invite-form > .role-permissions,
.invite-form > .dialog-footer {
  grid-column: 1/-1;
}
.invite-form .check-line {
  margin: 6px 0;
  font-size: 11px;
}
.dialog-footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 8px;
  padding-top: 13px;
  border-top: 1px solid #edf1f2;
}
.management-section form {
  margin: 8px 0;
}
.management-section form:last-child {
  margin-bottom: 0;
}
.management-section .check-line {
  margin: 5px 0;
  font-size: 11px;
}
.permission-edit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 7px;
  border-top: 1px solid #f0f2f3;
}
.mail-scheduled,
.mail-failed {
  display: block;
  margin: 6px 0;
  color: #768689;
  font-size: 11px;
  white-space: normal;
}
.mail-failed {
  color: #994b48;
}
.timezone-note {
  color: #849194;
  font-size: 10px;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (min-width: 761px) and (max-width: 950px) {
  .smtp-settings-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 760px) {
  .work-sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    min-height: 0;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-right: 0;
    border-bottom: 1px solid #e8eded;
  }
  .work-sidebar .work-brand,
  .work-sidebar .work-nav-label {
    display: none;
  }
  .work-sidebar .work-nav-link {
    margin: 0;
    min-width: 0;
    padding: 8px 5px;
    font-size: 11px;
    text-align: center;
  }
  .work-sidebar-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5px;
    grid-column: 1 / -1;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
  }
  .work-sidebar-bottom small {
    display: none;
  }
  .work-sidebar-bottom form {
    margin: 0;
  }
  .work-sidebar-bottom button {
    min-height: 32px;
    width: auto;
    padding: 0 8px;
  }
  .work-main {
    margin: 0;
  }
  .work-content {
    width: min(100% - 28px, 1240px);
    padding: 25px 0;
  }
  .work-content .smtp-form {
    grid-template-columns: minmax(0, 1fr);
  }
  .work-content .smtp-form .field-wide,
  .work-content .smtp-form button {
    grid-column: 1;
  }
  .smtp-settings-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .invitation-settings-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .mail-settings-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
  }
  .mail-settings-tab {
    padding: 6px 4px;
    text-align: center;
    white-space: normal;
  }
  .mail-settings-panel > .simple-card {
    padding: 18px 16px;
  }
  .work-content .inline-form {
    align-items: stretch;
    flex-direction: column;
  }
  .work-content > h1,
  .users-page-heading h1 {
    font-size: 26px;
  }
  .users-page-heading {
    align-items: flex-start;
    margin: 4px 0 16px;
  }
  .users-page-heading > .small-button {
    flex: none;
    margin-top: 2px;
  }
  .users-page-heading > .small-button,
  .mobile-sort .small-button {
    min-height: 32px;
  }
  .work-content .table-card .responsive-table {
    padding: 0 12px 12px;
    overflow: visible;
  }
  .table-heading {
    padding: 17px 16px 10px;
  }
  .mobile-sort {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 8px;
    padding: 0 16px 14px;
  }
  .mobile-sort label {
    display: grid;
    gap: 4px;
    color: #687a7e;
    font-size: 10px;
  }
  .mobile-sort select {
    min-height: 34px;
    padding: 5px 8px;
    border: 1px solid #dfe5e5;
    border-radius: 6px;
    background: #fff;
    color: #34494f;
    font:
      12px "Open Sans",
      Arial,
      sans-serif;
  }
  .mobile-sort > a {
    grid-column: 1/-1;
    color: var(--brand-primary);
    font-size: 11px;
    text-decoration: none;
  }
  .table-card table {
    display: block;
    min-width: 0;
    white-space: normal;
  }
  .table-card thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  .table-card tbody {
    display: grid;
    gap: 9px;
  }
  .table-card tbody tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px 10px;
    padding: 13px 14px;
    border: 1px solid #e4e9eb;
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 3px 10px #183b3808;
  }
  .table-card tbody tr:hover {
    background: #fff;
  }
  .table-card tbody tr:last-child td {
    border-bottom: 0;
  }
  .table-card td {
    height: auto;
    min-width: 0;
    padding: 0;
    overflow: visible;
    border: 0;
    font-size: 12px;
    text-overflow: clip;
  }
  .table-card td:first-child {
    grid-column: 1;
    grid-row: 1;
    font-size: 14px;
  }
  .table-card td:nth-child(2) {
    grid-column: 1/-1;
    grid-row: 2;
    overflow-wrap: anywhere;
    color: #718185;
  }
  .table-card td:nth-child(3) {
    grid-column: 1;
    grid-row: 3;
    color: #52656b;
  }
  .table-card td:nth-child(3)::before,
  .table-card td:nth-child(5)::before {
    content: attr(data-label) ": ";
    color: #89969a;
    font-size: 10px;
    font-weight: 500;
  }
  .table-card td:nth-child(4) {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }
  .table-card td:nth-child(5) {
    grid-column: 2;
    grid-row: 3;
    justify-self: end;
    color: #708185;
    font-size: 10px;
  }
  .table-card tbody td.account-actions {
    grid-column: 1/-1;
    grid-row: 4;
    width: auto;
    margin-top: 4px;
    padding-top: 9px;
    border-top: 1px solid #edf1f2;
    text-align: left;
  }
  .table-card .empty-table {
    grid-column: 1/-1;
    padding: 20px 8px;
    text-align: center;
  }
  .account-actions .account-manage-button {
    width: 100%;
    min-height: 34px;
  }
  .account-dialog,
  .invite-dialog {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    border: 0;
    border-radius: 0;
    padding: env(safe-area-inset-top) 0 env(safe-area-inset-bottom);
  }
  .dialog-header {
    padding: 18px 18px 14px;
  }
  .dialog-content {
    max-height: calc(100dvh - 80px);
    padding-inline: 18px;
  }
  .invite-form {
    grid-template-columns: 1fr;
    padding: 17px 18px 24px;
  }
  .invite-form > label,
  .invite-form > label:nth-of-type(n),
  .invite-form > .role-permissions,
  .invite-form > .schedule-field,
  .invite-form > .dialog-footer {
    grid-column: 1;
  }
  .account-edit-form {
    grid-template-columns: 1fr;
  }
  .account-edit-form label,
  .account-edit-form label:nth-child(3),
  .account-edit-form button {
    grid-column: 1;
  }
}
