:root {
  --navy: #102757;
  --navy-deep: #081a3d;
  --zenith: #1d4eb4;
  --zenith-bright: #2d66d8;
  --silver: #b8c1cf;
  --silver-light: #eef2f7;
  --paper: #f5f7fb;
  --white: #ffffff;
  --text: #14233e;
  --muted: #68758b;
  --line: #dce3ed;
  --danger: #aa3c3c;
  --success: #087f5b;
  --shadow: 0 18px 50px rgba(8, 26, 61, 0.1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input, select { font: inherit; }
button { cursor: pointer; }
button, select, input { touch-action: manipulation; }
button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid rgba(45, 102, 216, 0.25); outline-offset: 2px; }
.hidden { display: none !important; }

.splash {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 28px;
  background: radial-gradient(circle at 50% 42%, #fff 0, #f8faff 44%, #e9eef7 100%);
  transition: opacity .42s ease, visibility .42s ease;
}
.splash::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 7px;
  background: linear-gradient(90deg, var(--navy), var(--zenith), #d7dde6, var(--zenith), var(--navy));
  animation: splashLine 1.4s ease both;
}
.splash.hide { opacity: 0; visibility: hidden; }
.splash-inner { width: min(680px, 88vw); text-align: center; animation: splashIn .62s ease both; }
.splash-logo { display: block; width: min(560px, 86vw); max-height: 250px; object-fit: contain; margin: 0 auto 28px; }
.splash-slogan { display: block; width: min(580px, 84vw); max-height: 54px; object-fit: contain; margin: auto; }
@keyframes splashIn { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes splashLine { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.app-header {
  position: sticky;
  top: 0;
  z-index: 30;
  min-height: 78px;
  padding: 10px clamp(18px, 4vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 6px 24px rgba(8,26,61,.06);
  backdrop-filter: blur(12px);
}
.brand { display: flex; align-items: center; gap: 16px; color: var(--navy); text-decoration: none; min-width: 0; }
.brand img { width: 206px; height: 60px; object-fit: contain; object-position: left center; }
.brand span { padding-left: 16px; border-left: 1px solid var(--line); font-weight: 750; font-size: 14px; white-space: nowrap; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.private-pill { display: flex; align-items: center; gap: 8px; padding: 10px 12px; color: var(--muted); font-size: 13px; font-weight: 650; }
.private-pill i { width: 8px; height: 8px; border-radius: 50%; background: #18a874; box-shadow: 0 0 0 4px rgba(24,168,116,.12); }
.header-button { min-height: 46px; border: 1px solid var(--line); border-radius: 10px; padding: 0 16px; background: var(--white); color: var(--navy); font-weight: 750; font-size: 14px; }
.header-button.primary { background: var(--navy); border-color: var(--navy); color: white; }

.app-shell { max-width: 1560px; margin: auto; padding: 36px clamp(16px, 4vw, 64px) 80px; }
.intro-row { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 28px; }
.intro-row h1 { margin: 2px 0 8px; color: var(--navy); font-size: clamp(34px, 4vw, 54px); line-height: 1.02; letter-spacing: -.035em; }
.intro-row > div > p:last-child { margin: 0; color: var(--muted); font-size: 17px; }
.eyebrow { margin: 0; color: var(--zenith); font-size: 12px; letter-spacing: .14em; font-weight: 800; }
.rate-badges { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.rate-badges span { padding: 12px 16px; border: 1px solid var(--line); border-radius: 999px; background: white; color: var(--muted); font-size: 14px; white-space: nowrap; }
.rate-badges b { color: var(--navy); }

.workspace { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 24px; align-items: start; }
.form-column { display: grid; gap: 18px; }
.panel { padding: 26px; background: white; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 6px 24px rgba(8,26,61,.035); }
.section-title { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 22px; }
.section-title > span { min-width: 34px; color: var(--zenith); font-size: 13px; font-weight: 850; letter-spacing: .08em; padding-top: 5px; }
.section-title h2 { margin: 0; color: var(--navy); font-size: 23px; line-height: 1.15; }
.section-title p { margin: 5px 0 0; color: var(--muted); font-size: 14px; }

.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.campaign-fields { grid-template-columns: 1.25fr 1.25fr 1fr .72fr; }
.field { display: grid; gap: 7px; min-width: 0; }
.field > span, .quantity-service label span { color: var(--muted); font-size: 13px; font-weight: 750; }
.field > span b { color: var(--danger); font-size: 10px; margin-left: 4px; }
input, select {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid #cfd8e6;
  border-radius: 10px;
  background: #fbfcfe;
  color: var(--text);
  font-size: 16px;
  transition: .16s ease;
}
input:focus, select:focus { border-color: var(--zenith); background: white; box-shadow: 0 0 0 3px rgba(29,78,180,.1); outline: none; }
.input-suffix { position: relative; }
.input-suffix input { padding-right: 52px; }
.input-suffix i { position: absolute; right: 14px; top: 16px; color: var(--muted); font-style: normal; }

.package-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.package-card {
  min-height: 190px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, #fff, #fbfcff);
  color: var(--text);
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.package-card:hover { transform: translateY(-2px); border-color: #b9c6d9; box-shadow: var(--shadow); }
.package-card.selected { border: 2px solid var(--zenith); padding: 17px; background: linear-gradient(155deg, #f8fbff, #eaf1ff); box-shadow: 0 12px 34px rgba(29,78,180,.13); }
.package-card small { color: var(--zenith); font-size: 10px; font-weight: 850; letter-spacing: .12em; }
.package-card strong { margin-top: 10px; color: var(--navy); font-size: 21px; }
.package-card b { margin-top: 18px; color: var(--navy); font-size: 19px; }
.package-card b em { color: var(--muted); font-size: 12px; font-style: normal; font-weight: 650; }
.package-card span { margin-top: auto; color: var(--muted); font-size: 13px; line-height: 1.38; }

.spot-card { border: 1px solid var(--line); border-radius: 14px; padding: 18px; background: #fbfcff; }
.spot-heading { display: flex; align-items: end; gap: 16px; }
.grow { flex: 1; }
.intensity-badge { min-width: 160px; min-height: 77px; display: grid; place-content: center; border: 1px solid #cbd8ee; border-radius: 12px; background: #eef4ff; text-align: center; }
.intensity-badge small { color: var(--zenith); font-size: 9px; font-weight: 850; letter-spacing: .12em; }
.intensity-badge strong { margin-top: 4px; color: var(--navy); font-size: 18px; }
.appearance-row { display: grid; grid-template-columns: repeat(2, minmax(0, 240px)); gap: 14px; margin-top: 16px; }
.pricing-note { min-height: 20px; margin: 14px 0 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
.pricing-note.warning { color: #9a6711; }
.exclusive-config { display: grid; gap: 18px; }
.formula-card { padding: 20px; background: linear-gradient(135deg, var(--navy), #15356f); color: white; border-radius: 14px; text-align: center; }
.formula-card span { display: block; color: #a9c0ec; font-size: 10px; font-weight: 850; letter-spacing: .14em; }
.formula-card strong { display: block; margin: 10px 0 7px; font-size: clamp(20px, 2.3vw, 29px); }
.formula-card small { color: #c4cee0; font-size: 13px; }
.spots-list { display: grid; gap: 12px; }
.custom-spot { border: 1px solid var(--line); border-radius: 14px; padding: 16px; background: #fbfcff; }
.custom-spot-head { display: grid; grid-template-columns: 1fr 240px auto; gap: 12px; align-items: end; }
.spot-type-field { min-width: 0; margin: 0; padding: 0; border: 0; }
.spot-type-field legend { margin-bottom: 7px; color: var(--muted); font-size: 13px; font-weight: 750; }
.spot-type-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 4px; border: 1px solid #cfd8e6; border-radius: 12px; background: #f3f6fa; }
.spot-type-toggle button { min-height: 44px; padding: 8px 10px; border: 1px solid transparent; border-radius: 8px; background: transparent; color: var(--muted); font-size: 14px; font-weight: 800; }
.spot-type-toggle button.active { border-color: var(--zenith); background: var(--zenith); color: white; box-shadow: 0 4px 12px rgba(29,78,180,.2); }
.custom-spot-body { display: grid; grid-template-columns: 1fr 1fr 170px; gap: 12px; align-items: end; margin-top: 12px; }
.spot-price { min-height: 52px; display: grid; align-content: center; justify-items: end; }
.spot-price span { color: var(--muted); font-size: 11px; }
.spot-price strong { color: var(--navy); font-size: 17px; }
.remove-spot { width: 48px; height: 52px; border: 1px solid #ead0d0; border-radius: 10px; background: #fff7f7; color: var(--danger); font-size: 21px; }
.add-button { width: 100%; min-height: 54px; margin-top: 12px; border: 1px dashed #aebbd0; border-radius: 12px; background: white; color: var(--zenith); font-weight: 800; }

.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.service-card { min-height: 170px; padding: 17px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; border: 1px solid var(--line); border-radius: 14px; background: #fbfcff; position: relative; }
label.service-card { cursor: pointer; }
.service-card > input[type="checkbox"] { position: absolute; right: 15px; top: 15px; width: 23px; min-height: 23px; accent-color: var(--zenith); }
.service-card strong { display: block; padding-right: 28px; color: var(--navy); font-size: 17px; }
.service-card small { display: block; margin-top: 6px; color: var(--muted); font-size: 13px; line-height: 1.4; }
.service-card > b { margin-top: auto; color: var(--zenith); font-size: 14px; }
.quantity-service label { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.quantity-service label input { width: 86px; min-height: 46px; text-align: center; }
.quantity-service .service-toggle { justify-content: flex-start; align-items: flex-start; cursor: pointer; }
.quantity-service .service-toggle input { width: 23px; min-height: 23px; flex: 0 0 23px; margin-top: 2px; accent-color: var(--zenith); }

.summary-column { position: sticky; top: 102px; }
.summary-card { overflow: hidden; border-radius: 18px; background: var(--navy-deep); color: white; box-shadow: 0 22px 60px rgba(8,26,61,.22); }
.summary-brand { min-height: 82px; padding: 13px 20px; display: flex; align-items: center; justify-content: space-between; gap: 14px; background: white; }
.summary-brand img { width: 175px; height: 54px; object-fit: contain; object-position: left center; }
.summary-brand span { color: var(--zenith); font-size: 11px; font-weight: 850; letter-spacing: .08em; }
.summary-heading { padding: 22px 22px 16px; }
.summary-heading small { color: #7797d2; font-size: 10px; font-weight: 850; letter-spacing: .13em; }
.summary-heading h2 { margin: 6px 0 4px; font-size: 28px; }
.summary-heading p { margin: 0; color: #aab8d0; font-size: 14px; overflow-wrap: anywhere; }
.summary-metrics { margin: 0 22px; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(255,255,255,.13); border-bottom: 1px solid rgba(255,255,255,.13); }
.summary-metrics div { padding: 14px 0; }
.summary-metrics div + div { padding-left: 14px; border-left: 1px solid rgba(255,255,255,.13); }
.summary-metrics span { display: block; color: #8090a9; font-size: 10px; }
.summary-metrics b { display: block; margin-top: 5px; font-size: 14px; }
.summary-lines { display: grid; gap: 10px; padding: 18px 22px; }
.summary-line { display: flex; justify-content: space-between; gap: 14px; color: #aebbd0; font-size: 13px; line-height: 1.35; }
.summary-line b { color: white; text-align: right; white-space: nowrap; }
.summary-total { padding: 16px 22px; display: flex; justify-content: space-between; gap: 16px; align-items: center; border-top: 1px solid rgba(255,255,255,.15); }
.summary-total.monthly { background: #0d2b64; }
.summary-total span { color: #bdc8d9; font-size: 13px; }
.summary-total strong { color: white; font-size: 21px; white-space: nowrap; }
.summary-total:last-of-type strong { color: #cbd7ef; }
.vat-row { padding: 12px 22px; color: #aebbd0; background: rgba(255,255,255,.04); font-size: 12px; line-height: 1.4; }
.warning-box { margin: 14px 22px 0; padding: 12px; border: 1px solid rgba(255,200,110,.25); border-radius: 10px; background: rgba(255,190,75,.1); color: #f2d49d; font-size: 12px; line-height: 1.45; }
.action-grid { padding: 18px 22px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.action-grid .download-button { grid-column: 1 / -1; }
.primary-button, .secondary-button, .download-button { min-height: 52px; border-radius: 10px; padding: 0 16px; font-weight: 800; font-size: 14px; }
.primary-button { border: 1px solid var(--zenith-bright); background: var(--zenith-bright); color: white; }
.secondary-button { border: 1px solid #607298; background: transparent; color: white; }
.secondary-button.light { color: var(--navy); border-color: var(--line); background: white; }
.download-button { border: 1px solid #d7dde7; background: linear-gradient(180deg, #fff, #dfe5ee); color: var(--navy); }
.local-note { padding: 0 22px 18px; margin: 14px 0 0; text-align: center; color: #71809b; font-size: 11px; }

.modal { width: min(820px, calc(100vw - 28px)); max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: 18px; box-shadow: 0 28px 90px rgba(8,26,61,.34); color: var(--text); }
.modal::backdrop { background: rgba(4,15,38,.72); backdrop-filter: blur(4px); }
.modal-header { position: sticky; top: 0; z-index: 2; min-height: 84px; padding: 18px 22px; display: flex; justify-content: space-between; align-items: center; background: white; border-bottom: 1px solid var(--line); }
.modal-header small { color: var(--zenith); font-size: 10px; font-weight: 850; letter-spacing: .13em; }
.modal-header h2 { margin: 4px 0 0; color: var(--navy); }
.icon-button { width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 12px; background: white; color: var(--navy); font-size: 26px; }
#adminLock, #adminSettings, .offer-preview { padding: 24px; }
.login-form { max-width: 450px; display: grid; gap: 14px; }
.form-error { min-height: 20px; margin: 0; color: var(--danger); font-size: 13px; }
.admin-note { margin: 0 0 20px; padding: 12px 14px; border-left: 4px solid var(--zenith); background: #eef4ff; color: #40506a; font-size: 13px; line-height: 1.5; }
.admin-modal h3 { margin: 24px 0 12px; color: var(--navy); font-size: 15px; }
.admin-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field.optional input { border-color: #e1b866; background: #fffbf2; }
.modal-actions { padding: 18px 0 0; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.modal-actions.right { padding: 18px 24px 24px; justify-content: flex-end; border-top: 1px solid var(--line); }
.text-button { min-height: 48px; border: 0; background: transparent; color: var(--danger); font-weight: 700; }
.offer-preview { background: #f6f8fc; }
.offer-sheet { padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: white; }
.offer-sheet-brand { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding-bottom: 18px; border-bottom: 4px solid var(--navy); }
.offer-sheet-brand img { width: 220px; height: 78px; object-fit: contain; object-position: left center; }
.offer-sheet-brand div { text-align: right; }
.offer-sheet-brand small { color: var(--zenith); font-weight: 800; }
.offer-sheet-brand h3 { margin: 4px 0 0; color: var(--navy); font-size: 20px; }
.offer-preview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 18px 0; }
.offer-preview-grid div { padding: 12px; background: var(--silver-light); border-radius: 9px; }
.offer-preview-grid span { display: block; color: var(--muted); font-size: 11px; }
.offer-preview-grid b { display: block; margin-top: 4px; color: var(--navy); }
.offer-table { width: 100%; border-collapse: collapse; }
.offer-table td { padding: 10px 4px; border-bottom: 1px solid var(--line); font-size: 13px; }
.offer-table td:last-child { text-align: right; color: var(--navy); font-weight: 750; }
.offer-final { margin-top: 16px; padding: 16px; background: var(--navy); color: white; display: flex; justify-content: space-between; align-items: center; border-radius: 10px; }
.offer-final strong { font-size: 21px; }
.offer-warning { color: #8b5a0a; font-size: 12px; line-height: 1.45; }
.install-guide { padding: 26px; text-align: center; }
.install-guide > img { width: 150px; height: 174px; object-fit: contain; margin: 0 auto 18px; }
.install-guide ol { margin: 0 auto 18px; padding-left: 24px; max-width: 520px; color: var(--text); text-align: left; font-size: 16px; line-height: 1.65; }
.install-guide p { margin: 0 auto 20px; max-width: 560px; color: var(--muted); font-size: 14px; line-height: 1.5; }

.toast { position: fixed; left: 50%; bottom: max(24px, env(safe-area-inset-bottom)); z-index: 80; transform: translate(-50%, 16px); padding: 12px 18px; border-radius: 10px; background: var(--navy); color: white; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: .2s ease; font-size: 14px; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.company-details { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
.company-details strong { color: var(--navy); }
.company-details p { margin: 4px 0; }
.company-details a { color: var(--zenith); }

@media (max-width: 1240px) {
  .campaign-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .package-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .workspace { grid-template-columns: minmax(0, 1fr) 355px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 145px; }
}
@media (max-width: 980px) {
  .app-header { min-height: 72px; }
  .brand img { width: 170px; }
  .brand span { display: none; }
  .private-pill { display: none; }
  .workspace { grid-template-columns: 1fr; }
  .summary-column { position: static; }
  .summary-card { max-width: none; }
  .intro-row { align-items: flex-start; }
}
@media (max-width: 680px) {
  .app-header { padding: 8px 12px; gap: 8px; }
  .brand img { width: 110px; height: 50px; }
  .header-actions { gap: 6px; }
  .header-button { min-height: 44px; padding: 0 9px; font-size: 12px; }
  #installApp { display: inline-flex; align-items: center; justify-content: center; }
  #installApp { font-size: 0; }
  #installApp::after { content: "Instalează"; font-size: 12px; }
  .app-shell { padding-top: 24px; }
  .intro-row { display: block; }
  .intro-row > div > p:last-child { font-size: 15px; }
  .rate-badges { justify-content: flex-start; margin-top: 18px; }
  .rate-badges span { padding: 10px 12px; font-size: 12px; }
  .panel { padding: 19px; border-radius: 14px; }
  .field-grid, .campaign-fields, .package-grid, .appearance-row, .admin-grid { grid-template-columns: 1fr; }
  .package-card { min-height: 160px; }
  .spot-heading { display: grid; }
  .intensity-badge { width: 100%; min-height: 68px; }
  .custom-spot-head, .custom-spot-body { grid-template-columns: 1fr; }
  .spot-type-toggle button { min-height: 52px; font-size: 16px; }
  .remove-spot { width: 100%; }
  .spot-price { justify-items: start; }
  .summary-brand img { width: 155px; }
  .modal-actions { align-items: stretch; flex-direction: column-reverse; }
  .modal-actions button { width: 100%; }
  .offer-sheet-brand { align-items: flex-start; flex-direction: column; }
  .offer-sheet-brand div { text-align: left; }
  .offer-preview-grid { grid-template-columns: 1fr; }
}

@media (display-mode: standalone) {
  .app-header { padding-top: calc(10px + env(safe-area-inset-top)); }
  .app-shell { padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
  #installApp { display: none; }
}

@media (hover: none) {
  .package-card:hover { transform: none; box-shadow: none; }
  .package-card, .spot-type-toggle button, .add-button, .remove-spot { -webkit-tap-highlight-color: transparent; }
}

@media print {
  .splash, .app-header, .intro-row, .form-column, .action-grid, .local-note { display: none !important; }
  body, .app-shell { background: white; padding: 0; }
  .workspace { display: block; }
  .summary-column { position: static; }
  .summary-card { border-radius: 0; box-shadow: none; min-height: 100vh; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
}

.client-controls{display:flex;gap:12px;flex-wrap:wrap;margin-top:20px;align-items:end}.client-controls .field{flex:1 1 220px}.client-controls p{width:100%}.beneficiary-details{overflow-wrap:anywhere;margin:18px 0;font-size:14px}.contract-heading{color:#1d4eb4;margin-top:24px}.contract-paragraph{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.55}.contract-table-wrap{overflow-x:auto}.contract-table-wrap table{min-width:580px}#contractDialog .field-grid{padding:16px}#contractWarnings{padding:0 16px;color:#8a4600}#contractPreview{max-height:65vh;overflow:auto}@media(max-width:600px){.client-controls>button{width:100%}.client-controls .field{min-width:0;width:100%}}
/* Contract actions reuse existing controls and wrap on tablets. */
#contractDialog .modal-actions{flex-wrap:wrap;padding:16px;justify-content:flex-start}
#contractDialog .modal-actions button,#shareOptions button{min-height:48px;white-space:normal;flex:1 1 190px}
#contractStatus,#shareOptions{margin:16px;overflow-wrap:anywhere}
#shareOptions button{margin:4px 4px 4px 0}
@media(max-width:600px){#contractDialog .modal-actions{flex-direction:column}#contractDialog .modal-actions button{flex:auto}#shareOptions button{width:100%}}

#contractActionMessage{margin:16px;padding:12px;border-radius:8px;background:#edf2fa;color:#102757;white-space:pre-wrap;overflow-wrap:anywhere}#contractActionMessage:empty{display:none}

#offerBeneficiaryStatus{margin:16px 24px}#beneficiaryGateStatus,#offerBeneficiaryStatus{font-size:14px;line-height:1.5;overflow-wrap:anywhere}#offerDialog .modal-actions{flex-wrap:wrap}button:disabled{cursor:not-allowed;opacity:.5}

.share-content{padding:20px;overflow-wrap:anywhere}.share-content .modal-actions{flex-wrap:wrap}.share-content button{min-height:48px}#offerDownloadStatus{padding:0 24px;overflow-wrap:anywhere}

.beneficiary-details .beneficiary-band{background:#102757;color:#fff;padding:12px 16px;margin:0 0 14px;font-size:16px;}

.offer-sheet .offer-beneficiary-band{background:#102757;color:#fff;padding:14px 16px;margin-top:24px;margin-bottom:0;}
.offer-sheet .offer-client-name{font-size:20px;font-weight:700;color:#102757;margin:30px 0 24px;line-height:1.5;overflow-wrap:anywhere;}
.offer-sheet .offer-gdpr{font-size:calc(1rem - 1pt);line-height:1.55;color:#102757;background:#eef4fb;border:1px solid #b8cbe3;padding:14px 16px;margin-top:2.5em;white-space:normal;}

.file-download-modal{padding:24px;max-width:640px;width:calc(100% - 32px);}.file-download-modal p{line-height:1.5;}.file-download-modal .modal-actions{flex-wrap:wrap;}.file-download-modal a{text-decoration:none;text-align:center;}

/* Simulator public: prezentare TVA 21% și total general lizibil. */
.vat-row{display:grid;gap:10px}
.vat-row > div{display:flex;align-items:baseline;justify-content:space-between;gap:14px}
.vat-row span{color:#c5d2e4}
.vat-row b{color:#fff;font-size:15px;white-space:nowrap}
.vat-row .vat-grand-total{padding-top:10px;border-top:1px solid rgba(255,255,255,.17)}
.vat-row .vat-grand-total span{font-weight:750;color:#fff}
.vat-row .vat-grand-total strong{font-size:20px;color:#fff;white-space:nowrap}

/* Pachet Personalizat: o singură categorie de difuzare, tarif transparent per apariție. */
.custom-tariff{display:flex;flex-direction:column;justify-content:center;min-height:52px;padding:9px 12px;background:#edf3ff;border:1px solid #cddcf5;border-radius:10px;color:#17386d;}
.custom-tariff span{font-size:11px;color:#586d8d;font-weight:650;}
.custom-tariff strong{font-size:14px;color:#163e8a;font-weight:800;}
@media(max-width:720px){.custom-tariff{width:100%;}}

.custom-tariff small{font-size:11px;color:#516d9d;font-weight:650;}
