:root {
  --ink: #203831;
  --green: #234c40;
  --green-dark: #173d33;
  --lime: #d6e8ba;
  --bg: #f7f8f5;
  --white: #fff;
  --muted: #78817a;
  --line: #e4e8e1;
  --orange: #a56724;
  --red: #a9463e;
  --shadow: 0 12px 40px #1d392918;
  --radius: 12px;
  color-scheme: light;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.5;
  background: var(--bg);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 32px;
  line-height: 1.18;
  letter-spacing: -1px;
  font-weight: 550;
}
h2 {
  font-size: 19px;
  letter-spacing: -0.4px;
  font-weight: 600;
}
h3 {
  font-size: 16px;
  font-weight: 600;
}
small {
  font-size: 12px;
}
input,
select,
textarea {
  width: 100%;
  border: 1px solid #dce2d9;
  border-radius: 7px;
  padding: 11px 12px;
  background: var(--white);
  color: var(--ink);
  min-height: 42px;
}
input[type='checkbox'] {
  width: 17px;
  min-height: 17px;
  height: 17px;
  margin: 2px 0;
  accent-color: var(--green);
  flex: 0 0 auto;
}
textarea {
  resize: vertical;
}
input::placeholder {
  color: #8c958c;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid #6aa997;
  outline-offset: 3px;
}
fieldset {
  border: 1px solid var(--line);
  border-radius: 9px;
  margin: 0;
  padding: 18px;
  min-width: 0;
}
legend {
  padding: 0 6px;
  font-weight: 600;
  font-size: 13px;
}
[hidden] {
  display: none !important;
}
.mono {
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 12px;
  letter-spacing: 0.4px;
}
.eyebrow {
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  padding: 10px 15px;
  min-height: 40px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  white-space: normal;
  transition:
    background 0.15s,
    transform 0.15s;
}
.btn:hover {
  background: #edf1e9;
}
.btn.primary {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}
.btn.primary:hover {
  background: #173b31;
}
.btn.selected {
  background: #e8efdf;
  border-color: #ccd9c1;
  color: #2d583e;
}
.btn.danger {
  background: #a9463e;
  border-color: #a9463e;
  color: white;
}
.btn.full {
  width: 100%;
  margin-top: 8px;
}
.icon-btn {
  border: 0;
  background: transparent;
  display: inline-flex;
  padding: 8px;
  border-radius: 7px;
  align-items: center;
  justify-content: center;
  color: inherit;
}
.icon-btn:hover {
  background: #e9ede5;
}
.link,
.text-button {
  border: 0;
  background: none;
  padding: 0;
  text-align: left;
  color: inherit;
  font-weight: 600;
  cursor: pointer;
}
.link {
  color: var(--green);
  font-size: 13px;
}
.text-button:hover,
.link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.badge {
  display: inline-flex;
  align-items: center;
  white-space: normal;
  font-size: 10px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 5px;
  background: #eef0eb;
  color: #657061;
  line-height: 1.4;
}
.status-negotiating,
.status-action_required,
.status-awaiting_documents,
.status-pending {
  background: #f7eedc;
  color: #94702d;
}
.status-agreed,
.status-paid,
.status-confirmed,
.status-ready,
.status-accepted {
  background: #e3efdf;
  color: #44653d;
}
.status-declined,
.status-failed,
.status-refunded,
.status-reversed,
.status-cancelled {
  background: #f7e7e3;
  color: #9a4e43;
}
.status-open {
  background: #e5ecf5;
  color: #49638a;
}
.status-fictional,
.status-planned {
  background: #eee9f3;
  color: #7a6290;
}
.app-shell {
  display: grid;
  grid-template-columns: 228px minmax(0, 1fr);
  min-height: 100vh;
}
.sidebar {
  background: #fbfcf9;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 35px 18px 22px;
  position: sticky;
  top: 0;
  height: 100vh;
  z-index: 15;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 11px;
  color: var(--green);
}
.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand-name {
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.5px;
  line-height: 1.15;
}
.brand-name span {
  display: block;
  font-size: 12px;
  letter-spacing: 2px;
  font-weight: 400;
  margin-top: 5px;
}
.side-label {
  margin: 54px 15px 15px;
  color: #96a08f;
  text-transform: uppercase;
  font-size: 9px;
  letter-spacing: 1.5px;
  font-weight: 600;
}
.sidebar nav {
  display: grid;
  gap: 6px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 13px;
  font-size: 12px;
  color: #6a7469;
  border-radius: 7px;
  position: relative;
}
.nav-item svg {
  flex: 0 0 auto;
}
.nav-item:hover {
  background: #eff3e9;
}
.nav-item.active {
  background: #e8efdf;
  color: #2e4c32;
  font-weight: 650;
}
.tiny-label {
  margin-left: auto;
  font-size: 8px;
  color: #8c987f;
  background: #eef1e8;
  padding: 2px 4px;
  border-radius: 3px;
}
.sidebar-foot {
  margin-top: auto;
  padding: 20px 13px 0;
}
.sidebar-foot p {
  font-size: 10px;
  line-height: 1.6;
  color: #8a9284;
  margin-top: 10px;
}
.demo-indicator {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 1.5px;
  color: #6e8064;
}
.demo-indicator i {
  height: 6px;
  width: 6px;
  border-radius: 50%;
  background: #8dba71;
}
.logout {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: none;
  color: #788371;
  font-size: 12px;
  margin-top: 25px;
  padding: 0;
}
.main-column {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.topbar {
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 38px;
  border-bottom: 1px solid var(--line);
  background: #ffffffa3;
}
.breadcrumb {
  display: flex;
  gap: 12px;
  font-size: 11px;
  color: #8f978b;
}
.breadcrumb strong {
  font-weight: 500;
  color: #53634d;
}
.breadcrumb > span {
  color: #c2c8bc;
}
.topbar-right {
  display: flex;
  gap: 25px;
  align-items: center;
}
.language {
  display: flex;
  align-items: center;
  gap: 7px;
  background: transparent;
  border: 0;
  color: #697661;
  font-size: 11px;
  padding: 8px 0;
}
.profile {
  display: flex;
  align-items: center;
  gap: 10px;
  border-left: 1px solid var(--line);
  padding-left: 25px;
}
.profile > span:last-child {
  display: grid;
  gap: 1px;
}
.profile strong {
  font-size: 11px;
  font-weight: 600;
}
.profile small {
  font-size: 10px;
  color: #9aa28f;
}
.avatar {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: #e5ebdb;
  color: #5c714b;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 600;
}
.menu-toggle {
  display: none;
}
main {
  padding: 34px 38px 55px;
  flex: 1;
  min-width: 0;
  max-width: 1600px;
  width: 100%;
  margin: 0 auto;
}
.main-footer {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin: 0 38px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  color: #98a08f;
  font-size: 9px;
}
.main-footer > span:first-child {
  font-weight: 650;
  letter-spacing: 0.5px;
}
.hero {
  background: var(--green-dark);
  color: white;
  border-radius: 13px;
  padding: 34px 34px 36px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  overflow: hidden;
  position: relative;
}
.hero:after {
  content: '';
  position: absolute;
  width: 350px;
  height: 350px;
  border: 1px solid #56765e50;
  transform: rotate(35deg);
  right: -140px;
  top: -100px;
  border-radius: 40%;
  pointer-events: none;
  box-shadow:
    0 0 0 30px #56765e10,
    0 0 0 60px #56765e0b;
}
.hero > div {
  position: relative;
  z-index: 1;
  max-width: 620px;
}
.hero .eyebrow {
  color: #b0c8a3;
  font-size: 9px;
}
.hero h1 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 34px;
  font-weight: 400;
  max-width: 540px;
  margin: 13px 0 14px;
  letter-spacing: -0.6px;
  line-height: 1.2;
}
.hero p {
  color: #b5c5b8;
  font-size: 12px;
  line-height: 1.8;
  max-width: 480px;
}
.hero-action {
  background: var(--lime);
  color: #214833;
  border-color: var(--lime);
  flex: 0 0 auto;
  position: relative;
  z-index: 1;
}
.hero-action:hover {
  background: #c8dba9;
}
.stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.3fr;
  margin: 27px 0 34px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 26px;
  gap: 10px;
}
.stats-row > div {
  display: flex;
  flex-direction: column;
  padding-left: 24px;
  border-left: 1px solid var(--line);
  gap: 9px;
}
.stats-row > div:first-child {
  padding-left: 0;
  border: 0;
}
.stats-row span {
  font-size: 10px;
  color: #8b9483;
}
.stats-row strong {
  font-size: 27px;
  line-height: 1.15;
  letter-spacing: -1px;
  font-weight: 500;
}
.stats-row .stat-text {
  font-size: 14px;
  letter-spacing: -0.2px;
  display: flex;
  align-items: center;
  gap: 14px;
  line-height: 1.6;
  padding-top: 5px;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}
