/* ELKA Control — shared UI stylesheet.
 * Existing component rules retain their cascade order.
 * Shared visual tokens and refinements are in the final section.
 * Keep feature visibility and application behavior unchanged.
 */
/* Component section 1 */
:root {
  --green: #08A96B;
  --green-2: #0DB978;
  --green-soft: #EAF8F2;
  --ink: #172033;
  --muted: #778195;
  --line: #E8ECF1;
  --bg: #F6F8FA;
  --card: #FFFFFF;
  --danger: #EF4E4E;
  --warn: #E6A31A;
  --blue: #3E83F8;
  --shadow: 0 8px 26px rgba(34,52,73,.07);
  --r: 18px;
}
* {
  box-sizing: border-box;
}
html,body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
}
body {
  min-height: 100vh;
}
button,input {
  font: inherit;
}
button {
  cursor: pointer;
}
.app {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 100vh;
}
.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  background: #fff;
  border-right: 1px solid var(--line);
  padding: 22px 16px;
  display: flex;
  flex-direction: column;
  z-index: 10;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 8px 24px;
}
.brand img {
  width: 34px;
  height: 34px;
}
.brand strong {
  font-size: 22px;
  letter-spacing: .2px;
}
.brand span {
  font-weight: 400;
  color: var(--green);
}
.nav {
  display: grid;
  gap: 6px;
}
.nav button {
  border: 0;
  background: transparent;
  color: #5f697b;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 13px;
  border-radius: 12px;
  text-align: left;
  font-weight: 600;
}
.nav button:hover {
  background: #f4f7f8;
}
.nav button.active {
  background: var(--green-soft);
  color: #087b52;
}
.nav svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.9;
}
.sidebar-foot {
  margin-top: auto;
  padding: 16px 10px;
  color: #98a0ae;
  font-size: 12px;
  line-height: 1.6;
}
.sidebar-foot b {
  display: block;
  color: #6e7788;
  font-size: 13px;
  margin-bottom: 5px;
}
.shell {
  min-width: 0;
}
.topbar {
  height: 72px;
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 28px;
  position: sticky;
  top: 0;
  z-index: 8;
  backdrop-filter: blur(12px);
}
.mobile-logo {
  display: none;
}
.search {
  max-width: 630px;
  flex: 1;
  position: relative;
}
.search svg {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  stroke: #9aa3b1;
  fill: none;
  stroke-width: 2;
}
.search input {
  width: 100%;
  height: 44px;
  border: 1px solid color-mix(in srgb, #e0e5eb 48%, transparent);
  border-radius: 13px;
  padding: 0 16px 0 46px;
  background: #f8fafb;
  outline: none;
  color: var(--ink);
}
.search input:focus {
  border-color: color-mix(in srgb, #9edfc5 48%, transparent);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(8,169,107,.08);
}
.top-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}
.icon-btn {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: #fff;
  display: grid;
  place-items: center;
  color: #647083;
  position: relative;
}
.icon-btn:hover {
  background: #f5f7f9;
}
.icon-btn svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.9;
}
.badge {
  position: absolute;
  right: 2px;
  top: 1px;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  background: var(--danger);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: grid;
  place-items: center;
  padding: 0 5px;
  border: 1px solid color-mix(in srgb, #fff 48%, transparent);
}
.profile {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 8px;
  border-radius: 12px;
}
.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #eef3f6;
  color: #4f5d70;
  font-weight: 700;
}
.profile small {
  display: block;
  color: #9099a7;
  font-size: 11px;
}
.profile b {
  font-size: 13px;
}
main {
  padding: 28px;
  max-width: 1500px;
  margin: auto;
}
.hello {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 20px;
}
.hello h1 {
  font-size: 30px;
  margin: 0 0 5px;
  letter-spacing: -.4px;
}
.hello p {
  margin: 0;
  color: var(--muted);
}
.today {
  color: #98a1af;
  font-size: 13px;
  text-align: right;
}
.today b {
  display: block;
  color: #4e596b;
  font-size: 15px;
  margin-top: 3px;
}
.summary {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 14px;
  margin-bottom: 18px;
}
.metric {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 18px;
  display: flex;
  gap: 14px;
  align-items: center;
  box-shadow: 0 2px 10px rgba(34,52,73,.02);
}
.metric-icon {
  width: 48px;
  height: 48px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: var(--green-soft);
  color: var(--green);
}
.metric:nth-child(2) .metric-icon {
  background: #EEF4FF;
  color: var(--blue);
}
.metric:nth-child(3) .metric-icon {
  background: #FFF7E6;
  color: var(--warn);
}
.metric:nth-child(4) .metric-icon {
  background: #F2EEFB;
  color: #815ED6;
}
.metric svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
}
.metric small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 3px;
}
.metric strong {
  font-size: 25px;
  line-height: 1;
}
.metric em {
  display: block;
  font-style: normal;
  color: #16a46c;
  font-size: 12px;
  margin-top: 5px;
}
.metric .red {
  color: var(--danger);
}
.grid-main {
  display: grid;
  grid-template-columns: minmax(0,1.7fr) minmax(320px,.8fr);
  gap: 18px;
  margin-bottom: 18px;
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px 12px;
}
.panel-head h2 {
  font-size: 18px;
  margin: 0;
}
.link {
  border: 0;
  background: transparent;
  color: var(--green);
  font-weight: 700;
  font-size: 13px;
}
.project-list {
  padding: 0 14px 14px;
  display: grid;
  gap: 10px;
}
.project {
  display: grid;
  grid-template-columns: 112px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid transparent;
  transition: .18s;
}
.project:hover {
  background: #fafcfc;
  border-color: color-mix(in srgb, #edf1f4 48%, transparent);
  transform: translateY(-1px);
}
.thumb {
  width: 112px;
  height: 74px;
  border-radius: 12px;
  object-fit: cover;
  background: #eee;
}
.project h3 {
  font-size: 15px;
  margin: 0 0 5px;
}
.meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  color: #8a93a2;
  font-size: 12px;
}
.progress-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 9px;
}
.bar {
  height: 7px;
  border-radius: 4px;
  background: #edf0f3;
  overflow: hidden;
  flex: 1;
  max-width: 270px;
}
.bar i {
  display: block;
  height: 100%;
  background: var(--green);
  border-radius: inherit;
}
.progress-line b {
  font-size: 12px;
  min-width: 34px;
}
.status {
  background: #e8f8f1;
  color: #088859;
  border-radius: 20px;
  padding: 7px 10px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}
