@charset "UTF-8";
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/Inter-Bold-d46827fc.woff2") format("woff2"), url("/assets/fonts/Inter-Bold-feae1455.woff") format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/Inter-SemiBold-0e1f33ce.woff2") format("woff2"), url("/assets/fonts/Inter-SemiBold-1b2c0a55.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/Inter-Regular-54cfecf9.woff2") format("woff2"), url("/assets/fonts/Inter-Regular-d4ecd34f.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/Inter-Medium-c51f5ba1.woff2") format("woff2"), url("/assets/fonts/Inter-Medium-861e750a.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
body {
  -webkit-font-smoothing: antialiased;
  -moz-font-smoothing: antialiased;
  font-smoothing: antialiased;
  background: #F7F9FB;
  color: #353E4C;
}

@media screen and (max-width: 1370px) {
  html, body {
    font-size: 14px !important;
  }
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  font-weight: 700;
}

h1 {
  letter-spacing: -0.03em;
  font-size: 2rem;
}

img {
  max-width: 100%;
}

.text-right {
  text-align: right;
}

.alert {
  border: none;
  border-radius: 0;
  border-left-width: 5px;
  border-left-style: solid;
}
.alert-empty {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  font-size: 1.25rem;
  font-weight: 700;
  padding: 1em;
  margin-bottom: 0;
}
.alert-empty .alert-icon {
  font-size: 2em;
  color: #8B929F;
}
.alert-empty-sm {
  font-size: 1rem;
  font-weight: 600;
}
.alert-empty-sm .alert-icon {
  font-size: 1.75em;
}
.alert-empty-sm .btn {
  font-size: 0.75rem;
  height: 2.5em;
  padding: 0 0.75em;
}
.alert-primary {
  background: #eef4ff;
  border-color: #1E63E8;
}

.badge.text-bg-secondary,
.badge.text-bg-success {
  color: #fff !important;
}

.btn {
  display: inline-flex;
  gap: 0.75em;
  align-items: center;
  justify-content: center;
  height: 2.5em;
}
.btn-sm {
  height: 2rem;
  min-width: 2rem;
}

.btn-light, .btn-link {
  color: #1E63E8;
  background: transparent;
  border-color: transparent;
}
.btn-light:hover, .btn-link:hover {
  background: #d3e7fd;
  border-color: #d3e7fd;
  color: #194395;
}
.btn-light:focus-visible, .btn-link:focus-visible {
  background: #d3e7fd;
  box-shadow: 0 0 0 0.25rem #558FFF;
  border-color: #d3e7fd;
  color: #1E63E8;
}
.btn-light:active, .btn-link:active {
  background: #c3d8ff !important;
  box-shadow: 0 0 0 0.25rem #558FFF !important;
  color: #194395 !important;
  border-color: #c3d8ff !important;
}

.btn-primary {
  font-weight: 600;
  background: #1E63E8;
}

.btn-secondary {
  background: #d3e7fd;
  color: #1E63E8;
  border-color: #d3e7fd;
  font-weight: 600;
}
.btn-secondary:hover {
  background: #c3d8ff;
  border-color: #c3d8ff;
  color: #194395 !important;
}
.btn-secondary:focus-visible {
  background: #d3e7fd;
  box-shadow: 0 0 0 0.25rem #558FFF;
  border-color: #d3e7fd;
  color: #1E63E8;
}
.btn-secondary:active {
  background: #c3d8ff !important;
  box-shadow: 0 0 0 0.25rem #558FFF !important;
  color: #194395 !important;
  border-color: #c3d8ff !important;
}

.btn-danger {
  background: transparent;
  color: #D52D34;
  border-color: transparent;
  text-decoration: underline;
}
.btn-danger:hover {
  background-color: #F8CACB !important;
  border-color: #F8CACB;
  color: #4C0B0E !important;
}
.btn-danger:focus-visible {
  background: #F8CACB;
  box-shadow: 0 0 0 0.25rem tint-color(#D52D34, 20%);
  border-color: #F8CACB;
  color: #4C0B0E;
}
.btn-danger:active {
  background: #F8CACB !important;
  box-shadow: 0 0 0 0.25rem tint-color(#D52D34, 20%) !important;
  color: #4C0B0E !important;
  border-color: #F8CACB !important;
}

.btn-mini {
  padding: 0.25em !important;
  height: auto !important;
  line-height: 1 !important;
  font-size: 0.875rem;
}

.dropdown-menu {
  border-radius: 0.5rem;
  border-color: #d3d7e0;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
  padding: 0.5rem;
}
.dropdown-menu li a,
.dropdown-menu li button {
  border-radius: 0.25rem;
  color: #1E63E8;
}
.dropdown-menu li a:hover,
.dropdown-menu li button:hover {
  color: #194395;
  background: #eef4ff;
}

.btn-group {
  gap: 2px;
}

.back-btn-adjust {
  transform: translate(-0.75rem, -0.5rem);
}

.nav-justified > .nav-link,
.nav-justified .nav-item {
  flex-basis: 0;
  flex-grow: 1;
  text-align: center;
}

.qc-card-nav {
  background: #fff;
  border: 1px solid #d3d7e0;
  border-bottom: none;
  border-radius: 0.75rem 0.75rem 0 0;
  overflow: hidden;
}
.qc-card-nav ul.nav li.nav-item {
  height: 3.25rem;
  display: flex;
  align-items: stretch;
  justify-content: center;
}
.qc-card-nav ul.nav li.nav-item .nav-link {
  padding: 0 1rem;
  color: #353E4C;
  font-weight: 500;
  display: flex;
  align-items: center;
}
.qc-card-nav ul.nav li.nav-item .nav-link .badge {
  font-size: 0.75em;
  margin-left: 0.5rem;
}
.qc-card-nav ul.nav li.nav-item .nav-link.active {
  background: #eef4ff;
  border-bottom: 3px solid #1E63E8;
  box-shadow: inset 1px 0 0 #c3d8ff, inset -1px 0 0 #c3d8ff;
}
.qc-card-nav ul.nav li.nav-item .nav-link:hover {
  background: #F7F9FB;
}
.qc-card-nav ul.nav li.nav-item:first-child .nav-link.active {
  box-shadow: inset -1px 0 0 #c3d8ff;
}
.qc-card-nav + .qc-card-body {
  border-radius: 0 0 0.75rem 0.75rem !important;
}

.pipeline-sidebar {
  min-width: 121px;
}

.content-data .nav.flex-column {
  min-width: 13rem;
}
.content-data .nav.flex-column .nav-link {
  text-align: left;
  color: #353E4C;
  border-radius: 0;
}
.content-data .nav.flex-column .nav-link.active {
  background: #eef4ff;
  border-left: 4px solid #1E63E8;
  font-weight: 700;
}
.content-data .nav.flex-column .nav-link:hover {
  background: #eef4ff;
}

.table {
  --bs-table-striped-bg: #F7F9FB;
}
.table thead th {
  white-space: nowrap;
}
.table-responsive {
  max-width: 100%;
}
.table td {
  height: 44px;
  padding: 0.55rem 0.5rem;
}
.table td.has-action {
  padding: 0.348rem 0.5rem;
  width: 0;
}

.table-nav {
  display: flex;
  align-items: center;
}
.table-nav :last-child {
  margin-left: auto;
}
.table-nav :first-child {
  margin-left: 0;
}
.table-nav .per-page-drop {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.table-nav .per-page-drop label {
  font-size: 0.875rem;
  flex: 0 0 auto;
}

.table-result {
  font-size: 0.75rem;
  padding: 0 0 0.625rem 0;
}

td .form-control, td .filters-search .btn-search, .filters-search td .btn-search {
  width: 100px;
}

.cell-ratio {
  display: flex;
  align-items: center;
}
.cell-ratio-container {
  margin-left: 0.5rem;
  border: 1px solid #d3d7e0;
  padding: 0.125rem;
  border-radius: 0.25rem;
  background: #fff;
}
.cell-ratio-total {
  background: #09AC2F;
  border-radius: 0.125rem;
  overflow: hidden;
  height: 0.625rem;
  width: 7.75rem;
}
.cell-ratio-fill {
  background: #D52D34;
  box-shadow: 1px 0 0 0 #fff;
  height: 100%;
}

.sort_link {
  color: #353E4C;
  text-decoration: none;
  display: block;
  border-radius: 0.5rem;
  padding: 0.35rem 0.5rem;
  transform: translate(-0.5rem, 0.35rem);
  width: calc(100% + 1rem);
}
.sort_link:after {
  display: inline-block;
  margin-left: 0.75em;
  transform: translateY(1px);
  content: url('data:image/svg+xml,<svg width="10" height="14" viewBox="0 0 10 14" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M4.6875 0.8125L9.0625 5.1875V6.0625H0.3125V5.1875L4.6875 0.8125Z" fill="%23C2C5C9"/><path d="M4.6875 13.0625L0.3125 8.6875L0.3125 7.8125L9.0625 7.8125L9.0625 8.6875L4.6875 13.0625Z" fill="%23C2C5C9"/></svg>');
}
.sort_link.asc:after {
  content: url('data:image/svg+xml,<svg width="10" height="14" viewBox="0 0 10 14" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M4.9375 0.8125L9.3125 5.1875V6.0625H0.5625V5.1875L4.9375 0.8125Z" fill="%23353E4C"/><path d="M4.9375 13.0625L0.5625 8.6875L0.5625 7.8125L9.3125 7.8125L9.3125 8.6875L4.9375 13.0625Z" fill="%23C2C5C9"/></svg>');
}
.sort_link.desc:after {
  content: url('data:image/svg+xml,<svg width="10" height="14" viewBox="0 0 10 14" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M5.1875 13.0625L0.8125 8.6875L0.8125 7.8125L9.5625 7.8125L9.5625 8.6875L5.1875 13.0625Z" fill="%23353E4C"/><path d="M5.1875 0.812501L9.5625 5.1875L9.5625 6.0625L0.812499 6.0625L0.812499 5.1875L5.1875 0.812501Z" fill="%23C2C5C9"/></svg>');
}
.sort_link.asc, .sort_link.desc {
  background: #E9ECF2;
}

.history-instant {
  display: flex;
  gap: 1rem;
  padding-bottom: 1.25rem;
  background: url('data:image/svg+xml,<svg width="3" height="17" viewBox="0 0 3 17" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="0.0878906" y="0.382812" width="2" height="8" fill="%23D3D7E0"/><rect x="0.0878906" y="8.38281" width="2" height="8" fill="white"/></svg>') calc(1.375rem - 1px) 1rem repeat-y;
}
.history-instant:last-child {
  background: #fff;
}
.history-instant-icon {
  height: 2.75rem;
  width: 2.75rem;
  border-radius: 100rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  background: #B8E8C3;
  color: shade-color(#09AC2F, 20%);
}
.history-instant-icon-success {
  background: #B8E8C3;
  color: #09AC2F;
}
.history-instant-icon-info {
  background: tint-color(#1CD5D7, 80%);
  color: shade-color(#1CD5D7, 20%);
}
.history-instant-icon-start {
  background: #d3e7fd;
  color: #1E63E8;
}
.history-instant-content {
  padding-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.history-instant-content-topic {
  font-size: 1.25rem;
  font-weight: 700;
}
.history-instant-content-event-def-from {
  color: #8B929F;
}
.history-instant-content-datetime {
  font-size: 0.875rem;
}
.history-instant-content-blame {
  font-size: 0.75rem;
  font-weight: 700;
  color: #8B929F;
}
.history-instant-content-blame a {
  font-weight: 500;
}

body {
  margin: 0;
  overflow: hidden;
}

#app {
  display: grid;
  grid-template-areas: "sidebar global-search" "sidebar crumbs" "sidebar content";
  grid-template-columns: 16rem 1fr;
  grid-template-rows: 3.125rem 2rem 1fr;
  height: 100vh;
  width: 100%; /* Change `100vw` to `100%` to respect the parent's width */
  overflow-x: hidden; /* Prevent the body from showing a horizontal scrollbar */
}
#app #sidebar {
  grid-area: sidebar;
}
#app #global-search {
  grid-area: global-search;
}
#app #breadcrumbs {
  grid-area: crumbs;
}
#app #content {
  grid-area: content;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1.5rem;
  overflow: auto; /* Allow this specific container to scroll */
}
#app .content-header {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}
#app .content-header .btn-new {
  margin-left: auto;
}
#app .content-main {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  min-width: 0;
}
#app .content-main.only-child {
  grid-template-columns: 1fr;
}
#app .content-sidebar {
  scrollbar-gutter: stable;
  min-width: 16rem;
}
#app .content-data {
  position: relative;
  min-width: 0;
}

