.wlst{
  --wlst-primary:#0b2545;--wlst-secondary:#1d6fd8;--wlst-bg:#f3f5f8;--wlst-card:#fff;--wlst-done:#16a34a;
  --wlst-ink:#14213d;--wlst-muted:#667085;--wlst-line:#e3e7ee;
  background:var(--wlst-bg);color:var(--wlst-ink);
  font-family:"Inter","Segoe UI",system-ui,-apple-system,"Helvetica Neue",Arial,sans-serif;
  line-height:1.5;padding:48px 20px;box-sizing:border-box;width:100%;
}
.wlst *,.wlst *::before,.wlst *::after{box-sizing:border-box}
.wlst-inner{max-width:1180px;margin:0 auto}
.wlst-top{max-width:760px}

.wlst-brand{display:flex;align-items:center;gap:12px;margin-bottom:24px}
.wlst-logo{max-height:44px;max-width:180px;width:auto;height:auto;display:block}
.wlst-name{font-weight:600;font-size:17px;color:var(--wlst-primary)}
.wlst .wlst-heading{margin:0;font-size:clamp(28px,4.5vw,40px);line-height:1.15;font-weight:700;letter-spacing:-.02em;color:var(--wlst-primary)}
.wlst .wlst-subtitle{margin:10px 0 0;font-size:17px;color:var(--wlst-muted);max-width:56ch}

