/* Shared chrome only. Business page layout and data components are untouched. */
body.hf-shared-shell {
  --hf-panel-shadow: 0 18px 56px #172b4d24, 0 3px 12px #172b4d0b;
  --hf-overlay: #172b4d35;
  --hf-focus: #3861c94d;
  --hf-selected: var(--blue-soft, #edf2fc);
  --hf-success: var(--green, #238264);
  --hf-danger: var(--coral, #bc5269);
  --hf-ease: cubic-bezier(.2, .7, .3, 1);
}

/* Identical sizing and hit areas on every page. */
.hf-shared-shell .hf-tools { gap: 12px; min-width: 0; }
.hf-shared-shell .hf-tools > button {
  flex-shrink: 0;
  min-height: 36px;
  border-radius: 9px;
  transition: background 160ms, color 160ms, border-color 160ms;
}
.hf-shared-shell .hf-tools > .icon-button { width: 36px; }
.hf-shared-shell .hf-tools > .search {
  min-width: 194px;
  padding-inline: 11px;
  border: 1px solid var(--line);
  background: var(--soft);
  color: var(--muted);
}
.hf-shared-shell .hf-tools > .search kbd { margin-left: auto; padding-left: 18px; }
.hf-shared-shell .hf-tools > .platform { padding-inline: 6px; gap: 7px; }
.hf-shared-shell .hf-tools > .platform > svg:first-child,
.hf-shared-shell .hf-tools > .platform > i:first-child { color: var(--ink); }
.hf-shared-shell .hf-tools > .avatar,
.hf-shared-shell .hf-user-footer > .avatar {
  width: 40px;
  height: 40px;
  padding: 0;
  flex-shrink: 0;
  border-radius: 50% !important;
  overflow: hidden;
}
.hf-shared-shell .hf-tools > .avatar > img,
.hf-shared-shell .hf-user-footer > .avatar > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}
.hf-shared-shell .hf-tools > .avatar {
  border: 1px solid var(--line);
  background: var(--hf-selected);
  color: var(--blue);
}
.hf-shared-shell .hf-tools .notification b {
  min-width: 18px;
  padding: 0 4px;
  right: -6px;
  top: -3px;
  line-height: 16px;
  border: 2px solid var(--surface);
  border-radius: 7px;
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  background: var(--hf-danger);
  color: white;
}
.hf-shared-shell .hf-tools > button:hover:not(:disabled),
.hf-shared-shell .hf-tools > button[aria-expanded="true"] { background: var(--hf-selected); color: var(--blue); }
.hf-shared-shell .hf-user-footer {
  gap: 10px;
  min-height: 68px;
  padding: 12px 16px;
  background: var(--surface);
  border-top: 1px solid var(--line);
}
.hf-shared-shell .hf-user-footer > span:nth-child(2) { flex: 1; min-width: 0; }
.hf-shared-shell .hf-user-footer b { font-size: 15px; font-weight: 600; }
.hf-shared-shell .hf-user-footer small { font-size: 13px; }
.hf-shared-shell .hf-user-footer .icon-button { width: 34px; height: 34px; }
.hf-shared-shell .hf-user-footer .icon-button[aria-expanded="true"] { color: var(--blue); background: var(--hf-selected); }

/* All shared dialogs use one placement, spacing and keyboard-focus treatment. */
.hf-shared-shell .hf-shell-layer {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(24px, 10vh, 96px) 20px 24px;
  isolation: isolate;
  overscroll-behavior: contain;
}
.hf-shared-shell .hf-shell-layer[hidden] { display: none !important; }
.hf-shared-shell .hf-shell-backdrop { position: absolute; inset: 0; background: var(--hf-overlay); }
.hf-shared-shell .hf-shell-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(100%, 420px);
  max-height: calc(100dvh - clamp(24px, 10vh, 96px) - 24px);
  min-height: 0;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--hf-panel-shadow);
  font-size: 16px;
  line-height: 1.5;
  animation: hf-shell-enter 180ms var(--hf-ease) both;
}
.hf-shared-shell .hf-shell-panel[data-view="search"] { width: min(100%, 560px); }
.hf-shared-shell .hf-shell-heading {
  flex: 0 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 20px 16px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(110deg, var(--soft), var(--surface));
}
.hf-shared-shell .hf-shell-heading > div { min-width: 0; }
.hf-shared-shell .hf-shell-heading h2 { margin: 0; font-size: 20px; line-height: 1.4; font-weight: 600; letter-spacing: -.01em; }
.hf-shared-shell .hf-shell-heading p { margin: 5px 0 0; color: var(--muted); font-size: 14px; line-height: 1.6; text-wrap: pretty; }
.hf-shared-shell .hf-shell-heading :is(.close, [data-hf="close"]) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  padding: 0;
  margin: -3px -5px 0 0;
  border: 1px solid transparent;
  border-radius: 9px;
  color: var(--muted);
  background: transparent;
}
.hf-shared-shell .hf-shell-heading :is(.close, [data-hf="close"]):hover { color: var(--ink); background: var(--soft); border-color: var(--line); }
.hf-shared-shell .hf-shell-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 16px;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
.hf-shared-shell .hf-shell-footer {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding: 12px 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: var(--soft);
  font-size: 14px;
}
.hf-shared-shell .hf-shell-footer > a { display: inline-flex; align-items: center; gap: 5px; color: var(--blue); min-height: 28px; }
.hf-shared-shell .hf-shell-footer > a:hover { text-decoration: underline; text-underline-offset: 3px; }
.hf-shared-shell .hf-shell-panel svg {
  width: 20px;
  height: 20px;
  display: inline-block;
  flex-shrink: 0;
  vertical-align: middle;
  shape-rendering: geometricPrecision;
}
.hf-shared-shell .hf-shell-panel svg [stroke] { vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; }
.hf-shared-shell .hf-shell-panel :is(button, a, input, :is(select, .hf-select)):focus-visible,
.hf-shared-shell .hf-tools > button:focus-visible,
.hf-shared-shell .hf-user-footer button:focus-visible { outline: 3px solid var(--hf-focus); outline-offset: 2px; }
.hf-shared-shell .hf-shell-panel button:disabled { opacity: .5; cursor: not-allowed; }
.hf-shared-shell .hf-shell-panel button:disabled:hover { filter: none; }
.hf-shared-shell .hf-shell-muted { color: var(--muted); font-size: 14px; }
.hf-shared-shell .hf-shell-panel kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 23px;
  min-height: 22px;
  padding: 0 5px;
  border: 1px solid var(--line);
  border-bottom-width: 2px;
  border-radius: 5px;
  font: 13px var(--font);
  color: var(--muted);
  background: var(--surface);
  white-space: nowrap;
}
.hf-shared-shell .hf-shell-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 6px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--muted);
  background: var(--soft);
  font-size: 13px;
  line-height: 1.5;
  font-weight: 400;
  white-space: nowrap;
}
.hf-shared-shell .hf-shell-tag.is-success { color: var(--hf-success); background: color-mix(in srgb, var(--hf-success) 8%, var(--surface)); border-color: color-mix(in srgb, var(--hf-success) 24%, var(--line)); }
.hf-shared-shell .hf-shell-section-label { margin: 16px 8px 7px; color: var(--muted); font-size: 13px; font-weight: 500; }
.hf-shared-shell .hf-shell-section-label:first-child { margin-top: 0; }
.hf-shared-shell .hf-shell-note {
  padding: 11px 12px;
  margin: 12px 0 0;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--muted);
  background: var(--soft);
  font-size: 14px;
  line-height: 1.7;
  text-wrap: pretty;
}
.hf-shared-shell .hf-shell-empty { padding: 32px 18px; text-align: center; color: var(--muted); font-size: 15px; line-height: 1.7; }
.hf-shared-shell .hf-shell-empty > svg { display: block; width: 30px; height: 30px; margin: 0 auto 12px; color: var(--faint); }
.hf-shared-shell .hf-shell-empty b { display: block; margin-bottom: 5px; color: var(--ink); font-size: 16px; font-weight: 500; }

