.stl-wrap { --stl-brand:#0b3d91; }
.stl-wrap h1 { margin-bottom:6px; }
.stl-lead { color:#50575e; max-width:760px; margin-top:0; }
.stl-quick { margin:18px 0; display:flex; gap:10px; flex-wrap:wrap; }

.stl-stats { display:flex; gap:12px; flex-wrap:wrap; margin:16px 0 20px; }
.stl-stat { background:#fff; border:1px solid #dcdcde; border-left:4px solid var(--stl-brand); border-radius:5px; padding:12px 16px; min-width:160px; flex:1 1 160px; }
.stl-stat span { display:block; font-size:12px; text-transform:uppercase; letter-spacing:.4px; color:#646970; }
.stl-stat strong { display:block; font-size:22px; margin-top:4px; }
.stl-stat-red { border-left-color:#d63638; }
.stl-stat-red strong { color:#d63638; }

.stl-cards { display:flex; gap:16px; flex-wrap:wrap; margin:18px 0; }
.stl-card { background:#fff; border:1px solid #dcdcde; border-radius:6px; padding:16px 18px; flex:1 1 330px; }
.stl-card h3 { margin-top:0; font-size:14px; text-transform:uppercase; letter-spacing:.5px; color:#1d2327; border-bottom:1px solid #f0f0f1; padding-bottom:8px; }
.stl-card .stl-mini { width:100%; font-size:13px; }
.stl-card .stl-mini td { padding:4px 0; border-bottom:1px solid #f0f0f1; }

.stl-split { display:flex; gap:18px; flex-wrap:wrap; align-items:flex-start; }
.stl-split-main { flex:3 1 560px; }
.stl-split-side { flex:1 1 300px; }

.stl-table { margin-top:12px; background:#fff; }
.stl-table th { font-weight:600; }
.stl-table td { vertical-align:top; padding:9px 10px; }
.stl-table tr.stl-late td { background:#fff4f4; }
.stl-sub { font-size:11.5px; color:#646970; margin-top:2px; }
.stl-strong { font-weight:600; }
.stl-big { font-size:17px; }
.stl-red { color:#d63638; }
.stl-del { color:#b32d2e; text-decoration:none; font-size:12px; }
.stl-flag { display:inline-block; background:#d63638; color:#fff; font-size:10.5px; padding:1px 6px; border-radius:3px; }

.stl-pill { --c:#64748b; display:inline-flex; align-items:center; gap:6px; font-size:12px; font-weight:600; padding:3px 10px 3px 9px; border-radius:999px; white-space:nowrap; background:#f1f5f9; color:#334155; background:color-mix(in srgb, var(--c) 12%, #fff); color:color-mix(in srgb, var(--c) 82%, #000); border:1px solid color-mix(in srgb, var(--c) 24%, #fff); }
.stl-pill::before { content:""; width:6px; height:6px; border-radius:50%; background:var(--c); }

.stl-links a { display:inline-block; margin-right:8px; font-size:12px; text-decoration:none; }
.stl-links .stl-wa { color:#128c7e; font-weight:600; }
.stl-copy { background:#f6f7f7; border:1px solid #c3c4c7; border-radius:3px; font-size:11px; padding:1px 7px; cursor:pointer; }
.stl-copy.done { background:#d1e7dd; border-color:#0f5132; }
.stl-linkbox { width:100%; max-width:420px; font-size:12px; padding:4px 6px; }

.stl-filters { margin:14px 0; display:flex; gap:8px; flex-wrap:wrap; align-items:center; }
.stl-form h2 { margin-top:26px; border-bottom:2px solid var(--stl-brand); padding-bottom:6px; }

.stl-timeline { list-style:none; margin:10px 0 0; padding-left:14px; border-left:2px solid #dcdcde; max-height:320px; overflow:auto; }
.stl-timeline li { position:relative; padding:0 0 14px 14px; font-size:13px; }
.stl-timeline .stl-dot { position:absolute; left:-21px; top:4px; width:10px; height:10px; border-radius:50%; border:2px solid #fff; box-shadow:0 0 0 2px #dcdcde; }

.stl-list { margin:8px 0 0; font-size:13px; }
.stl-list li { padding:4px 0; border-bottom:1px solid #f0f0f1; }
.stl-howto li { margin-bottom:8px; }

/* ---- v2.0: payables, expenses, reports ---- */
.stl-stat-green { border-left-color:#16a34a; }
.stl-stat-green strong { color:#16a34a; }
.stl-green { color:#16a34a; }
.stl-bar { display:inline-block; width:90px; height:8px; background:#eef0f2; border-radius:4px; overflow:hidden; vertical-align:middle; margin-right:8px; }
.stl-bar span { display:block; height:100%; background:#0b3d91; }
.stl-table tfoot th { background:#f6f7f7; font-weight:700; border-top:2px solid #c3c4c7; }
.stl-row-sub td { background:#fafafa; }
.stl-row-total td, .stl-row-total th { border-top:2px solid #c3c4c7; font-weight:700; }
.stl-split { display:flex; gap:22px; align-items:flex-start; flex-wrap:wrap; }
.stl-split-main { flex:1 1 640px; min-width:0; }
.stl-split-side { flex:0 0 330px; }
@media (max-width:1100px) { .stl-split-side { flex:1 1 100%; } }

/* ---- v2.1: POD proof ---- */
.stl-pod-grid { display:flex; flex-wrap:wrap; gap:10px; margin-bottom:14px; }
.stl-pod-item { flex:0 1 150px; border:1px solid #dcdcde; border-radius:6px; padding:7px; background:#fff; }
.stl-pod-item img { width:100%; height:92px; object-fit:cover; border-radius:4px; display:block; }
.stl-pod-item audio { width:100%; }
.stl-pod-file { display:block; padding:24px 6px; text-align:center; text-decoration:none; font-weight:600; }
.stl-pod-actions { display:flex; justify-content:space-between; gap:6px; margin-top:5px; font-size:11.5px; }
.stl-pod-actions a { text-decoration:none; }
.stl-stamp { display:block; }

/* ---- v3.0: team, requests, run sheet, ledger ---- */
.stl-fresh { border-left: 4px solid #16a34a; background: #f0fdf4; }
.stl-fresh code { background: #fff; padding: 2px 6px; border-radius: 3px; }
.stl-inline { display: flex; gap: 6px; align-items: center; }
.stl-list { margin: 0; padding-left: 18px; }
.stl-list li { margin-bottom: 6px; }
.stl-runsheet-sign { display: flex; gap: 40px; margin-top: 34px; font-size: 13px; color: #50575e; }
@media print {
  .stl-noprint, #adminmenumain, #wpadminbar, #wpfooter, .stl-filters, .notice { display: none !important; }
  #wpcontent, #wpbody-content { margin: 0 !important; padding: 0 !important; }
  .stl-table { font-size: 12px; }
}

/* ---- v4.0: Today screen, booking form, photos, help ---- */
.stl-home h1 { font-size: 24px; }
.stl-tasks { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; margin: 18px 0; }
.stl-task { display: flex; flex-direction: column; gap: 4px; background: #fff; border: 1px solid #dcdcde; border-top: 4px solid var(--stl-brand); border-radius: 8px; padding: 14px 16px; text-decoration: none; color: #1d2327; transition: box-shadow .15s, transform .15s; }
.stl-task:hover, .stl-task:focus { box-shadow: 0 4px 14px rgba(0,0,0,.08); transform: translateY(-1px); color: #1d2327; }
.stl-task strong { font-size: 15px; }
.stl-task-top { display: flex; justify-content: space-between; align-items: center; }
.stl-task-icon { font-size: 24px; line-height: 1; }
.stl-task-count { font-size: 26px; font-weight: 700; color: var(--stl-brand); }
.stl-task-hint { font-size: 12.5px; color: #646970; flex: 1; }
.stl-task-btn { margin-top: 8px; font-weight: 600; color: var(--stl-brand); }
.stl-task-alert { border-top-color: #d63638; background: #fff8f8; }
.stl-task-alert .stl-task-count, .stl-task-alert .stl-task-btn { color: #d63638; }
.stl-task-warn { border-top-color: #dba617; }
.stl-task-warn .stl-task-count { color: #996800; }
.stl-task-ok { border-top-color: #16a34a; opacity: .8; }
.stl-task-ok .stl-task-count { color: #16a34a; }
.stl-task-primary { border-top-color: var(--stl-brand); background: #f5f8ff; }
.stl-snapshot { margin: 22px 0; }
.stl-snapshot > summary { cursor: pointer; font-size: 15px; font-weight: 600; padding: 10px 0; }

.stl-setup { border-left: 4px solid var(--stl-brand); margin: 14px 0; }
.stl-bar-wide { width: 100%; max-width: 420px; height: 10px; margin: 4px 0 10px; }
.stl-checklist { list-style: none; margin: 0; padding: 0; }
.stl-checklist li { display: flex; gap: 10px; align-items: baseline; padding: 6px 0; border-bottom: 1px solid #f0f0f1; flex-wrap: wrap; }
.stl-checklist li.done { color: #646970; text-decoration: line-through; }
.stl-check { display: inline-flex; width: 20px; height: 20px; border: 2px solid #c3c4c7; border-radius: 50%; align-items: center; justify-content: center; font-size: 12px; flex: 0 0 20px; }
.stl-checklist li.done .stl-check { background: #16a34a; border-color: #16a34a; color: #fff; text-decoration: none; }
.stl-health { max-width: 820px; }
.stl-health td:first-child { white-space: nowrap; padding-right: 14px; }

.stl-howto { background: #f0f6fc; border: 1px solid #c5d9ed; border-radius: 6px; padding: 8px 14px; margin: 12px 0; max-width: 900px; }
.stl-howto summary { cursor: pointer; font-weight: 600; color: var(--stl-brand); }
.stl-howto ol { margin: 10px 0 4px 20px; }

.stl-help-index { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 18px; }
.stl-help-index a { background: #fff; border: 1px solid #dcdcde; border-radius: 999px; padding: 6px 13px; text-decoration: none; }
.stl-help .stl-card { max-width: 900px; margin-bottom: 14px; scroll-margin-top: 50px; }
.stl-steps { margin-left: 20px; }
.stl-steps li { margin-bottom: 8px; font-size: 14px; line-height: 1.55; }

/* booking form */
.stl-booking { max-width: 1000px; }
.stl-sec { background: #fff; border: 1px solid #dcdcde; border-radius: 8px; padding: 6px 18px 16px; margin: 16px 0; }
.stl-sec h2 { border: 0 !important; margin-top: 12px !important; display: flex; align-items: center; gap: 10px; }
.stl-sec h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .4px; color: #646970; margin: 18px 0 6px; }
.stl-num { display: inline-flex; width: 26px; height: 26px; border-radius: 50%; background: var(--stl-brand); color: #fff; font-size: 14px; align-items: center; justify-content: center; }
.stl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px 16px; }
.stl-grid label { display: flex; flex-direction: column; gap: 4px; font-weight: 600; font-size: 13px; }
.stl-grid input, .stl-grid select, .stl-grid textarea { width: 100%; max-width: none; font-weight: 400; }
.stl-grid small { font-weight: 400; color: #646970; }
.stl-span2 { grid-column: span 2; }
@media (max-width: 600px) { .stl-span2 { grid-column: auto; } }
.stl-cost { background: #fff8e5 !important; }
.stl-calc { display: flex; flex-wrap: wrap; gap: 12px; margin: 14px 0 6px; }
.stl-calc > div { background: #f6f7f7; border-radius: 6px; padding: 10px 14px; flex: 1 1 180px; }
.stl-calc span { display: block; font-size: 11.5px; text-transform: uppercase; color: #646970; letter-spacing: .3px; }
.stl-calc strong { font-size: 18px; }
.stl-calc small { display: block; color: #646970; }
.stl-calc-main { background: #e7f0fb !important; }
.stl-calc-main strong { color: var(--stl-brand); font-size: 21px; }
.stl-more { margin-top: 12px; }
.stl-more > summary { cursor: pointer; color: var(--stl-brand); font-weight: 600; padding: 4px 0; }
details.stl-sec > summary { padding: 12px 0 4px; font-size: 15px; }
.stl-savebar { position: sticky; bottom: 0; background: rgba(240,240,241,.96); padding: 12px 0; display: flex; gap: 14px; align-items: center; z-index: 5; border-top: 1px solid #dcdcde; }

/* parcel screen */
.stl-headstrip { display: flex; flex-wrap: wrap; gap: 10px 26px; background: #fff; border: 1px solid #dcdcde; border-radius: 8px; padding: 12px 16px; margin: 12px 0; }
.stl-headstrip span:first-child { display: block; font-size: 11px; text-transform: uppercase; color: #646970; letter-spacing: .3px; }
.stl-headstrip strong { font-size: 15px; }
.stl-issue { padding: 6px 14px 12px !important; }
.stl-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stl-compare h4 { margin: 0 0 6px; font-size: 12px; text-transform: uppercase; color: #646970; }
@media (max-width: 700px) { .stl-compare { grid-template-columns: 1fr; } }
.stl-addphoto { border-top: 1px solid #f0f0f1; margin-top: 12px; padding-top: 10px; }
.stl-addphoto label { margin-right: 12px; }
.stl-btnrow { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.stl-problem { border-left: 4px solid #d63638; margin-bottom: 14px; flex: none; }
.stl-inline-form { display: inline-flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.stl-muted { color: #8c8f94; }

.stl-strip { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0; }
.stl-strip-item { display: block; width: 110px; height: 110px; border: 1px solid #dcdcde; border-radius: 6px; overflow: hidden; background: #f6f7f7; }
.stl-strip-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.stl-strip-audio { width: 240px; height: auto; padding: 6px; font-size: 12px; }
.stl-strip-audio audio { width: 100%; }
.stl-strip-doc { display: flex; align-items: center; justify-content: center; text-decoration: none; font-weight: 600; }

.stl-download-all { border-left: 4px solid #16a34a; max-width: 900px; margin: 16px 0; }
.stl-download-all h2 { margin-top: 4px; }

/* ---- v4.3: activity log with undo ---- */
.stl-role { display: inline-block; background: #eef2ff; color: #3730a3; border-radius: 999px; padding: 1px 8px; font-size: 11px; font-weight: 600; margin-top: 3px; }
.stl-diff { margin-top: 6px; }
.stl-diff > summary { cursor: pointer; color: #0b3d91; font-weight: 600; }
.stl-diff-rec { border-left: 3px solid #e5e7eb; padding: 4px 0 4px 10px; margin: 8px 0; color: #1d2327; }
.stl-diff-rec del { color: #b91c1c; background: #fef2f2; text-decoration: line-through; padding: 0 3px; border-radius: 3px; }
.stl-diff-rec ins { color: #166534; background: #f0fdf4; text-decoration: none; padding: 0 3px; border-radius: 3px; }
.stl-diff-op { font-size: 11px; font-weight: 700; text-transform: uppercase; margin-left: 6px; padding: 1px 6px; border-radius: 4px; background: #f3f4f6; color: #374151; }
.stl-diff-insert { background: #dcfce7; color: #166534; }
.stl-diff-delete { background: #fee2e2; color: #991b1b; }
.stl-activity tr.stl-muted td { opacity: .6; }
.stl-undo-confirm { border-left-color: #f59e0b !important; }

/* Access Control */
.stl-access-scroll { overflow-x:auto; max-width:100%; border:1px solid #dcdcde; border-radius:6px; background:#fff; margin-top:14px; }
.stl-access-grid { border:0; border-collapse:separate; border-spacing:0; min-width:720px; }
.stl-access-grid th, .stl-access-grid td { padding:8px 10px; vertical-align:middle; border-bottom:1px solid #f0f0f1; }
.stl-access-grid thead th { position:sticky; top:0; background:#f6f7f7; font-size:12.5px; z-index:2; }
.stl-access-grid th:first-child, .stl-access-grid td:first-child { position:sticky; left:0; background:#fff; min-width:220px; max-width:320px; z-index:1; box-shadow:1px 0 0 #dcdcde; }
.stl-access-grid thead th:first-child { background:#f6f7f7; z-index:3; }
.stl-access-grid .c { text-align:center; min-width:86px; }
.stl-access-grid .c a { font-weight:400; font-size:11px; }
.stl-access-grid input[type=checkbox] { width:20px; height:20px; margin:0; cursor:pointer; }
.stl-access-grid tbody tr:hover td { background:#f6fbff; }
.stl-access-group td, .stl-access-group td:first-child { background:#f0f6fc !important; font-weight:600; text-transform:uppercase; font-size:11.5px; letter-spacing:.4px; color:#2c3338; }
.stl-access-lock td { color:#646970; background:#fafafa; }
.stl-access-lock td:first-child { background:#fafafa; }
.stl-access-card { max-width:360px; }
.stl-access-opt { display:flex; align-items:center; gap:10px; padding:8px 0; border-bottom:1px solid #f0f0f1; font-size:14px; cursor:pointer; }
.stl-access-opt input { width:20px; height:20px; margin:0; }
.stl-access-warn { color:#b32d2e; }
@media (max-width:700px) {
	.stl-access-grid th:first-child, .stl-access-grid td:first-child { min-width:160px; max-width:190px; }
	.stl-access-grid .stl-sub { display:none; }
	.stl-access-grid thead .stl-sub { display:block; }
}
.stl-access-save { position:sticky; bottom:0; z-index:4; margin:0; padding:12px 0; background:linear-gradient(to top, rgba(244,246,250,1) 70%, rgba(244,246,250,0)); }

/* ======================= Parcels: page head, chips, cards ======================= */
.stl-pagehead { display:flex; align-items:flex-end; justify-content:space-between; gap:14px; flex-wrap:wrap; margin:0 0 16px; }
.stl-pagehead h1 { margin:0 !important; }
.stl-pagehead-sub { margin:4px 0 0; color:#64748b; font-size:13.5px; }
.stl-pagehead-actions { display:flex; gap:10px; align-items:center; flex-wrap:wrap; }
.stl-seg { display:inline-flex; background:#eef2f7; border-radius:10px; padding:3px; }
.stl-seg a { padding:6px 12px; border-radius:8px; font-size:13px; font-weight:600; color:#475569; text-decoration:none; }
.stl-seg a.on { background:#fff; color:#0b3d91; box-shadow:0 1px 3px rgba(15,23,42,.12); }
.stl-toolbar { display:flex; gap:8px; flex-wrap:wrap; align-items:center; margin:0 0 12px; }
.stl-search { position:relative; flex:1 1 280px; display:flex; }
.stl-search span { position:absolute; left:12px; top:50%; transform:translateY(-50%); font-size:14px; opacity:.55; pointer-events:none; }
.stl-search input { width:100%; padding-left:36px !important; }
.stl-btn-ghost { background:transparent !important; border-color:transparent !important; color:#64748b !important; }

.stl-chips { display:flex; flex-wrap:wrap; gap:8px; overflow-x:auto; padding:2px 2px 10px; margin:0 0 6px; -webkit-overflow-scrolling:touch; scrollbar-width:none; }
.stl-chips::-webkit-scrollbar { display:none; }
.stl-chip { display:inline-flex; align-items:center; gap:7px; white-space:nowrap; padding:7px 13px; border-radius:999px; background:#fff; border:1px solid #e2e8f0; color:#334155; font-size:13px; font-weight:500; text-decoration:none; transition:all .15s; }
.stl-chip i { width:8px; height:8px; border-radius:50%; display:inline-block; }
.stl-chip b { font-weight:700; color:#0f172a; background:#f1f5f9; border-radius:999px; padding:0 7px; font-size:12px; line-height:19px; }
.stl-chip:hover { border-color:#94a3b8; }
.stl-chip.on { background:#0b3d91; border-color:#0b3d91; color:#fff; box-shadow:0 4px 12px -4px rgba(11,61,145,.55); }
.stl-chip.on b { background:rgba(255,255,255,.2); color:#fff; }
.stl-chip-warn { color:#9a3412; }

.stl-empty { text-align:center; background:#fff; border:1px dashed #cbd5e1; border-radius:18px; padding:46px 20px; }
.stl-empty-ico { font-size:42px; }
.stl-empty h3 { margin:8px 0 4px; font-size:18px; }
.stl-empty p { color:#64748b; margin:0 0 16px; }
.stl-table-wrap { overflow-x:auto; }

.pc-list { display:flex; flex-direction:column; gap:14px; }
.pc { position:relative; background:#fff; border:1px solid #e6eaf2; border-radius:18px; padding:18px 20px 14px 24px; box-shadow:0 1px 2px rgba(15,23,42,.04), 0 10px 28px -18px rgba(15,23,42,.28); transition:box-shadow .2s, transform .2s, border-color .2s; overflow:hidden; }
.pc::before { content:""; position:absolute; left:0; top:0; bottom:0; width:5px; background:var(--st); }
.pc:hover { border-color:#d3dbe8; box-shadow:0 2px 4px rgba(15,23,42,.05), 0 18px 38px -20px rgba(15,23,42,.38); transform:translateY(-1px); }
.pc-off { background:#fcfcfd; }

.pc-head { display:flex; justify-content:space-between; align-items:flex-start; gap:12px; }
.pc-id { display:flex; align-items:baseline; gap:10px; flex-wrap:wrap; min-width:0; }
.pc-bilty { font-size:18px; font-weight:750; font-weight:700; letter-spacing:-.01em; color:#0f172a !important; text-decoration:none; }
.pc-bilty:hover { color:#0b3d91 !important; }
.pc-sid { font-size:12.5px; color:#64748b; font-family:ui-monospace, SFMono-Regular, Menlo, monospace; background:#f1f5f9; padding:1px 7px; border-radius:6px; }
.pc-flags { display:flex; gap:6px; flex-wrap:wrap; }
.pc-flag { font-size:11.5px; font-weight:600; padding:2px 8px; border-radius:999px; background:#f1f5f9; color:#475569; }
.pc-flag.ok { background:#ecfdf5; color:#047857; }
.pc-flag.bad { background:#fef2f2; color:#b91c1c; }
.pc-flag.warn { background:#fff7ed; color:#c2410c; }
.pc-flag.mute { background:#f8fafc; color:#94a3b8; }
.pc-status { display:inline-flex; align-items:center; gap:7px; white-space:nowrap; font-size:12.5px; font-weight:700; color:var(--st); background:color-mix(in srgb, var(--st) 11%, #fff); border:1px solid color-mix(in srgb, var(--st) 25%, #fff); padding:5px 11px; border-radius:999px; }
.pc-status i { width:8px; height:8px; border-radius:50%; background:var(--st); box-shadow:0 0 0 3px color-mix(in srgb, var(--st) 22%, transparent); }

.pc-route { display:grid; grid-template-columns:minmax(120px,max-content) minmax(90px,1fr) minmax(120px,max-content); align-items:center; gap:16px; margin:16px 0 4px; }
.pc-city small { display:block; font-size:10.5px; text-transform:uppercase; letter-spacing:.08em; color:#94a3b8; font-weight:600; }
.pc-city strong { display:block; font-size:17px; font-weight:700; color:#0f172a; line-height:1.25; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.pc-city span { display:block; font-size:12.5px; color:#64748b; }
.pc-to { text-align:right; }
.pc-line { position:relative; height:28px; display:flex; align-items:center; }
.pc-track { position:relative; display:block; width:100%; height:4px; border-radius:4px; background:repeating-linear-gradient(90deg,#dbe3ee 0 8px,transparent 8px 13px); }
.pc-track::before, .pc-track::after { content:""; position:absolute; top:50%; width:10px; height:10px; margin-top:-5px; border-radius:50%; background:#fff; border:2px solid #cbd5e1; }
.pc-track::before { left:-5px; border-color:var(--st); background:var(--st); }
.pc-track::after { right:-5px; }
.pc-fill { position:absolute; left:0; top:0; bottom:0; border-radius:4px; background:linear-gradient(90deg, color-mix(in srgb, var(--st) 55%, #fff), var(--st)); }
.pc-train { position:absolute; top:50%; transform:translate(-50%,-58%); font-size:17px; filter:drop-shadow(0 2px 3px rgba(0,0,0,.18)); }
.pc-off .pc-train { display:none; }

.pc-steps { list-style:none; display:grid; grid-template-columns:repeat(6,1fr); gap:4px; margin:10px 0 0; padding:0; }
.pc-steps-4 { grid-template-columns:repeat(4,1fr); }
.pc-steps li { font-size:11px; color:#94a3b8; text-align:center; padding-top:7px; border-top:3px solid #e8edf4; border-radius:2px; font-weight:500; }
.pc-steps li.done { color:#475569; border-top-color:color-mix(in srgb, var(--st) 45%, #fff); }
.pc-steps li.now { color:var(--st); border-top-color:var(--st); font-weight:700; }

.pc-facts { display:grid; grid-template-columns:repeat(auto-fill, minmax(150px, 1fr)); gap:10px 18px; margin:16px 0 0; padding:14px 0 0; border-top:1px solid #f1f4f8; }
.pc-facts > div { min-width:0; }
.pc-facts dt { font-size:10.5px; text-transform:uppercase; letter-spacing:.07em; color:#94a3b8; font-weight:600; margin:0 0 2px; }
.pc-facts dd { margin:0; font-size:14px; color:#1e293b; font-weight:500; overflow-wrap:anywhere; }
.pc-facts dd em { display:block; font-style:normal; font-size:11.5px; color:#64748b; font-weight:400; }
.pc-money { font-weight:700 !important; color:#0f172a !important; }
.pc-cost dd { color:#7c2d12; }
.pc-mute { color:#94a3b8; }

.pc-foot { display:flex; gap:8px; flex-wrap:wrap; align-items:center; margin:16px 0 0; padding:12px 0 0; border-top:1px solid #f1f4f8; }
.pc-btn { display:inline-flex; align-items:center; gap:6px; min-height:34px; padding:0 13px; border-radius:10px; border:1px solid #e2e8f0; background:#fff; color:#334155 !important; font-family:inherit; font-size:13px; font-weight:600; line-height:1; text-decoration:none; cursor:pointer; transition:all .15s; }
.pc-btn:hover { border-color:#94a3b8; background:#f8fafc; }
.pc-btn-main { background:linear-gradient(180deg,#1452c4,#0b3d91); border-color:#0b3d91; color:#fff !important; box-shadow:0 4px 10px -4px rgba(11,61,145,.6); }
.pc-btn-main:hover { background:#0b3d91; color:#fff !important; }
.pc-btn.stl-wa { color:#128c7e !important; border-color:#c6ecd7; background:#f3fcf7; }
.pc-btn.done { background:#ecfdf5; color:#047857 !important; border-color:#a7f3d0; }
.pc-del { margin-left:auto; color:#b91c1c !important; border-color:transparent; background:transparent; }
.pc-del:hover { background:#fef2f2; border-color:#fecaca; }

@media (max-width:700px) {
	.stl-chips { flex-wrap:nowrap; }
	.pc-facts dd { font-size:13.5px; }
	.pc { padding:15px 14px 12px 18px; border-radius:16px; }
	.pc-bilty { font-size:16.5px; }
	.pc-head { flex-direction:column; gap:8px; }
	.pc-status { align-self:flex-start; }
	.pc-route { grid-template-columns:1fr 1fr; gap:6px 12px; }
	.pc-line { grid-column:1 / -1; grid-row:2; height:22px; }
	.pc-city strong { font-size:15.5px; }
	.pc-steps { display:none; }
	.pc-facts { grid-template-columns:1fr 1fr; gap:10px 14px; }
	.pc-foot .pc-btn { flex:1 1 auto; justify-content:center; }
	.pc-foot .pc-btn-main { flex-basis:100%; min-height:42px; font-size:14px; }
	.pc-del { flex:0 0 auto !important; margin-left:0; }
	.stl-pagehead { align-items:stretch; }
	.stl-pagehead-actions { width:100%; justify-content:space-between; }
}

/* Quick status on parcel cards */
.stl-qs { display: contents; }
.stl-qs form { margin: 0; display: inline; }
.pc-btn-next { background: #ecfdf5; border-color: #a7f3d0; color: #047857 !important; }
.pc-btn-next:hover { background: #d1fae5; border-color: #6ee7b7; }
.stl-qs-more { position: relative; display: inline-block; }
.stl-qs-more > summary { list-style: none; }
.stl-qs-more > summary::-webkit-details-marker { display: none; }
.stl-qs-panel { position: absolute; z-index: 20; top: calc(100% + 6px); left: 0; width: 260px; background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 12px; box-shadow: 0 18px 40px -12px rgba(15,23,42,.35); display: flex !important; flex-direction: column; gap: 8px; }
.stl-qs-panel select, .stl-qs-panel input { width: 100%; }
.stl-next-big { width: 100%; justify-content: center; background: linear-gradient(180deg, #16a34a, #15803d) !important; border-color: #15803d !important; }
.stl-autofilled { background: #fefce8 !important; transition: background .4s; }
.stl-autofill-note { color: #a16207; margin-top: 4px; }
@media (max-width: 700px) {
	.stl-qs-more { flex: 1 1 auto; }
	.stl-qs-more > summary { width: 100%; justify-content: center; }
	.stl-qs-next { flex: 1 1 auto; display: flex !important; }
	.stl-qs-next .pc-btn { flex: 1; justify-content: center; min-height: 40px; }
	.stl-qs-panel { width: min(300px, calc(100vw - 60px)); }
}

/* Settings: jump to a section */
.stl-jump { position: sticky; top: 0; z-index: 5; display: flex; gap: 6px; overflow-x: auto; padding: 8px 0 10px; margin: 0 0 6px; background: linear-gradient(to bottom, #f4f6fb 80%, rgba(244,246,250,0)); scrollbar-width: none; }
.stl-jump::-webkit-scrollbar { display: none; }
.stl-jump a { white-space: nowrap; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid #e2e8f0; font-size: 13px; font-weight: 600; color: #334155 !important; text-decoration: none; }
.stl-jump a:hover { border-color: #94a3b8; }
.stl-form h2[id], #whatsapp { scroll-margin-top: 70px; }
@media (max-width: 900px) { .stl-jump { top: calc(58px + env(safe-area-inset-top)); } }
.pc-menu { position: relative; margin-left: auto; }
.pc-menu > summary { list-style: none; font-size: 18px; letter-spacing: 1px; padding: 0 12px; }
.pc-menu > summary::-webkit-details-marker { display: none; }
.pc-menu-list { position: absolute; right: 0; bottom: calc(100% + 6px); z-index: 20; min-width: 240px; background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 6px; box-shadow: 0 18px 40px -12px rgba(15,23,42,.35); }
.pc-menu-list a, .pc-menu-list button { display: block; width: 100%; text-align: left; padding: 9px 12px; border-radius: 9px; font: inherit; font-size: 13.5px; font-weight: 500; color: #1e293b !important; text-decoration: none; background: none; border: 0; cursor: pointer; }
.pc-menu-list a:hover, .pc-menu-list button:hover { background: #f1f5f9; }
.pc-menu-list .pc-del-link { color: #b91c1c !important; border-top: 1px solid #f1f5f9; margin-top: 4px; }
.pc-menu-list .done { color: #047857 !important; }
@media (max-width: 900px) {
	.erp-staff .stl-parcels .stl-cta, .erp-staff .stl-parcels .stl-seg { display: none; }
	.erp-staff .stl-pagehead-actions:empty { display: none; }
}
@media (max-width: 700px) {
	.pc-menu { margin-left: 0; flex: 0 0 auto; }
	.pc-foot .pc-btn-main { flex-basis: auto; }
}

/* Today: quick actions, things to do, all-clear line */
.stl-quick { display: flex; gap: 10px; flex-wrap: wrap; margin: 16px 0 6px; }
.stl-quick-btn { display: inline-flex; align-items: center; gap: 9px; padding: 11px 18px; border-radius: 14px; background: linear-gradient(180deg, #1a5bd0, #0b3d91); color: #fff !important; font-weight: 700; font-size: 14.5px; text-decoration: none; box-shadow: 0 10px 22px -12px rgba(11,61,145,.8); transition: transform .15s; }
.stl-quick-btn:hover { transform: translateY(-1px); }
.stl-quick-btn span { font-size: 17px; }
.stl-quick-btn + .stl-quick-btn { background: #fff; color: #0b3d91 !important; border: 1px solid #d6deea; box-shadow: 0 1px 2px rgba(15,23,42,.05); }
.stl-home-h { font-size: 13px !important; text-transform: uppercase; letter-spacing: .08em; color: #64748b; margin: 22px 0 -6px !important; }
.stl-allclear { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 4px 0 18px; font-size: 13px; color: #64748b; }
.stl-allclear a { padding: 5px 11px; border-radius: 999px; background: #ecfdf5; color: #047857 !important; text-decoration: none; font-weight: 600; border: 1px solid #bbf7d0; }
.stl-allclear-big { margin: 18px 0; padding: 18px 20px; background: #ecfdf5; border: 1px solid #bbf7d0; border-radius: 16px; color: #065f46; font-weight: 600; font-size: 15px; }
@media (max-width: 700px) {
	.stl-quick-btn { flex: 1 1 calc(50% - 10px); justify-content: center; padding: 12px 10px; font-size: 14px; }
	.stl-tasks { grid-template-columns: 1fr; gap: 10px; }
	.stl-task { display: grid; grid-template-columns: 42px 1fr auto; grid-template-areas: "icon title count" "icon hint count"; column-gap: 12px; row-gap: 0; align-items: center; padding: 13px 14px; }
	.stl-task-top { display: contents; }
	.stl-task-icon { grid-area: icon; font-size: 26px; text-align: center; }
	.stl-task-count { grid-area: count; font-size: 24px; }
	.stl-task strong { grid-area: title; font-size: 15px; }
	.stl-task-hint { grid-area: hint; font-size: 12.5px; }
	.stl-task-btn { display: none; }
}
