/* Shared components and public / management layouts */

* {
  box-sizing: border-box;
}

body {
  margin: 0px;
  background: var(--bg);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

button, input, select, textarea {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

button, a, input, summary, select, textarea {
  -webkit-tap-highlight-color: transparent;
}

button, summary {
  cursor: pointer;
}

button {
  border: 0px;
}

button:disabled {
  cursor: wait;
  opacity: 0.65;
}

button:focus-visible, a:focus-visible, summary:focus-visible {
  outline: rgba(15, 118, 110, 0.376) solid 3px;
  outline-offset: 4px;
}

input:focus, select:focus, textarea:focus {
  outline: 0px;
  border-color: var(--primary);
}

input, select, textarea {
  width: 100%;
  background: white;
  border: 1px solid rgb(220, 227, 233);
  border-radius: 10px;
  padding: 12px 14px;
  min-height: 46px;
  color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s;
}

input::placeholder, textarea::placeholder {
  color: rgb(139, 152, 168);
}

input[type="checkbox"] {
  width: 18px;
  min-height: 18px;
  accent-color: var(--primary);
  flex-shrink: 0;
}

input[type="password"] {
  letter-spacing: 0.05em;
}

textarea {
  resize: vertical;
}

h1, h2, h3, p {
  margin: 0px;
}

h1 {
  font-size: 30px;
  letter-spacing: -0.8px;
  line-height: 1.4;
  font-weight: 650;
}

h2 {
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.3px;
}

h3 {
  font-size: 16px;
}

small {
  font-size: 12px;
}

[hidden] {
  display: none !important;
}

.svg-definitions {
  position: absolute;
  width: 0px;
  height: 0px;
  overflow: hidden;
}

.icon {
  width: 20px;
  height: 20px;
  stroke: currentcolor;
  stroke-width: 1.65;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  vertical-align: middle;
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 12px;
}

.mono {
  font-family: Consolas, SFMono-Regular, monospace;
}

.align-right {
  text-align: right;
}

.subline {
  display: block;
  margin-top: 4px;
}

.danger-text {
  color: var(--red) !important;
}

.eyebrow {
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 2px;
  color: var(--primary);
  margin-bottom: 9px;
}

.required-mark {
  color: var(--primary);
  margin-left: 5px;
}

.mobile-break {
  display: none;
}

.demo-banner {
  text-align: center;
  padding: 6px 16px;
  background: rgb(255, 243, 216);
  color: rgb(119, 82, 21);
  font-size: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 650;
  font-size: 17px;
  letter-spacing: -0.4px;
}

.brand-mark {
  width: 37px;
  height: 40px;
  border-radius: 11px;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-mark .icon {
  width: 24px;
  height: 24px;
}

.status-dot {
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 11px 18px;
  border: 1px solid transparent;
  font-weight: 550;
  line-height: 1.5;
  transition: background 0.15s, box-shadow 0.15s;
  white-space: nowrap;
}

.button .icon {
  width: 18px;
  height: 18px;
}

.button-primary {
  color: white;
}

.button-secondary {
  background: white;
}

.button-secondary:hover {
  background: rgb(248, 250, 251);
}

.button-full {
  width: 100%;
}

.button-text {
  color: var(--muted);
  background: transparent;
  font-weight: 400;
}

.button-text:hover {
  color: var(--primary);
  background: rgb(247, 250, 249);
}

.button-danger {
  background: var(--red);
  color: white;
}

.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
}

.icon-button:hover {
  background: rgb(237, 241, 244);
  color: var(--text);
}

.inline-link {
  padding: 0px;
  background: none;
  color: var(--primary);
  font-family: Consolas, monospace;
  font-size: 12px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 20px;
}

.back-link .icon {
  width: 15px;
  height: 15px;
}

.back-link:hover {
  color: var(--primary);
}

.public-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.public-header {
  width: min(1120px, 100% - 80px);
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 0px;
}

.header-note {
  display: flex;
  gap: 9px;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
}

.public-main {
  width: 640px;
  max-width: calc(100% - 32px);
  margin: 32px auto 0px;
  flex: 1 1 0%;
}

.intro {
  text-align: center;
  margin-bottom: 32px;
}

.intro .eyebrow {
  letter-spacing: 3px;
  font-size: 11px;
  margin-bottom: 13px;
}

.intro h1 {
  font-size: 36px;
  letter-spacing: -1.4px;
  font-weight: 650;
}

.intro > p {
  color: var(--muted);
  margin-top: 13px;
  font-size: 14px;
}

.notice-card {
  border: 1px solid rgb(218, 232, 228);
  background: rgb(240, 247, 245);
  border-radius: 14px;
  padding: 18px 23px;
  margin-bottom: 20px;
}

.notice-heading {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 10px;
}

.notice-heading h2 {
  font-size: 13px;
}

.notice-heading > .small {
  margin-left: auto;
  font-size: 10px;
  letter-spacing: 0.5px;
}

.notice-icon {
  color: var(--primary);
}

.notice-icon .icon {
  width: 17px;
  height: 17px;
}

.notice-item + .notice-item {
  border-top: 1px solid rgb(223, 236, 231);
  margin-top: 10px;
  padding-top: 8px;
}

.notice-item summary {
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
  min-height: 28px;
}

.notice-item summary::-webkit-details-marker {
  display: none;
}

.notice-title {
  font-size: 13px;
  font-weight: 550;
  overflow-wrap: anywhere;
}

.pin-label {
  font-size: 10px;
  line-height: 18px;
  display: inline-block;
  padding: 0px 6px;
  border-radius: 4px;
  color: var(--primary);
  background: rgb(218, 234, 228);
  margin-right: 8px;
  vertical-align: middle;
  font-weight: 500;
}

.notice-item time {
  margin-left: auto;
  white-space: nowrap;
  color: rgb(116, 134, 127);
  font-size: 11px;
}

.notice-chevron {
  color: rgb(124, 148, 140);
}

.notice-chevron .icon {
  height: 13px;
  width: 13px;
  transition: transform 0.15s;
}

.notice-item[open] .notice-chevron .icon {
  transform: rotate(90deg);
}

.notice-body {
  padding: 7px 0px 2px;
  color: rgb(99, 120, 110);
  font-size: 12px;
  line-height: 1.9;
  overflow-wrap: anywhere;
  max-height: 180px;
  overflow: auto;
}

.access-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}

.card-heading {
  display: flex;
  gap: 13px;
  align-items: center;
  margin-bottom: 26px;
}

.heading-icon {
  background: var(--primary-soft);
  color: var(--primary);
  width: 43px;
  height: 43px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgb(224, 239, 234);
  border-radius: 12px;
}

.heading-icon .icon {
  width: 22px;
  height: 22px;
}

.card-heading h2 {
  font-size: 17px;
}

.card-heading p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

.outline-tag {
  margin-left: auto;
  color: rgb(129, 144, 141);
  font-size: 10px;
  letter-spacing: 1.5px;
  font-family: Consolas, monospace;
  border: 1px solid rgb(231, 238, 234);
  border-radius: 5px;
  padding: 3px 7px;
  background: rgb(250, 252, 251);
}

.access-form label {
  font-weight: 550;
  font-size: 13px;
  display: block;
  margin-bottom: 9px;
}

.password-wrap {
  position: relative;
}

.password-wrap input {
  padding-right: 50px;
  min-height: 50px;
  background: rgb(252, 253, 253);
  font-size: 14px;
}

.input-toggle {
  position: absolute;
  right: 7px;
  top: 7px;
  width: 36px;
  height: 36px;
  border-radius: 7px;
  background: none;
  color: rgb(148, 161, 173);
}

.input-toggle:hover {
  background: rgb(237, 243, 241);
  color: var(--primary);
}

.input-toggle .icon {
  width: 18px;
  height: 18px;
}

.field-hint {
  color: rgb(122, 137, 151);
  font-size: 12px;
  margin: 10px 0px 0px;
  line-height: 1.8;
}

.access-form > .button {
  margin-top: 23px;
  min-height: 48px;
}

.card-footnote {
  padding-top: 23px;
  margin-top: 25px;
  border-top: 1px solid rgb(237, 240, 243);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: rgb(132, 147, 157);
  font-size: 11px;
}

.card-footnote .icon {
  width: 13px;
  height: 13px;
}

.public-assurance {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 11px;
  color: rgb(130, 146, 143);
  margin-top: 21px;
}

.public-assurance .icon {
  width: 14px;
  height: 14px;
}

.public-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: rgb(137, 149, 162);
  font-size: 11px;
  padding: 35px 16px 25px;
  margin-top: auto;
}

.public-footer a {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.public-footer a:hover {
  color: var(--primary);
}

.public-footer .icon {
  width: 12px;
  height: 12px;
}

.footer-divider {
  color: rgb(183, 192, 200);
}

.code-panel {
  margin-top: 4px;
}

.verified-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--primary);
}

.verified-label .icon {
  width: 16px;
  height: 16px;
}

.live-indicator {
  margin-left: auto;
  color: rgb(139, 153, 151);
  font-size: 10px;
}

.otp-code {
  font-family: Consolas, SFMono-Regular, monospace;
  font-size: 54px;
  font-weight: 650;
  text-align: center;
  letter-spacing: 5px;
  line-height: 1.5;
  padding: 20px 0px 16px;
  font-variant-numeric: tabular-nums;
  color: rgb(24, 59, 56);
  user-select: all;
}

.countdown-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 10px;
}

.countdown-line strong {
  font-weight: 600;
  color: var(--primary);
  font-variant-numeric: tabular-nums;
}

.countdown-line > span:last-child {
  font-size: 10px;
  color: rgb(149, 162, 157);
}

.countdown-progress {
  appearance: none;
  border: 0px;
  display: block;
  background: rgb(237, 243, 240);
  width: 100%;
  height: 4px;
  border-radius: 10px;
  overflow: hidden;
  margin: 0px 0px 25px;
}

.countdown-progress::-webkit-progress-value {
  border-radius: 10px;
}

.code-panel .button-text {
  font-size: 12px;
  margin-top: 5px;
}

.inline-error {
  color: var(--red);
  background: rgb(255, 241, 241);
  border: 1px solid rgb(248, 222, 222);
  border-radius: 8px;
  padding: 11px 13px;
  margin: 15px 0px;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.inline-error ul {
  list-style: none;
  margin: 0px;
  padding: 0px;
}

.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  max-width: calc(100% - 32px);
  padding: 11px 20px;
  color: white;
  border-radius: 10px;
  box-shadow: rgba(23, 43, 58, 0.125) 0px 5px 20px;
  font-size: 13px;
  z-index: 100;
  white-space: normal;
  text-align: center;
}

.back-home {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 7px;
}

.back-home .icon {
  height: 15px;
  width: 15px;
}

.login-main {
  width: 420px;
  max-width: calc(100% - 32px);
  margin: 48px auto 50px;
  flex: 1 1 0%;
}

.login-intro {
  text-align: center;
  margin-bottom: 25px;
}

