/* Page layouts shared by several screens. */
.grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s4);
}

.grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s4);
}

.split {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: var(--s4);
  align-items: start;
}

.split.admin {
  grid-template-columns: 200px 1fr;
}

.plist {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 6px;
}

.pitem {
  display: block;
  padding: 10px;
  border-radius: var(--r2);
  cursor: pointer;
  color: var(--text);
  border: 0;
  background: none;
  text-align: left;
  width: 100%;
}

.pitem:hover {
  background: var(--surface-2);
}

.pitem.on {
  background: var(--surface-3);
}

.pitem .t1 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.pitem .t2 {
  font-size: var(--fs-12);
  color: var(--text-3);
  margin: 4px 0 0;
  display: flex;
  gap: 8px;
  align-items: center;
}

.subnav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.subnav a {
  padding: 8px 10px;
  border-radius: var(--r1);
  color: var(--text-2);
}

.subnav a:hover {
  background: var(--surface-2);
  color: var(--text);
}

.subnav a.on {
  background: var(--surface-3);
  color: var(--text);
}

/* Glossary (help) */
.glos {
  display: grid;
  grid-template-columns: 180px 1fr;
  border: 1px solid var(--border);
  border-radius: var(--r3);
  overflow: hidden;
  background: var(--surface);
}

.glos > div {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  font-size: var(--fs-13);
}

.glos > div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.glos .k {
  background: var(--surface-2);
}

.glos .next {
  display: block;
  margin-top: 4px;
  color: var(--text-3);
  font-size: var(--fs-12);
}

/* Login and register */
.auth {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: var(--bg);
}

.auth .box {
  width: 360px;
}

.auth .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  margin-bottom: var(--s6);
  color: var(--text);
}

.auth .logo svg {
  width: 34px;
  height: 34px;
}

.auth .logo span {
  font-size: var(--fs-20);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.auth .provider-switch {
  display: flex;
  margin: calc(-1 * var(--s4)) 0 var(--s4);
}

.auth .provider-switch button {
  flex: 1;
  justify-content: center;
}

/* UI kit showcase */
.kit-sec {
  margin-bottom: var(--s7);
}

.kit-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s3);
}

.kit-swatches {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: var(--s3);
}

.kit-swatch {
  border: 1px solid var(--border);
  border-radius: var(--r2);
  overflow: hidden;
  background: var(--surface);
  font-size: var(--fs-12);
}

.kit-swatch i {
  display: block;
  height: 44px;
  border-bottom: 1px solid var(--border);
}

.kit-swatch span {
  display: block;
  padding: 6px 8px;
}

.kit-icons {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: var(--s2);
}

.kit-icons div {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: var(--r2);
  font-size: var(--fs-12);
  color: var(--text-2);
}

/* Desk (/). Rows come from partials/rent_row.html; cells by data-col. */
.desk-tools .seg .dot {
  display: inline-block;
}

/* All wallets on stays the quiet segment. A narrowed pick has to read as picked. */
#desk-wallets.is-partial button.on {
  background: var(--text);
  color: var(--bg);
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

.claim-handoff {
  font-size: var(--fs-13);
}

.claim-handoff select.input {
  width: 200px;
}

#dash-msg {
  margin-bottom: var(--s3);
}

.desk-pane .empty {
  border-top: 1px solid var(--border);
}

.t [data-col="timer"],
.t [data-col="score"],
.t [data-col="plan"],
.t [data-col="wallet"],
.t [data-col="claim"] {
  white-space: nowrap;
}

.t td[data-col="timer"] {
  width: 1%;
  font-size: var(--fs-13);
}

.t [data-action="menu"] {
  font-size: 18px;
  line-height: 1;
}

.t td[data-col="person"] {
  max-width: 220px;
}

.t td[data-col="wallet"] .dot {
  display: inline-block;
  margin-right: 8px;
}