.qc-card-body:not(.is-bare) {
  padding: 1.5rem;
  background: #fff;
  border: 1px solid #d3d7e0;
  border-radius: 0.75rem;
}
.qc-card.meta-card {
  width: 24.5rem;
  margin-bottom: 1.5rem;
}
.qc-card.meta-card .qc-card-body:not(.is-bare) {
  padding: 1rem;
}
.qc-card.meta-card .meta-card-heading {
  border-bottom: 1px solid #d3d7e0;
  min-height: 2.25rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  padding-bottom: 0.25rem;
}
.qc-card.meta-card .meta-card-heading .btn {
  font-size: 0.75rem;
  height: 2.5em;
  padding: 0 0.75em;
}
.qc-card.meta-card h4 {
  flex: 1 1 auto;
  margin-bottom: 0;
}
.qc-card.meta-card table {
  font-size: 0.875rem;
}
.qc-card.meta-card table td, .qc-card.meta-card table th {
  padding: 0.25rem 0;
  vertical-align: top;
}
.qc-card.meta-card table th {
  color: #8B929F;
  padding-right: 1rem;
}
.qc-card.meta-card table a {
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word;
  /* Adds a hyphen where the word breaks, if supported (No Blink) */
  hyphens: auto;
}
.qc-card.meta-card table .bottom-sep td, .qc-card.meta-card table .bottom-sep th {
  border-bottom: 1px solid #d3d7e0;
  padding-bottom: 0.75rem;
}
.qc-card.meta-card table .bottom-sep + tr td, .qc-card.meta-card table .bottom-sep + tr th {
  padding-top: 0.75rem;
}
.qc-card.meta-card .contact {
  display: flex;
  gap: 0.5rem;
  width: 100%;
}
.qc-card.meta-card .contact:not(:last-child) {
  margin-bottom: 1rem;
}
.qc-card.meta-card .contact-primary {
  width: 1.25rem;
  color: #8B929F;
}
.qc-card.meta-card .contact-heading {
  display: flex;
  font-weight: 700;
  align-items: flex-start;
  margin-bottom: 0.5rem;
}
.qc-card.meta-card .contact-title {
  font-size: 0.75em;
  color: #8B929F;
}
.qc-card.meta-card .contact-personal {
  flex: 1 1 auto;
}
.qc-card.meta-card .contact-action {
  flex: 0 1 auto;
}
.qc-card.meta-card .contact-details {
  flex: 1 1 auto;
}
.qc-card.meta-card:has(.qc-card-body.is-bare) {
  width: 100%;
}
.sortable-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.sortable-list li.qc-card {
  margin-bottom: 0.75rem;
  max-width: 800px;
}
.sortable-list li.qc-card .qc-card-body {
  padding: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-right: 1rem;
}
.sortable-list .sortable-controls {
  display: flex;
  align-items: center;
  flex: 1 0 auto;
}
.sortable-list .handle {
  flex: 0 1 auto;
}

.interior-heading {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  border-bottom: 1px solid #d3d7e0;
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}

.tab-content {
  min-width: 0;
}

.item-tile {
  background: #fff;
  border: #d3d7e0 1px solid;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  border-radius: 0.75rem;
  display: flex;
  padding: 0.75rem 1rem;
  color: #353E4C;
  text-decoration: none;
  align-items: center;
}
.item-tile .tag {
  font-size: 0.75rem;
  color: #8B929F;
  font-weight: 700;
  text-transform: uppercase;
  margin-left: auto;
}
.item-tile:hover, .item-tile:focus {
  border-color: #1E63E8;
  background: #eef4ff;
  color: #1E63E8;
}

#sidebar {
  background: #fff;
  border-right: 1px solid #d3d7e0;
  padding: 1.5rem 0.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
