.rr-scope,
.rr-scope * {
  box-sizing: border-box;
}

.rr-scope {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #212529;
  background: transparent;
  font-variant-numeric: tabular-nums;
  --wf-line: #ced4da;
  --wf-line-strong: #212529;
  --wf-muted: #6c757d;
  --wf-panel: #f8f9fa;
  --wf-panel-2: #f1f3f5;
}

.rr-scope .mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.rr-scope h1 {
  margin: 0 0 8px !important;
  font-size: 24px;
  letter-spacing: .02em;
  line-height: 1.3;
}

.rr-scope .container {
  width: 100%;
  max-width: 1300px;
  margin-inline: auto;
  font-size: 14.4px;
}

.rr-scope .wf-card {
  border: 1px solid var(--wf-line);
  border-radius: 4px;
  background: #fff;
}

.rr-scope .wf-head {
  background: var(--wf-panel);
  border-bottom: 1px solid var(--wf-line);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.rr-scope .wf-group-title {
  font-size: 10.88px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--wf-muted);
  margin: 14px 0 4.8px;
}

.rr-scope .wf-group-title:first-child {
  margin-top: 0;
}

.rr-scope .sidebar {
  max-height: calc(100vh - 197px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--wf-line) transparent;
}

.rr-scope .sidebar::-webkit-scrollbar {
  width: 6px;
}

.rr-scope .sidebar::-webkit-scrollbar-thumb {
  background: var(--wf-line);
  border-radius: 3px;
}

.rr-scope .sidebar::-webkit-scrollbar-track {
  background: transparent;
}

.rr-scope .sticky-col {
  position: sticky;
  top: 181px;
}

.rr-scope .catalog-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 4.8px 9.6px;
  border-bottom: 1px solid var(--wf-line);
}

.rr-scope .catalog-item:last-child {
  border-bottom: 0;
}

.rr-scope .catalog-item .ci-name {
  font-size: 12.8px;
  line-height: 1.2;
}

.rr-scope .catalog-item .ci-unit {
  font-size: 10.88px;
  color: var(--wf-muted);
}

.rr-scope .catalog-item.active {
  background: var(--wf-panel-2);
  box-shadow: inset 2px 0 0 var(--wf-line-strong);
}

.rr-scope .catalog-item.active .ci-name {
  font-weight: 600;
}

.rr-scope .btn {
  display: inline-block;
  padding: 5px 10px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  user-select: none;
  border: 1px solid transparent;
  border-radius: 4px;
  background: #fff;
  color: #212529;
}

.rr-scope .btn:hover {
  background: #e9ecef;
}

.rr-scope .btn[disabled] {
  opacity: .5;
  pointer-events: none;
}

.rr-scope .btn-sm {
  padding: 3px 6px;
}

.rr-scope .border-0 {
  border: 0;
}

.rr-scope .btn-outline-dark:hover {
  background: var(--wf-panel-2);
}

.rr-scope .btn-check {
  position: absolute;
  clip: rect(0, 0, 0, 0);
  pointer-events: none;
}

.rr-scope .btn-group {
  display: flex;
  width: 100%;
}

.rr-scope .btn-group .btn {
  flex: 1 1 auto;
  border-radius: 0;
  margin-left: -1px;
}

.rr-scope .btn-group .btn:first-child {
  margin-left: 0;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}

