@font-face {
  font-family: Vazir;
  src: url("/gas/assets/vazirmatn.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --bg: #f5f6fa;
  --ink: #25304a;
  --muted: #64718b;
  --line: #e8ecf4;
  --blue: #4162ef;
  --soft: #edf1ff;
  --sidebar: 270px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font:
    14px/1.85 Vazir,
    Tahoma,
    sans-serif;
}
button,
input,
select,
textarea {
  font: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
  border: 0;
}
button,
a,
input,
select,
textarea {
  outline-offset: 4px;
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid #9cb2ff;
}
svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  vertical-align: middle;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: 27px;
  line-height: 1.6;
  letter-spacing: -0.7px;
  margin-bottom: 7px;
  font-weight: 750;
}
h2 {
  font-size: 16px;
  margin: 0;
  font-weight: 700;
}
h3 {
  font-size: 15px;
  margin: 24px 0 12px;
}
small {
  font-size: 12px;
}
/* Application frame */
#nav {
  position: fixed;
  inset: 0 0 0 auto;
  width: var(--sidebar);
  z-index: 40;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-left: 1px solid var(--line);
  padding: 27px 17px 14px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 12px 26px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -1px;
}
.brand > span {
  display: grid;
  place-items: center;
  width: 43px;
  height: 49px;
  border-radius: 14px;
  background: var(--blue);
  color: white;
  box-shadow: 0 5px 12px #4162ef26;
}
.brand svg {
  width: 25px;
  height: 29px;
}
.brand-subtitle {
  display: block;
  font-size: 11px;
  color: var(--muted);
  font-weight: 400;
  letter-spacing: 0;
}
.brand > small {
  margin-right: auto;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: 10px/1.8 sans-serif;
  padding: 1px 5px;
  color: #9aa2b5;
}
.workspace-card {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  background: #fcfcfe;
  border-radius: 12px;
  padding: 12px;
  margin: 0 5px 20px;
}
.workspace-icon {
  display: grid;
  place-items: center;
  border: 1px solid #e4e8f6;
  border-radius: 9px;
  background: white;
  width: 35px;
  height: 37px;
  color: #6474aa;
}
.workspace-icon svg {
  width: 18px;
}
.workspace-card strong {
  display: block;
  font-size: 12px;
}
.workspace-card small {
  display: block;
  color: var(--muted);
  font-size: 10px;
}
.workspace-dot,
.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #20ac86;
  border-radius: 50%;
  flex-shrink: 0;
}
.workspace-dot {
  margin-right: auto;
  box-shadow: 0 0 0 4px #e6f7f1;
}
#nav nav {
  flex: 1;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: #dce1ef transparent;
  padding: 0 3px;
}
.nav-label {
  font-size: 10px;
  font-weight: 600;
  color: #929bb1;
  margin: 0 12px 10px;
}
.nav-label-modules {
  margin-top: 23px;
  display: flex;
  justify-content: space-between;
}
.nav-label span {
  font-weight: 400;
  font-size: 9px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 43px;
  padding: 9px 12px;
  margin: 3px 0;
  border-radius: 9px;
  color: #687188;
  font-size: 12px;
  transition:
    background 0.15s,
    color 0.15s;
}
.nav-item > svg {
  width: 18px;
  height: 18px;
  color: #8791aa;
}
.nav-item:hover {
  background: #f5f7fc;
  color: var(--blue);
}
.nav-item.active {
  background: var(--soft);
  color: var(--blue);
  font-weight: 700;
}
.nav-item.active > svg {
  color: var(--blue);
}
.nav-item em {
  margin-right: auto;
  min-width: 22px;
  text-align: center;
  font-style: normal;
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 5px;
  background: #f0f2f7;
  color: #8992a7;
}
.nav-item.active em {
  background: #dce5ff;
  color: var(--blue);
}
#nav details {
  margin: 7px 0;
}
#nav summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  color: #525e79;
  font-size: 12px;
  font-weight: 550;
}
#nav summary::-webkit-details-marker {
  display: none;
}
#nav summary > svg {
  width: 18px;
  color: #8a95ad;
}
#nav summary small {
  margin-right: auto;
  font-size: 10px;
  color: #98a0b4;
}
#nav summary:after {
  content: "⌄";
  color: #9ca6bb;
}
#nav details[open] > summary:after {
  transform: rotate(180deg);
}
.nav-children {
  border-right: 1px solid #e7ebf4;
  margin: 0 20px 9px 2px;
  padding-right: 9px;
}
.nav-children .nav-item {
  font-size: 11px;
  min-height: 34px;
  padding: 7px 10px;
}
.nav-item i {
  font: 9px monospace;
  margin-right: auto;
  color: #a4adbf;
}
.nav-bottom {
  border-top: 1px solid var(--line);
  padding-top: 10px;
  margin-top: 12px;
}
.sidebar-footnote {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px 2px;
  font-size: 10px;
  color: #8993a8;
}
.sidebar-footnote small {
  margin-right: auto;
  font: 10px sans-serif;
  color: #b0b7c7;
}
.shell {
  margin-right: var(--sidebar);
  min-width: 0;
}
#top {
  height: 79px;
  background: #ffffffed;
  border-bottom: 1px solid var(--line);
  padding: 0 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
}
.top-right,
.top-left {
  display: flex;
  align-items: center;
  gap: 15px;
  min-width: 0;
}
.breadcrumb-home {
  font-size: 12px;
  color: #8a93a8;
}
.breadcrumb-divider {
  color: #c7cddd;
  font-size: 12px;
}
.top-right b {
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.header-search {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  color: #707d97;
  background: #f6f7fb;
  border: 1px solid #eef0f7;
  border-radius: 8px;
  padding: 8px 13px;
}
.header-search svg {
  width: 16px;
}
.header-separator {
  height: 26px;
  width: 1px;
  background: var(--line);
}
.profile-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: #edf0ff;
  color: #5268cf;
  font-size: 16px;
  font-weight: 750;
}
.profile-info {
  font-size: 11px;
  line-height: 1.7;
}
.profile-info small {
  display: block;
  font-size: 9px;
  color: #99a2b6;
}
.icon {
  display: inline-grid;
  place-items: center;
  width: 35px;
  height: 35px;
  background: white;
  color: #8490aa;
  border: 1px solid var(--line);
  border-radius: 9px;
  flex-shrink: 0;
}
.icon:hover {
  background: var(--soft);
  color: var(--blue);
}
.icon svg {
  width: 17px;
  height: 17px;
}
.mobile-toggle {
  display: none;
}
main {
  max-width: 1760px;
  margin: auto;
  padding: 30px 34px 38px;
  min-height: calc(100vh - 145px);
}
.heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 22px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #909ab0;
  font-size: 10px;
  margin-bottom: 8px;
}
.eyebrow > span {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #a8b2c7;
}
.heading p {
  color: #6b7890;
  font-size: 12px;
  margin: 0;
  max-width: 780px;
}
.heading-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex-shrink: 0;
}
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  padding: 10px 15px;
  min-height: 38px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.7;
  transition:
    background 0.15s,
    box-shadow 0.15s;
}
.btn svg {
  width: 16px;
  height: 16px;
}
.btn.primary,
.btn.light {
  background: var(--blue);
  color: white;
  box-shadow: 0 3px 7px #4162ef14;
}
.btn.primary:hover,
.btn.light:hover {
  background: #304bd0;
  box-shadow: 0 4px 12px #4162ef30;
}
.btn.secondary {
  background: white;
  border-color: #e1e6f1;
  color: #67748f;
}
.btn.secondary:hover {
  border-color: #c1cdf7;
  background: #f6f8ff;
  color: var(--blue);
}
.btn:disabled {
  opacity: 0.5;
  cursor: wait;
}
.context {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding: 12px 15px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  min-width: 0;
}
.context label {
  display: flex;
  gap: 8px;
  align-items: center;
  color: #707d97;
  font-size: 10px;
}
.context label + label {
  padding-right: 14px;
  border-right: 1px solid var(--line);
}
.context select {
  max-width: 210px;
  border: 0;
  background: #f7f8fc;
  padding: 5px 9px;
  border-radius: 6px;
  color: #596982;
  font-size: 11px;
}
.context > span {
  margin-right: auto;
  font-size: 10px;
  color: #8c96ab;
  white-space: nowrap;
}
/* Dashboard */
.hero {
  margin-bottom: 23px;
}
.overview-banner {
  background: #ebefff;
  border: 1px solid #e0e6ff;
  border-radius: 15px;
  padding: 26px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  position: relative;
  overflow: hidden;
  background-image: radial-gradient(ellipse at 0 0, #f9faff, transparent 65%);
}
.overview-tag {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #7b89b9;
  font-size: 10px;
  margin-bottom: 11px;
}
.overview-tag .status-dot {
  width: 5px;
  height: 5px;
  background: #6481ef;
}
.overview-banner h2 {
  font-size: 26px;
  color: #293c83;
  font-weight: 750;
  letter-spacing: -0.7px;
  margin-bottom: 6px;
}
.overview-banner p {
  font-size: 12px;
  color: #7987af;
  margin-bottom: 14px;
}
.overview-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  font-weight: 650;
  color: #4b66cb;
}
.overview-link svg {
  width: 15px;
}
.overview-summary {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 18px 23px;
  background: #ffffffa3;
  border: 1px solid white;
  border-radius: 13px;
  min-width: 270px;
  position: relative;
}
.overview-summary strong {
  font-size: 28px;
  line-height: 1.5;
  color: #3d53a4;
  font-weight: 650;
}
.overview-summary strong small {
  display: block;
  font-size: 10px;
  color: #94a0c1;
  font-weight: 400;
}
.overview-symbol {
  width: 49px;
  height: 57px;
  border-radius: 13px;
  background: #e9eeff;
  color: #6882e5;
  display: grid;
  place-items: center;
}
.overview-symbol svg {
  width: 27px;
  height: 32px;
}
.demo-label {
  position: absolute;
  top: -10px;
  left: 13px;
  border-radius: 5px;
  padding: 1px 7px;
  background: white;
  font-size: 9px;
  color: #8494bf;
  border: 1px solid #e2e8fb;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 17px;
  margin-bottom: 24px;
}
.metrics article {
  background: white;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 18px 20px;
  min-width: 0;
}
.metric-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #6e7d97;
  font-size: 12px;
}
.metric-icon {
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  border-radius: 10px;
}
.metric-icon svg {
  width: 18px;
  height: 18px;
}
.tone-0 {
  background: #eef1ff;
  color: #627ceb;
}
.tone-1 {
  background: #e8f8f3;
  color: #29a983;
}
.tone-2 {
  background: #fff5e5;
  color: #cf9a3c;
}
.tone-3 {
  background: #f3edff;
  color: #9571d9;
}
.metrics strong {
  display: block;
  font-size: 28px;
  font-weight: 700;
  margin: 8px 0 5px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.metrics strong small {
  font-size: 10px;
  font-weight: 400;
  color: #a1a9bb;
}
.metrics p {
  font-size: 11px;
  color: #7a879f;
  margin: 0;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 22px;
}
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 15px;
  overflow: hidden;
  min-width: 0;
  margin-bottom: 23px;
}
.panel-head {
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #f0f2f7;
  min-height: 67px;
}
.panel-head h2 {
  font-size: 13px;
}
.text-link {
  font-size: 10px;
  color: #7182b9;
  display: inline-flex;
  gap: 8px;
  align-items: center;
}
.text-link svg {
  width: 13px;
  height: 13px;
}
.text-link:hover {
  color: var(--blue);
}
.chart-summary {
  padding: 18px 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.chart-summary small {
  display: block;
  font-size: 10px;
  color: #78869e;
}
.chart-summary strong {
  display: block;
  font-size: 23px;
  margin-top: 5px;
  font-weight: 650;
}
.chart-summary strong small {
  display: inline;
  font-weight: 400;
}
.collection-rate {
  font-size: 18px;
  color: #24a383;
  background: #ecf9f4;
  padding: 7px 13px;
  border-radius: 9px;
  text-align: center;
}
.collection-rate small {
  font-size: 9px;
  color: #71b69f;
}
.billing-bars {
  padding: 21px 24px 8px;
  display: grid;
  gap: 17px;
}
.bar-caption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 8px;
}
.bar-caption > span {
  font-size: 10px;
  color: #6f809a;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.bar-caption strong {
  font-size: 11px;
  color: #67758f;
  font-weight: 500;
  flex-shrink: 0;
}
.bar-caption small {
  font-size: 9px;
}
.bar-track {
  height: 7px;
  background: #f3f5fb;
  border-radius: 5px;
  overflow: hidden;
  direction: rtl;
}
.bar-total {
  height: 100%;
  display: block;
  background: #8da2f4;
  border-radius: 5px;
  min-width: 2px;
}
.bar-paid {
  display: block;
  height: 100%;
  background: #30b28e;
  border-radius: 5px;
}
.chart-legend {
  display: flex;
  gap: 18px;
  padding: 14px 24px 19px;
  color: #9ba4b7;
  font-size: 9px;
}
.chart-legend > span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.legend-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 3px;
  flex-shrink: 0;
}
.legend-dot.billed {
  background: #8da2f4;
}
.legend-dot.approved {
  background: #30b28e;
}
.legend-dot.exception {
  background: #edaf52;
}
.legend-dot.pending {
  background: #dce3f5;
}
.quality-overview {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 36px 20px 30px;
  min-height: 250px;
}
.quality-ring {
  height: 150px;
  width: 150px;
  border-radius: 50%;
  background: conic-gradient(
    #30b28e 0 var(--approved),
    #edaf52 var(--approved) var(--exceptions),
    #e5eafa var(--exceptions) 100%
  );
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transform: rotate(-90deg);
}
.quality-ring > div {
  height: 124px;
  width: 124px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background: white;
  border-radius: 50%;
  transform: rotate(90deg);
}
.quality-ring strong {
  font-size: 32px;
  font-weight: 650;
  line-height: 1.6;
}
.quality-ring small {
  font-size: 10px;
  color: #9ca6bc;
}
.quality-legend {
  display: grid;
  gap: 17px;
  min-width: 120px;
}
.quality-legend > div {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  color: #71809a;
}
.quality-legend strong {
  margin-right: auto;
  font-weight: 600;
  color: #687992;
  padding-right: 14px;
}
.quality-action {
  border-top: 1px solid #f0f2f7;
  margin: 0 22px;
  padding: 16px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #7588ba;
  font-size: 11px;
}
.quality-action > span {
  display: flex;
  gap: 8px;
  align-items: center;
}
.quality-action svg {
  width: 16px;
}
.quick-access {
  margin-bottom: 25px;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.section-heading h2 {
  font-size: 14px;
}
.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.quick-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 15px;
  transition:
    border-color 0.15s,
    transform 0.15s;
  min-width: 0;
}
.quick-card:hover {
  border-color: #c0cef8;
  transform: translateY(-2px);
}
.quick-icon {
  width: 36px;
  height: 39px;
  display: grid;
  place-items: center;
  background: #f2f5ff;
  color: #7c91d7;
  border-radius: 10px;
  flex-shrink: 0;
}
.quick-icon svg {
  width: 19px;
}
.quick-card strong {
  display: block;
  font-size: 11px;
  font-weight: 600;
}
.quick-card small {
  display: block;
  font-size: 9px;
  color: #a2aabc;
  margin-top: 3px;
}
.quick-card > svg {
  margin-right: auto;
  width: 13px;
  color: #b1bacf;
}
.workspace-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  color: #718099;
  padding: 0 5px;
}
.workspace-status > span:first-child {
  display: flex;
  gap: 8px;
  align-items: center;
}
/* Tables and module pages */
.table-scroll {
  overflow: auto;
  width: 100%;
  max-width: 100%;
  scrollbar-width: thin;
  scrollbar-color: #dbe1f1 transparent;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: right;
  font-size: 12px;
}
th {
  padding: 14px 20px;
  background: #fafbfe;
  color: #71819c;
  font-size: 10px;
  font-weight: 500;
  border-bottom: 1px solid #eef0f6;
  white-space: nowrap;
}
td {
  padding: 16px 20px;
  border-bottom: 1px solid #f0f2f8;
  color: #65728b;
  min-width: 85px;
  max-width: 550px;
  overflow-wrap: anywhere;
  line-height: 1.9;
}
tr:last-child td {
  border-bottom: 0;
}
tbody tr:hover {
  background: #fbfcff;
}
td small {
  display: block;
  color: #7a89a2;
  font-size: 10px;
  margin-top: 4px;
}
td .btn {
  font-size: 10px;
  padding: 5px 12px;
  min-height: 31px;
  white-space: nowrap;
  border-color: #e7ebf7;
  color: #7287c5;
}
.chip {
  display: inline-block;
  background: #f0f3fa;
  color: #7b8aac;
  border: 1px solid #e9edf6;
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 10px;
  max-width: 320px;
}
.chip.good {
  background: #edf9f3;
  border-color: #e2f3e9;
  color: #32a27c;
}
.chip.warn {
  background: #fff7e9;
  border-color: #f9edd4;
  color: #bc9146;
}
.muted {
  color: #98a3b9;
}
.empty {
  padding: 38px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  color: #a3afc5;
  font-size: 11px;
}
.empty svg {
  width: 30px;
  height: 30px;
  color: #bdc8e1;
}
.empty strong {
  font-size: 12px;
  color: #8191ac;
  font-weight: 500;
}
.note {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  background: #f0f4ff;
  border: 1px solid #e0e7fc;
  border-radius: 10px;
  padding: 13px 16px;
  font-size: 11px;
  line-height: 2;
  color: #8191b6;
  margin-bottom: 20px;
}
.note > svg {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  color: #8f9fc6;
}
.trace {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid #e1e8fa;
  background: #f0f4ff;
  border-radius: 11px;
  padding: 12px 15px;
  margin-bottom: 22px;
  font-size: 11px;
  color: #8192bd;
}
.trace b {
  display: inline-block;
  direction: ltr;
  font: 10px/1.6 monospace;
  background: white;
  color: #6a81ca;
  padding: 4px 8px;
  border-radius: 5px;
  margin-left: 9px;
}
.trace > div {
  display: flex;
  gap: 7px;
  flex-shrink: 0;
}
.trace .btn {
  background: #ffffffa8;
  border-color: #dfe7fc;
  font-size: 10px;
  min-height: 30px;
  padding: 6px 11px;
  color: #7085bd;
}
.tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: thin;
  margin-bottom: 20px;
  padding: 5px;
  background: #eaeef7;
  border: 1px solid #e4e8f3;
  border-radius: 11px;
  width: max-content;
  max-width: 100%;
}
.tabs button {
  background: none;
  white-space: nowrap;
  padding: 9px 17px;
  border-radius: 7px;
  color: #8896b0;
  font-size: 12px;
  border: 1px solid transparent;
  min-height: 38px;
}
.tabs button.active {
  background: white;
  color: #4763ba;
  border-color: #e2e7f2;
  box-shadow: 0 2px 4px #293f7610;
  font-weight: 600;
}
.tabs small {
  font-size: 9px;
  margin-right: 7px;
  background: #e2e7f1;
  color: #8896b0;
  padding: 0 5px;
  border-radius: 4px;
}
.tabs .active small {
  background: #eef2ff;
  color: #8092cc;
}
.toolbar {
  padding: 13px 19px;
  border-bottom: 1px solid #f0f2f7;
}
.toolbar label {
  display: flex;
  gap: 9px;
  align-items: center;
  background: #f8f9fd;
  border: 1px solid #edf0f8;
  border-radius: 8px;
  max-width: 380px;
  padding: 0 12px;
  color: #a4b0c6;
}
.toolbar svg {
  width: 17px;
}
.toolbar input {
  border: 0;
  background: none;
  padding: 8px 0;
  font-size: 11px;
  width: 100%;
  box-shadow: none;
}
.mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 23px;
}
.mini-grid article {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  min-width: 0;
}
.mini-grid h3 {
  margin: 0 0 9px;
}
.mini-grid strong {
  color: var(--blue);
}
.mini-grid p {
  font-size: 12px;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.analysis-filters {
  display: grid;
  grid-template-columns: 2fr 1.4fr 1fr;
  gap: 16px;
  padding: 20px;
  border-bottom: 1px solid var(--line);
}
.analysis-filters label {
  font-size: 11px;
  color: #8894ac;
}
.analysis-filters input,
.analysis-filters select {
  display: block;
  width: 100%;
  margin-top: 7px;
}
.results-count {
  padding: 13px 21px;
  font-size: 10px;
  color: #718099;
}
.requirement-title {
  font-size: 12px;
  font-weight: 550;
  max-width: 580px;
  display: block;
  line-height: 2;
}
.clamp {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #71809a;
  font-size: 10px;
  margin: 7px 0;
  max-width: 570px;
}
.latin {
  direction: ltr;
  display: inline-block;
  font: 11px/1.8 monospace;
  color: #7c8eaf;
}
.pagination {
  display: flex;
  justify-content: center;
  gap: 9px;
  padding: 19px;
  border-top: 1px solid #f1f3f9;
}
.hash {
  direction: ltr;
  display: block;
  overflow-wrap: anywhere;
  font-size: 11px;
  color: #8c9ab5;
}
details.panel {
  padding: 20px;
  font-size: 12px;
  line-height: 2.3;
}
summary {
  cursor: pointer;
}
.inline-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.architecture-note {
  display: flex;
  gap: 15px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding: 20px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 22px;
  font-size: 12px;
  color: #8091b0;
}
.architecture-note b {
  background: var(--soft);
  color: #6a82cd;
  padding: 9px 15px;
  border-radius: 8px;
}
.architecture-note p {
  width: 100%;
  text-align: center;
  margin: 0;
  font-size: 11px;
  color: #99a6bc;
}
.portal-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #eaf0ff;
  border: 1px solid #dde6ff;
  border-radius: 15px;
  padding: 26px;
  margin-bottom: 25px;
}
.portal-card > span {
  display: grid;
  place-items: center;
  background: #dbe5ff;
  border-radius: 14px;
  width: 64px;
  height: 72px;
  color: #7392e1;
}
.portal-card > span svg {
  width: 34px;
  height: 42px;
}
.portal-card h2 {
  font-size: 20px;
  margin: 6px 0;
  color: #506cab;
}
.portal-card p,
.portal-card small {
  color: #8b9dbe;
  font-size: 11px;
}
.portal-card p {
  margin: 0;
}
.portal-card .btn {
  margin-right: auto;
}
/* Journey cards */
.journey-grid,
.coverage-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.journey-card,
.coverage-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 25px;
  min-width: 0;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.journey-card:hover,