/* Shared action rows also serve search, help and account destinations. */
.hf-shared-shell .hf-shell-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 60px;
  padding: 11px 12px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: background 140ms, border-color 140ms;
}
.hf-shared-shell .hf-shell-row > svg,
.hf-shared-shell .hf-shell-row > i { color: var(--blue); }
.hf-shared-shell .hf-shell-row:hover,
.hf-shared-shell .hf-shell-row[aria-selected="true"],
.hf-shared-shell .hf-shell-row.is-active { background: var(--hf-selected); border-color: color-mix(in srgb, var(--blue) 15%, var(--line)); }
.hf-shared-shell .hf-shell-row-copy { flex: 1; min-width: 0; }
.hf-shared-shell .hf-shell-row-copy > b { display: block; font-size: 16px; font-weight: 500; line-height: 1.5; }
.hf-shared-shell .hf-shell-row-copy > small { display: block; margin-top: 3px; color: var(--muted); font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
.hf-shared-shell .hf-shell-row > :last-child:not(.hf-shell-row-copy) { flex-shrink: 0; }
.hf-shared-shell .hf-shell-row > svg:last-child:not(:first-child) { width: 16px; height: 16px; color: var(--faint); }
.hf-shared-shell .hf-shell-row:disabled:not(.hf-platform-item):hover { background: transparent; border-color: transparent; }
.hf-shared-shell .hf-search-input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 12px;
  background: var(--surface);
  color: var(--blue);
}
.hf-shared-shell .hf-search-input-wrap:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px var(--hf-focus); }
.hf-shared-shell .hf-search-input-wrap input { width: 100%; height: 44px; padding: 0; border: 0; border-radius: 0; background: transparent; outline: none !important; color: var(--ink); font-size: 16px; }
.hf-shared-shell .hf-search-input-wrap input::placeholder { color: var(--faint); }
.hf-shared-shell .hf-search-results { padding-top: 12px; }
.hf-shared-shell .hf-search-results .hf-shell-row { min-height: 57px; }
.hf-shared-shell .hf-shell-tabs { display: flex; gap: 4px; padding: 3px; margin: 0 0 14px; border: 1px solid var(--line); border-radius: 9px; background: var(--soft); }
.hf-shared-shell .hf-shell-tabs button { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 32px; padding: 5px 10px; border-radius: 6px; color: var(--muted); font-size: 14px; }
.hf-shared-shell .hf-shell-tabs button[aria-selected="true"] { color: var(--blue); background: var(--surface); box-shadow: 0 1px 3px #172b4d0f; font-weight: 500; }
.hf-shared-shell .hf-shell-tabs button:hover { color: var(--blue); }

/* Notifications show reading state without turning the whole list into badges. */
.hf-shared-shell .hf-notice-list { display: grid; gap: 9px; }
.hf-shared-shell .hf-notice-item { position: relative; padding: 13px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.hf-shared-shell .hf-notice-item[data-read="false"] { background: color-mix(in srgb, var(--hf-selected) 55%, var(--surface)); }
.hf-shared-shell .hf-notice-item > b,
.hf-shared-shell .hf-notice-item h3 { display: block; font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.6; }
.hf-shared-shell .hf-notice-item p { margin: 5px 0 0; color: var(--muted); font-size: 14px; line-height: 1.7; text-wrap: pretty; }
.hf-shared-shell .hf-notice-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 9px; margin-top: 9px; color: var(--faint); font-size: 13px; }
.hf-shared-shell .hf-notice-meta:first-child { margin-top: 0; margin-bottom: 7px; }
.hf-shared-shell .hf-unread-dot { display: inline-block; flex-shrink: 0; width: 6px; height: 6px; margin-left: auto; border-radius: 50%; background: var(--blue); }
.hf-shared-shell .hf-notice-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-top: 10px; }
.hf-shared-shell .hf-notice-actions button { min-height: 30px; padding: 4px 9px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); color: var(--blue); font-size: 13px; }
.hf-shared-shell .hf-notice-actions button:hover { border-color: var(--blue); background: var(--hf-selected); }

