/* Juarez Logística – Gestión */
:root {
	--red: #e30613;
	--red-dark: #b8040f;
	--yellow: #ffc800;
	--ink: #16181d;
	--text: #1f2937;
	--muted: #6b7280;
	--line: #e5e7eb;
	--bg: #f4f5f7;
	--card: #ffffff;
	--side: #17191e;
	--side-2: #23262d;
	--radius: 10px;
	--shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 1px 3px rgba(16, 24, 40, .08);
	--font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body { font: 14px/1.45 var(--font); color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
svg { width: 18px; height: 18px; flex: none; }
h1, h2, h3 { margin: 0; color: var(--ink); }
h2 { font-size: 15px; font-weight: 650; }
h3 { font-size: 14px; margin: 20px 0 8px; }
input, select, textarea, button { font: inherit; color: inherit; }
[x-cloak] { display: none !important; }

/* ---------- Botones ---------- */
.jl-btn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border: 1px solid var(--line); background: #fff; border-radius: 8px; cursor: pointer; font-weight: 550; white-space: nowrap; transition: background .15s, border-color .15s; }
.jl-btn:hover:not(:disabled) { background: #f9fafb; border-color: #d1d5db; }
.jl-btn:disabled { opacity: .5; cursor: default; }
.jl-btn svg { width: 16px; height: 16px; }
.jl-btn-primary { background: var(--red); border-color: var(--red); color: #fff; }
.jl-btn-primary:hover:not(:disabled) { background: var(--red-dark); border-color: var(--red-dark); }
.jl-btn-danger { color: #b91c1c; border-color: #fecaca; }
.jl-btn-danger:hover:not(:disabled) { background: #fef2f2; }
.jl-btn-ghost { border-color: transparent; background: transparent; padding: 5px 8px; }
.jl-btn-block { width: 100%; justify-content: center; padding: 10px; }
.jl-danger { color: #b91c1c; }
.jl-icon-btn { border: 0; background: none; padding: 6px; cursor: pointer; border-radius: 6px; }
.jl-link { color: var(--red); font-weight: 550; }
.jl-link:hover { text-decoration: underline; }
.jl-muted { color: var(--muted); }

/* ---------- Layout ---------- */
.jl-sidebar { position: fixed; inset: 0 auto 0 0; width: 236px; background: var(--side); color: #d1d5db; display: flex; flex-direction: column; z-index: 40; transition: transform .2s; }
.jl-brand { display: block; padding: 18px 18px 14px; background: #fff; border-bottom: 3px solid var(--yellow); }
.jl-brand img { width: 100%; max-width: 170px; display: block; margin: 0 auto; }
.jl-nav { flex: 1; overflow-y: auto; padding: 10px 10px 16px; }
.jl-nav a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; color: #c9cdd4; font-weight: 500; margin-bottom: 1px; }
.jl-nav a:hover { background: var(--side-2); color: #fff; }
.jl-nav a.active { background: var(--red); color: #fff; }
.jl-nav a svg { opacity: .9; }
.jl-nav-label { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: #7c828d; padding: 14px 10px 6px; font-weight: 600; }
.jl-userbox { display: flex; align-items: center; gap: 6px; padding: 12px; border-top: 1px solid #2c3038; }
.jl-userbox-name { flex: 1; display: flex; align-items: center; gap: 10px; min-width: 0; }
.jl-userbox-name span:last-child { display: flex; flex-direction: column; min-width: 0; }
.jl-userbox strong { color: #fff; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jl-userbox small { color: #8b919b; font-size: 12px; }
.jl-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--yellow); color: var(--ink); display: grid; place-items: center; font-weight: 700; font-size: 12px; flex: none; }
.jl-logout { padding: 8px; border-radius: 8px; color: #9ca3af; }
.jl-logout:hover { background: var(--side-2); color: #fff; }
.jl-scrim { display: none; }

.jl-main { margin-left: 236px; min-height: 100vh; display: flex; flex-direction: column; }
.jl-topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 12px; padding: 14px 28px; background: rgba(244, 245, 247, .92); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.jl-topbar h1 { font-size: 20px; font-weight: 700; flex: 1; }
.jl-menu-btn { display: none; }
.jl-content { padding: 22px 28px 48px; flex: 1; }
.jl-narrow { max-width: 460px; }

/* ---------- Paneles / KPIs ---------- */
.jl-panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; }
.jl-panel-flush { padding: 0; overflow: hidden; }
.jl-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.jl-panel-flush .jl-panel-head { margin: 0; }
.jl-pad { padding: 14px 18px; border-bottom: 1px solid var(--line); }
.jl-panel > h2 { margin-bottom: 12px; }
.jl-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-bottom: 18px; }
.jl-kpi { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow); border-top: 3px solid var(--red); }
.jl-kpi:nth-child(2n) { border-top-color: var(--yellow); }
.jl-kpi span { display: block; color: var(--muted); font-size: 12px; font-weight: 550; text-transform: uppercase; letter-spacing: .03em; }
.jl-kpi strong { display: block; font-size: 22px; font-weight: 700; color: var(--ink); margin-top: 4px; font-variant-numeric: tabular-nums; }
.jl-dash-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 18px; align-items: start; }
.jl-grid-users { grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); }
.jl-empty { color: var(--muted); text-align: center; padding: 26px 12px; margin: 0; }

.jl-alerts { background: #fffbeb; border: 1px solid #fde68a; border-radius: var(--radius); padding: 10px 14px; margin-bottom: 18px; }
.jl-alerts summary { cursor: pointer; display: flex; align-items: center; gap: 8px; font-weight: 600; color: #92400e; }
.jl-alerts ul { margin: 10px 0 2px; padding-left: 26px; }
.jl-alerts li { margin: 3px 0; }
.jl-alerts li.expired { color: #b91c1c; }
.jl-alerts a { font-weight: 600; text-decoration: underline; }

/* Viajes próximos */
.jl-day-group + .jl-day-group { margin-top: 14px; }
.jl-day-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding: 4px 0 6px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.jl-day-label.is-today { color: var(--red); }
.jl-day-label.is-late { color: #b91c1c; }
.jl-day-label.is-route { color: #7c3aed; }
.jl-trip { display: flex; align-items: center; gap: 12px; padding: 9px 8px; border-radius: 8px; }
.jl-trip:hover { background: #f9fafb; }
.jl-trip-time { font-weight: 700; font-variant-numeric: tabular-nums; min-width: 48px; color: var(--ink); }
.jl-trip-main { flex: 1; min-width: 0; }
.jl-trip-main strong { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jl-trip-main small { color: var(--muted); }

/* ---------- Badges ---------- */
.jl-badge { --c: #6b7280; display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; color: var(--c); background: color-mix(in srgb, var(--c) 13%, white); border: 1px solid color-mix(in srgb, var(--c) 30%, white); }

/* ---------- Toolbar ---------- */
.jl-toolbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 14px; }
.jl-toolbar-tight { margin-bottom: 10px; }
.jl-toolbar input, .jl-toolbar select, .jl-form-actions select { padding: 7px 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; min-width: 0; }
.jl-toolbar-tight input { flex: 1; min-width: 140px; }
.jl-toolbar-right { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.jl-search { position: relative; flex: 1; min-width: 200px; max-width: 340px; }
.jl-search svg { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); color: var(--muted); width: 16px; height: 16px; }
.jl-search input { width: 100%; padding-left: 32px; }
.jl-daterange { display: flex; align-items: center; gap: 4px; }
.jl-daterange span { color: var(--muted); }

/* ---------- Tablas ---------- */
.jl-table-wrap { overflow-x: auto; }
.jl-table { width: 100%; border-collapse: collapse; }
.jl-table th { text-align: left; font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; padding: 10px 14px; background: #fafafa; border-bottom: 1px solid var(--line); white-space: nowrap; user-select: none; }
.jl-table td { padding: 10px 14px; border-bottom: 1px solid #f0f1f3; vertical-align: middle; }
.jl-table tbody tr:last-child td { border-bottom: 0; }
.jl-table-compact td, .jl-table-compact th { padding: 7px 10px; }
.jl-table td input:not([type=color]) { width: 100%; padding: 5px 8px; border: 1px solid var(--line); border-radius: 6px; }
.jl-table .is-num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.jl-table .is-neg { color: #b91c1c; font-weight: 600; }
.jl-table .is-pos { color: #15803d; font-weight: 600; }
.is-sortable { cursor: pointer; }
.is-sortable:hover, .sorted { color: var(--ink) !important; }
.jl-sort { font-size: 9px; margin-left: 4px; }
.is-clickable { cursor: pointer; }
.is-clickable:hover td { background: #fff7f7; }
.is-selected td { background: #fff4d6 !important; }
.jl-row-actions { white-space: nowrap; text-align: right; }
.jl-cell-clip { max-width: 220px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jl-pager { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; color: var(--muted); }
.jl-pager > div { display: flex; gap: 10px; align-items: center; }

/* ---------- Formularios ---------- */
.jl-form-head { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 14px; }
.jl-tabs { display: flex; gap: 4px; margin-left: auto; background: #e9eaee; padding: 3px; border-radius: 9px; flex-wrap: wrap; }
.jl-tabs button { border: 0; background: none; padding: 6px 12px; border-radius: 7px; cursor: pointer; font-weight: 550; color: #4b5563; }
.jl-tabs button.active { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.jl-tabs small { color: var(--muted); font-weight: 600; margin-left: 2px; }
.jl-tabs-page { margin: 0 0 16px; display: inline-flex; }
.jl-form-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px 18px; }
.jl-field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 12px; }
.jl-form-grid .jl-field { margin: 0; }
.jl-field.is-wide { grid-column: 1 / -1; }
.jl-field > span { font-size: 13px; font-weight: 600; color: #374151; display: flex; gap: 4px; align-items: baseline; }
.jl-field input:not([type=checkbox]):not([type=color]):not([type=file]), .jl-field select, .jl-field textarea, .jl-list-picker {
	width: 100%; padding: 8px 10px; border: 1px solid #d1d5db; border-radius: 8px; background: #fff; transition: border-color .15s, box-shadow .15s;
}
.jl-field input:focus, .jl-field select:focus, .jl-field textarea:focus { outline: 0; border-color: var(--red); box-shadow: 0 0 0 3px rgba(227, 6, 19, .12); }
.jl-field :disabled { background: #f9fafb; color: #4b5563; }
.jl-field.has-error input, .jl-field.has-error select, .jl-field.has-error .jl-combo input { border-color: #dc2626; }
.jl-req { color: var(--red); }
.jl-cf { font-style: normal; font-size: 10px; font-weight: 600; color: #92400e; background: #fef3c7; padding: 0 6px; border-radius: 4px; }
.jl-help { color: var(--muted); font-size: 12px; margin: 0; }
.jl-error { color: #dc2626; font-size: 12px; }
.jl-check { display: flex; align-items: center; gap: 8px; cursor: pointer; margin: 6px 0; }
.jl-check input { width: 16px; height: 16px; accent-color: var(--red); }
.jl-money { position: relative; }
.jl-money span { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.jl-money input { padding-left: 22px !important; }
.jl-switch { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; padding: 6px 0; }
.jl-switch input { display: none; }
.jl-switch i { width: 36px; height: 20px; border-radius: 99px; background: #d1d5db; position: relative; transition: background .15s; }
.jl-switch i::after { content: ""; position: absolute; left: 2px; top: 2px; width: 16px; height: 16px; background: #fff; border-radius: 50%; transition: left .15s; }
.jl-switch input:checked + i { background: #16a34a; }
.jl-switch input:checked + i::after { left: 18px; }
.jl-file { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; min-height: 38px; }
.jl-file a { color: var(--red); text-decoration: underline; word-break: break-all; }
.jl-form-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.jl-form-actions { display: flex; gap: 8px; margin-left: auto; flex-wrap: wrap; align-items: center; }
.jl-panel .jl-form-actions { margin-top: 14px; }

/* Combobox */
.jl-rel { display: flex; gap: 6px; align-items: center; }
.jl-rel .jl-combo { flex: 1; }
.jl-rel-link { padding: 6px 8px; color: var(--muted); border-radius: 6px; }
.jl-rel-link:hover { color: var(--red); background: #fff1f1; }
.jl-combo { position: relative; }
.jl-combo-clear { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: 0; background: none; cursor: pointer; color: var(--muted); padding: 4px; display: flex; }
.jl-combo-clear svg { width: 14px; height: 14px; }
.jl-combo-list { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 4px); max-height: 260px; overflow-y: auto; margin: 0; padding: 4px; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 8px 24px rgba(0, 0, 0, .12); }
.jl-combo-list li { padding: 7px 10px; border-radius: 6px; cursor: pointer; }
.jl-combo-list li:hover, .jl-combo-list li.sel { background: #fff1f1; }
.jl-combo-list li.jl-muted { cursor: default; background: none; }
.jl-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px; border: 1px solid #d1d5db; border-radius: 8px; min-height: 40px; background: #fff; }
.jl-chips input { border: 0 !important; flex: 1; min-width: 160px; padding: 4px !important; box-shadow: none !important; }
.jl-chip { display: inline-flex; align-items: center; gap: 4px; background: #f3f4f6; border-radius: 6px; padding: 3px 4px 3px 8px; font-size: 13px; }
.jl-chip a:hover { text-decoration: underline; }
.jl-chip button { border: 0; background: none; cursor: pointer; color: var(--muted); font-size: 15px; line-height: 1; padding: 0 4px; }

/* Historial */
.jl-timeline { list-style: none; margin: 0; padding: 0 0 0 18px; border-left: 2px solid var(--line); }
.jl-timeline > li { position: relative; padding: 0 0 18px 14px; }
.jl-timeline > li::before { content: ""; position: absolute; left: -25px; top: 3px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 3px solid var(--red); }
.jl-tl-head time { color: var(--muted); margin-left: 6px; font-size: 13px; }
.jl-tl-changes { margin: 6px 0 0; padding: 0; list-style: none; font-size: 13px; }
.jl-tl-changes li { padding: 3px 0; }
.jl-tl-field { font-weight: 600; }
.jl-tl-changes del { color: #b91c1c; background: #fef2f2; text-decoration: line-through; padding: 0 4px; border-radius: 4px; }
.jl-tl-changes ins { color: #15803d; background: #f0fdf4; text-decoration: none; padding: 0 4px; border-radius: 4px; }

/* Config */
.jl-list-picker { max-width: 320px; margin-bottom: 10px; }
.jl-col-list { list-style: none; margin: 0 0 6px; padding: 0; max-width: 520px; }
.jl-col-list li { display: flex; justify-content: space-between; align-items: center; padding: 6px 10px; border: 1px solid var(--line); border-radius: 8px; margin-bottom: 6px; background: #fafafa; }

/* Estadísticas */
.jl-chart-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-bottom: 18px; }
.jl-chart { position: relative; height: 260px; }

/* Alertas / toasts */
.jl-alert { padding: 10px 12px; border-radius: 8px; margin-bottom: 14px; font-weight: 500; }
.jl-alert-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.jl-toasts { position: fixed; right: 18px; bottom: 18px; display: flex; flex-direction: column; gap: 8px; z-index: 100; }
.jl-toast { background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; box-shadow: 0 8px 24px rgba(0, 0, 0, .2); border-left: 4px solid #16a34a; max-width: 360px; animation: jl-in .2s ease-out; }
.jl-toast.is-error { border-left-color: var(--red); }
@keyframes jl-in { from { transform: translateY(8px); opacity: 0; } }

/* ---------- Login ---------- */
.jl-login-body { min-height: 100vh; display: grid; place-items: center; background: linear-gradient(160deg, #17191e 0%, #2a1416 60%, #e30613 160%); padding: 20px; }
.jl-login { width: 100%; max-width: 380px; }
.jl-login-brand { background: #fff; border-radius: 14px 14px 0 0; padding: 26px 30px 16px; text-align: center; border-bottom: 4px solid var(--yellow); }
.jl-login-brand img { max-width: 230px; width: 100%; }
.jl-login-brand p { margin: 8px 0 0; color: var(--muted); font-weight: 500; }
.jl-login-card { background: #fff; padding: 24px 30px 26px; border-radius: 0 0 14px 14px; box-shadow: 0 20px 50px rgba(0, 0, 0, .35); }
.jl-login-card h1 { font-size: 20px; margin-bottom: 16px; }
.jl-login-card .jl-btn-block { margin-top: 10px; }
.jl-login-forgot { display: block; text-align: center; margin-top: 14px; color: var(--muted); font-size: 13px; }
.jl-login-forgot:hover { color: var(--red); }
.jl-login-foot { text-align: center; color: rgba(255, 255, 255, .6); font-size: 12px; margin-top: 18px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.jl-dash-grid, .jl-grid-users, .jl-chart-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
	.jl-sidebar { transform: translateX(-100%); }
	.jl-nav-open .jl-sidebar { transform: none; box-shadow: 0 0 40px rgba(0, 0, 0, .4); }
	.jl-nav-open .jl-scrim { display: block; position: fixed; inset: 0; background: rgba(0, 0, 0, .4); z-index: 35; }
	.jl-main { margin-left: 0; }
	.jl-menu-btn { display: inline-flex; }
	.jl-topbar { padding: 10px 16px; }
	.jl-topbar h1 { font-size: 17px; }
	.jl-content { padding: 16px 16px 40px; }
	.jl-tabs { margin-left: 0; }
	.jl-search { max-width: none; flex-basis: 100%; }
	.jl-toolbar-right { margin-left: 0; }
	.jl-topbar .jl-btn span { display: none; }
}

/* Ajustes */
.jl-rel .jl-combo input { padding-right: 30px !important; text-overflow: ellipsis; }
.jl-table-compact td:first-child, .jl-table-compact td:nth-child(2) { white-space: nowrap; }

/* Zona de archivos (arrastrar y soltar) */
.jl-drop { border: 2px dashed #d1d5db; border-radius: 10px; padding: 14px; background: #fafafa; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; transition: border-color .15s, background .15s; }
.jl-drop.is-over { border-color: var(--red); background: #fff1f1; }
.jl-drop.is-ro { border-style: solid; background: #f9fafb; }
.jl-drop-hint { margin: 0; color: var(--muted); display: flex; align-items: center; gap: 8px; flex: 1; min-width: 180px; }
.jl-drop-preview { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 200px; }
.jl-drop-preview img { width: 96px; height: 96px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); display: block; background: #fff; }
.jl-drop-doc { width: 64px; height: 64px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); border-radius: 8px; color: var(--red); }
.jl-drop-doc svg { width: 28px; height: 28px; }
.jl-drop-name { color: var(--red); text-decoration: underline; word-break: break-all; font-size: 13px; }
.jl-drop-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.jl-btn-dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.jl-btn-dark:hover:not(:disabled) { background: #000 !important; }

/* Modal / escáner */
.jl-modal { position: fixed; inset: 0; z-index: 90; background: rgba(10, 10, 12, .7); display: grid; place-items: center; padding: 16px; }
.jl-modal-card { background: #fff; border-radius: 14px; padding: 18px; width: 100%; max-width: 760px; max-height: calc(100vh - 32px); overflow-y: auto; box-shadow: 0 30px 80px rgba(0, 0, 0, .4); }
.jl-scan-pick { display: flex; flex-direction: column; gap: 10px; max-width: 420px; margin: 10px auto; }
.jl-scan-stage { position: relative; width: fit-content; max-width: 100%; margin: 0 auto; touch-action: none; user-select: none; }
.jl-scan-stage img { display: block; max-width: 100%; max-height: 62vh; }
.jl-scan-overlay { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.jl-scan-overlay polygon { fill: rgba(255, 200, 0, .18); stroke: var(--yellow); stroke-width: 2; vector-effect: non-scaling-stroke; }
.jl-scan-handle { position: absolute; width: 28px; height: 28px; margin: -14px 0 0 -14px; border-radius: 50%; background: rgba(227, 6, 19, .85); border: 3px solid #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .4); cursor: grab; touch-action: none; }
.jl-scan-result { text-align: center; background: #e5e7eb; border-radius: 8px; padding: 10px; }
.jl-scan-result canvas { max-width: 100%; max-height: 62vh; box-shadow: 0 2px 10px rgba(0, 0, 0, .2); background: #fff; }
.jl-seg { display: inline-flex; background: #e9eaee; padding: 3px; border-radius: 9px; margin-right: auto; }
.jl-seg button { border: 0; background: none; padding: 6px 10px; border-radius: 7px; cursor: pointer; font-weight: 550; color: #4b5563; }
.jl-seg button.active { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
@media (max-width: 600px) { .jl-seg { width: 100%; margin-bottom: 4px; } .jl-seg button { flex: 1; } .jl-drop-actions .jl-btn { flex: 1; justify-content: center; } }