.large-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0px auto 22px;
  width: 58px;
  height: 58px;
  border: 1px solid rgb(216, 234, 227);
  border-radius: 17px;
  background: var(--primary-soft);
  color: var(--primary);
}

.large-icon .icon {
  width: 27px;
  height: 27px;
}

.login-intro p {
  font-size: 13px;
  margin-top: 8px;
}

.login-caption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 22px;
  font-size: 11px;
}

.login-caption .icon {
  height: 14px;
  width: 14px;
}

.login-card .button {
  margin-top: 7px;
}

.sidebar {
  position: fixed;
  top: 0px;
  left: 0px;
  bottom: 0px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  z-index: 30;
}

.sidebar-brand {
  padding: 0px 5px;
}

.sidebar-brand .brand-mark {
  flex-shrink: 0;
}

.sidebar-brand small {
  display: block;
  font-weight: 400;
}

.nav-caption {
  font-size: 10px;
  letter-spacing: 2px;
  color: rgb(154, 166, 177);
  padding: 44px 15px 13px;
}

.side-nav {
  display: flex;
  flex-direction: column;
}

.side-nav > a {
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 9px;
  min-height: 46px;
}

.side-nav > a:hover {
  background: rgb(238, 243, 243);
}

.side-nav > a.active {
  background: rgb(231, 242, 238);
  color: var(--primary);
  font-weight: 600;
}

.side-nav .icon {
  height: 18px;
  width: 18px;
}

.nav-active-dot {
  height: 5px;
  width: 5px;
  border-radius: 50%;
  background: var(--primary);
  margin-left: auto;
}

.sidebar-bottom {
  margin-top: auto;
}

.sidebar-protection {
  background: rgb(240, 245, 243);
  border: 1px solid rgb(229, 238, 233);
  border-radius: 11px;
  padding: 13px 11px;
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 10px;
  color: rgb(94, 126, 114);
}

.sidebar-protection .icon {
  width: 19px;
  height: 19px;
}

.sidebar-protection small {
  display: block;
  font-size: 9px;
  color: rgb(145, 163, 152);
  margin-top: 3px;
}

.sidebar-bottom > a {
  display: flex;
  align-items: center;
}

.sidebar-bottom > a .icon {
  width: 14px;
  height: 14px;
}

.manage-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.manage-header {
  border-bottom: 1px solid var(--line);
  background: rgb(255, 255, 255);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.breadcrumb {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 12px;
  color: rgb(139, 152, 164);
}

.breadcrumb strong {
  font-weight: 500;
}

.breadcrumb > span {
  color: rgb(202, 209, 215);
}

.admin-user {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: rgb(99, 113, 127);
}

.admin-user form {
  display: flex;
  margin-left: 6px;
}

.avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  background: rgb(234, 243, 239);
  font-size: 11px;
}

.manage-main {
  width: 100%;
  margin: 0px auto;
  flex: 1 1 0%;
}

.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.page-heading h1 {
  display: flex;
  align-items: center;
  gap: 12px;
}

.page-heading p {
  margin-top: 7px;
}

.page-heading .eyebrow {
  font-size: 9px;
  letter-spacing: 2px;
  margin-bottom: 7px;
}

.page-heading > .button {
  min-height: 42px;
}

.heading-count {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0px;
  color: rgb(123, 138, 148);
  border: 1px solid rgb(224, 230, 235);
  background: rgb(255, 255, 255);
  border-radius: 7px;
  padding: 1px 8px;
}

.summary-strip {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 15px 20px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 20px;
}

.summary-strip > div {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgb(124, 139, 150);
  font-size: 12px;
}

.summary-strip strong {
  color: rgb(57, 78, 91);
  font-size: 15px;
  font-weight: 600;
  margin-left: 9px;
}

.summary-strip .summary-note {
  margin-left: auto;
  font-size: 10px;
  color: rgb(151, 163, 158);
}

.summary-note .icon {
  width: 13px;
  height: 13px;
}

.summary-icon {
  color: rgb(154, 168, 176);
}

.summary-icon .icon {
  width: 17px;
  height: 17px;
}

.table-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: rgba(23, 43, 58, 0.008) 0px 3px 10px;
  overflow: visible;
}

.table-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px;
  border-bottom: 1px solid rgb(237, 240, 243);
}

.search-wrap {
  position: relative;
  max-width: 340px;
  flex: 1 1 0%;
}

.search-wrap > .icon {
  position: absolute;
  left: 13px;
  top: 13px;
  width: 16px;
  height: 16px;
  color: rgb(152, 165, 175);
}

.search-wrap > input {
  padding: 10px 12px 10px 37px;
  min-height: 40px;
  background: rgb(252, 253, 253);
  font-size: 12px;
  border-radius: 8px;
}

.table-toolbar > select {
  width: 124px;
  min-height: 40px;
  padding: 9px 10px;
  font-size: 12px;
  border-radius: 8px;
  margin-left: auto;
}

.table-toolbar > .button {
  font-size: 12px;
  min-height: 40px;
  padding: 8px 15px;
  border-radius: 8px;
}

table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
  text-align: left;
}

th {
  padding: 13px 20px;
  font-weight: 500;
  border-bottom: 1px solid rgb(237, 240, 243);
}

td {
  padding: 21px 20px;
  border-bottom: 1px solid rgb(237, 240, 243);
}

td strong {
  font-size: 13px;
  font-weight: 550;
}

tbody tr:last-child td {
  border-bottom: 0px;
}

tbody tr:hover {
  background: rgb(252, 253, 253);
}

.account-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}

.account-cell small {
  display: block;
  font-size: 11px;
  color: rgb(151, 162, 171);
  margin-top: 3px;
}

.account-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgb(231, 236, 239);
  border-radius: 10px;
  height: 38px;
  width: 38px;
  font-size: 14px;
  font-weight: 550;
  flex-shrink: 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  font-size: 10px;
  line-height: 22px;
  padding: 0px 8px;
  border: 1px solid transparent;
  border-radius: 5px;
}

.badge > span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentcolor;
}

.badge-active {
  background: rgb(236, 247, 241);
  border-color: rgb(225, 240, 231);
  color: rgb(49, 130, 91);
}

.badge-disabled {
  background: rgb(242, 244, 246);
  border-color: rgb(232, 236, 239);
  color: rgb(136, 147, 157);
}

.badge-expired {
  background: rgb(255, 245, 232);
  border-color: rgb(250, 236, 218);
  color: rgb(161, 118, 52);
}

.badge-pending {
  background: rgb(237, 243, 253);
  color: rgb(80, 116, 171);
}

.count-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: rgb(120, 142, 153);
}

.count-link:hover {
  color: var(--primary);
}

.count-link .icon {
  width: 13px;
  height: 13px;
}

.row-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  white-space: nowrap;
}

.table-link {
  color: var(--primary);
  font-size: 12px;
}

.table-link:hover {
  text-decoration: underline;
}

.action-menu {
  position: relative;
  display: inline-flex;
}

.action-menu summary {
  display: flex;
  align-items: center;
  justify-content: center;
  list-style: none;
  width: 26px;
  height: 28px;
  border-radius: 6px;
  color: rgb(147, 160, 170);
}

.action-menu summary::-webkit-details-marker {
  display: none;
}

.action-menu summary:hover, .action-menu[open] summary {
  background: rgb(234, 242, 239);
  color: var(--primary);
}

.action-dropdown {
  position: absolute;
  right: 0px;
  top: 32px;
  min-width: 140px;
  padding: 6px;
  background: rgb(255, 255, 255);
  border: 1px solid var(--line);
  border-radius: 9px;
  box-shadow: rgba(23, 43, 58, 0.07) 0px 8px 30px;
  z-index: 20;
}

.action-dropdown a {
  display: block;
  padding: 8px 10px;
  border-radius: 5px;
  font-size: 12px;
}

.action-dropdown a:hover {
  background: rgb(243, 247, 245);
}

.pagination {
  padding: 16px 20px;
  border-top: 1px solid rgb(237, 240, 243);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgb(153, 164, 173);
  font-size: 11px;
}

.pagination > div {
  display: flex;
  gap: 8px;
  align-items: center;
}

.pagination a, .page-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 26px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
}

.page-number {
  background: rgb(237, 245, 242);
  color: var(--primary);
  border-color: rgb(219, 236, 228);
}

.subtle-note {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 18px;
  font-size: 10px;
  color: rgb(150, 162, 172);
}

.subtle-note .icon {
  width: 13px;
  height: 13px;
}

.manage-footer {
  display: flex;
  justify-content: space-between;
  padding: 20px 40px;
  color: rgb(160, 170, 179);
  font-size: 10px;
  max-width: 1440px;
  width: 100%;
  margin: 0px auto;
}

.empty-cell {
  text-align: center !important;
  padding: 55px 20px !important;
}

.empty-icon {
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgb(237, 245, 241);
  color: rgb(126, 159, 144);
  margin: 0px auto 18px;
}

.empty-cell h3 {
  font-size: 15px;
  font-weight: 550;
}

.empty-cell p {
  font-size: 12px;
  color: rgb(145, 160, 170);
  margin: 7px 0px 21px;
}

.empty-cell .button {
  font-size: 12px;
  min-height: 38px;
}

.message-stack {
  margin-bottom: 20px;
}

.message {
  padding: 11px 15px;
  border-radius: 8px;
  background: rgb(234, 246, 239);
  color: rgb(47, 120, 85);
  display: flex;
  gap: 9px;
  align-items: center;
  font-size: 12px;
}

.message .icon {
  width: 15px;
  height: 15px;
}

.mobile-nav-toggle {
  display: none;
}

.account-picker {
  position: relative;
}

.account-picker > summary {
  list-style: none;
  font-size: 12px;
}

.account-picker > summary::-webkit-details-marker {
  display: none;
}

.picker-list {
  position: absolute;
  right: 0px;
  top: 50px;
  background: rgb(255, 255, 255);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 6px;
  min-width: 200px;
  max-height: 300px;
  overflow: auto;
  z-index: 20;
}

.picker-list a {
  display: block;
  padding: 9px 12px;
  font-size: 12px;
  border-radius: 6px;
}

.picker-list a:hover {
  background: var(--primary-soft);
}

.form-card {
  padding: 30px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  max-width: 760px;
}

.field {
  margin-bottom: 21px;
}

.field label {
  display: block;
  font-weight: 550;
  font-size: 12px;
  margin-bottom: 8px;
}

.field input, .field select, .field textarea {
  font-size: 13px;
}

.errorlist {
  margin: 7px 0px;
  padding-left: 18px;
  font-size: 12px;
  color: var(--red);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  padding-top: 20px;
}

.advanced-settings {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 26px 0px;
}

.advanced-settings > summary {
  padding: 15px 0px;
  font-size: 12px;
  color: rgb(83, 107, 121);
}

.advanced-settings > summary > span {
  margin-left: 12px;
  font-size: 10px;
}

.checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  margin-top: 23px;
}

.checkbox-field input {
  margin-top: 3px;
}

