:root {

--c-teal-600: #0f766e;
--c-teal-500: #12897f;
--c-emerald-400: #34d399;
--c-amber-500: #f59e0b;
--c-rose-500: #f43f5e;
--c-sky-500: #0ea5e9;

--bg: #f4f6f8;
--bg-elev: #ffffff;
--panel: #ffffff;
--ink: #0f1a24;
--ink-soft: #46586a;
--ink-faint: #7c8ea0;
--line: #e6ebf0;
--line-strong: #d3dbe3;
--accent: var(--c-teal-600);
--accent-soft: color-mix(in srgb, var(--c-teal-600) 12%, transparent);
--accent-ink: #ffffff;
--amber: var(--c-amber-500);
--danger: var(--c-rose-500);
--danger-soft: color-mix(in srgb, var(--c-rose-500) 12%, transparent);
--ok: #16a34a;
--ok-soft: color-mix(in srgb, #16a34a 12%, transparent);
--warn: #b45309;
--warn-soft: color-mix(in srgb, var(--c-amber-500) 16%, transparent);
--info: #0369a1;
--info-soft: color-mix(in srgb, var(--c-sky-500) 14%, transparent);

--side-bg-1: #0c1620;
--side-bg-2: #10202c;
--side-ink: #c7d4df;
--side-ink-dim: #7f93a3;
--side-active: color-mix(in srgb, var(--c-emerald-400) 18%, transparent);
--side-active-bar: var(--c-emerald-400);

--shadow-sm: 0 1px 2px rgba(15, 26, 36, .06), 0 1px 3px rgba(15, 26, 36, .05);
--shadow-md: 0 6px 20px -6px rgba(15, 26, 36, .18);
--shadow-lg: 0 24px 60px -20px rgba(15, 26, 36, .28);

--r-sm: 8px;
--r-md: 12px;
--r-lg: 18px;
--r-full: 999px;

--sidebar-w: 288px;
--topbar-h: 62px;
--ease: cubic-bezier(.4, 0, .2, 1);

--jv-color-primary: var(--accent);
--jv-color-surface: var(--panel);
--jv-color-on-surface: var(--ink);
--jv-shape-radius: var(--r-md);
--jv-font-family: "Noto Sans", system-ui, -apple-system, sans-serif;
}

:root[data-theme="dark"],
html.dark {
--bg: #0a1219;
--bg-elev: #0f1a23;
--panel: #111e28;
--ink: #e8eef4;
--ink-soft: #a7b6c4;
--ink-faint: #6f8394;
--line: #1d2c38;
--line-strong: #263846;
--accent: #17a294;
--accent-soft: color-mix(in srgb, #17a294 20%, transparent);
--ok: #4ade80;
--ok-soft: color-mix(in srgb, #4ade80 14%, transparent);
--warn: #fbbf24;
--warn-soft: color-mix(in srgb, #fbbf24 14%, transparent);
--info: #7dd3fc;
--info-soft: color-mix(in srgb, #38bdf8 16%, transparent);
--danger: #fb7185;
--danger-soft: color-mix(in srgb, #fb7185 16%, transparent);
--shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
--shadow-md: 0 8px 24px -8px rgba(0, 0, 0, .55);
--shadow-lg: 0 30px 70px -24px rgba(0, 0, 0, .7);
--jv-color-surface: var(--panel);
--jv-color-on-surface: var(--ink);
}

@media (prefers-color-scheme: dark) {
:root:not([data-theme="light"]) {
--bg: #0a1219;
--bg-elev: #0f1a23;
--panel: #111e28;
--ink: #e8eef4;
--ink-soft: #a7b6c4;
--ink-faint: #6f8394;
--line: #1d2c38;
--line-strong: #263846;
--accent: #17a294;
--accent-soft: color-mix(in srgb, #17a294 20%, transparent);
--ok: #4ade80;
--ok-soft: color-mix(in srgb, #4ade80 14%, transparent);
--warn: #fbbf24;
--warn-soft: color-mix(in srgb, #fbbf24 14%, transparent);
--info: #7dd3fc;
--info-soft: color-mix(in srgb, #38bdf8 16%, transparent);
--danger: #fb7185;
--danger-soft: color-mix(in srgb, #fb7185 16%, transparent);
--shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
--shadow-md: 0 8px 24px -8px rgba(0, 0, 0, .55);
--shadow-lg: 0 30px 70px -24px rgba(0, 0, 0, .7);
--jv-color-surface: var(--panel);
--jv-color-on-surface: var(--ink);
}
}

* { box-sizing: border-box; }

.jo-hidden { display: none !important; }

html, body {
margin: 0;
min-height: 100%;
background: var(--bg);
color: var(--ink);
font-family: "Noto Sans", system-ui, -apple-system, sans-serif;
font-feature-settings: "cv11", "ss01";
-webkit-font-smoothing: antialiased;
text-rendering: optimizeLegibility;
}

::selection { background: color-mix(in srgb, var(--accent) 24%, transparent); }

:focus-visible {
outline: 2px solid var(--accent);
outline-offset: 2px;
border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
*, *::before, *::after {
animation-duration: .01ms !important;
transition-duration: .01ms !important;
}
}

html {
scrollbar-width: thin;
scrollbar-color: var(--accent) var(--bg);
}
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
border: 3px solid var(--bg);
border-radius: var(--r-full);
background: linear-gradient(var(--c-teal-500), var(--c-teal-600));
}
::-webkit-scrollbar-thumb:hover { background: var(--accent); }
::-webkit-scrollbar-corner { background: var(--bg); }

.jo-sidebar { scrollbar-color: rgba(255, 255, 255, .28) transparent; }
.jo-sidebar::-webkit-scrollbar { width: 7px; }
.jo-sidebar::-webkit-scrollbar-track { background: transparent; }
.jo-sidebar::-webkit-scrollbar-thumb {
border: 2px solid transparent;
border-radius: var(--r-full);
background: rgba(255, 255, 255, .24);
background-clip: padding-box;
}
.jo-sidebar::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, .4); background-clip: padding-box; }

[dir="rtl"],
[dir="rtl"] body,
[dir="rtl"] .jo-shell,
[dir="rtl"] .jo-auth,
:root[lang="ar"] body {
font-family: "Noto Kufi Arabic", "Noto Sans", system-ui, sans-serif;
}

a { color: inherit; text-decoration: none; }

.material-symbols-rounded,
j-icon,
.j-icon {
font-family: "Material Symbols Rounded" !important;
font-weight: normal;
font-style: normal;
line-height: 1;
letter-spacing: normal;
text-transform: none;
white-space: nowrap;
word-wrap: normal;
direction: ltr;
-webkit-font-feature-settings: "liga";
font-feature-settings: "liga";
-webkit-font-smoothing: antialiased;
font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
vertical-align: middle;
user-select: none;
}

.jo-app-root { min-height: 100vh; }

.jo-shell {
display: grid !important;
grid-template-columns: var(--sidebar-w) 1fr;
min-height: 100vh;
}

.jo-sidebar {
position: sticky;
top: 0;
align-self: start;
width: auto;
max-width: none;
height: 100vh;
background:
radial-gradient(130% 48% at 0% 0%, color-mix(in srgb, var(--c-teal-500) 26%, transparent) 0%, transparent 62%),
linear-gradient(180deg, var(--side-bg-2) 0%, var(--side-bg-1) 58%);
color: var(--side-ink);
border-inline-end: 1px solid rgba(255, 255, 255, .06);
padding: 14px 12px 12px;
display: flex;
flex-direction: column;
gap: 2px;
overflow-y: auto;
scrollbar-width: thin;
}

.jo-brand {
display: flex;
align-items: center;
gap: 11px;
width: 100%;
margin-bottom: 10px;
padding: 4px 8px 14px;
border-bottom: 1px solid rgba(255, 255, 255, .07);
}

j-button.jo-brand {
display: flex;
flex-direction: row;
align-items: center;
justify-content: flex-start;
gap: 11px;
width: 100%;
min-height: 0;
padding: 4px 8px 14px;
border-radius: 0;
background: transparent;
text-align: start;
}
j-button.jo-brand:hover { background: transparent; }
.jo-brand__mark {
display: block;
width: 34px;
height: 34px;
flex: none;
background-color: transparent;
background-image: url("/images/logo.svg");
background-position: center;
background-repeat: no-repeat;
background-size: contain;
filter: drop-shadow(0 4px 10px rgba(18, 137, 127, .42));
}
.jo-brand__mark > * { display: none !important; }
.jo-brand__text { display: flex; flex-direction: column; gap: 2px; line-height: 1.15; min-width: 0; }
.jo-brand__name { font-weight: 700; font-size: 14.5px; letter-spacing: .1px; color: #fff; }
.jo-brand__sub {
font-size: 10px;
font-weight: 500;
color: var(--side-ink-dim);
letter-spacing: .09em;
text-transform: uppercase;
}

.jo-workspace-status {
display: flex;
align-items: center;
gap: 10px;
margin: 0 4px 12px;
padding: 10px;
border: 1px solid rgba(255, 255, 255, .08);
border-radius: 8px;
background: rgba(255, 255, 255, .045);
}
.jo-workspace-status__icon {
display: grid;
place-items: center;
width: 32px;
height: 32px;
flex: none;
border-radius: 7px;
background: rgba(52, 211, 153, .12);
color: var(--c-emerald-400);
}
.jo-workspace-status__icon j-icon { font-size: 18px; }
.jo-workspace-status__copy {
display: flex;
flex-direction: column;
gap: 3px;
min-width: 0;
}
.jo-workspace-status__label {
overflow: hidden;
color: #fff;
font-size: 12px;
font-weight: 650;
text-overflow: ellipsis;
white-space: nowrap;
}
.jo-workspace-status__state {
display: flex;
align-items: center;
gap: 6px;
color: var(--side-ink-dim);
font-size: 10.5px;
}
.jo-status-dot {
width: 6px;
height: 6px;
flex: none;
border-radius: 50%;
background: var(--c-emerald-400);
box-shadow: 0 0 0 3px rgba(52, 211, 153, .1);
}

.jo-new-sale,
j-button.jo-new-sale {
display: flex;
align-items: center;
justify-content: flex-start;
gap: 10px;
width: calc(100% - 8px);
min-height: 42px;
margin: 0 4px 6px;
padding: 9px 11px;
border: 1px solid rgba(255, 255, 255, .12);
border-radius: 8px;
background: var(--c-teal-600);
color: #fff;
box-shadow: 0 8px 18px -12px rgba(52, 211, 153, .8);
font-size: 13px;
font-weight: 700;
text-align: start;
}
j-button.jo-new-sale:hover { background: var(--c-teal-500); color: #fff; }
.jo-new-sale j-icon { font-size: 19px; }
.jo-new-sale__arrow { margin-inline-start: auto; font-size: 17px !important; }
[dir="rtl"] .jo-new-sale__arrow { transform: scaleX(-1); }

.jo-sidebar__nav {
display: flex;
flex: 1;
flex-direction: column;
min-height: 0;
padding: 0 4px 12px;
overflow-y: auto;
overscroll-behavior: contain;
scrollbar-width: thin;
}

.jo-nav-section {
display: flex;
align-items: center;
gap: 8px;
margin: 15px 0 5px;
padding-inline: 8px;
font-size: 9.5px;
font-weight: 700;
letter-spacing: .12em;
text-transform: uppercase;
color: color-mix(in srgb, var(--side-ink-dim) 78%, transparent);
}
.jo-nav-section::before, .jo-nav-section::after { content: none; }

.jo-nav-link,
j-button.jo-nav-link {
position: relative;
display: flex;
align-items: center;
justify-content: flex-start;
gap: 12px;
width: 100%;
min-height: 37px;
padding: 8px 9px;
border-radius: 7px;
color: var(--side-ink);
background: transparent;
font-size: 13.5px;
font-weight: 500;
letter-spacing: .1px;
text-align: start;
transition:
background-color .16s var(--ease),
color .16s var(--ease),
box-shadow .16s var(--ease);
}
.jo-nav-link j-icon {
width: 20px;
flex: 0 0 20px;
font-size: 19px;
color: var(--side-ink-dim);
text-align: center;
transition: color .16s var(--ease);
}
.jo-nav-link span { min-width: 0; text-align: start; }

.jo-nav-link:hover,
j-button.jo-nav-link:hover {
background: rgba(255, 255, 255, .06);
color: #fff;
}
.jo-nav-link:hover j-icon { color: var(--side-ink); }

.jo-nav-link.is-active,
j-button.jo-nav-link.is-active {
background: linear-gradient(
100deg,
color-mix(in srgb, var(--c-teal-500) 46%, transparent),
color-mix(in srgb, var(--c-emerald-400) 20%, transparent)
);
color: #fff;
font-weight: 650;
box-shadow:
inset 0 0 0 1px rgba(255, 255, 255, .10),
0 3px 12px rgba(3, 20, 26, .45);
}
.jo-nav-link.is-active j-icon { color: var(--side-active-bar); }

.jo-nav-link:focus-visible {
outline: 2px solid var(--side-active-bar);
outline-offset: 2px;
}

.jo-sidebar-account {
display: grid;
grid-template-columns: minmax(0, 1fr) 38px;
align-items: center;
gap: 4px;
margin-top: auto;
padding: 10px 4px 0;
border-top: 1px solid rgba(255, 255, 255, .08);
}
.jo-sidebar-profile,
j-button.jo-sidebar-profile {
display: flex;
align-items: center;
gap: 9px;
min-width: 0;
min-height: 46px;
padding: 5px;
border-radius: 7px;
background: transparent;
color: var(--side-ink);
text-align: start;
}
j-button.jo-sidebar-profile:hover,
j-button.jo-sidebar-profile.is-active { background: rgba(255, 255, 255, .06); color: #fff; }
.jo-avatar--sidebar { width: 32px; height: 32px; flex: none; font-size: 11px; }
.jo-sidebar-profile__meta {
display: flex;
flex: 1;
flex-direction: column;
gap: 2px;
min-width: 0;
}
.jo-sidebar-profile__email {
overflow: hidden;
color: #fff;
font-size: 11.5px;
font-weight: 600;
text-overflow: ellipsis;
white-space: nowrap;
}
.jo-sidebar-profile__role {
overflow: hidden;
color: var(--side-ink-dim);
font-size: 9.5px;
text-overflow: ellipsis;
text-transform: uppercase;
white-space: nowrap;
}
.jo-sidebar-profile__chevron { flex: none; color: var(--side-ink-dim); font-size: 17px; }
[dir="rtl"] .jo-sidebar-profile__chevron { transform: scaleX(-1); }
.jo-sidebar-signout,
j-button.jo-sidebar-signout {
display: grid;
place-items: center;
width: 36px;
height: 36px;
min-width: 0;
min-height: 0;
padding: 0;
border-radius: 7px;
background: transparent;
color: var(--side-ink-dim);
}
j-button.jo-sidebar-signout:hover { background: rgba(244, 63, 94, .12); color: #fda4af; }
.jo-sidebar-signout j-icon { font-size: 19px; }
.jo-drawer-close, .jo-menu-toggle { display: none; }
.jo-drawer-scrim {
position: fixed;
inset: 0;
z-index: 1190;
width: 100vw;
height: 100dvh;
padding: 0;
border-radius: 0;
background: rgba(3, 16, 24, .52);
backdrop-filter: blur(2px);
}
.jo-drawer-scrim[hidden] { display: none !important; }
j-button.jo-drawer-scrim {
min-height: 0;
border: 0;
color: transparent;
}

.jo-main { display: flex; flex-direction: column; min-width: 0; }

.jo-topbar {
position: sticky;
top: 0;
z-index: 20;
height: var(--topbar-h);
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
padding: 0 24px;
background: color-mix(in srgb, var(--bg-elev) 82%, transparent);
backdrop-filter: saturate(180%) blur(12px);
border-bottom: 1px solid var(--line);
}
.jo-topbar__lead { display: flex; align-items: center; gap: 12px; min-width: 0; }
.jo-topbar__crumb { color: var(--ink-faint); font-size: 13px; }
.jo-topbar__actions { display: flex; align-items: center; gap: 10px; }

.jo-whoami { display: flex; align-items: center; gap: 10px; min-width: 0; }
j-button.jo-profile-link {
display: flex;
align-items: center;
gap: 10px;
min-width: 0;
min-height: 0;
padding: 4px 6px;
border: 0;
border-radius: var(--r-full);
background: transparent;
color: var(--ink);
box-shadow: none;
text-align: start;
}
j-button.jo-profile-link:hover { background: var(--accent-soft); color: var(--ink); }
.jo-whoami__meta {
display: flex;
flex-direction: column;
align-items: flex-end;
line-height: 1.2;
min-width: 0;
}
[dir="rtl"] .jo-whoami__meta { align-items: flex-start; }
.jo-whoami__email {
font-size: 12.5px;
font-weight: 600;
max-width: 220px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.jo-whoami__role {
font-size: 10.5px;
font-weight: 600;
letter-spacing: .06em;
text-transform: uppercase;
color: var(--ink-faint);
}

.jo-lang { position: relative; }
.jo-lang__toggle {
display: inline-flex;
align-items: center;
gap: 7px;
height: 38px;
padding: 0 12px;
border: 1px solid var(--line);
border-radius: var(--r-full);
background: var(--panel);
color: var(--ink);
font: inherit;
font-size: 13px;
font-weight: 600;
cursor: pointer;
transition: all .15s var(--ease);
}
.jo-lang__toggle:hover { border-color: var(--line-strong); color: var(--accent); }
.jo-lang__toggle j-icon { font-size: 19px; color: var(--ink-faint); }
.jo-lang__toggle:hover j-icon { color: var(--accent); }
.jo-lang__caret { font-size: 18px !important; transition: transform .18s var(--ease); }
.jo-lang__toggle[aria-expanded="true"] .jo-lang__caret { transform: rotate(180deg); }

.jo-lang__menu {
position: absolute;
inset-inline-end: 0;
top: calc(100% + 8px);
min-width: 220px;
background: var(--panel);
border: 1px solid var(--line);
border-radius: var(--r-md);
box-shadow: var(--shadow-lg);
padding: 6px;
display: grid;
gap: 2px;
opacity: 0;
transform: translateY(-6px) scale(.98);
transform-origin: top;
pointer-events: none;
transition: opacity .16s var(--ease), transform .16s var(--ease);
z-index: 40;
}
.jo-lang__menu.is-open { opacity: 1; transform: none; pointer-events: auto; }
.jo-lang__item {
display: flex;
align-items: center;
gap: 12px;
width: 100%;
padding: 9px 10px;
border: 0;
border-radius: var(--r-sm);
background: transparent;
color: var(--ink);
font: inherit;
text-align: start;
cursor: pointer;
transition: background .12s var(--ease);
}
.jo-lang__item:hover { background: var(--accent-soft); }
.jo-lang__flag {
display: grid;
place-items: center;
width: 30px;
height: 30px;
border-radius: 8px;
background: linear-gradient(135deg, var(--accent), var(--c-emerald-400));
color: #fff;
font-weight: 700;
font-size: 12px;
flex: none;
}
.jo-lang__names { display: flex; flex-direction: column; line-height: 1.25; flex: 1; }
.jo-lang__native { font-weight: 600; font-size: 14px; }
.jo-lang__label { font-size: 11.5px; color: var(--ink-faint); }
.jo-lang__check { color: var(--accent); opacity: 0; font-size: 20px !important; }
.jo-lang__item.is-active .jo-lang__check { opacity: 1; }
.jo-lang__item.is-active { background: var(--accent-soft); }

j-button.jo-lang__toggle {
display: inline-flex; align-items: center; gap: 7px;
height: 38px; min-height: 0; padding: 0 12px;
background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-full);
color: var(--ink); box-shadow: none;
}
j-button.jo-lang__toggle:hover { background: var(--panel); border-color: var(--line-strong); color: var(--accent); }
j-button.jo-lang__item {
display: flex; align-items: center; justify-content: flex-start; gap: 12px;
width: 100%; min-height: 0; padding: 9px 10px;
background: transparent; border: 0; border-radius: var(--r-sm);
color: var(--ink); box-shadow: none; text-align: start;
}
j-button.jo-lang__item:hover { background: var(--accent-soft); color: var(--ink); }

.jo-seg {
display: inline-flex;
padding: 3px;
gap: 2px;
background: var(--bg);
border: 1px solid var(--line);
border-radius: var(--r-full);
}
.jo-seg__btn {
border: 0;
background: transparent;
color: var(--ink-soft);
font: inherit;
font-size: 12.5px;
font-weight: 600;
padding: 5px 13px;
border-radius: var(--r-full);
cursor: pointer;
transition: all .15s var(--ease);
}
.jo-seg__btn.is-active { background: var(--panel); color: var(--accent); box-shadow: var(--shadow-sm); }

.jo-iconbtn {
display: grid;
place-items: center;
width: 38px;
height: 38px;
border-radius: var(--r-full);
border: 1px solid var(--line);
background: var(--panel);
color: var(--ink-soft);
cursor: pointer;
transition: all .15s var(--ease);
}
.jo-iconbtn:hover { color: var(--accent); border-color: var(--line-strong); }

j-button.jo-seg__btn {
display: inline-flex; align-items: center; justify-content: center;
min-width: 0; min-height: 0; padding: 5px 13px;
background: transparent; border: none; box-shadow: none;
color: var(--ink-soft); border-radius: var(--r-full);
}
j-button.jo-seg__btn:hover { background: color-mix(in srgb, var(--ink-soft) 8%, transparent); }
j-button.jo-seg__btn.is-active, j-button.jo-seg__btn.is-active:hover { background: var(--panel); color: var(--accent); box-shadow: var(--shadow-sm); }
j-button.jo-iconbtn {
display: grid; place-items: center;
width: 38px; height: 38px; min-width: 0; min-height: 0; padding: 0;
border: 1px solid var(--line); background: var(--panel);
color: var(--ink-soft); border-radius: var(--r-full); box-shadow: none;
}
j-button.jo-iconbtn:hover { background: var(--panel); color: var(--accent); border-color: var(--line-strong); }

.jo-topbar .jo-menu-toggle { display: none; }

.jo-avatar {
display: grid;
place-items: center;
width: 36px;
height: 36px;
border-radius: var(--r-full);
background: linear-gradient(135deg, var(--accent), var(--c-emerald-400));
color: #fff;
font-weight: 700;
font-size: 13px;
}

.jo-avatar--large { width: 64px; height: 64px; font-size: 20px; }
.jo-profile-card { max-width: 720px; }
.jo-profile-summary { display: flex; align-items: center; gap: 16px; padding-block: 4px 20px; }
.jo-profile-summary__identity { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.jo-profile-summary__identity strong { overflow: hidden; text-overflow: ellipsis; }
.jo-profile-summary__identity span { color: var(--ink-faint); font-size: 13px; }
.jo-profile-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding-top: 20px; }
.jo-profile-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.jo-profile-field span { color: var(--ink-faint); font-size: 12px; font-weight: 600; }
.jo-profile-field strong { overflow-wrap: anywhere; }

.jo-inline-form {
display: flex;
flex-wrap: wrap;
align-items: flex-end;
gap: 14px;
}
.jo-inline-form j-input,
.jo-inline-form j-select { flex: 1 1 200px; }

.jo-form-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
gap: 14px 16px;
align-items: end;
}
.jo-form-grid > j-button[type="submit"],
.jo-form-grid > .jo-form-grid__actions {
grid-column: 1 / -1;
justify-self: start;
margin-top: 4px;
}

.jo-form-stack { display: grid; gap: 16px; }
.jo-form-stack > j-button[type="submit"] { justify-self: stretch; margin-top: 2px; }

j-input, j-select, j-textarea, j-field {
display: block;
width: 100%;
min-height: 0;
border: 0 !important;
background: transparent !important;
border-radius: 0 !important;
padding: 0 !important;
box-shadow: none !important;
}

j-input > input,
j-select > select,
j-textarea > textarea,
.jo-input {
display: block;
width: 100%;
height: 44px;
background: var(--bg-elev);
color: var(--ink);
border: 1px solid var(--line-strong);
border-radius: var(--r-md);
padding: 0 14px;
font: inherit;
font-size: 14px;
line-height: 44px;
transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
-webkit-appearance: none;
appearance: none;
}
j-textarea > textarea { height: auto; min-height: 96px; line-height: 1.5; padding: 10px 14px; }
j-input > input::placeholder,
j-textarea > textarea::placeholder { color: var(--ink-faint); }
j-input > input:focus,
j-select > select:focus,
j-textarea > textarea:focus,
.jo-input:focus {
outline: none;
border-color: var(--accent);
box-shadow: 0 0 0 3px var(--accent-soft);
}
j-input > input:hover,
j-select > select:hover { border-color: var(--ink-faint); }

j-input::part(label),
j-select::part(label),
j-textarea::part(label),
.jo-field-label {
display: block;
font-size: 12.5px;
font-weight: 600;
color: var(--ink-soft);
margin-bottom: 6px;
}
.jo-field-help { margin: 6px 0 0; font-size: 12px; color: var(--ink-faint); }

j-button[color="primary"],
j-button.j-button--primary {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
background: linear-gradient(135deg, var(--accent), var(--c-teal-500));
color: #fff;
border: 0;
border-radius: var(--r-md);
padding: 10px 18px;
font-weight: 600;
box-shadow: 0 8px 18px -8px color-mix(in srgb, var(--accent) 70%, transparent);
transition: filter .15s var(--ease), box-shadow .15s var(--ease), transform .15s var(--ease);
}
j-button[color="primary"]:hover,
j-button.j-button--primary:hover {
background: linear-gradient(135deg, var(--accent), var(--c-teal-500));
filter: brightness(1.06);
box-shadow: 0 12px 24px -10px color-mix(in srgb, var(--accent) 80%, transparent);
}
j-button[color="primary"] j-icon,
j-button.j-button--primary j-icon { color: #fff; }
j-button[color="primary"][disabled], j-button[color="primary"][aria-disabled="true"],
j-button.j-button--primary[disabled], j-button.j-button--primary[aria-disabled="true"] {
background: color-mix(in srgb, var(--accent) 32%, var(--line-strong));
box-shadow: none;
cursor: not-allowed;
filter: none;
}

j-button[variant="outline"],
j-button.j-button--outline {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
background: var(--panel);
color: var(--ink);
border: 1px solid var(--line-strong);
border-radius: var(--r-md);
padding: 9px 16px;
font-weight: 600;
}
j-button[variant="outline"]:hover,
j-button.j-button--outline:hover { background: var(--panel); border-color: var(--accent); color: var(--accent); }

j-chip, .jo-chip {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 3px 10px;
border-radius: var(--r-full);
background: var(--bg);
border: 1px solid var(--line);
color: var(--ink-soft);
font-size: 11.5px;
font-weight: 650;
letter-spacing: .03em;
white-space: nowrap;
}
j-chip.jo-chip--ok, .jo-chip--ok { background: var(--ok-soft); border-color: transparent; color: var(--ok); }
j-chip.jo-chip--warn, .jo-chip--warn { background: var(--warn-soft); border-color: transparent; color: var(--warn); }
j-chip.jo-chip--danger, .jo-chip--danger { background: var(--danger-soft); border-color: transparent; color: var(--danger); }
j-chip.jo-chip--info, .jo-chip--info { background: var(--info-soft); border-color: transparent; color: var(--info); }
j-chip.jo-chip--accent, .jo-chip--accent { background: var(--accent-soft); border-color: transparent; color: var(--accent); }

j-badge.jo-count, .jo-count {
display: inline-grid;
place-items: center;
min-width: 24px;
height: 22px;
padding: 0 8px;
border-radius: var(--r-full);
background: var(--accent-soft);
color: var(--accent);
font-size: 11.5px;
font-weight: 700;
}

j-table, .jo-table { display: block; width: 100%; overflow-x: auto; }
j-table table, .jo-table table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
j-table th, .jo-table th {
text-align: start;
color: var(--ink-faint);
font-weight: 600;
font-size: 11.5px;
text-transform: uppercase;
letter-spacing: .04em;
padding: 12px 14px;
border-bottom: 1px solid var(--line);
white-space: nowrap;
}
j-table td, .jo-table td {
padding: 13px 14px;
border-bottom: 1px solid var(--line);
font-variant-numeric: tabular-nums;
}
j-table tbody tr:hover, .jo-table tbody tr:hover { background: color-mix(in srgb, var(--accent) 5%, transparent); }
j-table tbody tr:last-child td { border-bottom: 0; }

j-table th.is-num, j-table td.is-num { text-align: end; }
j-table td.is-strong { font-weight: 650; }
j-table td.is-dim { color: var(--ink-faint); }

.jo-card__body--flush { padding: 0; }
.jo-card__body--flush j-table th:first-child,
.jo-card__body--flush j-table td:first-child { padding-inline-start: 20px; }
.jo-card__body--flush j-table th:last-child,
.jo-card__body--flush j-table td:last-child { padding-inline-end: 20px; }

j-list { display: block; }
j-list-item {
display: flex;
align-items: center;
gap: 12px;
padding: 12px 20px;
border-bottom: 1px solid var(--line);
font-size: 13.5px;
transition: background .12s var(--ease);
}
j-list-item:last-child { border-bottom: 0; }
j-list-item:hover { background: color-mix(in srgb, var(--accent) 5%, transparent); }
j-list-item > j-icon:first-child {
display: grid;
place-items: center;
width: 34px;
height: 34px;
flex: none;
border-radius: 10px;
background: var(--accent-soft);
color: var(--accent);
font-size: 18px;
}
.jo-row-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.jo-row-title { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jo-row-sub { font-size: 12px; color: var(--ink-faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jo-row-meta { margin-inline-start: auto; display: flex; align-items: center; gap: 10px; color: var(--ink-soft); font-variant-numeric: tabular-nums; }

.jo-empty {
display: grid;
place-items: center;
gap: 8px;
padding: 40px 24px;
text-align: center;
color: var(--ink-faint);
font-size: 13.5px;
}
.jo-empty j-icon { font-size: 34px; opacity: .55; }

.jo-content { padding: 26px 28px 48px; max-width: 1320px; width: 100%; }

.jo-page-head {
display: flex;
align-items: flex-end;
justify-content: space-between;
flex-wrap: wrap;
gap: 16px;
margin-bottom: 22px;
}
.jo-page-title {
margin: 0;
font-size: 22px;
font-weight: 700;
letter-spacing: -.01em;
}
.jo-page-sub { margin: 4px 0 0; color: var(--ink-faint); font-size: 13.5px; }
.jo-page-head__actions { display: flex; align-items: center; gap: 10px; }

j-card, j-card-section { display: block; }
.jo-card {
background: var(--panel);
border: 1px solid var(--line);
border-radius: var(--r-lg);
padding: 0;
box-shadow: var(--shadow-sm);
overflow: hidden;
}
.jo-card + .jo-card,
.jo-grid-2 + .jo-card,
.jo-card + .jo-grid-2,
.jo-split + .jo-card { margin-top: 18px; }
.jo-card__body { padding: 20px; }
.jo-card__head {
display: flex;
align-items: center;
justify-content: space-between;
gap: 10px;
padding: 14px 20px;
border-bottom: 1px solid var(--line);
font-weight: 600;
}
.jo-card__title { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; }
.jo-card__title j-icon { font-size: 19px; color: var(--accent); }
.jo-card__head .jo-card-tools { display: flex; align-items: center; gap: 10px; margin-inline-start: auto; }

.jo-grid-2 {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 18px;
align-items: start;
}

.jo-split {
display: grid;
grid-template-columns: minmax(0, 1fr) 360px;
gap: 18px;
align-items: start;
}
.jo-split__aside { position: sticky; top: calc(var(--topbar-h) + 20px); }

.jo-print-layout {
display: grid;
grid-template-columns: 340px minmax(0, 1fr);
gap: 18px;
align-items: start;
}
.jo-preview-frame {
min-height: 380px;
max-height: 640px;
overflow: auto;
background: #fff;
color: #111;
border: 1px solid var(--line-strong);
border-radius: var(--r-md);
box-shadow: var(--shadow-sm);
padding: 18px;
margin-bottom: 14px;
}

.jo-list-select j-list-item { cursor: pointer; }
.jo-list-select j-list-item.is-active {
background: var(--accent-soft);
box-shadow: inset 3px 0 0 var(--accent);
}
[dir="rtl"] .jo-list-select j-list-item.is-active { box-shadow: inset -3px 0 0 var(--accent); }

.jo-card-tools j-select { width: auto; min-width: 190px; }
.jo-card-tools j-select > select { height: 36px; line-height: 36px; font-size: 13px; }

.jo-pos-open { max-width: 520px; }

.jo-notfound { display: grid; place-items: center; min-height: 55vh; }
.jo-notfound__inner { display: grid; place-items: center; gap: 10px; text-align: center; padding: 40px 24px; }
.jo-notfound__icon {
font-size: 56px !important;
color: var(--accent);
opacity: .85;
padding: 22px;
border-radius: var(--r-full);
background: var(--accent-soft);
}

.jo-stats {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
gap: 16px;
margin-bottom: 24px;
}
.jo-stat {
--stat-accent: var(--accent);
position: relative;
overflow: hidden;
background: var(--panel);
border: 1px solid var(--line);
border-radius: var(--r-lg);
padding: 18px 20px;
box-shadow: var(--shadow-sm);
transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
.jo-stat:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.jo-stat::before {
content: "";
position: absolute;
inset-inline-start: 0;
top: 0;
bottom: 0;
width: 3px;
background: linear-gradient(var(--stat-accent), color-mix(in srgb, var(--stat-accent) 40%, transparent));
}
.jo-stat::after {
content: "";
position: absolute;
inset-inline-end: -30px;
top: -30px;
width: 96px;
height: 96px;
border-radius: 50%;
background: color-mix(in srgb, var(--stat-accent) 10%, transparent);
}
.jo-stat--amber { --stat-accent: var(--amber); }
.jo-stat--emerald { --stat-accent: var(--c-emerald-400); }
.jo-stat--sky { --stat-accent: var(--c-sky-500); }
.jo-stat__label { color: var(--ink-faint); font-size: 12.5px; font-weight: 600; letter-spacing: .02em; }
.jo-stat__value { font-size: 28px; font-weight: 750; margin: 8px 0 4px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.jo-stat__unit { font-size: 14px; color: var(--ink-faint); font-weight: 600; }
.jo-stat__delta { font-size: 12.5px; font-weight: 600; display: inline-flex; align-items: center; gap: 3px; }
.jo-stat__delta.up { color: var(--ok); }
.jo-stat__delta.down { color: var(--danger); }
.jo-stat__icon {
position: absolute;
inset-inline-end: 16px;
top: 16px;
color: var(--stat-accent);
opacity: .9;
}
.jo-stats--compact { margin-bottom: 0; }
.jo-stat--compact { min-height: 112px; padding: 15px 18px; box-shadow: none; }
.jo-stat--compact .jo-stat__value { font-size: 24px; margin-bottom: 0; }

.jo-subline {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 6px 14px;
border-radius: var(--r-full);
border: 1px solid var(--line);
background: var(--panel);
color: var(--ink-soft);
font-size: 12.5px;
font-weight: 600;
}
.jo-subline j-icon { font-size: 17px; color: var(--accent); }
.jo-subline b { color: var(--ink); font-weight: 700; }

.jo-placeholder {
display: grid;
place-items: center;
gap: 12px;
text-align: center;
padding: 56px 24px;
color: var(--ink-faint);
background:
repeating-linear-gradient(45deg, transparent, transparent 10px,
color-mix(in srgb, var(--line) 40%, transparent) 10px, color-mix(in srgb, var(--line) 40%, transparent) 11px);
border: 1.5px dashed var(--line-strong);
border-radius: var(--r-lg);
}
.jo-placeholder j-icon { font-size: 40px; color: var(--ink-faint); opacity: .7; }
.jo-placeholder__title { font-weight: 650; color: var(--ink-soft); font-size: 15px; }

.jo-btn {
display: inline-flex;
align-items: center;
gap: 8px;
border: 1px solid var(--line);
background: var(--panel);
color: var(--ink);
font: inherit;
font-weight: 600;
font-size: 13.5px;
padding: 9px 16px;
border-radius: var(--r-md);
cursor: pointer;
transition: all .15s var(--ease);
}
.jo-btn:hover { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.jo-btn--primary {
background: linear-gradient(135deg, var(--accent), var(--c-teal-500));
border-color: transparent;
color: var(--accent-ink);
box-shadow: 0 8px 18px -8px color-mix(in srgb, var(--accent) 70%, transparent);
}
.jo-btn--primary:hover { filter: brightness(1.05); }
j-button.jo-btn--primary {
display: inline-flex;
align-items: center;
gap: 8px;
background: linear-gradient(135deg, var(--accent), var(--c-teal-500));
color: var(--accent-ink);
border: 0;
border-radius: var(--r-md);
padding: 9px 16px;
font-weight: 600;
}
j-button.jo-btn--primary:hover { background: linear-gradient(135deg, var(--accent), var(--c-teal-500)); filter: brightness(1.05); }
j-button.jo-btn--primary j-icon { color: var(--accent-ink); }

.jo-auth {
min-height: 100vh !important;
display: grid !important;
grid-template-columns: 1.05fr .95fr;
}
.jo-auth > .jo-auth__aside { grid-column: 1; grid-row: 1; min-height: 100vh; }
.jo-auth > .jo-auth__main { grid-column: 2; grid-row: 1; }
.jo-auth__aside {
position: relative;
overflow: hidden;
padding: 56px 48px;
color: #eafff9;
background:
radial-gradient(90% 60% at 20% 10%, color-mix(in srgb, var(--c-emerald-400) 30%, transparent), transparent 60%),
linear-gradient(160deg, #0c2b28, #0a1620 70%);
display: flex !important;
flex-direction: column;
justify-content: space-between;
}
.jo-auth__aside::after {
content: "";
position: absolute;
inset: 0;
background-image:
linear-gradient(color-mix(in srgb, #fff 4%, transparent) 1px, transparent 1px),
linear-gradient(90deg, color-mix(in srgb, #fff 4%, transparent) 1px, transparent 1px);
background-size: 28px 28px;
mask-image: radial-gradient(80% 80% at 40% 30%, #000, transparent);
pointer-events: none;
}
.jo-auth__brand { display: flex; align-items: center; gap: 14px; position: relative; z-index: 1; }
.jo-auth__brand .jo-brand__mark { width: 52px; height: 52px; }
.jo-auth__brand .jo-brand__name { font-size: 19px; font-weight: 750; letter-spacing: .2px; }
.jo-auth__headline { position: relative; z-index: 1; }
.jo-auth__headline h2 { font-size: 30px; font-weight: 750; line-height: 1.2; margin: 0 0 12px; }
.jo-auth__headline p { color: #a9d6ce; font-size: 15px; line-height: 1.6; max-width: 42ch; margin: 0; }
.jo-auth__points { position: relative; z-index: 1; display: grid; gap: 12px; margin-top: 8px; }
.jo-auth__point { display: flex; gap: 10px; align-items: center; color: #cdeee7; font-size: 14px; }
.jo-auth__point j-icon { color: var(--c-emerald-400); }

.jo-auth__main {
display: grid !important;
place-items: center;
padding: 40px 24px;
background: var(--bg);
}
.jo-auth-card {
width: 100%;
max-width: 400px;
padding: 0;
border: 0;
background: transparent;
color: inherit;
}
.jo-auth-card h1 { margin: 0 0 6px; font-size: 24px; font-weight: 750; }
.jo-auth-card__hint { margin: 0 0 24px; color: var(--ink-faint); font-size: 14px; }
.jo-field { display: block; margin-bottom: 22px; }
.jo-field .jo-field-label { margin-bottom: 6px; }

.j-field--underline .j-input {
--jv-color-outline: var(--line-strong);
padding-block: 9px;
font-size: 15.5px;
color: var(--ink);
transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.j-field--underline .j-input::placeholder { color: var(--ink-faint); opacity: .7; }
.j-field--underline .j-field__label {
display: block;
margin: 0 0 4px;
color: var(--ink-faint);
font-size: 12.5px;
font-weight: 600;
transition: color .18s var(--ease);
}
.j-field--underline .j-field__required { color: var(--danger); }
.j-field--underline:focus-within .j-field__label { color: var(--accent); }

.jo-auth-alt { margin-top: 16px; text-align: center; font-size: 13.5px; color: var(--ink-faint); }
.jo-auth-alt j-button { color: var(--accent); font-weight: 600; }

.jo-auth-card .j-form .j-button--block {
width: 100%;
margin-top: 8px;
min-height: 48px;
padding: 13px 18px;
display: inline-flex;
align-items: center;
justify-content: center;
border: 0;
border-radius: var(--r-md);
color: var(--accent-ink);
background: linear-gradient(180deg, var(--c-teal-500), var(--c-teal-600));
box-shadow: 0 10px 24px -8px color-mix(in srgb, var(--c-teal-600) 60%, transparent);
font-size: 15px;
font-weight: 700;
letter-spacing: .01em;
cursor: pointer;
transition: transform .18s var(--ease), box-shadow .18s var(--ease), filter .18s var(--ease);
}
.jo-auth-card .j-form .j-button--block:hover:not([disabled]) {
transform: translateY(-1px);
box-shadow: 0 16px 32px -10px color-mix(in srgb, var(--c-teal-600) 70%, transparent);
filter: brightness(1.04);
}
.jo-auth-card .j-form .j-button--block:active:not([disabled]) { transform: translateY(0); }
.jo-auth-card .j-form .j-button--block[disabled] {
background: color-mix(in srgb, var(--c-teal-600) 30%, var(--line-strong));
color: color-mix(in srgb, var(--accent-ink) 78%, transparent);
box-shadow: none;
cursor: not-allowed;
transform: none;
}

.jo-pos {
display: grid;
grid-template-columns: minmax(0, 1fr) 400px;
gap: 18px;
align-items: start;
}
.jo-pos-catalog { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.jo-pos-toolbar { display: flex; gap: 10px; align-items: center; }
.jo-pos-toolbar j-input { flex: 1; }
.jo-pos-toolbar j-input > input {
height: 48px;
line-height: 48px;
border-radius: var(--r-full);
padding-inline: 20px;
font-size: 15px;
box-shadow: var(--shadow-sm);
}

.jo-pos-results {
overflow: auto;
max-height: calc(100vh - var(--topbar-h) - 150px);
display: grid;
grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
gap: 12px;
align-content: start;
border: 0;
padding: 2px;
}
.jo-pos-results j-list-item,
j-button.jo-pos-tile {
display: flex;
flex-direction: column;
align-items: flex-start;
justify-content: space-between;
gap: 0;
min-height: 212px;
padding: 0;
background: var(--panel);
border: 1px solid var(--line);
border-radius: var(--r-md);
box-shadow: var(--shadow-sm);
cursor: pointer;
transition: transform .15s var(--ease), box-shadow .15s var(--ease), border-color .15s var(--ease);
}
.jo-pos-tile__visual {
position: relative;
display: grid;
place-items: center;
width: 100%;
aspect-ratio: 4 / 3;
overflow: hidden;
background: color-mix(in srgb, var(--bg) 75%, var(--panel));
border-bottom: 1px solid var(--line);
}
.jo-pos-tile__visual j-img,
.jo-pos-tile__visual j-img img {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
}
.jo-pos-tile__fallback {
display: grid;
place-items: center;
width: 100%;
height: 100%;
color: var(--ink-faint);
background: color-mix(in srgb, var(--accent-soft) 45%, var(--panel));
}
.jo-pos-tile__fallback j-icon { font-size: 44px; }
.jo-pos-tile__content {
display: flex;
align-items: flex-end;
justify-content: space-between;
gap: 8px;
width: 100%;
min-height: 72px;
padding: 12px;
}
.jo-pos-results j-list-item:hover,
j-button.jo-pos-tile:hover {
transform: translateY(-2px);
border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
box-shadow: var(--shadow-md);
background: var(--panel);
}
.jo-pos-tile__name {
font-size: 13.5px;
font-weight: 600;
color: var(--ink);
text-align: start;
line-height: 1.35;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}
.jo-pos-tile__price {
font-size: 12.5px;
font-weight: 700;
color: var(--accent);
background: var(--accent-soft);
border: 0;
padding: 3px 10px;
border-radius: var(--r-full);
font-variant-numeric: tabular-nums;
}
j-button.jo-pos-tile {
display: flex;
flex-direction: column;
align-items: flex-start;
justify-content: space-between;
gap: 0;
width: 100%;
min-height: 212px;
padding: 0;
}

.jo-item-cell { display: inline-flex; align-items: center; gap: 10px; }
.jo-item-cell j-img,
.jo-item-cell j-img img { width: 44px; height: 44px; object-fit: cover; border-radius: var(--r-sm); }
.jo-item-cell__fallback {
display: grid;
place-items: center;
width: 44px;
height: 44px;
flex: 0 0 44px;
color: var(--ink-faint);
background: color-mix(in srgb, var(--bg) 75%, var(--panel));
border: 1px solid var(--line);
border-radius: var(--r-sm);
}

.jo-pos-cart {
position: sticky;
top: calc(var(--topbar-h) + 20px);
background: var(--panel);
border: 1px solid var(--line);
border-radius: var(--r-lg);
padding: 0;
display: flex;
flex-direction: column;
box-shadow: var(--shadow-md);
max-height: calc(100vh - var(--topbar-h) - 40px);
overflow: hidden;
}
.jo-pos-cart__head {
display: flex;
align-items: center;
gap: 10px;
padding: 14px 18px;
border-bottom: 1px solid var(--line);
font-weight: 700;
font-size: 14px;
}
.jo-pos-cart__head j-icon { color: var(--accent); font-size: 20px; }
.jo-pos-cart__body { display: flex; flex-direction: column; min-height: 0; overflow-y: auto; padding: 0 18px 18px; }

.jo-cart-lines { margin: 0 -18px; }
.jo-cart-lines j-list-item {
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
grid-template-areas:
"name  total"
"tools tools";
gap: 6px 10px;
padding: 12px 18px;
}
.jo-cart-lines j-list-item:hover { background: transparent; }
.jo-cart-line__name { grid-area: name; font-weight: 600; font-size: 13.5px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jo-cart-line__total { grid-area: total; font-weight: 700; font-variant-numeric: tabular-nums; font-size: 13.5px; }
.jo-cart-line__tools { grid-area: tools; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.jo-cart-line__spacer { flex: 1; }

.jo-stepper {
display: inline-flex;
align-items: center;
gap: 2px;
border: 1px solid var(--line);
border-radius: var(--r-full);
background: var(--bg);
padding: 2px;
}
.jo-stepper__label { font-size: 11px; font-weight: 600; color: var(--ink-faint); padding-inline: 6px; }
.jo-stepper__value { min-width: 34px; text-align: center; font-size: 12.5px; font-weight: 700; font-variant-numeric: tabular-nums; }
.jo-stepper j-icon-button,
.jo-stepper .j-icon-button {
width: 26px;
height: 26px;
min-height: 0;
border-radius: var(--r-full);
display: grid;
place-items: center;
color: var(--ink-soft);
background: transparent;
border: 0;
cursor: pointer;
font-size: 16px;
transition: background .12s var(--ease), color .12s var(--ease);
}
.jo-stepper j-icon-button:hover { background: var(--accent-soft); color: var(--accent); }
.jo-cart-line__remove { color: var(--ink-faint); cursor: pointer; }
.jo-cart-line__remove:hover { color: var(--danger); }
j-icon-button.jo-cart-line__remove { min-height: 0; padding: 4px; }

.jo-pos-fields { display: grid; gap: 12px; padding-top: 14px; }

.jo-pos-total {
display: flex;
justify-content: space-between;
align-items: baseline;
padding: 16px 0 12px;
border-top: 1px dashed var(--line-strong);
margin-top: 14px;
}
.jo-pos-total span { color: var(--ink-soft); font-weight: 600; }
.jo-pos-total strong { font-size: 26px; font-weight: 750; font-variant-numeric: tabular-nums; }

.jo-pos-shift {
margin-top: 16px;
padding-top: 14px;
border-top: 1px solid var(--line);
display: grid;
gap: 10px;
}
.jo-pos-shift__title {
font-size: 11px;
font-weight: 700;
letter-spacing: .08em;
text-transform: uppercase;
color: var(--ink-faint);
}

@media (max-width: 1180px) {
.jo-split { grid-template-columns: 1fr; }
.jo-split__aside { position: static; }
.jo-print-layout { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
.jo-shell { grid-template-columns: 1fr; }
.jo-sidebar.j-drawer--above {
position: fixed;
inset-block: 0;
inset-inline-start: 0;
display: flex;
width: min(var(--sidebar-w), 86vw);
max-width: 86vw;
height: 100dvh;
z-index: 1200;
transform: translateX(-100%);
}
[dir="rtl"] .jo-sidebar.j-drawer--above { transform: translateX(100%); }
.jo-sidebar.j-drawer--above.j-drawer--open { transform: translateX(0); }
.jo-menu-toggle, .jo-topbar .jo-menu-toggle { display: grid; }
.jo-drawer-close {
position: absolute;
inset-block-start: 18px;
inset-inline-end: 14px;
z-index: 2;
display: grid;
width: 38px;
height: 38px;
color: var(--side-ink);
border-radius: var(--r-full);
background: rgba(255, 255, 255, .08);
}
j-button.jo-drawer-close {
width: 38px;
height: 38px;
min-height: 0;
min-width: 0;
padding: 0;
border-radius: var(--r-full);
color: var(--side-ink);
background: rgba(255, 255, 255, .08);
}
j-button.jo-drawer-close:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.jo-brand, j-button.jo-brand { padding-inline-end: 50px; }
.jo-topbar { padding-inline: 12px; }
.jo-whoami__meta { display: none; }
.jo-profile-fields { grid-template-columns: 1fr; }
.jo-auth { grid-template-columns: 1fr; }
.jo-auth__aside { display: none; }
.jo-grid-2 { grid-template-columns: 1fr; }
.jo-pos { grid-template-columns: 1fr; }
.jo-pos-cart { position: static; max-height: none; }
.jo-pos-results { max-height: none; }
.jo-content { padding: 18px 14px 40px; }
}

@media print {
.jo-sidebar, .jo-topbar { display: none !important; }
.jo-content { padding: 0; }
}
@page a4 { size: A4; margin: 12mm; }
@page thermal80 { size: 80mm auto; margin: 3mm; }
@page thermal58 { size: 58mm auto; margin: 2mm; }