.hf-shared-shell .hf-account-identity { display: flex; align-items: center; gap: 13px; padding: 4px 4px 17px; margin-bottom: 9px; border-bottom: 1px solid var(--line); }
.hf-shared-shell .hf-account-identity .avatar { width: 48px; height: 48px; border-radius: 13px; color: var(--blue); background: var(--hf-selected); border: 1px solid var(--line); font-size: 20px; }
.hf-shared-shell .hf-account-identity > div { flex: 1; min-width: 0; }
.hf-shared-shell .hf-account-identity b { display: block; font-size: 18px; font-weight: 600; }
.hf-shared-shell .hf-account-identity small { display: block; margin-top: 4px; color: var(--muted); font-size: 14px; }
.hf-shared-shell .hf-account-links { display: grid; gap: 3px; }
.hf-shared-shell .hf-platform-item { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 69px; padding: 13px; border: 1px solid var(--line); border-radius: 11px; text-align: left; background: var(--surface); }
.hf-shared-shell .hf-platform-item + .hf-platform-item { margin-top: 10px; }
.hf-shared-shell .hf-platform-item[aria-pressed="true"] { border-color: var(--blue); background: var(--hf-selected); }
.hf-shared-shell .hf-platform-item[aria-pressed="true"] > svg:last-child { color: var(--blue); }
.hf-shared-shell .hf-platform-item[aria-pressed="false"]:not(:disabled):hover { border-color: var(--blue); background: var(--soft); }
.hf-shared-shell .hf-platform-item:disabled { opacity: .6; }

