/* Look follows the company's operations board: rounded sidebar card, pill filters,
   dark summary strip, segmented tabs, two-line table rows with small tags. */
:root {
  --text: #101828;
  --muted: #667085;
  --line: #EAECF0;
  --line-strong: #D0D5DD;
  --soft: #F6F7F9;
  --blue: #2F6BEA;
  --blue-dark: #1F56C7;
  --navy: #0B1220;
  --red: #E5484D;
  --green: #16A34A;
  color-scheme: light;
  accent-color: #2F6BEA;
}
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; background: #fff; }
body {
  display: flex; gap: 6px; padding: 6px; color: var(--text);
  font: 13px/1.35 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-feature-settings: "tnum";
}
a { color: inherit; text-decoration: none; }
h1 { font-size: 13px; margin: 0; font-weight: 700; white-space: nowrap; }
h2 { font-size: 13px; margin: 0 0 6px; font-weight: 650; }
svg.i { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* sidebar card */
#nav { width: 214px; flex: none; height: calc(100vh - 12px); display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 10px; padding: 12px 8px 8px; overflow-y: auto; }
body.nav-off #nav { display: none; }
.nav-brand { font-weight: 700; font-size: 14px; line-height: 1.2; padding: 2px 6px 14px; }
.nav-sec-h { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 8px; background: none; border: 0; font: inherit; font-size: 12px; font-weight: 500; letter-spacing: .02em; color: #475467; text-transform: uppercase; cursor: pointer; }
.nav-sec-h svg { width: 13px; height: 13px; }
.nav-sec-body { background: var(--soft); border-radius: 8px; padding: 6px; }
.nav-sec.closed .nav-sec-body { display: none; }
.nav-link { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 7px; color: #1D2939; font-size: 12.5px; font-weight: 500; margin-bottom: 2px; }
.nav-link:last-child { margin-bottom: 0; }
.nav-link:hover { background: var(--line); }
.nav-link.active { background: var(--blue); color: #fff; font-weight: 600; }
.nav-count { margin-left: auto; background: var(--red); color: #fff; font-size: 11px; font-weight: 700; line-height: 16px; min-width: 18px; text-align: center; padding: 0 5px; border-radius: 9px; animation: blink 1.1s infinite; }
.nav-foot { margin-top: auto; }
.nav-demo { padding: 8px 6px; font-size: 11.5px; color: var(--muted); }
.nav-demo p { margin: 0 0 3px; }
.nav-user { position: relative; display: flex; align-items: center; gap: 8px; padding: 8px 6px 2px; border-top: 1px solid var(--line); }
.avatar { width: 30px; height: 30px; flex: none; border: 1px solid var(--line); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 600; background: var(--soft); }
.nav-user-t { min-width: 0; flex: 1; }
.nav-user-t b { display: block; font-weight: 600; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav-user-t span { font-size: 11.5px; color: var(--muted); }
.nav-user select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }

/* main */
#main { flex: 1; min-width: 0; height: calc(100vh - 12px); display: flex; flex-direction: column; }
.topbar { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 2px 0 8px; flex: none; }
.topbar-r { margin-left: auto; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }

/* controls */
input, select, textarea { font: inherit; color: var(--text); border: 1px solid var(--line); border-radius: 8px; padding: 0 9px; background-color: #fff; height: 32px; }
select { appearance: none; -webkit-appearance: none; padding-right: 26px; font-weight: 500; background-repeat: no-repeat; background-position: right 8px center; background-size: 13px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23667085' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 15 5 5 5-5'/%3E%3Cpath d='m7 9 5-5 5 5'/%3E%3C/svg%3E"); }
.topbar select { min-width: 132px; max-width: 170px; }
.topbar select.wide { min-width: 180px; max-width: 240px; }
textarea { height: auto; padding: 6px 9px; resize: vertical; width: 100%; }
input[type=checkbox] { height: auto; margin: 0; }
input[type=date] { width: 128px; }
input::placeholder { color: var(--muted); }
input:focus-visible, select:focus-visible, textarea:focus-visible, button:focus-visible, a:focus-visible { outline: 2px solid var(--blue); outline-offset: 1px; }
input:disabled, select:disabled { background-color: var(--soft); color: var(--muted); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 32px; font: inherit; font-weight: 500; white-space: nowrap; cursor: pointer; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--text); padding: 0 11px; }
.btn:hover { background: var(--soft); }
.btn.sm { height: 25px; padding: 0 8px; font-size: 11.5px; border-radius: 5px; border-color: var(--line-strong); }
.btn.primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn.primary:hover { background: var(--blue-dark); }
.btn.danger { background: var(--red); border-color: var(--red); color: #fff; }
.btn.link { border: 0; background: none; padding: 0; height: auto; color: var(--blue); font-size: 11.5px; }
.btn:disabled, .btn.off { color: #98A2B3; cursor: default; background: #fff; }
.icon-btn { width: 32px; padding: 0; }

/* dark summary strip */
.strip { flex: none; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; min-height: 49px; padding: 7px 14px; background: var(--navy); color: #fff; border-radius: 8px; margin-bottom: 8px; }
.strip-b { padding-right: 22px; border-right: 1px solid #2A3345; }
.strip-t { font-weight: 700; font-size: 13px; white-space: nowrap; }
.live { color: #34D399; font-weight: 500; font-size: 11.5px; margin-left: 8px; }
.live::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #34D399; margin-right: 4px; vertical-align: 1px; }
.strip-s { font-size: 11.5px; color: #98A2B3; white-space: nowrap; }
.stat b { display: block; font-size: 17px; font-weight: 700; line-height: 1.15; }
.stat span { font-size: 10px; letter-spacing: .03em; color: #98A2B3; text-transform: uppercase; white-space: nowrap; }
.stat.hot b { color: #FF6B6B; }
.strip-a { margin-left: auto; }

/* tabs and search */
.tabsrow { flex: none; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 8px; }
.seg { display: flex; background: var(--soft); border-radius: 8px; padding: 3px; overflow-x: auto; }
.seg:empty { display: none; }
.view { background: none; border: 0; border-radius: 6px; padding: 4px 10px; font: inherit; font-weight: 500; color: #1D2939; cursor: pointer; white-space: nowrap; }
.view b { font-weight: 400; font-size: 11px; margin-left: 7px; color: var(--muted); }
.view:hover { background: var(--line); }
.view.active { background: #fff; font-weight: 600; box-shadow: 0 0 0 1px var(--line); }
.search { position: relative; display: inline-flex; align-items: center; }
.search svg { position: absolute; left: 10px; color: var(--muted); pointer-events: none; }
.search input { width: 240px; padding-left: 32px; border-style: dashed; border-color: var(--line-strong); }
.tabsrow label { display: flex; align-items: center; gap: 5px; color: var(--muted); }

/* table card */
.grid-host { flex: 1; min-height: 0; display: flex; }
.grid { position: relative; flex: 1; min-width: 0; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.gscroll { flex: 1; min-height: 0; overflow: auto; }
.gt { border-collapse: separate; border-spacing: 0; table-layout: fixed; font-size: 12.5px; }
.gt th, .gt td { height: 40px; padding: 0 8px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; background: #fff; }
.gt thead th { position: sticky; top: 0; z-index: 3; height: 37px; font-size: 12px; font-weight: 600; color: #1D2939; }
.gt tbody tr:hover td { background: #FAFBFC; }
.gt tbody tr.sel td { background: #EEF4FF; }
.gt .num { text-align: right; }
.gt .gsel { position: sticky; left: 0; z-index: 2; padding: 0; text-align: center; font-weight: 600; }
.gt thead .gsel { z-index: 5; }
.gsel input { display: none; }
tr:hover > .gsel input, tr.sel > .gsel input, .has-sel .gsel input, .gsel input:focus-visible { display: inline-block; }
tr:hover > .gsel .rownum, tr.sel > .gsel .rownum, .has-sel .gsel .rownum { display: none; }
.gt .gstick { position: sticky; z-index: 2; }
.gt thead .gstick { z-index: 4; }
.gt tfoot td { position: sticky; bottom: 0; z-index: 2; font-weight: 650; border-top: 1px solid var(--line-strong); border-bottom: 0; }
.gt tfoot .gsel, .gt tfoot .gstick { z-index: 3; }
.gt td:focus { outline: 2px solid var(--blue); outline-offset: -2px; }
.gh { cursor: pointer; user-select: none; display: inline-flex; align-items: center; gap: 4px; }
.si { color: #475467; display: inline-flex; font-style: normal; font-size: 9px; }
.si svg { width: 12px; height: 12px; }
.si.on { color: var(--blue); }
.rz { position: absolute; top: 0; right: 0; width: 5px; height: 100%; cursor: col-resize; }
.rz:hover { background: var(--line); }
.gt td.editable { cursor: cell; }
.gt tbody tr td.editable:hover { box-shadow: inset 0 0 0 1px #A9C4F5; }
.gt td.locked { cursor: not-allowed; }
.gt td.editing { padding: 0; overflow: visible; }
.gin { width: 100%; height: 38px; border: 0; border-radius: 0; outline: 2px solid var(--blue); outline-offset: -2px; }
.gempty { padding: 26px 16px; color: var(--muted); text-align: center; }
.gcols { position: absolute; top: 7px; right: 8px; z-index: 7; width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center; background: #fff; border: 0; border-radius: 5px; color: #475467; cursor: pointer; }
.gcols:hover { background: var(--soft); }
.gbulk { display: flex; align-items: center; gap: 8px; padding: 6px 10px; background: #EEF4FF; flex: none; }
.gbulk ~ .gcols { top: 45px; }
.gfoot { display: flex; align-items: center; gap: 14px; padding: 3px 10px; border-top: 1px solid var(--line); font-size: 12px; color: #344054; flex: none; min-height: 30px; }
.ghint { color: var(--muted); }
.gpager { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.gpager select { height: 25px; border-radius: 5px; }
.gpop { position: absolute; right: 8px; top: 34px; z-index: 10; width: 200px; max-height: 70%; overflow: auto; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; box-shadow: 0 4px 14px rgba(16, 24, 40, .1); }
.gpop-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.gpop label { display: flex; gap: 7px; align-items: center; padding: 3px 0; }

/* two-line cells */
.l1, .l2 { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.l1 { font-weight: 500; line-height: 17px; }
.l2 { font-size: 11.5px; line-height: 15px; color: var(--muted); }
.l2 b { font-size: 12.5px; color: var(--text); font-weight: 600; margin-right: 4px; }
.sub { color: var(--muted); }

/* small tags */
.tag { display: inline-block; font-size: 11px; font-weight: 500; line-height: 16px; padding: 0 6px; border-radius: 4px; border: 1px solid transparent; white-space: nowrap; }
.t-outline { background: #fff; border-color: var(--line); color: #344054; }
.t-plain { background: var(--soft); color: #344054; }
.t-amber { background: #FFF6E5; border-color: #F7C266; color: #C27A0E; }
.t-red { background: #FEECEC; border-color: #F5A3A3; color: #C4282D; }
.t-green { background: #ECFDF3; border-color: #86DCA8; color: #15803D; }
.t-blue { background: #EEF4FF; border-color: #A9C4F5; color: #1F56C7; }
.ptime { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 500; line-height: 14px; padding: 0 6px; border-radius: 4px; border: 1px solid #86DCA8; background: #ECFDF3; color: #15803D; }
.ptime i { width: 5px; height: 5px; border-radius: 50%; background: var(--green); }
.ptime.off { background: var(--soft); border-color: var(--line); color: #475467; }
.ptime.off i { background: #98A2B3; }
.req { color: var(--red); }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
.status-new { display: inline-flex; gap: 4px; align-items: center; }
.new { font-size: 9.5px; font-weight: 750; line-height: 14px; padding: 0 4px; border-radius: 3px; background: var(--blue); color: #fff; animation: blink 1.1s infinite; }
.new.red { background: var(--red); }
@media (prefers-reduced-motion: reduce) { .new, .nav-count { animation: none; } }

/* issue record */
.record { flex: 1; overflow-y: auto; padding-bottom: 16px; }
.cmdbar { position: sticky; top: 0; z-index: 6; display: flex; align-items: center; gap: 6px; padding: 2px 0 8px; background: #fff; }
.count { color: var(--muted); }
.right { margin-left: auto; display: flex; gap: 6px; align-items: center; }
.rec-title { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; min-height: 49px; padding: 7px 14px; background: var(--navy); color: #fff; border-radius: 8px; margin-bottom: 8px; }
.rec-title h1 { font-size: 14px; }
.docno { color: #98A2B3; font-weight: 500; }
.fg { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-bottom: 0; border-radius: 10px; overflow: hidden; margin-bottom: 10px; }
.fg-item { display: flex; min-width: 0; border-bottom: 1px solid var(--line); min-height: 40px; }
.fg-item.wide { grid-column: 1 / -1; }
.fg-l { flex: none; width: 112px; padding: 11px 10px; font-size: 12px; color: var(--muted); }
.fg-v { flex: 1; min-width: 0; padding: 4px 8px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; font-weight: 500; overflow-wrap: anywhere; }
.fg-v input:not([type=checkbox]), .fg-v select, .fg-v textarea, .fg-v .checks { width: 100%; }
.fg-v.lockv { cursor: not-allowed; color: var(--muted); }
.ferr { color: var(--red); font-size: 11.5px; }
.ferr:empty { display: none; }
.invalid input:not([type=checkbox]), .invalid select, .invalid textarea { border-color: var(--red); }
.errors { background: #FEECEC; border-radius: 8px; padding: 6px 10px; margin-bottom: 8px; }
.errors[hidden] { display: none; }
section.block { margin-bottom: 10px; }
.form { border: 1px solid var(--line); border-radius: 10px; padding: 10px; }
.form-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 8px; }
.field { display: flex; flex-direction: column; gap: 3px; font-size: 12px; color: var(--muted); min-width: 0; }
.field.wide { margin-bottom: 8px; }
.field input, .field select, .field textarea { width: 100%; color: var(--text); font-size: 13px; }
.hint { font-size: 11.5px; color: var(--muted); }
.checks { display: flex; flex-wrap: wrap; gap: 3px 14px; padding: 3px 0; color: var(--text); font-size: 12.5px; font-weight: 400; }
.checks label { display: inline-flex; gap: 5px; align-items: center; white-space: nowrap; }
.closed-note { border: 1px solid var(--line); border-radius: 10px; padding: 9px 11px; }
.grid.plain .gscroll { max-height: 320px; }

/* dialog */
.overlay { position: fixed; inset: 0; z-index: 50; background: rgba(16, 24, 40, .35); display: flex; align-items: center; justify-content: center; padding: 16px; }
.dialog { width: 440px; max-width: 100%; background: #fff; border-radius: 10px; padding: 14px 16px; }
.dialog p { margin: 0 0 10px; }
.dialog-foot { display: flex; justify-content: flex-end; gap: 6px; margin-top: 12px; }

#toast { position: fixed; left: 50%; bottom: 44px; transform: translateX(-50%); z-index: 60; background: var(--navy); color: #fff; padding: 7px 14px; border-radius: 8px; opacity: 0; pointer-events: none; transition: opacity .15s; }
#toast.show { opacity: 1; }

@media (max-width: 860px) {
  body { flex-direction: column; height: auto; }
  #nav { width: 100%; height: auto; }
  .nav-foot { display: none; }
  #main { height: calc(100vh - 170px); }
  .fg, .form-row { grid-template-columns: minmax(0, 1fr); }
  .search, .search input { width: 100%; }
  .topbar-r { margin-left: 0; }
}

/* issue page: two working columns, cards, feed */
.rec-title { gap: 8px 22px; }
.rec-who { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-right: 22px; border-right: 1px solid #2A3345; }
.stat.sm b { font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 5px; min-height: 18px; }
.rec-body { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 10px; align-items: start; }
.rec-col { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.card { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.card-h { padding: 9px 12px; font-weight: 600; border-bottom: 1px solid var(--line); }
.card-b { padding: 12px; }
.card.flush .card-b { padding: 0; }
.card .grid { border: 0; border-radius: 0; }
.dl { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 8px 12px; margin: 0; }
.dl dt { color: var(--muted); font-size: 12px; padding-top: 1px; }
.dl dd { margin: 0; overflow-wrap: anywhere; }
.dl dd b { font-weight: 600; }
.fg.one { grid-template-columns: minmax(0, 1fr); border-radius: 8px; margin-bottom: 6px; }
.feed { list-style: none; margin: 0; padding: 0; max-height: 420px; overflow-y: auto; }
.feed li { padding: 10px 12px; border-bottom: 1px solid var(--line); }
.feed li:last-child { border-bottom: 0; }
.ev-h { display: flex; align-items: center; gap: 8px; }
.ev-h b { font-weight: 600; }
.ev-c { margin-top: 4px; font-size: 12px; color: var(--muted); }
.ev-n { margin-top: 3px; }
#talk-form .field { margin-bottom: 10px; }
.pick { display: flex; flex-wrap: wrap; gap: 6px; }
.pick label { position: relative; }
.pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pick span { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; color: var(--text); font-size: 12.5px; font-weight: 500; cursor: pointer; }
.pick span:hover { background: var(--soft); }
.pick input:checked + span { background: #EEF4FF; border-color: var(--blue); color: var(--blue-dark); font-weight: 600; }
.pick input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 1px; }
.invalid .pick span { border-color: var(--red); }
.talk-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.talk-row.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.talk-row .field { margin-bottom: 0 !important; }
.more { margin-top: 10px; }
.more summary { cursor: pointer; color: var(--muted); font-size: 12px; }
.more-b { padding-top: 8px; }
.talk-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); }
@media (max-width: 1100px) {
  .rec-body { grid-template-columns: minmax(0, 1fr); }
  .talk-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.drv b { font-weight: 600; margin-right: 2px; }
.drv .sub { font-size: 11.5px; margin-left: 2px; }

/* yard cell with distance, visit timeline */
.yardl { display: flex; align-items: center; gap: 4px; }
.pinbtn { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 20px; padding: 0; border: 1px solid var(--line); border-radius: 5px; background: #fff; color: var(--blue); cursor: pointer; flex: none; }
.pinbtn svg { width: 13px; height: 13px; }
.pinbtn:hover { background: #EEF4FF; border-color: #A9C4F5; }
.tl { display: flex; align-items: center; gap: 5px; font-weight: 400; }
.tl-s { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); font-size: 11.5px; }
.tl-s b { color: var(--text); font-weight: 600; font-size: 12px; }
.tl-s i { width: 7px; height: 7px; border-radius: 50%; background: #98A2B3; }
.s-near i { background: #F59E0B; } .s-in i { background: var(--green); } .s-out i { background: #98A2B3; }
.s-load i { background: var(--blue); } .s-eta i { background: #fff; box-shadow: inset 0 0 0 2px var(--blue); }
.tl-a { color: #98A2B3; }
.l2 .ptime { margin-right: 4px; }
.l2 > b { color: var(--text); font-weight: 600; }

/* map window */
.mapdlg { width: min(1180px, 96vw); height: min(720px, 90vh); background: #fff; border-radius: 12px; display: flex; flex-direction: column; overflow: hidden; }
.map-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.map-t { font-weight: 700; display: flex; align-items: center; gap: 8px; }
.map-body { flex: 1; min-height: 0; display: grid; grid-template-columns: 330px minmax(0, 1fr); }
.map-side { border-right: 1px solid var(--line); padding: 12px; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; }
.map-sec { font-size: 12px; font-weight: 600; color: #475467; text-transform: uppercase; letter-spacing: .02em; }
#map-yards { display: flex; flex-direction: column; gap: 6px; }
.yrow { display: flex; justify-content: space-between; align-items: center; gap: 8px; width: 100%; text-align: left; padding: 9px 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font: inherit; color: var(--text); cursor: pointer; }
.yrow:hover { background: var(--soft); }
.yrow.on { border-color: var(--blue); background: #EEF4FF; }
.yrow-t { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; min-width: 0; }
.yrow-t b { font-weight: 600; }
.yrow-n { text-align: right; flex: none; }
.yrow-n b { display: block; font-size: 14px; }
.yrow-n span { font-size: 11px; color: var(--muted); white-space: nowrap; }
.map-note { font-size: 11.5px; color: var(--muted); }
.map-canvas { position: relative; min-height: 0; }
.mk-yard { display: inline-block; white-space: nowrap; transform: translate(-4px, -4px); padding: 2px 7px 2px 18px; background: #fff; border: 1px solid #D0D5DD; border-radius: 10px; font: 600 11px Inter, sans-serif; color: #101828; position: relative; }
.mk-yard::before { content: ""; position: absolute; left: 5px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--green); }
.mk-truck { display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px 4px 6px; background: var(--navy); color: #fff; border-radius: 14px; font: 700 11px Inter, sans-serif; white-space: nowrap; }
.mk-truck svg { width: 15px; height: 15px; }
@media (max-width: 860px) { .map-body { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(300px, 1fr); } .map-side { border-right: 0; border-bottom: 1px solid var(--line); } }

/* retention: kanban, call window */
.kanban { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(5, minmax(220px, 1fr)); gap: 8px; overflow-x: auto; }
.kcol { display: flex; flex-direction: column; min-height: 0; background: var(--soft); border-radius: 10px; border: 1px solid transparent; }
.kcol.over { border-color: var(--blue); background: #EEF4FF; }
.kcol-h { display: flex; justify-content: space-between; padding: 9px 10px; font-weight: 600; }
.kcol-h b { color: var(--muted); font-weight: 500; }
.kcol-b { flex: 1; min-height: 0; overflow-y: auto; padding: 0 8px 8px; display: flex; flex-direction: column; gap: 6px; }
.kcard { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 8px 9px; cursor: grab; }
.kcard[draggable=false] { cursor: default; opacity: .8; }
.kcard.dragging { opacity: .4; }
.kc-h { display: flex; align-items: center; gap: 5px; margin-bottom: 4px; }
.kc-h a { font-weight: 600; margin-right: auto; }
.kc-d { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kc-p { color: var(--muted); font-size: 12px; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kc-f { display: flex; justify-content: space-between; margin-top: 6px; font-size: 11.5px; color: var(--muted); }
.kc-f .late { color: var(--red); font-weight: 600; }
.calldlg { width: min(1180px, 96vw); height: min(760px, 92vh); background: #fff; border-radius: 12px; display: flex; flex-direction: column; overflow: hidden; }
.call-body { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
.cx { border-right: 1px solid var(--line); padding: 12px 14px; overflow-y: auto; }
.cx-why { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 12px; }
.cx-dl { grid-template-columns: 112px minmax(0, 1fr); gap: 7px 12px; }
.cx-dl dd.warn { color: #B54708; font-weight: 600; }
.cx-sec { margin: 14px 0 4px; font-size: 12px; font-weight: 600; color: #475467; text-transform: uppercase; letter-spacing: .02em; }
.feed.mini { max-height: none; border: 1px solid var(--line); border-radius: 8px; }
.feed.mini li { padding: 7px 10px; }
.paybars { display: flex; align-items: flex-end; gap: 3px; height: 26px; margin-bottom: 3px; }
.paybars i { width: 14px; background: #D0D5DD; border-radius: 2px 2px 0 0; }
.paybars i.now { background: var(--blue); }
.call-form { padding: 12px 14px; overflow-y: auto; }
.call-form .field { margin-bottom: 12px; }
.fu { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.qbtn { height: 30px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font: inherit; font-size: 12.5px; font-weight: 500; color: var(--text); cursor: pointer; }
.qbtn:hover { background: var(--soft); }
.qbtn.on { background: #EEF4FF; border-color: var(--blue); color: var(--blue-dark); font-weight: 600; }
.pick label.off span { color: #98A2B3; cursor: not-allowed; }
.mode-box { border: 1px solid var(--line); border-radius: 8px; padding: 10px; margin-bottom: 12px; background: var(--soft); }
.mode-box .field:last-child { margin-bottom: 0; }
.call-foot { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-top: 1px solid var(--line); }
@media (max-width: 900px) { .call-body { grid-template-columns: minmax(0, 1fr); overflow-y: auto; } .cx { border-right: 0; border-bottom: 1px solid var(--line); } }

/* RingCentral: widget, call banner, SMS */
.acts { display: inline-flex; gap: 4px; }
.btn.sm.icon { width: 26px; padding: 0; color: var(--blue); }
.btn.sm.icon svg { width: 13px; height: 13px; }
.btn svg.i { width: 14px; height: 14px; }
.rc-line { height: 32px; max-width: 220px; }
#rc-widget { position: fixed; right: 10px; bottom: 10px; z-index: 70; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 4px 16px rgba(16, 24, 40, .12); }
#rc-widget.rc:not(.on) { display: flex; align-items: center; gap: 8px; padding: 6px 12px; font-size: 12px; }
#rc-widget.on { width: 330px; padding: 10px 12px; }
.rc-brand { font-weight: 700; }
.rc-online { color: var(--green); font-weight: 600; text-transform: uppercase; font-size: 11px; }
.rc-online::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--green); margin-right: 4px; vertical-align: 1px; }
.rc-line-sm { color: var(--muted); }
.rc-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.rc-state { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.rc-state.live { color: var(--green); font-weight: 700; }
.rc-who b { display: block; }
.rc-who span { font-size: 12px; color: var(--muted); }
.rc-btns { display: flex; gap: 6px; margin-top: 8px; }
.call-right { display: flex; flex-direction: column; min-height: 0; }
.ctabs { padding: 10px 14px 0; }
.cpanel { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.cpanel[hidden] { display: none; }
.cpanel .call-form { flex: 1; }
.rc-banner { margin: 10px 14px 0; padding: 7px 10px; border-radius: 8px; background: var(--soft); display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12.5px; }
.rc-banner.live { background: #ECFDF3; color: #15803D; font-weight: 600; }
.rc-banner.live i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--green); margin-right: 6px; animation: blink 1.1s infinite; }
.rc-banner[hidden] { display: none; }
.call-foot[hidden] { display: none; }
.sms-wrap { flex: 1; min-height: 0; display: flex; flex-direction: column; padding: 10px 14px; gap: 8px; }
.sms-search .search, .sms-search .search input { width: 100%; }
.sms-thread { flex: 1; min-height: 0; overflow-y: auto; border: 1px solid var(--line); border-radius: 10px; padding: 10px; background: #FAFBFC; display: flex; flex-direction: column; gap: 6px; }
.sms-day { align-self: center; font-size: 11px; color: var(--muted); padding: 4px 0; }
.sms { display: flex; flex-direction: column; max-width: 75%; }
.sms.in { align-self: flex-start; }
.sms.out { align-self: flex-end; align-items: flex-end; }
.bubble { padding: 7px 10px; border-radius: 12px; line-height: 1.35; white-space: pre-wrap; overflow-wrap: anywhere; }
.sms.in .bubble { background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.sms.out .bubble { background: var(--blue); color: #fff; border-bottom-right-radius: 4px; }
.sms-meta { font-size: 11px; color: var(--muted); margin-top: 2px; }
.sms-form textarea { width: 100%; }
.sms-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; }

/* Calls and Messages pages */
.nav-solo { margin-top: 10px; display: flex; flex-direction: column; gap: 2px; }
.nav-solo .nav-link { background: var(--soft); }
.nav-solo .nav-link.active { background: var(--blue); }
.comm-head { display: flex; align-items: center; gap: 10px; padding: 6px 4px 10px; border-bottom: 1px solid var(--line); flex: none; }
.comm-head > svg { width: 20px; height: 20px; }
.comm-head h1 { font-size: 18px; }
.comm-line { font-size: 17px; font-weight: 600; }
.comm { flex: 1; min-height: 0; display: grid; grid-template-columns: 290px minmax(0, 1fr); }
.comm-list { border-right: 1px solid var(--line); display: flex; flex-direction: column; min-height: 0; }
.comm-tools { display: flex; gap: 6px; padding: 8px 8px 8px 0; }
.comm-tools .search { flex: 1; }
.comm-tools .search input { width: 100%; }
.comm-tools .icon-btn { font-size: 18px; font-weight: 400; }
.comm-new { padding: 0 8px 8px 0; }
.comm-new[hidden] { display: none; }
.comm-new input { width: 100%; }
.comm-items { flex: 1; min-height: 0; overflow-y: auto; border-top: 1px solid var(--line); }
.ci { display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 6px; border-bottom: 1px solid var(--line); color: var(--text); }
.ci:hover { background: var(--soft); }
.ci.on { background: #EEF4FF; }
.ci-av { width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--soft); display: inline-flex; align-items: center; justify-content: center; color: #475467; }
.ci-av svg { width: 15px; height: 15px; }
.ci-t { flex: 1; min-width: 0; }
.ci-t b { display: block; font-weight: 500; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ci-t span { display: flex; align-items: center; gap: 4px; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ci-t span svg { width: 12px; height: 12px; flex: none; color: var(--muted); }
.ci-d { font-size: 11.5px; color: var(--muted); flex: none; }
.ci-more { padding: 10px; font-size: 12px; color: var(--muted); text-align: center; }
.comm-pane { min-height: 0; overflow-y: auto; }
.comm-empty { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: var(--muted); }
.comm-empty svg { width: 30px; height: 30px; padding: 6px; border: 1px solid var(--line); border-radius: 8px; color: var(--text); }
.comm-empty b { color: var(--text); font-weight: 600; }
.cp, .mp { max-width: 920px; padding: 14px 18px; }
.mp { height: 100%; display: flex; flex-direction: column; max-width: 920px; }
.cp-head { display: flex; align-items: center; gap: 10px; }
.cp-who { min-width: 0; }
.cp-who b { display: block; font-size: 15px; font-weight: 700; }
.cp-who span { font-size: 12px; color: var(--muted); }
.cp-why { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin-top: 10px; }
.cp-where { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; }
.cp-facts { margin-top: 6px; font-size: 12px; color: var(--muted); }
.cp .rc-banner { margin: 12px 0 0; }
.cp .call-form { padding: 14px 0 0; overflow: visible; }
.cp-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.cp-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.cp .cx-sec { margin-top: 18px; }
.mp .sms-wrap { padding: 12px 0 0; }
@media (max-width: 900px) { .comm { grid-template-columns: minmax(0, 1fr); } .comm-list { max-height: 40vh; border-right: 0; border-bottom: 1px solid var(--line); } .cp-row { grid-template-columns: minmax(0, 1fr); } }

/* Calls and Messages, matched to the LoadUp360 screens */
.ci-av.call { background: #EEF4FF; color: var(--blue); }
.ci-av.call.missed { background: #FEECEC; color: var(--red); }
.ci-t b { text-transform: uppercase; font-size: 11.5px; }
.cd { max-width: none; padding: 14px 18px; display: flex; flex-direction: column; gap: 12px; }
.cd-head { display: flex; align-items: center; gap: 12px; }
.cd-ic { width: 44px; height: 44px; flex: none; border-radius: 50%; background: #EEF4FF; color: var(--blue); display: inline-flex; align-items: center; justify-content: center; }
.cd-ic svg { width: 20px; height: 20px; }
.cd-ic.missed { background: #FEECEC; color: var(--red); }
.cd-who { min-width: 0; }
.cd-l1 { display: flex; align-items: baseline; gap: 10px; }
.cd-l1 b { font-size: 16px; font-weight: 600; }
.cd-l1 span, .cd-l2 { color: var(--muted); }
.cd-l2 { display: flex; gap: 18px; margin-top: 2px; font-size: 13px; }
.player { display: flex; align-items: center; gap: 12px; height: 46px; padding: 0 16px; background: var(--soft); border-radius: 24px; }
.pl-btn { border: 0; background: none; padding: 0; cursor: pointer; color: var(--text); display: inline-flex; }
.pl-btn svg { width: 16px; height: 16px; }
.pl-t { font-size: 12.5px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pl-bar { flex: 1; height: 4px; background: #D0D5DD; border-radius: 2px; cursor: pointer; position: relative; }
.pl-bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--text); border-radius: 2px; }
.pl-ic svg { width: 16px; height: 16px; }
.card-h { display: flex; align-items: center; justify-content: space-between; }
.cd-next { margin-top: 10px; }
.cd-none { margin: 0; }
.tr { display: flex; flex-direction: column; gap: 10px; max-height: 520px; overflow-y: auto; }
.trl { display: flex; }
.trl span { max-width: 78%; padding: 8px 12px; border-radius: 10px; line-height: 1.4; }
.trl.in span { background: var(--soft); }
.trl.out { justify-content: flex-end; }
.trl.out span { background: var(--blue); color: #fff; }
.mp { max-width: none; padding: 0; height: 100%; display: flex; flex-direction: column; }
.mp-head { flex: none; text-align: center; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.mp-head b { display: block; font-size: 14px; }
.mp-head span { font-size: 12px; color: var(--muted); }
.mp-head a { color: var(--blue); }
.mp .sms-thread { flex: 1; border: 0; border-radius: 0; background: #fff; padding: 16px 18px; gap: 4px; }
.sms-day { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 12.5px; margin: 14px 0 10px; align-self: stretch; }
.sms-day::before, .sms-day::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.sms.in .bubble { background: var(--soft); border: 0; border-radius: 10px; }
.sms.out .bubble { border-radius: 10px; }
.sms-meta { margin: 4px 10px 8px; }
.sms-compose { flex: none; position: relative; margin: 8px 12px 12px; }
.sms-compose input { width: 100%; height: 40px; padding-right: 44px; }
.sms-send { position: absolute; right: 6px; top: 6px; width: 28px; height: 28px; border: 0; border-radius: 6px; background: var(--blue); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.sms-send svg { width: 14px; height: 14px; }

/* Today: one plain reason per row */
.why { display: inline-flex; align-items: center; gap: 7px; }
.why .sub { margin-left: 2px; }
.dot { width: 7px; height: 7px; border-radius: 50%; flex: none; background: #98A2B3; }
.dot.red { background: var(--red); } .dot.amber { background: #F59E0B; } .dot.blue { background: var(--blue); }
.late { color: var(--red); font-weight: 600; }

/* New issue create window */
.ni { width: min(760px, 96vw); max-height: 92vh; background: #fff; border-radius: 12px; display: flex; flex-direction: column; overflow: hidden; }
.ni-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.ni-head h2 { margin: 0; font-size: 16px; font-weight: 700; }
.ni-body { flex: 1; min-height: 0; overflow-y: auto; padding: 4px 20px 16px; }
.ni-sec { padding: 14px 0; border-bottom: 1px solid var(--line); }
.ni-sec:last-child { border-bottom: 0; }
.ni-sec-h { font-size: 11.5px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.ni-field { margin-bottom: 12px; }
.ni-field:last-child { margin-bottom: 0; }
.ni-label { display: block; font-size: 12.5px; font-weight: 600; color: #344054; margin-bottom: 6px; }
.ni-field > input, .ni-field > textarea { width: 100%; }
.ni-field .hint { margin-top: 4px; }
.ni-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.ni-inline { display: flex; gap: 8px; }
.ni-inline select { flex: 1; }
.ni-driver { margin-top: 8px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--soft); }
.ni-driver[hidden] { display: none; }
.ni-driver b { display: block; }
.ni-driver span { font-size: 12px; color: var(--muted); }
.ni-warn { margin-top: 6px; font-size: 12.5px; color: #B54708; }
.ni-warn a { color: var(--blue); font-weight: 600; }
.ni .pick { gap: 6px; }
.ni .pick span { height: 30px; }
.ni-foot { display: flex; align-items: center; gap: 10px; padding: 12px 20px; border-top: 1px solid var(--line); }
@media (max-width: 700px) { .ni-two { grid-template-columns: minmax(0, 1fr); } }

/* Driver check: four quiet rows that open on click */
.chk { border-bottom: 1px solid var(--line); }
.chk:last-child { border-bottom: 0; }
.chk summary { display: flex; align-items: center; gap: 8px; padding: 10px 12px; cursor: pointer; list-style: none; }
.chk summary::-webkit-details-marker { display: none; }
.chk summary:hover { background: var(--soft); }
.chk summary b { font-weight: 600; flex: none; width: 112px; }
.chk-s { flex: 1; min-width: 0; color: #475467; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chk summary svg { width: 14px; height: 14px; color: var(--muted); transition: transform .15s; }
.chk[open] summary svg { transform: rotate(180deg); }
.dot.none { background: transparent; box-shadow: inset 0 0 0 1px #D0D5DD; }
.chk-b { padding: 0 12px 12px 27px; }
.chk-sub { font-size: 11.5px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .02em; margin: 6px 0 4px; }
.chk-t { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.chk-t th { text-align: left; font-weight: 600; color: var(--muted); font-size: 11.5px; padding: 4px 6px 4px 0; border-bottom: 1px solid var(--line); }
.chk-t td { padding: 5px 6px 5px 0; border-bottom: 1px solid var(--line); }
.chk-t tr:last-child td { border-bottom: 0; }
.chk-foot { margin-top: 6px; font-size: 12.5px; color: #475467; }
.ni-checks { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 6px; font-size: 12px; color: #344054; }
.ni-checks span { display: inline-flex; align-items: center; gap: 5px; }
.ni-checks.ok { color: var(--muted); }

.chkmini { display: inline-flex; gap: 3px; }
.cm { width: 17px; height: 17px; border-radius: 4px; display: inline-flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; }
.cm.ok { background: var(--soft); color: #98A2B3; }
.cm.amber { background: #FFF6E5; color: #B54708; }
.cm.red { background: #FEECEC; color: #C4282D; }

.kc-f { align-items: center; gap: 6px; }
.kc-f .chkmini { margin-right: auto; }
.kc-f .cm { width: 15px; height: 15px; font-size: 9px; }
.cd-l2 { align-items: center; }
.mp-head .chkmini { vertical-align: -4px; }

/* driver dashboard */
a.drv { color: inherit; }
a.drv:hover { color: var(--blue); text-decoration: underline; }
.dhead { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 26px; padding: 10px 14px; background: var(--navy); color: #fff; border-radius: 8px; margin-bottom: 10px; }
.dh-name { font-size: 15px; font-weight: 700; margin-right: 6px; }
.dh-name span { font-weight: 500; color: #98A2B3; font-size: 13px; }
.df span { display: block; font-size: 10px; letter-spacing: .03em; text-transform: uppercase; color: #98A2B3; }
.df b { font-size: 13px; font-weight: 600; }
.card-h > span { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.record > .card { margin-bottom: 10px; }
.iss { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 20px; }
.iss-main b { font-size: 14px; }
.iss-main p { margin: 4px 0 0; }
.iss-dl { grid-template-columns: 100px minmax(0, 1fr); gap: 5px 10px; }
.iss-hist { margin-top: 10px; border-top: 1px solid var(--line); padding-top: 8px; }
.iss-hist summary { cursor: pointer; color: var(--muted); font-size: 12.5px; }
.iss-hist .feed { margin-top: 6px; border: 1px solid var(--line); border-radius: 8px; max-height: 300px; }
.dash { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 10px; }
.dp { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; }
.dp-h { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.dp-h span { font-weight: 600; }
.dp-h b { font-size: 15px; font-weight: 700; }
.dp-b { padding: 4px 12px 10px; max-height: 300px; overflow-y: auto; }
.dp-sub { font-size: 11.5px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .02em; margin: 8px 0 2px; }
.pt { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.pt th { text-align: left; font-weight: 600; font-size: 11.5px; color: var(--muted); padding: 6px 8px 5px 0; border-bottom: 1px solid var(--line); }
.pt td { padding: 6px 8px 6px 0; border-bottom: 1px solid var(--line); }
.pt tr:last-child td { border-bottom: 0; }
.pt .num { text-align: right; }
.pt-empty { padding: 10px 0; color: var(--muted); font-size: 12.5px; }
.card.flush .pt { margin: 0; }
.card.flush .pt th:first-child, .card.flush .pt td:first-child { padding-left: 12px; }
.card.flush .pt-empty { padding: 12px; }
.dash.two .card { margin: 0; }
.fg.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1000px) { .dash, .iss, .fg.two { grid-template-columns: minmax(0, 1fr); } }

/* Today board */
.tcard { cursor: default; }
.kc-r { margin-top: 4px; font-weight: 500; }
.tcard .kc-p { white-space: normal; }
.tcard .kc-f { margin-top: 8px; }
.tcard .kc-f .btn svg { width: 12px; height: 12px; }
.kc-empty { color: var(--muted); font-size: 12.5px; padding: 6px 2px; }

.ni.md { width: min(600px, 96vw); }
.ni.md .ni-head .sub { margin-top: 2px; font-size: 12.5px; }
.ni.md .ni-body { padding-top: 14px; }

.iss-link { color: inherit; font-weight: 500; }
.iss-link:hover { color: var(--blue); text-decoration: underline; }
.kc-h a { color: var(--text); font-weight: 600; }
.kc-h a:hover { color: var(--blue); }
.kc-tags { display: flex; gap: 4px; margin-top: 5px; }

.sortl { margin-left: auto; }
.sortl select { min-width: 150px; }
