*, *::before, *::after { box-sizing: border-box; }
:root { --control-h: 40px; --oc-student-cell-pad: 6px; --oc-mobile-card-pad: 12px; --oc-mobile-search-max: 300px; --oc-mobile-search-gutter: 56px; --oc-fade-edge: 12px; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-site);
  font-size: 14px;
  line-height: 24px;
  color: var(--th-text);
  background: var(--th-surface-alt);
}
html[lang="en"] body { line-height: 20px; }
html[dir="rtl"] * { letter-spacing: 0 !important; }
a { color: var(--th-link); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--th-focus-ring); outline-offset: 2px; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; }
h1 { font-size: 28px; line-height: 42px; }
html[lang="en"] h1 { line-height: 34px; letter-spacing: -0.01em; }
h2 { font-size: 20px; line-height: 32px; }
h3 { font-size: 16px; line-height: 26px; }
p { margin: 0 0 var(--th-space-3); }
bdi.ref, .ref { font-family: var(--font-latin); font-weight: 500; unicode-bidi: isolate; }
.muted { color: var(--th-text-muted); }
.small { font-size: 12px; line-height: 20px; }
.nowrap { white-space: nowrap; }
.num { font-variant-numeric: tabular-nums; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
hr { border: 0; border-top: 1px solid var(--Tolopea-100); margin: var(--th-space-4) 0; }

.i { display: inline-block; inline-size: 20px; block-size: 20px; flex: none; background: currentColor;
  -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.g { inline-size: 18px; block-size: 18px; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
html[dir="rtl"] .g.dir { transform: scaleX(-1); }

.shell { display: grid; grid-template-columns: 280px minmax(0, 1fr); min-block-size: 100vh; }
.sidebar {
  position: sticky; inset-block-start: 0; block-size: 100vh;
  background: var(--th-surface-brand); color: var(--th-on-mariner);
  display: flex; flex-direction: column;
}
.sidebar__brand { display: flex; align-items: center; padding: 16px 20px; block-size: 76px; flex: none; }
.sidebar__brand a { display: inline-flex; padding: 4px; border-radius: var(--th-radius-sm); }
.sidebar__brand a:focus-visible { outline-color: var(--th-focus-ring-inverse); }
.logo-lockup { inline-size: 150px; aspect-ratio: 936 / 286; object-fit: cover; display: block; }
.sidebar__nav { flex: 1; overflow-y: auto; padding: 4px 12px 16px; scrollbar-width: thin; scrollbar-color: var(--Mariner-400) transparent; }
.nav-area { margin-block-end: 2px; }
.nav-area__head {
  inline-size: 100%; display: flex; align-items: center; gap: 10px; padding: 8px 10px;
  border: 0; background: none; color: inherit; font: inherit; font-weight: 500; font-size: 14px;
  border-radius: var(--th-radius-sm); cursor: pointer; text-align: start;
}
.nav-area__head:hover { background: var(--Mariner-700); }
.nav-area__head:focus-visible, .nav-row:focus-visible, .ident:focus-visible { outline-color: var(--th-focus-ring-inverse); }
.nav-area__head .chev { margin-inline-start: auto; transition: transform var(--th-dur-fast); opacity: .8; }
.nav-area[data-open="true"] .nav-area__head .chev { transform: rotate(90deg); }
html[dir="rtl"] .nav-area__head .chev { transform: scaleX(-1); }
html[dir="rtl"] .nav-area[data-open="true"] .nav-area__head .chev { transform: rotate(90deg); }
.nav-area__num { font-family: var(--font-latin); font-size: 11px; opacity: .7; inline-size: 14px; text-align: center; }
.nav-area__rows { display: none; padding-block: 2px 6px; }
.nav-area[data-open="true"] .nav-area__rows { display: block; }
.nav-sub { font-size: 12px; opacity: .75; padding: 6px 10px 2px; padding-inline-start: 44px; }
.nav-row {
  display: flex; align-items: center; gap: 8px; color: var(--th-on-mariner); padding: 6px 10px;
  padding-inline-start: 44px; border-radius: var(--th-radius-sm); font-size: 14px; line-height: 22px; position: relative;
}
.nav-row.lvl3 { padding-inline-start: 56px; }
.nav-row:hover { background: var(--Mariner-700); text-decoration: none; }
.nav-row[aria-current="page"] { background: var(--Mariner-800); font-weight: 500; }
.nav-row[aria-current="page"]::before {
  content: ""; position: absolute; inset-inline-start: 30px; inset-block: 8px; inline-size: 4px; border-radius: 4px; background: var(--th-nav-marker);
}
.nav-row.lvl3[aria-current="page"]::before { inset-inline-start: 42px; }
.nav-row .count { margin-inline-start: auto; font-family: var(--font-latin); font-size: 12px; background: var(--th-pear); color: var(--th-on-pear); border-radius: 999px; padding: 0 8px; line-height: 20px; }
.nav-sep { margin: 14px 10px 6px; font-size: 12px; opacity: .75; display: flex; align-items: center; gap: 8px; }
.nav-sep::after { content: ""; flex: 1; border-top: 1px solid var(--Mariner-400); }
.sidebar__foot { border-top: 1px solid var(--Mariner-500); padding: 10px 12px; position: relative; flex: none; }
.ident { inline-size: 100%; display: flex; align-items: center; gap: 10px; background: none; border: 0; color: inherit; font: inherit; padding: 8px; border-radius: var(--th-radius-sm); cursor: pointer; text-align: start; }
.ident:hover { background: var(--Mariner-700); }
.ident__txt { display: flex; flex-direction: column; min-inline-size: 0; line-height: 18px; }
.ident__txt small { opacity: .8; font-size: 12px; }
.avatar { inline-size: 36px; block-size: 36px; border-radius: 50%; display: inline-grid; place-items: center; flex: none;
  background: var(--Blueberry-200); color: var(--th-on-blueberry); font-weight: 500; font-size: 13px; }
.sidebar .avatar { background: var(--th-pampas); color: var(--th-tolopea); }
.avatar.sm { inline-size: 28px; block-size: 28px; font-size: 11px; }
.avatar.lg { inline-size: 56px; block-size: 56px; font-size: 18px; }

.main { min-inline-size: 0; display: flex; flex-direction: column; }
.topbar {
  position: sticky; inset-block-start: 0; z-index: 30; background: var(--th-surface); block-size: 64px; flex: none;
  display: flex; align-items: center; gap: 12px; padding-inline: 24px; border-block-end: 1px solid var(--Tolopea-100);
}
.crumbs { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--th-text-muted); min-inline-size: 0; flex: 1; overflow: hidden; white-space: nowrap; }
.crumbs a { color: var(--th-text-muted); }
.crumbs .sep { opacity: .6; }
.crumbs [aria-current] { color: var(--th-text); font-weight: 500; overflow: hidden; text-overflow: ellipsis; }
.kbtn { display: inline-flex; align-items: center; gap: 8px; block-size: var(--control-h); padding-inline: 12px; border: 1px solid var(--Tolopea-200);
  border-radius: var(--th-radius-md); background: var(--th-surface); color: var(--th-text-muted); font: inherit; cursor: pointer; min-inline-size: 260px; }
.kbtn:hover { border-color: var(--th-control-border); }
.kbd { font-family: var(--font-latin); font-size: 11px; border: 1px solid var(--Tolopea-200); border-radius: 6px; padding: 0 6px; line-height: 18px; color: var(--th-text-muted); background: var(--Tolopea-50); }
.kbtn .kbd { margin-inline-start: auto; }
.iconbtn { position: relative; inline-size: var(--control-h); block-size: var(--control-h); display: inline-grid; place-items: center; border-radius: var(--th-radius-md);
  border: 1px solid transparent; background: none; color: var(--th-text); cursor: pointer; font: inherit; }
.iconbtn:hover { background: var(--Tolopea-50); }
.iconbtn .dot { position: absolute; inset-block-start: 2px; inset-inline-end: 0; min-inline-size: 20px; block-size: 20px; border-radius: 999px; padding-inline: 5px;
  background: var(--th-mariner); color: var(--th-white); font-family: var(--font-latin); font-size: 11px; line-height: 20px; font-weight: 700; }
.langbtn { font-family: var(--font-latin); font-weight: 700; font-size: 13px; inline-size: auto; padding-inline: 10px; }
html[lang="en"] .langbtn { font-family: var(--font-arabic); font-weight: 500; }
.demo-flag { font-size: 12px; background: var(--Pear-100); color: var(--Pear-900); padding: 2px 10px; border-radius: 999px; white-space: nowrap; }
.approved-flag { font-size: 12px; font-weight: 500; background: var(--th-tolopea); color: var(--th-pear); padding: 2px 10px; border-radius: 999px; white-space: nowrap; }

.page { padding: 24px 32px 96px; flex: 1; }
.page-head { display: flex; align-items: flex-start; gap: 16px; margin-block-end: 20px; flex-wrap: wrap; }
.page-head__title { flex: 1; min-inline-size: 240px; }
.page-head__title p { color: var(--th-text-muted); margin: 2px 0 0; }
.page-head__actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.titleline { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; block-size: var(--control-h); padding-inline: 16px;
  border-radius: var(--th-radius-md); border: 1px solid transparent; font: inherit; font-weight: 500; font-size: 14px; cursor: pointer;
  white-space: nowrap; text-decoration: none !important; transition: background var(--th-dur-fast), border-color var(--th-dur-fast); }
html[lang="en"] .btn { font-weight: 700; }
.btn--primary { background: var(--th-mariner); color: var(--th-white); }
.btn--primary:hover { background: var(--Mariner-700); }
.btn--secondary { background: var(--th-surface); color: var(--th-mariner); border-color: var(--Mariner-300); }
.btn--secondary:hover { border-color: var(--th-mariner); background: var(--Mariner-50); }
.btn--ghost { background: none; color: var(--th-text); }
.btn--ghost:hover { background: var(--Tolopea-50); }
.btn--grave { background: var(--th-tolopea); color: var(--th-pampas); }
.btn--grave:hover { background: var(--Tolopea-800); }
.btn--sm { block-size: var(--control-h); padding-inline: 10px; font-size: 13px; border-radius: var(--th-radius-sm); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.btn-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

.input, .select, .textarea {
  inline-size: 100%; block-size: var(--control-h); padding-inline: 12px; border: 1px solid var(--Tolopea-300); border-radius: var(--th-radius-md);
  background: var(--th-surface); color: var(--th-text); font: inherit; font-size: 14px;
}
.textarea { block-size: auto; min-block-size: 96px; padding-block: 10px; resize: vertical; line-height: 22px; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--th-control-border); }
.input:focus, .select:focus, .textarea:focus { outline: 2px solid var(--th-focus-ring); outline-offset: 0; border-color: var(--th-focus-ring); }
.input[aria-invalid="true"], .textarea[aria-invalid="true"], .select[aria-invalid="true"] { border-color: var(--th-error); }
.input.ltr { direction: ltr; text-align: start; }
html[dir="rtl"] .input.ltr { text-align: end; }
.field { display: flex; flex-direction: column; gap: 6px; margin-block-end: 16px; }
.field > label, .field__label { font-weight: 500; font-size: 14px; }
.field__hint { font-size: 12px; color: var(--th-text-muted); line-height: 18px; }
.field__error { font-size: 13px; color: var(--th-error); display: none; }
.field[data-invalid="true"] .field__error { display: block; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.field-grid .span2 { grid-column: 1 / -1; }
.check { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.check input { inline-size: 18px; block-size: 18px; accent-color: var(--th-mariner); margin: 0; }
.radio-cards { display: grid; gap: 8px; }
.radio-card { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border: 1px solid var(--Tolopea-200); border-radius: var(--th-radius-md); cursor: pointer; background: var(--th-surface); }
.radio-card:has(input:checked) { border-color: var(--th-mariner); background: var(--Mariner-50); }
.radio-card input { margin-block-start: 4px; accent-color: var(--th-mariner); }
.radio-card small { display: block; color: var(--th-text-muted); }
.switch { position: relative; display: inline-flex; align-items: center; gap: 10px; cursor: pointer; }
.switch input { appearance: none; inline-size: 40px; block-size: 24px; border-radius: 999px; background: var(--Tolopea-200); margin: 0; position: relative; cursor: pointer; flex: none; transition: background var(--th-dur-fast); }
.switch input::after { content: ""; position: absolute; inset-block-start: 3px; inset-inline-start: 3px; inline-size: 18px; block-size: 18px; border-radius: 50%; background: var(--th-white); transition: inset-inline-start var(--th-dur-fast); }
.switch input:checked { background: var(--th-mariner); }
.switch input:checked::after { inset-inline-start: 19px; }
.langtabs { display: inline-flex; gap: 2px; background: var(--Tolopea-50); padding: 3px; border-radius: 10px; margin-block-end: 8px; }
.langtabs button { border: 0; background: none; font: inherit; font-size: 13px; padding: 2px 12px; border-radius: 8px; cursor: pointer; color: var(--th-text-muted); }
.langtabs button[aria-selected="true"] { background: var(--th-surface); color: var(--th-text); font-weight: 500; box-shadow: var(--th-shadow-sm); }

.picker { position: relative; }
.picker__list { position: absolute; inset-inline: 0; inset-block-start: calc(100% + 4px); z-index: 60; background: var(--th-surface); border: 1px solid var(--Tolopea-200);
  border-radius: var(--th-radius-md); box-shadow: var(--th-shadow-md); max-block-size: 240px; overflow-y: auto; padding: 4px; display: none; }
.picker[data-open="true"] .picker__list { display: block; }
.picker__opt { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 8px; cursor: pointer; }
.picker__opt:hover, .picker__opt[aria-selected="true"] { background: var(--Mariner-50); }
.picker__opt small { color: var(--th-text-muted); display: block; line-height: 16px; }
.picker__chosen { display: flex; align-items: center; gap: 10px; padding: 6px 8px 6px 12px; border: 1px solid var(--Tolopea-300); border-radius: var(--th-radius-md); min-block-size: 40px; background: var(--th-surface); }
.picker__chosen small { color: var(--th-text-muted); display: block; line-height: 16px; }
.picker__chosen .grow { flex: 1; min-inline-size: 0; }

.card { background: var(--th-surface); border-radius: var(--th-radius-lg); border: 1px solid var(--Tolopea-100); padding: 20px 24px; }
.card + .card { margin-block-start: 16px; }
.grid > .card + .card, .rail > .card + .card { margin-block-start: 0; }
.card__head { display: flex; align-items: center; gap: 12px; margin-block-end: 12px; }
.card__head h2, .card__head h3 { flex: 1; }
.card--flush { padding: 0; overflow: hidden; }
.card--ice { background: var(--th-ice); border-color: var(--Blueberry-100); }
.card--pampas { background: var(--Pampas-50); }
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stack > * + * { margin-block-start: 16px; }
.dl { display: grid; grid-template-columns: minmax(110px, auto) 1fr; gap: 8px 16px; margin: 0; }
.dl dt { color: var(--th-text-muted); }
.dl dd { margin: 0; min-inline-size: 0; overflow-wrap: anywhere; }
.callout { display: flex; gap: 12px; align-items: flex-start; padding: 12px 16px; border-radius: var(--th-radius-md); background: var(--Mariner-50); border: 1px solid var(--Mariner-100); margin-block-end: 16px; }
.callout--warn { background: var(--Pear-50); border-color: var(--Pear-100); }
.callout--grave { background: var(--Tolopea-50); border-color: var(--Tolopea-200); }
.callout .grow { flex: 1; }
.proto-box { border: 1px dashed var(--Tolopea-300); border-radius: var(--th-radius-md); padding: 10px 14px; font-size: 13px; color: var(--th-text-muted); background: var(--Pampas-50); margin-block: 12px; }
.proto-box strong { color: var(--th-text); font-weight: 500; }

.badge { display: inline-flex; align-items: center; gap: 6px; padding: 0 10px; border-radius: 999px; font-size: 12px; line-height: 22px; font-weight: 500; white-space: nowrap;
  background: var(--Tolopea-100); color: var(--Tolopea-800); }
.badge::before { content: ""; inline-size: 6px; block-size: 6px; border-radius: 50%; background: currentColor; opacity: .8; }
.badge.nodot::before { display: none; }
.badge--info { background: var(--Mariner-100); color: var(--Mariner-800); }
.badge--wait { background: var(--Blueberry-100); color: var(--Blueberry-800); }
.badge--ok { background: var(--Pear-100); color: var(--Pear-800); }
.badge--warn { background: var(--Pampas-200); color: var(--Pampas-900); }
.badge--grave { background: var(--th-tolopea); color: var(--th-pampas); }
.badge--muted { background: var(--Tolopea-50); color: var(--Tolopea-600); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; border: 1px solid var(--Tolopea-200); background: var(--th-surface); color: var(--th-text); font-size: 13px; text-decoration: none !important; white-space: nowrap; }
a.chip:hover { border-color: var(--th-mariner); background: var(--Mariner-50); }
.chip b { font-family: var(--font-latin); }
.chip--code { font-family: var(--font-latin); font-weight: 500; background: var(--th-ice); border-color: var(--Blueberry-100); }
.src { font-size: 11px; line-height: 18px; padding: 0 8px; border-radius: 999px; white-space: nowrap; font-weight: 500; }
.src--group { background: var(--Mariner-100); color: var(--Mariner-800); }
.src--allow { background: var(--Pear-100); color: var(--Pear-800); }
.src--deny { background: var(--th-tolopea); color: var(--th-pampas); }
.src--none { background: var(--Tolopea-50); color: var(--Tolopea-600); }

.tabs { display: flex; gap: 4px; border-block-end: 1px solid var(--Tolopea-100); margin-block-end: 16px; overflow-x: auto; scrollbar-width: none; }
.tab { border: 0; background: none; font: inherit; font-size: 14px; color: var(--th-text-muted); padding: 10px 12px; cursor: pointer; position: relative; white-space: nowrap; display: inline-flex; gap: 6px; align-items: center; text-decoration: none !important; }
.tab:hover { color: var(--th-text); }
.tab[aria-selected="true"] { color: var(--th-text); font-weight: 500; }
.tab[aria-selected="true"]::after { content: ""; position: absolute; inset-inline: 8px; inset-block-end: -1px; block-size: 3px; border-radius: 3px 3px 0 0; background: var(--th-mariner); }
.tab .n { font-family: var(--font-latin); font-size: 12px; background: var(--Tolopea-50); color: var(--Tolopea-700); padding: 0 7px; border-radius: 999px; line-height: 20px; }
.tab[aria-selected="true"] .n { background: var(--Mariner-100); color: var(--Mariner-800); }
.seg { display: inline-flex; background: var(--Tolopea-50); border-radius: 10px; padding: 3px; gap: 2px; }
.seg button { border: 0; background: none; font: inherit; font-size: 13px; padding: 4px 14px; border-radius: 8px; cursor: pointer; color: var(--th-text-muted); display: inline-flex; gap: 6px; align-items: center; }
.seg button[aria-selected="true"] { background: var(--th-surface); color: var(--th-text); font-weight: 500; box-shadow: var(--th-shadow-sm); }

.dt { background: var(--th-surface); border: 1px solid var(--Tolopea-100); border-radius: var(--th-radius-lg); }
.dt .tabs { padding-inline: 12px; margin: 0; }
.dt__toolbar { display: flex; gap: 8px; align-items: center; padding: 12px 16px; flex-wrap: wrap; border-block-end: 1px solid var(--Tolopea-100); }
.dt__search { position: relative; flex: 0 1 300px; min-inline-size: 200px; }
.dt__search .g { position: absolute; inset-inline-start: 12px; inset-block-start: 11px; color: var(--th-text-muted); }
.dt__search .input { padding-inline-start: 38px; }
.dt__tokens { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; flex: 1; }
.token { display: inline-flex; align-items: center; gap: 4px; block-size: var(--control-h); padding-inline: 10px 4px; border-radius: 999px; background: var(--Mariner-50); border: 1px solid var(--Mariner-200); font-size: 13px; }
.token b { font-weight: 500; }
.token button { border: 0; background: none; cursor: pointer; inline-size: var(--control-h); block-size: var(--control-h); border-radius: 50%; display: grid; place-items: center; color: inherit; }
.token button:hover { background: var(--Mariner-100); }
.token .g { inline-size: 14px; block-size: 14px; }
.dt__spacer { flex: 1; }
.dt__wrap { overflow-x: auto; }
.tbl { inline-size: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: start; font-weight: 500; color: var(--th-text-muted); font-size: 13px; padding: 10px 12px; border-block-end: 1px solid var(--Tolopea-100); white-space: nowrap; background: var(--Tolopea-50); }
.tbl td { padding: 10px 12px; border-block-end: 1px solid var(--Tolopea-100); vertical-align: middle; }
.tbl tbody tr:last-child td { border-block-end: 0; }
.tbl tbody tr[data-href] { cursor: pointer; }
.tbl tbody tr:hover td { background: var(--Mariner-50); }
.tbl tbody tr[aria-selected="true"] td { background: var(--th-ice); }
.tbl .sel { inline-size: 44px; padding-inline-end: 0; }
.tbl .sel input { inline-size: 18px; block-size: 18px; accent-color: var(--th-mariner); margin: 0; vertical-align: middle; }
.tbl td.end, .tbl th.end { text-align: end; }
.cell-main { display: flex; align-items: center; gap: 10px; min-inline-size: 0; }
.cell-main .t { font-weight: 500; color: var(--th-text); }
.cell-main small { display: block; color: var(--th-text-muted); font-size: 12px; line-height: 18px; }
.dt__foot { display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-block-start: 1px solid var(--Tolopea-100); font-size: 13px; color: var(--th-text-muted); }
.dt__foot .pager { margin-inline-start: auto; display: flex; gap: 6px; align-items: center; }
.tbl.plain th { background: none; }
.empty { text-align: center; padding: 48px 24px; color: var(--th-text-muted); }
.empty .i { inline-size: 48px; block-size: 48px; color: var(--Blueberry-400); margin-block-end: 8px; }
.empty h2 { color: var(--th-text); margin-block-end: 4px; font-size: 16px; line-height: 24px; }
.empty h3 { color: var(--th-text); margin-block-end: 4px; }
.bulkbar { position: fixed; inset-block-end: 24px; inset-inline-start: calc(50% + 140px); transform: translateX(-50%); z-index: 50;
  display: none; align-items: center; gap: 8px; background: var(--th-tolopea); color: var(--th-pampas); border-radius: 16px; padding: 8px 8px 8px 16px; box-shadow: var(--th-shadow-lg); }
html[dir="rtl"] .bulkbar { transform: translateX(50%); padding: 8px 16px 8px 8px; }
.bulkbar[data-show="true"] { display: flex; }
.bulkbar .btn { block-size: var(--control-h); }
.bulkbar .btn--ghost { color: var(--th-pampas); }
.bulkbar .btn--ghost:hover { background: var(--Tolopea-800); }
.bulkbar .count { font-weight: 500; padding-inline-end: 8px; border-inline-end: 1px solid var(--Tolopea-700); margin-inline-end: 4px; white-space: nowrap; }

.menu { position: absolute; z-index: 70; min-inline-size: 220px; background: var(--th-surface); border: 1px solid var(--Tolopea-200); border-radius: var(--th-radius-md); box-shadow: var(--th-shadow-md); padding: 6px; color: var(--th-text); }
.menu__item { display: flex; align-items: center; gap: 10px; inline-size: 100%; padding: 8px 10px; border: 0; background: none; font: inherit; font-size: 14px; color: var(--th-text); text-align: start; border-radius: 8px; cursor: pointer; text-decoration: none !important; }
.menu__item:hover, .menu__item:focus-visible { background: var(--Mariner-50); outline: none; }
.menu__item.grave { color: var(--Tolopea-950); font-weight: 500; }
.menu__item small { margin-inline-start: auto; color: var(--th-text-muted); font-size: 12px; }
.menu__sep { border-top: 1px solid var(--Tolopea-100); margin: 6px 4px; }
.menu__label { font-size: 12px; color: var(--th-text-muted); padding: 6px 10px 2px; }
.menu label.menu__item { cursor: pointer; }
.menu .check input { inline-size: 16px; block-size: 16px; }
.ident-menu { inset-block-end: calc(100% + 6px); inset-inline-start: 12px; inset-inline-end: 12px; }

.scrim { position: fixed; inset: 0; background: rgb(10 0 69 / 0.45); z-index: 80; display: flex; align-items: center; justify-content: center; padding: 24px; }
.modal { background: var(--th-surface); border-radius: var(--th-radius-lg); box-shadow: var(--th-shadow-lg); inline-size: min(520px, 100%); max-block-size: calc(100vh - 48px); overflow-y: auto; }
.modal--wide { inline-size: min(720px, 100%); }
.modal__head { padding: 20px 24px 8px; display: flex; gap: 12px; align-items: flex-start; }
.modal__head h2 { flex: 1; font-size: 18px; line-height: 28px; }
.modal__body { padding: 4px 24px 8px; }
.modal__foot { padding: 16px 24px 20px; display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
.lvl { font-size: 11px; font-family: var(--font-latin); font-weight: 500; border-radius: 999px; padding: 0 8px; line-height: 20px; background: var(--Tolopea-50); color: var(--Tolopea-700); white-space: nowrap; }
.affected { list-style: none; padding: 0; margin: 0 0 12px; border: 1px solid var(--Tolopea-100); border-radius: var(--th-radius-md); max-block-size: 180px; overflow-y: auto; }
.affected li { padding: 8px 12px; border-block-end: 1px solid var(--Tolopea-100); display: flex; justify-content: space-between; gap: 12px; }
.affected li:last-child { border-block-end: 0; }
.drawer-scrim { position: fixed; inset: 0; z-index: 80; background: rgb(10 0 69 / 0.35); }
.drawer { position: fixed; inset-block: 0; inset-inline-end: 0; z-index: 81; inline-size: min(480px, 100vw); background: var(--th-surface); box-shadow: var(--th-shadow-lg); display: flex; flex-direction: column; }
.drawer__head { display: flex; align-items: center; gap: 12px; padding: 18px 24px; border-block-end: 1px solid var(--Tolopea-100); }
.drawer__head h2 { flex: 1; font-size: 18px; }
.drawer__body { flex: 1; overflow-y: auto; padding: 20px 24px; }
.drawer__foot { display: flex; gap: 8px; padding: 14px 24px; border-block-start: 1px solid var(--Tolopea-100); }
.drawer__foot .grow { flex: 1; }
.toasts { position: fixed; inset-block-end: 24px; inset-inline-end: 24px; z-index: 95; display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.toast { display: flex; align-items: center; gap: 12px; background: var(--th-tolopea); color: var(--th-pampas); border-radius: var(--th-radius-md); padding: 10px 12px 10px 16px; box-shadow: var(--th-shadow-lg); min-inline-size: 280px; max-inline-size: 440px; font-size: 14px; }
html[dir="rtl"] .toast { padding: 10px 16px 10px 12px; }
.toast .grow { flex: 1; }
.toast button { border: 0; background: none; color: var(--th-pear); font: inherit; font-weight: 500; cursor: pointer; padding: 4px 8px; border-radius: 6px; }
.toast button:hover { background: var(--Tolopea-800); }
.toast .bar { position: absolute; }
.toast__timer { font-family: var(--font-latin); font-size: 12px; opacity: .7; }
.sticky-bar { position: sticky; inset-block-end: 0; z-index: 40; margin: 24px -32px -96px; padding: 12px 32px; background: var(--th-tolopea); color: var(--th-pampas); display: none; align-items: center; gap: 12px; }
.sticky-bar[data-show="true"] { display: flex; }
.sticky-bar .grow { flex: 1; font-weight: 500; }
.sticky-bar .btn--ghost { color: var(--th-pampas); }
.sticky-bar .btn--ghost:hover { background: var(--Tolopea-800); }
.sticky-bar .btn--primary { background: var(--th-pear); color: var(--th-on-pear); }
.sticky-bar .btn--primary:hover { background: var(--th-pampas); }

.palette { position: fixed; inset: 0; z-index: 90; background: rgb(10 0 69 / 0.45); display: flex; justify-content: center; align-items: flex-start; padding-block-start: 12vh; }
.palette__box { inline-size: min(640px, calc(100vw - 32px)); background: var(--th-surface); border-radius: var(--th-radius-lg); box-shadow: var(--th-shadow-lg); overflow: hidden; }
.palette__in { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-block-end: 1px solid var(--Tolopea-100); }
.palette__in input { flex: 1; border: 0; font: inherit; font-size: 16px; outline: none; background: none; color: var(--th-text); }
.palette__list { max-block-size: 420px; overflow-y: auto; padding: 6px; }
.palette__group { font-size: 12px; color: var(--th-text-muted); padding: 8px 12px 4px; }
.palette__item { display: flex; align-items: center; gap: 12px; padding: 8px 12px; border-radius: 10px; cursor: pointer; color: var(--th-text); text-decoration: none !important; }
.palette__item[aria-selected="true"] { background: var(--Mariner-50); box-shadow: inset 3px 0 0 var(--th-mariner); }
html[dir="rtl"] .palette__item[aria-selected="true"] { box-shadow: inset -3px 0 0 var(--th-mariner); }
.palette__item .grow { flex: 1; min-inline-size: 0; }
.palette__item small { display: block; color: var(--th-text-muted); font-size: 12px; line-height: 16px; }
.palette__item .ptype { font-size: 11px; color: var(--th-text-muted); }
.palette__foot { display: flex; gap: 16px; padding: 8px 16px; border-block-start: 1px solid var(--Tolopea-100); font-size: 12px; color: var(--th-text-muted); }

.greet { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-block-end: 16px; }
.greet .chip { background: var(--th-surface); }
.setup-card { position: relative; background: var(--th-surface-brand); color: var(--th-on-mariner); border-radius: var(--th-radius-lg); padding: 20px 24px; margin-block-end: 20px; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; }
.setup-card h2 { font-size: 18px; color: var(--th-white); }
.setup-card a { color: var(--th-white); text-decoration: underline; }
.setup-card .shape { position: absolute; inset-inline-end: -10px; inset-block-end: -24px; inline-size: 150px; block-size: 150px; background: var(--Blueberry-500); opacity: .5; -webkit-mask: url(assets/elements/th-arc-pair.svg) center / contain no-repeat; mask: url(assets/elements/th-arc-pair.svg) center / contain no-repeat; pointer-events: none; }
.setup-steps { list-style: none; padding: 0; margin: 12px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px 20px; position: relative; }
.setup-steps li { display: flex; gap: 8px; align-items: center; }
.setup-steps .tick { inline-size: 20px; block-size: 20px; border-radius: 50%; border: 2px solid var(--th-pampas); display: inline-grid; place-items: center; flex: none; }
.setup-steps .done .tick { background: var(--th-pear); border-color: var(--th-pear); color: var(--th-tolopea); }
.setup-steps .done .tick .g { inline-size: 12px; block-size: 12px; stroke-width: 3; }
.setup-card .dismiss { color: var(--th-pampas); align-self: start; }
.setup-card .dismiss:hover { background: var(--Mariner-700); }
.meter { block-size: 6px; background: var(--Mariner-800); border-radius: 6px; overflow: hidden; margin-block-start: 10px; inline-size: 260px; max-inline-size: 100%; }
.meter span { display: block; block-size: 100%; background: var(--th-pear); }
.home-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; }
.ny-group { font-size: 13px; font-weight: 500; padding: 14px 20px 6px; color: var(--th-text-muted); display: flex; gap: 8px; align-items: center; }
.ny-group .n { font-family: var(--font-latin); }
.ny-row { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto auto auto; gap: 14px; align-items: center; padding: 10px 20px; border-block-start: 1px solid var(--Tolopea-100); }
.ny-row:hover { background: var(--Mariner-50); }
.ny-ico { inline-size: 36px; block-size: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--th-ice); color: var(--th-mariner); }
.ny-ico .i { inline-size: 20px; block-size: 20px; }
.ny-row .t { font-weight: 500; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ny-row .ctx { color: var(--th-text-muted); font-size: 13px; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ny-row .age { font-size: 13px; white-space: nowrap; }
.ny-row .age.over { font-weight: 500; color: var(--Tolopea-950); }

.ny-main { min-inline-size: 0; }
.ny-row > .ny-act { flex-shrink: 0; white-space: nowrap; }
.ny-list { container: ny / inline-size; }
@container ny (max-width: 640px) {
  .ny-row { grid-template-columns: 36px minmax(0, 1fr) auto auto; grid-template-areas: "ico main main main" ". age who act"; gap: 6px 10px; padding: 12px 16px; }
  .ny-row > .ny-ico { grid-area: ico; align-self: start; }
  .ny-row > .ny-main { grid-area: main; }
  .ny-row > .age { grid-area: age; white-space: normal; min-inline-size: 0; }
  .ny-row > .ny-who { grid-area: who; }
  .ny-row > .ny-act { grid-area: act; }
  .ny-row .t, .ny-row .ctx { white-space: normal; overflow-wrap: anywhere; }
}
.queues { display: flex; flex-wrap: wrap; gap: 8px; }
.kpi { display: block; background: var(--th-surface); border: 1px solid var(--Tolopea-100); border-radius: var(--th-radius-lg); padding: 16px 20px; color: var(--th-text); text-decoration: none !important; transition: border-color var(--th-dur-fast); }
.kpi:hover { border-color: var(--th-mariner); }
.kpi .lbl { color: var(--th-text-muted); font-size: 13px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.kpi .val { font-family: var(--font-latin); font-size: 26px; line-height: 36px; font-weight: 700; margin-block-start: 4px; }
html[lang="ar"] .kpi .val.ar { font-family: var(--font-site); }
.kpi .delta { font-size: 12px; color: var(--th-text-muted); }
.kpi .go { color: var(--th-link); font-size: 13px; }

.kpi { container-type: inline-size; min-inline-size: 0; }
.kpi .val { min-inline-size: 0; }
.kpi .val > .nowrap { display: inline-flex; flex-wrap: wrap; align-items: baseline; column-gap: 4px; max-inline-size: 100%; font-size: clamp(16px, 13cqi, 26px); line-height: 1.3; vertical-align: bottom; }
.kpi .val > .nowrap.long { font-size: clamp(14px, 11cqi, 24px); }
.kpi .val bdi { direction: ltr; unicode-bidi: isolate; min-inline-size: 0; overflow-wrap: anywhere; }
.kpi .val .cur { order: 1; font-size: 13px; line-height: 20px; font-weight: 500; color: var(--th-text-muted); }

.kpi .val > .nowrap.xl { font-size: clamp(14px, 10cqi, 22px); }
.kpi .val > .nowrap.xl .cur { flex-basis: 100%; }
.kpi .delta > .nowrap { display: inline-flex; flex-wrap: wrap; align-items: baseline; column-gap: 4px; max-inline-size: 100%; white-space: normal; }
.kpi .delta bdi { direction: ltr; unicode-bidi: isolate; min-inline-size: 0; overflow-wrap: anywhere; }
.kpi .delta .cur { order: 1; }

.rec-head { display: flex; gap: 16px; align-items: flex-start; margin-block-end: 8px; flex-wrap: wrap; }
.rec-head .grow { flex: 1; min-inline-size: 260px; }
.rec-head .meta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-block-start: 4px; color: var(--th-text-muted); font-size: 13px; }
.copy { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--Tolopea-200); border-radius: 8px; background: var(--th-surface); padding: 0 8px; font: inherit; font-size: 13px; cursor: pointer; color: var(--th-text); line-height: 26px; }
.copy:hover { border-color: var(--th-mariner); }
.copy .g { inline-size: 14px; block-size: 14px; }
.rec-body { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; align-items: start; }
.rail { display: flex; flex-direction: column; gap: 16px; }
.rail .card { padding: 16px 18px; }
.rail h3 { font-size: 14px; margin-block-end: 10px; }
.linkrec { display: flex; align-items: center; gap: 10px; padding: 6px 0; color: var(--th-text); }
.linkrec small { display: block; color: var(--th-text-muted); font-size: 12px; line-height: 16px; }
.linkrec:hover .t { color: var(--th-link); }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline li { position: relative; padding-inline-start: 28px; padding-block-end: 18px; }
.timeline li::before { content: ""; position: absolute; inset-inline-start: 6px; inset-block-start: 6px; inline-size: 12px; block-size: 12px; border-radius: 50%; background: var(--th-surface); border: 3px solid var(--th-mariner); }
.timeline li::after { content: ""; position: absolute; inset-inline-start: 11px; inset-block-start: 20px; inset-block-end: 0; border-inline-start: 2px solid var(--Tolopea-100); }
.timeline li:last-child::after { display: none; }
.timeline li.wait::before { border-color: var(--Tolopea-300); }
.timeline li.grave::before { border-color: var(--th-tolopea); background: var(--th-tolopea); }
.timeline li.ok::before { border-color: var(--Pear-400); background: var(--th-pear); }
.timeline .when { font-size: 12px; color: var(--th-text-muted); }
.timeline .what { font-weight: 500; }
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; }
.checklist .mk { inline-size: 20px; block-size: 20px; border-radius: 50%; display: grid; place-items: center; flex: none; margin-block-start: 2px; border: 2px solid var(--Tolopea-300); }
.checklist .ok .mk { background: var(--th-pear); border-color: var(--Pear-400); color: var(--th-tolopea); }
.checklist .no .mk { background: var(--th-tolopea); border-color: var(--th-tolopea); color: var(--th-pampas); }
.checklist .mk .g { inline-size: 12px; block-size: 12px; stroke-width: 3; }
.banner-amend { display: flex; gap: 12px; align-items: center; padding: 10px 16px; border-radius: var(--th-radius-md); background: var(--th-blueberry); color: var(--th-on-blueberry); margin-block-end: 16px; font-weight: 500; }
.sum { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; margin: 0; }
.sum dt { color: var(--th-text-muted); }
.sum dd { margin: 0; text-align: end; font-variant-numeric: tabular-nums; }
.sum .total { font-weight: 700; font-size: 16px; border-block-start: 1px solid var(--Tolopea-200); padding-block-start: 8px; color: var(--th-text); }
.bigmoney { font-size: 28px; line-height: 40px; font-weight: 700; }

.inbox { display: grid; grid-template-columns: 340px minmax(0, 1fr) 300px; block-size: calc(100vh - 64px); background: var(--th-surface); margin: -24px -32px -96px; }
.inbox__col { min-block-size: 0; overflow-y: auto; border-inline-end: 1px solid var(--Tolopea-100); display: flex; flex-direction: column; }
.inbox__col:last-child { border-inline-end: 0; background: var(--Pampas-50); }
.queue-nav { padding: 12px; border-block-end: 1px solid var(--Tolopea-100); display: flex; flex-wrap: wrap; gap: 6px; }
.queue-nav button, .queue-nav a { border: 1px solid var(--Tolopea-200); background: var(--th-surface); border-radius: 999px; padding: 3px 12px; font: inherit; font-size: 13px; cursor: pointer; color: var(--th-text); display: inline-flex; gap: 6px; }
.queue-nav [aria-selected="true"] { background: var(--th-mariner); border-color: var(--th-mariner); color: var(--th-white); }
.queue-nav a { text-decoration: none; }
.composer [hidden], .composer[hidden] { display: none; }
.inbox__tools { display: flex; gap: 8px; align-items: center; padding: 10px 12px; border-block-end: 1px solid var(--Tolopea-100); }
.inbox__tools .input { flex: 1; min-inline-size: 0; }
.queue-nav .n { font-family: var(--font-latin); opacity: .85; }
.tk { display: block; padding: 12px 16px; border-block-end: 1px solid var(--Tolopea-100); color: var(--th-text); cursor: pointer; text-decoration: none !important; }
.tk:hover { background: var(--Mariner-50); }
.tk[aria-current="true"] { background: var(--th-ice); box-shadow: inset 3px 0 0 var(--th-mariner); }
html[dir="rtl"] .tk[aria-current="true"] { box-shadow: inset -3px 0 0 var(--th-mariner); }
.tk .top { display: flex; gap: 8px; align-items: center; font-size: 12px; color: var(--th-text-muted); }
.tk .top .when { margin-inline-start: auto; }
.tk .subj { font-weight: 500; display: block; margin-block: 2px; }
.tk .prev { font-size: 13px; color: var(--th-text-muted); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.thread-head { padding: 14px 20px; border-block-end: 1px solid var(--Tolopea-100); display: flex; gap: 12px; align-items: center; flex-wrap: wrap; position: sticky; inset-block-start: 0; background: var(--th-surface); z-index: 2; }
.thread-head .grow { flex: 1; min-inline-size: 200px; }
.thread-head h2 { font-size: 16px; line-height: 24px; }
.msgs { padding: 16px 20px; flex: 1; display: flex; flex-direction: column; gap: 14px; }
.msg { max-inline-size: 85%; }
.msg .who { font-size: 12px; color: var(--th-text-muted); margin-block-end: 2px; display: flex; gap: 8px; }
.msg .bubble { padding: 10px 14px; border-radius: 14px; background: var(--Tolopea-50); white-space: pre-wrap; }
.msg.op { align-self: flex-end; }
.msg.op .bubble { background: var(--Mariner-100); }
.msg.note .bubble { background: var(--Pear-50); border: 1px dashed var(--Pear-400); }
.msg.sys { align-self: center; font-size: 12px; color: var(--th-text-muted); max-inline-size: 100%; }
.composer { border-block-start: 1px solid var(--Tolopea-100); padding: 12px 20px 16px; position: sticky; inset-block-end: 0; background: var(--th-surface); }
.composer .textarea { min-block-size: 72px; }
.composer[data-mode="note"] .textarea { background: var(--Pear-50); border-color: var(--Pear-400); }

.composer-page { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 20px; align-items: start; }
.step-card { counter-increment: step; }
.step-card .card__head h2::before { content: counter(step) ". "; font-family: var(--font-latin); color: var(--th-mariner); }
.steps-wrap { counter-reset: step; }
.preview-col { position: sticky; inset-block-start: 84px; display: flex; flex-direction: column; gap: 16px; }
.pv-label { font-size: 12px; color: var(--th-text-muted); margin-block-end: 6px; display: flex; justify-content: space-between; }
.pv-push { background: var(--Tolopea-50); border-radius: 18px; padding: 12px; }
.pv-push__card { background: var(--th-surface); border-radius: 14px; padding: 10px 12px; display: grid; grid-template-columns: 32px 1fr; gap: 10px; box-shadow: var(--th-shadow-sm); }
.pv-push__card img { inline-size: 32px; block-size: 32px; border-radius: 8px; background: var(--th-mariner); object-fit: cover; }
.pv-push__card .app { font-size: 11px; color: var(--th-text-muted); display: flex; justify-content: space-between; }
.pv-push__card b { display: block; font-size: 14px; line-height: 20px; }
.pv-push__card p { margin: 0; font-size: 13px; line-height: 18px; }
.pv-banner { border-radius: 16px; overflow: hidden; background: var(--th-mariner); color: var(--th-white); padding: 16px; position: relative; min-block-size: 110px; }
.pv-banner.b-blueberry { background: var(--th-blueberry); color: var(--th-on-blueberry); }
.pv-banner.b-tolopea { background: var(--th-tolopea); color: var(--th-pampas); }
.pv-banner b { display: block; font-size: 16px; line-height: 24px; position: relative; }
.pv-banner p { margin: 4px 0 0; font-size: 13px; position: relative; max-inline-size: 80%; }
.pv-banner .shape { position: absolute; inset-inline-end: -12px; inset-block-end: -18px; inline-size: 96px; block-size: 96px; background: currentColor; opacity: .18; -webkit-mask: url(assets/elements/th-curl.svg) center / contain no-repeat; mask: url(assets/elements/th-curl.svg) center / contain no-repeat; }
.pv-inapp { border: 1px solid var(--Tolopea-100); border-radius: 14px; padding: 12px 14px; background: var(--th-surface); }
.pv-inapp b { display: block; }
.audience-count { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: var(--th-radius-md); background: var(--th-ice); border: 1px solid var(--Blueberry-100); }
.audience-count .big { font-family: var(--font-latin); font-size: 24px; font-weight: 700; }

.ptree { border: 1px solid var(--Tolopea-100); border-radius: var(--th-radius-md); overflow: hidden; }
.ptree details { border-block-end: 1px solid var(--Tolopea-100); }
.ptree details:last-child { border-block-end: 0; }
.ptree summary { display: flex; align-items: center; gap: 12px; padding: 10px 14px; cursor: pointer; list-style: none; background: var(--Tolopea-50); }
.ptree summary::-webkit-details-marker { display: none; }
.ptree summary .chev { transition: transform var(--th-dur-fast); }
html[dir="rtl"] .ptree summary .chev { transform: scaleX(-1); }
.ptree details[open] summary .chev { transform: rotate(90deg); }
.ptree summary .grow { flex: 1; font-weight: 500; }
.ptree .cnt { font-family: var(--font-latin); font-size: 12px; background: var(--th-surface); border: 1px solid var(--Tolopea-200); border-radius: 999px; padding: 0 8px; }
.ptree .cnt.full { background: var(--Pear-100); border-color: var(--Pear-300); }
.prow { display: flex; align-items: center; gap: 12px; padding: 8px 14px 8px 14px; padding-inline-start: 44px; border-block-start: 1px solid var(--Tolopea-50); }
.prow .grow { flex: 1; min-inline-size: 0; }
.prow code, .pkey { font-family: var(--font-latin); font-size: 12px; color: var(--th-text-muted); direction: ltr; unicode-bidi: isolate; }
.prow.changed { background: var(--Pear-50); }
.matrix td, .matrix th { text-align: center; }
.matrix td:first-child, .matrix th:first-child { text-align: start; }
.dotv { display: inline-block; inline-size: 12px; block-size: 12px; border-radius: 50%; background: var(--Tolopea-100); }
.dotv.full { background: var(--th-mariner); }
.dotv.part { background: linear-gradient(90deg, var(--th-mariner) 50%, var(--Tolopea-100) 50%); }

.bar-chart { display: flex; align-items: flex-end; gap: 6px; block-size: 120px; padding-block-start: 8px; }
.bar-chart span { flex: 1; background: var(--Blueberry-300); border-radius: 6px 6px 0 0; min-block-size: 4px; position: relative; }
.bar-chart span:last-child { background: var(--th-mariner); }
.screens-list { columns: 3 260px; column-gap: 32px; }
.screens-list section { break-inside: avoid; margin-block-end: 20px; }
.screens-list h3 { margin-block-end: 6px; font-size: 15px; }
.screens-list ul { list-style: none; margin: 0; padding: 0; }
.screens-list li { padding: 2px 0; display: flex; gap: 8px; justify-content: space-between; }
.screens-list li .approved-flag { flex: none; align-self: center; margin-inline-end: auto; padding: 0 8px; font-size: 11px; line-height: 18px; }
.screens-list code { font-family: var(--font-latin); font-size: 12px; color: var(--th-text-muted); direction: ltr; }
.login { min-block-size: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--th-surface); }
.login__brand { background: var(--th-surface-brand); color: var(--th-on-mariner); padding: 48px; display: flex; flex-direction: column; gap: 56px; position: relative; overflow: hidden; }
.login__brand .pattern { position: absolute; inset: 58% 0 0 0; background: url(assets/pattern.png) center / 640px repeat; opacity: .14; pointer-events: none; }
.login__brand .logo-lockup { inline-size: 220px; position: relative; }
.login__brand h2 { color: var(--th-white); font-size: 28px; line-height: 42px; position: relative; max-inline-size: 420px; }
.login__brand p { position: relative; max-inline-size: 420px; }
.login__form { display: flex; align-items: center; justify-content: center; padding: 48px; }
.login__form form { inline-size: min(380px, 100%); }
.otp { display: flex; gap: 8px; direction: ltr; }
.otp input { inline-size: 48px; block-size: 52px; text-align: center; font-family: var(--font-latin); font-size: 20px; }
.diff-add { color: var(--Pear-800); background: var(--Pear-100); border-radius: 6px; padding: 0 6px; font-family: var(--font-latin); font-weight: 700; }
.diff-rem { color: var(--th-pampas); background: var(--th-tolopea); border-radius: 6px; padding: 0 6px; font-family: var(--font-latin); font-weight: 700; }
.attach { display: inline-flex; gap: 8px; align-items: center; border: 1px solid var(--Tolopea-200); border-radius: 10px; padding: 6px 10px; font-size: 13px; background: var(--th-surface); }
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cal div { border: 1px solid var(--Tolopea-100); border-radius: 10px; padding: 6px 8px; min-block-size: 64px; font-size: 12px; background: var(--th-surface); }
.cal div b { font-family: var(--font-latin); }
.cal div.has { background: var(--th-ice); border-color: var(--Blueberry-200); }

.grid > * { min-inline-size: 0; }
.card .dt__wrap { margin-inline: -4px; }
.num { font-variant-numeric: tabular-nums; }
.tbl tfoot td { font-weight: 500; background: var(--Tolopea-50); border-block-start: 2px solid var(--Tolopea-200); padding: 10px 12px; }
.tbl tr.changed td { background: var(--Pear-50); }
.tbl tr.hl td, .tbl th.hl { background: var(--th-ice); }
.chip--on { border-color: var(--th-mariner); background: var(--Mariner-50); }
.fin-filters { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: flex-end; }
.fin-filters > p, .fin-filters > .dt__tokens { flex-basis: 100%; }
.fin-ctl { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--th-text-muted); min-inline-size: 150px; }
.fin-dims { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; flex: 1; min-inline-size: 320px; }
.fin-dims .chip { cursor: pointer; font: inherit; font-size: 13px; }
.fin-sentence { margin: 12px 0 0; color: var(--th-text); }
.fin-sentence b { font-weight: 700; }
.wf { display: flex; gap: 8px; align-items: stretch; block-size: 300px; padding-block-start: 8px; }
.wf__col { flex: 1; min-inline-size: 0; display: flex; flex-direction: column; gap: 6px; color: var(--th-text); text-decoration: none !important; border-radius: var(--th-radius-sm); padding: 4px; }
.wf__col:hover { background: var(--Mariner-50); }
.wf__val { font-size: 12px; text-align: center; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wf__track { position: relative; flex: 1; border-block-end: 1px solid var(--Tolopea-200); }
.wf__bar { position: absolute; inset-inline: 12%; border-radius: 4px 4px 0 0; }
.wf__bar--total { background: var(--th-mariner); }
.wf__bar--down { background: var(--Blueberry-300); }
.wf__bar--refund { background: var(--th-tolopea); }
.wf__bar--liability { background: repeating-linear-gradient(135deg, var(--Pear-200) 0 6px, var(--Pear-100) 6px 12px); border: 1px dashed var(--Pear-500); }
.wf__lbl { font-size: 12px; line-height: 16px; text-align: center; min-block-size: 48px; }
.wf__lbl small { display: block; color: var(--th-text-muted); font-size: 11px; }
.split__bar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.split-line { border: 1px solid var(--Tolopea-100); border-radius: var(--th-radius-md); margin-block-start: 16px; overflow: hidden; }
.split-line__head { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; padding: 10px 14px; background: var(--Tolopea-50); }
.split-line__head .grow, .split__bar .grow, .pair__head .grow, .ov__head .grow { flex: 1; }
.split-tbl tr.sub td { font-weight: 500; border-block-start: 1px solid var(--Tolopea-200); }
.split-tbl tr.total td { font-weight: 700; border-block-start: 2px solid var(--Tolopea-300); }
.split-tbl tr.neg-row td { background: var(--Pampas-50); }
.split-raw { margin-block-start: 16px; }
.split-raw summary { cursor: pointer; color: var(--th-link); }
.stackbar { display: flex; block-size: 14px; border-radius: 7px; overflow: hidden; background: var(--Tolopea-50); }
.sb--paid { background: var(--th-mariner); }
.sb--inPayout { background: var(--Blueberry-400); }
.sb--available { background: var(--Pear-400); }
.sb--pending { background: var(--Pampas-300); }
.sbk { display: inline-block; inline-size: 10px; block-size: 10px; border-radius: 3px; margin-inline-end: 6px; vertical-align: middle; }
.pair { border: 1px solid var(--Tolopea-100); border-radius: var(--th-radius-md); background: var(--th-surface); padding: 12px 16px; }
.pair__head { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-block-end: 10px; }
.pair__body { display: grid; grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr); gap: 8px; align-items: center; }
.pair__side { border: 1px solid var(--Tolopea-100); border-radius: var(--th-radius-sm); padding: 10px 12px; background: var(--Pampas-50); min-block-size: 100%; }
.pair__t { font-size: 12px; color: var(--th-text-muted); margin-block-end: 6px; font-weight: 500; }
.pair__mid { display: grid; place-items: center; font-size: 20px; color: var(--th-text-muted); }
.pair__res { margin: 10px 0 0; font-size: 13px; display: flex; gap: 6px; align-items: center; }
.ov { border-block-start: 1px solid var(--Tolopea-100); padding-block-start: 10px; margin-block-start: 10px; }
.ov__head { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.ov .tbl td { padding: 6px 8px; }
.policy-ed { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 20px; align-items: start; }
.pv-col { position: sticky; inset-block-start: 84px; }
.pv-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pv-side { border: 1px solid var(--Tolopea-100); border-radius: var(--th-radius-md); padding: 8px 10px; }
.pv-side__t { font-size: 12px; font-weight: 500; margin-block-end: 4px; }
.pv-tbl td { padding: 4px 2px; font-size: 13px; }
.pv-tbl tr.total td { font-weight: 700; }
.pv-tbl small.up { color: var(--Pear-800); font-weight: 700; display: block; }
.pv-tbl small.down { color: var(--Tolopea-700); font-weight: 700; display: block; }
.pct-in { max-inline-size: 120px; }
@media (max-width: 1200px) { .policy-ed { grid-template-columns: minmax(0, 1fr); } .pv-col { position: static; } .wf__val { font-size: 11px; } }

@media (max-width: 1200px) {
  .rec-body, .home-grid, .composer-page { grid-template-columns: minmax(0, 1fr); }
  .inbox { grid-template-columns: 300px minmax(0, 1fr); }
  .inbox__col:last-child { display: none; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .preview-col { position: static; }
}
@media (max-width: 899px) {
  .shell { grid-template-columns: minmax(0, 1fr); }
  .kbtn { min-inline-size: 0; }
  .kbtn span.lbl { display: none; }
  .page { padding: 16px 16px 96px; }
  .grid-2, .grid-3, .field-grid, .setup-steps, .login { grid-template-columns: minmax(0, 1fr); }
  .bulkbar { inset-inline-start: 50%; }
  .inbox { grid-template-columns: minmax(0, 1fr); block-size: auto; margin: -16px -16px -96px; }
  .sticky-bar { margin-inline: -16px; }
  .callout { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

.vat-note { font-variant-numeric: tabular-nums; }
.receipt { max-inline-size: 980px; }
.rc-head { display: flex; align-items: flex-start; gap: 16px; border-block-end: 1px solid var(--Tolopea-100); padding-block-end: 12px; margin-block-end: 12px; }
.rc-logo { block-size: 40px; inline-size: auto; }
.rc-title { flex: 1; }
.rc-title h2 { margin: 0; }
.rc-sep { color: var(--th-text-muted); }
.rc-qr { inline-size: 112px; block-size: 112px; border: 2px dashed var(--Tolopea-300); border-radius: 8px; display: grid; place-items: center; text-align: center; padding: 6px; }
.rc-qr span { font-weight: 700; font-size: 22px; letter-spacing: 2px; }
.rc-qr small { font-size: 10px; color: var(--th-text-muted); }
.rc-meta { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0 0 12px; }
.rc-meta dt { color: var(--th-text-muted); }
.rc-meta dd { margin: 0; }
.rc-totals { max-inline-size: 460px; margin-inline-start: auto; margin-block-start: 12px; }
.rc-foot { margin-block-start: 10px; }
@media print {
  .sidebar, .topbar, .page-head__actions, .crumbs, .toasts, .sticky-bar, .rc-agr { display: none !important; }
  .receipt { border: 0; box-shadow: none; max-inline-size: none; }
}

.cert-rules { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.cert-rule { display: flex; gap: 12px; align-items: center; border: 1px solid var(--Tolopea-100); border-radius: var(--th-radius-md); padding: 10px 12px; background: var(--th-surface); }
.cert-rule__body { flex: 1; min-inline-size: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.cert-rule .select { inline-size: auto; max-inline-size: 280px; }
.cert-and { flex: none; min-inline-size: 40px; text-align: center; font-size: 12px; font-weight: 700; line-height: 22px; color: var(--Mariner-800); background: var(--Mariner-100); border-radius: 999px; padding: 0 10px; }
.cert-num, .check input.cert-num { inline-size: 88px; block-size: 40px; flex: none; margin: 0; }
.cert-fs { border: 0; padding: 0; margin: 0; min-inline-size: 0; }
.cert-fs[disabled] { opacity: .55; }
.cert-fs > .card { margin-block-start: 16px; }
.cert-fs .check { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-block-end: 6px; }
.cert-sentence { margin: 0; font-size: 15px; line-height: 26px; }
[data-cert-form] > .cert-fs + .card, [data-cert-form] > .card + .callout, [data-cert-form] > .callout + .card { margin-block-start: 16px; }
.seg a { border-radius: 8px; padding: 4px 14px; font-size: 13px; color: var(--th-text-muted); text-decoration: none !important; }
.seg a[aria-selected="true"] { background: var(--th-surface); color: var(--th-text); font-weight: 500; box-shadow: var(--th-shadow-sm); }

.cert-ed { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 20px; align-items: start; }
.cert-ed__main { min-inline-size: 0; }
.cert-ed__main > .card { margin-block-start: 16px; }
.cert-ed__bar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-block-end: 12px; }
.cert-ed__bar .grow { flex: 1; }
.cert-ed__insp { display: grid; gap: 12px; position: sticky; inset-block-start: 84px; max-block-size: calc(100vh - 100px); overflow-y: auto; }
.cert-ed__insp .card { padding: 16px 18px; margin: 0; }
.cert-ed__insp h3 { margin-block-end: 10px; }
.cert-insp__sub + .cert-insp__sub { border-block-start: 1px solid var(--Tolopea-100); padding-block-start: 12px; }
.cert-insp__sub h4 { margin: 0 0 8px; font-size: 14px; }
.cert-asset { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-block-end: 12px; }
.cert-asset__logo { block-size: 34px; inline-size: auto; aspect-ratio: 936 / 286; object-fit: cover; }
.cert-asset__ph { min-inline-size: 120px; max-inline-size: 100%; padding: 6px 10px; border: 1px dashed var(--Tolopea-300); border-radius: var(--th-radius-sm); font-size: 11px; line-height: 16px; color: var(--th-text-muted); font-family: var(--font-latin); overflow-wrap: anywhere; }
.cert-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.cert-chips .chip { cursor: pointer; font: inherit; font-family: var(--font-latin); font-size: 12px; }
.cert-canvas { min-inline-size: 0; }

.cert { --ca: var(--th-mariner); container-type: inline-size; inline-size: 100%; position: relative; background: var(--th-white); color: var(--th-tolopea); box-shadow: var(--th-shadow-md); border-radius: 4px; font-family: var(--font-site); text-align: center; }
.cert--tolopea { --ca: var(--th-tolopea); }
.cert__frame { position: relative; margin: 2.2cqi; min-block-size: calc(100cqi * 210 / 297 - 4.6cqi); border: .35cqi solid var(--ca); outline: .12cqi solid var(--ca); outline-offset: -1.1cqi; padding: 2.6cqi 4.6cqi 2.4cqi; display: flex; flex-direction: column; align-items: center; }
.cert__frame::before, .cert__frame::after { content: ""; position: absolute; inline-size: 15cqi; block-size: 10cqi; background: var(--ca); opacity: .07; pointer-events: none; -webkit-mask: url(assets/elements/th-arc-pair.svg) center / contain no-repeat; mask: url(assets/elements/th-arc-pair.svg) center / contain no-repeat; }
.cert__frame::before { inset-block-start: 1.6cqi; inset-inline-end: 1.6cqi; }
.cert__frame::after { inset-block-end: 1.6cqi; inset-inline-start: 1.6cqi; }
.cert__top { inline-size: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.cert__logo { inline-size: 16cqi; aspect-ratio: 936 / 286; object-fit: cover; justify-self: start; }
.cert__seal { inline-size: 6cqi; block-size: 6cqi; object-fit: contain; }
.cert__partner { justify-self: end; min-inline-size: 13cqi; padding: .5cqi 1.2cqi; border: .12cqi dashed var(--Tolopea-300); border-radius: .6cqi; display: grid; color: var(--Tolopea-500); font-size: 1cqi; line-height: 1.4; }
.cert__partner b { font-family: var(--font-latin); font-size: 1.6cqi; color: var(--th-tolopea); }
.cert__title { margin-block-start: 1.4cqi; font-size: 3.1cqi; line-height: 1.25; font-weight: 700; color: var(--ca); }
.cert__en { display: block; font-family: var(--font-latin); font-weight: 500; font-size: .62em; line-height: 1.35; color: var(--Tolopea-600); }
.cert__lead { margin: 1.2cqi 0 .3cqi; font-size: 1.5cqi; line-height: 1.4; color: var(--Tolopea-700); }
.cert__name, .cert__course { --fit: 1; max-inline-size: 100%; white-space: nowrap; font-weight: 700; }
.cert__name { font-size: calc(var(--fit) * 4.4cqi); line-height: 1.3; color: var(--th-tolopea); }
.cert__name--en { font-family: var(--font-latin); font-size: calc(var(--fit) * 2.4cqi); color: var(--Tolopea-700); }
.cert__course { font-size: calc(var(--fit) * 2.5cqi); line-height: 1.3; color: var(--ca); }
.cert__course--en { font-family: var(--font-latin); font-size: calc(var(--fit) * 1.7cqi); }
.cert__name.wrap, .cert__course.wrap { white-space: normal; overflow-wrap: anywhere; }
.cert__body { margin: 1.1cqi auto 0; max-inline-size: 72cqi; font-size: 1.25cqi; line-height: 1.6; color: var(--Tolopea-700); }
.cert__body b { font-weight: 500; color: var(--th-tolopea); }
.cert__facts { margin: auto 0 0; padding-block-start: 1.8cqi; display: flex; justify-content: center; inline-size: 100%; }
.cert__fact { min-inline-size: 0; padding: 0 2.2cqi; border-inline-start: .1cqi solid var(--Tolopea-200); }
.cert__fact:first-child { border-inline-start: 0; }
.cert__fact dt { font-size: 1.05cqi; line-height: 1.4; color: var(--Tolopea-500); }
.cert__fact dd { margin: .3cqi 0 0; font-size: 1.35cqi; line-height: 1.35; font-weight: 500; }
.cert__hijri { display: block; font-size: .8em; color: var(--Tolopea-500); font-weight: 400; }
.cert__foot { inline-size: 100%; margin-block-start: 1.8cqi; display: flex; align-items: flex-end; justify-content: space-between; gap: 3cqi; }
.cert__sigs { display: flex; gap: 3cqi; min-inline-size: 0; }
.cert__sig { display: flex; flex-direction: column; align-items: center; inline-size: 17cqi; font-size: 1.05cqi; line-height: 1.35; color: var(--Tolopea-600); }
.cert__sigimg { inline-size: 100%; block-size: 4.2cqi; border: .1cqi dashed var(--Tolopea-200); border-radius: .5cqi; display: grid; place-items: center; font-size: .9cqi; color: var(--Tolopea-400); }
.cert__sig b { inline-size: 100%; margin-block-start: .5cqi; padding-block-start: .5cqi; border-block-start: .12cqi solid var(--Tolopea-300); font-size: 1.3cqi; font-weight: 500; color: var(--th-tolopea); }
.cert__verify { display: flex; align-items: center; gap: 1.4cqi; text-align: start; }
.cert__qr { flex: none; inline-size: 9.5cqi; block-size: 9.5cqi; color: var(--th-tolopea); }
.cert__qr svg { display: block; inline-size: 100%; block-size: 100%; }
.cert__qr--empty { display: grid; place-items: center; padding: .6cqi; border: .12cqi dashed var(--Tolopea-300); border-radius: .5cqi; font-size: .9cqi; line-height: 1.3; text-align: center; color: var(--Tolopea-500); }
.cert__vlabel { display: block; font-size: 1.05cqi; line-height: 1.4; color: var(--Tolopea-500); }
.cert__code { display: inline-block; direction: ltr; unicode-bidi: isolate; margin-block: .4cqi; padding: .3cqi .9cqi; border: .14cqi solid var(--ca); border-radius: .5cqi; font-family: var(--font-latin); font-size: 1.6cqi; line-height: 1.3; font-weight: 700; white-space: nowrap; color: var(--th-tolopea); }
.cert__url { display: block; direction: ltr; unicode-bidi: isolate; font-family: var(--font-latin); font-size: 1cqi; line-height: 1.4; color: var(--Tolopea-600); }
.cert__stamp { justify-self: center; inline-size: max-content; max-inline-size: 40cqi; transform: rotate(-6deg); padding: .4cqi 2cqi; border: .3cqi solid var(--Tolopea-700); border-radius: .9cqi; background: var(--th-white); color: var(--Tolopea-700); font-size: 2.4cqi; line-height: 1.2; font-weight: 700; white-space: nowrap; pointer-events: none; }
.cert__stamp .cert__en { display: inline; margin-inline: .5em; color: inherit; font-size: .7em; }

.cert-page { min-block-size: 100vh; padding: 16px 24px 40px; background: var(--th-surface-alt); }
.cert-bar, .cert-page > .callout, .cert-sheet, .cert-page__meta { max-inline-size: 1180px; margin-inline: auto; }
.cert-sheet { max-inline-size: min(1180px, calc((100vh - 96px) * 297 / 210)); }
.cert-bar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-block-end: 16px; }
.cert-bar h1 { flex: 1; min-inline-size: 0; font-size: 18px; line-height: 28px; }
.cert-page__meta { margin-block-start: 12px; }
@media print {
  .cert-bar, .cert-page > .callout, .cert-page__meta, .toasts { display: none !important; }
  html, body, .cert-page { background: var(--th-white) !important; margin: 0; padding: 0; min-block-size: 0; }
  .cert-sheet { max-inline-size: none; inline-size: 297mm; margin: 0; }
  .cert { inline-size: 297mm; box-shadow: none; border-radius: 0; break-inside: avoid; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

.vfy { min-block-size: 100vh; display: flex; flex-direction: column; background: var(--th-surface-alt); }
.vfy__top { display: flex; align-items: center; gap: 12px; padding: 12px 24px; background: var(--th-surface); border-block-end: 1px solid var(--Tolopea-100); }
.vfy__top .grow { flex: 1; }
.vfy__logo { display: block; inline-size: 132px; aspect-ratio: 936 / 286; object-fit: cover; }
.vfy__main { flex: 1; inline-size: 100%; max-inline-size: 760px; margin: 0 auto; padding: 32px 20px 48px; }
.vfy__form { display: flex; gap: 8px; margin: 16px 0 20px; }
.vfy__form .input { flex: 1; min-inline-size: 0; font-family: var(--font-latin); font-size: 16px; text-transform: uppercase; }
.vfy__card { text-align: center; padding: 28px 24px; }
.vfy__card .dl { text-align: start; max-inline-size: 520px; margin: 16px auto 0; }
.vfy__ico { display: grid; place-items: center; inline-size: 56px; block-size: 56px; margin: 0 auto 12px; border-radius: 50%; background: var(--Mariner-50); color: var(--th-mariner); }
.vfy__ico .g { inline-size: 28px; block-size: 28px; }
.vfy--valid .vfy__ico { background: var(--Pear-100); color: var(--Pear-800); }
.vfy--revoked .vfy__ico, .vfy--notfound .vfy__ico { background: var(--Tolopea-50); color: var(--th-tolopea); }
.vfy--expired .vfy__ico, .vfy--superseded .vfy__ico { background: var(--Pampas-200); color: var(--Pampas-900); }
.vfy__thumb { display: block; max-inline-size: 460px; margin: 20px auto 0; text-decoration: none !important; }
.vfy__samples { display: inline-flex; flex-wrap: wrap; gap: 6px; margin-block: 6px; }
.vfy__foot { padding: 16px 24px; text-align: center; font-size: 12px; color: var(--th-text-muted); }
@media (max-width: 1200px) { .cert-ed { grid-template-columns: minmax(0, 1fr); } .cert-ed__insp { position: static; max-block-size: none; overflow: visible; } }
@media (max-width: 640px) { .cert-page { padding: 12px; } .vfy__form { flex-direction: column; } .cert-rule { flex-wrap: wrap; } }