#sidebar .logo-link {
  display: block;
  padding: 0.35rem;
  border: 1px solid transparent;
  transition: all ease-in-out 0.15s;
  border-radius: 0.5rem;
}
#sidebar .logo-link img {
  width: 100%;
}
#sidebar .logo-link:hover {
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.05);
  border-color: #d3e7fd;
}
#sidebar .logo-link:focus-visible {
  box-shadow: 0 0 0 0.25rem #558FFF, 0 3px 6px rgba(0, 0, 0, 0.15);
  border-color: #d3e7fd;
}
#sidebar .logo-link .logo-mark {
  display: none;
}
#sidebar .btn {
  width: 100%;
  justify-content: start;
  height: 3rem;
  font-weight: 500;
}
#sidebar .btn .nav-label {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
#sidebar .btn .drop {
  margin-left: auto;
  opacity: 0.5;
}
#sidebar .btn .fa-fw {
  font-size: 1rem;
  opacity: 0.5;
}
#sidebar .btn .fa-fw, #sidebar .btn .drop {
  transition: all 0.15s ease-in-out;
}
#sidebar .btn:not(.quick-action) {
  border-radius: 0.5rem;
}
#sidebar .btn:not(.quick-action):hover {
  background: #eef4ff;
  border-color: #eef4ff;
  color: inherit;
}
#sidebar .btn:not(.quick-action):hover .fa-fw, #sidebar .btn:not(.quick-action):hover .drop {
  opacity: 1;
}
#sidebar .btn:not(.quick-action):focus-visible, #sidebar .btn:not(.quick-action):focus {
  background: #d3e7fd;
  box-shadow: 0 0 0 0.25rem #558FFF;
  border-color: #d3e7fd;
  color: #1E63E8;
}
#sidebar .btn:not(.quick-action):focus-visible .fa-fw, #sidebar .btn:not(.quick-action):focus-visible .drop, #sidebar .btn:not(.quick-action):focus .fa-fw, #sidebar .btn:not(.quick-action):focus .drop {
  opacity: 1;
}
#sidebar .btn:not(.quick-action):active {
  background: #c3d8ff !important;
  box-shadow: 0 0 0 0.25rem #558FFF !important;
  color: #194395 !important;
  border-color: #c3d8ff !important;
}
#sidebar .btn:not(.quick-action):active .fa-fw, #sidebar .btn:not(.quick-action):active .drop {
  opacity: 1;
}
#sidebar .btn:not(.quick-action).current {
  background: #eef4ff;
  border-color: #eef4ff;
  color: #1E63E8;
}
#sidebar .btn:not(.quick-action).current .fa-fw, #sidebar .btn:not(.quick-action).current .drop {
  opacity: 1;
}
#sidebar .btn.quick-action {
  font-size: 1rem;
  font-weight: 600;
  gap: 0.5rem;
  height: auto;
}
#sidebar .btn.quick-action .fa-fw, #sidebar .btn.quick-action .drop {
  opacity: 1;
}
#sidebar #main-nav, #sidebar #user-nav {
  padding: 0;
  margin: 0;
  list-style: none;
}
#sidebar #main-nav li, #sidebar #user-nav li {
  margin: 0;
  padding: 0;
  margin-bottom: 0.25rem;
}
#sidebar #main-nav > li, #sidebar #user-nav > li {
  position: relative;
}
#sidebar #main-nav > li .prime-drop, #sidebar #user-nav > li .prime-drop {
  position: absolute;
  z-index: 1000;
  left: 100%;
  top: 0;
  display: none;
}
#sidebar #main-nav > li .prime-drop:before, #sidebar #user-nav > li .prime-drop:before {
  content: "";
  display: block;
  height: 12px;
  width: 12px;
  background: #fff;
  transform: rotate(-45deg);
  border: 1px solid #d3d7e0;
  border-right: 0;
  border-bottom: 0;
  margin-right: -6.5px;
  margin-top: 18px;
}
#sidebar #main-nav > li .prime-drop-content, #sidebar #user-nav > li .prime-drop-content {
  background: #fff;
  border-radius: 0.5rem;
  border: 1px solid #d3d7e0;
  padding: 0.75rem;
  width: 235px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}
#sidebar #main-nav > li .prime-drop-label, #sidebar #user-nav > li .prime-drop-label {
  font-weight: 700;
  font-size: 1.25rem;
  padding: 0.25rem 0.75rem;
}
#sidebar #user-nav .prime-drop {
  top: auto !important;
  bottom: 0;
  align-items: flex-end;
}
#sidebar #user-nav .prime-drop:before {
  margin-bottom: 23px;
  margin-top: 0 !important;
}
#sidebar #nav-user {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  height: auto;
}
#sidebar #nav-user .user-icon {
  flex: 0 0 auto;
}
#sidebar #nav-user .user-info {
  flex: 1 1 auto;
  text-align: left;
}
#sidebar #nav-user .user-info .user-role {
  font-size: 0.75rem;
}
#sidebar #nav-user .user-chevron {
  color: #d3d7e0;
  flex: 0 0 auto;
}

@media screen and (max-width: 1600px) {
  #app {
    grid-template-columns: 80px 1fr;
  }
  #sidebar {
    padding: 1rem 0.35rem;
  }
  #sidebar .logo-mark {
    display: block !important;
  }
  #sidebar .logo-full {
    display: none;
  }
  #sidebar .logo-link {
    width: 75%;
    margin: 0 auto;
  }
  #sidebar .btn {
    height: auto;
    position: relative;
  }
  #sidebar .btn .nav-label {
    font-size: 0.75rem;
    flex-direction: column;
  }
  #sidebar .btn.quick-action span {
    display: none;
  }
  #sidebar .btn .drop {
    position: absolute;
    right: 5px;
    width: 6px;
    top: 5px;
  }
  #sidebar .btn.quick-action {
    width: 75%;
    aspect-ratio: 1/1;
    justify-content: center;
    align-items: center;
  }
  #sidebar .btn.quick-action .drop {
    display: none;
  }
  #sidebar #main-nav {
    display: flex;
    align-items: stretch;
    flex-direction: column;
  }
  #sidebar #main-nav li {
    display: flex;
    align-items: stretch;
    flex-direction: column;
  }
  #sidebar #main-nav li:first-child {
    align-items: center;
  }
  #sidebar #main-nav li > .btn {
    padding: 0.35rem 0;
    justify-content: center;
  }
  #sidebar #main-nav li > .btn .nav-label {
    gap: 0.25rem;
  }
  #sidebar #nav-user {
    flex-direction: column;
    padding: 0.5rem 0.25rem;
    align-items: center;
  }
  #sidebar #nav-user .user-info {
    width: 100%;
  }
  #sidebar #nav-user .nav-label {
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
  }
  #sidebar #nav-user .user-icon {
    font-size: 1.25rem;
  }
  #sidebar #nav-user .user-role, #sidebar #nav-user .user-chevron {
    display: none;
  }
}
#global-search {
  position: relative !important;
  height: 3.125rem;
  display: flex;
  align-items: stretch;
  flex: 0 0 auto;
}
#global-search-select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  flex: 0 0 auto;
  color: #fff;
  border-radius: 0;
  border: none;
  font-size: 0.875rem;
  padding: 0 3.5rem 0 3.25rem;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="white" d="M416 208c0 45.9-14.9 88.3-40 122.7L486.6 441.4 509.3 464 464 509.3l-22.6-22.6L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z"/></svg>') 1.5rem center no-repeat, url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="white" d="M256 429.3l22.6-22.6 192-192L493.3 192 448 146.7l-22.6 22.6L256 338.7 86.6 169.4 64 146.7 18.7 192l22.6 22.6 192 192L256 429.3z"/></svg>') right 1.75rem center no-repeat #4a5f6d;
  background-size: 16px, 14px;
}
#global-search-select:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 1px #558FFF;
}
#global-search-input {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  flex: 1 1 auto;
  background: #353E4C;
  border: none;
  border-left: 1px solid #212936;
  color: #fff;
  border-radius: 0;
  padding: 0 1.5rem;
  box-shadow: none;
}
#global-search-input:focus {
  outline: none;
  box-shadow: inset 0 0 0 1px #558FFF;
}
#global-search-input::placeholder {
  color: #fff;
}

.global-search-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 1000;
  background: white;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  max-height: 400px;
  overflow-y: auto;
  display: none;
}
.global-search-results.show {
  display: block;
}

.global-search-results-list {
  padding: 0;
  margin: 0;
}

.global-search-header {
  padding: 12px 16px;
  background: #f8f9fa;
  border-bottom: 1px solid #e5e5e5;
  font-weight: 600;
  color: #333;
}

.global-search-result-item {
  border-bottom: 1px solid #f0f0f0;
}
.global-search-result-item:last-child {
  border-bottom: none;
}

.global-search-result-link {
  display: block;
  padding: 12px 16px;
  text-decoration: none;
  color: inherit;
  transition: background-color 0.2s;
}
.global-search-result-link:hover {
  background-color: #f8f9fa;
  text-decoration: none;
  color: inherit;
}

.result-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.result-name {
  font-weight: 600;
  color: #333;
}

.result-type {
  font-size: 0.85em;
  color: #666;
  background: #e9ecef;
  padding: 2px 8px;
  border-radius: 12px;
}