.person {
  display: block;
  max-width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: var(--text);
  font: inherit;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

button.person {
  cursor: pointer;
}

button.person:hover {
  color: var(--accent);
}

.t td[data-col="phone"] {
  cursor: copy;
}

tr.claim-other [data-col="phone"] .ph {
  color: var(--text-3);
}

button.claim {
  height: 26px;
  padding: 0 8px 0 2px;
  border: 0;
  border-radius: 999px;
  background: none;
  cursor: pointer;
  font: inherit;
  font-size: var(--fs-12);
}

button.claim:hover {
  background: var(--surface-3);
}

button.claim.claim-free {
  padding-left: 6px;
}

.claim .nm {
  max-width: 96px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.claim.claim-mine .nm {
  color: var(--text);
}

td.note-edit {
  cursor: text;
}

.note-text,
.note-placeholder {
  display: block;
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: var(--fs-12);
}

.note-text {
  color: var(--text-2);
}

.note-input.input {
  height: 30px;
  width: 200px;
  font-size: var(--fs-12);
}

[data-refund-cell].refund-urgent {
  color: var(--warn);
}

[data-refund-cell].refund-expired {
  color: var(--danger);
}

[data-plan-cell] {
  color: var(--text-2);
  font-size: var(--fs-13);
}

.row-acts {
  display: flex;
  gap: 6px;
  justify-content: flex-end;
  align-items: center;
}

.wake-btn-busy {
  color: var(--info);
}

.sms-live {
  color: var(--accent);
}

/* Selection (/numbers). Left list of batches, the table on the right. */
.split.selection {
  grid-template-columns: 232px minmax(0, 1fr);
}

.selection .sel-list {
  position: sticky;
  top: 0;
}

.selection .sel-list .hd .sp,
.sel-table .hd .sp {
  flex: 1;
}

.sel-list .plist {
  max-height: calc(100vh - 200px);
  overflow: auto;
}

.sel-list .pitem .badge {
  margin-left: auto;
}

.sel-n {
  margin-left: auto;
  font-weight: 400;
}

.sel-bar {
  margin-top: 8px;
}

.sel-none {
  padding: 8px 10px;
}

.sel-main {
  display: flex;
  flex-direction: column;
  gap: var(--s4);
  min-width: 0;
}

.sel-table .hd {
  padding-bottom: var(--s3);
}

.sel-body {
  padding-top: 0;
  padding-bottom: 0;
}

.sel-body > .alert,
.sel-body > .selbar {
  margin-bottom: var(--s3);
}

.sel-tw {
  border-left: 0;
  border-right: 0;
  border-bottom: 0;
  border-radius: 0 0 var(--r3) var(--r3);
  overflow-x: auto;
}

.sel-tw .t th,
.sel-tw .t td {
  padding-left: 10px;
  padding-right: 10px;
}

.sel-tw .t td[data-col="person"] {
  max-width: 190px;
}

.t td[data-col="person"] .sub {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.t td[data-col="person"] .sub .dot {
  display: inline-block;
  margin-right: 5px;
}

.sel-more {
  display: flex;
  justify-content: center;
  padding: var(--s3);
}

.sel-more:has(> [hidden]) {
  display: none;
}

.t td[data-col="detail"] {
  min-width: 150px;
  max-width: 250px;
  padding-top: 6px;
  padding-bottom: 6px;
}

.t td[data-col="detail"] .badge {
  margin: 2px 4px 2px 0;
}

.t td[data-col="stage"] {
  white-space: nowrap;
}

.alert.info {
  background: var(--info-soft);
  border-color: rgba(91, 156, 240, 0.3);
  color: var(--text);
}

.buy-live {
  align-items: center;
  flex-wrap: wrap;
}

.buy-live-row {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.buy-live .sp {
  flex: 1;
}

.buy-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--info);
  flex: none;
  animation: buy-pulse 1.6s ease-in-out infinite;
}

@keyframes buy-pulse {
  50% {
    opacity: 0.35;
  }
}

@media (prefers-reduced-motion: reduce) {
  .buy-live-dot {
    animation: none;
  }
}

.name-review h3 {
  font-size: var(--fs-14);
  margin-bottom: 6px;
}

.name-review-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  border-top: 1px solid var(--border);
}

.name-review-row .sp {
  flex: 1;
}

/* Buy (/buy) */
.buy > .alert {
  margin-bottom: var(--s3);
}

.buy-wallet {
  display: flex;
  align-items: center;
  gap: var(--s5);
  padding: 18px 20px;
  margin-bottom: var(--s4);
}

.buy-wallet .sp {
  flex: 1;
}

.buy-wallet-name {
  font-weight: 600;
  font-size: var(--fs-16);
}

.buy-wallet-cell {
  border-left: 1px solid var(--border);
  padding-left: var(--s5);
}

.buy-wallet-val {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  min-height: 28px;
}

.buy-grid {
  grid-template-columns: 1.4fr 1fr;
  align-items: start;
}

.buy-total {
  position: sticky;
  top: 0;
}

.buy-total .kv2 .dot {
  display: inline-block;
  margin-right: 6px;
}

.buy-go {
  width: 100%;
  height: 38px;
  margin-top: var(--s4);
  justify-content: center;
}

.buy-note {
  text-align: center;
  margin-top: 10px;
}

#buy-status {
  margin-top: var(--s3);
}

