:root{color:#182230;background:#f5f7fb;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{color:#182230;background:#f5f7fb;margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer;color:#fff;background:#1677d2;border:0;border-radius:8px;justify-content:center;align-items:center;gap:7px;padding:10px 15px;font-weight:600;display:inline-flex}button:disabled{opacity:.65;cursor:not-allowed}button svg{width:17px}.secondary{color:#3c4b5d;background:#edf1f5}.shell{grid-template-columns:250px minmax(0,1fr);min-height:100vh;display:grid}aside{color:#fff;background:#102a43;flex-direction:column;height:100vh;padding:24px 16px;display:flex;position:sticky;top:0}.logo{align-items:center;gap:11px;padding:8px 10px 30px;font-size:21px;font-weight:700;display:flex}.logo svg{color:#40c4ff}nav{gap:7px;display:grid}nav button{color:#bdcce0;text-align:left;background:0 0;justify-content:flex-start;padding:12px 14px}nav button svg{width:19px}nav button.active,nav button:hover{color:#fff;background:#1e466d}.profile{border-top:1px solid #294761;justify-content:space-between;align-items:center;margin-top:auto;padding:18px 8px 0;display:flex}.profile small,.profile b{display:block}.profile small{color:#a9bfd3;text-transform:capitalize;margin-top:4px}.icon{color:inherit;background:0 0;padding:5px}.content-wrapper{flex-direction:column;min-width:0;min-height:100vh;display:flex}.content-wrapper main{flex:1}main{min-width:0;padding:34px}header{justify-content:space-between;align-items:center;gap:20px;margin-bottom:25px;display:flex}header h1{margin:0 0 6px;font-size:27px}header p,.panel-title p{color:#68778b;margin:0}.cards{grid-template-columns:repeat(5,minmax(150px,1fr));gap:16px;margin-bottom:22px;display:grid}.stat,.panel,.search-panel,.shipment-result-card,.insight-strip{background:#fff;border:1px solid #e6ebf1;border-radius:12px;box-shadow:0 3px 12px #172b4d0b}.stat{justify-content:space-between;padding:20px;display:flex}.stat span{color:#68778b;font-size:13px}.stat strong{margin-top:9px;font-size:27px;display:block}.stat svg{color:#1677d2;box-sizing:content-box;background:#eaf4ff;border-radius:10px;width:27px;padding:8px}.insight-strip{align-items:center;gap:24px;margin-bottom:22px;padding:16px 20px;display:flex}.insight-strip div{gap:2px;display:grid}.insight-strip b{color:#102a43;font-size:21px}.insight-strip span{color:#68778b;font-size:13px}.insight-strip button{margin-left:auto}.panel{margin-bottom:20px;padding:22px;overflow:auto}.panel-title{justify-content:space-between;align-items:center;margin-bottom:17px;display:flex}.panel h2,.panel-title h2{margin:0 0 5px;font-size:18px}table{border-collapse:collapse;width:100%;min-width:760px}th{color:#718096;text-transform:uppercase;letter-spacing:.04em;text-align:left;border-bottom:1px solid #e9edf2;padding:12px;font-size:12px}td{border-bottom:1px solid #edf0f4;padding:14px 12px;font-size:14px}td b,td small{display:block}td small{color:#7a8798;margin-top:4px}.badge{color:#4a596d;text-transform:uppercase;white-space:nowrap;background:#e9eef5;border-radius:20px;padding:5px 8px;font-size:11px;font-weight:700;display:inline-block}.badge.cleared,.badge.paid,.badge.received,.badge.active,.badge.completed{color:#15803d;background:#dcfce7}.badge.pending,.badge.partial,.badge.customs{color:#9a6700;background:#fff7d6}.badge.in_transit,.badge.open,.badge.ordered,.badge.arrived{color:#1261a0;background:#e5f2ff}.badge.overdue,.badge.cancelled,.badge.delayed{color:#b91c1c;background:#fee2e2}.badge.at_port,.badge.out_for_delivery{color:#1261a0;background:#e5f2ff}.empty{text-align:center;color:#7a8798;padding:35px}.toolbar{background:#fff;border:1px solid #e2e8f0;border-radius:9px;align-items:center;max-width:520px;margin-bottom:18px;padding:0 13px;display:flex}.toolbar svg{color:#718096;width:18px}.toolbar input{border:0;outline:0;width:100%;padding:12px}.overlay{z-index:20;background:#0b1b2b99;place-items:center;padding:25px;display:grid;position:fixed;inset:0}.modal{background:#fff;border-radius:13px;width:min(900px,96vw);max-height:91vh;padding:23px;overflow:auto}.modal-head{justify-content:space-between;align-items:center;margin-bottom:18px;display:flex}.modal-head h2{margin:0}.modal-head .icon{color:#5b6878;font-size:27px}.form{grid-template-columns:1fr 1fr;gap:15px;display:grid}.form label,.master-form label,.login-card label,.advanced-filters label{color:#425466;gap:7px;font-size:13px;font-weight:600;display:grid}.form input,.form select,.form textarea,.master-form input,.master-form select,.login-card input,.search-panel input,.search-panel select{background:#fff;border:1px solid #d7dee7;border-radius:7px;outline:none;padding:10px}.form input:focus,.form select:focus,.form textarea:focus,.search-panel input:focus,.search-panel select:focus{border-color:#1677d2;box-shadow:0 0 0 3px #1677d21a}.full{grid-column:1/-1}.actions{justify-content:flex-end;gap:10px;display:flex}.alert{color:#b91c1c;background:#fee2e2;border-radius:7px;padding:10px;font-size:13px}.page-alert{margin-bottom:18px}.login-page{background:linear-gradient(135deg,#102a43,#1f6aa5);place-items:center;min-height:100vh;display:grid}.login-card{background:#fff;border-radius:15px;gap:16px;width:min(390px,92vw);padding:35px;display:grid;box-shadow:0 25px 60px #0005}.login-card h1{text-align:center;margin:0}.login-card>p{text-align:center;color:#718096;margin:-8px 0 8px}.login-card small{text-align:center;color:#718096}.brand-mark{color:#1677d2;background:#e6f4ff;border-radius:50%;margin:auto;padding:14px}.master-grid{grid-template-columns:320px 1fr;gap:20px;display:grid}.master-form{align-content:start;gap:15px;display:grid}.tabs{flex-wrap:wrap;gap:7px;margin-bottom:15px;display:flex}.tabs button{color:#526174;text-transform:capitalize;background:#edf1f5;padding:7px 10px}.tabs button.active{color:#fff;background:#1677d2}.small{padding:6px 10px;font-size:12px}.search-panel{margin-bottom:20px;padding:22px}.search-input-wrap{background:#fff;border:1px solid #d7dee7;border-radius:7px;align-items:center;padding-left:10px;display:flex}.search-input-wrap svg{color:#718096;width:18px}.search-input-wrap input{width:100%;box-shadow:none!important;border:0!important}.search-message{color:#31587f;background:#eef5ff;border:1px solid #d9e9fb;border-radius:9px;margin-bottom:18px;padding:14px 16px}.search-results{gap:16px;display:grid}.result-summary{justify-content:space-between;align-items:center;display:flex}.shipment-result-card{padding:20px}.result-card-header h3{color:#173b6c;margin:3px 0 4px}.result-card-header small{color:#6f7d8f}.eyebrow{color:#7a8798;text-transform:uppercase;letter-spacing:.06em;font-size:11px}.result-grid,.details-grid{grid-template-columns:repeat(4,minmax(140px,1fr));gap:16px;padding-top:16px;display:grid}.details-grid{grid-template-columns:repeat(3,minmax(140px,1fr));padding-top:0}.result-field strong{overflow-wrap:anywhere;font-size:14px;display:block}.card-actions{justify-content:flex-end;margin-top:16px;display:flex}.app-footer{color:#dbe7f3;text-align:center;background:#102a43;border-top:1px solid #294761;flex-wrap:wrap;justify-content:center;align-items:center;gap:10px;padding:14px 24px;font-size:13px;display:flex}.app-footer strong{color:#40c4ff}.footer-separator{opacity:.55}@media (width<=1100px){.cards{grid-template-columns:repeat(2,1fr)}.advanced-filters{grid-template-columns:repeat(3,1fr)}.result-grid,.details-grid{grid-template-columns:repeat(2,1fr)}}@media (width<=760px){.shell{display:block}aside{height:auto;position:static}.logo{padding-bottom:15px}nav{grid-template-columns:repeat(5,1fr)}nav button{justify-content:center;font-size:0}.profile{display:none}main{padding:20px}.cards,.form{grid-template-columns:1fr}.full{grid-column:auto}.master-grid{grid-template-columns:1fr}header{align-items:flex-start;gap:14px}.search-main-row,.advanced-filters,.result-grid,.details-grid{grid-template-columns:1fr}.insight-strip{flex-direction:column;align-items:flex-start}.insight-strip button{margin-left:0}.content-wrapper{min-height:auto}.app-footer{flex-direction:column;gap:4px;padding:12px 16px}.footer-separator{display:none}}.logo img{object-fit:cover;border-radius:9px;width:42px;height:42px}.logo span{font-size:15px;line-height:1.2}.login-logo{border-radius:12px;width:240px;max-width:100%;margin:0 auto 12px;display:block}.small svg{width:14px;height:14px;margin-right:4px}@media print{aside,.no-print,header button,.toolbar,.app-footer{display:none!important}.content-wrapper{margin:0!important}.panel{box-shadow:none;border:0}main{padding:0}body{background:#fff}}button.danger{color:#fff;background:#b42318}td select{border:1px solid #ccd6e0;border-radius:8px;min-width:150px;padding:8px}td button.small{margin:2px}.modal{max-width:1050px}.form textarea{min-height:90px}.badge.draft,.badge.submitted,.badge.approved,.badge.released{font-weight:700}.dashboard-grid{grid-template-columns:1fr 1fr;gap:20px;display:grid}.bar-chart{gap:14px;display:grid}.bar-row{text-transform:capitalize;grid-template-columns:130px 1fr 40px;align-items:center;gap:12px;font-size:13px;display:grid}.bar-track{background:#edf2f7;border-radius:99px;height:13px;overflow:hidden}.bar-fill{background:linear-gradient(90deg,#1677d2,#40c4ff);border-radius:99px;height:100%}.bar-row b{text-align:right}.detail-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;margin-bottom:20px;display:flex}.badge.fulfilled,.badge.completed{color:#15803d;background:#dcfce7}.badge.in_progress,.badge.submitted{color:#1261a0;background:#e5f2ff}.badge.approved{color:#6d28d9;background:#ede9fe}.badge.rejected{color:#b91c1c;background:#fee2e2}@media (width<=900px){.dashboard-grid{grid-template-columns:1fr}.bar-row{grid-template-columns:105px 1fr 32px}}.required-star{color:#d92d20;font-weight:700}.donut-wrap{flex-wrap:wrap;align-items:center;gap:22px;display:flex}.donut{border-radius:50%;flex:none;place-items:center;width:130px;height:130px;display:grid}.donut-hole{text-align:center;background:#fff;border-radius:50%;place-items:center;width:78px;height:78px;display:grid;box-shadow:0 2px 6px #172b4d14}.donut-hole strong{color:#102a43;font-size:19px;display:block}.donut-hole span{color:#68778b;font-size:11px}.donut-legend{color:#425466;text-transform:capitalize;gap:8px;font-size:13px;display:grid}.donut-legend div{align-items:center;gap:8px;display:flex}.donut-legend i{border-radius:3px;flex:none;width:11px;height:11px;display:inline-block}.expand-list{gap:8px;display:grid}.expand-row{border:1px solid #e6ebf1;border-radius:10px;overflow:hidden}.expand-row-head{cursor:pointer;background:#fff;grid-template-columns:1.4fr 1fr 1fr auto auto auto;align-items:center;gap:14px;padding:12px 14px;display:grid}.expand-row-head:hover{background:#f7f9fc}.expand-row-head b{display:block}.expand-row-head small{color:#7a8798}.expand-cell span{color:#7a8798;font-size:11px;display:block}.expand-toggle{color:#68778b;background:0 0;padding:4px 8px}.expand-row-body{background:#f7f9fc;border-top:1px solid #e6ebf1;grid-template-columns:repeat(4,minmax(140px,1fr));gap:14px;padding:14px;display:grid}@media (width<=900px){.expand-row-head{grid-template-columns:1fr 1fr;row-gap:8px}.expand-row-body{grid-template-columns:repeat(2,1fr)}}.validity-alert-head{justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px;font-weight:600;display:flex}.validity-alert-list{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.validity-chip{color:#b91c1c;white-space:nowrap;cursor:pointer;background:#fff;border:1px solid #f3b4b4;border-radius:20px;padding:4px 9px;font-size:12px;font-weight:600}.validity-chip:hover{background:#fef2f2}.link-button{color:#b91c1c;background:0 0;padding:4px 6px;font-size:12px;font-weight:700;text-decoration:underline}.chip-row{flex-wrap:wrap;align-items:center;gap:8px;margin:14px 0;display:flex}.po-chip{color:#1261a0;white-space:nowrap;cursor:pointer;background:#eaf4ff;border:1px solid #b9dcff;border-radius:20px;padding:4px 9px;font-size:12px;font-weight:600}.po-chip:hover{background:#dbeeff}.chart-box{background:#f7f9fc;border:1px solid #e6ebf1;border-radius:10px;padding:18px}.stat-row{grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:14px;margin:14px 0;display:grid}.stat-row .mini-stat{margin:0}.mini-stat{background:#f7f9fc;border:1px solid #e6ebf1;border-radius:10px;padding:14px 16px}.mini-stat span{color:#68778b;margin-bottom:5px;font-size:12px;display:block}.mini-stat strong{color:#102a43;font-size:19px;display:block}.export-bar{border-bottom:1px solid #edf0f4;flex-wrap:wrap;align-items:end;gap:12px;margin-bottom:16px;padding-bottom:16px;display:flex}.export-bar label{color:#425466;gap:4px;font-size:12px;font-weight:600;display:grid}.export-bar input{border:1px solid #d7dee7;border-radius:7px;padding:8px}.export-bar-label{color:#68778b;margin-right:2px;font-size:13px}.export-select{color:#1677d2;cursor:pointer;background:#fff;border:1px solid #d7dee7;border-radius:7px;padding:8px 10px;font-size:13px;font-weight:600}.badge.login,.badge.create,.badge.clear{color:#15803d;background:#dcfce7}.badge.logout,.badge.refresh{color:#1261a0;background:#e5f2ff}.badge.delete{color:#b91c1c;background:#fee2e2}.badge.update,.badge.manual_status{color:#9a6700;background:#fff7d6}.badge.workflow{color:#6d28d9;background:#ede9fe}.badge.print_pdf,.badge.export{color:#4a596d;background:#e9eef5}.live-fetch-bar{background:#f7f9fc;border:1px solid #e6ebf1;border-radius:10px;justify-content:space-between;align-items:center;gap:14px;margin-bottom:16px;padding:14px 16px;display:flex}.live-fetch-bar b{font-size:14px;display:block}.live-fetch-bar small{color:#68778b}.live-fetch-result{color:#425466;align-items:center;gap:10px;margin-bottom:16px;font-size:13px;display:flex}.badge.expired,.badge.exceeded{color:#b91c1c;background:#fee2e2}.badge.upcoming{color:#9a6700;background:#fff7d6}.badge.inactive{color:#4a596d;background:#e9eef5}.license-list{gap:14px;display:grid}.license-row{background:#f7f9fc;border:1px solid #e6ebf1;border-radius:10px;padding:16px 18px}.license-row-head{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:10px;display:flex}.license-row-head b{color:#102a43;font-size:14px;display:block}.license-row-head span{color:#68778b;margin-top:2px;font-size:12px;display:block}.license-row-stats{color:#425466;flex-wrap:wrap;gap:14px 22px;margin-top:10px;font-size:13px;display:flex}.license-row-stats b{color:#102a43}.po-number-preview input[readonly]{color:#173b6c;background:#eef5ff;border-color:#b9d7f2;font-weight:700}.po-number-preview small{color:#718096;font-weight:400}.dashboard-scope{background:#eef5ff;border:1px solid #cfe3f7;border-radius:12px;justify-content:space-between;align-items:center;gap:20px;margin:-5px 0 20px;padding:16px 20px;display:flex}.dashboard-scope>div:first-child{gap:3px;display:grid}.dashboard-scope span{color:#5f7187;text-transform:uppercase;letter-spacing:.06em;font-size:11px}.dashboard-scope strong{color:#173b6c;font-size:19px}.dashboard-scope small{color:#68778b}.dashboard-scope label{color:#425466;gap:6px;font-size:12px;font-weight:600;display:grid}.dashboard-scope select{color:#173b6c;background:#fff;border:1px solid #a9cbe9;border-radius:8px;min-width:210px;padding:9px 11px;font-weight:600}.dashboard-scope-actions{align-items:end;gap:12px;display:flex}.scope-download-icon{color:#1677d2;flex:none;width:20px;height:20px;margin-bottom:9px}@media (width<=960px){.dashboard-scope{flex-direction:column;align-items:stretch}.dashboard-scope-actions{flex-wrap:wrap;align-items:stretch}.dashboard-scope select{width:100%;min-width:0}.dashboard-scope-actions label{flex:230px}.scope-download-icon{display:none}}.global-search{background:#f4f7fb;min-height:100vh;padding:28px}.search-heading{margin-bottom:20px}.search-heading h2{color:#173b6c;margin:0;font-size:28px}.search-heading p{color:#68758a;margin:8px 0 0}.search-form{background:#fff;border-radius:14px;padding:22px;box-shadow:0 5px 22px #173b6c14}.search-main-row{grid-template-columns:190px 1fr auto auto;gap:12px;display:grid}.search-main-row input,.search-main-row select,.advanced-filters input,.advanced-filters select{background:#fff;border:1px solid #ccd5e2;border-radius:8px;width:100%;min-height:44px;padding:10px 12px;font-size:14px}.search-main-row input:focus,.search-main-row select:focus,.advanced-filters input:focus,.advanced-filters select:focus{border-color:#2867b2;outline:2px solid #a8c6f0}.search-button,.clear-button{cursor:pointer;border:0;border-radius:8px;min-height:44px;padding:0 20px;font-weight:600}.search-button{color:#fff;background:#173b6c}.search-button:hover{background:#102d55}.search-button:disabled{opacity:.65;cursor:wait}.clear-button{color:#283649;background:#e8edf4}.advanced-filters{grid-template-columns:repeat(3,minmax(180px,1fr));gap:16px;margin-top:18px;display:grid}.advanced-filters label{color:#4d5b70;gap:7px;font-size:13px;font-weight:600;display:grid}.search-message{color:#795800;background:#fff4d9;border-radius:8px;margin-top:18px;padding:14px 18px}.search-results{margin-top:24px}.result-summary{color:#46556c;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;display:flex}.search-totals{background:#eef4ff;border:1px solid #d5e2f6;border-radius:12px;grid-template-columns:repeat(3,minmax(160px,1fr));gap:14px;margin-bottom:18px;padding:18px;display:grid}.search-totals div{gap:4px;display:grid}.search-totals span{color:#4d5b70;text-transform:uppercase;font-size:12px}.search-totals strong{color:#173b6c;font-size:20px}@media (width<=560px){.search-totals{grid-template-columns:1fr}}.shipment-result-card{background:#fff;border-radius:14px;margin-bottom:18px;padding:22px;box-shadow:0 5px 22px #173b6c14}.result-card-header{border-bottom:1px solid #e7ebf1;justify-content:space-between;align-items:flex-start;padding-bottom:16px;display:flex}.result-card-header .label{color:#768399;text-transform:uppercase;font-size:12px}.result-card-header h3{color:#173b6c;margin:4px 0 0;font-size:22px}.status-badge{color:#445267;background:#e8edf4;border-radius:20px;padding:7px 12px;font-size:12px;font-weight:700}.status-badge.cleared{color:#1a6c37;background:#dff5e7}.status-badge.pending{color:#7f5b00;background:#fff0cf}.status-badge.in-transit{color:#205ca3;background:#e0ecff}.po-summary,.result-grid{grid-template-columns:repeat(4,minmax(150px,1fr));gap:18px;display:grid}.po-summary{padding:18px 0}.shipment-information{border-top:1px solid #e7ebf1;padding-top:14px}.shipment-information h4{color:#27374d;margin:0 0 16px}.result-field{min-width:0}.result-field span{color:#7a8799;margin-bottom:5px;font-size:12px;display:block}.result-field strong{overflow-wrap:anywhere;color:#243247;font-size:14px;display:block}@media (width<=900px){.search-main-row{grid-template-columns:1fr 1fr}.advanced-filters,.po-summary,.result-grid{grid-template-columns:repeat(2,1fr)}}@media (width<=560px){.global-search{padding:16px}.search-main-row,.advanced-filters,.po-summary,.result-grid{grid-template-columns:1fr}.result-card-header{flex-direction:column;gap:12px}}
