/* GLS Navy Glass — interface only. PDF pages retain their own theme tokens. */
body.offer-navy{background:#081322;color:#edf4fc;font-family:Inter,Arial,sans-serif;--bg:#081322;--panel:#101f32;--panel-2:#14263c;--line:#293d53;--text:#edf4fc;--muted:#b4c4d7;--dim:#91a5bc;--silver:#7dbdff;--champagne:#7dbdff}
.offer-navy::before{display:none}
.offer-navy .app{width:min(1760px,calc(100% - 48px));padding:22px 0 32px}
.offer-navy .topbar{display:flex;flex-wrap:wrap;gap:16px;padding:0 0 20px;margin-bottom:18px;border-color:#293d53;background:transparent;position:static}
.offer-navy .brand{gap:14px;flex:1;min-width:260px}
.offer-navy .brand h1{font:650 25px/1.2 Inter,Arial,sans-serif;letter-spacing:-.6px;margin:0;color:#edf4fc}
.offer-navy .brand p{font-size:12px;margin:6px 0 0;color:#91a5bc}
.offer-monogram{width:54px;height:54px;display:grid;place-items:center;border:1px solid #426581;border-radius:14px;background:#14263c;color:#edf4fc;font:26px Georgia,serif;flex-shrink:0}
.offer-navy .actions{gap:8px;flex-wrap:wrap}
.offer-navy .actions .btn{font-size:12px;white-space:nowrap}
.offer-navy .autosave-state{background:transparent;color:#a5cbbb;font-size:11px;padding:0 6px}
.offer-navy .autosave-state.error{color:#e87878}
.offer-vehicle{display:flex;align-items:center;gap:12px;max-width:280px;font-size:12px;font-weight:600;line-height:1.5}
.offer-vehicle img{width:95px;height:55px;object-fit:contain}
.offer-case-link{display:inline-block;margin-top:5px;font-size:11px;color:#7dbdff;text-decoration:none}
.offer-case-link:hover{text-decoration:underline}
.offer-navy .brand>.offer-suite-logo{width:96px;height:48px;object-fit:contain;flex-shrink:0;margin-right:4px}
.offer-navy .topbar .brand{order:0}
.offer-navy .topbar .offer-vehicle{order:1;max-width:360px;min-width:0}
.offer-navy .topbar .actions{order:2;margin-left:auto}
.offer-navy .offer-vehicle .offer-brand-emblem{width:44px;height:44px;object-fit:contain;filter:grayscale(1) brightness(1.8);flex-shrink:0}
.offer-navy .offer-vehicle .offer-car-image{width:118px;height:66px;object-fit:contain;flex-shrink:0}
.offer-navy .offer-vehicle span{max-width:170px}
@media(max-width:1250px){.offer-navy .topbar .actions{flex:1;justify-content:flex-end}.offer-navy .topbar .brand{min-width:300px}.offer-navy .topbar .offer-vehicle{display:flex}}
@media(max-width:900px){.offer-navy .topbar .offer-vehicle{max-width:none;flex:1;justify-content:flex-end}.offer-navy .topbar .actions{justify-content:flex-start}.offer-navy .brand>.offer-suite-logo{width:76px}}
@media(max-width:600px){.offer-navy .topbar .brand{min-width:0;flex-basis:100%}.offer-navy .topbar .offer-vehicle{justify-content:flex-start;flex-basis:100%}.offer-navy .offer-vehicle span{max-width:none}.offer-navy .offer-vehicle .offer-car-image{margin-left:auto}}
@media(min-width:901px) and (max-width:1380px){.offer-navy .topbar .brand{min-width:400px}.offer-navy .topbar .actions{flex-basis:100%;justify-content:flex-end}.offer-navy .topbar .autosave-state{margin-right:auto}}
.offer-navy .grid{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;align-items:start}
.offer-navy .panel{background:#101f32;border:1px solid #293d53;border-radius:14px;box-shadow:none}
.offer-navy .editor{display:grid;grid-template-columns:240px minmax(0,1fr);overflow:visible}
.offer-navy .steps,.offer-navy .section-tabs,.offer-navy #summaryStrip,.offer-navy .form-title,.offer-navy .form>.nav,.offer-navy .form-page[data-page="3"]{display:none!important}
.offer-navy .form{padding:26px 32px;min-width:0;--champagne:#7dbdff;--silver:#7dbdff;--line:#293d53;--text:#edf4fc;--muted:#b4c4d7;--dim:#91a5bc}
.workspace-title{font:650 26px/1.25 Inter,Arial,sans-serif;letter-spacing:-.6px;margin:0 0 24px;padding-bottom:18px;border-bottom:1px solid #293d53}
.offer-navy .form-page{display:none!important;min-height:0}
.offer-navy .form-page.active{display:block!important;min-height:0}
.offer-navy .form-page>.card{display:none!important}
.offer-navy .form-page>.card.section-active{display:block!important}
.offer-navy .card{background:transparent;border:0;border-radius:0;box-shadow:none;min-height:0!important;padding:0;position:static!important}
.offer-navy .card-head{display:none}
.offer-navy .card-body{padding:0;min-height:0!important}
.offer-navy .card.section-active>.card-body,.offer-navy .offer-export .card-body{display:block!important}
.offer-navy .field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.offer-navy .field{min-width:0;margin:0 0 18px;gap:8px}
.offer-navy .field-grid .field{margin:0}
.offer-navy .field label,.offer-navy .print-controls label{font:500 13px/1.5 Inter,Arial,sans-serif;text-transform:none;letter-spacing:0;color:#b4c4d7}
.offer-navy input,.offer-navy textarea,.offer-navy select{background:#0b192a;color:#edf4fc;border:1px solid #293d53;border-radius:8px;padding:11px 12px;font-size:14px;min-width:0;box-shadow:none;color-scheme:dark}
.offer-navy input:focus,.offer-navy textarea:focus,.offer-navy select:focus{border-color:#7dbdff;outline:2px solid #9ed1ff;outline-offset:2px;box-shadow:none}
.offer-navy button:focus-visible,.offer-navy summary:focus-visible{outline:2px solid #9ed1ff;outline-offset:3px}
.offer-navy .btn{background:#14263c;color:#b5dcff;border:1px solid #36526d;border-radius:8px;padding:10px 14px;box-shadow:none;transform:none;min-height:38px}
.offer-navy .btn:hover{background:#1b3048;border-color:#7dbdff;transform:none}
.offer-navy .btn.primary{background:#7dbdff;color:#081322;border-color:#7dbdff}
.offer-navy .btn.primary:hover{background:#b5dcff}
.offer-navy .segmented{background:#0b192a;border-color:#293d53;border-radius:8px;min-height:42px}
.offer-navy .segment-btn{color:#b4c4d7;border-radius:6px;background:transparent;font-size:13px}
.offer-navy .segment-btn.active,.offer-navy .segment-btn[aria-pressed="true"]{color:#081322;background:#7dbdff;box-shadow:none}
.offer-navy .card-note,.offer-navy .char-count{color:#91a5bc;font-size:12px;line-height:1.6}
.offer-navy textarea{min-height:170px}
.offer-navy .card-actions{margin:12px 0}
.offer-navy .upload-zone{background:#0c1b2d;border:1px dashed #4b637b;border-radius:10px;color:#b4c4d7;min-height:150px}
.offer-navy .upload-zone:hover{border-color:#7dbdff}
.offer-navy .thumb{border-color:#293d53;border-radius:8px;background:#0b192a}
.offer-navy .thumb span{background:#14263c;color:#edf4fc;max-width:90%;width:auto;padding:3px 7px;font-size:11px}
.offer-navy .thumb button{background:#101f32;color:#e87878;min-width:28px;min-height:28px;border-radius:6px}
.autosave-note{margin:28px 0 0;padding-top:16px;border-top:1px solid #293d53;font-size:12px;line-height:1.6;color:#91a5bc}
.offer-rail{padding:18px 14px;border-right:1px solid #293d53;background:#0c1b2d;border-radius:14px 0 0 14px;min-width:0}
.offer-group{margin-bottom:14px}
.offer-group-button{display:flex;align-items:center;gap:10px;text-align:left;width:100%;padding:12px 10px;color:#edf4fc;background:transparent;border:1px solid transparent;border-radius:9px;font-size:15px;font-weight:650}
.offer-group-button[aria-expanded="true"]{background:#1b3048;border-color:#36526d}
.offer-number{display:grid;place-items:center;width:30px;height:30px;flex-shrink:0;border:1px solid #426581;border-radius:8px;font:600 12px Inter,Arial,sans-serif;color:#b5dcff}
.completion{font-size:13px;color:#64c98c;font-weight:700;line-height:20px;flex-shrink:0;margin-left:auto}
.completion.pending{color:#e87878}
.offer-chevron{width:6px;height:6px;border-right:1px solid #91a5bc;border-bottom:1px solid #91a5bc;transform:rotate(-45deg);margin-left:5px}
[aria-expanded="true"]>.offer-chevron{transform:rotate(45deg)}
.offer-submenu{padding:8px 0 0 24px}
.offer-submenu button{display:flex;align-items:center;gap:8px;width:100%;text-align:left;padding:11px 10px;border:0;border-left:1px solid #36526d;border-radius:0 7px 7px 0;background:transparent;color:#b4c4d7;font-size:13px}
.offer-submenu button.selected{background:#203d58;color:#edf4fc;border-left:2px solid #7dbdff}
.offer-submenu button:hover,.offer-group-button:hover{background:#1b3048}
.offer-navy [hidden]{display:none!important}
.offer-navy .grid>.preview-panel{display:none}
.offer-preview-open .grid{grid-template-columns:minmax(0,1fr) minmax(380px,.85fr)}
.offer-preview-open .grid>.preview-panel{display:block}
.offer-preview-open .editor{grid-template-columns:64px minmax(0,1fr)}
.offer-preview-open .offer-rail{padding:14px 6px}
.offer-preview-open .offer-group-button{padding:10px;justify-content:center}
.offer-preview-open .offer-group-name,.offer-preview-open .offer-chevron,.offer-preview-open .offer-group-button .completion,.offer-preview-open .offer-submenu{display:none!important}
.offer-preview-open .form{padding:24px}
.offer-preview-open .offer-number{border-color:#36526d}
.offer-preview-open .offer-group-button[aria-expanded="true"] .offer-number{background:#7dbdff;color:#081322}
.offer-navy .preview-panel{position:sticky;top:16px;max-height:calc(100vh - 32px);border-radius:12px;overflow:hidden}
.offer-navy .preview-head,.offer-navy .preview-toolbar{background:#101f32;color:#b4c4d7;border-color:#293d53;padding:10px 12px;gap:6px;flex-wrap:wrap}
.offer-navy .preview-head{display:flex;align-items:center;justify-content:space-between;text-transform:none;letter-spacing:0}
.offer-navy .preview-toolbar .btn{padding:5px 9px;min-height:28px}
.offer-navy .preview{background:#09121e;padding:16px;height:calc(100vh - 160px);max-height:none;overflow:auto}
.vehicle-section{margin-bottom:24px}
.vehicle-section h3{font:600 15px Inter,Arial,sans-serif;margin:0 0 16px;color:#b5dcff}
.offer-navy #card-vehicle .field-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.offer-preview-open #card-vehicle .field-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.offer-export{width:min(1240px,calc(100vw - 40px));max-height:calc(100vh - 40px);padding:0;background:#101f32;color:#edf4fc;border:1px solid #36526d;border-radius:16px;box-shadow:0 24px 70px #0008;overflow:auto;--text:#edf4fc;--muted:#b4c4d7;--champagne:#7dbdff}
.offer-export::backdrop{background:#040b16bb;backdrop-filter:blur(7px)}
.offer-export-head{display:flex;justify-content:space-between;align-items:center;padding:18px 24px;border-bottom:1px solid #293d53}
.offer-export-head h2{font:650 23px Inter,Arial,sans-serif;margin:0}
.offer-export-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,.95fr);gap:24px;padding:24px}
.offer-navy .offer-export .card{display:block;padding:0;margin:0 0 24px}
.offer-navy .offer-export #card-export{position:static}
.offer-export .preview-panel{position:static;max-height:none;border:1px solid #293d53}
.offer-export .preview{height:calc(100vh - 260px);min-height:360px}
.offer-export .preview-head .btn{display:none}
.offer-navy .summary-row,.offer-navy .quality-check,.offer-navy .issue{background:transparent;border-color:#293d53;color:#b4c4d7}
.offer-navy .summary-grid{gap:0 16px}
.offer-navy .summary-row{padding:9px 0;border-bottom:1px solid #293d53;border-radius:0}
.offer-navy .quality-check{padding:16px 0;border:0;border-top:1px solid #293d53}
.offer-navy .quality-check h3{font:600 16px Inter,Arial,sans-serif;color:#edf4fc}
.offer-navy .issue-error{color:#e87878}
.offer-navy .verify-warning{color:#e2a45f;background:#e2a45f10;border-color:#e2a45f55}
.print-controls{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:center;margin:20px 0}
.print-controls label{grid-column:1/-1}
.offer-navy .draft-popover{background:#101f32;border-color:#293d53;z-index:60}
.offer-print-frame{position:fixed;left:-10000px;top:0;width:794px;height:1123px;border:0}
.offer-navy .form-page.sectioned>.card.section-active .card-body{padding:0}
.offer-navy .form-page.sectioned>.card.section-active .card-body::before{display:none}
.offer-navy .preview-panel .preview{height:calc(100vh - 240px);max-height:calc(100vh - 240px);min-height:300px;flex:none}
.offer-navy #previewShell{--bg:#0d0d0d;--paper:#0f1010;--panel:#151515;--panel-2:#1b1b1b;--line:#2e2e2e;--line-soft:rgba(255,255,255,.12);--text:#f5f3ee;--muted:#a8aaad;--dim:#767a7e;--silver:#e3e6e8;--champagne:#c8b98d}
.offer-navy .offer-export-layout{align-items:start}
.offer-export-settings{min-width:0;max-height:calc(100vh - 190px);overflow:auto;padding-right:8px}
.offer-export .issue-list{max-height:165px;overflow:auto;margin:10px 0;padding:0}
.offer-export .issue{padding:8px 0 8px 10px;font-size:12px;min-height:40px}
.offer-export .issue .btn{padding:6px 9px;min-height:30px;font-size:12px}
.offer-export .summary-row{padding:5px 0;font-size:11px}
.offer-export .quality-check h3{margin:8px 0}
.offer-export .quality-check p{font-size:12px;margin:8px 0}
.offer-navy .offer-export .preview-panel .preview{height:calc(100vh - 310px);max-height:calc(100vh - 310px);min-height:300px}
.offer-export .print-controls{margin:12px 0}
.offer-export #generatePdfBtn{width:100%}
.offer-navy .grid{margin-top:0}
.offer-navy .card-body::before{display:none!important}
.offer-export-footer{display:flex;align-items:center;justify-content:flex-end;gap:12px;position:sticky;bottom:0;background:#101f32;border-top:1px solid #293d53;padding:16px 24px;z-index:2}
.offer-export-footer>.btn:first-child{margin-right:auto}
.export-summary-details{margin-bottom:16px;color:#b4c4d7;font-size:13px}
.export-summary-details>summary{cursor:pointer;padding:6px 0;color:#b5dcff}
.offer-confirm{max-width:min(520px,calc(100vw - 32px));padding:24px;background:#101f32;color:#edf4fc;border:1px solid #36526d;border-radius:14px}
.offer-confirm::backdrop{background:#040b16bb;backdrop-filter:blur(5px)}
.offer-confirm h2{font:600 21px Inter,Arial,sans-serif;margin-top:0}
.offer-confirm p{white-space:pre-line;color:#b4c4d7;font-size:14px;line-height:1.6;max-height:50vh;overflow:auto}
.offer-confirm .btn{margin:8px 8px 0 0}
.offer-export .issue-list{max-height:140px}
.offer-navy .offer-export .quality-check{padding:10px 0}
.offer-navy .offer-export-footer #generatePdfBtn{width:auto}
.offer-export-settings{max-height:calc(100vh - 280px)}
.offer-navy .offer-export .preview-panel .preview{height:calc(100vh - 390px);max-height:calc(100vh - 390px)}
.offer-navy #card-vehicle .field.full{grid-column:auto}
.offer-navy #card-vehicle .field:has(#vehicleName){grid-column:span 2}
.offer-navy .vehicle-section:last-child .field-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.offer-preview-open .vehicle-section:last-child .field-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.offer-navy .offer-export .segmented.three{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:900px){.offer-export-settings{max-height:none;overflow:visible}.offer-export-footer{flex-wrap:wrap}.offer-navy .offer-export .preview-panel .preview{height:55vh;max-height:55vh}.offer-navy .vehicle-section:last-child .field-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.offer-navy #card-vehicle .field:has(#vehicleName){grid-column:auto}.offer-navy .vehicle-section:last-child .field-grid{grid-template-columns:1fr}.offer-export-footer{padding:12px}.offer-export-footer .btn{font-size:12px;padding:9px}.offer-export-footer>.btn:first-child{width:100%}}
.offer-navy .confirm-dialog,.offer-navy .toast{background:#101f32;color:#edf4fc;border-color:#36526d}
@media(max-width:1250px){.offer-vehicle{max-width:210px}.offer-navy .topbar{gap:12px}.offer-navy .editor{grid-template-columns:210px minmax(0,1fr)}.offer-navy .form{padding:24px}.offer-preview-open .editor{grid-template-columns:60px minmax(0,1fr)}.offer-preview-open .grid{grid-template-columns:minmax(0,1fr) minmax(340px,.9fr)}.offer-preview-open .field-grid{grid-template-columns:1fr}.offer-preview-open #card-vehicle .field-grid{grid-template-columns:1fr}}
@media(max-width:900px){.offer-navy .app{width:calc(100% - 24px)}.offer-vehicle{display:none}.offer-navy .brand h1{font-size:22px}.offer-navy .actions{width:100%;justify-content:flex-start}.offer-export-layout{grid-template-columns:1fr}.offer-preview-open .grid{grid-template-columns:1fr}.offer-preview-open .grid>.preview-panel{position:static}.offer-preview-open .field-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.offer-preview-open #card-vehicle .field-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.offer-export .preview{height:65vh}}
@media(max-width:600px){.offer-navy .editor{grid-template-columns:1fr}.offer-rail{border-right:0;border-bottom:1px solid #293d53;border-radius:14px 14px 0 0;padding:10px}.offer-group{margin-bottom:5px}.offer-group-button{padding:7px 10px}.offer-submenu{display:flex;overflow:auto;gap:4px;padding:4px 0}.offer-submenu button{width:auto;flex-shrink:0;gap:12px;border-left:0;border-bottom:1px solid #36526d;border-radius:6px}.offer-navy .form{padding:20px 16px}.offer-navy .field-grid,.offer-navy #card-vehicle .field-grid,.offer-preview-open .field-grid,.offer-preview-open #card-vehicle .field-grid{grid-template-columns:1fr}.offer-preview-open .editor{grid-template-columns:1fr}.offer-preview-open .offer-rail{display:flex;gap:10px}.offer-export-layout{padding:16px}.offer-export{width:calc(100vw - 16px);max-height:calc(100vh - 16px)}.workspace-title{font-size:23px}.offer-navy .brand{min-width:0}.offer-navy .autosave-state{width:100%;margin-bottom:5px}.offer-export-head{padding:14px 16px}}
/* Cardurile navy n-au chenar/rotunjire: overflow:hidden tăia prima literă din etichete (ex. „M” din Moneda). */
.offer-navy .form-page>.card.section-active{overflow:visible}
