:root{--blue: #0b5ea8;--blue2: #083d6b;--bg: #ffffff;--ink: #0f172a;--muted: #475569;--line: #e5e7eb;--soft: #f3f7fb;--shadow: 0 10px 25px rgba(2, 20, 40, .08);--radius: 16px;--red-light: #fef2f2;--red-text: #991b1b;--nav-bg: #f8fafc;--tab-active-bg: #e2e8f0;--tab-active-text: #0f172a;--tab-hover-bg: #e2e8f0;--tab-inactive-text: #64748b}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;height:100vh;overflow:hidden}.app-container{display:flex;flex-direction:column;height:100vh}.header{display:flex;align-items:center;justify-content:space-between;padding:18px 24px;border-bottom:1px solid var(--line);background:#fff;position:sticky;top:0;z-index:20;flex-shrink:0}.brand{display:flex;align-items:center;gap:14px}.brandTitle{font-weight:800;letter-spacing:.8px;color:var(--blue2);font-size:20px}.brandSub{font-size:12px;color:var(--muted);margin-top:2px}.headerNavContainer{display:flex;align-items:center;gap:16px}.headerNav{display:flex;gap:2px}.navTab{padding:8px 16px;border-radius:8px;border:none;background:transparent;color:var(--tab-inactive-text);font-weight:600;cursor:pointer;transition:all .2s;white-space:nowrap}.navTab:hover{background:var(--tab-hover-bg)}.activeTab{background:var(--tab-active-bg)!important;color:var(--tab-active-text)!important}.userProfile{font-size:13px;font-weight:600;color:var(--blue);padding:6px 12px;background:#eff6ff;border-radius:8px;border:1px solid #dbeafe}.main{flex:1;width:100%;max-width:none;margin:0;padding:clamp(14px,1.4vw,24px);overflow-y:auto;scrollbar-width:thin;scrollbar-color:#cbd5e1 #f8fafc}.main::-webkit-scrollbar{width:8px}.main::-webkit-scrollbar-track{background:#f8fafc}.main::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:4px}.statsGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;margin-bottom:24px}.statCard{background:#fff;border:1px solid var(--line);border-radius:14px;padding:16px;box-shadow:var(--shadow)}.statLabel{font-size:12px;color:var(--muted);margin-bottom:6px}.statValue{font-size:24px;font-weight:800;color:var(--blue2)}.panel{border:1px solid var(--line);border-radius:var(--radius);background:#fff;box-shadow:var(--shadow);overflow:hidden;margin-bottom:24px}.panelHead{display:flex;align-items:center;justify-content:space-between;padding:16px 18px;background:#fff;border-bottom:1px solid var(--line);gap:12px;flex-wrap:wrap}.panelTitle{font-weight:900;color:var(--blue2);font-size:18px}.panelSub{font-size:12px;color:var(--muted);margin-top:4px}.headerActions{display:flex;gap:10px}.searchBar{padding:16px 18px;background:#f8fafc;border-bottom:1px solid var(--line)}.input{width:100%;max-width:400px;border:1px solid var(--line);border-radius:12px;padding:10px 14px;font-size:14px;outline:none;transition:border-color .2s}.input:focus{border-color:var(--blue)}.tableWrap{width:100%;overflow-x:auto;cursor:grab;scrollbar-width:thin;scrollbar-color:#cbd5e1 #f8fafc}.tableWrap::-webkit-scrollbar{height:10px}.tableWrap::-webkit-scrollbar-track{background:#f8fafc}.tableWrap::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:999px}.tableWrapDragging{cursor:grabbing;-webkit-user-select:none;user-select:none}.tableWrapDragging *{-webkit-user-select:none;user-select:none}.table{width:100%;border-collapse:separate;border-spacing:0}.dealsTable{min-width:1380px;table-layout:auto}.dealsTable th,.dealsTable td{padding-left:clamp(8px,.8vw,16px);padding-right:clamp(8px,.8vw,16px)}.dealsTable th:nth-child(1),.dealsTable td:nth-child(1){min-width:210px}.dealsTable th:nth-child(5),.dealsTable td:nth-child(5){min-width:180px;max-width:320px}.dealsTable th:nth-child(14),.dealsTable td:nth-child(14){min-width:170px}.financeTable th:nth-child(1),.financeTable td:nth-child(1),.financeTable th:nth-child(2),.financeTable td:nth-child(2){padding-left:10px;padding-right:10px;white-space:nowrap}@media(max-width:1300px){.dealsTable{min-width:1180px}.dealsTable th,.dealsTable td{padding:11px 8px;font-size:12px}.dealsTable th{font-size:11px}}@media(max-width:900px){.dealsTable{min-width:1040px}}.table th,.table td{padding:14px 16px;border-bottom:1px solid var(--line);text-align:left;font-size:13px}.table th{background:var(--soft);color:var(--blue2);font-weight:700;font-size:12px;text-transform:uppercase;letter-spacing:.5px}.table tr:last-child td{border-bottom:0}.table tr:hover td{background:#f8fafc}.rowOverdue td{background:var(--red-light)}.rowOverdue td:first-child{border-left:4px solid var(--red-text)}.badge{display:inline-block;padding:6px 10px;border-radius:999px;font-size:11px;font-weight:700;border:1px solid transparent;min-width:80px;text-align:center}.badgeGray{background:#f1f5f9;color:#475569;border-color:#cbd5e1}.badgeGreen{background:#ecfdf5;color:#065f46;border-color:#a7f3d0}.badgeYellow{background:#fffbeb;color:#92400e;border-color:#fde68a}.badgeRed{background:#fef2f2;color:#991b1b;border-color:#fecaca}.btnPrimary{border:0;background:var(--blue);color:#fff;border-radius:12px;padding:10px 16px;font-weight:700;cursor:pointer;font-size:13px;box-shadow:0 4px 12px #0b5ea833}.btnPrimary:active{transform:scale(.98)}.btnSecondary{border:1px solid var(--line);background:#fff;color:var(--blue2);border-radius:12px;padding:10px 16px;font-weight:700;cursor:pointer;font-size:13px}.btnGhostSmall{border:1px solid transparent;background:transparent;color:#64748b;border-radius:8px;padding:6px 10px;font-weight:600;cursor:pointer;font-size:12px}.btnGhostSmall:hover{background:#f1f5f9;color:var(--blue2)}.panelFooter{padding:12px 18px;background:#f8fafc;border-top:1px solid var(--line);font-size:12px;color:var(--muted);display:flex;justify-content:space-between}.textMuted{color:var(--muted)}.placeholderSection{text-align:center;padding:40px;border:2px dashed var(--line);border-radius:var(--radius);color:var(--muted)}.placeholderSection h3{color:var(--blue2);margin-top:0}.footer{padding:16px 24px;border-top:1px solid var(--line);color:#64748b;font-size:12px;background:#fff;text-align:center;flex-shrink:0}.modal-overlay{position:fixed;inset:0;background:#0006;display:flex;align-items:center;justify-content:center;z-index:2000;padding:20px}.modal-content{background:#fff;border-radius:16px;width:min(600px,90vw);max-height:90vh;overflow-y:auto;box-shadow:0 20px 40px #0214282e}.quotationFullWidth{width:100%;max-width:none}.mainWide{max-width:none!important;width:100%!important;margin:0!important}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;border-bottom:1px solid var(--line);position:sticky;top:0;background:#fff;z-index:1}.modal-body{padding:20px;display:flex;flex-direction:column;gap:16px}.form-group{display:flex;flex-direction:column;gap:6px}.form-group label{font-size:13px;font-weight:600;color:var(--blue2)}.form-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px}.modal-footer{display:flex;gap:12px;justify-content:flex-end;padding:16px 20px;border-top:1px solid var(--line);background:var(--soft);border-radius:0 0 16px 16px}@media(max-width:768px){.header{flex-direction:column;gap:12px;align-items:flex-start}.headerNavContainer{width:100%;justify-content:space-between}.headerNav{overflow-x:auto;padding-bottom:4px}.panelHead{flex-direction:column;align-items:flex-start;gap:12px}.headerActions{width:100%}.btnPrimary,.btnSecondary{flex:1}.statsGrid{grid-template-columns:1fr 1fr}.modal-content{width:95vw;max-height:95vh}.form-row{grid-template-columns:1fr}.main.mainWide{max-width:none!important;width:100%!important;padding-left:40px;padding-right:40px}}.fiLink{background:transparent;border:none;padding:0;margin:0;color:#0f172a;font-weight:900;cursor:pointer;text-align:left}.fiLink:hover{text-decoration:underline}.fileUploadBox{display:flex;align-items:center;gap:10px;min-height:46px;padding:0 14px;border:1px dashed #93c5fd;border-radius:14px;background:linear-gradient(180deg,#f8fbff,#eef6ff);cursor:pointer;transition:all .18s ease;-webkit-user-select:none;user-select:none}.fileUploadBox:hover{border-color:#3b82f6;background:linear-gradient(180deg,#f0f7ff,#e6f0ff);box-shadow:0 6px 18px #3b82f61f}.fileUploadInput{display:none}.fileUploadIcon{width:28px;height:28px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;background:#dbeafe;font-size:15px;flex-shrink:0}.fileUploadText{font-size:14px;font-weight:700;color:#1e3a8a}.pickedFilesList{margin-top:10px;display:flex;flex-direction:column;gap:6px}.pickedFileItem{display:flex;align-items:center;gap:8px;padding:8px 10px;border:1px solid #dbeafe;border-radius:10px;background:#f8fbff}.pickedFileIcon{font-size:14px;line-height:1}.pickedFileName{font-size:13px;color:#0f172a;word-break:break-word}.ddOverlay{position:fixed;inset:0;background:#0f172a59;display:flex;align-items:flex-start;justify-content:center;z-index:999;padding:18px;overflow:auto}.ddModal{width:100%;max-width:920px;max-height:calc(100vh - 36px);background:#fff;border-radius:16px;box-shadow:0 24px 70px #02061740;overflow:hidden;border:1px solid #e2e8f0;display:flex;flex-direction:column;margin-top:8px}.ddHeader{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:14px 16px;border-bottom:1px solid #e2e8f0;position:sticky;top:0;z-index:2;background:#fff}.ddTitle{font-weight:900;font-size:16px;color:#0f172a}.ddSub{margin-top:4px;font-size:12px;color:#334155;display:flex;gap:10px;align-items:center;flex-wrap:wrap}.ddHeaderRight{display:flex;gap:10px;align-items:center}.ddBtn{border-radius:999px;padding:7px 12px;font-weight:800;border:1px solid #e2e8f0;background:#fff;cursor:pointer;transition:all .15s ease}.ddBtn:hover{transform:translateY(-1px);box-shadow:0 10px 18px #0f172a14}.ddBtn:disabled{opacity:.6;cursor:not-allowed;transform:none;box-shadow:none}.ddBtnGhost{background:#fff;color:#0f172a}.ddBtnPrimary{background:#0b5fff;border-color:#0b5fff;color:#fff}.ddBtnDanger{background:#ef4444;border-color:#ef4444;color:#fff}.ddBtnIcon{width:34px;height:34px;padding:0;font-size:20px;line-height:30px;border-radius:10px;display:grid;place-items:center}.ddBody{flex:1;overflow:auto;-webkit-overflow-scrolling:touch;padding:14px 16px 16px}.ddTopGrid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px}.ddMetric{border:1px solid #e2e8f0;border-radius:14px;padding:11px}.ddMetricLabel{font-size:10px;letter-spacing:.08em;font-weight:900;color:#94a3b8;margin-bottom:6px}.ddMetricValue{font-size:16px;font-weight:900;color:#0f172a;margin-bottom:2px}.ddMetricHint{font-size:11px;color:#94a3b8;font-weight:600}.ddNotesMetric{grid-column:2 / 4}.ddNotesMetricValue{min-height:20px;margin-bottom:2px;color:#0f172a;font-size:14px;font-weight:800;line-height:1.35;white-space:pre-wrap;overflow-wrap:anywhere}.ddSection{margin-top:12px}.ddSectionTitle{font-weight:900;color:#0f172a;margin:10px 2px;font-size:14px}.ddGrid2{display:grid;grid-template-columns:1fr 1fr;gap:12px}.ddFieldCard{border:1px solid #e2e8f0;border-radius:14px;padding:11px}.ddFieldLabel{font-size:10px;letter-spacing:.08em;font-weight:900;color:#94a3b8;margin-bottom:6px}.ddFieldValue{font-size:14px;font-weight:900;color:#0f172a;margin-bottom:2px}.ddFieldHint{font-size:11px;color:#94a3b8;font-weight:600}.ddNotesBox{border:1px solid #e2e8f0;border-radius:14px;padding:12px;font-weight:800;color:#0f172a;min-height:44px;font-size:13px}.ddInlinePanel{margin-top:12px;padding:12px;border:1px solid #e2e8f0;border-radius:14px;background:#fff}.ddInlineTitle{font-weight:900;margin-bottom:10px;font-size:14px}.statusBadge{display:inline-flex;gap:6px;align-items:center;padding:5px 10px;border-radius:999px;font-weight:900;font-size:12px;border:1px solid #e2e8f0}.statusBadge.yellow{background:#fff7ed;border-color:#fed7aa;color:#c2410c}.statusBadge.green{background:#ecfdf5;border-color:#a7f3d0;color:#047857}.statusBadge.red{background:#fef2f2;border-color:#fecaca;color:#b91c1c}.statusBadge.gray{background:#f8fafc;border-color:#e2e8f0;color:#475569}.ddStatusDate{margin-left:6px;opacity:.85;font-weight:900}.ddUploader{border:2px dashed #cbd5f5;border-radius:14px;padding:16px;background:#f8fafc;display:flex;flex-direction:column;gap:12px;transition:all .15s ease}.ddUploader:hover{border-color:#3b82f6;background:#f1f5ff}.ddUploaderInput{display:none}.ddUploaderBtn{background:#2563eb;color:#fff;border-radius:10px;padding:8px 14px;font-weight:800;cursor:pointer;display:inline-block;width:fit-content}.ddUploaderBtn:hover{background:#1d4ed8}.ddUploaderInfo{font-size:12px;color:#64748b;font-weight:700}.ddUploaderActions{display:flex;gap:8px;justify-content:flex-end}.ddFileRow{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 10px;border-radius:12px;background:#f8fafc;border:1px solid #e2e8f0}.ddFileName{font-weight:800;color:#0f172a;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:520px}.ddFileActions{display:flex;gap:8px;align-items:center}.ddFileLink{font-size:12px;color:#2563eb;font-weight:900;text-decoration:none;padding:6px 10px;border-radius:999px;background:#eef2ff;border:1px solid #c7d2fe}.ddFileLink:hover{background:#e0e7ff}.ddFileMuted{font-weight:800;color:#94a3b8;font-size:12px}.ddFileDeleteBtn{font-size:12px;font-weight:900;border-radius:999px;padding:6px 10px;border:1px solid #fecaca;background:#fef2f2;color:#b91c1c;cursor:pointer;transition:all .15s ease}.ddFileDeleteBtn:hover{background:#fee2e2}.ddFileDeleteBtn:disabled{opacity:.6;cursor:not-allowed}.ddConfirmOverlay{position:fixed;inset:0;background:#0f172a66;display:flex;align-items:center;justify-content:center;z-index:2000;padding:16px}.ddConfirmModal{background:#fff;border-radius:14px;padding:20px;width:380px;max-width:100%;box-shadow:0 20px 60px #0003;border:1px solid #e2e8f0}.ddConfirmTitle{font-weight:900;font-size:16px;margin-bottom:10px;color:#0f172a}.ddConfirmText{color:#475569;font-size:13px;margin-bottom:16px;line-height:1.35}.ddConfirmFile{font-weight:900;color:#0f172a}.ddConfirmActions{display:flex;justify-content:flex-end;gap:10px}@media(max-width:860px){.ddTopGrid{grid-template-columns:1fr 1fr}.ddNotesMetric{grid-column:1 / -1}.ddGrid2{grid-template-columns:1fr}.ddFileName{max-width:220px}}.pageWrap{padding:20px;min-height:100%;background:radial-gradient(circle at top,#eef4ff,#f3f4f6 42%,#f1f5f9)}.pageHeader{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:14px}.pageTitle{font-size:24px;font-weight:900;letter-spacing:.2px;color:#0f172a}.pageActions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:flex-end}.btnTopSave{padding:10px 16px;border:1px solid #1d4ed8;background:linear-gradient(180deg,#3b82f6,#2563eb);color:#fff;font-weight:800;border-radius:8px;cursor:pointer;box-shadow:0 8px 18px #2563eb40;transition:transform .12s ease,box-shadow .12s ease;position:relative;z-index:5}.btnTopSave:hover{transform:translateY(-1px)}.btnTopSave:disabled{opacity:.6;cursor:not-allowed;transform:none;box-shadow:none}.topGrid{display:grid;grid-template-columns:1fr;gap:18px;margin-bottom:16px}.block,.offerBlock{background:#fff;border:1px solid #dbe5f1;border-radius:14px;box-shadow:0 10px 30px #0f172a14;overflow:hidden}.blockTop,.offerHead{padding:12px 14px;border-bottom:1px solid #e2e8f0;background:linear-gradient(180deg,#f8fbff,#f1f5fb);display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.blockTopLeft{display:flex;align-items:center;gap:10px;min-width:280px}.offerHeadLeft{display:flex;align-items:center;gap:10px;min-width:280px;flex-wrap:wrap}.blockTitle,.offerHeadTitle{font-weight:900;font-size:18px;color:#0f172a}.blockTopRight,.offerHeadMeta{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.metricChip{display:inline-flex;align-items:center;height:30px;padding:0 10px;border-radius:999px;background:#eaf1fc;border:1px solid #cdddf4;color:#1e3a5f;font-size:12px;font-weight:800;white-space:nowrap}.metricChipAccent{background:#dbeafe;border-color:#93c5fd;color:#1e40af}.supplierInput{height:34px;width:210px;max-width:100%;background:#fff8d6;border:1px solid #e8cc7d;border-radius:8px;padding:0 12px;font-weight:800;color:#1f2937}.supplierInput:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f62e}.supplierNoticeInput{height:34px;width:132px;max-width:100%;background:#fff;border:2px solid #ef4444;border-radius:0;padding:0 10px;font-weight:800;color:#0f172a}.supplierNoticeInput:focus{outline:none;border-color:#dc2626;box-shadow:0 0 0 3px #ef444429}.offerNoticeInput{width:160px}.tableWrap{width:100%;overflow:auto}.tableWrap::-webkit-scrollbar{height:12px;width:12px}.tableWrap::-webkit-scrollbar-thumb{background:#c9d6ea;border-radius:999px;border:2px solid #eef2f8}.tableWrap::-webkit-scrollbar-track{background:#eef2f8}.qTable{width:100%;min-width:1240px;border-collapse:separate;border-spacing:0;table-layout:fixed}.qTable th:nth-child(1),.qTable td:nth-child(1){width:280px}.qTable th:nth-child(2),.qTable td:nth-child(2){width:160px}.qTable th:nth-child(3),.qTable td:nth-child(3){width:120px}.qTable th:nth-child(4),.qTable td:nth-child(4){width:170px}.qTable th:nth-child(5),.qTable td:nth-child(5){width:160px}.qTable th:nth-child(6),.qTable td:nth-child(6){width:185px}.qTableSupplier th:nth-child(7),.qTableSupplier td:nth-child(7){width:230px}.qTableOffer th:nth-child(7),.qTableOffer td:nth-child(7){width:140px}.qTable thead th{position:sticky;top:0;z-index:4;background:linear-gradient(180deg,#e9effa,#dbe6f6);color:#0b2d52;font-weight:900;font-size:13px;padding:12px 10px;border-bottom:1px solid #c8d7ec;border-right:1px solid #c8d7ec;text-transform:uppercase;letter-spacing:.2px;vertical-align:middle}.qTable thead th:first-child{border-left:1px solid #c8d7ec}.thRed{color:#9f1239!important}.thWithControl{display:flex;flex-direction:column;gap:6px}.cellSelectCurrencyHead{max-width:120px;font-size:12px}.qTable tbody td{background:#fff;padding:9px 10px;border-bottom:1px solid #e5edf8;border-right:1px solid #e5edf8;font-size:14px;color:#0f172a;vertical-align:middle;overflow:hidden}.qTable tbody td:first-child{border-left:1px solid #e5edf8}.qTable tbody tr:nth-child(2n):not(.totalRow):not(.emptyRow) td{background:#f9fbff}.qTable tbody tr:hover:not(.totalRow):not(.emptyRow) td{background:#edf4ff}.emptyRow td{padding:14px 12px;color:#64748b;text-align:center;font-style:italic;background:#f8fafc!important}.cellInput,.cellSelect{width:100%;height:36px;border:1px solid #cbd5e1;border-radius:8px;padding:0 10px;outline:none;background:#fff;color:#0f172a;font-size:14px}.cellInput:focus,.cellSelect:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f62e}.cellTotal{text-align:right;font-weight:900;color:#0b3b6f;white-space:nowrap}.actionsCell{display:flex;gap:8px;justify-content:flex-end;align-items:center;white-space:nowrap}.btnMini{height:34px;padding:0 12px;border-radius:8px;border:1px solid transparent;cursor:pointer;font-weight:800;font-size:13px;white-space:nowrap;line-height:1;transition:transform .12s ease,box-shadow .12s ease;position:relative;z-index:5}.btnMini:hover{transform:translateY(-1px)}.btnGreen{background:linear-gradient(180deg,#5fae43,#4f9d35);border-color:#3e7f29;color:#fff;box-shadow:0 6px 14px #4f9d3542}.btnRed{background:linear-gradient(180deg,#ef4444,#dc2626);border-color:#b91c1c;color:#fff;box-shadow:0 6px 14px #dc262640}.btnMini:disabled,.btnGreen:disabled,.btnRed:disabled{opacity:.55;cursor:not-allowed;box-shadow:none;transform:none}.qTable thead th:last-child,.qTable tbody td:last-child{position:sticky;right:0}.qTable thead th:last-child{z-index:5;background:linear-gradient(180deg,#d7e4f8,#cadcf5)}.qTable tbody td:last-child{z-index:2;background:#fff}.qTable tbody tr:nth-child(2n):not(.totalRow):not(.emptyRow) td:last-child{background:#f9fbff}.qTable tbody tr:hover:not(.totalRow):not(.emptyRow) td:last-child{background:#edf4ff}.totalRow td{background:#e8f5ea!important;border-bottom:0;border-right:1px solid #d0e7d2!important;padding:12px 10px!important;font-weight:900}.totalLabel{text-align:right;color:#14532d}.totalValue{text-align:right;font-weight:900;color:#14532d;white-space:nowrap}.totalActions{text-align:right}.totalRow td:last-child{background:#dff0e2!important}@media(min-width:1540px){.topGrid{grid-template-columns:1fr}}@media(max-width:1100px){.pageHeader{flex-direction:column;align-items:flex-start}.pageActions{justify-content:flex-start}.pageTitle{font-size:22px}}@media(max-width:860px){.pageWrap{padding:14px}.blockTitle,.offerHeadTitle{font-size:16px}.supplierInput{width:180px}}.ddmOverlay{position:fixed;inset:0;background:#0f172a59;display:flex;align-items:flex-start;justify-content:center;z-index:999;padding:18px;overflow:auto;-webkit-overflow-scrolling:touch}.ddmModal{width:100%;max-width:980px;max-height:calc(100vh - 36px);max-height:calc(100dvh - 36px);background:#fff;border-radius:16px;box-shadow:0 24px 70px #02061740;overflow:hidden;border:1px solid #e2e8f0;display:flex;flex-direction:column;margin-top:8px}.ddmHeader{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:16px 18px;border-bottom:1px solid #e2e8f0}.ddmHeaderLeft{min-width:0}.ddmHeaderRight{display:flex;gap:10px;align-items:center}.ddmTitle{font-weight:900;font-size:18px;color:#0f172a}.ddmSubRow{margin-top:4px;font-size:13px;color:#334155;display:flex;gap:10px;align-items:center;flex-wrap:wrap}.ddmSubText{font-weight:800;color:#334155}.ddmCloseGhost{width:34px;height:34px;padding:0;font-size:16px;line-height:30px;border-radius:10px;display:grid;place-items:center;cursor:pointer;background:#fff;border:1px solid #e2e8f0;color:#0f172a}.ddmCloseGhost:hover{background:#f8fafc}.ddmBody{flex:1;overflow:auto;-webkit-overflow-scrolling:touch;padding:14px 16px 18px}.ddmKpiGrid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px}.ddmSection{margin-top:12px}.ddmSectionHead{display:flex;align-items:center;gap:10px;margin:10px 2px}.ddmSectionTitle{font-weight:900;color:#0f172a;white-space:nowrap}.ddmSectionLine{height:1px;background:#e2e8f0;width:100%}.ddmGrid2{display:grid;grid-template-columns:1fr 1fr;gap:12px}.ddmInvoiceGrid{gap:8px}.ddmField{border:1px solid #e2e8f0;border-radius:14px;padding:12px;background:#fff}.ddmLabel{font-size:10px;letter-spacing:.08em;font-weight:900;color:#94a3b8;margin-bottom:6px}.ddmValue{font-size:16px;font-weight:900;color:#0f172a;margin-bottom:2px;word-break:break-word}.ddmHint{font-size:12px;color:#94a3b8;font-weight:600;margin-top:2px}.ddmMoney{font-size:18px}.ddmMoneyHighlight{color:#0f766e}.ddmNotes{border:1px solid #e2e8f0;border-radius:14px;padding:12px;font-weight:800;color:#0f172a;min-height:44px;background:#fff;white-space:pre-wrap}.ddmBadge{display:inline-flex;gap:6px;align-items:center;padding:5px 10px;border-radius:999px;font-weight:900;font-size:12px;border:1px solid #e2e8f0}.ddmBadgeDate{margin-left:6px;opacity:.85;font-weight:900}.ddmBadge-gray{background:#f8fafc;border-color:#e2e8f0;color:#475569}.ddmBadge-green{background:#ecfdf5;border-color:#a7f3d0;color:#047857}.ddmBadge-red{background:#fef2f2;border-color:#fecaca;color:#b91c1c}.ddmBadge-yellow{background:#fff7ed;border-color:#fed7aa;color:#c2410c}.input{width:100%;border:1px solid #e2e8f0;border-radius:12px;padding:10px 12px;font-weight:800;color:#0f172a;outline:none;background:#fff}.input:focus{border-color:#93c5fd;box-shadow:0 0 0 3px #3b82f626}.btnPrimary{border-radius:999px;padding:8px 14px;font-weight:900;border:1px solid #0b5fff;background:#0b5fff;color:#fff;cursor:pointer}.btnSecondary{border-radius:999px;padding:8px 14px;font-weight:900;border:1px solid #e2e8f0;background:#fff;color:#0f172a;cursor:pointer}.btnSecondary:hover{background:#f8fafc}@media(max-width:860px){.ddmKpiGrid{grid-template-columns:1fr 1fr}.ddmGrid2{grid-template-columns:1fr}}.fiWrap{padding:18px;background:#f6f8ff;min-height:100vh;color:#0f172a;font-family:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif}.fiTopBar{position:sticky;top:10px;z-index:50;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border-radius:14px;background:#ffffffeb;border:1px solid #e5e7eb;box-shadow:0 10px 30px #02061714;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.fiBack{border:1px solid #e5e7eb;background:#fff;color:#0f172a;padding:8px 10px;border-radius:10px;cursor:pointer;font-weight:800}.fiTopRight{display:flex;align-items:center;gap:10px}.fiBtn{border:1px solid #0ea5e9;background:linear-gradient(180deg,#38bdf8,#0ea5e9);color:#fff;padding:8px 14px;border-radius:10px;cursor:pointer;font-weight:900;box-shadow:0 12px 30px #0ea5e933}.fiBtn:disabled{opacity:.6;cursor:not-allowed}.fiError{margin-top:12px;padding:10px 12px;border-radius:12px;border:1px solid #fecaca;background:#fef2f2;color:#dc2626;font-weight:800}.fiSheet{margin:18px auto 24px;max-width:1180px;background:#fff;border:1px solid #e5e7eb;border-radius:18px;box-shadow:0 18px 70px #0206171a;overflow:hidden}.fiHeader{display:grid;grid-template-columns:240px 1fr 240px;gap:16px;padding:16px 18px;background:linear-gradient(180deg,#fff,#f8fafc);border-bottom:1px solid #e5e7eb}.fiLogoBox{border-right:1px solid #e5e7eb;padding-right:14px}.fiLogoMark{font-weight:950;letter-spacing:.5px;font-size:22px}.fiLogoSub{margin-top:4px;color:#64748b;font-weight:700;font-size:12px;line-height:1.2}.fiCompany{padding-top:2px}.fiCompanyName{font-weight:950;font-size:15px}.fiCompanyLine{color:#334155;font-size:12.5px;margin-top:2px}.fiTopBadge{align-self:start;justify-self:end;width:240px;border:1px solid #e5e7eb;background:#fff;border-radius:14px;padding:10px 12px;box-shadow:0 10px 24px #0206170f}.fiTopBadgeRow{display:flex;justify-content:space-between;gap:10px;font-size:13px;color:#0f172a;font-weight:800}.fiTopBadgeRow+.fiTopBadgeRow{margin-top:6px;padding-top:6px;border-top:1px solid #eef2f7}.fiTitleBlock{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 18px;background:linear-gradient(90deg,#1d4ed8,#2563eb 55%,#60a5fa);border-bottom:1px solid rgba(2,6,23,.08)}.fiTitle{font-weight:950;letter-spacing:.6px;color:#0f172a;font-size:18px;text-transform:uppercase}.fiTitleMeta{font-weight:900;color:#0f172a;opacity:.95}.fiGrid{padding:16px 18px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.fiGrid3{padding:16px 18px 18px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.fiField{background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:12px;box-shadow:0 10px 28px #0206170a;min-width:0}.fiField.fiSpan2{grid-column:span 2}.fiFieldFlat{box-shadow:none;background:#fff}.fiLabel{font-size:12px;color:#475569;font-weight:800;margin-bottom:6px}.fiMiniLabel{font-size:12px;color:#475569;font-weight:900;margin-bottom:6px}.fiHint{margin-top:6px;font-size:11.5px;color:#64748b;font-weight:700}.fiInput,.fiTextarea,.fiReadonly,select.fiInput{width:100%;box-sizing:border-box;border-radius:10px;border:1px solid #dbe3f0;background:#fbfdff;padding:9px 10px;outline:none;color:#0f172a;font-weight:800}.fiTextarea{resize:vertical;min-height:86px;line-height:1.25;font-weight:800}.fiReadonly{background:#f1f5f9;border-color:#e5e7eb}.fiInput:focus,.fiTextarea:focus{border-color:#60a5fa;box-shadow:0 0 0 3px #60a5fa40}select.fiInput{cursor:pointer}.fiSectionFull{grid-column:1 / -1;background:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:12px;box-shadow:0 10px 28px #0206170a}.fiSectionTitle{font-weight:950;letter-spacing:.5px;color:#0f172a;font-size:14px;margin-bottom:10px}.fiVesselRow{display:grid;grid-template-columns:1.3fr 1fr 1fr 1fr;gap:10px}.fiVesselCell{min-width:0}.fiGrid3Inner{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.fiGrid2Inner{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:10px}.fiCheck{display:inline-flex;align-items:center;gap:8px;font-weight:900;color:#0f172a}.fiCheck input{width:16px;height:16px}.fiToggleBtn{margin-left:10px;border:1px solid #cbd5e1;background:#fff;color:#0f172a;font-weight:900;border-radius:10px;padding:7px 10px;cursor:pointer}.fiToggleBtnActive{background:#dbeafe;border-color:#60a5fa;color:#1e3a8a}.fiTableTop{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.fiTableTitle{font-weight:950;letter-spacing:.3px}.fiMiniBtn{border:1px solid #e5e7eb;background:#fff;color:#0f172a;font-weight:900;padding:8px 10px;border-radius:10px;cursor:pointer}.fiMiniBtn:hover{background:#f8fafc}.fiTable{width:100%;border-collapse:separate;border-spacing:0;overflow:hidden;border-radius:14px;border:1px solid #e5e7eb}.fiTable thead th{background:#f8fafc;color:#0f172a;font-weight:950;font-size:13px;text-align:left;padding:10px;border-bottom:1px solid #e5e7eb}.fiTable tbody td{padding:8px 10px;border-bottom:1px solid #eef2f7;vertical-align:middle;font-weight:800;color:#0f172a}.fiTable tbody tr:last-child td{border-bottom:none}.fiCellInput,.fiCellInputLeft{width:100%;box-sizing:border-box;border-radius:10px;border:1px solid #dbe3f0;background:#fbfdff;padding:8px 9px;outline:none;font-weight:800}.fiCellInput{text-align:right}.fiCellInputLeft{text-align:left}.fiCellInput:focus,.fiCellInputLeft:focus{border-color:#60a5fa;box-shadow:0 0 0 3px #60a5fa40}.fiRight{text-align:right}.fiMiniDanger{border:1px solid #fecaca;background:#fff;color:#dc2626;font-weight:950;padding:6px 9px;border-radius:10px;cursor:pointer}.fiMiniDanger:hover{background:#fef2f2}.fiBottomRow{grid-column:1 / -1;display:grid;grid-template-columns:1.4fr .9fr;gap:12px;align-items:start}.fiBottomLeft{background:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:12px;box-shadow:0 10px 28px #0206170a}.fiNoteTitle{font-weight:950;margin-bottom:6px}.fiNoteText{color:#475569;font-weight:750;font-size:13px}.fiTotalsCard{background:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:12px;box-shadow:0 10px 28px #0206170a}.fiTotalsTitle{font-weight:950;letter-spacing:.5px;margin-bottom:10px}.fiTotalsLine{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:7px 0;font-weight:850;color:#0f172a}.fiTotalsLine span{color:#475569;font-weight:800}.fiTotalsDivider{height:1px;background:#eef2f7;margin:8px 0}.fiTotalsInput{width:140px;text-align:right;border-radius:10px;border:1px solid #dbe3f0;background:#fbfdff;padding:8px 9px;outline:none;font-weight:900}.fiTotalsSelect{width:160px;border-radius:10px;border:1px solid #dbe3f0;background:#fbfdff;padding:8px 9px;outline:none;font-weight:900;color:#0f172a}.fiTotalsInput:focus{border-color:#60a5fa;box-shadow:0 0 0 3px #60a5fa40}.fiTotalsSelect:focus{border-color:#60a5fa;box-shadow:0 0 0 3px #60a5fa40}.fiAccountGrid{display:grid;grid-template-columns:1fr 1fr;gap:10px 18px}.fiAccountRow{display:flex;justify-content:space-between;gap:12px;padding:8px 10px;border-radius:12px;border:1px solid #eef2f7;background:#fbfdff;font-weight:850}.fiAccountRow span{color:#475569;font-weight:800}.fiAccountRow b{color:#0f172a;font-weight:950}.fiFooterGrid{display:grid;grid-template-columns:1.3fr .7fr;gap:12px;padding:16px 18px 18px}.fiNote,.fiAccount{background:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:12px;box-shadow:0 10px 28px #0206170a}.fiAccountTitle{font-weight:950;letter-spacing:.5px;margin-bottom:10px}@media(max-width:1100px){.fiHeader{grid-template-columns:220px 1fr}.fiTopBadge{grid-column:1 / -1;justify-self:start;width:100%}.fiVesselRow{grid-template-columns:repeat(2,minmax(0,1fr))}.fiGrid3Inner,.fiGrid2Inner,.fiBottomRow,.fiAccountGrid{grid-template-columns:1fr}}@media(max-width:760px){.fiGrid3,.fiHeader{grid-template-columns:1fr}.fiLogoBox{border-right:none;padding-right:0;border-bottom:1px solid #e5e7eb;padding-bottom:10px}}.settingsPage{display:flex;flex-direction:column;gap:14px}.settingsHead h2{margin:0;color:#0f172a}.settingsSub{margin-top:4px;color:#64748b;font-size:13px}.settingsTabs{display:flex;gap:8px;flex-wrap:wrap}.settingsTab{border:1px solid #d5dfec;background:#f8fbff;color:#1e3a5f;border-radius:10px;padding:8px 12px;font-weight:700;cursor:pointer}.settingsTab.active{border-color:#7aa5e6;background:#eaf2ff}.settingsCard{background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:16px;box-shadow:0 6px 18px #11182714}.settingsCardTitle{font-size:18px;font-weight:800;color:#0f172a}.settingsHint{margin-top:6px;color:#64748b;font-size:13px}.settingsError,.settingsSuccess{margin-top:12px;padding:10px 12px;border-radius:10px;font-size:13px;font-weight:700}.settingsError{background:#fef2f2;border:1px solid #fecaca;color:#dc2626}.settingsSuccess{background:#ecfdf5;border:1px solid #a7f3d0;color:#059669}.settingsForm{margin-top:14px;display:grid;grid-template-columns:repeat(2,minmax(240px,1fr));gap:12px}.settingsForm label{display:flex;flex-direction:column;gap:6px}.settingsForm label span{font-size:12px;color:#334155;font-weight:700}.settingsForm input[type=text],.settingsForm input[type=password],.settingsForm input[type=email],.settingsForm input:not([type]){border:1px solid #cbd5e1;border-radius:10px;padding:10px 12px;font-size:14px;outline:none}.settingsForm input[type=text]:focus,.settingsForm input[type=password]:focus,.settingsForm input[type=email]:focus,.settingsForm input:not([type]):focus{border-color:#7aa5e6;box-shadow:0 0 0 3px #3b82f626}.settingsRoles{grid-column:1 / -1;border:1px solid #e2e8f0;border-radius:10px;padding:10px 12px;background:#f8fafc}.settingsRolesLabel{font-size:12px;color:#334155;font-weight:700;margin-bottom:8px}.settingsRolesList{display:flex;flex-wrap:wrap;gap:10px}.settingsRoleItem{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:#0f172a;font-weight:600}.settingsEnabled{grid-column:1 / -1;display:inline-flex!important;flex-direction:row!important;align-items:center;gap:8px!important}.settingsActions{grid-column:1 / -1;display:flex;gap:10px}.settingsResult{margin-top:14px;border:1px solid #e2e8f0;background:#f8fafc;border-radius:10px;padding:10px 12px;display:grid;gap:6px;font-size:13px}.settingsUsersTop{margin-top:14px;display:flex;gap:10px;align-items:center;flex-wrap:wrap}.settingsSearch{min-width:320px;flex:1;border:1px solid #cbd5e1;border-radius:10px;padding:10px 12px;font-size:14px;outline:none}.settingsSearch:focus{border-color:#7aa5e6;box-shadow:0 0 0 3px #3b82f626}.settingsUsersTableWrap{margin-top:12px;border:1px solid #e2e8f0;border-radius:10px;overflow:auto}.settingsUsersTable{width:100%;border-collapse:collapse;min-width:860px}.settingsUsersTable th,.settingsUsersTable td{border-bottom:1px solid #e5edf8;padding:10px;text-align:left;font-size:13px;color:#0f172a;vertical-align:middle}.settingsUsersTable th{background:#f8fafc;font-weight:800;color:#1e3a5f}.settingsUsersEmpty{text-align:center!important;color:#64748b!important}.settingsUsersActions{display:flex;gap:8px;align-items:center}.settingsStatus{display:inline-flex;align-items:center;justify-content:center;min-width:78px;height:26px;border-radius:999px;padding:0 10px;font-size:12px;font-weight:700;border:1px solid transparent}.settingsStatus.enabled{background:#ecfdf5;border-color:#a7f3d0;color:#047857}.settingsStatus.disabled{background:#fef2f2;border-color:#fecaca;color:#b91c1c}.settingsResetBox{margin-top:14px;border:1px solid #dbe5f1;border-radius:10px;background:#f8fbff;padding:12px}.settingsResetTitle{font-size:14px;font-weight:800;color:#1e3a5f}.settingsResetForm{margin-top:10px;display:grid;gap:10px}.settingsResetForm input[type=password]{border:1px solid #cbd5e1;border-radius:10px;padding:10px 12px;font-size:14px;outline:none}.settingsResetForm input[type=password]:focus{border-color:#7aa5e6;box-shadow:0 0 0 3px #3b82f626}.settingsResetForm label{display:inline-flex;gap:8px;align-items:center;color:#334155;font-size:13px;font-weight:600}.settingsEditBox{margin-top:14px;border:1px solid #dbe5f1;border-radius:10px;background:#f6fbff;padding:12px}.settingsEditForm{margin-top:10px;display:grid;grid-template-columns:repeat(2,minmax(220px,1fr));gap:10px}.settingsEditForm label{display:flex;flex-direction:column;gap:6px}.settingsEditForm label span{font-size:12px;color:#334155;font-weight:700}.settingsEditForm input[type=text],.settingsEditForm input[type=email],.settingsEditForm input:not([type]){border:1px solid #cbd5e1;border-radius:10px;padding:10px 12px;font-size:14px;outline:none}.settingsEditForm input[type=text]:focus,.settingsEditForm input[type=email]:focus,.settingsEditForm input:not([type]):focus{border-color:#7aa5e6;box-shadow:0 0 0 3px #3b82f626}.settingsEnabledInline{grid-column:1 / -1;display:inline-flex!important;flex-direction:row!important;align-items:center;gap:8px!important}.settingsRolesCompact{margin-top:0}@media(max-width:760px){.settingsForm{grid-template-columns:1fr}.settingsSearch{min-width:0;width:100%}.settingsEditForm{grid-template-columns:1fr}}
