.xinpu-review {
  --review-ink: #203043;
  --review-muted: #506278;
  --review-border: #cfd9e5;
  --review-surface: #fff;
  --review-tint: #eaf0f7;
  --review-accent: #23557e;
  --review-negative: #9d232b;
  color: var(--review-ink);
}
.xinpu-review :is(a, button, input, select, textarea, summary):focus-visible {
  outline: 2px solid var(--review-accent);
  outline-offset: 2px;
}
.xinpu-review .card { border-radius: var(--surface-radius); border-color: var(--review-border); background-color: var(--review-surface); }
.xinpu-review #xinpu-clock { font-variant-numeric: tabular-nums; white-space: nowrap; }
.xinpu-table-menu { position: relative; }
.xinpu-table-menu summary { cursor: pointer; }
.xinpu-table-menu div {
  position: absolute;
  inset: 100% 0 auto auto;
  z-index: 15;
  min-width: min(15rem, 85vw);
  padding: .4rem;
  background: var(--review-surface);
  border: 1px solid var(--review-border);
  border-radius: var(--surface-radius);
  box-shadow: 0 4px 12px #20304325;
}
.xinpu-table-menu div a { display: block; color: var(--review-ink); padding: .45rem; }
.xinpu-table-menu a:hover { background: var(--review-tint); }
.xinpu-review #domain-table > thead > tr > th { background: #203f5a; color: #fff; }
.xinpu-review #domain-table > tbody > tr > th[data-grid-identity] { background: #eef4f9; color: #243e56; }
.xinpu-review #domain-table > thead > tr > th[data-grid-identity] { background: #bfd8ee; color: #163653; }
.xinpu-review :is(#domain-table,.domain-footer-table) th[data-grid-identity="2"] { border-right: 2px solid #7897b1; }
.xinpu-review :is(#domain-table,.domain-footer-table) > tfoot th[data-grid-identity] { background: #e2e8f0; }
.xinpu-review .domain-value[data-negative] { color: var(--review-negative); font-weight: 700; }
.xinpu-review .domain-value[data-input-kind="quantity"] { width: 5em; }
.xinpu-panels, .xinpu-floor-range { display: flex; flex-wrap: wrap; gap: .5rem 1rem; padding-block: .5rem; }
.xinpu-panels button[aria-pressed="true"] { background: var(--review-accent); color: white; }
[data-entry-panel][hidden], #entry-workflow[hidden] { display: none; }

.xinpu-review #domain-table > thead > tr > th button { background: #f2f6fa; color: #203f5a; }
.xinpu-review #domain-table > tbody > tr > td { background: #fff; }
@media (min-width: 1024px) {
 .xinpu-review #domain-table :is(th,td) { padding-block: .25rem; }
 .xinpu-review #domain-table .domain-value { min-height: 2rem; padding-block: .15rem; }
}
@media (pointer: coarse), (max-width: 720px) {
 .xinpu-review :is(.xinpu-panels,#entry-root,#vendor-daily-root) :is(button,input,select) { min-height: 44px; }
}

.xinpu-review #domain-table > thead > tr > th[data-grid-active],
.xinpu-review #domain-table > tbody > tr > th[data-grid-active] {
  background: #ffe08a;
  color: #253648;
}
.xinpu-review #domain-table .domain-cell[data-grid-active] {
  box-shadow: inset 0 0 0 2px #785100;
  background: #ffe08a;
  color: #253648;
}
.xinpu-review #domain-table .domain-cell :focus-visible {
  outline: 2px solid #1d6194;
  outline-offset: 1px;
}

.xinpu-table-menu a[aria-current="page"] { color: var(--review-ink); font-weight: 700; background: var(--review-tint); }
@media (max-width: 600px) { .xinpu-table-menu div { inset-inline: 0 auto; } }

#xinpu-back-to-top {
 position: fixed;
 inset-inline-end: calc(.75rem + env(safe-area-inset-right, 0px));
 inset-block-end: calc(.75rem + env(safe-area-inset-bottom, 0px));
 z-index: 20;
 min-block-size: 44px;
 padding: .45rem .7rem;
 border: 1px solid var(--review-accent);
 border-radius: var(--surface-radius,.45rem);
 background: var(--review-surface);
 color: var(--review-accent);
 font-weight: 650;
}
#xinpu-back-to-top[hidden], .xinpu-review:has(dialog[open]) #xinpu-back-to-top { display: none; }
.xinpu-review .sheet-bidirectional-floating-navigation { bottom: calc(4.25rem + env(safe-area-inset-bottom, 0px)); }
@media print { #xinpu-back-to-top { display: none; } }