#buy-watch-banner {
  margin-top: var(--s3);
}

.bad-text {
  color: var(--danger);
}

.field.full {
  grid-column: 1 / -1;
}

.seg label {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--r1);
  color: var(--text-2);
  cursor: pointer;
  font-size: var(--fs-13);
}

.seg label input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.seg label.on {
  background: var(--surface-3);
  color: var(--text);
}

.seg label:has(input:focus-visible) {
  outline: 2px solid var(--accent);
}

.age-inputs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.age-inputs .input {
  width: 76px;
}

.age-inputs .input:disabled {
  opacity: 0.45;
}

.fullka-states {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 6px 12px;
  max-height: 220px;
  overflow: auto;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: var(--r2);
  background: var(--surface);
}

.area-combobox {
  position: relative;
}

.area-combobox .input {
  width: 100%;
}

.area-suggest {
  position: absolute;
  z-index: 30;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  max-height: 280px;
  overflow: auto;
  margin: 0;
  padding: 4px;
  list-style: none;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--r2);
  box-shadow: var(--shadow-pop);
}

.area-suggest-item,
.area-suggest-empty {
  padding: 6px 8px;
  border-radius: var(--r1);
  font-size: var(--fs-13);
}

.area-suggest-item {
  cursor: pointer;
}

.area-suggest-item.is-active,
.area-suggest-item:hover {
  background: var(--surface-3);
}

.area-picked {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.area-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 24px;
  padding: 0 4px 0 8px;
  border-radius: 999px;
  background: var(--accent-soft);
  font-size: var(--fs-12);
}

.area-chip button {
  border: 0;
  background: none;
  color: var(--text-2);
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
}

.service-picker .input {
  width: 100%;
  margin-bottom: 8px;
}

.service-picker > p {
  margin: 8px 0 4px;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-height: 260px;
  overflow: auto;
}

.service-row {
  display: flex;
  align-items: center;
  gap: 4px;
}

.service-pick {
  flex: 1;
  min-width: 0;
  padding: 6px 8px;
  border: 0;
  border-radius: var(--r1);
  background: none;
  color: var(--text);
  font: inherit;
  font-size: var(--fs-13);
  text-align: left;
  cursor: pointer;
}

.service-pick:hover {
  background: var(--surface-3);
}

.service-pick.is-current {
  color: var(--accent);
}

.service-star {
  border: 0;
  background: none;
  color: var(--text-3);
  cursor: pointer;
  font-size: 15px;
}

.service-star.is-on {
  color: var(--warn);
}

/* Row dialogs */
dialog.dlg.wide {
  width: 680px;
}

dialog.dlg .db {
  max-height: 70vh;
  overflow: auto;
}

.wp-record-dl {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 10px 16px;
  margin: 0;
  font-size: var(--fs-13);
}

.wp-record-dl dt {
  color: var(--text-3);
}

.wp-record-dl dd {
  margin: 0;
  min-width: 0;
}

.wp-record-dl dd .muted {
  font-size: var(--fs-12);
}

.wp-record-list {
  margin: 0;
  padding-left: 18px;
}

.wp-record-fullka.input {
  width: 100%;
  min-height: 84px;
  font-family: var(--mono);
  font-size: var(--fs-12);
  margin-bottom: 6px;
}

.extend-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.extend-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: var(--r2);
  background: var(--surface-2);
  color: var(--text);
  font: inherit;
  cursor: pointer;
}

.extend-row:hover {
  border-color: var(--border-strong);
}

.extend-price {
  font-family: var(--mono);
}

.extend-blocked {
  color: var(--warn);
}

.extend-renewal {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.extend-now {
  margin-bottom: 10px;
}

/* TextVerified extension: term, end after it, estimated price. */
.extend-row .extend-end {
  flex: 1;
  margin-left: 12px;
  font-size: var(--fs-12);
}

.extend-warning {
  margin-bottom: 10px;
}

.extend-note {
  margin-top: 10px;
}

.extend-row .extend-sum {
  font-family: var(--mono);
}

.extend-progress {
  margin-top: 10px;
}

.row-gap {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.sms-timers {
  display: flex;
  gap: 16px;
  font-size: var(--fs-13);
  color: var(--text-2);
  margin-bottom: 10px;
}

.sms-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

.sms-card {
  border: 1px solid var(--border);
  border-radius: var(--r2);
  padding: 10px 12px;
  background: var(--surface-2);
}

.sms-card-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: var(--fs-12);
}

.sms-code-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 6px 0;
}