.checkbox-field small {
  display: block;
  font-size: 11px;
  color: rgb(146, 160, 170);
  margin-top: 4px;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 25px;
  margin-top: 28px;
  border-top: 1px solid var(--line);
}

.form-actions .button {
  font-size: 12px;
}

.confirmation-card, .token-card {
  max-width: 520px;
  margin: 45px auto;
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 35px;
  text-align: center;
  box-shadow: var(--shadow);
}

.confirmation-card h1, .token-card h1 {
  font-size: 24px;
}

.confirmation-card p, .token-card > p {
  color: rgb(138, 152, 163);
  font-size: 12px;
  margin-top: 10px;
  line-height: 1.9;
}

.confirmation-card .object-label {
  font-size: 16px;
  color: rgb(64, 89, 104);
  font-weight: 550;
  margin-top: 16px;
}

.danger-icon {
  background: rgb(255, 240, 240);
  border-color: rgb(248, 222, 222);
  color: var(--red);
}

.token-value {
  background: rgb(244, 248, 246);
  border: 1px dashed rgb(198, 220, 210);
  border-radius: 10px;
  padding: 20px 12px;
  margin: 25px 0px 18px;
  font-family: Consolas, monospace;
  font-size: 19px;
  overflow-wrap: anywhere;
  user-select: all;
  color: rgb(24, 94, 80);
}

.info-callout {
  display: flex;
  gap: 8px;
  text-align: left;
  padding: 13px;
  border-radius: 9px;
  font-size: 11px;
  line-height: 1.8;
  margin: 18px 0px;
}

.info-callout .icon {
  width: 15px;
  height: 15px;
  margin-top: 3px;
}

.token-card form {
  text-align: left;
  margin-top: 25px;
}

@media (min-width: 1500px) {
  .public-main {
    margin-top: 55px;
  }
}

@media (max-width: 1100px) {
  .sidebar {
    width: 205px;
    padding-left: 13px;
    padding-right: 13px;
  }

  .sidebar-brand {
    font-size: 13px;
  }

  .manage-shell {
    margin-left: 205px;
  }

  .manage-main {
    padding: 30px 24px;
  }

  .manage-header {
    padding: 0px 24px;
  }

  th, td {
    padding-left: 15px;
    padding-right: 15px;
  }

  .manage-footer {
    padding: 20px 24px;
  }

  .row-actions {
    gap: 10px;
  }
}

@media (max-width: 760px) {
  .public-header {
    width: calc(100% - 36px);
    padding: 20px 0px;
  }

  .brand {
    font-size: 15px;
  }

  .brand-mark {
    width: 32px;
    height: 35px;
    border-radius: 10px;
  }

  .brand-mark .icon {
    width: 21px;
    height: 21px;
  }

  .header-note {
    font-size: 0px;
    gap: 0px;
  }

  .header-note .status-dot {
    width: 7px;
    height: 7px;
  }

  .public-main {
    margin-top: 24px;
  }

  .intro {
    margin-bottom: 27px;
  }

  .intro h1 {
    font-size: 30px;
    letter-spacing: -1px;
  }

  .intro > p {
    font-size: 12px;
    margin-top: 11px;
  }

  .intro .eyebrow {
    font-size: 10px;
  }

  .notice-card {
    padding: 16px 18px;
    margin-bottom: 16px;
  }

  .notice-item summary {
    gap: 6px;
  }

  .notice-title {
    font-size: 12px;
  }

  .notice-body {
    font-size: 11px;
  }

  .access-card {
    padding: 23px;
  }

  .card-heading {
    margin-bottom: 23px;
  }

  .public-assurance {
    font-size: 10px;
    margin-top: 18px;
  }

  .public-footer {
    font-size: 10px;
    padding-top: 30px;
    gap: 10px;
  }

  .otp-code {
    font-size: 48px;
    letter-spacing: 3px;
  }

  .login-main {
    margin-top: 28px;
  }

  .back-home {
    font-size: 11px;
  }

  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.2s;
    box-shadow: none;
  }

  .sidebar.open {
    transform: translateX(0px);
    box-shadow: rgba(23, 43, 58, 0.125) 15px 0px 40px;
  }

  .manage-header {
    gap: 12px;
  }

  .mobile-nav-toggle {
    display: flex;
    margin-left: -5px;
  }

  .breadcrumb {
    margin-right: auto;
    font-size: 11px;
    gap: 8px;
  }

  .breadcrumb > strong {
    display: none;
  }

  .admin-user {
    font-size: 11px;
    gap: 6px;
  }

  .admin-user > span:not(.avatar) {
    max-width: 75px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .admin-user form {
    margin-left: 0px;
  }

  .page-heading {
    margin-bottom: 22px;
    align-items: flex-end;
  }

  .page-heading > .button, .account-picker > summary {
    font-size: 11px;
    min-height: 38px;
    padding: 8px 10px;
    gap: 5px;
  }

  .page-heading .eyebrow {
    font-size: 8px;
  }

  .summary-strip {
    padding: 13px 14px;
    gap: 20px;
    border-radius: 10px;
  }

  .summary-strip > div {
    font-size: 11px;
  }

  .summary-strip .summary-note {
    display: none;
  }

  .summary-strip strong {
    font-size: 13px;
    margin-left: 4px;
  }

  .table-toolbar {
    padding: 14px;
    gap: 8px;
    flex-wrap: wrap;
  }

  .search-wrap {
    max-width: none;
    flex-basis: 100%;
  }

  .table-toolbar > select {
    margin: 0px;
    flex: 1 1 0%;
    max-width: none;
  }

  .table-toolbar > .button {
    padding: 8px 20px;
  }

  table, tbody, tr, td {
    display: block;
  }

  thead {
    display: none;
  }

  tbody tr {
    padding: 16px;
    border-bottom: 1px solid var(--line);
  }

  tbody tr:last-child {
    border-bottom: 0px;
  }

  td {
    border: 0px;
    padding: 7px 0px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 12px;
  }

  td::before {
    content: attr(data-label);
    color: rgb(154, 166, 175);
    font-size: 11px;
    flex-shrink: 0;
  }

  td:first-child {
    padding-top: 0px;
    padding-bottom: 12px;
  }

  td:first-child::before {
    display: none;
  }

  td:first-child > strong {
    margin-right: auto;
  }

  td:first-child .subline {
    margin-top: 0px;
    text-align: right;
  }

  td:last-child {
    padding-top: 12px;
    margin-top: 7px;
    border-top: 1px solid rgb(240, 243, 245);
  }

  .account-cell {
    width: 100%;
  }

  .account-cell strong {
    font-size: 13px;
  }

  .account-avatar {
    height: 34px;
    width: 34px;
  }

  .row-actions {
    gap: 18px;
  }

  .pagination {
    padding: 12px 16px;
  }

  .table-card {
    border-radius: 12px;
  }

  .empty-cell {
    display: block;
    padding: 30px 10px !important;
  }

  .empty-cell::before {
    display: none;
  }

  .subtle-note {
    align-items: flex-start;
    line-height: 1.8;
  }

  .subtle-note .icon {
    margin-top: 2px;
  }

  .manage-footer {
    padding: 20px 16px;
    font-size: 9px;
  }

  .manage-footer > span {
    display: none;
  }

  .form-card {
    padding: 21px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-grid .field {
    margin-bottom: 10px;
  }

  .advanced-settings > summary > span {
    font-size: 9px;
    margin-left: 7px;
  }

  .form-actions {
    flex-wrap: wrap;
    margin-top: 24px;
    padding-top: 20px;
  }

  .form-actions > .button {
    flex: 1 1 0%;
    padding: 10px;
  }

  .confirmation-card, .token-card {
    margin: 20px auto;
    padding: 26px 22px;
  }

  .confirmation-card h1, .token-card h1 {
    font-size: 22px;
  }

  .token-value {
    font-size: 16px;
  }

  .notice-heading > .small {
    font-size: 9px;
  }

  .demo-banner {
    font-size: 10px;
  }

  .action-dropdown {
    min-width: 145px;
  }

  .card-footnote {
    font-size: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Tutorial reading, forms and account tables */

.merged-header {
  width: min(1120px, 100% - 64px);
  margin: 0px auto;
  padding: 24px 0px;
  gap: 25px;
}

.public-nav {
  display: flex;
  gap: 8px;
  margin-left: auto;
}

.public-nav a {
  padding: 8px 13px;
  border-radius: 7px;
  font-size: 12px;
  color: rgb(119, 133, 145);
  white-space: nowrap;
}

.public-nav a:hover, .public-nav a.active {
  background: rgb(232, 242, 238);
  color: var(--primary);
}

.header-code-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-size: 12px;
  white-space: nowrap;
}

.header-code-link .icon {
  width: 15px;
  height: 15px;
}

.merged-main, .reading-main {
  width: min(1120px, 100% - 64px);
  margin: 0px auto;
  flex: 1 1 0%;
}

.merged-intro {
  padding: 35px 0px 32px;
}

.merged-intro .eyebrow {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 10px;
  letter-spacing: 2px;
  margin-bottom: 13px;
}

.merged-intro h1 {
  font-size: 37px;
  letter-spacing: -1.4px;
  line-height: 1.45;
}

.merged-intro h1 span {
  color: var(--primary);
}

.merged-intro > p {
  margin-top: 11px;
  font-size: 13px;
  color: rgb(138, 151, 161);
}

.home-workspace {
  display: grid;
  grid-template-columns: minmax(0px, 1.55fr) minmax(0px, 1fr);
  gap: 24px;
  align-items: start;
}

.home-workspace.without-notices {
  grid-template-columns: minmax(0px, 640px);
  justify-content: center;
}

.home-code-card {
  padding: 30px;
  scroll-margin-top: 30px;
}

.home-code-card .card-heading {
  margin-bottom: 25px;
}

.home-code-card .card-footnote {
  margin-top: 23px;
  padding-top: 21px;
}

.home-notices {
  padding: 26px;
  border: 1px solid rgb(220, 233, 226);
  border-radius: 16px;
  background: rgb(239, 246, 242);
}

.home-notices .notice-heading {
  gap: 8px;
  margin-bottom: 18px;
}

.home-notices .notice-heading h2 {
  font-size: 14px;
}

.notice-count {
  margin-left: auto;
  font-size: 10px;
  color: rgb(145, 163, 152);
}

.home-notices .notice-item {
  padding-bottom: 15px;
}

.home-notices .notice-item + .notice-item {
  margin-top: 2px;
  padding-top: 15px;
}

.home-notices .notice-item summary {
  align-items: start;
  gap: 8px;
}

.home-notices .notice-chevron {
  margin-left: auto;
  padding-top: 3px;
}

.home-notices .notice-title {
  line-height: 1.9;
  font-size: 12px;
}

.home-notices .notice-body {
  font-size: 12px;
  margin-top: 2px;
  line-height: 1.95;
  max-height: 135px;
}

.notice-date {
  display: block;
  color: rgb(152, 170, 158);
  font-size: 10px;
  margin-top: 9px;
}

.notice-help {
  display: flex;
  gap: 7px;
  align-items: start;
  border-top: 1px solid rgb(220, 233, 225);
  padding-top: 14px;
  color: rgb(139, 159, 146);
  font-size: 10px;
}

.notice-help .icon {
  width: 13px;
  height: 13px;
  margin-top: 2px;
}

.home-privacy {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  color: rgb(144, 160, 153);
  padding-top: 18px;
}

.home-privacy .icon {
  width: 14px;
  height: 14px;
}

.home-guides {
  margin-top: 36px;
  margin-bottom: 32px;
}

.guides-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 18px;
}

.guides-heading .eyebrow {
  display: block;
  font-size: 9px;
  letter-spacing: 2px;
  margin-bottom: 4px;
}

.guides-heading h2 {
  font-size: 20px;
}

.guides-heading > p {
  font-size: 11px;
  color: rgb(152, 164, 173);
}

.guide-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0px, 1fr));
  gap: 22px;
}

