/* JN Office */
:root { --n: #0B1B2E; --n2: #12263F; --a: #F5A524; --t: #0E6A82; --g: #0F7A3F; --gb: #E7F7EE; --r: #B42318; --rb: #FEF2F2; --am: #8A5A00; --amb: #FFF4DE; --ink: #0F172A; --mu: #556274; --line: #E2E8F0; --line2: #CBD5E1; --bg: #F4F6F9; --rad: 12px; }
.toplevel_page_jn-office #wpcontent { padding-left: 0; background: var(--bg); }
.toplevel_page_jn-office #wpbody-content { padding-bottom: 40px; }
.toplevel_page_jn-office #wpfooter, .toplevel_page_jn-office .notice, .toplevel_page_jn-office .update-nag { display: none !important; }
.jno { font: 15px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; color: var(--ink); }
.jno *, .jno-modal * { box-sizing: border-box; }
.jno h1 { font-size: 24px; margin: 0; font-weight: 800; letter-spacing: -.01em; }
.jno h2 { font-size: 20px; margin: 0 0 12px; }
.jno h2 small { font-weight: 500; color: var(--mu); font-size: 14px; }
.jno h3 { font-size: 17px; margin: 0 0 12px; }
.jno h4 { margin: 18px 0 8px; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: var(--mu); }
.jno code { background: #EEF2F7; padding: 1px 6px; border-radius: 6px; font-size: 13px; }
.jno-loading { padding: 40px; color: var(--mu); }
.jno-muted { color: var(--mu); }
.jno-red { color: var(--r) !important; }
.jno-green { color: var(--g); }
.jno-amber { color: var(--am); }

/* Top bar */
.jno-top { position: sticky; top: 0; z-index: 50; background: var(--n); color: #fff; display: flex; align-items: center; gap: 8px 18px; padding: 10px 20px 8px; flex-wrap: wrap; box-shadow: 0 6px 20px rgba(3,10,20,.2); }
.jno-brand { display: flex; align-items: center; gap: 10px; min-width: 180px; }
.jno-brand small { display: block; color: #A9BACD; font-size: 12px; }
.jno-brand b.jno-red { color: #FCA5A5 !important; }
.jno-logo { width: 36px; height: 36px; border-radius: 10px; background: var(--a); color: var(--n); font-weight: 900; display: grid; place-items: center; }
.jno-tabs { display: flex; gap: 4px; flex-wrap: wrap; order: 3; flex-basis: 100%; }
.jno-tabs a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 10px; color: #C2CFDD; text-decoration: none; font-weight: 600; font-size: 14px; }
.jno-tabs a:hover, .jno-tabs a:focus { color: #fff; background: rgba(255,255,255,.08); box-shadow: none; }
.jno-tabs a.is-on { background: #fff; color: var(--n); }
.jno-badge { background: var(--a); color: var(--n); border-radius: 999px; padding: 0 7px; font-size: 12px; }
.jno-main { padding: 20px; max-width: 1400px; }
.jno-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.jno-head p { flex-basis: 100%; margin: 0; }

/* Controls */
.jno-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 42px; padding: 8px 16px; border-radius: 10px; border: 1.5px solid var(--line2); background: #fff; color: var(--ink); font: inherit; font-weight: 700; cursor: pointer; text-decoration: none; }
.jno-btn:hover { border-color: var(--n); color: var(--ink); }
.jno-btn:disabled { opacity: .5; cursor: not-allowed; }
.jno-btn--primary { background: var(--n); border-color: var(--n); color: #fff; }
.jno-btn--primary:hover { background: var(--n2); color: #fff; }
.jno-btn--danger { background: var(--r); border-color: var(--r); color: #fff; }
.jno-btn--wa { background: var(--g); border-color: var(--g); color: #fff; }
.jno-btn--wa:hover { color: #fff; }
.jno-btn--ghost { background: transparent; }
.jno-btn--sm { min-height: 34px; padding: 4px 10px; font-size: 13px; }
.jno-btn--xl { width: 100%; min-height: 56px; font-size: 18px; }
.jno-link { background: none; border: 0; padding: 0; color: var(--t); font: inherit; font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.jno-x { background: none; border: 0; font-size: 26px; line-height: 1; cursor: pointer; color: var(--mu); padding: 4px 8px; }
.jno-f { display: flex; flex-direction: column; gap: 4px; margin: 0; }
.jno-f > span:first-child { font-size: 13px; font-weight: 700; color: var(--ink); }
.jno-f small { color: var(--mu); font-size: 12px; }
.jno input:not([type=radio]):not([type=checkbox]):not([type=file]), .jno select, .jno textarea, .jno-modal input:not([type=radio]):not([type=checkbox]):not([type=file]), .jno-modal select, .jno-modal textarea { width: 100%; min-height: 42px; padding: 8px 12px; border: 1.5px solid var(--line2); border-radius: 10px; font: inherit; background: #fff; color: var(--ink); max-width: none; box-shadow: none; }
.jno input:focus, .jno select:focus, .jno textarea:focus, .jno-modal input:focus, .jno-modal select:focus, .jno-modal textarea:focus { border-color: var(--n); outline: 3px solid rgba(245,165,36,.45); }
.jno input[readonly] { background: var(--bg); }
.jno-inline { display: flex; gap: 8px; align-items: center; }
.jno-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.jno-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 16px; }
.jno-span2 { grid-column: 1 / -1; }
.jno-span3 { grid-column: 1 / -1; }
.jno-form { display: grid; gap: 12px; }
.jno-fs { border: 1px solid var(--line); border-radius: var(--rad); padding: 12px 14px; margin: 0; display: grid; gap: 10px; }
.jno-fs legend { font-weight: 800; padding: 0 6px; }
.jno-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 6px; }
.jno-actions--wrap { flex-wrap: wrap; justify-content: flex-start; }
.jno-err { color: var(--r); font-weight: 600; margin: 0; }
.jno-err:empty { display: none; }
.jno-check { display: flex; gap: 8px; align-items: center; font-weight: 600; }
.jno-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.jno-seg label { position: relative; cursor: pointer; }
.jno-seg input { position: absolute; opacity: 0; }
.jno-seg span { display: flex; flex-direction: column; padding: 12px 14px; border: 2px solid var(--line2); border-radius: 12px; background: #fff; }
.jno-seg small { color: var(--mu); font-weight: 500; }
.jno-seg input:checked + span { border-color: var(--n); background: #EEF4FB; }
.jno-seg input:focus-visible + span { outline: 3px solid var(--a); }
.jno-seg--sm { grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); }
.jno-seg--sm span { padding: 10px; text-align: center; font-weight: 700; }

/* Pills, cards */
.jno-pill { display: inline-block; padding: 1px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; background: #EEF2F7; color: var(--mu); text-transform: capitalize; }
.jno-pill--active, .jno-pill--issued { background: var(--gb); color: var(--g); }
.jno-pill--suspended, .jno-pill--returned { background: var(--amb); color: var(--am); }
.jno-pill--disconnected, .jno-pill--faulty, .jno-pill--lost { background: var(--rb); color: var(--r); }
.jno-code { font-family: ui-monospace, Menlo, Consolas, monospace; font-weight: 800; color: var(--t); }
.jno-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; margin-bottom: 16px; }
.jno-empty { padding: 40px 20px; text-align: center; color: var(--mu); background: #fff; border: 1px dashed var(--line2); border-radius: 16px; }
.jno-banner { padding: 12px 16px; border-radius: 12px; background: #EEF4FB; margin-bottom: 14px; font-weight: 600; }
.jno-banner--red { background: var(--rb); color: var(--r); }
.jno-banner--green { background: var(--gb); color: var(--g); }

/* Counter */
.jno-counter { display: grid; grid-template-columns: 1fr 1.1fr; gap: 20px; align-items: start; }
.jno-col { display: grid; gap: 12px; }
.jno-search { display: flex; gap: 10px; }
.jno-search input { min-height: 52px !important; font-size: 17px !important; }
.jno-search--inline input { min-height: 42px !important; font-size: 15px !important; width: 280px !important; }
.jno-search--inline { flex-wrap: wrap; }
.jno-search--inline select { width: auto !important; }
.jno-results { display: grid; gap: 6px; }
.jno-row { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; width: 100%; text-align: left; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer; font: inherit; color: var(--ink); }
.jno-row:hover, .jno-row:focus, .jno-row.is-on { border-color: var(--n); box-shadow: 0 6px 16px rgba(3,10,20,.06); }
.jno-row small { display: block; color: var(--mu); }
.jno-ccard { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.jno-ccard__top { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.jno-ccard h3 { font-size: 22px; margin: 6px 0 10px; }
.jno-ccard dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 0; }
.jno-ccard dt { color: var(--mu); }
.jno-ccard dd { margin: 0; font-weight: 600; }
.jno-bill { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px; position: sticky; top: 110px; }
.jno-bill .jno-empty { border: 0; }
.jno-bill form { display: grid; gap: 12px; }
.jno-line { display: grid; grid-template-columns: 1fr 140px auto; gap: 10px; align-items: end; padding: 10px; border-radius: 12px; background: var(--bg); }
.jno-line--pkg { grid-template-columns: 1fr 150px; background: #EEF4FB; }
.jno-line--pkg input[name=pkg] { font-size: 20px !important; font-weight: 800; }
.jno-line--discount { background: var(--rb); }
.jno-line--fuel { background: var(--amb); }
.jno-chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.jno-chips__l { font-weight: 700; color: var(--mu); font-size: 13px; }
.jno-chip { padding: 6px 12px; border-radius: 999px; border: 1.5px solid var(--line2); background: #fff; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.jno-chip:hover { border-color: var(--n); }
.jno-chip--disc { color: var(--r); }
.jno-total { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 16px; border-radius: 14px; background: var(--n); color: #fff; }
.jno-total strong { font-size: 32px; letter-spacing: -.02em; }
.jno-rprev__num { font-size: 22px; font-weight: 800; font-family: ui-monospace, Menlo, monospace; }

/* Tables */
.jno-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; }
.jno-table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--mu); padding: 10px 12px; background: #F8FAFC; border-bottom: 1px solid var(--line); }
.jno-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.jno-table--sm td, .jno-table--sm th { padding: 7px 10px; font-size: 14px; }
.jno-table .r { text-align: right; white-space: nowrap; }
.jno-table tr.t td { font-weight: 800; font-size: 16px; background: #F8FAFC; }
.jno-table tr.is-void td { color: #94A3B8; text-decoration: line-through; }
.jno-table tr.is-bad td { color: var(--r); font-weight: 700; }
.jno-table tr.is-good td { color: var(--g); font-weight: 700; }
.jno-table input { min-height: 34px !important; text-align: right; max-width: 160px !important; }
.jno-scroll { overflow-x: auto; }
.jno-scroll--y { max-height: 300px; overflow-y: auto; }
.jno-map th { min-width: 170px; vertical-align: bottom; }
.jno-mh { font-weight: 800; color: var(--ink); text-transform: none; letter-spacing: 0; margin-bottom: 6px; }

/* KPIs */
.jno-kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; margin-bottom: 18px; }
.jno-kpi { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; }
.jno-kpi small { color: var(--mu); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.jno-kpi > b { font-size: 24px; letter-spacing: -.01em; }
.jno-kpi span b { font-size: inherit; }
.jno-kpi span { color: var(--mu); font-size: 13px; }
.jno-kpi--big { background: var(--n); color: #fff; border-color: var(--n); }
.jno-kpi--big small, .jno-kpi--big span { color: #A9BACD; }
.jno-kpi--red { border-color: #FCA5A5; background: var(--rb); }
.jno-close { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; margin-bottom: 18px; max-width: 720px; }
.jno-close .jno-form { margin-top: 14px; }
.jno-chart { width: 100%; height: auto; }
.jno-chart rect { fill: var(--t); }
.jno-chart g:hover rect { fill: var(--a); }
.jno-chart text { font-size: 10px; fill: var(--mu); text-anchor: middle; }
.jno-bars { display: grid; gap: 8px; }
.jno-bar { display: grid; grid-template-columns: 160px 1fr 110px; gap: 10px; align-items: center; font-size: 14px; }
.jno-bar i { height: 10px; border-radius: 10px; background: linear-gradient(90deg, var(--a), #FFD27A); width: var(--w); min-width: 4px; }
.jno-bar b { text-align: right; }
.jno-act { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--a); border-radius: 12px; padding: 12px 16px; margin-bottom: 8px; }
.jno-act.is-done { border-left-color: var(--g); opacity: .8; }
.jno-act small { color: var(--mu); }
.jno-split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.jno-list { display: grid; gap: 6px; max-height: 75vh; overflow: auto; padding-right: 4px; }
.jno-detail .jno-actions { justify-content: flex-start; margin: 12px 0; }
.jno-progress { height: 12px; border-radius: 12px; background: var(--line); overflow: hidden; margin: 12px 0 6px; }
.jno-progress i { display: block; height: 100%; width: var(--w); background: var(--g); transition: width .3s; }
.jno-steps { margin: 0 0 14px 18px; }
.jno-key { display: block; word-break: break-all; padding: 10px; user-select: all; }

/* Modal + toast */
.jno-modal { position: fixed; inset: 0; z-index: 100000; background: rgba(3,10,20,.55); display: flex; align-items: flex-start; justify-content: center; overflow-y: auto; padding: 40px 16px; font: 15px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; color: var(--ink); }
.jno-modal__card { background: #fff; border-radius: 18px; width: 100%; max-width: 520px; box-shadow: 0 30px 80px rgba(0,0,0,.3); animation: jno-in .2s ease; }
.jno-modal--wide .jno-modal__card { max-width: 860px; }
@keyframes jno-in { from { transform: translateY(10px); opacity: 0; } }
.jno-modal__head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.jno-modal__head h2 { margin: 0; font-size: 19px; }
.jno-modal__body { padding: 18px 20px 22px; }
.jno-modal .jno-f > span:first-child { font-size: 13px; font-weight: 700; }
.jno-toast { position: fixed; right: 20px; bottom: 20px; z-index: 100001; background: var(--n); color: #fff; padding: 12px 18px; border-radius: 12px; font-weight: 700; box-shadow: 0 12px 30px rgba(0,0,0,.25); transform: translateY(20px); opacity: 0; transition: all .25s; max-width: 420px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
.jno-toast.is-in { transform: none; opacity: 1; }
.jno-toast--err { background: var(--r); }

/* ---------- Standalone app ---------- */
html { -webkit-text-size-adjust: 100%; }
.jno [hidden], .jno-modal [hidden] { display: none !important; }
body.jno-body { margin: 0; background: var(--bg); min-height: 100vh; }
.jno-body a:not(.jno-btn):not(.jno-sheet__i):not([data-tab]):not([data-more]) { color: var(--t); }
.jno-me { margin-left: auto; width: 40px; height: 40px; border-radius: 50%; border: 2px solid rgba(255,255,255,.25); background: var(--n2); color: #fff; font: 800 14px/1 inherit; cursor: pointer; flex: none; }
.jno-me:hover, .jno-me:focus-visible { border-color: var(--a); }
.jno-bnav { display: none; }
.jno-ti { font-size: 16px; line-height: 1; }
.jno-sheet { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
.jno-sheet__i { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px 10px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; color: var(--ink) !important; text-decoration: none; font: inherit; font-weight: 700; cursor: pointer; text-align: center; position: relative; }
.jno-sheet__i .jno-ti { font-size: 26px; }
.jno-sheet__i .jno-badge { position: absolute; top: 8px; right: 8px; }
.jno-sheet--list { grid-template-columns: 1fr; }
.jno-sheet--list .jno-sheet__i { flex-direction: row; justify-content: flex-start; padding: 14px 16px; }
.jno-banner--amber { background: var(--amb); color: var(--am); }
.jno-locline { margin: 0; }
.jno-seg--3 { grid-template-columns: repeat(3, 1fr); }
.jno-seg--3 span { text-align: center; justify-content: center; min-height: 56px; }
.jno-seg--tabs { grid-template-columns: repeat(3, minmax(0, 140px)); margin-bottom: 14px; }
.jno-seg--tabs span { padding: 8px 12px; text-align: center; font-weight: 700; }
.jno-pick { display: flex; flex-wrap: wrap; gap: 8px; }
.jno-pick label { position: relative; cursor: pointer; }
.jno-pick input { position: absolute; opacity: 0; }
.jno-pick span { display: inline-block; padding: 10px 14px; border-radius: 12px; border: 1.5px solid var(--line2); background: #fff; font-weight: 700; font-size: 14px; }
.jno-pick input:checked + span { border-color: var(--n); background: var(--n); color: #fff; }
.jno-pick input:focus-visible + span { outline: 3px solid var(--a); }
.jno-gps { padding: 14px 16px; border-radius: 14px; background: #EEF4FB; border: 1.5px solid #C9DAEE; display: grid; gap: 2px; }
.jno-gps small { color: var(--mu); }
.jno-gps.is-good { background: var(--gb); border-color: #9AD8B4; color: var(--g); }
.jno-gps.is-ok { background: var(--amb); border-color: #F2C77B; color: var(--am); }
.jno-gps.is-bad { background: var(--rb); border-color: #F5B4AE; color: var(--r); }
.jno-chosen { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 12px; background: #EEF4FB; }
.jno-cmpgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; margin-bottom: 8px; }
.jno-cmp { background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--line2); border-radius: 14px; padding: 14px 16px; cursor: pointer; display: grid; gap: 6px; }
.jno-cmp:hover, .jno-cmp:focus-visible { box-shadow: 0 8px 22px rgba(3,10,20,.08); outline: none; border-color: var(--n); }
.jno-cmp h3 { margin: 0; font-size: 17px; }
.jno-cmp p { margin: 0; }
.jno-cmp small { color: var(--mu); }
.jno-cmp--open { border-left-color: var(--r); }
.jno-cmp--assigned { border-left-color: var(--a); }
.jno-cmp--working { border-left-color: #2563EB; }
.jno-cmp--resolved { border-left-color: var(--g); }
.jno-cmp--closed, .jno-cmp--cancelled { border-left-color: var(--line2); opacity: .8; }
.jno-cmp.is-late { background: #FFFBFA; }
.jno-cmp__top { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.jno-cmp__top small { margin-left: auto; color: var(--mu); }
.jno-cmp__d { color: var(--ink); background: var(--bg); border-radius: 10px; padding: 8px 10px; font-size: 14px; white-space: pre-line; }
.jno-cmp__who { font-size: 14px; }
.jno-cmp__btns { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 8px; margin-top: 4px; }
.jno-cmp__btns .jno-btn { min-height: 48px; }
.jno-pill--c-open { background: var(--rb); color: var(--r); }
.jno-pill--c-assigned { background: var(--amb); color: var(--am); }
.jno-pill--c-working { background: #E0EAFF; color: #1D4ED8; }
.jno-pill--c-resolved, .jno-pill--c-closed { background: var(--gb); color: var(--g); }
.jno-pill--urgent { background: var(--r); color: #fff; }
.jno-pill--late { background: #7F1D1D; color: #fff; }
.jno-cmpd { display: grid; gap: 12px; }
.jno-cmpd .jno-ccard { padding: 14px 16px; }
.jno-cmpd .jno-ccard h3 { margin-top: 0; }
.jno-acts { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 12px; border-radius: 14px; background: var(--bg); }
.jno-acts:empty { display: none; }
.jno-assign select { min-width: 200px; }
.jno-tl { list-style: none; margin: 0; padding: 0 0 0 14px; border-left: 2px solid var(--line); display: grid; gap: 8px; font-size: 14px; }
.jno-tl li { position: relative; }
.jno-tl li::before { content: ""; position: absolute; left: -20px; top: 7px; width: 10px; height: 10px; border-radius: 50%; background: var(--t); }
.jno-tl b { text-transform: capitalize; }
.jno-mini { display: grid; gap: 6px; }
.jno-mini__i { text-align: left; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font: inherit; cursor: pointer; }
.jno-mini__i small { color: var(--mu); }
.jno-tip { margin-top: 18px; }

/* Login page */
body.jl { margin: 0; min-height: 100vh; display: grid; place-items: center; padding: 20px; box-sizing: border-box; background: radial-gradient(1200px 600px at 10% -10%, #1C3A5E, transparent), var(--n); font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; color: var(--ink); }
.jl-card { width: 100%; max-width: 380px; background: #fff; border-radius: 22px; padding: 30px 26px; box-shadow: 0 30px 80px rgba(0,0,0,.35); text-align: center; }
.jl-card * { box-sizing: border-box; }
.jl-logo { width: 64px; height: 64px; margin: 0 auto 10px; border-radius: 18px; background: var(--a); color: var(--n); font-weight: 900; font-size: 26px; display: grid; place-items: center; }
.jl-card h1 { margin: 0; font-size: 26px; letter-spacing: -.01em; }
.jl-sub { margin: 2px 0 18px; color: var(--mu); font-size: 14px; }
.jl-card form { display: grid; gap: 14px; text-align: left; }
.jl-card label > span:first-child { display: block; font-weight: 700; font-size: 14px; margin-bottom: 4px; }
.jl-card input:not([type=checkbox]) { width: 100%; min-height: 52px; padding: 10px 14px; border: 1.5px solid var(--line2); border-radius: 12px; font: inherit; font-size: 17px; }
.jl-card input:focus { border-color: var(--n); outline: 3px solid rgba(245,165,36,.5); }
.jl-pw { display: flex; position: relative; }
.jl-pw input { padding-right: 70px !important; }
.jl-pw button { position: absolute; right: 6px; top: 6px; bottom: 6px; border: 0; background: var(--bg); border-radius: 9px; padding: 0 12px; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.jl-check { display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--mu); }
.jl-check input { width: 20px; height: 20px; }
.jl-btn { display: block; width: 100%; min-height: 54px; border: 0; border-radius: 14px; background: var(--n); color: #fff; font: inherit; font-size: 18px; font-weight: 800; cursor: pointer; text-decoration: none; line-height: 54px; text-align: center; }
.jl-btn:hover { background: var(--n2); }
.jl-err { background: var(--rb); color: var(--r); padding: 10px 12px; border-radius: 12px; font-weight: 700; font-size: 14px; }
.jl-ok { background: var(--gb); color: var(--g); padding: 10px 12px; border-radius: 12px; font-weight: 700; font-size: 14px; }
.jl-foot { color: var(--mu); font-size: 13px; margin: 16px 0 0; }

/* Phones & tablets */
@media (max-width: 1000px) {
	.jno-counter, .jno-split { grid-template-columns: 1fr; }
	.jno-bill { position: static; }
}
@media (max-width: 860px) {
	.jno-top { padding: 8px 12px; padding-top: max(8px, env(safe-area-inset-top)); }
	.jno-tabs { display: none; }
	.jno-bnav { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(3,10,20,.08); padding-bottom: env(safe-area-inset-bottom); }
	.jno-bnav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 60px; min-width: 0; color: var(--mu); text-decoration: none; font-size: 11px; font-weight: 700; position: relative; }
	.jno-bnav .jno-tlab { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 0 2px; }
	.jno-bnav .jno-ti { font-size: 21px; }
	.jno-bnav a.is-on { color: var(--n); }
	.jno-bnav a.is-on::before { content: ""; position: absolute; top: 0; left: 25%; right: 25%; height: 3px; border-radius: 0 0 3px 3px; background: var(--a); }
	.jno-bnav .jno-badge { position: absolute; top: 6px; left: calc(50% + 6px); font-size: 11px; }
	.jno-main { padding-bottom: calc(90px + env(safe-area-inset-bottom)) !important; }
	.jno-toast { left: 12px; right: 12px; bottom: calc(76px + env(safe-area-inset-bottom)); max-width: none; }
	.jno-modal { padding: 0; align-items: flex-end; }
	.jno-modal__card { border-radius: 20px 20px 0 0; max-height: 94vh; overflow-y: auto; }
	.jno-modal__head { position: sticky; top: 0; background: #fff; z-index: 1; border-radius: 20px 20px 0 0; }
	.jno-modal__body { padding-bottom: calc(22px + env(safe-area-inset-bottom)); }
	.jno-cmpgrid { grid-template-columns: 1fr; }
}
@media (max-width: 782px) {
	.jno-main { padding: 14px 10px; }
	.jno-grid2, .jno-grid3, .jno-seg { grid-template-columns: 1fr; }
	.jno-seg--sm { grid-template-columns: 1fr 1fr; }
	.jno-seg--tabs { grid-template-columns: repeat(3, 1fr); }
	.jno-head h1 { font-size: 21px; }
	.jno-line { grid-template-columns: 1fr 110px auto; }
	.jno-line--pkg { grid-template-columns: 1fr 120px; }
	.jno-search--inline input { width: 100% !important; }
	.jno-bar { grid-template-columns: 110px 1fr 90px; }
}

/* ---------- Thermal / A4 slip ---------- */
#jno-print { display: none; }
@media print {
	body * { visibility: hidden !important; }
	#adminmenumain, #wpadminbar, .jno-top, .jno-bnav, .jno-modal, .jno-toast { display: none !important; }
	#jno-print, #jno-print * { visibility: visible !important; }
	#jno-print { display: block !important; position: absolute; left: 0; top: 0; background: #fff; color: #000; z-index: 99999; }
	body.wp-admin { min-width: 0 !important; }
	html, body, #wpcontent, #wpbody { margin: 0 !important; padding: 0 !important; background: #fff !important; }
}
.jno-slip { font: 12px/1.35 "Courier New", ui-monospace, monospace; color: #000; }
.jno-slip--80 { width: 72mm; padding: 2mm 4mm; }
.jno-slip--58 { width: 48mm; padding: 1mm 3mm; font-size: 10px; }
.jno-slip--a4 { width: 120mm; padding: 6mm; font-size: 13px; border: 1px solid #000; }
.jno-slip h1 { font-size: 1.35em; text-align: center; margin: 0 0 2px; font-family: Arial, sans-serif; font-weight: 900; }
.jno-slip p { margin: 4px 0; }
.jno-slip .c { text-align: center; }
.jno-slip .small { font-size: .85em; }
.jno-slip .void { font-weight: 900; font-size: 1.3em; }
.jno-slip .row { display: flex; justify-content: space-between; gap: 6px; border-top: 1px dashed #000; border-bottom: 1px dashed #000; padding: 3px 0; }
.jno-slip table { width: 100%; border-collapse: collapse; margin: 4px 0; }
.jno-slip td { padding: 1px 0; vertical-align: top; }
.jno-slip td:last-child { text-align: right; white-space: nowrap; padding-left: 6px; }
.jno-slip tr.t td { border-top: 1px solid #000; font-weight: 900; font-size: 1.2em; padding-top: 3px; }
.jno-slip .qr { width: 30mm; margin: 6px auto 0; }
.jno-slip--58 .qr { width: 26mm; }
.jno-slip .qr svg { width: 100%; height: auto; display: block; }
