:root {
  --navy: #232b3a;
  --navy-deep: #1b2230;
  --navy-soft: #344052;

  --gold: #cfa14a;
  --gold-dark: #b4852d;
  --gold-soft: rgba(207, 161, 74, 0.12);
  --gold-soft-strong: rgba(207, 161, 74, 0.22);

  --blue-soft: rgba(99, 141, 196, 0.11);
  --green-soft: rgba(84, 145, 102, 0.10);
  --rose-soft: rgba(181, 117, 117, 0.10);
  --ink-soft: rgba(35, 43, 58, 0.06);

  --white: #ffffff;
  --bg: #f5f2eb;
  --bg-soft: #fbfaf7;
  --text: #243042;
  --muted: #6d7683;
  --border: rgba(36, 48, 66, 0.14);
  --border-strong: rgba(36, 48, 66, 0.22);

  --success: #2d7451;
  --danger: #a84b4b;
  --danger-soft: rgba(168, 75, 75, 0.08);
  --warning: #a26d1f;
  --warning-soft: rgba(207, 161, 74, 0.14);

  --radius-xl: 26px;
  --radius-lg: 20px;
  --radius-md: 16px;
  --radius-sm: 12px;

  --shadow-soft: 0 16px 36px rgba(25, 34, 48, 0.08);
  --shadow-card: 0 24px 56px rgba(25, 34, 48, 0.10);
  --shadow-btn: 0 12px 24px rgba(25, 34, 48, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  background:
    radial-gradient(circle at top left, rgba(207, 161, 74, 0.08), transparent 28%),
    linear-gradient(180deg, #f7f4ee 0%, #f3efe7 100%);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
select {
  font: inherit;
}

.hidden {
  display: none !important;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(27, 34, 48, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 18px 24px;
}

.logo-wrap {
  display: flex;
  align-items: center;
}

.logo {
  height: 54px;
  width: auto;
}

.page {
  max-width: 1240px;
  margin: 0 auto;
  padding: 44px 24px 90px;
}

.hero {
  text-align: center;
  margin-bottom: 30px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.04;
  color: var(--navy-deep);
}

.hero p {
  max-width: 840px;
  margin: 14px auto 0;
  font-size: clamp(16px, 2vw, 22px);
  line-height: 1.5;
  color: var(--muted);
}

.mode-area {
  display: flex;
  justify-content: center;
  margin-bottom: 26px;
}

.mode-switch {
  display: inline-flex;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(36, 48, 66, 0.10);
  box-shadow: var(--shadow-soft);
  gap: 6px;
}

.mode-btn {
  min-width: 170px;
  border: none;
  background: transparent;
  color: var(--text);
  border-radius: 999px;
  padding: 14px 22px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s ease;
}

.mode-btn:hover {
  background: rgba(36, 48, 66, 0.05);
}

.mode-btn.active {
  background: linear-gradient(135deg, var(--navy), var(--navy-soft));
  color: var(--white);
  box-shadow: 0 10px 24px rgba(35, 43, 58, 0.24);
}

.flow-card,
.panel,
.hs-card {
  background: rgba(255, 255, 255, 0.90);
  border: 1px solid rgba(36, 48, 66, 0.08);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(10px);
}

.flow-card,
.panel {
  border-radius: var(--radius-xl);
  padding: 28px;
  margin-bottom: 22px;
  position: relative;
  overflow: hidden;
}

.panel::before,
.flow-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  border-radius: 26px 26px 0 0;
  background: transparent;
}

.panel-tone-gold::before,
.flow-card.panel-tone-gold::before {
  background: linear-gradient(90deg, rgba(207, 161, 74, 0.94), rgba(207, 161, 74, 0.36));
}

.panel-tone-blue::before,
.flow-card.panel-tone-blue::before {
  background: linear-gradient(90deg, rgba(99, 141, 196, 0.92), rgba(99, 141, 196, 0.34));
}

.panel-tone-green::before,
.flow-card.panel-tone-green::before {
  background: linear-gradient(90deg, rgba(84, 145, 102, 0.94), rgba(84, 145, 102, 0.34));
}

.panel-tone-rose::before,
.flow-card.panel-tone-rose::before {
  background: linear-gradient(90deg, rgba(181, 117, 117, 0.92), rgba(181, 117, 117, 0.34));
}

.panel-tone-ink::before,
.flow-card.panel-tone-ink::before {
  background: linear-gradient(90deg, rgba(35, 43, 58, 0.92), rgba(35, 43, 58, 0.32));
}

.panel-tone-gold {
  background:
    linear-gradient(180deg, rgba(207, 161, 74, 0.045) 0%, rgba(255, 255, 255, 0.94) 22%);
}

.panel-tone-blue {
  background:
    linear-gradient(180deg, rgba(99, 141, 196, 0.050) 0%, rgba(255, 255, 255, 0.94) 22%);
}

.panel-tone-green {
  background:
    linear-gradient(180deg, rgba(84, 145, 102, 0.050) 0%, rgba(255, 255, 255, 0.94) 22%);
}

.panel-tone-rose {
  background:
    linear-gradient(180deg, rgba(181, 117, 117, 0.045) 0%, rgba(255, 255, 255, 0.94) 22%);
}

.panel-tone-ink {
  background:
    linear-gradient(180deg, rgba(35, 43, 58, 0.040) 0%, rgba(255, 255, 255, 0.94) 22%);
}

.flow-card-head,
.panel-head {
  margin-bottom: 18px;
}

.panel-head-inline {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.flow-card-head h2,
.panel-head h2 {
  margin: 0 0 6px;
  font-size: 28px;
  line-height: 1.1;
  color: var(--navy-deep);
}

.flow-card-head p,
.panel-head p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}

.panel-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.route-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 6px;
}

.route-full {
  max-width: 760px;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.transport-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.transport-card,
.presentation-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfaf7 100%);
  cursor: pointer;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.transport-card::after,
.presentation-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 4px;
  background: transparent;
  transition: background 0.2s ease;
}

.transport-card:hover,
.presentation-card:hover {
  transform: translateY(-3px);
  border-color: rgba(207, 161, 74, 0.45);
  box-shadow: var(--shadow-card);
}

.transport-card:hover::after,
.presentation-card:hover::after {
  background: linear-gradient(90deg, rgba(207, 161, 74, 0.65), rgba(207, 161, 74, 0.18));
}

.transport-card.active,
.presentation-card.active {
  border-color: rgba(207, 161, 74, 0.7);
  background: linear-gradient(180deg, rgba(207, 161, 74, 0.10) 0%, rgba(255, 255, 255, 0.96) 100%);
  box-shadow: 0 18px 40px rgba(207, 161, 74, 0.16);
}

.transport-card.active::after,
.presentation-card.active::after {
  background: linear-gradient(90deg, rgba(207, 161, 74, 0.95), rgba(207, 161, 74, 0.32));
}

.transport-card {
  min-height: 280px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.card-icon {
  width: 150px;
  height: 150px;
  object-fit: contain;
  margin-bottom: 16px;
}

.card-title {
  display: block;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 700;
  text-align: center;
  color: var(--navy-deep);
}

.card-subtitle {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted);
  text-align: center;
}

.search-line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
}

