/* Workspace styling is intentionally separate from the quotation document. */
body.workspace {
  background: #f3f5f3;
}

.workspace .site-header {
  position: sticky;
  z-index: 25;
  top: 0;
  height: 64px;
  padding: 0 28px;
  border-bottom: 1px solid #dfe5e1;
  background: #fff;
}

.workspace .header-brand {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 20px;
}

.workspace .brand-logo {
  width: 116px;
  height: 30px;
  flex: 0 0 auto;
}

.workspace .header-workspace-name {
  padding-left: 20px;
  border-left: 1px solid #dfe5e1;
  color: #293b32;
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
}

.workspace .header-meta {
  color: #78847e;
  font-weight: 500;
}

.workspace .quote-log-open {
  min-height: 33px;
  border-color: #dce3de;
  color: #3e5246;
  background: #fff;
  font-weight: 600;
}

.workspace .quote-log-open:hover {
  border-color: #95b4a2;
  background: #f5f8f5;
}

.workspace .workspace-shell {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  align-items: start;
  gap: 24px;
  max-width: 1680px;
  margin: 0 auto;
  padding: 0 28px 32px;
}

.workspace .workspace-nav {
  position: sticky;
  top: 88px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
  padding-top: 7px;
}

.workspace .workspace-nav-label {
  margin: 0 0 12px;
  padding: 0 12px;
  color: #829087;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
}

.workspace .workspace-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #6b7b71;
  font-size: 13px;
  font-weight: 550;
  text-decoration: none;
  transition: background .15s, color .15s, border-color .15s;
}

.workspace .workspace-nav-link:hover {
  color: #244c35;
  background: #e9eeea;
}

.workspace .workspace-nav-link.is-active,
.workspace .workspace-nav-link[aria-current="true"],
.workspace .workspace-nav-link[aria-current="page"],
.workspace .workspace-nav-link[aria-current="location"] {
  border-color: #d4e2d8;
  color: #185d3c;
  background: #e5eee7;
  font-weight: 700;
}

.workspace .nav-icon {
  display: flex;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
}

.workspace .nav-icon svg,
.workspace svg.nav-icon {
  width: 18px;
  height: 18px;
}

.workspace .nav-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 21px;
  height: 21px;
  margin-left: auto;
  padding: 0 5px;
  border-radius: 5px;
  color: #577260;
  background: #dce8df;
  font-size: 10px;
  font-variant-numeric: tabular-nums;
}

.workspace .workspace-nav-note {
  margin: 23px 12px 0;
  padding-top: 17px;
  border-top: 1px solid #dce4dd;
  color: #7b897e;
  font-size: 11px;
  line-height: 1.8;
}

.workspace .workspace-nav-note strong {
  color: #62776a;
  font-size: 11px;
  font-weight: 550;
}

.workspace .workspace-nav-note p {
  margin: 7px 0 0;
}

.workspace .workspace-main {
  min-width: 0;
  color: #283b30;
}

.workspace .workspace-shell [hidden] {
  display: none !important;
}

.workspace .workspace-main > .hero {
  overflow: visible;
  padding: 26px 0 23px;
  color: #283b30;
  background: transparent;
}

.workspace .workspace-main > .hero::after {
  display: none;
}

.workspace .hero-inner {
  max-width: none;
}

.workspace .hero .eyebrow {
  margin-bottom: 6px;
  color: #7e8e81;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .13em;
}

.workspace .hero h1 {
  max-width: none;
  color: #23382b;
  font-size: 28px;
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: -.04em;
}

.workspace .hero h1 em {
  color: inherit;
}

.workspace .hero-copy {
  max-width: none;
  margin: 7px 0 0;
  color: #7a887f;
  font-size: 12px;
  line-height: 1.75;
}

.workspace .trust-row {
  gap: 0;
  margin-top: 12px;
}

.workspace .trust-row span {
  padding: 0 12px;
  border: 0;
  border-right: 1px solid #d5ded7;
  border-radius: 0;
  color: #7b8b80;
  background: transparent;
  font-size: 11px;
  line-height: 1.4;
}

.workspace .trust-row span:first-child {
  padding-left: 0;
}

.workspace .trust-row span:last-child {
  border-right: 0;
}

.workspace .workspace-main .main {
  position: relative;
  z-index: auto;
  max-width: none;
  margin: 0;
  padding: 0;
}

.workspace .workbench {
  grid-template-columns: minmax(560px, 1fr) 360px;
  gap: 24px;
}