.hf-shared-shell .hf-shell-toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1100;
  display: flex;
  align-items: center;
  gap: 9px;
  width: max-content;
  max-width: min(440px, calc(100vw - 32px));
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--ink);
  background: var(--surface);
  box-shadow: 0 5px 24px #172b4d22;
  font-size: 15px;
  line-height: 1.6;
  overflow-wrap: anywhere;
  animation: hf-shell-enter 160ms var(--hf-ease) both;
}
.hf-shared-shell .hf-shell-toast svg { flex-shrink: 0; width: 19px; height: 19px; color: var(--hf-success); }
.hf-shared-shell .hf-shell-toast[hidden] { display: none !important; }
.hf-shared-shell.dark { --hf-panel-shadow: 0 18px 64px #050a1466; --hf-overlay: #070d198a; --hf-focus: #91b0fa55; }
.hf-shared-shell.dark .hf-shell-toast { box-shadow: 0 5px 24px #050a1444; }
.hf-shared-shell .hf-nav-backdrop { display: none; }
.hf-shared-shell .hf-nav-backdrop[hidden] { display: none !important; }
body.hf-shared-shell.hf-mobile-nav-open { overflow: hidden; }

@keyframes hf-shell-enter { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 1100px) {
  .hf-shared-shell .hf-tools { gap: 8px; }
  .hf-shared-shell .hf-tools > .search { min-width: 170px; }
  .hf-shared-shell .hf-tools > .search kbd { padding-left: 8px; }
}
@media (max-width: 1000px) {
  .hf-shared-shell.sidebar-hidden::after { content: none; }
  .hf-shared-shell .hf-nav-backdrop {
    position: fixed;
    display: block;
    inset: 64px 0 0 232px;
    z-index: 25;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: var(--hf-overlay);
    cursor: pointer;
    touch-action: manipulation;
  }
}
@media (max-width: 800px) {
  .hf-shared-shell .hf-tools > .search { display: inline-flex; width: 36px; min-width: 36px; justify-content: center; padding: 0; }
  .hf-shared-shell .hf-tools > .search > span,
  .hf-shared-shell .hf-tools > .search > kbd { display: none; }
  .hf-shared-shell .hf-tools .tool-divider { display: none; }
}
@media (max-width: 600px) {
  .hf-shared-shell .hf-tools { gap: 4px; }
  .hf-shared-shell .hf-tools > button { min-height: 38px; }
  .hf-shared-shell .hf-tools > .platform { display: inline-flex; align-items: center; justify-content: center; width: 34px; min-width: 34px; padding: 0; font-size: 0; gap: 0; }
  .hf-shared-shell .hf-tools > .platform > span,
  .hf-shared-shell .hf-tools > .platform > :last-child:not(:first-child) { display: none; }
  .hf-shared-shell .hf-tools > .platform > :first-child { display: inline-flex; width: 20px; height: 20px; }
  .hf-shared-shell .hf-tools > .platform svg:first-child { width: 20px; height: 20px; }
  .hf-shared-shell .hf-tools > .icon-button { width: 34px; min-width: 34px; }
  .hf-shared-shell .hf-shell-layer { padding: 16px 12px; }
  .hf-shared-shell .hf-shell-panel { max-height: calc(100dvh - 32px); border-radius: 14px; }
  .hf-shared-shell .hf-shell-heading { padding: 17px 17px 14px; gap: 10px; }
  .hf-shared-shell .hf-shell-heading h2 { font-size: 20px; }
  .hf-shared-shell .hf-shell-heading :is(.close, [data-hf="close"]) { width: 40px; height: 40px; margin: -6px -7px 0 0; }
  .hf-shared-shell .hf-shell-body { padding: 12px; }
  .hf-shared-shell .hf-shell-footer { padding: 11px 16px; gap: 8px; }
  .hf-shared-shell .hf-shell-row { min-height: 62px; padding: 11px 10px; }
  .hf-shared-shell .hf-shell-tabs button { min-height: 38px; }
  .hf-shared-shell .hf-notice-actions button { min-height: 38px; padding-inline: 10px; }
  .hf-shared-shell .hf-shell-toast { right: 16px; bottom: 16px; }
  .hf-shared-shell .hf-nav-backdrop { top: 58px; }
}
@media (prefers-reduced-motion: reduce) {
  .hf-shared-shell .hf-shell-panel,
  .hf-shared-shell .hf-shell-toast { animation: none; }
  .hf-shared-shell .hf-tools > button,
  .hf-shared-shell .hf-shell-row { transition: none; }
}

/* 2026-09-16: user-requested white summary cards and section headings. */
.hf-shared-shell:not(.dark) :is(
  .metric,
  .panel-heading,
  .hf-shell-heading,
  .cr-active,
  .cr-overview,
  .in-quick,
  .in-account-selector,
  .pm-service,
  .pm-mode,
  .pm-report,
  .op-card,
  .op-decision>header,
  .st-plan-top,
  .st-plan-card.current,
  .st-wallet,
  .st-invite-code,
  .st-notification,
  .pr-hero,
  .dy-account-stats,
  .dy-add-account,
  .dy-code-card,
  .admin-plan,
  .timing-rec:first-child,
  .pos-result-summary
) {
  background: #fff !important;
}
.hf-shared-shell:not(.dark) .metric::after {
  background: none !important;
}
/* Sidebar SVG accents: color identifies function while labels carry meaning. */
#navigation {
  --nav-icon-blue: #3861c9;
  --nav-icon-violet: #8054c4;
  --nav-icon-teal: #087f8c;
  --nav-icon-green: #238264;
  --nav-icon-orange: #b86118;
  --nav-icon-rose: #c64b70;
  --nav-icon-indigo: #5864c4;
}
.dark #navigation {
  --nav-icon-blue: #9cbaff;
  --nav-icon-violet: #c0a0ff;
  --nav-icon-teal: #68cbd5;
  --nav-icon-green: #70c9a7;
  --nav-icon-orange: #f3b56d;
  --nav-icon-rose: #f29db8;
  --nav-icon-indigo: #adb3ff;
}
#navigation .icon[data-nav-icon] { color: var(--nav-icon-accent, var(--nav-icon-blue)); }
#navigation [data-nav-icon="tabler-target-arrow"],
#navigation [data-nav-icon="tabler-brain"],
#navigation [data-nav-icon="tabler-robot"],
#navigation [data-nav-icon="tabler-sparkles"] { --nav-icon-accent: var(--nav-icon-violet); }
#navigation [data-nav-icon="tabler-search"],
#navigation [data-nav-icon="tabler-chart-bar"],
#navigation [data-nav-icon="tabler-chart-dots-3"],
#navigation [data-nav-icon="tabler-message-search"],
#navigation [data-nav-icon="tabler-database"] { --nav-icon-accent: var(--nav-icon-teal); }
#navigation [data-nav-icon="tabler-report-analytics"],
#navigation [data-nav-icon="tabler-pencil-plus"],
#navigation [data-nav-icon="tabler-clipboard-check"],
#navigation [data-nav-icon="tabler-currency-yuan"],
#navigation [data-nav-icon="tabler-cash-banknote"] { --nav-icon-accent: var(--nav-icon-green); }
#navigation [data-nav-icon="tabler-flame"],
#navigation [data-nav-icon="tabler-rocket"],
#navigation [data-nav-icon="tabler-bulb"],
#navigation [data-nav-icon="tabler-coin"],
#navigation [data-nav-icon="tabler-package"] { --nav-icon-accent: var(--nav-icon-orange); }
#navigation [data-nav-icon="tabler-users"],
#navigation [data-nav-icon="tabler-users-group"],
#navigation [data-nav-icon="tabler-user-circle"],
#navigation [data-nav-icon="tabler-mail-forward"] { --nav-icon-accent: var(--nav-icon-rose); }
#navigation [data-nav-icon="tabler-target"],
#navigation [data-nav-icon="tabler-radar-2"],
#navigation [data-nav-icon="tabler-settings"],
#navigation [data-nav-icon="tabler-settings-cog"] { --nav-icon-accent: var(--nav-icon-indigo); }

/* Paired text actions: equal tracks follow the longest label, including links.
   Only button-only rows are grouped; filters, tabs and icon tools keep their layout. */
.hf-shared-shell :where(main, dialog) :is(div, footer):has(> .button ~ .button):not(:has(> :not(.button))) {
  display: grid !important; /* Some existing action rows use inline display:flex. */
  grid-auto-flow: column;
  grid-auto-columns: minmax(128px, 1fr);
  align-items: stretch;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
}
.hf-shared-shell :where(main, dialog) :is(.title-actions, .cr-form-actions, .admin-form-actions):has(> .button ~ .button):not(:has(> :not(.button))) {
  margin-inline-start: auto;
}
.hf-shared-shell :where(main, dialog) :is(div, footer):has(> .button ~ .button):not(:has(> :not(.button))) > .button {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  height: auto;
  min-height: 40px;
  margin: 0;
  padding: 9px 14px;
  border-radius: 8px;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: center;
}
.hf-shared-shell :where(main, dialog) :is(div, footer):has(> .button ~ .button):not(:has(> :not(.button))) > .button > .icon {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}

