/* VEXTAONE ERP Cloud — VEXTAONE theme */
:root {
  --brown: #237D00; --brown-d: #174C00; --beige: #BFE39A; --cream: #F3FAE8; --sage: #3E9A00; --text: #102117; --white: #FFFFFF;
  --muted: #718076; --line: #E1EED3; --card: #FFFFFF; --red: #b4473b; --amber: #c88a2e; --blue: #4f6f8f; --green: #5d7a4f;
  --radius: 16px; --shadow: 0 2px 6px rgba(16,33,23,.06), 0 8px 24px rgba(16,33,23,.06);
  --serif: 'Trebuchet MS', Arial, sans-serif; --sans: Arial, Helvetica, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--cream); color: var(--text); font: 14px/1.5 var(--sans); }
a { color: var(--brown); }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--text); margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: 26px; } h2 { font-size: 20px; } h3 { font-size: 17px; }
.boot { display: grid; place-items: center; height: 100vh; font-family: var(--serif); color: var(--brown); }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--sage); outline-offset: 2px; }

/* layout */
.shell { display: grid; grid-template-columns: 248px 1fr; min-height: 100vh; }
.side { background: var(--brown-d); color: var(--cream); padding: 18px 12px; position: sticky; top: 0; height: 100vh; overflow-y: auto; display: flex; flex-direction: column; }
.side.platform { background: #2f3b46; }
.brand { display: flex; gap: 10px; align-items: center; padding: 4px 8px 16px; }
.brand-mark { width: 38px; height: 38px; border-radius: 12px; background: var(--cream); color: var(--brown); display: grid; place-items: center; font: 700 18px var(--serif); }
.platform .brand-mark { color: #2f3b46; }
.brand b { font-family: var(--serif); font-size: 16px; display: block; letter-spacing: .5px; } .brand small { opacity: .75; font-size: 11px; }
.nav-group { font-size: 10.5px; text-transform: uppercase; letter-spacing: 1.2px; opacity: .6; margin: 14px 10px 4px; }
.nav a { display: flex; gap: 10px; align-items: center; color: var(--cream); text-decoration: none; padding: 8px 10px; border-radius: 10px; font-size: 13.5px; opacity: .92; }
.nav a:hover { background: rgba(255,255,255,.08); }
.nav a.active { background: var(--cream); color: var(--brown); opacity: 1; font-weight: 600; }
.platform .nav a.active { color: #2f3b46; }
.nav .ico { width: 18px; text-align: center; }
.nav-spacer { flex: 1; }
.main { min-width: 0; }
.top { display: flex; align-items: center; gap: 12px; padding: 12px 24px; background: rgba(251,255,246,.94); backdrop-filter: blur(6px); position: sticky; top: 0; z-index: 5; border-bottom: 1px solid var(--line); }
.top .crumb { font-family: var(--serif); font-size: 18px; flex: 1; }
.top select { border: 1px solid var(--line); background: var(--white); border-radius: 10px; padding: 7px 10px; }
.user-chip { display: flex; align-items: center; gap: 8px; background: var(--white); border-radius: 999px; padding: 4px 12px 4px 4px; border: 1px solid var(--line); }
.avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--sage); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 12px; }
.user-chip small { color: var(--muted); display: block; font-size: 11px; line-height: 1.1; }
.content { padding: 22px 24px 80px; max-width: 1480px; }
.demo-banner { background: repeating-linear-gradient(45deg, #3E9A00, #3E9A00 12px, #2F7A00 12px, #2F7A00 24px); color: #fff; text-align: center; font-size: 12px; padding: 5px; letter-spacing: .5px; }
.demo-banner b { letter-spacing: 2px; }
.menu-btn { display: none; }

/* cards & grid */
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; border: 1px solid #E6F2DA; }
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.span2 { grid-column: span 2; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.page-head p { margin: 2px 0 0; color: var(--muted); }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.spread { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.muted { color: var(--muted); } .small { font-size: 12px; } .r { text-align: right; }
.kpi .kpi-top { display: flex; justify-content: space-between; color: var(--muted); font-size: 12.5px; }
.kpi .kpi-value { font: 600 24px var(--serif); margin: 6px 0 2px; color: var(--brown-d); }
.kpi .kpi-sub { font-size: 12px; color: var(--sage); }
.kpi-icon { font-size: 18px; }

/* buttons & inputs */
.btn { border: 1px solid var(--line); background: var(--white); color: var(--text); border-radius: 12px; padding: 8px 14px; font-weight: 600; font-size: 13px; transition: .15s; }
.btn:hover { border-color: var(--beige); background: #F7FCF0; }
.btn.primary { background: var(--brown); color: #fff; border-color: var(--brown); } .btn.primary:hover { background: var(--brown-d); }
.btn.sage { background: var(--sage); color: #fff; border-color: var(--sage); }
.btn.danger { color: var(--red); border-color: #e9c3bc; }
.btn.ghost { background: transparent; }
.btn.sm { padding: 4px 10px; font-size: 12px; border-radius: 9px; }
.btn.lg { padding: 12px 20px; font-size: 15px; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.icon-btn { border: 0; background: transparent; font-size: 16px; padding: 6px; border-radius: 8px; color: inherit; }
.icon-btn:hover { background: rgba(0,0,0,.06); }
.help-btn { border: 1.5px solid var(--brown); color: var(--brown); background: var(--white); border-radius: 50%; width: 28px; height: 28px; font-weight: 700; }
input, select, textarea { font: inherit; color: var(--text); border: 1px solid var(--line); background: var(--white); border-radius: 10px; padding: 8px 10px; width: 100%; }
input:focus, select:focus, textarea:focus { border-color: var(--brown); outline: none; box-shadow: 0 0 0 3px rgba(35,125,0,.15); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; }
.field { display: flex; flex-direction: column; gap: 4px; } .field.full, .form .full { grid-column: 1 / -1; }
.field span { font-size: 12px; font-weight: 600; color: var(--muted); } .field small { color: var(--muted); font-size: 11px; }
.check { display: flex; gap: 8px; align-items: center; font-size: 13px; } .check input { width: auto; }
.form-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 6px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: end; margin-bottom: 12px; }
.filters label { display: flex; flex-direction: column; font-size: 11px; color: var(--muted); font-weight: 600; gap: 3px; }
.filters input, .filters select { width: auto; min-width: 140px; padding: 6px 9px; }
.export { display: flex; gap: 4px; }

/* tables */
.table-wrap { overflow-x: auto; border-radius: 12px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.tbl th { text-align: left; font-size: 11.5px; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); padding: 9px 10px; border-bottom: 2px solid var(--line); background: #F7FCF0; position: sticky; top: 0; white-space: nowrap; }
.tbl td { padding: 9px 10px; border-bottom: 1px solid #EEF6E4; vertical-align: middle; }
.tbl tbody tr:hover { background: #F1F9E8; }
.tbl.compact td, .tbl.compact th { padding: 6px 8px; }
.tbl th.r, .tbl td.r { text-align: right; font-variant-numeric: tabular-nums; }
.tbl tfoot td { border-top: 2px solid var(--line); background: #F7FCF0; }
.tbl tr[data-open] { cursor: pointer; }
.thumb { width: 38px; height: 38px; border-radius: 10px; object-fit: cover; vertical-align: middle; background: #FFF6D5; }
.empty { padding: 28px; text-align: center; color: var(--muted); background: #F7FCF0; border-radius: 12px; border: 1px dashed var(--line); }
.badge { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.badge.green { background: #e6eedf; color: var(--green); } .badge.amber { background: #f8ead2; color: #9a6a1f; } .badge.red { background: #f5dcd7; color: var(--red); }
.badge.blue { background: #dfe7ef; color: var(--blue); } .badge.grey { background: #eee7df; color: #7b6c62; } .badge.demo { background: var(--sage); color: #fff; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 14px; overflow-x: auto; }
.tab { border: 0; background: transparent; padding: 9px 14px; border-radius: 10px 10px 0 0; color: var(--muted); font-weight: 600; white-space: nowrap; }
.tab.active { color: var(--brown); box-shadow: inset 0 -3px 0 var(--brown); }

/* charts */
.chart { width: 100%; height: auto; } .chart .grid { stroke: #E6F2DA; } .chart .axis { font-size: 10px; fill: var(--muted); }
.donut { display: flex; gap: 14px; align-items: center; } .donut ul { list-style: none; padding: 0; margin: 0; font-size: 12.5px; } .donut li { display: flex; gap: 6px; align-items: center; margin: 3px 0; } .donut i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.list-rank { list-style: none; margin: 0; padding: 0; } .list-rank li { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px solid #EEF6E4; } .list-rank li:last-child { border: 0; }
.list-rank .grow { flex: 1; min-width: 0; } .list-rank .bar { height: 6px; background: #E6F2DA; border-radius: 4px; margin-top: 4px; overflow: hidden; } .list-rank .bar i { display: block; height: 100%; background: var(--brown); }

/* modal & toast */
.modal-back { position: fixed; inset: 0; background: rgba(16,33,23,.45); display: grid; place-items: center; z-index: 50; padding: 16px; }
.modal { background: var(--card); border-radius: 20px; width: min(620px, 100%); max-height: 92vh; overflow: auto; box-shadow: 0 30px 80px rgba(0,0,0,.25); }
.modal.wide { width: min(1000px, 100%); }
.modal-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--card); z-index: 1; }
.modal-head h3 { margin: 0; } .modal-body { padding: 18px 20px; }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 20px); opacity: 0; background: var(--text); color: #fff; padding: 10px 18px; border-radius: 12px; z-index: 99; transition: .25s; max-width: 90vw; }
.toast.show { opacity: 1; transform: translate(-50%, 0); } .toast.err { background: var(--red); }

/* login */
.login { display: grid; grid-template-columns: 1.1fr 1fr; min-height: 100vh; }
.login-hero { background: url(/img/ui/login-hero.svg) center/cover; color: var(--cream); padding: 48px; display: flex; flex-direction: column; justify-content: space-between; }
.login-hero h1 { color: var(--cream); font-size: 38px; line-height: 1.15; max-width: 480px; }
.login-hero .tag { letter-spacing: 3px; font-size: 12px; text-transform: uppercase; opacity: .85; }
.login-form { display: grid; place-items: center; padding: 32px; }
.login-form .card { width: min(420px, 100%); padding: 30px; }
.demo-accounts { margin-top: 16px; font-size: 12px; } .demo-accounts button { margin: 3px 3px 0 0; }

/* POS */
.pos { display: grid; grid-template-columns: 1fr 380px; gap: 16px; align-items: start; }
.cat-bar { display: flex; gap: 6px; overflow-x: auto; margin-bottom: 12px; padding-bottom: 4px; }
.chip { border: 1px solid var(--line); background: var(--white); border-radius: 999px; padding: 6px 14px; font-weight: 600; font-size: 12.5px; white-space: nowrap; }
.chip.active { background: var(--brown); color: #fff; border-color: var(--brown); }
.prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.prod { background: var(--white); border-radius: 16px; border: 1px solid #E6F2DA; padding: 10px; text-align: left; transition: .15s; box-shadow: var(--shadow); }
.prod:hover { transform: translateY(-2px); border-color: var(--beige); }
.prod img { width: 100%; aspect-ratio: 26/30; object-fit: cover; border-radius: 12px; background: var(--cream); }
.prod b { display: block; font-size: 13px; margin-top: 6px; line-height: 1.25; min-height: 2.5em; } .prod span { color: var(--brown); font-weight: 700; font-size: 13px; }
.cart { position: sticky; top: 76px; }
.cart-line { display: flex; gap: 8px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 13px; }
.cart-line .grow { flex: 1; } .cart-line small { color: var(--muted); display: block; }
.totals div { display: flex; justify-content: space-between; padding: 2px 0; } .totals .grand { font: 700 22px var(--serif); color: var(--brown-d); border-top: 2px solid var(--line); margin-top: 6px; padding-top: 6px; }
.opt-group { margin-bottom: 14px; } .opt-group h4 { font-family: var(--sans); font-size: 12px; text-transform: uppercase; color: var(--muted); letter-spacing: .6px; margin-bottom: 6px; }
.opts { display: flex; gap: 6px; flex-wrap: wrap; }
.opt { border: 1.5px solid var(--line); background: var(--white); border-radius: 12px; padding: 8px 12px; font-weight: 600; font-size: 13px; }
.opt.on { border-color: var(--brown); background: #EAF6DC; color: var(--brown-d); }
.opt small { display: block; font-weight: 400; color: var(--muted); font-size: 11px; }
.pay-methods { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.receipt { font-family: 'Courier New', monospace; font-size: 12px; background: #fff; padding: 16px; border: 1px dashed #ccc; max-width: 340px; margin: 0 auto; }
.receipt .c { text-align: center; } .receipt hr { border: 0; border-top: 1px dashed #999; } .receipt .l { display: flex; justify-content: space-between; }
.offline-pill { background: var(--amber); color: #fff; border-radius: 999px; padding: 2px 10px; font-size: 12px; }

/* kanban */
.kanban { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.kan-col { background: #EEF7E3; border-radius: 16px; padding: 12px; min-height: 300px; } .kan-col h3 { font-size: 15px; display: flex; justify-content: space-between; }
.ticket { background: #fff; border-radius: 14px; padding: 12px; margin-bottom: 10px; box-shadow: var(--shadow); border-left: 5px solid var(--beige); }
.ticket.preparing { border-left-color: var(--blue); } .ticket.ready { border-left-color: var(--sage); }
.ticket ul { margin: 6px 0; padding-left: 16px; font-size: 12.5px; }

/* matrix */
.matrix { font-size: 12px; } .matrix th { position: sticky; top: 0; } .matrix td.c, .matrix th.c { text-align: center; padding: 4px; } .matrix input { width: 16px; height: 16px; accent-color: var(--brown); }
.matrix th:first-child, .matrix td:first-child { position: sticky; left: 0; background: #F7FCF0; }

/* docs */
.doc-layout { display: grid; grid-template-columns: 240px 1fr 220px; gap: 18px; align-items: start; }
.doc-nav a { display: block; padding: 6px 10px; border-radius: 8px; text-decoration: none; color: var(--text); font-size: 13px; } .doc-nav a.active, .doc-nav a:hover { background: #E3F2D3; }
.doc-nav h4 { font-family: var(--sans); font-size: 11px; text-transform: uppercase; color: var(--muted); margin: 12px 10px 4px; letter-spacing: .8px; }
.article { line-height: 1.7; font-size: 14.5px; } .article h2 { margin-top: 1.4em; border-bottom: 1px solid var(--line); padding-bottom: 4px; } .article h3 { margin-top: 1.2em; }
.article code { background: #E8F4DC; padding: 1px 5px; border-radius: 5px; font-size: 12.5px; } .article blockquote { border-left: 4px solid var(--sage); margin: 10px 0; padding: 6px 14px; background: #eef1ea; border-radius: 0 10px 10px 0; }
.article figure { margin: 14px 0; } .article figure img { max-width: 100%; border-radius: 12px; border: 1px solid var(--line); box-shadow: var(--shadow); } .article figcaption { font-size: 12px; color: var(--muted); text-align: center; margin-top: 4px; }
.toc { position: sticky; top: 80px; font-size: 12.5px; } .toc a { display: block; text-decoration: none; padding: 3px 0; color: var(--muted); } .toc a.l3 { padding-left: 12px; }
.search-big { display: flex; gap: 8px; } .search-big input { font-size: 16px; padding: 12px 16px; border-radius: 14px; }
.doc-card { display: block; text-decoration: none; color: var(--text); padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: #fff; margin-bottom: 8px; }
.doc-card:hover { border-color: var(--beige); } .doc-card small { color: var(--muted); display: block; }
.section-tile { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: var(--text); padding: 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.section-tile b { font-family: var(--serif); } .section-tile:hover { border-color: var(--brown); }

/* AI */
.ai-fab { position: fixed; right: 22px; bottom: 22px; width: 58px; height: 58px; border-radius: 50%; background: var(--sage); color: #fff; border: 0; font-size: 24px; box-shadow: 0 10px 30px rgba(0,0,0,.25); z-index: 30; }
.ai-panel { position: fixed; right: 22px; bottom: 92px; width: min(420px, calc(100vw - 30px)); height: min(620px, calc(100vh - 120px)); background: var(--card); border-radius: 20px; box-shadow: 0 30px 80px rgba(0,0,0,.3); z-index: 31; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); }
.ai-head { background: var(--sage); color: #fff; padding: 12px 16px; display: flex; justify-content: space-between; align-items: center; } .ai-head b { font-family: var(--serif); }
.ai-msgs { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.msg { max-width: 92%; padding: 10px 13px; border-radius: 14px; font-size: 13.5px; } .msg p { margin: 0 0 6px; } .msg p:last-child { margin: 0; }
.msg.user { align-self: flex-end; background: var(--brown); color: #fff; border-bottom-right-radius: 4px; }
.msg.bot { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.msg .meta { font-size: 11px; color: var(--muted); margin-top: 6px; } .msg .tbl { font-size: 11.5px; }
.kind { font-size: 10.5px; text-transform: uppercase; font-weight: 700; letter-spacing: .6px; padding: 2px 7px; border-radius: 6px; display: inline-block; margin-bottom: 4px; }
.kind.actual { background: #e6eedf; color: var(--green); } .kind.forecast { background: #f8ead2; color: #9a6a1f; } .kind.guidance { background: #dfe7ef; color: var(--blue); } .kind.denied { background: #f5dcd7; color: var(--red); } .kind.action { background: #efe0f0; color: #7a4a80; } .kind.unknown { background: #eee7df; color: #7b6c62; }
.ai-input { display: flex; gap: 6px; padding: 10px; border-top: 1px solid var(--line); background: #fff; }
.suggest { display: flex; flex-wrap: wrap; gap: 6px; } .suggest button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 5px 11px; font-size: 12px; text-align: left; }
.ai-page { display: grid; grid-template-columns: 280px 1fr; gap: 16px; height: calc(100vh - 150px); }
.ai-page .chat { display: flex; flex-direction: column; overflow: hidden; padding: 0; }

@media (max-width: 1100px) { .g4 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: repeat(2, 1fr); } .doc-layout { grid-template-columns: 200px 1fr; } .toc { display: none; } .pos { grid-template-columns: 1fr 330px; } }
@media (max-width: 820px) {
  .shell { grid-template-columns: 1fr; } .side { position: fixed; left: -270px; width: 260px; z-index: 40; transition: .2s; } .side.open { left: 0; box-shadow: 0 0 60px rgba(0,0,0,.4); }
  .menu-btn { display: inline-block; } .g2, .g3, .g4 { grid-template-columns: 1fr; } .span2 { grid-column: auto; }
  .content { padding: 16px 12px 90px; } .top { padding: 10px 12px; } .top .crumb { font-size: 15px; } .user-chip small, .user-chip .nm { display: none; }
  .login { grid-template-columns: 1fr; } .login-hero { min-height: 220px; padding: 24px; } .login-hero h1 { font-size: 26px; }
  .pos { grid-template-columns: 1fr; } .cart { position: static; } .kanban { grid-template-columns: 1fr; } .doc-layout { grid-template-columns: 1fr; } .ai-page { grid-template-columns: 1fr; height: auto; } .form { grid-template-columns: 1fr; }
  .pay-methods { grid-template-columns: repeat(3, 1fr); }
}
@media print {
  .side, .top, .ai-fab, .ai-panel, .demo-banner, .no-print, .doc-nav, .toc { display: none !important; }
  .shell { display: block; } .content { padding: 0; } .card { box-shadow: none; border: 0; } body { background: #fff; }
  .doc-layout { display: block; }
}
.top select { width: auto; max-width: 280px; }
.user-chip b, .btn { white-space: nowrap; }
.user-chip b { font-size: 13px; }
.pos > div, .main, .content { min-width: 0; }
@media (max-width: 820px) {
  .main { overflow-x: hidden; }
  .top select { max-width: 130px; }
  .prod-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-head .row { width: 100%; }
}
.article pre.code, pre.code { background: #102117; color: #F3FAE8; padding: 12px 14px; border-radius: 12px; overflow-x: auto; font-size: 12.5px; line-height: 1.5; }

/* VEXTAONE brand accents */
:root { --mango: #56BD00; --yellow: #FFAE00; }
.kpi .kpi-icon { color: var(--yellow); }
.btn.primary { background: var(--brown); }
.nav a.active { color: var(--brown-d); }
.prod span { color: var(--brown); }
.prod img { object-fit: cover; background: #FFF6D5; }
h1, h2, h3 { letter-spacing: -.2px; }

/* ───────── Landing page ───────── */
.lp { --ink: #0c1a10; --gold: #FFB21A; --gold-d: #e39a00; background: #fbfdf7; color: var(--text); font-family: var(--sans); overflow-x: hidden; }
.lp a { cursor: pointer; }
.lp .brand-mark { width: 36px; height: 36px; border-radius: 11px; background: var(--mango); color: #fff; display: inline-grid; place-items: center; font: 700 16px var(--serif); }
.lp-nav { position: fixed; inset: 0 0 auto 0; z-index: 30; display: flex; align-items: center; gap: 28px; padding: 18px 48px; transition: background .25s, box-shadow .25s, padding .25s; color: #fff; }
.lp-nav.solid { background: rgba(12,26,16,.92); backdrop-filter: blur(10px); box-shadow: 0 6px 30px rgba(0,0,0,.18); padding: 12px 48px; }
.lp-brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.lp-brand b { display: block; font: 700 17px var(--serif); letter-spacing: 1.5px; } .lp-brand small { display: block; font-size: 11px; opacity: .75; letter-spacing: 2px; text-transform: uppercase; }
.lp-nav nav { display: flex; gap: 26px; margin-left: auto; } .lp-nav nav a { color: #fff; text-decoration: none; font-size: 14px; opacity: .85; } .lp-nav nav a:hover { opacity: 1; color: var(--gold); }
.lp-btn-gold { background: linear-gradient(135deg, var(--gold), var(--gold-d)); color: #1b1300; border: 0; font-weight: 700; box-shadow: 0 10px 26px rgba(255,178,26,.35); }
.lp-btn-gold:hover { filter: brightness(1.05); transform: translateY(-1px); }
.lp-btn-ghost { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.45); text-decoration: none; }
.lp-btn-ghost:hover { background: rgba(255,255,255,.18); }
.lp .btn.lg { padding: 14px 24px; font-size: 15px; border-radius: 14px; }
.lp-hero { position: relative; min-height: 100vh; display: flex; align-items: center; color: #fff; background: radial-gradient(120% 90% at 80% 20%, #2c6a12 0%, #123018 45%, #0a160d 100%); overflow: hidden; }
.lp-hero-bg { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; }
.lp-hero-bg div { background-size: cover; background-position: center; transform: scale(1.06); animation: lpZoom 18s ease-in-out infinite alternate; }
.lp-hero-bg div:nth-child(2) { animation-delay: -9s; }
.lp-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(8,18,10,.94) 0%, rgba(8,18,10,.78) 42%, rgba(8,18,10,.35) 75%, rgba(8,18,10,.55) 100%), linear-gradient(0deg, rgba(8,18,10,.85) 0%, transparent 35%); }
@keyframes lpZoom { from { transform: scale(1.04); } to { transform: scale(1.14); } }
.lp-hero-in { position: relative; z-index: 2; padding: 120px 48px 90px; max-width: 760px; }
.lp-eyebrow { display: inline-block; font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: 14px; }
.lp-eyebrow.dark { color: var(--brown); }
.lp-hero h1 { color: #fff; font: 700 clamp(40px, 6vw, 74px)/1.02 var(--serif); letter-spacing: -1px; margin: 0 0 20px; }
.lp-lead { font-size: clamp(16px, 1.5vw, 19px); line-height: 1.6; opacity: .9; max-width: 620px; }
.lp-cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 30px 0 40px; }
.lp-stats { display: grid; grid-template-columns: repeat(4, auto); gap: 30px; border-top: 1px solid rgba(255,255,255,.18); padding-top: 22px; max-width: 680px; }
.lp-stats b { display: block; font: 700 28px var(--serif); color: var(--gold); } .lp-stats span { font-size: 12.5px; opacity: .8; }
.lp-scroll { position: absolute; z-index: 2; bottom: 22px; left: 50%; transform: translateX(-50%); background: none; border: 1px solid rgba(255,255,255,.4); color: #fff; width: 42px; height: 42px; border-radius: 50%; font-size: 20px; animation: lpBob 2s infinite; }
@keyframes lpBob { 50% { transform: translate(-50%, 6px); } }
.lp-sec { padding: 96px 48px; max-width: 1240px; margin: 0 auto; }
.lp-alt { max-width: none; background: linear-gradient(180deg, #f3fae8, #fbfdf7); } .lp-alt > * { max-width: 1240px; margin-left: auto; margin-right: auto; }
.lp-head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.lp-head h2 { font: 700 clamp(28px, 3.4vw, 42px)/1.15 var(--serif); margin: 0 0 14px; color: var(--ink); } .lp-head p { color: var(--muted); font-size: 16.5px; line-height: 1.6; }
.lp-shops { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.lp-shop { background: #fff; border-radius: 26px; overflow: hidden; box-shadow: 0 24px 60px rgba(16,33,23,.10); border: 1px solid #edf3e4; transition: transform .25s; }
.lp-shop:hover { transform: translateY(-4px); }
.lp-shop-img { height: 300px; background-color: #5a3420; background-size: cover; background-position: center; position: relative; }
.lp-shop:nth-child(2) .lp-shop-img { background-color: #c79a6b; }
.lp-shop-img span { position: absolute; left: 20px; bottom: 18px; background: rgba(255,255,255,.95); padding: 8px 16px; border-radius: 30px; font: 700 15px var(--serif); color: var(--ink); }
.lp-shop ul { margin: 0; padding: 24px 28px 28px 46px; display: grid; gap: 10px; line-height: 1.5; }
.lp-shop li::marker { color: var(--mango); }
.lp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.lp-feat { background: #fff; border-radius: 20px; padding: 24px; border: 1px solid #e6f0da; transition: .2s; }
.lp-feat:hover { border-color: var(--mango); box-shadow: 0 16px 40px rgba(35,125,0,.12); transform: translateY(-3px); }
.lp-ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-size: 20px; background: linear-gradient(135deg, #e9f7d8, #fff3cf); color: var(--brown); margin-bottom: 14px; }
.lp-feat h3 { font-size: 16.5px; margin: 0 0 6px; } .lp-feat p { color: var(--muted); font-size: 13.5px; line-height: 1.55; margin: 0; }
.lp-band { position: relative; color: #fff; background: #0e1f12 var(--band) center/cover fixed; }
.lp-band::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,22,13,.95), rgba(10,22,13,.82)); }
.lp-band-in { position: relative; max-width: 1240px; margin: 0 auto; padding: 96px 48px; }
.lp-band h2 { color: #fff; font: 700 clamp(28px, 3.4vw, 42px) var(--serif); margin: 0 0 40px; }
.lp-flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: f; }
.lp-flow li { counter-increment: f; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 20px; padding: 22px; position: relative; }
.lp-flow li::before { content: counter(f, decimal-leading-zero); display: block; font: 700 30px var(--serif); color: var(--gold); margin-bottom: 8px; }
.lp-flow b { display: block; font-size: 17px; margin-bottom: 6px; } .lp-flow span { font-size: 13.5px; opacity: .8; line-height: 1.5; }
.lp-demo-shop { background: #fff; border: 1px solid #e6f0da; border-radius: 22px; margin-bottom: 14px; box-shadow: 0 12px 34px rgba(16,33,23,.06); }
.lp-demo-shop summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 18px 22px; font-size: 16px; }
.lp-demo-shop summary::-webkit-details-marker { display: none; }
.lp-demo-shop summary em { font-style: normal; font-size: 12px; background: #f3fae8; color: var(--brown); padding: 3px 10px; border-radius: 20px; } .lp-demo-shop summary small { margin-left: auto; color: var(--muted); }
.lp-demo-shop summary::after { content: '⌄'; color: var(--muted); } .lp-demo-shop[open] summary::after { content: '⌃'; }
.lp-roles { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; padding: 0 22px 22px; }
.lp-role { text-align: left; background: linear-gradient(180deg, #fff, #fbfdf7); border: 1px solid #e1edd3; border-radius: 16px; padding: 14px 16px; display: grid; gap: 4px; font: inherit; transition: .18s; }
.lp-role:hover { border-color: var(--mango); box-shadow: 0 10px 24px rgba(35,125,0,.14); transform: translateY(-2px); }
.lp-role b { font-size: 15px; color: var(--ink); } .lp-role span { font-size: 12.5px; color: var(--brown); } .lp-role small { font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.lp-role i { font-style: normal; font-size: 12.5px; font-weight: 700; color: var(--mango); margin-top: 4px; }
.lp-role.busy { opacity: .6; pointer-events: none; }
.lp-roles.compact { grid-template-columns: 1fr 1fr; padding: 0 12px 12px; gap: 6px; } .lp-roles.compact .lp-role { padding: 8px 10px; border-radius: 12px; } .lp-roles.compact .lp-role b { font-size: 13px; } .lp-roles.compact .lp-role span { font-size: 11px; } .lp-roles.compact .lp-role i { display: none; }
.demo-accounts .lp-demo-shop { border-radius: 14px; margin-bottom: 8px; box-shadow: none; } .demo-accounts .lp-demo-shop summary { padding: 10px 12px; font-size: 13px; }
.lp-demo-off { text-align: center; background: #fff; border-radius: 20px; padding: 28px; border: 1px dashed #cfe3b8; }
.lp-foot { background: #0a160d; color: #e9f3df; padding: 36px 48px; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
.lp-foot .muted { color: #9fb39a; } .lp-foot a { color: var(--gold); }
@media (max-width: 1000px) { .lp-grid { grid-template-columns: repeat(2, 1fr); } .lp-flow { grid-template-columns: 1fr 1fr; } .lp-shops { grid-template-columns: 1fr; } .lp-nav nav { display: none; } }
@media (max-width: 640px) { .lp-nav, .lp-nav.solid { padding: 12px 18px; } .lp-hero-in, .lp-sec, .lp-band-in { padding-left: 20px; padding-right: 20px; } .lp-sec { padding-top: 64px; padding-bottom: 64px; } .lp-hero-bg { grid-template-columns: 1fr; } .lp-hero-bg div:nth-child(2) { display: none; } .lp-stats { grid-template-columns: 1fr 1fr; gap: 18px; } .lp-grid, .lp-flow { grid-template-columns: 1fr; } .lp-shop-img { height: 220px; } .lp-band { background-attachment: scroll; } }
/* login hero photo */
.login-hero { background: linear-gradient(160deg, rgba(10,22,13,.86), rgba(23,76,0,.72)), url(https://images.unsplash.com/photo-1558857563-b371033873b8?w=1400&q=80&auto=format&fit=crop) center/cover, url(/img/ui/login-hero.svg) center/cover; }
.demo-accounts .lp-demo-shop summary em { display: none; } .demo-accounts { max-height: 46vh; overflow: auto; }

.lp-hero-bg div.tea { transform: none; animation: none; background-size: cover; background-position: 50% 40%; }
.lp-roles.compact .lp-role small { font-size: 11px; line-height: 1.3; }
.chg-photo { display:inline-block; margin-top:6px; font-size:12px; font-weight:700; color:var(--mango); }
.prod:hover .chg-photo { text-decoration: underline; }

.login-hero { position: relative; overflow: hidden; background: linear-gradient(160deg, #0a160d, #174c00); }
.login-hero > * { position: relative; z-index: 1; }
.login-hero::after { content: ''; position: absolute; z-index: 0; right: 6%; bottom: 7%; height: 46%; aspect-ratio: 2 / 3; border-radius: 22px; box-shadow: 0 24px 60px rgba(0,0,0,.45); background: url(/img/ui/hero-frappe.jpg) center/cover, linear-gradient(160deg, #2c7a12, #bfe38a); }
@media (max-width: 900px) { .login-hero::after { display: none; } }
.login-hero::after { height: 40%; right: 5%; }
.login-hero h1, .login-hero p { max-width: 400px !important; }

/* HRIS & Workforce collapsible menu */
.nav-parent .nav-sub { display: none; margin: 2px 0 4px 14px; padding-left: 8px; border-left: 1px solid rgba(255,255,255,.18); }
.nav-parent.open .nav-sub { display: block; }
.nav-head .chev { margin-left: auto; font-size: 12px; opacity: .7; transform: rotate(180deg); transition: .2s; }
.nav-parent.open .nav-head .chev { transform: none; }
.nav-parent.open > .nav-head { background: rgba(255,255,255,.1); font-weight: 600; }
.nav-sub a { font-size: 13px; padding: 6px 10px; }

/* HRIS */
.hr-av{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#BFE39A;color:#29402F;font-weight:700;font-size:12px;flex:none}
.hr-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px}
.hr-stat{background:var(--card,#fff);border:1px solid #e3eadf;border-radius:14px;padding:12px 14px;display:flex;flex-direction:column;gap:2px}
.hr-stat span{font-size:12px;color:#718076}.hr-stat b{font-size:24px}.hr-stat small{color:#718076;font-size:12px}.hr-stat.hl{border-color:#FFAE00}
.hr-bar{display:grid;grid-template-columns:130px 1fr 32px;gap:8px;align-items:center;margin:6px 0;font-size:13px}
.hr-bar .bar{background:#eef3ea;border-radius:99px;height:10px;overflow:hidden}.hr-bar .bar i{display:block;height:100%;background:#3E9A00;border-radius:99px}
.hr-kv{display:flex;flex-direction:column;padding:6px 0;border-bottom:1px solid #eef3ea}.hr-kv span{font-size:11px;color:#718076;text-transform:uppercase;letter-spacing:.04em}
.hr-req{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;padding:10px 0;border-bottom:1px solid #eef3ea}
.hr-act{position:relative;display:inline-block}.hr-act summary{list-style:none;cursor:pointer}.hr-act summary::-webkit-details-marker{display:none}
.hr-menu{position:absolute;right:0;top:100%;z-index:20;background:#fff;border:1px solid #dfe8da;border-radius:12px;box-shadow:0 10px 28px rgba(0,0,0,.14);min-width:220px;padding:8px;display:flex;flex-direction:column;gap:2px}
.hr-menu button{text-align:left;background:none;border:0;padding:8px 10px;border-radius:8px;cursor:pointer;font:inherit;display:flex;flex-direction:column}
.hr-menu button:hover{background:#f3f8ef}.hr-menu button small{color:#718076;font-size:11px}.hr-menu button.danger{color:#b3261e}

/* Employee self-service */
.ess-pass{background:linear-gradient(135deg,#29402F,#1d2e22);color:#fff;border-radius:16px;padding:18px}
.ess-pass .pill{background:rgba(255,255,255,.14);border-radius:99px;padding:3px 10px;font-size:11px;letter-spacing:.04em}.ess-pass .pill.ok{background:#3E9A00}
.ess-pass-foot{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:22px}.ess-pass-foot small{display:block;opacity:.65;font-size:10px}.ess-pass-foot b{font-size:13px}
.ess-clock{font-size:38px;font-weight:700;text-align:center;margin:8px 0;font-variant-numeric:tabular-nums}
.ess-in,.ess-out{min-width:120px}.ess-in:not([disabled]){background:#237D00;color:#fff;border-color:#237D00}.ess-out:not([disabled]){background:#FFAE00;border-color:#FFAE00}
.ess-in[disabled],.ess-out[disabled]{opacity:.45;cursor:not-allowed}
.ess-week{display:grid;grid-template-columns:repeat(7,1fr);gap:8px}.ess-day{border:1px solid #e3eadf;border-radius:12px;padding:10px;display:flex;flex-direction:column;gap:4px;align-items:center;text-align:center;font-size:12px}
.ess-day.today{border-color:#FFAE00;box-shadow:0 0 0 2px #FFAE0033}.ess-day em{font-size:10px;background:#FFAE00;border-radius:6px;padding:1px 5px;font-style:normal}
@media(max-width:900px){.ess-week{grid-template-columns:repeat(2,1fr)}.ess-pass-foot{grid-template-columns:repeat(2,1fr)}}
.ess-pass h2{color:#fff}

/* Modules whose pages live in the sidebar: hide the duplicate in-page tab bar */
#view[data-sidemenu] > .tabs { display: none; }
.nav-head { cursor: pointer; }

/* v1.5.2 — premium logo mark (transparent, blends with any background) */
.brand-mark, .lp .brand-mark, .platform .brand-mark { width: 46px; height: 42px; border-radius: 0; background: url(/img/ui/logo-mark.png) center / contain no-repeat; color: transparent; font-size: 0; display: inline-block; flex: none;
  filter: drop-shadow(0 2px 5px rgba(0,0,0,.45)) drop-shadow(0 0 9px rgba(70,130,255,.35)); transition: filter .25s, transform .25s; }
.brand:hover .brand-mark, .lp-brand:hover .brand-mark { filter: drop-shadow(0 2px 5px rgba(0,0,0,.45)) drop-shadow(0 0 14px rgba(90,150,255,.65)); transform: translateY(-1px); }
.brand { gap: 12px; }
.lp-brand { gap: 12px; }

/* v1.5.2 — sign-in page: the frappé photo is the backdrop of "One Platform. Complete Control." */
.login-hero { background: linear-gradient(90deg, rgba(7,18,9,.93) 0%, rgba(7,18,9,.80) 36%, rgba(7,18,9,.38) 68%, rgba(7,18,9,.18) 100%), linear-gradient(0deg, rgba(7,18,9,.62) 0%, rgba(7,18,9,0) 38%), url(/img/ui/hero-frappe.jpg) 62% 38% / cover no-repeat, #0a160d; }
.login-hero::after { display: none !important; }
.login-hero h1 { text-shadow: 0 2px 18px rgba(0,0,0,.55); } .login-hero p, .login-hero .small { text-shadow: 0 1px 10px rgba(0,0,0,.6); }
.lp-hero-bg div.tea { background-position: 50% 42%; }

/* Landing footer: logo beside a stacked brand block */
.lp-foot-brand { display: flex; align-items: center; gap: 14px; }
.lp-foot-brand .brand-mark { width: 52px; height: 48px; }
.lp-foot-brand > div { display: flex; flex-direction: column; gap: 2px; }
.lp-foot-brand b { font-size: 17px; letter-spacing: .3px; }
.lp-foot-co { font-size: 12.5px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; color: var(--gold); }
.lp-foot-brand .muted { font-size: 13px; margin-top: 2px; }

/* POS machine cards + maximised POS */
.mgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.mcard { display: flex; flex-direction: column; gap: 3px; align-items: flex-start; text-align: left; padding: 12px 14px; border: 2px solid var(--line); border-radius: 12px; background: var(--white); cursor: pointer; font: inherit; }
.mcard .mic { font-size: 22px; color: var(--green, #237D00); } .mcard small, .mcard em { color: var(--muted, #718076); font-style: normal; font-size: 12px; }
.mcard.mine { border-color: #9BD86A; background: #f4fbec; } .mcard.sel { border-color: #237D00; box-shadow: 0 0 0 3px rgba(35,125,0,.18); }
.mcard.off { opacity: .55; cursor: not-allowed; }
body.pos-max .side, body.pos-max .top, body.pos-max .demo-banner, body.pos-max .ai-fab { display: none !important; }
body.pos-max .shell { grid-template-columns: 1fr; } body.pos-max .content { padding: 12px 16px; max-width: none; }