.search-line input {
  width: 100%;
  height: 58px;
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  background: #ffffff;
  padding: 0 18px;
  font-size: 17px;
  color: var(--text);
  outline: none;
}

.search-line input::placeholder {
  color: #b08a4a;
}

.search-line input:focus {
  border-color: rgba(207, 161, 74, 0.8);
  box-shadow: 0 0 0 4px rgba(207, 161, 74, 0.10);
}

.primary-btn,
.secondary-btn,
.ghost-btn {
  border: none;
  cursor: pointer;
  transition: 0.2s ease;
  font-weight: 700;
}

.primary-btn {
  min-width: 144px;
  height: 58px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--navy), var(--navy-soft));
  color: var(--white);
}

.primary-btn:hover {
  transform: translateY(-2px);
  opacity: 0.96;
}

.primary-btn-large {
  min-width: 240px;
  padding: 0 30px;
  box-shadow: 0 18px 34px rgba(35, 43, 58, 0.20);
}

.secondary-btn {
  min-height: 48px;
  padding: 0 18px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(207, 161, 74, 0.12) 0%, rgba(255, 255, 255, 0.96) 100%);
  color: var(--navy-deep);
  border: 1px solid rgba(207, 161, 74, 0.24);
  box-shadow: var(--shadow-btn);
}