.rr-scope .btn-group .btn:last-child {
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

.rr-scope .btn-wf {
  font-size: 12px;
  color: #212529;
  border-color: #212529 !important;
  background: #fff;
}

.rr-scope .btn-wf:hover {
  background: #212529;
  border-color: #212529;
  color: #fff;
}

.rr-scope .btn-wf:focus {
  box-shadow: none;
}

.rr-scope .btn-wf:focus-visible {
  outline: 2px solid #212529;
  outline-offset: 2px;
}

.rr-scope .paymode .btn {
  font-size: 12.48px;
  background: #fff;
}

.rr-scope .paymode .btn-check:checked + .btn {
  background: #212529;
  border-color: #212529;
  color: #fff;
}

.rr-scope .paymode .btn:hover {
  background: #e9ecef;
  color: #212529;
}

.rr-scope .paymode .btn-check:checked + .btn:hover {
  background: #212529;
  color: #fff;
}

.rr-scope .form-label {
  display: inline-block;
  margin-bottom: 1.6px;
}

.rr-scope .form-control,
.rr-scope .form-select {
  display: block;
  width: 100%;
  padding: 3px 6px;
  font-family: inherit;
  font-size: 12.8px;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
  border: 1px solid #ced4da;
  border-radius: 4px;
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.rr-scope .form-control:focus,
.rr-scope .form-select:focus {
  border-color: #86b7fe;
  box-shadow: 0 0 0 4px rgba(13, 110, 253, .25);
  outline: 0;
  background-color: #fff;
  color: #212529;
}

.rr-scope .form-select {
  padding-right: 20px;
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 4px center;
  background-size: 12px;
}

.rr-scope .svc-card .card-body {
  padding: 12px 12px 4px;
}

.rr-scope .svc-card .form-label {
  font-size: 10.88px;
  color: var(--wf-muted);
  margin-bottom: 1.6px;
}

.rr-scope .svc-card .hint-line {
  font-size: 10.88px;
  color: var(--wf-muted);
  background: var(--wf-panel-2);
  border: 1px dashed var(--wf-line);
  border-radius: 3px;
  padding: 4px 8px;
  display: flex;
  align-items: flex-start;
  gap: 6.4px;
}

.rr-scope .svc-card .hint-icon {
  flex: 0 0 auto;
  width: 13px;
  height: 13px;
  margin-top: 1.6px;
}

.rr-scope .svc-card .hint-icon path {
  fill: #00a7ff;
}

.rr-scope .line-total {
  font-size: 13.6px;
}

.rr-scope .empty-state {
  border: 1px dashed var(--wf-line);
  border-radius: 4px;
  color: var(--wf-muted);
  padding: 32px 16px;
  text-align: center;
  font-size: 12.8px;
  background: var(--wf-panel);
}

.rr-scope .sum-head {
  flex-wrap: wrap;
  gap: 4px;
}

.rr-scope .sum-head > span:first-child {
  font-size: 11.52px;
  min-width: 0;
}

.rr-scope .sum-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  padding: 1.92px 0;
}

.rr-scope .sum-line .sl-label {
  color: var(--wf-line-strong);
}

.rr-scope .sum-line .sl-amount {
  white-space: nowrap;
}

.rr-scope .sl-chf {
  font-size: 11.52px;
  color: var(--wf-muted);
}

.rr-scope .sum-cat {
  font-size: 10.88px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--wf-muted);
  margin: 9.6px 0 2.4px;
}

.rr-scope .sum-total {
  border-top: 2px solid var(--wf-line-strong);
  margin-top: 12px;
  padding-top: 8px;
}

.rr-scope .disclaimer {
  color: var(--wf-line-strong);
  background: var(--wf-panel);
  border: 1px solid var(--wf-line);
  border-left: 3px solid var(--wf-line-strong);
  border-radius: 3px;
  padding: 0;
}

.rr-scope .disc-toggle {
  display: flex;
  align-items: center;
  gap: 6.4px;
  width: 100%;
  background: none;
  border: 0;
  padding: 6.4px 8.8px;
  font-family: inherit;
  font-size: 11.2px;
  font-weight: 600;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.rr-scope .disc-toggle:hover {
  background: var(--wf-panel-2);
}

.rr-scope .disc-icon {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
}

.rr-scope .disc-caret {
  margin-left: auto;
  font-size: 10.4px;
  transition: transform .15s ease;
}

.rr-scope .disc-toggle[aria-expanded="false"] .disc-caret {
  transform: rotate(-90deg);
}

.rr-scope .disc-body {
  padding: 6.4px 8.8px 8px;
  border-top: 1px dashed var(--wf-line);
  font-size: 11.2px;
  font-weight: 400;
}

.rr-scope .disc-body p {
  margin: 0;
}

.rr-scope .disc-body p + p {
  margin-top: 6px;
}

.rr-scope .disc-body[hidden] {
  display: none;
}

.rr-scope #csvBtn {
  display: inline-flex;
  align-items: center;
  gap: 4.8px;
  width: auto;
  padding: 4px 8px;
  font-size: 12.48px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: normal;
  border-radius: 4px;
  vertical-align: middle;
}