.sms-code {
  font-size: 18px;
  color: var(--accent);
}

.sms-text {
  margin-top: 4px;
  font-size: var(--fs-13);
  white-space: pre-wrap;
}

.sms-to,
.sms-phase {
  font-size: var(--fs-12);
  margin: 2px 0;
}

.sms-toast-host {
  position: fixed;
  right: 24px;
  bottom: 88px;
  z-index: 75;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 320px;
}

.sms-toast {
  background: var(--surface-3);
  border: 1px solid var(--border-strong);
  border-radius: var(--r3);
  padding: 12px 14px;
  box-shadow: var(--shadow-pop);
}

.sms-toast-title {
  display: block;
  font-size: var(--fs-13);
}

.sms-toast-code {
  color: var(--accent);
  margin: 4px 0;
}

.sms-toast-body {
  font-size: var(--fs-12);
  color: var(--text-2);
  margin: 4px 0 8px;
}

/* Live operator flyouts */
#wp-op-state.is-stale {
  color: var(--warn);
}

.op-queue-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.op-queue-row .op-queue-phone {
  flex: 1;
  min-width: 0;
}

.op-queue-row.is-current .op-queue-phone {
  color: var(--accent);
}

#probe-op-panel {
  display: flex;
  flex-direction: column;
  width: min(372px, calc(100vw - 16px));
  max-height: calc(100dvh - var(--top-h) - 12px);
  overflow: hidden;
}

#probe-op-panel > h4,
#probe-op-panel > .dim,
#probe-op-panel > .row {
  flex: none;
}

#probe-op-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
  color: var(--text);
}

.probe-op-block {
  display: flex;
  flex-direction: column;
  flex: none;
  margin: 0;
  padding: 8px 8px 2px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-left: 3px solid var(--probe-mark, var(--border-strong));
  border-radius: var(--r2);
}

.probe-op-block[data-place="wait"] { --probe-mark: var(--text-3); }
.probe-op-block[data-place="nashel"] { --probe-mark: var(--accent); }
.probe-op-block[data-place="operator"] { --probe-mark: var(--warn); }
.probe-op-block[data-place="zasol"] { --probe-mark: var(--info); }
.probe-op-block[data-place="ks"] { --probe-mark: var(--text); }
.probe-op-block[data-place="empty"] { --probe-mark: var(--danger); }

.probe-op-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: none;
  gap: 8px;
  margin: 0 0 2px;
  padding: 0 2px 6px;
  border-bottom: 1px solid var(--border);
  font-size: var(--fs-12);
  font-weight: 600;
  color: var(--text-2);
}

.probe-op-kicker .btn {
  margin-left: auto;
  height: 22px;
  padding: 0 8px;
}

.probe-op-list {
  flex: none;
  max-height: 170px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.probe-op-count {
  flex: none;
  min-width: 22px;
  height: 18px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--surface-3);
  color: var(--text);
  font-size: 11px;
  line-height: 18px;
  text-align: center;
}

.probe-op-list li {
  box-sizing: border-box;
  height: 34px;
  padding: 0 2px;
}

.probe-op-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.probe-op-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text);
}

.probe-op-base {
  flex: none;
  color: var(--text-3);
  font-size: 11px;
  white-space: nowrap;
}

.probe-op-account {
  flex: none;
  max-width: 92px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  height: 18px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-3);
  font-size: 11px;
  line-height: 18px;
}

.probe-op-row .btn {
  flex: none;
  height: 24px;
  padding: 0 8px;
}

.wp-queue-row {
  display: flex;
  align-items: center;
  gap: 4px;
}

.wp-queue-pick {
  flex: 1;
  min-width: 0;
  padding: 4px 0;
  border: 0;
  background: none;
  color: var(--text);
  font: inherit;
  font-size: var(--fs-13);
  text-align: left;
  cursor: pointer;
}

.wp-queue-pick.is-current {
  color: var(--accent);
}

.wp-queue-pick:disabled {
  color: var(--text-2);
  cursor: default;
}

/* Small helpers of the group, profile, admin and auth screens */
.row {
  display: flex;
  align-items: center;
  gap: var(--s2);
  flex-wrap: wrap;
}

.nowrap {
  white-space: nowrap;
}