.workspace .config-card {
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.workspace .config-card > .section {
  margin: 0 0 16px;
  padding: 22px;
  border: 1px solid #dfe5e0;
  border-radius: 11px;
  background: #fff;
}

.workspace #configSection,
.workspace #lineConfigSection,
.workspace #countryConfigSection,
.workspace #cartSection,
.workspace #quoteInfoSection,
.workspace #bandwidthReferenceSection,
.workspace #quickCopySection,
.workspace #quoteCard {
  scroll-margin-top: 84px;
}

.workspace .section-heading {
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.workspace .section-heading > div {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.workspace .section-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
  border: 1px solid #dde6df;
  border-radius: 6px;
  color: #738779;
  background: #f6f8f5;
  font-size: 10px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}

.workspace .section-kicker {
  display: block;
  flex: 0 0 auto;
  margin: 0;
  color: #839284;
  font-size: 9px;
  font-weight: 550;
  letter-spacing: .06em;
}

.workspace .section-heading h2 {
  color: #293d31;
  font-size: 16px;
  font-weight: 650;
  letter-spacing: 0;
}

.workspace .section-side {
  color: #8b978f;
  font-size: 11px;
  font-weight: 400;
}

.workspace .route-grid {
  gap: 12px;
}

.workspace .route-body {
  min-height: 123px;
  padding: 16px;
  border: 1px solid #dbe3dd;
  border-radius: 9px;
  background: #fff;
}

.workspace .route-option input:checked + .route-body {
  border-color: #6b9f7d;
  background: #f1f7f1;
  box-shadow: inset 0 0 0 1px #6b9f7d;
}

.workspace .route-title {
  color: #293d31;
  font-size: 15px;
  font-weight: 650;
}

.workspace .route-check {
  padding: 2px 5px;
  border-radius: 4px;
  color: #3f7a53;
  background: #deecdf;
  font-size: 9px;
  font-weight: 600;
}

.workspace .route-rule {
  display: block;
  margin-top: 8px;
  color: #6d7e72;
  font-size: 11px;
  line-height: 1.65;
}

.workspace .route-rate {
  margin-top: 10px;
  color: #477356;
  font-size: 11px;
  font-weight: 650;
}

.workspace .campaign-switch {
  gap: 12px;
  margin-bottom: 10px;
  padding: 11px 13px;
  border: 1px solid #e3e9df;
  border-radius: 8px;
  background: #f7f9f3;
}

.workspace .campaign-switch strong {
  color: #516d42;
  font-size: 12px;
  font-weight: 650;
}

.workspace .campaign-switch p {
  margin-top: 3px;
  color: #77866c;
  font-size: 11px;
}

.workspace .campaign-toggle {
  min-height: 34px;
  padding: 0 11px;
  border-color: #d4dfcc;
  border-radius: 6px;
  color: #647953;
  font-size: 11px;
  font-weight: 600;
}

.workspace .campaign-toggle[aria-pressed="true"] {
  border-color: #567b42;
  color: #fff;
  background: #567b42;
  box-shadow: none;
}

.workspace .campaign-summary {
  margin: 0 0 16px;
  padding: 0;
  border: 0;
  color: #798578;
  background: transparent;
  font-size: 11px;
  line-height: 1.8;
}

.workspace .campaign-summary b {
  color: #768671;
  font-weight: 600;
}

.workspace .campaign-summary.is-active,
.workspace .campaign-summary.is-active b {
  color: #547b42;
  background: transparent;
}

.workspace .workspace-shell .field-label {
  color: #5c6e61;
  font-size: 12px;
  font-weight: 550;
}

.workspace .workspace-shell .required {
  color: #91a092;
  font-size: 10px;
  font-style: normal;
  font-weight: 400;
}

.workspace .workspace-shell .control,
.workspace .workspace-shell .search-control,
.workspace .workspace-shell .textarea-control {
  border: 1px solid #d9e2db;
  border-radius: 7px;
  color: #304335;
  background: #fff;
  box-shadow: none;
  font-weight: 500;
}

.workspace .workspace-shell .control,
.workspace .workspace-shell .search-control {
  height: 43px;
  margin-top: 7px;
  padding-left: 12px;
  font-size: 14px;
}

.workspace .workspace-shell .search-control {
  margin-top: 0;
}

.workspace .workspace-shell .control:focus,
.workspace .workspace-shell .search-control:focus,
.workspace .workspace-shell .textarea-control:focus {
  border-color: #6b997a;
  box-shadow: 0 0 0 3px #4479520d;
}

.workspace .workspace-shell .control.is-invalid {
  border-color: #c54b42;
  background: #fffafa;
}

.workspace .workspace-shell .control.is-invalid:focus {
  box-shadow: 0 0 0 3px #c54b4214;
}

.workspace .country-combobox {
  margin-top: 7px;
}

.workspace .clear-country {
  top: 5px;
  right: 6px;
}

.workspace .country-options {
  border-color: #d9e3db;
  border-radius: 8px;
  box-shadow: 0 8px 20px #233f2c12;
}

.workspace .country-option {
  min-height: 42px;
  border-radius: 5px;
}

.workspace .country-option:hover,
.workspace .country-option:focus,
.workspace .country-option[aria-selected="true"] {
  background: #edf4ed;
}

.workspace .country-status,
.workspace .field-help {
  min-height: 17px;
  margin-top: 6px;
  color: #78867a;
  font-size: 11px;
  line-height: 1.6;
}

.workspace .field-help.warning {
  color: #a85d07;
}

.workspace .field-help.is-error,
.workspace .country-status.is-error {
  color: #c54b42;
}

.workspace .input-grid,
.workspace.is-live .input-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
  margin-top: 13px;
}