.rr-scope .csv-icon {
  width: 12px;
  height: 12px;
}

.rr-scope .cta-order {
  display: block;
  width: 100%;
  margin-top: 20px;
  background: #212529;
  color: #fff;
  border: 1px solid #212529;
  border-radius: 4px;
  padding: 10px 16px;
  font-weight: 600;
  letter-spacing: .02em;
  text-decoration: none;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.rr-scope .cta-order:hover,
.rr-scope .cta-order:focus-visible {
  background: #000;
  border-color: #000;
  color: #fff;
  text-decoration: none;
}

.rr-scope .cta-order:focus-visible {
  outline: 2px solid #212529;
  outline-offset: 3px;
}

.rr-scope .row {
  display: flex;
  flex-wrap: wrap;
}

.rr-scope .row > * {
  width: 100%;
}

.rr-scope .row.g-2 {
  margin: -4px;
}

.rr-scope .row.g-2 > * {
  padding: 4px;
}

.rr-scope .row.g-4 {
  margin: -8px;
}

.rr-scope .row.g-4 > * {
  padding: 8px;
}

.rr-scope .col-3 {
  width: 25%;
}

.rr-scope .col-4 {
  width: 33.3333%;
}

.rr-scope .col-6 {
  width: 50%;
}

.rr-scope .col-8 {
  width: 66.6667%;
}

.rr-scope .col-12 {
  width: 100%;
}

.rr-scope .col-lg-3,
.rr-scope .col-lg-6 {
  width: 100%;
}

.rr-scope .d-flex {
  display: flex;
}

.rr-scope .d-inline-flex {
  display: inline-flex;
}

.rr-scope .flex-wrap {
  flex-wrap: wrap;
}

.rr-scope .justify-content-between {
  justify-content: space-between;
}

.rr-scope .align-items-center {
  align-items: center;
}

.rr-scope .align-items-end {
  align-items: flex-end;
}

.rr-scope .align-items-baseline {
  align-items: baseline;
}

.rr-scope .w-100 {
  width: 100%;
}

.rr-scope .gap-1 {
  gap: 4px;
}

.rr-scope .gap-2 {
  gap: 8px;
}

.rr-scope .mb-0 {
  margin-bottom: 0 !important;
}

.rr-scope .mb-1 {
  margin-bottom: 4px !important;
}

.rr-scope .mb-2 {
  margin-bottom: 8px !important;
}

.rr-scope .mb-3 {
  margin-bottom: 12px !important;
}

.rr-scope .mb-4 {
  margin-bottom: 16px !important;
}

.rr-scope .mt-2 {
  margin-top: 8px !important;
}

.rr-scope .py-5 {
  padding-top: 24px !important;
  padding-bottom: 24px !important;
}

.rr-scope .px-2 {
  padding-left: 8px !important;
  padding-right: 8px !important;
}

.rr-scope .px-3 {
  padding-left: 12px !important;
  padding-right: 12px !important;
}

.rr-scope .py-2 {
  padding-top: 8px !important;
  padding-bottom: 8px !important;
}

.rr-scope .pb-3 {
  padding-bottom: 12px !important;
}

.rr-scope .p-3 {
  padding: 12px !important;
}

.rr-scope .border-top {
  border-top: 1px solid var(--wf-line);
}

.rr-scope .small {
  font-size: 12.6px;
}

.rr-scope .fw-semibold {
  font-weight: 600;
}

.rr-scope .fw-bold {
  font-weight: 700;
}

.rr-scope .fs-4 {
  font-size: 22px;
}

.rr-scope .text-muted {
  color: var(--wf-muted);
}

.rr-scope .text-reset {
  color: inherit;
}

@media (min-width: 992px) {
  .rr-scope .col-lg-3 {
    width: 25%;
  }

  .rr-scope .col-lg-6 {
    width: 50%;
  }
}

@media (max-width: 991.98px) {
  .rr-scope .sticky-col {
    position: static;
  }
}

@media (max-width: 575.98px) {
  .rr-scope .paymode {
    flex-wrap: wrap;
  }

  .rr-scope .paymode .btn {
    flex: 1 1 100%;
    margin-left: 0;
  }
}

[data-md-color-scheme="slate"] .rr-scope {
  --wf-line: hsla(225, 15%, 90%, 0.25);
  --wf-line-strong: hsla(225, 15%, 90%, 0.92);
  --wf-muted: hsla(225, 15%, 90%, 0.56);
  --wf-panel: hsla(225, 15%, 18%, 1);
  --wf-panel-2: hsla(225, 15%, 24%, 1);
  color: var(--wf-line-strong);
  color-scheme: dark;
}

[data-md-color-scheme="slate"] .rr-scope .wf-card {
  background: var(--wf-panel);
}

[data-md-color-scheme="slate"] .rr-scope .btn {
  background: transparent;
  color: var(--wf-line-strong);
}

[data-md-color-scheme="slate"] .rr-scope .btn:hover {
  background: var(--wf-panel-2);
}

[data-md-color-scheme="slate"] .rr-scope .btn-wf {
  color: var(--wf-line-strong);
  border-color: var(--wf-line-strong) !important;
  background: transparent;
}

[data-md-color-scheme="slate"] .rr-scope .btn-wf:hover {
  background: var(--wf-line-strong);
  border-color: var(--wf-line-strong);
  color: #1e2129;
}

[data-md-color-scheme="slate"] .rr-scope .btn-wf:focus-visible {
  outline-color: var(--wf-line-strong);
}

[data-md-color-scheme="slate"] .rr-scope .paymode .btn {
  background: transparent;
}

[data-md-color-scheme="slate"] .rr-scope .paymode .btn-check:checked + .btn {
  background: var(--wf-line-strong);
  border-color: var(--wf-line-strong);
  color: #1e2129;
}

[data-md-color-scheme="slate"] .rr-scope .paymode .btn:hover {
  background: var(--wf-panel-2);
  color: var(--wf-line-strong);
}

[data-md-color-scheme="slate"] .rr-scope .paymode .btn-check:checked + .btn:hover {
  background: var(--wf-line-strong);
  color: #1e2129;
}

[data-md-color-scheme="slate"] .rr-scope .svc-card .form-control,
[data-md-color-scheme="slate"] .rr-scope .svc-card .form-select {
  background-color: var(--wf-panel-2);
  border: 1px solid var(--wf-line);
  color: var(--wf-line-strong);
}

[data-md-color-scheme="slate"] .rr-scope .svc-card .form-control:focus,
[data-md-color-scheme="slate"] .rr-scope .svc-card .form-select:focus {
  background-color: var(--wf-panel-2);
  color: var(--wf-line-strong);
}

[data-md-color-scheme="slate"] .rr-scope .svc-card .form-select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23dee2e9' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
}

[data-md-color-scheme="slate"] .rr-scope .text-muted {
  color: var(--wf-muted) !important;
}

[data-md-color-scheme="slate"] .rr-scope .cta-order {
  background: var(--wf-line-strong);
  border-color: var(--wf-line-strong);
  color: #1e2129;
}

[data-md-color-scheme="slate"] .rr-scope .cta-order:hover,
[data-md-color-scheme="slate"] .rr-scope .cta-order:focus-visible {
  background: #ffffff;
  border-color: #ffffff;
  color: #1e2129;
}