.guide-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  padding: 24px 26px;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.guide-card:hover {
  border-color: rgb(173, 206, 192);
  box-shadow: rgba(15, 118, 110, 0.035) 0px 8px 24px;
}

.guide-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.guide-card-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: rgb(234, 244, 239);
  color: rgb(76, 138, 114);
  display: flex;
  align-items: center;
  justify-content: center;
}

.guide-api-icon {
  background: rgb(237, 241, 248);
  color: rgb(99, 127, 159);
}

.guide-card-icon .icon {
  width: 21px;
  height: 21px;
}

.guide-card-type {
  font-size: 10px;
  color: rgb(154, 167, 174);
}

.guide-card h3 {
  font-size: 16px;
  margin-bottom: 7px;
}

.guide-card > p {
  font-size: 12px;
  color: rgb(140, 154, 164);
  line-height: 1.9;
  min-height: 24px;
}

.guide-card-link {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 11px;
  color: var(--primary);
  margin-top: 19px;
}

.guide-card-link .icon {
  width: 14px;
  height: 14px;
}

.merged-footer {
  width: min(1120px, 100% - 64px);
  margin: auto auto 0px;
  padding: 24px 0px;
  border-top: 1px solid var(--line);
  justify-content: flex-start;
}

.merged-footer > a {
  margin-left: auto;
}

.reading-breadcrumb {
  align-items: center;
  gap: 8px;
  padding-top: 18px;
  color: rgb(155, 166, 175);
  font-size: 11px;
}

.reading-breadcrumb .icon {
  width: 12px;
  height: 12px;
}

.reading-breadcrumb a:hover {
  color: var(--primary);
}

.reading-hero h1 {
  letter-spacing: -1px;
}

.reading-hero > p {
  margin-top: 12px;
  font-size: 13px;
}

.reading-meta {
  display: flex;
  gap: 22px;
  margin-top: 17px;
}

.reading-meta span {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.reading-meta .icon {
  width: 13px;
  height: 13px;
}

.reading-layout {
  display: grid;
  grid-template-columns: 228px minmax(0px, 1fr);
  gap: 28px;
  align-items: start;
  padding-bottom: 38px;
}

.reading-sidebar {
  position: sticky;
  top: 24px;
}

.reading-toc {
  background: white;
  border: 1px solid var(--line);
  border-radius: 13px;
}

.reading-toc > summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  list-style: none;
  cursor: default;
  pointer-events: none;
}

.reading-toc > summary::-webkit-details-marker {
  display: none;
}

.reading-toc > summary .icon {
  width: 14px;
  height: 14px;
  color: rgb(156, 168, 175);
}

.reading-toc nav {
  display: flex;
  flex-direction: column;
  margin-top: 14px;
}

.reading-toc nav a {
  display: flex;
  align-items: start;
  gap: 10px;
  border-radius: 6px;
  padding: 10px 0px;
  font-size: 11px;
  color: rgb(125, 142, 152);
}

.reading-toc nav a:hover {
  color: var(--primary);
}

.reading-toc nav a > span {
  width: 24px;
  flex-shrink: 0;
  font-family: Consolas, monospace;
}

.toc-code-link {
  display: flex;
  gap: 6px;
  align-items: center;
  border-top: 1px solid var(--line);
  margin-top: 12px;
  padding-top: 16px;
  color: var(--primary);
  font-size: 10px;
}

.toc-code-link .icon {
  width: 13px;
  height: 13px;
}

.toc-code-link .icon:last-child {
  margin-left: auto;
}

.reading-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0px;
}

.reading-step {
  border: 1px solid var(--line);
  background: white;
  border-radius: 14px;
  scroll-margin-top: 25px;
}

.reading-step-number {
  display: inline-block;
  font-family: Consolas, var(--font);
  color: var(--primary);
  padding: 3px 8px;
  border-radius: 5px;
  margin-bottom: 10px;
}

.reading-step h2 {
  font-size: 21px;
  margin-bottom: 15px;
}

.reading-prose {
  line-height: 1.95;
  overflow-wrap: anywhere;
}

.reading-prose p {
  margin: 0px 0px 9px;
}

.reading-prose p:last-child {
  margin-bottom: 0px;
}

.reading-callout {
  border: 1px solid rgb(220, 234, 224);
  border-radius: 13px;
  scroll-margin-top: 25px;
}

.callout-title {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--primary);
  margin-bottom: 10px;
}

.callout-title h2 {
  font-size: 14px;
}

.callout-title .icon {
  width: 17px;
  height: 17px;
}

.chapter-note {
  border-left: 2px solid rgb(179, 207, 192);
  border-radius: 0px 7px 7px 0px;
  padding: 12px 14px;
  display: flex;
  gap: 8px;
  line-height: 1.85;
  margin-top: 17px;
}

.chapter-note .icon {
  width: 14px;
  height: 14px;
  margin-top: 3px;
}

.chapter-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 21px;
}

.chapter-links .button {
  min-height: 38px;
  padding: 9px 13px;
}

.network-redemption {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 21px;
}

.network-redemption .button {
  flex-shrink: 0;
  min-height: 38px;
  padding: 9px 13px;
}

.network-redemption-url {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 760px) {
  .network-redemption {
    gap: 12px;
    font-size: 12px;
  }

  .network-redemption .button {
    padding: 9px 12px;
    font-size: 12px;
    gap: 6px;
  }

  .network-redemption .icon {
    width: 14px;
    height: 14px;
  }
}

.chapter-links .button .icon {
  width: 13px;
  height: 13px;
}

.chapter-links small {
  flex-basis: 100%;
  color: rgb(160, 170, 168);
  font-size: 9px;
}

.reading-image-link {
  display: block;
  width: min(350px, 100%);
  margin-top: 20px;
}

.reading-image {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.reading-image-link > span {
  display: flex;
  gap: 5px;
  align-items: center;
  font-size: 10px;
  color: rgb(139, 157, 149);
  margin-top: 7px;
}

.reading-image-link .icon {
  width: 13px;
  height: 13px;
}

.login-instructions {
  display: grid;
  gap: 30px;
  margin-top: 28px;
}

.login-instruction + .login-instruction {
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.login-instruction h3 {
  margin-bottom: 10px;
  font-size: 17px;
}

.login-instruction .reading-image-link {
  width: min(420px, 100%);
  margin-top: 16px;
}

.login-code-link {
  margin-top: 18px;
}

/* GPT guide groups independent login methods around the shared account flow. */
.login-guide .reading-hero {
  text-align: center;
}

.api-guide .reading-hero {
  text-align: center;
}

.login-guide .reading-bottom {
  justify-content: flex-end;
}

.login-guide .guide-network {
  margin-bottom: 24px;
}

.login-guide .guide-layout {
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 24px;
}

.login-guide .reading-toc nav a {
  align-items: center;
  padding: 12px 10px;
  color: var(--text);
}

.login-guide .reading-toc nav a:hover {
  background: var(--primary-soft);
}

.login-guide .reading-toc nav a > span {
  width: auto;
  font-family: inherit;
  color: inherit;
}

.login-guide .reading-toc nav .icon {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  color: var(--primary);
}

.guide-method-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.guide-method-heading h2 {
  margin: 0;
}

.guide-method-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--primary-soft);
  color: var(--primary);
}

.guide-method-icon .icon {
  width: 19px;
  height: 19px;
}

.login-guide .login-instruction {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 320px);
  grid-template-rows: min-content 1fr;
  align-items: start;
  column-gap: 28px;
}

.login-guide .login-instruction-copy {
  grid-column: 1;
  grid-row: 1;
}

.login-guide .login-instruction .reading-image-link {
  width: 100%;
  margin: 0;
  grid-column: 2;
  grid-row: 1 / span 2;
}

.login-guide .login-instruction-action {
  grid-column: 1;
  grid-row: 2;
}

.guide-device-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.guide-device-grid .guide-method-heading h2 {
  font-size: 19px;
}

@media (max-width: 1000px) {
  .login-guide .login-instruction {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    row-gap: 16px;
  }

  .login-guide .login-instruction-copy,
  .login-guide .login-instruction .reading-image-link,
  .login-guide .login-instruction-action {
    grid-column: auto;
    grid-row: auto;
  }

  .login-guide .login-instruction .reading-image-link {
    max-width: 420px;
  }

  .login-guide .login-code-link {
    margin-top: 0;
  }

  .guide-device-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .login-guide .guide-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .login-guide .reading-sidebar {
    width: 100%;
  }
}

.reading-video {
  display: block;
  width: 100%;
  height: auto;
  background: rgb(24, 44, 52);
  border-radius: 11px;
  margin-top: 20px;
}

.reading-bottom {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 5px 0px;
}

.reading-bottom > span {
  display: flex;
  align-items: center;
  gap: 7px;
}

.reading-bottom > span .icon {
  width: 14px;
  height: 14px;
}

.reading-bottom .button {
  font-size: 11px;
}

.admin-workflow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding: 15px 19px;
  border-radius: 10px;
  border: 1px solid rgb(220, 234, 227);
  background: rgb(239, 246, 242);
  margin-bottom: 19px;
  color: rgb(111, 139, 124);
  font-size: 11px;
}

.admin-workflow span {
  display: flex;
  gap: 7px;
  align-items: center;
}

.admin-workflow b {
  color: var(--primary);
  font-family: Consolas, monospace;
  font-size: 10px;
}

.admin-workflow i {
  font-style: normal;
  color: rgb(176, 197, 184);
}

.tutorial-manage-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0px, 1fr));
  gap: 22px;
}