.result-details {
  font-size: 0.9em;
  color: #666;
}

.result-contact, .result-address {
  margin: 2px 0;
}
.result-contact i, .result-address i {
  width: 14px;
  margin-right: 6px;
  color: #999;
}

.global-search-no-results {
  padding: 20px 16px;
  text-align: center;
  color: #666;
}

.global-search-loading {
  padding: 16px;
  text-align: center;
  color: #666;
}

#breadcrumbs {
  display: flex;
  gap: 0.5rem;
  font-size: 0.75rem;
  background: #fff;
  border-bottom: 1px solid #d3d7e0;
  padding: 0.4375rem 1.5rem;
}
#breadcrumbs ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
#breadcrumbs ol li {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: #8B929F;
  font-weight: 500;
}
#breadcrumbs ol li > svg {
  opacity: 0.6;
}
#breadcrumbs ol li-current {
  color: #353E4C;
}
#breadcrumbs ol li a {
  color: #1E63E8;
  text-decoration: none;
}
#breadcrumbs ol li a:hover {
  text-decoration: underline;
}
#breadcrumbs ol li:after {
  content: "";
  height: 0.5rem;
  width: 0.5rem;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"><path fill="%23D3D7E0" d="M317.3 256l-22.6 22.6-192 192L80 493.3 34.7 448l22.6-22.6L226.7 256 57.4 86.6 34.7 64 80 18.7l22.6 22.6 192 192L317.3 256z"/></svg>') center center no-repeat;
  background-size: contain;
}
#breadcrumbs ol li:last-child {
  color: #353E4C;
  font-weight: 600;
}
#breadcrumbs ol li:last-child:after {
  display: none;
}

.filters {
  border-radius: 0.75rem;
  border: 1px solid #d3d7e0;
  background: #fff;
  padding: 1rem;
  width: 16rem;
  padding: 1rem;
  max-height: 100%;
  overflow: auto;
  display: flex;
  flex-direction: column;
}
.filters .accordion-header {
  border-bottom: 1px solid #d3d7e0;
}
.filters .accordion-header .accordion-button {
  font-weight: 700;
  padding-left: 0;
  padding-right: 0;
  color: #353E4C;
  background: none;
  box-shadow: none;
}
.filters .accordion-header .accordion-button.collapsed::after {
  transform: rotate(-90deg);
}
.filters .accordion-header .accordion-button:not(.collapsed)::after {
  transform: rotate(0deg);
}
.filters .accordion-item {
  border-radius: 0;
  border: none;
  border-radius: 0;
  background: transparent;
}
.filters .accordion-body {
  padding: 1rem 0;
}
.filters-search {
  flex: 0 1 auto;
  position: relative;
  z-index: 10;
}
.filters-search:after {
  content: "";
  display: block;
  height: 1rem;
  left: 0;
  right: 0;
  bottom: calc(-2rem + 2px);
  background: rgb(255, 255, 255);
  background: -moz-linear-gradient(0deg, rgba(255, 255, 255, 0) 0%, rgb(255, 255, 255) 80%, rgb(255, 255, 255) 100%);
  background: -webkit-linear-gradient(0deg, rgba(255, 255, 255, 0) 0%, rgb(255, 255, 255) 80%, rgb(255, 255, 255) 100%);
  background: linear-gradient(0deg, rgba(255, 255, 255, 0) 0%, rgb(255, 255, 255) 80%, rgb(255, 255, 255) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff",endColorstr="#ffffff",GradientType=1);
  position: absolute;
}
.filters-search .form-control, .filters-search .btn-search {
  border-right: none;
}
.filters-search .btn-search {
  background: #fff;
  border-left: none;
  color: #8B929F;
  border: 1px solid #C2C8D3;
  border-left: none;
  width: 2.5rem !important;
}
.filters-submit {
  padding-top: 0.75rem;
}
.filters .form-check .badge {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5em;
  height: 1.25rem;
  min-width: 1.25rem;
  margin-top: 0.125rem;
}
.filters .btn-danger {
  text-decoration: none;
  font-size: 0.875rem;
}

.date-filter {
  gap: 0.5rem;
  display: flex;
  align-items: center;
}
.date-filter label {
  font-size: 0.875rem;
  width: 3.45rem;
  text-align: right;
}

.workflow-status-color {
  width: 1.5em;
  height: 1.5em;
  border-radius: 100%;
  margin-right: 1em;
}

.form-control, .filters-search .btn-search, .form-select, .input-group-text {
  border-color: #C2C8D3;
}

.max-900 {
  max-width: 900px;
}

.form-control, .filters-search .btn-search, .input-group-text, .form-select {
  border-color: #C2C8D3;
}

.form-actions {
  padding-top: 1.5rem;
  border-top: 1px solid #d3d7e0;
  margin-top: 1.5rem;
  display: flex;
}

span[title=required] {
  color: #D52D34;
}

.form-check-label {
  font-size: 0.875rem;
  font-weight: 600;
}

.form-label {
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.col-form-label {
  padding-top: add(0.375rem, var(--qc-border-width));
  padding-bottom: add(0.375rem, var(--qc-border-width));
  margin-bottom: 0;
  font-weight: bold;
  line-height: 1.4;
  text-align: right;
}

.col-form-label-lg {
  padding-top: add(0.5rem, var(--qc-border-width));
  padding-bottom: add(0.5rem, var(--qc-border-width));
}

.col-form-label-sm {
  padding-top: add(0.25rem, var(--qc-border-width));
  padding-bottom: add(0.25rem, var(--qc-border-width));
}

#proposal-preview {
  display: flex;
  justify-content: center;
  padding-top: 2rem;
  padding-bottom: 3rem;
  background: #F7F9FB;
  border: 1px solid #d3d7e0;
  overflow: hidden;
}
.print-view #proposal-preview {
  border: none;
  background-color: white;
}
#proposal-preview .proposal {
  max-width: 8.5in;
  background: #fff;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
  padding: 0.5in;
  font-size: 0.875rem;
}
.print-view #proposal-preview .proposal {
  box-shadow: none;
  padding: 0;
}
#proposal-preview .proposal-header {
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid #353E4C;
  padding-bottom: 1.25rem;
  margin-bottom: 1.5rem;
  font-size: 0.8125rem;
  line-height: 1.2;
}
#proposal-preview .proposal-header-addresses {
  flex: 1 1 auto;
}
#proposal-preview .proposal-header-addresses-company {
  margin-bottom: 1rem;
}
#proposal-preview .proposal-header-logo {
  flex: 0 1 auto;
  width: 2.5in;
  display: flex;
  align-items: center;
  padding: 0 1rem;
}
#proposal-preview .proposal-header-meta {
  flex: 1 1 auto;
  text-align: right;
}
#proposal-preview .proposal-block {
  position: relative;
  padding: 0.875rem 0.75rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
}
#proposal-preview .proposal-block-item {
  gap: 2rem;
}
#proposal-preview .proposal-block-item-desc {
  flex: 1 1 auto;
}
#proposal-preview .proposal-block-item-price {
  flex: 0 1 auto;
  align-self: flex-start;
}
#proposal-preview .proposal-block-item-signature {
  flex-direction: column;
  gap: 1rem;
  align-items: stretch;
}
#proposal-preview .proposal-block-item-signature-desc {
  display: flex;
  align-items: center;
  gap: 2rem;
}
#proposal-preview .proposal-block-item-signature .proposal-block-item-desc {
  flex: 1 1 auto;
}
#proposal-preview .proposal-block-item-signature .proposal-block-item-price {
  flex: 0 1 auto;
}
#proposal-preview .proposal-block-item-signature-sig {
  align-self: flex-end;
  font-size: 0.75rem;
  font-style: italic;
}
#proposal-preview .proposal-block-item-signature-sig span {
  display: inline-block;
  width: 1in;
  border-bottom: 1px solid #353E4C;
  margin-left: 0.5rem;
}
#proposal-preview .proposal-block:hover {
  background: #eef4ff;
}
#proposal-preview .proposal-block:hover .proposal-block-controls {
  display: block !important;
}
#proposal-preview .proposal-block-blank {
  height: 2rem;
  position: relative;
  opacity: 0;
  margin: -1rem 0;
}
#proposal-preview .proposal-block-blank::after {
  content: "";
  display: block;
  height: 4px;
  background: #1E63E8;
  background: #1E63E8;
  position: absolute;
  width: 100%;
  top: 50%;
  transform: translateY(-2px);
}
#proposal-preview .proposal-block-blank:hover {
  opacity: 1;
}
#proposal-preview .proposal-block-blank .btn.dropdown-toggle {
  position: absolute;
  left: 50%;
  top: 0%;
  transform: translateX(-50%);
  z-index: 1;
  height: 2rem;
}
#proposal-preview .proposal-block-blank .btn.dropdown-toggle::after {
  display: none;
}
#proposal-preview .proposal-block-blank .dropdown-menu {
  margin-top: -2px !important;
}
#proposal-preview .proposal-block-controls {
  position: absolute;
  right: 0;
  top: 0;
  padding: 0.5rem;
  background: rgba(238, 244, 255, 0.7);
  border-radius: 0.5rem;
  display: none;
  backdrop-filter: blur(1px);
}
#proposal-preview .proposal-block-total {
  display: flex;
  justify-content: flex-end;
  font-size: 1rem;
}
#proposal-preview .proposal-block-total table {
  border-top: 2px solid #353E4C;
}
#proposal-preview .proposal-block-total table tr:first-child td {
  padding-top: 1.5rem;
}
#proposal-preview .proposal-block-total table td:first-child {
  padding-left: 2rem;
}
#proposal-preview .proposal-block-total table td:last-child {
  padding-left: 1.5rem;
  text-align: right;
}
#proposal-preview .proposal-block-signature {
  display: block;
  width: 100%;
  padding: 0;
}
#proposal-preview .proposal-signature h5 {
  margin-bottom: 2rem;
}
#proposal-preview .proposal-signature-container {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
#proposal-preview .proposal-signature-name, #proposal-preview .proposal-signature-date {
  display: flex;
  gap: 0.75rem;
}
#proposal-preview .proposal-signature-name div:first-child, #proposal-preview .proposal-signature-date div:first-child {
  flex: 0 0 auto;
}
#proposal-preview .proposal-signature-name div:last-child, #proposal-preview .proposal-signature-date div:last-child {
  flex: 1 1 auto;
  border-bottom: 1px solid #353E4C;
  height: 2rem;
}
#proposal-preview .proposal-signature-name {
  flex: 1 1 auto;
  width: 70%;
}
#proposal-preview .proposal-signature-name div:first-child {
  width: 100px;
  text-align: right;
}
#proposal-preview .proposal-signature-date {
  flex: 1 1 auto;
  width: 30%;
}

