/* Harmyo UI base: design tokens and shared components. Loaded before every other stylesheet.
   Page and feature styles (app.css, polish.css, crm-experience.css, meta.css, ...) build on these.
   Rules here use low specificity on purpose so a component can always refine them. */

/* ---------- Tokens ---------- */
:root {
  /* colour: quiet neutral surfaces; colour is kept for meaning (status, stage, money). */
  --bg: #f5f6f3;
  --surface: #fff;
  --surface-soft: #f3f4f0; /* inset areas inside a white surface (detail grids, notes) */
  --surface-sunken: #eceee9; /* board columns, segmented controls */
  --surface-hover: #f4f5f2;
  --ink: #20372f;
  --ink-2: #3f5448; /* secondary text that must stay strong (values, labels) */
  --muted: #56695c;
  --line: #e8ebe6; /* hairline separators */
  --line-strong: #d8ddd6; /* control outlines */
  --green: #27765b;
  --forest: #173c33;
  --lime: #d5e9ad;
  --soft: #eff5ed;
  --red: #b8544a;
  --orange: #b58243;
  --focus: #46775b;
  --success: var(--green);
  --warning: var(--orange);
  --danger: var(--red);

  /* form controls */
  --field-bg: #fff;
  --field-border: #c9d1c7;
  --field-text: #455d48;
  --field-radius: 10px;
  --focus-ring: 0 0 0 4px #27765b24;
  --control-h: 44px;
  --control-h-sm: 30px;
  --check-size: 16px;

  /* radius: controls 10, cards 14, panels 18, chips pill */
  --radius-xs: 6px;
  --radius-sm: 8px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius: 18px;
  --radius-pill: 999px;

  /* spacing (8 px grid, 4 px half steps) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;

  /* type scale */
  --text-2xs: 9px;
  --text-xs: 10px;
  --text-sm: 11px;
  --text-md: 12px;
  --text-base: 13px;
  --text-lg: 14px;
  --text-xl: 17px;
  --text-2xl: 22px;
  --tracking-tight: -0.02em;

  /* elevation: soft layered shadows instead of outlines. The first layer is a faint ring so
     a white surface still reads on white. */
  --shadow-xs: 0 0 0 1px #10201a0a, 0 1px 2px #10201a0a;
  --shadow-sm: 0 0 0 1px #10201a0a, 0 1px 2px #10201a0a, 0 4px 12px #10201a0f;
  --shadow: 0 0 0 1px #10201a09, 0 1px 3px #10201a0a, 0 8px 24px #10201a0b;
  --shadow-hover: 0 0 0 1px #10201a0d, 0 2px 4px #10201a0d, 0 12px 28px #10201a14;
  --shadow-lg: 0 0 0 1px #10201a0d, 0 4px 10px #10201a0f, 0 18px 48px #10201a24;

  /* motion */
  --ease-out: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-spring: cubic-bezier(0.2, 0.9, 0.25, 1.12);
}

/* ---------- Form controls ---------- */
/* Text fields are styled in app.css/polish.css through input:where(:not([type=checkbox],[type=radio])),
   so a tick box can never inherit the 44 px field box or the full width of "label input".
   Checkboxes and radios share this base; components only adjust size or spacing. */
input:where([type="checkbox"], [type="radio"]) {
  width: var(--check-size);
  height: var(--check-size);
  margin: 0;
  flex: none; /* a long label next to it must not squeeze the box */
  vertical-align: middle;
}

/* ---------- Components ----------
   One definition per shared component. Feature files only add context-specific
   variants (for example ".toolbar .btn"); responsive tweaks stay with their pages. */
/* Buttons: .btn (default, .primary, .lime, .danger, .ghost, .small), .icon-btn, .text-btn */
.icon-btn {
  border: 1px solid transparent;
  background: transparent;
  border-radius: 9px;
  display: inline-grid;
  place-items: center;
  color: #708075;
  position: relative;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}
