/* s2 – Kasse / Betal: start + handlekurv. Classes prefixed aoe-t2-; MinRutine's sk-terminal-* rules do the rest. */
.aoe-t2-panel{min-height:0;height:100%;box-sizing:border-box}
.aoe-t2-start.aoe-t2-panel{height:100%;display:block;overflow-y:auto}
.sk-terminal-workspace-content:has(>.aoe-t2-panel){overflow:hidden}
.sk-terminal-workspace-layout:has(.aoe-t2-panel){flex:1 1 0}
.aoe-t2-panel{display:flex;flex-direction:column;overflow:hidden}
.aoe-t2-layout{display:grid;min-height:0;flex:1 1 auto;overflow:hidden;gap:12px}
.aoe-t2-box{display:flex;flex-direction:column;min-width:0;min-height:0;overflow:hidden;border:1px solid var(--hair,#24242333);background:#fff;padding:12px}
.aoe-t2-catalog{overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.aoe-t2-cart .sk-terminal-cart-editor{display:flex;flex-direction:column;min-height:0;flex:1 1 auto;padding:0;border:0}
.aoe-t2-cart .aoe-t2-lines{min-height:0;flex:1 1 auto;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;max-height:none}
html:root[data-staff-interface] .aoe-t2-panel .aoe-t2-catalog .sk-terminal-search-control input{border:0!important;outline-offset:0;min-height:44px;flex:1;min-width:0;background:transparent}
.aoe-t2-fav .sk-terminal-stylist-choices{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;padding-bottom:2px}
.aoe-t2-fav .sk-terminal-stylist-choices::-webkit-scrollbar{display:none}
.aoe-t2-fav .sk-terminal-stylist-choices button{flex:none;white-space:nowrap}
.aoe-t2-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:8px}
.aoe-t2-heading h2{margin:0;display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.aoe-t2-heading .sk-terminal-lead{margin:2px 0 0}
.aoe-t2-heading .sk-terminal-eyebrow{margin:0}
.aoe-t2-heading__actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.aoe-t2-heading__actions button{min-height:48px}
.aoe-t2-panel button,.aoe-t2-sheet button,.aoe-t2-start button{touch-action:manipulation}

/* Kundeklubb strip */
.aoe-t2-club{display:flex;align-items:center;gap:12px;flex-wrap:wrap;border:1px solid var(--plum,#82667f);background:#fff;padding:10px 14px;margin-bottom:8px}
.aoe-t2-club>span{flex:1 1 220px;display:grid;gap:2px;min-width:0}
.aoe-t2-club small{color:#242423b3}
.aoe-t2-club button{min-height:48px}
.aoe-t2-club.is-member{background:#f4eef4}
.aoe-t2-club.is-member svg{color:var(--plum,#82667f)}

/* layout */
.aoe-t2-layout{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto}
.aoe-t2-panes{display:none;margin-bottom:8px}
.aoe-t2-panes>button{min-height:48px}
.aoe-t2-catalog{gap:10px}
.aoe-t2-catalog>*{flex:none}
.aoe-t2-group{display:flex;align-items:center;gap:6px;margin:8px 0 6px;font-size:.78rem;letter-spacing:.06em;text-transform:uppercase;color:#242423b3;font-weight:500}
.aoe-t2-fav .aoe-t2-group{margin-top:0}
.aoe-t2-fav .sk-terminal-stylist-choices button{min-height:48px;font-size:.9rem;padding:6px 12px}
.aoe-t2-chips{display:flex;gap:6px;flex-wrap:wrap}
.aoe-t2-chips button,.aoe-t2-tabs button{min-height:44px;padding:0 14px;border:1px solid var(--hair,#24242333);background:#fff;color:#242423;font:inherit;font-size:.9rem;cursor:pointer;white-space:nowrap}
.aoe-t2-chips button.is-active,.aoe-t2-tabs button.is-active{background:#242423;color:#fff;border-color:#242423}
.aoe-t2-chip-clear{display:inline-flex;align-items:center;gap:4px;border-color:transparent!important;background:transparent!important;text-decoration:underline}
.aoe-t2-tabs{display:flex;gap:6px;overflow-x:auto;padding-bottom:4px;margin-inline:-2px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.aoe-t2-tabs::-webkit-scrollbar{display:none}
.aoe-t2-results .sk-terminal-catalog-results{flex:none;overflow:visible;max-height:none;margin:0 0 4px;padding:0;list-style:none}
.aoe-t2-results .sk-terminal-catalog-results button{min-height:56px}
.aoe-t2-inc{font-style:normal;font-weight:500;color:var(--plum,#82667f);margin-left:4px}
.aoe-t2-results .sk-terminal-catalog-result__meta{display:flex;gap:8px}

/* cart lines */
.aoe-t2-cart{padding:12px}
.aoe-t2-lines{align-content:start;margin-top:8px}
.aoe-t2-lines>.aoe-t2-line{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"main amt" "qty act";gap:10px 12px;padding:12px}
.aoe-t2-line>span:first-child{grid-area:main}
.aoe-t2-line>.aoe-t2-qty{grid-area:qty}
.aoe-t2-line>strong{grid-area:amt;align-self:start}
.aoe-t2-line>.sk-terminal-line-actions{grid-area:act;justify-self:end}
.aoe-t2-line .sk-terminal-line-actions button{min-height:48px;min-width:48px}
.aoe-t2-line>strong s{display:block;color:#242423a0;font-weight:400;font-size:.8rem}
.aoe-t2-qty{grid-template-columns:48px 44px 48px!important}
.aoe-t2-qty button{width:48px!important;min-height:48px!important;font-size:1.3rem}
.aoe-t2-qty b{display:grid;place-items:center;border-inline:1px solid var(--hair,#24242333);min-height:48px;font-weight:500}
.aoe-t2-sty i,.aoe-t2-cust i,.aoe-t2-stylists i{font-style:normal;display:inline-grid;place-items:center;width:30px;height:30px;border:1px solid var(--plum,#82667f);color:var(--plum-d,#615160);font-size:.75rem;font-weight:500;letter-spacing:.02em}
.aoe-t2-none{display:grid;justify-items:center;gap:8px;text-align:center;padding:28px 12px;color:#242423b3}
.sk-terminal-undo{display:flex;justify-content:space-between;align-items:center;gap:8px}
.sk-terminal-undo button{min-height:48px}

/* footer: adjustments | totals | pay */
.aoe-t2-footer{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr) minmax(11rem,.8fr);gap:12px;align-items:stretch;border-top:1px solid var(--hair,#24242333);padding-top:10px}
.aoe-t2-adjs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.aoe-t2-adj{display:flex;align-items:center;gap:8px;min-height:48px;padding:4px 10px;border:1px solid var(--hair,#24242333);background:#fff;color:#242423;font:inherit;font-size:.85rem;text-align:left;cursor:pointer;line-height:1.1}
.aoe-t2-adj span{display:grid;min-width:0}
.aoe-t2-adj small{color:var(--plum-d,#615160);font-size:.72rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.aoe-t2-adj.has-value{border-color:var(--plum,#82667f)}
.aoe-t2-adj:disabled{opacity:.45;cursor:not-allowed}
.aoe-t2-sum{margin:0;display:grid;align-content:end;gap:2px;font-size:.85rem}
.aoe-t2-sum>div{display:flex;justify-content:space-between;gap:10px}
.aoe-t2-sum dt{color:#242423b3}
.aoe-t2-sum dd{margin:0;font-variant-numeric:tabular-nums;white-space:nowrap}
.aoe-t2-sum .is-disc dd,.aoe-t2-sum .is-disc dt{color:var(--plum-d,#615160)}
.aoe-t2-sum .is-total{border-top:1px solid #242423;margin-top:3px;padding-top:4px;font-size:1.2rem}
.aoe-t2-sum .is-total dt{color:#242423;font-weight:500}
.aoe-t2-sum .is-total dd{font-weight:500}
.aoe-t2-pay{display:flex;align-items:center;justify-content:center;gap:10px;min-height:56px;font-size:1.05rem;white-space:nowrap}

/* start screen */
.aoe-t2-start{overflow-y:auto}
.aoe-t2-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:8px 0 18px}
.aoe-t2-tile{display:flex;flex-direction:column;align-items:flex-start;gap:10px;min-height:128px;padding:16px;border:1px solid #242423;background:#fff;color:#242423;font:inherit;text-align:left;cursor:pointer}
.aoe-t2-tile span{display:grid;gap:4px}
.aoe-t2-tile small{color:#242423b3;font-size:.8rem;line-height:1.25}
.aoe-t2-tile:active{background:#f1dcd5}
.aoe-t2-orderlist{list-style:none;margin:8px 0 0;padding:0;display:grid;gap:8px}
.aoe-t2-orderlist button{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto auto;align-items:center;gap:12px;width:100%;min-height:64px;padding:8px 14px;border:1px solid var(--hair,#24242333);background:#fff;color:#242423;font:inherit;text-align:left;cursor:pointer}
.aoe-t2-orderlist time{font-variant-numeric:tabular-nums;font-weight:500}
.aoe-t2-orderlist span:nth-child(2){display:grid;min-width:0}
.aoe-t2-orderlist small{color:#242423b3}
.aoe-t2-orderlist strong:last-of-type{white-space:nowrap}

/* sheets */
.aoe-t2-sheet{overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.aoe-t2-sheet h3.aoe-t2-group{margin-top:14px}
.aoe-t2-sheet button{min-height:48px}
.aoe-t2-sheet-row{display:flex;gap:8px;flex-wrap:wrap}
.aoe-t2-sheet-row>button{flex:1 1 180px}
.aoe-t2-sheet-actions{display:flex;gap:8px;justify-content:flex-end;flex-wrap:wrap;margin-top:16px}
.aoe-t2-sheet-actions button{min-width:130px}
.aoe-t2-custscroll{max-height:none}
.aoe-t2-custlist{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.aoe-t2-cust{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;width:100%;min-height:60px;padding:6px 12px;border:1px solid var(--hair,#24242333);background:#fff;color:#242423;font:inherit;text-align:left;cursor:pointer}
.aoe-t2-cust span:nth-child(2){display:grid;min-width:0}
.aoe-t2-cust small{color:#242423b3}
.aoe-t2-field{display:grid;gap:6px;margin-top:14px;font-weight:500}
.aoe-t2-field input,.aoe-t2-field textarea{min-height:52px;border:1px solid var(--hair,#24242366);background:#fff;padding:8px 12px;font:inherit;font-weight:400;color:#242423;-webkit-user-select:text;user-select:text}
.aoe-t2-presets{display:grid;grid-template-columns:repeat(auto-fill,minmax(5.5rem,1fr));gap:8px;margin-top:8px}
.aoe-t2-presets button,.aoe-t2-stylists button{border:1px solid var(--hair,#24242366);background:#fff;color:#242423;font:inherit;cursor:pointer;padding:6px 10px}
.aoe-t2-presets button.is-active,.aoe-t2-stylists button.is-active{background:#242423;color:#fff;border-color:#242423}
.aoe-t2-presets button.is-active i,.aoe-t2-stylists button.is-active i{color:#fff;border-color:#fff}
.aoe-t2-tipchoices button{display:grid;gap:2px;align-content:center}
.aoe-t2-tipchoices small{opacity:.75}
.aoe-t2-stylists{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:8px}
.aoe-t2-stylists button{display:flex;align-items:center;gap:10px;text-align:left}
.aoe-t2-current{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;border:1px solid var(--plum,#82667f);padding:8px 12px;margin-bottom:10px}
.aoe-t2-padwrap{display:grid;gap:8px;margin-top:6px}
.aoe-t2-padval{display:block;border:1px solid #242423;background:#fff;padding:10px 14px;font-size:1.6rem;text-align:right;font-variant-numeric:tabular-nums}
.aoe-t2-pad{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
.aoe-t2-pad button{min-height:52px;border:1px solid var(--hair,#24242366);background:#fff;color:#242423;font:inherit;font-size:1.3rem;cursor:pointer}
.aoe-t2-pad button:active{background:#f1dcd5}

/* portrait iPad: one pane at a time (catalogue or cart), footer always visible */
html[data-screen="tablet-portrait"] .aoe-t2-panes{display:grid}
html[data-screen="tablet-portrait"] .aoe-t2-layout{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto}
html[data-screen="tablet-portrait"] .aoe-t2-layout[data-pane="cat"] .aoe-t2-cart,
html[data-screen="tablet-portrait"] .aoe-t2-layout[data-pane="cart"] .aoe-t2-catalog{display:none}
html[data-screen="tablet-portrait"] .aoe-t2-footer{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
html[data-screen="tablet-portrait"] .aoe-t2-adjs{grid-column:1/-1;grid-row:2}
html[data-screen="tablet-portrait"] .aoe-t2-pay{align-self:end}
html[data-screen="tablet-portrait"] .aoe-t2-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}
html[data-screen="tablet-portrait"] .aoe-t2-orderlist button{grid-template-columns:auto minmax(0,1fr) auto auto}
html[data-screen="tablet-portrait"] .aoe-t2-orderlist button>svg{display:none}
/* smaller landscape-like screens (pos-1024): tighten footer */
html[data-screen="pos-1024"] .aoe-t2-footer{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr) minmax(10rem,.8fr)}

/* compact: more room for the lists */
.aoe-t2-heading{margin-bottom:6px}
.aoe-t2-heading .sk-terminal-lead{margin:0;font-size:.9rem}
.aoe-t2-club{padding:6px 12px;gap:10px}
.aoe-t2-club button{min-height:48px}
.aoe-t2-chips{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;padding-bottom:2px}
.aoe-t2-chips::-webkit-scrollbar{display:none}
.aoe-t2-chips button{flex:none}
.aoe-t2-product-label{margin:0}
html[data-screen="tablet-portrait"] .aoe-t2-adjs{grid-template-columns:repeat(6,minmax(0,1fr))}
html[data-screen="tablet-portrait"] .aoe-t2-adj{flex-direction:column;justify-content:center;text-align:center;gap:4px;min-height:60px;padding:4px 2px;font-size:.74rem}
html[data-screen="tablet-portrait"] .aoe-t2-adj span{justify-items:center}
html[data-screen="tablet-portrait"] .aoe-t2-adj small{max-width:100%}
.aoe-t2-lines>.aoe-t2-line{padding:8px 12px;gap:6px 12px}
.aoe-t2-lines{gap:8px}
html:root[data-staff-interface] .aoe-t2-sheet.aoe-t2-sheet .sk-terminal-search-control input{border:0!important;background:transparent!important;flex:1;min-width:0}
.aoe-t2-catalog .sk-terminal-product-search__label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.aoe-t2-catalog{gap:8px}
html[data-screen="tablet-portrait"] .aoe-t2-fav .aoe-t2-group{display:none}