.section-heading p {
  margin-top: 6px;
  font-size: 11px;
  color: #8c9484;
  max-width: 640px;
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  color: #52634b;
  line-height: 1.6;
}
.check.small {
  font-size: 10px;
  align-items: center;
}
.filters {
  display: grid;
  grid-template-columns: minmax(180px, 2fr) 1fr 1fr 1fr 1fr;
  gap: 9px;
  margin-bottom: 16px;
}
.filters input,
.filters select {
  font-size: 11px;
  padding: 10px;
  min-width: 0;
}
.search-field {
  display: flex;
  align-items: center;
  position: relative;
}
.search-field svg {
  position: absolute;
  left: 12px;
  color: #8a9682;
}
.search-field input {
  padding-left: 38px;
}
.catalog-table {
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.catalog-head,
.product-row {
  display: grid;
  grid-template-columns: minmax(190px, 2.2fr) minmax(120px, 1.35fr) minmax(
      110px,
      1.1fr
    ) minmax(55px, 0.65fr) 88px;
  gap: 14px;
  align-items: center;
  padding: 19px 20px;
}
.catalog-head {
  padding-top: 12px;
  padding-bottom: 12px;
  background: #fbfcf8;
  color: #8a9582;
  font-size: 9px;
  letter-spacing: 0.3px;
}
.product-row {
  border-top: 1px solid #eef0e9;
  min-height: 96px;
}
.product-row:hover {
  background: #fcfdf9;
}
.product-name {
  display: flex;
  gap: 13px;
  align-items: center;
  min-width: 0;
}
.product-icon {
  flex: 0 0 39px;
  width: 39px;
  height: 43px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  color: #788b65;
  background: #f1f4e9;
}
.product-icon.whale {
  background: #eaf0f3;
  color: #7c97a6;
}
.product-icon.hike {
  background: #f2eee4;
  color: #a2946e;
}
.product-name .text-button {
  font-size: 12px;
  letter-spacing: -0.15px;
  line-height: 1.5;
}
.product-name small {
  display: block;
  margin-top: 5px;
  color: #9aa28f;
  font-size: 10px;
}
.product-name small > i {
  font-style: normal;
  padding: 0 7px;
}
.provider-cell,
.price-cell,
.capacity-cell {
  display: grid;
  gap: 5px;
}
.provider-cell strong,
.price-cell strong {
  font-size: 11px;
  font-weight: 550;
}
.provider-cell small,
.price-cell small,
.capacity-cell small {
  font-size: 9px;
  color: #99a18f;
}
.capacity-cell strong {
  font-size: 13px;
  font-weight: 500;
}
.product-actions {
  text-align: right;
}
.product-actions .btn {
  padding: 7px 10px;
  min-height: 33px;
  font-size: 10px;
  gap: 5px;
}
.product-actions .btn svg {
  width: 12px;
  height: 12px;
}
.sample-label {
  display: block;
  color: #8b759a;
  margin-top: 3px;
}
.catalog-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 10px;
  color: #929d88;
  margin-top: 17px;
}
.catalog-foot > div {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--green);
  font-size: 11px;
}
.empty {
  padding: 50px 25px;
  text-align: center;
  background: #fff;
  border: 1px dashed var(--line);
  border-radius: 12px;
  color: #7d8973;
}
.empty h3 {
  color: #607451;
  font-size: 16px;
  margin: 15px 0 8px;
}
.empty p {
  font-size: 12px;
}
.empty-symbol {
  display: inline-flex;
  border-radius: 50%;
  padding: 15px;
  background: #f0f4e8;
}
.empty-symbol svg {
  width: 25px;
  height: 25px;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin: 4px 0 30px;
}
.page-heading h1 {
  margin: 9px 0 10px;
}
.page-heading p {
  font-size: 12px;
  color: #839176;
  max-width: 690px;
}
.page-heading.compact {
  margin-top: 24px;
}
.back-link {
  font-size: 11px;
  color: #7b8c6c;
}
.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 24px;
  margin-bottom: 20px;
  min-width: 0;
}
.panel > h2 {
  margin-bottom: 18px;
}
.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
}
.panel-heading > span {
  font-size: 10px;
  color: #93a084;
}
.orders-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.order-card {
  border: 1px solid var(--line);
  border-radius: 11px;
  background: white;
  padding: 21px;
  transition:
    box-shadow 0.15s,
    transform 0.15s;
}
.order-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.order-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}
.order-card .mono {
  font-size: 10px;
  color: #91a080;
}
.order-card h3 {
  font-size: 15px;
  line-height: 1.4;
}
.order-card > p {
  font-size: 10px;
  color: #8e9a81;
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin: 8px 0 23px;
}
.order-card-bottom {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}
.order-card-bottom > span {
  font-size: 11px;
}
.order-card-bottom small {
  display: block;
  font-size: 9px;
  color: #9ba78e;
  margin-top: 4px;
}
.order-card-bottom strong {
  font-size: 15px;
  font-weight: 550;
}
.order-states {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  border-top: 1px solid #edf0e7;
  padding-top: 16px;
  margin-top: 20px;
}
.state-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 25px;
}
.state-grid > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  padding: 15px 17px;
  background: #f0f3e9;
  border-radius: 8px;
}
.state-grid > div > span:first-child {
  font-size: 10px;
  color: #809170;
}
.order-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 24px;
}
.order-side {
  min-width: 0;
}
.order-side .panel {
  padding: 21px;
}
.money-summary {
  margin: 15px 0 20px;
  display: grid;
  gap: 13px;
}
.money-summary > div {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 16px;
  font-size: 11px;
}
.money-summary strong {
  white-space: nowrap;
  font-size: 13px;
  font-weight: 550;
}
.money-summary span {
  color: #899779;
}
.money-summary small {
  display: block;
  font-size: 9px;
}
.money-summary .net {
  padding-top: 15px;
  border-top: 1px solid var(--line);
}
.money-summary .net strong {
  color: #3f6036;
}
.terms-line {
  padding: 13px 0;
  border-bottom: 1px solid #eef0e9;
}
.terms-line:first-child {
  padding-top: 0;
}
.terms-line > div {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.terms-line strong {
  font-size: 12px;
  font-weight: 550;
}
.terms-line p {
  font-size: 11px;
  color: #8d9a7e;
  margin: 9px 0 2px;
  padding-left: 30px;
}
.line-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #f1f4eb;
  color: #97a58a;
  font-size: 10px;
}
.term-resale {
  display: grid;
  gap: 5px;
  margin: 19px 0 5px;
}
.term-resale > span {
  font-size: 10px;
  color: #94a184;
}
.term-resale strong {
  font-size: 12px;
  font-weight: 550;
}
.term-resale small {
  font-size: 10px;
  color: #7d926b;
}
blockquote {
  background: #f6f8f1;
  border-left: 2px solid #c8d3b9;
  margin: 18px 0;
  padding: 12px 15px;
  font-size: 12px;
  color: #667957;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.action-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 23px;
}
.side-note {
  display: flex;
  gap: 10px;
  padding: 8px;
  color: #97a08e;
  font-size: 10px;
  line-height: 1.7;
}
.side-note > span {
  flex: 0 0 auto;
}
.stack-actions {
  display: grid;
  gap: 10px;
}
.revision {
  border-bottom: 1px solid var(--line);
  padding: 15px 0;
}
.revision:last-child {
  border: 0;
}
.revision summary {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 11px;
}
.revision summary strong {
  font-weight: 550;
}
.revision summary span {
  color: #94a184;
  font-size: 10px;
}
.revision[open] summary {
  margin-bottom: 22px;
}
.timeline {
  display: grid;
  gap: 0;
  margin: 20px 0 24px;
}
.timeline-row {
  display: flex;
  gap: 15px;
  position: relative;
  padding-bottom: 21px;
}
.timeline-row > i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #b9caa9;
  flex: 0 0 auto;
  margin-top: 6px;
}
.timeline-row:not(:last-child):after {
  content: '';
  position: absolute;
  width: 1px;
  background: #e8ede1;
  left: 3px;
  top: 16px;
  bottom: 5px;
}
.timeline-row strong {
  font-size: 11px;
  font-weight: 550;
}
.timeline-row small {
  display: block;
  color: #9caa8c;
  font-size: 9px;
  margin-top: 3px;
}
.timeline-row p {
  font-size: 12px;
  margin-top: 9px;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
.confirmation-card {
  padding: 16px;
  border: 1px solid #e4ebdc;
  background: #fbfdf7;
  border-radius: 7px;
  margin-bottom: 12px;
}
.confirmation-card > div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.confirmation-card > strong {
  font-size: 12px;
}
.confirmation-card p {
  font-size: 11px;
  color: #8e9a80;
  margin-top: 7px;
  white-space: pre-wrap;
}
.request-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 24px;
  margin-bottom: 13px;
}
.request-card:hover {
  border-color: #b8c8a6;
}
.request-icon {
  padding: 14px;
  background: #eff4e7;
  color: #8a9f73;
  border-radius: 9px;
  display: flex;
}
.request-card > div:nth-child(2) {
  flex: 1;
}
.request-title {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.request-title h3 {
  font-size: 15px;
}
.request-card p {
  font-size: 12px;
  color: #81946e;
  margin-top: 8px;
}
.request-card small {
  font-size: 10px;
  color: #a0ad91;
}
.request-amount {
  text-align: right;
  display: grid;
  gap: 3px;
}
.request-amount strong {
  font-size: 15px;
  font-weight: 550;
}
.bid-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.bid-summary {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
  margin: 19px 0;
}
.bid-summary strong {
  font-size: 16px;
  font-weight: 500;
}
.bid-summary span {
  font-size: 10px;
  color: #96a588;
}
.bid-card .form-grid {
  margin-top: 17px;
}
.split-review {
  max-width: 700px;
}
.split-review > p {
  font-size: 12px;
  color: #8b9c78;
}
.coverage-summary {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 18px 0;
  padding: 16px;
  background: #f6f1e8;
  border-radius: 8px;
}
.coverage-summary.complete {
  background: #ecf3e4;
}
.coverage-summary span {
  display: grid;
  gap: 8px;
  font-size: 11px;
  color: #849273;
}
.coverage-summary strong {
  font-size: 20px;
  color: var(--ink);
  font-weight: 500;
}
.linked-order {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid #edf0e8;
  padding: 15px 0;
  font-size: 12px;
}
.linked-order small {
  display: block;
  font-size: 10px;
  color: #91a17e;
  margin-top: 4px;
}
.admin-columns {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 20px;
}
.admin-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.admin-row strong {
  font-size: 13px;
}
.admin-row small {
  display: block;
  color: #8c9b7c;
  font-size: 11px;
  margin-top: 5px;
}
.table-wrap {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 11px;
}
th {
  padding: 12px 10px;
  color: #8c9d7a;
  font-size: 10px;
  font-weight: 500;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
td {
  padding: 15px 10px;
  border-bottom: 1px solid #eef1e9;
}
td a {
  color: #557b3c;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.resale-hero {
  margin-bottom: 25px;
}
.resale-hero h1 {
  max-width: none;
}
.resale-lab .form-grid {
  margin-bottom: 30px;
}
.resale-principal {
  display: flex;
  justify-content: space-between;
  padding: 20px;
  background: #f2f5ec;
  border-radius: 8px;
  font-size: 13px;
}
.resale-principal strong {
  font-weight: 500;
}
.split-three {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
  margin: 15px 0;
}
.split-three > div {
  border-top: 3px solid #73965d;
  background: #f7f9f3;
  border-radius: 5px;
  padding: 22px;
  display: grid;
  gap: 10px;
}
.split-three > div:nth-child(2) {
  border-color: #8ea6b2;
}
.split-three > div:nth-child(3) {
  border-color: #c4a372;
}
.split-three span {
  font-size: 12px;
  color: #859776;
}
.split-three strong {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.7px;
}
.split-three small {
  color: #b0bba6;
  font-size: 12px;
}
.roadmap-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.roadmap-card {
  padding: 24px;
  border: 1px dashed #d8e0ce;
  border-radius: 10px;
}
.roadmap-card h3 {
  margin: 15px 0 8px;
  font-size: 15px;
}
.roadmap-card p {
  font-size: 12px;
  color: #889b76;
}
.modal-open {
  overflow: hidden;
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: #1a302d72;
  backdrop-filter: blur(4px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 20px;
  overflow-y: auto;
  z-index: 100;
}
.modal {
  background: var(--bg);
  border-radius: 14px;
  width: 100%;
  max-width: 550px;
  box-shadow: 0 30px 80px #10201a40;
}
.modal.wide {
  max-width: 860px;
}
.modal > header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 20px 26px;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: -40px;
  background: var(--bg);
  border-radius: 14px 14px 0 0;
  z-index: 2;
}
.modal > header h2 {
  font-size: 19px;
}
.modal-body {
  padding: 26px;
}
.modal-body form,
.panel form {
  display: grid;
  gap: 18px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
  font-size: 12px;
}
.field > span {
  color: #6a7f59;
  font-weight: 500;
  font-size: 11px;
}
.field small,
.help {
  font-size: 11px;
  color: #92a080;
  line-height: 1.7;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.form-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.form-intro {
  font-size: 12px;
  color: #7c8e6a;
  margin-bottom: 4px;
}
.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 8px;
}
.form-error {
  font-size: 12px;
  color: #a54539;
  line-height: 1.7;
  white-space: pre-wrap;
}
.form-error:not(:empty) {
  padding: 10px 14px;
  background: #f8eae6;
  border-radius: 7px;
}
.form-error:empty {
  display: none;
}
.service-line {
  margin-bottom: 16px;
}
.service-line:last-child {
  margin-bottom: 0;
}
.service-line .help {
  margin-top: 12px;
}
.resale-extra {
  margin-top: 16px;
}
.resale-extra + .help {
  margin-top: 12px;
}
.finance-preview {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 17px;
  background: #eaf0e3;
  border-radius: 8px;
}
.finance-preview span {
  display: grid;
  gap: 7px;
  font-size: 10px;
  color: #869877;
}
.finance-preview strong {
  font-size: 14px;
  color: #3c5931;
  font-weight: 550;
}
.notice {
  padding: 14px 17px;
  background: #f0f3e9;
  color: #7a8e65;
  border-radius: 8px;
  font-size: 11px;
  line-height: 1.8;
  margin: 15px 0;
  overflow-wrap: anywhere;
}
.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}
.detail-grid > div {
  display: grid;
  gap: 5px;
}
.detail-grid small {
  color: #93a180;
  font-size: 10px;
}
.detail-grid strong {
  font-size: 13px;
  font-weight: 550;
}
.source-line {
  font-size: 10px;
  color: #9aa68b;
  margin: 15px 0;
}
.modal fieldset .field + .help {
  margin-top: 10px;
}
#toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translate(-50%, 20px);
  padding: 13px 22px;
  background: var(--green-dark);
  color: white;
  border-radius: 9px;
  z-index: 300;
  font-size: 12px;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.2s,
    transform 0.2s;
  max-width: calc(100vw - 30px);
}
#toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
#toast.error {
  background: #9f493c;
}
.auth-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.auth-story {
  background: var(--green-dark);
  color: white;
  display: flex;
  flex-direction: column;
  padding: 50px 55px;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}