.tutorial-manage-card {
  padding: 28px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.tutorial-manage-icon {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.tutorial-manage-icon > .icon {
  width: 26px;
  height: 26px;
}

.tutorial-manage-card h2 {
  font-size: 18px;
  margin-bottom: 9px;
}

.tutorial-manage-card > p {
  font-size: 12px;
  color: rgb(137, 153, 164);
  min-height: 46px;
}

.tutorial-card-meta {
  font-size: 10px;
  color: rgb(160, 171, 178);
  margin: 17px 0px;
}

.tutorial-manage-card .button {
  font-size: 12px;
}

.tutorial-preview-link {
  display: block;
  margin-top: 15px;
  text-align: center;
  font-size: 11px;
  color: rgb(139, 156, 149);
}

.section-edit-list {
  max-width: 760px;
  margin-top: 24px;
}

.section-list-heading {
  padding: 21px;
  border-bottom: 1px solid var(--line);
}

.section-list-heading h2 {
  font-size: 15px;
}

.section-list-heading p {
  font-size: 11px;
  color: rgb(151, 164, 173);
  margin-top: 6px;
}

@media (max-width: 900px) {
  .merged-header {
    flex-wrap: wrap;
    gap: 16px;
  }

  .public-nav {
    gap: 0px;
  }

  .public-nav a {
    font-size: 11px;
    padding: 7px 9px;
  }

  .home-workspace {
    grid-template-columns: minmax(0px, 1.4fr) minmax(0px, 1fr);
    gap: 18px;
  }

  .home-notices {
    padding: 22px;
  }

  .reading-layout {
    grid-template-columns: 190px minmax(0px, 1fr);
    gap: 20px;
  }

  .reading-toc {
    padding: 16px;
  }

  .reading-step {
    padding: 24px;
  }
}

@media (max-width: 700px) {
  .merged-header, .merged-main, .reading-main, .merged-footer {
    width: calc(100% - 32px);
  }

  .merged-header {
    padding: 19px 0px 13px;
    gap: 12px;
  }

  .merged-header .brand {
    font-size: 14px;
  }

  .header-code-link {
    margin-left: auto;
    font-size: 11px;
  }

  .public-nav {
    order: 3;
    flex-basis: 100%;
    justify-content: center;
    border-top: 1px solid rgb(233, 237, 240);
    padding-top: 12px;
    gap: 5px;
  }

  .public-nav a {
    font-size: 11px;
    padding: 7px 15px;
  }

  .merged-intro {
    padding: 22px 0px 25px;
  }

  .merged-intro .eyebrow {
    font-size: 9px;
    margin-bottom: 11px;
    letter-spacing: 1.5px;
  }

  .merged-intro h1 {
    font-size: 27px;
    letter-spacing: -0.8px;
  }

  .merged-intro h1 span {
    display: block;
  }

  .merged-intro > p {
    font-size: 11px;
    line-height: 1.85;
    max-width: 290px;
    margin-top: 10px;
  }

  .home-workspace {
    display: flex;
    flex-direction: column;
    gap: 17px;
  }

  .home-notices {
    order: -1;
    width: 100%;
    padding: 17px 19px;
  }

  .home-code-card {
    width: 100%;
    padding: 23px;
  }

  .home-notices .notice-heading {
    margin-bottom: 9px;
  }

  .home-notices .notice-heading h2 {
    font-size: 12px;
  }

  .home-notices .notice-item {
    padding-bottom: 9px;
  }

  .home-notices .notice-item + .notice-item {
    padding-top: 9px;
  }

  .home-notices .notice-title {
    font-size: 11px;
  }

  .home-notices .notice-body {
    max-height: 100px;
    font-size: 11px;
  }

  .notice-date {
    font-size: 9px;
    margin-top: 5px;
  }

  .notice-help {
    padding-top: 10px;
    font-size: 9px;
  }

  .home-privacy {
    font-size: 9px;
    text-align: center;
    gap: 5px;
    padding-top: 16px;
  }

  .home-privacy .icon {
    width: 12px;
    height: 12px;
  }

  .home-guides {
    margin-top: 28px;
    margin-bottom: 25px;
  }

  .guides-heading {
    margin-bottom: 14px;
  }

  .guides-heading h2 {
    font-size: 18px;
  }

  .guides-heading > p {
    display: none;
  }

  .guide-card-grid {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .guide-card {
    padding: 20px 22px;
  }

  .guide-card-top {
    margin-bottom: 14px;
  }

  .guide-card h3 {
    font-size: 15px;
  }

  .guide-card > p {
    font-size: 11px;
  }

  .guide-card-link {
    margin-top: 15px;
  }

  .merged-footer {
    flex-wrap: wrap;
    font-size: 9px;
    gap: 8px;
    padding: 20px 0px;
  }

  .merged-footer > span:nth-of-type(3) {
    display: none;
  }

  .reading-breadcrumb {
    padding-top: 11px;
    font-size: 10px;
  }

  .reading-hero {
    padding: 23px 0px;
  }

  .reading-hero .eyebrow {
    font-size: 9px;
  }

  .reading-hero h1 {
    font-size: 26px;
  }

  .reading-hero > p {
    font-size: 12px;
    line-height: 1.9;
  }

  .reading-meta {
    font-size: 9px;
    gap: 16px;
    margin-top: 13px;
  }

  .reading-layout {
    display: flex;
    flex-direction: column;
    gap: 17px;
  }

  .reading-sidebar {
    position: static;
    width: 100%;
  }

  .reading-toc {
    padding: 16px 18px;
  }

  .reading-toc > summary {
    pointer-events: auto;
    cursor: pointer;
  }

  .reading-toc nav {
    margin-top: 10px;
  }

  .reading-toc nav a {
    font-size: 11px;
    padding: 8px 0px;
  }

  .reading-body {
    width: 100%;
    gap: 15px;
  }

  .reading-step {
    padding: 22px;
  }

  .reading-step h2 {
    font-size: 19px;
  }

  .reading-prose {
    font-size: 12px;
  }

  .reading-callout {
    padding: 20px 22px;
  }

  .chapter-note {
    padding: 11px;
    font-size: 10px;
  }

  .chapter-links .button {
    white-space: normal;
    font-size: 10px;
  }

  .reading-bottom {
    gap: 15px;
  }

  .reading-bottom .button {
    width: 100%;
  }

  .tutorial-manage-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .tutorial-manage-card {
    padding: 23px;
  }

  .admin-workflow {
    flex-direction: column;
    align-items: start;
    gap: 8px;
    padding: 15px;
    font-size: 10px;
  }

  .admin-workflow i {
    display: none;
  }
}

.accounts-table .account-cell strong {
  overflow-wrap: anywhere;
}

.accounts-table .account-cell > div {
  min-width: 0px;
}

.accounts-table table {
  table-layout: fixed;
}

.accounts-table .account-info-column {
  width: 28%;
}

.accounts-table .account-state-column {
  width: 9%;
}

.accounts-table .account-grant-column {
  width: 12%;
}

.accounts-table .account-code-column {
  width: 32%;
}

.accounts-table .account-actions-column {
  width: 19%;
}

.account-live-code {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid rgb(220, 235, 231);
  border-radius: 10px;
  max-width: 100%;
}

.account-code-number {
  font-family: Consolas, monospace;
  font-size: 24px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 1.2px;
  color: rgb(32, 118, 108);
  white-space: nowrap;
}

.account-code-copy {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid rgb(209, 229, 223);
  border-radius: 7px;
  padding: 6px 8px;
  background: rgb(255, 255, 255);
  color: rgb(32, 118, 108);
  font-size: 11px;
  cursor: pointer;
}

.account-code-copy .icon {
  width: 14px;
  height: 14px;
}

.account-code-copy:hover {
  background: rgb(229, 242, 237);
}

.account-code-copy:disabled {
  opacity: 0.4;
  cursor: default;
}

.account-code-bottom {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  white-space: nowrap;
}

.account-code-bottom [data-code-status] {
  min-width: 72px;
}

.account-code-copy {
  flex-shrink: 0;
  white-space: nowrap;
}

.code-live-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgb(169, 184, 178);
  flex-shrink: 0;
}

.code-ready .code-live-dot {
  background: rgb(58, 154, 126);
}

.code-expiring .account-code-number, .code-expiring .account-code-bottom {
  color: rgb(161, 106, 34);
}

.code-expiring .code-live-dot {
  background: rgb(190, 144, 62);
}

@media (min-width: 701px) and (max-width: 1200px) {
  .accounts-table td, .accounts-table th {
    padding-left: 12px;
    padding-right: 12px;
  }

  .account-live-code {
    gap: 8px;
    padding: 9px;
  }

  .account-code-number {
    font-size: 22px;
  }

  .accounts-table .table-scroll {
    overflow-x: auto;
  }

  .accounts-table table {
    min-width: 880px;
  }
}

@media (max-width: 700px) {
  .accounts-table .account-code-cell {
    display: block;
    padding: 12px 0px;
  }

  .accounts-table .account-code-cell::before {
    display: block;
    margin-bottom: 7px;
  }

  .accounts-table colgroup {
    display: none;
  }

  .account-live-code {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
    padding: 12px 10px;
  }

  .account-code-number {
    font-size: 23px;
  }

  .account-code-copy {
    padding: 7px 8px;
  }

  .account-code-bottom {
    font-size: 11px;
  }
}

.grant-search {
  border: 1px solid rgb(226, 233, 238);
  border-radius: 12px;
  background: rgb(255, 255, 255);
  margin-bottom: 22px;
}

.grant-groups {
  display: grid;
  gap: 22px;
}

.grant-group {
  overflow: hidden;
}

.grant-group-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid rgb(237, 240, 243);
}

.grant-account-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0px;
}

.grant-account-heading > div {
  min-width: 0px;
}

.grant-account-heading h2 {
  margin: 0px;
  font-size: 16px;
  overflow-wrap: anywhere;
}

.grant-account-heading p {
  margin: 5px 0px 0px;
  font-size: 11px;
  color: rgb(138, 152, 164);
}

.grant-group-heading > .button {
  flex-shrink: 0;
}

.grant-empty {
  padding: 30px 25px;
  font-size: 12px;
  color: rgb(138, 152, 164);
}

.grant-table .grant-number {
  color: rgb(32, 118, 108);
  font-family: Consolas, monospace;
  font-size: 16px;
}

.grant-dialog {
  width: min(480px, 100% - 32px);
  max-height: calc(-40px + 100vh);
  overflow-y: auto;
  padding: 28px;
  color: rgb(49, 73, 87);
  box-shadow: rgba(23, 61, 57, 0.2) 0px 24px 80px;
}

.grant-dialog-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.grant-dialog-heading h2 {
  font-size: 21px;
  margin: 0px;
}

.grant-dialog-heading button {
  font-size: 25px;
}

.grant-dialog-account {
  margin: 8px 0px 20px;
  color: rgb(119, 140, 133);
  font-size: 13px;
  overflow-wrap: anywhere;
}

.grant-dialog .field {
  margin-top: 18px;
}

.grant-dialog .form-actions {
  margin-top: 24px;
}

.grant-dialog .token-value {
  font-size: 18px;
  overflow-wrap: anywhere;
}

.grant-created-number {
  font-size: 14px;
  color: rgb(32, 118, 108);
}

.grant-copy-actions {
  display: flex;
  gap: 10px;
  margin: 18px 0px;
  flex-wrap: wrap;
}

.grant-copy-actions > .button {
  flex: 1 1 0%;
}