/* Shared feedback is brief and reversible, with no resting animation. */
.hf-shared-shell :where(main, dialog) .button {
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease,
    box-shadow 180ms var(--hf-ease), transform 160ms var(--hf-ease), opacity 160ms ease;
  -webkit-tap-highlight-color: transparent;
}
@media (hover: hover) and (pointer: fine) {
  .hf-shared-shell :where(main, dialog) .button:not(:disabled):not([aria-disabled="true"]):not([aria-busy="true"]):hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px color-mix(in srgb, var(--blue) 14%, transparent);
  }
}
.hf-shared-shell :where(main, dialog) .button:not(:disabled):not([aria-disabled="true"]):not([aria-busy="true"]):active {
  transform: translateY(1px) scale(.98);
  box-shadow: none;
  transition-duration: 90ms;
}
.hf-shared-shell :where(main, dialog) .button:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}
.hf-shared-shell :where(main, dialog) .button:is(:disabled, [aria-disabled="true"], [aria-busy="true"]) {
  opacity: .55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  filter: none;
}
.hf-shared-shell :where(main, dialog) .button:is(:disabled, [aria-disabled="true"], [aria-busy="true"]):not(.primary):hover {
  background: var(--surface);
  border-color: var(--line);
}
.hf-shared-shell :where(main, dialog) .button:is(:disabled, [aria-disabled="true"], [aria-busy="true"]).primary:hover {
  background: var(--blue);
  border-color: var(--blue);
}
@media (max-width: 600px) {
  .hf-shared-shell :where(main, dialog) :is(div, footer):has(> .button ~ .button):not(:has(> :not(.button))) {
    grid-auto-flow: row;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    margin-inline: 0;
  }
  .hf-shared-shell :where(main, dialog) :is(div, footer):has(> .button ~ .button):not(:has(> :not(.button))) > .button {
    min-height: 44px;
    padding-inline: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hf-shared-shell :where(main, dialog) .button {
    transition: background-color 80ms ease, border-color 80ms ease, color 80ms ease;
    transform: none !important;
  }
}
.hf-shared-shell.no-motion :where(main, dialog) .button {
  transition: none;
  transform: none !important;
}

/* Platform choices share the Douyin reference typography and card treatment. */
.hf-shared-shell .hf-platform-list .hf-platform-item {
  background: var(--hf-selected);
  border-color: var(--blue);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
}
.hf-shared-shell .hf-platform-list .hf-platform-item > svg {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}
.hf-shared-shell .hf-platform-list .hf-shell-row-copy > b {
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
}
.hf-shared-shell .hf-platform-list .hf-shell-row-copy > small {
  font-family: inherit;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
}
.hf-shared-shell .hf-platform-list .hf-platform-item[aria-pressed="true"] .hf-shell-tag {
  color: var(--blue);
  font-weight: 600;
}

/* Equal columns for native data tables; retain horizontal scrolling on narrow screens. */
.hf-shared-shell :is(.analysis-table, .cr-table, .admin-table, .workspace-table, .in-detail-table, .in-color-table) {
  width: 100%;
  table-layout: fixed;
  min-width: calc(var(--hf-table-columns, 4) * 160px) !important;
}
.hf-shared-shell :is(.analysis-table, .cr-table, .admin-table, .workspace-table, .in-detail-table, .in-color-table):has(> thead > tr:first-child > th:nth-child(1):last-child) { --hf-table-columns: 1; }
.hf-shared-shell :is(.analysis-table, .cr-table, .admin-table, .workspace-table, .in-detail-table, .in-color-table):has(> thead > tr:first-child > th:nth-child(2):last-child) { --hf-table-columns: 2; }
.hf-shared-shell :is(.analysis-table, .cr-table, .admin-table, .workspace-table, .in-detail-table, .in-color-table):has(> thead > tr:first-child > th:nth-child(3):last-child) { --hf-table-columns: 3; }
.hf-shared-shell :is(.analysis-table, .cr-table, .admin-table, .workspace-table, .in-detail-table, .in-color-table):has(> thead > tr:first-child > th:nth-child(4):last-child) { --hf-table-columns: 4; }
.hf-shared-shell :is(.analysis-table, .cr-table, .admin-table, .workspace-table, .in-detail-table, .in-color-table):has(> thead > tr:first-child > th:nth-child(5):last-child) { --hf-table-columns: 5; }
.hf-shared-shell :is(.analysis-table, .cr-table, .admin-table, .workspace-table, .in-detail-table, .in-color-table):has(> thead > tr:first-child > th:nth-child(6):last-child) { --hf-table-columns: 6; }
.hf-shared-shell :is(.analysis-table, .cr-table, .admin-table, .workspace-table, .in-detail-table, .in-color-table):has(> thead > tr:first-child > th:nth-child(7):last-child) { --hf-table-columns: 7; }
.hf-shared-shell :is(.analysis-table, .cr-table, .admin-table, .workspace-table, .in-detail-table, .in-color-table):has(> thead > tr:first-child > th:nth-child(8):last-child) { --hf-table-columns: 8; }
.hf-shared-shell :is(.analysis-table, .cr-table, .admin-table, .workspace-table, .in-detail-table, .in-color-table):has(> thead > tr:first-child > th:nth-child(9):last-child) { --hf-table-columns: 9; }
.hf-shared-shell :is(.analysis-table, .cr-table, .admin-table, .workspace-table, .in-detail-table, .in-color-table):has(> thead > tr:first-child > th:nth-child(10):last-child) { --hf-table-columns: 10; }
.hf-shared-shell :is(.analysis-table, .cr-table, .admin-table, .workspace-table, .in-detail-table, .in-color-table):has(> thead > tr:first-child > th:nth-child(11):last-child) { --hf-table-columns: 11; }
.hf-shared-shell :is(.analysis-table, .cr-table, .admin-table, .workspace-table, .in-detail-table, .in-color-table):has(> thead > tr:first-child > th:nth-child(12):last-child) { --hf-table-columns: 12; }
.hf-shared-shell :is(.analysis-table, .cr-table, .admin-table, .workspace-table, .in-detail-table, .in-color-table):has(> thead > tr:first-child > th:nth-child(13):last-child) { --hf-table-columns: 13; }
.hf-shared-shell :is(.analysis-table, .cr-table, .admin-table, .workspace-table, .in-detail-table, .in-color-table):has(> thead > tr:first-child > th:nth-child(14):last-child) { --hf-table-columns: 14; }
.hf-shared-shell :is(.analysis-table, .cr-table, .admin-table, .workspace-table, .in-detail-table, .in-color-table):has(> thead > tr:first-child > th:nth-child(15):last-child) { --hf-table-columns: 15; }
.hf-shared-shell :is(.analysis-table, .cr-table, .admin-table, .workspace-table, .in-detail-table, .in-color-table):has(> thead > tr:first-child > th:nth-child(16):last-child) { --hf-table-columns: 16; }
.hf-shared-shell :is(.analysis-table, .cr-table, .admin-table, .workspace-table, .in-detail-table, .in-color-table) > :is(thead, tbody, tfoot) > tr > :is(th, td) {
  width: auto !important;
  min-width: 0 !important;
  max-width: none;
  text-align: center !important;
  vertical-align: middle;
  white-space: normal;
  overflow-wrap: anywhere;
}
.hf-shared-shell :is(.analysis-video, .analysis-detail-creator, .dy-table-content, .cr-table .cr-person, .admin-table .person) {
  min-width: 0;
  max-width: 100%;
  justify-content: center;
}
.hf-shared-shell :is(.analysis-video, .dy-table-content) > :last-child {
  min-width: 0;
  max-width: 100%;
  text-align: left;
  overflow-wrap: anywhere;
}
.hf-shared-shell .analysis-video > :last-child { flex: 1; }
.hf-shared-shell .analysis-detail-creator > span:last-child { white-space: nowrap; }
.hf-shared-shell :is(.analysis-table-scroll, .cr-table-wrap, .admin-table-wrap, .workspace-table-wrap) {
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
}

/* Keep video identifiers compact within their equal-width column. */
.hf-shared-shell .analysis-video small { display: block; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Notification center: full-height drawer anchored to the right edge. */
.hf-native-dialog:has(.hf-notice-list) {
  position: fixed;
  inset: 0 0 0 auto;
  margin: 0;
  width: min(440px, 100vw);
  max-width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
  overflow: hidden;
}
.hf-native-dialog:has(.hf-notice-list) #hf-shell-panel {
  height: 100%;
  max-height: 100dvh;
  border-radius: 0;
  overflow: hidden;
  animation: none;
}
.hf-native-dialog[open]:has(.hf-notice-list) #hf-shell-panel {
  animation: hf-notification-slide-in 700ms cubic-bezier(.4, 0, .2, 1) both;
}
.hf-native-dialog:has(.hf-notice-list) .hf-shell-body {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}
@keyframes hf-notification-slide-in {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce) {
  .hf-native-dialog[open]:has(.hf-notice-list) #hf-shell-panel { animation: none; }
}