form.inline {
  display: inline;
}

.push {
  margin-left: auto;
}

.btn.wide {
  width: 100%;
  height: 38px;
}

.danger-text {
  color: var(--danger);
}

.input.sm {
  height: 28px;
}

.alert.ok {
  background: var(--accent-soft);
  border-color: rgba(61, 186, 138, 0.3);
  color: var(--accent);
}

.alert + .alert,
.alert + .grid4,
.alert + .card,
.alert + .tb,
.alert + .tw {
  margin-top: var(--s3);
}

.stack-form {
  display: flex;
  flex-direction: column;
  gap: var(--s3);
}

.inline-form {
  display: flex;
  align-items: flex-end;
  gap: var(--s3);
  flex-wrap: wrap;
  margin-top: var(--s3);
}

.inline-form .field {
  min-width: 180px;
}

.form-end {
  margin-top: var(--s3);
}

.checks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.checks.scroll {
  flex-direction: column;
  flex-wrap: nowrap;
  max-height: 180px;
  overflow-y: auto;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: var(--r2);
  background: var(--surface-2);
}

.checks .dot,
.chk .dot {
  display: inline-block;
}

.field .row {
  flex-wrap: nowrap;
}

.field .row .input {
  flex: 1;
  width: auto;
}

.field label.chk {
  display: inline-flex;
  margin-bottom: 0;
  font-size: var(--fs-13);
}

.admin-body .card .bd > p.dim {
  margin: var(--s3) 0;
}

/* Group */
.grid4 {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: var(--s4);
}

.group-page .tabs {
  margin-bottom: var(--s4);
}

.invite-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  max-width: 100%;
}

.invite-card .mono {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.settings-card {
  max-width: 640px;
}

.settings-card .input.mono {
  width: 110px;
}

.t .plus {
  color: var(--accent);
}

.pager {
  margin-top: var(--s3);
}

/* Profile */
.profile-grid {
  max-width: 860px;
  align-items: start;
}

.profile-me {
  display: flex;
  gap: var(--s4);
  align-items: flex-start;
}

.profile-me .row {
  margin: var(--s3) 0 var(--s2);
}

.profile-avatar.av {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: var(--fs-20);
  font-weight: 600;
  color: #0b0d10;
  flex: none;
  overflow: hidden;
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-name {
  font-weight: 600;
  font-size: var(--fs-16);
}

.profile-out {
  margin-top: var(--s4);
}

.profile-page > .alert {
  margin-bottom: var(--s4);
  max-width: 860px;
}

/* Admin */
.admin-nav {
  padding: 6px;
  position: sticky;
  top: 0;
}

.admin-body {
  display: flex;
  flex-direction: column;
  gap: var(--s4);
  min-width: 0;
}

.admin-body > .tb,
.admin-body > .tw {
  margin: 0;
}

.admin-body .card {
  max-width: 920px;
}

.admin-body .setrow .input {
  width: 220px;
}

.admin-groups {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: var(--s4);
  align-items: start;
}

.group-card-col {
  display: flex;
  flex-direction: column;
  gap: var(--s4);
  min-width: 0;
}

.group-list-card .site-price {
  border-top: 1px solid var(--border);
  padding: var(--s3);
}

.group-list-card .site-price .input {
  width: 110px;
}

.site-price label {
  display: block;
  margin-bottom: 6px;
}

.ledger {
  margin-top: var(--s3);
}

.danger-zone .setrow .tx div:first-child {
  color: var(--danger);
}

.agent-token {
  margin-bottom: var(--s3);
}

.agent-token code {
  display: block;
  margin-top: 4px;
  user-select: all;
  word-break: break-all;
  color: var(--text);
}

.tw.tall {
  max-height: 480px;
  overflow-y: auto;
  margin-top: var(--s3);
}

.restart-row {
  margin-top: var(--s3);
}

.dlg .checks {
  max-width: 420px;
}

/* Login and register on the new look */
.auth-form {
  display: flex;
  flex-direction: column;
  gap: var(--s4);
}

.auth-form .input {
  width: 100%;
}

.auth .card .alert {
  margin-bottom: var(--s4);
}

.auth-title {
  font-size: var(--fs-16);
  margin: 0 0 var(--s4);
}

.auth-below {
  margin-top: var(--s4);
  text-align: center;
  font-size: var(--fs-13);
}

.auth-admin summary {
  cursor: pointer;
  color: var(--text-2);
  margin-bottom: var(--s3);
}
