html{scrollbar-gutter:stable}
/* Adapted from frozen B 1.3 selection-basket.css; shared theme supplies typography and colors. */
.selection-entry{position:relative;display:inline-grid;place-items:center;flex:0 0 44px;width:44px;height:44px;min-height:44px;padding:10px;border:0;border-radius:6px;background:transparent;color:var(--analiza-color-ink,#333);font:inherit;cursor:pointer}
.selection-entry svg{display:block;width:24px;height:24px}
.selection-entry strong{position:absolute;top:0;right:0;display:grid;place-items:center;min-width:16px;height:16px;padding:0 3px;border-radius:999px;background:var(--analiza-color-ink,#333);color:#fff;font-size:10px;font-weight:700;line-height:1}
.selection-add{min-width:44px;min-height:44px;border:1px solid var(--analiza-border-card,#eadfe2);border-radius:6px;background:#fff;color:var(--analiza-color-ink,#333);font:inherit;font-size:25px;cursor:pointer}
.selection-add:disabled,.selection-entry:disabled{opacity:.55;cursor:progress}
.selection-add[aria-pressed=true]{background:#fbf1f3;border-color:var(--analiza-color-brand,#ba0c2f)}
.selection-entry[hidden],.selection-add[hidden],.selection-entry strong[hidden]{display:none}
.selection-basket{position:fixed;inset:0;width:min(620px,calc(100% - 40px));max-width:none;height:min(720px,calc(100dvh - 48px));max-height:calc(100dvh - 48px);margin:auto;padding:0;border:1px solid var(--analiza-border-card,#eadfe2);border-radius:16px;background:var(--analiza-color-white,#fff);color:var(--analiza-color-ink,#333);font:16px/1.5 var(--analiza-font-interface,Arial,sans-serif);overflow:hidden;overscroll-behavior:contain}
.selection-basket[open]{display:flex;flex-direction:column}
.selection-basket::backdrop{background:#1b20255c}
.selection-basket *{box-sizing:border-box}
.selection-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:24px;border-bottom:1px solid var(--analiza-border-card,#eadfe2);flex:none}
.selection-head h2{margin:0;font-size:26px;line-height:1.2;font-weight:700}
.selection-head>[data-selection-close]{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;padding:10px;border:0;border-radius:0;background:transparent;color:var(--analiza-color-ink,#333);cursor:pointer}
.selection-head svg{width:24px;height:24px}
.selection-content{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:0 24px 16px}
.selection-items{padding:0;margin:0;list-style:none}
.selection-items li{display:flex;justify-content:space-between;gap:16px;padding:20px 0;border-bottom:1px solid var(--analiza-border-card,#eadfe2)}
.selection-items li>div{min-width:0}
.selection-items strong{display:block;overflow-wrap:anywhere;font-size:16px}
.selection-items li>div>span{display:block;margin-top:4px}
.selection-items button,.selection-clear{min-height:44px;padding:8px 0;border:0;background:transparent;color:var(--analiza-action-hover,#960824);font:inherit;font-size:14px;text-decoration:underline;cursor:pointer}
.selection-items button{align-self:flex-start;flex:none}
.selection-list-actions{display:flex;justify-content:flex-end;padding-top:8px}
.selection-clear{display:inline-flex;align-items:center;gap:8px;text-decoration:none}
.selection-clear>span{text-decoration:underline;text-underline-offset:2px}
.selection-clear svg{width:18px;height:18px;flex:none}
.selection-service{display:flex;justify-content:space-between;gap:16px;padding:18px 0;border-bottom:1px solid var(--analiza-border-card,#eadfe2);font-size:15px}
.selection-service strong{white-space:nowrap}
.selection-footer{flex:none;padding:16px 24px 24px;border-top:1px solid var(--analiza-border-card,#eadfe2);background:#fff}
.selection-total{display:flex;justify-content:space-between;gap:20px;margin:0 0 14px;font-size:20px}
.selection-exports{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
.selection-exports>button{display:flex;align-items:center;justify-content:center;gap:10px;min-width:0;min-height:48px;padding:12px 14px;border:1px solid var(--analiza-color-surface-soft,#f1f1f1);border-radius:6px;background:var(--analiza-color-surface-soft,#f1f1f1);color:var(--analiza-color-ink,#333);font:inherit;font-size:15px;cursor:pointer}
.selection-exports svg{width:20px;height:20px;flex:none}
.selection-empty{padding:28px 0 8px}
.selection-empty h3{font-size:20px;margin:0 0 12px}
.selection-empty-links{display:flex;flex-direction:column;align-items:stretch;margin-top:20px}
.selection-empty-links a{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:52px;padding:12px 0;border-bottom:1px solid var(--analiza-border-card,#eadfe2);color:var(--analiza-action-hover,#960824);text-decoration:none;font-size:15px;line-height:1.4}
.selection-empty-links a>span{flex:none}
.selection-note{font-size:14px;color:var(--analiza-color-muted,#69727d)}
.selection-message{padding-top:20px}
.selection-status,.selection-print-frame{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden;border:0}
/* Safari can mark scripted focus as focus-visible after tapping the entry. */
html[data-selection-input="pointer"] :is(.selection-basket button,.selection-basket a,.selection-entry,.selection-add):focus{outline:none!important;box-shadow:none}
html[data-selection-input="keyboard"] :is(.selection-basket a,.selection-entry,.selection-add):focus{outline:2px solid var(--analiza-color-brand,#ba0c2f);outline-offset:3px}
@media(max-width:600px){.selection-basket{width:100vw;height:100dvh;max-height:none;border:0;border-radius:0}.selection-head{padding:20px;padding-top:max(20px,env(safe-area-inset-top))}.selection-head h2{font-size:24px}.selection-content{padding-inline:20px}.selection-footer{padding:16px 20px max(20px,env(safe-area-inset-bottom))}.selection-total{font-size:18px}}
@media(max-height:500px){.selection-head{padding-block:12px}.selection-footer{padding-block:12px}.selection-total{margin-bottom:8px}}

/* Saved-selection buttons retain their normal appearance when hovered or focused. */
.selection-basket :is(.selection-clear,.selection-items button):is(:hover,:focus){background:transparent;color:var(--analiza-action-hover,#960824)}
.selection-basket .selection-items button:is(:hover,:focus){text-decoration:underline}
.selection-basket .selection-exports>button:is(:hover,:focus){background:var(--analiza-color-surface-soft,#f1f1f1);color:var(--analiza-color-ink,#333);text-decoration:none}

.selection-basket button:is(:focus,:focus-visible){outline:none!important;box-shadow:none}