.contact-record {
  display: flex;
  width: 100%;
  gap: 0.5rem;
}
.contact-record-primary {
  padding-top: 0.25rem;
  flex: 0 0 1.125rem;
}
.contact-record-content {
  flex: 1 1 auto;
  min-width: 0;
}
.contact-record-header {
  display: flex;
  width: 100%;
  margin-bottom: 0.5rem;
  align-items: flex-start;
}
.contact-record-header h5 {
  margin-bottom: 0;
}
.contact-record-header h5 span {
  font-size: 1rem;
}
.contact-record-header .btn {
  margin-left: auto;
}
.contact-record-name {
  flex: 1 0 auto;
  padding-top: 0.25rem;
}
.contact-record-label {
  font-size: 0.75rem;
  color: #8B929F;
  font-weight: bold;
}
.contact-record-method {
  font-size: 0.875rem;
  display: flex;
  max-width: 100%;
}
.contact-record-method-label {
  color: #8B929F;
  flex: 0 0 60px;
  font-weight: bold;
}
.contact-record-method-value {
  flex: 1 1 auto;
  min-width: 0;
}
.contact-record-method-value.contact-record-email {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.modal-dialog {
  border-radius: 0.5rem;
  border: none;
  box-shadow: 0 50px 120px rgba(0, 0, 0, 0.25);
}
@media (min-width: 576px) {
  .modal-dialog {
    max-width: 750px;
  }
}
.modal-header, .modal-footer, .modal-body {
  padding: 1.5rem;
}
.modal-header .modal-header, .modal-header .modal-body, .modal-footer .modal-header, .modal-footer .modal-body, .modal-body .modal-header, .modal-body .modal-body {
  padding: 0;
}
.modal-header .modal-footer, .modal-footer .modal-footer, .modal-body .modal-footer {
  padding-bottom: 0;
}
.modal-header .modal-body, .modal-footer .modal-body, .modal-body .modal-body {
  padding-bottom: 1.5rem;
}
.modal-footer {
  width: calc(100% + 3rem);
  transform: translateX(-1.5rem);
}
.modal-footer .btn + .btn {
  margin-left: 1rem !important;
}

.uploads-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.upload-card {
  flex: 0 1 220px; /* Flexbox rule to create a responsive grid */
  border: 1px solid #e9ecef;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

.upload-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  background-color: #f8f9fa;
}

.file-icon {
  width: 100%;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f8f9fa;
  font-size: 4rem;
  color: #adb5bd;
}

.upload-info {
  padding: 1rem;
  flex-grow: 1;
}

.upload-filename {
  font-weight: bold;
  color: #333;
  text-decoration: none;
  display: block;
  word-wrap: break-word; /* Prevents long filenames from overflowing */
}

.upload-filename:hover {
  text-decoration: underline;
}

.upload-filesize {
  font-size: 0.8rem;
  color: #6c757d;
  display: block;
}

.upload-delete-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  color: white;
  background-color: red;
  border: none;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  text-align: center;
  line-height: 28px;
  text-decoration: none;
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
}

.upload-card:hover .upload-delete-btn {
  opacity: 1;
}

.margin-bar {
  width: 125px;
  height: 20px;
  margin-top: 0.15rem;
  border-radius: 5px;
  border: 1px solid #ccc;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
  background-color: #e9ecef;
  background-image: linear-gradient(to right, #ce1f0c 0%, #ce1f0c var(--margin-percent), #2ed172 var(--margin-percent), #2ed172 100%);
}

.estimator {
  display: grid;
  height: 100vh;
  grid-template-rows: 1fr auto;
}
.estimator-body {
  padding: 1.5rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem;
}
.estimator-toolbar {
  background: #fff;
  border: 1px solid #d3d7e0;
  border-radius: 0.75rem;
  padding: 0.35rem;
  display: flex;
  flex-direction: column;
}
.estimator-toolbar-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-align: center;
}
.estimator-canvas {
  flex: 1 0 auto;
  background: #fff;
  border: 1px solid #d3d7e0;
  border-radius: 0.75rem;
  background-color: #F5F5F5;
}
.estimator .estimator-canvas-wrapper {
  border: 0;
  margin: 0;
  padding: 0;
  background: transparent;
}
.estimator-properties {
  height: 100%;
  width: 20rem !important;
  display: flex;
}
.estimator-properties .qc-card-nav {
  font-size: 0.875rem;
  flex: 0 1 auto;
}
.estimator-properties .qc-card-nav ul.nav {
  width: 100%;
  justify-content: stretch;
}
.estimator-properties .qc-card-nav ul.nav li.nav-item {
  flex: 1 0 auto;
  height: 2.75rem;
}
.estimator-properties .qc-card-nav ul.nav li.nav-item .nav-link {
  width: 100%;
  justify-content: center;
}
.estimator-properties .qc-card.meta-card {
  width: 20rem;
  display: flex;
  flex-direction: column;
  margin-bottom: 0 !important;
}
.estimator-properties .qc-card-body {
  flex: 1 1 auto;
  padding: 0 !important;
  position: relative;
}
.estimator-properties .template-block {
  display: flex;
  gap: 0.75rem;
}
.estimator-properties .template-block-main {
  flex: 1 1 auto;
  min-width: 0;
}
.estimator-properties .template-block-legend {
  height: 1rem;
  width: 1rem;
  border-radius: 100%;
  flex: 0 0 auto;
  transform: translateY(0.4rem);
}
.estimator-properties .template-block-legend-red {
  background: #D52D34;
}
.estimator-properties .template-block-legend-orange {
  background: #FF8D24;
}
.estimator-properties .template-block-legend-yellow {
  background: #ffc107;
}
.estimator-properties .template-block-legend-green {
  background: #09AC2F;
}
.estimator-properties .template-block-legend-blue {
  background: #1E63E8;
}
.estimator-properties .template-block-legend-purple {
  background: #8F46EA;
}
.estimator-properties .template-block-header {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 0.5rem;
  row-gap: 0.25rem;
  margin-bottom: 0.5rem;
}
.estimator-properties .template-block-header span {
  display: block;
  padding-top: 0.2rem;
  font-weight: 600;
  font-size: 1rem;
  min-width: 0;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}