.wlst-form{display:flex;margin-top:26px;background:var(--wlst-card);border:1px solid var(--wlst-line);border-radius:10px;padding:6px;box-shadow:0 1px 2px rgba(16,24,40,.04)}
.wlst-form:focus-within{border-color:var(--wlst-secondary);box-shadow:0 0 0 3px color-mix(in srgb,var(--wlst-secondary) 18%,transparent)}
.wlst .wlst-form input[type=text]{flex:1;min-width:0;border:0;background:transparent;box-shadow:none;outline:0;padding:12px 14px;font-size:16px;color:var(--wlst-ink);font-family:inherit}
.wlst .wlst-form button{border:0;border-radius:7px;background:var(--wlst-primary);color:#fff;font-weight:600;font-size:15px;font-family:inherit;padding:0 28px;cursor:pointer;transition:background .15s}
.wlst .wlst-form button:hover{background:var(--wlst-secondary)}
.wlst-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.wlst-notice{margin-top:20px;max-width:760px;background:var(--wlst-card);border:1px solid var(--wlst-line);border-left:4px solid #b42318;border-radius:8px;padding:16px 18px}
.wlst-footer{margin:32px 0 0;text-align:center;font-size:13px;color:var(--wlst-muted)}

/* Report */
.wlst-report{margin-top:26px}
.wlst-printhead{display:none;justify-content:space-between;align-items:center;gap:16px;padding-bottom:14px;margin-bottom:14px;border-bottom:2px solid var(--wlst-primary)}
.wlst-ph-r{text-align:right;display:flex;flex-direction:column}
.wlst-ph-r strong{font-size:18px;color:var(--wlst-primary)}
.wlst-ph-r span{font-size:12px;color:var(--wlst-muted)}
.wlst-toolbar{display:flex;justify-content:flex-end;margin-bottom:12px}
.wlst .wlst-print{display:inline-flex;align-items:center;gap:8px;background:var(--wlst-secondary);color:#fff;border:0;border-radius:8px;padding:10px 18px;font:600 14px/1 inherit;font-family:inherit;cursor:pointer}
.wlst .wlst-print:hover{filter:brightness(.92)}

.wlst-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:16px}
.span-12{grid-column:span 12}.span-8{grid-column:span 8}.span-6{grid-column:span 6}.span-4{grid-column:span 4}.span-3{grid-column:span 3}
.wlst-panel{background:var(--wlst-card);border:1px solid var(--wlst-line);border-radius:10px;overflow:hidden;box-shadow:0 2px 8px rgba(16,24,40,.05);display:flex;flex-direction:column;min-width:0}
.wlst-ph{background:var(--wlst-primary);color:#fff;padding:12px 16px;display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}
.wlst-ph-t{display:flex;align-items:center;gap:10px}
.wlst .wlst-ph h3{margin:0;color:#fff;font-size:15px;font-weight:700;line-height:1.3}
.wlst-ph .wlst-i{flex:none;opacity:.95}
.wlst-pb{padding:16px;flex:1}
.wlst-live{display:inline-flex;align-items:center;gap:7px;font-size:12px;opacity:.95}
.wlst-live i{width:8px;height:8px;border-radius:50%;background:#22c55e;display:block}

.wlst-chip{display:inline-block;padding:2px 11px;border-radius:999px;font-size:12px;font-weight:700;line-height:1.6;color:var(--c);background:color-mix(in srgb,var(--c) 14%,#fff);white-space:nowrap}

.wlst-trk{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:14px}
.wlst-trk-no{background:#eef1f6;border-radius:6px;padding:5px 12px;font-size:14px}
.wlst-kv{margin:0;column-count:2;column-gap:28px}
.wlst-kv>div{display:grid;grid-template-columns:minmax(92px,.9fr) 1.4fr;gap:8px;padding:3px 0;font-size:13.5px;break-inside:avoid}
.wlst-kv dt{margin:0;color:var(--wlst-muted)}
.wlst-kv dd{margin:0;font-weight:600;word-break:break-word}
.wlst-dates{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:10px;border-top:1px solid var(--wlst-line);margin-top:14px;padding-top:12px}
.wlst-dates>div{display:flex;align-items:center;gap:8px;font-size:13px}
.wlst-dates .wlst-i{color:var(--wlst-primary);flex:none}
.wlst-dates small{display:block;color:var(--wlst-muted);font-size:11px;line-height:1.2}
.wlst-dates b{font-size:13px}

.wlst-p-map .wlst-pb{padding:0}
.wlst-mapwrap{position:relative;height:100%;min-height:340px}
.wlst-map{height:100%;min-height:340px;width:100%;background:#cfe3f5}
.wlst-legend{position:absolute;right:10px;bottom:10px;z-index:1000;background:#fff;border-radius:6px;padding:8px 10px;font-size:11px;box-shadow:0 1px 6px rgba(0,0,0,.2);display:flex;flex-direction:column;gap:4px}
.wlst-legend span{display:flex;align-items:center;gap:7px}
.wlst-legend i{display:inline-block;width:16px;height:0;border-top:2px dashed var(--wlst-secondary)}
.wlst-legend i.l-port,.wlst-legend i.l-ves{width:9px;height:9px;border:0;border-radius:50%;background:#16a34a}
.wlst-legend i.l-ves{background:#1d6fd8}
.wlst-tt{font-weight:700;font-size:12px;border:0;box-shadow:0 1px 4px rgba(0,0,0,.25)}

.wlst-jwrap{overflow-x:auto;padding:4px 0 2px}
.wlst-j{list-style:none;margin:0;padding:0;display:flex;min-width:max-content;width:100%}
.wlst-j li{flex:1 0 108px;text-align:center;position:relative;padding:0 4px;display:flex;flex-direction:column;align-items:center}
.wlst-j li::before{content:"";position:absolute;top:13px;left:-50%;width:100%;height:2px;background:var(--wlst-line)}
.wlst-j li:first-child::before{display:none}
.wlst-j li.is-done::before,.wlst-j li.is-current::before{background:var(--wlst-done)}
.wlst-mark{position:relative;z-index:1;width:28px;height:28px;border-radius:50%;background:#fff;border:2px solid #cbd2dc;display:flex;align-items:center;justify-content:center;color:#fff}
.wlst-j li.is-done .wlst-mark{background:var(--wlst-done);border-color:var(--wlst-done)}
.wlst-j li.is-current .wlst-mark{background:var(--wlst-secondary);border-color:var(--wlst-secondary);box-shadow:0 0 0 4px color-mix(in srgb,var(--wlst-secondary) 22%,transparent)}
.wlst-jl{margin-top:8px;font-size:12px;font-weight:600;line-height:1.3}
.wlst-jd{font-size:11px;color:var(--wlst-muted);margin-top:2px}
.wlst-j li:not(.is-done):not(.is-current) .wlst-jl{color:var(--wlst-muted);font-weight:500}

.wlst-tw{overflow-x:auto;margin:-16px}
.wlst-table{width:100%;border-collapse:collapse;font-size:13px}
.wlst-table th{background:#f1f4f9;color:var(--wlst-muted);font-weight:600;text-align:left;padding:10px 12px;white-space:nowrap}
.wlst-table td{padding:10px 12px;border-top:1px solid var(--wlst-line);white-space:nowrap}

.wlst-p-delay .wlst-pb{padding:0}
.wlst-delay{height:100%;display:flex;flex-direction:column}
.wlst-delay.is-late{background:color-mix(in srgb,var(--c) 9%,#fff)}
.wlst-delay.is-ok{background:color-mix(in srgb,var(--c) 7%,#fff)}
.wlst-dtop{display:flex;align-items:center;gap:14px;padding:18px 16px;flex-wrap:wrap}
.wlst-dico{color:var(--c);flex:none}
.wlst-dmain{display:flex;flex-direction:column;line-height:1.15}
.wlst-dmain strong{color:var(--c);font-size:20px}
.wlst-dmain span{color:var(--c);font-size:26px;font-weight:800}
.wlst-dreason{padding-left:14px;border-left:2px solid color-mix(in srgb,var(--c) 40%,transparent);color:var(--c);font-weight:600;font-size:14px;flex:1;min-width:120px}
.wlst-deta{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid var(--wlst-line);background:#fff;margin-top:auto}
.wlst-deta>div{padding:14px;text-align:center;display:flex;flex-direction:column}
.wlst-deta>div+div{border-left:1px solid var(--wlst-line)}
.wlst-deta small{color:var(--wlst-muted);font-size:12px}
.wlst-deta b{font-size:15px}

.wlst-p-details .wlst-kv{column-count:1}
.wlst-p-details .wlst-kv>div{grid-template-columns:1fr 1fr}

.wlst-tl{list-style:none;margin:0;padding:0}
.wlst-tl li{display:grid;grid-template-columns:20px 1fr;gap:14px;position:relative;padding-bottom:18px}
.wlst-tl li:last-child{padding-bottom:0}
.wlst-tl li:not(:last-child)::before{content:"";position:absolute;left:9px;top:20px;bottom:0;width:2px;background:var(--wlst-line)}
.wlst-dot{width:20px;height:20px;border-radius:50%;background:#fff;border:2px solid #cbd2dc;margin-top:2px}
.wlst-tl .st-completed .wlst-dot{background:var(--wlst-done);border-color:var(--wlst-done)}
.wlst-tl .st-in_progress .wlst-dot{background:var(--wlst-secondary);border-color:var(--wlst-secondary);box-shadow:0 0 0 4px color-mix(in srgb,var(--wlst-secondary) 20%,transparent)}
.wlst-tl .st-pending .wlst-t{color:var(--wlst-muted);font-weight:500}
.wlst-tl .wlst-t{font-weight:700;font-size:14.5px}
.wlst-tl .wlst-m{font-size:12.5px;color:var(--wlst-muted)}
.wlst-tl .wlst-rm{font-size:13px;margin-top:2px}

.wlst-note strong{display:block;font-size:16px;margin-bottom:4px}
.wlst-note p{margin:0;color:var(--wlst-muted)}

@media (max-width:900px){
  .span-8,.span-6,.span-4,.span-3{grid-column:span 12}
  .wlst-kv{column-count:1}
}
@media (max-width:560px){
  .wlst{padding:32px 12px}
  .wlst-form{flex-direction:column;gap:6px}
  .wlst .wlst-form button{padding:14px}
  .wlst-toolbar{justify-content:stretch}
  .wlst .wlst-print{width:100%;justify-content:center}
}

/* Printing: used by the clean print window and by Ctrl+P */
.wlst-pw .wlst{background:#fff;padding:12px}
.wlst-pw .wlst-printhead{display:flex}
@media print{
  .wlst-noprint{display:none!important}
  .wlst-printhead{display:flex}
  .wlst{background:#fff!important;padding:0!important}
  .wlst,.wlst *{-webkit-print-color-adjust:exact;print-color-adjust:exact}
  .wlst-panel{break-inside:avoid;box-shadow:none}
  .wlst-grid{gap:10px}
  .wlst-jwrap,.wlst-tw{overflow:visible}
  .wlst-j{min-width:0}
  .wlst-j li{flex:1 1 0;min-width:0}
  .wlst-jl{font-size:10px}
  .wlst-map,.wlst-mapwrap{min-height:260px}
}