.secondary-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(207, 161, 74, 0.5);
  background: linear-gradient(180deg, rgba(207, 161, 74, 0.18) 0%, rgba(255, 255, 255, 1) 100%);
}

.ghost-btn {
  min-height: 48px;
  padding: 0 18px;
  border-radius: 16px;
  background: rgba(35, 43, 58, 0.04);
  color: var(--navy-deep);
  border: 1px solid rgba(36, 48, 66, 0.10);
}

.ghost-btn:hover {
  transform: translateY(-2px);
  background: rgba(35, 43, 58, 0.07);
  border-color: rgba(36, 48, 66, 0.18);
}

.hs-card {
  border-radius: var(--radius-xl);
  padding: 14px;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) 230px;
  gap: 14px;
  margin-bottom: 22px;
  background: linear-gradient(135deg, var(--navy-deep), var(--navy-soft));
  box-shadow: var(--shadow-card);
}

.hs-left {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 220px;
}

.hs-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.hs-badge,
.hs-confidence {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.hs-body {
  padding: 4px 0 12px;
}

.hs-label {
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.62);
  font-weight: 700;
  margin-bottom: 10px;
}

.hs-description {
  font-size: 18px;
  line-height: 1.5;
  color: var(--white);
  font-weight: 600;
}

.hs-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hs-metric {
  min-height: 76px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  padding: 14px;
}

.hs-metric-label {
  font-size: 11px;
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 700;
  margin-bottom: 8px;
}

.hs-metric-value {
  font-size: 24px;
  line-height: 1.1;
  color: #f2c777;
  font-weight: 800;
}

.hs-right {
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.98);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px;
  min-height: 220px;
}

.hs-type-image {
  width: 124px;
  height: 124px;
  object-fit: contain;
  margin-bottom: 12px;
}

.hs-type-label {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy-deep);
  text-align: center;
  line-height: 1.3;
}

.form-section + .form-section {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(36, 48, 66, 0.08);
}

.section-title {
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 800;
  color: var(--navy-deep);
}

.form-grid {
  display: grid;
  gap: 16px;
}

.two-cols {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}

.field span {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}

.field-required span::after {
  content: " *";
  color: var(--gold-dark);
  font-weight: 900;
}

.field-optional span::after {
  content: " · optionnel";
  color: var(--muted);
  font-weight: 600;
  font-size: 11px;
}

.field input,
.field select {
  width: 100%;
  height: 52px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #ffffff;
  padding: 0 16px;
  font-size: 15px;
  color: var(--text);
  outline: none;
  transition: 0.18s ease;
}

.field-required input,
.field-required select,
.field-required .select-wrap,
.field-required .choice-pills {
  border-color: rgba(207, 161, 74, 0.38);
}

.field-optional input,
.field-optional select,
.field-optional .select-wrap {
  border-color: rgba(36, 48, 66, 0.12);
}

.field input:focus,
.field select:focus,
.select-wrap:focus-within {
  border-color: rgba(207, 161, 74, 0.85);
  box-shadow: 0 0 0 4px rgba(207, 161, 74, 0.12);
}

.select-wrap {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #ffffff;
  transition: 0.18s ease;
}

.select-wrap::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--gold-dark);
  border-bottom: 2px solid var(--gold-dark);
  transform: translateY(-62%) rotate(45deg);
  pointer-events: none;
}

.select-wrap select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border: none;
  background: transparent;
  padding-right: 46px;
  box-shadow: none;
}

.select-wrap select:focus {
  box-shadow: none;
}

.currency-info-card {
  min-height: 112px;
  border: 1px solid rgba(36, 48, 66, 0.10);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  padding: 14px 16px;
  display: grid;
  gap: 10px;
}

.currency-info-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 22px;
  font-size: 14px;
  color: var(--text);
}

.currency-info-line strong {
  color: var(--navy-deep);
  font-size: 14px;
}

.currency-info-line span {
  font-size: 14px;
  color: var(--muted);
  font-weight: 700;
}

.choice-pills {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 8px;
  border-radius: 18px;
  border: 1px solid rgba(207, 161, 74, 0.22);
  background: rgba(255, 255, 255, 0.74);
}