.estimator-properties .template-block-header .btn {
  justify-self: end;
}
.estimator-properties .template-block-details {
  font-size: 0.875rem;
  width: 100%;
}
.estimator-properties .template-block-details dl {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}
.estimator-properties .template-block-details dt {
  font-weight: 700;
  color: #8B929F;
  line-height: 1;
}
.estimator-properties .template-block-details dd {
  margin-bottom: 0;
  line-height: 1;
}
.estimator-properties .template-block-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  margin: 0.75rem 0;
}
.estimator-properties .template-block-actions .btn {
  width: 100%;
  padding: 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
}
.estimator-properties .template-block-actions .template-block-action {
  color: #1E63E8;
}
.estimator-properties .template-block-actions .template-block-action:hover, .estimator-properties .template-block-actions .template-block-action:focus, .estimator-properties .template-block-actions .template-block-action:active {
  color: rgb(20.514516129, 82.0580645161, 200.685483871);
}
.estimator-properties .template-block-actions .template-block-action--danger {
  color: #D52D34;
}
.estimator-properties .template-block-actions .template-block-action--danger:hover, .estimator-properties .template-block-actions .template-block-action--danger:focus, .estimator-properties .template-block-actions .template-block-action--danger:active {
  color: rgb(181, 36.2, 42.2333333333);
}
@media (min-width: 576px) {
  .estimator-properties .template-block-actions {
    margin: 1rem 0;
    gap: 0.75rem;
  }
  .estimator-properties .template-block-actions .btn {
    padding: 0.9rem;
    font-size: 1rem;
  }
}
.estimator-footer {
  flex: 0 1 auto;
}
.estimator-footer {
  background: #fff;
  border-top: 1px solid #d3d7e0;
  display: flex;
  justify-content: space-between;
  padding: 1.5rem;
}
.estimator .btn:hover {
  background: #eef4ff;
}
.estimator .btn.active {
  background: #1E63E8;
  color: #fff;
}
.estimator .btn-toolbar {
  padding: 0;
  width: 2.75rem;
  height: 2.75rem;
}
.estimator .btn-toolbar-text {
  font-size: 0.7rem;
  text-transform: uppercase;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
  text-decoration: none;
}
.estimator .run-attributes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.estimator .run-attributes .input-group {
  width: calc(50% - 0.375rem);
}
.estimator .run-attributes .input-group label {
  width: 50%;
}
.estimator .run-attributes .input-group .form-control, .estimator .run-attributes .input-group .filters-search .btn-search, .filters-search .estimator .run-attributes .input-group .btn-search {
  width: 50%;
  text-align: center;
}
.estimator .tab-pane {
  overflow: auto;
  padding: 1rem;
  position: absolute;
  bottom: 0;
  top: 0;
  right: 0;
  left: 0;
}

