:root {
  --ink: #123e82;
  --deep: #052c65;
  --blue: #0064cf;
  --sky: #edf7ff;
  --line: #d7e9f8;
  --orange: #ff8c27;
  --green: #2ba844;
  --red: #df3140;
  --shadow: 0 26px 70px rgba(0, 43, 99, .28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #e8eff6; font-family: "Trebuchet MS", "Segoe UI", sans-serif; }
button, a { font: inherit; }
a { color: inherit; }

.stage { min-height: 100vh; display: grid; place-items: center; padding: 40px 15px; position: relative; overflow: hidden; background: #e7edf3; }
.pos-screen { position: absolute; inset: 0; overflow: hidden; background: #d9e1e8; color: #fff; }
.pos-topbar { height: 19px; display: flex; align-items: center; justify-content: space-between; padding: 0 10px; background: #073b71; color: #62d2ff; font: 9px Arial, sans-serif; }
.pos-topbar strong, .pos-topbar b { color: #f0a92e; font-weight: 700; }
.pos-workspace { display: grid; grid-template-columns: 28% 72%; height: calc(100% - 119px); }
.pos-ticket { padding: 28px 4px 0; border-right: 2px solid #b5c1cb; background: linear-gradient(135deg, #eef3f7, #c9d2dc); color: #273b4c; }
.ticket-logo { height: 210px; opacity: .16; display: grid; place-items: center; }
.logo-image { display: block; object-fit: contain; }
.logo-watermark { width: 170px; opacity: .18; filter: grayscale(1); }
.ticket-total { display: flex; justify-content: space-between; padding: 8px 6px; border-top: 1px solid #abb8c3; border-bottom: 1px solid #abb8c3; font: 14px Arial, sans-serif; }
.ticket-total strong { color: #ed2634; }
.ticket-search { margin: 7px 3px; padding: 6px; border: 1px solid #9baab7; background: #e9eef2; font: 12px Arial, sans-serif; }
.keypad { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; padding: 0 3px; }
.keypad span { display: grid; place-items: center; min-height: 35px; border: 1px solid #99a6b1; border-radius: 3px; background: #dfe5ea; color: #324454; font: 19px Arial, sans-serif; }
.keypad span:nth-child(4n) { color: #e21b37; }
.pos-products { display: grid; grid-template-columns: 41% 59%; gap: 4px; padding: 2px; background: #b7c2cc; }
.category-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; align-content: start; }
.category-grid span { display: grid; place-items: center; min-height: 78px; border: 1px solid #a6b0bb; border-radius: 3px; background: #e0e4e9; color: #68727c; font-size: 24px; }
.category-grid small { display: block; color: #69747e; font: 10px Arial, sans-serif; }
.pos-ad { position: relative; display: grid; place-items: center; align-content: center; overflow: hidden; background: #03457e; color: #fff; }
.pos-ad::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(#0c8bc3 2px, transparent 2px); background-size: 27px 27px; opacity: .7; }
.pos-ad .logo-screen { position: relative; z-index: 1; width: 86px; }
.butterflies { position: absolute; inset: 0; color: #15a7dc; font-size: 28px; letter-spacing: 25px; opacity: .65; }
.pos-actions { position: absolute; bottom: 0; left: 0; right: 0; height: 100px; display: grid; grid-template-columns: repeat(10, 1fr); gap: 2px; background: #c0c6cb; }
.pos-actions span { display: grid; place-items: center; align-content: center; gap: 5px; border-radius: 3px; font-size: 27px; text-align: center; }
.pos-actions small { display: block; color: #fff; font: 9px Arial, sans-serif; }
.pos-actions .grey { background: #909096; } .pos-actions .red { background: #d12a40; } .pos-actions .green { background: #51ad4b; } .pos-actions .purple { background: #5638bd; } .pos-actions .lime { background: #79b83d; } .pos-actions .orange { background: #e9901a; } .pos-actions .pink { background: #d24d8b; } .pos-actions .dark { background: #17212d; }
.update-panel { width: min(916px, 100%); position: relative; z-index: 1; overflow: hidden; background: #fff; border-radius: 12px; box-shadow: var(--shadow); animation: panel-in .55s ease-out both; }
.panel-header { min-height: 105px; display: grid; grid-template-columns: 110px 1fr; align-items: center; gap: 16px; padding: 9px 18px 9px 27px; color: #fff; background: #031f47; }
.brand { display: inline-flex; flex-direction: column; align-items: center; gap: 0; text-decoration: none; color: #fff; font-size: 25px; font-weight: 700; letter-spacing: .2px; }
.brand sup { font-size: 10px; }
.logo-header { width: 88px; height: 88px; object-fit: contain; object-position: center; }
.logo-docs { width: 88px; height: 88px; object-fit: contain; object-position: center; }
.butterfly-mark { display: inline-block; width: 54px; height: 43px; position: relative; flex: 0 0 auto; }
.butterfly-mark::before, .butterfly-mark::after { content: ""; position: absolute; top: 2px; width: 25px; height: 36px; border: 2px solid #b9f1ff; background: linear-gradient(145deg, #72dfff, #1f82c6); }
.butterfly-mark::before { left: 2px; border-radius: 100% 20% 65% 30%; transform: rotate(29deg) skewY(-8deg); }
.butterfly-mark::after { right: 2px; border-radius: 20% 100% 30% 65%; transform: rotate(-29deg) skewY(8deg); }
.butterfly-mark.small { width: 52px; height: 42px; opacity: .8; }
.butterfly-mark.small::before, .butterfly-mark.small::after { border-color: #738392; background: transparent; }
.panel-heading { text-align: center; }
.panel-heading .eyebrow, .eyebrow { margin: 0 0 7px; color: #7edcff; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; }
h1, h2, h3, p { margin-top: 0; }
.panel-heading h1 { margin: 0 0 5px; color: #fff; font-size: clamp(25px, 3vw, 31px); line-height: 1.1; }
.panel-heading > p:last-child { margin: 0; font-size: 15px; }
.panel-body { padding: 18px 24px 19px; }
.alert-banner { display: flex; flex-direction: column; gap: 4px; margin: 0 0 14px; padding: 12px 18px; border-left: 6px solid; border-radius: 5px; font-size: 16px; line-height: 1.4; }
.alert-banner strong { font-size: 18px; }
.alert-info { border-color: #4a9aff; color: #135caf; background: #eff8ff; }
.alert-warning { border-color: var(--orange); color: #8a4500; background: #fff4e8; }
.alert-critical { border-color: var(--red); color: #fff; background: var(--red); }
.editable-lead { margin: 0 0 14px; padding: 14px 18px; border-left: 4px solid var(--orange); border-radius: 5px; color: #315b8d; background: #f1f8fe; font-size: 16px; line-height: 1.45; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; }
.feature-card { min-height: 234px; display: flex; flex-direction: column; padding: 14px 15px 13px; border-radius: 9px; background: linear-gradient(145deg, #f1faff, #e7f3fc); }
.feature-icon { width: 58px; height: 58px; margin: 0 auto 12px; border-radius: 50%; position: relative; border: 3px solid #cde9ff; background: linear-gradient(145deg, #edf9ff, #dfeffc); box-shadow: inset 0 0 0 2px rgba(20, 87, 166, .08); }
.feature-icon::before { position: absolute; inset: 12px; display: grid; place-items: center; border: 2px solid var(--ink); border-radius: 9px; color: var(--ink); background: rgba(255,255,255,.25); font-size: 20px; font-weight: 700; }
.feature-icon-document::before { content: "▤"; }
.feature-icon-keyboard::before { content: "⌨"; border-radius: 10px; }
.feature-icon-shield::before { content: "◈"; border-radius: 50%; }
.feature-icon-settings::before { content: "⚙"; border-radius: 50%; }
.feature-card h2 { min-height: 38px; display: flex; align-items: center; justify-content: center; margin-bottom: 10px; font-size: 16px; line-height: 1.2; text-align: center; }
.feature-card p { margin-bottom: 0; color: #1761b7; font-size: 13px; line-height: 1.35; }
.resource-bar { display: flex; align-items: center; gap: 13px; margin-top: 11px; padding: 9px 13px; border-radius: 9px; background: #eff8ff; color: #135caf; font-size: 13px; }
.info-icon { display: grid; place-items: center; flex: 0 0 23px; height: 23px; border-radius: 50%; background: var(--ink); color: #fff; font-family: Georgia, serif; font-weight: bold; }
.site-link { display: inline-flex; align-items: center; gap: 14px; margin-left: auto; padding: 6px 10px; border: 1px solid #4a9aff; border-radius: 8px; color: var(--blue); font-weight: 700; text-decoration: none; }
.site-link span { font-size: 20px; line-height: 12px; }

.docs-shell { min-height: 100vh; background: #f4f8fc; }
.docs-topbar { min-height: 106px; display: flex; align-items: center; justify-content: space-between; padding: 9px clamp(22px, 5vw, 80px); background: var(--deep); }
.version-chip { color: #9bdcff; font-size: 13px; }
.back-link { color: #fff; font-size: 13px; text-decoration: none; }
.docs-layout { display: grid; grid-template-columns: 300px minmax(0, 760px); gap: clamp(40px, 8vw, 120px); max-width: 1180px; margin: 0 auto; padding: 75px 30px 100px; }
.docs-nav { position: sticky; top: 25px; align-self: start; }
.docs-nav > .eyebrow { text-align: center; }
.docs-nav h1 { margin: 0 0 29px; font-size: 28px; line-height: 1.15; text-align: center; }
.docs-nav nav { display: grid; gap: 4px; border-left: 2px solid #d6e4ef; }
.docs-nav nav a { padding: 10px 15px; color: #4e7093; font-size: 14px; text-decoration: none; }
.docs-nav nav a:hover { color: var(--blue); background: #eaf5fd; }
.external-link { display: block; margin-top: 35px; color: var(--blue); font-size: 13px; font-weight: 700; text-decoration: none; }
.external-link span { margin-left: 6px; }
.docs-intro { padding-bottom: 35px; border-bottom: 1px solid var(--line); }
.docs-intro h2 { margin: 0 0 13px; font-size: 38px; line-height: 1.1; text-align: center; }
.docs-intro > p:last-child { max-width: 600px; margin: 0; color: #527293; font-size: 17px; line-height: 1.6; }
.release-versions { display: grid; gap: 22px; padding: 32px 0 8px; }
.release-version { padding: 25px 27px; border: 1px solid var(--line); border-left: 4px solid var(--orange); border-radius: 8px; background: #fff; }
.release-version-heading { display: flex; align-items: baseline; gap: 15px; flex-wrap: wrap; }
.release-version h3 { margin: 0; font-size: 25px; }
.version-label { color: var(--orange); font-size: 11px; font-weight: 700; letter-spacing: 1.3px; }
.release-summary { margin: 13px 0 15px; color: #527293; line-height: 1.55; }
.release-version ul { margin: 0 0 17px; padding-left: 19px; color: #315b7e; line-height: 1.65; }
.release-mandatory, .release-builds { margin: 10px 0 0; color: #527293; font-size: 13px; line-height: 1.55; }
.release-builds { padding-top: 10px; border-top: 1px solid var(--line); font-size: 12px; }
.release-download { display: inline-block; margin-top: 15px; color: var(--blue); font-size: 13px; font-weight: 700; text-decoration: none; }
.docs-section { display: grid; grid-template-columns: 53px 1fr; gap: 20px; padding: 35px 0; border-bottom: 1px solid var(--line); }
.section-number { color: var(--orange); font-size: 13px; font-weight: 700; }
.docs-section h3 { margin-bottom: 11px; font-size: 22px; }
.docs-section p { margin: 0; color: #527293; font-size: 16px; line-height: 1.65; }
.docs-footer { padding-top: 35px; color: #527293; font-size: 14px; }
.docs-footer a { color: var(--blue); font-weight: 700; }
@keyframes panel-in { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
@media (max-width: 760px) { .stage { padding: 16px 10px; place-items: start center; } .pos-workspace { grid-template-columns: 35% 65%; } .pos-actions { height: 78px; } .pos-actions span { font-size: 20px; } .panel-header { grid-template-columns: 1fr; gap: 10px; padding: 22px 20px; } .panel-header .brand { grid-column: 1 / -1; } .panel-heading h1 { font-size: 25px; } .panel-heading > p:last-child { font-size: 14px; } .feature-grid { grid-template-columns: 1fr 1fr; } .feature-card { min-height: 270px; } .resource-bar { align-items: flex-start; flex-wrap: wrap; } .site-link { margin-left: 36px; } .docs-topbar { gap: 15px; flex-wrap: wrap; } .docs-layout { display: block; padding: 42px 22px 70px; } .docs-nav { position: static; margin-bottom: 55px; } .docs-intro h2 { font-size: 30px; } }
@media (max-width: 430px) { .feature-grid { grid-template-columns: 1fr; } .feature-card { min-height: 0; } .feature-icon { margin-bottom: 11px; } .site-link { margin-left: 0; } }
