.shop-layout{display:grid;grid-template-columns:minmax(0,1fr) 295px;gap:12px;align-items:start}.shop-layout>section{min-width:0}.shop-layout>#basket{position:sticky;top:10px;background:var(--panel);border:1px solid var(--line);padding:12px;max-height:calc(100vh - 75px);overflow:auto}.public-workspace{grid-template-columns:165px minmax(0,1fr);gap:14px}.public-sites{font-size:12px;min-width:650px}.public-sites td:first-child{width:28px;text-align:center}.public-sites th:first-child{text-align:center}.public-sites td{height:47px}.in-cart{background:var(--select)!important}.scope-summary{display:flex;align-items:center;justify-content:space-between;gap:8px;background:var(--surface);border:1px solid var(--line);padding:6px 8px;margin-bottom:8px;font-size:12px}.scope-summary p{margin:0}.scope-summary button{font-size:12px;min-height:27px}.add-selected{margin-top:8px;font-size:12px}.basket-row{display:flex;justify-content:space-between;gap:8px;padding:6px 0;border-bottom:1px solid var(--line)}.basket-row>div{min-width:0}.basket-row strong{font-size:12px}.basket-row small,.basket-row span{display:block;font-size:11px;overflow-wrap:anywhere}.basket-row span{font-weight:600}.basket-row form{margin:0!important}.basket-row button{min-height:23px;padding:0 6px}.basket-items{max-height:230px;overflow:auto}.extras-form{display:grid;gap:8px;border-top:1px solid var(--line);padding-top:10px;margin:10px 0}.extras-form>p{font-size:11px;margin:0;color:var(--muted)}.extras-form h3{margin:0}.extras-form label:has(input[type=checkbox]){flex-direction:row-reverse;align-items:center;justify-content:flex-end;font-weight:400;gap:7px}.totals{margin:8px 0}.totals>div{display:flex;justify-content:space-between;gap:8px;padding:5px 0;font-size:12px}.totals dd{margin:0;white-space:nowrap}.totals .grand-total{border-top:1px solid var(--line);font-size:18px;font-weight:700;padding-top:9px}.fine-print{font-size:11px;line-height:1.4;margin:8px 0}.public-exchange #basket>details>form{display:grid;gap:8px}.public-exchange #basket>form:not(.extras-form){margin:10px 0 0}.public-exchange .filters>label{flex-basis:160px}.public-exchange .filters>label:last-of-type{flex-basis:180px}.public-exchange footer{font-size:11px;color:var(--muted);padding:10px 16px;text-align:center;border-top:1px solid var(--line)}
@media(max-width:1200px){.shop-layout{grid-template-columns:minmax(0,1fr) 265px}.public-workspace{grid-template-columns:145px minmax(0,1fr)}.public-sites{min-width:580px}.public-sites td:last-child{font-size:11px}}@media(max-width:960px){.shop-layout{grid-template-columns:1fr}.shop-layout>#basket{position:static;max-height:none}.public-sites{min-width:650px}.basket-items{max-height:230px}}@media(max-width:760px){.public-workspace{grid-template-columns:1fr}.public-workspace .sidebar h3:not(:first-child),.public-workspace .sidebar h3:not(:first-child)~a{display:none}.scope-summary{flex-wrap:wrap}.shop-layout{gap:12px}}@media(max-width:480px){.public-exchange .filters>label{flex-basis:100%}}

#basket .button{display:inline-block;background:var(--accent);color:var(--accent-ink);padding:6px 10px;border-radius:3px;text-decoration:none}
.selected-actions{display:flex;justify-content:flex-end;position:sticky;top:0;z-index:3;padding:8px;margin-bottom:8px;background:var(--panel);border:1px solid var(--line);box-shadow:0 2px 8px rgba(0,0,0,.08)}.selected-actions .add-selected{margin:0;font-size:14px;font-weight:700}
/* Account control remains usable without JavaScript. */
.profile-menu{margin-left:auto;display:flex;align-items:center;gap:7px;font-size:13px;min-width:0}.profile-menu svg{fill:none;stroke:currentColor;stroke-width:1.7;flex:none}.profile-menu details{position:relative}.profile-menu summary{cursor:pointer;max-width:250px;overflow-wrap:anywhere}.profile-dropdown{position:absolute;right:0;top:calc(100% + 12px);z-index:30;min-width:210px;background:var(--panel);color:var(--text);border:1px solid var(--line);box-shadow:0 6px 20px #0002;padding:8px;border-radius:6px}.profile-dropdown a{display:block;padding:8px}.profile-dropdown form{margin:4px 8px}.public-workspace .page-heading .theme-control{margin-left:auto}
