.salon-actions{align-items:stretch;gap:2px;padding:5px;border:1px solid #c5d2dc;border-radius:16px;background:#fff;box-shadow:0 6px 26px #152d4924}
.salon-actions>a,.salon-actions>button{position:static;display:flex;justify-content:flex-start;align-items:center;gap:8px;min-height:41px;border:0;border-radius:10px;box-shadow:none;background:white;color:#193b56;font-family:inherit;font-weight:650;font-size:.88rem;line-height:1.2;padding:7px 11px;text-decoration:none;cursor:pointer}
.salon-actions .dock-calc{background:#193b56;color:white}
.salon-actions>a:hover,.salon-actions>button:hover,.salon-actions [aria-current="page"]{background:#e6eff4;color:#193b56}
.salon-actions .side-cart.has-items{background:#f5ebe1;color:#503821}
.salon-actions b:not([hidden]){display:inline-grid;place-items:center;min-width:20px;height:20px;border-radius:20px;background:#e3ebf0;color:#193b56;font-size:.75rem;line-height:1}
.salon-actions .side-cart:not(.has-items) b,.salon-actions .chat-launch [data-chat-launch-label]{display:none}
.salon-actions .chat-mini-label,.salon-actions .side-cart-label{display:inline}
.salon-actions a:focus-visible,.salon-actions button:focus-visible{outline:2px solid #b36733;outline-offset:1px}
body:has(dialog[open]) .salon-actions{visibility:hidden}
.material-hub{max-width:980px;margin:0 auto 42px;color:#19364e}
.material-hub>h1{margin:18px 0 14px;line-height:1.12}
.material-tabs{display:inline-flex;background:#eaf0f4;border:1px solid #d4e0e8;padding:4px;border-radius:12px;gap:4px;margin:0 0 20px}
.material-tabs a{display:flex;align-items:center;gap:8px;padding:10px 20px;border-radius:8px;color:#304c64;font-weight:650;text-decoration:none}
.material-tabs a[aria-current]{background:#fff;color:#183a55;box-shadow:0 1px 6px #223c511e}
.hub-material,.grout-head,.grout-controls,.hub-buttons,.collection-actions,.sales-card-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.hub-material{padding:16px 18px;background:#f1f6f8;border-radius:12px;margin:0 0 15px}
.hub-material strong,.hub-material small,.grout-total small{display:block}
.hub-material small,.grout-total small{color:#506477;margin:3px 0}
.material-hub .tile-calculator{max-width:100%;margin-inline:0}
.grout-editor,.collection-form,.sales-view{display:grid;gap:14px}
.grout-head h2,.grout-total p,.sales-view p{margin:0}
.grout-zone{min-width:0;margin:0;border:1px solid #cdd9e2;border-radius:12px;padding:14px}
.grout-zone legend,.grout-total strong{font-weight:700}
.grout-zone-name,.grout-fields,.grout-choices{display:grid;gap:12px}
.grout-zone-name{grid-template-columns:minmax(0,1fr) auto;align-items:center}
.grout-remove{align-self:end}
@media(max-width:420px){.grout-zone-name{grid-template-columns:minmax(0,1fr)}.grout-remove{justify-self:start}}
.grout-fields{grid-template-columns:repeat(auto-fit,minmax(108px,1fr));margin:12px 0}
.grout-choices{grid-template-columns:repeat(2,minmax(0,1fr))}
.grout-editor label,.collection-form label,.sales-view label{display:grid;gap:5px;color:#3c5263;font-weight:600;font-size:.88rem}
.grout-editor input,.grout-editor select,.collection-form input,.sales-view input{box-sizing:border-box;width:100%;min-width:0;min-height:42px;padding:7px 9px;border:1px solid #aabac5;border-radius:7px;color:#17364d;background:white;font:inherit}
.grout-editor .metric-input input{border:0;min-height:39px}
.grout-controls{justify-content:flex-start}.grout-controls label,.grout-total label{display:flex;align-items:center;gap:7px}.grout-controls select,.grout-total select{width:auto}
.grout-total{display:flex;justify-content:space-between;gap:15px;align-items:center;margin:8px 0;padding:12px 16px;border-radius:10px;background:#eff5f7}.grout-total>div:last-child{text-align:right}
.grout-method,.grout-from-plan{display:block;margin-top:12px}.grout-method p{max-width:66ch}
.collection-actions,.sales-card-actions{justify-content:flex-start;margin-top:10px}
.collection-row,.sales-row{display:grid;grid-template-columns:minmax(0,1fr) 5.5rem auto;align-items:center;gap:8px;padding:9px 0;border-bottom:1px solid #dce4ea}
.collection-row small,.sales-row small{display:block;color:#566977}
.collection-results{display:grid;gap:5px;max-height:16rem;overflow:auto}
.collection-results button{padding:8px 10px;text-align:left;background:#f0f5f7;color:#19394e;border:0;border-radius:6px;cursor:pointer}
.collection-actions .danger,.collection-row .danger{color:#863c36}
.sales-card-link{margin-top:6px}.sales-positions{display:grid;gap:5px}.sales-row{grid-template-columns:minmax(0,1fr) auto}.sales-view dd{margin-left:0;font-weight:650}.sales-view .sales-invoice{padding:12px;background:#f0f5f7;border-radius:10px}
#side-account-tools:not([hidden]){z-index:8}
@media(max-width:700px){
 .salon-actions{left:0;right:0;bottom:0;max-width:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:4px max(6px,env(safe-area-inset-right)) calc(4px + env(safe-area-inset-bottom)) max(6px,env(safe-area-inset-left));gap:4px;border-radius:14px 14px 0 0}
 .salon-actions>a,.salon-actions>button{justify-content:center;min-height:46px;padding:6px 2px;gap:4px;font-size:.8rem}
 .salon-actions i,.salon-actions svg{width:18px;height:18px}
 body:has(.traffic-choice:not([hidden])) .salon-actions{bottom:0}
 .traffic-choice{bottom:calc(60px + env(safe-area-inset-bottom))}
 #side-account-tools{position:static}#side-account-tools:not([hidden]){display:none}
 .footer-base,body:has(.side-cart:not([hidden])) footer{padding-bottom:calc(55px + env(safe-area-inset-bottom))}
 .grout-choices{grid-template-columns:1fr}.grout-total{align-items:flex-start}.grout-fields{grid-template-columns:repeat(2,minmax(0,1fr))}
}

.sales-view [hidden]{display:none}.sales-view select{min-height:42px;font:inherit;border:1px solid #aabac5;border-radius:7px;background:white;color:inherit;padding:7px}.sales-checkout{margin:.8rem 0}.sales-checkout>.btn{width:100%}