/* Keep the requested slow entrance; native discrete transitions retain the
   top layer through close(), including Escape and backdrop dismissal. */
@supports (transition-behavior: allow-discrete) {
  .hf-native-dialog:has(.hf-notice-list) {
    transform: translateX(100%);
    opacity: 0;
    transition: transform 380ms cubic-bezier(.4, 0, .2, 1), opacity 380ms cubic-bezier(.4, 0, .2, 1), display 380ms allow-discrete, overlay 380ms allow-discrete;
  }
  .hf-native-dialog[open]:has(.hf-notice-list) {
    transform: translateX(0);
    opacity: 1;
    transition-duration: 700ms;
  }
  .hf-native-dialog[open]:has(.hf-notice-list) #hf-shell-panel { animation: none; }
  .hf-native-dialog:has(.hf-notice-list)::backdrop {
    opacity: 0;
    transition: opacity 380ms cubic-bezier(.4, 0, .2, 1), display 380ms allow-discrete, overlay 380ms allow-discrete;
  }
  .hf-native-dialog[open]:has(.hf-notice-list)::backdrop { opacity: 1; transition-duration: 700ms; }
  @starting-style {
    .hf-native-dialog[open]:has(.hf-notice-list) { transform: translateX(100%); opacity: 0; }
    .hf-native-dialog[open]:has(.hf-notice-list)::backdrop { opacity: 0; }
  }
}
.hf-native-dialog:has(.hf-notice-list) .hf-shell-heading { padding: 22px 24px 18px; }
.hf-native-dialog:has(.hf-notice-list) .hf-shell-body { padding: 16px 20px; scrollbar-gutter: stable; }
.hf-native-dialog:has(.hf-notice-list) .hf-notice-item { border-radius: 12px; padding: 16px; margin-bottom: 12px; }
.hf-native-dialog:has(.hf-notice-list) .hf-notice-item h3 { font-size: 16px; line-height: 1.5; }
.hf-native-dialog:has(.hf-notice-list) .hf-notice-item p { font-size: 14px; line-height: 1.75; }
.hf-native-dialog:has(.hf-notice-list) .hf-notice-meta { flex-wrap: wrap; gap: 8px; }
.hf-native-dialog:has(.hf-notice-list) .hf-notice-meta time { font-size: 12px; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: reduce) {
  .hf-native-dialog:has(.hf-notice-list),
  .hf-native-dialog:has(.hf-notice-list)::backdrop { transition: none; }
  .hf-native-dialog[open]:has(.hf-notice-list) #hf-shell-panel { animation: none; }
}

