:root{--lym-radius:18px;--lym-gap:18px;--lym-border:#d8dee6;--lym-text:#17202a;--lym-muted:#65717d;--lym-bg:#f4f7f5;--lym-accent:#215c3a;--lym-accent2:#eef7f1;--lym-danger:#9b2c2c}
.lym-wrap,.lym-shop{box-sizing:border-box;color:var(--lym-text)}.lym-wrap *,.lym-shop *{box-sizing:border-box}.lym-wrap{max-width:1500px}.lym-pagehead{display:flex;justify-content:space-between;gap:18px;align-items:center;margin:10px 0 22px}.lym-pagehead h1{font-size:30px;margin:0}.lym-pagehead p{font-size:15px;color:var(--lym-muted);margin:5px 0 0}.lym-pagehead-actions{display:flex;gap:10px}.lym-card{background:#fff;border:1px solid var(--lym-border);border-radius:var(--lym-radius);padding:22px;margin:0 0 20px;box-shadow:0 2px 10px rgba(25,35,45,.04)}
.lym-grid{display:grid;gap:16px}.lym-grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lym-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.lym-field{display:flex;flex-direction:column;gap:7px;font-weight:600}.lym-field span{font-size:13px}.lym-field input,.lym-field select,.lym-field textarea,.lym-settings textarea{width:100%;min-height:48px;border:1px solid #cfd7df;border-radius:12px;padding:10px 12px;font-size:16px}.lym-inline{display:flex;gap:8px}.lym-inline select{max-width:90px}.lym-check{display:inline-flex;align-items:center;gap:8px;margin:8px 18px 8px 0;font-size:15px}.lym-check input{width:20px;height:20px}
.lym-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:20px}.lym-kpis>div{background:#fff;border:1px solid var(--lym-border);border-radius:var(--lym-radius);padding:22px}.lym-kpis strong{font-size:30px;display:block}.lym-kpis span{color:var(--lym-muted)}.lym-action-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:20px}.lym-action-grid a{display:flex;flex-direction:column;text-decoration:none;background:#fff;border:1px solid var(--lym-border);border-radius:18px;padding:22px;font-size:28px;min-height:150px}.lym-action-grid b{font-size:17px;margin-top:15px;color:var(--lym-text)}.lym-action-grid span{font-size:13px;color:var(--lym-muted);margin-top:4px}.lym-table-wrap{overflow:auto}.lym-badge{display:inline-block;background:var(--lym-accent2);border-radius:999px;padding:5px 10px;font-weight:700;font-size:12px}.lym-totalbox{margin-top:15px;font-size:16px}.button.button-hero,.lym-submit{min-height:52px;padding:0 24px!important;border-radius:999px!important;font-size:16px!important}
.lym-shop{max-width:1500px;margin:0 auto;padding:20px;background:var(--lym-bg);border-radius:22px}.lym-shop-hero{padding:28px;background:linear-gradient(135deg,#173d2a,#2f7650);color:#fff;border-radius:22px;margin-bottom:20px}.lym-shop-hero h2{font-size:36px;margin:0 0 6px;color:#fff}.lym-shop-hero p{margin:0;font-size:17px}.lym-calc-result{display:flex;flex-direction:column;background:var(--lym-accent2);padding:15px 18px;border-radius:14px;margin-top:16px}.lym-calc-result strong{font-size:27px}.lym-calc-result span{color:var(--lym-muted)}.lym-roundup{margin-top:12px!important;border-radius:999px!important}
.lym-product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:20px}.lym-product-card{background:#fff;border:1px solid var(--lym-border);border-radius:20px;overflow:hidden;box-shadow:0 2px 8px rgba(0,0,0,.04)}.lym-product-card img,.lym-product-placeholder{width:100%;height:160px;object-fit:cover;background:#e7eee9;display:flex;align-items:center;justify-content:center;font-size:48px}.lym-product-body{padding:17px}.lym-product-body h3{font-size:19px;margin:0 0 8px}.lym-price{font-size:22px;font-weight:800}.lym-price small{font-size:13px;color:var(--lym-muted)}.lym-stock{font-size:13px;color:var(--lym-muted)}.lym-stepper{display:grid;grid-template-columns:54px 1fr 54px;gap:7px;margin-top:10px}.lym-stepper button{min-height:52px;border:none;border-radius:13px;background:#e9eeeb;font-size:28px;cursor:pointer}.lym-stepper input{min-width:0;text-align:center;font-size:19px;font-weight:700;border:1px solid #cfd7df;border-radius:12px}.lym-checkout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(320px,.8fr);gap:20px}.lym-toggle{display:flex;gap:10px;margin-bottom:16px}.lym-toggle label{flex:1}.lym-toggle input{position:absolute;opacity:0}.lym-toggle span{display:flex;justify-content:center;align-items:center;min-height:58px;border:2px solid #cbd5ce;border-radius:14px;font-size:17px;font-weight:700;cursor:pointer}.lym-toggle input:checked+span{border-color:var(--lym-accent);background:var(--lym-accent2);color:var(--lym-accent)}.lym-delivery-fields{display:none}.lym-summary{position:sticky;top:25px;align-self:start;background:#fff;border:1px solid var(--lym-border);border-radius:20px;padding:22px}.lym-summary h3{margin-top:0}.lym-summary-lines>div{display:flex;justify-content:space-between;gap:10px;padding:9px 0;border-bottom:1px solid #eef1f3}.lym-load{margin:18px 0;padding:14px;border-radius:13px;background:#f5f7f8;display:flex;flex-direction:column}.lym-load b{font-size:20px}.lym-load small{color:var(--lym-muted)}.lym-grand-total{display:flex;justify-content:space-between;align-items:center;font-size:18px;border-top:2px solid #e5e9ec;padding-top:16px}.lym-grand-total strong{font-size:29px}.lym-load-warning{background:#fff0f0;color:var(--lym-danger);padding:13px;border-radius:12px;margin:12px 0;font-weight:700}.lym-submit{width:100%;margin-top:16px!important;background:var(--lym-accent)!important;border-color:var(--lym-accent)!important}.lym-submit:disabled{opacity:.5!important;cursor:not-allowed!important}
.lym-stock-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.lym-stock-card{background:#fff;border:1px solid var(--lym-border);border-radius:18px;padding:20px}.lym-stock-card h3{margin:0}.lym-stock-number{font-size:34px;font-weight:800;margin:10px 0}.lym-stock-number small{font-size:16px;color:var(--lym-muted)}.lym-stock-actions{display:flex;gap:8px;margin-top:10px}.lym-stock-actions .button{flex:1;min-height:46px;border-radius:12px}.lym-delivery-board{display:grid;gap:12px}.lym-delivery-card{background:#fff;border:1px solid var(--lym-border);border-radius:18px;padding:18px;display:flex;justify-content:space-between;gap:20px}.lym-delivery-card h3{margin:9px 0 5px}.lym-delivery-card p{margin:4px 0}.lym-delivery-actions{display:flex;gap:8px;align-items:center}
@media (max-width:1100px){.lym-product-grid{grid-template-columns:repeat(3,1fr)}.lym-kpis,.lym-action-grid{grid-template-columns:repeat(2,1fr)}.lym-stock-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:780px){.lym-grid-2,.lym-grid-3,.lym-checkout,.lym-product-grid,.lym-stock-grid{grid-template-columns:1fr}.lym-kpis,.lym-action-grid{grid-template-columns:1fr 1fr}.lym-shop{padding:10px;border-radius:0}.lym-summary{position:static}.lym-product-card img,.lym-product-placeholder{height:190px}.lym-pagehead{align-items:flex-start;flex-direction:column}.lym-delivery-card{flex-direction:column}}
@media (pointer:coarse){.lym-product-body h3{font-size:21px}.lym-field input,.lym-field select,.lym-field textarea{min-height:56px;font-size:18px}.lym-stepper button{min-height:60px}.lym-stepper input{font-size:22px}.button,.lym-check{font-size:17px!important}.lym-toggle span{min-height:66px}.lym-product-card{border-radius:22px}}
.lym-submit-row{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:16px}.lym-submit-row .lym-submit{margin-top:0!important}.lym-quote-submit{min-height:52px;border-radius:999px!important}.lym-pos-mode .lym-product-card,.lym-pos-mode .lym-card,.lym-pos-mode .lym-summary{box-shadow:0 2px 12px rgba(0,0,0,.06)}
@media(max-width:600px){.lym-submit-row{grid-template-columns:1fr}}
.lym-success{background:#e9f7ee;border:1px solid #a8d5b8;border-radius:16px;padding:16px 18px;margin-bottom:18px;font-size:16px}.lym-success b{display:block;font-size:18px}

.lym-counter-note{background:#fff;border:2px solid var(--lym-accent);border-radius:16px;padding:15px 18px;margin:0 0 18px;font-size:17px}
.lym-sale-choice{display:flex;flex-direction:column;gap:6px;margin:14px 0 9px;font-weight:700}.lym-sale-choice span,.lym-qty-label{font-size:13px;color:var(--lym-muted);font-weight:700}.lym-sale-choice select{width:100%;min-height:50px;border:1px solid #cfd7df;border-radius:12px;padding:8px 10px;font-size:16px;font-weight:700;background:#fff}
.lym-quick-amounts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:9px 0 11px}.lym-quick-qty{min-height:48px;border:1px solid #c7d2cb;background:#f5f8f6;border-radius:12px;font-weight:800;font-size:14px;cursor:pointer}.lym-quick-qty:active{background:var(--lym-accent2)}
.lym-equivalent{min-height:34px;margin-top:8px;font-size:12px;line-height:1.35;color:var(--lym-muted)}.lym-qty-label{margin-top:10px}
.lym-pos-mode .lym-product-card{cursor:default}.lym-pos-mode .lym-product-body{padding:19px}.lym-pos-mode .lym-sale-choice select{min-height:58px;font-size:17px}.lym-pos-mode .lym-quick-qty{min-height:58px;font-size:16px}
@media(max-width:520px){.lym-quick-amounts{grid-template-columns:repeat(2,1fr)}}
/* v0.3 finance, pricing and reporting */
.lym-kpis-5{grid-template-columns:repeat(5,minmax(0,1fr))}.lym-kpis-6{grid-template-columns:repeat(6,minmax(0,1fr))}.lym-finance-hint{margin:18px 0;padding:14px 16px;border:1px solid #b8d4c2;background:#f3faf5;border-radius:14px}.lym-finance-hint small{color:var(--lym-muted)}
.lym-preset-pricing{margin-top:20px!important;background:#fbfcfb!important}.lym-preset-pricing h3{margin-top:0}.lym-preset-pricing input{width:130px;min-height:42px;border:1px solid #cfd7df;border-radius:10px;padding:7px 10px;font-size:15px}.lym-wide-check{grid-column:1/-1;padding:10px 0}.lym-order-finance{display:flex;flex-wrap:wrap;gap:8px 18px;margin-top:14px;padding:14px 16px;background:#f2f7f4;border-radius:13px;border:1px solid #d4e3d9}
.lym-tax-line{display:flex;justify-content:space-between;align-items:center;padding:11px 0;color:var(--lym-muted);border-top:1px solid #edf0f2}.lym-tax-line b{color:var(--lym-text)}
.lym-report-filter{display:flex;align-items:end;flex-wrap:wrap;gap:12px;background:#fff;border:1px solid var(--lym-border);border-radius:18px;padding:16px 18px;margin-bottom:18px}.lym-report-filter label{display:flex;flex-direction:column;gap:5px;font-weight:700}.lym-report-filter label span{font-size:12px;color:var(--lym-muted)}.lym-report-filter input{min-height:42px;border:1px solid #cfd7df;border-radius:10px;padding:6px 10px;font-size:15px}.lym-report-filter .button{min-height:42px;border-radius:999px;padding:0 18px}
.lym-pnl-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(300px,.8fr);gap:18px}.lym-pnl-table td,.lym-pnl-table th{padding:12px 10px}.lym-pnl-table td:last-child,.lym-pnl-table th:last-child{text-align:right;font-variant-numeric:tabular-nums}.lym-pnl-total th{border-top:2px solid #cfd8d2;font-size:16px}.lym-pnl-net th{border-top:3px solid var(--lym-accent);font-size:19px;background:#f1f8f3}.lym-mini-kpis{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.lym-mini-kpis>div{background:#f4f7f5;border-radius:13px;padding:14px}.lym-mini-kpis b{display:block;font-size:24px}.lym-mini-kpis span{font-size:12px;color:var(--lym-muted)}.lym-section-head{display:flex;justify-content:space-between;align-items:start;gap:15px}.lym-section-head h2{margin:0 0 3px}.lym-section-head p{margin:0 0 14px;color:var(--lym-muted)}.lym-export-actions{display:flex;flex-wrap:wrap;gap:10px}.lym-export-actions .button{margin:0!important}
@media(max-width:1250px){.lym-kpis-5,.lym-kpis-6{grid-template-columns:repeat(3,1fr)}}
@media(max-width:900px){.lym-pnl-grid{grid-template-columns:1fr}}
@media(max-width:780px){.lym-kpis-5,.lym-kpis-6{grid-template-columns:repeat(2,1fr)}.lym-preset-pricing input{width:100%;min-width:110px}}
@media(max-width:520px){.lym-kpis-5,.lym-kpis-6{grid-template-columns:1fr}.lym-report-filter{align-items:stretch}.lym-report-filter label,.lym-report-filter input,.lym-report-filter .button{width:100%}}
/* v0.4 customer accounts and order PDFs */
.lym-customer-portal{max-width:1180px;margin:0 auto;padding:20px;color:var(--lym-text);box-sizing:border-box}.lym-customer-portal *{box-sizing:border-box}.lym-portal-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.lym-portal-head,.lym-customer-bar{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}.lym-portal-head{background:#fff;border:1px solid var(--lym-border);border-radius:20px;padding:22px;margin-bottom:20px}.lym-portal-head h2{margin:0 0 4px;font-size:30px}.lym-portal-head p{margin:0;color:var(--lym-muted)}.lym-portal-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.lym-big-button{min-height:50px!important;border-radius:999px!important;padding:0 20px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;background:var(--lym-accent)!important;border-color:var(--lym-accent)!important;color:#fff!important;text-decoration:none!important}.lym-customer-bar{background:#fff;border:1px solid var(--lym-border);border-radius:16px;padding:12px 16px;margin-bottom:14px}.lym-customer-bar a{font-weight:700}.lym-account-details strong{display:block;margin-top:4px;font-size:16px}.lym-muted{display:block;color:var(--lym-muted);font-size:12px;font-weight:700}.lym-span-2{grid-column:1/-1}.lym-order-list{display:grid;gap:12px}.lym-customer-order{border:1px solid var(--lym-border);border-radius:15px;background:#fff;overflow:hidden}.lym-customer-order summary{list-style:none;cursor:pointer;min-height:68px;padding:14px 16px;display:flex;justify-content:space-between;align-items:center;gap:15px}.lym-customer-order summary::-webkit-details-marker{display:none}.lym-customer-order summary span{display:flex;flex-direction:column;gap:3px}.lym-customer-order summary small{color:var(--lym-muted)}.lym-customer-order summary>strong{font-size:19px}.lym-customer-order[open] summary{background:#f4f8f5;border-bottom:1px solid var(--lym-border)}.lym-order-detail{padding:16px}.lym-order-meta{display:flex;flex-wrap:wrap;gap:8px 18px;margin-bottom:14px;color:var(--lym-muted)}.lym-customer-order table{width:100%;border-collapse:collapse}.lym-customer-order th,.lym-customer-order td{text-align:left;padding:10px;border-bottom:1px solid #edf0f2}.lym-customer-order th:last-child,.lym-customer-order td:last-child{text-align:right}.lym-order-totals{margin:14px 0 16px;margin-left:auto;max-width:360px}.lym-order-totals span{display:flex;justify-content:space-between;gap:14px;padding:5px 0}.lym-order-grand{font-size:18px;border-top:2px solid var(--lym-border);margin-top:4px;padding-top:10px!important}.lym-pdf-button{min-height:46px!important;border-radius:999px!important;padding:0 18px!important;display:inline-flex!important;align-items:center!important}.lym-empty-state{padding:24px;border:1px dashed #bdc9c0;border-radius:15px;background:#f8faf9;display:flex;flex-direction:column;align-items:flex-start;gap:8px}.lym-empty-state span{color:var(--lym-muted)}.lym-error{background:#fff1f1;border:1px solid #e6b1b1;color:#7b1e1e;border-radius:14px;padding:14px 16px;margin-bottom:16px}.lym-register-form .button{margin-top:16px}.lym-customer-portal #loginform p{display:flex;flex-direction:column;gap:6px}.lym-customer-portal #loginform input[type=text],.lym-customer-portal #loginform input[type=password]{width:100%;min-height:50px;border:1px solid #cfd7df;border-radius:12px;padding:10px 12px;font-size:16px}.lym-customer-portal #wp-submit{min-height:50px;border-radius:999px;padding:0 22px;font-size:16px}.lym-customer-portal .lym-section-head h3{margin:0 0 3px}.lym-customer-portal .lym-section-head p{margin:0 0 14px;color:var(--lym-muted)}
@media(max-width:780px){.lym-portal-grid{grid-template-columns:1fr}.lym-customer-portal{padding:10px}.lym-portal-head{align-items:flex-start;flex-direction:column}.lym-portal-actions,.lym-portal-actions .button{width:100%}.lym-customer-order summary{min-height:76px}.lym-span-2{grid-column:auto}.lym-customer-bar{align-items:flex-start;flex-direction:column}}
@media(pointer:coarse){.lym-customer-order summary{min-height:76px}.lym-pdf-button,.lym-big-button{min-height:56px!important}.lym-customer-bar .button{min-height:50px!important;display:inline-flex!important;align-items:center!important}}

/* v0.5 accounting, split tender and customer statements */
.lym-customer-picker{margin:14px 0}.lym-customer-picker small{display:block;margin-top:5px;color:var(--lym-muted)}
.lym-split-payment{border:1px solid var(--lym-border);border-radius:16px;padding:14px;background:#f8faf9;margin-top:10px}.lym-split-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.lym-split-actions .button{min-height:46px!important;border-radius:999px!important}.lym-split-actions span{margin-left:auto;font-size:16px}.lym-document-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:14px 0}.lym-document-actions .button{min-height:42px;border-radius:999px;padding:0 14px;display:inline-flex;align-items:center}.lym-order-accounting{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:16px 0}.lym-order-accounting>div,.lym-account-balance{border:1px solid var(--lym-border);border-radius:14px;padding:12px;background:#f8faf9}.lym-order-accounting span,.lym-account-balance span{display:block;color:var(--lym-muted);font-size:12px;font-weight:700}.lym-order-accounting strong,.lym-account-balance strong{display:block;font-size:18px;margin-top:3px}.lym-account-balance small{display:block;color:var(--lym-muted);margin-top:3px}.lym-account-focus{margin-top:20px}.lym-accounts-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:18px 0}.lym-statement-opening,.lym-statement-closing{display:flex;justify-content:space-between;align-items:center;padding:12px 14px;background:#f8faf9;border-radius:12px;margin:12px 0}.lym-statement-closing{font-size:18px;border:2px solid var(--lym-border)}.lym-overdue-row{background:#fff3f3!important}.lym-overdue-pill{display:inline-flex;border-radius:999px;padding:3px 8px;background:#8a1f1f;color:#fff;font-size:11px;font-weight:700}.lym-customer-account-summary{display:flex;justify-content:space-between;gap:16px;align-items:center;flex-wrap:wrap}.lym-customer-account-summary strong{display:block;font-size:22px;margin:4px 0}.lym-customer-account-summary small{display:block;color:var(--lym-muted)}
@media(max-width:900px){.lym-order-accounting{grid-template-columns:repeat(2,minmax(0,1fr))}.lym-accounts-grid{grid-template-columns:1fr}}
@media(max-width:600px){.lym-order-accounting{grid-template-columns:1fr}.lym-split-actions span{margin-left:0;width:100%}.lym-document-actions .button{width:100%;justify-content:center}}
.lym-account-doc-list{display:grid;gap:9px}.lym-account-doc-list>div{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:12px;align-items:center;border:1px solid var(--lym-border);border-radius:12px;padding:12px}.lym-account-doc-list span{display:flex;flex-direction:column}.lym-account-doc-list small{color:var(--lym-muted);margin-top:2px}@media(max-width:600px){.lym-account-doc-list>div{grid-template-columns:1fr auto}.lym-account-doc-list .button{grid-column:1/-1;justify-content:center}}

/* v0.6 modular pages, staff counter and thermal printing */
.lym-counter-frontbar{max-width:1500px;margin:0 auto 14px;padding:12px 16px;background:#fff;border:1px solid var(--lym-border);border-radius:15px;display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap}.lym-counter-frontbar a{font-weight:700}.lym-counter-print-actions{max-width:1500px;margin-left:auto;margin-right:auto;display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap}.lym-counter-print-actions>div:last-child{display:flex;gap:8px;flex-wrap:wrap}.lym-counter-print-actions span{display:block;color:var(--lym-muted);margin-top:3px}.lym-after-hours{display:block;margin-top:6px}.lym-shortcode-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.lym-inline-form{display:flex;gap:8px;align-items:end;flex-wrap:wrap}
@media(max-width:700px){.lym-shortcode-grid{grid-template-columns:1fr}.lym-counter-frontbar{align-items:flex-start;flex-direction:column}.lym-counter-print-actions{align-items:flex-start;flex-direction:column}.lym-counter-print-actions>div:last-child,.lym-counter-print-actions .button{width:100%;justify-content:center}}