.icon-btn:hover {
  background: var(--soft);
}
/* Default button: white with a soft shadow ring instead of an outline. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  background: white;
  color: var(--ink-2);
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.15s, box-shadow 0.15s, transform 0.15s;
  min-height: 42px;
  border-radius: var(--radius-md);
  padding: 10px 16px;
  font-size: 12px;
  line-height: 1.4;
  box-shadow: 0 0 0 1px #10201a17, 0 1px 2px #10201a0d;
}
.btn:hover {
  background: var(--surface-hover);
}
.btn .icon {
  width: 16px;
  height: 16px;
}
.btn.primary {
  background: var(--forest);
  border-color: var(--forest);
  color: white;
  box-shadow: 0 1px 2px #10201a1f, 0 2px 6px #15392d1a;
}
.btn.primary:hover {
  background: #21493d;
  box-shadow: 0 1px 2px #10201a1f, 0 4px 12px #15392d26;
}
.btn.lime {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--forest);
  box-shadow: none;
}
.btn.danger {
  background: #ba5c51;
  color: white;
  border-color: #ba5c51;
  box-shadow: 0 1px 2px #10201a1f;
}
.btn.small {
  min-height: 34px;
  padding: 7px 12px;
  font-size: 11px;
  border-radius: var(--radius-sm);
}
.btn.ghost {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}
.btn.ghost:hover {
  background: var(--surface-hover);
}
.text-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: none;
  border: 0;
  padding: 0;
  font-weight: 600;
  min-height: 30px;
  font-size: 12px;
  text-align: left;
  color: #365d42;
}
.text-btn:hover {
  color: #183e2a;
}
.text-btn .icon {
  width: 13px;
  height: 13px;
}
.btn:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  box-shadow: none;
}
/* Chips / tags: .tag + colour variants. Only for meaning (status, stage); a light tint, no border. */
.tag {
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  background: #f0f2ee;
  font-size: 10px;
  padding: 4px 9px;
  line-height: 1.5;
  border-radius: var(--radius-pill);
  color: #4f5e4a;
  font-variant-numeric: tabular-nums;
}
.tag.green {
  background: #edf5e9;
  color: #3e6631;
}
.tag.blue {
  background: #eef3f8;
  color: #3f5e83;
}
.tag.orange {
  background: #fcf4e7;
  color: #805b20;
}
.tag.red {
  background: #faefec;
  color: #973e33;
}
.tag.purple {
  background: #f2eff7;
  color: #654d80;
}
.tag.neutral {
  background: #f2f4f1;
  color: #56624e;
}
/* Cards: .panel with .panel-head / .panel-body */
.panel {
  background: var(--surface);
  border: 1px solid transparent;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.panel-head h2 {
  letter-spacing: var(--tracking-tight);
}
.panel-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 22px 24px 17px;
  min-height: 74px;
  align-items: center;
}
.panel-body {
  padding: 4px 24px 24px;
}
.panel + .panel {
  margin-top: 20px;
}
/* Tables: .table-wrap scroll container, th/td */
.table-wrap {
  overflow-x: auto;
  position: relative;
  scrollbar-width: thin;
  scrollbar-color: #b6c5a9 #f4f7ef;
  scroll-behavior: smooth;
  /* Scroll hint: a soft shadow appears on the side that has more columns. The two "local"
     covers scroll with the content and hide the shadows when there is nothing to scroll to. */
  background:
    linear-gradient(to right, var(--surface) 45%, #fff0) left center / 36px 100% no-repeat local,
    linear-gradient(to left, var(--surface) 45%, #fff0) right center / 36px 100% no-repeat local,
    radial-gradient(farthest-side at 0 50%, #173c3340, #173c3300) left center / 16px 100% no-repeat scroll,
    radial-gradient(farthest-side at 100% 50%, #173c3340, #173c3300) right center / 16px 100% no-repeat scroll;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  white-space: nowrap;
}
/* Header: quiet text on the surface itself, one hairline underneath; rows split by hairlines. */
th {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  color: var(--muted);
  padding: 12px 20px;
  font-weight: 600;
  line-height: 1.5;
}
td {
  border-bottom: 1px solid #eff1ec;
  font-size: 12px;
  color: var(--ink-2);
  padding: 11px 20px;
  line-height: 1.6;
  font-variant-numeric: tabular-nums;
}
tbody tr:last-child > td {
  border-bottom-color: transparent;
}
/* Search field: .input-search (icon + input) */
.input-search {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 210px;
}
.input-search .icon {
  position: absolute;
  left: 12px;
  width: 16px;
  color: #9aa691;
}
.input-search input {
  padding-left: 36px !important;
  width: 100%;
}
/* Empty / error / retry card: .empty */
.empty {
  text-align: center;
  padding: 38px 20px;
  color: #566d47;
}
.empty .icon {
  width: 30px;
  height: 30px;
  color: #afbcaa;
  margin-bottom: 12px;
}
/* A section that failed to load (sectionError in app.js, users-admin.js): .panel.section-load-error
   wraps an .empty card; the retry button sits in .section-load-retry. */
.section-load-retry {
  display: flex;
  justify-content: center;
  padding: 0 20px 26px;
}
/* List row (for new markup): one item per line with optional leading icon/avatar, a main
   text column that truncates instead of pushing actions out, and right-aligned actions.
   Existing rows (.setting-row, .task-row, .conversation-item, .integration-row) keep their classes. */
.list-row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-height: 48px;
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--line);
}
.list-row:last-child {
  border-bottom: 0;
}
.list-row-main {
  flex: 1;
  min-width: 0;
}
.list-row-main > strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.list-row-main > small {
  color: var(--muted);
  font-size: var(--text-sm);
}
.list-row-actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex: none;
  margin-left: auto;
}
/* Form field (for new markup): label text, control, then hint or error. */
.field {
  display: grid;
  gap: 6px;
  font-size: var(--text-md);
  font-weight: 600;
  color: #405e48;
}
.field > :where(input:not([type="checkbox"], [type="radio"]), select, textarea) {
  width: 100%;
  margin: 0;
}
.field-hint {
  font-size: var(--text-sm);
  font-weight: 400;
  color: var(--muted);
}
.field-error {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--danger);
}
/* Switch: .switch / .switch.on */
.switch {
  border: 0;
  border-radius: 15px;
  background: #d7ded0;
  flex-shrink: 0;
  width: 40px;
  height: 24px;
  padding: 3px;
  position: relative;
  transition: background 0.2s;
}
.switch span {
  display: block;
  border-radius: 50%;
  background: white;
  box-shadow: 0 1px 3px #0001;
  transition: transform 0.2s;
  width: 18px;
  height: 18px;
}
.switch.on {
  background: var(--green);
}
.switch.on span {
  transform: translateX(16px);
}
.switch::before {
  content: "";
  position: absolute;
  inset: -10px -3px;
}
/* Checkbox with label: .checkbox-label */
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  line-height: 1.7;
}
.checkbox-label input {
  width: 16px;
  min-height: 16px;
  margin: 0;
  accent-color: var(--green);
}
/* Toast: .toast / .toast.error */
.toast {
  position: fixed;
  bottom: 25px;
  left: calc(50% + 115px);
  transform: translateX(-50%);
  z-index: 200;
  background: #1c332b;
  color: #f2f7ee;
  border: 1px solid #ffffff14;
  border-radius: var(--radius-lg);
  max-width: 85vw;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  font-size: 12px;
  font-weight: 600;
  padding: 12px 18px;
  animation: none;
  box-shadow: 0 4px 12px #10201a1f, 0 18px 48px #10201a33;
}
.toast.error {
  background: #8a4136;
  border-color: #ffffff1a;
}
.toast .icon {
  width: 18px;
  height: 18px;
}
.toast .icon-btn {
  width: 26px;
  height: 26px;
  color: inherit;
  min-height: 26px;
  margin-left: 5px;
}
.toast .icon-btn:hover {
  background: #ffffff15;
}