.auth-story:after {
  content: '';
  height: 600px;
  width: 600px;
  border: 1px solid #a9bf8540;
  position: absolute;
  left: -150px;
  bottom: -420px;
  border-radius: 40%;
  transform: rotate(35deg);
  box-shadow:
    0 0 0 50px #a9bf8510,
    0 0 0 100px #a9bf8508;
}
.auth-story .brand {
  color: var(--lime);
  padding: 0;
}
.story-content {
  margin: auto 0;
  padding: 50px 0;
  position: relative;
  z-index: 1;
  max-width: 500px;
}
.story-content .eyebrow {
  color: #9eb792;
}
.story-content h1 {
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: 48px;
  letter-spacing: -1px;
  line-height: 1.2;
  margin: 20px 0 25px;
}
.story-content > p {
  font-size: 14px;
  line-height: 1.9;
  color: #aac0ab;
  max-width: 390px;
}
.story-stats {
  display: flex;
  gap: 35px;
  margin-top: 50px;
}
.story-stats > span {
  font-size: 13px;
  color: #b9cfaa;
}
.story-stats small {
  display: block;
  font-size: 10px;
  color: #799d80;
  margin-top: 8px;
}
.story-footer {
  font-size: 10px;
  letter-spacing: 0.3px;
  color: #94b297;
  display: flex;
  gap: 15px;
}
.auth-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 40px;
  position: relative;
}
.auth-language {
  position: absolute;
  top: 25px;
  right: 40px;
}
.auth-form {
  width: 100%;
  max-width: 360px;
}
.auth-form > h2 {
  font-size: 29px;
  font-weight: 550;
  margin: 12px 0 27px;
}
.auth-form form {
  display: grid;
  gap: 17px;
}
.auth-form .field > span {
  font-size: 11px;
}
.auth-form input {
  font-size: 13px;
}
.auth-switch {
  font-size: 11px;
  color: #94a085;
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 22px;
}
.auth-switch .link {
  font-size: 11px;
}
.demo-login {
  padding-top: 28px;
  margin-top: 32px;
  border-top: 1px solid var(--line);
}
.demo-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 13px 0;
}
.demo-buttons .btn {
  font-size: 10px;
  padding: 9px 7px;
}
.demo-login > small {
  font-size: 10px;
  color: #95a184;
}
.demo-login code {
  color: #70855e;
}
.fineprint {
  font-size: 9px;
  color: #a3ad98;
  margin-top: 25px;
  text-align: center;
  line-height: 1.8;
}
.pending-screen {
  max-width: 620px;
  margin: 12vh auto;
  padding: 25px;
}
.pending-screen h1 {
  margin: 30px 0 20px;
}
.pending-screen p {
  color: #7c9169;
  margin-bottom: 25px;
}
.pending-screen > .language {
  margin: 25px 0;
}
.pending-screen > .brand {
  padding: 0;
}
@media (min-width: 1500px) {
  main {
    padding: 40px 52px 70px;
  }
  .catalog-head,
  .product-row {
    padding-left: 26px;
    padding-right: 26px;
  }
  .hero {
    padding: 42px;
  }
  .hero h1 {
    font-size: 40px;
  }
  .product-row {
    min-height: 104px;
  }
  .product-name .text-button {
    font-size: 13px;
  }
  .provider-cell strong,
  .price-cell strong {
    font-size: 12px;
  }
}
@media (max-width: 1200px) {
  .app-shell {
    grid-template-columns: 205px minmax(0, 1fr);
  }
  .sidebar {
    padding-left: 12px;
    padding-right: 12px;
  }
  .topbar {
    padding: 0 25px;
  }
  main {
    padding: 28px 25px 45px;
  }
  .hero {
    padding: 28px;
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }
  .hero h1 {
    font-size: 31px;
  }
  .hero-action {
    align-self: flex-start;
  }
  .filters {
    grid-template-columns: 2fr 1fr 1fr;
  }
  .filters > input {
    grid-row: 2;
  }
  .catalog-head,
  .product-row {
    grid-template-columns: minmax(160px, 2fr) minmax(105px, 1.2fr) minmax(
        100px,
        1fr
      ) 55px 72px;
    padding: 17px 14px;
    gap: 10px;
  }
  .product-icon {
    display: none;
  }
  .orders-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .order-layout {
    grid-template-columns: minmax(0, 1fr) 235px;
    gap: 16px;
  }
  .order-side .panel {
    padding: 17px;
  }
  .profile {
    padding-left: 15px;
  }
  .topbar-right {
    gap: 15px;
  }
  .bid-list {
    grid-template-columns: 1fr;
  }
  .stats-row .stat-text {
    font-size: 12px;
  }
  .story-content h1 {
    font-size: 41px;
  }
  .auth-story {
    padding: 40px;
  }
  .split-three strong {
    font-size: 20px;
  }
}
@media (max-width: 950px) {
  .app-shell {
    grid-template-columns: 180px minmax(0, 1fr);
  }
  .brand-name {
    font-size: 15px;
  }
  .brand-name span {
    font-size: 10px;
  }
  .brand {
    gap: 5px;
    padding: 0 5px;
  }
  .brand-mark svg {
    width: 29px;
    height: 29px;
  }
  .nav-item {
    font-size: 11px;
    padding: 12px 9px;
    gap: 7px;
  }
  .tiny-label {
    display: none;
  }
  .topbar {
    padding: 0 20px;
    height: 75px;
  }
  .breadcrumb {
    display: none;
  }
  .topbar-right {
    margin-left: auto;
  }
  main {
    padding: 24px 20px 40px;
  }
  .catalog-head {
    display: none;
  }
  .product-row {
    grid-template-columns: minmax(150px, 1.7fr) 1fr 72px;
    gap: 12px;
  }
  .product-name {
    grid-column: 1;
  }
  .provider-cell {
    grid-row: 2;
    grid-column: 1;
  }
  .price-cell {
    grid-row: 1;
    grid-column: 2;
  }
  .capacity-cell {
    grid-row: 2;
    grid-column: 2;
  }
  .capacity-cell small {
    display: inline;
  }
  .product-actions {
    grid-row: 1 / 3;
    grid-column: 3;
  }
  .product-row:first-child {
    border: 0;
  }
  .provider-cell {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
  }
  .order-layout {
    grid-template-columns: 1fr;
  }
  .order-side {
    grid-row: 1;
  }
  .order-side .money-summary {
    display: flex;
    justify-content: space-between;
    gap: 22px;
  }
  .order-side .money-summary > div {
    display: grid;
    gap: 5px;
  }
  .order-side .money-summary .net {
    padding: 0;
    border: 0;
  }
  .side-note {
    display: none;
  }
  .state-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }
  .stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }
  .stats-row > div:nth-child(3) {
    border: 0;
    padding-left: 0;
  }
  .admin-columns {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .split-three {
    gap: 10px;
  }
  .split-three > div {
    padding: 16px;
  }
  .split-three strong {
    font-size: 17px;
  }
  .auth-story {
    padding: 35px;
  }
  .story-stats {
    gap: 25px;
  }
  .auth-main {
    padding: 70px 30px;
  }
  .auth-switch {
    flex-wrap: wrap;
  }
  .form-grid.three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 700px) {
  .app-shell {
    display: block;
  }
  .sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 235px;
    transform: translateX(-100%);
    transition: transform 0.2s;
    box-shadow: var(--shadow);
    padding: 30px 18px;
  }
  .sidebar.mobile-open {
    transform: translateX(0);
  }
  .sidebar .brand {
    padding: 0 10px;
  }
  .sidebar .brand-name {
    font-size: 17px;
  }
  .sidebar .nav-item {
    font-size: 12px;
    padding: 13px;
  }
  .sidebar.mobile-open ~ .main-column .menu-toggle {
    position: relative;
    z-index: 16;
  }
  .menu-toggle {
    display: flex;
  }
  .topbar {
    height: 69px;
    padding: 0 17px;
  }
  .profile {
    border: 0;
    padding: 0;
    gap: 8px;
  }
  .profile strong {
    font-size: 10px;
    max-width: 150px;
  }
  .profile small {
    font-size: 9px;
  }
  .profile .avatar {
    width: 28px;
    height: 28px;
  }
  .language {
    font-size: 10px;
  }
  .language svg {
    width: 15px;
  }
  .topbar-right {
    gap: 16px;
  }
  main {
    padding: 21px 17px 35px;
  }
  .hero {
    padding: 25px;
  }
  .hero h1 {
    font-size: 30px;
  }
  .hero p {
    font-size: 11px;
  }
  .hero-action {
    font-size: 11px;
  }
  .stats-row {
    margin: 23px 0 28px;
    padding-bottom: 22px;
  }
  .stats-row strong {
    font-size: 25px;
  }
  .section-heading h2 {
    font-size: 18px;
  }
  .section-heading p {
    font-size: 11px;
  }
  .filters {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .search-field {
    grid-column: 1 / 3;
  }
  .filters > input {
    grid-row: auto;
  }
  .filters input,
  .filters select {
    font-size: 12px;
    min-height: 43px;
  }
  .catalog-foot {
    flex-direction: column;
    align-items: flex-start;
  }
  .catalog-foot > div {
    flex-wrap: wrap;
    background: #edf3e5;
    border-radius: 8px;
    padding: 13px;
    width: 100%;
  }
  .catalog-foot .btn {
    font-size: 11px;
  }
  .product-row {
    padding: 17px 13px;
    grid-template-columns: minmax(130px, 1.6fr) minmax(82px, 1fr) 64px;
    gap: 10px;
  }
  .product-name .text-button {
    font-size: 12px;
  }
  .price-cell strong {
    font-size: 10px;
  }
  .provider-cell strong {
    font-size: 10px;
  }
  .product-actions .btn {
    padding: 7px;
    font-size: 9px;
    min-height: 38px;
  }
  .product-actions svg {
    display: none;
  }
  .orders-list {
    grid-template-columns: 1fr;
  }
  .page-heading h1 {
    font-size: 27px;
  }
  .page-heading {
    margin-bottom: 24px;
    align-items: flex-start;
  }
  .page-heading .btn {
    font-size: 10px;
  }
  .page-heading p {
    font-size: 11px;
  }
  .state-grid {
    gap: 9px;
  }
  .state-grid > div {
    padding: 12px;
  }
  .panel {
    padding: 20px 17px;
  }
  .panel h2 {
    font-size: 17px;
  }
  .panel-heading {
    align-items: flex-start;
  }
  .panel-heading > span {
    font-size: 9px;
    max-width: 130px;
  }
  .terms-line p {
    padding-left: 0;
    line-height: 1.8;
  }
  .term-resale small {
    line-height: 1.7;
  }
  .request-card {
    padding: 18px 15px;
    gap: 12px;
    flex-wrap: wrap;
  }
  .request-icon {
    display: none;
  }
  .request-card > div:nth-child(2) {
    flex: 1 1 100%;
  }
  .request-card > svg {
    margin-left: auto;
  }
  .request-title h3 {
    font-size: 14px;
  }
  .request-amount {
    text-align: left;
  }
  .main-footer {
    margin: 0 17px;
    flex-direction: column;
    gap: 8px;
  }
  .roadmap-grid {
    grid-template-columns: 1fr;
  }
  .split-three {
    grid-template-columns: 1fr;
  }
  .split-three > div {
    grid-template-columns: 1fr auto;
    gap: 8px;
  }
  .split-three small {
    display: none;
  }
  .split-three strong {
    font-size: 22px;
  }
  .resale-principal {
    gap: 15px;
    align-items: center;
  }
  .resale-principal strong {
    white-space: nowrap;
  }
  .resale-principal span {
    font-size: 11px;
  }
  .modal-backdrop {
    padding: 15px 9px;
  }
  .modal > header {
    padding: 17px 18px;
    top: -15px;
  }
  .modal-body {
    padding: 20px 17px;
  }
  .modal h2 {
    font-size: 18px;
  }
  .form-grid,
  .form-grid.three {
    grid-template-columns: 1fr 1fr;
    gap: 13px;
  }
  .field > span {
    font-size: 11px;
  }
  .field input,
  .field select,
  .field textarea {
    font-size: 16px;
    min-height: 44px;
  }
  .field select {
    max-width: 100%;
  }
  .finance-preview {
    flex-direction: column;
    gap: 12px;
  }
  .finance-preview span {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .detail-grid {
    gap: 20px;
  }
  .detail-grid strong {
    font-size: 12px;
  }
  .auth-shell {
    display: flex;
    flex-direction: column;
  }
  .auth-story {
    min-height: 0;
    padding: 28px 25px;
  }
  .auth-story:after {
    display: none;
  }
  .auth-story .brand {
    margin-bottom: 30px;
  }
  .story-content {
    padding: 0;
    max-width: none;
  }
  .story-content h1 {
    font-size: 32px;
    max-width: 390px;
    margin: 10px 0 15px;
  }
  .story-content > p {
    font-size: 12px;
    max-width: 360px;
  }
  .story-content .eyebrow {
    font-size: 9px;
  }
  .story-stats,
  .story-footer {
    display: none;
  }
  .auth-main {
    padding: 65px 25px 35px;
  }
  .auth-language {
    top: 20px;
    right: 25px;
  }
  .auth-form {
    max-width: 420px;
  }
  .auth-form h2 {
    font-size: 27px;
    margin-top: 10px;
  }
  .auth-form input {
    font-size: 16px;
  }
  .auth-form .field > span {
    font-size: 12px;
  }
  .auth-form .btn {
    min-height: 44px;
  }
  .auth-switch {
    font-size: 12px;
  }
  .auth-switch .link {
    font-size: 12px;
  }
  .pending-screen {
    margin: 6vh auto;
  }
  .revision summary {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }
  .admin-row {
    align-items: flex-start;
    flex-direction: column;
  }
  .table-wrap th,
  .table-wrap td {
    font-size: 10px;
  }
  .order-side .money-summary {
    gap: 10px;
  }
  .money-summary > div {
    font-size: 10px;
  }
  .money-summary strong {
    font-size: 12px;
  }
}
@media (max-width: 370px) {
  main {
    padding-left: 12px;
    padding-right: 12px;
  }
  .profile > span:last-child {
    max-width: 100px;
  }
  .profile strong {
    line-height: 1.2;
    display: block;
  }
  .topbar-right {
    gap: 10px;
  }
  .hero {
    padding: 23px;
  }
  .hero h1 {
    font-size: 27px;
  }
  .product-row {
    grid-template-columns: minmax(100px, 1.4fr) minmax(80px, 1fr) 59px;
    gap: 7px;
    padding: 15px 10px;
  }
  .product-name .text-button {
    font-size: 11px;
  }
  .product-actions .btn {
    padding: 6px;
  }
  .form-grid,
  .form-grid.three {
    grid-template-columns: 1fr;
  }
  .order-side .money-summary {
    flex-direction: column;
  }
  .order-side .money-summary > div {
    display: flex;
  }
  .modal-body {
    padding: 18px 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
.line-remove {
  display: block;
  margin: 0 0 12px auto;
  font-size: 10px;
  color: #8b9b7a;
}
@media (max-width: 700px) {
  .page-heading {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .page-heading > .action-strip {
    margin-top: 0;
  }
  .page-heading > .badge,
  .page-heading > .btn {
    align-self: flex-start;
  }
  .page-heading h1 {
    overflow-wrap: anywhere;
  }
  .sidebar {
    transition: none;
  }
}

/* Consistent controls: keep native selection behavior, render a centered inset chevron. */
select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23657669' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 42px;
  cursor: pointer;
  transition:
    border-color 0.15s,
    box-shadow 0.15s,
    background-color 0.15s;
}
select:hover {
  border-color: #9aaa94;
  background-color: #fdfefa;
}
select:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 3px solid #91ad78;
  outline-offset: 3px;
}
input:read-only {
  background-color: #f4f6f0;
  color: #6e7f65;
}
.filters {
  grid-template-columns: minmax(200px, 1.5fr) repeat(3, minmax(135px, 1fr));
  gap: 12px;
  margin-bottom: 26px;
}
.filters input,
.filters select {
  height: 44px;
  border-radius: 10px;
  padding: 11px 13px;
  background-color: #fff;
  border-color: #dbe2d5;
  font-size: 12px;
  box-shadow: 0 1px 2px #243f2b04;
}
.filters select {
  padding-right: 40px;
}
.filters .search-field input {
  padding-left: 39px;
}
.filters > input {
  max-width: 100%;
}
.btn {
  border-radius: 9px;
  font-weight: 550;
  transition:
    background-color 0.15s,
    border-color 0.15s,
    box-shadow 0.15s,
    transform 0.15s;
}
.btn:hover {
  box-shadow: 0 3px 8px #243f2b0a;
}
.btn:active {
  transform: translateY(1px);
}
.btn.primary {
  box-shadow: 0 2px 4px #243f2b16;
}
.product-actions .btn {
  min-height: 36px;
  border-radius: 8px;
  padding: 8px 11px;
}
.category-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px;
  border: 1px solid #dce4d5;
  background: #edf1e7;
  border-radius: 13px;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 22px;
}
.category-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 43px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: #68775e;
  font: inherit;
  font-size: 12px;
  font-weight: 550;
  cursor: pointer;
  transition:
    background-color 0.15s,
    color 0.15s,
    box-shadow 0.15s;
}
.category-tab:hover {
  background: #f7f9f3;
  color: #294e38;
}
.category-tab.active {
  background: #fff;
  color: #244b35;
  border-color: #dae2d1;
  box-shadow: 0 2px 5px #243f2b0b;
}
.category-count {
  font-size: 10px;
  line-height: 1;
  border-radius: 6px;
  padding: 5px 6px;
  background: #e5ecdc;
  color: #4d6943;
  min-width: 24px;
  text-align: center;
}
.category-tab:not(.active) .category-count {
  background: #e4e9dc;
  color: #839174;
}
.catalog-group {
  margin-bottom: 30px;
}
.catalog-group-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 13px;
}
.group-symbol {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #eaf0e2;
  color: #62814e;
}
.catalog-group.overnight .group-symbol {
  background: #eee6d8;
  color: #917547;
}
.catalog-group-heading h3 {
  font-size: 15px;
  font-weight: 550;
  margin: 0;
}
.catalog-group-heading h3 > span {
  font-size: 11px;
  color: #8b9881;
  font-weight: 400;
  margin-left: 6px;
}
.catalog-group-heading p {
  font-size: 11px;
  color: #8b9682;
  margin-top: 4px;
  line-height: 1.5;
}
.catalog-group.overnight .catalog-table {
  border-color: #dedbce;
}
.catalog-group.overnight .catalog-head {
  background: #f7f5ef;
}
.product-icon.stay,
.product-icon.expedition {
  background: #f3eee3;
  color: #a28b60;
}
.stay-duration {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 3px;
  font-size: 12px;
}
.stay-duration > span {
  font-size: 11px;
  color: #809073;
}
.product-notes {
  font-size: 13px;
  line-height: 1.8;
  margin: 20px 0;
  color: #637257;
}
@media (max-width: 1200px) {
  .filters {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .filters > input {
    grid-row: auto;
  }
  .filters .search-field {
    grid-column: span 2;
  }
}
@media (max-width: 650px) {
  .category-tabs {
    width: 100%;
    gap: 3px;
    padding: 4px;
  }
  .category-tab {
    flex: 1;
    flex-wrap: wrap;
    gap: 5px;
    padding: 9px 7px;
    font-size: 10px;
    min-height: 58px;
  }
  .category-tab > svg {
    display: none;
  }
  .category-tab > span:first-of-type {
    line-height: 1.4;
  }
  .category-count {
    font-size: 9px;
    padding: 4px;
  }
  .filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }
  .filters .search-field {
    grid-column: 1/-1;
  }
  .filters input,
  .filters select {
    font-size: 11px;
  }
  .catalog-group-heading p {
    font-size: 10px;
  }
  .product-actions .btn {
    min-height: 38px;
  }
}

.bid-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.bid-select {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 13px;
  color: var(--ink);
  cursor: pointer;
}
.bid-select input {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: var(--green-dark);
}
.bid-card.is-selected,
.bid-card.is-selected .bid-select {
  border-color: var(--green-dark);
}
#allocation-hint {
  color: var(--ink);
  margin: 12px 0;
}
#allocation-hint:empty {
  display: none;
}
.split-review button:disabled {
  cursor: default;
}