.workspace .price-hint {
  gap: 8px;
  margin-top: 13px;
  padding: 9px 11px;
  border-radius: 6px;
  color: #758379;
  background: #f5f7f4;
  font-size: 11px;
}

.workspace .price-hint-mark {
  width: 20px;
  height: 20px;
  color: #608268;
  background: #e5eee3;
  font-size: 11px;
}

.workspace .price-hint b {
  color: #405a47;
  font-weight: 650;
}

.workspace .router-box-panel {
  margin-top: 16px;
  padding: 13px;
  border-color: #e0e6de;
  border-radius: 8px;
  background: #fafbf8;
}

.workspace .router-box-switch {
  gap: 8px;
  color: #526b56;
  font-size: 12px;
  font-weight: 600;
}

.workspace .router-box-switch input {
  accent-color: #356b46;
}

.workspace .router-box-switch small {
  color: #91a087;
  font-size: 10px;
  font-weight: 400;
}

.workspace .router-box-summary {
  color: #618164;
  font-size: 11px;
  font-weight: 550;
}

.workspace .cart-toolbar {
  gap: 12px;
  margin-top: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.workspace .cart-toolbar h2 {
  color: #293d31;
  font-size: 16px;
  font-weight: 650;
}

.workspace .cart-toolbar p {
  color: #7e8c7d;
  font-size: 11px;
}

.workspace .add-cart-button {
  min-height: 37px;
  padding: 0 15px;
  border-color: #396d4a;
  border-radius: 7px;
  background: #396d4a;
  font-size: 11px;
  font-weight: 600;
  box-shadow: none;
}

.workspace .add-cart-button:hover:not(:disabled) {
  background: #285a39;
}

.workspace .cart-panel {
  margin-top: 15px;
  border-color: #e0e7df;
  border-radius: 7px;
}

.workspace .cart-head {
  gap: 8px;
  padding: 11px 12px;
  border-color: #e6ece4;
  background: #f8faf6;
}

.workspace .cart-head h3 {
  color: #5c715f;
  font-size: 12px;
  font-weight: 600;
}

.workspace .cart-count {
  color: #82927f;
  font-size: 10px;
  font-weight: 500;
}

.workspace .cart-empty {
  padding: 19px 14px;
  color: #7a8774;
  font-size: 11px;
  text-align: center;
}

.workspace .cart-item {
  gap: 10px;
  padding: 12px;
  border-color: #eaf0e7;
}

.workspace .cart-item > div {
  min-width: 0;
  overflow-wrap: anywhere;
}

.workspace .cart-item strong {
  color: #425b49;
  font-weight: 600;
}

.workspace .cart-item small {
  color: #7b8874;
  line-height: 1.6;
}

.workspace .cart-item b {
  color: #426d4c;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}

.workspace .cart-total {
  border-color: #e0e8dc;
  color: #7e907d;
  background: #f5f9f1;
}

.workspace .cart-total b {
  color: #426e49;
  font-weight: 650;
}

.workspace .quote-info-grid {
  gap: 16px 14px;
}

.workspace .business-contact-controls {
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr) auto auto;
  gap: 7px;
  margin-top: 7px;
}

.workspace .workspace-shell .business-contact-controls .control {
  min-width: 0;
  margin-top: 0;
  font-size: 12px;
}

.workspace .contact-manage-button {
  min-height: 43px;
  padding: 0 11px;
  border-color: #d9e4d9;
  border-radius: 7px;
  color: #607b5c;
  background: #f4f8ef;
  font-size: 11px;
  font-weight: 600;
}

.workspace .contact-manage-button.is-delete {
  border-color: #e0e6de;
  color: #8b9786;
  background: #fff;
}

.workspace .contact-status {
  font-size: 10px;
}

.workspace .workspace-shell .textarea-control {
  min-height: 166px;
  margin-top: 7px;
  padding: 11px 12px;
  color: #62745b;
  font-size: 12px;
  line-height: 1.8;
}

.workspace .textarea-note {
  color: #7c8a70;
  font-size: 11px;
}

.workspace .quote-card {
  position: sticky;
  top: 84px;
  display: flex;
  flex-direction: column;
  max-height: var(--workspace-summary-space, calc(100vh - 112px));
  max-height: var(--workspace-summary-space, calc(100dvh - 112px));
  min-width: 0;
  overflow: hidden;
  border-color: #dce4db;
  border-radius: 11px;
  background: #fff;
  box-shadow: none;
}

.workspace .quote-content {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  scrollbar-color: #ccd9cc transparent;
  scrollbar-width: thin;
  overscroll-behavior: contain;
}

.workspace .quote-head {
  padding: 20px 21px 16px;
  border-bottom: 1px solid #e4ebe0;
  color: #374d3c;
  background: #f9fbf6;
}

.workspace .quote-meta {
  gap: 8px;
  margin-bottom: 13px;
}

.workspace .route-badge,
.workspace .currency-badge {
  padding: 4px 7px;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 600;
}

.workspace .route-badge {
  color: #4d7a4e;
  background: #e7efdf;
}

.workspace .currency-badge {
  color: #7c8d6f;
  background: transparent;
}

.workspace .quote-head h2 {
  color: #334a37;
  font-size: 18px;
  font-weight: 650;
}

.workspace .quote-subtitle {
  margin-top: 7px;
  color: #7d8c73;
  font-size: 12px;
}

.workspace .quote-body {
  padding: 0 21px;
}

.workspace .cost-row {
  gap: 12px;
  padding: 11px 0;
  border-color: #e9eee4;
}

.workspace .cost-row dt {
  color: #728369;
  font-size: 12px;
}

.workspace .cost-row dd {
  color: #5b7354;
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.workspace .cost-row.total dt {
  color: #677e5d;
  font-weight: 600;
}

.workspace .cost-row.total dd {
  color: #376c3e;
  font-size: 20px;
  font-weight: 650;
}

.workspace .commitment-heading {
  gap: 8px;
  margin: 17px 0 11px;
}

.workspace .commitment-heading h3 {
  color: #677e5e;
  font-size: 12px;
  font-weight: 600;
}

.workspace .commitment-heading span {
  color: #83916f;
  font-size: 10px;
  font-weight: 400;
}

.workspace .term-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
  padding-bottom: 16px;
}

.workspace .term {
  min-width: 0;
  min-height: 111px;
  padding: 11px;
  border: 1px solid #e1e9da;
  border-radius: 7px;
  background: #fff;
}

.workspace .term-top {
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 5px;
  color: #647c56;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.5;
}

.workspace .discount-tag {
  padding: 2px 4px;
  border-radius: 3px;
  color: #75885d;
  background: #f2f6ea;
  font-size: 9px;
  font-weight: 500;
}

.workspace .term-price {
  margin-top: 7px;
  color: #4a6641;
  font-size: 18px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

.workspace .was-price {
  min-height: 13px;
  margin-top: 4px;
  color: #95a080;
  font-size: 10px;
  overflow-wrap: anywhere;
}

.workspace .term-note {
  min-height: 14px;
  margin-top: 4px;
  color: #819268;
  font-size: 10px;
  line-height: 1.6;
}

.workspace .term-note strong {
  color: #879766;
  font-weight: 600;
}

.workspace .term-year {
  grid-column: auto;
  min-height: 111px;
  border-color: #90b27d;
  background: #f1f6e9;
}

.workspace .term-year .term-price {
  color: #4d793b;
  font-size: 18px;
}

.workspace .term-year .discount-tag {
  color: #688c50;
  background: #e1ecd5;
}

.workspace .term-year .term-note strong {
  color: #6d8f4c;
}

.workspace .router-box-note {
  margin-top: 0;
  padding: 9px 10px;
  color: #93a083;
  background: #f7f9f2;
  font-size: 10px;
}

.workspace .rounding-control {
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 21px 12px;
  padding: 11px 0;
  border: 0;
  border-top: 1px solid #e7eddf;
  border-radius: 0;
  background: transparent;
}

.workspace .rounding-control > span {
  flex: 1 1 135px;
}

.workspace .rounding-control b {
  color: #7b8c6a;
  font-size: 11px;
  font-weight: 500;
}

.workspace .rounding-control small {
  color: #8b9877;
  font-size: 10px;
}

.workspace .rounding-select {
  flex: 0 0 auto;
  max-width: 100%;
  min-height: 32px;
  border-color: #dfe7d6;
  color: #7b9367;
  font-weight: 500;
}

.workspace .rounding-state {
  display: none;
}

.workspace .export-source-note {
  margin: 0 21px 16px;
  color: #7c9069;
  font-size: 11px;
  line-height: 1.7;
}

.workspace .quote-action-area {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  padding: 16px 20px 14px;
  border-top: 1px solid #e0e8d9;
  background: #fff;
}

.workspace .quote-actions {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .9fr);
  gap: 8px;
  padding: 0;
}

.workspace .export-button,
.workspace .copy-button {
  min-height: 42px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 600;
  box-shadow: none;
}

.workspace .export-button {
  border-color: #3b7049;
  background: #3b7049;
}

.workspace .export-button:hover:not(:disabled) {
  background: #2c5e3a;
  transform: none;
}

.workspace .copy-button {
  border-color: #dce7d6;
  color: #779367;
  background: #f5f8f0;
}

.workspace .copy-button:hover:not(:disabled) {
  background: #eaf1e2;
  transform: none;
}

.workspace .quote-foot {
  margin-top: 10px;
  padding: 0;
  color: #8c9b77;
  font-size: 10px;
  line-height: 1.7;
}

.workspace .quote-foot b {
  color: #8e9f7b;
  font-weight: 500;
}

.workspace .quote-unavailable {
  margin: 12px 21px 0;
  border-radius: 6px;
}

.workspace .footer {
  max-width: none;
  padding: 4px 24px 26px;
  color: #a7afa1;
  font-size: 10px;
}

.workspace .mobile-quote-bar {
  display: none;
}

.workspace .workspace-shell button:focus-visible,
.workspace .workspace-nav-link:focus-visible,
.workspace .mobile-quote-bar button:focus-visible {
  outline: 2px solid #5d956d;
  outline-offset: 3px;
}

.workspace .route-option:has(input:focus-visible) .route-body {
  outline: 2px solid #5d956d;
  outline-offset: 3px;
}

@media (max-width: 1279px) {
  .workspace .site-header {
    padding-right: 20px;
    padding-left: 20px;
  }

  .workspace .workspace-shell {
    grid-template-columns: 144px minmax(0, 1fr);
    gap: 20px;
    padding-right: 20px;
    padding-left: 20px;
  }

  .workspace .workspace-nav-link {
    gap: 8px;
    padding-right: 9px;
    padding-left: 9px;
    font-size: 12px;
  }

  .workspace .workbench {
    grid-template-columns: minmax(560px, 1fr) 344px;
    gap: 20px;
  }
}

@media (max-width: 1160px) {
  .workspace .workspace-shell {
    display: block;
  }

  .workspace .workspace-nav {
    position: relative;
    top: auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
    margin: 17px 0 0;
    padding: 4px;
    border: 1px solid #dce5d9;
    border-radius: 9px;
    background: #edf2e9;
  }

  .workspace .workspace-nav-label,
  .workspace .workspace-nav-note {
    display: none;
  }

  .workspace .workspace-nav-link[data-workspace-target="quickCopySection"] {
    display: none;
  }

  .workspace .workspace-nav-link {
    justify-content: center;
    min-height: 39px;
    gap: 7px;
    padding: 8px;
    border-radius: 6px;
  }

  .workspace .nav-count {
    margin-left: 0;
  }

  .workspace .workspace-main > .hero {
    padding-top: 23px;
  }
}

@media (max-width: 1023px) {
  .workspace .workbench {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .workspace .quote-card {
    position: static;
    max-height: none;
    margin-top: 2px;
  }

  .workspace .quote-content {
    overflow: visible;
    overscroll-behavior: auto;
  }

  .workspace .term-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .workspace .quote-actions {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  }
}

@media (max-width: 767px) {
  .workspace .site-header {
    height: auto;
    min-height: 62px;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px 16px;
  }

  .workspace .header-brand {
    gap: 12px;
  }

  .workspace .brand-logo {
    width: 112px;
    height: auto;
  }

  .workspace .header-workspace-name {
    padding-left: 12px;
    font-size: 12px;
  }

  .workspace .header-copy {
    display: none;
  }

  .workspace .header-meta {
    flex: 0 1 auto;
    font-size: 10px;
  }

  .workspace .site-activity-controls {
    gap: 9px;
    max-width: 100%;
  }

  .workspace .quote-log-open {
    min-height: 30px;
    padding: 0 9px;
    border-radius: 6px;
    font-size: 10px;
  }

  .workspace .workspace-shell {
    padding: 0 14px 26px;
  }

  .workspace .workspace-nav {
    margin-top: 12px;
    gap: 2px;
    padding: 3px;
  }

  .workspace .workspace-nav-link {
    min-height: 39px;
    gap: 5px;
    padding: 7px 3px;
    font-size: 11px;
    white-space: nowrap;
  }

  .workspace .nav-icon,
  .workspace .nav-icon svg,
  .workspace svg.nav-icon {
    width: 15px;
    height: 15px;
    flex-basis: 15px;
  }

  .workspace .nav-count {
    min-width: 17px;
    height: 18px;
    padding: 0 3px;
    font-size: 9px;
  }

  .workspace .workspace-main > .hero {
    padding: 23px 2px 19px;
  }

  .workspace .hero .eyebrow {
    font-size: 9px;
  }

  .workspace .hero h1 {
    font-size: 25px;
  }

  .workspace .hero-copy {
    margin-top: 6px;
    font-size: 11px;
  }

  .workspace .trust-row {
    row-gap: 7px;
    margin-top: 11px;
  }

  .workspace .trust-row span {
    padding: 0 8px;
    font-size: 10px;
  }

  .workspace .config-card > .section {
    margin-bottom: 13px;
    padding: 18px 16px;
    border-radius: 9px;
  }

  .workspace .section-heading {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 17px;
  }

  .workspace .section-heading > div {
    gap: 8px;
  }

  .workspace .section-heading h2 {
    font-size: 15px;
    white-space: nowrap;
  }

  .workspace .section-number {
    width: 22px;
    height: 22px;
    font-size: 9px;
  }

  .workspace .section-side {
    max-width: 42%;
    margin-top: 0;
    font-size: 10px;
    line-height: 1.6;
    text-align: right;
  }

  .workspace .route-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 9px;
  }

  .workspace .route-body {
    min-height: 124px;
    padding: 12px 10px;
    border-radius: 7px;
  }

  .workspace .route-title {
    font-size: 13px;
  }

  .workspace .route-top {
    gap: 4px;
  }

  .workspace .route-check {
    padding: 2px 4px;
    font-size: 8px;
  }

  .workspace .route-rule {
    margin-top: 8px;
    font-size: 11px;
  }

  .workspace .route-rate {
    margin-top: 8px;
    font-size: 11px;
    line-height: 1.65;
  }

  .workspace .campaign-switch {
    flex-direction: row;
    align-items: center;
    gap: 8px;
    padding: 10px;
  }

  .workspace .campaign-switch strong {
    font-size: 11px;
  }

  .workspace .campaign-switch p {
    max-width: 170px;
    font-size: 10px;
  }

  .workspace .campaign-toggle {
    width: auto;
    min-height: 35px;
    padding: 0 8px;
    font-size: 10px;
  }

  .workspace .campaign-summary {
    margin-bottom: 14px;
    font-size: 10px;
  }

  .workspace .workspace-shell .control,
.workspace .workspace-shell .search-control,
.workspace .workspace-shell .textarea-control,
.workspace .workspace-shell .business-contact-controls .control,
.workspace .workspace-shell .rounding-select {
    font-size: 16px;
  }

  .workspace .workspace-shell .control,
  .workspace .workspace-shell .search-control {
    height: 45px;
  }

  .workspace .workspace-shell .field-label {
    font-size: 11px;
  }

  .workspace .workspace-shell .field-label > span {
    gap: 5px;
    flex-wrap: wrap;
  }

  .workspace .input-grid,
  .workspace.is-live .input-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px;
    margin-top: 13px;
  }

  .workspace .field-help,
  .workspace .country-status {
    font-size: 11px;
  }

  .workspace .clear-country {
    top: 6px;
  }

  .workspace .quote-info-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 15px;
  }

  .workspace .business-contact-controls {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 7px;
  }

  .workspace .business-contact-select {
    grid-column: 1 / -1;
  }

  .workspace .contact-manage-button {
    min-height: 45px;
    padding: 0 12px;
    font-size: 11px;
  }

  .workspace .workspace-shell .textarea-control {
    min-height: 184px;
    font-size: 16px;
    line-height: 1.75;
  }

  .workspace .cart-toolbar {
    display: flex;
    align-items: center;
  }

  .workspace .cart-toolbar > div {
    min-width: 0;
  }

  .workspace .add-cart-button {
    width: auto;
    min-height: 39px;
    margin-top: 0;
    padding: 0 12px;
    font-size: 11px;
  }

  .workspace .cart-head {
    flex-wrap: wrap;
  }

  .workspace .cart-item {
    gap: 8px;
    padding: 11px;
  }

  .workspace .cart-item strong {
    font-size: 11px;
    line-height: 1.6;
  }

  .workspace .cart-item small {
    font-size: 10px;
  }

  .workspace .cart-item b {
    font-size: 11px;
  }

  .workspace .remove-cart-item {
    width: 30px;
    height: 33px;
  }

  .workspace .quote-card {
    border-radius: 9px;
  }

  .workspace .quote-head {
    padding: 18px 17px 15px;
  }

  .workspace .quote-body {
    padding-right: 17px;
    padding-left: 17px;
  }

  .workspace .term-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .workspace .term {
    min-height: 115px;
    padding: 12px;
  }

  .workspace .term-price,
  .workspace .term-year .term-price {
    font-size: 20px;
  }

  .workspace .quote-action-area {
    padding: 15px 17px;
  }

  .workspace .quote-actions {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  }

  .workspace .export-button,
  .workspace .copy-button {
    min-height: 44px;
    font-size: 12px;
  }

  .workspace .rounding-control,
  .workspace .export-source-note {
    margin-right: 17px;
    margin-left: 17px;
  }

  .workspace .rounding-control > span {
    flex-basis: 140px;
  }

  .workspace .rounding-select {
    min-height: 39px;
    margin-left: 0;
  }

  .workspace .quote-unavailable {
    margin-right: 17px;
    margin-left: 17px;
  }

  .workspace .footer {
    padding-bottom: calc(106px + env(safe-area-inset-bottom, 0px));
    line-height: 1.7;
  }

  .workspace .mobile-quote-bar {
    position: fixed;
    z-index: 30;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 13px;
    padding: 11px 17px calc(11px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid #d5e0cd;
    background: #fffffff7;
    box-shadow: 0 -3px 15px #28492507;
  }

  .workspace .mobile-quote-summary {
    display: grid;
    grid-template-columns: minmax(0, auto) auto;
    align-items: baseline;
    justify-content: start;
    gap: 3px 8px;
    min-width: 0;
    padding: 0;
    border: 0;
    color: #698451;
    background: transparent;
    text-align: left;
  }

  .workspace .mobile-quote-summary > span {
    grid-column: 1 / -1;
    color: #a2b18f;
    font-size: 10px;
  }

  .workspace .mobile-quote-summary > strong {
    max-width: 180px;
    color: #4e7839;
    font-size: 21px;
    font-weight: 650;
    line-height: 1.25;
    font-variant-numeric: tabular-nums;
    overflow-wrap: anywhere;
  }

  .workspace .mobile-quote-summary > small {
    color: #9baf84;
    font-size: 9px;
    white-space: nowrap;
  }

  .workspace .mobile-generate-button {
    flex: 0 0 auto;
    min-width: 116px;
    min-height: 44px;
    padding: 0 17px;
    border: 1px solid #446f36;
    border-radius: 7px;
    color: #fff;
    background: #446f36;
    font-size: 12px;
    font-weight: 600;
    font-family: inherit;
  }

  .workspace .mobile-generate-button:disabled {
    cursor: not-allowed;
    border-color: #e0e6dc;
    color: #a5b19a;
    background: #eff3e9;
  }

  .workspace.modal-open .mobile-quote-bar,
  .workspace:has(dialog[open]) .mobile-quote-bar,
  .workspace:has(.quote-modal:not([hidden])) .mobile-quote-bar {
    display: none;
  }
}

