/*
 * FindAir Consolidation — grafica del prototipo approvato (Raccolta,
 * Confronto, Progetto; desktop e mobile). Blu scuro #12294f, marrone
 * #6b4226, fondo #eef0f3, bordi #d5d9e0 / #e3e6eb / #c9ced6; angoli
 * sempre retti; solo carattere di sistema Apple.
 * Tutto è sotto .fc-ui per non toccare il tema del sito.
 */
.fc-ui, .fc-ui * { box-sizing: border-box; border-radius: 0; }
.fc-ui {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;
    background: #eef0f3; color: #111111; font-size: 14px; line-height: 1.35;
    -webkit-font-smoothing: antialiased; width: 100%; max-width: 1440px; margin: 0 auto;
}
.fc-ui button, .fc-ui input, .fc-ui textarea { font-family: inherit; }
.fc-ui input, .fc-ui textarea { color: #111111; }
.fc-ui button { cursor: pointer; text-transform: none; text-shadow: none; box-shadow: none; line-height: 1.2; min-width: 0; margin: 0; }
.fc-ui input, .fc-ui textarea { box-shadow: none; margin: 0; max-width: 100%; }
.fc-ui h1, .fc-ui h2, .fc-ui p { font-family: inherit; letter-spacing: normal; text-transform: none; }
.fc-ui button:disabled { cursor: default; opacity: 0.5; }
.fc-ui a { color: #12294f; }
.fc-ui a:hover { color: #6b4226; }
.fc-ui :focus-visible { outline: 2px solid #6b4226; outline-offset: 2px; }
.fc-ui .fc-hidden { display: none; }
.fc-ui .fc-sr { position: absolute; left: -9999px; }
.fc-ui .fc-grow { flex-grow: 1; min-width: 0; }
.fc-ui .fc-nowrap { white-space: nowrap; }
.fc-ui .fc-navy { color: #12294f; }
.fc-ui .fc-brown { color: #6b4226; }
.fc-ui .fc-strong { font-weight: 600; }
.fc-ui .fc-right { text-align: right; }
.fc-ui .fc-block { display: block; }
.fc-ui .fc-mt2 { margin-top: 2px; } .fc-ui .fc-mt6 { margin-top: 6px; } .fc-ui .fc-mt8 { margin-top: 8px; }
.fc-ui .fc-ml { margin-left: 8px; } .fc-ui .fc-ml-auto { margin-left: auto; }
.fc-ui .fc-small12 { font-size: 12px; } .fc-ui .fc-small13 { font-size: 13px; } .fc-ui .fc-small14 { font-size: 14px; }
.fc-ui .fc-body14 { font-size: 14px; line-height: 1.45; }
.fc-ui .fc-flag, .fc-ui .fc-icon { display: inline-flex; vertical-align: middle; flex: 0 0 auto; }
.fc-ui .fc-flag { width: 20px; height: 14px; }
.fc-ui .fc-icon { width: 18px; height: 18px; }

/* ---------- barra superiore ---------- */
.fc-ui .fc-top { height: 64px; background: #12294f; color: #ffffff; display: flex; align-items: center; justify-content: space-between; padding: 0 40px; }
.fc-ui .fc-top-left { display: flex; align-items: center; gap: 16px; }
.fc-ui .fc-brand { background: none; border: 0; padding: 0; color: #ffffff; font-size: 20px; font-weight: 700; letter-spacing: 0.02em; }
.fc-ui .fc-badge { background: #6b4226; color: #ffffff; padding: 4px 10px; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; }
.fc-ui .fc-badge-sm { padding: 3px 8px; font-size: 11px; }
.fc-ui .fc-top-link { background: none; border: 0; border-bottom: 2px solid #ffffff; padding: 0 0 4px; color: #ffffff; font-size: 14px; }
.fc-ui .fc-top-back { background: none; border: 0; padding: 0; color: #ffffff; font-size: 15px; }
.fc-ui .fc-top-status { border: 1px solid #ffffff; padding: 3px 8px; font-size: 12px; }
.fc-ui .fc-top.is-mobile { height: 56px; padding: 0 16px; }
.fc-ui .fc-top.is-mobile .fc-brand { font-size: 18px; }

/* ---------- pagina desktop ---------- */
.fc-ui .fc-page { padding: 28px 40px; display: flex; gap: 24px; }
.fc-ui .fc-page.fc-col { flex-direction: column; gap: 20px; }
.fc-ui .fc-page.fc-gap18 { gap: 18px; padding-top: 24px; }
.fc-ui .fc-page-split { align-items: stretch; }
.fc-ui .fc-main { flex-grow: 1; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.fc-ui .fc-col { display: flex; flex-direction: column; }
.fc-ui .fc-gap10 { gap: 10px; } .fc-ui .fc-gap12 { gap: 12px; }
.fc-ui .fc-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.fc-ui .fc-head-actions { display: flex; align-items: center; gap: 10px; }
.fc-ui .fc-eyebrow { font-size: 13px; color: #12294f; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.fc-ui .fc-h1 { margin: 6px 0 0; font-size: 30px; line-height: 1.2; color: #12294f; font-weight: 700; }
.fc-ui .fc-stepbar { display: flex; gap: 8px; }
.fc-ui .fc-stepbar span { width: 72px; height: 6px; background: #c9ced6; }
.fc-ui .fc-stepbar span.on { background: #12294f; }
.fc-ui .fc-stepbar.is-mobile { gap: 6px; }
.fc-ui .fc-stepbar.is-mobile span { flex-grow: 1; width: auto; height: 4px; }

.fc-ui .fc-card { background: #ffffff; border: 1px solid #d5d9e0; }
.fc-ui .fc-label { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; color: #12294f; text-transform: uppercase; }
.fc-ui .fc-label13 { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; color: #12294f; text-transform: uppercase; }
.fc-ui .fc-label13n { font-size: 13px; font-weight: 600; color: #12294f; }
.fc-ui .fc-label12 { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; color: #12294f; text-transform: uppercase; }

/* ---------- pulsanti ---------- */
.fc-ui .fc-btn { height: 44px; padding: 0 18px; background: #ffffff; border: 1px solid #12294f; color: #12294f; font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.fc-ui .fc-btn-primary { background: #12294f; color: #ffffff; border-color: #12294f; }
.fc-ui .fc-btn-ghost { border-color: #c9ced6; font-weight: 400; }
.fc-ui .fc-btn-dashed { background: transparent; border: 1px dashed #12294f; }
.fc-ui .fc-btn-dashed-white { background: #ffffff; border: 1px dashed #12294f; }
.fc-ui .fc-btn-lg { height: 48px; padding: 0 22px; font-size: 15px; }
.fc-ui .fc-btn-wide { padding: 0 28px; }
.fc-ui .fc-btn-sm { height: 36px; padding: 0 12px; font-size: 13px; }
.fc-ui .fc-link { background: none; border: 0; padding: 0; color: #12294f; font-size: 13px; text-decoration: underline; }
.fc-ui .fc-link14 { font-size: 14px; }
.fc-ui .fc-x { width: 36px; height: 36px; background: #ffffff; border: 1px solid #c9ced6; color: #12294f; font-size: 16px; padding: 0; }
.fc-ui .fc-pref { height: 44px; padding: 0 16px; background: #ffffff; color: #12294f; border: 1px solid #c9ced6; font-size: 14px; }
.fc-ui .fc-pref.on { background: #12294f; color: #ffffff; border-color: #12294f; font-weight: 600; }
.fc-ui .fc-pref-40 { height: 40px; padding: 0 14px; font-size: 13px; }
.fc-ui .fc-prefs { display: flex; gap: 8px; flex-wrap: wrap; }
.fc-ui .fc-prefs-tight { gap: 6px; flex-wrap: nowrap; }
.fc-ui .fc-filters { display: flex; gap: 6px; flex-wrap: wrap; }
.fc-ui .fc-actions-end { display: flex; justify-content: flex-end; gap: 12px; }
.fc-ui .fc-state-links { display: flex; justify-content: flex-end; gap: 16px; margin-top: -8px; }
.fc-ui .fc-state-links:empty { display: none; }

/* ---------- messaggi ---------- */
.fc-ui .fc-alert { background: #ffffff; border: 1px solid #12294f; border-left: 4px solid #12294f; padding: 10px 14px; font-size: 14px; color: #12294f; font-weight: 600; }
.fc-ui .fc-alert-top { margin: 0 0 8px; }
.fc-ui .fc-note { background: #ffffff; border: 1px solid #d5d9e0; border-left: 3px solid #12294f; padding: 10px 14px; font-size: 14px; }
.fc-ui .fc-note-brown { border-left-color: #6b4226; }
.fc-ui .fc-empty { padding: 18px 16px; font-size: 14px; }

/* ---------- Raccolta ---------- */
.fc-ui .fc-docs { padding: 20px 24px; display: flex; align-items: center; gap: 20px; }
.fc-ui .fc-docs-title { font-size: 16px; font-weight: 600; color: #12294f; }
.fc-ui .fc-docs-sub { font-size: 14px; margin-top: 4px; }
.fc-ui .fc-docs-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.fc-ui .fc-text-box { margin-top: 10px; display: flex; gap: 8px; align-items: flex-start; }
.fc-ui .fc-text-box textarea { flex-grow: 1; border: 1px solid #c9ced6; padding: 10px 12px; font-size: 14px; resize: vertical; }
.fc-ui .fc-rows-grid { display: grid; grid-template-columns: 56px 1.4fr 1fr 0.8fr 1fr 1fr 0.9fr 56px; }
.fc-ui .fc-list-grid { display: grid; grid-template-columns: 130px 2fr 1.1fr 1.1fr 0.7fr 0.9fr 0.9fr; }
.fc-ui .fc-table-head { background: #12294f; color: #ffffff; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.fc-ui .fc-table-head > div { padding: 12px; }
.fc-ui .fc-row { border-bottom: 1px solid #e3e6eb; font-size: 14px; align-items: center; cursor: pointer; }
.fc-ui .fc-row > div { padding: 14px 12px; min-width: 0; }
.fc-ui .fc-row.is-open { background: #f6f7f9; }
.fc-ui .fc-row-btn { width: 100%; background: #ffffff; border: 0; border-bottom: 1px solid #e3e6eb; text-align: left; padding: 0; color: #111111; }
.fc-ui .fc-row-btn:hover { background: #f6f7f9; }
.fc-ui .fc-row-n { font-weight: 700; color: #12294f; }
.fc-ui .fc-row-place { font-weight: 600; display: flex; align-items: center; gap: 8px; }
.fc-ui .fc-row-kind { font-size: 12px; margin-top: 2px; }
.fc-ui .fc-table-foot { padding: 14px 16px; display: flex; gap: 12px; }
.fc-ui .fc-edit { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; padding: 14px 16px 16px; border-bottom: 1px solid #e3e6eb; background: #f6f7f9; }
.fc-ui .fc-edit-inline { padding: 10px 0 0; background: transparent; border: 0; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fc-ui .fc-edit label { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.fc-ui .fc-edit label > span { font-size: 11px; font-weight: 600; color: #12294f; letter-spacing: 0.04em; text-transform: uppercase; }
.fc-ui .fc-edit label > em { font-style: normal; font-size: 12px; color: #12294f; font-weight: 600; }
.fc-ui .fc-edit input { height: 40px; border: 1px solid #c9ced6; padding: 0 10px; font-size: 14px; background: #ffffff; width: 100%; }
.fc-ui .fc-edit .fc-w2 { grid-column: span 2; }
.fc-ui .fc-edit-actions { grid-column: 1 / -1; display: flex; justify-content: flex-end; }
.fc-ui .fc-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.fc-ui .fc-box { padding: 20px 24px; display: flex; flex-direction: column; gap: 10px; }
.fc-ui .fc-dest { background: none; border: 0; padding: 0; text-align: left; font-size: 18px; font-weight: 600; color: #111111; }
.fc-ui .fc-dest-place { display: inline-flex; align-items: center; gap: 10px; }

/* ---------- Specialist (colonna, foglio) ---------- */
.fc-ui .fc-chat { width: 380px; flex: 0 0 380px; background: #ffffff; border: 1px solid #d5d9e0; display: flex; flex-direction: column; min-height: 560px; }
.fc-ui .fc-chat-head { background: #6b4226; color: #ffffff; padding: 14px 18px; display: flex; align-items: center; gap: 10px; }
.fc-ui .fc-chat-name { font-size: 15px; font-weight: 600; }
.fc-ui .fc-chat-x { background: none; border: 0; color: #ffffff; font-size: 22px; width: 36px; height: 36px; padding: 0; }
.fc-ui .fc-chat-body { flex-grow: 1; padding: 18px; display: flex; flex-direction: column; gap: 14px; font-size: 14px; line-height: 1.45; overflow-y: auto; }
.fc-ui .fc-bubble { background: #eef0f3; padding: 12px 14px; white-space: pre-wrap; }
.fc-ui .fc-bubble.is-user { background: #12294f; color: #ffffff; align-self: flex-end; max-width: 80%; }
.fc-ui .fc-typing { color: #12294f; }
.fc-ui .fc-question { display: flex; flex-direction: column; gap: 8px; }
.fc-ui .fc-option { min-height: 44px; background: #ffffff; border: 1px solid #12294f; color: #12294f; font-size: 14px; text-align: left; padding: 8px 14px; }
.fc-ui .fc-option-other { border-style: dashed; }
.fc-ui .fc-mission { border: 1px solid #e3e6eb; border-left: 3px solid #6b4226; padding: 10px 12px; }
.fc-ui .fc-mission-head { display: flex; justify-content: space-between; font-size: 12px; font-weight: 600; color: #6b4226; letter-spacing: 0.04em; text-transform: uppercase; }
.fc-ui .fc-mission-name { font-weight: 600; margin-top: 4px; color: #12294f; }
.fc-ui .fc-mission-list { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
.fc-ui .fc-mission-list li { display: flex; gap: 8px; align-items: center; }
.fc-ui .fc-tick { width: 16px; height: 16px; border: 1px solid #12294f; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; color: #ffffff; flex: 0 0 16px; }
.fc-ui .fc-mission-list li.is-ok .fc-tick { background: #12294f; }
.fc-ui .fc-chat-foot { border-top: 1px solid #d5d9e0; padding: 12px; display: flex; gap: 8px; }
.fc-ui .fc-chat-input { display: flex; gap: 8px; }
.fc-ui .fc-chat-foot input, .fc-ui .fc-chat-input input { width: 100%; height: 44px; border: 1px solid #c9ced6; padding: 0 12px; font-size: 14px; }
.fc-ui .fc-chat-foot .fc-btn, .fc-ui .fc-chat-input .fc-btn { padding: 0 16px; font-weight: 400; }
.fc-ui .fc-chat-sheet { position: fixed; inset: 0; z-index: 99999; width: auto; min-height: 0; border: 0; }
.fc-ui .fc-chat-drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 99999; display: flex; box-shadow: -1px 0 0 #c9ced6; }
.fc-ui .fc-chat-drawer .fc-chat { min-height: 100%; }

/* ---------- Confronto ---------- */
.fc-ui .fc-rulebar { padding: 14px 18px; display: flex; align-items: center; gap: 18px; }
.fc-ui .fc-rule { flex-grow: 1; font-size: 14px; line-height: 1.4; border-left: 3px solid #6b4226; padding-left: 14px; }
.fc-ui .fc-opts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.fc-ui .fc-opt { background: #ffffff; border: 1px solid #d5d9e0; padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.fc-ui .fc-opt.is-picked { border: 2px solid #12294f; padding: 17px; }
.fc-ui .fc-opt.is-dominated { border: 1px dashed #9aa3b2; opacity: 0.72; }
.fc-ui .fc-opt.is-dominated.is-picked { border: 2px dashed #12294f; opacity: 1; }
.fc-ui .fc-opt-top { display: flex; justify-content: space-between; align-items: center; min-height: 28px; gap: 8px; }
.fc-ui .fc-opt-tag { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; color: #12294f; text-transform: uppercase; }
.fc-ui .fc-chip-brown { background: #6b4226; color: #ffffff; font-size: 12px; font-weight: 600; padding: 4px 10px; letter-spacing: 0.02em; white-space: nowrap; }
.fc-ui .fc-chip-line { border: 1px solid #111111; font-size: 12px; font-weight: 600; padding: 3px 9px; white-space: nowrap; }
.fc-ui .fc-chip-pad { padding: 6px 10px; }
.fc-ui .fc-chip-sm { font-size: 11px; padding: 3px 8px; }
.fc-ui .fc-opt-title { margin: 0; font-size: 20px; line-height: 1.2; color: #12294f; font-weight: 700; }
.fc-ui .fc-diagram { background: #f6f7f9; border: 1px solid #e3e6eb; height: 190px; position: relative; overflow: hidden; }
.fc-ui .fc-diagram svg { display: block; }
.fc-ui .fc-skeleton { background: repeating-linear-gradient(90deg, #f6f7f9 0 40px, #eef0f3 40px 80px); }
.fc-ui .fc-price-line { display: flex; align-items: baseline; gap: 10px; }
.fc-ui .fc-price { font-size: 30px; font-weight: 700; color: #12294f; }
.fc-ui .fc-bar { height: 10px; background: #e3e6eb; position: relative; overflow: hidden; }
.fc-ui .fc-bar-8 { height: 8px; }
.fc-ui .fc-bar-fill { height: 100%; background: #12294f; }
.fc-ui .fc-bar-fill.brown { background: #6b4226; }
.fc-ui .fc-bar-moving { width: 30%; background: #6b4226; animation: fc-move 1.2s linear infinite; }
@keyframes fc-move { from { transform: translateX(-100%); } to { transform: translateX(340%); } }
@media (prefers-reduced-motion: reduce) { .fc-ui .fc-bar-moving { animation: none; width: 100%; } }
.fc-ui .fc-vs { font-size: 13px; color: #12294f; font-weight: 600; min-height: 18px; }
.fc-ui .fc-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; font-size: 13px; }
.fc-ui .fc-facts > div { border: 1px solid #e3e6eb; padding: 10px; min-width: 0; }
.fc-ui .fc-facts-tight > div { padding: 8px; }
.fc-ui .fc-fact-l { color: #12294f; font-weight: 600; }
.fc-ui .fc-fact-v { font-size: 16px; font-weight: 600; margin-top: 2px; overflow-wrap: anywhere; }
.fc-ui .fc-why { margin: 0; font-size: 14px; line-height: 1.45; }
.fc-ui .fc-risk { font-size: 13px; color: #12294f; }
.fc-ui .fc-opt > .fc-btn { margin-top: auto; }
.fc-ui .fc-opt-loading { min-height: 420px; }
.fc-ui .fc-advice { display: flex; align-items: center; gap: 18px; padding: 16px 20px; }

/* ---------- Progetto ---------- */
.fc-ui .fc-status { border: 1px solid #12294f; color: #12294f; font-size: 13px; font-weight: 600; padding: 6px 12px; white-space: nowrap; }
.fc-ui .fc-status-sm { font-size: 12px; padding: 3px 8px; }
.fc-ui .fc-flow { display: grid; grid-template-columns: 1fr 44px 1.15fr 44px 1fr; align-items: stretch; }
.fc-ui .fc-colhead { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.fc-ui .fc-leg { padding: 14px; display: flex; flex-direction: column; gap: 6px; }
.fc-ui .fc-leg-top { display: flex; justify-content: space-between; gap: 8px; }
.fc-ui .fc-leg-name { font-weight: 600; display: flex; align-items: center; gap: 8px; min-width: 0; }
.fc-ui .fc-leg-price { font-weight: 700; color: #12294f; white-space: nowrap; }
.fc-ui .fc-leg-err { font-size: 12px; font-weight: 600; color: #12294f; }
.fc-ui .fc-leg-btns { display: flex; gap: 8px; margin-top: 4px; flex-wrap: wrap; }
.fc-ui .fc-arrow { display: flex; align-items: center; justify-content: center; }
.fc-ui .fc-cargo { background: #ffffff; border: 2px solid #6b4226; display: flex; flex-direction: column; }
.fc-ui .fc-cargo-head { background: #6b4226; color: #ffffff; padding: 12px 16px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.fc-ui .fc-cargo-title { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; display: flex; align-items: center; gap: 8px; text-transform: uppercase; }
.fc-ui .fc-cargo-body { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.fc-ui .fc-cargo-route { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.fc-ui .fc-cargo-mid { display: flex; align-items: center; gap: 8px; }
.fc-ui .fc-cargo-code { font-size: 28px; font-weight: 700; color: #12294f; display: flex; align-items: center; gap: 8px; }
.fc-ui .fc-end { justify-content: flex-end; }
.fc-ui .fc-house { display: flex; justify-content: space-between; border-bottom: 1px solid #e3e6eb; padding: 6px 0; font-size: 14px; }
.fc-ui .fc-eori { background: #eef0f3; padding: 10px 12px; font-size: 13px; line-height: 1.4; }
.fc-ui .fc-eori-edit { display: flex; gap: 8px; margin-top: 8px; }
.fc-ui .fc-eori-edit input { flex-grow: 1; height: 36px; border: 1px solid #c9ced6; padding: 0 10px; font-size: 14px; background: #ffffff; min-width: 0; }
.fc-ui .fc-bottom { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; }
.fc-ui .fc-totals { padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; }
.fc-ui .fc-tl { display: flex; justify-content: space-between; font-size: 14px; gap: 12px; }
.fc-ui .fc-tl-total { font-size: 22px; font-weight: 700; color: #12294f; border-top: 2px solid #12294f; padding-top: 8px; margin-top: 4px; }
.fc-ui .fc-next { padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; }
.fc-ui .fc-next-head { display: flex; gap: 10px; align-items: center; }
.fc-ui .fc-log { font-size: 13px; display: flex; gap: 10px; }
.fc-ui .fc-log-when { color: #12294f; min-width: 88px; }

/* ---------- finestra tratta ---------- */
.fc-ui .fc-modal-back { position: fixed; inset: 0; background: rgba(18, 41, 79, 0.35); z-index: 99998; display: flex; align-items: center; justify-content: center; padding: 16px; }
.fc-ui .fc-modal { background: #ffffff; border: 1px solid #12294f; width: 100%; max-width: 720px; max-height: 100%; display: flex; flex-direction: column; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif; color: #111111; }
.fc-ui .fc-modal-head { background: #12294f; color: #ffffff; padding: 12px 16px; display: flex; justify-content: space-between; align-items: center; font-size: 15px; font-weight: 600; }
.fc-ui .fc-modal-x { background: none; border: 0; color: #ffffff; font-size: 22px; width: 36px; height: 36px; padding: 0; }
.fc-ui .fc-modal-body { padding: 16px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; }
.fc-ui .fc-modal-foot { border-top: 1px solid #d5d9e0; padding: 12px 16px; display: flex; justify-content: flex-end; gap: 8px; }
.fc-ui .fc-modal.is-mobile { max-width: none; height: 100%; }
.fc-ui .fc-modal.is-mobile .fc-edit-inline { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* ---------- desktop stretto ---------- */
.fc-ui @media (max-width: 1200px) {
    .fc-ui .fc-opts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .fc-ui .fc-page { padding: 24px; }
    .fc-ui .fc-top { padding: 0 24px; }
    .fc-ui .fc-chat { width: 320px; flex-basis: 320px; }
    .fc-ui .fc-edit { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 1000px) {
    .fc-ui .fc-flow { grid-template-columns: 1fr; gap: 12px; }
    .fc-ui .fc-arrow { transform: rotate(90deg); height: 44px; }
    .fc-ui .fc-bottom { grid-template-columns: 1fr; }
    .fc-ui .fc-page-split { flex-direction: column; }
    .fc-ui .fc-chat { width: auto; flex-basis: auto; }
    .fc-ui .fc-rulebar { flex-wrap: wrap; }
}

/* ---------- mobile (prototipo 390 px) ---------- */
.fc-ui .fc-mpage { padding: 16px 16px 0; display: flex; flex-direction: column; gap: 14px; }
.fc-ui .fc-mpage-nosticky { padding-bottom: 24px; }
.fc-ui .fc-eyebrow-m { font-size: 12px; margin-top: 10px; }
.fc-ui .fc-eyebrow-m0 { font-size: 12px; }
.fc-ui .fc-h1-m { margin-top: 4px; font-size: 24px; }
.fc-ui .fc-h1-m22 { margin-top: 4px; font-size: 22px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.fc-ui .fc-head-m { align-items: flex-start; }
.fc-ui .fc-m-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.fc-ui .fc-btn-m { height: 52px; font-size: 14px; }
.fc-ui .fc-btn-m48 { height: 48px; font-size: 15px; }
.fc-ui .fc-m-info { padding: 12px 14px; font-size: 14px; }
.fc-ui .fc-m-info strong { color: #12294f; }
.fc-ui .fc-m-row { display: flex; padding: 0; }
.fc-ui .fc-m-row-btn { width: 100%; text-align: left; font-size: 14px; color: #111111; }
.fc-ui .fc-m-row-n { width: 40px; flex: 0 0 40px; background: #12294f; color: #ffffff; font-weight: 700; display: flex; align-items: center; justify-content: center; border: 0; font-size: 14px; padding: 0; }
.fc-ui .fc-m-row-n-static { font-size: 13px; }
.fc-ui .fc-m-row-body { flex-grow: 1; min-width: 0; padding: 12px; display: flex; flex-direction: column; gap: 4px; cursor: pointer; }
.fc-ui .fc-m-row-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.fc-ui .fc-m-row-place { font-weight: 600; font-size: 15px; display: flex; align-items: center; gap: 8px; min-width: 0; }
.fc-ui .fc-m-row-kg { font-weight: 700; color: #12294f; white-space: nowrap; }
.fc-ui .fc-m-row-x { width: 48px; flex: 0 0 48px; background: #ffffff; border: 0; border-left: 1px solid #e3e6eb; color: #12294f; font-size: 20px; padding: 0; }
.fc-ui .fc-edit-m { grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid #d5d9e0; margin-top: -6px; }
.fc-ui .fc-m-box { padding: 14px; display: flex; flex-direction: column; gap: 4px; }
.fc-ui .fc-label-m { font-size: 11px; }
.fc-ui .fc-dest-m { font-size: 16px; }
.fc-ui .fc-m-prefs-wrap { display: flex; flex-direction: column; gap: 8px; }
.fc-ui .fc-m-prefs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.fc-ui .fc-pref-m { height: 44px; padding: 0 4px; font-size: 13px; }
.fc-ui .fc-m-specialist { border-top: 3px solid #6b4226; padding: 12px 14px; display: flex; flex-direction: column; gap: 10px; }
.fc-ui .fc-m-specialist-title { font-size: 12px; font-weight: 700; color: #6b4226; letter-spacing: 0.06em; text-transform: uppercase; }
.fc-ui .fc-m-sticky { position: sticky; bottom: 0; background: #ffffff; border-top: 1px solid #d5d9e0; padding: 12px 16px 24px; margin: 0 -16px; display: flex; gap: 8px; z-index: 5; }
.fc-ui .fc-m-sticky-grid { display: grid; grid-template-columns: 1fr 2fr; }
.fc-ui .fc-m-chat { width: 52px; height: 52px; flex: 0 0 52px; background: #6b4226; border: 0; display: flex; align-items: center; justify-content: center; padding: 0; }
.fc-ui .fc-m-cta { flex-grow: 1; height: 52px; font-size: 16px; font-weight: 600; padding: 0 12px; }
.fc-ui .fc-m-sticky-grid .fc-m-cta { font-size: 15px; }
.fc-ui .fc-rule-m { font-size: 13px; padding-left: 10px; }
.fc-ui .fc-tabs { display: grid; border: 1px solid #12294f; }
.fc-ui .fc-tab { min-height: 64px; border: 0; border-right: 1px solid #d5d9e0; background: #ffffff; color: #12294f; padding: 6px 2px; }
.fc-ui .fc-tab:last-child { border-right: 0; }
.fc-ui .fc-tab.on { background: #12294f; color: #ffffff; }
.fc-ui .fc-tab-l { font-size: 12px; font-weight: 700; }
.fc-ui .fc-tab-p { font-size: 13px; font-weight: 700; }
.fc-ui .fc-tab-f { font-size: 10px; min-height: 12px; }
.fc-ui .fc-m-opt { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.fc-ui .fc-m-opt.is-dominated { border: 1px dashed #9aa3b2; }
.fc-ui .fc-opt-top-m { min-height: 26px; }
.fc-ui .fc-opt-title-m { font-size: 19px; }
.fc-ui .fc-steps { display: flex; flex-direction: column; }
.fc-ui .fc-stepitem { display: flex; gap: 12px; }
.fc-ui .fc-step-rail { width: 22px; display: flex; flex-direction: column; align-items: center; }
.fc-ui .fc-step-line { width: 2px; flex-grow: 1; min-height: 16px; margin-top: 2px; background: #9aa3b2; }
.fc-ui .fc-step-line.air { background: #6b4226; }
.fc-ui .fc-step-line.last { background: transparent; }
.fc-ui .fc-step-body { padding-bottom: 14px; min-width: 0; }
.fc-ui .fc-step-title { font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.fc-ui .fc-step-sub { font-size: 12px; margin-top: 2px; }
.fc-ui .fc-facts-m { gap: 6px; font-size: 12px; }
.fc-ui .fc-facts-m > div { padding: 8px; }
.fc-ui .fc-fact-v15 { font-size: 15px; }
.fc-ui .fc-fact-v14 { font-size: 14px; }
.fc-ui .fc-fact-v13 { font-size: 13px; }
.fc-ui .fc-m-advice { border-top: 3px solid #6b4226; padding: 12px 14px; font-size: 14px; line-height: 1.45; }
.fc-ui .fc-m-sticky-single { display: block; }
.fc-ui .fc-m-sticky-single .fc-m-cta { width: 100%; }
.fc-ui .fc-m-total { display: flex; align-items: baseline; justify-content: space-between; margin-top: 8px; }
.fc-ui .fc-m-total-v { font-size: 28px; font-weight: 700; color: #12294f; }
.fc-ui .fc-m-sec { display: flex; justify-content: space-between; align-items: center; margin-top: 4px; }
.fc-ui .fc-m-leg { border-left: 4px solid #12294f; padding: 12px; display: flex; gap: 10px; align-items: center; }
.fc-ui .fc-m-leg-name { font-weight: 600; font-size: 15px; display: flex; align-items: center; gap: 8px; }
.fc-ui .fc-m-arrow { display: flex; justify-content: center; }
.fc-ui .fc-cargo-head-m { padding: 10px 12px; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; }
.fc-ui .fc-cargo-body-m { padding: 12px; gap: 10px; }
.fc-ui .fc-cargo-code-m { font-size: 26px; gap: 6px; }
.fc-ui .fc-house-m { padding: 4px 0; }
.fc-ui .fc-eori-m { padding: 8px 10px; }
.fc-ui .fc-log-when-m { min-width: 80px; }
.fc-ui .fc-m-details { padding: 12px 14px; }
.fc-ui .fc-m-details summary { font-size: 13px; font-weight: 700; color: #12294f; letter-spacing: 0.04em; min-height: 24px; cursor: pointer; }
.fc-ui .fc-filters-m { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fc-ui .fc-filters-m .fc-pref { padding: 0 4px; }
.fc-ui-mobile .fc-state-links { justify-content: flex-start; margin-top: 0; }