.coverage-card:hover {
  border-color: #d3dcf8;
  box-shadow: 0 5px 20px #3c548309;
}
.journey-id {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #6b85d0;
  font-size: 12px;
  margin-bottom: 15px;
}
.journey-id > span {
  background: #f4f6fd;
  padding: 3px 9px;
  border-radius: 6px;
  color: #99a5bc;
  font-size: 10px;
}
.journey-card h2,
.coverage-card h2 {
  font-size: 18px;
  margin-bottom: 11px;
}
.journey-card > p,
.coverage-card > p {
  font-size: 12px;
  color: #74839d;
  line-height: 2;
  min-height: 45px;
}
.journey-checks {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}
.journey-checks li {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 6px 0;
  font-size: 12px;
  color: #71809a;
}
.journey-checks li > span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  background: #f0f3fa;
  border-radius: 8px;
  color: #a5b1c9;
  font-size: 11px;
}
.journey-checks li.complete {
  color: #56a38a;
}
.journey-checks li.complete > span {
  background: #ecf8f2;
  color: #42ad87;
}
.journey-card .inline-actions,
.coverage-card .inline-actions {
  margin-top: 20px;
  border-top: 1px solid #f0f3f9;
  padding-top: 17px;
}
.coverage-card ul {
  padding-right: 18px;
  font-size: 12px;
  line-height: 2.4;
  min-height: 92px;
  color: #8091ad;
}
/* Forms and record details */
.backdrop {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: #1b294955;
  backdrop-filter: blur(5px);
}
.drawer,
.modal {
  position: fixed;
  z-index: 80;
  background: white;
  inset: 10px auto 10px 10px;
  width: min(790px, 94vw);
  display: flex;
  flex-direction: column;
  border: 1px solid #e9edf6;
  border-radius: 17px;
  box-shadow: 0 20px 80px #17284b26;
  overflow: hidden;
}
.modal {
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: min(720px, 94vw);
  max-height: 92dvh;
}
.drawer > header,
.modal > header {
  padding: 23px 26px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 17px;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
  background: #fcfcff;
}
.drawer header h2,
.modal header h2 {
  font-size: 18px;
  color: #3c4d70;
}
.drawer header p,
.modal header p {
  font-size: 11px;
  color: #9aa7bf;
  margin: 7px 0 0;
}
.dialog-body {
  padding: 25px 27px;
  overflow-y: auto;
  min-height: 0;
  flex: 1;
}
.dialog-actions {
  padding: 17px 25px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  background: #fbfcff;
  flex-shrink: 0;
  max-height: 190px;
  overflow-y: auto;
}
.dialog-actions .btn {
  font-size: 11px;
}
.modal form {
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 18px;
}
.field {
  min-width: 0;
}
.field.full {
  grid-column: 1/-1;
}
.field label {
  font-size: 12px;
  display: block;
  margin-bottom: 9px;
  color: #7b89a4;
}
.field label > span {
  color: #b38983;
  margin-right: 4px;
}
.field small {
  display: block;
  color: #778aa5;
  font-size: 10px;
  margin-top: 7px;
}
input,
select,
textarea {
  border: 1px solid #e0e5f1;
  background: #fcfdff;
  border-radius: 8px;
  color: #576b90;
  padding: 10px 12px;
  min-width: 0;
  font-size: 12px;
  line-height: 1.8;
}
input::placeholder,
textarea::placeholder {
  color: #acb6c9;
}
input:focus,
select:focus,
textarea:focus {
  outline: 3px solid #e9eeff;
  border-color: #92a6f1;
  background: white;
}
.field input,
.field select,
.field textarea {
  width: 100%;
}
.field textarea {
  resize: vertical;
}
.field input[type="file"] {
  font-size: 11px;
}
.form-error {
  color: #b66665;
  background: #fff3f2;
  font-size: 12px;
  border-radius: 9px;
  white-space: pre-wrap;
}
.form-error:not(:empty) {
  padding: 13px 16px;
  margin-bottom: 20px;
  border: 1px solid #f9dfdb;
}
.checks {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin: 18px 0;
}
.checks label {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #8594b1;
  font-size: 12px;
}
.checks input {
  accent-color: var(--blue);
}
.detail-callout {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}
.detail-callout small {
  color: #9ca9bf;
  font-size: 11px;
}
.record-title {
  font-size: 23px;
  color: #526888;
  line-height: 1.8;
  margin-bottom: 23px;
  overflow-wrap: anywhere;
}
.detail-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 22px 0;
  border: 1px solid var(--line);
  border-radius: 11px;
  overflow: hidden;
}
.detail-list > div {
  padding: 15px 17px;
  border-bottom: 1px solid #edf1f8;
  min-width: 0;
  background: #fcfdff;
}
.detail-list dt {
  font-size: 10px;
  color: #7586a0;
}
.detail-list dd {
  font-size: 12px;
  line-height: 2;
  color: #7387a5;
  margin: 5px 0 0;
  overflow-wrap: anywhere;
  white-space: pre-line;
}
.drawer .metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.drawer .metrics article {
  padding: 13px;
}
.drawer .metrics strong {
  font-size: 23px;
}
.drawer .metric-icon {
  width: 25px;
  height: 25px;
}
.drawer .metric-icon svg {
  width: 15px;
}
.drawer .metric-top {
  font-size: 9px;
}
.timeline {
  border-right: 1px solid #dfe7f7;
  padding-right: 11px;
  margin-right: 6px;
}
.timeline article {
  position: relative;
  padding: 4px 16px 22px;
}
.timeline article:before {
  content: "";
  position: absolute;
  top: 11px;
  right: -16px;
  width: 8px;
  height: 8px;
  background: #97ade7;
  border: 3px solid white;
  box-sizing: content-box;
  border-radius: 50%;
}
.timeline strong {
  font-size: 12px;
  font-weight: 550;
  color: #6d83a6;
}
.timeline p {
  font-size: 11px;
  color: #768ba9;
  line-height: 2;
  margin: 5px 0;
}
.timeline small {
  font-size: 10px;
  color: #acb7cb;
}
.case-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}
.case-steps span {
  font-size: 10px;
  border-radius: 6px;
  padding: 5px 9px;
  background: #f1f4fb;
  color: #a0adc6;
}
.case-steps span.done {
  background: #ebf7f1;
  color: #6aaf94;
}
.source-text {
  border: 1px solid #e4eafb;
  background: #f5f7ff;
  border-right: 3px solid #9db0ec;
  border-radius: 9px;
  padding: 18px 20px;
  font-size: 13px;
  line-height: 2.4;
  white-space: pre-line;
  color: #617a9e;
}
.source-text small {
  color: #a5b2cb;
  font-size: 11px;
}
.source-text p {
  margin: 9px 0;
}
.dialog-body li {
  font-size: 12px;
  line-height: 2.3;
  color: #8495b0;
  margin-bottom: 9px;
}
.json {
  direction: ltr;
  text-align: left;
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 320px;
  overflow: auto;
  background: #f6f8fd;
  border: 1px solid #edf0f8;
  border-radius: 9px;
  padding: 16px;
  font-size: 11px;
  line-height: 1.9;
  color: #8194b3;
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 25px;
  z-index: 100;
  max-width: min(470px, 90vw);
}
.toast {
  display: flex;
  gap: 11px;
  align-items: center;
  background: white;
  color: #6a82b1;
  border: 1px solid #dbe4f7;
  box-shadow: 0 8px 32px #2439591a;
  border-radius: 12px;
  padding: 15px 21px;
  font-size: 12px;
}
.toast > svg {
  color: #44ad8c;
}
.toast.error {
  background: #fff8f7;
  border-color: #f4dcd7;
  color: #b98278;
}
.toast.error > svg {
  color: #c78c7c;
}
.skip {
  position: fixed;
  top: -70px;
  right: 25px;
  background: white;
  padding: 10px 20px;
  border: 2px solid var(--blue);
  z-index: 110;
  border-radius: 7px;
}
.skip:focus {
  top: 10px;
}
.loading {
  text-align: center;
  padding: 100px 20px;
  color: #94a3be;
}
.shell > footer {
  text-align: center;
  color: #a4aec1;
  font-size: 10px;
  border-top: 1px solid var(--line);
  padding: 19px 25px;
  background: #f8f9fc;
}
#scrim {
  display: none;
}
/* Responsive and accessible layouts */
@media (min-width: 1700px) {
  main {
    padding: 38px 46px;
  }
  .overview-banner {
    padding: 30px 36px;
  }
  .overview-banner h2 {
    font-size: 30px;
  }
  .metrics article {
    padding: 22px 25px;
  }
}
@media (max-width: 1250px) {
  :root {
    --sidebar: 244px;
  }
  main {
    padding: 26px 23px;
  }
  #top {
    padding: 0 23px;
  }
  .header-search {
    display: none;
  }
  .quick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .quality-overview {
    gap: 17px;
    padding-inline: 15px;
  }
  .quality-ring {
    width: 125px;
    height: 125px;
  }
  .quality-ring > div {
    width: 103px;
    height: 103px;
  }
  .quality-legend {
    min-width: 108px;
  }
  .overview-summary {
    min-width: 235px;
    padding: 15px;
  }
  .metrics {
    gap: 12px;
  }
  .metrics article {
    padding: 15px;
  }
  .metrics strong {
    font-size: 25px;
  }
  .context > span {
    font-size: 9px;
  }
  .context select {
    max-width: 175px;
  }
}
@media (max-width: 1000px) {
  .overview-summary {
    display: none;
  }
  .dashboard-grid {
    grid-template-columns: 1fr 1fr;
  }
  .quality-overview {
    flex-direction: column;
    padding: 24px 15px 19px;
    gap: 20px;
  }
  .quality-legend {
    width: 100%;
    max-width: 190px;
    gap: 10px;
  }
  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .heading {
    align-items: flex-start;
  }
  .heading-actions {
    max-width: 255px;
  }
  .context {
    flex-wrap: wrap;
  }
  .context > span {
    margin-right: 0;
    flex-basis: 100%;
    padding-top: 8px;
    border-top: 1px solid #f0f2f8;
  }
  .analysis-filters {
    grid-template-columns: 1fr 1fr;
  }
  .analysis-filters label:first-child {
    grid-column: 1/-1;
  }
}
@media (max-width: 900px) {
  :root {
    --sidebar: 270px;
  }
  #nav {
    transform: translateX(100%);
    transition: transform 0.2s;
  }
  .shell {
    margin-right: 0;
  }
  .mobile-toggle {
    display: inline-grid;
  }
  #nav.open {
    transform: translateX(0);
  }
  #scrim.visible {
    display: block;
    position: fixed;
    inset: 0;
    background: #27365666;
    backdrop-filter: blur(2px);
    z-index: 35;
  }
  .heading-actions {
    max-width: none;
  }
  .quality-overview {
    flex-direction: row;
    min-height: 240px;
  }
  .quality-legend {
    max-width: 150px;
  }
  .context > span {
    margin-right: auto;
    flex-basis: auto;
    padding-top: 0;
    border-top: 0;
  }
}
@media (max-width: 650px) {
  #top {
    height: 66px;
    padding: 0 16px;
  }
  .top-right,
  .top-left {
    gap: 9px;
  }
  .breadcrumb-home,
  .breadcrumb-divider,
  .profile-info,
  .header-separator {
    display: none;
  }
  .top-right b {
    font-size: 11px;
    max-width: 190px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .top-left .icon {
    width: 31px;
    height: 31px;
  }
  .profile-mark {
    width: 31px;
    height: 31px;
    border-radius: 9px;
    font-size: 14px;
  }
  main {
    padding: 22px 16px 30px;
  }
  .heading {
    display: block;
    margin-bottom: 20px;
  }
  h1 {
    font-size: 24px;
  }
  .eyebrow {
    font-size: 9px;
    margin-bottom: 6px;
  }
  .heading p {
    font-size: 11px;
  }
  .heading-actions {
    margin-top: 15px;
  }
  .btn {
    font-size: 11px;
    padding: 9px 12px;
    min-height: 37px;
  }
  .context {
    padding: 11px 12px;
    gap: 10px;
  }
  .context label {
    display: block;
    flex: 1;
    font-size: 9px;
    min-width: 0;
  }
  .context label + label {
    padding-right: 10px;
  }
  .context select {
    display: block;
    margin-top: 4px;
    padding: 6px;
    font-size: 10px;
    max-width: 100%;
    width: 100%;
  }
  .context > span {
    flex-basis: 100%;
    margin: 0;
    border-top: 1px solid #f0f2f8;
    padding-top: 8px;
    font-size: 9px;
  }
  .overview-banner {
    padding: 23px 21px;
    border-radius: 12px;
  }
  .overview-banner h2 {
    font-size: 24px;
    line-height: 1.7;
  }
  .overview-banner p {
    font-size: 11px;
    max-width: 260px;
  }
  .overview-tag {
    font-size: 9px;
  }
  .overview-link {
    font-size: 10px;
  }
  .metrics {
    gap: 11px;
    margin-bottom: 21px;
  }
  .metrics article {
    padding: 14px 13px;
    border-radius: 11px;
  }
  .metric-top {
    font-size: 10px;
  }
  .metric-icon {
    width: 27px;
    height: 27px;
    border-radius: 8px;
  }
  .metric-icon svg {
    width: 16px;
    height: 16px;
  }
  .metrics strong {
    font-size: 23px;
    margin-top: 10px;
  }
  .metrics strong small {
    font-size: 9px;
  }
  .metrics p {
    font-size: 9px;
  }
  .dashboard-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .panel {
    margin-bottom: 21px;
    border-radius: 12px;
  }
  .panel-head {
    padding: 16px 17px;
    min-height: 59px;
  }
  .panel-head h2 {
    font-size: 12px;
  }
  .chart-summary {
    padding: 18px 19px 0;
  }
  .chart-summary strong {
    font-size: 22px;
  }
  .billing-bars {
    padding-inline: 19px;
  }
  .chart-legend {
    padding-inline: 19px;
  }
  .quality-overview {
    min-height: 210px;
    justify-content: space-evenly;
    padding: 25px 18px;
  }
  .quality-ring {
    width: 137px;
    height: 137px;
  }
  .quality-ring > div {
    width: 113px;
    height: 113px;
  }
  .quality-legend {
    max-width: 140px;
    width: auto;
  }
  .quality-action {
    margin-inline: 18px;
  }
  .quick-grid {
    gap: 10px;
  }
  .quick-card {
    padding: 14px 11px;
    gap: 9px;
  }
  .quick-icon {
    width: 30px;
    height: 34px;
    border-radius: 8px;
  }
  .quick-icon svg {
    width: 17px;
  }
  .quick-card strong {
    font-size: 10px;
  }
  .quick-card small {
    font-size: 8px;
  }
  .quick-card > svg {
    display: none;
  }
  .section-heading h2 {
    font-size: 13px;
  }
  .workspace-status {
    display: block;
    font-size: 9px;
  }
  .workspace-status > span:last-child {
    display: block;
    margin-top: 6px;
    padding-right: 13px;
  }
  .trace {
    display: block;
    font-size: 10px;
    padding: 13px;
  }
  .trace > div {
    margin-top: 10px;
    flex-wrap: wrap;
  }
  .tabs {
    border-radius: 9px;
    gap: 3px;
    padding: 4px;
    margin-bottom: 17px;
  }
  .tabs button {
    font-size: 11px;
    padding: 8px 12px;
    min-height: 34px;
  }
  .tabs small {
    font-size: 9px;
  }
  .toolbar {
    padding: 12px 14px;
  }
  .toolbar label {
    max-width: none;
  }
  .toolbar input {
    font-size: 11px;
  }
  table {
    min-width: 660px;
  }
  td {
    padding: 13px 16px;
    font-size: 12px;
  }
  th {
    padding: 12px 16px;
    font-size: 10px;
  }
  .mini-grid {
    grid-template-columns: 1fr;
  }
  .analysis-filters {
    padding: 16px;
    gap: 13px;
  }
  .analysis-filters input,
  .analysis-filters select {
    font-size: 11px;
    padding: 9px;
  }
  .results-count {
    padding: 12px 16px;
  }
  .requirement-title {
    font-size: 11px;
    min-width: 220px;
  }
  .note {
    font-size: 10px;
    padding: 12px 14px;
  }
  .journey-grid,
  .coverage-grid {
    grid-template-columns: 1fr;
    gap: 17px;
  }
  .journey-card,
  .coverage-card {
    padding: 21px;
    border-radius: 12px;
  }
  .journey-card h2,
  .coverage-card h2 {
    font-size: 17px;
  }
  .journey-card > p,
  .coverage-card > p {
    font-size: 11px;
  }
  .journey-checks li {
    font-size: 11px;
  }
  .coverage-card ul {
    font-size: 11px;
    min-height: 0;
  }
  .drawer {
    inset: 0;
    width: 100vw;
    border: 0;
    border-radius: 0;
  }
  .modal {
    width: 96vw;
    border-radius: 13px;
    max-height: 95dvh;
  }
  .drawer > header,
  .modal > header {
    padding: 19px 17px;
  }
  .drawer header h2,
  .modal header h2 {
    font-size: 16px;
  }
  .drawer header p,
  .modal header p {
    font-size: 10px;
  }
  .dialog-body {
    padding: 20px 17px;
  }
  .dialog-actions {
    padding: 13px 16px;
    max-height: 190px;
  }
  .dialog-actions .btn {
    font-size: 10px;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .field label {
    font-size: 11px;
  }
  .field input,
  .field select,
  .field textarea {
    font-size: 12px;
  }
  .detail-list {
    grid-template-columns: 1fr;
  }
  .detail-list > div {
    padding: 12px 15px;
  }
  .drawer .metrics {
    grid-template-columns: 1fr 1fr;
  }
  .drawer .metrics article {
    padding: 12px;
  }
  .drawer .metrics strong {
    font-size: 22px;
  }
  .record-title {
    font-size: 20px;
  }
  .source-text {
    font-size: 12px;
    padding: 15px;
  }
  .portal-card {
    flex-wrap: wrap;
    padding: 20px;
    gap: 15px;
  }
  .portal-card h2 {
    font-size: 17px;
  }
  .portal-card > span {
    width: 48px;
    height: 57px;
  }
  .portal-card > span svg {
    width: 27px;
    height: 35px;
  }
  .portal-card .btn {
    margin-right: 0;
  }
  .shell > footer {
    font-size: 9px;
    padding: 17px 20px;
  }
  .architecture-note {
    font-size: 11px;
    gap: 9px;
  }
  .architecture-note p {
    font-size: 10px;
  }
  #toast {
    left: 15px;
    bottom: 15px;
  }
  .toast {
    font-size: 11px;
    padding: 13px 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  html {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
@media print {
  #nav,
  #top,
  .shell > footer,
  .heading-actions,
  .context,
  .dialog-actions {
    display: none;
  }
  .shell {
    margin: 0;
  }
  main {
    padding: 0;
  }
  .backdrop {
    display: none;
  }
  .drawer,
  .modal {
    position: static;
    transform: none;
    width: 100%;
    height: auto;
    max-height: none;
    box-shadow: none;
    border: 0;
  }
  .dialog-body {
    overflow: visible;
  }
  .panel,
  .metrics article {
    break-inside: avoid;
  }
  body {
    background: white;
  }
}

.wallet-selector {
  display: flex;
  align-items: center;
  gap: 14px;
  background: white;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 22px;
}
.wallet-selector label {
  font-size: 12px;
  color: #71819b;
}
.wallet-selector select {
  max-width: 380px;
  flex: 1;
}
.wallet-actions {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin: 20px 0 25px;
}
.panel > .wallet-actions {
  padding: 0 22px;
}
.wallet-balances {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 18px;
}
.wallet-balance {
  border: 1px solid var(--line);
  border-radius: 15px;
  background: white;
  padding: 23px;
  min-width: 0;
}
.wallet-balance > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wallet-balance > div > strong {
  font-size: 16px;
  background: #edf1ff;
  padding: 5px 10px;
  border-radius: 8px;
  color: #4b65bd;
}
.wallet-balance > div > span {
  font-size: 12px;
  color: #7889a4;
}
.wallet-balance h2 {
  font-size: 25px;
  margin: 22px 0 4px;
  overflow-wrap: anywhere;
}
.wallet-balance > p {
  font-size: 11px;
  color: #7b89a1;
}
.wallet-balance dl {
  margin: 16px 0 0;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}
.wallet-balance dl > div {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 11px;
  padding-top: 9px;
}
.wallet-balance dt {
  color: #7f8da5;
}
.wallet-balance dd {
  margin: 0;
  color: #556b8c;
}
.wallet-empty {
  padding: 35px;
  color: #7c8ea9;
}
.feature-acceptance {
  padding: 8px 25px;
}
.feature-acceptance article {
  display: flex;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}
.feature-acceptance article > b {
  color: #6781bf;
  direction: ltr;
}
.feature-acceptance h3 {
  margin: 0 0 5px;
  font-size: 14px;
}
.feature-acceptance p {
  margin: 0;
  color: #768ba9;
  font-size: 12px;
}
.source-reference {
  margin-bottom: 18px;
  font-size: 11px;
  color: #8290ac;
}
.source-reference > summary {
  margin-bottom: 8px;
}
.coverage-card a {
  color: #526fac;
}
.coverage-card small {
  display: block;
  font-size: 10px;
  color: #8997b0;
}
@media (max-width: 750px) {
  .wallet-balances {
    grid-template-columns: 1fr;
  }
  .wallet-selector {
    flex-wrap: wrap;
    padding: 14px;
  }
  .wallet-selector label {
    flex-basis: 100%;
  }
  .wallet-selector select {
    max-width: 100%;
    min-width: 0;
  }
  .wallet-balance {
    padding: 20px;
  }
  .wallet-balance h2 {
    font-size: 25px;
  }
  .wallet-actions .btn {
    font-size: 11px;
  }
  .feature-acceptance {
    padding: 8px 17px;
  }
  .feature-acceptance article {
    gap: 12px;
  }
  .feature-acceptance p {
    font-size: 11px;
  }
}