.form-section-heading {
  margin: 28px 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.form-section-heading:first-child {
  margin-top: 0;
}

.form-section-heading h2 {
  margin: 0 0 5px;
  font-size: 17px;
}

.form-section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.password-input-wrap {
  position: relative;
}

.password-input-wrap input {
  padding-right: 74px;
}

.password-visibility {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: var(--primary);
  cursor: pointer;
  font-size: 13px;
}

.credential-ready {
  color: rgb(32, 118, 108) !important;
}

.credential-missing {
  color: rgb(190, 116, 44) !important;
}

.grant-table {
  table-layout: fixed;
}

.grant-number-column {
  width: 8%;
}

.grant-password-column {
  width: 32%;
}

.grant-created-column, .grant-expires-column {
  width: 21%;
}

.grant-status-column {
  width: 10%;
}

.grant-actions-column {
  width: 8%;
}

.grant-password-line {
  display: flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
}

.grant-password {
  font-family: Consolas, monospace;
  font-size: 16px;
  font-weight: 600;
  color: rgb(32, 118, 108);
  letter-spacing: 0.7px;
}

.grant-password-copy, .grant-share-copy, .grant-bundle-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-shrink: 0;
  border: 1px solid rgb(220, 235, 231);
  border-radius: 7px;
  background: rgb(243, 249, 247);
  color: rgb(32, 118, 108);
  padding: 6px 8px;
  font-size: 11px;
  cursor: pointer;
}

.grant-password-copy:hover, .grant-share-copy:hover, .grant-bundle-copy:hover {
  background: rgb(229, 242, 237);
}

.grant-bundle-copy {
  border-color: rgb(219, 215, 250);
  background: rgb(246, 244, 255);
  color: rgb(100, 82, 210);
}

.grant-bundle-copy:hover {
  background: rgb(235, 231, 255);
}

.grant-bundle-copy:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.grant-password-copy .icon, .grant-share-copy .icon, .grant-bundle-copy .icon {
  width: 13px;
  height: 13px;
}

.grant-date {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.grant-delete-link {
  color: rgb(190, 87, 87);
  border: 1px solid rgb(238, 219, 219);
  border-radius: 7px;
  padding: 6px 12px;
  font-size: 12px;
}

.grant-delete-link:hover {
  background: rgb(255, 243, 243);
}

@media (min-width: 701px) and (max-width: 1250px) {
  .grant-group .table-scroll {
    overflow-x: auto;
  }

  .grant-table {
    min-width: 1020px;
  }
}

@media (max-width: 700px) {
  .grant-group-heading {
    padding: 18px 16px;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 14px;
  }

  .grant-account-heading h2 {
    font-size: 14px;
  }

  .grant-group-heading > .button {
    width: 100%;
  }

  .grant-empty {
    padding: 25px 16px;
  }

  .grant-dialog {
    padding: 22px;
  }

  .grant-table colgroup {
    display: none;
  }

  .grant-table td[data-label="取码密码"] {
    display: block;
    padding-bottom: 14px;
  }

  .grant-table td[data-label="取码密码"]::before {
    display: block;
    margin-bottom: 9px;
  }

  .grant-password-line {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 8px;
  }
}

/* Service portal, password dialog and mailbox pages */

body {
  color: var(--text);
}

button:focus-visible, a:focus-visible, summary:focus-visible {
  outline-color: rgba(114, 101, 230, 0.5);
}

input:focus, select:focus, textarea:focus {
  box-shadow: rgba(114, 101, 230, 0.063) 0px 0px 0px 3px;
}

.button {
  border-radius: 9px;
}

.button-primary {
  background: linear-gradient(110deg, rgb(88, 121, 238), rgb(114, 101, 230));
  box-shadow: none;
}

.button-primary:hover {
  background: linear-gradient(110deg, rgb(76, 110, 224), rgb(101, 87, 217));
}

.button-secondary {
  border-color: var(--line);
  color: rgb(98, 88, 142);
}

.button-secondary:hover, .button-text:hover {
  background: var(--primary-soft);
}

.brand-mark {
  box-shadow: none;
}

.large-icon, .heading-icon, .summary-icon, .empty-icon {
  color: var(--primary);
  background: var(--primary-soft);
}

.toolbox-main {
  width: min(1120px, 100% - 64px);
  margin: 32px auto 0px;
  flex: 0 0 auto;
}

.toolbox-hero {
  padding: 36px 24px 34px;
  text-align: center;
  border-radius: var(--radius);
  background: rgb(255, 255, 255);
}

.toolbox-hero h1 {
  font-size: 36px;
  font-weight: 700;
  color: rgb(112, 96, 223);
  letter-spacing: -0.8px;
}

.toolbox-hero p {
  margin-top: 8px;
  font-size: 15px;
  color: var(--muted);
}

.toolbox-title-mark {
  display: block;
  width: 64px;
  height: 4px;
  margin: 21px auto 0px;
  background: linear-gradient(90deg, rgb(84, 124, 255), rgb(139, 91, 231));
  border-radius: 4px;
}

.toolbox-services {
  margin-top: 18px;
  padding: 22px;
  background: rgb(255, 255, 255);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: left;
}

.toolbox-services h2 {
  font-size: 17px;
}

.toolbox-service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0px, 1fr));
  grid-auto-rows: 1fr;
  gap: 12px;
  margin-top: 16px;
}

.toolbox-service {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  gap: 10px;
  min-height: 76px;
  padding: 14px 12px;
  border-radius: 11px;
  background: var(--primary-soft);
  color: rgb(107, 90, 217);
  font-size: 15px;
  transition: background 0.15s;
}

.toolbox-service:hover {
  background: rgb(236, 232, 255);
}

.toolbox-service .icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.toolbox-service > span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.toolbox-service-primary {
  background: linear-gradient(110deg, rgb(88, 121, 238), rgb(121, 97, 231));
  color: rgb(255, 255, 255);
}

.toolbox-service-primary:hover {
  background: linear-gradient(110deg, rgb(76, 110, 224), rgb(105, 84, 215));
}

.toolbox-access {
  margin: 28px auto 0px;
  width: min(680px, 100%);
  padding: 30px 36px;
  border: 0px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  scroll-margin-top: 24px;
}

.toolbox-back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: transparent;
  color: var(--primary);
  padding: 0px;
  margin-bottom: 22px;
  font-size: 13px;
}

.toolbox-back .icon {
  width: 16px;
  height: 16px;
}

.toolbox-access-heading {
  text-align: center;
  margin-bottom: 28px;
}

.toolbox-access-heading h2 {
  font-size: 23px;
}

.toolbox-access-heading p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 7px;
}

.toolbox-access .access-form {
  margin-top: 0px;
}

.toolbox-access .access-form > label {
  font-size: 13px;
}

.toolbox-access .password-wrap input {
  min-height: 50px;
}

.toolbox-access #get-code {
  margin-top: 18px;
}

.toolbox-access .verified-label {
  color: var(--primary);
}

.toolbox-access .otp-code {
  color: rgb(107, 90, 217);
}

.toolbox-access .code-panel {
  background: transparent;
  border: 0px;
  padding: 0px;
}

.toolbox-access .countdown-progress {
  accent-color: var(--primary);
}

.countdown-progress::-webkit-progress-bar {
  background: rgb(238, 235, 250);
}

.countdown-progress::-webkit-progress-value {
  background: var(--primary);
}

/* Homepage announcements use the existing published and pinned notice data. */
.home-announcements {
  min-height: 320px;
  padding: 24px 26px;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.home-announcement-heading {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--primary);
}

.home-announcement-heading h1 {
  font-size: 18px;
}

.home-announcement-heading .icon {
  width: 20px;
  height: 20px;
}

.home-announcement-list {
  max-height: 260px;
  margin-top: 16px;
  padding-right: 6px;
  overflow-y: auto;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
}

.home-announcement-list article {
  min-height: 62px;
}

.home-announcement-list article + article {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.home-notice-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-bottom: 6px;
}

.home-notice-heading h2 {
  min-width: 0;
  font-size: 14px;
  overflow-wrap: anywhere;
}

.home-notice-body {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.home-announcement-empty {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 1000px) {
  .toolbox-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.toolbox-footer {
  width: auto;
  justify-content: center;
  gap: 18px;
  padding: 30px 20px 36px;
  margin: 0px;
  border: 0px;
  color: var(--muted);
  font-size: 12px;
}

.toolbox-footer a:hover {
  color: var(--primary);
}

.toolbox-reading-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: min(1120px, 100% - 64px);
  margin: 0px auto;
  padding: 26px 0px;
  color: var(--muted);
  font-size: 13px;
}

.toolbox-reading-header a {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--primary);
}

.toolbox-reading-header .icon {
  width: 16px;
  height: 16px;
}

.reading-breadcrumb {
  display: none;
}

.reading-hero {
  padding: 30px 34px;
  background: rgb(255, 255, 255);
  border-radius: var(--radius);
  margin: 0px 0px 25px;
}

.reading-hero .eyebrow {
  display: none;
}

.reading-hero h1 {
  font-size: 29px;
}

.reading-hero > p {
  color: var(--muted);
}

.reading-meta {
  font-size: 12px;
  color: var(--muted);
}