/* ---------- Touch screens ----------
   Coarse pointers (phones, tablets) get controls that are at least 32 px in both directions.
   Components defined in later files add their own rule next to the definition (e.g. .chat-nav-btn). */
@media (pointer: coarse) {
  .switch {
    width: 48px;
    height: 32px;
    padding: 4px;
  }
  .switch span {
    width: 24px;
    height: 24px;
  }
  .switch.on span {
    transform: translateX(16px);
  }
  .text-btn {
    min-height: 36px;
  }
  .toast .icon-btn {
    width: 36px;
    height: 36px;
    min-height: 36px;
  }
}

/* ---------- Loading skeleton ----------
   Markup comes from window.HarmyoSkeleton (harmyo-loader.js). Grey blocks take the shape of the
   content that is loading; a slow shimmer runs unless the user prefers reduced motion. */
.skeleton {
  display: grid;
  gap: var(--space-4);
}
.skeleton-body {
  display: grid;
  gap: var(--space-4);
  min-width: 0;
}
.table-wrap > .skeleton {
  padding: 4px 20px 12px;
}
.sk {
  display: block;
  height: 12px;
  border-radius: 6px;
  background: #eceee9 linear-gradient(90deg, #eceee9 25%, #f5f6f3 40%, #eceee9 60%) 0 0 / 300% 100%;
  animation: harmyo-skeleton 1.6s ease-in-out infinite;
}
@keyframes harmyo-skeleton {
  from {
    background-position: 100% 0;
  }
  to {
    background-position: 0 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sk {
    animation: none;
  }
}
.sk-small {
  height: 9px;
}
.sk-title {
  height: 15px;
  width: 38%;
}
.sk-value {
  height: 26px;
  border-radius: 8px;
}
.sk-meta {
  width: 44px;
  flex: none;
}
.sk-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex: none;
}
.sk-pill {
  width: 96px;
  height: 34px;
  border-radius: var(--radius-pill);
}
.sk-pill-wide {
  width: 200px;
  margin-left: auto;
}
.sk-composer {
  height: 64px;
  border-radius: var(--radius-md);
  margin-top: auto;
}
.sk-row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--line);
}
.sk-row:last-child {
  border-bottom: 0;
}
.sk-stack {
  display: grid;
  gap: 8px;
  flex: 1;
  min-width: 0;
}
.sk-panel {
  display: grid;
  align-content: start;
  gap: var(--space-3);
  min-width: 0;
  padding: 20px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.sk-panel-head {
  display: grid;
  gap: 8px;
  padding-bottom: var(--space-2);
}
.sk-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--space-4);
}
.sk-card {
  display: grid;
  align-content: space-between;
  gap: var(--space-3);
  min-height: 120px;
  padding: 19px 21px;
  border: 1px solid transparent;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.sk-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.64fr) minmax(0, 1fr);
  gap: 22px;
}
.sk-bars {
  display: flex;
  align-items: flex-end;
  gap: 8%;
  height: 160px;
  padding: 0 4px;
}
.sk-bars .sk {
  flex: 1;
  min-width: 0;
  border-radius: 4px 4px 0 0;
}
.sk-bubbles {
  display: grid;
  gap: var(--space-3);
  padding: var(--space-2) 0;
}
.sk-bubble {
  height: 46px;
  border-radius: 12px;
}
.sk-bubble.out {
  justify-self: end;
}
.sk-table {
  display: grid;
}
.sk-tr {
  display: grid;
  grid-template-columns: minmax(0, 2fr) repeat(calc(var(--sk-cols, 4) - 1), minmax(0, 1fr));
  gap: var(--space-4);
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.sk-th {
  padding: 12px 0;
}
.sk-toolbar {
  display: flex;
  gap: var(--space-2);
}
.sk-inbox {
  display: grid;
  grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
  gap: var(--space-4);
}
.sk-chat {
  min-height: 420px;
}
.sk-chat-pane {
  height: 100%;
  padding: 16px 20px;
}
.sk-chat-pane > .skeleton-body {
  height: 100%;
  grid-template-rows: auto 1fr auto;
}
@media (max-width: 960px) {
  .sk-columns {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 760px) {
  .sk-inbox {
    grid-template-columns: minmax(0, 1fr);
  }
  .sk-chat,
  .sk-pill-wide {
    display: none;
  }
  .sk-panel {
    padding: 16px;
  }
  .sk-tr {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
  }
  .sk-tr > :nth-child(n + 4) {
    display: none;
  }
}

/* ---------- Workspace monogram: .ws-monogram.mono-c0…c5 (ui-shared.js picks the tone from the id) ---------- */
.ws-monogram {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
  line-height: 1;
  background: var(--mono-bg);
  color: var(--mono-fg);
}
.ws-monogram.lg {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  font-size: 14px;
}
.mono-c0 { --mono-bg: #234c3e; --mono-fg: #f2f7eb; }
.mono-c1 { --mono-bg: #574785; --mono-fg: #f4f1fb; }
.mono-c2 { --mono-bg: #835628; --mono-fg: #fbf4ea; }
.mono-c3 { --mono-bg: #2d5c76; --mono-fg: #eef6fa; }
.mono-c4 { --mono-bg: #7a3b45; --mono-fg: #fbeff1; }
.mono-c5 { --mono-bg: #4b6628; --mono-fg: #f3f8ea; }

.ws-monogram.ws-logo {
  --mono-bg: #fff;
  --mono-fg: #173c33;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px #173c3314;
}
.ws-monogram.ws-logo > img {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: contain;
  padding: 2px;
  box-sizing: border-box;
}
.ws-logo .ws-logo-fallback { display: none; }

/* ---------- Data tables: table[data-table] (ui-shared.js) ---------- */
/* Sticky header: the wrap scrolls in both directions, so the header row stays in view. */
.table-wrap.table-enhanced {
  max-height: max(420px, calc(100vh - 150px));
  overflow: auto;
  overscroll-behavior: contain;
}
.table-enhanced thead th {
  position: sticky;
  top: 0;
  z-index: 1;
}
.col-hidden {
  display: none !important;
}
.table-tools {
  display: flex;
  justify-content: flex-end;
  padding: 0 16px 10px;
}
.panel > .table-tools:first-child {
  padding-top: 12px;
}
.column-chooser {
  position: relative;
}
.column-chooser > summary {
  list-style: none;
  cursor: pointer;
  gap: 6px;
}
.column-chooser > summary::-webkit-details-marker {
  display: none;
}
.column-chooser .filter-count {
  min-width: 18px;
  padding: 0 5px;
  border-radius: var(--radius-pill);
  background: var(--forest);
  color: #fff;
  font-size: 11px;
  line-height: 18px;
  text-align: center;
}
.column-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  z-index: 20;
  min-width: 220px;
  display: grid;
  gap: 2px;
  padding: 8px;
  background: var(--surface);
  border: 1px solid transparent;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.column-menu .checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 4px 6px;
  font-size: 12px;
  color: var(--ink);
  border-radius: var(--radius-xs);
}
.column-menu .checkbox-label:hover {
  background: var(--surface-soft);
}
.column-menu small {
  font-size: 10px;
  color: var(--muted);
  padding: 6px 6px 2px;
}
/* Phones: each row becomes a card with "label · value" lines instead of a clipped table. */
@media (max-width: 760px) {
  .table-wrap.table-enhanced {
    max-height: none;
    overflow: visible;
    background: none;
    padding: 0 12px 12px;
  }
  .table-enhanced table,
  .table-enhanced tbody,
  .table-enhanced tr,
  .table-enhanced td {
    display: block;
    width: 100%;
  }
  .table-enhanced thead {
    display: none;
  }
  .table-enhanced tbody tr {
    border: 1px solid transparent;
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    padding: 10px 14px;
    margin-top: 10px;
  }
  .table-enhanced td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 5px 0;
    border: 0;
    white-space: normal;
    text-align: right;
    overflow-wrap: anywhere;
    min-width: 0;
  }
  .table-enhanced td::before {
    content: attr(data-label);
    flex: none;
    max-width: 45%;
    text-align: left;
    font-size: 11px;
    font-weight: 600;
    color: var(--muted);
  }
  .table-enhanced td[data-cell]::before,
  .table-enhanced tr.table-note-row td::before {
    content: none;
  }
  .table-enhanced td[data-cell="primary"] {
    text-align: left;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 2px;
    padding-bottom: 8px;
    margin-bottom: 4px;
    border-bottom: 1px solid var(--line);
    font-size: 13px;
  }
  /* Row actions sit in the card's top-right corner instead of taking a line of their own. */
  .table-enhanced tbody tr {
    position: relative;
  }
  .table-enhanced td[data-cell="actions"] {
    position: absolute;
    top: 8px;
    right: 10px;
    width: auto;
    padding: 0;
  }
  .table-enhanced tr:has(td[data-cell="actions"]:not(:empty)) td[data-cell="primary"] {
    padding-right: 76px;
  }
  .table-enhanced td[data-cell="actions"]:empty {
    display: none;
  }
  .table-enhanced tr.table-note-row {
    border-style: dashed;
    text-align: center;
  }
  .table-enhanced tr.table-note-row td {
    justify-content: center;
    text-align: center;
  }
  .table-tools {
    padding: 10px 12px 0;
  }
}
/* Login: the last workspace opened in this browser (ui-shared.js fills [data-last-workspace]). */
.login-workspace {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-soft);
}
.login-workspace[hidden] {
  display: none;
}
.login-workspace small {
  display: block;
  font-size: 11px;
  color: var(--muted);
}
.login-workspace strong {
  display: block;
  font-size: 13px;
  color: var(--ink);
  overflow-wrap: anywhere;
}
@media (max-width: 760px) {
  .table-enhanced td[data-cell="primary"] :is(.table-person, .person, strong, small, span) {
    white-space: normal;
    overflow-wrap: anywhere;
    min-width: 0;
    max-width: 100%;
  }
}