.tasks {
  padding: 2px 18px 18px;
}
.task {
  display: grid;
  grid-template-columns: 10px 1fr auto;
  gap: 11px;
  align-items: start;
  padding: 13px 0;
  border-bottom: 1px solid color-mix(in srgb, #eef1f4 48%, transparent);
}
.task:last-child {
  border-bottom: 0;
}
.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  margin-top: 5px;
  background: var(--blue);
}
.dot.red {
  background: var(--danger);
}
.dot.yellow {
  background: var(--warn);
}
.task b {
  font-size: 13px;
  display: block;
  margin-bottom: 3px;
}
.task small {
  color: #8993a1;
}
.due {
  font-size: 11px;
  color: #87909d;
}
.due.hot {
  color: var(--danger);
  font-weight: 700;
}
.tenders {
  margin-bottom: 18px;
}
.tender-list {
  padding: 0 14px 14px;
}
.tender-head,.tender-row {
  display: grid;
  grid-template-columns: 2.1fr .75fr .8fr .75fr .6fr;
  gap: 14px;
  align-items: center;
}
.tender-head {
  padding: 8px 10px;
  color: #9aa2ae;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.tender-row {
  padding: 14px 10px;
  border-top: 1px solid color-mix(in srgb, #eef1f4 48%, transparent);
}
.tender-row:hover {
  background: #fbfcfd;
}
.tender-title b {
  font-size: 13px;
}
.tender-title small {
  display: block;
  color: #8c95a3;
  margin-top: 3px;
}
.amount {
  font-weight: 700;
  font-size: 13px;
}
.deadline {
  font-size: 12px;
  color: #697487;
}
.deadline.hot {
  color: var(--danger);
  font-weight: 700;
}
.pill {
  justify-self: start;
  border-radius: 20px;
  padding: 7px 10px;
  font-size: 11px;
  font-weight: 700;
  background: #eef5ff;
  color: #3377d8;
}
.pill.yellow {
  background: #fff7df;
  color: #a67a05;
}
.pill.green {
  background: #e8f8f1;
  color: #07895a;
}
.bottom-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 18px;
}
.quick {
  padding: 4px 18px 18px;
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 10px;
}
.quick button {
  border: 1px solid color-mix(in srgb, #edf0f3 48%, transparent);
  background: #fafcfc;
  border-radius: 14px;
  padding: 14px 10px;
  color: #546174;
  font-size: 12px;
  font-weight: 700;
}
.quick button:hover {
  border-color: color-mix(in srgb, #bfe9d7 48%, transparent);
  background: #f5fbf8;
  color: #0a8d5e;
}
.quick span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: #e9f8f2;
  color: var(--green);
  margin: 0 auto 8px;
  font-size: 22px;
}
.attention {
  padding: 4px 18px 18px;
}
.attention-row {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid color-mix(in srgb, #eef1f4 48%, transparent);
  align-items: center;
}
.attention-row:last-child {
  border-bottom: 0;
}
.attention-icon {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: #fff1f1;
  color: var(--danger);
  display: grid;
  place-items: center;
  font-weight: 900;
}
.attention b {
  font-size: 13px;
}
.attention small {
  display: block;
  color: #8e97a5;
  margin-top: 3px;
}
.fab {
  display: none;
}
.mobile-nav {
  display: none;
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%,20px);
  opacity: 0;
  background: #172033;
  color: #fff;
  padding: 11px 16px;
  border-radius: 12px;
  font-size: 13px;
  transition: .2s;
  z-index: 100;
  box-shadow: 0 12px 30px rgba(0,0,0,.18);
}
.toast.show {
  opacity: 1;
  transform: translate(-50%,0);
}
.drawer {
  position: fixed;
  right: 0;
  top: 0;
  height: 100vh;
  width: min(430px,92vw);
  background: #fff;
  box-shadow: -20px 0 60px rgba(22,39,56,.14);
  z-index: 50;
  transform: translateX(110%);
  transition: .25s;
  padding: 24px;
  overflow: auto;
}
.drawer.open {
  transform: none;
}
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(16,27,40,.28);
  z-index: 49;
  opacity: 0;
  pointer-events: none;
  transition: .2s;
}
.drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}
.drawer-close {
  border: 0;
  background: #f2f5f6;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  float: right;
}
.drawer h2 {
  margin: 55px 0 6px;
}
.drawer p {
  color: #7e8797;
}
.drawer-card {
  margin-top: 18px;
  background: #f8fafb;
  border: 1px solid color-mix(in srgb, #eef1f4 48%, transparent);
  border-radius: 16px;
  padding: 16px;
}
.drawer-card b {
  display: block;
  margin-bottom: 8px;
}
.drawer-card div {
  color: #697487;
  font-size: 13px;
  line-height: 1.8;
}
@media(max-width:1050px) {
  .app {
    grid-template-columns: 82px 1fr;
  }
  .brand strong,.brand span,.nav button span,.sidebar-foot {
    display: none;
  }
  .brand {
    justify-content: center;
  }
  .nav button {
    justify-content: center;
    padding: 13px;
  }
  .grid-main {
    grid-template-columns: 1fr;
  }
  .summary {
    grid-template-columns: repeat(2,1fr);
  }
}
@media(max-width:720px) {
  body {
    padding-bottom: 72px;
  }
  .app {
    display: block;
  }
  .sidebar {
    display: none;
  }
  .topbar {
    height: 64px;
    padding: 0 14px;
  }
  .mobile-logo {
    display: flex;
    align-items: center;
    gap: 7px;
    font-weight: 700;
    font-size: 17px;
  }
  .mobile-logo img {
    width: 27px;
  }
  .mobile-logo span {
    font-weight: 400;
    color: var(--green);
  }
  .search {
    display: none;
  }
  .profile .profile-text {
    display: none;
  }
  .profile {
    padding: 0;
  }
  .top-actions {
    gap: 2px;
  }
  main {
    padding: 18px 14px;
  }
  .hello {
    align-items: flex-start;
  }
  .hello h1 {
    font-size: 24px;
  }
  .hello p {
    font-size: 13px;
  }
  .today {
    display: none;
  }
  .summary {
    grid-template-columns: repeat(2,1fr);
    gap: 10px;
  }
  .metric {
    padding: 14px;
    align-items: flex-start;
  }
  .metric-icon {
    width: 39px;
    height: 39px;
    border-radius: 12px;
  }
  .metric strong {
    font-size: 22px;
  }
  .grid-main,.bottom-grid {
    grid-template-columns: 1fr;
  }
  .panel {
    border-radius: 16px;
    box-shadow: none;
  }
  .project {
    grid-template-columns: 92px 1fr;
  }
  .thumb {
    width: 92px;
    height: 66px;
  }
  .project>.status {
    display: none;
  }
  .tender-head {
    display: none;
  }
  .tender-row {
    grid-template-columns: 1fr auto;
    gap: 8px;
    padding: 14px 8px;
  }
  .tender-row>*:nth-child(2),.tender-row>*:nth-child(4) {
    display: none;
  }
  .tender-row .pill {
    grid-column: 2;
  }
  .amount {
    grid-row: 1;
    grid-column: 2;
  }
  .quick {
    grid-template-columns: repeat(2,1fr);
  }
  .mobile-nav {
    position: fixed;
    display: grid;
    grid-template-columns: repeat(5,1fr);
    bottom: 0;
    left: 0;
    right: 0;
    height: 68px;
    background: #fff;
    border-top: 1px solid var(--line);
    z-index: 30;
    padding: 7px 4px max(7px,env(safe-area-inset-bottom));
  }
  .mobile-nav button {
    border: 0;
    background: transparent;
    color: #7d8796;
    font-size: 11px;
    display: grid;
    place-items: center;
    gap: 3px;
  }
  .mobile-nav button.active {
    color: var(--green);
    font-weight: 700;
  }
  .mobile-nav svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
  }
  .fab {
    position: fixed;
    display: grid;
    place-items: center;
    right: 18px;
    bottom: 83px;
    width: 54px;
    height: 54px;
    border: 0;
    border-radius: 50%;
    background: var(--green);
    color: #fff;
    font-size: 29px;
    box-shadow: 0 12px 24px rgba(8,169,107,.28);
    z-index: 25;
  }
  .panel-head {
    padding: 16px 16px 10px;
  }
  .project-list {
    padding: 0 8px 8px;
  }
  .tasks,.attention {
    padding-left: 16px;
    padding-right: 16px;
  }
}
.tender-center {
  display: grid;
  gap: 18px;
}
.tc-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
}
.tc-head h1 {
  margin: 0;
  font-size: 30px;
}
.tc-head p {
  margin: 5px 0 0;
  color: var(--muted);
}
.tc-kpis {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 12px;
}
.tc-kpi {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
}
.tc-kpi small {
  display: block;
  color: var(--muted);
  margin-bottom: 5px;
}
.tc-kpi b {
  font-size: 24px;
}
.tc-table {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}
.tc-row,.tc-row-head {
  display: grid;
  grid-template-columns: 1.4fr .9fr .7fr .65fr .65fr;
  gap: 12px;
  align-items: center;
  padding: 13px 16px;
}
.tc-row-head {
  font-size: 11px;
  color: #8b95a4;
  text-transform: uppercase;
  background: #fafbfc;
}
.tc-row {
  border-top: 1px solid color-mix(in srgb, #eef1f4 48%, transparent);
  cursor: pointer;
}
.tc-row:hover {
  background: #fafdfb;
}
.tc-row b {
  display: block;
}
.tc-row small {
  display: block;
  color: var(--muted);
  margin-top: 3px;
}
.tc-status {
  display: inline-flex;
  width: max-content;
  padding: 6px 9px;
  border-radius: 16px;
  background: #fff5d8;
  color: #9b6a00;
  font-size: 11px;
  font-weight: 700;
}
.tc-status.green {
  background: #e9f8f1;
  color: #087d52;
}
.tc-detail {
  display: grid;
  grid-template-columns: minmax(0,1.35fr) minmax(340px,.65fr);
  gap: 18px;
}
.tc-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
}
.tc-box h2 {
  margin: 0 0 14px;
  font-size: 18px;
}
.tc-meta {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 10px;
}
.tc-meta div {
  padding: 11px;
  background: #f8fafb;
  border-radius: 12px;
}
.tc-meta small {
  display: block;
  color: var(--muted);
  font-size: 11px;
}
.tc-meta b {
  display: block;
  margin-top: 4px;
}
.tc-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.tc-tabs button {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  padding: 8px 11px;
  font-weight: 700;
  color: #657084;
}
.tc-tabs button.active {
  background: var(--green-soft);
  color: #087b52;
  border-color: color-mix(in srgb, #ccefe0 48%, transparent);
}
.spec-table,.rfq-table {
  width: 100%;
  border-collapse: collapse;
}
.spec-table th,.spec-table td,.rfq-table th,.rfq-table td {
  text-align: left;
  padding: 10px;
  border-bottom: 1px solid color-mix(in srgb, #eef1f4 48%, transparent);
  font-size: 12px;
}
.spec-table th,.rfq-table th {
  color: #8b95a4;
  font-size: 11px;
  text-transform: uppercase;
}
.rfq-state {
  font-weight: 700;
  color: #a67400;
}
.tc-empty {
  padding: 20px;
  border: 1px dashed color-mix(in srgb, #dfe5ea 48%, transparent);
  border-radius: 12px;
  color: #7e8998;
  background: #fbfcfd;
}
.tc-note {
  font-size: 12px;
  color: #7c8796;
  line-height: 1.5;
  margin-top: 12px;
}
.tc-back {
  border: 0;
  background: transparent;
  color: var(--green);
  font-weight: 700;
  padding: 0;
}
.tc-error {
  background: #fff1f1;
  color: #a33;
  padding: 15px;
  border-radius: 12px;
}
@media(max-width:1000px) {
  .tc-kpis {
    grid-template-columns: repeat(2,1fr);
  }
  .tc-detail {
    grid-template-columns: 1fr;
  }
  .tc-row,.tc-row-head {
    grid-template-columns: 1.4fr .8fr .65fr;
  }
  .tc-row>:nth-child(4),.tc-row>:nth-child(5),.tc-row-head>:nth-child(4),.tc-row-head>:nth-child(5) {
    display: none;
  }
}
/* Component section profile-return-v1 */
.profile-return {
  margin: 0 0 22px;
}
.profile-return button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 50px;
  padding: 13px 20px;
  border: 1px solid color-mix(in srgb, #add4c6 48%, transparent);
  border-radius: 14px;
  background: #e5f5ed;
  color: #11694f;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 3px 10px #143e3010;
}
.profile-return svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.profile-return button:hover {
  background: #d2eddf;
  border-color: color-mix(in srgb, #6eb39b 48%, transparent);
}
.profile-return button:focus-visible {
  outline: 2px solid var(--focus-color);
  outline-offset: 4px;
}
@media(max-width:650px) {
  .profile-return {
    margin-bottom: 18px;
  }
  .profile-return button {
    width: 100%;
    justify-content: flex-start;
    min-height: 52px;
  }
}
/* Component section profile-stage-icons-v1 */
.er-stage-nav button {
  min-height: 72px;
  gap: 12px;
  cursor: pointer;
}
.er-stage-nav button[data-stage] {
  border: 1px solid color-mix(in srgb, #e7edf1 48%, transparent);
  box-shadow: 0 3px 10px rgba(32,62,79,.055);
  transition: background .15s,border-color .15s,box-shadow .15s;
}
.er-stage-symbol {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 12px;
  background: #edf3fc;
  color: #547dc3;
}
.er-stage-symbol svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.er-stage-nav button:nth-child(2) .er-stage-symbol {
  background: #e7f5ef;
  color: #238366;
}
.er-stage-nav button:nth-child(3) .er-stage-symbol {
  background: #f0ebfa;
  color: #8263b4;
}
.er-stage-nav button:nth-child(4) .er-stage-symbol {
  background: #fff2df;
  color: #aa752d;
}
.er-stage-nav button[data-stage][aria-current=step] {
  border-color: color-mix(in srgb, #e0ebe5 48%, transparent);
  background: #eef8f3;
  color: #28765d;
  box-shadow: 0 3px 10px rgba(35,94,70,.07);
}
.er-stage-nav button[aria-current=step] .er-stage-symbol {
  background: #ddefe5;
  color: #28765d;
}
.er-stage-nav button[data-stage]:hover:not([aria-current=step]) {
  border-color: color-mix(in srgb, #dce6ec 48%, transparent);
  background: #f7fafc;
  box-shadow: 0 4px 12px rgba(32,62,79,.08);
}
@media(max-width:650px) {
  .er-stage-nav button {
    min-height: 86px;
    padding: 10px 3px;
    gap: 7px;
  }
  .er-stage-symbol {
    width: 36px;
    height: 36px;
    border-radius: 11px;
  }
  .er-stage-label {
    font-size: 11px;
  }
}
/* Component section 4 */
.er-tabs {
  display: flex;
  gap: 6px;
  border-bottom: 1px solid var(--line);
  margin: 0 0 26px;
  padding-bottom: 12px;
  flex-wrap: wrap;
}
.er-tabs button {
  border: 0;
  background: transparent;
  border-radius: 10px;
  padding: 10px 17px;
  color: #667386;
  font-weight: 650;
}
.er-tabs button[aria-current=page] {
  background: #dff4e9;
  color: #08764f;
}
.er-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}
.er-eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  color: #658171;
  font-weight: 700;
  margin-bottom: 9px;
}
.er-heading h1 {
  font-size: 30px;
  letter-spacing: -.8px;
  margin: 0 0 8px;
}
.er-heading p {
  margin: 0;
  color: #718093;
  line-height: 1.6;
  max-width: 670px;
}
.er-role {
  border: 1px solid color-mix(in srgb, #d9e7df 48%, transparent);
  border-radius: 30px;
  padding: 9px 13px;
  font-size: 12px;
  white-space: nowrap;
  background: white;
}
.er-layout {
  display: grid;
  grid-template-columns: minmax(0,1fr) 290px;
  gap: 22px;
  align-items: start;
}
.er-form {
  display: grid;
  gap: 17px;
}
.er-card {
  background: #fff;
  border: 1px solid color-mix(in srgb, #e2e9e6 48%, transparent);
  border-radius: 18px;
  padding: 23px;
}
.er-card h2 {
  font-size: 17px;
  margin: 0 0 7px;
  display: flex;
  align-items: center;
  gap: 11px;
}
.er-step {
  font-size: 11px;
  color: #16835d;
  background: #edf7f1;
  border-radius: 7px;
  padding: 5px 7px;
}
.er-hint {
  font-size: 13px;
  color: #788596;
  line-height: 1.5;
  margin: 0 0 17px;
}
.er-choices {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 9px;
}
.er-choice {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid color-mix(in srgb, #e3e9e7 48%, transparent);
  background: #fff;
  border-radius: 10px;
  padding: 12px;
  font-size: 13px;
  cursor: pointer;
}
.er-choice:has(input:checked) {
  border-color: color-mix(in srgb, #87c9a9 48%, transparent);
  background: #f0faf5;
  color: #126644;
}
.er-choice input {
  accent-color: #09875c;
  width: 16px;
  height: 16px;
  margin: 0;
  flex-shrink: 0;
}
.er-regions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.er-region {
  border: 1px solid color-mix(in srgb, #c5e4d4 48%, transparent);
  border-radius: 7px;
  padding: 7px 10px;
  font-size: 12px;
  background: #eef8f2;
  color: #246c4d;
  display: flex;
  gap: 9px;
  align-items: center;
}
.er-region button {
  border: 0;
  background: none;
  color: #478367;
  padding: 0 2px;
  font-size: 17px;
}
.er-grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.er-field {
  display: grid;
  gap: 7px;
  font-size: 12px;
  color: #4e5e6c;
}
.er-field input,.er-field select,.er-field textarea,.er-add select {
  width: 100%;
  border: 1px solid color-mix(in srgb, #dce4e0 48%, transparent);
  border-radius: 9px;
  background: #fff;
  padding: 12px;
  color: #20382d;
  font: inherit;
  font-size: 14px;
  min-width: 0;
}
.er-field textarea {
  resize: vertical;
  min-height: 75px;
}
.er-add {
  display: flex;
  gap: 8px;
}
.er-add select {
  flex: 1;
  min-width: 0;
}
.er-btn {
  border: 1px solid color-mix(in srgb, #d7e3dc 48%, transparent);
  background: white;
  padding: 11px 15px;
  border-radius: 10px;
  font-weight: 650;
  color: #285a43;
  font-size: 13px;
}
.er-btn.primary {
  background: #087c55;
  color: white;
  border-color: color-mix(in srgb, #087c55 48%, transparent);
}
.er-btn:disabled {
  opacity: .5;
  cursor: not-allowed;
}
.er-btn:hover:not(:disabled) {
  filter: brightness(.95);
}
.er-doc {
  display: grid;
  grid-template-columns: minmax(0,1fr) 166px;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid color-mix(in srgb, #f0f3f1 48%, transparent);
  font-size: 13px;
}
.er-doc select {
  border: 1px solid color-mix(in srgb, #dce4e0 48%, transparent);
  padding: 8px;
  border-radius: 8px;
  background: #fff;
  color: #445b4e;
  max-width: 100%;
}
.er-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.er-actions small {
  color: #6f7f76;
  font-size: 12px;
  line-height: 1.5;
}
.er-aside {
  display: grid;
  gap: 16px;
  position: sticky;
  top: 95px;
}
.er-summary {
  background: #163f30;
  color: #fff;
  border-radius: 18px;
  padding: 23px;
}
.er-summary h2 {
  font-size: 17px;
  margin: 0 0 6px;
}
.er-summary p {
  color: #b6d1c2;
  font-size: 12px;
  line-height: 1.6;
  margin: 0 0 18px;
}
.er-summary dl {
  margin: 0;
}
.er-summary dt {
  font-size: 11px;
  color: #a7c9b6;
  margin-top: 16px;
}
.er-summary dd {
  font-size: 14px;
  line-height: 1.6;
  margin: 5px 0 0;
}
.er-summary .er-state {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #dceadf;
  border: 1px solid color-mix(in srgb, #4e6e5f 48%, transparent);
  padding: 5px 8px;
  border-radius: 5px;
  margin-bottom: 15px;
}
.er-assist-card {
  background: #edf6ef;
  border: 1px solid color-mix(in srgb, #dce9de 48%, transparent);
  border-radius: 18px;
  padding: 22px;
}
.er-assist-card h3 {
  margin: 10px 0 7px;
  font-size: 17px;
}
.er-assist-card p {
  font-size: 13px;
  line-height: 1.65;
  color: #637b6b;
}
.er-tree {
  width: 70px;
  height: 78px;
}
.er-preview {
  font-size: 12px;
  color: #7b786a;
  line-height: 1.5;
  margin: 0 0 19px;
  padding: 11px 14px;
  background: #fcf8ee;
  border: 1px solid color-mix(in srgb, #eee8d6 48%, transparent);
  border-radius: 9px;
}
.er-error {
  color: #b42c38;
  font-size: 13px;
  min-height: 18px;
}
.er-note {
  font-size: 12px;
  color: #718075;
  line-height: 1.6;
}
.er-empty {
  padding: 35px 25px;
  text-align: center;
}
.er-empty h2 {
  font-size: 23px;
}
.er-empty p {
  max-width: 560px;
  margin: 12px auto 20px;
  color: #788596;
  line-height: 1.65;
}
.er-flow {
  display: flex;
  gap: 12px;
  margin: 22px 0;
}
.er-flow>div {
  background: #f5f8f6;
  border: 1px solid color-mix(in srgb, #e1e9e4 48%, transparent);
  border-radius: 12px;
  padding: 20px;
  flex: 1;
}
.er-flow span {
  font-size: 12px;
  color: #789385;
}
.er-flow h3 {
  font-size: 15px;
  margin: 8px 0;
}
.er-flow p {
  font-size: 13px;
  line-height: 1.6;
  color: #6a7d72;
}
.er-launcher {
  position: fixed;
  right: 26px;
  bottom: 24px;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid color-mix(in srgb, #146c4b 48%, transparent);
  border-radius: 30px;
  padding: 8px 19px 8px 9px;
  background: #123f2f;
  color: white;
  box-shadow: 0 7px 25px #0a382329;
  font-size: 14px;
  font-weight: 650;
}
.er-launcher svg {
  width: 36px;
  height: 40px;
}
.fab {
  display: none!important;
}
.er-chat {
  position: fixed;
  right: 24px;
  bottom: 92px;
  width: 370px;
  max-height: calc(100dvh - 115px);
  z-index: 40;
  background: white;
  border: 1px solid color-mix(in srgb, #d5e4db 48%, transparent);
  border-radius: 20px;
  box-shadow: 0 18px 70px #153e3026;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.er-chat[hidden] {
  display: none;
}
.er-chat-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px;
  border-bottom: 1px solid color-mix(in srgb, #e4ece6 48%, transparent);
  background: #f0f7f2;
}
.er-chat-head svg {
  width: 42px;
  height: 48px;
}
.er-chat-head strong {
  display: block;
  font-size: 16px;
}
.er-chat-head small {
  font-size: 11px;
  color: #6f8477;
  display: block;
  margin-top: 4px;
}
.er-chat-head button {
  margin-left: auto;
  background: transparent;
  border: 0;
  padding: 9px;
  font-size: 21px;
  color: #597360;
}
.er-chat-log {
  padding: 17px;
  overflow: auto;
  min-height: 170px;
  max-height: 320px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.er-msg {
  padding: 12px 14px;
  background: #f1f6f3;
  border-radius: 13px;
  font-size: 13px;
  line-height: 1.65;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
.er-msg.user {
  background: #e2f4e9;
  margin-left: 25px;
}
.er-chat-form {
  padding: 12px 15px;
  border-top: 1px solid color-mix(in srgb, #e6ece8 48%, transparent);
}
.er-chat-form textarea {
  width: 100%;
  resize: none;
  border: 1px solid color-mix(in srgb, #d7e3dc 48%, transparent);
  border-radius: 10px;
  padding: 11px;
  font: inherit;
  font-size: 13px;
}
.er-chat-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}
.er-chat-tools small {
  flex: 1;
  font-size: 11px;
  color: #79867e;
}
.er-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 16px 13px;
}
.er-quick button {
  font-size: 11px;
  background: #fff;
  border: 1px solid color-mix(in srgb, #dbe6df 48%, transparent);
  border-radius: 20px;
  padding: 7px 9px;
  color: #446551;
}
.er-voice-note {
  padding: 0 15px 14px;
  color: #7b857d;
  font-size: 11px;
  line-height: 1.5;
}
.er-card :focus-visible,.er-tabs :focus-visible,.er-chat :focus-visible,.er-launcher:focus-visible {
  outline: 2px solid var(--focus-color);
  outline-offset: 3px;
}
@media(max-width:1150px) {
  .er-layout {
    grid-template-columns: 1fr;
  }
  .er-aside {
    position: static;
    grid-template-columns: 1fr 1fr;
  }
  .er-heading h1 {
    font-size: 27px;
  }
}
@media(max-width:650px) {
  .er-heading {
    display: block;
  }
  .er-role {
    display: inline-flex;
    margin-top: 15px;
  }
  .er-card {
    padding: 18px;
  }
  .er-aside,.er-grid2,.er-choices {
    grid-template-columns: 1fr;
  }
  .er-flow {
    flex-direction: column;
  }
  .er-doc {
    grid-template-columns: 1fr;
  }
  .er-chat {
    right: 10px;
    bottom: 136px;
    width: calc(100% - 20px);
    max-height: calc(100dvh - 155px);
  }
  .er-launcher {
    right: 15px;
    bottom: 82px;
  }
  .er-layout {
    gap: 16px;
  }
  .er-tabs button {
    padding: 10px 12px;
  }
  .er-actions {
    padding-bottom: 8px;
  }
  .er-heading h1 {
    font-size: 25px;
  }
}
/* Component section 5 */
.er-layout {
  grid-template-columns: minmax(0,1fr) 245px;
  gap: 24px;
  max-width: 1180px;
}
.er-heading h1 {
  font-size: 28px;
}
.er-heading p {
  font-size: 14px;
}
.er-role {
  font-size: 11px;
}
.er-card {
  border-radius: 22px;
  padding: 26px;
  border-color: color-mix(in srgb, #e5ece5 48%, transparent);
  box-shadow: 0 4px 18px #264e3210;
}
.er-card h2 {
  font-size: 21px;
  letter-spacing: -.4px;
}
.er-step {
  display: none;
}
.er-card .er-hint {
  margin-top: 8px;
}
.er-choice {
  transition: background .15s,border-color .15s,box-shadow .15s;
}
.er-choice:hover {
  border-color: color-mix(in srgb, #8bba91 48%, transparent);
  box-shadow: 0 3px 12px #3c734516;
}
.er-choice:has(input:checked) {
  background: #eff7ec;
  border-color: color-mix(in srgb, #6b9b72 48%, transparent);
  color: #294e35;
}
.er-choice:has(input:focus-visible) {
  outline: 2px solid var(--focus-color);
  outline-offset: 3px;
}
.er-work-grid {
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 12px;
}
.er-work-tile {
  position: relative;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  min-height: 132px;
  padding: 18px 8px 14px;
  border-radius: 16px;
  gap: 12px;
  font-weight: 600;
  line-height: 1.35;
}
.er-work-tile input {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 15px;
  height: 15px;
}
.er-icon {
  width: 25px;
  height: 25px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.er-icon-disc {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  background: #f3f6f2;
  border-radius: 15px;
  color: #60806b;
}
.er-icon-disc .er-icon {
  width: 29px;
  height: 29px;
}
.er-work-tile:has(input:checked) .er-icon-disc {
  background: #dcecd4;
  color: #356c45;
}
.er-choice-label {
  font-size: 12px;
}
.er-stage-nav {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 8px;
  margin-bottom: 20px;
  max-width: 1180px;
}
.er-stage-nav button {
  border: 1px solid color-mix(in srgb, #e1e8e0 48%, transparent);
  border-radius: 13px;
  background: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 15px;
  color: #728075;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
}
.er-stage-nav button[aria-current=step] {
  color: #285c39;
  background: #e6f1df;
  border-color: color-mix(in srgb, #99bd8c 48%, transparent);
}
.er-stage-num {
  border-radius: 50%;
  height: 24px;
  width: 24px;
  display: grid;
  place-items: center;
  background: #f0f3ee;
  font-size: 11px;
  flex-shrink: 0;
}
.er-stage-nav button[aria-current=step] .er-stage-num {
  background: #3c704a;
  color: #fff;
}
.er-stage-nav button:focus-visible,.er-next:focus-visible {
  outline: 2px solid var(--focus-color);
  outline-offset: 3px;
}
.er-stage[hidden],.er-next[hidden],.er-back[hidden],.er-actions button[hidden] {
  display: none!important;
}
.er-stage {
  display: grid;
  gap: 18px;
  min-width: 0;
}
.er-stage h2:focus {
  outline: none;
}
.er-step-status {
  font-size: 12px;
  color: #667666;
  margin-bottom: 12px;
}
.er-actions {
  padding: 5px 0 20px;
  gap: 16px;
}
.er-actions>div {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.er-actions small {
  width: 100%;
}
.er-btn {
  border-radius: 12px;
}
.er-btn.primary {
  background: #376e48;
  border-color: color-mix(in srgb, #376e48 48%, transparent);
}
.er-error:empty {
  display: none;
}
.er-summary {
  background: #f2f6ee;
  color: #324d3b;
  border: 1px solid color-mix(in srgb, #e2e9dc 48%, transparent);
  padding: 20px;
}
.er-summary h2 {
  font-size: 15px;
}
.er-summary p {
  display: none;
}
.er-summary dt {
  color: #70816c;
}
.er-summary dd {
  font-size: 13px;
}
.er-summary .er-state {
  color: #617457;
  border-color: color-mix(in srgb, #d2dfc9 48%, transparent);
  background: #fff;
  font-size: 11px;
}
.er-aside {
  gap: 12px;
}
.er-assist-card {
  padding: 18px;
  background: white;
  border-color: color-mix(in srgb, #e2e9dc 48%, transparent);
}
.er-assist-card .er-tree {
  width: 36px;
  height: 44px;
  float: left;
  margin-right: 12px;
}
.er-assist-card h3 {
  font-size: 15px;
  margin: 5px 0 14px;
}
.er-assist-card p {
  font-size: 12px;
  margin: 8px 0;
}
.er-assist-card .er-note {
  display: none;
}
.er-preview {
  background: transparent;
  border: 0;
  padding: 0;
  font-size: 11px;
  color: #788373;
}
.er-options {
  border: 1px solid color-mix(in srgb, #e2e9df 48%, transparent);
  border-radius: 18px;
  padding: 18px;
  background: white;
}
.er-options summary {
  font-size: 14px;
  color: #4b6451;
  cursor: pointer;
  font-weight: 600;
}
.er-options .er-card {
  border: 0;
  box-shadow: none;
  padding: 18px 0 0;
}
.er-doc {
  grid-template-columns: 28px minmax(0,1fr) 166px;
}
.er-doc .er-icon {
  color: #688671;
  width: 22px;
  height: 22px;
}
.er-brand-logo {
  width: 137px;
  height: 58px;
  display: block;
}
.brand {
  gap: 0;
}
.er-brand-caption {
  font-size: 11px;
  letter-spacing: 2px;
  color: #7b847b;
  margin-top: 3px;
}
.er-launcher {
  background: #344e3c;
  border-color: color-mix(in srgb, #344e3c 48%, transparent);
}
.er-chat-head {
  background: #f1f6ed;
}
@media(max-width:1200px) {
  .er-work-grid {
    grid-template-columns: repeat(3,minmax(0,1fr));
  }
}
@media(max-width:1050px) {
  .er-layout {
    grid-template-columns: minmax(0,1fr) 220px;
  }
  .brand {
    width: 46px;
    padding: 0 0 24px;
    margin: 0 auto;
    overflow: hidden;
  }
  .brand .er-brand-logo {
    width: 137px;
    max-width: none;
    flex-shrink: 0;
  }
  .brand .er-wordmark,.brand .er-brand-caption {
    display: none;
  }
  .brand .er-brand-logo {
    overflow: visible;
  }
  .er-stage-nav button {
    padding: 12px 9px;
  }
}
@media(max-width:900px) {
  .er-layout {
    grid-template-columns: 1fr;
  }
  .er-aside {
    display: none;
  }
  .er-work-grid {
    grid-template-columns: repeat(4,minmax(0,1fr));
  }
}
@media(max-width:650px) {
  .er-card {
    padding: 19px;
  }
  .er-card h2 {
    font-size: 20px;
  }
  .er-work-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 10px;
  }
  .er-work-tile {
    min-height: 119px;
  }
  .er-stage-nav {
    gap: 5px;
  }
  .er-stage-nav button {
    flex-direction: column;
    gap: 5px;
    padding: 9px 4px;
    font-size: 11px;
    text-align: center;
  }
  .er-stage-num {
    width: 22px;
    height: 22px;
  }
  .er-doc {
    grid-template-columns: 24px 1fr;
  }
  .er-doc select {
    grid-column: 2;
    width: 100%;
  }
  .er-heading h1 {
    font-size: 25px;
  }
  .er-heading .er-role {
    display: none;
  }
  .mobile-logo .er-brand-logo {
    width: 95px;
    height: 40px;
  }
  .er-actions {
    padding-bottom: 24px;
  }
}
/* Component section 6 */
.er-work-group {
  border-bottom: 1px solid color-mix(in srgb, #e4ece2 48%, transparent);
  padding: 6px 0 13px;
  margin-bottom: 10px;
}
.er-work-group>summary {
  cursor: pointer;
  padding: 12px 0;
  color: #37543e;
  font-size: 14px;
  font-weight: 650;
}
.er-group-count {
  float: right;
  color: #768371;
  font-size: 11px;
  font-weight: 400;
  margin: 3px 0 0 8px;
}
.er-work-group .er-work-grid {
  margin: 8px 0;
}
.er-add-work {
  border: 1px dashed color-mix(in srgb, #90b784 48%, transparent);
  border-radius: 16px;
  background: #f5f9f1;
  color: #42653b;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 165px;
  padding: 15px 20px;
  margin-top: 18px;
}
.er-add-work>span {
  font-size: 28px;
  line-height: 1;
}
.er-add-work small {
  font-size: 11px;
  color: #6b7c65;
}
.er-work-editor {
  margin-top: 18px;
  border: 1px solid color-mix(in srgb, #ccdfc3 48%, transparent);
  background: #f6faf3;
  padding: 20px;
  border-radius: 16px;
  display: grid;
  gap: 12px;
}
.er-work-editor[hidden] {
  display: none;
}
.er-work-editor h3,.er-custom-list h3 {
  margin: 0 0 8px;
  font-size: 16px;
}
.er-work-editor .er-note {
  margin: 0;
}
.er-custom-list {
  margin-top: 20px;
}
.er-custom-row {
  border: 1px solid color-mix(in srgb, #e0e8dc 48%, transparent);
  padding: 10px;
  border-radius: 14px;
  margin: 10px 0;
}
.er-custom-row .er-choice {
  border: 0;
  align-items: flex-start;
}
.er-custom-row small {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: #71806b;
  line-height: 1.5;
  margin-top: 5px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.er-custom-row strong {
  overflow-wrap: anywhere;
}
.er-custom-row>div {
  display: flex;
  gap: 7px;
  margin: 5px 10px;
}
.er-custom-row .er-btn {
  font-size: 11px;
  padding: 7px 10px;
}
.er-add-work:focus-visible,.er-work-group summary:focus-visible {
  outline: 2px solid var(--focus-color);
  outline-offset: 3px;
}
/* Component section 7 */
.er-profile-name-row {
  display: flex;
  gap: 16px;
  align-items: end;
  margin-bottom: 5px;
}
.er-profile-name-row label {
  flex: 1;
}
.er-profile-selection {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  background: #edf5e8;
  border: 1px solid color-mix(in srgb, #cee0c4 48%, transparent);
  border-radius: 18px;
  padding: 22px;
  margin: 20px 0;
  color: #36563a;
}
.er-profile-selection p {
  font-size: 13px;
  line-height: 1.6;
  margin: 9px 0;
  overflow-wrap: anywhere;
}
.er-profile-selection small {
  font-size: 11px;
  color: #6c8064;
}
.er-profile-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 20px;
}
.er-profile-card {
  background: white;
  border: 1px solid color-mix(in srgb, #e0e8dd 48%, transparent);
  border-radius: 20px;
  padding: 24px;
  min-width: 0;
}
.er-profile-card.is-selected {
  border-color: color-mix(in srgb, #91b67f 48%, transparent);
  box-shadow: 0 3px 12px #244b3510;
}
.er-profile-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #617b58;
  cursor: pointer;
}
.er-profile-toggle input {
  accent-color: #376e48;
  width: 17px;
  height: 17px;
}
.er-profile-card h2 {
  font-size: 22px;
  overflow-wrap: anywhere;
  margin: 20px 0 10px;
}
.er-profile-works {
  font-size: 13px;
  line-height: 1.7;
  color: #557048;
  overflow-wrap: anywhere;
}
.er-profile-card dl {
  font-size: 12px;
  line-height: 1.6;
  margin: 20px 0;
}
.er-profile-card dt {
  color: #8a9485;
  margin-top: 11px;
}
.er-profile-card dd {
  margin: 3px 0;
  color: #495542;
}
.er-profile-tools {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  border-top: 1px solid color-mix(in srgb, #edf1ea 48%, transparent);
  padding-top: 17px;
}
.er-profile-delete {
  color: #89655e;
  background: transparent;
  border-color: transparent;
  margin-left: auto;
}
.er-profile-notice {
  background: #f2f7ef;
  border-radius: 10px;
  padding: 12px;
  color: #4b7342;
  font-size: 13px;
}
.er-profile-grid+.er-empty {
  margin-top: 18px;
}
.er-profile-name-row input:focus-visible,.er-profile-card input:focus-visible {
  outline: 2px solid var(--focus-color);
  outline-offset: 3px;
}
@media(max-width:900px) {
  .er-profile-grid {
    grid-template-columns: 1fr;
  }
  .er-profile-selection {
    display: block;
  }
  .er-profile-selection>div+div {
    margin-top: 15px;
  }
}
@media(max-width:650px) {
  .er-profile-name-row {
    display: block;
  }
  .er-profile-name-row button {
    margin-top: 10px;
  }
  .er-profile-card {
    padding: 19px;
  }
  .er-heading>button {
    margin-top: 15px;
  }
  .er-profile-tools .er-btn {
    font-size: 12px;
  }
}
/* Component section 8 */
.rt-head-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.rt-stats {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 15px;
  margin: 24px 0;
}
.rt-stats>div {
  background: #fff;
  border: 1px solid color-mix(in srgb, #e2e9de 48%, transparent);
  border-radius: 17px;
  padding: 20px;
  display: grid;
  gap: 7px;
}
.rt-stats span {
  font-size: 12px;
  color: #6a7d62;
}
.rt-stats strong {
  font-size: 29px;
  color: #33553c;
  line-height: 1.1;
}
.rt-stats small {
  font-size: 11px;
  color: #8b9686;
}
.rt-steps {
  display: flex;
  gap: 10px;
  border-bottom: 1px solid color-mix(in srgb, #dce5d7 48%, transparent);
  padding-bottom: 15px;
  margin: 24px 0;
}
.rt-steps button {
  display: flex;
  gap: 9px;
  align-items: center;
  border: 0;
  background: transparent;
  color: #7b8774;
  padding: 11px 17px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 650;
}
.rt-steps button span {
  border: 1px solid color-mix(in srgb, #cfddc9 48%, transparent);
  border-radius: 50%;
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  font-size: 11px;
}
.rt-steps button[aria-current=step] {
  background: #e3f0dc;
  color: #355b38;
}
.rt-steps button[aria-current=step] span {
  background: #376e48;
  color: #fff;
  border-color: color-mix(in srgb, #376e48 48%, transparent);
}
.rt-layout {
  display: grid;
  grid-template-columns: 210px minmax(0,1fr);
  gap: 22px;
  align-items: start;
}
.rt-categories {
  background: #fff;
  border: 1px solid color-mix(in srgb, #e2e9de 48%, transparent);
  border-radius: 18px;
  padding: 17px;
}
.rt-categories h3 {
  font-size: 13px;
  color: #6d7f64;
  margin: 0 0 16px;
}
.rt-categories>button {
  display: flex;
  gap: 9px;
  align-items: center;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: 10px;
  color: #70806a;
  font-size: 12px;
  line-height: 1.4;
  padding: 11px 8px;
  margin: 2px 0;
}
.rt-categories button[aria-current=true] {
  background: #ecf5e5;
  color: #345b3b;
  font-weight: 650;
}
.rt-categories svg {
  width: 19px;
  height: 19px;
}
.rt-profile-filter {
  font-size: 11px;
  line-height: 1.6;
  display: flex;
  gap: 8px;
  border-top: 1px solid color-mix(in srgb, #e5ecdf 48%, transparent);
  margin-top: 12px;
  padding-top: 15px;
  color: #728268;
}
.rt-profile-filter input {
  accent-color: #376e48;
}
.rt-table-panel {
  background: #fff;
  border: 1px solid color-mix(in srgb, #e2e9de 48%, transparent);
  border-radius: 18px;
  padding: 21px;
  min-width: 0;
}
.rt-toolbar {
  display: flex;
  align-items: end;
  gap: 16px;
  justify-content: space-between;
}
.rt-toolbar>label {
  flex: 1;
}
.rt-bulk {
  display: grid;
  gap: 6px;
  justify-items: end;
}
.rt-bulk span {
  font-size: 11px;
  color: #829276;
}
.rt-bulk .er-btn {
  font-size: 12px;
}
.rt-table-scroll {
  overflow-x: auto;
}
.rt-table-scroll table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  text-align: left;
  min-width: 640px;
}
.rt-table-scroll th {
  font-size: 11px;
  color: #899880;
  font-weight: 650;
  border-bottom: 1px solid color-mix(in srgb, #e1eadb 48%, transparent);
  padding: 13px 8px;
  white-space: nowrap;
}
.rt-table-scroll td {
  padding: 14px 8px;
  border-bottom: 1px solid color-mix(in srgb, #edf2e9 48%, transparent);
  color: #46573e;
  vertical-align: middle;
}
.rt-table-scroll td strong {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  display: block;
  max-width: 350px;
}
.rt-table-scroll td small {
  display: block;
  font-size: 11px;
  color: #89967f;
  margin-top: 5px;
  line-height: 1.5;
  max-width: 350px;
}
.rt-table-scroll input[type=checkbox] {
  accent-color: #376e48;
  width: 16px;
  height: 16px;
}
.rt-price {
  white-space: nowrap;
  font-weight: 650;
}
.rt-price.is-empty {
  font-weight: 400;
  color: #a0a798;
}
.rt-status {
  display: inline-block;
  font-size: 11px;
  background: #f6f3e9;
  color: #948054;
  border-radius: 6px;
  padding: 5px 7px;
  white-space: nowrap;
}
.rt-status.approved {
  background: #e9f4e1;
  color: #587741;
}
.rt-table-scroll .er-btn {
  font-size: 11px;
  padding: 7px 9px;
}
.rt-pagination {
  display: flex;
  gap: 15px;
  align-items: center;
  justify-content: space-between;
  margin-top: 17px;
  font-size: 11px;
  color: #7b8d70;
}
.rt-empty {
  padding: 35px 20px;
  text-align: center;
  color: #86947b;
  font-size: 13px;
  line-height: 1.6;
}
.rt-edit-card {
  margin: 18px 0;
  background: #fbfdf9;
}
.rt-edit-title {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 12px;
  margin-bottom: 22px;
}
.rt-edit-title h2 {
  font-size: 20px;
}
.rt-extra {
  margin-top: 20px;
  border-top: 1px solid color-mix(in srgb, #dfe8d8 48%, transparent);
  padding-top: 16px;
}
.rt-extra summary {
  cursor: pointer;
  font-size: 13px;
  color: #58744a;
  margin-bottom: 18px;
}
.rt-edit-card textarea {
  min-height: 70px;
}
.rt-import-card {
  margin: 20px 0;
  border-color: color-mix(in srgb, #b4d39f 48%, transparent);
  background: #f6fbf0;
}
.rt-import-card h2 {
  font-size: 20px;
}
.rt-import-card>p {
  font-size: 12px;
  overflow-wrap: anywhere;
}
.rt-import-counts {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 15px;
  margin: 20px 0;
  color: #557944;
}
.rt-calc-add {
  display: flex;
  align-items: end;
  gap: 12px;
  margin: 20px 0;
}
.rt-calc-add label {
  flex: 1;
}
.rt-qty {
  width: 100px;
  border: 1px solid color-mix(in srgb, #d9e4d0 48%, transparent);
  border-radius: 8px;
  padding: 9px;
  font: inherit;
}
.rt-total {
  padding: 25px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 14px;
  color: #728666;
}
.rt-total strong {
  font-size: 26px;
  color: #315b38;
}
.rt-future {
  padding: 22px;
  border: 1px dashed color-mix(in srgb, #ced9c5 48%, transparent);
  border-radius: 18px;
  margin-top: 20px;
  color: #8b9681;
  font-size: 13px;
}
.rt-future p {
  font-size: 12px;
  margin-bottom: 0;
}
.rt-table-panel .er-note {
  font-size: 11px;
}
.rt-steps button:focus-visible,.rt-categories button:focus-visible {
  outline: 2px solid var(--focus-color);
  outline-offset: 3px;
}
@media(max-width:1100px) {
  .rt-layout {
    grid-template-columns: 170px minmax(0,1fr);
  }
  .rt-toolbar {
    display: block;
  }
  .rt-bulk {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
  }
}
@media(max-width:760px) {
  .rt-layout {
    grid-template-columns: 1fr;
  }
  .rt-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    padding: 12px;
  }
  .rt-categories h3 {
    width: 100%;
    margin-bottom: 3px;
  }
  .rt-categories>button {
    width: auto;
    border: 1px solid color-mix(in srgb, #e3ebdc 48%, transparent);
    padding: 7px 9px;
  }
  .rt-profile-filter {
    width: 100%;
  }
  .rt-stats {
    gap: 8px;
  }
  .rt-stats>div {
    padding: 12px;
  }
  .rt-stats strong {
    font-size: 24px;
  }
  .rt-stats small {
    display: none;
  }
  .rt-stats span {
    font-size: 11px;
  }
  .rt-steps {
    gap: 4px;
  }
  .rt-steps button {
    padding: 9px 6px;
    font-size: 11px;
    flex: 1;
    flex-direction: column;
    text-align: center;
  }
  .rt-head-actions {
    margin-top: 16px;
  }
  .rt-table-panel {
    padding: 14px;
  }
  .rt-calc-add {
    display: block;
  }
  .rt-calc-add button {
    margin-top: 12px;
  }
  .rt-pagination {
    gap: 7px;
  }
  .rt-total {
    display: block;
  }
  .rt-total strong {
    display: block;
    margin-top: 12px;
  }
}
/* Component section 9 */
.rt-template-download {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.rt-template-sharing {
  background: #f3f8ed;
  border: 1px solid color-mix(in srgb, #d6e4c9 48%, transparent);
  border-radius: 14px;
  padding: 18px;
  margin: 15px 0;
}
.rt-template-sharing[hidden] {
  display: none;
}
.rt-template-sharing strong {
  font-size: 14px;
}
.rt-template-sharing input {
  background: white;
}
/* Component section tender-navigation-v1 */
.tn-summary {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 12px;
  margin: 20px 0;
}
.tn-summary>div {
  padding: 18px 20px;
  background: #fff;
  border: 1px solid color-mix(in srgb, #e0e9e5 48%, transparent);
  border-radius: 17px;
  display: grid;
  gap: 4px;
}
.tn-summary>div:first-child {
  background: linear-gradient(120deg,#008f65,#149c7b);
  color: white;
  border-color: transparent;
}
.tn-summary span {
  font-size: 12px;
  font-weight: 650;
}
.tn-summary strong {
  font-size: 30px;
  line-height: 1.3;
}
.tn-summary small {
  font-size: 11px;
  color: #65756e;
}
.tn-summary>div:first-child small {
  color: #e0f4ed;
}
.tb-stages.tn-stages {
  display: flex;
  overflow-x: auto;
  gap: 8px;
  margin: 18px 0 8px;
  padding: 2px 1px 8px;
}
.tb-stages.tn-stages button {
  position: static;
  flex: none;
  min-height: 44px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 9px;
  border: 1px solid color-mix(in srgb, #dbe5df 48%, transparent);
  border-radius: 24px;
  padding: 10px 15px;
  background: #fff;
  box-shadow: none;
}
.tb-stages.tn-stages button span {
  font-size: 12px;
}
.tb-stages.tn-stages button b {
  font-size: 12px;
  border-radius: 12px;
  background: #edf2ef;
  padding: 2px 7px;
  color: #456152;
}
.tb-stages.tn-stages button[aria-pressed=true] {
  background: #087b59;
  color: white;
  border-color: color-mix(in srgb, #087b59 48%, transparent);
}
.tb-stages.tn-stages button[aria-pressed=true] b {
  color: white;
  background: #ffffff25;
}
.tn-result-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 4px 0 14px;
  color: #66766f;
  font-size: 12px;
}
.tn-result-line p {
  margin: 0;
}
.tn-result-line [hidden] {
  display: none;
}
.tn-price {
  display: grid;
  gap: 4px;
  margin: 14px 0;
}
.tn-price>small {
  font-size: 11px;
  color: #61736a;
}
.tn-price .tb-price {
  font-size: 25px;
  letter-spacing: -.5px;
  color: #223d32;
}
.tb-card {
  display: flex;
  flex-direction: column;
}
.tb-card .tb-card-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.tn-deadline {
  font-weight: 650;
}
.tn-deadline small {
  display: block;
  color: #65756d;
  font-weight: 400;
  font-size: 11px;
  margin-top: 3px;
}
.tn-deadline[data-tone=urgent] {
  color: #aa3939;
}
.tn-deadline[data-tone=soon] {
  color: #916009;
}
.tn-next {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: #f0f7f3;
  border-radius: 10px;
  padding: 12px;
  font-size: 12px;
  line-height: 1.5;
  color: #32654b;
  margin: 16px 0;
}
.tn-next .ed-icon {
  flex-shrink: 0;
  width: 17px;
  height: 17px;
  margin-top: 1px;
}
.tb-card-bottom {
  margin-top: auto;
  gap: 10px;
}
.tb-card-bottom>span {
  overflow-wrap: anywhere;
  min-width: 0;
}
.tb-card-bottom .er-btn {
  background: #087b59;
  color: #fff;
  white-space: nowrap;
  min-height: 42px;
}
.tb-title {
  text-align: left;
  overflow-wrap: anywhere;
}
.tn-source-info {
  margin: 22px 0;
  padding: 16px;
  background: #f3f6f4;
  border-radius: 12px;
  color: #5b7063;
  font-size: 12px;
  line-height: 1.6;
}
.tn-source-info summary {
  cursor: pointer;
  font-weight: 650;
}
.tn-detail-step {
  display: grid;
  gap: 5px;
  padding: 18px 22px;
  margin: 18px 0;
  background: #edf7f1;
  border-left: 1px solid color-mix(in srgb, #16916a 48%, transparent);
  border-radius: 12px;
}
.tn-detail-step>span,.tn-detail-step>small {
  font-size: 11px;
  color: #557665;
}
.tn-detail-step>strong {
  font-size: 16px;
  color: #254f3b;
}
.tb-workspace button:focus-visible,.tb-workspace input:focus-visible,.tb-workspace select:focus-visible {
  outline: 2px solid var(--focus-color);
  outline-offset: 3px;
}
@media(max-width:650px) {
  .tn-summary {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 8px;
  }
  .tn-summary>div {
    padding: 14px;
  }
  .tn-summary strong {
    font-size: 25px;
  }
  .tn-summary small {
    font-size: 11px;
  }
  .tb-card .tb-price {
    font-size: 23px;
  }
  .tn-stages {
    max-width: 100%;
  }
  .tb-stages.tn-stages button {
    padding: 10px 12px;
  }
  .tn-result-line {
    align-items: flex-start;
  }
  .tn-detail-step {
    padding: 15px;
  }
  .tb-card-top {
    flex-wrap: wrap;
    gap: 6px;
  }
}
@media(max-width:650px) {
  .tn-summary {
    display: block;
    margin: 14px 0;
  }
  .tn-summary>div:not(:first-child) {
    display: none;
  }
  .tn-summary>div:first-child {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
  }
  .tn-summary>div:first-child span {
    max-width: 85px;
  }
  .tn-summary>div:first-child small {
    margin-left: auto;
    max-width: 115px;
  }
  .tn-summary strong {
    font-size: 26px;
  }
  .tb-workspace .er-heading {
    gap: 8px;
  }
}
@media(prefers-reduced-motion:reduce) {
  .tb-card {
    transition: none;
  }
  .tb-card:hover {
    transform: none;
  }
}
/* Component section compact-profile-cards-v1 */
.pc-selection {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: #eaf5ef;
  border: 1px solid color-mix(in srgb, #d7eadf 48%, transparent);
  border-radius: 15px;
  margin: 18px 0;
  color: #245e46;
}
.pc-selection>div {
  display: flex;
  gap: 12px;
  align-items: center;
}
.pc-selection small {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: #557467;
}
.pc-selection strong {
  font-size: 14px;
}
.pc-selection svg {
  width: 23px;
  height: 23px;
}
.pc-selection-actions {
  flex-wrap: wrap;
}
.pc-selection-actions button {
  min-height: 40px;
}
.pc-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 16px;
  max-width: 1080px;
}
.pc-card {
  border: 1px solid color-mix(in srgb, #dfe7e3 48%, transparent);
  border-radius: 20px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 3px 12px #233e3310;
}
.pc-card.is-selected {
  border-color: color-mix(in srgb, #86bca4 48%, transparent);
}
.pc-open {
  display: block;
  width: 100%;
  padding: 20px;
  text-align: left;
  background: transparent;
  border: 0;
  font: inherit;
  cursor: pointer;
  color: #273b34;
}
.pc-open:hover {
  background: #f8fbf9;
}
.pc-name-line {
  display: flex;
  align-items: center;
  gap: 12px;
}
.pc-avatar {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #e4f4ec;
  color: #18825f;
}
.pc-avatar svg {
  width: 23px;
  height: 23px;
}
.pc-name {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  overflow-wrap: anywhere;
  min-width: 0;
  flex: 1;
}
.pc-chevron {
  color: #7e9287;
}
.pc-chevron svg {
  width: 18px;
  height: 18px;
}
.pc-work-preview {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
  margin: 16px 0 10px;
  min-height: 28px;
  font-size: 12px;
  color: #61756a;
}
.pc-work {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #eff6f2;
  color: #35654c;
  border-radius: 9px;
  padding: 6px 9px;
  font-size: 12px;
  max-width: 100%;
  line-height: 1.4;
}
.pc-work>span {
  overflow-wrap: anywhere;
  min-width: 0;
}
.pc-work svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pc-more {
  font-size: 11px;
  font-weight: 650;
  color: #5b7467;
  white-space: nowrap;
}
.pc-mini-row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 0;
  border-top: 1px solid color-mix(in srgb, #f0f3f1 48%, transparent);
  font-size: 12px;
  line-height: 1.5;
}
.pc-mini-row>span:last-child {
  overflow-wrap: anywhere;
  min-width: 0;
}
.pc-mini-icon {
  display: inline-flex;
  flex-shrink: 0;
  color: #4980aa;
}
.pc-mini-icon.ruble {
  color: #a67f29;
}
.pc-mini-icon svg {
  width: 18px;
  height: 18px;
}
.pc-open-hint {
  display: block;
  font-size: 11px;
  font-weight: 650;
  color: #15825e;
  margin-top: 9px;
}
.pc-toggle {
  display: flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  color: #557267;
  min-height: 44px;
}
.pc-card>.pc-toggle {
  border-top: 1px solid color-mix(in srgb, #e9efec 48%, transparent);
  padding: 12px 20px;
  background: #f8fbf9;
}
.pc-toggle input {
  width: 19px;
  height: 19px;
  accent-color: #07805b;
  flex-shrink: 0;
  margin: 0;
}
.pc-card.is-selected>.pc-toggle {
  background: #edf7f1;
  color: #147650;
}
.pc-open:focus-visible,.pc-toggle input:focus-visible,.pc-detail-wrap button:focus-visible,.pc-detail-wrap summary:focus-visible {
  outline: 2px solid var(--focus-color);
  outline-offset: -3px;
}
.pc-detail-wrap {
  max-width: 920px;
}
.pc-detail-wrap>#pc-back {
  margin: 2px 0 18px;
}
.pc-detail-card {
  border: 1px solid color-mix(in srgb, #e0e8e3 48%, transparent);
  border-radius: 20px;
  background: #fff;
  overflow: hidden;
}
.pc-detail-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 22px;
  background: #f4faf6;
}
.pc-detail-heading>div {
  flex: 1;
  min-width: 0;
}
.pc-detail-heading strong {
  display: block;
  font-size: 16px;
}
.pc-detail-heading small {
  display: block;
  font-size: 11px;
  color: #658073;
  margin-top: 5px;
}
.pc-detail-heading .pc-toggle {
  font-size: 11px;
}
.pc-detail-row {
  display: flex;
  gap: 15px;
  padding: 23px;
  border-top: 1px solid color-mix(in srgb, #eaf0ed 48%, transparent);
}
.pc-detail-row>div {
  flex: 1;
  min-width: 0;
}
.pc-detail-row h2 {
  font-size: 12px;
  font-weight: 650;
  color: #6a7a71;
  margin: 0 0 11px;
}
.pc-row-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pc-row-icon.green {
  background: #e9f6ed;
  color: #268257;
}
.pc-row-icon.blue {
  background: #edf4fd;
  color: #4e84bd;
}
.pc-row-icon.gold {
  background: #fff6e5;
  color: #b08724;
}
.pc-row-icon.purple {
  background: #f3edfb;
  color: #8867b1;
}
.pc-row-icon svg {
  width: 21px;
  height: 21px;
}
.pc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pc-region {
  background: #f0f5fb;
  color: #436681;
  padding: 7px 10px;
  border-radius: 9px;
  font-size: 12px;
  overflow-wrap: anywhere;
  max-width: 100%;
}
.pc-value {
  font-size: 18px;
  font-weight: 700;
  color: #263e31;
  margin: 0 0 5px;
  overflow-wrap: anywhere;
}
.pc-detail-row small {
  font-size: 11px;
  color: #718379;
}
.pc-custom {
  font-size: 12px;
  margin-top: 12px;
  color: #587261;
  line-height: 1.6;
}
.pc-custom p {
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
.pc-extra {
  padding: 20px 23px;
  border-top: 1px solid color-mix(in srgb, #eaf0ed 48%, transparent);
  font-size: 13px;
}
.pc-extra summary,.pc-manage summary {
  cursor: pointer;
  color: #4d6759;
  font-weight: 650;
  min-height: 32px;
  align-content: center;
}
.pc-extra dl {
  line-height: 1.7;
  margin: 14px 0 0;
}
.pc-extra dt {
  font-size: 12px;
  color: #79877f;
  margin-top: 14px;
}
.pc-extra dd {
  margin: 4px 0;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
  color: #344b3d;
}
.pc-extra ul {
  padding-left: 20px;
  margin: 0;
}
.pc-detail-actions {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 23px;
  border-top: 1px solid color-mix(in srgb, #eaf0ed 48%, transparent);
  background: #fbfcfb;
}
.pc-manage {
  margin-left: auto;
}
.pc-manage .er-btn {
  display: flex;
  margin-top: 9px;
}
.pc-detail-wrap svg,.pc-card svg {
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@media(max-width:700px) {
  .pc-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .pc-selection {
    padding: 13px;
    align-items: flex-start;
    gap: 8px;
    flex-wrap: wrap;
  }
  .pc-selection-actions {
    width: 100%;
    justify-content: space-between;
  }
  .pc-open {
    padding: 16px;
  }
  .pc-name {
    font-size: 17px;
  }
  .pc-avatar {
    width: 39px;
    height: 39px;
  }
  .pc-work-preview {
    margin-top: 12px;
  }
  .pc-card>.pc-toggle {
    padding: 10px 16px;
  }
  .pc-detail-heading {
    padding: 17px;
    flex-wrap: wrap;
  }
  .pc-detail-heading .pc-toggle {
    width: 100%;
    padding-left: 0;
  }
  .pc-detail-row {
    padding: 18px 16px;
    gap: 11px;
  }
  .pc-row-icon {
    width: 33px;
    height: 33px;
  }
  .pc-value {
    font-size: 16px;
  }
  .pc-extra,.pc-detail-actions {
    padding: 16px;
  }
  .pc-detail-actions {
    gap: 8px;
  }
  .pc-detail-actions .er-btn {
    font-size: 12px;
  }
}
/* Component section profile-header-v1 */
.ph-control {
  max-width: 1080px;
  margin: 24px 0 20px;
  background: #fff;
  border: 1px solid color-mix(in srgb, #dce8e1 48%, transparent);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 5px 20px #294a3810;
}
.ph-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 23px 24px;
  background: linear-gradient(115deg,#f0faf4,#fff 75%);
}
.ph-symbol {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 49px;
  height: 49px;
  border-radius: 16px;
  background: #dbf0e3;
  color: #137b54;
}
.ph-symbol svg {
  width: 26px;
  height: 26px;
}
.ph-heading-text {
  flex: 1;
  min-width: 0;
}
.ph-heading h1 {
  font-size: 24px;
  letter-spacing: -.6px;
  line-height: 1.3;
  margin: 0;
  color: #263e32;
}
.ph-heading p {
  font-size: 12px;
  color: #667c6e;
  margin: 5px 0 0;
  line-height: 1.5;
}
.ph-new {
  border: 0;
  background: #138362;
  color: #fff;
  min-height: 44px;
  border-radius: 13px;
  padding: 11px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 3px 9px #15856020;
}
.ph-new svg {
  width: 18px;
  height: 18px;
}
.ph-new:hover {
  background: #0b7051;
}
.ph-choice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 24px;
  border-top: 1px solid color-mix(in srgb, #e9f0eb 48%, transparent);
}
.ph-choice-caption {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ph-selected-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  background: #eff6f1;
  color: #3b8060;
  flex-shrink: 0;
}
.ph-selected-icon svg {
  width: 17px;
  height: 17px;
}
.ph-choice-caption strong {
  font-size: 13px;
  font-weight: 700;
  color: #36553f;
  display: block;
}
.ph-choice-caption small {
  font-size: 11px;
  color: #708274;
  display: block;
  margin-top: 4px;
}
.ph-choice-actions {
  display: flex;
  gap: 6px;
  background: #f1f5f2;
  border-radius: 13px;
  padding: 4px;
}
.ph-choice-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font: inherit;
  font-size: 11px;
  font-weight: 650;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid transparent;
  background: #fff;
  border-radius: 10px;
  color: #42634e;
  cursor: pointer;
  box-shadow: 0 1px 4px #264b3210;
}
.ph-choice-actions button svg {
  width: 15px;
  height: 15px;
}
.ph-choice-actions button:hover:not(:disabled) {
  background: #e6f2ea;
  border-color: color-mix(in srgb, #b7d6c3 48%, transparent);
}
.ph-choice-actions button:disabled {
  background: transparent;
  box-shadow: none;
  color: #86968c;
  cursor: default;
}
.ph-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: #f9fbfa;
  border-top: 1px solid color-mix(in srgb, #edf2ef 48%, transparent);
  color: #6b8071;
}
.ph-foot>span {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
}
.ph-foot svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.ph-foot small {
  font-size: 11px;
  line-height: 1.5;
  color: #77887e;
}
.ph-control svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ph-control button:focus-visible {
  outline: 2px solid var(--focus-color);
  outline-offset: 3px;
}
@media(max-width:700px) {
  .ph-control {
    margin: 17px 0 16px;
    border-radius: 18px;
  }
  .ph-heading {
    padding: 17px;
    gap: 10px;
    flex-wrap: wrap;
  }
  .ph-symbol {
    width: 40px;
    height: 40px;
    border-radius: 13px;
  }
  .ph-symbol svg {
    width: 23px;
    height: 23px;
  }
  .ph-heading h1 {
    font-size: 21px;
  }
  .ph-heading p {
    font-size: 11px;
  }
  .ph-new {
    width: 100%;
    margin-top: 3px;
    font-size: 12px;
    min-height: 43px;
    box-shadow: none;
  }
  .ph-choice {
    padding: 14px 17px;
    gap: 12px;
    flex-wrap: wrap;
  }
  .ph-choice-actions {
    width: 100%;
    gap: 5px;
  }
  .ph-choice-actions button {
    flex: 1;
    padding: 8px;
    font-size: 11px;
  }
  .ph-foot {
    padding: 11px 17px;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .ph-foot>span {
    font-size: 11px;
  }
  .ph-foot small {
    font-size: 11px;
  }
}
/* Component section active-search-entry-v1 */
.pa-entry {
  margin: 24px 0 10px;
  max-width: 1080px;
  font: inherit;
}
.pa-entry>button {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 22px 24px;
  border: 1px solid color-mix(in srgb, #cce3d6 48%, transparent);
  border-radius: 19px;
  background: linear-gradient(115deg,#ecf8f0,#fff);
  color: #254735;
  cursor: pointer;
  text-align: left;
  font: inherit;
  box-shadow: 0 3px 12px #28543a0c;
  transition: background .15s,border-color .15s;
}
.pa-entry>button:hover {
  background: #e8f5ed;
  border-color: color-mix(in srgb, #83b99a 48%, transparent);
}
.pa-entry>button:focus-visible {
  outline: 2px solid var(--focus-color);
  outline-offset: 3px;
}
.pa-icon {
  width: 47px;
  height: 47px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #d7eedf;
  color: #117b50;
  flex-shrink: 0;
}
.pa-icon svg {
  width: 25px;
  height: 25px;
}
.pa-entry-text {
  flex: 1;
  min-width: 0;
}
.pa-title {
  display: block;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -.5px;
}
.pa-subtitle {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: #63806d;
  line-height: 1.5;
  margin-top: 5px;
}
.pa-arrow {
  display: flex;
  color: #25815c;
}
.pa-arrow svg {
  width: 22px;
  height: 22px;
}
.pa-status {
  max-width: 1080px;
  font-size: 11px;
  color: #748679;
  line-height: 1.6;
  margin: 0 0 20px;
  padding: 0 3px;
}
.pa-selection {
  max-width: 1080px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
}
.pa-selection h2 {
  font-size: 14px;
  font-weight: 700;
  color: #3e5847;
  margin: 0 0 4px;
}
.pa-selection [role=status] {
  font-size: 11px;
  color: #6e8173;
}
.pa-selection .ph-choice-actions {
  border: 1px solid color-mix(in srgb, #e0e9e3 48%, transparent);
}
.pa-selection svg,.pa-entry svg {
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pa-selection button:focus-visible {
  outline: 2px solid var(--focus-color);
  outline-offset: 2px;
}
.pa-empty {
  font-size: 13px;
  line-height: 1.6;
  color: #66806d;
  margin: 24px 0;
  max-width: 650px;
}
@media(max-width:700px) {
  .pa-entry {
    margin-top: 18px;
  }
  .pa-entry>button {
    padding: 17px 15px;
    gap: 11px;
    border-radius: 17px;
  }
  .pa-icon {
    width: 37px;
    height: 37px;
    border-radius: 12px;
  }
  .pa-icon svg {
    width: 21px;
    height: 21px;
  }
  .pa-title {
    font-size: 18px;
    letter-spacing: -.3px;
  }
  .pa-subtitle {
    font-size: 11px;
    margin-top: 5px;
  }
  .pa-arrow svg {
    width: 18px;
    height: 18px;
  }
  .pa-status {
    font-size: 11px;
    margin-bottom: 18px;
  }
  .pa-selection {
    flex-wrap: wrap;
    gap: 10px;
  }
  .pa-selection>div:first-child {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 12px;
  }
  .pa-selection h2 {
    margin: 0;
  }
  .pa-selection .ph-choice-actions {
    width: 100%;
  }
}
@media(prefers-reduced-motion:reduce) {
  .pa-entry>button {
    transition: none;
  }
}
/* Component section delicate-sticky-navigation-v1 */
:root {
  --line: #eaf0f3;
  --elka-header-height: 76px;
  --elka-step-height: 88px;
}
.er-stage-nav {
  position: sticky;
  top: var(--elka-header-height);
  z-index: 7;
  background: var(--bg);
  padding: 8px 0;
  scroll-margin-top: var(--elka-header-height);
  isolation: isolate;
}
.er-stage {
  scroll-margin-top: calc(var(--elka-header-height) + var(--elka-step-height) + 16px);
}
main:has(.er-stage-nav) .er-aside {
  top: calc(var(--elka-header-height) + var(--elka-step-height) + 16px);
}
@media(max-width:650px) {
  :root {
    --elka-header-height: 65px;
    --elka-step-height: 102px;
  }
}
/* Component section rate-sets-inline-v1 */
.rs-controls {
  margin-bottom: 20px;
  display: flex;
  gap: 16px;
  align-items: end;
  flex-wrap: wrap;
}
.rs-controls>.er-field {
  flex: 1;
  min-width: 220px;
}
.rs-controls>p,.rs-controls>form {
  width: 100%;
}
.rs-controls form {
  display: grid;
  gap: 12px;
}
.rs-controls [hidden] {
  display: none;
}
.rs-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.rs-option {
  display: flex;
  align-items: start;
  gap: 12px;
  padding: 16px;
  border: 1px solid #e8eeeb;
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
}
.rs-option:has(:checked) {
  background: #edf8f2;
}
.rs-option input {
  accent-color: #268061;
  margin-top: 3px;
}
.rs-option small {
  display: block;
  margin-top: 7px;
  color: #738178;
  font-size: 12px;
}
.rs-profile h2 {
  gap: 10px;
}
.rt-inline-host {
  position: sticky;
  left: 0;
  white-space: normal;
  text-align: left;
  width: min(900px,calc(100vw - 140px));
  max-width: 900px;
}
.rt-inline-host .rt-edit-card {
  margin: 6px 0;
  background: #f7fbf9;
  box-shadow: none;
}
.rt-inline-host textarea {
  white-space: pre-wrap;
}
#rt-inline-row>td {
  padding: 12px;
  background: #f7fbf9;
}
.rs-profile {
  margin-top: 8px;
}
@media(max-width:650px) {
  .rs-options {
    grid-template-columns: 1fr;
  }
  .rt-inline-host {
    width: calc(100vw - 100px);
    min-width: 210px;
  }
  .rt-inline-host .er-grid2 {
    grid-template-columns: 1fr;
  }
  .rt-inline-host .rt-edit-title {
    flex-wrap: wrap;
  }
  .rt-inline-host .er-card {
    padding: 14px;
  }
  .rs-controls {
    padding: 18px;
  }
}
/* Component section work-tile-contrast-v1 */
.er-choice.er-work-tile {
  background: #f5f7fb;
  border-color: #e9edf3;
  box-shadow: 0 2px 7px #20394f08;
}
.er-choice.er-work-tile .er-icon-disc {
  background: #dce8fc;
}
.er-choice.er-work-tile:nth-child(4n+2) .er-icon-disc {
  background: #e7def8;
}
.er-choice.er-work-tile:nth-child(4n+3) .er-icon-disc {
  background: #d7eee5;
}
.er-choice.er-work-tile:nth-child(4n) .er-icon-disc {
  background: #f9e7c8;
}
.er-choice.er-work-tile:has(input:checked) {
  background: #e8f5ef;
  border-color: transparent;
  box-shadow: 0 2px 8px #24684d0a;
}
.er-choice.er-work-tile:has(input:checked)::after {
  content: "";
  position: absolute;
  inset: -1px;
  border: 1px solid #96cbb7;
  border-radius: inherit;
  pointer-events: none;
}
.er-choice.er-work-tile:has(input:checked) .er-icon-disc {
  background: #cce9dc;
  color: #1a7858;
}
.er-choice.er-work-tile:hover {
  background: #edf2f8;
}
.er-choice.er-work-tile:has(input:checked):hover {
  background: #e2f2e9;
}
/* Component section system-settings-v1 */
.sys-tile {
  position: relative;
  min-width: 0;
}
.sys-tile .er-work-tile {
  height: 100%;
  min-height: 160px;
  padding-bottom: 44px;
}
.sys-settings {
  position: absolute;
  bottom: 12px;
  left: 10px;
  right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: transparent;
  border: 0;
  color: #487861;
  font: inherit;
  font-size: 11px;
  cursor: pointer;
  min-height: 28px;
}
.sys-settings svg {
  width: 16px;
  height: 16px;
}
.sys-settings:focus-visible,.sys-add:focus-visible {
  outline: 2px solid #418869;
  outline-offset: 2px;
  border-radius: 8px;
}
.sys-add {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 160px;
  background: #f3f8f5;
  border: 1px dashed #b7d5c6;
  border-radius: 15px;
  cursor: pointer;
  color: #42715b;
  font: inherit;
  padding: 16px;
}
.sys-add>span {
  font-size: 30px;
}
.sys-add small {
  font-size: 11px;
  color: #7c8d82;
}
.sys-add strong {
  font-size: 13px;
}
.sys-editor {
  background: #f5faf7;
  border: 1px solid #d9e8df;
  border-radius: 16px;
  padding: 22px;
  margin-top: 18px;
  display: grid;
  gap: 14px;
  scroll-margin-top: calc(var(--elka-header-height) + var(--elka-step-height) + 16px);
}
.sys-editor-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.sys-editor h3 {
  margin: 0;
  font-size: 19px;
}
.sys-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.sys-saved details {
  padding: 12px 0;
  border-bottom: 1px solid #edf2ef;
}
.sys-saved summary {
  cursor: pointer;
  font-weight: 650;
}
.sys-saved p {
  overflow-wrap: anywhere;
  line-height: 1.6;
  font-size: 13px;
}
.sys-editor input[readonly] {
  background: #edf3ef;
}
@media(max-width:650px) {
  .sys-editor {
    padding: 16px;
  }
  .sys-editor .er-grid2 {
    grid-template-columns: 1fr;
  }
  .sys-editor-title {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .sys-settings {
    font-size: 11px;
    left: 4px;
    right: 4px;
  }
}
/* Component section system-tile-colors-v1 */
.sys-tile:nth-child(4n+2) .er-work-tile .er-icon-disc {
  background: #e7def8;
  color: #8766bc;
}
.sys-tile:nth-child(4n+3) .er-work-tile .er-icon-disc {
  background: #d7eee5;
  color: #28876d;
}
.sys-tile:nth-child(4n) .er-work-tile .er-icon-disc {
  background: #f9e7c8;
  color: #ba873e;
}
.sys-tile .er-choice.er-work-tile:has(input:checked) .er-icon-disc {
  background: #cce9dc;
  color: #1a7858;
}
/* Component section voice-fields-v1 */
.vd-wrap {
  position: relative;
  display: block;
  min-width: 0;
  width: 100%;
}
.vd-wrap>input,.vd-wrap>textarea {
  padding-right: 50px;
}
.vd-mic {
  position: absolute;
  right: 5px;
  top: 5px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  min-width: 40px;
  padding: 8px;
  background: #e0eee7;
  border: 1px solid #d2e4da;
  border-radius: 10px;
  color: #2d7459;
  cursor: pointer;
}
.vd-mic svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.vd-mic:hover {
  background: #d0e7db;
}
.vd-mic[aria-pressed=true] {
  background: #fbe5df;
  color: #b24432;
}
.vd-mic:focus-visible {
  outline: 2px solid #397d60;
  outline-offset: 2px;
}
.vd-status {
  font-size: 12px;
  color: #637e6e;
  line-height: 1.5;
  margin: 6px 0 0;
  white-space: normal;
  overflow-wrap: anywhere;
}
.vd-status:empty {
  display: none;
}
.vd-status[data-error=true] {
  color: #9c5038;
}
/* Component section reusable-catalog-voice-style-v1 */
.vd-wrap .vd-mic {
  margin: 0!important;
}
.vd-wrap:has(>input) .vd-mic {
  top: 50%;
  transform: translateY(-50%);
}
.vd-mic,.vd-mic:hover {
  background: transparent;
  border: 0;
  box-shadow: none;
  color: #64786d;
}
.vd-mic:hover {
  color: #267458;
}
.vd-mic[aria-pressed=true] {
  background: transparent;
  color: #ba4e3b;
}
#er-mic {
  background: transparent;
  border: 0;
  box-shadow: none;
}
#er-mic[aria-pressed=true] {
  color: #ba4e3b;
}
#rs-profile-picker {
  margin-top: 0;
  margin-bottom: 4px;
}
#rs-profile-picker .rs-option {
  background: #f6f8fa;
  min-height: 76px;
}
#rs-profile-picker .rs-option:has(:checked) {
  background: #e8f4ed;
}
#rs-profile-new:not([hidden]) {
  display: grid;
  gap: 12px;
  margin: 16px 0;
  padding: 16px;
  background: #f5faf7;
  border-radius: 12px;
}
#rs-profile-new[hidden] {
  display: none;
}
#rs-profile-picker .rs-option strong {
  font-size: 14px;
}
/* Component section rate-picker-list-v1 */
.rp-list {
  display: grid;
  gap: 12px;
}
.rp-item {
  position: relative;
  border: 1px solid #e3ebe7;
  border-radius: 14px;
  background: #f8faf9;
  min-width: 0;
}
.rp-item:has(.rp-select input:checked) {
  background: #edf7f1;
}
.rp-select {
  position: absolute;
  top: 18px;
  right: 16px;
  display: flex;
  align-items: center;
  gap: 7px;
  z-index: 1;
  font-size: 12px;
  color: #38674e;
  cursor: pointer;
  min-height: 32px;
}
.rp-select input {
  width: 17px;
  height: 17px;
  accent-color: #27825d;
}
.rp-item>details>summary {
  list-style: none;
  padding: 20px 145px 18px 18px;
  cursor: pointer;
  min-height: 100px;
}
.rp-item>details>summary::-webkit-details-marker {
  display: none;
}
.rp-name {
  display: flex;
  gap: 9px;
  align-items: center;
  overflow-wrap: anywhere;
}
.rp-name strong {
  font-size: 15px;
}
.rp-name>.ed-icon {
  color: #688b79;
}
.rp-count {
  display: block;
  color: #78867d;
  font-size: 12px;
  margin: 8px 0;
}
.rp-sections {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.rp-sections>span {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  font-size: 11px;
  color: #607d6c;
}
.rp-sections svg {
  width: 17px;
  height: 17px;
}
.rp-open {
  display: block;
  font-size: 12px;
  color: #3e8263;
  margin-top: 10px;
}
.rp-item>details[open] .rp-open>span {
  display: inline-block;
  transform: rotate(180deg);
}
.rp-preview {
  padding: 0 18px 16px;
}
.rp-scroll {
  max-height: 400px;
  overflow: auto;
  border-radius: 10px;
  background: #fff;
}
.rp-scroll table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  text-align: left;
}
.rp-scroll th,.rp-scroll td {
  padding: 12px;
  border-bottom: 1px solid #edf1ef;
  vertical-align: top;
}
.rp-scroll thead th {
  background: #eff5f1;
  position: sticky;
  top: 0;
}
.rp-scroll td:first-child {
  min-width: 190px;
}
.rp-scroll small {
  display: block;
  color: #7a887f;
  margin-top: 5px;
}
.rp-scroll td:not(:first-child) {
  white-space: nowrap;
}
.rp-conditions {
  margin-top: 8px;
}
.rp-conditions summary {
  color: #4a8268;
  cursor: pointer;
}
.rp-conditions p {
  font-size: 12px;
  line-height: 1.5;
  white-space: normal;
}
.rp-more {
  margin-top: 12px;
}
.rp-item summary:focus-visible {
  outline: 2px solid #51866c;
  outline-offset: 2px;
  border-radius: 12px;
}
@media(max-width:650px) {
  .rp-item>details>summary {
    padding: 18px 16px 56px;
  }
  .rp-select {
    top: auto;
    bottom: auto;
    right: 16px;
    margin-top: 0;
    transform: translateY(-100%);
  }
  .rp-item {
    display: flex;
    flex-direction: column;
  }
  .rp-select {
    position: static;
    order: 2;
    transform: none;
    padding: 8px 16px 14px;
    border-top: 1px solid #e4eee8;
  }
  .rp-item>details>summary {
    padding-bottom: 16px;
  }
  .rp-preview {
    padding: 0 12px 12px;
  }
  .rp-scroll {
    max-height: 340px;
  }
}
/* Component section rates-home-soft-profile-v1 */
.rh-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: 1120px;
}
.rh-tile,.rh-set {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px;
  text-align: left;
  border: 1px solid #e8eeeb;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 16px #233d4d08;
  color: #2d4154;
  cursor: pointer;
  font: inherit;
  min-width: 0;
}
.rh-tile>span:nth-child(2),.rh-set>span:nth-child(2) {
  flex: 1;
  min-width: 0;
}
.rh-tile strong,.rh-set strong {
  display: block;
  font-size: 17px;
  overflow-wrap: anywhere;
}
.rh-tile small,.rh-set small {
  display: block;
  font-size: 12px;
  color: #728391;
  line-height: 1.6;
  margin-top: 7px;
}
.rh-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: #e9e6f5;
  color: #726091;
  border-radius: 14px;
}
.rh-icon svg {
  width: 25px;
  height: 25px;
}
.rh-tile:nth-child(2) .rh-icon {
  background: #e3edf9;
  color: #567aab;
}
.rh-tile:nth-child(3) .rh-icon {
  background: #f8ecd8;
  color: #a77b3c;
}
.rh-tile:nth-child(4) .rh-icon {
  background: #e4eeee;
  color: #4d8383;
}
.rh-tile:hover,.rh-set:hover {
  background: #f6faf8;
}
.rh-tile:focus-visible,.rh-set:focus-visible {
  outline: 2px solid #6f8195;
  outline-offset: 3px;
}
.rh-back {
  margin-bottom: 20px;
}
.rh-actions {
  margin-bottom: 20px;
}
.rh-list {
  display: grid;
  gap: 12px;
}
.rh-set {
  width: 100%;
}
.rh-directions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  color: #718779;
  margin-top: 10px;
}
.rh-directions>span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.rh-directions svg {
  width: 18px;
  height: 18px;
}
.rh-create {
  max-width: 720px;
  display: grid;
  gap: 20px;
}
.rh-template {
  max-width: 780px;
  display: grid;
  gap: 16px;
}
.rh-template p {
  color: #697d8a;
  line-height: 1.7;
}
.rt-steps .ed-icon {
  width: 20px;
  height: 20px;
}
.rt-steps button {
  gap: 8px;
}
.rt-steps button[aria-current=step] {
  background: #eef6f2;
  border-color: #e3ece7;
  box-shadow: 0 3px 10px #203d3010;
}
#er-form .er-choice:has(input:checked) {
  border-color: #e5eee8;
  box-shadow: 0 3px 10px #284e3910;
  background: #eef8f3;
}
#er-form .er-choice.er-work-tile:has(input:checked)::after {
  display: none;
}
#er-form .sys-tile .er-choice.er-work-tile:has(input:checked) .er-icon-disc {
  background: #e7e3f2;
  color: #6a5c8e;
}
#er-form .er-choice:has(input:checked)>.er-icon {
  color: #6a5c8e;
}
#er-form .rp-item:has(.rp-select input:checked) {
  border-color: #e5eee8;
  background: #eef8f3;
  box-shadow: 0 3px 10px #284e3909;
}
#er-form .rp-item:has(.rp-select input:checked) svg {
  color: #6a5c8e;
}
.er-stage-nav button[data-stage][aria-current=step] {
  border-color: #e5eee8;
  background: #eef8f3;
  box-shadow: 0 3px 10px #284e3910;
}
.er-stage-nav button[data-stage][aria-current=step] .er-stage-symbol {
  background: #e7e3f2;
  color: #6a5c8e;
}
.pc-card.is-selected {
  border-color: #e5eee8;
  box-shadow: 0 3px 12px #284e3910;
}
.pc-card.is-selected .pc-avatar {
  background: #e7e3f2;
  color: #6a5c8e;
}
@media(max-width:650px) {
  .rh-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .rh-tile,.rh-set {
    padding: 18px;
    gap: 12px;
  }
  .rh-tile strong,.rh-set strong {
    font-size: 15px;
  }
  .rh-icon {
    width: 42px;
    height: 42px;
  }
  .rt-steps {
    flex-wrap: wrap;
  }
  .rt-steps button {
    flex: 1 1 40%;
    font-size: 11px;
  }
  .rh-create {
    padding: 20px;
  }
}
/* Component section profile-contrast-details-v1 */
#er-form .sys-tile:has(input:checked) .sys-settings {
  color: #75678f;
}
.profile-return button {
  border-color: #e2ece6;
}
.profile-return svg {
  color: #6a5c8e;
}
/* Component section rate-create-tiles-v1 */
.rh-create:has(.rc-directions) {
  max-width: 1120px;
  background: transparent;
  padding: 0;
  border: 0;
  box-shadow: none;
  gap: 24px;
}
.rc-name {
  padding: 24px;
  background: #fff;
  border: 1px solid #e7edeb;
  border-radius: 18px;
  box-shadow: 0 3px 14px #243d4d08;
}
.rc-name-head {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 20px;
}
.rc-name-head h2 {
  font-size: 20px;
  margin: 0 0 5px;
}
.rc-name-head p {
  margin: 0;
  color: #71828e;
  font-size: 12px;
}
.rc-name>.er-field {
  max-width: 640px;
}
.rc-directions {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.rc-directions legend {
  font-size: 20px;
  font-weight: 700;
  padding: 0;
  color: #2c4154;
}
.rc-directions>p {
  margin: 8px 0 16px;
}
.rc-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 12px;
}
.rc-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 155px;
  border: 1px solid #e8edeb;
  background: #fff;
  border-radius: 16px;
  padding: 20px 14px;
  cursor: pointer;
  text-align: center;
  box-shadow: 0 3px 12px #243d4d07;
}
.rc-tile input {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 16px;
  height: 16px;
  accent-color: #668678;
}
.rc-symbol {
  width: 45px;
  height: 45px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: #e8e5f4;
  color: #71628d;
}
.rc-symbol svg {
  width: 25px;
  height: 25px;
}
.rc-tile:nth-child(3n+2) .rc-symbol {
  background: #e5edf9;
  color: #5d7fa8;
}
.rc-tile:nth-child(3n) .rc-symbol {
  background: #f5ead8;
  color: #a78248;
}
.rc-tile strong {
  font-size: 14px;
  color: #344b60;
  line-height: 1.4;
}
.rc-tile small {
  font-size: 11px;
  color: #798a94;
}
.rc-tile:has(input:checked) {
  background: #eef8f3;
  border-color: #e4ede8;
  box-shadow: 0 3px 12px #274c3b10;
}
.rc-tile:has(input:checked) .rc-symbol {
  background: #e8e4f3;
  color: #71628d;
}
.rc-tile:hover {
  background: #f5f8fa;
}
.rc-tile:has(input:checked):hover {
  background: #eaf5ef;
}
.rc-tile:has(input:focus-visible) {
  outline: 2px solid #748496;
  outline-offset: 3px;
}
.rh-create:has(.rc-directions)>button[type=submit] {
  justify-self: start;
  min-height: 48px;
  padding: 14px 24px;
}
@media(max-width:650px) {
  .rc-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 10px;
  }
  .rc-tile {
    min-height: 148px;
    padding: 20px 8px 16px;
  }
  .rc-tile strong {
    font-size: 12px;
  }
  .rc-tile small {
    font-size: 11px;
  }
  .rc-name {
    padding: 20px;
  }
  .rc-name-head h2 {
    font-size: 18px;
  }
  .rh-create:has(.rc-directions)>button[type=submit] {
    width: 100%;
    justify-self: stretch;
  }
}
/* Component section compact-rates-navigation-v2 */
.crm-back-slot {
  margin: 14px 0 18px;
  display: flex;
  align-items: center;
  min-height: 42px;
}
.crm-back-slot .er-btn {
  margin: 0!important;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid #e4eae9;
  background: #fff;
  color: #39546a;
  box-shadow: 0 2px 8px #213b4b08;
  border-radius: 12px;
  font-size: 13px;
}
.profile-return:empty {
  display: none;
}
.rc-grid {
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 10px;
}
.rc-tile {
  min-height: 110px;
  padding: 14px 10px;
  gap: 7px;
}
.rc-symbol {
  width: 36px;
  height: 36px;
  border-radius: 11px;
}
.rc-symbol svg {
  width: 22px;
  height: 22px;
}
.rc-tile strong {
  font-size: 13px;
}
.rc-tile small {
  font-size: 11px;
}
.rc-name {
  padding: 18px;
}
.rc-name-head {
  margin-bottom: 14px;
}
.rc-name-head h2 {
  font-size: 18px;
}
.rh-create:has(.rc-directions) {
  gap: 18px;
}
.rc-add {
  font: inherit;
}
.rc-add .rc-symbol {
  font-size: 26px;
  background: #e9edf5;
  color: #697a9a;
}
.rc-dialog {
  width: min(520px,calc(100% - 28px));
  padding: 24px;
  border: 1px solid #e3e9e7;
  border-radius: 20px;
  color: #344b60;
  box-shadow: 0 18px 70px #23344730;
  max-height: 90dvh;
  overflow: auto;
}
.rc-dialog::backdrop {
  background: #253b5050;
}
.rc-dialog form {
  display: grid;
  gap: 16px;
}
.rc-dialog .er-field {
  display: grid;
  gap: 8px;
}
.rc-dialog input:not([type=radio]),.rc-dialog textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #dfe6e5;
  border-radius: 10px;
  font: inherit;
  box-sizing: border-box;
}
.rc-dialog textarea {
  min-height: 80px;
}
.rc-icon-picker {
  border: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 8px;
}
.rc-icon-picker legend {
  margin-bottom: 10px;
}
.rc-icon-picker label {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 7px;
  border: 1px solid #e6e9ef;
  border-radius: 12px;
  padding: 12px 4px;
  font-size: 11px;
  cursor: pointer;
  color: #76638e;
  background: #faf9fc;
}
.rc-icon-picker svg {
  width: 25px;
  height: 25px;
}
.rc-icon-picker input {
  position: absolute;
  right: 4px;
  top: 4px;
  accent-color: #778b9c;
}
.rc-icon-picker label:has(input:checked) {
  background: #edf6f1;
  border-color: #dce9e1;
}
.rw-section-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.rw-section-head h2 {
  font-size: 19px;
  margin: 0 0 6px;
}
.rw-section-head p {
  font-size: 12px;
  margin: 0;
  color: #768594;
}
.rw-section-head>div {
  flex: 1;
}
.rt-categories button {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: none;
}
.rt-categories button[aria-current=true] {
  background: #eef7f2!important;
  color: #38546b!important;
}
.rt-categories button svg {
  color: #796a99;
}
.rt-categories button[data-rate-new-section] {
  margin-top: 10px;
  background: #f1f4f9;
}
@media(max-width:850px) {
  .rc-grid {
    grid-template-columns: repeat(3,minmax(0,1fr));
  }
}
@media(max-width:650px) {
  .rc-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .rc-tile {
    min-height: 110px;
    padding: 14px 8px;
  }
  .rw-section-head {
    flex-wrap: wrap;
  }
  .rw-section-head>.er-btn {
    width: 100%;
  }
  .rc-dialog {
    padding: 18px;
  }
  .crm-back-slot {
    margin: 12px 0;
  }
  .rc-name {
    padding: 16px;
  }
}
/* Component section rates-focused-workspace-v1 */
/* Temporarily hide secondary workflow navigation while refining works and prices. */
main:has(#rh-workspace-back) .rt-steps,
main:has(#rh-workspace-back) > .er-preview {
  display: none;
}
/* Component section 27 */
.tb-workspace {
  max-width: 1420px;
}
.tb-actions {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}
.tb-monitor {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: #edf4e9;
  border: 1px solid color-mix(in srgb, #d8e5d1 48%, transparent);
  border-radius: 17px;
  padding: 20px;
  margin: 18px 0;
}
.tb-monitor strong {
  color: #37543d;
}
.tb-monitor p {
  font-size: 13px;
  line-height: 1.6;
  color: #637564;
  max-width: 750px;
  margin: 7px 0 0;
}
.tb-stages {
  display: grid;
  grid-template-columns: repeat(7,minmax(0,1fr));
  gap: 8px;
  margin: 23px 0;
}
.tb-stages button {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  background: white;
  border: 1px solid color-mix(in srgb, #e1e8df 48%, transparent);
  border-radius: 15px;
  padding: 17px 12px;
  color: #687565;
  text-align: left;
}
.tb-stages b {
  font-size: 24px;
  font-weight: 650;
  color: #344b38;
}
.tb-stages span {
  font-size: 12px;
}
.tb-stages [aria-pressed=true] {
  background: #3d6949;
  border-color: color-mix(in srgb, #3d6949 48%, transparent);
  color: #e4eee1;
}
.tb-stages [aria-pressed=true] b {
  color: white;
}
.tb-toolbar {
  display: flex;
  align-items: end;
  gap: 12px;
}
.tb-toolbar>label:first-child {
  flex: 1;
}
.tb-toolbar select {
  min-width: 185px;
}
.tb-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 16px;
  margin-top: 18px;
}
.tb-card {
  background: #fff;
  border: 1px solid color-mix(in srgb, #e2e9df 48%, transparent);
  border-radius: 20px;
  padding: 21px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  box-shadow: 0 4px 16px #244b3010;
}
.tb-card-top {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: #7c867a;
}
.tb-badge {
  display: inline-block;
  background: #edf4e8;
  color: #477144;
  border: 1px solid color-mix(in srgb, #dfe9d8 48%, transparent);
  border-radius: 20px;
  padding: 6px 10px;
  font-size: 11px;
}
.tb-title {
  font: inherit;
  font-weight: 650;
  font-size: 17px;
  line-height: 1.45;
  color: #304634;
  text-align: left;
  border: 0;
  background: none;
  padding: 0;
  overflow-wrap: anywhere;
}
.tb-title:hover {
  text-decoration: underline;
}
.tb-number {
  font-size: 11px;
  line-height: 1.5;
  color: #7c867a;
  margin: 0;
  overflow-wrap: anywhere;
}
.tb-price {
  font-size: 23px;
  letter-spacing: -.4px;
  color: #334b39;
}
.tb-card-meta {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 12px;
  color: #6c7869;
}
.tb-card-bottom {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid color-mix(in srgb, #edf1e9 48%, transparent);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 11px;
  color: #71806b;
}
.tb-detail {
  display: grid;
  grid-template-columns: minmax(0,1fr) 315px;
  gap: 20px;
  margin-top: 20px;
  align-items: start;
}
.tb-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 22px 0;
}
.tb-facts small {
  color: #778473;
  font-size: 11px;
}
.tb-facts p {
  margin: 7px 0;
  font-size: 14px;
}
.tb-checks {
  padding-left: 20px;
  color: #73776c;
  font-size: 13px;
  line-height: 1.7;
}
.tb-checks li {
  margin: 8px 0;
}
.tb-checks .tb-ok {
  color: #3c744c;
}
.tb-checks .tb-no {
  color: #a35b33;
}
.tb-document {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid color-mix(in srgb, #e7ece4 48%, transparent);
  padding: 13px 0;
  overflow-wrap: anywhere;
}
.tb-document a {
  font-size: 13px;
  color: #356344;
}
.tb-document+form {
  margin-top: 20px;
}
.tb-history {
  list-style: none;
  padding: 0;
  font-size: 12px;
  max-height: 400px;
  overflow: auto;
}
.tb-history li {
  border-left: 1px solid color-mix(in srgb, #d6e4cc 48%, transparent);
  padding: 0 0 18px 14px;
}
.tb-history small {
  color: #869080;
  font-size: 11px;
}
.tb-history p {
  margin: 6px 0;
  color: #53694f;
  overflow-wrap: anywhere;
}
.tb-source-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 14px;
  margin: 18px 0;
}
.tb-source-grid>div {
  padding: 20px;
  border: 1px solid color-mix(in srgb, #dfe7db 48%, transparent);
  border-radius: 15px;
  background: #f8faf6;
}
.tb-source-grid p {
  font-size: 13px;
  color: #77816f;
  line-height: 1.6;
}
.tb-source-grid h2 {
  font-size: 17px;
}
.tb-signature {
  margin-top: 20px;
}
.tb-signature .tb-badge {
  margin: 10px 0 18px;
}
.tb-json {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 12px;
  background: #f3f6f0;
  padding: 17px;
  border-radius: 12px;
}
.tb-warning {
  padding: 13px;
  background: #fff7e8;
  border: 1px solid color-mix(in srgb, #ebd7b5 48%, transparent);
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.6;
}
.tb-workspace button:focus-visible,.tb-workspace a:focus-visible {
  outline: 2px solid var(--focus-color);
  outline-offset: 3px;
}
.tb-workspace h1 {
  overflow-wrap: anywhere;
}
.tb-workspace>.er-card {
  margin-bottom: 18px;
}
@media(max-width:1250px) {
  .tb-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .tb-stages {
    grid-template-columns: repeat(4,minmax(0,1fr));
  }
}
@media(max-width:850px) {
  .tb-detail {
    grid-template-columns: 1fr;
  }
  .tb-toolbar {
    flex-wrap: wrap;
  }
  .tb-toolbar>label {
    flex: 1;
  }
  .tb-monitor {
    align-items: flex-start;
    flex-direction: column;
  }
}
@media(max-width:600px) {
  .tb-grid,.tb-source-grid {
    grid-template-columns: 1fr;
  }
  .tb-stages {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .tb-stages button {
    padding: 13px;
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }
  .tb-stages b {
    font-size: 20px;
  }
  .tb-toolbar {
    display: grid;
    grid-template-columns: 1fr;
  }
  .tb-actions {
    margin-top: 14px;
  }
  .tb-facts {
    gap: 12px;
  }
  .tb-card {
    padding: 18px;
  }
}
/* Component section 28 */
.tp-description {
  border-top: 1px solid color-mix(in srgb, #e4eadf 48%, transparent);
  margin-top: 18px;
  padding-top: 20px;
}
.tp-description h3 {
  font-size: 18px;
  margin: 16px 0 8px;
}
.tp-description>p {
  font-size: 14px;
  line-height: 1.75;
  color: #64705e;
}
.tp-description>.er-note {
  font-size: 11px;
}
.tp-demo {
  font-size: 11px;
  letter-spacing: .6px;
  background: #f9f1dd;
  color: #866b30;
  padding: 6px 9px;
  border-radius: 6px;
  display: inline-block;
}
.tp-scope {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.tp-scope span {
  font-size: 11px;
  color: #4b6b49;
  background: #edf4e7;
  padding: 7px 9px;
  border-radius: 7px;
}
.tp-section-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 12px;
  flex-wrap: wrap;
}
.tp-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #edf3e6;
  border-radius: 7px;
  min-width: 25px;
  height: 25px;
  font-size: 12px;
  color: #5e8050;
}
.tp-document-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 13px;
  margin: 12px 0 20px;
}
.tp-file {
  min-width: 0;
  border: 1px solid color-mix(in srgb, #e3e8df 48%, transparent);
  border-radius: 13px;
  overflow: hidden;
  background: #fff;
}
.tp-cover {
  position: relative;
  display: block;
  width: 100%;
  height: 166px;
  padding: 12px 14px 0;
  border: 0;
  overflow: hidden;
  background: #eff3e9;
  cursor: pointer;
}
.tp-cover img {
  width: 100%;
  height: auto;
  box-shadow: 0 3px 10px #29382420;
  display: block;
}
.tp-cover span {
  position: absolute;
  bottom: 8px;
  left: 10px;
  font-size: 11px;
  background: #fff;
  color: #626f59;
  border: 1px solid color-mix(in srgb, #dce4d4 48%, transparent);
  padding: 4px 6px;
  border-radius: 5px;
}
.tp-file h3 {
  font-size: 12px;
  line-height: 1.5;
  margin: 12px 11px 6px;
  min-height: 36px;
}
.tp-file p {
  font-size: 11px;
  color: #86917a;
  margin: 5px 11px;
}
.tp-file-actions {
  display: flex;
  gap: 8px;
  justify-content: space-between;
  padding: 7px 10px 12px;
}
.tp-text-button {
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  color: #477040;
  border: 0;
  background: none;
  padding: 5px 0;
  text-align: left;
  cursor: pointer;
}
.tp-missing {
  font-size: 12px;
  line-height: 1.6;
  color: #8d794c;
  background: #fbf8ef;
  border-radius: 9px;
  padding: 11px 13px;
}
.tp-banner {
  font-size: 12px;
  color: #8c7846;
  background: #faf5e6;
  border: 1px solid color-mix(in srgb, #ebe0c1 48%, transparent);
  border-radius: 11px;
  padding: 13px;
  line-height: 1.6;
  margin: 10px 0 18px;
}
.tp-summary {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 9px;
  margin: 20px 0;
}
.tp-summary>div {
  background: #f4f7f0;
  border-radius: 12px;
  padding: 15px;
  display: grid;
  gap: 8px;
}
.tp-summary b {
  font-size: 25px;
  color: #48683f;
}
.tp-summary span {
  font-size: 11px;
  color: #74806a;
  line-height: 1.4;
}
.tp-supplier-list {
  display: grid;
  gap: 17px;
}
.tp-supplier {
  border: 1px solid color-mix(in srgb, #dfe6d7 48%, transparent);
  border-radius: 16px;
  padding: 18px;
}
.tp-supplier-head {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.tp-avatar {
  background: #e6efdd;
  color: #577648;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  font-size: 17px;
  font-weight: 700;
}
.tp-supplier-head h3 {
  font-size: 16px;
  margin: 0 0 5px;
}
.tp-supplier-head h3 small {
  font-size: 11px;
  font-weight: 400;
  color: #959d8e;
}
.tp-supplier-head p {
  font-size: 11px;
  color: #8a947f;
  margin: 0;
}
.tp-status {
  margin-left: auto;
  font-size: 11px;
  padding: 7px 10px;
  border-radius: 20px;
  background: #f5f1e6;
  color: #948158;
}
.tp-status.received {
  background: #e8f2df;
  color: #5a7c46;
}
.tp-supplier-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 18px 0;
}
.tp-supplier-body h4 {
  font-size: 11px;
  color: #7d8871;
  text-transform: uppercase;
  letter-spacing: .7px;
  margin: 0 0 10px;
}
.tp-supplier-body p {
  font-size: 12px;
  line-height: 1.65;
  color: #66795d;
  margin: 8px 0;
}
.tp-response {
  border-left: 1px solid color-mix(in srgb, #e8ede3 48%, transparent);
  padding-left: 20px;
  min-width: 0;
}
.tp-attachments {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 12px 0;
}
.tp-attachments button {
  font: inherit;
  font-size: 11px;
  padding: 7px 9px;
  background: #f3f6ef;
  border: 1px solid color-mix(in srgb, #dce5d4 48%, transparent);
  border-radius: 6px;
  color: #607952;
  cursor: pointer;
}
.tp-quote-price {
  font-size: 24px;
  color: #3c5d33;
  display: block;
  margin-top: 10px;
}
.tp-quote-price small {
  font-size: 11px;
  color: #a19370;
  font-weight: 400;
}
.tp-no-response {
  border: 1px dashed color-mix(in srgb, #d8e0d0 48%, transparent);
  border-radius: 10px;
  padding: 25px 14px;
  text-align: center;
  font-size: 12px;
  color: #99a08e;
}
.tp-mini-cover {
  float: right;
  width: 70px;
  border: 0;
  background: none;
  padding: 0;
  margin: 0 0 8px 8px;
  cursor: pointer;
}
.tp-mini-cover img {
  width: 65px;
  max-height: 92px;
  object-fit: cover;
  border: 1px solid color-mix(in srgb, #dce3d4 48%, transparent);
  box-shadow: 0 2px 8px #33402d16;
}
.tp-mini-cover span {
  display: block;
  font-size: 11px;
  color: #8b957e;
  margin-top: 4px;
}
.tp-dialog {
  width: min(1000px,94vw);
  max-height: 92vh;
  padding: 0;
  border: 1px solid color-mix(in srgb, #dce5d6 48%, transparent);
  border-radius: 18px;
  color: #354a2d;
  box-shadow: 0 25px 90px #15201044;
}
.tp-dialog::backdrop {
  background: #192d2266;
}
.tp-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  border-bottom: 1px solid color-mix(in srgb, #e4ebdd 48%, transparent);
  background: #f7f9f2;
}
.tp-dialog-head h2 {
  font-size: 20px;
  margin: 9px 0 0;
}
.tp-pdf-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 20px;
  font-size: 11px;
  color: #829074;
  flex-wrap: wrap;
}
.tp-pdf {
  display: block;
  width: 100%;
  height: 66vh;
  border: 0;
  background: #e6ebe1;
}
.tp-pdf-fallback {
  padding: 20px;
  text-align: center;
  font-size: 13px;
}
.tp-pdf-fallback img {
  max-height: 48vh;
  max-width: 95%;
}
.tp-request {
  padding: 4px 24px 25px;
  overflow: auto;
}
.tp-request dl {
  display: grid;
  grid-template-columns: 120px 1fr;
  font-size: 13px;
  gap: 12px;
  line-height: 1.5;
}
.tp-request dt {
  color: #8b967e;
}
.tp-request dd {
  margin: 0;
}
.tp-letter {
  background: #f9faf6;
  border: 1px solid color-mix(in srgb, #e5ebdd 48%, transparent);
  border-radius: 12px;
  padding: 16px 22px;
  font-size: 14px;
  line-height: 1.8;
  margin: 20px 0;
}
.tp-request h3 {
  font-size: 15px;
}
.tp-send {
  border-top: 1px solid color-mix(in srgb, #e2eadb 48%, transparent);
  margin-top: 20px;
  padding-top: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
}
.tp-send span {
  font-size: 12px;
  color: #849075;
  line-height: 1.6;
}
.tp-dialog :focus-visible {
  outline: 2px solid var(--focus-color);
  outline-offset: 2px;
}
@media(max-width:1300px) {
  .tp-document-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .tp-cover {
    height: 185px;
  }
  .tp-cover img {
    max-width: 155px;
    margin: auto;
  }
}
@media(max-width:650px) {
  .tp-supplier-body {
    grid-template-columns: 1fr;
  }
  .tp-response {
    border-left: 0;
    border-top: 1px solid color-mix(in srgb, #e4ebdb 48%, transparent);
    padding: 15px 0 0;
  }
  .tp-summary {
    grid-template-columns: repeat(2,1fr);
  }
  .tp-file-actions {
    flex-wrap: wrap;
  }
  .tp-cover {
    height: 145px;
  }
  .tp-status {
    margin-left: 0;
  }
  .tp-request dl {
    grid-template-columns: 1fr;
    gap: 5px;
  }
  .tp-request dd {
    margin-bottom: 9px;
  }
  .tp-dialog-head h2 {
    font-size: 16px;
  }
  .tp-send {
    flex-direction: column;
    align-items: start;
  }
  .tp-dialog-head {
    padding: 14px;
  }
  .tp-request {
    padding: 4px 16px 20px;
  }
}
/* Component section 29 */
.tq-section {
  grid-column: 1/-1;
  min-width: 0;
}
.tq-kpis {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 12px;
  margin: 18px 0 24px;
}
.tq-kpis>div {
  background: #f3f7ef;
  border: 1px solid color-mix(in srgb, #e2e9da 48%, transparent);
  border-radius: 13px;
  padding: 18px;
  display: grid;
  gap: 8px;
}
.tq-kpis span {
  color: #6e7d63;
  font-size: 12px;
}
.tq-kpis strong {
  font-size: 26px;
  color: #345334;
  font-weight: 650;
}
.tq-kpis small {
  font-size: 11px;
  color: #8c957e;
}
.tq-scroll {
  overflow: auto;
  max-width: 100%;
  border: 1px solid color-mix(in srgb, #e0e7da 48%, transparent);
  border-radius: 12px;
}
.tq-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 690px;
  font-variant-numeric: tabular-nums;
  font-size: 13px;
}
.tq-table th,.tq-table td {
  padding: 13px 16px;
  border-bottom: 1px solid color-mix(in srgb, #e7ece2 48%, transparent);
  text-align: right;
  vertical-align: middle;
  white-space: nowrap;
}
.tq-table th:first-child {
  text-align: left;
  white-space: normal;
  min-width: 185px;
}
.tq-table thead th {
  background: #f3f6ef;
  color: #567149;
  font-size: 13px;
}
.tq-table tbody th {
  font-size: 13px;
  font-weight: 550;
  color: #41583a;
  background: white;
}
.tq-table small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: #8b967f;
  margin-top: 5px;
}
.tq-table td strong {
  font-weight: 600;
}
.tq-table .tq-best {
  background: #eaf4e2;
  color: #386437;
}
.tq-table .tq-best small {
  color: #527c42;
}
.tq-table .tq-average {
  color: #7e8776;
  background: #fafbf7;
}
.tq-table tfoot th,.tq-table tfoot td {
  border-bottom: 0;
  border-top: 1px solid color-mix(in srgb, #cbdcc0 48%, transparent);
  background: #f1f6eb;
  padding-top: 18px;
  padding-bottom: 18px;
}
.tq-table tfoot strong {
  font-size: 16px;
}
.tq-caption {
  caption-side: bottom;
  text-align: left;
  padding: 12px 16px;
  font-size: 11px;
  line-height: 1.5;
  color: #869179;
  background: #fafcf7;
  white-space: normal;
}
.tq-table-head {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  flex-wrap: wrap;
  font-size: 12px;
  color: #7e8b72;
  margin: 0 0 12px;
}
.tq-table-head strong {
  color: #4a6541;
}
.tq-table-head label {
  display: flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
}
.tq-table-head input {
  accent-color: #537c45;
}
.tq-awaiting {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  font-size: 12px;
  color: #909982;
  padding: 16px 0;
}
.tq-awaiting button {
  border: 1px solid color-mix(in srgb, #e3e7d8 48%, transparent);
  background: #f9faf5;
  border-radius: 7px;
  padding: 7px 10px;
  color: #84906f;
  font: inherit;
  cursor: pointer;
}
.tq-details {
  border-top: 1px solid color-mix(in srgb, #e6ebdf 48%, transparent);
  padding: 15px 0;
}
.tq-details summary {
  font-size: 13px;
  font-weight: 600;
  color: #657954;
  cursor: pointer;
}
.tq-details .tq-scroll {
  margin-top: 15px;
}
.tq-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 10px 0;
}
.tq-footer p {
  max-width: 720px;
  font-size: 11px;
  line-height: 1.65;
  color: #8e927f;
}
.tq-footer button {
  flex-shrink: 0;
}
.tq-section .er-note {
  font-size: 11px;
}
.tq-table tbody tr:hover th {
  background: #f7f9f3;
}
@media(max-width:650px) {
  .tq-kpis {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .tq-kpis>div {
    padding: 12px 16px;
    grid-template-columns: 1fr auto;
    align-items: center;
  }
  .tq-kpis strong {
    font-size: 21px;
  }
  .tq-kpis small {
    grid-column: 1/-1;
  }
  .tq-footer {
    flex-direction: column;
    align-items: start;
  }
  .tq-table th,.tq-table td {
    padding: 11px 12px;
  }
}
/* Component section 30 */
.tq-position-toggle {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  border: 0;
  background: transparent;
  padding: 0;
  text-align: left;
  color: inherit;
  font: inherit;
  cursor: pointer;
  width: 100%;
}
.tq-position-chevron {
  font-size: 23px;
  line-height: 20px;
  color: #689254;
  transition: transform .15s;
}
.tq-position-toggle[aria-expanded=true] .tq-position-chevron {
  transform: rotate(90deg);
}
.tq-photo-action {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: #74945c;
  margin-top: 6px;
}
.tq-photo-row[hidden] {
  display: none!important;
}
.tq-table .tq-photo-row>td {
  text-align: left;
  white-space: normal;
  padding: 18px 22px;
  background: #f7f9f3;
}
.tq-photo-content {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
  align-items: center;
}
.tq-photo-image {
  border: 1px solid color-mix(in srgb, #e0e6d8 48%, transparent);
  border-radius: 12px;
  background: white;
  padding: 10px;
  cursor: pointer;
  overflow: hidden;
}
.tq-photo-image img {
  width: 100%;
  height: 165px;
  object-fit: contain;
  display: block;
}
.tq-photo-image img[hidden] {
  display: none;
}
.tq-photo-image span {
  display: block;
  font-size: 11px;
  color: #839475;
  margin-top: 7px;
}
.tq-photo-content h3 {
  font-size: 16px;
  color: #3b5934;
  margin: 12px 0 8px;
}
.tq-photo-content p {
  font-size: 13px;
  line-height: 1.6;
  max-width: 610px;
  color: #6e7c63;
}
.tq-photo-content .tq-photo-note {
  font-size: 11px;
  color: #949880;
}
.tq-photo-content a,.tq-photo-large a {
  font-size: 11px;
  color: #5f8550;
}
.tq-photo-large {
  padding: 20px;
  text-align: center;
}
.tq-photo-large img {
  max-width: 100%;
  width: auto;
  max-height: 60vh;
  object-fit: contain;
}
.tq-photo-large p {
  font-size: 12px;
  color: #849173;
  line-height: 1.6;
}
.tq-photo-fallback {
  color: #937a42!important;
}
.tq-position-toggle:focus-visible,.tq-photo-image:focus-visible {
  outline: 2px solid var(--focus-color);
  outline-offset: 4px;
}
@media(max-width:650px) {
  .tq-photo-content {
    grid-template-columns: 180px 1fr;
    gap: 16px;
  }
  .tq-photo-image img {
    height: 130px;
  }
}
/* Component section elka-visual-system-02 */
/* ELKA visual system 02: semantic accents, readable type and compact navigation. */
@font-face {
  font-family: Manrope;
  src: url('/fonts/Manrope.ttf') format('truetype');
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}
:root {
  --green: #128264;
  --green-2: #0f7358;
  --green-soft: #e5f6ee;
  --ink: #22334a;
  --muted: #627289;
  --line: #dfe6ef;
  --bg: #f2f5fa;
  --card: #fff;
  --blue: #416bd8;
  --shadow: 0 5px 22px #20335109;
  --r: 18px;
}
html,body {
  font-family: Manrope,'Segoe UI',Arial,sans-serif;
  background: var(--bg);
  color: var(--ink);
}
button,input,select,textarea {
  font-family: inherit;
}
button,a,input,select,textarea {
  touch-action: manipulation;
}
body {
  font-size: 14px;
}
.sidebar {
  background: #172638;
  border-right: 0;
  padding-top: 26px;
  box-shadow: 3px 0 24px #15253710;
}
.sidebar .er-wordmark {
  fill: #f0f5f7;
}
.sidebar .er-brand-caption {
  color: #a8bdc9;
}
.sidebar .brand {
  padding-bottom: 35px;
}
.sidebar .nav {
  gap: 8px;
}
.sidebar .nav button {
  color: #bdcad6;
  font-size: 13px;
  padding: 13px 14px;
  font-weight: 550;
  border: 1px solid transparent;
  transition: background .15s,color .15s;
}
.sidebar .nav button:hover {
  background: #243749;
  color: #fff;
}
.sidebar .nav button.active {
  color: #d8fff0;
  background: #19483f;
  border: 1px solid color-mix(in srgb, #2d6857 48%, transparent);
  box-shadow: none;
}
.sidebar .nav svg {
  stroke-width: 1.7;
}
.sidebar-foot {
  color: #8fa4b5;
  border-top: 1px solid color-mix(in srgb, #344354 48%, transparent);
  margin-top: auto;
  padding-top: 20px;
}
.sidebar-foot b {
  color: #ccd7e1;
}
.topbar {
  background: #ffffffed;
  border-color: color-mix(in srgb, #e1e8f1 48%, transparent);
  height: 76px;
  backdrop-filter: blur(14px);
}
.search input {
  background: #f1f4f9;
  border-color: transparent;
  border-radius: 11px;
}
.search input:focus {
  box-shadow: 0 0 0 3px #416bd815;
  border-color: color-mix(in srgb, #8aacef 48%, transparent);
}
.avatar {
  background: #e5edf9;
  color: #4264a4;
}
.profile b {
  font-size: 13px;
  color: #314863;
}
.profile small {
  color: #6c7c8d;
}
.icon-btn {
  background: transparent;
  color: #64788f;
}
.icon-btn:hover {
  background: #eaf0f8;
}
.top-actions .badge {
  background: #df7a65;
}
main {
  padding: 30px 32px 90px;
  max-width: 1570px;
}
h1,h2,h3 {
  font-weight: 700;
  letter-spacing: -.45px;
}
.er-heading {
  align-items: center;
  margin-bottom: 22px;
  gap: 22px;
}
.er-heading h1,.hello h1 {
  font-size: 32px;
  letter-spacing: -1.2px;
  line-height: 1.25;
  font-weight: 700;
  color: #20324a;
}
.er-heading p {
  font-size: 13px;
  color: #607189;
  line-height: 1.7;
  max-width: 720px;
}
.er-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.7px;
  color: #15856a;
  margin-bottom: 10px;
}
.er-heading>div:first-child {
  min-width: 0;
}
.er-tabs {
  display: flex;
  gap: 7px;
  padding: 7px;
  border: 1px solid color-mix(in srgb, #e0e7f0 48%, transparent);
  background: #e9eef5;
  border-radius: 15px;
  margin: 0 0 30px;
  flex-wrap: wrap;
}
.er-tabs button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 17px;
  color: #5e6e82;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 700;
  border-radius: 10px;
  min-height: 43px;
}
.er-tabs button:hover {
  background: #f7f9fc;
  color: #263c56;
}
.er-tabs button[aria-current=page] {
  background: #fff;
  color: #223b56;
  box-shadow: 0 3px 9px #263d5610;
}
.ed-icon {
  width: 20px;
  height: 20px;
  display: inline-block;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.er-tabs [data-er-tab=radar] .ed-icon {
  color: #8263c8;
}
.er-tabs [data-er-tab=list] .ed-icon {
  color: #387ed0;
}
.er-tabs [data-er-tab=rates] .ed-icon {
  color: #158567;
}
.er-tabs [data-er-tab=documents] .ed-icon {
  color: #ae781e;
}
.er-card,.er-options,.er-profile-card,.panel,.tb-card,.rt-categories {
  border: 1px solid color-mix(in srgb, #e0e7f0 48%, transparent);
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.er-card {
  padding: 25px;
}
.er-card h2 {
  font-size: 19px;
  line-height: 1.4;
  color: #294159;
  margin-bottom: 10px;
}
.er-card h2 .ed-icon {
  color: #4878ce;
}
.er-hint {
  font-size: 12px;
  color: #64758a;
  line-height: 1.7;
}
.er-note,.er-preview {
  color: #63738a;
  font-size: 11px;
  line-height: 1.65;
}
.er-preview {
  margin: 0 0 20px;
  padding: 9px 12px;
  border-left: 1px solid color-mix(in srgb, #adc1d6 48%, transparent);
  border-radius: 0 8px 8px 0;
  background: #eaf0f7;
}
.er-btn {
  font-size: 12px;
  font-weight: 700;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 10px;
  border: 1px solid color-mix(in srgb, #d5dfe9 48%, transparent);
  background: #fff;
  color: #385270;
  padding: 10px 14px;
  text-decoration: none;
  transition: background .15s,box-shadow .15s;
}
.er-btn:hover:not(:disabled) {
  background: #f2f6fc;
  filter: none;
  box-shadow: 0 3px 9px #2342630d;
}
.er-btn.primary {
  background: #128264;
  border-color: color-mix(in srgb, #128264 48%, transparent);
  color: white;
  box-shadow: 0 4px 10px #12826420;
}
.er-btn.primary:hover:not(:disabled) {
  background: #0b7055;
  border-color: color-mix(in srgb, #0b7055 48%, transparent);
  box-shadow: 0 5px 13px #12826430;
}
.er-btn:disabled {
  opacity: .55;
  box-shadow: none;
}
.er-field {
  color: #52667d;
  font-size: 12px;
  font-weight: 600;
  gap: 8px;
}
.er-field input,.er-field select,.er-field textarea,.er-add select {
  background: #fbfcff;
  border-color: color-mix(in srgb, #d9e3ed 48%, transparent);
  color: #294159;
  border-radius: 9px;
  font-size: 13px;
  min-height: 42px;
}
.er-field input:focus,.er-field select:focus,.er-field textarea:focus {
  outline: 0;
  border-color: color-mix(in srgb, #759ce1 48%, transparent);
  box-shadow: 0 0 0 3px #527ddd15;
  background: #fff;
}
.er-field input::placeholder,.er-field textarea::placeholder {
  color: #8090a1;
  font-weight: 400;
}
.er-card :focus-visible,.er-tabs :focus-visible,.tb-workspace button:focus-visible,.tb-workspace a:focus-visible {
  outline: 2px solid var(--focus-color);
  outline-offset: 3px;
}
.tb-monitor {
  background: #edf3fc;
  border: 1px solid color-mix(in srgb, #d6e3f4 48%, transparent);
  border-left: 1px solid color-mix(in srgb, #668fce 48%, transparent);
  border-radius: 13px;
  padding: 17px 20px;
  margin: 18px 0;
}
.tb-monitor strong {
  color: #3c608f;
  font-size: 13px;
}
.tb-monitor p {
  color: #5c7391;
  font-size: 12px;
}
.tb-stages {
  grid-template-columns: repeat(7,minmax(0,1fr));
  gap: 10px;
  margin: 22px 0;
}
.tb-stages button {
  position: relative;
  min-height: 100px;
  gap: 8px;
  padding: 16px 13px;
  border-radius: 14px;
  border: 1px solid color-mix(in srgb, #dee6ef 48%, transparent);
  background: white;
  box-shadow: 0 2px 9px #20345005;
  color: #64768c;
}
.tb-stages button b {
  font-size: 27px;
  font-weight: 700;
  color: #2a4260;
}
.tb-stages button span {
  font-size: 11px;
  font-weight: 650;
}
.tb-stages button .ed-icon {
  position: absolute;
  top: 16px;
  right: 12px;
  width: 18px;
  height: 18px;
  color: #6d829b;
}
.tb-stages [data-tb-stage=NEW] {
  border-top: 1px solid color-mix(in srgb, #568ddc 48%, transparent);
}
.tb-stages [data-tb-stage=ANALYSIS] {
  border-top: 1px solid color-mix(in srgb, #9b7ddd 48%, transparent);
}
.tb-stages [data-tb-stage=PARTICIPATING] {
  border-top: 1px solid color-mix(in srgb, #deac5b 48%, transparent);
}
.tb-stages [data-tb-stage=WON] {
  border-top: 1px solid color-mix(in srgb, #53b795 48%, transparent);
}
.tb-stages [data-tb-stage=LOST] {
  border-top: 1px solid color-mix(in srgb, #cc8d8d 48%, transparent);
}
.tb-stages [data-tb-stage=ARCHIVED] {
  border-top: 1px solid color-mix(in srgb, #9faec1 48%, transparent);
}
.tb-stages [aria-pressed=true] {
  background: #233e59;
  border-color: color-mix(in srgb, #233e59 48%, transparent);
  color: #fff;
  box-shadow: 0 5px 14px #233e5920;
}
.tb-stages [aria-pressed=true] b,.tb-stages [aria-pressed=true] .ed-icon {
  color: #fff;
}
.tb-stages button:hover:not([aria-pressed=true]) {
  background: #f7faff;
  border-color: color-mix(in srgb, #aac0dd 48%, transparent);
}
.tb-toolbar {
  padding: 18px;
  background: #fff;
  border: 1px solid color-mix(in srgb, #e0e7ef 48%, transparent);
  border-radius: 14px;
  gap: 15px;
}
.tb-grid {
  gap: 18px;
}
.tb-card {
  padding: 22px;
  transition: transform .15s,box-shadow .15s;
  border-top: 1px solid color-mix(in srgb, #7fa1d4 48%, transparent);
}
.tb-card[data-tb-state=ANALYSIS] {
  border-top-color: color-mix(in srgb, #9676d2 48%, transparent);
}
.tb-card[data-tb-state=PARTICIPATING] {
  border-top-color: color-mix(in srgb, #d8a14d 48%, transparent);
}
.tb-card[data-tb-state=WON] {
  border-top-color: color-mix(in srgb, #3ba780 48%, transparent);
}
.tb-card:hover {
  box-shadow: 0 8px 25px #253c5d12;
  transform: translateY(-2px);
}
.tb-title {
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  color: #253e5d;
  line-height: 1.55;
}
.tb-number,.tb-card-top,.tb-card-meta,.tb-card-bottom {
  color: #65758c;
}
.tb-number {
  font-size: 11px;
}
.tb-price {
  font-size: 27px;
  font-weight: 700;
  letter-spacing: -.8px;
  color: #294663;
}
.tb-badge {
  background: #e9f0ff;
  color: #45699e;
  border: 0;
  font-size: 11px;
  font-weight: 650;
}
.tb-card[data-tb-state=ANALYSIS] .tb-badge {
  background: #f0ebfb;
  color: #7351a7;
}
.tb-card[data-tb-state=PARTICIPATING] .tb-badge {
  background: #fcf0da;
  color: #926221;
}
.tb-card[data-tb-state=WON] .tb-badge {
  background: #e5f6ee;
  color: #216f55;
}
.tb-card-meta {
  gap: 10px;
  font-size: 12px;
}
.tb-card-bottom {
  border-color: color-mix(in srgb, #e7edf4 48%, transparent);
}
.tb-card-bottom .er-btn {
  min-height: 36px;
  padding: 8px 12px;
  background: #eff4fc;
  color: #426498;
  border: 0;
}
.tb-detail {
  gap: 22px;
}
.tb-facts {
  grid-template-columns: repeat(4,minmax(0,1fr));
  padding: 18px;
  border-radius: 12px;
  background: #f4f7fc;
  margin: 20px 0;
  gap: 16px;
}
.tb-facts small {
  color: #687c93;
  font-size: 11px;
}
.tb-facts p {
  color: #344d6b;
  font-weight: 650;
  font-size: 13px;
  overflow-wrap: anywhere;
}
.tb-history li {
  border-color: color-mix(in srgb, #c5d8ef 48%, transparent);
}
.tb-history p {
  color: #576c83;
}
.tb-history small {
  color: #667990;
}
.tb-checks {
  color: #62738a;
}
.tb-checks .tb-ok {
  color: #1c7757;
}
.tb-checks .tb-no {
  color: #a0671d;
}
.tb-source-grid>div {
  background: #f5f8fd;
  border-color: color-mix(in srgb, #dee7f3 48%, transparent);
}
.tb-source-grid p {
  color: #63758d;
}
.tb-signature {
  background: #f9f7fe;
  border-color: color-mix(in srgb, #e4dcf6 48%, transparent);
}
.ed-detail-nav {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin: 18px 0 20px;
  padding: 8px 0;
  border-bottom: 1px solid color-mix(in srgb, #dbe4ef 48%, transparent);
}
.ed-detail-nav button {
  display: flex;
  align-items: center;
  gap: 8px;
  background: white;
  border: 1px solid color-mix(in srgb, #dce5f0 48%, transparent);
  padding: 10px 16px;
  border-radius: 10px;
  color: #526b8c;
  font: inherit;
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
}
.ed-detail-nav button:hover {
  background: #e9f1fe;
  color: #325f9c;
}
.ed-detail-nav .ed-icon {
  width: 17px;
  height: 17px;
}
#ed-overview,#tp-suppliers,#tp-documents,#ed-progress {
  scroll-margin-top: 100px;
}
#ed-overview {
  border-top: 1px solid color-mix(in srgb, #678ed0 48%, transparent);
}
.ed-section-icon {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #e9f1ff;
  color: #4c78c8;
  margin-right: 8px;
  vertical-align: middle;
}
.ed-section-icon .ed-icon {
  width: 19px;
  height: 19px;
}
.tq-section {
  border-top: 1px solid color-mix(in srgb, #5d88d5 48%, transparent);
}
.tq-section h2 {
  display: flex;
  align-items: center;
}
.tq-kpis {
  gap: 14px;
}
.tq-kpis>div {
  border: 0;
  background: #edf2fe;
  padding: 20px 22px;
  border-radius: 14px;
  position: relative;
}
.tq-kpis>div:nth-child(2) {
  background: #e8f6ef;
}
.tq-kpis>div:nth-child(3) {
  background: #f1ecfc;
}
.tq-kpis>div>span {
  color: #456794;
  font-size: 12px;
}
.tq-kpis>div:nth-child(2)>span {
  color: #39745d;
}
.tq-kpis>div:nth-child(3)>span {
  color: #786098;
}
.tq-kpis strong {
  font-family: Manrope,Arial,sans-serif;
  font-size: 29px;
  letter-spacing: -.8px;
  color: #315ca0;
}
.tq-kpis>div:nth-child(2) strong {
  color: #147b59;
}
.tq-kpis>div:nth-child(3) strong {
  color: #7954b2;
}
.tq-kpis small {
  color: #66758d;
  font-size: 11px;
}
.tq-table {
  font-size: 13px;
}
.tq-table thead th {
  background: #edf3fb;
  color: #3d5f8b;
  font-size: 12px;
  padding: 17px 16px;
}
.tq-table tbody th {
  color: #304b69;
  font-weight: 650;
}
.tq-table small {
  color: #61748b;
}
.tq-table tbody tr:nth-child(4n+1)>td:not(.tq-best) {
  background: #fafcff;
}
.tq-table .tq-best {
  background: #e4f5eb;
  color: #17623f;
}
.tq-table .tq-best small {
  color: #267b50;
}
.tq-table .tq-average {
  color: #5f7088;
  background: #f3f6fa;
}
.tq-table tfoot th,.tq-table tfoot td {
  background: #eaf1fb;
  border-top-color: color-mix(in srgb, #bed0eb 48%, transparent);
  color: #2d527e;
}
.tq-table tfoot td.tq-best {
  background: #e4f5eb;
  color: #17623f;
}
.tq-caption {
  background: #f5f8fc;
  color: #5e7087;
}
.tq-table-head {
  color: #657991;
}
.tq-table-head strong {
  color: #365a85;
}
.tq-awaiting {
  color: #60748f;
}
.tq-awaiting button {
  color: #886222;
  background: #fff4df;
  border-color: color-mix(in srgb, #f0dfbe 48%, transparent);
}
.tq-details summary {
  color: #506c91;
}
.tq-footer p {
  color: #64748a;
}
.tq-section .er-note {
  font-size: 11px;
}
.tq-position-chevron,.tq-photo-action {
  color: #447bbe;
}
.tq-table .tq-photo-row>td {
  background: #f1f5fb;
}
.tq-photo-content h3 {
  color: #365478;
}
.tq-photo-content p {
  color: #5d718b;
}
.tq-photo-content .tq-photo-note {
  color: #69798e;
}
.tq-photo-content a {
  color: #426ba6;
}
.tq-photo-image {
  border-color: color-mix(in srgb, #dce5f1 48%, transparent);
}
#tp-documents {
  border-top: 1px solid color-mix(in srgb, #d3a05d 48%, transparent);
}
.tp-description {
  border-color: color-mix(in srgb, #e3eaf3 48%, transparent);
}
.tp-description h3 {
  color: #344f72;
}
.tp-description>p {
  color: #60758e;
}
.tp-scope span {
  background: #eaf2fc;
  color: #486da1;
}
.tp-demo {
  background: #fff3da;
  color: #87611f;
  letter-spacing: .3px;
  border: 1px solid color-mix(in srgb, #f2e2bd 48%, transparent);
  font-weight: 650;
}
.tp-count {
  background: #fff1d6;
  color: #9c732e;
}
.tp-file {
  border-color: color-mix(in srgb, #e0e6ee 48%, transparent);
  box-shadow: 0 2px 8px #23344b06;
}
.tp-cover {
  background: #edf2f9;
}
.tp-file h3 {
  color: #334f70;
}
.tp-file p {
  color: #657991;
}
.tp-text-button {
  color: #3f71ac;
}
.tp-missing {
  background: #fff5e6;
  color: #8c6629;
}
.tp-dialog {
  border-color: color-mix(in srgb, #dce5f1 48%, transparent);
  font-family: Manrope,Arial,sans-serif;
}
.tp-dialog-head {
  background: #edf3fc;
}
.tp-dialog-head h2 {
  color: #365278;
}
.tp-pdf-tools {
  color: #63768d;
}
.tp-request dl,.tp-letter {
  color: #415a77;
}
.tp-letter {
  background: #f5f8fd;
  border-color: color-mix(in srgb, #dce5f1 48%, transparent);
}
.tp-attachments button {
  background: #eaf1fd;
  border-color: color-mix(in srgb, #d4e1f5 48%, transparent);
  color: #456ca2;
}
.tp-request dt,.tp-send span {
  color: #687d93;
}
.er-profile-selection {
  background: #eeebfa;
  border-color: color-mix(in srgb, #dfd6f3 48%, transparent);
  color: #694b9c;
}
.er-profile-selection p,.er-profile-selection small {
  color: #75648f;
}
.er-profile-card {
  border-top: 1px solid color-mix(in srgb, #ac93d5 48%, transparent);
  padding: 24px;
}
.er-profile-card h2 {
  font-size: 19px;
  color: #3f3864;
}
.er-profile-card p {
  color: #64718a;
}
.er-profile-tools .er-btn {
  font-size: 11px;
}
.er-work-tile {
  background: #fff;
  border-color: color-mix(in srgb, #e1e8f2 48%, transparent);
  border-radius: 15px;
  min-height: 128px;
}
.er-work-tile .er-icon-disc {
  background: #eaf1fc;
  color: #5477b4;
}
.er-work-tile:nth-child(4n+2) .er-icon-disc {
  background: #f0ebfa;
  color: #8766bc;
}
.er-work-tile:nth-child(4n+3) .er-icon-disc {
  background: #e7f5f0;
  color: #28876d;
}
.er-work-tile:nth-child(4n) .er-icon-disc {
  background: #fff1dc;
  color: #ba873e;
}
.er-choice:has(input:checked) {
  border-color: color-mix(in srgb, #4da68d 48%, transparent);
  background: #ecf8f3;
  color: #1e775e;
  box-shadow: 0 0 0 1px #4da68d25;
}
.er-work-tile:has(input:checked) .er-icon-disc {
  background: #d7f0e5;
  color: #1d7c5c;
}
.er-choice-label {
  font-size: 12px;
  color: #3e5672;
}
.er-stage-nav button {
  background: #fff;
  border-color: color-mix(in srgb, #dfe7f2 48%, transparent);
  color: #62758e;
  border-radius: 12px;
}
.er-stage-nav button[aria-current=step] {
  background: #eaf1fe;
  border-color: color-mix(in srgb, #8eaee0 48%, transparent);
  color: #4266a0;
}
.er-stage-nav button[aria-current=step] .er-stage-num {
  background: #547dc3;
  color: white;
}
.er-stage-num {
  background: #edf1f7;
  color: #5b7292;
}
.er-summary {
  background: #edf3fc;
  border-color: color-mix(in srgb, #d7e4f7 48%, transparent);
  color: #3d5e8a;
}
.er-summary dt {
  color: #617b9c;
}
.er-summary dd {
  color: #395d8b;
}
.er-summary .er-state {
  background: #fff;
  border-color: color-mix(in srgb, #d2def1 48%, transparent);
  color: #5f7a9d;
}
.er-assist-card {
  background: #fff;
  border-color: color-mix(in srgb, #dde6f0 48%, transparent);
}
.er-assist-card p {
  color: #657990;
}
.er-launcher {
  background: #1a3545;
  border-color: color-mix(in srgb, #1a3545 48%, transparent);
  box-shadow: 0 7px 25px #17263830;
}
.er-chat-head {
  background: #eaf5f0;
}
.er-chat {
  border-color: color-mix(in srgb, #d3e4dc 48%, transparent);
}
.er-msg {
  background: #f1f5fa;
  color: #405b75;
}
.er-msg.user {
  background: #e5f5ed;
}
.er-region {
  background: #eaf3fd;
  border-color: color-mix(in srgb, #cbdff4 48%, transparent);
  color: #456d9f;
}
.er-region button {
  color: #5d7fa9;
}
.er-options {
  border-color: color-mix(in srgb, #dde6f1 48%, transparent);
}
.er-options summary {
  color: #536d8c;
}
.rt-stats>div {
  border-color: color-mix(in srgb, #dee7f1 48%, transparent);
  background: #fff;
  border-top: 1px solid color-mix(in srgb, #91b5e5 48%, transparent);
  box-shadow: var(--shadow);
}
.rt-stats>div:nth-child(2) {
  border-top-color: color-mix(in srgb, #ab94d7 48%, transparent);
}
.rt-stats>div:nth-child(3) {
  border-top-color: color-mix(in srgb, #6bb89d 48%, transparent);
}
.rt-stats strong,.rt-stats b {
  color: #365b82;
}
.rt-tabs {
  background: #eaf0f7;
  border-radius: 12px;
  padding: 6px;
}
.rt-tabs button {
  color: #61758f;
}
.rt-tabs button[aria-selected=true],.rt-tabs button.active {
  background: #fff;
  color: #315f99;
  box-shadow: 0 2px 7px #2a426410;
}
.rt-categories>button {
  color: #526d87;
}
.rt-categories>button[aria-pressed=true],.rt-categories>button.active {
  background: #e8f5ef;
  color: #18765b;
}
.rt-table-scroll th {
  background: #edf3fb;
  color: #486b97;
}
.rt-table-scroll td {
  border-color: color-mix(in srgb, #e5ecf4 48%, transparent);
}
.rt-template-sharing {
  background: #ecf4fe;
  border-color: color-mix(in srgb, #d3e2f6 48%, transparent);
}
.rt-profile-strip {
  background: #f0ecfa;
  color: #73569f;
}
.rt-toolbar {
  gap: 12px;
}
.rt-bulk {
  color: #586f89;
}
.kpi,.project,.task,.quick button {
  border-color: color-mix(in srgb, #e0e7f0 48%, transparent);
}
.kpi {
  box-shadow: var(--shadow);
}
.kpi .value {
  color: #284768;
  font-weight: 700;
}
.kpi:nth-child(1) {
  border-top: 1px solid color-mix(in srgb, #63b69c 48%, transparent);
}
.kpi:nth-child(2) {
  border-top: 1px solid color-mix(in srgb, #759cdd 48%, transparent);
}
.kpi:nth-child(3) {
  border-top: 1px solid color-mix(in srgb, #ad94d9 48%, transparent);
}
.kpi:nth-child(4) {
  border-top: 1px solid color-mix(in srgb, #d9ae67 48%, transparent);
}
.panel-head h2 {
  color: #304e70;
}
.quick button {
  background: #f5f8fd;
  color: #4f6c8f;
}
.mobile-nav {
  background: #fff;
  border-color: color-mix(in srgb, #dfe7f2 48%, transparent);
}
.mobile-nav button.active {
  color: #128264;
}
.ed-hero-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: #e8f0fd;
  color: #527dc5;
  margin-bottom: 13px;
}
.ed-hero-icon .ed-icon {
  width: 25px;
  height: 25px;
}
@media(min-width:1400px) {
  .app {
    grid-template-columns: 230px 1fr;
  }
  .tb-grid {
    grid-template-columns: repeat(3,minmax(0,1fr));
  }
}
@media(max-width:1250px) {
  .tb-stages {
    grid-template-columns: repeat(4,minmax(0,1fr));
  }
}
@media(max-width:1050px) {
  main {
    padding: 24px 22px 90px;
  }
  .sidebar .brand {
    padding-bottom: 26px;
  }
  .sidebar .nav button {
    padding: 13px;
    justify-content: center;
  }
  .tb-facts {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .er-heading h1 {
    font-size: 28px;
  }
  .er-tabs button {
    padding: 11px 13px;
  }
}
@media(max-width:760px) {
  .er-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
    padding: 5px;
  }
  .er-tabs button {
    justify-content: flex-start;
    padding: 11px 10px;
    font-size: 11px;
  }
  .er-tabs .ed-icon {
    width: 17px;
    height: 17px;
  }
  .er-heading {
    align-items: flex-start;
  }
  .tb-toolbar {
    padding: 14px;
  }
  .ed-detail-nav button {
    flex: 1;
    justify-content: center;
    padding: 10px;
  }
  .ed-detail-nav {
    gap: 6px;
  }
  .tq-kpis strong {
    font-size: 25px;
  }
  .tb-card:hover {
    transform: none;
  }
}
@media(max-width:650px) {
  main {
    padding: 20px 15px 115px;
  }
  .topbar {
    height: 65px;
  }
  .er-heading h1,.hello h1 {
    font-size: 26px;
    letter-spacing: -.8px;
  }
  .er-heading p {
    font-size: 12px;
  }
  .er-card {
    padding: 19px;
    border-radius: 15px;
  }
  .tb-stages {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 8px;
  }
  .tb-stages button {
    min-height: 84px;
    display: flex;
    flex-direction: column;
    align-items: start;
    padding: 13px;
  }
  .tb-stages button b {
    font-size: 25px;
  }
  .tb-stages button .ed-icon {
    right: 12px;
    top: 14px;
  }
  .tb-facts {
    padding: 14px;
    gap: 14px;
  }
  .tq-kpis strong {
    font-size: 21px;
  }
  .ed-detail-nav {
    position: static;
  }
  .ed-detail-nav button {
    font-size: 11px;
  }
  .ed-detail-nav .ed-icon {
    width: 15px;
    height: 15px;
  }
  .er-btn {
    font-size: 11px;
  }
  .ed-hero-icon {
    width: 38px;
    height: 38px;
  }
  .er-preview {
    font-size: 11px;
  }
  .er-card h2 {
    font-size: 18px;
  }
  .tq-kpis small {
    font-size: 11px;
  }
  .tb-card-top {
    font-size: 11px;
  }
}
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after {
    scroll-behavior: auto!important;
    transition: none!important;
    animation: none!important;
  }
}
/* Shared visual system — 2026-09-13.
 * Decorative rules only. Do not change routes, visibility or saved data here.
 * A light single CSS-pixel border replaces stacked/fractional outlines.
 */
:root {
  --font-ui: Manrope, "Segoe UI", Arial, sans-serif;
  --text-xs: 11px;
  --text-sm: 12px;
  --text-label: 13px;
  --text-body: 14px;
  --text-section: 18px;
  --text-title: 30px;
  --ink: #283b4f;
  --muted: #627386;
  --green: #177e64;
  --green-2: #10694f;
  --green-soft: #eef7f2;
  --blue: #4d6d9f;
  --bg: #f4f6f9;
  --card: #ffffff;
  --surface-soft: #f8fafc;
  --line: #e5ebf0;
  --line-control: #ccd6df;
  --line-selected: #d6e6dd;
  --radius-sm: 10px;
  --radius-md: 12px;
  --radius-card: 16px;
  --r: var(--radius-card);
  --shadow: 0 3px 14px rgb(35 55 75 / 3%);
  --shadow-hover: 0 5px 18px rgb(35 55 75 / 6%);
  --focus-color: #476ba1;
  --icon-purple: #71618e;
  --icon-purple-bg: #eae5f2;
  --elka-header-height: 76px;
  --elka-step-height: 88px;
}
/* Type: retain the bundled variable font, including its Cyrillic glyphs. */
html, body {
  font-family: var(--font-ui);
  font-size: var(--text-body);
  line-height: 1.55;
  font-weight: 400;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
button, input, select, textarea {
  font-family: inherit;
  letter-spacing: normal;
}
button, select, summary {
  -webkit-tap-highlight-color: transparent;
}
button {
  line-height: 1.4;
}
h1, h2, h3 {
  line-height: 1.35;
  font-weight: 650;
  letter-spacing: -.02em;
}
:is(.er-heading, .hello, .tc-head) h1 {
  font-size: var(--text-title);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.03em;
  color: var(--ink);
}
:is(.er-card, .tc-box, .panel-head, .rw-section-head) h2,
.rc-name-head h2, .rc-directions legend {
  font-size: var(--text-section);
  font-weight: 650;
  line-height: 1.4;
  letter-spacing: -.015em;
  color: var(--ink);
}
.er-eyebrow {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: .1em;
}
.er-heading p, .hello p, .er-hint, .rh-template p {
  color: var(--muted);
  font-size: var(--text-label);
  line-height: 1.65;
}
.er-note, .er-preview, .rt-table-panel .er-note, .tc-note,
.pa-status, .vd-status, .rw-section-head p, .rc-name-head p {
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--muted);
}
.metric small, .meta, .task small, .tender-title small,
.attention small, .today, .today b, .profile small {
  color: var(--muted);
}
.metric em {
  color: var(--green);
}
.metric .red {
  color: #b04747;
}
.rh-tile strong, .rh-set strong, .pc-name, .tb-title {
  font-size: 16px;
  font-weight: 650;
  line-height: 1.45;
  letter-spacing: -.01em;
}
.rh-tile small, .rh-set small, .rc-tile small,
.rt-table-scroll td small, .rt-table-scroll td small strong,
.tb-number, .tb-card-meta, .tb-card-bottom, .tq-table small {
  color: var(--muted);
  font-size: var(--text-sm);
  line-height: 1.55;
}
.amount, .rt-price, .tb-price, .tn-price, .metric strong,
.tc-kpi b, .rt-total strong, .tq-kpis strong, .tn-summary strong,
.rt-table-scroll, .spec-table, .rfq-table, .rp-scroll {
  font-variant-numeric: tabular-nums;
}
.metric strong, .rt-stats strong, .tc-kpi b, .tn-summary strong {
  font-weight: 650;
}
/* Shared spacing and surfaces, preserving each screen's layout. */
main {
  padding: 28px 28px 96px;
}
.er-heading {
  gap: 20px;
  margin-bottom: 24px;
}
.er-card, .tc-box, .panel, .rt-table-panel, .rt-categories,
.er-options, .er-profile-card, .pc-card, .pc-detail-card,
.rh-tile, .rh-set, .rc-name, .tb-card, .ph-control, .metric,
.tc-kpi, .tc-table, .tn-summary > div, .rt-stats > div {
  border-color: var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
}
.er-card, .tc-box, .rt-table-panel {
  padding: 24px;
}
.rh-tile, .rh-set {
  padding: 22px;
  gap: 16px;
}
.rc-name {
  padding: 20px;
}
.rh-grid, .pc-grid, .tb-grid {
  gap: 16px;
}
.rt-layout {
  gap: 20px;
}
.rh-create:has(.rc-directions), .er-form, .er-stage {
  gap: 20px;
}
.er-options .er-card {
  padding: 20px 0 0;
  box-shadow: none;
}
.rh-create:has(.rc-directions) {
  padding: 0;
  border: 0;
  box-shadow: none;
}
.tb-card, .project {
  transition: background-color .16s, border-color .16s, box-shadow .16s;
}
.tb-card:hover, .project:hover {
  transform: none;
}
.rh-tile:hover, .rh-set:hover, .pc-open:hover {
  background: var(--surface-soft);
}
.rh-tile:hover, .rh-set:hover, .tb-card:hover {
  box-shadow: var(--shadow-hover);
}
.rc-tile, .er-choice, .er-choice.er-work-tile, .sys-add, .sys-editor {
  border-color: var(--line);
  border-radius: var(--radius-md);
  box-shadow: none;
}
.rc-tile {
  min-height: 116px;
  gap: 8px;
  padding: 16px 10px;
}
.rc-tile strong {
  font-size: var(--text-label);
  font-weight: 600;
}
.er-work-tile {
  min-height: 124px;
}
.er-choice-label {
  color: var(--ink);
  font-size: var(--text-sm);
  line-height: 1.5;
}
.er-work-grid {
  gap: 12px;
}
.rc-grid {
  gap: 12px;
}
.er-choice.er-work-tile {
  background: var(--surface-soft);
}
.sys-tile .er-work-tile {
  min-height: 160px;
  padding-bottom: 48px;
}
.sys-settings {
  font-size: var(--text-sm);
  bottom: 10px;
  min-height: 32px;
}
.sys-add {
  background: var(--surface-soft);
  color: #45647e;
}
.sys-add small {
  color: var(--muted);
  font-size: var(--text-sm);
}
/* One selected contour. Icons contrast with the pale green surface. */
.rc-tile:has(input:checked),
#er-form .er-choice:has(input:checked),
#er-form .rp-item:has(.rp-select input:checked),
.er-choice.er-work-tile:has(input:checked),
.pc-card.is-selected {
  background: var(--green-soft);
  border-color: var(--line-selected);
  box-shadow: none;
}
.er-choice.er-work-tile:has(input:checked)::after {
  content: none;
}
.rc-tile:has(input:checked):hover,
#er-form .er-choice:has(input:checked):hover {
  background: #e8f3ed;
}
.rc-tile:has(input:checked) .rc-symbol,
.er-choice.er-work-tile:has(input:checked) .er-icon-disc,
#er-form .sys-tile .er-choice.er-work-tile:has(input:checked) .er-icon-disc,
.pc-card.is-selected .pc-avatar {
  background: var(--icon-purple-bg);
  color: var(--icon-purple);
}
.rh-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
}
.rc-symbol {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
}
.er-icon-disc {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
}
.er-icon-disc .er-icon {
  width: 26px;
  height: 26px;
}
.rc-symbol svg, .rh-icon svg {
  width: 22px;
  height: 22px;
}
:is(.ed-icon, .er-icon, .nav svg, .mobile-nav svg, .icon-btn svg,
  .search svg, .sys-settings svg, .vd-mic svg, .ed-detail-nav svg,
  .pc-card svg, .pc-detail-wrap svg, .pa-entry svg, .ph-control svg) {
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
  shape-rendering: geometricPrecision;
  flex-shrink: 0;
}
/* Buttons, fields and focus use one scale across all modules. */
.er-btn, .ph-new, .tc-tabs button, .ed-detail-nav button,
.ph-choice-actions button, .rt-bulk .er-btn, .rt-table-scroll .er-btn,
.er-profile-tools .er-btn, .crm-back-slot .er-btn {
  min-height: 42px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: var(--text-label);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: normal;
}
.er-btn, .tc-tabs button, .ed-detail-nav button, .crm-back-slot .er-btn {
  border-color: var(--line);
  background: var(--card);
  color: #405a72;
  box-shadow: none;
}
.er-btn.primary, .ph-new {
  background: var(--green);
  border-color: var(--green);
  color: white;
  box-shadow: none;
}
.er-btn.primary:hover:not(:disabled), .ph-new:hover:not(:disabled) {
  background: var(--green-2);
  border-color: var(--green-2);
  box-shadow: none;
}
.er-btn:hover:not(:disabled) {
  filter: none;
}
.er-btn:disabled, .ph-new:disabled {
  opacity: .55;
  box-shadow: none;
  cursor: not-allowed;
}
.er-field {
  gap: 8px;
  color: #52687b;
  font-size: var(--text-sm);
  font-weight: 500;
}
.er-field input, .er-field select, .er-field textarea,
.er-add select, .er-doc select, .rc-dialog input:not([type=radio]),
.rc-dialog textarea, .er-chat-form textarea, .rt-qty {
  min-height: 44px;
  border: 1px solid var(--line-control);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  padding: 10px 12px;
  font-size: var(--text-body);
  font-weight: 400;
  line-height: 1.5;
  box-shadow: none;
}
.er-field textarea, .rc-dialog textarea {
  resize: vertical;
  min-height: 88px;
}
.er-field input::placeholder, .er-field textarea::placeholder,
.search input::placeholder {
  color: #78899a;
  opacity: 1;
}
.er-field input:focus, .er-field select:focus, .er-field textarea:focus,
.search input:focus {
  border-color: #6e8cb3;
  box-shadow: 0 0 0 3px rgb(71 107 161 / 9%);
}
input[type=checkbox], input[type=radio] {
  accent-color: var(--green);
}
.er-field input[readonly], .sys-editor input[readonly] {
  background: #f0f4f7;
}
body :is(button, a, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--focus-color);
  outline-offset: 3px;
}
body .pc-open:focus-visible {
  outline-offset: -3px;
}
.er-choice:has(input:focus-visible), .rc-tile:has(input:focus-visible) {
  outline: 2px solid var(--focus-color);
  outline-offset: 3px;
}
.vd-wrap {
  min-width: 0;
}
.vd-wrap > input, .vd-wrap > textarea {
  padding-right: 50px;
}
.vd-mic {
  width: 36px;
  height: 36px;
  top: 4px;
  right: 4px;
  border-radius: 8px;
}
.vd-status[data-error=true] {
  color: #a13f49;
}
/* Navigation retains its existing anchors and sticky behavior. */
.topbar {
  height: var(--elka-header-height);
  border-color: var(--line);
}
.search input {
  height: 44px;
  font-size: var(--text-body);
}
.sidebar .nav {
  gap: 6px;
}
.sidebar .nav button {
  font-weight: 500;
  line-height: 1.4;
}
.er-tabs {
  margin-bottom: 24px;
  padding: 6px;
  gap: 6px;
  border-color: var(--line);
  background: #ecf0f5;
  border-radius: var(--radius-md);
}
.er-tabs button {
  min-height: 44px;
  padding: 10px 16px;
  font-size: var(--text-label);
  font-weight: 600;
  border-radius: 8px;
}
.er-tabs button[aria-current=page] {
  box-shadow: 0 2px 6px rgb(35 55 75 / 4%);
}
.crm-back-slot {
  min-height: 42px;
  margin: 0 0 20px;
}
.er-stage-nav {
  gap: 8px;
  padding: 8px 0;
  margin-bottom: 20px;
}
.er-stage-nav button[data-stage] {
  min-height: 72px;
  padding: 12px;
  border-color: var(--line);
  border-radius: var(--radius-md);
  box-shadow: none;
  font-size: var(--text-label);
  font-weight: 600;
}
.er-stage-nav button[data-stage][aria-current=step] {
  background: var(--green-soft);
  border-color: var(--line-selected);
  color: #37586a;
  box-shadow: none;
}
.er-stage-nav button[data-stage][aria-current=step] .er-stage-symbol {
  background: var(--icon-purple-bg);
  color: var(--icon-purple);
}
.er-stage-nav button[data-stage]:hover:not([aria-current=step]) {
  box-shadow: none;
  border-color: #d8e2ec;
}
.er-stage-symbol {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
}
.er-stage-symbol svg {
  width: 22px;
  height: 22px;
}
.rt-categories > button {
  font-size: var(--text-sm);
  min-height: 40px;
  line-height: 1.5;
}
.rt-categories > button[aria-current=true] {
  font-weight: 600;
}
.tb-stages.tn-stages button {
  min-height: 42px;
}
.tb-stages.tn-stages button .ed-icon {
  position: static;
  width: 18px;
  height: 18px;
}
/* Tables: calm separators, readable labels and stable numeric columns. */
.rt-table-scroll table, .rp-scroll table, .spec-table, .rfq-table {
  font-size: var(--text-label);
}
.rt-table-scroll th, .rp-scroll th, .spec-table th, .rfq-table th {
  font-size: var(--text-sm);
  font-weight: 600;
  color: #556d83;
  background: #f2f5f9;
  line-height: 1.5;
  border-color: var(--line);
}
.rt-table-scroll td, .rp-scroll td, .spec-table td, .rfq-table td {
  color: var(--ink);
  border-color: var(--line);
  line-height: 1.55;
}
.rt-table-scroll td strong {
  font-size: var(--text-label);
  font-weight: 600;
}
.rt-table-scroll th, .rt-table-scroll td {
  padding: 14px 12px;
}
.rt-status, .rt-status.approved, .tb-badge, .tp-status, .pill, .status {
  font-size: var(--text-xs);
  font-weight: 600;
  line-height: 1.4;
}
.rt-status {
  background: #fbf3e3;
  color: #856326;
}
.rt-status.approved {
  background: #eaf5ee;
  color: #326b50;
}
.rt-price.is-empty {
  color: var(--muted);
}
.rt-pagination {
  font-size: var(--text-sm);
  color: var(--muted);
}
.rt-inline-host .er-card {
  border-radius: var(--radius-md);
  box-shadow: none;
}
#rt-inline-row > td {
  background: #f5f8fb;
}
.rt-table-scroll, .tq-scroll, .rp-scroll {
  overscroll-behavior-inline: contain;
}
.rc-dialog, .tp-dialog, .er-chat {
  border-color: var(--line);
  border-radius: var(--radius-card);
}
.rc-dialog::backdrop, .tp-dialog::backdrop {
  background: rgb(29 45 62 / 32%);
}
.er-chat {
  box-shadow: 0 16px 48px rgb(29 45 62 / 16%);
}
.drawer {
  overscroll-behavior: contain;
}
/* Keep grid children shrinkable; scroll wide data tables, not the whole page. */
.er-grid2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.er-heading > *, .er-grid2 > *, .tb-toolbar > *, .rw-section-head > div,
.rt-toolbar > *, .rt-calc-add > *, .pc-selection > * {
  min-width: 0;
}
.rt-head-actions, .tb-actions, .er-actions > div {
  gap: 10px;
}
.rt-head-actions, .rw-section-head {
  flex-wrap: wrap;
}
.rt-bulk .er-btn {
  max-width: 100%;
  white-space: normal;
  text-align: center;
}
.er-summary dd, .rw-section-head p, .rh-directions, .er-heading h1 {
  overflow-wrap: anywhere;
}
@media (min-width: 901px) {
  .er-aside {
    position: sticky;
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 1050px) {
  main {
    padding: 24px 22px 96px;
  }
}
@media (max-width: 850px) {
  .er-heading {
    flex-wrap: wrap;
  }
  .tb-toolbar select {
    min-width: 0;
    width: 100%;
  }
}
@media (max-width: 720px) {
  :root {
    --text-title: 25px;
    --elka-header-height: 65px;
    --elka-step-height: 104px;
  }
  main {
    padding: 20px 16px 112px;
  }
  .topbar {
    padding: 0 14px;
    gap: 10px;
  }
  .er-heading {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .er-heading p {
    font-size: var(--text-label);
  }
  .er-tabs {
    gap: 6px;
  }
  .er-tabs button {
    padding: 10px;
    font-size: var(--text-sm);
  }
  .er-card, .tc-box, .rt-table-panel {
    padding: 18px;
  }
  .rh-tile, .rh-set, .rc-name {
    padding: 18px;
  }
  .rh-create:has(.rc-directions) {
    padding: 0;
  }
  .er-options .er-card {
    padding: 18px 0 0;
  }
  .er-stage-nav button[data-stage] {
    min-height: 88px;
    padding: 10px 4px;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    text-align: center;
    font-size: var(--text-sm);
  }
  .er-stage-symbol {
    width: 32px;
    height: 32px;
  }
  .er-stage-symbol svg {
    width: 20px;
    height: 20px;
  }
  .er-stage-label {
    font-size: var(--text-sm);
  }
  .er-btn, .ph-new, .crm-back-slot .er-btn, .rt-table-scroll .er-btn {
    min-height: 44px;
  }
  .er-field input, .er-field select, .er-field textarea,
  .er-add select, .er-doc select, .rc-dialog input:not([type=radio]),
  .rc-dialog textarea, .er-chat-form textarea, .rt-qty {
    font-size: 16px;
  }
  .er-launcher {
    right: 16px;
    bottom: calc(82px + env(safe-area-inset-bottom));
  }
  .er-chat {
    right: 12px;
    bottom: calc(142px + env(safe-area-inset-bottom));
    width: calc(100% - 24px);
    max-height: calc(100dvh - 160px - env(safe-area-inset-bottom));
  }
  .mobile-nav {
    min-height: 68px;
    height: calc(68px + env(safe-area-inset-bottom));
  }
  .mobile-nav button {
    font-size: var(--text-xs);
  }
}
@media (max-width: 650px) {
  .er-grid2 {
    grid-template-columns: minmax(0, 1fr);
  }
  .rc-tile {
    min-height: 116px;
    padding: 16px 8px;
  }
  .rc-tile small, .sys-settings {
    font-size: var(--text-xs);
  }
  .tq-photo-content {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .tq-photo-image {
    width: 100%;
    max-width: 260px;
    justify-self: center;
  }
  .tq-photo-image img {
    height: 150px;
  }
  .rt-toolbar, .rt-calc-add {
    display: block;
  }
  .rt-bulk {
    flex-wrap: wrap;
    justify-items: stretch;
  }
  .rt-bulk .er-btn {
    width: 100%;
  }
  .rt-head-actions {
    margin-top: 0;
  }
  .rw-section-head > .er-btn {
    width: 100%;
  }
  .toast {
    bottom: calc(144px + env(safe-area-inset-bottom));
    max-width: calc(100% - 32px);
    width: max-content;
    text-align: center;
  }
}
@media (max-width: 480px) {
  .tp-document-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .rt-pagination {
    flex-wrap: wrap;
    gap: 8px;
  }
  .rt-pagination > span {
    text-align: center;
  }
  .er-actions {
    align-items: stretch;
  }
  .er-actions > div {
    width: 100%;
    flex-wrap: wrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}

/* Add rates: explicit owner, direction and input method. */
.ra-form.rh-create:has(.rc-directions) { max-width: 1040px; gap: 18px; }
.ra-form [hidden], .ra-party-dialog [hidden] { display: none !important; }
.ra-section { min-width: 0; }
.ra-section h2, .ra-section legend { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; font-size: 18px; font-weight: 650; }
.ra-section legend { margin-bottom: 0; }
.ra-number { display: inline-grid; place-items: center; flex: 0 0 26px; width: 26px; height: 26px; border-radius: 8px; background: #edf1f6; color: #61758b; font-size: 12px; font-weight: 600; }
.ra-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ra-choice { display: flex; align-items: flex-start; gap: 12px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface-soft); cursor: pointer; min-width: 0; }
.ra-choice input { width: 17px; height: 17px; margin: 3px 0 0; flex-shrink: 0; accent-color: var(--green); }
.ra-choice strong { display: block; font-size: 14px; font-weight: 600; color: var(--ink); }
.ra-choice small { display: block; font-size: 12px; color: var(--muted); margin-top: 5px; line-height: 1.55; }
.ra-choice:has(input:checked) { background: var(--green-soft); border-color: var(--line-selected); }
.ra-choice:has(input:focus-visible) { outline: 2px solid var(--focus-color); outline-offset: 3px; }
.ra-participant-fields { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: end; padding-top: 18px; }
.ra-participant-fields > p { grid-column: 1 / -1; margin: 0; }
.ra-form .rc-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ra-form .rc-tile { min-height: 124px; }
.ra-import-fields { margin-top: 18px; display: grid; gap: 10px; }
.ra-import-fields > p { margin: 0; }
.ra-import-fields input[type=file] { padding: 10px; font-size: 13px; }
.ra-name-section > p { margin: 8px 0 0; }
.ra-footer { padding: 0 2px 8px; }
.ra-footer .er-error:empty { display: none; }
.ra-footer > p { margin: 10px 0; }
.ra-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ra-footer .primary { min-height: 46px; padding-inline: 20px; }
.ra-storage-note { margin-top: 22px; color: var(--muted); font-size: 12px; }
.ra-text-button { display: inline-flex; align-items: center; justify-content: flex-start; padding: 8px 0; min-height: 40px; background: none; border: 0; color: #496783; text-align: left; font: inherit; font-size: 13px; font-weight: 600; text-decoration: underline; text-decoration-color: #cbd7e2; text-underline-offset: 4px; cursor: pointer; }
.ra-text-button:hover { color: var(--green); }
.ra-empty { max-width: 820px; padding: 30px; }
.ra-empty h2 { margin: 16px 0 8px; }
.ra-empty p { max-width: 600px; color: var(--muted); font-size: 14px; line-height: 1.65; margin: 0 0 12px; }
.ra-home-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 16px; color: var(--muted); font-size: 13px; }
.ra-home-tools .ra-text-button { margin-left: auto; }
.ra-party-dialog form { display: grid; gap: 16px; }
.ra-party-dialog .rt-edit-title, .ra-party-dialog .er-note { margin: 0; }
.ra-party-dialog h2 { margin: 0; }
.ra-optional { font-size: 12px; color: var(--muted); font-weight: 400; }
.ra-workspace-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: 13px; margin: -8px 0 20px; }
@media (max-width: 850px) {
  .ra-form .rc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ra-participant-fields { grid-template-columns: minmax(0, 1fr); }
  .ra-participant-fields > button { justify-self: start; }
}
@media (max-width: 650px) {
  .ra-options { grid-template-columns: minmax(0, 1fr); }
  .ra-choice { padding: 16px; }
  .ra-form .rc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ra-section h2, .ra-section legend { font-size: 16px; }
  .ra-footer .ra-actions { align-items: stretch; }
  .ra-footer .primary { width: 100%; }
  .ra-home-tools .ra-text-button { margin-left: 0; }
  .ra-empty { padding: 22px; }
}