.konvajs-content {
  background-color: white;
  background-position: -1px -1px;
  background-size: 20px 20px;
  background-image: linear-gradient(to right, #f1f2f5 1px, transparent 1px), linear-gradient(to bottom, #f1f2f5 1px, transparent 1px);
  border: 1px solid #d3d7e0;
}

.estimator-item-option,
.estimator-item-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.estimator-item-option__swatch {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  flex: 0 0 auto;
}

.estimator-item-option__label {
  flex: 1 1 auto;
  min-width: 0;
}

.auto-save-message {
  color: #d44545; /* A subtle (gray) color */
  font-size: 0.9rem;
  font-style: italic;
  /* Apply the animation */
  animation: pulse-fade 2.5s infinite;
}

/* Define the "flashing" animation */
@keyframes pulse-fade {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
  100% {
    opacity: 1;
  }
}
.estimator-item-option,
.estimator-item-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.estimator-item-option__swatch {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  flex: 0 0 auto;
}

.estimator-item-option__label {
  flex: 1 1 auto;
  min-width: 0;
}

.pagination-container {
  display: flex;
  justify-content: flex-end;
}
.pagination-container .pagination {
  margin-bottom: 0;
  gap: 0.25rem;
}
.pagination-container .pagination .page-item {
  background: none;
  border: none;
}
.pagination-container .pagination .page-item .page-link {
  border: none;
  background: none;
  color: #1E63E8;
  border-radius: 0.5rem;
}
.pagination-container .pagination .page-item.disabled {
  opacity: 0.5;
}
.pagination-container .pagination .page-item.active .page-link {
  background: #d3e7fd;
  color: #194395;
}
.pagination-container .pagination .page-item:not(.disabled):not(.active) .page-link:hover {
  background: #eef4ff;
}

/*
 * Default Trix editor styles. See Action Text overwrites below.
*/
trix-editor {
  border: 1px solid #bbb;
  border-radius: 3px;
  margin: 0;
  padding: 0.4em 0.6em;
  min-height: 5em;
  outline: none;
}

trix-toolbar * {
  box-sizing: border-box;
}

trix-toolbar .trix-button-row {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  overflow-x: auto;
}

trix-toolbar .trix-button-group {
  display: flex;
  margin-bottom: 10px;
  border: 1px solid #bbb;
  border-top-color: #ccc;
  border-bottom-color: #888;
  border-radius: 3px;
}

trix-toolbar .trix-button-group:not(:first-child) {
  margin-left: 1.5vw;
}

@media (max-width: 768px) {
  trix-toolbar .trix-button-group:not(:first-child) {
    margin-left: 0;
  }
}
trix-toolbar .trix-button-group-spacer {
  flex-grow: 1;
}

@media (max-width: 768px) {
  trix-toolbar .trix-button-group-spacer {
    display: none;
  }
}
trix-toolbar .trix-button {
  position: relative;
  float: left;
  color: rgba(0, 0, 0, 0.6);
  font-size: 0.75em;
  font-weight: 600;
  white-space: nowrap;
  padding: 0 0.5em;
  margin: 0;
  outline: none;
  border: none;
  border-bottom: 1px solid #ddd;
  border-radius: 0;
  background: transparent;
}

trix-toolbar .trix-button:not(:first-child) {
  border-left: 1px solid #ccc;
}

trix-toolbar .trix-button.trix-active {
  background: #cbeefa;
  color: black;
}

trix-toolbar .trix-button:not(:disabled) {
  cursor: pointer;
}

trix-toolbar .trix-button:disabled {
  color: rgba(0, 0, 0, 0.125);
}

@media (max-width: 768px) {
  trix-toolbar .trix-button {
    letter-spacing: -0.01em;
    padding: 0 0.3em;
  }
}
trix-toolbar .trix-button--icon {
  font-size: inherit;
  width: 2.6em;
  height: 1.6em;
  max-width: calc(0.8em + 4vw);
  text-indent: -9999px;
}

@media (max-width: 768px) {
  trix-toolbar .trix-button--icon {
    height: 2em;
    max-width: calc(0.8em + 3.5vw);
  }
}
trix-toolbar .trix-button--icon::before {
  display: inline-block;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  opacity: 0.6;
  content: "";
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

@media (max-width: 768px) {
  trix-toolbar .trix-button--icon::before {
    right: 6%;
    left: 6%;
  }
}
trix-toolbar .trix-button--icon.trix-active::before {
  opacity: 1;
}

trix-toolbar .trix-button--icon:disabled::before {
  opacity: 0.125;
}

trix-toolbar .trix-button--icon-attach::before {
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M10.5%2018V7.5c0-2.25%203-2.25%203%200V18c0%204.125-6%204.125-6%200V7.5c0-6.375%209-6.375%209%200V18%22%20stroke%3D%22%23000%22%20stroke-width%3D%222%22%20stroke-miterlimit%3D%2210%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E");
  top: 8%;
  bottom: 4%;
}

trix-toolbar .trix-button--icon-bold::before {
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M6.522%2019.242a.5.5%200%200%201-.5-.5V5.35a.5.5%200%200%201%20.5-.5h5.783c1.347%200%202.46.345%203.24.982.783.64%201.216%201.562%201.216%202.683%200%201.13-.587%202.129-1.476%202.71a.35.35%200%200%200%20.049.613c1.259.56%202.101%201.742%202.101%203.22%200%201.282-.483%202.334-1.363%203.063-.876.726-2.132%201.12-3.66%201.12h-5.89ZM9.27%207.347v3.362h1.97c.766%200%201.347-.17%201.733-.464.38-.291.587-.716.587-1.27%200-.53-.183-.928-.513-1.198-.334-.273-.838-.43-1.505-.43H9.27Zm0%205.606v3.791h2.389c.832%200%201.448-.177%201.853-.497.399-.315.614-.786.614-1.423%200-.62-.22-1.077-.63-1.385-.418-.313-1.053-.486-1.905-.486H9.27Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E");
}

trix-toolbar .trix-button--icon-italic::before {
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M9%205h6.5v2h-2.23l-2.31%2010H13v2H6v-2h2.461l2.306-10H9V5Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E");
}

trix-toolbar .trix-button--icon-link::before {
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M18.948%205.258a4.337%204.337%200%200%200-6.108%200L11.217%206.87a.993.993%200%200%200%200%201.41c.392.39%201.027.39%201.418%200l1.623-1.613a2.323%202.323%200%200%201%203.271%200%202.29%202.29%200%200%201%200%203.251l-2.393%202.38a3.021%203.021%200%200%201-4.255%200l-.05-.049a1.007%201.007%200%200%200-1.418%200%20.993.993%200%200%200%200%201.41l.05.049a5.036%205.036%200%200%200%207.091%200l2.394-2.38a4.275%204.275%200%200%200%200-6.072Zm-13.683%2013.6a4.337%204.337%200%200%200%206.108%200l1.262-1.255a.993.993%200%200%200%200-1.41%201.007%201.007%200%200%200-1.418%200L9.954%2017.45a2.323%202.323%200%200%201-3.27%200%202.29%202.29%200%200%201%200-3.251l2.344-2.331a2.579%202.579%200%200%201%203.631%200c.392.39%201.027.39%201.419%200a.993.993%200%200%200%200-1.41%204.593%204.593%200%200%200-6.468%200l-2.345%202.33a4.275%204.275%200%200%200%200%206.072Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E");
}

trix-toolbar .trix-button--icon-strike::before {
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M6%2014.986c.088%202.647%202.246%204.258%205.635%204.258%203.496%200%205.713-1.728%205.713-4.463%200-.275-.02-.536-.062-.781h-3.461c.398.293.573.654.573%201.123%200%201.035-1.074%201.787-2.646%201.787-1.563%200-2.773-.762-2.91-1.924H6ZM6.432%2010h3.763c-.632-.314-.914-.715-.914-1.273%200-1.045.977-1.739%202.432-1.739%201.475%200%202.52.723%202.617%201.914h2.764c-.05-2.548-2.11-4.238-5.39-4.238-3.145%200-5.392%201.719-5.392%204.316%200%20.363.04.703.12%201.02ZM4%2011a1%201%200%201%200%200%202h15a1%201%200%201%200%200-2H4Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E");
}

trix-toolbar .trix-button--icon-quote::before {
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M4.581%208.471c.44-.5%201.056-.834%201.758-.995C8.074%207.17%209.201%207.822%2010%208.752c1.354%201.578%201.33%203.555.394%205.277-.941%201.731-2.788%203.163-4.988%203.56a.622.622%200%200%201-.653-.317c-.113-.205-.121-.49.16-.764.294-.286.567-.566.791-.835.222-.266.413-.54.524-.815.113-.28.156-.597.026-.908-.128-.303-.39-.524-.72-.69a3.02%203.02%200%200%201-1.674-2.7c0-.905.283-1.59.72-2.088Zm9.419%200c.44-.5%201.055-.834%201.758-.995%201.734-.306%202.862.346%203.66%201.276%201.355%201.578%201.33%203.555.395%205.277-.941%201.731-2.789%203.163-4.988%203.56a.622.622%200%200%201-.653-.317c-.113-.205-.122-.49.16-.764.294-.286.567-.566.791-.835.222-.266.412-.54.523-.815.114-.28.157-.597.026-.908-.127-.303-.39-.524-.72-.69a3.02%203.02%200%200%201-1.672-2.701c0-.905.283-1.59.72-2.088Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E");
}

trix-toolbar .trix-button--icon-heading-1::before {
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M21.5%207.5v-3h-12v3H14v13h3v-13h4.5ZM9%2013.5h3.5v-3h-10v3H6v7h3v-7Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E");
}

trix-toolbar .trix-button--icon-code::before {
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M3.293%2011.293a1%201%200%200%200%200%201.414l4%204a1%201%200%201%200%201.414-1.414L5.414%2012l3.293-3.293a1%201%200%200%200-1.414-1.414l-4%204Zm13.414%205.414%204-4a1%201%200%200%200%200-1.414l-4-4a1%201%200%201%200-1.414%201.414L18.586%2012l-3.293%203.293a1%201%200%200%200%201.414%201.414Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E");
}

trix-toolbar .trix-button--icon-bullet-list::before {
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M5%207.5a1.5%201.5%200%201%200%200-3%201.5%201.5%200%200%200%200%203ZM8%206a1%201%200%200%201%201-1h11a1%201%200%201%201%200%202H9a1%201%200%200%201-1-1Zm1%205a1%201%200%201%200%200%202h11a1%201%200%201%200%200-2H9Zm0%206a1%201%200%201%200%200%202h11a1%201%200%201%200%200-2H9Zm-2.5-5a1.5%201.5%200%201%201-3%200%201.5%201.5%200%200%201%203%200ZM5%2019.5a1.5%201.5%200%201%200%200-3%201.5%201.5%200%200%200%200%203Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E");
}

trix-toolbar .trix-button--icon-number-list::before {
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M3%204h2v4H4V5H3V4Zm5%202a1%201%200%200%201%201-1h11a1%201%200%201%201%200%202H9a1%201%200%200%201-1-1Zm1%205a1%201%200%201%200%200%202h11a1%201%200%201%200%200-2H9Zm0%206a1%201%200%201%200%200%202h11a1%201%200%201%200%200-2H9Zm-3.5-7H6v1l-1.5%202H6v1H3v-1l1.667-2H3v-1h2.5ZM3%2017v-1h3v4H3v-1h2v-.5H4v-1h1V17H3Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E");
}

trix-toolbar .trix-button--icon-undo::before {
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M3%2014a1%201%200%200%200%201%201h6a1%201%200%201%200%200-2H6.257c2.247-2.764%205.151-3.668%207.579-3.264%202.589.432%204.739%202.356%205.174%205.405a1%201%200%200%200%201.98-.283c-.564-3.95-3.415-6.526-6.825-7.095C11.084%207.25%207.63%208.377%205%2011.39V8a1%201%200%200%200-2%200v6Zm2-1Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E");
}

trix-toolbar .trix-button--icon-redo::before {
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M21%2014a1%201%200%200%201-1%201h-6a1%201%200%201%201%200-2h3.743c-2.247-2.764-5.151-3.668-7.579-3.264-2.589.432-4.739%202.356-5.174%205.405a1%201%200%200%201-1.98-.283c.564-3.95%203.415-6.526%206.826-7.095%203.08-.513%206.534.614%209.164%203.626V8a1%201%200%201%201%202%200v6Zm-2-1Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E");
}

trix-toolbar .trix-button--icon-decrease-nesting-level::before {
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M5%206a1%201%200%200%201%201-1h12a1%201%200%201%201%200%202H6a1%201%200%200%201-1-1Zm4%205a1%201%200%201%200%200%202h9a1%201%200%201%200%200-2H9Zm-3%206a1%201%200%201%200%200%202h12a1%201%200%201%200%200-2H6Zm-3.707-5.707a1%201%200%200%200%200%201.414l2%202a1%201%200%201%200%201.414-1.414L4.414%2012l1.293-1.293a1%201%200%200%200-1.414-1.414l-2%202Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E");
}

trix-toolbar .trix-button--icon-increase-nesting-level::before {
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M5%206a1%201%200%200%201%201-1h12a1%201%200%201%201%200%202H6a1%201%200%200%201-1-1Zm4%205a1%201%200%201%200%200%202h9a1%201%200%201%200%200-2H9Zm-3%206a1%201%200%201%200%200%202h12a1%201%200%201%200%200-2H6Zm-2.293-2.293%202-2a1%201%200%200%200%200-1.414l-2-2a1%201%200%201%200-1.414%201.414L3.586%2012l-1.293%201.293a1%201%200%201%200%201.414%201.414Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E");
}

trix-toolbar .trix-dialogs {
  position: relative;
}

trix-toolbar .trix-dialog {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  font-size: 0.75em;
  padding: 15px 10px;
  background: #fff;
  box-shadow: 0 0.3em 1em #ccc;
  border-top: 2px solid #888;
  border-radius: 5px;
  z-index: 5;
}

trix-toolbar .trix-input--dialog {
  font-size: inherit;
  font-weight: normal;
  padding: 0.5em 0.8em;
  margin: 0 10px 0 0;
  border-radius: 3px;
  border: 1px solid #bbb;
  background-color: #fff;
  box-shadow: none;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

trix-toolbar .trix-input--dialog.validate:invalid {
  box-shadow: #F00 0px 0px 1.5px 1px;
}

trix-toolbar .trix-button--dialog {
  font-size: inherit;
  padding: 0.5em;
  border-bottom: none;
}

trix-toolbar .trix-dialog--link {
  max-width: 600px;
}

trix-toolbar .trix-dialog__link-fields {
  display: flex;
  align-items: baseline;
}

trix-toolbar .trix-dialog__link-fields .trix-input {
  flex: 1;
}

trix-toolbar .trix-dialog__link-fields .trix-button-group {
  flex: 0 0 content;
  margin: 0;
}

trix-editor [data-trix-mutable]:not(.attachment__caption-editor) {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

trix-editor [data-trix-mutable]::-moz-selection,
trix-editor [data-trix-cursor-target]::-moz-selection, trix-editor [data-trix-mutable] ::-moz-selection {
  background: none;
}

trix-editor [data-trix-mutable]::selection,
trix-editor [data-trix-cursor-target]::selection, trix-editor [data-trix-mutable] ::selection {
  background: none;
}

trix-editor .attachment__caption-editor:focus[data-trix-mutable]::-moz-selection {
  background: highlight;
}

trix-editor .attachment__caption-editor:focus[data-trix-mutable]::selection {
  background: highlight;
}

trix-editor [data-trix-mutable].attachment.attachment--file {
  box-shadow: 0 0 0 2px highlight;
  border-color: transparent;
}

trix-editor [data-trix-mutable].attachment img {
  box-shadow: 0 0 0 2px highlight;
}

trix-editor .attachment {
  position: relative;
}

trix-editor .attachment:hover {
  cursor: default;
}

trix-editor .attachment--preview .attachment__caption:hover {
  cursor: text;
}

trix-editor .attachment__progress {
  position: absolute;
  z-index: 1;
  height: 20px;
  top: calc(50% - 10px);
  left: 5%;
  width: 90%;
  opacity: 0.9;
  transition: opacity 200ms ease-in;
}

trix-editor .attachment__progress[value="100"] {
  opacity: 0;
}

trix-editor .attachment__caption-editor {
  display: inline-block;
  width: 100%;
  margin: 0;
  padding: 0;
  font-size: inherit;
  font-family: inherit;
  line-height: inherit;
  color: inherit;
  text-align: center;
  vertical-align: top;
  border: none;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

trix-editor .attachment__toolbar {
  position: absolute;
  z-index: 1;
  top: -0.9em;
  left: 0;
  width: 100%;
  text-align: center;
}

trix-editor .trix-button-group {
  display: inline-flex;
}

trix-editor .trix-button {
  position: relative;
  float: left;
  color: #666;
  white-space: nowrap;
  font-size: 80%;
  padding: 0 0.8em;
  margin: 0;
  outline: none;
  border: none;
  border-radius: 0;
  background: transparent;
}

trix-editor .trix-button:not(:first-child) {
  border-left: 1px solid #ccc;
}

trix-editor .trix-button.trix-active {
  background: #cbeefa;
}

trix-editor .trix-button:not(:disabled) {
  cursor: pointer;
}

trix-editor .trix-button--remove {
  text-indent: -9999px;
  display: inline-block;
  padding: 0;
  outline: none;
  width: 1.8em;
  height: 1.8em;
  line-height: 1.8em;
  border-radius: 50%;
  background-color: #fff;
  border: 2px solid highlight;
  box-shadow: 1px 1px 6px rgba(0, 0, 0, 0.25);
}

trix-editor .trix-button--remove::before {
  display: inline-block;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  opacity: 0.7;
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg%20height%3D%2224%22%20width%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M19%206.41%2017.59%205%2012%2010.59%206.41%205%205%206.41%2010.59%2012%205%2017.59%206.41%2019%2012%2013.41%2017.59%2019%2019%2017.59%2013.41%2012z%22%2F%3E%3Cpath%20d%3D%22M0%200h24v24H0z%22%20fill%3D%22none%22%2F%3E%3C%2Fsvg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 90%;
}

trix-editor .trix-button--remove:hover {
  border-color: #333;
}

trix-editor .trix-button--remove:hover::before {
  opacity: 1;
}

trix-editor .attachment__metadata-container {
  position: relative;
}

trix-editor .attachment__metadata {
  position: absolute;
  left: 50%;
  top: 2em;
  transform: translate(-50%, 0);
  max-width: 90%;
  padding: 0.1em 0.6em;
  font-size: 0.8em;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.7);
  border-radius: 3px;
}

trix-editor .attachment__metadata .attachment__name {
  display: inline-block;
  max-width: 100%;
  vertical-align: bottom;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

trix-editor .attachment__metadata .attachment__size {
  margin-left: 0.2em;
  white-space: nowrap;
}

.trix-content {
  line-height: 1.5;
  overflow-wrap: break-word;
  word-break: break-word;
}

.trix-content * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.trix-content h1 {
  font-size: 1.2em;
  line-height: 1.2;
}

.trix-content blockquote {
  border: 0 solid #ccc;
  border-left-width: 0.3em;
  margin-left: 0.3em;
  padding-left: 0.6em;
}

.trix-content [dir=rtl] blockquote,
.trix-content blockquote[dir=rtl] {
  border-width: 0;
  border-right-width: 0.3em;
  margin-right: 0.3em;
  padding-right: 0.6em;
}

.trix-content li {
  margin-left: 1em;
}

.trix-content [dir=rtl] li {
  margin-right: 1em;
}

.trix-content pre {
  display: inline-block;
  width: 100%;
  vertical-align: top;
  font-family: monospace;
  font-size: 0.9em;
  padding: 0.5em;
  white-space: pre;
  background-color: #eee;
  overflow-x: auto;
}

.trix-content img {
  max-width: 100%;
  height: auto;
}

.trix-content .attachment {
  display: inline-block;
  position: relative;
  max-width: 100%;
}

.trix-content .attachment a {
  color: inherit;
  text-decoration: none;
}

.trix-content .attachment a:hover, .trix-content .attachment a:visited:hover {
  color: inherit;
}

.trix-content .attachment__caption {
  text-align: center;
}

.trix-content .attachment__caption .attachment__name + .attachment__size::before {
  content: " •";
}

.trix-content .attachment--preview {
  width: 100%;
  text-align: center;
}

.trix-content .attachment--preview .attachment__caption {
  color: #666;
  font-size: 0.9em;
  line-height: 1.2;
}

.trix-content .attachment--file {
  color: #333;
  line-height: 1;
  margin: 0 2px 2px 2px;
  padding: 0.4em 1em;
  border: 1px solid #bbb;
  border-radius: 5px;
}

.trix-content .attachment-gallery {
  display: flex;
  flex-wrap: wrap;
  position: relative;
}

.trix-content .attachment-gallery .attachment {
  flex: 1 0 33%;
  padding: 0 0.5em;
  max-width: 33%;
}

.trix-content .attachment-gallery.attachment-gallery--2 .attachment, .trix-content .attachment-gallery.attachment-gallery--4 .attachment {
  flex-basis: 50%;
  max-width: 50%;
}

/*
 * We need to override trix.css’s image gallery styles to accommodate the
 * <action-text-attachment> element we wrap around attachments. Otherwise,
 * images in galleries will be squished by the max-width: 33%; rule.
*/
.trix-content .attachment-gallery > action-text-attachment,
.trix-content .attachment-gallery > .attachment {
  flex: 1 0 33%;
  padding: 0 0.5em;
  max-width: 33%;
}

.trix-content .attachment-gallery.attachment-gallery--2 > action-text-attachment,
.trix-content .attachment-gallery.attachment-gallery--2 > .attachment, .trix-content .attachment-gallery.attachment-gallery--4 > action-text-attachment,
.trix-content .attachment-gallery.attachment-gallery--4 > .attachment {
  flex-basis: 50%;
  max-width: 50%;
}

.trix-content action-text-attachment .attachment {
  padding: 0 !important;
  max-width: 100% !important;
}

.pipeline-price-container {
  display: flex;
  justify-content: flex-end;
  margin-right: 2em;
}

.costs-summary {
  color: #4A5568;
  width: 100%;
  max-width: 280px;
  font-size: 1rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.3rem 0;
}
.summary-row .value {
  font-weight: 500;
}
.summary-row--total {
  font-weight: 700;
  border-top: 1px solid #E2E8F0;
  margin-top: 0.5rem;
  padding-top: 1.1rem;
}

.copyable {
  cursor: pointer;
  background-color: #e9ecef; /* A light gray background */
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-family: monospace;
  transition: background-color 0.2s ease-in-out;
}

.copyable:hover {
  background-color: #ced4da; /* A darker gray on hover */
}