.reading-toc, .reading-step, .reading-callout {
  border: 0px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.reading-toc {
  padding: 23px;
}

.reading-toc nav a, .toc-code-link {
  font-size: 12px;
}

.reading-toc nav a > span {
  color: var(--primary);
  font-size: 12px;
}

.reading-step {
  padding: 30px;
}

.reading-prose {
  color: rgb(101, 106, 125);
  font-size: 14px;
}

.reading-step-number {
  background: var(--primary-soft);
  font-size: 12px;
}

.reading-callout {
  background: rgb(255, 255, 255);
  padding: 25px 30px;
}

.reading-callout .reading-prose {
  color: rgb(101, 106, 125);
  font-size: 13px;
}

.chapter-note {
  background: var(--primary-soft);
  border-left-color: rgb(182, 168, 237);
  color: rgb(119, 113, 139);
  font-size: 12px;
}

.chapter-links .button {
  font-size: 12px;
}

.chapter-links small, .reading-image-link > span {
  color: var(--muted);
  font-size: 12px;
}

.reading-bottom > span {
  color: var(--muted);
  font-size: 12px;
}

.sidebar {
  width: 220px;
  background: rgb(255, 255, 255);
  padding: 28px 18px 24px;
}

.sidebar-brand {
  gap: 10px;
  font-size: 16px;
}

.sidebar-brand .brand-mark {
  background: transparent;
  color: var(--primary);
  width: 26px;
  height: 30px;
}

.sidebar-brand .brand-mark .icon {
  width: 25px;
  height: 25px;
}

.sidebar-brand small {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0px;
  margin-top: 6px;
}

.side-nav {
  margin-top: 38px;
  gap: 10px;
}

.side-nav > a {
  padding: 13px 14px;
  color: rgb(116, 120, 138);
  font-size: 14px;
}

.side-nav > a.active, .side-nav > a:hover {
  background: var(--primary-soft);
  color: var(--primary);
}

.nav-active-dot {
  display: none;
}

.sidebar-bottom > a {
  justify-content: flex-start;
  gap: 9px;
  color: var(--muted);
  font-size: 12px;
  margin: 20px 8px 0px;
}

.manage-shell {
  margin-left: 220px;
}

.manage-header {
  height: 70px;
  padding: 0px 32px;
}

.breadcrumb, .admin-user {
  color: var(--muted);
  font-size: 13px;
}

.breadcrumb strong {
  color: rgb(82, 81, 110);
}

.manage-main {
  padding: 30px 32px;
  max-width: 1600px;
}

.page-heading {
  margin-bottom: 24px;
}

.page-heading .eyebrow {
  display: none;
}

.page-heading h1 {
  font-size: 26px;
}

.page-heading p {
  color: var(--muted);
  font-size: 13px;
}

.page-heading > .button {
  font-size: 13px;
}

.table-card, .form-card, .token-card, .confirmation-card, .tutorial-manage-card, .login-card {
  border-color: transparent;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.table-toolbar, .grant-group-heading {
  border-color: var(--line);
}

th {
  background: rgb(248, 247, 255);
  color: rgb(119, 117, 138);
  font-size: 12px;
}

td {
  color: rgb(98, 102, 123);
}

td strong {
  color: rgb(54, 54, 77);
}

.table-link, .count-link {
  color: var(--primary);
}

.account-avatar {
  background: rgb(248, 247, 254);
  border-color: rgb(238, 235, 248);
  color: rgb(133, 117, 191);
}

.account-live-code {
  background: rgb(247, 245, 255);
  border-color: rgb(231, 225, 248);
}

.account-code-number, .account-code-copy, .grant-password {
  color: var(--primary);
}

.account-code-copy, .grant-password-copy, .grant-share-copy {
  background: rgb(255, 255, 255);
  color: var(--primary);
  border-color: rgb(228, 222, 245);
}

.account-code-copy:hover, .grant-password-copy:hover, .grant-share-copy:hover {
  background: rgb(236, 232, 255);
}

.account-code-bottom {
  color: rgb(130, 124, 152);
}

.grant-group-heading {
  padding: 24px;
}

.grant-account-heading h2 {
  color: rgb(54, 54, 77);
}

.grant-account-heading p, .grant-date {
  color: var(--muted);
}

.grant-dialog {
  border: 0px;
  border-radius: var(--radius);
}

.grant-dialog::backdrop {
  background: rgba(33, 26, 58, 0.4);
}

.tutorial-manage-icon {
  color: var(--primary);
}

.tutorial-preview-link, .tutorial-card-meta {
  color: var(--muted);
}

.info-callout {
  background: var(--primary-soft);
  border-color: rgb(230, 224, 247);
  color: rgb(120, 107, 154);
}

.login-intro .eyebrow {
  display: none;
}

.login-main {
  margin-top: 28px;
}

.login-intro h1 {
  font-size: 29px;
}

.login-intro p {
  color: var(--muted);
}

.login-caption {
  color: var(--muted);
}

.toast {
  background: rgb(68, 59, 104);
}

.mail-main {
  width: min(1000px, 100% - 64px);
  margin: 0px auto;
}

.mail-main .toolbox-hero h1 {
  font-size: 30px;
}

.mail-access {
  width: min(760px, 100%);
}

.mail-access h2 {
  font-size: 22px;
}

.mail-access .field {
  margin-top: 24px;
}

.recharge-page {
  background: #f1f2ff;
  color: #20242e;
}

.recharge-header, .recharge-main {
  width: min(1272px, calc(100% - 64px));
  margin: 0 auto;
}

.recharge-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px 0 24px;
}

.recharge-header .button, .recharge-header > span {
  border: 1px solid #d9dce5;
  border-radius: 9px;
  background: #fff;
  padding: 12px 18px;
  font-size: 16px;
}

.recharge-main .toolbox-hero {
  padding: 42px 24px;
  background: #ffffffbc;
}

.recharge-main .toolbox-hero h1 {
  font-size: clamp(30px, 4vw, 48px);
  color: #8a72ff;
}

.recharge-main .toolbox-title-mark {
  width: 140px;
  height: 5px;
}

.recharge-availability {
  margin: 24px 0;
}

.recharge-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 24px;
  background: #fff;
  color: var(--muted);
}

.recharge-card {
  padding: 48px;
  border: 0;
  background: #ffffffd9;
  box-shadow: 0 10px 18px #27254814;
}

.recharge-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.recharge-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 0 0 48px;
  padding: 0;
  list-style: none;
}

.recharge-steps li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  color: #17191e;
}

.recharge-steps li:not(:last-child)::after {
  content: '';
  width: 64px;
  height: 3px;
  margin: 0 12px;
  background: #e2e4ec;
}

.recharge-steps li.is-complete::after {
  background: #527dff;
}

.recharge-step-number {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  color: #707584;
  background: #e5e7eb;
  font-size: 26px;
  font-weight: 650;
}

.recharge-steps [aria-current="step"] .recharge-step-number, .recharge-steps .is-complete .recharge-step-number {
  color: #fff;
  background: #527dff;
}

.recharge-card h2 {
  margin: 0;
  font-size: 23px;
  font-weight: 550;
}

.recharge-card h2:focus {
  outline: none;
}

.recharge-card .field {
  margin-bottom: 20px;
}

.recharge-card .field label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 17px;
}

.recharge-card .field input {
  min-height: 64px;
  font-size: 20px;
}

.recharge-card input::-ms-reveal {
  display: none;
}

.recharge-card textarea {
  min-height: 200px;
  font-size: 17px;
  line-height: 1.6;
}

.recharge-card textarea:disabled {
  background: #f4f4f8;
  cursor: not-allowed;
}

.recharge-card .button {
  border-radius: 10px;
  min-height: 58px;
  font-size: 19px;
}

.recharge-card .button-primary {
  background: linear-gradient(105deg, #527df5, #8b4eff);
  color: #fff;
}

.recharge-card .button-secondary {
  background: #e5e7eb;
  color: #434c5b;
  border-color: transparent;
}

.recharge-message {
  padding: 16px 20px;
  border: 1px solid #bed4ff;
  border-radius: 11px;
  background: #f0f6ff;
  color: #4562ed;
  font-size: 16px;
  line-height: 1.7;
}

.recharge-actions {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 24px;
  margin-top: 28px;
}

.recharge-main[data-enabled="true"] #recharge-query {
  grid-column: 1 / -1;
}

.recharge-card-summary {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 24px;
  border: 1px solid #bed4ff;
  border-radius: 11px;
  background: #f0f6ff;
  color: #4562ed;
  font-size: 20px;
}

.recharge-card-summary strong {
  display: block;
  margin-top: 8px;
  font-size: 18px;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.recharge-account-links {
  display: grid;
  gap: 22px;
  margin: 24px 0 10px;
}

.recharge-account-links > div {
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 18px;
}

.recharge-card .recharge-login {
  background: #2cc052;
  color: #fff;
}

.recharge-key-warning {
  color: #bd8200;
  font-size: 14px;
  margin-bottom: 22px;
}

.recharge-confirm-box {
  padding: 26px 28px 10px;
  border: 1px solid #adf4bf;
  border-radius: 12px;
}

.recharge-details {
  margin: 12px 0 0;
}

.recharge-details > div {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid #e2e4ec;
  font-size: 20px;
}

.recharge-details dt {
  color: #566071;
}

.recharge-details dd {
  text-align: right;
  margin: 0;
  color: #17191e;
  overflow-wrap: anywhere;
}

.recharge-subscription-note {
  margin: 30px 0 22px;
}

.recharge-cover {
  margin-bottom: 24px;
}

.recharge-cover label, #recharge-duplicate label {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 20px;
}

.recharge-cover label {
  color: #9299a7;
}

.recharge-cover p, #recharge-duplicate > p {
  padding-left: 40px;
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.6;
}

.recharge-cover p {
  color: #ec4141;
}

#recharge-duplicate > p {
  color: #5272ff;
}

.recharge-cover input, #recharge-duplicate input {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  accent-color: #527dff;
}

#recharge-duplicate.requires-confirmation {
  border: 1px solid #efbd4c;
  background: #fffbeb;
  border-radius: 11px;
  padding: 16px;
}

#recharge-duplicate #recharge-duplicate-warning {
  color: #a65111;
  padding-left: 0;
  margin: 0 0 12px;
}

.recharge-card .recharge-submit {
  color: #fff;
  background: linear-gradient(100deg, #30c65a, #23a145);
}

.recharge-card .button:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.recharge-card #recharge-reset {
  font-size: 13px;
  min-height: 32px;
  margin-top: 14px;
}

.recharge-failure {
  margin-top: 28px;
  border-left: 5px solid #ef4444;
  border-radius: 11px;
  padding: 24px;
  background: #fef2f2;
  color: #d62329;
}

.recharge-failure h3 {
  font-size: 21px;
  font-weight: 550;
}

.recharge-failure p {
  font-size: 19px;
  margin: 6px 0 18px;
  line-height: 1.6;
}

.recharge-failure-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.recharge-failure-actions > button {
  background: #dc2626;
  color: #fff;
}

.recharge-failure-actions .button {
  min-height: 46px;
  font-size: 16px;
}

.recharge-status {
  --status-color: #4562d7;
  --status-soft: #e6edff;
  margin-top: 28px;
  padding: 26px;
  border: 1px solid #c8d6ff;
  border-radius: 14px;
  background: #f5f8ff;
  color: var(--status-color);
}

.recharge-status[data-tone="success"] {
  --status-color: #20824b;
  --status-soft: #dff4e7;
  border-color: #b5e5c8;
  background: #f1fbf5;
}

.recharge-status[data-tone="attention"] {
  --status-color: #a56817;
  --status-soft: #ffedc9;
  border-color: #efd09a;
  background: #fffbf2;
}

.recharge-status-header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.recharge-status-icon {
  display: grid;
  place-items: center;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--status-soft);
  font-size: 26px;
  font-weight: 600;
}

.recharge-status[data-tone="processing"] .recharge-status-icon::after {
  content: '';
  width: 20px;
  height: 20px;
  border: 2px solid #becbfa;
  border-top-color: var(--status-color);
  border-radius: 50%;
  animation: recharge-status-spin 1s linear infinite;
}

@keyframes recharge-status-spin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .recharge-status[data-tone="processing"] .recharge-status-icon::after {
    animation: none;
  }
}

.recharge-status-eyebrow {
  margin: 0 0 3px;
  font-size: 12px;
  opacity: .8;
}

.recharge-status-header h3 {
  margin: 0;
  font-size: 21px;
  font-weight: 600;
}

.recharge-status-badge {
  margin-left: auto;
  padding: 5px 11px;
  border-radius: 20px;
  background: var(--status-soft);
  font-size: 12px;
  white-space: nowrap;
}

