#till-root{color:var(--ink);font-size:13px;line-height:1.6;min-width:0}
#till-root *{box-sizing:border-box}
#till-root [hidden],#till-amount-only[hidden]{display:none!important}
#till-root button,#till-root input{font:inherit}
#till-root button{cursor:pointer;border:1px solid #dce2f0;background:#fff;color:#334568;border-radius:10px;padding:10px 14px;line-height:1.4}
#till-root button:disabled{opacity:.5;cursor:wait}
#till-root button:focus-visible,#till-root a:focus-visible,#till-root input:focus-visible{outline:3px solid #91a6ff;outline-offset:3px}
#till-root button:hover{background:#f2f5ff}
#till-root button.ti-primary{background:var(--cobalt);border-color:var(--cobalt);color:#fff;font-weight:600}
#till-root .ti-primary:hover{background:#2046de}
#till-root input{width:100%;min-width:0;border:1px solid #ccd5e8;border-radius:10px;background:#fff;color:#18223d;padding:12px}
#till-root label{display:block;font-size:12px;font-weight:500;color:#475677}
#till-root h2{font-size:30px;font-weight:600;letter-spacing:-1px;line-height:1.2;margin:7px 0 10px}
#till-root h3{font-size:16px;font-weight:600;margin:0}
#till-root a{color:#254bc1;text-underline-offset:3px}
.ti-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;margin-bottom:28px}
.ti-heading p{color:#69748c}
#till-root .ti-eyebrow{color:#6879a2;font-size:10px;font-weight:600;letter-spacing:1.5px}
.ti-badge{padding:6px 11px;border-radius:25px;background:#e8f5ef;color:#23614b;white-space:nowrap;font-size:10px}
.ti-message:empty{display:none}
.ti-message{background:#eff3ff;color:#344879;border-radius:10px;padding:12px;margin:0 0 18px;overflow-wrap:anywhere}
.ti-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(270px,1fr);gap:28px;align-items:start}
.ti-workspace{min-width:0}
#till-root .ti-scan{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;padding:20px 12px;font-size:15px;box-shadow:0 8px 22px #2451ff20}
.ti-code-form{margin:20px 0 28px}
.ti-code-form>div{display:flex;gap:8px;margin-top:7px}
.ti-title-row{display:flex;gap:12px;align-items:center;justify-content:space-between;margin-bottom:14px}
.ti-title-row>span{font-size:11px;color:#74809c;white-space:nowrap}
#till-root .ti-title-row>button{font-size:11px;padding:7px 9px}
.ti-search{margin-bottom:14px}
.ti-products{display:grid;gap:9px}
.ti-product{display:flex;border:1px solid #e0e5f0;border-radius:12px;background:#fff;overflow:hidden}
#till-root .ti-product>button:first-child{border:0;flex:1;min-width:0;display:flex;flex-direction:column;align-items:stretch;text-align:left;padding:13px 15px}
.ti-product strong{font-size:12px;overflow-wrap:anywhere}
.ti-product span{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#65719c;margin-top:3px}
.ti-product b{font-size:20px;color:var(--cobalt);line-height:1}
#till-root .ti-product .ti-edit{border:0;border-left:1px solid #edf0f6;border-radius:0;color:#6b7692;font-size:10px;padding:10px}
.ti-basket{background:linear-gradient(135deg,#f1f3ff,#f8f9ff);border:1px solid #e0e5f5;border-radius:20px;padding:22px;min-width:0}
.ti-empty{display:flex;flex-direction:column;align-items:center;text-align:center;color:#64718f;padding:32px 7px 38px}
.ti-empty>span{font-size:34px;color:#9daacd;margin-bottom:12px}
.ti-empty strong{font-size:14px;color:#40516e;margin-bottom:8px}
.ti-empty p{font-size:12px;max-width:230px}
.ti-item{display:flex;gap:12px;justify-content:space-between;align-items:center;border-bottom:1px solid #dfe4f4;padding:14px 0}
.ti-item>div:first-child{min-width:0;flex:1}
.ti-item strong{font-size:12px;overflow-wrap:anywhere;display:block}
.ti-item small{display:block;font-size:10px;color:#74809c;margin-top:4px}
.ti-item-actions{display:flex;align-items:center;gap:9px}
.ti-item-actions>strong{min-width:45px;text-align:right;white-space:nowrap}
#till-root .ti-quantity{font-size:9px;text-align:center}
#till-root .ti-quantity input{display:block;width:51px;padding:6px 4px;font-size:12px;text-align:center}
#till-root .ti-remove{border:0;background:transparent;color:#7a5e72;padding:5px;font-size:18px}
.ti-total{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:22px 0}
.ti-total>strong{font-family:'IBM Plex Mono',monospace;font-size:29px;font-weight:600;letter-spacing:-1px}
#till-root .ti-charge{width:100%;padding:15px 8px}
.ti-muted{font-size:11px;color:#6b7892;margin:12px 0;line-height:1.65}
#till-root .ti-text{border:0;background:transparent;font-size:10px;padding:8px;color:#65719c}
.ti-editor{border:1px solid #dce3f2;border-radius:16px;padding:20px}
.ti-editor>p{font-size:11px;color:#69748c;margin:8px 0 18px;overflow-wrap:anywhere}
.ti-editor label{margin:16px 0}
.ti-editor input{display:block;margin-top:6px}
.ti-editor>.ti-primary{width:100%}
.ti-source{font-size:10px!important;color:#74809c!important}
.ti-checkout{text-align:center;border:1px solid #e0e5f0;border-radius:18px;padding:25px 18px}
.ti-checkout-icon{display:flex;align-items:center;justify-content:center;width:46px;height:46px;border-radius:50%;background:#e9edff;color:#3657b2;font-size:24px;margin:0 auto 14px}
.ti-paid .ti-checkout-icon{background:#d8f2e6;color:#238461}
.ti-checkout p{font-size:12px;color:#68748d;margin:12px 0}
.ti-qr{display:block;width:240px;max-width:100%;height:auto;margin:16px auto;background:#fff;border-radius:12px}
.ti-checkout a{font-size:12px;display:inline-block;margin:12px 0}
.ti-checkout .ti-waiting{color:#375493;font-weight:500}
.ti-checkout-buttons{display:flex;flex-direction:column;gap:8px;margin-top:18px}
.ti-checkout>small{display:block;font-size:10px;color:#7a86a0;margin-top:16px;overflow-wrap:anywhere}
.ti-history{margin-top:30px;border-top:1px solid #e2e6f1;padding-top:18px}
.ti-history summary{cursor:pointer;font-size:12px;color:#637194}
.ti-history-row{display:flex;align-items:center;gap:16px;padding:14px 0;border-bottom:1px solid #edf0f5;font-size:11px}
.ti-history-row>span{flex:1;min-width:0}
.ti-history-row small{display:block;color:#74809c;font-size:10px}
.ti-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
#till-amount-only{margin:0 0 24px;border:1px solid #dce2f0;border-radius:12px;padding:14px 18px}
#till-amount-only summary{cursor:pointer;color:#334568;font-size:13px;font-weight:600}
#till-amount-only[open] summary{margin-bottom:16px}
.ti-customer{padding:14px 18px;margin-bottom:20px;background:#edf8f3;border:1px solid #cde8dc;border-radius:12px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.ti-customer p{font-size:11px;color:#536d62}
#customers-waiting-banner label{display:block;color:#fff;font-size:12px;line-height:1.5}
#customers-waiting-banner #serve-customer-btn{display:block;width:100%;margin-top:8px;border:1px solid #ffffff80;border-radius:999px;background:transparent;color:#fff}
@media(min-width:900px) and (min-height:600px){body:has(#mp-panel.active){--win:min(1240px,calc(100vw - 64px))}body:has(#panel-merchant.active > #merchant-app.active) #mp-panel.active{justify-content:flex-start}body:has(#panel-merchant.active > #merchant-app.active) #mp-panel>#mp-input.active{max-width:none}}
@media(max-width:1100px){.ti-layout{gap:18px}.ti-basket{padding:16px}.ti-item{flex-wrap:wrap}.ti-item-actions{margin-left:auto}}
@media(max-width:899px){.ti-layout{grid-template-columns:1fr}.ti-heading{flex-wrap:wrap;margin-bottom:22px}#till-root h2{font-size:25px}.ti-basket{padding:20px}.ti-heading .ti-badge{font-size:9px}.ti-basket{margin-top:4px}.ti-item{flex-wrap:nowrap}.ti-quantity input{min-height:38px}.ti-history-row{gap:10px}}
@media(max-width:380px){.ti-item{flex-wrap:wrap}#till-root h2{font-size:22px}}

@media(max-width:899px){#till-root input{font-size:16px}.ti-products{max-height:250px;overflow:auto}.ti-quantity input{font-size:14px!important}}