.choice-pill {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(36, 48, 66, 0.10);
  background: #ffffff;
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
  transition: 0.18s ease;
}

.choice-pill:hover {
  border-color: rgba(207, 161, 74, 0.5);
  background: rgba(207, 161, 74, 0.08);
  transform: translateY(-1px);
}

.choice-pill.active {
  border-color: rgba(207, 161, 74, 0.86);
  background: linear-gradient(180deg, rgba(207, 161, 74, 0.16) 0%, rgba(255, 255, 255, 0.98) 100%);
  color: var(--navy-deep);
  box-shadow: 0 10px 20px rgba(207, 161, 74, 0.12);
}

.field-wide {
  grid-column: 1 / -1;
}

.field-readonly input {
  background: #f7f8fa;
  color: #5e6877;
  font-weight: 700;
  border-color: rgba(36, 48, 66, 0.10);
}

.presentation-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.presentation-card {
  min-height: 250px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.presentation-icon {
  width: 124px;
  height: 124px;
  object-fit: contain;
  margin-bottom: 16px;
}

.presentation-name {
  display: block;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 800;
  text-align: center;
  color: var(--navy-deep);
}

.presentation-subname {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  text-align: center;
  color: var(--muted);
  font-weight: 600;
}

/* MULTI PRODUITS */

.multi-products-shell {
  margin-top: 4px;
}

.multi-products-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.multi-products-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

.multi-products-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.multi-products-list {
  display: grid;
  gap: 18px;
}

.multi-product-card {
  border: 1px solid rgba(36, 48, 66, 0.10);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(249, 248, 244, 0.96) 100%);
  box-shadow: 0 12px 28px rgba(25, 34, 48, 0.06);
  overflow: hidden;
  transition: 0.2s ease;
}

.multi-product-card:hover {
  border-color: rgba(207, 161, 74, 0.26);
  box-shadow: 0 16px 34px rgba(25, 34, 48, 0.08);
}

.multi-product-card.is-open {
  border-color: rgba(207, 161, 74, 0.34);
  box-shadow: 0 18px 38px rgba(207, 161, 74, 0.10);
}

.multi-product-summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 20px;
}

.multi-product-summary-left {
  flex: 1;
  min-width: 0;
}

.multi-product-summary-main,
.multi-product-summary-left {
  flex: 1;
  min-width: 0;
}


.multi-product-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.multi-product-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(35, 43, 58, 0.08);
  color: var(--navy-deep);
  font-size: 13px;
  font-weight: 800;
}

.multi-product-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.multi-product-status-warning {
  background: var(--warning-soft);
  color: var(--warning);
}

.multi-product-status-ok {
  background: rgba(45, 116, 81, 0.10);
  color: var(--success);
}

.multi-product-status-danger {
  background: rgba(168, 75, 75, 0.12);
  color: var(--danger);
}

.multi-product-summary-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.multi-product-summary-item {
  min-height: 82px;
  border-radius: 18px;
  border: 1px solid rgba(36, 48, 66, 0.08);
  background: rgba(255, 255, 255, 0.84);
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.multi-product-summary-label {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.multi-product-summary-value {
  display: block;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 700;
  color: var(--navy-deep);
  word-break: break-word;
}

.multi-product-summary-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}

.multi-toggle-btn,
.multi-duplicate-btn,
.multi-delete-btn {
  min-width: 132px;
}

.multi-product-details {
  border-top: 1px solid rgba(36, 48, 66, 0.08);
  padding: 22px 20px 20px;
  background:
    linear-gradient(180deg, rgba(207, 161, 74, 0.04) 0%, rgba(255, 255, 255, 0.98) 28%);
}

.multi-presentation-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.multi-presentation-card {
  min-height: 220px;
}

.toggle-row {
  display: flex;
  align-items: center;
}

.toggle-btn {
  min-height: 52px;
  min-width: 160px;
  border: 1px solid rgba(36, 48, 66, 0.16);
  border-radius: 16px;
  background: #ffffff;
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
  transition: 0.18s ease;
}

.toggle-btn:hover {
  border-color: rgba(207, 161, 74, 0.65);
  background: rgba(207, 161, 74, 0.06);
}

.toggle-btn.is-active {
  border-color: rgba(207, 161, 74, 0.88);
  background: rgba(207, 161, 74, 0.14);
  color: var(--navy-deep);
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.summary-card {
  min-height: 132px;
  border-radius: 22px;
  padding: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #faf8f3 100%);
  border: 1px solid rgba(36, 48, 66, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.summary-card-total {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy-soft));
  border-color: transparent;
}

.summary-card-total .summary-label,
.summary-card-total .summary-value {
  color: var(--white);
}

.summary-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 10px;
}

.summary-value {
  font-size: 28px;
  line-height: 1.1;
  font-weight: 800;
  color: var(--navy-deep);
}

.breakdown-list {
  display: grid;
  gap: 16px;
}

.breakdown-item {
  display: grid;
  grid-template-columns: 180px 1fr 140px;
  gap: 16px;
  align-items: center;
}

.breakdown-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy-deep);
}