/* Dashboard creation metrics: four equal centered cells. */
#dashboard-content .creation .compact-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(96px, 1fr));
  gap: 0;
  padding: 0;
  flex: 1;
}
#dashboard-content .creation .compact-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 12px;
  text-align: center;
  min-width: 0;
}
#dashboard-content .creation .compact-stat:nth-child(odd) { border-right: 1px solid var(--line); }
#dashboard-content .creation .compact-stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
#dashboard-content .creation .compact-stat b {
  order: -1;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}
#dashboard-content .creation .compact-stat span { line-height: 1.4; }

/* Recommended creators fill their equal-width, equal-height panel cells. */
#dashboard-content .recommended { display: flex; flex-direction: column; overflow: hidden; }
#dashboard-content .recommended .panel-heading { flex-shrink: 0; }
#dashboard-content .recommended-people { flex: 1; padding: 0; gap: 0; align-items: stretch; grid-auto-rows: 1fr; }
#dashboard-content .recommended-person {
  grid-template-columns: 64px minmax(0, 1fr) auto;
  grid-template-rows: minmax(64px, 1fr) auto;
  align-content: stretch;
  gap: 20px 12px;
  padding: 24px;
  min-height: 192px;
  border-radius: 0;
  margin: 0;
}
#dashboard-content .recommended-person + .recommended-person { padding: 24px; }
#dashboard-content .recommended-person > .avatar.large { width: 64px; height: 64px; font-size: 26px; }
#dashboard-content .recommended-person > .avatar.large img { width: 100%; height: 100%; object-fit: cover; }
#dashboard-content .recommended-metrics { grid-column: 1 / -1; align-self: end; padding-top: 12px; }
#dashboard-content .recommended-person:is(:hover, :focus-within, :active) { background: var(--soft); }
@container(max-width:560px) {
  #dashboard-content .recommended-person + .recommended-person { border-left: 0; border-top: 1px solid var(--line); }
}
@media(max-width:600px) {
  #dashboard-content .recommended-person,
  #dashboard-content .recommended-person + .recommended-person { padding: 20px 16px; min-height: 176px; }
}

