/* Shared screen baseline for business, account pages and Django admin. */
:root {
  --font-ui: Arial, "BOM Source Han Sans SC", "Source Han Sans SC", "思源黑体", sans-serif;
  --paper: #eef2f6; --surface: #ffffff; --ink: #1f2d3d;
  --muted: #4b5b6c; --note: #a8b0ba; --line: #ccd5df;
  --steel: #245eaa; --steel-hover: #1d4f91; --selected: #e6eef9;
  --table-head: #e9eef5; --row-hover: #edf3fb;
  --amber: #996b13; --amber-soft: #fff8e9;
  --red: #a93535; --red-soft: #fff1f0; --field-error: #a82a24;
  --green: #23694d; --green-soft: #edf7f1;
  --navy: #243441; --navy-deep: #203943;
  --text-body: 16px; --text-name: 17px; --text-code: 15px;
  --text-small: 14px; --text-section: 18px; --text-title: 28px; --text-brand: 21px;
  --weight-body: 500; --weight-heading: 700; --line-body: 1.6;
  --control-height: 44px; --radius-panel: 6px; --radius-control: 5px;
  --gap-actions: 10px; --gap-columns: 20px;
  --content-padding: 24px 28px 32px; --cell-padding: 12px 18px;
  --header-padding: 11px 18px; --section-padding: 10px 18px;
}
.software-version { display: block; color: var(--muted); font: var(--weight-body) var(--text-small)/var(--line-body) var(--font-ui); white-space: nowrap; }
.ui-note { color: var(--note); font-size: var(--text-small); font-weight: var(--weight-body); line-height: var(--line-body); }
.heading-row, .field-label { display: flex; align-items: center; gap: 8px; min-width: 0; }
.heading-row > h1, .heading-row > h2 { margin: 0; min-width: 0; }
.ui-help { display: inline-block; flex: 0 0 auto; vertical-align: middle; }
.ui-help > summary { display: inline-flex; align-items: center; justify-content: center; list-style: none; width: 32px; min-height: 32px; padding: 0; border: 1px solid var(--line); border-radius: 50%; color: var(--muted); background: var(--surface); font: 500 14px/1 Arial, sans-serif; cursor: pointer; }
.ui-help > summary::-webkit-details-marker { display: none; }
.ui-help > summary:hover, .ui-help[open] > summary { color: var(--steel); border-color: var(--steel); background: var(--selected); }
.ui-help > summary:focus-visible, .ui-help-panel:focus-visible { outline: 2px solid var(--steel); outline-offset: 3px; }
.ui-help-panel { box-sizing: border-box; position: absolute; z-index: 100; width: min(360px, calc(100vw - 32px)); max-height: 360px; overflow: auto; margin: 8px 0 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-panel); color: var(--muted); background: var(--surface); box-shadow: 0 6px 22px #24344124; font: var(--weight-body) var(--text-small)/var(--line-body) var(--font-ui); text-align: left; white-space: normal; overflow-wrap: anywhere; }
.ui-help[data-enhanced] .ui-help-panel { position: fixed; margin: 0; inset: auto; }
.ui-help-panel::backdrop { background: transparent; }
@media (pointer: coarse) { .ui-help > summary { width: 44px; min-height: 44px; border-color: transparent; } }
@media print { .ui-help { display: none !important; } }
@media (max-width: 900px) { :root { --content-padding: 20px; } }
@media (max-width: 620px) { :root { --text-title: 25px; --text-brand: 20px; --content-padding: 16px; --cell-padding: 12px 16px; --header-padding: 11px 16px; --section-padding: 10px 16px; } }

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