.recharge-status-message {
  margin: 18px 0 8px;
  font-size: 17px;
  line-height: 1.7;
}

.recharge-status-hint {
  font-size: 13px;
  line-height: 1.7;
  color: #747e90;
}

.recharge-status-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

.recharge-status-actions .button {
  min-height: 42px;
  font-size: 14px;
  padding: 10px 16px;
}

.recharge-status .recharge-order-details {
  margin: 20px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--status-soft);
}

.recharge-order-details {
  margin: 22px 0;
  color: var(--muted);
  font-size: 13px;
  overflow-wrap: anywhere;
}

.recharge-order-details summary {
  cursor: pointer;
}

@media (max-width: 600px) {
  .recharge-header, .recharge-main {
    width: calc(100% - 28px);
  }

  .recharge-header {
    padding: 22px 0 18px;
  }

  .recharge-header .button, .recharge-header > span {
    font-size: 13px;
    padding: 9px 12px;
  }

  .recharge-main .toolbox-hero {
    padding: 28px 16px;
  }

  .recharge-card {
    padding: 28px 18px;
  }

  .recharge-steps {
    justify-content: space-between;
    margin-bottom: 30px;
  }

  .recharge-steps li {
    flex-direction: column;
    gap: 7px;
    font-size: 12px;
    position: relative;
  }

  .recharge-step-number {
    width: 39px;
    height: 39px;
    font-size: 19px;
  }

  .recharge-steps li:not(:last-child)::after {
    position: absolute;
    top: 19px;
    left: calc(100% + 3px);
    width: 16px;
    margin: 0;
    height: 2px;
  }

  .recharge-card .field label {
    font-size: 14px;
  }

  .recharge-card .field input {
    font-size: 16px;
    min-height: 52px;
  }

  .recharge-card textarea {
    font-size: 14px;
    min-height: 180px;
  }

  .recharge-card-summary {
    padding: 16px;
    font-size: 16px;
  }

  .recharge-card-summary strong {
    font-size: 14px;
  }

  .recharge-account-links > div {
    gap: 12px;
    font-size: 14px;
  }

  .recharge-card .button {
    font-size: 14px;
    min-height: 48px;
    padding: 10px 12px;
  }

  .recharge-key-warning, .recharge-card .field-hint {
    font-size: 12px;
  }

  .recharge-actions {
    gap: 12px;
  }

  .recharge-confirm-box {
    padding: 18px 16px 4px;
  }

  .recharge-card h2 {
    font-size: 19px;
  }

  .recharge-details > div {
    grid-template-columns: 1fr;
    gap: 8px;
    font-size: 14px;
    padding: 16px 0;
  }

  .recharge-details dd {
    text-align: left;
  }

  .recharge-message {
    font-size: 13px;
    padding: 14px;
  }

  .recharge-cover label, #recharge-duplicate label {
    font-size: 16px;
    gap: 10px;
  }

  .recharge-cover p, #recharge-duplicate > p {
    padding-left: 32px;
    font-size: 12px;
  }

  .recharge-failure {
    padding: 18px 14px;
  }

  .recharge-failure p {
    font-size: 15px;
  }

  .recharge-status {
    padding: 20px 16px;
  }

  .recharge-status-header {
    gap: 10px;
    flex-wrap: wrap;
  }

  .recharge-status-icon {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
  }

  .recharge-status-header h3 {
    font-size: 18px;
  }

  .recharge-status-badge {
    padding: 4px 8px;
    font-size: 11px;
  }

  .recharge-status-message {
    font-size: 15px;
  }

  .recharge-status-actions .button {
    min-height: 40px;
    font-size: 13px;
  }

}

.mail-result-heading, .mail-heading-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.mail-latest {
  padding: 18px 0px 0px;
  text-align: center;
}

.mail-latest .otp-code {
  font-size: clamp(28px, 5vw, 48px);
  letter-spacing: 3px;
}

.mail-latest .field-hint {
  font-size: 16px;
  margin-bottom: 20px;
}

.mail-status {
  font-size: 12px;
  color: var(--muted);
  margin: 18px 0px;
}

#mail-history-wrap {
  margin-top: 24px;
}

#mail-history-wrap h3 {
  font-size: 14px;
}

.mail-history-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0px;
  border-bottom: 1px solid var(--line);
}

.mail-history-row span {
  color: var(--muted);
  font-size: 16px;
  margin-right: auto;
}

.mail-history-row .mono {
  font-size: 18px;
}

.mail-connection-strip {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
  flex-wrap: wrap;
  background: rgb(255, 255, 255);
  border-radius: 14px;
  padding: 20px 24px;
  margin-bottom: 16px;
}

.mail-connection-strip > div {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.mail-connection-strip > div > span {
  font-size: 12px;
  color: var(--muted);
}

.mail-admin-dashboard {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.mail-admin-dashboard > article {
  min-width: 0;
  padding: 24px;
  background: rgb(255, 255, 255);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.mail-admin-card-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.mail-admin-card-heading h2 {
  margin-top: 3px;
  font-size: 19px;
}

.mail-live-state, .mail-admin-count {
  flex-shrink: 0;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgb(236, 247, 241);
  color: rgb(49, 130, 91);
  font-size: 13px;
}

.mail-live-state.is-error {
  background: rgb(255, 239, 241);
  color: var(--red);
}

.mail-admin-count {
  background: var(--primary-soft);
  color: var(--primary);
}

.mail-admin-code {
  margin-top: 30px;
  color: rgb(107, 90, 217);
  font-family: Consolas, SFMono-Regular, monospace;
  font-size: clamp(44px, 5vw, 62px);
  font-weight: 700;
  letter-spacing: 6px;
  line-height: 1;
  text-align: center;
}

.mail-admin-code.is-empty {
  color: var(--muted);
}

.mail-admin-code-meta {
  min-height: 24px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 15px;
  text-align: center;
  overflow-wrap: anywhere;
}

.mail-admin-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 22px;
}

.mail-admin-actions .button {
  min-width: 170px;
}

.mail-admin-status {
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.mail-admin-recent-list {
  margin-top: 14px;
}

.mail-admin-recent-row {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-bottom: 1px solid var(--line);
}

.mail-admin-recent-row.is-latest {
  background: var(--primary-soft);
  border: 0px;
  border-radius: 10px;
}

.mail-admin-recent-row strong {
  font-family: Consolas, SFMono-Regular, monospace;
  font-size: 18px;
  letter-spacing: 1px;
}

.mail-admin-recent-row > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}

.mail-admin-recent-row span, .mail-admin-recent-row time {
  color: var(--muted);
  font-size: 14px;
  overflow-wrap: anywhere;
}

.mail-admin-empty {
  padding: 44px 12px;
  color: var(--muted);
  font-size: 15px;
  text-align: center;
}

.mail-section-title {
  margin: 4px 0px 12px;
  font-size: 17px;
}

.mailbox-status-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.mailbox-status-list > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow-wrap: anywhere;
}

.mailbox-status-list small {
  font-size: 12px;
}

@media (max-width: 760px) {
  .mail-main {
    width: calc(100% - 32px);
  }

  .mail-main .toolbox-hero h1 {
    font-size: 25px;
  }

  .mail-result-heading h2 {
    font-size: 20px;
  }

  .mail-heading-actions {
    width: 100%;
  }

  .mail-heading-actions > .button {
    flex: 1 1 0%;
    font-size: 12px;
  }

  .mailbox-status-list {
    grid-template-columns: 1fr;
  }

  .mail-admin-dashboard {
    grid-template-columns: 1fr;
  }

  .mail-admin-dashboard > article {
    padding: 20px 18px;
  }

  .mail-admin-code {
    margin-top: 24px;
    font-size: clamp(40px, 14vw, 54px);
    letter-spacing: 4px;
  }

  .mail-admin-actions {
    flex-direction: column;
  }

  .mail-admin-actions .button {
    width: 100%;
    min-width: 0px;
  }

  .mail-admin-recent-row {
    grid-template-columns: 84px minmax(0, 1fr);
    padding-inline: 8px;
  }

  .mail-history-row {
    flex-wrap: wrap;
    gap: 8px;
  }

  .mail-history-row span {
    font-size: 15px;
  }

  td[data-label="邮箱访问密码"] {
    display: block;
    padding-bottom: 14px;
  }

  td[data-label="邮箱访问密码"]::before {
    display: block;
    margin-bottom: 8px;
  }
}

@media (max-width: 1100px) and (min-width: 761px) {
  .sidebar {
    width: 205px;
  }

  .manage-shell {
    margin-left: 205px;
  }

  .manage-main {
    padding: 26px 22px;
  }

  .manage-header {
    padding: 0px 22px;
  }
}

@media (max-width: 760px) {
  .toolbox-main {
    width: calc(100% - 32px);
    margin-top: 24px;
  }

  .toolbox-hero {
    padding: 29px 16px;
  }

  .toolbox-hero h1 {
    font-size: 29px;
  }

  .toolbox-hero p {
    font-size: 13px;
  }

  .toolbox-services {
    padding: 18px 16px;
    margin-top: 16px;
  }

  .toolbox-services h2 {
    font-size: 16px;
  }

  .toolbox-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
  }

  .toolbox-service {
    flex-direction: column;
    gap: 8px;
    min-height: 86px;
    padding: 12px 10px;
    text-align: center;
    font-size: 13px;
  }

  .toolbox-service .icon {
    width: 21px;
    height: 21px;
  }

  .toolbox-access {
    padding: 25px 22px;
    margin-top: 20px;
  }

  .toolbox-access-heading h2 {
    font-size: 21px;
  }

  .home-announcements {
    min-height: 300px;
    padding: 18px 20px;
  }

  .home-announcement-list {
    max-height: 360px;
    padding-right: 2px;
  }

  .toolbox-footer {
    font-size: 12px;
    padding: 26px 16px;
    flex-wrap: wrap;
  }

  .toolbox-reading-header {
    width: calc(100% - 32px);
    padding: 22px 0px;
  }

  .reading-main {
    width: calc(100% - 32px);
  }

  .reading-hero {
    padding: 24px;
  }

  .reading-hero h1 {
    font-size: 25px;
  }

  .reading-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .reading-sidebar {
    position: static;
  }

  .reading-toc > summary {
    pointer-events: auto;
    cursor: pointer;
  }

  .reading-step, .reading-callout {
    padding: 24px;
  }

  .reading-prose {
    font-size: 13px;
  }

  .sidebar {
    width: 220px;
  }

  .manage-shell {
    margin-left: 0px;
  }

  .manage-header {
    height: 64px;
    padding: 0px 16px;
  }

  .manage-main {
    padding: 24px 16px;
  }

  .page-heading {
    flex-wrap: wrap;
    gap: 15px;
  }

  .page-heading h1 {
    font-size: 23px;
  }

  .page-heading p {
    font-size: 12px;
    max-width: none;
  }

  .grant-group-heading {
    padding: 20px 16px;
  }

  input, select, textarea {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .toolbox-service {
    transition: none;
  }
}
