@font-face {
  font-family:Tajawal;
  src:url('/static/Tajawal-Regular.ttf');
  font-display:swap;
  font-weight:400;
}
@font-face {
  font-family:Tajawal;
  src:url('/static/Tajawal-Bold.ttf');
  font-display:swap;
  font-weight:700;
}
:root {
  --bg:#f4f1f8;
  --surface:#fff;
  --inset:#faf8fd;
  --ink:#292331;
  --muted:#685c76;
  --line:#e2dce9;
  --accent:#7650be;
  --accent-hover:#6543a7;
  --accent-ink:#6745a8;
  --soft:#f0e9fb;
  --good:#206747;
  --good-bg:#edf6f0;
  --warn:#7b5511;
  --warn-bg:#fff5df;
  --bad:#a83249;
  --bad-bg:#fff0f2;
  --info:#375a86;
  --info-bg:#edf3fb;
  --radius:12px;
}
* {
  box-sizing:border-box;
}
html {
  scroll-behavior:smooth;
}
body {
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font:15px/1.65 Tajawal,'Segoe UI',Tahoma,sans-serif;
}
h1,h2,h3,p {
  margin:0;
}
button,input,select,textarea {
  font:inherit;
  color:inherit;
}
button,a,input,select,textarea {
  -webkit-tap-highlight-color:transparent;
}
button,a,select,input,textarea {
  transition:background-color .16s ease-out,border-color .16s ease-out;
}
button {
  cursor:pointer;
}
button:disabled {
  cursor:not-allowed;
  opacity:.58;
}
button {
  border-radius:7px;
}
a {
  color:var(--accent-ink);
  text-decoration-thickness:1px;
  text-underline-offset:4px;
}
a:hover {
  text-decoration:underline;
}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible {
  outline:3px solid var(--accent);
  outline-offset:3px;
}
::selection {
  background:#ded0f5;
  color:var(--ink);
}
input,textarea {
  caret-color:var(--accent);
}
svg {
  width:18px;
  height:18px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round;
  flex-shrink:0;
}
h1 {
  font-size:29px;
  line-height:1.45;
  font-weight:700;
}
h2 {
  font-size:19px;
  line-height:1.5;
}
h3 {
  font-size:15px;
  line-height:1.6;
}
bdi,[dir=ltr] {
  font-variant-numeric:tabular-nums;
}
bdi {
  overflow-wrap:anywhere;
}
.muted,.form-note,.field-help,.section-footnote {
  color:var(--muted);
}
.sr-only {
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip-path:inset(50%);
  white-space:nowrap;
}
.skip {
  position:absolute;
  top:-80px;
  right:16px;
  padding:10px 18px;
  background:var(--surface);
  z-index:20;
}
.skip:focus {
  top:8px;
}
.primary,.secondary,.text-button {
  min-height:42px;
  padding:8px 15px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  font-weight:700;
  line-height:1.6;
}
.primary {
  border:1px solid var(--accent);
  background:var(--accent);
  color:#fff;
}
.primary:hover:not(:disabled) {
  background:var(--accent-hover);
  border-color:var(--accent-hover);
}
.secondary {
  background:var(--surface);
  border:1px solid var(--line);
  font-weight:400;
}
.secondary:hover:not(:disabled) {
  background:var(--soft);
  border-color:#cbb9e4;
}
.text-button {
  background:transparent;
  border:0;
  color:var(--accent-ink);
  padding-inline:7px;
  font-weight:400;
}
.text-button:hover:not(:disabled) {
  background:var(--soft);
}
.full {
  width:100%;
}
.primary:active:not(:disabled),.secondary:active:not(:disabled),.text-button:active:not(:disabled) {
  filter:brightness(.96);
}
label {
  display:block;
  font-size:14px;
  font-weight:700;
  margin:16px 0 5px;
}
input:not([type=checkbox]),select,textarea {
  width:100%;
  border:1px solid var(--line);
  border-radius:7px;
  background:var(--surface);
  padding:9px 11px;
  min-width:0;
  min-height:44px;
}
textarea {
  resize:vertical;
  max-width:100%;
}
input::placeholder,textarea::placeholder {
  font-size:13px;
  color:var(--muted);
  opacity:1;
}
input:read-only {
  background:var(--inset);
}
input:disabled,select:disabled,textarea:disabled {
  background:var(--inset);
  opacity:.7;
}
input[aria-invalid=true],textarea[aria-invalid=true] {
  border-color:var(--bad);
}
input[type=checkbox] {
  accent-color:var(--accent);
  width:18px;
  height:18px;
  flex-shrink:0;
}
.field-help {
  font-size:12px;
  line-height:1.8;
  margin-top:5px;
}
.form-note {
  font-size:14px;
  line-height:1.8;
  margin-top:7px;
  max-width:70ch;
}
.form-actions {
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:20px;
}
.form-actions button {
  flex:1;
  min-width:150px;
}
.notice {
  padding:12px 15px;
  border:1px solid var(--line);
  border-radius:8px;
  background:var(--inset);
  font-size:14px;
  line-height:1.8;
  overflow-wrap:anywhere;
  margin-bottom:16px;
}
.notice:last-child {
  margin-bottom:0;
}
.notice.danger {
  color:var(--bad);
  background:var(--bad-bg);
  border-color:#efcbd3;
}
.notice.warning {
  color:var(--warn);
  background:var(--warn-bg);
  border-color:#ead9b9;
}
.notice.success {
  color:var(--good);
  background:var(--good-bg);
  border-color:#c7e2d1;
}
.notice.info {
  color:var(--info);
  background:var(--info-bg);
  border-color:#cbdced;
}
.notice button {
  margin-inline-start:10px;
}
.notice p+p {
  margin-top:5px;
}
.notice[role=alert] {
  scroll-margin-top:20px;
}
.auth-screen {
  padding:54px 20px;
  min-height:100vh;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
}
.auth-brand {
  font-size:27px;
  font-weight:700;
  margin-bottom:23px;
  line-height:1.2;
}
.auth-brand span,.brand>span {
  color:var(--accent-ink);
}
.auth-panel {
  width:min(100%,430px);
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:29px 30px;
}
.auth-panel h1 {
  font-size:25px;
}
.auth-panel #auth-description {
  font-size:14px;
  margin:5px 0 19px;
}
.auth-panel button.full {
  margin-top:20px;
}
.auth-panel .notice {
  margin-top:14px;
}
.auth-panel #auth-notice {
  margin-bottom:15px;
}
.auth-footer {
  font-size:12px;
  color:var(--muted);
  text-align:center;
  margin-top:24px;
  padding-top:18px;
  border-top:1px solid var(--line);
}
#setup-secret {
  font:16px/1.8 'Segoe UI',sans-serif;
  letter-spacing:.04em;
  word-break:break-all;
}
.topbar {
  min-height:65px;
  background:var(--surface);
  border-bottom:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:0 30px;
}
.brand {
  font-size:21px;
  font-weight:700;
  color:var(--ink);
  text-decoration:none;
  white-space:nowrap;
  line-height:1.3;
}
.brand:hover {
  text-decoration:none;
}
.brand small {
  font-size:13px;
  font-weight:400;
  color:var(--muted);
  padding-inline-start:10px;
  direction:rtl;
  display:inline-block;
}
.primary-nav {
  display:flex;
  gap:3px;
  align-self:stretch;
  align-items:center;
}
.primary-nav a {
  color:var(--muted);
  text-decoration:none;
  font-size:14px;
  white-space:nowrap;
  min-height:42px;
  display:flex;
  align-items:center;
  padding:7px 10px;
  border-radius:7px;
}
.primary-nav a:hover {
  background:var(--inset);
  color:var(--ink);
}
.primary-nav a[aria-current=page] {
  color:var(--accent-ink);
  background:var(--soft);
  font-weight:700;
}
.top-account {
  display:flex;
  align-items:center;
  gap:11px;
  flex-shrink:0;
  font-size:13px;
}
#current-user {
  max-width:140px;
  overflow-wrap:anywhere;
}
main {
  max-width:1600px;
  margin:auto;
  padding:25px 30px 32px;
  min-height:calc(100vh - 130px);
  outline:0;
}
.page-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin-bottom:20px;
}
.page-heading p {
  font-size:14px;
  color:var(--muted);
  margin-top:3px;
}
.page-heading #refresh {
  flex-shrink:0;
}
.synthetic-banner {
  padding:9px 24px;
  text-align:center;
  color:var(--warn);
  background:var(--warn-bg);
  border-bottom:1px solid #ead9b9;
  font-size:13px;
}
.workspace-panel {
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius);
}
.section-footnote {
  font-size:12px;
  margin-top:14px;
  line-height:1.9;
}
.app-footer {
  max-width:1600px;
  margin:auto;
  padding:0 30px 20px;
  color:var(--muted);
  font-size:12px;
  display:flex;
  justify-content:space-between;
  gap:12px;
}
.pill {
  display:inline-block;
  padding:2px 7px;
  border-radius:4px;
  font-size:12px;
  line-height:1.8;
  overflow-wrap:anywhere;
}
.pill.good {
  color:var(--good);
  background:var(--good-bg);
}
.pill.warn {
  color:var(--warn);
  background:var(--warn-bg);
}
.pill.bad {
  color:var(--bad);
  background:var(--bad-bg);
}
.pill.info {
  color:var(--info);
  background:var(--info-bg);
}
.pill.neutral {
  color:var(--muted);
  background:var(--bg);
}
.gate-strip {
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-bottom:15px;
}
.gate-item {
  font-size:12px;
  display:flex;
  gap:6px;
  align-items:center;
  color:var(--muted);
}
.gate-item .pill {
  font-size:12px;
}
.stack-notices {
  margin-top:18px;
}
.stack-notices:empty {
  margin:0;
}
.operations {
  overflow:hidden;
}
.filters {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:9px;
  padding:15px 18px;
}
.search-field {
  position:relative;
  flex:1;
  min-width:220px;
}
.search-field svg {
  position:absolute;
  right:12px;
  top:13px;
  color:var(--muted);
}
.search-field input {
  padding-inline-start:38px;
}
.filters select {
  width:auto;
  max-width:180px;
  font-size:13px;
}
.filters button {
  font-size:13px;
  min-height:44px;
}
.list-meta {
  display:flex;
  justify-content:space-between;
  gap:12px;
  font-size:12px;
  color:var(--muted);
  padding:0 19px 13px;
  border-bottom:1px solid var(--line);
}
.content-grid {
  display:grid;
  grid-template-columns:minmax(0,1fr) 335px;
  align-items:stretch;
}
.list-pane {
  min-width:0;
}
.table-wrap {
  overflow-x:auto;
}
table {
  border-collapse:collapse;
  width:100%;
  text-align:right;
}
th {
  padding:11px 15px;
  background:var(--inset);
  color:var(--muted);
  font-size:12px;
  font-weight:400;
  white-space:nowrap;
}
td {
  padding:15px;
  border-bottom:1px solid var(--line);
  font-size:14px;
  vertical-align:top;
}
.operation-table td {
  min-width:120px;
}
.operation-table td:first-child {
  min-width:155px;
}
.operation-table td:last-child {
  min-width:105px;
}
.record-btn {
  display:inline-block;
  max-width:210px;
  padding:0;
  border:0;
  background:none;
  color:var(--accent-ink);
  text-align:right;
  word-break:break-all;
  font-weight:700;
  line-height:1.6;
  min-height:30px;
  text-decoration:underline;
  text-decoration-color:transparent;
  text-underline-offset:4px;
}
.record-btn:hover {
  text-decoration-color:currentColor;
}
.operation-table tr.selected td {
  background:var(--inset);
}
.cell-secondary {
  font-size:12px;
  color:var(--muted);
  margin-top:4px;
  overflow-wrap:anywhere;
}
.money {
  direction:ltr;
  unicode-bidi:isolate;
  display:block;
  font-variant-numeric:tabular-nums;
  font:600 13px/1.8 'Segoe UI',sans-serif;
  overflow-wrap:anywhere;
}
.currency {
  font-weight:400;
  font-size:12px;
}
.row-attention {
  font-size:12px;
  color:var(--warn);
}
.pagination {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  padding:15px 18px;
  font-size:13px;
  color:var(--muted);
  flex-wrap:wrap;
}
.pagination button {
  min-width:70px;
  font-size:13px;
}
.detail {
  background:var(--inset);
  border-inline-start:1px solid var(--line);
  min-width:0;
}
.detail-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:17px 20px 13px;
  border-bottom:1px solid var(--line);
}
.detail-heading h2 {
  font-size:18px;
  overflow-wrap:anywhere;
  max-width:100%;
}
.detail-body {
  padding:17px 20px;
}
.detail-placeholder {
  font-size:14px;
  line-height:1.9;
  max-width:29ch;
}
.detail-account {
  padding-bottom:17px;
}
.detail-account bdi {
  display:block;
  font-size:15px;
  font-weight:700;
}
.detail-account small {
  display:block;
  color:var(--muted);
  font-size:12px;
  margin-top:3px;
}
.states-pair {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  padding-bottom:16px;
}
.states-pair small {
  display:block;
  color:var(--muted);
  font-size:12px;
  margin-bottom:5px;
}
.detail h3 {
  margin:18px 0 8px;
}
.detail h3:first-child {
  margin-top:0;
}
dl {
  margin:0;
}
dl>div {
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:baseline;
  padding:5px 0;
}
dt {
  font-size:12px;
  color:var(--muted);
  flex-shrink:0;
}
dd {
  margin:0;
  font-size:13px;
  overflow-wrap:anywhere;
  text-align:left;
}
.terms-total {
  border-top:1px solid var(--line);
  padding-top:10px;
  margin-top:7px;
}
.terms-total dd {
  color:var(--accent-ink);
  font-weight:700;
  font-size:16px;
}
.terms-note {
  font-size:12px;
  color:var(--muted);
  line-height:1.9;
  margin-top:5px;
}
.evidence {
  border-top:1px solid var(--line);
  margin-top:19px;
  padding-top:1px;
}
.timeline {
  list-style:none;
  padding:0;
  margin:0;
}
.timeline li {
  display:grid;
  grid-template-columns:7px 1fr;
  gap:9px;
  margin:0;
  padding-bottom:13px;
  font-size:12px;
  overflow-wrap:anywhere;
}
.timeline li:before {
  content:'';
  background:var(--accent);
  border-radius:50%;
  width:6px;
  height:6px;
  margin-top:7px;
}
.timeline small {
  display:block;
  color:var(--muted);
  font-size:12px;
  margin-top:2px;
}
.detail form {
  margin-top:18px;
}
.detail textarea {
  background:var(--surface);
}
.detail .notice {
  font-size:12px;
  padding:9px 10px;
  margin-top:12px;
}
.detail button.full {
  margin-top:12px;
}
.detail .field-help {
  line-height:1.9;
}
.note-item {
  font-size:13px;
  padding:11px 0;
  border-bottom:1px solid var(--line);
  white-space:pre-wrap;
  overflow-wrap:anywhere;
}
.note-item small {
  display:block;
  font-size:12px;
  color:var(--muted);
  margin-top:5px;
}
.empty-state {
  padding:47px 24px;
  text-align:center;
}
.empty-state h3 {
  font-size:18px;
  margin-bottom:8px;
}
.empty-state p {
  color:var(--muted);
  font-size:14px;
  max-width:48ch;
  margin:0 auto 16px;
  line-height:1.9;
}
.empty-state button {
  margin:0 4px;
}
.loading-state {
  padding:20px;
}
.loading-state p {
  color:var(--muted);
  font-size:13px;
  margin-top:13px;
}
.skeleton {
  height:40px;
  margin-bottom:12px;
  background:var(--bg);
  border-radius:6px;
}
.loading-state .skeleton:nth-child(2) {
  width:86%;
}
.loading-state .skeleton:nth-child(3) {
  width:94%;
}
.inline-filter {
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  margin-bottom:18px;
}
.inline-filter label {
  margin:0;
}
.inline-filter select {
  width:auto;
  min-width:150px;
}
.form-panel {
  padding:23px 25px;
}
.panel-heading {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
}
.settings-layout {
  display:grid;
  grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr);
  gap:22px;
  align-items:start;
}
.settings-aside {
  min-width:0;
}
.settings-aside form button {
  margin-top:18px;
}
.quiet-section {
  padding:20px 5px;
}
.quiet-section p {
  font-size:13px;
  line-height:1.9;
  margin-top:6px;
}
.quiet-section button {
  margin-top:8px;
}
.form-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:0 20px;
}
.form-grid>div {
  min-width:0;
}
.switches {
  margin:20px 0 0;
  padding:0 0 16px;
  border:0;
  border-bottom:1px solid var(--line);
}
.switches legend {
  font-weight:700;
  font-size:14px;
  padding:0;
  margin-bottom:5px;
}
.check-row {
  display:flex;
  gap:9px;
  align-items:flex-start;
  font-weight:400;
  margin:9px 0;
  cursor:pointer;
}
.check-row input {
  margin:3px 0 0;
}
.preview-content {
  border-top:1px solid var(--line);
  margin-top:22px;
  padding-top:17px;
}
.preview-content h3 {
  margin-bottom:8px;
}
.preview-content p {
  font-size:13px;
  line-height:1.9;
}
.preview-content ul {
  padding-inline-start:22px;
  font-size:13px;
  line-height:1.9;
}
.preview-content table {
  margin-top:12px;
  font-size:13px;
}
.preview-content td,.preview-content th {
  padding:9px 10px;
}
.credential-status {
  padding:15px 0;
  border-bottom:1px solid var(--line);
}
.credential-status h3 {
  margin-bottom:7px;
}
.security-layout {
  display:grid;
  grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);
  gap:22px;
  align-items:start;
}
.session {
  padding:17px 0;
  border-bottom:1px solid var(--line);
}
.session:first-child {
  padding-top:10px;
}
.session:last-child {
  margin-bottom:14px;
}
.session .panel-heading {
  align-items:flex-start;
}
.session h3 {
  overflow-wrap:anywhere;
}
.session dl {
  margin-top:8px;
}
.session button {
  font-size:12px;
  min-height:36px;
}
.report-group {
  margin-bottom:22px;
}
.report-group h2 {
  font-size:18px;
  padding:17px 20px;
  border-bottom:1px solid var(--line);
}
.report-group .section-footnote {
  padding:0 20px 16px;
  margin:0;
}
.report-group table td {
  font-size:14px;
}
.report-group th:first-child {
  width:40%;
}
.method-list {
  overflow:hidden;
}
.method-row {
  padding:23px 25px;
  display:grid;
  grid-template-columns:150px 1fr auto;
  gap:18px;
  align-items:start;
}
.method-row+.method-row {
  border-top:1px solid var(--line);
}
.method-row h2 {
  font-size:19px;
}
.method-row p {
  color:var(--muted);
  font-size:14px;
  line-height:1.9;
  max-width:70ch;
}
.method-row .text-button {
  padding:0;
  min-height:35px;
  margin-top:6px;
}
.diagnostic-section {
  margin-bottom:22px;
}
.diagnostic-section h2 {
  padding:18px 22px;
  border-bottom:1px solid var(--line);
}
.diagnostic-list {
  padding:13px 22px;
}
.diagnostic-list dl>div {
  padding:10px 0;
  border-bottom:1px solid var(--line);
}
.diagnostic-list dl>div:last-child {
  border:0;
}
.diagnostic-list dt {
  font-size:14px;
}
.diagnostic-list dd {
  font-size:14px;
}
.audit-table {
  table-layout:fixed;
}
.audit-table th:first-child {
  width:160px;
}
.audit-table td {
  overflow-wrap:anywhere;
}
.audit-details {
  margin-top:5px;
  color:var(--muted);
  font-size:12px;
  white-space:pre-wrap;
  max-width:70ch;
}
.audit-table .cell-secondary {
  font-size:13px;
}
dialog {
  width:min(calc(100% - 32px),430px);
  padding:25px;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:var(--surface);
  color:var(--ink);
  max-height:calc(100dvh - 32px);
  overflow:auto;
}
dialog::backdrop {
  background:rgba(41,35,49,.34);
}
dialog .notice {
  margin-top:15px;
}
dialog button.full {
  margin-top:20px;
}
[hidden] {
  display:none!important;
}
@media(min-width:1600px) {
  .content-grid {
    grid-template-columns:minmax(0,1fr) 365px;
  }
}
@media(max-width:1260px) {
  .topbar {
    flex-wrap:wrap;
    gap:4px 20px;
    padding-top:12px;
  }
  .topbar .primary-nav {
    order:3;
    flex-basis:100%;
    justify-content:flex-start;
    padding:5px 0 9px;
  }
  .topbar .primary-nav a {
    padding-inline:13px;
  }
  .content-grid {
    grid-template-columns:minmax(0,1fr) 310px;
  }
  .detail-body {
    padding-inline:17px;
  }
  .operation-table td {
    padding:13px 11px;
  }
  .operation-table th {
    padding-inline:11px;
  }
  .filters select {
    max-width:160px;
  }
  .search-field {
    flex-basis:250px;
  }
}
@media(max-width:1000px) {
  main {
    padding:23px 20px;
  }
  .topbar {
    padding-inline:20px;
  }
  .content-grid {
    grid-template-columns:1fr;
  }
  .detail {
    border-inline-start:0;
    border-top:1px solid var(--line);
  }
  .detail-body {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:0 28px;
  }
  .detail-body>.detail-account,.detail-body>.states-pair {
    grid-row:1;
  }
  .detail-body>.terms-section {
    grid-column:1;
  }
  .detail-body>.evidence {
    grid-column:2;
    grid-row:2/5;
    margin-top:0;
    border-top:0;
  }
  .detail-body>.detail-actions,.detail-body>.notes-section,.detail-body>.notice {
    grid-column:1/-1;
  }
  .detail-placeholder {
    grid-column:1/-1;
    max-width:100%;
  }
  .settings-layout {
    grid-template-columns:minmax(0,1.3fr) minmax(250px,1fr);
    gap:16px;
  }
  .form-panel {
    padding:20px;
  }
  .form-grid {
    grid-template-columns:1fr;
  }
  .app-footer {
    padding-inline:20px;
  }
  .security-layout {
    gap:16px;
  }
  .filters .search-field {
    flex-basis:100%;
  }
  .filters select {
    flex:1;
    max-width:none;
  }
}
@media(max-width:720px) {
  .topbar {
    padding:13px 15px 0;
    gap:7px 10px;
  }
  .brand {
    font-size:19px;
  }
  .brand small {
    font-size:12px;
    padding-inline-start:6px;
  }
  .top-account {
    gap:6px;
    font-size:12px;
  }
  .top-account .text-button {
    font-size:12px;
    padding-inline:4px;
    min-height:36px;
  }
  #current-user {
    max-width:92px;
  }
  .topbar .primary-nav {
    flex-wrap:wrap;
    gap:4px;
    padding-block:6px 10px;
  }
  .topbar .primary-nav a {
    font-size:13px;
    min-height:38px;
    padding:5px 10px;
    flex:0 0 auto;
  }
  main {
    padding:20px 14px 26px;
  }
  .page-heading {
    margin-bottom:17px;
    gap:10px;
  }
  h1 {
    font-size:26px;
  }
  .page-heading p {
    font-size:13px;
    max-width:34ch;
  }
  .page-heading #refresh {
    padding-inline:10px;
    font-size:13px;
  }
  .page-heading #refresh svg {
    width:16px;
  }
  .synthetic-banner {
    padding:10px 15px;
    font-size:12px;
    text-align:right;
  }
  .gate-strip {
    gap:7px 12px;
  }
  .gate-item {
    font-size:12px;
  }
  .filters {
    padding:13px;
    gap:8px;
  }
  .filters select {
    font-size:12px;
    flex-basis:calc(50% - 4px);
  }
  .filters select#operation-environment {
    flex-basis:40%;
  }
  .filters button {
    font-size:12px;
  }
  .list-meta {
    padding:0 14px 11px;
    flex-wrap:wrap;
    gap:4px;
  }
  .operation-table thead {
    position:absolute;
    width:1px;
    height:1px;
    clip-path:inset(50%);
    overflow:hidden;
  }
  .operation-table,.operation-table tbody {
    display:block;
  }
  .operation-table tr {
    display:grid;
    grid-template-columns:1fr 1fr;
    padding:13px 14px;
    gap:9px 16px;
    border-bottom:1px solid var(--line);
  }
  .operation-table td {
    display:block;
    border:0;
    padding:0;
    min-width:0!important;
    font-size:13px;
  }
  .operation-table td:first-child {
    grid-column:1/-1;
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    align-items:start;
    gap:2px 12px;
  }
  .operation-table td:first-child .record-btn {
    text-align:right;
    max-width:none;
    min-height:30px;
    justify-self:start;
  }
  .operation-table td:first-child .cell-secondary {
    margin:0;
  }
  .operation-table td:first-child .cell-secondary:last-child {
    grid-column:1/-1;
    font-size:11px;
  }
  .operation-table td:not(:first-child):before {
    content:attr(data-label);
    display:block;
    font-size:12px;
    color:var(--muted);
    margin-bottom:2px;
  }
  .operation-table td:last-child {
    grid-column:1/-1;
    display:flex;
    align-items:baseline;
    gap:8px;
    font-size:12px;
  }
  .operation-table td:last-child:before {
    margin:0;
  }
  .operation-table .money {
    font-size:13px;
    display:inline-block;
  }
  .operation-table .cell-secondary {
    margin-top:2px;
  }
  .operation-table tr.selected {
    background:var(--inset);
  }
  .operation-table tr.selected td {
    background:transparent;
  }
  .detail-body {
    display:block;
    padding:17px 18px;
  }
  .detail-heading {
    padding:15px 17px;
  }
  .detail-heading h2 {
    font-size:18px;
  }
  .detail-body>.evidence {
    border-top:1px solid var(--line);
    margin-top:18px;
  }
  .detail-body .detail-placeholder {
    max-width:none;
  }
  .content-grid.mobile-detail .list-pane {
    display:none;
  }
  .content-grid.mobile-detail .detail {
    border-top:0;
  }
  .content-grid:not(.mobile-detail) .detail {
    display:none;
  }
  .content-grid.mobile-detail #close-detail {
    display:inline-flex;
    font-size:12px;
    padding:5px;
    min-height:40px;
    flex-shrink:0;
  }
  .content-grid.mobile-detail .detail-heading h2 {
    font-size:16px;
    max-width:55%;
  }
  .settings-layout,.security-layout {
    grid-template-columns:1fr;
    gap:18px;
  }
  .form-grid {
    grid-template-columns:1fr 1fr;
    gap:0 14px;
  }
  .form-panel {
    padding:20px 18px;
  }
  .panel-heading h2 {
    font-size:18px;
  }
  .section-footnote {
    font-size:12px;
  }
  .app-footer {
    padding-inline:15px;
    font-size:11px;
    flex-wrap:wrap;
  }
  .empty-state {
    padding:35px 20px;
  }
  .report-group h2 {
    padding:15px 17px;
  }
  .report-group td,.report-group th {
    padding:12px 13px;
    font-size:12px;
  }
  .method-row {
    padding:20px 18px;
    grid-template-columns:1fr auto;
    gap:8px 12px;
  }
  .method-row>div:nth-child(2) {
    grid-column:1/-1;
    grid-row:2;
  }
  .method-row p {
    font-size:13px;
  }
  .method-row .pill {
    justify-self:end;
  }
  .audit-table {
    display:block;
  }
  .audit-table thead {
    position:absolute;
    clip-path:inset(50%);
    height:1px;
    width:1px;
    overflow:hidden;
  }
  .audit-table tbody,.audit-table tr,.audit-table td {
    display:block;
  }
  .audit-table tr {
    padding:14px 17px;
    border-bottom:1px solid var(--line);
  }
  .audit-table td {
    padding:3px 0;
    border:0;
    font-size:13px;
  }
  .audit-table td:before {
    content:attr(data-label);
    color:var(--muted);
    font-size:12px;
    margin-inline-end:8px;
  }
  .audit-details {
    margin-top:4px;
    font-size:12px;
  }
  .diagnostic-list {
    padding-inline:17px;
  }
  .diagnostic-list dl>div {
    flex-wrap:wrap;
    gap:4px 12px;
  }
  .diagnostic-list dt,.diagnostic-list dd {
    font-size:13px;
  }
  .auth-screen {
    padding:25px 15px;
  }
  .auth-panel {
    padding:25px 23px;
  }
  .auth-brand {
    font-size:25px;
  }
  .pagination {
    padding-inline:14px;
  }
  .quiet-section {
    padding:0 4px 6px;
  }
}
@media(max-width:390px) {
  .brand small {
    display:block;
    padding:3px 0 0;
    text-align:right;
  }
  .top-account {
    gap:4px;
  }
  #current-user {
    max-width:74px;
  }
  .topbar .primary-nav a {
    padding-inline:8px;
  }
  .page-heading p {
    max-width:27ch;
  }
  .page-heading #refresh {
    padding-inline:8px;
    gap:5px;
  }
  .form-grid {
    grid-template-columns:1fr;
  }
  .auth-panel {
    padding:23px 19px;
  }
  .form-panel {
    padding:18px 16px;
  }
  .filters select {
    padding-inline:7px;
  }
  .operation-table tr {
    gap:9px 12px;
  }
  .operation-table td:first-child {
    grid-template-columns:1fr;
  }
  .operation-table td:first-child .cell-secondary:last-child {
    grid-column:auto;
  }
  .detail-heading h2 {
    max-width:49%!important;
  }
  .form-actions button {
    min-width:130px;
  }
  .gate-strip {
    gap:5px 10px;
  }
}
@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto;
  }
  *,*:before,*:after {
    transition:none!important;
    animation:none!important;
  }
}