@media (max-width: 540px) {
  .workspace .header-workspace-name {
    display: none;
  }
}

@media (max-width: 374px) {
  .workspace .site-header {
    gap: 8px;
    padding-right: 12px;
    padding-left: 12px;
  }

  .workspace .header-workspace-name {
    display: none;
  }

  .workspace .workspace-shell {
    padding-right: 10px;
    padding-left: 10px;
  }

  .workspace .workspace-nav-link {
    gap: 4px;
    font-size: 10px;
  }

  .workspace .workspace-nav-link .nav-icon {
    display: none;
  }

  .workspace .config-card > .section {
    padding-right: 13px;
    padding-left: 13px;
  }

  .workspace .section-side {
    font-size: 8px;
  }

  .workspace .route-body {
    padding-right: 8px;
    padding-left: 8px;
  }

  .workspace .route-check {
    display: none !important;
  }

  .workspace .cart-item {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .workspace .cart-item > b {
    grid-column: 1;
    grid-row: 2;
  }

  .workspace .remove-cart-item {
    grid-column: 2;
    grid-row: 1 / 3;
  }

  .workspace .mobile-quote-bar {
    gap: 10px;
    padding-right: 13px;
    padding-left: 13px;
  }

  .workspace .mobile-quote-summary > strong {
    max-width: 150px;
    font-size: 19px;
  }

  .workspace .mobile-quote-summary > small {
    display: none;
  }

  .workspace .mobile-generate-button {
    min-width: 110px;
    padding: 0 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .workspace .workspace-shell *,
  .workspace .mobile-quote-bar * {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

/* Keep routine workspace copy readable; reserve stronger green for selection
   states, prices and primary actions. These selectors exclude quotation files. */
.workspace .header-workspace-name,
.workspace .hero h1,
.workspace .section-heading h2,
.workspace .route-title,
.workspace .cart-toolbar h2,
.workspace .quote-head h2,
.workspace .cost-row.total dt {
  color: #263a31;
}

.workspace .header-meta,
.workspace .workspace-nav-label,
.workspace .workspace-nav-note,
.workspace .workspace-nav-note strong,
.workspace .hero .eyebrow,
.workspace .hero-copy,
.workspace .trust-row span,
.workspace .section-kicker,
.workspace .section-side,
.workspace .route-rule,
.workspace .campaign-switch p,
.workspace .campaign-summary,
.workspace .campaign-summary b,
.workspace .country-status:not(.is-error),
.workspace .field-help:not(.warning):not(.is-error),
.workspace .price-hint,
.workspace .router-box-switch small,
.workspace .cart-toolbar p,
.workspace .cart-count,
.workspace .cart-empty,
.workspace .cart-item small,
.workspace .cart-total,
.workspace .textarea-note,
.workspace .currency-badge,
.workspace .quote-subtitle,
.workspace .cost-row dt,
.workspace .commitment-heading span,
.workspace .was-price,
.workspace .term-note,
.workspace .router-box-note,
.workspace .rounding-control small,
.workspace .export-source-note,
.workspace .quote-foot,
.workspace .quote-foot b,
.workspace .mobile-quote-summary > span,
.workspace .mobile-quote-summary > small {
  color: #68776e;
  font-size: 11px;
}

.workspace .workspace-shell .field-label,
.workspace .cart-head h3,
.workspace .cart-item strong,
.workspace .commitment-heading h3,
.workspace .term-top,
.workspace .rounding-control b {
  color: #405449;
  font-size: 12px;
}

.workspace .workspace-shell .required {
  color: #68776e;
  font-size: 11px;
}

.workspace .workspace-shell .textarea-control {
  color: #42584a;
}

.workspace .campaign-summary.is-active,
.workspace .campaign-summary.is-active b,
.workspace .route-rate,
.workspace .price-hint b,
.workspace .router-box-switch,
.workspace .router-box-summary,
.workspace .contact-manage-button,
.workspace .copy-button,
.workspace .term-note strong,
.workspace .term-year .term-note strong {
  color: #356848;
}

.workspace .contact-manage-button.is-delete {
  color: #68776e;
}

.workspace .term-price,
.workspace .term-year .term-price,
.workspace .cost-row.total dd,
.workspace .cart-item b,
.workspace .cart-total b,
.workspace .mobile-quote-summary > strong {
  color: #285f3f;
}

.workspace .cost-row dd {
  color: #344f3e;
}

.workspace .discount-tag,
.workspace .term-year .discount-tag {
  color: #526d3d;
  font-size: 11px;
}

.workspace .quote-action-area .export-source-note {
  margin: 0 0 12px;
  color: #5f7266;
  font-size: 11px;
}

.workspace.workspace-dialog-open .mobile-quote-bar {
  display: none;
}

@media (max-width: 767px) {
  .workspace .workspace-shell .field-label,
.workspace .cart-head h3,
.workspace .cart-item strong,
.workspace .router-box-switch {
    font-size: 12px;
  }

  .workspace .workspace-shell .control,
  .workspace .workspace-shell .search-control,
  .workspace .workspace-shell .textarea-control,
  .workspace .workspace-shell .business-contact-controls .control {
    font-size: 16px;
  }
}