/* Compact crawler search toolbar; suggestions follow the submit button. */
.hf-shared-shell .cr-workspace > .cr-body {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 20px;
}
.hf-shared-shell .cr-workspace > .cr-body > .cr-searchbar {
  flex: 0 1 500px;
  width: 500px;
  max-width: 100%;
  margin: 0;
  min-width: 0;
}
.hf-shared-shell .cr-workspace > .cr-body > .cr-search-hints {
  flex: 1 1 380px;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.hf-shared-shell .cr-workspace .cr-search-hints > span:last-child { flex-basis: 100%; }
@media(max-width:600px) {
  .hf-shared-shell .cr-workspace > .cr-body > .cr-searchbar,
  .hf-shared-shell .cr-workspace > .cr-body > .cr-search-hints { flex-basis: 100%; width: 100%; }
}
/* Neutral focus across the admin shell; preserve active/selected and error colors. */
body.hf-shared-shell { --hf-focus: #7b8794; }
.dark body.hf-shared-shell, body.hf-shared-shell.dark { --hf-focus: #aab4c0; }
.hf-shared-shell :focus:not(:focus-visible) { outline: none !important; box-shadow: none !important; }
.hf-shared-shell :focus-visible { outline: 2px solid var(--hf-focus) !important; outline-offset: 2px !important; box-shadow: none !important; }
.hf-shared-shell :is(input,textarea,select,[contenteditable=true]):focus:not(:focus-visible) {
  outline: none !important;
  box-shadow: none !important;
}
.hf-shared-shell :is(input,textarea,select):focus:not(:focus-visible):not([aria-invalid=true]):not(.is-invalid) { border-color: var(--line) !important; }
.hf-shared-shell :is(.cr-searchfield,.hf-search-input-wrap,.workspace-input-wrap,.pos-composer,.pos-city > div):focus-within {
  border-color: var(--line) !important;
  box-shadow: none !important;
  outline: none !important;
}
.hf-shared-shell .pos-city:focus-within > div { border-color: var(--line) !important; }
.hf-shared-shell :is(.cr-searchfield,.hf-search-input-wrap,.workspace-input-wrap):has(input:focus-visible) { border-color: var(--hf-focus) !important; }
.hf-shared-shell .v-field--focused:not(.v-field--error) .v-field__outline { color: var(--hf-focus) !important; }
.hf-shared-shell .st-toggle input:focus-visible + i { outline-color: var(--hf-focus) !important; }

/* Plan summary and quota groups share one three-column geometry. */
@media(min-width:761px) {
  body.hf-shared-shell[data-page=settings] .st-plan-hero .st-plan-top,
  body.hf-shared-shell[data-page=settings] .st-plan-hero .st-quotas {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    padding: 24px 28px;
    align-items: stretch;
  }
  body.hf-shared-shell[data-page=settings] .st-plan-hero .st-plan-top > *,
  body.hf-shared-shell[data-page=settings] .st-plan-hero .st-quotas > div { padding: 0 28px; min-width: 0; }
  body.hf-shared-shell[data-page=settings] .st-plan-hero .st-plan-top > :first-child,
  body.hf-shared-shell[data-page=settings] .st-plan-hero .st-quotas > div:first-child { padding-left: 0; }
  body.hf-shared-shell[data-page=settings] .st-plan-hero .st-plan-top > :last-child,
  body.hf-shared-shell[data-page=settings] .st-plan-hero .st-quotas > div:last-child { padding-right: 0; }
  body.hf-shared-shell[data-page=settings] .st-plan-hero :is(.st-plan-expiry,.st-plan-balance) {
    grid-column: auto; flex-direction: column; align-items: flex-start; justify-content: center;
    border-top: 0; border-left: 1px solid var(--line); gap: 7px;
  }
  body.hf-shared-shell[data-page=settings] .st-plan-hero .st-plan-balance .button { margin-left: 0; }
  body.hf-shared-shell[data-page=settings] .st-plan-hero .st-quotas > div { display: flex; flex-direction: column; }
  body.hf-shared-shell[data-page=settings] .st-plan-hero .st-quota:last-child { margin-top: auto; }
}

/* Hairline grouping for the dashboard quota card. */
#dashboard-content .quota .quota-content { gap: 0; }
#dashboard-content .quota .quota-summary { padding-bottom: 20px; border-bottom: .5px solid var(--line); }
#dashboard-content .quota .quota-rows { gap: 0; align-content: stretch; grid-auto-rows: 1fr; }
#dashboard-content .quota .quota-row { padding: 20px 0; min-height: 96px; }
#dashboard-content .quota .quota-row:nth-child(odd) { padding-right: 22px; border-right: .5px solid var(--line); }
#dashboard-content .quota .quota-row:nth-child(even) { padding-left: 22px; }
#dashboard-content .quota .quota-row:nth-child(n+3) { border-top: .5px solid var(--line); }
#dashboard-content .quota .quota-row .icon { width: 22px; height: 22px; }
#dashboard-content .quota .quota-row > div > i { display: inline-flex; flex-shrink: 0; }
#dashboard-content .quota .quota-state { padding-left: 30px; }
@media(max-width:380px) {
  #dashboard-content .quota .quota-row:nth-child(n) { border-right: 0; padding: 18px 0; }
  #dashboard-content .quota .quota-row + .quota-row { border-top: .5px solid var(--line); }
}

/* Activity list fills the card instead of leaving a fixed-height blank footer gap. */
#dashboard-content .dashboard-activity-scroll { flex: 1 1 0; height: 0; min-height: 238px; }
#dashboard-content .dashboard-activity-foot { margin-top: 0; flex-shrink: 0; }
#dashboard-content .dashboard-activity-tabs,
#dashboard-content .dashboard-activity > .panel-heading { flex-shrink: 0; }
#dashboard-content .dashboard-activity-list li { align-items: center; gap: 16px; padding: 16px 0; }
#dashboard-content .dashboard-activity .activity-mark { width: 40px; height: 44px; padding: 0; align-items: center; justify-content: center; }
#dashboard-content .dashboard-activity .activity-mark svg { width: 30px; height: 30px; }
@media(max-width:800px) {
  #dashboard-content .dashboard-activity-scroll { flex: none; height: 300px; min-height: 0; }
}


/* Quota icons: independent 50px left column, copy aligned on the right. */
#dashboard-content .quota .quota-row { position: relative; padding-left: 66px; }
#dashboard-content .quota .quota-row:nth-child(even) { padding-left: 88px; }
#dashboard-content .quota .quota-row > div > i { position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; align-items: center; justify-content: flex-start; }
#dashboard-content .quota .quota-row:nth-child(even) > div > i { left: 22px; }
#dashboard-content .quota .quota-row .icon { width: 50px; height: 50px; }
#dashboard-content .quota .quota-row > div:first-child { flex-wrap: wrap; justify-content: flex-end; text-align: right; }
#dashboard-content .quota .quota-row strong { margin-left: 0; }
#dashboard-content .quota .quota-state { padding-left: 0; text-align: right; }
@media(max-width:380px) {
  #dashboard-content .quota .quota-row:nth-child(n) { padding-left: 66px; }
  #dashboard-content .quota .quota-row:nth-child(n) > div > i { left: 0; }
}

/* Quota metrics: compact icon/copy grouping with a shared vertical center. */
#dashboard-content .quota .quota-row { padding-left: 56px; }
#dashboard-content .quota .quota-row:nth-child(even) { padding-left: 78px; }
#dashboard-content .quota .quota-row > div > i,
#dashboard-content .quota .quota-row .icon { width: 40px; height: 40px; }
#dashboard-content .quota .quota-row > div:first-child { justify-content: flex-start; text-align: left; gap: 8px; }
#dashboard-content .quota .quota-row strong { margin-left: 0; }
#dashboard-content .quota .quota-state { text-align: left; }
@media(max-width:380px) {
  #dashboard-content .quota .quota-row:nth-child(n) { padding-left: 56px; }
}

/* Center each icon-and-copy group inside its quota cell. */
#dashboard-content .quota .quota-row:nth-child(n) {
  display: grid;
  grid-template-columns: 40px auto;
  grid-template-rows: auto auto;
  justify-content: center;
  align-content: center;
  align-items: center;
  gap: 10px 16px;
  padding: 20px 12px;
}
#dashboard-content .quota .quota-row > div:first-child { display: contents; }
#dashboard-content .quota .quota-row:nth-child(n) > div > i {
  position: static;
  transform: none;
  grid-column: 1;
  grid-row: 1 / 3;
}
#dashboard-content .quota .quota-row > div:first-child > span { grid-column: 2; grid-row: 1; }
#dashboard-content .quota .quota-row > div:first-child > strong { grid-column: 2; grid-row: 2; }
#dashboard-content .quota .quota-state,
#dashboard-content .quota .quota-row .track { grid-column: 1 / -1; text-align: center; }

/* Members list: one display name beside the avatar. */
.hf-shared-shell .members-table .person > div > small { display: none; }