.breakdown-bar {
  width: 100%;
  height: 16px;
  border-radius: 999px;
  background: rgba(36, 48, 66, 0.08);
  overflow: hidden;
}

.breakdown-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #d7b16a 0%, #cfa14a 100%);
  width: 0%;
  transition: width 0.25s ease;
}

.breakdown-value {
  text-align: right;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy-deep);
}

.precision-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.precision-bar {
  width: 100%;
  height: 16px;
  border-radius: 999px;
  background: rgba(36, 48, 66, 0.08);
  overflow: hidden;
}

.precision-bar-fill {
  width: 0%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #d7b16a 0%, #cfa14a 50%, #7b9e6c 100%);
  transition: width 0.25s ease;
}

.precision-main {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.precision-score {
  font-size: 36px;
  font-weight: 900;
  color: var(--navy-deep);
}

.precision-label {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy-deep);
}

.precision-text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

.alerts-list {
  display: grid;
  gap: 12px;
}

.alert-item {
  border-radius: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(168, 75, 75, 0.14);
  background: var(--danger-soft);
  color: #7f3d3d;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 600;
}

.alert-item.ok {
  border-color: rgba(45, 116, 81, 0.12);
  background: rgba(45, 116, 81, 0.07);
  color: var(--success);
}

@media (max-width: 1180px) {
  .transport-cards,
  .presentation-grid,
  .multi-presentation-grid,
  .summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hs-card {
    grid-template-columns: 1fr;
  }

  .hs-right {
    min-height: 160px;
  }

  .breakdown-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .breakdown-value {
    text-align: left;
  }

  .panel-head-inline,
  .multi-products-head,
  .multi-product-summary {
    flex-direction: column;
    align-items: flex-start;
  }

  .panel-actions,
  .multi-products-actions,
  .multi-product-summary-actions {
    width: 100%;
  }

  .multi-product-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .multi-product-summary-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media (max-width: 760px) {
  .page {
    padding: 30px 16px 72px;
  }

  .flow-card,
  .panel,
  .hs-card {
    border-radius: 20px;
  }

  .transport-cards,
  .presentation-grid,
  .multi-presentation-grid,
  .two-cols,
  .summary-grid,
  .search-line,
  .multi-product-summary-grid {
    grid-template-columns: 1fr;
  }

  .mode-switch {
    width: 100%;
  }

  .mode-btn {
    min-width: 0;
    width: 100%;
  }

  .transport-card,
  .presentation-card,
  .multi-presentation-card {
    min-height: 220px;
  }

  .card-icon,
  .presentation-icon {
    width: 110px;
    height: 110px;
  }

  .hs-description {
    font-size: 16px;
  }

  .summary-value {
    font-size: 24px;
  }

  .precision-score {
    font-size: 30px;
  }

  .panel-actions,
  .multi-products-actions,
  .multi-product-summary-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .secondary-btn,
  .ghost-btn,
  .primary-btn-large,
  .multi-toggle-btn,
  .multi-duplicate-btn,
  .multi-delete-btn {
    width: 100%;
    justify-content: center;
  }

  .choice-pills {
    flex-direction: column;
  }

  .choice-pill {
    width: 100%;
  }

  .currency-info-line {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .multi-product-summary,
  .multi-product-details {
    padding: 16px;
  }

  .multi-product-summary-item {
    min-height: auto;
  }
}